cortex-react-components 2.22.3 → 2.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-GETYSIZV.mjs → chunk-255P6K5W.mjs} +1 -1
- package/dist/{chunk-VRE6VCHX.mjs → chunk-2BR55L74.mjs} +1 -1
- package/dist/{chunk-P6OSMPUQ.mjs → chunk-2RQDJ5XT.mjs} +1 -1
- package/dist/{chunk-UPRS7OYQ.mjs → chunk-2UNIT7NC.mjs} +1 -1
- package/dist/{chunk-KBEXWUKI.mjs → chunk-5NIEZE7A.mjs} +1 -1
- package/dist/{chunk-BQQ4V4PX.mjs → chunk-5SHZBJ5R.mjs} +1 -1
- package/dist/{chunk-R6AYIVIR.mjs → chunk-5WVFEIMC.mjs} +1 -1
- package/dist/{chunk-GAZHKHGB.mjs → chunk-67QPOSVV.mjs} +1 -1
- package/dist/{chunk-7OMPPFGG.mjs → chunk-7GMAMIHM.mjs} +1 -1
- package/dist/chunk-ACGCNGIH.mjs +4 -0
- package/dist/{chunk-UECG3SCG.mjs → chunk-AGDKFAMN.mjs} +1 -1
- package/dist/{chunk-XX4GSGRP.mjs → chunk-AQQCH7Z2.mjs} +1 -1
- package/dist/{chunk-KVLUT4U2.mjs → chunk-CBIULUZQ.mjs} +1 -1
- package/dist/{chunk-2GM2LPLB.mjs → chunk-ERJXTG6X.mjs} +1 -1
- package/dist/{chunk-HDKHF3EA.mjs → chunk-FKU4VQR6.mjs} +1 -1
- package/dist/{chunk-G27V7B6H.mjs → chunk-GPFPTU7U.mjs} +1 -1
- package/dist/{chunk-F64CA5CH.mjs → chunk-H3CJOE6S.mjs} +1 -1
- package/dist/{chunk-U3FYDDE2.mjs → chunk-HKGW6JI2.mjs} +1 -1
- package/dist/{chunk-TKCFCYEQ.mjs → chunk-HSQAHQNP.mjs} +1 -1
- package/dist/chunk-HTMQGMYL.mjs +4 -0
- package/dist/{chunk-PNUBVBSR.mjs → chunk-IF3425JX.mjs} +1 -1
- package/dist/{chunk-2W4GQ3FI.mjs → chunk-JCWFPKF3.mjs} +1 -1
- package/dist/{chunk-WUA65ZZB.mjs → chunk-L3BLBPSR.mjs} +1 -1
- package/dist/{chunk-75WE6ZXB.mjs → chunk-LAQ3QAUW.mjs} +1 -1
- package/dist/{chunk-3ANJOET7.mjs → chunk-LBUC4M6L.mjs} +1 -1
- package/dist/chunk-LEUI66J6.mjs +1 -0
- package/dist/{chunk-5FWH5YVM.mjs → chunk-LHO4WFYP.mjs} +1 -1
- package/dist/{chunk-O24GFE6Q.mjs → chunk-LJOWXPWW.mjs} +1 -1
- package/dist/{chunk-PTZT4QJW.mjs → chunk-LJQPLE4S.mjs} +1 -1
- package/dist/{chunk-2OOJ4ZFB.mjs → chunk-M7NV6EFH.mjs} +1 -1
- package/dist/{chunk-4SRUEQTP.mjs → chunk-MXCW6SOT.mjs} +1 -1
- package/dist/{chunk-FYQBRCQM.mjs → chunk-N3B3XNV3.mjs} +1 -1
- package/dist/{chunk-62KYJVTC.mjs → chunk-NGL6K2L5.mjs} +1 -1
- package/dist/{chunk-FEWOSBUJ.mjs → chunk-NWISIJFD.mjs} +1 -1
- package/dist/{chunk-RIRZRO6U.mjs → chunk-P55W6AFU.mjs} +1 -1
- package/dist/{chunk-MX3JKY3V.mjs → chunk-P7S6XFU4.mjs} +1 -1
- package/dist/{chunk-MO4HRQEL.mjs → chunk-PK3OBSCB.mjs} +1 -1
- package/dist/{chunk-D7VHHXGM.mjs → chunk-PZFYJ5FS.mjs} +1 -1
- package/dist/{chunk-CQAMS7RZ.mjs → chunk-Q2QAFOWG.mjs} +1 -1
- package/dist/chunk-QKOBOCKK.mjs +4 -0
- package/dist/chunk-QTW33JYG.mjs +1 -0
- package/dist/{chunk-L5NPH5RX.mjs → chunk-RQLUMNJE.mjs} +1 -1
- package/dist/{chunk-F2MJXGRT.mjs → chunk-RS4VD3ML.mjs} +1 -1
- package/dist/{chunk-T5HJS6OF.mjs → chunk-RSDUFAIB.mjs} +1 -1
- package/dist/{chunk-RIZ2ODJL.mjs → chunk-THOBCTIL.mjs} +1 -1
- package/dist/chunk-WLI2YTOQ.mjs +1 -0
- package/dist/{chunk-UMOKAKKS.mjs → chunk-WVSUPHRY.mjs} +1 -1
- package/dist/{chunk-R5P4ZICA.mjs → chunk-WYR2HJ75.mjs} +1 -1
- package/dist/chunk-X2JWNPWT.mjs +4 -0
- package/dist/{chunk-UZSBX5GO.mjs → chunk-X3JZSN3W.mjs} +1 -1
- package/dist/{chunk-K3YZPHOE.mjs → chunk-XGGWZIPM.mjs} +1 -1
- package/dist/{chunk-VNYUNZ3M.mjs → chunk-XGIYNUGC.mjs} +1 -1
- package/dist/{chunk-HKMNAXLM.mjs → chunk-YKG4FNS4.mjs} +1 -1
- package/dist/{chunk-DPZHVBGG.mjs → chunk-ZEPEWKBV.mjs} +1 -1
- package/dist/{chunk-O5P35LEY.mjs → chunk-ZFUP5NVF.mjs} +1 -1
- package/dist/components/AdvancedComponents/AppSidebar.mjs +1 -1
- package/dist/components/AdvancedComponents/CommentSection.mjs +1 -1
- package/dist/components/AdvancedComponents/EditableField.mjs +1 -1
- package/dist/components/AdvancedComponents/app-header.mjs +1 -1
- package/dist/components/AdvancedComponents/index.mjs +1 -1
- package/dist/components/AdvancedComponents/navigation-tabs.mjs +1 -1
- package/dist/components/AdvancedComponents/notifications-panel.mjs +1 -1
- package/dist/components/AdvancedComponents/switch.mjs +1 -1
- package/dist/components/AdvancedComponents/theme-toggle.mjs +1 -1
- package/dist/components/AdvancedComponents/user-selection.mjs +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CaseStudy.mjs +1 -1
- package/dist/components/Blocks/Code.client.mjs +1 -1
- package/dist/components/Blocks/Code.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
- package/dist/components/Blocks/ConsultantProfile.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/CopyButton.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.mjs +1 -1
- package/dist/components/Blocks/ProposalSummary.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/CogeBoard.mjs +1 -1
- package/dist/components/CRM/DealCard.mjs +1 -1
- package/dist/components/CRM/DealDetails.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.mjs +1 -1
- package/dist/components/CRM/NewCustomerForm.mjs +1 -1
- package/dist/components/CRM/NewDealForm.mjs +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/CustomerCard.mjs +1 -1
- package/dist/components/Cards/EventCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/HeroCard.mjs +1 -1
- package/dist/components/Cards/Image.mjs +1 -1
- package/dist/components/Cards/PricingCard.mjs +1 -1
- package/dist/components/Cards/ServiceCard.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/Chat/ChatInterface.mjs +1 -1
- package/dist/components/Chat/ChatInterfaceMessages.mjs +1 -1
- package/dist/components/Chat/ChatMessage.mjs +1 -1
- package/dist/components/Chat/Components/ChatCardArtefact.mjs +1 -1
- package/dist/components/Chat/Components/ChatCardTask.mjs +1 -1
- package/dist/components/Chat/Components/Conversation.mjs +1 -1
- package/dist/components/Chat/Components/Message.mjs +1 -1
- package/dist/components/Chat/CopilotInterface.mjs +1 -1
- package/dist/components/Chat/PartTypes/CodeBlock.mjs +1 -1
- package/dist/components/Chat/PartTypes/MessageHandler.mjs +1 -1
- package/dist/components/Chat/PartTypes/Reasoning.mjs +1 -1
- package/dist/components/Chat/PartTypes/Response.mjs +1 -1
- package/dist/components/Chat/PartTypes/Tool.mjs +1 -1
- package/dist/components/Chat/PartTypes/index.mjs +1 -1
- package/dist/components/Chat/capability-menu.mjs +1 -1
- package/dist/components/Chat/chat-session-sidebar.mjs +1 -1
- package/dist/components/Chat/demo-long-messages.mjs +1 -1
- package/dist/components/Chat/demo-tests.mjs +1 -1
- package/dist/components/Chat/demo.mjs +1 -1
- package/dist/components/Chat/example-usage.mjs +1 -1
- package/dist/components/Chat/example-with-file-uploads.mjs +1 -1
- package/dist/components/Chat/example-with-vercel-ai.mjs +1 -1
- package/dist/components/Chat/index.mjs +1 -1
- package/dist/components/DeliveryLead/DeliveryLeadSubmission.mjs +1 -1
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.mjs +1 -1
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.mjs +1 -1
- package/dist/components/DeliveryLead/index.mjs +1 -1
- package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
- package/dist/components/DigitalColleagues/DashboardHeader.mjs +1 -1
- package/dist/components/DigitalColleagues/DigitalColleageusLayout.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
- package/dist/components/DigitalColleagues/SearchableSelect.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/TeamsIndexView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
- package/dist/components/DigitalColleagues/colleague-card.mjs +1 -1
- package/dist/components/DigitalColleagues/colleague-form.mjs +1 -1
- package/dist/components/DigitalColleagues/colleague-type-selection.mjs +1 -1
- package/dist/components/DigitalColleagues/digital-colleague-clone.mjs +1 -1
- package/dist/components/DigitalColleagues/digital-colleague-options.mjs +1 -1
- package/dist/components/DigitalColleagues/document-edit.mjs +1 -1
- package/dist/components/DigitalColleagues/document-preview-examples.mjs +1 -1
- package/dist/components/DigitalColleagues/document-preview.mjs +1 -1
- package/dist/components/DigitalColleagues/index.mjs +1 -1
- package/dist/components/DigitalColleagues/knowledge-browser.mjs +1 -1
- package/dist/components/DigitalColleagues/knowledge-search.mjs +1 -1
- package/dist/components/DigitalColleagues/team-form.mjs +1 -1
- package/dist/components/Foundary/AppSidebarLeft.mjs +1 -1
- package/dist/components/Foundary/DashboardHeader.mjs +1 -1
- package/dist/components/Foundary/Knowledge/add-knowledge-modal.mjs +1 -1
- package/dist/components/Foundary/Knowledge/add-team-context.mjs +1 -1
- package/dist/components/Foundary/Knowledge/manage-team-context.css +1 -0
- package/dist/components/Foundary/Knowledge/manage-team-context.d.ts +11 -0
- package/dist/components/Foundary/Knowledge/manage-team-context.js +4 -0
- package/dist/components/Foundary/Knowledge/manage-team-context.mjs +1 -0
- package/dist/components/Foundary/LandingMenu.mjs +1 -1
- package/dist/components/Foundary/Login.mjs +1 -1
- package/dist/components/Foundary/MainPage.mjs +1 -1
- package/dist/components/Foundary/Pages/dashboardpage.js +1 -1
- package/dist/components/Foundary/Pages/dashboardpage.mjs +1 -1
- package/dist/components/Foundary/RichText/components/RawUploadComponent/index.mjs +1 -1
- package/dist/components/Foundary/RichText/index.js +1 -1
- package/dist/components/Foundary/RichText/index.mjs +1 -1
- package/dist/components/Foundary/RichText/nodes/image-node.mjs +1 -1
- package/dist/components/Foundary/RichText/plugins/image-plugin.mjs +1 -1
- package/dist/components/Foundary/RichText/plugins/toolbar-plugin.js +1 -1
- package/dist/components/Foundary/RichText/plugins/toolbar-plugin.mjs +1 -1
- package/dist/components/Foundary/SearchableSelect.mjs +1 -1
- package/dist/components/Foundary/Views/ColleaguesView.mjs +1 -1
- package/dist/components/Foundary/Views/KnowledgeView.d.ts +4 -2
- package/dist/components/Foundary/Views/KnowledgeView.js +1 -1
- package/dist/components/Foundary/Views/KnowledgeView.mjs +1 -1
- package/dist/components/Foundary/Views/TeamsIndexView.mjs +1 -1
- package/dist/components/Foundary/Views/index.js +1 -1
- package/dist/components/Foundary/Views/index.mjs +1 -1
- package/dist/components/Foundary/colleague-card.mjs +1 -1
- package/dist/components/Foundary/colleague-form.mjs +1 -1
- package/dist/components/Foundary/colleague-type-selection.mjs +1 -1
- package/dist/components/Foundary/document-edit.d.ts +1 -1
- package/dist/components/Foundary/document-edit.js +1 -1
- package/dist/components/Foundary/document-edit.mjs +1 -1
- package/dist/components/Foundary/document-preview-examples.js +4 -4
- package/dist/components/Foundary/document-preview-examples.mjs +1 -1
- package/dist/components/Foundary/document-preview.js +1 -1
- package/dist/components/Foundary/document-preview.mjs +1 -1
- package/dist/components/Foundary/foundary-clone.mjs +1 -1
- package/dist/components/Foundary/foundary-layout.mjs +1 -1
- package/dist/components/Foundary/foundary-options.mjs +1 -1
- package/dist/components/Foundary/index.js +1 -1
- package/dist/components/Foundary/index.mjs +1 -1
- package/dist/components/Foundary/knowledge-browser.js +1 -1
- package/dist/components/Foundary/knowledge-browser.mjs +1 -1
- package/dist/components/Foundary/knowledge-search.mjs +1 -1
- package/dist/components/Foundary/team-form.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.mjs +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
- package/dist/components/HeaderFooter/RelatedPagesMenu.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/enhanced-header.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/DashboardHero/DashboardHero.mjs +1 -1
- package/dist/components/Heros/DashboardHero/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/ApproveLeave.mjs +1 -1
- package/dist/components/Holidays/CalendarView.js +1 -1
- package/dist/components/Holidays/CalendarView.mjs +1 -1
- package/dist/components/Holidays/HolidayGrid.js +1 -1
- package/dist/components/Holidays/HolidayGrid.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.js +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/RequestLeave.mjs +1 -1
- package/dist/components/Holidays/index.js +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/Categories.mjs +1 -1
- package/dist/components/Menus/Filter.mjs +1 -1
- package/dist/components/Menus/ProjectTeam.mjs +1 -1
- package/dist/components/Menus/RelatedContent.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Other/Container.mjs +1 -1
- package/dist/components/Other/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Link/index.mjs +1 -1
- package/dist/components/Payload/Media/index.mjs +1 -1
- package/dist/components/Payload/Pagination/index.mjs +1 -1
- package/dist/components/Payload/PayloadCard/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/Projects/AddEpicModal.mjs +1 -1
- package/dist/components/Projects/AddFileModal.mjs +1 -1
- package/dist/components/Projects/AddSprintModal.mjs +1 -1
- package/dist/components/Projects/AddTaskModal.mjs +1 -1
- package/dist/components/Projects/EpicFilter.mjs +1 -1
- package/dist/components/Projects/EpicsView.mjs +1 -1
- package/dist/components/Projects/FileView.mjs +1 -1
- package/dist/components/Projects/KanbanBoardView.mjs +1 -1
- package/dist/components/Projects/KanbanColumn.mjs +1 -1
- package/dist/components/Projects/PlanningView.mjs +1 -1
- package/dist/components/Projects/ProjectPage.mjs +1 -1
- package/dist/components/Projects/ProjectView.mjs +1 -1
- package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
- package/dist/components/Projects/TaskCard.mjs +1 -1
- package/dist/components/Projects/TaskDetailsModal.mjs +1 -1
- package/dist/components/Projects/TaskSelect.mjs +1 -1
- package/dist/components/Projects/TaskSidebar.mjs +1 -1
- package/dist/components/Projects/TasksView.mjs +1 -1
- package/dist/components/Projects/TeamSwitcher.mjs +1 -1
- package/dist/components/Projects/business-unit-switcher.mjs +1 -1
- package/dist/components/Projects/file-list.mjs +1 -1
- package/dist/components/Projects/index.mjs +1 -1
- package/dist/components/Projects/project-card.mjs +1 -1
- package/dist/components/Projects/project-form.mjs +1 -1
- package/dist/components/Projects/team-card.mjs +1 -1
- package/dist/components/Projects/team-switcher-bar.mjs +1 -1
- package/dist/components/dc-temp/creative.mjs +1 -1
- package/dist/components/dc-temp/dashboard-integration-example.mjs +1 -1
- package/dist/components/dc-temp/index.mjs +1 -1
- package/dist/components/dc-temp/markdown-renderer.mjs +1 -1
- package/dist/components/index.js +20 -20
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/alert.mjs +1 -1
- package/dist/components/ui/avatar.mjs +1 -1
- package/dist/components/ui/badge.mjs +1 -1
- package/dist/components/ui/breadcrumb.mjs +1 -1
- package/dist/components/ui/button.mjs +1 -1
- package/dist/components/ui/calendar.mjs +1 -1
- package/dist/components/ui/card.mjs +1 -1
- package/dist/components/ui/checkbox.mjs +1 -1
- package/dist/components/ui/command.mjs +1 -1
- package/dist/components/ui/dialog.mjs +1 -1
- package/dist/components/ui/dropdown-menu.mjs +1 -1
- package/dist/components/ui/hover-card.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/input.mjs +1 -1
- package/dist/components/ui/inputs/common/styles/index.mjs +1 -1
- package/dist/components/ui/inputs/text-input/index.mjs +1 -1
- package/dist/components/ui/inputs/textarea-input/index.mjs +1 -1
- package/dist/components/ui/label.mjs +1 -1
- package/dist/components/ui/pagination.mjs +1 -1
- package/dist/components/ui/popover.mjs +1 -1
- package/dist/components/ui/progress.mjs +1 -1
- package/dist/components/ui/scroll-area.mjs +1 -1
- package/dist/components/ui/select.mjs +1 -1
- package/dist/components/ui/separator.mjs +1 -1
- package/dist/components/ui/sheet.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/components/ui/skeleton.mjs +1 -1
- package/dist/components/ui/switch.mjs +1 -1
- package/dist/components/ui/tabs.mjs +1 -1
- package/dist/components/ui/textarea.mjs +1 -1
- package/dist/components/ui/toast.mjs +1 -1
- package/dist/components/ui/toaster.mjs +1 -1
- package/dist/components/ui/toggle-group.mjs +1 -1
- package/dist/components/ui/toggle.mjs +1 -1
- package/dist/components/ui/tooltip.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.js +30 -30
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogList.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ImageSection.mjs +1 -1
- package/dist/sections/MainPageSection.mjs +1 -1
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/ServiceDetail.mjs +1 -1
- package/dist/sections/ServiceDetailSection.mjs +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.mjs +1 -1
- package/dist/styles/Colors.mjs +1 -1
- package/dist/utils/TimeUtil.d.ts +1 -0
- package/dist/utils/TimeUtil.js +1 -1
- package/dist/utils/TimeUtil.mjs +1 -1
- package/dist/utils/index.js +2 -2
- package/dist/utils/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-EGEO3FNE.mjs +0 -1
- package/dist/chunk-HMZKODQJ.mjs +0 -4
- package/dist/chunk-NIGA3VKZ.mjs +0 -4
- package/dist/chunk-U2OXF7PJ.mjs +0 -1
- package/dist/chunk-UOA5RYVR.mjs +0 -1
- package/dist/chunk-VZBIMHCR.mjs +0 -4
- package/dist/chunk-YLEBXRJS.mjs +0 -4
package/dist/styles/Colors.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as d,b as t,c as l,d as n}from"../chunk-KY7WQYN4.mjs";import{b as i}from"../chunk-ZUA4KNIR.mjs";import"../chunk-
|
|
1
|
+
import{a as d,b as t,c as l,d as n}from"../chunk-KY7WQYN4.mjs";import{b as i}from"../chunk-ZUA4KNIR.mjs";import"../chunk-QTW33JYG.mjs";import"../chunk-MDJREBVI.mjs";import"../chunk-ZWHGOTSF.mjs";import"../chunk-Q3G5UAAD.mjs";import"../chunk-XGRRLABA.mjs";import"../chunk-YEKQJ4YC.mjs";import{Copy as g,Check as p}from"lucide-react";import b,{useState as u}from"react";import{jsx as e,jsxs as a}from"react/jsx-runtime";var v=["100","200","300","400","500","600","700","800","900"],y=["plum","blue","green","orange"],f=[{name:"Base",colors:["background","foreground"]},{name:"Card",colors:["card","card-foreground"]},{name:"Popover",colors:["popover","popover-foreground"]},{name:"Primary",colors:["primary","primary-foreground"]},{name:"Secondary",colors:["secondary","secondary-foreground"]},{name:"Muted",colors:["muted","muted-foreground"]},{name:"Accent",colors:["accent","accent-foreground"]},{name:"Destructive",colors:["destructive","destructive-foreground"]}],h=[{name:"Border & Input",colors:["border","input","ring"]},{name:"Charts",colors:["chart-1","chart-2","chart-3","chart-4","chart-5"]},{name:"Sidebar",colors:["sidebar-background","sidebar-foreground","sidebar-primary","sidebar-primary-foreground","sidebar-accent","sidebar-accent-foreground","sidebar-border","sidebar-ring"]}];function x(){let[s,c]=u(null),m=o=>{navigator.clipboard.writeText(o),c(o),setTimeout(()=>c(null),2e3)};return a("div",{className:"w-full max-w-6xl mx-auto space-y-2",children:[e("div",{className:"variable-safelist",style:{display:"none"}}),a("div",{children:[e("h1",{className:"text-3xl font-semibold py-4",children:"Theme Colors"}),f.map(o=>e("div",{className:"space-y-4 bg-grey-500",children:a("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4",children:[e("h2",{className:"text-2xl font-semibold",children:o.name}),o.colors.map(r=>a("div",{className:"flex items-center space-x-2 p-2 rounded-lg bg-grey-500",children:[e("div",{className:`w-12 h-12 rounded-md bg-${r} text-${r}-foreground border border-grey-500 flex items-center justify-center`,"aria-label":`${r} color swatch`,children:"F"}),e("div",{className:"flex-1 min-w-0",children:e("p",{className:"text-xs font-medium truncate",children:r})}),e(d,{children:a(t,{children:[e(l,{asChild:!0,children:e(i,{variant:"ghost",size:"icon",onClick:()=>m(`bg-${r}`),"aria-label":`Copy ${r} class`,children:s===`bg-${r}`?e(p,{className:"h-4 w-4 text-green-500"}):e(g,{className:"h-4 w-4"})})}),e(n,{children:e("p",{children:s===`bg-${r}`?"Copied!":"Copy to clipboard"})})]})})]},r))]})},o.name))]}),a("div",{children:[e("h1",{className:"text-3xl font-semibold py-4",children:"Brand Colors"}),a("div",{className:"grid grid-cols-11 gap-1",children:[e("div",{}),e("div",{children:"Default"}),v.map(o=>e("div",{children:o},o)),y.map(o=>a(b.Fragment,{children:[e("div",{children:o}),e("div",{className:`w-12 h-12 rounded-md bg-brand-${o} border border-grey-500`,"aria-label":`${o} color swatch`}),v.map(r=>e("div",{className:`w-12 h-12 rounded-md bg-brand-${o}-${r} border border-grey-500`,"aria-label":`${o} ${r} color swatch`},r))]},o))]}),e("h2",{className:"text-3xl font-semibold py-4",children:"Other Theme Colors"}),h.map(o=>e("div",{className:"space-y-4 bg-grey-500",children:a("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4",children:[e("h2",{className:"text-2xl font-semibold",children:o.name}),o.colors.map(r=>a("div",{className:"flex items-center space-x-2 p-2 rounded-lg bg-grey-500",children:[e("div",{className:`w-12 h-12 rounded-md bg-${r} text-${r}-foreground border border-grey-500 flex items-center justify-center`,"aria-label":`${r} color swatch`,children:"F"}),e("div",{className:"flex-1 min-w-0",children:e("p",{className:"text-xs font-medium truncate",children:r})}),e(d,{children:a(t,{children:[e(l,{asChild:!0,children:e(i,{variant:"ghost",size:"icon",onClick:()=>m(`bg-${r}`),"aria-label":`Copy ${r} class`,children:s===`bg-${r}`?e(p,{className:"h-4 w-4 text-green-500"}):e(g,{className:"h-4 w-4"})})}),e(n,{children:e("p",{children:s===`bg-${r}`?"Copied!":"Copy to clipboard"})})]})})]},r))]})},o.name))]})]})}export{x as default};
|
package/dist/utils/TimeUtil.d.ts
CHANGED
package/dist/utils/TimeUtil.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var g=Object.defineProperty;var
|
|
1
|
+
"use strict";var g=Object.defineProperty;var U=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var r=Object.prototype.hasOwnProperty;var i=(a,e)=>{for(var t in e)g(a,t,{get:e[t],enumerable:!0})},o=(a,e,t,D)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of c(e))!r.call(a,n)&&n!==t&&g(a,n,{get:()=>e[n],enumerable:!(D=U(e,n))||D.enumerable});return a};var C=a=>o(g({},"__esModule",{value:!0}),a);var T={};i(T,{TimeUtil:()=>s});module.exports=C(T);var s=class{static toUtcMidnight(e){let t=new Date(e);return t.getUTCHours()===23&&t.getUTCMinutes()===0&&t.getUTCSeconds()===0?new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()+1)):new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()))}static toUtcEndOfDay(e){let t=new Date(e),D=this.toUtcMidnight(t);return new Date(D.getTime()+24*60*60*1e3-1)}};0&&(module.exports={TimeUtil});
|
package/dist/utils/TimeUtil.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-QTW33JYG.mjs";import"../chunk-YEKQJ4YC.mjs";export{a as TimeUtil};
|
package/dist/utils/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var Ta=Object.create;var ra=Object.defineProperty;var
|
|
4
|
+
"use strict";var Ta=Object.create;var ra=Object.defineProperty;var Oa=Object.getOwnPropertyDescriptor;var Aa=Object.getOwnPropertyNames;var Pa=Object.getPrototypeOf,Ea=Object.prototype.hasOwnProperty;var _a=(a,t)=>()=>(t||a((t={exports:{}}).exports,t),t.exports),Ia=(a,t)=>{for(var o in t)ra(a,o,{get:t[o],enumerable:!0})},fa=(a,t,o,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Aa(t))!Ea.call(a,n)&&n!==o&&ra(a,n,{get:()=>t[n],enumerable:!(e=Oa(t,n))||e.enumerable});return a};var Na=(a,t,o)=>(o=a!=null?Ta(Pa(a)):{},fa(t||!a||!a.__esModule?ra(o,"default",{value:a,enumerable:!0}):o,a)),qa=a=>fa(ra({},"__esModule",{value:!0}),a);var Sa=_a((na,ua)=>{"use strict";(function(a,t){typeof na=="object"&&typeof ua=="object"?ua.exports=t():typeof define=="function"&&define.amd?define([],t):typeof na=="object"?na.AOS=t():a.AOS=t()})(na,function(){return function(a){function t(e){if(o[e])return o[e].exports;var n=o[e]={exports:{},id:e,loaded:!1};return a[e].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var o={};return t.m=a,t.c=o,t.p="dist/",t(0)}([function(a,t,o){"use strict";function e(r){return r&&r.__esModule?r:{default:r}}var n=Object.assign||function(r){for(var O=1;O<arguments.length;O++){var _=arguments[O];for(var D in _)Object.prototype.hasOwnProperty.call(_,D)&&(r[D]=_[D])}return r},s=o(1),c=(e(s),o(6)),d=e(c),y=o(7),l=e(y),b=o(8),f=e(b),m=o(9),k=e(m),z=o(10),C=e(z),v=o(11),M=e(v),P=o(14),L=e(P),j=[],$=!1,w={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},I=function(){var r=arguments.length>0&&arguments[0]!==void 0&&arguments[0];if(r&&($=!0),$)return j=(0,M.default)(j,w),(0,C.default)(j,w.once),j},U=function(){j=(0,L.default)(),I()},u=function(){j.forEach(function(r,O){r.node.removeAttribute("data-aos"),r.node.removeAttribute("data-aos-easing"),r.node.removeAttribute("data-aos-duration"),r.node.removeAttribute("data-aos-delay")})},i=function(r){return r===!0||r==="mobile"&&k.default.mobile()||r==="phone"&&k.default.phone()||r==="tablet"&&k.default.tablet()||typeof r=="function"&&r()===!0},g=function(r){w=n(w,r),j=(0,L.default)();var O=document.all&&!window.atob;return i(w.disable)||O?u():(w.disableMutationObserver||f.default.isSupported()||(console.info(`
|
|
5
5
|
aos: MutationObserver is not supported on this browser,
|
|
6
6
|
code mutations observing has been disabled.
|
|
7
7
|
You may have to call "refreshHard()" by yourself.
|
|
8
|
-
`),w.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",w.easing),document.querySelector("body").setAttribute("data-aos-duration",w.duration),document.querySelector("body").setAttribute("data-aos-delay",w.delay),w.startEvent==="DOMContentLoaded"&&["complete","interactive"].indexOf(document.readyState)>-1?I(!0):w.startEvent==="load"?window.addEventListener(w.startEvent,function(){I(!0)}):document.addEventListener(w.startEvent,function(){I(!0)}),window.addEventListener("resize",(0,l.default)(I,w.debounceDelay,!0)),window.addEventListener("orientationchange",(0,l.default)(I,w.debounceDelay,!0)),window.addEventListener("scroll",(0,d.default)(function(){(0,C.default)(j,w.once)},w.throttleDelay)),w.disableMutationObserver||f.default.ready("[data-aos]",W),j)};a.exports={init:g,refresh:I,refreshHard:W}},function(a,t){},,,,,function(a,t){(function(o){"use strict";function e(i,g,r){function A(h){var N=R,Q=H;return R=H=void 0,K=h,_=i.apply(Q,N)}function E(h){return K=h,O=setTimeout(D,g),J?A(h):_}function U(h){var N=h-q,Q=h-K,ba=g-N;return F?W(ba,V-Q):ba}function G(h){var N=h-q,Q=h-K;return q===void 0||N>=g||N<0||F&&Q>=V}function D(){var h=u();return G(h)?X(h):void(O=setTimeout(D,U(h)))}function X(h){return O=void 0,S&&R?A(h):(R=H=void 0,_)}function Y(){O!==void 0&&clearTimeout(O),K=0,R=q=H=O=void 0}function Z(){return O===void 0?_:X(u())}function T(){var h=u(),N=G(h);if(R=arguments,H=this,q=h,N){if(O===void 0)return E(q);if(F)return O=setTimeout(D,g),A(q)}return O===void 0&&(O=setTimeout(D,g)),_}var R,H,V,_,O,q,K=0,J=!1,F=!1,S=!0;if(typeof i!="function")throw new TypeError(b);return g=y(g)||0,s(r)&&(J=!!r.leading,F="maxWait"in r,V=F?I(y(r.maxWait)||0,g):V,S="trailing"in r?!!r.trailing:S),T.cancel=Y,T.flush=Z,T}function n(i,g,r){var A=!0,E=!0;if(typeof i!="function")throw new TypeError(b);return s(r)&&(A="leading"in r?!!r.leading:A,E="trailing"in r?!!r.trailing:E),e(i,g,{leading:A,maxWait:g,trailing:E})}function s(i){var g=typeof i>"u"?"undefined":l(i);return!!i&&(g=="object"||g=="function")}function c(i){return!!i&&(typeof i>"u"?"undefined":l(i))=="object"}function d(i){return(typeof i>"u"?"undefined":l(i))=="symbol"||c(i)&&w.call(i)==m}function y(i){if(typeof i=="number")return i;if(d(i))return f;if(s(i)){var g=typeof i.valueOf=="function"?i.valueOf():i;i=s(g)?g+"":g}if(typeof i!="string")return i===0?i:+i;i=i.replace(k,"");var r=C.test(i);return r||v.test(i)?M(i.slice(2),r?2:8):z.test(i)?f:+i}var l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},b="Expected a function",f=NaN,m="[object Symbol]",k=/^\s+|\s+$/g,z=/^[-+]0x[0-9a-f]+$/i,C=/^0b[01]+$/i,v=/^0o[0-7]+$/i,M=parseInt,P=(typeof o>"u"?"undefined":l(o))=="object"&&o&&o.Object===Object&&o,L=(typeof self>"u"?"undefined":l(self))=="object"&&self&&self.Object===Object&&self,j=P||L||Function("return this")(),$=Object.prototype,w=$.toString,I=Math.max,W=Math.min,u=function(){return j.Date.now()};a.exports=n}).call(t,function(){return this}())},function(a,t){(function(o){"use strict";function e(u,i,g){function r(S){var h=T,N=R;return T=R=void 0,q=S,V=u.apply(N,h)}function A(S){return q=S,_=setTimeout(G,i),K?r(S):V}function E(S){var h=S-O,N=S-q,Q=i-h;return J?I(Q,H-N):Q}function U(S){var h=S-O,N=S-q;return O===void 0||h>=i||h<0||J&&N>=H}function G(){var S=W();return U(S)?D(S):void(_=setTimeout(G,E(S)))}function D(S){return _=void 0,F&&T?r(S):(T=R=void 0,V)}function X(){_!==void 0&&clearTimeout(_),q=0,T=O=R=_=void 0}function Y(){return _===void 0?V:D(W())}function Z(){var S=W(),h=U(S);if(T=arguments,R=this,O=S,h){if(_===void 0)return A(O);if(J)return _=setTimeout(G,i),r(O)}return _===void 0&&(_=setTimeout(G,i)),V}var T,R,H,V,_,O,q=0,K=!1,J=!1,F=!0;if(typeof u!="function")throw new TypeError(l);return i=d(i)||0,n(g)&&(K=!!g.leading,J="maxWait"in g,H=J?w(d(g.maxWait)||0,i):H,F="trailing"in g?!!g.trailing:F),Z.cancel=X,Z.flush=Y,Z}function n(u){var i=typeof u>"u"?"undefined":y(u);return!!u&&(i=="object"||i=="function")}function s(u){return!!u&&(typeof u>"u"?"undefined":y(u))=="object"}function c(u){return(typeof u>"u"?"undefined":y(u))=="symbol"||s(u)&&$.call(u)==f}function d(u){if(typeof u=="number")return u;if(c(u))return b;if(n(u)){var i=typeof u.valueOf=="function"?u.valueOf():u;u=n(i)?i+"":i}if(typeof u!="string")return u===0?u:+u;u=u.replace(m,"");var g=z.test(u);return g||C.test(u)?v(u.slice(2),g?2:8):k.test(u)?b:+u}var y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},l="Expected a function",b=NaN,f="[object Symbol]",m=/^\s+|\s+$/g,k=/^[-+]0x[0-9a-f]+$/i,z=/^0b[01]+$/i,C=/^0o[0-7]+$/i,v=parseInt,M=(typeof o>"u"?"undefined":y(o))=="object"&&o&&o.Object===Object&&o,P=(typeof self>"u"?"undefined":y(self))=="object"&&self&&self.Object===Object&&self,L=M||P||Function("return this")(),j=Object.prototype,$=j.toString,w=Math.max,I=Math.min,W=function(){return L.Date.now()};a.exports=e}).call(t,function(){return this}())},function(a,t){"use strict";function o(y){var l=void 0,b=void 0,f=void 0;for(l=0;l<y.length;l+=1)if(b=y[l],b.dataset&&b.dataset.aos||(f=b.children&&o(b.children)))return!0;return!1}function e(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function n(){return!!e()}function s(y,l){var b=window.document,f=e(),m=new f(c);d=l,m.observe(b.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}function c(y){y&&y.forEach(function(l){var b=Array.prototype.slice.call(l.addedNodes),f=Array.prototype.slice.call(l.removedNodes),m=b.concat(f);if(o(m))return d()})}Object.defineProperty(t,"__esModule",{value:!0});var d=function(){};t.default={isSupported:n,ready:s}},function(a,t){"use strict";function o(b,f){if(!(b instanceof f))throw new TypeError("Cannot call a class as a function")}function e(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function b(f,m){for(var k=0;k<m.length;k++){var z=m[k];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(f,z.key,z)}}return function(f,m,k){return m&&b(f.prototype,m),k&&b(f,k),f}}(),s=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,c=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,d=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,y=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,l=function(){function b(){o(this,b)}return n(b,[{key:"phone",value:function(){var f=e();return!(!s.test(f)&&!c.test(f.substr(0,4)))}},{key:"mobile",value:function(){var f=e();return!(!d.test(f)&&!y.test(f.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),b}();t.default=new l},function(a,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(n,s,c){var d=n.node.getAttribute("data-aos-once");s>n.position?n.node.classList.add("aos-animate"):typeof d<"u"&&(d==="false"||!c&&d!=="true")&&n.node.classList.remove("aos-animate")},e=function(n,s){var c=window.pageYOffset,d=window.innerHeight;n.forEach(function(y,l){o(y,d+c,s)})};t.default=e},function(a,t,o){"use strict";function e(d){return d&&d.__esModule?d:{default:d}}Object.defineProperty(t,"__esModule",{value:!0});var n=o(12),s=e(n),c=function(d,y){return d.forEach(function(l,b){l.node.classList.add("aos-init"),l.position=(0,s.default)(l.node,y.offset)}),d};t.default=c},function(a,t,o){"use strict";function e(d){return d&&d.__esModule?d:{default:d}}Object.defineProperty(t,"__esModule",{value:!0});var n=o(13),s=e(n),c=function(d,y){var l=0,b=0,f=window.innerHeight,m={offset:d.getAttribute("data-aos-offset"),anchor:d.getAttribute("data-aos-anchor"),anchorPlacement:d.getAttribute("data-aos-anchor-placement")};switch(m.offset&&!isNaN(m.offset)&&(b=parseInt(m.offset)),m.anchor&&document.querySelectorAll(m.anchor)&&(d=document.querySelectorAll(m.anchor)[0]),l=(0,s.default)(d).top,m.anchorPlacement){case"top-bottom":break;case"center-bottom":l+=d.offsetHeight/2;break;case"bottom-bottom":l+=d.offsetHeight;break;case"top-center":l+=f/2;break;case"bottom-center":l+=f/2+d.offsetHeight;break;case"center-center":l+=f/2+d.offsetHeight/2;break;case"top-top":l+=f;break;case"bottom-top":l+=d.offsetHeight+f;break;case"center-top":l+=d.offsetHeight/2+f}return m.anchorPlacement||m.offset||isNaN(y)||(b=y),l+b};t.default=c},function(a,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){for(var n=0,s=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)n+=e.offsetLeft-(e.tagName!="BODY"?e.scrollLeft:0),s+=e.offsetTop-(e.tagName!="BODY"?e.scrollTop:0),e=e.offsetParent;return{top:s,left:n}};t.default=o},function(a,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){return e=e||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(e,function(n){return{node:n}})};t.default=o}])})});var gt={};Ia(gt,{AOSInit:()=>mt,TimeUtil:()=>ya,cn:()=>Ca,getTableOfContents:()=>ft});module.exports=qa(gt);var za=require("clsx");var ca="-",La=a=>{let t=Ra(a),{conflictingClassGroups:o,conflictingClassGroupModifiers:e}=a;return{getClassGroupId:c=>{let d=c.split(ca);return d[0]===""&&d.length!==1&&d.shift(),ga(d,t)||Ga(c)},getConflictingClassGroupIds:(c,d)=>{let y=o[c]||[];return d&&e[c]?[...y,...e[c]]:y}}},ga=(a,t)=>{if(a.length===0)return t.classGroupId;let o=a[0],e=t.nextPart.get(o),n=e?ga(a.slice(1),e):void 0;if(n)return n;if(t.validators.length===0)return;let s=a.join(ca);return t.validators.find(({validator:c})=>c(s))?.classGroupId},pa=/^\[(.+)\]$/,Ga=a=>{if(pa.test(a)){let t=pa.exec(a)[1],o=t?.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},Ra=a=>{let{theme:t,prefix:o}=a,e={nextPart:new Map,validators:[]};return Wa(Object.entries(a.classGroups),o).forEach(([s,c])=>{la(c,e,s,t)}),e},la=(a,t,o,e)=>{a.forEach(n=>{if(typeof n=="string"){let s=n===""?t:ma(t,n);s.classGroupId=o;return}if(typeof n=="function"){if($a(n)){la(n(e),t,o,e);return}t.validators.push({validator:n,classGroupId:o});return}Object.entries(n).forEach(([s,c])=>{la(c,ma(t,s),o,e)})})},ma=(a,t)=>{let o=a;return t.split(ca).forEach(e=>{o.nextPart.has(e)||o.nextPart.set(e,{nextPart:new Map,validators:[]}),o=o.nextPart.get(e)}),o},$a=a=>a.isThemeGetter,Wa=(a,t)=>t?a.map(([o,e])=>{let n=e.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([c,d])=>[t+c,d])):s);return[o,n]}):a,Ua=a=>{if(a<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,e=new Map,n=(s,c)=>{o.set(s,c),t++,t>a&&(t=0,e=o,o=new Map)};return{get(s){let c=o.get(s);if(c!==void 0)return c;if((c=e.get(s))!==void 0)return n(s,c),c},set(s,c){o.has(s)?o.set(s,c):n(s,c)}}},ha="!",Da=a=>{let{separator:t,experimentalParseClassName:o}=a,e=t.length===1,n=t[0],s=t.length,c=d=>{let y=[],l=0,b=0,f;for(let v=0;v<d.length;v++){let M=d[v];if(l===0){if(M===n&&(e||d.slice(v,v+s)===t)){y.push(d.slice(b,v)),b=v+s;continue}if(M==="/"){f=v;continue}}M==="["?l++:M==="]"&&l--}let m=y.length===0?d:d.substring(b),k=m.startsWith(ha),z=k?m.substring(1):m,C=f&&f>b?f-b:void 0;return{modifiers:y,hasImportantModifier:k,baseClassName:z,maybePostfixModifierPosition:C}};return o?d=>o({className:d,parseClassName:c}):c},Ha=a=>{if(a.length<=1)return a;let t=[],o=[];return a.forEach(e=>{e[0]==="["?(t.push(...o.sort(),e),o=[]):o.push(e)}),t.push(...o.sort()),t},Va=a=>({cache:Ua(a.cacheSize),parseClassName:Da(a),...La(a)}),Ya=/\s+/,Fa=(a,t)=>{let{parseClassName:o,getClassGroupId:e,getConflictingClassGroupIds:n}=t,s=[],c=a.trim().split(Ya),d="";for(let y=c.length-1;y>=0;y-=1){let l=c[y],{modifiers:b,hasImportantModifier:f,baseClassName:m,maybePostfixModifierPosition:k}=o(l),z=!!k,C=e(z?m.substring(0,k):m);if(!C){if(!z){d=l+(d.length>0?" "+d:d);continue}if(C=e(m),!C){d=l+(d.length>0?" "+d:d);continue}z=!1}let v=Ha(b).join(":"),M=f?v+ha:v,P=M+C;if(s.includes(P))continue;s.push(P);let L=n(C,z);for(let j=0;j<L.length;++j){let $=L[j];s.push(M+$)}d=l+(d.length>0?" "+d:d)}return d};function Ba(){let a=0,t,o,e="";for(;a<arguments.length;)(t=arguments[a++])&&(o=va(t))&&(e&&(e+=" "),e+=o);return e}var va=a=>{if(typeof a=="string")return a;let t,o="";for(let e=0;e<a.length;e++)a[e]&&(t=va(a[e]))&&(o&&(o+=" "),o+=t);return o};function Xa(a,...t){let o,e,n,s=c;function c(y){let l=t.reduce((b,f)=>f(b),a());return o=Va(l),e=o.cache.get,n=o.cache.set,s=d,d(y)}function d(y){let l=e(y);if(l)return l;let b=Fa(y,o);return n(y,b),b}return function(){return s(Ba.apply(null,arguments))}}var x=a=>{let t=o=>o[a]||[];return t.isThemeGetter=!0,t},wa=/^\[(?:([a-z-]+):)?(.+)\]$/i,Za=/^\d+\/\d+$/,Ka=new Set(["px","full","screen"]),Ja=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Qa=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,at=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,tt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ot=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=a=>oa(a)||Ka.has(a)||Za.test(a),aa=a=>ea(a,"length",ct),oa=a=>!!a&&!Number.isNaN(Number(a)),ia=a=>ea(a,"number",oa),sa=a=>!!a&&Number.isInteger(Number(a)),et=a=>a.endsWith("%")&&oa(a.slice(0,-1)),p=a=>wa.test(a),ta=a=>Ja.test(a),st=new Set(["length","size","percentage"]),dt=a=>ea(a,st,xa),nt=a=>ea(a,"position",xa),rt=new Set(["image","url"]),it=a=>ea(a,rt,yt),lt=a=>ea(a,"",ut),da=()=>!0,ea=(a,t,o)=>{let e=wa.exec(a);return e?e[1]?typeof t=="string"?e[1]===t:t.has(e[1]):o(e[2]):!1},ct=a=>Qa.test(a)&&!at.test(a),xa=()=>!1,ut=a=>tt.test(a),yt=a=>ot.test(a);var bt=()=>{let a=x("colors"),t=x("spacing"),o=x("blur"),e=x("brightness"),n=x("borderColor"),s=x("borderRadius"),c=x("borderSpacing"),d=x("borderWidth"),y=x("contrast"),l=x("grayscale"),b=x("hueRotate"),f=x("invert"),m=x("gap"),k=x("gradientColorStops"),z=x("gradientColorStopPositions"),C=x("inset"),v=x("margin"),M=x("opacity"),P=x("padding"),L=x("saturate"),j=x("scale"),$=x("sepia"),w=x("skew"),I=x("space"),W=x("translate"),u=()=>["auto","contain","none"],i=()=>["auto","hidden","clip","visible","scroll"],g=()=>["auto",p,t],r=()=>[p,t],A=()=>["",B,aa],E=()=>["auto",oa,p],U=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],G=()=>["solid","dashed","dotted","double","none"],D=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],X=()=>["start","end","center","between","around","evenly","stretch"],Y=()=>["","0",p],Z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>[oa,p];return{cacheSize:500,separator:":",theme:{colors:[da],spacing:[B,aa],blur:["none","",ta,p],brightness:T(),borderColor:[a],borderRadius:["none","","full",ta,p],borderSpacing:r(),borderWidth:A(),contrast:T(),grayscale:Y(),hueRotate:T(),invert:Y(),gap:r(),gradientColorStops:[a],gradientColorStopPositions:[et,aa],inset:g(),margin:g(),opacity:T(),padding:r(),saturate:T(),scale:T(),sepia:Y(),skew:T(),space:r(),translate:r()},classGroups:{aspect:[{aspect:["auto","square","video",p]}],container:["container"],columns:[{columns:[ta]}],"break-after":[{"break-after":Z()}],"break-before":[{"break-before":Z()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...U(),p]}],overflow:[{overflow:i()}],"overflow-x":[{"overflow-x":i()}],"overflow-y":[{"overflow-y":i()}],overscroll:[{overscroll:u()}],"overscroll-x":[{"overscroll-x":u()}],"overscroll-y":[{"overscroll-y":u()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[C]}],"inset-x":[{"inset-x":[C]}],"inset-y":[{"inset-y":[C]}],start:[{start:[C]}],end:[{end:[C]}],top:[{top:[C]}],right:[{right:[C]}],bottom:[{bottom:[C]}],left:[{left:[C]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",sa,p]}],basis:[{basis:g()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",p]}],grow:[{grow:Y()}],shrink:[{shrink:Y()}],order:[{order:["first","last","none",sa,p]}],"grid-cols":[{"grid-cols":[da]}],"col-start-end":[{col:["auto",{span:["full",sa,p]},p]}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":[da]}],"row-start-end":[{row:["auto",{span:[sa,p]},p]}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",p]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",p]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...X()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...X(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...X(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[I]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[I]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",p,t]}],"min-w":[{"min-w":[p,t,"min","max","fit"]}],"max-w":[{"max-w":[p,t,"none","full","min","max","fit","prose",{screen:[ta]},ta]}],h:[{h:[p,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[p,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[p,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[p,t,"auto","min","max","fit"]}],"font-size":[{text:["base",ta,aa]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ia]}],"font-family":[{font:[da]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",p]}],"line-clamp":[{"line-clamp":["none",oa,ia]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",B,p]}],"list-image":[{"list-image":["none",p]}],"list-style-type":[{list:["none","disc","decimal",p]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[a]}],"placeholder-opacity":[{"placeholder-opacity":[M]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[a]}],"text-opacity":[{"text-opacity":[M]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...G(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,aa]}],"underline-offset":[{"underline-offset":["auto",B,p]}],"text-decoration-color":[{decoration:[a]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:r()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",p]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",p]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[M]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...U(),nt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",dt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},it]}],"bg-color":[{bg:[a]}],"gradient-from-pos":[{from:[z]}],"gradient-via-pos":[{via:[z]}],"gradient-to-pos":[{to:[z]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[d]}],"border-w-x":[{"border-x":[d]}],"border-w-y":[{"border-y":[d]}],"border-w-s":[{"border-s":[d]}],"border-w-e":[{"border-e":[d]}],"border-w-t":[{"border-t":[d]}],"border-w-r":[{"border-r":[d]}],"border-w-b":[{"border-b":[d]}],"border-w-l":[{"border-l":[d]}],"border-opacity":[{"border-opacity":[M]}],"border-style":[{border:[...G(),"hidden"]}],"divide-x":[{"divide-x":[d]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[d]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[M]}],"divide-style":[{divide:G()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...G()]}],"outline-offset":[{"outline-offset":[B,p]}],"outline-w":[{outline:[B,aa]}],"outline-color":[{outline:[a]}],"ring-w":[{ring:A()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[a]}],"ring-opacity":[{"ring-opacity":[M]}],"ring-offset-w":[{"ring-offset":[B,aa]}],"ring-offset-color":[{"ring-offset":[a]}],shadow:[{shadow:["","inner","none",ta,lt]}],"shadow-color":[{shadow:[da]}],opacity:[{opacity:[M]}],"mix-blend":[{"mix-blend":[...D(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":D()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[e]}],contrast:[{contrast:[y]}],"drop-shadow":[{"drop-shadow":["","none",ta,p]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[f]}],saturate:[{saturate:[L]}],sepia:[{sepia:[$]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[e]}],"backdrop-contrast":[{"backdrop-contrast":[y]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[M]}],"backdrop-saturate":[{"backdrop-saturate":[L]}],"backdrop-sepia":[{"backdrop-sepia":[$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-y":[{"border-spacing-y":[c]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",p]}],duration:[{duration:T()}],ease:[{ease:["linear","in","out","in-out",p]}],delay:[{delay:T()}],animate:[{animate:["none","spin","ping","pulse","bounce",p]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[j]}],"scale-x":[{"scale-x":[j]}],"scale-y":[{"scale-y":[j]}],rotate:[{rotate:[sa,p]}],"translate-x":[{"translate-x":[W]}],"translate-y":[{"translate-y":[W]}],"skew-x":[{"skew-x":[w]}],"skew-y":[{"skew-y":[w]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",p]}],accent:[{accent:["auto",a]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",p]}],"caret-color":[{caret:[a]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":r()}],"scroll-mx":[{"scroll-mx":r()}],"scroll-my":[{"scroll-my":r()}],"scroll-ms":[{"scroll-ms":r()}],"scroll-me":[{"scroll-me":r()}],"scroll-mt":[{"scroll-mt":r()}],"scroll-mr":[{"scroll-mr":r()}],"scroll-mb":[{"scroll-mb":r()}],"scroll-ml":[{"scroll-ml":r()}],"scroll-p":[{"scroll-p":r()}],"scroll-px":[{"scroll-px":r()}],"scroll-py":[{"scroll-py":r()}],"scroll-ps":[{"scroll-ps":r()}],"scroll-pe":[{"scroll-pe":r()}],"scroll-pt":[{"scroll-pt":r()}],"scroll-pr":[{"scroll-pr":r()}],"scroll-pb":[{"scroll-pb":r()}],"scroll-pl":[{"scroll-pl":r()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",p]}],fill:[{fill:[a,"none"]}],"stroke-w":[{stroke:[B,aa,ia]}],stroke:[{stroke:[a,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ka=Xa(bt);function Ca(...a){return ka((0,za.clsx)(a))}function ft(a){let t=0,o=(s,c)=>`${s.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${c}`,e=a.layout.flatMap(s=>{let c=[];return"title"in s&&s.title&&c.push({text:s.title,id:o(s.title,t++),tag:"h2"}),"columns"in s&&Array.isArray(s.columns)&&s.columns.forEach(d=>{if(d.title&&c.push({text:d.title,id:o(d.title,t++),tag:"h2"}),d.richText?.root?.children&&d.richText?.root?.children.length===1){let y=d.richText.root.children.filter(l=>l!==void 0&&l.type==="heading");for(let l of y)l.children[0]&&c.push({text:l.children[0].text??"",id:o(l.children[0].text,t++),tag:l.tag||"h2"})}}),c}),n=pt(a.layout);return{tableOfContents:e,contentWithIds:n}}function pt(a){let t=(e,n)=>`${e.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${n}`,o=0;return a.map(e=>(e.title&&(e.id=t(e.title,o++)),e.columns&&(e.columns=e.columns.map(n=>(n.title&&(n.id=t(n.title,o++)),n.richText&&(n.richText.root.children=n.richText.root.children.filter(s=>s!==void 0).map(s=>(s.type==="heading"&&s.children&&s.children[0].text?s.id=t(s.children[0].text,o++):s.type==="block"&&s.fields?.media&&(s.id=t(`image-${o}`,o++)),s))),n))),e))}var Ma=require("react"),ja=Na(Sa());function mt(){return(0,Ma.useEffect)(()=>{ja.default.init({duration:1e3,offset:0,once:!0})},[]),null}var ya=class{static toUtcMidnight(t){let o=new Date(t);return o.getUTCHours()===23&&o.getUTCMinutes()===0&&o.getUTCSeconds()===0?new Date(Date.UTC(o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()+1)):new Date(Date.UTC(o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()))}};0&&(module.exports={AOSInit,TimeUtil,cn,getTableOfContents});
|
|
8
|
+
`),w.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",w.easing),document.querySelector("body").setAttribute("data-aos-duration",w.duration),document.querySelector("body").setAttribute("data-aos-delay",w.delay),w.startEvent==="DOMContentLoaded"&&["complete","interactive"].indexOf(document.readyState)>-1?I(!0):w.startEvent==="load"?window.addEventListener(w.startEvent,function(){I(!0)}):document.addEventListener(w.startEvent,function(){I(!0)}),window.addEventListener("resize",(0,l.default)(I,w.debounceDelay,!0)),window.addEventListener("orientationchange",(0,l.default)(I,w.debounceDelay,!0)),window.addEventListener("scroll",(0,d.default)(function(){(0,C.default)(j,w.once)},w.throttleDelay)),w.disableMutationObserver||f.default.ready("[data-aos]",U),j)};a.exports={init:g,refresh:I,refreshHard:U}},function(a,t){},,,,,function(a,t){(function(o){"use strict";function e(i,g,r){function O(h){var N=R,Q=H;return R=H=void 0,K=h,E=i.apply(Q,N)}function _(h){return K=h,A=setTimeout(W,g),J?O(h):E}function D(h){var N=h-q,Q=h-K,ba=g-N;return F?U(ba,V-Q):ba}function G(h){var N=h-q,Q=h-K;return q===void 0||N>=g||N<0||F&&Q>=V}function W(){var h=u();return G(h)?X(h):void(A=setTimeout(W,D(h)))}function X(h){return A=void 0,S&&R?O(h):(R=H=void 0,E)}function Y(){A!==void 0&&clearTimeout(A),K=0,R=q=H=A=void 0}function Z(){return A===void 0?E:X(u())}function T(){var h=u(),N=G(h);if(R=arguments,H=this,q=h,N){if(A===void 0)return _(q);if(F)return A=setTimeout(W,g),O(q)}return A===void 0&&(A=setTimeout(W,g)),E}var R,H,V,E,A,q,K=0,J=!1,F=!1,S=!0;if(typeof i!="function")throw new TypeError(b);return g=y(g)||0,s(r)&&(J=!!r.leading,F="maxWait"in r,V=F?I(y(r.maxWait)||0,g):V,S="trailing"in r?!!r.trailing:S),T.cancel=Y,T.flush=Z,T}function n(i,g,r){var O=!0,_=!0;if(typeof i!="function")throw new TypeError(b);return s(r)&&(O="leading"in r?!!r.leading:O,_="trailing"in r?!!r.trailing:_),e(i,g,{leading:O,maxWait:g,trailing:_})}function s(i){var g=typeof i>"u"?"undefined":l(i);return!!i&&(g=="object"||g=="function")}function c(i){return!!i&&(typeof i>"u"?"undefined":l(i))=="object"}function d(i){return(typeof i>"u"?"undefined":l(i))=="symbol"||c(i)&&w.call(i)==m}function y(i){if(typeof i=="number")return i;if(d(i))return f;if(s(i)){var g=typeof i.valueOf=="function"?i.valueOf():i;i=s(g)?g+"":g}if(typeof i!="string")return i===0?i:+i;i=i.replace(k,"");var r=C.test(i);return r||v.test(i)?M(i.slice(2),r?2:8):z.test(i)?f:+i}var l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},b="Expected a function",f=NaN,m="[object Symbol]",k=/^\s+|\s+$/g,z=/^[-+]0x[0-9a-f]+$/i,C=/^0b[01]+$/i,v=/^0o[0-7]+$/i,M=parseInt,P=(typeof o>"u"?"undefined":l(o))=="object"&&o&&o.Object===Object&&o,L=(typeof self>"u"?"undefined":l(self))=="object"&&self&&self.Object===Object&&self,j=P||L||Function("return this")(),$=Object.prototype,w=$.toString,I=Math.max,U=Math.min,u=function(){return j.Date.now()};a.exports=n}).call(t,function(){return this}())},function(a,t){(function(o){"use strict";function e(u,i,g){function r(S){var h=T,N=R;return T=R=void 0,q=S,V=u.apply(N,h)}function O(S){return q=S,E=setTimeout(G,i),K?r(S):V}function _(S){var h=S-A,N=S-q,Q=i-h;return J?I(Q,H-N):Q}function D(S){var h=S-A,N=S-q;return A===void 0||h>=i||h<0||J&&N>=H}function G(){var S=U();return D(S)?W(S):void(E=setTimeout(G,_(S)))}function W(S){return E=void 0,F&&T?r(S):(T=R=void 0,V)}function X(){E!==void 0&&clearTimeout(E),q=0,T=A=R=E=void 0}function Y(){return E===void 0?V:W(U())}function Z(){var S=U(),h=D(S);if(T=arguments,R=this,A=S,h){if(E===void 0)return O(A);if(J)return E=setTimeout(G,i),r(A)}return E===void 0&&(E=setTimeout(G,i)),V}var T,R,H,V,E,A,q=0,K=!1,J=!1,F=!0;if(typeof u!="function")throw new TypeError(l);return i=d(i)||0,n(g)&&(K=!!g.leading,J="maxWait"in g,H=J?w(d(g.maxWait)||0,i):H,F="trailing"in g?!!g.trailing:F),Z.cancel=X,Z.flush=Y,Z}function n(u){var i=typeof u>"u"?"undefined":y(u);return!!u&&(i=="object"||i=="function")}function s(u){return!!u&&(typeof u>"u"?"undefined":y(u))=="object"}function c(u){return(typeof u>"u"?"undefined":y(u))=="symbol"||s(u)&&$.call(u)==f}function d(u){if(typeof u=="number")return u;if(c(u))return b;if(n(u)){var i=typeof u.valueOf=="function"?u.valueOf():u;u=n(i)?i+"":i}if(typeof u!="string")return u===0?u:+u;u=u.replace(m,"");var g=z.test(u);return g||C.test(u)?v(u.slice(2),g?2:8):k.test(u)?b:+u}var y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},l="Expected a function",b=NaN,f="[object Symbol]",m=/^\s+|\s+$/g,k=/^[-+]0x[0-9a-f]+$/i,z=/^0b[01]+$/i,C=/^0o[0-7]+$/i,v=parseInt,M=(typeof o>"u"?"undefined":y(o))=="object"&&o&&o.Object===Object&&o,P=(typeof self>"u"?"undefined":y(self))=="object"&&self&&self.Object===Object&&self,L=M||P||Function("return this")(),j=Object.prototype,$=j.toString,w=Math.max,I=Math.min,U=function(){return L.Date.now()};a.exports=e}).call(t,function(){return this}())},function(a,t){"use strict";function o(y){var l=void 0,b=void 0,f=void 0;for(l=0;l<y.length;l+=1)if(b=y[l],b.dataset&&b.dataset.aos||(f=b.children&&o(b.children)))return!0;return!1}function e(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function n(){return!!e()}function s(y,l){var b=window.document,f=e(),m=new f(c);d=l,m.observe(b.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}function c(y){y&&y.forEach(function(l){var b=Array.prototype.slice.call(l.addedNodes),f=Array.prototype.slice.call(l.removedNodes),m=b.concat(f);if(o(m))return d()})}Object.defineProperty(t,"__esModule",{value:!0});var d=function(){};t.default={isSupported:n,ready:s}},function(a,t){"use strict";function o(b,f){if(!(b instanceof f))throw new TypeError("Cannot call a class as a function")}function e(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function b(f,m){for(var k=0;k<m.length;k++){var z=m[k];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(f,z.key,z)}}return function(f,m,k){return m&&b(f.prototype,m),k&&b(f,k),f}}(),s=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,c=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,d=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,y=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,l=function(){function b(){o(this,b)}return n(b,[{key:"phone",value:function(){var f=e();return!(!s.test(f)&&!c.test(f.substr(0,4)))}},{key:"mobile",value:function(){var f=e();return!(!d.test(f)&&!y.test(f.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),b}();t.default=new l},function(a,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(n,s,c){var d=n.node.getAttribute("data-aos-once");s>n.position?n.node.classList.add("aos-animate"):typeof d<"u"&&(d==="false"||!c&&d!=="true")&&n.node.classList.remove("aos-animate")},e=function(n,s){var c=window.pageYOffset,d=window.innerHeight;n.forEach(function(y,l){o(y,d+c,s)})};t.default=e},function(a,t,o){"use strict";function e(d){return d&&d.__esModule?d:{default:d}}Object.defineProperty(t,"__esModule",{value:!0});var n=o(12),s=e(n),c=function(d,y){return d.forEach(function(l,b){l.node.classList.add("aos-init"),l.position=(0,s.default)(l.node,y.offset)}),d};t.default=c},function(a,t,o){"use strict";function e(d){return d&&d.__esModule?d:{default:d}}Object.defineProperty(t,"__esModule",{value:!0});var n=o(13),s=e(n),c=function(d,y){var l=0,b=0,f=window.innerHeight,m={offset:d.getAttribute("data-aos-offset"),anchor:d.getAttribute("data-aos-anchor"),anchorPlacement:d.getAttribute("data-aos-anchor-placement")};switch(m.offset&&!isNaN(m.offset)&&(b=parseInt(m.offset)),m.anchor&&document.querySelectorAll(m.anchor)&&(d=document.querySelectorAll(m.anchor)[0]),l=(0,s.default)(d).top,m.anchorPlacement){case"top-bottom":break;case"center-bottom":l+=d.offsetHeight/2;break;case"bottom-bottom":l+=d.offsetHeight;break;case"top-center":l+=f/2;break;case"bottom-center":l+=f/2+d.offsetHeight;break;case"center-center":l+=f/2+d.offsetHeight/2;break;case"top-top":l+=f;break;case"bottom-top":l+=d.offsetHeight+f;break;case"center-top":l+=d.offsetHeight/2+f}return m.anchorPlacement||m.offset||isNaN(y)||(b=y),l+b};t.default=c},function(a,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){for(var n=0,s=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)n+=e.offsetLeft-(e.tagName!="BODY"?e.scrollLeft:0),s+=e.offsetTop-(e.tagName!="BODY"?e.scrollTop:0),e=e.offsetParent;return{top:s,left:n}};t.default=o},function(a,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){return e=e||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(e,function(n){return{node:n}})};t.default=o}])})});var gt={};Ia(gt,{AOSInit:()=>mt,TimeUtil:()=>ya,cn:()=>Ca,getTableOfContents:()=>ft});module.exports=qa(gt);var za=require("clsx");var ca="-",La=a=>{let t=Ra(a),{conflictingClassGroups:o,conflictingClassGroupModifiers:e}=a;return{getClassGroupId:c=>{let d=c.split(ca);return d[0]===""&&d.length!==1&&d.shift(),ga(d,t)||Ga(c)},getConflictingClassGroupIds:(c,d)=>{let y=o[c]||[];return d&&e[c]?[...y,...e[c]]:y}}},ga=(a,t)=>{if(a.length===0)return t.classGroupId;let o=a[0],e=t.nextPart.get(o),n=e?ga(a.slice(1),e):void 0;if(n)return n;if(t.validators.length===0)return;let s=a.join(ca);return t.validators.find(({validator:c})=>c(s))?.classGroupId},pa=/^\[(.+)\]$/,Ga=a=>{if(pa.test(a)){let t=pa.exec(a)[1],o=t?.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},Ra=a=>{let{theme:t,prefix:o}=a,e={nextPart:new Map,validators:[]};return Ua(Object.entries(a.classGroups),o).forEach(([s,c])=>{la(c,e,s,t)}),e},la=(a,t,o,e)=>{a.forEach(n=>{if(typeof n=="string"){let s=n===""?t:ma(t,n);s.classGroupId=o;return}if(typeof n=="function"){if($a(n)){la(n(e),t,o,e);return}t.validators.push({validator:n,classGroupId:o});return}Object.entries(n).forEach(([s,c])=>{la(c,ma(t,s),o,e)})})},ma=(a,t)=>{let o=a;return t.split(ca).forEach(e=>{o.nextPart.has(e)||o.nextPart.set(e,{nextPart:new Map,validators:[]}),o=o.nextPart.get(e)}),o},$a=a=>a.isThemeGetter,Ua=(a,t)=>t?a.map(([o,e])=>{let n=e.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([c,d])=>[t+c,d])):s);return[o,n]}):a,Da=a=>{if(a<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,e=new Map,n=(s,c)=>{o.set(s,c),t++,t>a&&(t=0,e=o,o=new Map)};return{get(s){let c=o.get(s);if(c!==void 0)return c;if((c=e.get(s))!==void 0)return n(s,c),c},set(s,c){o.has(s)?o.set(s,c):n(s,c)}}},ha="!",Wa=a=>{let{separator:t,experimentalParseClassName:o}=a,e=t.length===1,n=t[0],s=t.length,c=d=>{let y=[],l=0,b=0,f;for(let v=0;v<d.length;v++){let M=d[v];if(l===0){if(M===n&&(e||d.slice(v,v+s)===t)){y.push(d.slice(b,v)),b=v+s;continue}if(M==="/"){f=v;continue}}M==="["?l++:M==="]"&&l--}let m=y.length===0?d:d.substring(b),k=m.startsWith(ha),z=k?m.substring(1):m,C=f&&f>b?f-b:void 0;return{modifiers:y,hasImportantModifier:k,baseClassName:z,maybePostfixModifierPosition:C}};return o?d=>o({className:d,parseClassName:c}):c},Ha=a=>{if(a.length<=1)return a;let t=[],o=[];return a.forEach(e=>{e[0]==="["?(t.push(...o.sort(),e),o=[]):o.push(e)}),t.push(...o.sort()),t},Va=a=>({cache:Da(a.cacheSize),parseClassName:Wa(a),...La(a)}),Ya=/\s+/,Fa=(a,t)=>{let{parseClassName:o,getClassGroupId:e,getConflictingClassGroupIds:n}=t,s=[],c=a.trim().split(Ya),d="";for(let y=c.length-1;y>=0;y-=1){let l=c[y],{modifiers:b,hasImportantModifier:f,baseClassName:m,maybePostfixModifierPosition:k}=o(l),z=!!k,C=e(z?m.substring(0,k):m);if(!C){if(!z){d=l+(d.length>0?" "+d:d);continue}if(C=e(m),!C){d=l+(d.length>0?" "+d:d);continue}z=!1}let v=Ha(b).join(":"),M=f?v+ha:v,P=M+C;if(s.includes(P))continue;s.push(P);let L=n(C,z);for(let j=0;j<L.length;++j){let $=L[j];s.push(M+$)}d=l+(d.length>0?" "+d:d)}return d};function Ba(){let a=0,t,o,e="";for(;a<arguments.length;)(t=arguments[a++])&&(o=va(t))&&(e&&(e+=" "),e+=o);return e}var va=a=>{if(typeof a=="string")return a;let t,o="";for(let e=0;e<a.length;e++)a[e]&&(t=va(a[e]))&&(o&&(o+=" "),o+=t);return o};function Xa(a,...t){let o,e,n,s=c;function c(y){let l=t.reduce((b,f)=>f(b),a());return o=Va(l),e=o.cache.get,n=o.cache.set,s=d,d(y)}function d(y){let l=e(y);if(l)return l;let b=Fa(y,o);return n(y,b),b}return function(){return s(Ba.apply(null,arguments))}}var x=a=>{let t=o=>o[a]||[];return t.isThemeGetter=!0,t},wa=/^\[(?:([a-z-]+):)?(.+)\]$/i,Za=/^\d+\/\d+$/,Ka=new Set(["px","full","screen"]),Ja=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Qa=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,at=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,tt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ot=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=a=>oa(a)||Ka.has(a)||Za.test(a),aa=a=>ea(a,"length",ct),oa=a=>!!a&&!Number.isNaN(Number(a)),ia=a=>ea(a,"number",oa),sa=a=>!!a&&Number.isInteger(Number(a)),et=a=>a.endsWith("%")&&oa(a.slice(0,-1)),p=a=>wa.test(a),ta=a=>Ja.test(a),st=new Set(["length","size","percentage"]),dt=a=>ea(a,st,xa),nt=a=>ea(a,"position",xa),rt=new Set(["image","url"]),it=a=>ea(a,rt,yt),lt=a=>ea(a,"",ut),da=()=>!0,ea=(a,t,o)=>{let e=wa.exec(a);return e?e[1]?typeof t=="string"?e[1]===t:t.has(e[1]):o(e[2]):!1},ct=a=>Qa.test(a)&&!at.test(a),xa=()=>!1,ut=a=>tt.test(a),yt=a=>ot.test(a);var bt=()=>{let a=x("colors"),t=x("spacing"),o=x("blur"),e=x("brightness"),n=x("borderColor"),s=x("borderRadius"),c=x("borderSpacing"),d=x("borderWidth"),y=x("contrast"),l=x("grayscale"),b=x("hueRotate"),f=x("invert"),m=x("gap"),k=x("gradientColorStops"),z=x("gradientColorStopPositions"),C=x("inset"),v=x("margin"),M=x("opacity"),P=x("padding"),L=x("saturate"),j=x("scale"),$=x("sepia"),w=x("skew"),I=x("space"),U=x("translate"),u=()=>["auto","contain","none"],i=()=>["auto","hidden","clip","visible","scroll"],g=()=>["auto",p,t],r=()=>[p,t],O=()=>["",B,aa],_=()=>["auto",oa,p],D=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],G=()=>["solid","dashed","dotted","double","none"],W=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],X=()=>["start","end","center","between","around","evenly","stretch"],Y=()=>["","0",p],Z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>[oa,p];return{cacheSize:500,separator:":",theme:{colors:[da],spacing:[B,aa],blur:["none","",ta,p],brightness:T(),borderColor:[a],borderRadius:["none","","full",ta,p],borderSpacing:r(),borderWidth:O(),contrast:T(),grayscale:Y(),hueRotate:T(),invert:Y(),gap:r(),gradientColorStops:[a],gradientColorStopPositions:[et,aa],inset:g(),margin:g(),opacity:T(),padding:r(),saturate:T(),scale:T(),sepia:Y(),skew:T(),space:r(),translate:r()},classGroups:{aspect:[{aspect:["auto","square","video",p]}],container:["container"],columns:[{columns:[ta]}],"break-after":[{"break-after":Z()}],"break-before":[{"break-before":Z()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...D(),p]}],overflow:[{overflow:i()}],"overflow-x":[{"overflow-x":i()}],"overflow-y":[{"overflow-y":i()}],overscroll:[{overscroll:u()}],"overscroll-x":[{"overscroll-x":u()}],"overscroll-y":[{"overscroll-y":u()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[C]}],"inset-x":[{"inset-x":[C]}],"inset-y":[{"inset-y":[C]}],start:[{start:[C]}],end:[{end:[C]}],top:[{top:[C]}],right:[{right:[C]}],bottom:[{bottom:[C]}],left:[{left:[C]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",sa,p]}],basis:[{basis:g()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",p]}],grow:[{grow:Y()}],shrink:[{shrink:Y()}],order:[{order:["first","last","none",sa,p]}],"grid-cols":[{"grid-cols":[da]}],"col-start-end":[{col:["auto",{span:["full",sa,p]},p]}],"col-start":[{"col-start":_()}],"col-end":[{"col-end":_()}],"grid-rows":[{"grid-rows":[da]}],"row-start-end":[{row:["auto",{span:[sa,p]},p]}],"row-start":[{"row-start":_()}],"row-end":[{"row-end":_()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",p]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",p]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...X()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...X(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...X(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[I]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[I]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",p,t]}],"min-w":[{"min-w":[p,t,"min","max","fit"]}],"max-w":[{"max-w":[p,t,"none","full","min","max","fit","prose",{screen:[ta]},ta]}],h:[{h:[p,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[p,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[p,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[p,t,"auto","min","max","fit"]}],"font-size":[{text:["base",ta,aa]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ia]}],"font-family":[{font:[da]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",p]}],"line-clamp":[{"line-clamp":["none",oa,ia]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",B,p]}],"list-image":[{"list-image":["none",p]}],"list-style-type":[{list:["none","disc","decimal",p]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[a]}],"placeholder-opacity":[{"placeholder-opacity":[M]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[a]}],"text-opacity":[{"text-opacity":[M]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...G(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,aa]}],"underline-offset":[{"underline-offset":["auto",B,p]}],"text-decoration-color":[{decoration:[a]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:r()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",p]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",p]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[M]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...D(),nt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",dt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},it]}],"bg-color":[{bg:[a]}],"gradient-from-pos":[{from:[z]}],"gradient-via-pos":[{via:[z]}],"gradient-to-pos":[{to:[z]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[d]}],"border-w-x":[{"border-x":[d]}],"border-w-y":[{"border-y":[d]}],"border-w-s":[{"border-s":[d]}],"border-w-e":[{"border-e":[d]}],"border-w-t":[{"border-t":[d]}],"border-w-r":[{"border-r":[d]}],"border-w-b":[{"border-b":[d]}],"border-w-l":[{"border-l":[d]}],"border-opacity":[{"border-opacity":[M]}],"border-style":[{border:[...G(),"hidden"]}],"divide-x":[{"divide-x":[d]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[d]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[M]}],"divide-style":[{divide:G()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...G()]}],"outline-offset":[{"outline-offset":[B,p]}],"outline-w":[{outline:[B,aa]}],"outline-color":[{outline:[a]}],"ring-w":[{ring:O()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[a]}],"ring-opacity":[{"ring-opacity":[M]}],"ring-offset-w":[{"ring-offset":[B,aa]}],"ring-offset-color":[{"ring-offset":[a]}],shadow:[{shadow:["","inner","none",ta,lt]}],"shadow-color":[{shadow:[da]}],opacity:[{opacity:[M]}],"mix-blend":[{"mix-blend":[...W(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":W()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[e]}],contrast:[{contrast:[y]}],"drop-shadow":[{"drop-shadow":["","none",ta,p]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[f]}],saturate:[{saturate:[L]}],sepia:[{sepia:[$]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[e]}],"backdrop-contrast":[{"backdrop-contrast":[y]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[M]}],"backdrop-saturate":[{"backdrop-saturate":[L]}],"backdrop-sepia":[{"backdrop-sepia":[$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-y":[{"border-spacing-y":[c]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",p]}],duration:[{duration:T()}],ease:[{ease:["linear","in","out","in-out",p]}],delay:[{delay:T()}],animate:[{animate:["none","spin","ping","pulse","bounce",p]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[j]}],"scale-x":[{"scale-x":[j]}],"scale-y":[{"scale-y":[j]}],rotate:[{rotate:[sa,p]}],"translate-x":[{"translate-x":[U]}],"translate-y":[{"translate-y":[U]}],"skew-x":[{"skew-x":[w]}],"skew-y":[{"skew-y":[w]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",p]}],accent:[{accent:["auto",a]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",p]}],"caret-color":[{caret:[a]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":r()}],"scroll-mx":[{"scroll-mx":r()}],"scroll-my":[{"scroll-my":r()}],"scroll-ms":[{"scroll-ms":r()}],"scroll-me":[{"scroll-me":r()}],"scroll-mt":[{"scroll-mt":r()}],"scroll-mr":[{"scroll-mr":r()}],"scroll-mb":[{"scroll-mb":r()}],"scroll-ml":[{"scroll-ml":r()}],"scroll-p":[{"scroll-p":r()}],"scroll-px":[{"scroll-px":r()}],"scroll-py":[{"scroll-py":r()}],"scroll-ps":[{"scroll-ps":r()}],"scroll-pe":[{"scroll-pe":r()}],"scroll-pt":[{"scroll-pt":r()}],"scroll-pr":[{"scroll-pr":r()}],"scroll-pb":[{"scroll-pb":r()}],"scroll-pl":[{"scroll-pl":r()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",p]}],fill:[{fill:[a,"none"]}],"stroke-w":[{stroke:[B,aa,ia]}],stroke:[{stroke:[a,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ka=Xa(bt);function Ca(...a){return ka((0,za.clsx)(a))}function ft(a){let t=0,o=(s,c)=>`${s.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${c}`,e=a.layout.flatMap(s=>{let c=[];return"title"in s&&s.title&&c.push({text:s.title,id:o(s.title,t++),tag:"h2"}),"columns"in s&&Array.isArray(s.columns)&&s.columns.forEach(d=>{if(d.title&&c.push({text:d.title,id:o(d.title,t++),tag:"h2"}),d.richText?.root?.children&&d.richText?.root?.children.length===1){let y=d.richText.root.children.filter(l=>l!==void 0&&l.type==="heading");for(let l of y)l.children[0]&&c.push({text:l.children[0].text??"",id:o(l.children[0].text,t++),tag:l.tag||"h2"})}}),c}),n=pt(a.layout);return{tableOfContents:e,contentWithIds:n}}function pt(a){let t=(e,n)=>`${e.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${n}`,o=0;return a.map(e=>(e.title&&(e.id=t(e.title,o++)),e.columns&&(e.columns=e.columns.map(n=>(n.title&&(n.id=t(n.title,o++)),n.richText&&(n.richText.root.children=n.richText.root.children.filter(s=>s!==void 0).map(s=>(s.type==="heading"&&s.children&&s.children[0].text?s.id=t(s.children[0].text,o++):s.type==="block"&&s.fields?.media&&(s.id=t(`image-${o}`,o++)),s))),n))),e))}var Ma=require("react"),ja=Na(Sa());function mt(){return(0,Ma.useEffect)(()=>{ja.default.init({duration:1e3,offset:0,once:!0})},[]),null}var ya=class{static toUtcMidnight(t){let o=new Date(t);return o.getUTCHours()===23&&o.getUTCMinutes()===0&&o.getUTCSeconds()===0?new Date(Date.UTC(o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()+1)):new Date(Date.UTC(o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()))}static toUtcEndOfDay(t){let o=new Date(t),e=this.toUtcMidnight(o);return new Date(e.getTime()+24*60*60*1e3-1)}};0&&(module.exports={AOSInit,TimeUtil,cn,getTableOfContents});
|
package/dist/utils/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as d}from"../chunk-
|
|
1
|
+
import{a as d}from"../chunk-QTW33JYG.mjs";import{a}from"../chunk-MDJREBVI.mjs";import"../chunk-ZWHGOTSF.mjs";import{a as b}from"../chunk-Q3G5UAAD.mjs";import{a as c}from"../chunk-XGRRLABA.mjs";import"../chunk-YEKQJ4YC.mjs";export{c as AOSInit,d as TimeUtil,a as cn,b as getTableOfContents};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "cortex-react-components",
|
|
3
3
|
"author": "Cortex Reply",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.23.0",
|
|
6
6
|
"description": "A library of React components with styles. Designed to seamlessly integrate with React and Next.js.",
|
|
7
7
|
"license": "MPL-2.0",
|
|
8
8
|
"main": "./dist/index.js",
|
package/dist/chunk-EGEO3FNE.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=class{static toUtcMidnight(a){let t=new Date(a);return t.getUTCHours()===23&&t.getUTCMinutes()===0&&t.getUTCSeconds()===0?new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()+1)):new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()))}};export{e as a};
|
package/dist/chunk-HMZKODQJ.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as E}from"./chunk-D7VHHXGM.mjs";import{a as x}from"./chunk-DFIXTV2M.mjs";import{a as y,c as C,d as S,g as D,i as g}from"./chunk-YFAZQYK4.mjs";import{a as k}from"./chunk-B4H6T2GP.mjs";import{a as h}from"./chunk-L5JPAKPM.mjs";import{b as i}from"./chunk-ZUA4KNIR.mjs";import{motion as K}from"motion/react";import{Save as G,X as T,Plus as H,ChevronDown as J,ChevronRight as L,Info as M,File as F,FileText as Q,Type as W}from"lucide-react";import{useEffect as Y,useState as v}from"react";import{jsx as e,jsxs as d}from"react/jsx-runtime";function ce({document:u,onSave:A,mode:Z="edit",onCancel:B,availableDocuments:p=[],knowledgeContexts:I=[]}){let[n,r]=v({...u,updatedAt:new Date}),[m,_]=v(!1),[N,j]=v(n.richTextContent);Y(()=>{r(u)},[u]);let ee=t=>{switch(t){case"markdown":case"mdx":return e(Q,{className:"h-6 w-6 text-primary"});case"richText":return e(F,{className:"h-6 w-6 text-success"});case"text":return e(W,{className:"h-6 w-6 text-muted-foreground"});default:return e(F,{className:"h-6 w-6 text-muted-foreground"})}},V=t=>{switch(t){case"markdown":return"bg-primary/10 text-primary border-primary/20";case"mdx":return"bg-secondary/10 text-secondary border-secondary/20";case"richText":return"bg-success/10 text-success border-success/20";case"text":return"bg-muted/50 text-muted-foreground border-muted-foreground/20";default:return"bg-muted text-muted-foreground border-border"}},z=()=>{let t=new Set,a=new Set;return I.forEach(s=>{s.menuConfig.groupBy.forEach(l=>t.add(l))}),p.forEach(s=>{s.metadata&&Object.keys(s.metadata).forEach(l=>a.add(l))}),{contextKeys:Array.from(t).sort(),documentKeys:Array.from(a).sort(),allKeys:Array.from(new Set([...t,...a])).sort()}},O=t=>{let a=new Set;return p.forEach(s=>{s.metadata?.[t]&&a.add(String(s.metadata[t]))}),Array.from(a).sort()},R=z(),$=()=>{A({...n,richTextContent:N})},c=(t,a)=>{r(s=>({...s,metadata:{...s.metadata,[t]:a}}))},P=(t,a)=>{a==="__custom__"?c(t,""):c(t,a)},U=()=>{c("","")},X=t=>{r(a=>{let s={...a.metadata};return delete s[t],{...a,metadata:s}})};return d(K.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3},className:"h-screen flex flex-col",children:[d("div",{className:"border-b border-border bg-card p-8 pb-6",children:[d("div",{className:"flex items-start justify-between gap-4 mb-4",children:[e("div",{className:"flex items-start gap-4 flex-1 min-w-0",children:d("div",{className:"flex-1 min-w-0",children:[d("div",{className:"flex items-start gap-4 mb-0 leading-tight",children:[e("div",{className:"flex-1 min-w-0",children:e(x,{fieldName:"title",value:n.title,label:"",onSave:(t,a)=>r(s=>({...s,title:a})),className:"[&>div:last-child]:text-2xl [&>div:last-child]:font-bold [&>div:last-child]:leading-tight [&>div:last-child]:text-foreground [&>div:last-child]:p-0 [&>div:last-child]:border-0 [&>div:last-child]:hover:bg-muted/30 [&>div:last-child]:min-h-0"})}),e("span",{className:`inline-flex items-center px-3 py-1 rounded-full text-sm font-medium border ${V(n.format)} flex-shrink-0 mt-1`,children:n.format.toUpperCase()})]}),e("div",{className:"mt-2",children:e(x,{fieldName:"description",value:n.description||"Click to add description...",label:"",multiline:!0,onSave:(t,a)=>r(s=>({...s,description:a})),className:"[&>div:last-child]:text-muted-foreground [&>div:last-child]:text-lg [&>div:last-child]:leading-relaxed [&>div:last-child]:p-0 [&>div:last-child]:border-0 [&>div:last-child]:hover:bg-muted/30 [&>div:last-child]:min-h-0"})})]})}),d("div",{className:"flex items-center gap-2 flex-shrink-0",children:[d(i,{variant:"ghost",size:"sm",onClick:()=>_(!m),className:"gap-2",children:[e(M,{className:"h-4 w-4"}),"Metadata",n.metadata&&Object.keys(n.metadata).length>0&&e("span",{className:"inline-flex items-center justify-center w-5 h-5 text-xs font-medium bg-primary/10 text-primary rounded-full",children:Object.keys(n.metadata).length}),m?e(J,{className:"h-4 w-4"}):e(L,{className:"h-4 w-4"})]}),d(i,{variant:"outline",size:"sm",onClick:B,className:"gap-2",children:[e(T,{className:"h-4 w-4"}),"Cancel"]}),d(i,{size:"sm",onClick:$,className:"gap-2",children:[e(G,{className:"h-4 w-4"}),"Save"]})]})]}),e(K.div,{initial:!1,animate:{height:m?"auto":0,opacity:m?1:0},transition:{duration:.2,ease:"easeInOut"},className:"overflow-hidden h-full max-h-full",children:d("div",{className:"pt-4 border-t border-border mt-4 h-screen max-h-full flex",children:[d("div",{className:"flex items-center justify-between mb-3",children:[d("h3",{className:"text-sm font-semibold text-foreground flex items-center gap-2",children:[e(M,{className:"h-4 w-4"}),"Document Metadata"]}),d(i,{type:"button",variant:"outline",size:"sm",onClick:U,className:"gap-1 h-8",children:[e(H,{className:"h-3 w-3"}),"Add Field"]})]}),e("div",{className:"bg-muted rounded-lg p-4 border border-border",children:n.metadata&&Object.keys(n.metadata).length>0?e("div",{className:"space-y-2",children:Object.entries(n.metadata).map(([t,a],s)=>{let l=O(t);return d("div",{className:"flex gap-2 items-center",children:[e(h,{value:t,onChange:o=>{let b=o.target.value||"",q=n.metadata?.[t];r(w=>{let f={...w.metadata};return delete f[t],b&&(f[b]=q||""),{...w,metadata:f}})},placeholder:"Key",className:"w-32 h-8 text-sm",list:`metadata-keys-${t}`}),e("datalist",{id:`metadata-keys-${t}`,children:R.allKeys.map(o=>e("option",{value:o},o))}),e("span",{className:"text-muted-foreground text-sm",children:"="}),l.length>0?d(y,{value:String(a||""),onValueChange:o=>P(t,o),children:[e(S,{className:"flex-1 h-8 text-sm",children:e(C,{placeholder:"Value"})}),d(D,{children:[l.map(o=>e(g,{value:o,children:o},o)),e(g,{value:"__custom__",children:e("span",{className:"text-muted-foreground text-xs",children:"Custom..."})})]})]}):e(h,{value:String(a||""),onChange:o=>c(t,o.target.value),placeholder:"Value",className:"flex-1 h-8 text-sm"}),e(i,{type:"button",variant:"ghost",size:"sm",onClick:()=>X(t),className:"h-8 w-8 p-0 text-muted-foreground hover:text-destructive",children:e(T,{className:"h-3 w-3"})})]},`metadata-key-${s}`)})}):d("div",{className:"text-center py-4",children:[e("p",{className:"text-sm text-muted-foreground mb-2",children:"No metadata fields"}),e("p",{className:"text-xs text-muted-foreground",children:'Click "Add Field" to create metadata'})]})})]})})]}),e("div",{className:"flex-1 overflow-hidden",children:e("div",{className:"p-8 h-full max-h-full overflow-auto",children:n.format==="richText"?e(E,{setValue:j,value:N,name:"richTextContent"}):e(k,{value:n.content||"",onChange:t=>r(a=>({...a,content:t.target.value})),placeholder:"Document content...",className:"min-h-[400px] font-mono text-sm",style:{resize:"vertical"}})})})]})}export{ce as a};
|
package/dist/chunk-NIGA3VKZ.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as D}from"./chunk-HMZKODQJ.mjs";import{a as k}from"./chunk-D7VHHXGM.mjs";import{a as N,c as w,e as y}from"./chunk-3UMMMQEH.mjs";import{b as f}from"./chunk-ZUA4KNIR.mjs";import{a as v}from"./chunk-MDJREBVI.mjs";import{motion as C}from"motion/react";import{File as R,FileText as T,Edit3 as A,Type as G,ChevronDown as L,ChevronRight as Z,Info as K,Loader2 as H}from"lucide-react";import{startTransition as P,useEffect as Q,useMemo as V,useRef as W,useState as l}from"react";import*as O from"@radix-ui/react-dialog";import Y from"react-markdown";import _ from"remark-gfm";import{Fragment as ae,jsx as e,jsxs as o}from"react/jsx-runtime";var E=n=>e(Y,{remarkPlugins:[_],components:{h1:({children:t})=>e("h1",{className:"text-2xl font-bold",children:t}),h2:({children:t})=>e("h2",{className:"text-xl font-bold",children:t}),h3:({children:t})=>e("h3",{className:"text-lg font-bold",children:t}),h4:({children:t})=>e("h4",{className:"text-base font-bold",children:t}),ol:({children:t})=>e("ol",{className:"list-decimal",children:t}),ul:({children:t})=>e("ul",{className:"list-disc",children:t}),li:({children:t})=>e("li",{className:"ml-4",children:t}),p:({children:t})=>e("p",{className:"mb-4",children:t}),a:({children:t,href:i})=>e("a",{href:i,className:"text-blue-500",children:t}),img:({src:t,alt:i})=>e("img",{src:t,alt:i,className:"mb-4"}),blockquote:({children:t})=>e("blockquote",{className:"border-l-4 border-gray-300 pl-4 mb-4",children:t})},children:n}),M=n=>e("div",{className:"whitespace-pre-wrap font-mono text-sm leading-relaxed",children:n}),ee=n=>e("div",{className:"prose prose-slate dark:prose-invert max-w-none",children:n&&e(k,{value:JSON.stringify(n),editable:!1,name:"richTextContent"},JSON.stringify(n))}),te=n=>o("div",{className:"prose prose-slate dark:prose-invert max-w-none",children:[e("div",{className:"bg-blue-50 dark:bg-blue-950/20 border border-blue-200 dark:border-blue-800 rounded-lg p-4 mb-4",children:o("p",{className:"text-blue-800 dark:text-blue-200 text-sm",children:[e("strong",{children:"MDX Renderer:"})," This is a placeholder. Integrate with @mdx-js/react for full MDX rendering."]})}),E(n)]});function pe({document:n,onDocumentUpdate:t,editable:i=!0,mode:g="view",renderers:S,availableDocuments:j=[],knowledgeContexts:I=[]}){let[B,c]=l(!1),[d,$]=l(!1),[a,m]=l(n),[q,x]=l(!1),u=W(null),p=a.format==="richText"?a.richTextContent:a.content,z=V(()=>`${a.format}:${JSON.stringify(p)}`,[a.format,p]);Q(()=>{m(n)},[n]);let re=r=>{switch(r){case"markdown":case"mdx":return e(T,{className:"h-6 w-6 text-primary"});case"richText":return e(R,{className:"h-6 w-6 text-success"});case"text":return e(G,{className:"h-6 w-6 text-muted-foreground"});default:return e(R,{className:"h-6 w-6 text-muted-foreground"})}},F=r=>{switch(r){case"markdown":return"bg-primary/10 text-primary border-primary/20";case"mdx":return"bg-secondary/10 text-secondary border-secondary/20";case"richText":return"bg-success/10 text-success border-success/20";case"text":return"bg-muted/50 text-muted-foreground border-muted-foreground/20";default:return"bg-muted text-muted-foreground border-border"}},J=(r,s)=>{let U={markdown:E,mdx:te,text:M},h=S?.[s]||U[s];if(s==="richText"&&typeof r=="object")return ee(r);if(h&&typeof r=="string")return h(r);if(typeof r=="string")return M(r)},X=async r=>{x(!0),u.current=a,P(()=>{m({...r,richTextContent:r.richTextContent?structuredClone(r.richTextContent):void 0})});try{let s=await t?.(r);if(x(!1),!s)throw new Error("save failed");c(!1)}catch{u.current&&P(()=>m(u.current))}},b=()=>{c(!1)};return o(ae,{children:[e(N,{open:B||g==="create",onOpenChange:r=>!r&&b(),children:o(w,{children:[e(y,{}),o(O.Content,{className:v("fixed inset-0 z-50 bg-background p-0 m-0 border-0","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"),children:[q&&e("div",{className:"absolute inset-0 bg-background/50 flex items-center justify-center",children:e(H,{className:"h-8 w-8 animate-spin text-primary"})}),e(D,{mode:g==="create"?"create":"edit",document:a,onSave:X,onCancel:b,availableDocuments:j,knowledgeContexts:I})]})]})}),o(C.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3},className:"h-full flex flex-col",children:[o("div",{className:"border-b border-border bg-card p-8 pb-6",children:[o("div",{className:"flex items-start justify-between gap-4",children:[e("div",{className:"flex items-start gap-4 flex-1 min-w-0",children:o("div",{className:"flex-1 min-w-0",children:[o("h1",{className:"text-2xl font-bold text-foreground mb-2 leading-tight",children:[a.title,e("span",{className:`inline-flex ml-4 items-center px-3 py-1 rounded-full text-sm font-medium border ${F(a.format)}`,children:a.format.toUpperCase()})]}),a.description&&e("p",{className:"text-muted-foreground text-lg leading-relaxed",children:a.description})]})}),o("div",{className:"items-center gap-2 flex-shrink-0 hidden lg:flex",children:[a.metadata&&Object.keys(a.metadata).length>0&&o(f,{variant:"ghost",size:"sm",onClick:()=>$(!d),className:"gap-2",children:[e(K,{className:"h-4 w-4"}),"Metadata",d?e(L,{className:"h-4 w-4"}):e(Z,{className:"h-4 w-4"})]}),i&&o(f,{variant:"outline",size:"sm",onClick:()=>c(!0),className:"gap-2",children:[e(A,{className:"h-4 w-4"}),"Edit"]})]})]}),a.metadata&&Object.keys(a.metadata).length>0&&e(C.div,{initial:!1,animate:{height:d?"auto":0,opacity:d?1:0},transition:{duration:.2,ease:"easeInOut"},className:"overflow-hidden",children:o("div",{className:"pt-4 border-t border-border mt-4",children:[o("h3",{className:"text-sm font-semibold text-foreground mb-3 flex items-center gap-2",children:[e(K,{className:"h-4 w-4"}),"Document Metadata"]}),e("div",{className:"bg-muted rounded-lg p-4 border border-border",children:e("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-x-6 gap-y-2 text-sm",children:Object.entries(a.metadata).map(([r,s])=>o("div",{className:"flex flex-col gap-1",children:[e("span",{className:"text-muted-foreground font-medium text-xs uppercase tracking-wide",children:r.replace(/([A-Z])/g," $1").trim()}),e("span",{className:"text-foreground font-medium",children:String(s)})]},r))})})]})})]}),e("div",{className:"flex-1 ",children:e("div",{className:"py-4 h-full",children:e("div",{className:"space-y-4",children:a.content||a.richTextContent?e("div",{className:"relative",children:e("div",{className:"bg-background px-8 overflow-hidden h-full flex-1",children:J(a.format==="richText"?a.richTextContent:a.content,a.format)})},z):o("div",{className:"text-center p-12 bg-muted rounded-xl border-2 border-dashed border-border",children:[e("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-background flex items-center justify-center",children:e(T,{className:"h-8 w-8 text-muted-foreground"})}),e("h4",{className:"text-foreground font-medium mb-1",children:"No content available"}),e("p",{className:"text-muted-foreground text-sm",children:"This document doesn't have preview content"})]})})})})]})]})}export{pe as a};
|
package/dist/chunk-U2OXF7PJ.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as m,c as u,d as p,g,i as v}from"./chunk-YFAZQYK4.mjs";import{a as D}from"./chunk-INCYANPB.mjs";import{a as n}from"./chunk-TVZOULLL.mjs";import{a as C,f as b,g as h,i as B}from"./chunk-3UMMMQEH.mjs";import{a as s}from"./chunk-L5JPAKPM.mjs";import{b as i}from"./chunk-ZUA4KNIR.mjs";import{b as f}from"./chunk-CSBGSBEU.mjs";import{useState as S}from"react";import{Save as L,X as w}from"lucide-react";import{jsx as t,jsxs as o}from"react/jsx-runtime";var X=({isOpen:x,onClose:y,onAddTeamContext:N})=>{let[a,r]=S({label:"",description:"",groupBy:[],sortBy:"name",sortOrder:"asc",showDocumentCount:!0}),[c,d]=S(""),O=e=>{e.preventDefault(),console.log("formData",a),a.label&&(N({id:a.label,label:a.label,description:a.description,menuConfig:{groupBy:a.groupBy,sortBy:a.sortBy||null,sortOrder:a.sortOrder,showDocumentCount:a.showDocumentCount}}),r({label:"",description:"",groupBy:[],sortBy:"name",sortOrder:"asc",showDocumentCount:!0}))},T=()=>{r({label:"",description:"",groupBy:[],sortBy:"name",sortOrder:"asc",showDocumentCount:!0}),y()},k=[{value:"name",label:"Name"},{value:"createdAt",label:"Created Date"}],A=[{value:"asc",label:"Ascending"},{value:"desc",label:"Descending"}];return t(C,{open:x,onOpenChange:T,children:o(b,{className:"sm:max-w-md",children:[t(h,{children:t(B,{children:"Add New Knowledge source"})}),o("form",{onSubmit:O,className:"space-y-4",children:[o("div",{className:"space-y-4",children:[o("div",{children:[t(n,{htmlFor:"label",children:"Label *"}),t(s,{id:"label",value:a.label,onChange:e=>r(l=>({...l,label:e.target.value})),required:!0})]}),o("div",{children:[t(n,{htmlFor:"description",children:"Description"}),t(s,{id:"description",value:a.description,onChange:e=>r(l=>({...l,description:e.target.value}))})]}),o("div",{children:[t(n,{children:"Group By"}),o("div",{className:"space-y-2",children:[t("div",{className:"flex flex-wrap gap-2",children:a.groupBy.map(e=>o(f,{variant:"secondary",className:"px-2 py-1",children:[e,t("button",{type:"button",className:"ml-1 inline-flex",onClick:()=>{r(l=>({...l,groupBy:l.groupBy.filter(F=>F!==e)}))},"aria-label":`Remove ${e}`,children:t(w,{className:"h-3 w-3"})})]},e))}),o("div",{className:"flex gap-2",children:[t(s,{placeholder:"Type a tag and press Enter",value:c,onChange:e=>d(e.target.value),onKeyDown:e=>{(e.key==="Enter"||e.key===",")&&(e.preventDefault(),r(l=>({...l,groupBy:[...l.groupBy,c]})),d(""))}}),t(i,{type:"button",onClick:()=>{r(e=>({...e,groupBy:[...e.groupBy,c]})),d("")},children:"Add"})]})]})]}),o("div",{children:[t(n,{htmlFor:"sortBy",children:"Sort By"}),o(m,{value:a.sortBy,onValueChange:e=>r(l=>({...l,sortBy:e})),children:[t(p,{children:t(u,{placeholder:"Select sort field"})}),t(g,{children:k.map(e=>t(v,{value:e.value,children:e.label},e.value))})]})]}),o("div",{children:[t(n,{htmlFor:"sortOrder",children:"Sort Order"}),o(m,{value:a.sortOrder,onValueChange:e=>r(l=>({...l,sortOrder:e})),children:[t(p,{children:t(u,{placeholder:"Select sort order"})}),t(g,{children:A.map(e=>t(v,{value:e.value,children:e.label},e.value))})]})]}),o("div",{className:"flex items-center space-x-2",children:[t(D,{id:"showDocumentCount",checked:a.showDocumentCount,onCheckedChange:e=>r(l=>({...l,showDocumentCount:e}))}),t(n,{htmlFor:"showDocumentCount",className:"text-sm",children:"Show Document Count"})]})]}),o("div",{className:"flex justify-end gap-3 pt-4",children:[o(i,{variant:"outline",size:"sm",onClick:y,className:"gap-2",children:[t(w,{className:"h-4 w-4"}),"Cancel"]}),o(i,{type:"submit",children:[t(L,{className:"h-4 w-4"}),"Create"]})]})]})]})})};export{X as a};
|
package/dist/chunk-UOA5RYVR.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as $}from"./chunk-L2UJOICL.mjs";import{a as L}from"./chunk-T3F3RQIC.mjs";import{a as P}from"./chunk-UP67R64J.mjs";import{a as F}from"./chunk-6QERRKM4.mjs";import{a as H}from"./chunk-VSU7LYXZ.mjs";import{b as E,c as S}from"./chunk-RKS7CWAP.mjs";import{b as _}from"./chunk-BZEGLKRZ.mjs";import{a as U}from"./chunk-IPRG56MW.mjs";import{a as j,b as B,c as J,d as G,e as X}from"./chunk-HFEN3KJC.mjs";import{a as f,b as p,i as u,j as g}from"./chunk-OCPX4QPC.mjs";import{a as y,b as A,c as R,d as O}from"./chunk-KY7WQYN4.mjs";import{a as I}from"./chunk-MDJREBVI.mjs";import{useLexicalComposerContext as he}from"@payloadcms/richtext-lexical/lexical/react/LexicalComposerContext";import{$insertNodeToNearestRoot as Ce,mergeRegister as Y}from"@payloadcms/richtext-lexical/lexical/utils";import{$createParagraphNode as ve,$getPreviousSelection as ke,$getRoot as Ne,$getSelection as v,$isParagraphNode as q,$isRangeSelection as k,CAN_REDO_COMMAND as Te,CAN_UNDO_COMMAND as De,COMMAND_PRIORITY_EDITOR as Me,FORMAT_ELEMENT_COMMAND as m,FORMAT_TEXT_COMMAND as c,SELECTION_CHANGE_COMMAND as xe,UNDO_COMMAND as z}from"@payloadcms/richtext-lexical/lexical";import{$setBlocksType as K}from"@payloadcms/richtext-lexical/lexical/selection";import{INSERT_ORDERED_LIST_COMMAND as we,INSERT_UNORDERED_LIST_COMMAND as Ie}from"@payloadcms/richtext-lexical/lexical/list";import{AlignCenter as ye,AlignJustify as Ae,AlignLeft as Re,AlignRight as Oe,ChevronDown as N,ImageUp as _e,List as Ee,ListOrdered as Se,Plus as Ue,RotateCcw as $e,RotateCw as He}from"lucide-react";import{Fragment as Le,useCallback as Pe,useEffect as Fe,useRef as je,useState as s}from"react";import{$createHeadingNode as Be}from"@payloadcms/richtext-lexical/lexical/rich-text";import{jsx as o,jsxs as a}from"react/jsx-runtime";var T=1;function Je(){return o("span",{className:"border border-[#222222]"})}function Ge(){let[t]=he(),Q=je(null),[V,W]=s(!1),[Z,ee]=s(!1),[oe,te]=s(!1),[ie,ne]=s(!1),[ae,se]=s(!1),[re,ce]=s(!1),[le,de]=s(!1),[fe,pe]=s(!1),[D,M]=s(!1),[x,ue]=s("left"),[w,ge]=s("p"),l=e=>{t.update(()=>{let i=v();k(i)&&(e==="p"?K(i,()=>ve()):K(i,()=>Be(e)))})},b=Pe(()=>{let e=v();if(k(e)){te(e.hasFormat("bold")),ne(e.hasFormat("italic")),se(e.hasFormat("underline")),ce(e.hasFormat("strikethrough")),de(e.hasFormat("subscript")),pe(e.hasFormat("superscript"));let i=e.anchor.getNode(),n=i;for(;n&&!q(n)&&n!==Ne();){let r=n.getParent();r&&(n=r)}if(n){let r=n.getFormatType();ue(r||"left")}let d=i.getTopLevelElement()?.__tag;ge(d||"p")}},[]);Fe(()=>Y(t.registerUpdateListener(({editorState:e})=>{e.read(()=>{b()})}),t.registerCommand(xe,(e,i)=>(b(),!1),T),t.registerCommand(De,e=>(W(e),!1),T),t.registerCommand(Te,e=>(ee(e),!1),T),Y(t.registerCommand(E,e=>(t.update(()=>{let i=v()||ke();if(k(i)){let n=_({id:e.id,fields:e.fields,relationTo:e.relationTo,value:e.value}),{focus:d}=i,r=d.getNode();Ce(n),q(r)&&!r.__first&&r.remove()}}),!0),Me))),[t,b]);let me=[[{label:"Undo",icon:o($e,{width:15,height:15}),onClick:()=>{t.dispatchCommand(z,void 0)},disabled:!V},{label:"Redo",icon:o(He,{width:15,height:15}),onClick:()=>{t.dispatchCommand(z,void 0)},disabled:!Z}],[{label:"Bold",icon:o(U,{}),onClick:()=>{t.dispatchCommand(c,"bold")},value:"bold",active:oe},{label:"Italic",icon:o($,{}),onClick:()=>{t.dispatchCommand(c,"italic")},value:"italic",active:ie},{label:"Underline",icon:o(H,{}),onClick:()=>{t.dispatchCommand(c,"underline")},value:"underline",active:ae},{label:"Strikethrough",icon:o(L,{}),onClick:()=>{t.dispatchCommand(c,"strikethrough")},value:"strikethrough",active:re},{label:"Subscript",icon:o(P,{}),onClick:()=>{t.dispatchCommand(c,"subscript")},value:"subscript",active:le},{label:"Superscript",icon:o(F,{}),onClick:()=>{t.dispatchCommand(c,"superscript")},value:"superscript",active:fe}]],h=[{label:"Left Align",direction:"left",icon:o(Re,{width:15,height:15}),onClick:()=>{t.dispatchCommand(m,"left")}},{label:"Center Align",direction:"center",icon:o(ye,{width:15,height:15}),onClick:()=>{t.dispatchCommand(m,"center")}},{label:"Right Align",direction:"right",icon:o(Oe,{width:15,height:15}),onClick:()=>{t.dispatchCommand(m,"right")}},{label:"Justify Align",direction:"justify",icon:o(Ae,{width:15,height:15}),onClick:()=>{t.dispatchCommand(m,"justify")}}],C=[{label:"Normal Text",value:"p",icon:o(j,{}),onClick:()=>l("p")},{label:"Heading 1",value:"h1",icon:o(B,{}),onClick:()=>l("h1")},{label:"Heading 2",value:"h2",icon:o(J,{}),onClick:()=>l("h2")},{label:"Heading 3",value:"h3",icon:o(G,{}),onClick:()=>l("h3")},{label:"Heading 4",value:"h4",icon:o(X,{}),onClick:()=>l("h4")},...[{label:"Unordered List",value:"ul",icon:o(Ee,{width:15,height:15}),onClick:()=>{t.dispatchCommand(Ie,void 0)}},{label:"Ordered List",value:"ol",icon:o(Se,{width:15,height:15}),onClick:()=>{t.dispatchCommand(we,void 0)}}]],be=[{label:"Insert Image",icon:o(_e,{width:15,height:15}),onClick:()=>{M(!0)},disabled:!1}];return o("div",{className:"flex justify-between border border-[#222222] py-2 px-2",children:a("div",{className:"flex gap-2 ",ref:Q,children:[me.map((e,i)=>a(Le,{children:[o("div",{className:"flex items-center gap-2",children:e.map((n,d)=>o("div",{role:"button","aria-disabled":n.disabled||!1,onClick:n.onClick,className:I("p-1 transition-all flex items-center justify-center rounded hover:bg-[#3c3c3c] focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-[#3a3a3a] focus:ring-[#3c3c3c]",n.active&&"bg-[#3c3c3c]"),"aria-label":n.label,children:o(y,{children:a(A,{children:[o(R,{className:"text-[#b5b5b5]",children:n.icon}),o(O,{children:o("p",{children:n.label})})]})})},d))}),o(Je,{})]},`toolbar-option-${e.length}-${i}`)),a(f,{children:[a(p,{className:"flex items-center justify-center gap-2 px-2 py-1 rounded hover:bg-[#3c3c3c] focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-[#3a3a3a] focus:ring-[#3c3c3c] text-[#b5b5b5] text-xs",children:[h.find(e=>e.direction===x)?.icon,h.find(e=>e.direction===x)?.label,o(N,{width:15,height:15})]}),o(u,{className:"bg-black hover:bg-black",children:h.map((e,i)=>a(g,{onClick:e.onClick,className:"flex items-center gap-2 text-xs text-[#b5b5b5] hover:bg-[#3c3c3c] focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-[#3a3a3a] focus:ring-[#3c3c3c]",children:[o("span",{children:e.icon}),o("span",{children:e.label})]},`${e.label}-${i}`))})]}),a(f,{children:[a(p,{className:"flex items-center justify-center gap-2 px-2 py-1 rounded hover:bg-[#3c3c3c] focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-[#3a3a3a] focus:ring-[#3c3c3c] text-[#b5b5b5] text-xs",children:[C.find(e=>e.value===w)?.icon,C.find(e=>e.value===w)?.label,o(N,{width:15,height:15})]}),o(u,{className:"bg-black hover:bg-black",children:C.map((e,i)=>a(g,{onClick:e.onClick,className:"flex items-center gap-2 text-xs text-[#b5b5b5] hover:bg-[#3c3c3c] focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-[#3a3a3a] focus:ring-[#3c3c3c]",children:[o("span",{children:e.icon}),o("span",{children:e.label})]},`heading-option-${e.label}-${i}`))})]}),a(f,{children:[a(p,{className:"flex items-center justify-center gap-2 px-2 py-1 rounded hover:bg-[#3c3c3c] focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-[#3a3a3a] focus:ring-[#3c3c3c] text-[#b5b5b5] text-xs",children:[o(Ue,{width:15,height:15}),o(N,{width:15,height:15})]}),o(u,{className:"bg-black hover:bg-black",children:be.map((e,i)=>a(g,{onClick:e.onClick,disabled:e.disabled,className:"flex items-center gap-2 text-xs text-[#b5b5b5] hover:bg-[#3c3c3c] focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-[#3a3a3a] focus:ring-[#3c3c3c]",children:[o("span",{children:e.icon}),o("span",{children:e.label})]},i))})]}),D&&o(S,{activeEditor:t,onClose:()=>{M(!1)},isOpen:D})]})})}export{Ge as a};
|
package/dist/chunk-VZBIMHCR.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{b as r}from"./chunk-ZUA4KNIR.mjs";import{a as g}from"./chunk-EGEO3FNE.mjs";import{a as n}from"./chunk-MDJREBVI.mjs";import{useState as b}from"react";import{ChevronLeft as x,ChevronRight as N}from"lucide-react";import{jsx as t,jsxs as s}from"react/jsx-runtime";function O({currentDate:a,setCurrentDate:d,holidays:m}){let[i,w]=b(null);console.log("holidaysIds",m.map(e=>e.id));let v=(new Date(a.getFullYear(),a.getMonth(),1).getDay()+6)%7,c=Array.from({length:42},(e,o)=>{let l=new Date(a.getFullYear(),a.getMonth(),o-v+1,a.getHours()),y=m.filter(p=>g.toUtcMidnight(new Date(p.startDate))<=l&&g.toUtcMidnight(new Date(p.endDate))>=l);return{date:l,isCurrentMonth:l.getMonth()===a.getMonth(),isToday:l.toDateString()===new Date().toDateString(),holidays:y}}),h=()=>{d(new Date(a.getFullYear(),a.getMonth()-1,1))},f=()=>{d(new Date(a.getFullYear(),a.getMonth()+1,1))},u=()=>{d(new Date)};return s("div",{className:"lg:flex lg:h-full lg:flex-col",children:[s("header",{className:"flex items-center justify-between border-b border-gray-200 px-6 py-4 lg:flex-none",children:[t("h1",{className:"text-base font-semibold text-foreground",children:t("time",{dateTime:a.toISOString(),children:a.toLocaleString("default",{month:"long",year:"numeric"})})}),t("div",{className:"flex items-center",children:s("div",{className:"relative flex items-center rounded-md gap-1 md:items-stretch",children:[s(r,{onClick:h,variant:"outline",size:"icon",className:"rounded-l-md border-accent hover:text-accent",children:[t("span",{className:"sr-only",children:"Previous month"}),t(x,{className:"h-5 w-5","aria-hidden":"true"})]}),t(r,{variant:"outline",onClick:u,className:"hidden border-l border-r border-accent px-3.5 text-sm font-semibold text-accent hover:bg-gray-50 focus:relative md:block",children:"Today"}),s(r,{onClick:f,variant:"outline",size:"icon",className:"rounded-r-md border-accent hover:text-accent",children:[t("span",{className:"sr-only",children:"Next month"}),t(N,{className:"h-5 w-5","aria-hidden":"true"})]})]})})]}),s("div",{className:"shadow ring-1 ring-black ring-opacity-5 lg:flex lg:flex-auto lg:flex-col",children:[s("div",{className:"grid grid-cols-7 gap-px border-b border-gray-300 bg-gray-200 text-center text-xs font-semibold leading-6 text-gray-700 lg:flex-none",children:[s("div",{className:"bg-white py-2",children:["M",t("span",{className:"sr-only sm:not-sr-only",children:"on"})]}),s("div",{className:"bg-white py-2",children:["T",t("span",{className:"sr-only sm:not-sr-only",children:"ue"})]}),s("div",{className:"bg-white py-2",children:["W",t("span",{className:"sr-only sm:not-sr-only",children:"ed"})]}),s("div",{className:"bg-white py-2",children:["T",t("span",{className:"sr-only sm:not-sr-only",children:"hu"})]}),s("div",{className:"bg-white py-2",children:["F",t("span",{className:"sr-only sm:not-sr-only",children:"ri"})]}),s("div",{className:"bg-white py-2",children:["S",t("span",{className:"sr-only sm:not-sr-only",children:"at"})]}),s("div",{className:"bg-white py-2",children:["S",t("span",{className:"sr-only sm:not-sr-only",children:"un"})]})]}),s("div",{className:"flex bg-gray-200 text-xs leading-6 text-gray-700 lg:flex-auto overflow-visible",children:[t("div",{className:"hidden w-full lg:grid lg:grid-cols-7 lg:grid-rows-6 lg:gap-px overflow-visible",children:c.map(e=>s("div",{className:n(e.isCurrentMonth?"bg-white":"bg-gray-50 text-gray-500","relative px-3 py-2 overflow-visible"),children:[t("time",{dateTime:e.date.toISOString(),className:n("flex h-6 w-6 items-center justify-center rounded-full",e.isToday&&"bg-indigo-600 font-semibold text-white"),children:e.date.getDate()}),e.holidays.length>0&&t("ol",{className:"mt-2 space-y-1 overflow-visible",children:e.holidays.map(o=>t("li",{className:"overflow-visible",children:t("div",{className:`text-xs px-1 py-0.5 rounded ${o.status==="approved"?"border-green-500":"border-gray-500"} border overflow-visible`,children:o.userName})},o.id))})]},e.date.toISOString()))}),t("div",{className:"isolate grid w-full grid-cols-7 grid-rows-6 gap-px lg:hidden",children:c.map(e=>s("button",{type:"button",className:n(e.isCurrentMonth?"bg-white":"bg-gray-50",(e.date===i||e.isToday)&&"font-semibold",e.date===i&&"text-white",!e.date&&e.isToday&&"text-indigo-600",e.date!==i&&e.isCurrentMonth&&!e.isToday&&"text-gray-900",e.date!==i&&!e.isCurrentMonth&&!e.isToday&&"text-gray-500","flex h-14 flex-col px-3 py-2 hover:bg-gray-100 focus:z-10"),children:[t("time",{dateTime:e.date.toISOString(),className:n("ml-auto",e.date===i&&e.isToday&&"flex h-6 w-6 items-center justify-center rounded-full bg-indigo-600",e.date===i&&!e.isToday&&"flex h-6 w-6 items-center justify-center rounded-full bg-gray-900"),children:e.date.getDate()}),s("span",{className:"sr-only",children:[e.holidays.length," holidays"]}),e.holidays.length>0&&t("span",{className:"-mx-0.5 mt-auto flex flex-wrap-reverse",children:e.holidays.map(o=>t("span",{className:`mx-0.5 mb-1 h-1.5 w-1.5 rounded-full ${o.status==="approved"?"bg-green-500":"bg-gray-500"}`},o.id))})]},e.date.toISOString()))})]})]})]})}export{O as a};
|
package/dist/chunk-YLEBXRJS.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as u}from"./chunk-I6XKBCH4.mjs";import{a as f}from"./chunk-U2OXF7PJ.mjs";import{a as p}from"./chunk-RIZ2ODJL.mjs";import{b as c}from"./chunk-ZUA4KNIR.mjs";import{useEffect as A,useState as l}from"react";import{Loader2 as k}from"lucide-react";import{Fragment as T,jsx as e,jsxs as d}from"react/jsx-runtime";function O({documents:x=[],contexts:t=[],onDocumentClick:g=o=>console.log("Document clicked:",o),onDocumentShare:w=o=>console.log("Share document:",o),onLoadDocumentContent:I,selectedDocumentId:v,onAddKnowledge:m,onAddTeamContext:a,onDocumentUpdate:b}){let[o,s]=l(t[0]),[C,r]=l(!1),[K,i]=l(!1),[h,y]=l(!1);A(()=>{!o&&t&&t.length>0&&s(t[0])},[t]);let N=n=>{m&&(y(!0),m(n)),r(!1)},D=n=>{a&&a(n),i(!1)};return d("div",{className:"flex flex-col h-full",children:[d("div",{className:"px-2 md:px-4 py-4 flex-shrink-0",children:[h&&d("div",{className:"absolute inset-0 bg-background/90 z-[9999] flex flex-col items-center justify-center gap-4",children:[e(k,{className:"h-8 w-8 animate-spin text-primary"}),e("p",{className:"font-semibold text-lg",children:"Initializing document..."})]}),t&&t.length>0&&d("div",{className:"",children:[e("div",{className:"",children:d("nav",{className:"-mb-px flex justify-between items-center",children:[e("div",{className:"flex space-x-8 overflow-x-auto",children:t.map(n=>d("button",{onClick:()=>s(n),className:`group inline-flex items-center gap-2 py-3 px-1 border-b-2 font-medium text-sm whitespace-nowrap transition-colors ${o?.id===n.id?"border-primary text-primary":"border-transparent text-muted-foreground hover:text-foreground hover:border-muted-foreground"}`,children:[n.icon,n.label]},n.id))}),d("div",{className:"flex items-center gap-2 flex-shrink-0",children:[e("button",{onClick:()=>r(!0),className:"inline-flex border border-primary rounded-xl items-center py-2 px-3 text-sm font-medium text-primary hover:text-primary/80 transition-colors whitespace-nowrap",children:"Add Knowledge"}),e("button",{onClick:()=>i(!0),className:"inline-flex border border-primary rounded-xl items-center gap-2 py-2 px-3 text-sm font-medium text-primary hover:text-primary/80 transition-colors whitespace-nowrap",children:"Add Context"})]})]})}),o?.description&&e("div",{className:"mt-3 px-1",children:e("p",{className:"text-sm text-primary",children:o?.description})})]})]}),o?e("div",{className:"flex-1 min-h-0 px-2 md:px-4 pb-4",children:e("div",{className:"h-full rounded-xl border overflow-hidden",children:e(p,{documents:x,menuConfig:o?.menuConfig,onDocumentClick:g,onDocumentShare:w,selectedDocumentId:v,onDocumentUpdate:b})})}):d("div",{children:[e("div",{className:"flex-1 min-h-0 px-2 md:px-4 pb-4 flex items-center justify-center",children:e("p",{className:"text-muted-foreground",children:"No contexts available"})}),e("div",{className:"flex-1 min-h-0 px-2 md:px-4 pb-4 flex items-center justify-center",children:e(c,{onClick:()=>i(!0),children:"Add Context"})})]}),d(T,{children:[e(f,{isOpen:K,onClose:()=>i(!1),onAddTeamContext:D}),e(u,{isOpen:C,onClose:()=>r(!1),onAddKnowledge:N,knowledgeContexts:t})]})]})}export{O as a};
|