@runeya/runeya 2.0.127 → 2.0.128
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/agent/index.js +7 -0
- package/agent/index.js.map +1 -1
- package/{agent-manager-FN6M6CLD.js → agent-manager-VFUO7WQG.js} +3 -3
- package/{chat-VCHK77CW.js → chat-GB2UJ5KB.js} +6 -6
- package/{chunk-TTPL2M74.js → chunk-DTWP3CFL.js} +8 -1
- package/chunk-DTWP3CFL.js.map +1 -0
- package/{chunk-QPII36FL.js → chunk-KNAM5H2Z.js} +2 -2
- package/{chunk-WQWRTPPJ.js → chunk-KQ462M3Y.js} +2 -2
- package/{chunk-UKLNK5YA.js → chunk-X2PJIJU7.js} +6 -6
- package/{chunk-LHVTBWM7.js → chunk-ZGEV53KH.js} +7 -7
- package/{companion-YB3SDDTU.js → companion-XBCHHK4Z.js} +4 -4
- package/{desktop-launcher-J2BCSSGZ.js → desktop-launcher-SLNYXW22.js} +2 -2
- package/index.js +4 -4
- package/mcp-server/index.js +7 -0
- package/mcp-server/index.js.map +1 -1
- package/package.json +1 -1
- package/{settings-manager-4EDX7NIB.js → settings-manager-YGIIRWVY.js} +3 -3
- package/{src-J3RBNMRJ.js → src-WK5KI3IO.js} +7 -7
- package/web/assets/AgentScalarChatInterface.vue-B0YVVvvN.js +13 -0
- package/web/assets/AgentTerminalPage-25hg27t9.js +1 -0
- package/web/assets/AiChatPage-C34J4RQh.js +1 -0
- package/web/assets/AppLayout-Cq7es4tN.js +1 -0
- package/web/assets/{AppLayout-Do2CLgOr.css → AppLayout-lOwRflWA.css} +1 -1
- package/web/assets/AuditPage-Ctf0zyMz.js +1 -0
- package/web/assets/CloudAccountPage-CH5UJiew.js +1 -0
- package/web/assets/CloudAccountPage-DUCeHm0n.js +1 -0
- package/web/assets/CloudMessagingPage-iGdZy0rP.js +2 -0
- package/web/assets/DashboardPage-DCMfg5Vz.js +164 -0
- package/web/assets/{DashboardPage-DWA-1xgl.css → DashboardPage-DRZGWuU1.css} +1 -1
- package/web/assets/DirectoryPickerDialog-BlFmkPJx.js +1 -0
- package/web/assets/DirectoryPickerDialog-Ctp1lYoS.css +1 -0
- package/web/assets/{EditorIcon-lzF8hPtZ.js → EditorIcon-BvkHge0W.js} +2 -2
- package/web/assets/{EnvironmentForm-DVWdFsE1.js → EnvironmentForm-DtgwWpcp.js} +2 -2
- package/web/assets/EnvironmentFormPage-Y33vtDkS.js +1 -0
- package/web/assets/EnvironmentListPage-Dwv_amSf.js +1 -0
- package/web/assets/KanbanBoardPage-BYIWTYy2.js +4 -0
- package/web/assets/KanbanListPage-C_zN70Af.css +1 -0
- package/web/assets/KanbanListPage-CtnTArkW.js +1 -0
- package/web/assets/LaunchProjectPage-BGtCnkQf.js +1 -0
- package/web/assets/LaunchProjectPage-CHeYx5v0.css +1 -0
- package/web/assets/LaunchServicesPage-QDcpXeHP.js +1 -0
- package/web/assets/LogViewer-5fy2mcac.js +3 -0
- package/web/assets/OrgKeyPrompt-CRf1ZPik.js +1 -0
- package/web/assets/OrgKeyPrompt-CrHXZdKL.css +1 -0
- package/web/assets/OrgLogo-D9q7M1ZF.js +1 -0
- package/web/assets/{ProcessControls-DkaiMo0H.js → ProcessControls-B5dlAAdP.js} +1 -1
- package/web/assets/ProcessDetailPage-TwjrHkz3.js +1 -0
- package/web/assets/{ProcessMetrics-D2lP9cEF.js → ProcessMetrics-UeyyEwTI.js} +2 -2
- package/web/assets/RandomJobTestPage-DcIJekvc.js +2 -0
- package/web/assets/ScenarioEditorPage-midPg1W3.js +14 -0
- package/web/assets/SendToChatDialog-DakT4QK8.js +1 -0
- package/web/assets/ServiceControlsBar-HsErHmCH.js +1 -0
- package/web/assets/ServiceDetailPage-FJBxkdMy.js +2 -0
- package/web/assets/ServiceFormPage-DHjdAmr3.js +1 -0
- package/web/assets/SettingsPage-CONd8aJV.js +2063 -0
- package/web/assets/UnlockPage-CyZyhxYj.js +1 -0
- package/web/assets/VaultMigrationPage-B2WI7Dzf.js +1 -0
- package/web/assets/VersionBadge-D3kiloE4.js +1 -0
- package/web/assets/WikiPage-DE2tV5jr.js +1 -0
- package/web/assets/WikiView-DnWD_aWz.js +1 -0
- package/web/assets/{add-scalar-classes-C1s53GSo.js → add-scalar-classes-BBBoFX1O.js} +28 -28
- package/web/assets/{autocomplete-qVwP27uM.js → autocomplete-CR_eCGsI.js} +3 -3
- package/web/assets/{basic-shape-diamond.svg-BwZ1Enqo.js → basic-shape-diamond.svg-DRRq7MrY.js} +1 -1
- package/web/assets/{basic-shape-hexagon.svg-Cyko19l-.js → basic-shape-hexagon.svg-CGSaE9pB.js} +1 -1
- package/web/assets/{basic-shape-primary-circle-ellipse-round.svg-CWaxr-XS.js → basic-shape-primary-circle-ellipse-round.svg-DIXa0_Cu.js} +1 -1
- package/web/assets/{basic-shape-primary-square-rectangle.svg-BueTJIhO.js → basic-shape-primary-square-rectangle.svg-iZ2jJ4vs.js} +1 -1
- package/web/assets/{basic-shape-shield.svg-DiYXMUMt.js → basic-shape-shield.svg-udMt4tB9.js} +1 -1
- package/web/assets/{browser-72mztbYe.js → browser-BL1DKhyA.js} +1 -1
- package/web/assets/{browser-B8wHMk1o.js → browser-Ca9fTyQX.js} +1 -1
- package/web/assets/card-BQ1OXNVV.js +32 -0
- package/web/assets/{checkbox-BiDvmfqK.js → checkbox-CyVRoo_U.js} +3 -3
- package/web/assets/{chip-Cb6eK00K.js → chip-CppGpxiK.js} +2 -2
- package/web/assets/client-CUWGHmly.js +24 -0
- package/web/assets/cloud-chat.store-BKPvf-qg.js +1 -0
- package/web/assets/cloud-client-CBVMvTSV.js +1 -0
- package/web/assets/cloud-session-CwER2D6K.js +1 -0
- package/web/assets/{cloud-session-CIGp7324.js → cloud-session-DiJ37iee.js} +2 -2
- package/web/assets/column-BYul0pb1.js +763 -0
- package/web/assets/{computer-device-desktop-monitor.svg-DkL4R6oe.js → computer-device-desktop-monitor.svg--DYwduR2.js} +1 -1
- package/web/assets/{computer-device-desktop.svg-DXRQ2Wl4.js → computer-device-desktop.svg-BBgMbw17.js} +1 -1
- package/web/assets/{computer-device-laptop.svg-BwdMHvul.js → computer-device-laptop.svg-BKpaOUrY.js} +1 -1
- package/web/assets/{computer-device-mobile-phone-android-samsung-back.svg-CzfVICvS.js → computer-device-mobile-phone-android-samsung-back.svg-B59atDnV.js} +1 -1
- package/web/assets/{computer-device-mobile-phone-android-samsung.svg-5mcZzPvQ.js → computer-device-mobile-phone-android-samsung.svg-PrtfIbO2.js} +1 -1
- package/web/assets/{computer-device-mobile-phone-iphone-x-back.svg-CovJE-GH.js → computer-device-mobile-phone-iphone-x-back.svg-CxeWs20w.js} +1 -1
- package/web/assets/{computer-device-mobile-phone-iphone-x.svg-PgDuCiQq.js → computer-device-mobile-phone-iphone-x.svg-jqLPWrzA.js} +1 -1
- package/web/assets/{computer-device-mobile-tablet-touch.svg-1xFu6tBt.js → computer-device-mobile-tablet-touch.svg-R-OkYXde.js} +1 -1
- package/web/assets/{computer-device-mobile-tablet.svg-lvKpoZnh.js → computer-device-mobile-tablet.svg-BjISjapY.js} +1 -1
- package/web/assets/{computer-device-network-ethernet-cat6.svg-BJ6jNe-4.js → computer-device-network-ethernet-cat6.svg-BXgIO_p5.js} +1 -1
- package/web/assets/{computer-device-network-lan-www.svg-D2V9EO5w.js → computer-device-network-lan-www.svg-B6YGwdqj.js} +1 -1
- package/web/assets/{computer-device-network-wifi-connection.svg-DhFLYNK0.js → computer-device-network-wifi-connection.svg-CP2V_sTN.js} +1 -1
- package/web/assets/{computer-device-network-wifi-router.svg-BGWV2N2B.js → computer-device-network-wifi-router.svg-DRsjg9_P.js} +1 -1
- package/web/assets/{cssMode-Q_UQl6r1.js → cssMode-MoKLv7g0.js} +1 -1
- package/web/assets/{divider-D2zmU0b9.js → divider-tTW01I5w.js} +2 -2
- package/web/assets/{docx-preview-CAEo0pZg.js → docx-preview-unHjZcAR.js} +1 -1
- package/web/assets/{ecology-science-erlenmeyer-flask.svg-D4Cb7DOj.js → ecology-science-erlenmeyer-flask.svg-ClOlLMOd.js} +1 -1
- package/web/assets/{fieldset-CvPPXvgb.js → fieldset-COorWSfN.js} +2 -2
- package/web/assets/{freemarker2-CCRi9jHA.js → freemarker2-BOt0hq03.js} +1 -1
- package/web/assets/{handlebars-4FU6Ze_N.js → handlebars-D8wEDhEz.js} +1 -1
- package/web/assets/{html-1I40tTPC.js → html-Cd-HuUzd.js} +1 -1
- package/web/assets/{htmlMode-DQrNrxvx.js → htmlMode-CEdFeFHz.js} +1 -1
- package/web/assets/{image-flash-lightning.svg-Bh48o-tL.js → image-flash-lightning.svg-Cov9ygOk.js} +1 -1
- package/web/assets/{image-picture-flower.svg-CE0C3oid.js → image-picture-flower.svg-BbDUnQoM.js} +1 -1
- package/web/assets/{index-SrQFBx_K.js → index-DuGh2zls.js} +349 -349
- package/web/assets/{interface-alert-exclamation-diamond.svg-Dzt9JrNZ.js → interface-alert-exclamation-diamond.svg-BRhZ0m4M.js} +1 -1
- package/web/assets/{interface-alert-exclamation-triangle-warning.svg-CET5JCIK.js → interface-alert-exclamation-triangle-warning.svg-Bu9LvX_T.js} +1 -1
- package/web/assets/{interface-alert-information-circle.svg-GX_R0hCS.js → interface-alert-information-circle.svg-CwNRvmjJ.js} +1 -1
- package/web/assets/{interface-award-crown.svg-BUS_3snr.js → interface-award-crown.svg-E1NdS8hg.js} +1 -1
- package/web/assets/{interface-bookmark.svg-B1HfpZ9v.js → interface-bookmark-tag.svg-Ds__lzjn.js} +1 -1
- package/web/assets/{interface-bookmark-tag.svg-GOtO3ous.js → interface-bookmark.svg-CL6rgPqK.js} +1 -1
- package/web/assets/{interface-calendar-date-one.svg-W8G2NQFL.js → interface-calendar-date-one.svg-tmYumlI7.js} +1 -1
- package/web/assets/{interface-content-book-open-pages.svg-0dUMuEJV.js → interface-content-book-open-pages.svg-DYpnsEkk.js} +1 -1
- package/web/assets/{interface-content-book-page.svg-BZ9dLtQQ.js → interface-content-book-page.svg-CBap0-V8.js} +1 -1
- package/web/assets/{interface-content-file.svg-C5JU1QaC.js → interface-content-file.svg-BlgJPbn0.js} +1 -1
- package/web/assets/{interface-content-folder.svg-DeWnODx9.js → interface-content-folder.svg-BeIbFS1R.js} +1 -1
- package/web/assets/interface-content-folder.svg-CA903hwo.js +1 -0
- package/web/assets/{interface-copy-clipboard.svg-DneOONZN.js → interface-copy-clipboard.svg-DLEIk_9i.js} +1 -1
- package/web/assets/{interface-edit-attachment.svg-BUDutqFa.js → interface-edit-attachment.svg-CexUURep.js} +1 -1
- package/web/assets/{interface-edit-binocular.svg-DQ_sVWUa.js → interface-edit-binocular.svg-Bcp0m6XR.js} +1 -1
- package/web/assets/{interface-edit-magic-wand.svg-BqDEUbja.js → interface-edit-magic-wand.svg--lUaWOkl.js} +1 -1
- package/web/assets/{interface-edit-tool-paint-roller.svg-CcbJr-sE.js → interface-edit-tool-paint-roller.svg-CJI14pct.js} +1 -1
- package/web/assets/{interface-edit-tool-pencil.svg-Dlmq9sMb.js → interface-edit-tool-pencil.svg-CokeKrld.js} +1 -1
- package/web/assets/{interface-favorite-award.svg-CfRf16yB.js → interface-favorite-award.svg-Dj9jP_IB.js} +1 -1
- package/web/assets/{interface-favorite-flag.svg-BeXa9l_o.js → interface-favorite-flag.svg-DbctAxtG.js} +1 -1
- package/web/assets/{interface-favorite-heart.svg-DWDXtfc-.js → interface-favorite-heart.svg-Yhn6VUZb.js} +1 -1
- package/web/assets/{interface-favorite-star.svg-D0my2O2z.js → interface-favorite-star.svg-C4RblO3r.js} +1 -1
- package/web/assets/{interface-favorite-stars-sparkles.svg-DwnkpORM.js → interface-favorite-stars-sparkles.svg-D86ge-kp.js} +1 -1
- package/web/assets/{interface-hierarchy-flowchart.svg-BS1qAEvQ.js → interface-hierarchy-flowchart.svg-4vpVa0LC.js} +1 -1
- package/web/assets/{interface-home-house.svg-ByCGOgtp.js → interface-home-house.svg-CKqrr_vH.js} +1 -1
- package/web/assets/{interface-hyperlink.svg-D0RP2diO.js → interface-hyperlink.svg-BziyYL-h.js} +1 -1
- package/web/assets/{interface-lighting-brightness.svg-B7Wir9fI.js → interface-lighting-brightness.svg-DLhkAeot.js} +1 -1
- package/web/assets/{interface-lock-closed.svg-D93wzWGY.js → interface-lock-closed.svg-BqMSDpjQ.js} +1 -1
- package/web/assets/{interface-lock-open-unlock.svg-CEbreK15.js → interface-lock-open-unlock.svg-B0anVo0z.js} +1 -1
- package/web/assets/{interface-login-key.svg-a_CUiiRx.js → interface-login-key.svg-CksFuOna.js} +1 -1
- package/web/assets/{interface-search.svg-CP6bN80a.js → interface-search.svg-BKOu9tUw.js} +1 -1
- package/web/assets/{interface-setting-cog.svg-C1yqB1H3.js → interface-setting-cog.svg-D_3dXTZ-.js} +1 -1
- package/web/assets/{interface-share-megaphone-bullhorn.svg-BpEzN7dc.js → interface-share-megaphone-bullhorn.svg-Dn4gF0hH.js} +1 -1
- package/web/assets/{interface-share-rocket.svg-CZTpH2do.js → interface-share-rocket.svg-cm2iZyhA.js} +1 -1
- package/web/assets/{interface-share-satellite.svg-CDpvXyTq.js → interface-share-satellite.svg-CGcTcWwZ.js} +1 -1
- package/web/assets/{interface-share-space-ship.svg-QXv4WQWa.js → interface-share-space-ship.svg-DZVVyCQA.js} +1 -1
- package/web/assets/{interface-share.svg-DO9f8_w3.js → interface-share.svg-CmI-JZ5u.js} +1 -1
- package/web/assets/{interface-signal-square.svg-Dpbb94dT.js → interface-signal-square.svg-B5YnBkid.js} +1 -1
- package/web/assets/{interface-time-clock-circle.svg-BOM8J4p-.js → interface-time-clock-circle.svg-LEl6S2p_.js} +1 -1
- package/web/assets/{interface-time-hour-glass.svg-B4wmuGrS.js → interface-time-hour-glass.svg-SRS0fEgq.js} +1 -1
- package/web/assets/{interface-users-multiple.svg-CX6Z1IAw.js → interface-users-multiple.svg-BrzA58gN.js} +1 -1
- package/web/assets/{interface-weather-moon.svg-VjaROepI.js → interface-weather-moon.svg-Dcj5tIZe.js} +1 -1
- package/web/assets/{javascript-dnJjMqJl.js → javascript-BW4o2_xP.js} +1 -1
- package/web/assets/{jsonMode-DIklAZzl.js → jsonMode-BNu5tj2Z.js} +2 -2
- package/web/assets/{liquid-DM3-T0fg.js → liquid-DhgTTELV.js} +1 -1
- package/web/assets/{lspLanguageFeatures-DtduOI48.js → lspLanguageFeatures-Cb2BAAKm.js} +3 -3
- package/web/assets/{mail-chat-bubble-square.svg-BtQmLgyl.js → mail-chat-bubble-square.svg-CqruhAnJ.js} +1 -1
- package/web/assets/{mail-send-email-paper-airplane.svg-DBzfHbzK.js → mail-send-email-paper-airplane.svg-tWiaK3cO.js} +1 -1
- package/web/assets/{mail-send-envelope.svg-ByoaJJai.js → mail-send-envelope.svg-CqrtM0XJ.js} +1 -1
- package/web/assets/{mdx-COmjqkAf.js → mdx-Bp8ONtDZ.js} +1 -1
- package/web/assets/{minus-CLTSMcUf.js → minus-DuN34HOQ.js} +2 -2
- package/web/assets/modal-B0sbJ1aj.js +1 -0
- package/web/assets/modal-BG9tDOui.js +5 -0
- package/web/assets/{money-cashier-receipt.svg-D3I5UkrO.js → money-cashier-receipt.svg-CZ_Q0Q4o.js} +1 -1
- package/web/assets/{money-currency-dollar-pay.svg-BEt_zoFT.js → money-currency-dollar-pay.svg-DX3XI8z3.js} +1 -1
- package/web/assets/{money-graph-arrow-increase.svg-BFgo8Syp.js → money-graph-arrow-increase.svg-yfLkQUyA.js} +1 -1
- package/web/assets/{money-graph-bar-chart-increase.svg-BPBRyqtM.js → money-graph-bar-chart-increase.svg-BMZJcFWk.js} +1 -1
- package/web/assets/multiselect-Bc92p6F4.js +251 -0
- package/web/assets/{nature-ecology-leaf.svg-DCIaflet.js → nature-ecology-leaf.svg-DxbzYJY4.js} +1 -1
- package/web/assets/{password-kxqyN9bC.js → password-DFZGcIGP.js} +4 -4
- package/web/assets/{phone-telephone.svg-_P3X_Fym.js → phone-telephone.svg-DRXuirGY.js} +1 -1
- package/web/assets/{plus-Cs39ICwL.js → plus-DxhL7qLp.js} +6 -6
- package/web/assets/process.store-C8_fnIq8.js +1 -0
- package/web/assets/{programming-bug.svg-BGbIcZnS.js → programming-bug.svg-DLJ1_rax.js} +1 -1
- package/web/assets/{programming-cloud.svg-8TyU38aV.js → programming-cloud.svg-D3IiMlPE.js} +1 -1
- package/web/assets/{programming-computer-database-server.svg-DBxTrFCn.js → programming-computer-database-server.svg-Cg6_ED_k.js} +1 -1
- package/web/assets/{programming-computer-database.svg-Bi3RBUmB.js → programming-computer-database.svg-B6UWnlR4.js} +1 -1
- package/web/assets/{programming-module-four-layout.svg-BicMHalL.js → programming-module-four-layout.svg-B77nd1oh.js} +1 -1
- package/web/assets/{programming-module-three.svg-D13tfKhT.js → programming-module-three.svg-_s2kek9L.js} +1 -1
- package/web/assets/{programming-module.svg-HJDv8jeZ.js → programming-module.svg-CstGeUDE.js} +1 -1
- package/web/assets/{programming-script-code.svg-oXFzvCKr.js → programming-script-code.svg-B-lq_RAX.js} +1 -1
- package/web/assets/project-launch.store-QC8bDuyn.js +1 -0
- package/web/assets/project.store-l1aYnXxi.js +1 -0
- package/web/assets/{python-ejRXAr81.js → python-C9hs9gvr.js} +1 -1
- package/web/assets/{radiobutton-BWBirQno.js → radiobutton-CQFYp-dZ.js} +2 -2
- package/web/assets/{razor-CbzUoARP.js → razor-BbhaCtvg.js} +1 -1
- package/web/assets/router-BDTUFmtt.js +1 -0
- package/web/assets/settings-scope-B8h36UCK.js +1 -0
- package/web/assets/settings.store-Dvjzyya-.js +1 -0
- package/web/assets/{shopping-cart.svg-DL2Mf0BX.js → shopping-cart.svg-C-WSRLiX.js} +1 -1
- package/web/assets/{shopping-gift-present.svg-keqzudV3.js → shopping-gift-present.svg-Dh47_KD3.js} +1 -1
- package/web/assets/{shopping-shipping-box-parcel-package.svg-BZ0Ri9AV.js → shopping-shipping-box-parcel-package.svg-BTvEyPW5.js} +1 -1
- package/web/assets/src-4vjUWqdr.js +572 -0
- package/web/assets/src-BeueTtBP.js +1 -0
- package/web/assets/src-D0YRjz1F.css +1 -0
- package/web/assets/{tabpanel-Bdw_XASI.js → tabpanel-B4bmmOWW.js} +3 -3
- package/web/assets/{tag-new-circle.svg-7tUBDDe7.js → tag-new-circle.svg--CymwbQA.js} +1 -1
- package/web/assets/theme-DqQhDGPs.js +1 -0
- package/web/assets/{toggleswitch-BhJmSx1t.js → toggleswitch-j4QSxoFG.js} +2 -2
- package/web/assets/{travel-map-earth-globe.svg-CfJb5_3k.js → travel-map-earth-globe.svg-DNOAckKS.js} +1 -1
- package/web/assets/trpc-CN8Zl82m.js +1 -0
- package/web/assets/{tsMode-D5Gulgwd.js → tsMode-D--LrAcs.js} +6 -6
- package/web/assets/{typescript-B73-3GtI.js → typescript-zukD_IUF.js} +1 -1
- package/web/assets/useAiChatDrawer-YShY7nZu.js +1 -0
- package/web/assets/{useCloudOrg-BZNmQ2Ek.js → useCloudOrg-Bd83ZcEV.js} +1 -1
- package/web/assets/useEnvVarAutocomplete-BcVa9mel.js +1 -0
- package/web/assets/useProjectCatalog-CnGHIrnh.js +1 -0
- package/web/assets/{useProjectCloudOrg-Bkja4sed.js → useProjectCloudOrg-DL8Wyd1i.js} +1 -1
- package/web/assets/useServiceUrlHost-DIEqEQRR.js +1 -0
- package/web/assets/{xml-Mkua9fdo.js → xml-BByACKzS.js} +1 -1
- package/web/assets/{yaml-BP9pkdmT.js → yaml-CqWwUUQq.js} +1 -1
- package/web/index.html +1 -1
- package/chunk-TTPL2M74.js.map +0 -1
- package/web/assets/AgentScalarChatInterface.vue-86061Tlh.js +0 -13
- package/web/assets/AgentTerminalPage-DxGLu5uT.js +0 -1
- package/web/assets/AiChatPage-DmQKv6pr.js +0 -1
- package/web/assets/AppLayout-DtK_nr-e.js +0 -1
- package/web/assets/AuditPage-CX5VJGlF.js +0 -1
- package/web/assets/CloudAccountPage-B_sjXlfl.js +0 -1
- package/web/assets/CloudAccountPage-ocHdrVEm.js +0 -1
- package/web/assets/CloudMessagingPage-BTfGWio6.js +0 -2
- package/web/assets/DashboardPage-7sATlyhd.js +0 -164
- package/web/assets/DirectoryPickerDialog-BbYn-Yjo.css +0 -1
- package/web/assets/DirectoryPickerDialog-DAJGNiRV.js +0 -1
- package/web/assets/EnvironmentFormPage-DoKBTKCU.js +0 -1
- package/web/assets/EnvironmentListPage-C9wGFZWU.js +0 -1
- package/web/assets/KanbanBoardPage-CoiDga7h.js +0 -4
- package/web/assets/KanbanListPage-Dl-FpuPX.css +0 -1
- package/web/assets/KanbanListPage-xWYUu1P0.js +0 -1
- package/web/assets/LaunchProjectPage-BHLH3peH.css +0 -1
- package/web/assets/LaunchProjectPage-DVXgnUYk.js +0 -1
- package/web/assets/LaunchServicesPage-DM6keva3.js +0 -1
- package/web/assets/LogViewer-CMtuP1rB.js +0 -3
- package/web/assets/OrgKeyPrompt-BqVugrV1.js +0 -1
- package/web/assets/OrgKeyPrompt-C8UJPkdT.css +0 -1
- package/web/assets/ProcessDetailPage-DJacy1ZE.js +0 -1
- package/web/assets/RandomJobTestPage-BOsChnPH.js +0 -2
- package/web/assets/ScenarioEditorPage-8XSWtwA5.js +0 -14
- package/web/assets/SendToChatDialog-DqPVoUgN.js +0 -1
- package/web/assets/ServiceControlsBar-QwLQLGFP.js +0 -1
- package/web/assets/ServiceDetailPage-DUw-ZZyD.js +0 -2
- package/web/assets/ServiceFormPage-OYBr0pY4.js +0 -1
- package/web/assets/SettingsPage-BFoWbWhq.js +0 -2063
- package/web/assets/UnlockPage-DgLCLMkg.js +0 -1
- package/web/assets/VaultMigrationPage-C93bZgWb.js +0 -1
- package/web/assets/VersionBadge-2JJyjyFh.js +0 -1
- package/web/assets/WikiPage-DBinkJlt.js +0 -1
- package/web/assets/WikiView-DMyRUz16.js +0 -1
- package/web/assets/card-CRMlmWrt.js +0 -32
- package/web/assets/client-3Q_o9QCm.js +0 -24
- package/web/assets/cloud-chat.store-DIxQd2ew.js +0 -1
- package/web/assets/cloud-client-Idzdbhu6.js +0 -1
- package/web/assets/cloud-session-Cj_Q0hKS.js +0 -1
- package/web/assets/column-4DnT4nYp.js +0 -763
- package/web/assets/interface-content-folder.svg-BZAP22kT.js +0 -1
- package/web/assets/modal-BaVGcm8s.js +0 -1
- package/web/assets/modal-Cl434j6P.js +0 -5
- package/web/assets/multiselect-Bd1n3-4t.js +0 -251
- package/web/assets/process.store-m5afcW9w.js +0 -1
- package/web/assets/project-launch.store-Cgu622KX.js +0 -1
- package/web/assets/project.store-CM-kT9-z.js +0 -1
- package/web/assets/router-o5ycRaEE.js +0 -1
- package/web/assets/settings-scope-CSLK3J2k.js +0 -1
- package/web/assets/settings.store-DDQmm1ig.js +0 -1
- package/web/assets/src-C1fYy9Ht.js +0 -572
- package/web/assets/src-DU1mBjF-.css +0 -1
- package/web/assets/src-DnhPQBBB.js +0 -1
- package/web/assets/theme-COzp71lh.js +0 -1
- package/web/assets/trpc-Bn_6G8HK.js +0 -1
- package/web/assets/useAiChatDrawer-QOflawaX.js +0 -1
- package/web/assets/useEnvVarAutocomplete-DAxcV0jl.js +0 -1
- package/web/assets/useProjectCatalog-8u5wFtf-.js +0 -1
- package/web/assets/useServiceUrlHost-biHEzQVv.js +0 -1
- /package/{agent-manager-FN6M6CLD.js.map → agent-manager-VFUO7WQG.js.map} +0 -0
- /package/{chat-VCHK77CW.js.map → chat-GB2UJ5KB.js.map} +0 -0
- /package/{chunk-QPII36FL.js.map → chunk-KNAM5H2Z.js.map} +0 -0
- /package/{chunk-WQWRTPPJ.js.map → chunk-KQ462M3Y.js.map} +0 -0
- /package/{chunk-UKLNK5YA.js.map → chunk-X2PJIJU7.js.map} +0 -0
- /package/{chunk-LHVTBWM7.js.map → chunk-ZGEV53KH.js.map} +0 -0
- /package/{companion-YB3SDDTU.js.map → companion-XBCHHK4Z.js.map} +0 -0
- /package/{desktop-launcher-J2BCSSGZ.js.map → desktop-launcher-SLNYXW22.js.map} +0 -0
- /package/{settings-manager-4EDX7NIB.js.map → settings-manager-YGIIRWVY.js.map} +0 -0
- /package/{src-J3RBNMRJ.js.map → src-WK5KI3IO.js.map} +0 -0
- /package/web/assets/{useProjectCatalog-BCeAlQjB.css → OrgLogo-BCeAlQjB.css} +0 -0
- /package/web/assets/{abap-cDlgWO6H.js → abap-B8g_2xYy.js} +0 -0
- /package/web/assets/{apex-DxzSGotK.js → apex-Bm8w4T5A.js} +0 -0
- /package/web/assets/{azcli-CUNfZLtQ.js → azcli-BqdUW6F8.js} +0 -0
- /package/web/assets/{bat-C-oKGifY.js → bat-Bngf0lQU.js} +0 -0
- /package/web/assets/{bicep-C4xTl9QV.js → bicep-DzO554JS.js} +0 -0
- /package/web/assets/{browser-CE5P0iHW.js → browser-BJX5ZrVN.js} +0 -0
- /package/web/assets/{cameligo-COpO1ZvP.js → cameligo-Bcy3ohdb.js} +0 -0
- /package/web/assets/{clojure-D8gp5eAN.js → clojure-CZbiqkDV.js} +0 -0
- /package/web/assets/{coffee-De9HMN-q.js → coffee-CDuhyV-7.js} +0 -0
- /package/web/assets/{cpp-C4pJyeKy.js → cpp-BklV8f4x.js} +0 -0
- /package/web/assets/{csharp-B4wLqqiU.js → csharp-BelR_XiC.js} +0 -0
- /package/web/assets/{csp-Do0Gg4qE.js → csp-DUjeBS2K.js} +0 -0
- /package/web/assets/{css-BLq1nXK0.js → css-CvbYbEko.js} +0 -0
- /package/web/assets/{cypher-CDQzi0TV.js → cypher-Dwrbk-SP.js} +0 -0
- /package/web/assets/{dart-bTPYn7bY.js → dart-BW1E5h9O.js} +0 -0
- /package/web/assets/{dockerfile-yM7ZnQpo.js → dockerfile-B41ilpF9.js} +0 -0
- /package/web/assets/{ecl-BgTpp_c4.js → ecl-BZE6Vxna.js} +0 -0
- /package/web/assets/{elixir-DO7wJ1ib.js → elixir-CtYg0bLh.js} +0 -0
- /package/web/assets/{flow9-B2Ko_py3.js → flow9-Sgvy48_I.js} +0 -0
- /package/web/assets/{fsharp-DNdx3wKW.js → fsharp-BzAfXfKg.js} +0 -0
- /package/web/assets/{go-D7LajbkE.js → go-D7oonABu.js} +0 -0
- /package/web/assets/{graphql-BCQSwUPo.js → graphql-BEN-qkl0.js} +0 -0
- /package/web/assets/{hcl-DR3uNUXT.js → hcl-CE0OhwCq.js} +0 -0
- /package/web/assets/{ini-zkzQPitL.js → ini-CCLtcvjA.js} +0 -0
- /package/web/assets/{java-YFwuCa4S.js → java-Bao8w_gp.js} +0 -0
- /package/web/assets/{julia-WWwv4jLR.js → julia-Dr0hFYrl.js} +0 -0
- /package/web/assets/{kotlin-FwlJkapy.js → kotlin-Cbfu8lcM.js} +0 -0
- /package/web/assets/{less-CyhHW1nH.js → less-BU4gEpXr.js} +0 -0
- /package/web/assets/{lexon-BScN_v1c.js → lexon-GpBGGdTS.js} +0 -0
- /package/web/assets/{lua-eWb9GpZJ.js → lua-DIPKk37y.js} +0 -0
- /package/web/assets/{m3-C4NDU793.js → m3-CSOypKGf.js} +0 -0
- /package/web/assets/{markdown-DWWpXAtL.js → markdown-VDqAgkyM.js} +0 -0
- /package/web/assets/{mips-BpJKGw00.js → mips-BJWI6dX7.js} +0 -0
- /package/web/assets/{msdax-BiuvyZwP.js → msdax-BLpuE5Dc.js} +0 -0
- /package/web/assets/{mysql-DJW9Aa9q.js → mysql-ZsxiEUoY.js} +0 -0
- /package/web/assets/{objective-c-YouNnWOW.js → objective-c-DcQa1iPc.js} +0 -0
- /package/web/assets/{pascal-jQsRnBre.js → pascal-u-hmXdyn.js} +0 -0
- /package/web/assets/{pascaligo-DZI84_dt.js → pascaligo-DqbP-1C6.js} +0 -0
- /package/web/assets/{perl-D9TKt-s6.js → perl-CUeQpRkH.js} +0 -0
- /package/web/assets/{pgsql-DXgI6ehC.js → pgsql-CQ7FhAFN.js} +0 -0
- /package/web/assets/{php-Cgqd4wfW.js → php-BEf_fu3E.js} +0 -0
- /package/web/assets/{pla-DRDkvVUU.js → pla-CXNNbT0w.js} +0 -0
- /package/web/assets/{postiats-BOLeCCau.js → postiats-CIXLZwPb.js} +0 -0
- /package/web/assets/{powerquery-DCDtPNBU.js → powerquery-DnGPASFA.js} +0 -0
- /package/web/assets/{powershell-WnZ4e5ia.js → powershell-1Y1kqIZS.js} +0 -0
- /package/web/assets/{protobuf-C9Dg-C9o.js → protobuf-Cfo9haoG.js} +0 -0
- /package/web/assets/{pug-Dr8RhWun.js → pug-BujEZqmy.js} +0 -0
- /package/web/assets/{qsharp-DukGWvWZ.js → qsharp-BL9AqNGD.js} +0 -0
- /package/web/assets/{r-BC41pTgC.js → r-D0dhpGOM.js} +0 -0
- /package/web/assets/{redis-D-gYIUku.js → redis-BMLwD7W9.js} +0 -0
- /package/web/assets/{redshift-r0XbF8XS.js → redshift-CkHh73og.js} +0 -0
- /package/web/assets/{restructuredtext-DsJDS7Eu.js → restructuredtext-DZ-LF65W.js} +0 -0
- /package/web/assets/{ruby-JPrm3ODz.js → ruby-UzPHTzc9.js} +0 -0
- /package/web/assets/{rust-C8IjEXni.js → rust-ja9NGnXZ.js} +0 -0
- /package/web/assets/{sb-D8vNiFl9.js → sb-BNdOJbMY.js} +0 -0
- /package/web/assets/{scala-DThahuqf.js → scala-LlhkyN6l.js} +0 -0
- /package/web/assets/{scheme-CvEQUYYf.js → scheme-BAj99YIn.js} +0 -0
- /package/web/assets/{scss-C6obpl8K.js → scss-chS-xxB3.js} +0 -0
- /package/web/assets/{shell-BnVmd31t.js → shell-CcH7eYIc.js} +0 -0
- /package/web/assets/{solidity-Bo6zEybc.js → solidity-cVvnqX-K.js} +0 -0
- /package/web/assets/{sophia-DuB3Px8n.js → sophia-BBT-EdFw.js} +0 -0
- /package/web/assets/{sparql-CW9HqMW2.js → sparql-DGEqOrB6.js} +0 -0
- /package/web/assets/{sql-CPCPCQON.js → sql-CcTErTxM.js} +0 -0
- /package/web/assets/{st-AxC3n-1-.js → st-Bjw-B4mN.js} +0 -0
- /package/web/assets/{swift-CgZOS_MZ.js → swift-Bid-7bBd.js} +0 -0
- /package/web/assets/{systemverilog-DYR-yx39.js → systemverilog-CXju7Nd-.js} +0 -0
- /package/web/assets/{tcl-4hAvWv0d.js → tcl-D-Dw7JFz.js} +0 -0
- /package/web/assets/{twig-Cf_07aFW.js → twig-BIPbzEWT.js} +0 -0
- /package/web/assets/{typespec-2tXj8s11.js → typespec-UJSutGCV.js} +0 -0
- /package/web/assets/{uuid--pMuF47W.js → uuid-Cro0aJm3.js} +0 -0
- /package/web/assets/{vb-DLpM4f4s.js → vb-oyG_LJw0.js} +0 -0
- /package/web/assets/{wgsl-BcECae_z.js → wgsl-DXZ6ljB6.js} +0 -0
|
@@ -0,0 +1,572 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/docx-preview-unHjZcAR.js","assets/index-DuGh2zls.js","assets/index-rUoTy8xc.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{$ as e,$n as t,$r as n,Ai as r,An as i,Bi as a,Br as o,Cn as s,Da as c,Dr as l,Er as u,Fa as d,Gi as f,Gn as p,Hr as m,Ii as h,Jr as g,La as _,Li as v,Ma as y,Mr as b,Ni as x,Nr as ee,On as te,Q as S,Ra as C,Ri as w,Sr as T,Wi as E,Wr as D,Xn as ne,Ya as O,Yn as k,Yr as A,Zn as re,Zr as ie,_a as j,_i as M,_n as ae,ai as N,ba as P,bi as F,cr as I,ct as oe,fn as se,ga as L,gn as ce,gr as le,hn as ue,ii as R,io as z,ir as de,ja as B,ji as V,ki as fe,kn as pe,kr as me,li as H,ma as U,mi as he,na as W,ni as ge,nr as _e,oa as ve,or as ye,pn as be,pr as xe,qa as Se,qi as Ce,qr as we,ra as Te,st as Ee,ua as De,ui as Oe,un as ke,va as Ae,vn as je,ya as Me,zi as G}from"./index-DuGh2zls.js";import{t as Ne}from"./checkbox-CyVRoo_U.js";import{t as Pe}from"./radiobutton-CQFYp-dZ.js";import{t as Fe}from"./multiselect-Bc92p6F4.js";import{a as Ie,i as Le,n as Re,o as ze,r as Be,t as Ve}from"./tabpanel-B4bmmOWW.js";import{t as He}from"./autocomplete-CR_eCGsI.js";var Ue=T.extend({name:`slider`,style:`
|
|
3
|
+
.p-slider {
|
|
4
|
+
display: block;
|
|
5
|
+
position: relative;
|
|
6
|
+
background: dt('slider.track.background');
|
|
7
|
+
border-radius: dt('slider.track.border.radius');
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.p-slider-handle {
|
|
11
|
+
cursor: grab;
|
|
12
|
+
touch-action: none;
|
|
13
|
+
user-select: none;
|
|
14
|
+
display: flex;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
align-items: center;
|
|
17
|
+
height: dt('slider.handle.height');
|
|
18
|
+
width: dt('slider.handle.width');
|
|
19
|
+
background: dt('slider.handle.background');
|
|
20
|
+
border-radius: dt('slider.handle.border.radius');
|
|
21
|
+
transition:
|
|
22
|
+
background dt('slider.transition.duration'),
|
|
23
|
+
color dt('slider.transition.duration'),
|
|
24
|
+
border-color dt('slider.transition.duration'),
|
|
25
|
+
box-shadow dt('slider.transition.duration'),
|
|
26
|
+
outline-color dt('slider.transition.duration');
|
|
27
|
+
outline-color: transparent;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.p-slider-handle::before {
|
|
31
|
+
content: '';
|
|
32
|
+
width: dt('slider.handle.content.width');
|
|
33
|
+
height: dt('slider.handle.content.height');
|
|
34
|
+
display: block;
|
|
35
|
+
background: dt('slider.handle.content.background');
|
|
36
|
+
border-radius: dt('slider.handle.content.border.radius');
|
|
37
|
+
box-shadow: dt('slider.handle.content.shadow');
|
|
38
|
+
transition: background dt('slider.transition.duration');
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.p-slider:not(.p-disabled) .p-slider-handle:hover {
|
|
42
|
+
background: dt('slider.handle.hover.background');
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.p-slider:not(.p-disabled) .p-slider-handle:hover::before {
|
|
46
|
+
background: dt('slider.handle.content.hover.background');
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.p-slider-handle:focus-visible {
|
|
50
|
+
box-shadow: dt('slider.handle.focus.ring.shadow');
|
|
51
|
+
outline: dt('slider.handle.focus.ring.width') dt('slider.handle.focus.ring.style') dt('slider.handle.focus.ring.color');
|
|
52
|
+
outline-offset: dt('slider.handle.focus.ring.offset');
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.p-slider-range {
|
|
56
|
+
display: block;
|
|
57
|
+
background: dt('slider.range.background');
|
|
58
|
+
border-radius: dt('slider.track.border.radius');
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.p-slider.p-slider-horizontal {
|
|
62
|
+
height: dt('slider.track.size');
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.p-slider-horizontal .p-slider-range {
|
|
66
|
+
inset-block-start: 0;
|
|
67
|
+
inset-inline-start: 0;
|
|
68
|
+
height: 100%;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.p-slider-horizontal .p-slider-handle {
|
|
72
|
+
inset-block-start: 50%;
|
|
73
|
+
margin-block-start: calc(-1 * calc(dt('slider.handle.height') / 2));
|
|
74
|
+
margin-inline-start: calc(-1 * calc(dt('slider.handle.width') / 2));
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.p-slider-vertical {
|
|
78
|
+
min-height: 100px;
|
|
79
|
+
width: dt('slider.track.size');
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.p-slider-vertical .p-slider-handle {
|
|
83
|
+
inset-inline-start: 50%;
|
|
84
|
+
margin-inline-start: calc(-1 * calc(dt('slider.handle.width') / 2));
|
|
85
|
+
margin-block-end: calc(-1 * calc(dt('slider.handle.height') / 2));
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.p-slider-vertical .p-slider-range {
|
|
89
|
+
inset-block-end: 0;
|
|
90
|
+
inset-inline-start: 0;
|
|
91
|
+
width: 100%;
|
|
92
|
+
}
|
|
93
|
+
`,classes:{root:function(e){var t=e.instance,n=e.props;return[`p-slider p-component`,{"p-disabled":n.disabled,"p-invalid":t.$invalid,"p-slider-horizontal":n.orientation===`horizontal`,"p-slider-vertical":n.orientation===`vertical`}]},range:`p-slider-range`,handle:`p-slider-handle`},inlineStyles:{handle:{position:`absolute`},range:{position:`absolute`}}}),We={name:`BaseSlider`,extends:i,props:{min:{type:Number,default:0},max:{type:Number,default:100},orientation:{type:String,default:`horizontal`},step:{type:Number,default:null},range:{type:Boolean,default:!1},tabindex:{type:Number,default:0},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:Ue,provide:function(){return{$pcSlider:this,$parentInstance:this}}};function Ge(e){"@babel/helpers - typeof";return Ge=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Ge(e)}function Ke(e,t,n){return(t=qe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qe(e){var t=Je(e,`string`);return Ge(t)==`symbol`?t:t+``}function Je(e,t){if(Ge(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ge(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Ye(e){return Qe(e)||K(e)||Ze(e)||Xe()}function Xe(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
94
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ze(e,t){if(e){if(typeof e==`string`)return $e(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$e(e,t):void 0}}function K(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function Qe(e){if(Array.isArray(e))return $e(e)}function $e(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var et={name:`Slider`,extends:We,inheritAttrs:!1,emits:[`change`,`slideend`],dragging:!1,handleIndex:null,initX:null,initY:null,barWidth:null,barHeight:null,dragListener:null,dragEndListener:null,beforeUnmount:function(){this.unbindDragListeners()},methods:{updateDomData:function(){var e=this.$el.getBoundingClientRect();this.initX=e.left+n(),this.initY=e.top+l(),this.barWidth=this.$el.offsetWidth,this.barHeight=this.$el.offsetHeight},setValue:function(e){var t,n=e.touches?e.touches[0].pageX:e.pageX,r=e.touches?e.touches[0].pageY:e.pageY;t=this.orientation===`horizontal`?D(this.$el)?(this.initX+this.barWidth-n)*100/this.barWidth:(n-this.initX)*100/this.barWidth:(this.initY+this.barHeight-r)*100/this.barHeight;var i=(this.max-this.min)*(t/100)+this.min;if(this.step){var a=this.range?this.value[this.handleIndex]:this.value,o=i-a;o<0?i=a+Math.ceil(i/this.step-a/this.step)*this.step:o>0&&(i=a+Math.floor(i/this.step-a/this.step)*this.step)}else i=Math.floor(i);this.updateModel(e,i)},updateModel:function(e,t){var n=Math.round(t*100)/100,r;this.range?(r=this.value?Ye(this.value):[],this.handleIndex==0?(n<this.min?n=this.min:n>=this.max&&(n=this.max),r[0]=n):(n>this.max?n=this.max:n<=this.min&&(n=this.min),r[1]=n)):(n<this.min?n=this.min:n>this.max&&(n=this.max),r=n),this.writeValue(r,e),this.$emit(`change`,r)},onDragStart:function(e,t){this.disabled||(this.$el.setAttribute(`data-p-sliding`,!0),this.dragging=!0,this.updateDomData(),this.range&&this.value[0]===this.max?this.handleIndex=0:this.handleIndex=t,e.currentTarget.focus())},onDrag:function(e){this.dragging&&this.setValue(e)},onDragEnd:function(e){this.dragging&&(this.dragging=!1,this.$el.setAttribute(`data-p-sliding`,!1),this.$emit(`slideend`,{originalEvent:e,value:this.value}))},onBarClick:function(e){this.disabled||o(e.target,`data-pc-section`)!==`handle`&&(this.updateDomData(),this.setValue(e))},onMouseDown:function(e,t){this.bindDragListeners(),this.onDragStart(e,t)},onKeyDown:function(e,t){switch(this.handleIndex=t,e.code){case`ArrowDown`:case`ArrowLeft`:this.decrementValue(e,t),e.preventDefault();break;case`ArrowUp`:case`ArrowRight`:this.incrementValue(e,t),e.preventDefault();break;case`PageDown`:this.decrementValue(e,t,!0),e.preventDefault();break;case`PageUp`:this.incrementValue(e,t,!0),e.preventDefault();break;case`Home`:this.updateModel(e,this.min),e.preventDefault();break;case`End`:this.updateModel(e,this.max),e.preventDefault();break}},onBlur:function(e,t){var n,r;(n=(r=this.formField).onBlur)==null||n.call(r,e)},decrementValue:function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=this.range?this.step?this.value[t]-this.step:this.value[t]-1:this.step?this.value-this.step:!this.step&&n?this.value-10:this.value-1;this.updateModel(e,r),e.preventDefault()},incrementValue:function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=this.range?this.step?this.value[t]+this.step:this.value[t]+1:this.step?this.value+this.step:!this.step&&n?this.value+10:this.value+1;this.updateModel(e,r),e.preventDefault()},bindDragListeners:function(){this.dragListener||(this.dragListener=this.onDrag.bind(this),document.addEventListener(`mousemove`,this.dragListener)),this.dragEndListener||(this.dragEndListener=this.onDragEnd.bind(this),document.addEventListener(`mouseup`,this.dragEndListener))},unbindDragListeners:function(){this.dragListener&&=(document.removeEventListener(`mousemove`,this.dragListener),null),this.dragEndListener&&=(document.removeEventListener(`mouseup`,this.dragEndListener),null)},rangeStyle:function(){if(this.range){var e=this.rangeEndPosition>this.rangeStartPosition?this.rangeEndPosition-this.rangeStartPosition:this.rangeStartPosition-this.rangeEndPosition,t=this.rangeEndPosition>this.rangeStartPosition?this.rangeStartPosition:this.rangeEndPosition;return this.horizontal?{"inset-inline-start":t+`%`,width:e+`%`}:{bottom:t+`%`,height:e+`%`}}else if(this.horizontal)return{width:this.handlePosition+`%`};else return{height:this.handlePosition+`%`}},handleStyle:function(){return this.horizontal?{"inset-inline-start":this.handlePosition+`%`}:{bottom:this.handlePosition+`%`}},rangeStartHandleStyle:function(){return this.horizontal?{"inset-inline-start":this.rangeStartPosition+`%`}:{bottom:this.rangeStartPosition+`%`}},rangeEndHandleStyle:function(){return this.horizontal?{"inset-inline-start":this.rangeEndPosition+`%`}:{bottom:this.rangeEndPosition+`%`}}},computed:{value:function(){return this.range?[this.d_value?.[0]??this.min,this.d_value?.[1]??this.max]:this.d_value??this.min},horizontal:function(){return this.orientation===`horizontal`},vertical:function(){return this.orientation===`vertical`},handlePosition:function(){return this.value<this.min?0:this.value>this.max?100:(this.value-this.min)*100/(this.max-this.min)},rangeStartPosition:function(){return this.value&&this.value[0]!==void 0?this.value[0]<this.min?0:(this.value[0]-this.min)*100/(this.max-this.min):0},rangeEndPosition:function(){return this.value&&this.value.length===2&&this.value[1]!==void 0?this.value[1]>this.max?100:(this.value[1]-this.min)*100/(this.max-this.min):100},dataP:function(){return N(Ke({},this.orientation,this.orientation))}}},tt=[`data-p`],nt=[`data-p`],rt=[`tabindex`,`aria-valuemin`,`aria-valuenow`,`aria-valuemax`,`aria-labelledby`,`aria-label`,`aria-orientation`,`data-p`],q=[`tabindex`,`aria-valuemin`,`aria-valuenow`,`aria-valuemax`,`aria-labelledby`,`aria-label`,`aria-orientation`,`data-p`],it=[`tabindex`,`aria-valuemin`,`aria-valuenow`,`aria-valuemax`,`aria-labelledby`,`aria-label`,`aria-orientation`,`data-p`];function at(e,t,n,r,i,o){return U(),a(`div`,W({class:e.cx(`root`),onClick:t[18]||=function(){return o.onBarClick&&o.onBarClick.apply(o,arguments)}},e.ptmi(`root`),{"data-p-sliding":!1,"data-p":o.dataP}),[v(`span`,W({class:e.cx(`range`),style:[e.sx(`range`),o.rangeStyle()]},e.ptm(`range`),{"data-p":o.dataP}),null,16,nt),e.range?G(``,!0):(U(),a(`span`,W({key:0,class:e.cx(`handle`),style:[e.sx(`handle`),o.handleStyle()],onTouchstartPassive:t[0]||=function(e){return o.onDragStart(e)},onTouchmovePassive:t[1]||=function(e){return o.onDrag(e)},onTouchend:t[2]||=function(e){return o.onDragEnd(e)},onMousedown:t[3]||=function(e){return o.onMouseDown(e)},onKeydown:t[4]||=function(e){return o.onKeyDown(e)},onBlur:t[5]||=function(e){return o.onBlur(e)},tabindex:e.tabindex,role:`slider`,"aria-valuemin":e.min,"aria-valuenow":e.d_value,"aria-valuemax":e.max,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,"aria-orientation":e.orientation},e.ptm(`handle`),{"data-p":o.dataP}),null,16,rt)),e.range?(U(),a(`span`,W({key:1,class:e.cx(`handle`),style:[e.sx(`handle`),o.rangeStartHandleStyle()],onTouchstartPassive:t[6]||=function(e){return o.onDragStart(e,0)},onTouchmovePassive:t[7]||=function(e){return o.onDrag(e)},onTouchend:t[8]||=function(e){return o.onDragEnd(e)},onMousedown:t[9]||=function(e){return o.onMouseDown(e,0)},onKeydown:t[10]||=function(e){return o.onKeyDown(e,0)},onBlur:t[11]||=function(e){return o.onBlur(e,0)},tabindex:e.tabindex,role:`slider`,"aria-valuemin":e.min,"aria-valuenow":e.d_value?e.d_value[0]:null,"aria-valuemax":e.max,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,"aria-orientation":e.orientation},e.ptm(`startHandler`),{"data-p":o.dataP}),null,16,q)):G(``,!0),e.range?(U(),a(`span`,W({key:2,class:e.cx(`handle`),style:[e.sx(`handle`),o.rangeEndHandleStyle()],onTouchstartPassive:t[12]||=function(e){return o.onDragStart(e,1)},onTouchmovePassive:t[13]||=function(e){return o.onDrag(e)},onTouchend:t[14]||=function(e){return o.onDragEnd(e)},onMousedown:t[15]||=function(e){return o.onMouseDown(e,1)},onKeydown:t[16]||=function(e){return o.onKeyDown(e,1)},onBlur:t[17]||=function(e){return o.onBlur(e,1)},tabindex:e.tabindex,role:`slider`,"aria-valuemin":e.min,"aria-valuenow":e.d_value?e.d_value[1]:null,"aria-valuemax":e.max,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,"aria-orientation":e.orientation},e.ptm(`endHandler`),{"data-p":o.dataP}),null,16,it)):G(``,!0)],16,tt)}et.render=at;var ot={name:`CalendarIcon`,extends:ye};function st(e){return dt(e)||ut(e)||lt(e)||ct()}function ct(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
95
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function lt(e,t){if(e){if(typeof e==`string`)return ft(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ft(e,t):void 0}}function ut(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function dt(e){if(Array.isArray(e))return ft(e)}function ft(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function pt(e,t,n,r,i,o){return U(),a(`svg`,W({width:`14`,height:`14`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},e.pti()),st(t[0]||=[v(`path`,{d:`M10.7838 1.51351H9.83783V0.567568C9.83783 0.417039 9.77804 0.272676 9.6716 0.166237C9.56516 0.0597971 9.42079 0 9.27027 0C9.11974 0 8.97538 0.0597971 8.86894 0.166237C8.7625 0.272676 8.7027 0.417039 8.7027 0.567568V1.51351H5.29729V0.567568C5.29729 0.417039 5.2375 0.272676 5.13106 0.166237C5.02462 0.0597971 4.88025 0 4.72973 0C4.5792 0 4.43484 0.0597971 4.3284 0.166237C4.22196 0.272676 4.16216 0.417039 4.16216 0.567568V1.51351H3.21621C2.66428 1.51351 2.13494 1.73277 1.74467 2.12305C1.35439 2.51333 1.13513 3.04266 1.13513 3.59459V11.9189C1.13513 12.4709 1.35439 13.0002 1.74467 13.3905C2.13494 13.7807 2.66428 14 3.21621 14H10.7838C11.3357 14 11.865 13.7807 12.2553 13.3905C12.6456 13.0002 12.8649 12.4709 12.8649 11.9189V3.59459C12.8649 3.04266 12.6456 2.51333 12.2553 2.12305C11.865 1.73277 11.3357 1.51351 10.7838 1.51351ZM3.21621 2.64865H4.16216V3.59459C4.16216 3.74512 4.22196 3.88949 4.3284 3.99593C4.43484 4.10237 4.5792 4.16216 4.72973 4.16216C4.88025 4.16216 5.02462 4.10237 5.13106 3.99593C5.2375 3.88949 5.29729 3.74512 5.29729 3.59459V2.64865H8.7027V3.59459C8.7027 3.74512 8.7625 3.88949 8.86894 3.99593C8.97538 4.10237 9.11974 4.16216 9.27027 4.16216C9.42079 4.16216 9.56516 4.10237 9.6716 3.99593C9.77804 3.88949 9.83783 3.74512 9.83783 3.59459V2.64865H10.7838C11.0347 2.64865 11.2753 2.74831 11.4527 2.92571C11.6301 3.10311 11.7297 3.34371 11.7297 3.59459V5.67568H2.27027V3.59459C2.27027 3.34371 2.36993 3.10311 2.54733 2.92571C2.72473 2.74831 2.96533 2.64865 3.21621 2.64865ZM10.7838 12.8649H3.21621C2.96533 12.8649 2.72473 12.7652 2.54733 12.5878C2.36993 12.4104 2.27027 12.1698 2.27027 11.9189V6.81081H11.7297V11.9189C11.7297 12.1698 11.6301 12.4104 11.4527 12.5878C11.2753 12.7652 11.0347 12.8649 10.7838 12.8649Z`,fill:`currentColor`},null,-1)]),16)}ot.render=pt;var mt=T.extend({name:`datepicker`,style:`
|
|
96
|
+
.p-datepicker {
|
|
97
|
+
display: inline-flex;
|
|
98
|
+
max-width: 100%;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.p-datepicker:has(.p-datepicker-dropdown) .p-datepicker-input {
|
|
102
|
+
border-start-end-radius: 0;
|
|
103
|
+
border-end-end-radius: 0;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.p-datepicker-input {
|
|
107
|
+
flex: 1 1 auto;
|
|
108
|
+
width: 1%;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.p-datepicker-dropdown {
|
|
112
|
+
cursor: pointer;
|
|
113
|
+
display: inline-flex;
|
|
114
|
+
user-select: none;
|
|
115
|
+
align-items: center;
|
|
116
|
+
justify-content: center;
|
|
117
|
+
overflow: hidden;
|
|
118
|
+
position: relative;
|
|
119
|
+
width: dt('datepicker.dropdown.width');
|
|
120
|
+
border-start-end-radius: dt('datepicker.dropdown.border.radius');
|
|
121
|
+
border-end-end-radius: dt('datepicker.dropdown.border.radius');
|
|
122
|
+
background: dt('datepicker.dropdown.background');
|
|
123
|
+
border: 1px solid dt('datepicker.dropdown.border.color');
|
|
124
|
+
border-inline-start: 0 none;
|
|
125
|
+
color: dt('datepicker.dropdown.color');
|
|
126
|
+
transition:
|
|
127
|
+
background dt('datepicker.transition.duration'),
|
|
128
|
+
color dt('datepicker.transition.duration'),
|
|
129
|
+
border-color dt('datepicker.transition.duration'),
|
|
130
|
+
outline-color dt('datepicker.transition.duration');
|
|
131
|
+
outline-color: transparent;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.p-datepicker-dropdown:not(:disabled):hover {
|
|
135
|
+
background: dt('datepicker.dropdown.hover.background');
|
|
136
|
+
border-color: dt('datepicker.dropdown.hover.border.color');
|
|
137
|
+
color: dt('datepicker.dropdown.hover.color');
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.p-datepicker-dropdown:not(:disabled):active {
|
|
141
|
+
background: dt('datepicker.dropdown.active.background');
|
|
142
|
+
border-color: dt('datepicker.dropdown.active.border.color');
|
|
143
|
+
color: dt('datepicker.dropdown.active.color');
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.p-datepicker-dropdown:focus-visible {
|
|
147
|
+
box-shadow: dt('datepicker.dropdown.focus.ring.shadow');
|
|
148
|
+
outline: dt('datepicker.dropdown.focus.ring.width') dt('datepicker.dropdown.focus.ring.style') dt('datepicker.dropdown.focus.ring.color');
|
|
149
|
+
outline-offset: dt('datepicker.dropdown.focus.ring.offset');
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.p-datepicker:has(.p-datepicker-input-icon-container) {
|
|
153
|
+
position: relative;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.p-datepicker:has(.p-datepicker-input-icon-container) .p-datepicker-input {
|
|
157
|
+
padding-inline-end: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.p-datepicker-input-icon-container {
|
|
161
|
+
cursor: pointer;
|
|
162
|
+
position: absolute;
|
|
163
|
+
top: 50%;
|
|
164
|
+
inset-inline-end: dt('form.field.padding.x');
|
|
165
|
+
margin-block-start: calc(-1 * (dt('icon.size') / 2));
|
|
166
|
+
color: dt('datepicker.input.icon.color');
|
|
167
|
+
line-height: 1;
|
|
168
|
+
z-index: 1;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.p-datepicker:has(.p-datepicker-input:disabled) .p-datepicker-input-icon-container {
|
|
172
|
+
cursor: default;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.p-datepicker-fluid {
|
|
176
|
+
display: flex;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.p-datepicker .p-datepicker-panel {
|
|
180
|
+
min-width: 100%;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.p-datepicker-panel {
|
|
184
|
+
width: auto;
|
|
185
|
+
padding: dt('datepicker.panel.padding');
|
|
186
|
+
background: dt('datepicker.panel.background');
|
|
187
|
+
color: dt('datepicker.panel.color');
|
|
188
|
+
border: 1px solid dt('datepicker.panel.border.color');
|
|
189
|
+
border-radius: dt('datepicker.panel.border.radius');
|
|
190
|
+
box-shadow: dt('datepicker.panel.shadow');
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.p-datepicker-panel-inline {
|
|
194
|
+
display: inline-block;
|
|
195
|
+
overflow-x: auto;
|
|
196
|
+
box-shadow: none;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.p-datepicker-header {
|
|
200
|
+
display: flex;
|
|
201
|
+
align-items: center;
|
|
202
|
+
justify-content: space-between;
|
|
203
|
+
padding: dt('datepicker.header.padding');
|
|
204
|
+
background: dt('datepicker.header.background');
|
|
205
|
+
color: dt('datepicker.header.color');
|
|
206
|
+
border-block-end: 1px solid dt('datepicker.header.border.color');
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.p-datepicker-next-button:dir(rtl) {
|
|
210
|
+
order: -1;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.p-datepicker-prev-button:dir(rtl) {
|
|
214
|
+
order: 1;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.p-datepicker-title {
|
|
218
|
+
display: flex;
|
|
219
|
+
align-items: center;
|
|
220
|
+
justify-content: space-between;
|
|
221
|
+
gap: dt('datepicker.title.gap');
|
|
222
|
+
font-weight: dt('datepicker.title.font.weight');
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.p-datepicker-select-year,
|
|
226
|
+
.p-datepicker-select-month {
|
|
227
|
+
border: none;
|
|
228
|
+
background: transparent;
|
|
229
|
+
margin: 0;
|
|
230
|
+
cursor: pointer;
|
|
231
|
+
font-weight: inherit;
|
|
232
|
+
transition:
|
|
233
|
+
background dt('datepicker.transition.duration'),
|
|
234
|
+
color dt('datepicker.transition.duration'),
|
|
235
|
+
border-color dt('datepicker.transition.duration'),
|
|
236
|
+
outline-color dt('datepicker.transition.duration'),
|
|
237
|
+
box-shadow dt('datepicker.transition.duration');
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.p-datepicker-select-month {
|
|
241
|
+
padding: dt('datepicker.select.month.padding');
|
|
242
|
+
color: dt('datepicker.select.month.color');
|
|
243
|
+
border-radius: dt('datepicker.select.month.border.radius');
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.p-datepicker-select-year {
|
|
247
|
+
padding: dt('datepicker.select.year.padding');
|
|
248
|
+
color: dt('datepicker.select.year.color');
|
|
249
|
+
border-radius: dt('datepicker.select.year.border.radius');
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.p-datepicker-select-month:enabled:hover {
|
|
253
|
+
background: dt('datepicker.select.month.hover.background');
|
|
254
|
+
color: dt('datepicker.select.month.hover.color');
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.p-datepicker-select-year:enabled:hover {
|
|
258
|
+
background: dt('datepicker.select.year.hover.background');
|
|
259
|
+
color: dt('datepicker.select.year.hover.color');
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.p-datepicker-select-month:focus-visible,
|
|
263
|
+
.p-datepicker-select-year:focus-visible {
|
|
264
|
+
box-shadow: dt('datepicker.date.focus.ring.shadow');
|
|
265
|
+
outline: dt('datepicker.date.focus.ring.width') dt('datepicker.date.focus.ring.style') dt('datepicker.date.focus.ring.color');
|
|
266
|
+
outline-offset: dt('datepicker.date.focus.ring.offset');
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.p-datepicker-calendar-container {
|
|
270
|
+
display: flex;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.p-datepicker-calendar-container .p-datepicker-calendar {
|
|
274
|
+
flex: 1 1 auto;
|
|
275
|
+
border-inline-start: 1px solid dt('datepicker.group.border.color');
|
|
276
|
+
padding-inline-end: dt('datepicker.group.gap');
|
|
277
|
+
padding-inline-start: dt('datepicker.group.gap');
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.p-datepicker-calendar-container .p-datepicker-calendar:first-child {
|
|
281
|
+
padding-inline-start: 0;
|
|
282
|
+
border-inline-start: 0 none;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.p-datepicker-calendar-container .p-datepicker-calendar:last-child {
|
|
286
|
+
padding-inline-end: 0;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.p-datepicker-day-view {
|
|
290
|
+
width: 100%;
|
|
291
|
+
border-collapse: collapse;
|
|
292
|
+
font-size: 1rem;
|
|
293
|
+
margin: dt('datepicker.day.view.margin');
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.p-datepicker-weekday-cell {
|
|
297
|
+
padding: dt('datepicker.week.day.padding');
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.p-datepicker-weekday {
|
|
301
|
+
font-weight: dt('datepicker.week.day.font.weight');
|
|
302
|
+
color: dt('datepicker.week.day.color');
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.p-datepicker-day-cell {
|
|
306
|
+
padding: dt('datepicker.date.padding');
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.p-datepicker-day {
|
|
310
|
+
display: flex;
|
|
311
|
+
justify-content: center;
|
|
312
|
+
align-items: center;
|
|
313
|
+
cursor: pointer;
|
|
314
|
+
margin: 0 auto;
|
|
315
|
+
overflow: hidden;
|
|
316
|
+
position: relative;
|
|
317
|
+
width: dt('datepicker.date.width');
|
|
318
|
+
height: dt('datepicker.date.height');
|
|
319
|
+
border-radius: dt('datepicker.date.border.radius');
|
|
320
|
+
transition:
|
|
321
|
+
background dt('datepicker.transition.duration'),
|
|
322
|
+
color dt('datepicker.transition.duration'),
|
|
323
|
+
border-color dt('datepicker.transition.duration'),
|
|
324
|
+
box-shadow dt('datepicker.transition.duration'),
|
|
325
|
+
outline-color dt('datepicker.transition.duration');
|
|
326
|
+
border: 1px solid transparent;
|
|
327
|
+
outline-color: transparent;
|
|
328
|
+
color: dt('datepicker.date.color');
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.p-datepicker-day:not(.p-datepicker-day-selected):not(.p-disabled):hover {
|
|
332
|
+
background: dt('datepicker.date.hover.background');
|
|
333
|
+
color: dt('datepicker.date.hover.color');
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.p-datepicker-day:focus-visible {
|
|
337
|
+
box-shadow: dt('datepicker.date.focus.ring.shadow');
|
|
338
|
+
outline: dt('datepicker.date.focus.ring.width') dt('datepicker.date.focus.ring.style') dt('datepicker.date.focus.ring.color');
|
|
339
|
+
outline-offset: dt('datepicker.date.focus.ring.offset');
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.p-datepicker-day-selected {
|
|
343
|
+
background: dt('datepicker.date.selected.background');
|
|
344
|
+
color: dt('datepicker.date.selected.color');
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.p-datepicker-day-selected-range {
|
|
348
|
+
background: dt('datepicker.date.range.selected.background');
|
|
349
|
+
color: dt('datepicker.date.range.selected.color');
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.p-datepicker-today > .p-datepicker-day {
|
|
353
|
+
background: dt('datepicker.today.background');
|
|
354
|
+
color: dt('datepicker.today.color');
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.p-datepicker-today > .p-datepicker-day-selected {
|
|
358
|
+
background: dt('datepicker.date.selected.background');
|
|
359
|
+
color: dt('datepicker.date.selected.color');
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.p-datepicker-today > .p-datepicker-day-selected-range {
|
|
363
|
+
background: dt('datepicker.date.range.selected.background');
|
|
364
|
+
color: dt('datepicker.date.range.selected.color');
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
.p-datepicker-weeknumber {
|
|
368
|
+
text-align: center;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
.p-datepicker-month-view {
|
|
372
|
+
margin: dt('datepicker.month.view.margin');
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.p-datepicker-month {
|
|
376
|
+
width: 33.3%;
|
|
377
|
+
display: inline-flex;
|
|
378
|
+
align-items: center;
|
|
379
|
+
justify-content: center;
|
|
380
|
+
cursor: pointer;
|
|
381
|
+
overflow: hidden;
|
|
382
|
+
position: relative;
|
|
383
|
+
padding: dt('datepicker.month.padding');
|
|
384
|
+
transition:
|
|
385
|
+
background dt('datepicker.transition.duration'),
|
|
386
|
+
color dt('datepicker.transition.duration'),
|
|
387
|
+
border-color dt('datepicker.transition.duration'),
|
|
388
|
+
box-shadow dt('datepicker.transition.duration'),
|
|
389
|
+
outline-color dt('datepicker.transition.duration');
|
|
390
|
+
border-radius: dt('datepicker.month.border.radius');
|
|
391
|
+
outline-color: transparent;
|
|
392
|
+
color: dt('datepicker.date.color');
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
.p-datepicker-month:not(.p-disabled):not(.p-datepicker-month-selected):hover {
|
|
396
|
+
color: dt('datepicker.date.hover.color');
|
|
397
|
+
background: dt('datepicker.date.hover.background');
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.p-datepicker-month-selected {
|
|
401
|
+
color: dt('datepicker.date.selected.color');
|
|
402
|
+
background: dt('datepicker.date.selected.background');
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
.p-datepicker-month:not(.p-disabled):focus-visible {
|
|
406
|
+
box-shadow: dt('datepicker.date.focus.ring.shadow');
|
|
407
|
+
outline: dt('datepicker.date.focus.ring.width') dt('datepicker.date.focus.ring.style') dt('datepicker.date.focus.ring.color');
|
|
408
|
+
outline-offset: dt('datepicker.date.focus.ring.offset');
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.p-datepicker-year-view {
|
|
412
|
+
margin: dt('datepicker.year.view.margin');
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.p-datepicker-year {
|
|
416
|
+
width: 50%;
|
|
417
|
+
display: inline-flex;
|
|
418
|
+
align-items: center;
|
|
419
|
+
justify-content: center;
|
|
420
|
+
cursor: pointer;
|
|
421
|
+
overflow: hidden;
|
|
422
|
+
position: relative;
|
|
423
|
+
padding: dt('datepicker.year.padding');
|
|
424
|
+
transition:
|
|
425
|
+
background dt('datepicker.transition.duration'),
|
|
426
|
+
color dt('datepicker.transition.duration'),
|
|
427
|
+
border-color dt('datepicker.transition.duration'),
|
|
428
|
+
box-shadow dt('datepicker.transition.duration'),
|
|
429
|
+
outline-color dt('datepicker.transition.duration');
|
|
430
|
+
border-radius: dt('datepicker.year.border.radius');
|
|
431
|
+
outline-color: transparent;
|
|
432
|
+
color: dt('datepicker.date.color');
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.p-datepicker-year:not(.p-disabled):not(.p-datepicker-year-selected):hover {
|
|
436
|
+
color: dt('datepicker.date.hover.color');
|
|
437
|
+
background: dt('datepicker.date.hover.background');
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
.p-datepicker-year-selected {
|
|
441
|
+
color: dt('datepicker.date.selected.color');
|
|
442
|
+
background: dt('datepicker.date.selected.background');
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
.p-datepicker-year:not(.p-disabled):focus-visible {
|
|
446
|
+
box-shadow: dt('datepicker.date.focus.ring.shadow');
|
|
447
|
+
outline: dt('datepicker.date.focus.ring.width') dt('datepicker.date.focus.ring.style') dt('datepicker.date.focus.ring.color');
|
|
448
|
+
outline-offset: dt('datepicker.date.focus.ring.offset');
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
.p-datepicker-buttonbar {
|
|
452
|
+
display: flex;
|
|
453
|
+
justify-content: space-between;
|
|
454
|
+
align-items: center;
|
|
455
|
+
padding: dt('datepicker.buttonbar.padding');
|
|
456
|
+
border-block-start: 1px solid dt('datepicker.buttonbar.border.color');
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
.p-datepicker-buttonbar .p-button {
|
|
460
|
+
width: auto;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.p-datepicker-time-picker {
|
|
464
|
+
display: flex;
|
|
465
|
+
justify-content: center;
|
|
466
|
+
align-items: center;
|
|
467
|
+
border-block-start: 1px solid dt('datepicker.time.picker.border.color');
|
|
468
|
+
padding: 0;
|
|
469
|
+
gap: dt('datepicker.time.picker.gap');
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.p-datepicker-calendar-container + .p-datepicker-time-picker {
|
|
473
|
+
padding: dt('datepicker.time.picker.padding');
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
.p-datepicker-time-picker > div {
|
|
477
|
+
display: flex;
|
|
478
|
+
align-items: center;
|
|
479
|
+
flex-direction: column;
|
|
480
|
+
gap: dt('datepicker.time.picker.button.gap');
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.p-datepicker-time-picker span {
|
|
484
|
+
font-size: 1rem;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
.p-datepicker-timeonly .p-datepicker-time-picker {
|
|
488
|
+
border-block-start: 0 none;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.p-datepicker-time-picker:dir(rtl) {
|
|
492
|
+
flex-direction: row-reverse;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
.p-datepicker:has(.p-inputtext-sm) .p-datepicker-dropdown {
|
|
496
|
+
width: dt('datepicker.dropdown.sm.width');
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.p-datepicker:has(.p-inputtext-sm) .p-datepicker-dropdown .p-icon,
|
|
500
|
+
.p-datepicker:has(.p-inputtext-sm) .p-datepicker-input-icon {
|
|
501
|
+
font-size: dt('form.field.sm.font.size');
|
|
502
|
+
width: dt('form.field.sm.font.size');
|
|
503
|
+
height: dt('form.field.sm.font.size');
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
.p-datepicker:has(.p-inputtext-lg) .p-datepicker-dropdown {
|
|
507
|
+
width: dt('datepicker.dropdown.lg.width');
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
.p-datepicker:has(.p-inputtext-lg) .p-datepicker-dropdown .p-icon,
|
|
511
|
+
.p-datepicker:has(.p-inputtext-lg) .p-datepicker-input-icon {
|
|
512
|
+
font-size: dt('form.field.lg.font.size');
|
|
513
|
+
width: dt('form.field.lg.font.size');
|
|
514
|
+
height: dt('form.field.lg.font.size');
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
.p-datepicker-clear-icon {
|
|
518
|
+
position: absolute;
|
|
519
|
+
top: 50%;
|
|
520
|
+
margin-top: -0.5rem;
|
|
521
|
+
cursor: pointer;
|
|
522
|
+
color: dt('form.field.icon.color');
|
|
523
|
+
inset-inline-end: dt('form.field.padding.x');
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
.p-datepicker:has(.p-datepicker-dropdown) .p-datepicker-clear-icon {
|
|
527
|
+
inset-inline-end: calc(dt('datepicker.dropdown.width') + dt('form.field.padding.x'));
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
.p-datepicker:has(.p-datepicker-input-icon-container) .p-datepicker-clear-icon {
|
|
531
|
+
inset-inline-end: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
.p-datepicker:has(.p-datepicker-clear-icon) .p-datepicker-input {
|
|
535
|
+
padding-inline-end: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
.p-datepicker:has(.p-datepicker-input-icon-container):has(.p-datepicker-clear-icon) .p-datepicker-input {
|
|
539
|
+
padding-inline-end: calc((dt('form.field.padding.x') * 3) + calc(dt('icon.size') * 2));
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
.p-inputgroup .p-datepicker-dropdown {
|
|
543
|
+
border-radius: 0;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
.p-inputgroup > .p-datepicker:last-child:has(.p-datepicker-dropdown) > .p-datepicker-input {
|
|
547
|
+
border-start-end-radius: 0;
|
|
548
|
+
border-end-end-radius: 0;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
.p-inputgroup > .p-datepicker:last-child .p-datepicker-dropdown {
|
|
552
|
+
border-start-end-radius: dt('datepicker.dropdown.border.radius');
|
|
553
|
+
border-end-end-radius: dt('datepicker.dropdown.border.radius');
|
|
554
|
+
}
|
|
555
|
+
`,classes:{root:function(e){var t=e.instance,n=e.state;return[`p-datepicker p-component p-inputwrapper`,{"p-invalid":t.$invalid,"p-inputwrapper-filled":t.$filled,"p-inputwrapper-focus":n.focused||n.overlayVisible,"p-focus":n.focused||n.overlayVisible,"p-datepicker-fluid":t.$fluid}]},pcInputText:`p-datepicker-input`,clearIcon:`p-datepicker-clear-icon`,dropdown:`p-datepicker-dropdown`,inputIconContainer:`p-datepicker-input-icon-container`,inputIcon:`p-datepicker-input-icon`,panel:function(e){var t=e.props;return[`p-datepicker-panel p-component`,{"p-datepicker-panel-inline":t.inline,"p-disabled":t.disabled,"p-datepicker-timeonly":t.timeOnly}]},calendarContainer:`p-datepicker-calendar-container`,calendar:`p-datepicker-calendar`,header:`p-datepicker-header`,pcPrevButton:`p-datepicker-prev-button`,title:`p-datepicker-title`,selectMonth:`p-datepicker-select-month`,selectYear:`p-datepicker-select-year`,decade:`p-datepicker-decade`,pcNextButton:`p-datepicker-next-button`,dayView:`p-datepicker-day-view`,weekHeader:`p-datepicker-weekheader p-disabled`,weekNumber:`p-datepicker-weeknumber`,weekLabelContainer:`p-datepicker-weeklabel-container p-disabled`,weekDayCell:`p-datepicker-weekday-cell`,weekDay:`p-datepicker-weekday`,dayCell:function(e){var t=e.date;return[`p-datepicker-day-cell`,{"p-datepicker-other-month":t.otherMonth,"p-datepicker-today":t.today}]},day:function(e){var t=e.instance,n=e.props,r=e.state,i=e.date,a=``;if(t.isRangeSelection()&&t.isSelected(i)&&i.selectable){var o=typeof r.rawValue[0]==`string`?t.parseValue(r.rawValue[0])[0]:r.rawValue[0],s=typeof r.rawValue[1]==`string`?t.parseValue(r.rawValue[1])[0]:r.rawValue[1];a=t.isDateEquals(o,i)||t.isDateEquals(s,i)?`p-datepicker-day-selected`:`p-datepicker-day-selected-range`}return[`p-datepicker-day`,{"p-datepicker-day-selected":!t.isRangeSelection()&&t.isSelected(i)&&i.selectable,"p-disabled":n.disabled||!i.selectable},a]},monthView:`p-datepicker-month-view`,month:function(e){var t=e.instance,n=e.props,r=e.month,i=e.index;return[`p-datepicker-month`,{"p-datepicker-month-selected":t.isMonthSelected(i),"p-disabled":n.disabled||!r.selectable}]},yearView:`p-datepicker-year-view`,year:function(e){var t=e.instance,n=e.props,r=e.year;return[`p-datepicker-year`,{"p-datepicker-year-selected":t.isYearSelected(r.value),"p-disabled":n.disabled||!r.selectable}]},timePicker:`p-datepicker-time-picker`,hourPicker:`p-datepicker-hour-picker`,pcIncrementButton:`p-datepicker-increment-button`,pcDecrementButton:`p-datepicker-decrement-button`,separator:`p-datepicker-separator`,minutePicker:`p-datepicker-minute-picker`,secondPicker:`p-datepicker-second-picker`,ampmPicker:`p-datepicker-ampm-picker`,buttonbar:`p-datepicker-buttonbar`,pcTodayButton:`p-datepicker-today-button`,pcClearButton:`p-datepicker-clear-button`},inlineStyles:{root:function(e){var t=e.props;return{position:t.appendTo===`self`||t.showClear?`relative`:void 0}}}}),ht={name:`BaseDatePicker`,extends:pe,props:{selectionMode:{type:String,default:`single`},dateFormat:{type:String,default:null},updateModelType:{type:String,default:`date`},inline:{type:Boolean,default:!1},showOtherMonths:{type:Boolean,default:!0},selectOtherMonths:{type:Boolean,default:!1},showIcon:{type:Boolean,default:!1},iconDisplay:{type:String,default:`button`},icon:{type:String,default:void 0},prevIcon:{type:String,default:void 0},nextIcon:{type:String,default:void 0},incrementIcon:{type:String,default:void 0},decrementIcon:{type:String,default:void 0},numberOfMonths:{type:Number,default:1},responsiveOptions:Array,breakpoint:{type:String,default:`769px`},view:{type:String,default:`date`},minDate:{type:Date,value:null},maxDate:{type:Date,value:null},disabledDates:{type:Array,value:null},disabledDays:{type:Array,value:null},maxDateCount:{type:Number,value:null},showOnFocus:{type:Boolean,default:!0},autoZIndex:{type:Boolean,default:!0},baseZIndex:{type:Number,default:0},showButtonBar:{type:Boolean,default:!1},shortYearCutoff:{type:String,default:`+10`},showTime:{type:Boolean,default:!1},timeOnly:{type:Boolean,default:!1},hourFormat:{type:String,default:`24`},stepHour:{type:Number,default:1},stepMinute:{type:Number,default:1},stepSecond:{type:Number,default:1},showSeconds:{type:Boolean,default:!1},hideOnDateTimeSelect:{type:Boolean,default:!1},hideOnRangeSelection:{type:Boolean,default:!1},timeSeparator:{type:String,default:`:`},showWeek:{type:Boolean,default:!1},manualInput:{type:Boolean,default:!0},showClear:{type:Boolean,default:!1},appendTo:{type:[String,Object],default:`body`},readonly:{type:Boolean,default:!1},placeholder:{type:String,default:null},required:{type:Boolean,default:null},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},panelClass:{type:[String,Object],default:null},panelStyle:{type:Object,default:null},todayButtonProps:{type:Object,default:function(){return{severity:`secondary`,text:!0,size:`small`}}},clearButtonProps:{type:Object,default:function(){return{severity:`secondary`,text:!0,size:`small`}}},navigatorButtonProps:{type:Object,default:function(){return{severity:`secondary`,text:!0,rounded:!0}}},timepickerButtonProps:{type:Object,default:function(){return{severity:`secondary`,text:!0,rounded:!0}}},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:mt,provide:function(){return{$pcDatePicker:this,$parentInstance:this}}};function gt(e,t,n){return(t=_t(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _t(e){var t=vt(e,`string`);return yt(t)==`symbol`?t:t+``}function vt(e,t){if(yt(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(yt(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function yt(e){"@babel/helpers - typeof";return yt=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},yt(e)}function bt(e){return Ct(e)||St(e)||Tt(e)||xt()}function xt(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
556
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function St(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function Ct(e){if(Array.isArray(e))return Et(e)}function wt(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(!n){if(Array.isArray(e)||(n=Tt(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
557
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||n.return==null||n.return()}finally{if(s)throw a}}}}function Tt(e,t){if(e){if(typeof e==`string`)return Et(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Et(e,t):void 0}}function Et(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Dt={name:`DatePicker`,extends:ht,inheritAttrs:!1,emits:[`show`,`hide`,`input`,`month-change`,`year-change`,`date-select`,`today-click`,`clear-click`,`focus`,`blur`,`keydown`],inject:{$pcFluid:{default:null}},navigationState:null,timePickerChange:!1,scrollHandler:null,outsideClickListener:null,resizeListener:null,matchMediaListener:null,matchMediaOrientationListener:null,overlay:null,input:null,previousButton:null,nextButton:null,timePickerTimer:null,preventFocus:!1,typeUpdate:!1,data:function(){return{currentMonth:null,currentYear:null,currentHour:null,currentMinute:null,currentSecond:null,pm:null,focused:!1,overlayVisible:!1,currentView:this.view,query:null,queryMatches:!1,queryOrientation:null,focusedDateIndex:0,rawValue:null}},watch:{modelValue:{immediate:!0,handler:function(e){var t;this.rawValue=typeof e==`string`?this.safeParse(e):e,this.updateCurrentMetaData(),!this.typeUpdate&&!this.inline&&this.input&&(this.input.value=this.formatValue(this.rawValue)),this.typeUpdate=!1,(t=this.$refs.clearIcon)!=null&&(t=t.$el)!=null&&t.style&&(this.$refs.clearIcon.$el.style.display=he(e)?`none`:`block`)}},showTime:function(){this.updateCurrentMetaData()},minDate:function(){this.updateCurrentMetaData()},maxDate:function(){this.updateCurrentMetaData()},months:function(){this.overlay&&(this.focused||(this.inline&&(this.preventFocus=!0),setTimeout(this.updateFocus,0)))},numberOfMonths:function(){this.destroyResponsiveStyleElement(),this.createResponsiveStyle()},responsiveOptions:function(){this.destroyResponsiveStyleElement(),this.createResponsiveStyle()},currentView:function(){var e=this;Promise.resolve(null).then(function(){return e.alignOverlay()})},view:function(e){this.currentView=e}},created:function(){this.updateCurrentMetaData()},mounted:function(){if(this.createResponsiveStyle(),this.bindMatchMediaListener(),this.bindMatchMediaOrientationListener(),this.inline)this.disabled||(this.preventFocus=!0,this.initFocusableCell());else{var e;this.input.value=this.inputFieldValue,(e=this.$refs.clearIcon)!=null&&(e=e.$el)!=null&&e.style&&(this.$refs.clearIcon.$el.style.display=this.$filled?`block`:`none`)}},updated:function(){this.overlay&&(this.preventFocus=!0,setTimeout(this.updateFocus,0)),this.input&&this.selectionStart!=null&&this.selectionEnd!=null&&(this.input.selectionStart=this.selectionStart,this.input.selectionEnd=this.selectionEnd,this.selectionStart=null,this.selectionEnd=null)},beforeUnmount:function(){this.timePickerTimer&&clearTimeout(this.timePickerTimer),this.destroyResponsiveStyleElement(),this.unbindOutsideClickListener(),this.unbindResizeListener(),this.unbindMatchMediaListener(),this.unbindMatchMediaOrientationListener(),this.scrollHandler&&=(this.scrollHandler.destroy(),null),this.overlay&&this.autoZIndex&&u.clear(this.overlay),this.overlay=null},methods:{isSelected:function(e){if(this.rawValue){if(this.isSingleSelection())return this.isDateEquals(this.parseValueForComparison(this.rawValue),e);if(this.isMultipleSelection()){var t=!1,n=wt(this.rawValue),r;try{for(n.s();!(r=n.n()).done;){var i=r.value;if(t=this.isDateEquals(this.parseValueForComparison(i),e),t)break}}catch(e){n.e(e)}finally{n.f()}return t}else if(this.isRangeSelection()){var a=this.parseValueForComparison(this.rawValue[0]);if(this.rawValue[1]){var o=this.parseValueForComparison(this.rawValue[1]);return this.isDateEquals(a,e)||this.isDateEquals(o,e)||this.isDateBetween(a,o,e)}else return this.isDateEquals(a,e)}}return!1},isMonthSelected:function(e){var t=this;if(this.isMultipleSelection())return this.rawValue?.some(function(n){var r=t.parseValueForComparison(n);return r.getMonth()===e&&r.getFullYear()===t.currentYear});if(this.isRangeSelection()){var n,r,i=(n=this.rawValue)!=null&&n[0]?this.parseValueForComparison(this.rawValue[0]):null,a=(r=this.rawValue)!=null&&r[1]?this.parseValueForComparison(this.rawValue[1]):null;if(a){var o=new Date(this.currentYear,e,1),s=new Date(i.getFullYear(),i.getMonth(),1),c=new Date(a.getFullYear(),a.getMonth(),1);return o>=s&&o<=c}else return i?.getFullYear()===this.currentYear&&i?.getMonth()===e}else return this.rawValue?.getMonth()===e&&this.rawValue?.getFullYear()===this.currentYear},isYearSelected:function(e){var t=this;if(this.isMultipleSelection())return this.rawValue?.some(function(n){return t.parseValueForComparison(n).getFullYear()===e});if(this.isRangeSelection()){var n,r,i=(n=this.rawValue)!=null&&n[0]?this.parseValueForComparison(this.rawValue[0]):null,a=(r=this.rawValue)!=null&&r[1]?this.parseValueForComparison(this.rawValue[1]):null,o=i?i.getFullYear():null,s=a?a.getFullYear():null;return o===e||s===e||o<e&&s>e}else return this.rawValue?.getFullYear()===e},isDateEquals:function(e,t){return e?e.getDate()===t.day&&e.getMonth()===t.month&&e.getFullYear()===t.year:!1},isDateBetween:function(e,t,n){var r=!1,i=this.parseValueForComparison(e),a=this.parseValueForComparison(t);if(i&&a){var o=new Date(n.year,n.month,n.day);return i.getTime()<=o.getTime()&&a.getTime()>=o.getTime()}return r},getFirstDayOfMonthIndex:function(e,t){var n=new Date;n.setDate(1),n.setMonth(e),n.setFullYear(t);var r=n.getDay()+this.sundayIndex;return r>=7?r-7:r},getDaysCountInMonth:function(e,t){return 32-this.daylightSavingAdjust(new Date(t,e,32)).getDate()},getDaysCountInPrevMonth:function(e,t){var n=this.getPreviousMonthAndYear(e,t);return this.getDaysCountInMonth(n.month,n.year)},getPreviousMonthAndYear:function(e,t){var n,r;return e===0?(n=11,r=t-1):(n=e-1,r=t),{month:n,year:r}},getNextMonthAndYear:function(e,t){var n,r;return e===11?(n=0,r=t+1):(n=e+1,r=t),{month:n,year:r}},daylightSavingAdjust:function(e){return e?(e.setHours(e.getHours()>12?e.getHours()+2:0),e):null},isToday:function(e,t,n,r){return e.getDate()===t&&e.getMonth()===n&&e.getFullYear()===r},isSelectable:function(e,t,n,r){var i=!0,a=!0,o=!0,s=!0;return r&&!this.selectOtherMonths?!1:(this.minDate&&(this.minDate.getFullYear()>n||this.minDate.getFullYear()===n&&(this.minDate.getMonth()>t||this.minDate.getMonth()===t&&this.minDate.getDate()>e))&&(i=!1),this.maxDate&&(this.maxDate.getFullYear()<n||this.maxDate.getFullYear()===n&&(this.maxDate.getMonth()<t||this.maxDate.getMonth()===t&&this.maxDate.getDate()<e))&&(a=!1),this.disabledDates&&(o=!this.isDateDisabled(e,t,n)),this.disabledDays&&(s=!this.isDayDisabled(e,t,n)),i&&a&&o&&s)},onOverlayEnter:function(e){m(e,this.inline?void 0:{position:`absolute`,top:`0`}),this.autoZIndex&&u.set(`overlay`,e,this.baseZIndex||this.$primevue.config.zIndex.overlay),this.$attrSelector&&e.setAttribute(this.$attrSelector,``),this.alignOverlay(),this.$emit(`show`)},onOverlayEnterComplete:function(){this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener()},onOverlayAfterLeave:function(e){this.autoZIndex&&u.clear(e)},onOverlayLeave:function(){this.currentView=this.view,this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),this.$emit(`hide`),this.overlay=null},onPrevButtonClick:function(e){this.navigationState={backward:!0,button:!0},this.navBackward(e)},onNextButtonClick:function(e){this.navigationState={backward:!1,button:!0},this.navForward(e)},navBackward:function(e){e.preventDefault(),this.isEnabled()&&(this.currentView===`month`?(this.decrementYear(),this.$emit(`year-change`,{month:this.currentMonth,year:this.currentYear})):this.currentView===`year`?this.decrementDecade():e.shiftKey?this.decrementYear():(this.currentMonth===0?(this.currentMonth=11,this.decrementYear()):this.currentMonth--,this.$emit(`month-change`,{month:this.currentMonth+1,year:this.currentYear})))},navForward:function(e){e.preventDefault(),this.isEnabled()&&(this.currentView===`month`?(this.incrementYear(),this.$emit(`year-change`,{month:this.currentMonth,year:this.currentYear})):this.currentView===`year`?this.incrementDecade():e.shiftKey?this.incrementYear():(this.currentMonth===11?(this.currentMonth=0,this.incrementYear()):this.currentMonth++,this.$emit(`month-change`,{month:this.currentMonth+1,year:this.currentYear})))},decrementYear:function(){this.currentYear--},decrementDecade:function(){this.currentYear-=10},incrementYear:function(){this.currentYear++},incrementDecade:function(){this.currentYear+=10},switchToMonthView:function(e){this.currentView=`month`,setTimeout(this.updateFocus,0),e.preventDefault()},switchToYearView:function(e){this.currentView=`year`,setTimeout(this.updateFocus,0),e.preventDefault()},isEnabled:function(){return!this.disabled&&!this.readonly},updateCurrentTimeMeta:function(e){var t=e.getHours();this.hourFormat===`12`&&(this.pm=t>11,t>=12&&(t=t==12?12:t-12)),this.currentHour=Math.floor(t/this.stepHour)*this.stepHour,this.currentMinute=Math.floor(e.getMinutes()/this.stepMinute)*this.stepMinute,this.currentSecond=Math.floor(e.getSeconds()/this.stepSecond)*this.stepSecond},bindOutsideClickListener:function(){var e=this;this.outsideClickListener||(this.outsideClickListener=function(t){e.overlayVisible&&e.isOutsideClicked(t)&&(e.overlayVisible=!1)},document.addEventListener(`mousedown`,this.outsideClickListener))},unbindOutsideClickListener:function(){this.outsideClickListener&&=(document.removeEventListener(`mousedown`,this.outsideClickListener),null)},bindScrollListener:function(){var e=this;this.scrollHandler||=new xe(this.$refs.container,function(){e.overlayVisible&&=!1}),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var e=this;this.resizeListener||(this.resizeListener=function(){e.overlayVisible&&!g()&&(e.overlayVisible=!1)},window.addEventListener(`resize`,this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&=(window.removeEventListener(`resize`,this.resizeListener),null)},bindMatchMediaListener:function(){var e=this;if(!this.matchMediaListener){var t=matchMedia(`(max-width: ${this.breakpoint})`);this.query=t,this.queryMatches=t.matches,this.matchMediaListener=function(){e.queryMatches=t.matches,e.mobileActive=!1},this.query.addEventListener(`change`,this.matchMediaListener)}},unbindMatchMediaListener:function(){this.matchMediaListener&&=(this.query.removeEventListener(`change`,this.matchMediaListener),null)},bindMatchMediaOrientationListener:function(){var e=this;this.matchMediaOrientationListener||(this.queryOrientation=matchMedia(`(orientation: portrait)`),this.matchMediaOrientationListener=function(){e.alignOverlay()},this.queryOrientation.addEventListener(`change`,this.matchMediaOrientationListener))},unbindMatchMediaOrientationListener:function(){this.matchMediaOrientationListener&&=(this.queryOrientation.removeEventListener(`change`,this.matchMediaOrientationListener),this.queryOrientation=null,null)},isOutsideClicked:function(e){var t=e.composedPath();return!(this.$el.isSameNode(e.target)||this.isNavIconClicked(e)||t.includes(this.$el)||t.includes(this.overlay))},isNavIconClicked:function(e){return this.previousButton&&(this.previousButton.isSameNode(e.target)||this.previousButton.contains(e.target))||this.nextButton&&(this.nextButton.isSameNode(e.target)||this.nextButton.contains(e.target))},alignOverlay:function(){this.overlay&&(this.appendTo===`self`||this.inline?ee(this.overlay,this.$el):(this.view===`date`?(this.overlay.style.width=ge(this.overlay)+`px`,this.overlay.style.minWidth=ge(this.$el)+`px`):this.overlay.style.width=ge(this.$el)+`px`,me(this.overlay,this.$el)))},onButtonClick:function(){this.isEnabled()&&(this.overlayVisible?this.overlayVisible=!1:(this.input.focus(),this.overlayVisible=!0))},isDateDisabled:function(e,t,n){if(this.disabledDates){var r=wt(this.disabledDates),i;try{for(r.s();!(i=r.n()).done;){var a=i.value;if(a.getFullYear()===n&&a.getMonth()===t&&a.getDate()===e)return!0}}catch(e){r.e(e)}finally{r.f()}}return!1},isDayDisabled:function(e,t,n){if(this.disabledDays){var r=new Date(n,t,e).getDay();return this.disabledDays.indexOf(r)!==-1}return!1},onMonthDropdownChange:function(e){this.currentMonth=parseInt(e),this.$emit(`month-change`,{month:this.currentMonth+1,year:this.currentYear})},onYearDropdownChange:function(e){this.currentYear=parseInt(e),this.$emit(`year-change`,{month:this.currentMonth,year:this.currentYear})},onDateSelect:function(e,t){var n=this;if(!(this.disabled||!t.selectable)){if(we(this.overlay,`table td span:not([data-p-disabled="true"])`).forEach(function(e){return e.tabIndex=-1}),e&&e.currentTarget.focus(),this.isMultipleSelection()&&this.isSelected(t)){var r=this.rawValue.filter(function(e){return!n.isDateEquals(n.parseValueForComparison(e),t)});this.updateModel(r)}else this.shouldSelectDate(t)&&(t.otherMonth?(this.currentMonth=t.month,this.currentYear=t.year,this.selectDate(t)):this.selectDate(t));this.isSingleSelection()&&(!this.showTime||this.hideOnDateTimeSelect)&&(this.input&&this.input.focus(),setTimeout(function(){n.overlayVisible=!1},150))}},selectDate:function(e){var t=this,n=new Date(e.year,e.month,e.day);this.showTime&&(this.hourFormat===`12`&&this.currentHour!==12&&this.pm?n.setHours(this.currentHour+12):n.setHours(this.currentHour),n.setMinutes(this.currentMinute),n.setSeconds(this.showSeconds?this.currentSecond:0)),this.minDate&&this.minDate>n&&(n=this.minDate,this.currentHour=n.getHours(),this.currentMinute=n.getMinutes(),this.currentSecond=n.getSeconds()),this.maxDate&&this.maxDate<n&&(n=this.maxDate,this.currentHour=n.getHours(),this.currentMinute=n.getMinutes(),this.currentSecond=n.getSeconds());var r=null;if(this.isSingleSelection())r=n;else if(this.isMultipleSelection())r=this.rawValue?[].concat(bt(this.rawValue),[n]):[n];else if(this.isRangeSelection())if(this.rawValue&&this.rawValue.length){var i=this.parseValueForComparison(this.rawValue[0]),a=this.rawValue[1];!a&&n.getTime()>=i.getTime()?(a=n,this.focusedDateIndex=1):(i=n,a=null,this.focusedDateIndex=0),r=[i,a]}else r=[n,null],this.focusedDateIndex=0;r!==null&&this.updateModel(r),this.isRangeSelection()&&this.hideOnRangeSelection&&r[1]!==null&&setTimeout(function(){t.overlayVisible=!1},150),this.$emit(`date-select`,n)},updateModel:function(e){var t=this;if(this.rawValue=e,this.updateModelType===`date`)if(this.isSingleSelection())this.writeValue(e);else{var n=null;Array.isArray(e)&&(n=e.map(function(e){return t.parseValueForComparison(e)})),this.writeValue(n)}else if(this.updateModelType==`string`){if(this.isSingleSelection())this.writeValue(this.formatDateTime(e));else if(this.isMultipleSelection()){var r=null;Array.isArray(e)&&(r=e.map(function(e){return t.formatDateTime(e)})),this.writeValue(r)}else if(this.isRangeSelection()){var i=null;Array.isArray(e)&&(i=e.map(function(e){return e==null?null:typeof e==`string`?e:t.formatDateTime(e)})),this.writeValue(i)}}},shouldSelectDate:function(){return this.isMultipleSelection()?this.maxDateCount==null?!0:this.maxDateCount>(this.rawValue?this.rawValue.length:0):!0},isSingleSelection:function(){return this.selectionMode===`single`},isRangeSelection:function(){return this.selectionMode===`range`},isMultipleSelection:function(){return this.selectionMode===`multiple`},formatValue:function(e){if(typeof e==`string`)return this.dateFormat?isNaN(new Date(e))?e:this.formatDate(new Date(e),this.dateFormat):e;var t=``;if(e)try{if(this.isSingleSelection())t=this.formatDateTime(e);else if(this.isMultipleSelection())for(var n=0;n<e.length;n++){var r=typeof e[n]==`string`?this.formatDateTime(this.parseValueForComparison(e[n])):this.formatDateTime(e[n]);t+=r,n!==e.length-1&&(t+=`, `)}else if(this.isRangeSelection()&&e&&e.length){var i=this.parseValueForComparison(e[0]),a=this.parseValueForComparison(e[1]);t=this.formatDateTime(i),a&&(t+=` - `+this.formatDateTime(a))}}catch{t=e}return t},formatDateTime:function(e){var t=null;return H(e)&&M(e)?this.timeOnly?t=this.formatTime(e):(t=this.formatDate(e,this.datePattern),this.showTime&&(t+=` `+this.formatTime(e))):this.updateModelType===`string`&&(t=e),t},formatDate:function(e,t){if(!e)return``;var n,r=function(e){var r=n+1<t.length&&t.charAt(n+1)===e;return r&&n++,r},i=function(e,t,n){var i=``+t;if(r(e))for(;i.length<n;)i=`0`+i;return i},a=function(e,t,n,i){return r(e)?i[t]:n[t]},o=``,s=!1;if(e)for(n=0;n<t.length;n++)if(s)t.charAt(n)===`'`&&!r(`'`)?s=!1:o+=t.charAt(n);else switch(t.charAt(n)){case`d`:o+=i(`d`,e.getDate(),2);break;case`D`:o+=a(`D`,e.getDay(),this.$primevue.config.locale.dayNamesShort,this.$primevue.config.locale.dayNames);break;case`o`:o+=i(`o`,Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case`m`:o+=i(`m`,e.getMonth()+1,2);break;case`M`:o+=a(`M`,e.getMonth(),this.$primevue.config.locale.monthNamesShort,this.$primevue.config.locale.monthNames);break;case`y`:o+=r(`y`)?e.getFullYear():(e.getFullYear()%100<10?`0`:``)+e.getFullYear()%100;break;case`@`:o+=e.getTime();break;case`!`:o+=e.getTime()*1e4+this.ticksTo1970;break;case`'`:r(`'`)?o+=`'`:s=!0;break;default:o+=t.charAt(n)}return o},formatTime:function(e){if(!e)return``;var t=``,n=e.getHours(),r=e.getMinutes(),i=e.getSeconds();return this.hourFormat===`12`&&n>11&&n!==12&&(n-=12),this.hourFormat===`12`?t+=n===0?12:n<10?`0`+n:n:t+=n<10?`0`+n:n,t+=`:`,t+=r<10?`0`+r:r,this.showSeconds&&(t+=`:`,t+=i<10?`0`+i:i),this.hourFormat===`12`&&(t+=e.getHours()>11?` ${this.$primevue.config.locale.pm}`:` ${this.$primevue.config.locale.am}`),t},onTodayButtonClick:function(e){var t=new Date,n={day:t.getDate(),month:t.getMonth(),year:t.getFullYear(),otherMonth:t.getMonth()!==this.currentMonth||t.getFullYear()!==this.currentYear,today:!0,selectable:!0};this.onDateSelect(null,n),this.$emit(`today-click`,t),e.preventDefault()},onClearButtonClick:function(e){this.updateModel(null),this.overlayVisible=!1,this.$emit(`clear-click`,e),e.preventDefault()},onTimePickerElementMouseDown:function(e,t,n){this.isEnabled()&&(this.repeat(e,null,t,n),e.preventDefault())},onTimePickerElementMouseUp:function(e){this.isEnabled()&&(this.clearTimePickerTimer(),this.updateModelTime(),e.preventDefault())},onTimePickerElementMouseLeave:function(){this.clearTimePickerTimer()},onTimePickerElementKeyDown:function(e,t,n){switch(e.code){case`Enter`:case`NumpadEnter`:case`Space`:this.isEnabled()&&(this.repeat(e,null,t,n),e.preventDefault());break}},onTimePickerElementKeyUp:function(e){switch(e.code){case`Enter`:case`NumpadEnter`:case`Space`:this.isEnabled()&&(this.clearTimePickerTimer(),this.updateModelTime(),e.preventDefault());break}},repeat:function(e,t,n,r){var i=this,a=t||500;switch(this.clearTimePickerTimer(),this.timePickerTimer=setTimeout(function(){i.repeat(e,100,n,r)},a),n){case 0:r===1?this.incrementHour(e):this.decrementHour(e);break;case 1:r===1?this.incrementMinute(e):this.decrementMinute(e);break;case 2:r===1?this.incrementSecond(e):this.decrementSecond(e);break}},convertTo24Hour:function(e,t){return this.hourFormat==`12`?e===12?t?12:0:t?e+12:e:e},validateTime:function(e,t,n,r){var i=this.viewDate,a=this.convertTo24Hour(e,r);this.isRangeSelection()&&(i=this.rawValue?this.rawValue[1]||this.rawValue[0]:i),this.isMultipleSelection()&&(i=this.rawValue?this.rawValue[this.rawValue.length-1]:i);var o=i?i.toDateString():null;return!(this.minDate&&o&&this.minDate.toDateString()===o&&(this.minDate.getHours()>a||this.minDate.getHours()===a&&(this.minDate.getMinutes()>t||this.minDate.getMinutes()===t&&this.minDate.getSeconds()>n))||this.maxDate&&o&&this.maxDate.toDateString()===o&&(this.maxDate.getHours()<a||this.maxDate.getHours()===a&&(this.maxDate.getMinutes()<t||this.maxDate.getMinutes()===t&&this.maxDate.getSeconds()<n)))},incrementHour:function(e){var t=this.currentHour,n=this.currentHour+Number(this.stepHour),r=this.pm;this.hourFormat==`24`?n=n>=24?n-24:n:this.hourFormat==`12`&&(t<12&&n>11&&(r=!this.pm),n=n>=13?n-12:n),this.validateTime(n,this.currentMinute,this.currentSecond,r)&&(this.currentHour=n,this.pm=r),e.preventDefault()},decrementHour:function(e){var t=this.currentHour-this.stepHour,n=this.pm;this.hourFormat==`24`?t=t<0?24+t:t:this.hourFormat==`12`&&(this.currentHour===12&&(n=!this.pm),t=t<=0?12+t:t),this.validateTime(t,this.currentMinute,this.currentSecond,n)&&(this.currentHour=t,this.pm=n),e.preventDefault()},incrementMinute:function(e){var t=this.currentMinute+Number(this.stepMinute);this.validateTime(this.currentHour,t,this.currentSecond,this.pm)&&(this.currentMinute=t>59?t-60:t),e.preventDefault()},decrementMinute:function(e){var t=this.currentMinute-this.stepMinute;t=t<0?60+t:t,this.validateTime(this.currentHour,t,this.currentSecond,this.pm)&&(this.currentMinute=t),e.preventDefault()},incrementSecond:function(e){var t=this.currentSecond+Number(this.stepSecond);this.validateTime(this.currentHour,this.currentMinute,t,this.pm)&&(this.currentSecond=t>59?t-60:t),e.preventDefault()},decrementSecond:function(e){var t=this.currentSecond-this.stepSecond;t=t<0?60+t:t,this.validateTime(this.currentHour,this.currentMinute,t,this.pm)&&(this.currentSecond=t),e.preventDefault()},updateModelTime:function(){var e=this;this.timePickerChange=!0;var t=this.viewDate;this.isRangeSelection()&&(t=this.rawValue?this.rawValue[this.focusedDateIndex]||this.rawValue[0]:t),this.isMultipleSelection()&&(t=this.rawValue?this.rawValue[this.rawValue.length-1]:t),t=t?new Date(t.getTime()):new Date,this.hourFormat==`12`?this.currentHour===12?t.setHours(this.pm?12:0):t.setHours(this.pm?this.currentHour+12:this.currentHour):t.setHours(this.currentHour),t.setMinutes(this.currentMinute),t.setSeconds(this.currentSecond),this.isRangeSelection()&&(t=this.rawValue&&this.focusedDateIndex===1&&this.rawValue[1]?[this.rawValue[0],t]:this.rawValue&&this.focusedDateIndex===0?[t,this.rawValue[1]]:[t,null]),this.isMultipleSelection()&&(t=this.rawValue?[].concat(bt(this.rawValue.slice(0,-1)),[t]):[t]),this.updateModel(t),this.$emit(`date-select`,t),setTimeout(function(){return e.timePickerChange=!1},0)},toggleAMPM:function(e){!this.validateTime(this.currentHour,this.currentMinute,this.currentSecond,!this.pm)&&(this.maxDate||this.minDate)||(this.pm=!this.pm,this.updateModelTime(),e.preventDefault())},clearTimePickerTimer:function(){this.timePickerTimer&&clearInterval(this.timePickerTimer)},onMonthSelect:function(e,t){t.month;var n=t.index;this.view===`month`?this.onDateSelect(e,{year:this.currentYear,month:n,day:1,selectable:!0}):(this.currentMonth=n,this.currentView=`date`,this.$emit(`month-change`,{month:this.currentMonth+1,year:this.currentYear})),setTimeout(this.updateFocus,0)},onYearSelect:function(e,t){this.view===`year`?this.onDateSelect(e,{year:t.value,month:0,day:1,selectable:!0}):(this.currentYear=t.value,this.currentView=`month`,this.$emit(`year-change`,{month:this.currentMonth,year:this.currentYear})),setTimeout(this.updateFocus,0)},updateCurrentMetaData:function(){var e=this.viewDate;if(this.currentMonth=e.getMonth(),this.currentYear=e.getFullYear(),this.showTime||this.timeOnly){var t=e;this.isRangeSelection()&&this.rawValue&&this.rawValue[this.focusedDateIndex]&&(t=this.rawValue[this.focusedDateIndex]),this.updateCurrentTimeMeta(t)}},isValidSelection:function(e){var t=this;if(e==null)return!0;var n=!0;return this.isSingleSelection()?this.isSelectable(e.getDate(),e.getMonth(),e.getFullYear(),!1)||(n=!1):e.every(function(e){return t.isSelectable(e.getDate(),e.getMonth(),e.getFullYear(),!1)})&&this.isRangeSelection()&&(n=e.length>1&&e[1]>=e[0]),n},parseValue:function(e){if(!e||e.trim().length===0)return null;var t;if(this.isSingleSelection())t=this.parseDateTime(e);else if(this.isMultipleSelection()){var n=e.split(`,`);t=[];var r=wt(n),i;try{for(r.s();!(i=r.n()).done;){var a=i.value;t.push(this.parseDateTime(a.trim()))}}catch(e){r.e(e)}finally{r.f()}}else if(this.isRangeSelection()){var o=e.split(` - `);t=[];for(var s=0;s<o.length;s++)t[s]=this.parseDateTime(o[s].trim())}return t},safeParse:function(e){try{return this.parseValue(e)}catch{var t=new Date(e);return isNaN(t.getTime())?null:this.isSingleSelection()?t:[t]}},parseValueForComparison:function(e){if(typeof e==`string`){var t=this.parseValue(e);return this.isSingleSelection()?t:t[0]}return e},parseDateTime:function(e){var t,n=`${this.$primevue.config.locale.am}|${this.$primevue.config.locale.pm}|am|pm`,r=e.match(RegExp(`(?:(.+?) )?(\\d{2}:\\d{2}(?::\\d{2})?)(?:\\s+(${n}))?`,`i`));if(this.timeOnly)t=new Date,this.populateTime(t,r[2],r[3]);else{var i=this.datePattern;this.showTime?(t=this.parseDate(r[1],i),this.populateTime(t,r[2],r[3])):t=this.parseDate(e,i)}return t},populateTime:function(e,t,n){if(this.hourFormat==`12`&&!n)throw`Invalid Time`;this.pm=n.toLowerCase()===this.$primevue.config.locale.pm.toLowerCase()||n.toLowerCase()===`pm`;var r=this.parseTime(t);e.setHours(r.hour),e.setMinutes(r.minute),e.setSeconds(r.second)},parseTime:function(e){var t=e.split(`:`),n=this.showSeconds?3:2,r=/^[0-9][0-9]$/;if(t.length!==n||!t[0].match(r)||!t[1].match(r)||this.showSeconds&&!t[2].match(r))throw`Invalid time`;var i=parseInt(t[0]),a=parseInt(t[1]),o=this.showSeconds?parseInt(t[2]):null;if(isNaN(i)||isNaN(a)||i>23||a>59||this.hourFormat==`12`&&i>12||this.showSeconds&&(isNaN(o)||o>59))throw`Invalid time`;return this.hourFormat==`12`&&i!==12&&this.pm?i+=12:this.hourFormat==`12`&&i==12&&!this.pm&&(i=0),{hour:i,minute:a,second:o}},parseDate:function(e,t){if(t==null||e==null)throw`Invalid arguments`;if(e=yt(e)===`object`?e.toString():e+``,e===``)return null;var n,r,i,a=0,o=typeof this.shortYearCutoff==`string`?new Date().getFullYear()%100+parseInt(this.shortYearCutoff,10):this.shortYearCutoff,s=-1,c=-1,l=-1,u=-1,d=!1,f,p=function(e){var r=n+1<t.length&&t.charAt(n+1)===e;return r&&n++,r},m=function(t){var n=p(t),r=t===`@`?14:t===`!`?20:t===`y`&&n?4:t===`o`?3:2,i=t===`y`?r:1,o=RegExp(`^\\d{`+i+`,`+r+`}`),s=e.substring(a).match(o);if(!s)throw`Missing number at position `+a;return a+=s[0].length,parseInt(s[0],10)},h=function(t,n,r){for(var i=-1,o=p(t)?r:n,s=[],c=0;c<o.length;c++)s.push([c,o[c]]);s.sort(function(e,t){return-(e[1].length-t[1].length)});for(var l=0;l<s.length;l++){var u=s[l][1];if(e.substr(a,u.length).toLowerCase()===u.toLowerCase()){i=s[l][0],a+=u.length;break}}if(i!==-1)return i+1;throw`Unknown name at position `+a},g=function(){if(e.charAt(a)!==t.charAt(n))throw`Unexpected literal at position `+a;a++};for(this.currentView===`month`&&(l=1),this.currentView===`year`&&(l=1,c=1),n=0;n<t.length;n++)if(d)t.charAt(n)===`'`&&!p(`'`)?d=!1:g();else switch(t.charAt(n)){case`d`:l=m(`d`);break;case`D`:h(`D`,this.$primevue.config.locale.dayNamesShort,this.$primevue.config.locale.dayNames);break;case`o`:u=m(`o`);break;case`m`:c=m(`m`);break;case`M`:c=h(`M`,this.$primevue.config.locale.monthNamesShort,this.$primevue.config.locale.monthNames);break;case`y`:s=m(`y`);break;case`@`:f=new Date(m(`@`)),s=f.getFullYear(),c=f.getMonth()+1,l=f.getDate();break;case`!`:f=new Date((m(`!`)-this.ticksTo1970)/1e4),s=f.getFullYear(),c=f.getMonth()+1,l=f.getDate();break;case`'`:p(`'`)?g():d=!0;break;default:g()}if(a<e.length&&(i=e.substr(a),!/^\s+/.test(i)))throw`Extra/unparsed characters found in date: `+i;if(s===-1?s=new Date().getFullYear():s<100&&(s+=new Date().getFullYear()-new Date().getFullYear()%100+(s<=o?0:-100)),u>-1){c=1,l=u;do{if(r=this.getDaysCountInMonth(c-1,s),l<=r)break;c++,l-=r}while(!0)}if(f=this.daylightSavingAdjust(new Date(s,c-1,l)),f.getFullYear()!==s||f.getMonth()+1!==c||f.getDate()!==l)throw`Invalid date`;return f},getWeekNumber:function(e){var t=new Date(e.getTime());t.setDate(t.getDate()+4-(t.getDay()||7));var n=t.getTime();return t.setMonth(0),t.setDate(1),Math.floor(Math.round((n-t.getTime())/864e5)/7)+1},onDateCellKeydown:function(e,t,n){e.preventDefault();var r=e.currentTarget,i=r.parentElement,a=b(i);switch(e.code){case`ArrowDown`:if(r.tabIndex=`-1`,i.parentElement.nextElementSibling){var s=b(i.parentElement),c=Array.from(i.parentElement.parentElement.children).slice(s+1).find(function(e){var t=e.children[a].children[0];return!o(t,`data-p-disabled`)});if(c){var l=c.children[a].children[0];l.tabIndex=`0`,l.focus()}else this.navigationState={backward:!1},this.navForward(e)}else this.navigationState={backward:!1},this.navForward(e);e.preventDefault();break;case`ArrowUp`:if(r.tabIndex=`-1`,e.altKey)this.overlayVisible=!1,this.focused=!0;else if(i.parentElement.previousElementSibling){var u=b(i.parentElement),d=Array.from(i.parentElement.parentElement.children).slice(0,u).reverse().find(function(e){var t=e.children[a].children[0];return!o(t,`data-p-disabled`)});if(d){var f=d.children[a].children[0];f.tabIndex=`0`,f.focus()}else this.navigationState={backward:!0},this.navBackward(e)}else this.navigationState={backward:!0},this.navBackward(e);e.preventDefault();break;case`ArrowLeft`:if(r.tabIndex=`-1`,i.previousElementSibling){var p=Array.from(i.parentElement.children).slice(0,a).reverse().find(function(e){var t=e.children[0];return!o(t,`data-p-disabled`)});if(p){var m=p.children[0];m.tabIndex=`0`,m.focus()}else this.navigateToMonth(e,!0,n)}else this.navigateToMonth(e,!0,n);e.preventDefault();break;case`ArrowRight`:if(r.tabIndex=`-1`,i.nextElementSibling){var h=Array.from(i.parentElement.children).slice(a+1).find(function(e){var t=e.children[0];return!o(t,`data-p-disabled`)});if(h){var g=h.children[0];g.tabIndex=`0`,g.focus()}else this.navigateToMonth(e,!1,n)}else this.navigateToMonth(e,!1,n);e.preventDefault();break;case`Enter`:case`NumpadEnter`:case`Space`:this.onDateSelect(e,t),e.preventDefault();break;case`Escape`:this.overlayVisible=!1,e.preventDefault();break;case`Tab`:this.inline||this.trapFocus(e);break;case`Home`:r.tabIndex=`-1`;var _=i.parentElement.children[0].children[0];o(_,`data-p-disabled`)?this.navigateToMonth(e,!0,n):(_.tabIndex=`0`,_.focus()),e.preventDefault();break;case`End`:r.tabIndex=`-1`;var v=i.parentElement,y=v.children[v.children.length-1].children[0];o(y,`data-p-disabled`)?this.navigateToMonth(e,!1,n):(y.tabIndex=`0`,y.focus()),e.preventDefault();break;case`PageUp`:r.tabIndex=`-1`,e.shiftKey?(this.navigationState={backward:!0},this.navBackward(e)):this.navigateToMonth(e,!0,n),e.preventDefault();break;case`PageDown`:r.tabIndex=`-1`,e.shiftKey?(this.navigationState={backward:!1},this.navForward(e)):this.navigateToMonth(e,!1,n),e.preventDefault();break}},navigateToMonth:function(e,t,n){if(t)if(this.numberOfMonths===1||n===0)this.navigationState={backward:!0},this.navBackward(e);else{var r=this.overlay.children[n-1],i=we(r,`table td span:not([data-p-disabled="true"]):not([data-p-ink="true"])`),a=i[i.length-1];a.tabIndex=`0`,a.focus()}else if(this.numberOfMonths===1||n===this.numberOfMonths-1)this.navigationState={backward:!1},this.navForward(e);else{var o=this.overlay.children[n+1],s=R(o,`table td span:not([data-p-disabled="true"]):not([data-p-ink="true"])`);s.tabIndex=`0`,s.focus()}},onMonthCellKeydown:function(e,t){var n=e.currentTarget;switch(e.code){case`ArrowUp`:case`ArrowDown`:n.tabIndex=`-1`;var r=n.parentElement.children,i=b(n),a=r[e.code===`ArrowDown`?i+3:i-3];a&&(a.tabIndex=`0`,a.focus()),e.preventDefault();break;case`ArrowLeft`:n.tabIndex=`-1`;var o=n.previousElementSibling;o?(o.tabIndex=`0`,o.focus()):(this.navigationState={backward:!0},this.navBackward(e)),e.preventDefault();break;case`ArrowRight`:n.tabIndex=`-1`;var s=n.nextElementSibling;s?(s.tabIndex=`0`,s.focus()):(this.navigationState={backward:!1},this.navForward(e)),e.preventDefault();break;case`PageUp`:if(e.shiftKey)return;this.navigationState={backward:!0},this.navBackward(e);break;case`PageDown`:if(e.shiftKey)return;this.navigationState={backward:!1},this.navForward(e);break;case`Enter`:case`NumpadEnter`:case`Space`:this.onMonthSelect(e,t),e.preventDefault();break;case`Escape`:this.overlayVisible=!1,e.preventDefault();break;case`Tab`:this.trapFocus(e);break}},onYearCellKeydown:function(e,t){var n=e.currentTarget;switch(e.code){case`ArrowUp`:case`ArrowDown`:n.tabIndex=`-1`;var r=n.parentElement.children,i=b(n),a=r[e.code===`ArrowDown`?i+2:i-2];a&&(a.tabIndex=`0`,a.focus()),e.preventDefault();break;case`ArrowLeft`:n.tabIndex=`-1`;var o=n.previousElementSibling;o?(o.tabIndex=`0`,o.focus()):(this.navigationState={backward:!0},this.navBackward(e)),e.preventDefault();break;case`ArrowRight`:n.tabIndex=`-1`;var s=n.nextElementSibling;s?(s.tabIndex=`0`,s.focus()):(this.navigationState={backward:!1},this.navForward(e)),e.preventDefault();break;case`PageUp`:if(e.shiftKey)return;this.navigationState={backward:!0},this.navBackward(e);break;case`PageDown`:if(e.shiftKey)return;this.navigationState={backward:!1},this.navForward(e);break;case`Enter`:case`NumpadEnter`:case`Space`:this.onYearSelect(e,t),e.preventDefault();break;case`Escape`:this.overlayVisible=!1,e.preventDefault();break;case`Tab`:this.trapFocus(e);break}},updateFocus:function(){var e;if(this.navigationState){if(this.navigationState.button)this.initFocusableCell(),this.navigationState.backward?this.previousButton&&this.previousButton.focus():this.nextButton&&this.nextButton.focus();else{if(this.navigationState.backward){var t=this.currentView===`month`?we(this.overlay,`[data-pc-section="monthview"] [data-pc-section="month"]:not([data-p-disabled="true"])`):this.currentView===`year`?we(this.overlay,`[data-pc-section="yearview"] [data-pc-section="year"]:not([data-p-disabled="true"])`):we(this.overlay,`table td span:not([data-p-disabled="true"]):not([data-p-ink="true"])`);t&&t.length>0&&(e=t[t.length-1])}else e=this.currentView===`month`?R(this.overlay,`[data-pc-section="monthview"] [data-pc-section="month"]:not([data-p-disabled="true"])`):this.currentView===`year`?R(this.overlay,`[data-pc-section="yearview"] [data-pc-section="year"]:not([data-p-disabled="true"])`):R(this.overlay,`table td span:not([data-p-disabled="true"]):not([data-p-ink="true"])`);e&&(e.tabIndex=`0`,e.focus())}this.navigationState=null}else this.initFocusableCell()},initFocusableCell:function(){var e;if(this.currentView===`month`){var t=we(this.overlay,`[data-pc-section="monthview"] [data-pc-section="month"]`),n=R(this.overlay,`[data-pc-section="monthview"] [data-pc-section="month"][data-p-selected="true"]`);t.forEach(function(e){return e.tabIndex=-1}),e=n||t[0]}else if(this.currentView===`year`){var r=we(this.overlay,`[data-pc-section="yearview"] [data-pc-section="year"]`),i=R(this.overlay,`[data-pc-section="yearview"] [data-pc-section="year"][data-p-selected="true"]`);r.forEach(function(e){return e.tabIndex=-1}),e=i||r[0]}else e=R(this.overlay,`span[data-p-selected="true"]`),!e&&(e=R(this.overlay,`td[data-p-today="true"] span:not([data-p-disabled="true"]):not([data-p-ink="true"])`)||R(this.overlay,`.p-datepicker-calendar td span:not([data-p-disabled="true"]):not([data-p-ink="true"])`));e&&(e.tabIndex=`0`,!this.preventFocus&&this.overlay&&!this.overlay.contains(document.activeElement)&&e.focus(),this.preventFocus=!1)},trapFocus:function(e){e.preventDefault();var t=ie(this.overlay);if(t&&t.length>0)if(!document.activeElement)t[0].focus();else{var n=t.indexOf(document.activeElement);if(e.shiftKey)n===-1||n===0?t[t.length-1].focus():t[n-1].focus();else if(n===-1)if(this.timeOnly)t[0].focus();else{var r=t.findIndex(function(e){return e.tagName===`SPAN`});r===-1&&(r=t.findIndex(function(e){return e.tagName===`BUTTON`})),r===-1?t[0].focus():t[r].focus()}else n===t.length-1?t[0].focus():t[n+1].focus()}},onContainerButtonKeydown:function(e){switch(e.code){case`Tab`:this.trapFocus(e);break;case`Escape`:this.overlayVisible=!1,e.preventDefault();break}this.$emit(`keydown`,e)},onInput:function(e){try{var t;this.selectionStart=this.input.selectionStart,this.selectionEnd=this.input.selectionEnd,(t=this.$refs.clearIcon)!=null&&(t=t.$el)!=null&&t.style&&(this.$refs.clearIcon.$el.style.display=he(e.target.value)?`none`:`block`);var n=this.parseValue(e.target.value);this.isValidSelection(n)&&(this.typeUpdate=!0,this.updateModel(this.updateModelType===`string`?this.formatValue(n):n),this.updateCurrentMetaData())}catch{}this.$emit(`input`,e)},onInputClick:function(){this.showOnFocus&&this.isEnabled()&&!this.overlayVisible&&(this.overlayVisible=!0)},onFocus:function(e){this.showOnFocus&&this.isEnabled()&&(this.overlayVisible=!0),this.focused=!0,this.$emit(`focus`,e)},onBlur:function(e){var t,n,r;this.$emit(`blur`,{originalEvent:e,value:e.target.value}),(t=(n=this.formField).onBlur)==null||t.call(n),this.focused=!1,e.target.value=this.formatValue(this.rawValue),(r=this.$refs.clearIcon)!=null&&(r=r.$el)!=null&&r.style&&(this.$refs.clearIcon.$el.style.display=he(e.target.value)?`none`:`block`)},onKeyDown:function(e){if(e.code===`ArrowDown`&&this.overlay)this.trapFocus(e);else if(e.code===`ArrowDown`&&!this.overlay)this.overlayVisible=!0;else if(e.code===`Escape`)this.overlayVisible&&(this.overlayVisible=!1,e.preventDefault(),e.stopPropagation());else if(e.code===`Tab`)this.overlay&&ie(this.overlay).forEach(function(e){return e.tabIndex=`-1`}),this.overlayVisible&&=!1;else if(e.code===`Enter`){if(this.manualInput&&e.target.value!==null&&e.target.value?.trim()!==``)try{var t=this.parseValue(e.target.value);this.isValidSelection(t)&&(this.overlayVisible=!1)}catch{}this.$emit(`keydown`,e)}},overlayRef:function(e){this.overlay=e},inputRef:function(e){this.input=e?e.$el:void 0},previousButtonRef:function(e){this.previousButton=e?e.$el:void 0},nextButtonRef:function(e){this.nextButton=e?e.$el:void 0},getMonthName:function(e){return this.$primevue.config.locale.monthNames[e]},getYear:function(e){return this.currentView===`month`?this.currentYear:e.year},onClearClick:function(){this.updateModel(null),this.overlayVisible=!1},onOverlayClick:function(e){e.stopPropagation(),this.inline||je.emit(`overlay-click`,{originalEvent:e,target:this.$el})},onOverlayKeyDown:function(e){switch(e.code){case`Escape`:this.inline||(this.input.focus(),this.overlayVisible=!1,e.stopPropagation());break}},onOverlayMouseUp:function(e){this.onOverlayClick(e)},createResponsiveStyle:function(){if(this.numberOfMonths>1&&this.responsiveOptions&&!this.isUnstyled){if(!this.responsiveStyleElement){var e;this.responsiveStyleElement=document.createElement(`style`),this.responsiveStyleElement.type=`text/css`,A(this.responsiveStyleElement,`nonce`,(e=this.$primevue)==null||(e=e.config)==null||(e=e.csp)==null?void 0:e.nonce),document.body.appendChild(this.responsiveStyleElement)}var t=``;if(this.responsiveOptions)for(var n=Oe(),r=bt(this.responsiveOptions).filter(function(e){return!!(e.breakpoint&&e.numMonths)}).sort(function(e,t){return-1*n(e.breakpoint,t.breakpoint)}),i=0;i<r.length;i++){for(var a=r[i],o=a.breakpoint,s=a.numMonths,c=`
|
|
558
|
+
.p-datepicker-panel[${this.$attrSelector}] .p-datepicker-calendar:nth-child(${s}) .p-datepicker-next-button {
|
|
559
|
+
display: inline-flex;
|
|
560
|
+
}
|
|
561
|
+
`,l=s;l<this.numberOfMonths;l++)c+=`
|
|
562
|
+
.p-datepicker-panel[${this.$attrSelector}] .p-datepicker-calendar:nth-child(${l+1}) {
|
|
563
|
+
display: none;
|
|
564
|
+
}
|
|
565
|
+
`;t+=`
|
|
566
|
+
@media screen and (max-width: ${o}) {
|
|
567
|
+
${c}
|
|
568
|
+
}
|
|
569
|
+
`}this.responsiveStyleElement.innerHTML=t}},destroyResponsiveStyleElement:function(){this.responsiveStyleElement&&=(this.responsiveStyleElement.remove(),null)},dayDataP:function(e){return N({today:e.today,"other-month":e.otherMonth,selected:this.isSelected(e),disabled:!e.selectable})}},computed:{viewDate:function(){var e=this.rawValue;if(e&&Array.isArray(e))if(this.isRangeSelection())if(e.length===0)e=null;else if(e.length===1)e=e[0];else{var t=this.parseValueForComparison(e[0]),n=new Date(t.getFullYear(),t.getMonth()+this.numberOfMonths,1);if(!e[1]||e[1]<n)e=e[0];else{var r=this.parseValueForComparison(e[1]);e=new Date(r.getFullYear(),r.getMonth()-this.numberOfMonths+1,1)}}else this.isMultipleSelection()&&(e=e[e.length-1]);if(e&&typeof e!=`string`)return e;var i=new Date;return this.maxDate&&this.maxDate<i?this.maxDate:this.minDate&&this.minDate>i?this.minDate:i},inputFieldValue:function(){return this.formatValue(this.rawValue)},months:function(){for(var e=[],t=0;t<this.numberOfMonths;t++){var n=this.currentMonth+t,r=this.currentYear;n>11&&(n=n%11-1,r+=1);for(var i=[],a=this.getFirstDayOfMonthIndex(n,r),o=this.getDaysCountInMonth(n,r),s=this.getDaysCountInPrevMonth(n,r),c=1,l=new Date,u=[],d=Math.ceil((o+a)/7),f=0;f<d;f++){var p=[];if(f==0){for(var m=s-a+1;m<=s;m++){var h=this.getPreviousMonthAndYear(n,r);p.push({day:m,month:h.month,year:h.year,otherMonth:!0,today:this.isToday(l,m,h.month,h.year),selectable:this.isSelectable(m,h.month,h.year,!0)})}for(var g=7-p.length,_=0;_<g;_++)p.push({day:c,month:n,year:r,today:this.isToday(l,c,n,r),selectable:this.isSelectable(c,n,r,!1)}),c++}else for(var v=0;v<7;v++){if(c>o){var y=this.getNextMonthAndYear(n,r);p.push({day:c-o,month:y.month,year:y.year,otherMonth:!0,today:this.isToday(l,c-o,y.month,y.year),selectable:this.isSelectable(c-o,y.month,y.year,!0)})}else p.push({day:c,month:n,year:r,today:this.isToday(l,c,n,r),selectable:this.isSelectable(c,n,r,!1)});c++}this.showWeek&&u.push(this.getWeekNumber(new Date(p[0].year,p[0].month,p[0].day))),i.push(p)}e.push({month:n,year:r,dates:i,weekNumbers:u})}return e},weekDays:function(){for(var e=[],t=this.$primevue.config.locale.firstDayOfWeek,n=0;n<7;n++)e.push(this.$primevue.config.locale.dayNamesMin[t]),t=t==6?0:++t;return e},ticksTo1970:function(){return 719162*24*60*60*1e7},sundayIndex:function(){return this.$primevue.config.locale.firstDayOfWeek>0?7-this.$primevue.config.locale.firstDayOfWeek:0},datePattern:function(){return this.dateFormat||this.$primevue.config.locale.dateFormat},monthPickerValues:function(){for(var e=this,t=[],n=function(t){if(e.minDate){var n=e.minDate.getMonth(),r=e.minDate.getFullYear();if(e.currentYear<r||e.currentYear===r&&t<n)return!1}if(e.maxDate){var i=e.maxDate.getMonth(),a=e.maxDate.getFullYear();if(e.currentYear>a||e.currentYear===a&&t>i)return!1}return!0},r=0;r<=11;r++)t.push({value:this.$primevue.config.locale.monthNamesShort[r],selectable:n(r)});return t},yearPickerValues:function(){for(var e=this,t=[],n=this.currentYear-this.currentYear%10,r=function(t){return!(e.minDate&&e.minDate.getFullYear()>t||e.maxDate&&e.maxDate.getFullYear()<t)},i=0;i<10;i++)t.push({value:n+i,selectable:r(n+i)});return t},formattedCurrentHour:function(){return this.currentHour==0&&this.hourFormat==`12`?this.currentHour+12:this.currentHour<10?`0`+this.currentHour:this.currentHour},formattedCurrentMinute:function(){return this.currentMinute<10?`0`+this.currentMinute:this.currentMinute},formattedCurrentSecond:function(){return this.currentSecond<10?`0`+this.currentSecond:this.currentSecond},todayLabel:function(){return this.$primevue.config.locale.today},clearLabel:function(){return this.$primevue.config.locale.clear},weekHeaderLabel:function(){return this.$primevue.config.locale.weekHeader},monthNames:function(){return this.$primevue.config.locale.monthNames},switchViewButtonDisabled:function(){return this.numberOfMonths>1||this.disabled},isClearIconVisible:function(){return this.showClear&&this.rawValue!=null&&!this.disabled},panelId:function(){return this.$id+`_panel`},containerDataP:function(){return N({fluid:this.$fluid})},panelDataP:function(){return N(gt({inline:this.inline},`portal-`+this.appendTo,`portal-`+this.appendTo))},inputIconDataP:function(){return N(gt({},this.size,this.size))},timePickerDataP:function(){return N({"time-only":this.timeOnly})},hourIncrementCallbacks:function(){var e=this;return{mousedown:function(t){return e.onTimePickerElementMouseDown(t,0,1)},mouseup:function(t){return e.onTimePickerElementMouseUp(t)},mouseleave:function(){return e.onTimePickerElementMouseLeave()},keydown:function(t){return e.onTimePickerElementKeyDown(t,0,1)},keyup:function(t){return e.onTimePickerElementKeyUp(t)}}},hourDecrementCallbacks:function(){var e=this;return{mousedown:function(t){return e.onTimePickerElementMouseDown(t,0,-1)},mouseup:function(t){return e.onTimePickerElementMouseUp(t)},mouseleave:function(){return e.onTimePickerElementMouseLeave()},keydown:function(t){return e.onTimePickerElementKeyDown(t,0,-1)},keyup:function(t){return e.onTimePickerElementKeyUp(t)}}},minuteIncrementCallbacks:function(){var e=this;return{mousedown:function(t){return e.onTimePickerElementMouseDown(t,1,1)},mouseup:function(t){return e.onTimePickerElementMouseUp(t)},mouseleave:function(){return e.onTimePickerElementMouseLeave()},keydown:function(t){return e.onTimePickerElementKeyDown(t,1,1)},keyup:function(t){return e.onTimePickerElementKeyUp(t)}}},minuteDecrementCallbacks:function(){var e=this;return{mousedown:function(t){return e.onTimePickerElementMouseDown(t,1,-1)},mouseup:function(t){return e.onTimePickerElementMouseUp(t)},mouseleave:function(){return e.onTimePickerElementMouseLeave()},keydown:function(t){return e.onTimePickerElementKeyDown(t,1,-1)},keyup:function(t){return e.onTimePickerElementKeyUp(t)}}},secondIncrementCallbacks:function(){var e=this;return{mousedown:function(t){return e.onTimePickerElementMouseDown(t,2,1)},mouseup:function(t){return e.onTimePickerElementMouseUp(t)},mouseleave:function(){return e.onTimePickerElementMouseLeave()},keydown:function(t){return e.onTimePickerElementKeyDown(t,2,1)},keyup:function(t){return e.onTimePickerElementKeyUp(t)}}},secondDecrementCallbacks:function(){var e=this;return{mousedown:function(t){return e.onTimePickerElementMouseDown(t,2,-1)},mouseup:function(t){return e.onTimePickerElementMouseUp(t)},mouseleave:function(){return e.onTimePickerElementMouseLeave()},keydown:function(t){return e.onTimePickerElementKeyDown(t,2,-1)},keyup:function(t){return e.onTimePickerElementKeyUp(t)}}}},components:{InputText:te,Button:t,Portal:I,CalendarIcon:ot,ChevronLeftIcon:Ie,ChevronRightIcon:oe,ChevronUpIcon:Ee,ChevronDownIcon:ue,TimesIcon:de},directives:{ripple:_e}},Ot=[`id`,`data-p`],kt=[`disabled`,`aria-label`,`aria-expanded`,`aria-controls`],At=[`data-p`],jt=[`id`,`role`,`aria-modal`,`aria-label`,`data-p`],Mt=[`disabled`,`aria-label`],Nt=[`disabled`,`aria-label`],Pt=[`disabled`,`aria-label`],Ft=[`disabled`,`aria-label`],It=[`data-p-disabled`],Lt=[`abbr`],Rt=[`data-p-disabled`],zt=[`aria-label`,`data-p-today`,`data-p-other-month`],Bt=[`onClick`,`onKeydown`,`aria-selected`,`aria-disabled`,`data-p`],Vt=[`onClick`,`onKeydown`,`data-p-disabled`,`data-p-selected`],Ht=[`onClick`,`onKeydown`,`data-p-disabled`,`data-p-selected`],Ut=[`data-p`];function Wt(e,t,n,i,o,s){var c=Ae(`InputText`),l=Ae(`TimesIcon`),u=Ae(`Button`),p=Ae(`Portal`),m=Me(`ripple`);return U(),a(`span`,W({ref:`container`,id:e.$id,class:e.cx(`root`),style:e.sx(`root`),"data-p":s.containerDataP},e.ptmi(`root`)),[e.inline?G(``,!0):(U(),w(c,{key:0,ref:s.inputRef,id:e.inputId,role:`combobox`,class:d([e.inputClass,e.cx(`pcInputText`)]),style:_(e.inputStyle),defaultValue:s.inputFieldValue,placeholder:e.placeholder,name:e.name,size:e.size,invalid:e.invalid,variant:e.variant,fluid:e.fluid,required:e.required,unstyled:e.unstyled,autocomplete:`off`,"aria-autocomplete":`none`,"aria-haspopup":`dialog`,"aria-expanded":o.overlayVisible,"aria-controls":o.overlayVisible?s.panelId:void 0,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,inputmode:`none`,disabled:e.disabled,readonly:!e.manualInput||e.readonly,tabindex:0,onInput:s.onInput,onClick:s.onInputClick,onFocus:s.onFocus,onBlur:s.onBlur,onKeydown:s.onKeyDown,"data-p-has-dropdown":e.showIcon&&e.iconDisplay===`button`&&!e.inline,"data-p-has-e-icon":e.showIcon&&e.iconDisplay===`input`&&!e.inline,pt:e.ptm(`pcInputText`)},null,8,`id.class.style.defaultValue.placeholder.name.size.invalid.variant.fluid.required.unstyled.aria-expanded.aria-controls.aria-labelledby.aria-label.disabled.readonly.onInput.onClick.onFocus.onBlur.onKeydown.data-p-has-dropdown.data-p-has-e-icon.pt`.split(`.`))),e.showClear&&!e.inline?j(e.$slots,`clearicon`,{key:1,class:d(e.cx(`clearIcon`)),clearCallback:s.onClearClick},function(){return[f(l,W({ref:`clearIcon`,class:[e.cx(`clearIcon`)],onClick:s.onClearClick},e.ptm(`clearIcon`)),null,16,[`class`,`onClick`])]}):G(``,!0),e.showIcon&&e.iconDisplay===`button`&&!e.inline?j(e.$slots,`dropdownbutton`,{key:2,toggleCallback:s.onButtonClick},function(){return[v(`button`,W({class:e.cx(`dropdown`),disabled:e.disabled,onClick:t[0]||=function(){return s.onButtonClick&&s.onButtonClick.apply(s,arguments)},type:`button`,"aria-label":e.$primevue.config.locale.chooseDate,"aria-haspopup":`dialog`,"aria-expanded":o.overlayVisible,"aria-controls":s.panelId},e.ptm(`dropdown`)),[j(e.$slots,`dropdownicon`,{class:d(e.icon)},function(){return[(U(),w(P(e.icon?`span`:`CalendarIcon`),W({class:e.icon},e.ptm(`dropdownIcon`)),null,16,[`class`]))]})],16,kt)]}):e.showIcon&&e.iconDisplay===`input`&&!e.inline?(U(),a(x,{key:3},[e.$slots.inputicon||e.showIcon?(U(),a(`span`,W({key:0,class:e.cx(`inputIconContainer`),"data-p":s.inputIconDataP},e.ptm(`inputIconContainer`)),[j(e.$slots,`inputicon`,{class:d(e.cx(`inputIcon`)),clickCallback:s.onButtonClick},function(){return[(U(),w(P(e.icon?`i`:`CalendarIcon`),W({class:[e.icon,e.cx(`inputIcon`)],onClick:s.onButtonClick},e.ptm(`inputicon`)),null,16,[`class`,`onClick`]))]})],16,At)):G(``,!0)],64)):G(``,!0),f(p,{appendTo:e.appendTo,disabled:e.inline},{default:B(function(){return[f(F,W({name:`p-anchored-overlay`,onEnter:t[58]||=function(e){return s.onOverlayEnter(e)},onAfterEnter:s.onOverlayEnterComplete,onAfterLeave:s.onOverlayAfterLeave,onLeave:s.onOverlayLeave},e.ptm(`transition`)),{default:B(function(){return[e.inline||o.overlayVisible?(U(),a(`div`,W({key:0,ref:s.overlayRef,id:s.panelId,class:[e.cx(`panel`),e.panelClass],style:e.panelStyle,role:e.inline?null:`dialog`,"aria-modal":e.inline?null:`true`,"aria-label":e.$primevue.config.locale.chooseDate,onClick:t[55]||=function(){return s.onOverlayClick&&s.onOverlayClick.apply(s,arguments)},onKeydown:t[56]||=function(){return s.onOverlayKeyDown&&s.onOverlayKeyDown.apply(s,arguments)},onMouseup:t[57]||=function(){return s.onOverlayMouseUp&&s.onOverlayMouseUp.apply(s,arguments)},"data-p":s.panelDataP},e.ptm(`panel`)),[e.timeOnly?G(``,!0):(U(),a(x,{key:0},[v(`div`,W({class:e.cx(`calendarContainer`)},e.ptm(`calendarContainer`)),[(U(!0),a(x,null,L(s.months,function(n,r){return U(),a(`div`,W({key:n.month+n.year,class:e.cx(`calendar`)},{ref_for:!0},e.ptm(`calendar`)),[v(`div`,W({class:e.cx(`header`)},{ref_for:!0},e.ptm(`header`)),[j(e.$slots,`header`),j(e.$slots,`prevbutton`,{actionCallback:function(e){return s.onPrevButtonClick(e)},keydownCallback:function(e){return s.onContainerButtonKeydown(e)}},function(){return[y(f(u,W({ref_for:!0,ref:s.previousButtonRef,class:e.cx(`pcPrevButton`),disabled:e.disabled,"aria-label":o.currentView===`year`?e.$primevue.config.locale.prevDecade:o.currentView===`month`?e.$primevue.config.locale.prevYear:e.$primevue.config.locale.prevMonth,unstyled:e.unstyled,onClick:s.onPrevButtonClick,onKeydown:s.onContainerButtonKeydown},{ref_for:!0},e.navigatorButtonProps,{pt:e.ptm(`pcPrevButton`),"data-pc-group-section":`navigator`}),{icon:B(function(t){return[j(e.$slots,`previcon`,{},function(){return[(U(),w(P(e.prevIcon?`span`:`ChevronLeftIcon`),W({class:[e.prevIcon,t.class]},{ref_for:!0},e.ptm(`pcPrevButton`).icon),null,16,[`class`]))]})]}),_:3},16,[`class`,`disabled`,`aria-label`,`unstyled`,`onClick`,`onKeydown`,`pt`]),[[fe,r===0]])]}),v(`div`,W({class:e.cx(`title`)},{ref_for:!0},e.ptm(`title`)),[e.$primevue.config.locale.showMonthAfterYear?(U(),a(x,{key:0},[o.currentView===`year`?G(``,!0):(U(),a(`button`,W({key:0,type:`button`,onClick:t[1]||=function(){return s.switchToYearView&&s.switchToYearView.apply(s,arguments)},onKeydown:t[2]||=function(){return s.onContainerButtonKeydown&&s.onContainerButtonKeydown.apply(s,arguments)},class:e.cx(`selectYear`),disabled:s.switchViewButtonDisabled,"aria-label":e.$primevue.config.locale.chooseYear},{ref_for:!0},e.ptm(`selectYear`),{"data-pc-group-section":`view`}),C(s.getYear(n)),17,Mt)),o.currentView===`date`?(U(),a(`button`,W({key:1,type:`button`,onClick:t[3]||=function(){return s.switchToMonthView&&s.switchToMonthView.apply(s,arguments)},onKeydown:t[4]||=function(){return s.onContainerButtonKeydown&&s.onContainerButtonKeydown.apply(s,arguments)},class:e.cx(`selectMonth`),disabled:s.switchViewButtonDisabled,"aria-label":e.$primevue.config.locale.chooseMonth},{ref_for:!0},e.ptm(`selectMonth`),{"data-pc-group-section":`view`}),C(s.getMonthName(n.month)),17,Nt)):G(``,!0)],64)):(U(),a(x,{key:1},[o.currentView===`date`?(U(),a(`button`,W({key:0,type:`button`,onClick:t[5]||=function(){return s.switchToMonthView&&s.switchToMonthView.apply(s,arguments)},onKeydown:t[6]||=function(){return s.onContainerButtonKeydown&&s.onContainerButtonKeydown.apply(s,arguments)},class:e.cx(`selectMonth`),disabled:s.switchViewButtonDisabled,"aria-label":e.$primevue.config.locale.chooseMonth},{ref_for:!0},e.ptm(`selectMonth`),{"data-pc-group-section":`view`}),C(s.getMonthName(n.month)),17,Pt)):G(``,!0),o.currentView===`year`?G(``,!0):(U(),a(`button`,W({key:1,type:`button`,onClick:t[7]||=function(){return s.switchToYearView&&s.switchToYearView.apply(s,arguments)},onKeydown:t[8]||=function(){return s.onContainerButtonKeydown&&s.onContainerButtonKeydown.apply(s,arguments)},class:e.cx(`selectYear`),disabled:s.switchViewButtonDisabled,"aria-label":e.$primevue.config.locale.chooseYear},{ref_for:!0},e.ptm(`selectYear`),{"data-pc-group-section":`view`}),C(s.getYear(n)),17,Ft))],64)),o.currentView===`year`?(U(),a(`span`,W({key:2,class:e.cx(`decade`)},{ref_for:!0},e.ptm(`decade`)),[j(e.$slots,`decade`,{years:s.yearPickerValues},function(){return[E(C(s.yearPickerValues[0].value)+` - `+C(s.yearPickerValues[s.yearPickerValues.length-1].value),1)]})],16)):G(``,!0)],16),j(e.$slots,`nextbutton`,{actionCallback:function(e){return s.onNextButtonClick(e)},keydownCallback:function(e){return s.onContainerButtonKeydown(e)}},function(){return[y(f(u,W({ref_for:!0,ref:s.nextButtonRef,class:e.cx(`pcNextButton`),disabled:e.disabled,"aria-label":o.currentView===`year`?e.$primevue.config.locale.nextDecade:o.currentView===`month`?e.$primevue.config.locale.nextYear:e.$primevue.config.locale.nextMonth,unstyled:e.unstyled,onClick:s.onNextButtonClick,onKeydown:s.onContainerButtonKeydown},{ref_for:!0},e.navigatorButtonProps,{pt:e.ptm(`pcNextButton`),"data-pc-group-section":`navigator`}),{icon:B(function(t){return[j(e.$slots,`nexticon`,{},function(){return[(U(),w(P(e.nextIcon?`span`:`ChevronRightIcon`),W({class:[e.nextIcon,t.class]},{ref_for:!0},e.ptm(`pcNextButton`).icon),null,16,[`class`]))]})]}),_:3},16,[`class`,`disabled`,`aria-label`,`unstyled`,`onClick`,`onKeydown`,`pt`]),[[fe,e.numberOfMonths===1?!0:r===e.numberOfMonths-1]])]})],16),o.currentView===`date`?(U(),a(`table`,W({key:0,class:e.cx(`dayView`),role:`grid`},{ref_for:!0},e.ptm(`dayView`)),[v(`thead`,W({ref_for:!0},e.ptm(`tableHeader`)),[v(`tr`,W({ref_for:!0},e.ptm(`tableHeaderRow`)),[e.showWeek?(U(),a(`th`,W({key:0,scope:`col`,class:e.cx(`weekHeader`)},{ref_for:!0},e.ptm(`weekHeader`,{context:{disabled:e.showWeek}}),{"data-p-disabled":e.showWeek,"data-pc-group-section":`tableheadercell`}),[j(e.$slots,`weekheaderlabel`,{},function(){return[v(`span`,W({ref_for:!0},e.ptm(`weekHeaderLabel`,{context:{disabled:e.showWeek}}),{"data-pc-group-section":`tableheadercelllabel`}),C(s.weekHeaderLabel),17)]})],16,It)):G(``,!0),(U(!0),a(x,null,L(s.weekDays,function(t){return U(),a(`th`,W({key:t,scope:`col`,abbr:t},{ref_for:!0},e.ptm(`tableHeaderCell`),{"data-pc-group-section":`tableheadercell`,class:e.cx(`weekDayCell`)}),[v(`span`,W({class:e.cx(`weekDay`)},{ref_for:!0},e.ptm(`weekDay`),{"data-pc-group-section":`tableheadercelllabel`}),C(t),17)],16,Lt)}),128))],16)],16),v(`tbody`,W({ref_for:!0},e.ptm(`tableBody`)),[(U(!0),a(x,null,L(n.dates,function(t,i){return U(),a(`tr`,W({key:t[0].day+``+t[0].month},{ref_for:!0},e.ptm(`tableBodyRow`)),[e.showWeek?(U(),a(`td`,W({key:0,class:e.cx(`weekNumber`)},{ref_for:!0},e.ptm(`weekNumber`),{"data-pc-group-section":`tablebodycell`}),[v(`span`,W({class:e.cx(`weekLabelContainer`)},{ref_for:!0},e.ptm(`weekLabelContainer`,{context:{disabled:e.showWeek}}),{"data-p-disabled":e.showWeek,"data-pc-group-section":`tablebodycelllabel`}),[j(e.$slots,`weeklabel`,{weekNumber:n.weekNumbers[i]},function(){return[n.weekNumbers[i]<10?(U(),a(`span`,W({key:0,style:{visibility:`hidden`}},{ref_for:!0},e.ptm(`weekLabel`)),`0`,16)):G(``,!0),E(` `+C(n.weekNumbers[i]),1)]})],16,Rt)],16)):G(``,!0),(U(!0),a(x,null,L(t,function(t){return U(),a(`td`,W({key:t.day+``+t.month,"aria-label":t.day,class:e.cx(`dayCell`,{date:t})},{ref_for:!0},e.ptm(`dayCell`,{context:{date:t,today:t.today,otherMonth:t.otherMonth,selected:s.isSelected(t),disabled:!t.selectable}}),{"data-p-today":t.today,"data-p-other-month":t.otherMonth,"data-pc-group-section":`tablebodycell`}),[e.showOtherMonths||!t.otherMonth?y((U(),a(`span`,W({key:0,class:e.cx(`day`,{date:t}),onClick:function(e){return s.onDateSelect(e,t)},draggable:`false`,onKeydown:function(e){return s.onDateCellKeydown(e,t,r)},"aria-selected":s.isSelected(t),"aria-disabled":!t.selectable},{ref_for:!0},e.ptm(`day`,{context:{date:t,today:t.today,otherMonth:t.otherMonth,selected:s.isSelected(t),disabled:!t.selectable}}),{"data-p":s.dayDataP(t),"data-pc-group-section":`tablebodycelllabel`}),[j(e.$slots,`date`,{date:t},function(){return[E(C(t.day),1)]})],16,Bt)),[[m]]):G(``,!0),s.isSelected(t)?(U(),a(`div`,W({key:1,class:`p-hidden-accessible`,"aria-live":`polite`},{ref_for:!0},e.ptm(`hiddenSelectedDay`),{"data-p-hidden-accessible":!0}),C(t.day),17)):G(``,!0)],16,zt)}),128))],16)}),128))],16)],16)):G(``,!0)],16)}),128))],16),o.currentView===`month`?(U(),a(`div`,W({key:0,class:e.cx(`monthView`)},e.ptm(`monthView`)),[(U(!0),a(x,null,L(s.monthPickerValues,function(t,n){return y((U(),a(`span`,W({key:t,onClick:function(e){return s.onMonthSelect(e,{month:t,index:n})},onKeydown:function(e){return s.onMonthCellKeydown(e,{month:t,index:n})},class:e.cx(`month`,{month:t,index:n})},{ref_for:!0},e.ptm(`month`,{context:{month:t,monthIndex:n,selected:s.isMonthSelected(n),disabled:!t.selectable}}),{"data-p-disabled":!t.selectable,"data-p-selected":s.isMonthSelected(n)}),[E(C(t.value)+` `,1),s.isMonthSelected(n)?(U(),a(`div`,W({key:0,class:`p-hidden-accessible`,"aria-live":`polite`},{ref_for:!0},e.ptm(`hiddenMonth`),{"data-p-hidden-accessible":!0}),C(t.value),17)):G(``,!0)],16,Vt)),[[m]])}),128))],16)):G(``,!0),o.currentView===`year`?(U(),a(`div`,W({key:1,class:e.cx(`yearView`)},e.ptm(`yearView`)),[(U(!0),a(x,null,L(s.yearPickerValues,function(t){return y((U(),a(`span`,W({key:t.value,onClick:function(e){return s.onYearSelect(e,t)},onKeydown:function(e){return s.onYearCellKeydown(e,t)},class:e.cx(`year`,{year:t})},{ref_for:!0},e.ptm(`year`,{context:{year:t,selected:s.isYearSelected(t.value),disabled:!t.selectable}}),{"data-p-disabled":!t.selectable,"data-p-selected":s.isYearSelected(t.value)}),[E(C(t.value)+` `,1),s.isYearSelected(t.value)?(U(),a(`div`,W({key:0,class:`p-hidden-accessible`,"aria-live":`polite`},{ref_for:!0},e.ptm(`hiddenYear`),{"data-p-hidden-accessible":!0}),C(t.value),17)):G(``,!0)],16,Ht)),[[m]])}),128))],16)):G(``,!0)],64)),(e.showTime||e.timeOnly)&&o.currentView===`date`?(U(),a(`div`,W({key:1,class:e.cx(`timePicker`),"data-p":s.timePickerDataP},e.ptm(`timePicker`)),[v(`div`,W({class:e.cx(`hourPicker`)},e.ptm(`hourPicker`),{"data-pc-group-section":`timepickerContainer`}),[j(e.$slots,`hourincrementbutton`,{callbacks:s.hourIncrementCallbacks},function(){return[f(u,W({class:e.cx(`pcIncrementButton`),"aria-label":e.$primevue.config.locale.nextHour,unstyled:e.unstyled,onMousedown:t[9]||=function(e){return s.onTimePickerElementMouseDown(e,0,1)},onMouseup:t[10]||=function(e){return s.onTimePickerElementMouseUp(e)},onKeydown:[s.onContainerButtonKeydown,t[12]||=r(function(e){return s.onTimePickerElementMouseDown(e,0,1)},[`enter`]),t[13]||=r(function(e){return s.onTimePickerElementMouseDown(e,0,1)},[`space`])],onMouseleave:t[11]||=function(e){return s.onTimePickerElementMouseLeave()},onKeyup:[t[14]||=r(function(e){return s.onTimePickerElementMouseUp(e)},[`enter`]),t[15]||=r(function(e){return s.onTimePickerElementMouseUp(e)},[`space`])]},e.timepickerButtonProps,{pt:e.ptm(`pcIncrementButton`),"data-pc-group-section":`timepickerbutton`}),{icon:B(function(t){return[j(e.$slots,`incrementicon`,{},function(){return[(U(),w(P(e.incrementIcon?`span`:`ChevronUpIcon`),W({class:[e.incrementIcon,t.class]},e.ptm(`pcIncrementButton`).icon,{"data-pc-group-section":`timepickerlabel`}),null,16,[`class`]))]})]}),_:3},16,[`class`,`aria-label`,`unstyled`,`onKeydown`,`pt`])]}),v(`span`,W(e.ptm(`hour`),{"data-pc-group-section":`timepickerlabel`}),C(s.formattedCurrentHour),17),j(e.$slots,`hourdecrementbutton`,{callbacks:s.hourDecrementCallbacks},function(){return[f(u,W({class:e.cx(`pcDecrementButton`),"aria-label":e.$primevue.config.locale.prevHour,unstyled:e.unstyled,onMousedown:t[16]||=function(e){return s.onTimePickerElementMouseDown(e,0,-1)},onMouseup:t[17]||=function(e){return s.onTimePickerElementMouseUp(e)},onKeydown:[s.onContainerButtonKeydown,t[19]||=r(function(e){return s.onTimePickerElementMouseDown(e,0,-1)},[`enter`]),t[20]||=r(function(e){return s.onTimePickerElementMouseDown(e,0,-1)},[`space`])],onMouseleave:t[18]||=function(e){return s.onTimePickerElementMouseLeave()},onKeyup:[t[21]||=r(function(e){return s.onTimePickerElementMouseUp(e)},[`enter`]),t[22]||=r(function(e){return s.onTimePickerElementMouseUp(e)},[`space`])]},e.timepickerButtonProps,{pt:e.ptm(`pcDecrementButton`),"data-pc-group-section":`timepickerbutton`}),{icon:B(function(t){return[j(e.$slots,`decrementicon`,{},function(){return[(U(),w(P(e.decrementIcon?`span`:`ChevronDownIcon`),W({class:[e.decrementIcon,t.class]},e.ptm(`pcDecrementButton`).icon,{"data-pc-group-section":`timepickerlabel`}),null,16,[`class`]))]})]}),_:3},16,[`class`,`aria-label`,`unstyled`,`onKeydown`,`pt`])]})],16),v(`div`,W(e.ptm(`separatorContainer`),{"data-pc-group-section":`timepickerContainer`}),[v(`span`,W(e.ptm(`separator`),{"data-pc-group-section":`timepickerlabel`}),C(e.timeSeparator),17)],16),v(`div`,W({class:e.cx(`minutePicker`)},e.ptm(`minutePicker`),{"data-pc-group-section":`timepickerContainer`}),[j(e.$slots,`minuteincrementbutton`,{callbacks:s.minuteIncrementCallbacks},function(){return[f(u,W({class:e.cx(`pcIncrementButton`),"aria-label":e.$primevue.config.locale.nextMinute,disabled:e.disabled,unstyled:e.unstyled,onMousedown:t[23]||=function(e){return s.onTimePickerElementMouseDown(e,1,1)},onMouseup:t[24]||=function(e){return s.onTimePickerElementMouseUp(e)},onKeydown:[s.onContainerButtonKeydown,t[26]||=r(function(e){return s.onTimePickerElementMouseDown(e,1,1)},[`enter`]),t[27]||=r(function(e){return s.onTimePickerElementMouseDown(e,1,1)},[`space`])],onMouseleave:t[25]||=function(e){return s.onTimePickerElementMouseLeave()},onKeyup:[t[28]||=r(function(e){return s.onTimePickerElementMouseUp(e)},[`enter`]),t[29]||=r(function(e){return s.onTimePickerElementMouseUp(e)},[`space`])]},e.timepickerButtonProps,{pt:e.ptm(`pcIncrementButton`),"data-pc-group-section":`timepickerbutton`}),{icon:B(function(t){return[j(e.$slots,`incrementicon`,{},function(){return[(U(),w(P(e.incrementIcon?`span`:`ChevronUpIcon`),W({class:[e.incrementIcon,t.class]},e.ptm(`pcIncrementButton`).icon,{"data-pc-group-section":`timepickerlabel`}),null,16,[`class`]))]})]}),_:3},16,[`class`,`aria-label`,`disabled`,`unstyled`,`onKeydown`,`pt`])]}),v(`span`,W(e.ptm(`minute`),{"data-pc-group-section":`timepickerlabel`}),C(s.formattedCurrentMinute),17),j(e.$slots,`minutedecrementbutton`,{callbacks:s.minuteDecrementCallbacks},function(){return[f(u,W({class:e.cx(`pcDecrementButton`),"aria-label":e.$primevue.config.locale.prevMinute,disabled:e.disabled,unstyled:e.unstyled,onMousedown:t[30]||=function(e){return s.onTimePickerElementMouseDown(e,1,-1)},onMouseup:t[31]||=function(e){return s.onTimePickerElementMouseUp(e)},onKeydown:[s.onContainerButtonKeydown,t[33]||=r(function(e){return s.onTimePickerElementMouseDown(e,1,-1)},[`enter`]),t[34]||=r(function(e){return s.onTimePickerElementMouseDown(e,1,-1)},[`space`])],onMouseleave:t[32]||=function(e){return s.onTimePickerElementMouseLeave()},onKeyup:[t[35]||=r(function(e){return s.onTimePickerElementMouseUp(e)},[`enter`]),t[36]||=r(function(e){return s.onTimePickerElementMouseUp(e)},[`space`])]},e.timepickerButtonProps,{pt:e.ptm(`pcDecrementButton`),"data-pc-group-section":`timepickerbutton`}),{icon:B(function(t){return[j(e.$slots,`decrementicon`,{},function(){return[(U(),w(P(e.decrementIcon?`span`:`ChevronDownIcon`),W({class:[e.decrementIcon,t.class]},e.ptm(`pcDecrementButton`).icon,{"data-pc-group-section":`timepickerlabel`}),null,16,[`class`]))]})]}),_:3},16,[`class`,`aria-label`,`disabled`,`unstyled`,`onKeydown`,`pt`])]})],16),e.showSeconds?(U(),a(`div`,W({key:0,class:e.cx(`separatorContainer`)},e.ptm(`separatorContainer`),{"data-pc-group-section":`timepickerContainer`}),[v(`span`,W(e.ptm(`separator`),{"data-pc-group-section":`timepickerlabel`}),C(e.timeSeparator),17)],16)):G(``,!0),e.showSeconds?(U(),a(`div`,W({key:1,class:e.cx(`secondPicker`)},e.ptm(`secondPicker`),{"data-pc-group-section":`timepickerContainer`}),[j(e.$slots,`secondincrementbutton`,{callbacks:s.secondIncrementCallbacks},function(){return[f(u,W({class:e.cx(`pcIncrementButton`),"aria-label":e.$primevue.config.locale.nextSecond,disabled:e.disabled,unstyled:e.unstyled,onMousedown:t[37]||=function(e){return s.onTimePickerElementMouseDown(e,2,1)},onMouseup:t[38]||=function(e){return s.onTimePickerElementMouseUp(e)},onKeydown:[s.onContainerButtonKeydown,t[40]||=r(function(e){return s.onTimePickerElementMouseDown(e,2,1)},[`enter`]),t[41]||=r(function(e){return s.onTimePickerElementMouseDown(e,2,1)},[`space`])],onMouseleave:t[39]||=function(e){return s.onTimePickerElementMouseLeave()},onKeyup:[t[42]||=r(function(e){return s.onTimePickerElementMouseUp(e)},[`enter`]),t[43]||=r(function(e){return s.onTimePickerElementMouseUp(e)},[`space`])]},e.timepickerButtonProps,{pt:e.ptm(`pcIncrementButton`),"data-pc-group-section":`timepickerbutton`}),{icon:B(function(t){return[j(e.$slots,`incrementicon`,{},function(){return[(U(),w(P(e.incrementIcon?`span`:`ChevronUpIcon`),W({class:[e.incrementIcon,t.class]},e.ptm(`pcIncrementButton`).icon,{"data-pc-group-section":`timepickerlabel`}),null,16,[`class`]))]})]}),_:3},16,[`class`,`aria-label`,`disabled`,`unstyled`,`onKeydown`,`pt`])]}),v(`span`,W(e.ptm(`second`),{"data-pc-group-section":`timepickerlabel`}),C(s.formattedCurrentSecond),17),j(e.$slots,`seconddecrementbutton`,{callbacks:s.secondDecrementCallbacks},function(){return[f(u,W({class:e.cx(`pcDecrementButton`),"aria-label":e.$primevue.config.locale.prevSecond,disabled:e.disabled,unstyled:e.unstyled,onMousedown:t[44]||=function(e){return s.onTimePickerElementMouseDown(e,2,-1)},onMouseup:t[45]||=function(e){return s.onTimePickerElementMouseUp(e)},onKeydown:[s.onContainerButtonKeydown,t[47]||=r(function(e){return s.onTimePickerElementMouseDown(e,2,-1)},[`enter`]),t[48]||=r(function(e){return s.onTimePickerElementMouseDown(e,2,-1)},[`space`])],onMouseleave:t[46]||=function(e){return s.onTimePickerElementMouseLeave()},onKeyup:[t[49]||=r(function(e){return s.onTimePickerElementMouseUp(e)},[`enter`]),t[50]||=r(function(e){return s.onTimePickerElementMouseUp(e)},[`space`])]},e.timepickerButtonProps,{pt:e.ptm(`pcDecrementButton`),"data-pc-group-section":`timepickerbutton`}),{icon:B(function(t){return[j(e.$slots,`decrementicon`,{},function(){return[(U(),w(P(e.decrementIcon?`span`:`ChevronDownIcon`),W({class:[e.decrementIcon,t.class]},e.ptm(`pcDecrementButton`).icon,{"data-pc-group-section":`timepickerlabel`}),null,16,[`class`]))]})]}),_:3},16,[`class`,`aria-label`,`disabled`,`unstyled`,`onKeydown`,`pt`])]})],16)):G(``,!0),e.hourFormat==`12`?(U(),a(`div`,W({key:2,class:e.cx(`separatorContainer`)},e.ptm(`separatorContainer`),{"data-pc-group-section":`timepickerContainer`}),[v(`span`,W(e.ptm(`separator`),{"data-pc-group-section":`timepickerlabel`}),C(e.timeSeparator),17)],16)):G(``,!0),e.hourFormat==`12`?(U(),a(`div`,W({key:3,class:e.cx(`ampmPicker`)},e.ptm(`ampmPicker`)),[j(e.$slots,`ampmincrementbutton`,{toggleCallback:function(e){return s.toggleAMPM(e)},keydownCallback:function(e){return s.onContainerButtonKeydown(e)}},function(){return[f(u,W({class:e.cx(`pcIncrementButton`),"aria-label":e.$primevue.config.locale.am,disabled:e.disabled,unstyled:e.unstyled,onClick:t[51]||=function(e){return s.toggleAMPM(e)},onKeydown:s.onContainerButtonKeydown},e.timepickerButtonProps,{pt:e.ptm(`pcIncrementButton`),"data-pc-group-section":`timepickerbutton`}),{icon:B(function(t){return[j(e.$slots,`incrementicon`,{class:d(e.cx(`incrementIcon`))},function(){return[(U(),w(P(e.incrementIcon?`span`:`ChevronUpIcon`),W({class:[e.cx(`incrementIcon`),t.class]},e.ptm(`pcIncrementButton`).icon,{"data-pc-group-section":`timepickerlabel`}),null,16,[`class`]))]})]}),_:3},16,[`class`,`aria-label`,`disabled`,`unstyled`,`onKeydown`,`pt`])]}),v(`span`,W(e.ptm(`ampm`),{"data-pc-group-section":`timepickerlabel`}),C(o.pm?e.$primevue.config.locale.pm:e.$primevue.config.locale.am),17),j(e.$slots,`ampmdecrementbutton`,{toggleCallback:function(e){return s.toggleAMPM(e)},keydownCallback:function(e){return s.onContainerButtonKeydown(e)}},function(){return[f(u,W({class:e.cx(`pcDecrementButton`),"aria-label":e.$primevue.config.locale.pm,disabled:e.disabled,onClick:t[52]||=function(e){return s.toggleAMPM(e)},onKeydown:s.onContainerButtonKeydown},e.timepickerButtonProps,{pt:e.ptm(`pcDecrementButton`),"data-pc-group-section":`timepickerbutton`}),{icon:B(function(t){return[j(e.$slots,`decrementicon`,{class:d(e.cx(`decrementIcon`))},function(){return[(U(),w(P(e.decrementIcon?`span`:`ChevronDownIcon`),W({class:[e.cx(`decrementIcon`),t.class]},e.ptm(`pcDecrementButton`).icon,{"data-pc-group-section":`timepickerlabel`}),null,16,[`class`]))]})]}),_:3},16,[`class`,`aria-label`,`disabled`,`onKeydown`,`pt`])]})],16)):G(``,!0)],16,Ut)):G(``,!0),e.showButtonBar?(U(),a(`div`,W({key:2,class:e.cx(`buttonbar`)},e.ptm(`buttonbar`)),[j(e.$slots,`buttonbar`,{todayCallback:function(e){return s.onTodayButtonClick(e)},clearCallback:function(e){return s.onClearButtonClick(e)}},function(){return[j(e.$slots,`todaybutton`,{actionCallback:function(e){return s.onTodayButtonClick(e)},keydownCallback:function(e){return s.onContainerButtonKeydown(e)}},function(){return[f(u,W({label:s.todayLabel,onClick:t[53]||=function(e){return s.onTodayButtonClick(e)},class:e.cx(`pcTodayButton`),unstyled:e.unstyled,onKeydown:s.onContainerButtonKeydown},e.todayButtonProps,{pt:e.ptm(`pcTodayButton`),"data-pc-group-section":`button`}),null,16,[`label`,`class`,`unstyled`,`onKeydown`,`pt`])]}),j(e.$slots,`clearbutton`,{actionCallback:function(e){return s.onClearButtonClick(e)},keydownCallback:function(e){return s.onContainerButtonKeydown(e)}},function(){return[f(u,W({label:s.clearLabel,onClick:t[54]||=function(e){return s.onClearButtonClick(e)},class:e.cx(`pcClearButton`),unstyled:e.unstyled,onKeydown:s.onContainerButtonKeydown},e.clearButtonProps,{pt:e.ptm(`pcClearButton`),"data-pc-group-section":`button`}),null,16,[`label`,`class`,`unstyled`,`onKeydown`,`pt`])]})]})],16)):G(``,!0),j(e.$slots,`footer`)],16,jt)):G(``,!0)]}),_:3},16,[`onAfterEnter`,`onAfterLeave`,`onLeave`])]}),_:3},8,[`appendTo`,`disabled`])],16,Ot)}Dt.render=Wt;function Gt(e){let t=/^(\d{4})-(\d{2})-(\d{2})$/.exec(e);if(!t)return null;let[n,r,i]=[Number(t[1]),Number(t[2]),Number(t[3])],a=new Date(n,r-1,i);return a.getFullYear()===n&&a.getMonth()===r-1&&a.getDate()===i?a:null}function Kt(e,t=new Date){let n=Gt(e);if(!n)return null;let r=new Date(t.getFullYear(),t.getMonth(),t.getDate());return Math.round((n.getTime()-r.getTime())/864e5)}function qt(e,t=new Date){let n=Kt(e,t);return n===null?null:n<0?`overdue`:n===0?`today`:n<=2?`soon`:`later`}function Jt(e,t){let n=Gt(e);return n?n.toLocaleDateString(t,{day:`2-digit`,month:`2-digit`,year:`numeric`}):e}function Yt(e){let t=2166136261;for(let n=0;n<e.length;n+=1)t=Math.imul(t^e.charCodeAt(n),16777619);t^=t>>>16,t=Math.imul(t,2246822507),t^=t>>>13,t=Math.imul(t,3266489909),t^=t>>>16;let n=(t>>>0)%360;return{background:`linear-gradient(135deg, hsl(${n} 62% 52%), hsl(${(n+40)%360} 62% 46%))`}}var Xt={class:`kb-card__top`},Zt={class:`kb-card__title`},Qt={class:`kb-card__actions`},$t={key:0,class:`kb-card__groups`},en={key:1,class:`kb-card__assignees`},tn=[`title`],nn=[`src`,`onError`],J={key:2,class:`kb-card__badges`},rn={key:1,class:`kb-card__prio`},an={key:2,class:`pi pi-arrow-up`},on={key:3,class:`kb-card__img-badge`},sn={key:4,class:`pi pi-align-left`},cn={key:5,class:`kb-card__img-badge`},ln={key:0,class:`pi pi-sparkles`},un=[`src`],dn={key:1,class:`pi pi-comment`},fn=k(Ce({__name:`KanbanCardTile`,props:{card:{},t:{type:Function},avatarUrl:{type:Function},childCount:{},hasParent:{type:Boolean},currentUserId:{}},setup(e){let t=e,n=h(()=>{let e=t.card.assignees??[],n=t.currentUserId,r=n?e.findIndex(e=>e.id===n):-1;return r>0?[e[r],...e.slice(0,r),...e.slice(r+1)]:e}),r=h(()=>{let e=t.card.lastCommentBy;if(!e)return null;let n=e.author===`ai`;return!e.id&&!n?null:{id:e.id,ai:n,label:e.name||t.t(`card.lastCommentByAi`)}}),i=h(()=>{let e=t.card.deadline;if(!e)return null;let n=qt(e);return n?{label:Jt(e),state:n}:null}),o=Se(new Set);function s(e){return e.split(/\s+/).filter(Boolean).slice(0,2).map(e=>e[0]?.toUpperCase()??``).join(``)}return(e,c)=>{let l=Me(`tooltip`);return U(),a(x,null,[v(`div`,Xt,[v(`span`,Zt,C(t.card.title),1),v(`div`,Qt,[j(e.$slots,`actions`,{},void 0,!0)])]),t.card.groups?.length?(U(),a(`div`,$t,[(U(!0),a(x,null,L(t.card.groups,e=>(U(),a(`span`,{key:e,class:`kb-card__group`},C(e),1))),128))])):G(``,!0),t.card.assignees?.length?(U(),a(`div`,en,[(U(!0),a(x,null,L(n.value,e=>(U(),a(`span`,{key:e.id,class:`kb-card__avatar`,style:_(z(Yt)(e.id)),title:e.name},[t.avatarUrl&&!o.has(e.id)?(U(),a(`img`,{key:0,src:t.avatarUrl(e.id),alt:``,onError:t=>o.add(e.id)},null,40,nn)):(U(),a(x,{key:1},[E(C(s(e.name)),1)],64))],12,tn))),128))])):G(``,!0),t.card.markdown||t.card.images.length||t.card.commentCount||t.childCount||t.hasParent||i.value||e.$slots.badges?(U(),a(`div`,J,[i.value?y((U(),a(`span`,{key:0,class:d([`kb-card__deadline`,`kb-card__deadline--${i.value.state}`])},[c[1]||=v(`i`,{class:`pi pi-calendar`},null,-1),E(` `+C(i.value.label),1)],2)),[[l,t.t(`card.deadlineTooltip`),void 0,{bottom:!0}]]):G(``,!0),t.card.priority?y((U(),a(`span`,rn,[E(C(t.card.priority),1)])),[[l,t.t(`editor.priorityLabel`),void 0,{bottom:!0}]]):G(``,!0),t.hasParent?y((U(),a(`i`,an,null,512)),[[l,t.t(`card.hasParent`),void 0,{bottom:!0}]]):G(``,!0),t.childCount?y((U(),a(`span`,on,[c[2]||=v(`i`,{class:`pi pi-sitemap`},null,-1),E(` `+C(t.childCount),1)])),[[l,t.t(`card.hasChildren`),void 0,{bottom:!0}]]):G(``,!0),t.card.markdown?(U(),a(`i`,sn)):G(``,!0),t.card.images.length?(U(),a(`span`,cn,[c[3]||=v(`i`,{class:`pi pi-image`},null,-1),E(` `+C(t.card.images.length),1)])):G(``,!0),t.card.commentCount?y((U(),a(`span`,{key:6,class:d([`kb-card__img-badge kb-card__comments`,{"kb-card__comments--bubble":r.value}])},[r.value?(U(),a(`span`,{key:0,class:d([`kb-card__avatar kb-card__avatar--mini`,{"kb-card__avatar--ai":r.value.ai}]),style:_(r.value.id?z(Yt)(r.value.id):void 0)},[r.value.ai&&!r.value.id?(U(),a(`i`,ln)):r.value.id&&t.avatarUrl&&!o.has(r.value.id)?(U(),a(`img`,{key:1,src:t.avatarUrl(r.value.id),alt:``,onError:c[0]||=e=>o.add(r.value.id)},null,40,un)):(U(),a(x,{key:2},[E(C(s(r.value.label)),1)],64))],6)):(U(),a(`i`,dn)),E(` `+C(t.card.commentCount),1)],2)),[[l,r.value?t.t(`card.lastCommentBy`,{name:r.value.label}):void 0,void 0,{bottom:!0}]]):G(``,!0),j(e.$slots,`badges`,{},void 0,!0)])):G(``,!0)],64)}}}),[[`__scopeId`,`data-v-bded8d7d`]]),pn={key:0,class:`kb-files__thumb`},mn=[`src`,`alt`],hn={key:1,class:`pi pi-file kb-files__icon`},gn=[`title`,`onClick`],_n=[`title`],vn={class:`kb-files__size`},yn=[`title`,`onClick`],bn=k(Ce({__name:`AttachmentList`,props:{files:{},preview:{},openable:{type:Boolean,default:!0},removable:{type:Boolean,default:!1},removeLabel:{default:``},compact:{type:Boolean,default:!1}},emits:[`open`,`remove`],setup(e,{emit:t}){let n=t;function r(e){return e<1024?`${e} B`:e<1024*1024?`${Math.round(e/1024)} KB`:`${(e/(1024*1024)).toFixed(1)} MB`}return(t,i)=>e.files.length?(U(),a(`ul`,{key:0,class:d([`kb-files`,{"kb-files--inline":e.compact}])},[(U(!0),a(x,null,L(e.files,(t,o)=>(U(),a(`li`,{key:t.id,class:`kb-files__item`},[e.preview(t)?(U(),a(`span`,pn,[v(`img`,{src:e.preview(t),alt:t.name},null,8,mn)])):(U(),a(`i`,hn)),e.openable?(U(),a(`button`,{key:2,class:`kb-files__name`,title:t.name,onClick:V(e=>n(`open`,t),[`stop`])},C(t.name),9,gn)):(U(),a(`span`,{key:3,class:`kb-files__name kb-files__name--static`,title:t.name},C(t.name),9,_n)),v(`span`,vn,C(r(t.size)),1),e.removable?(U(),a(`button`,{key:4,class:`kb-files__remove`,title:e.removeLabel,onClick:V(e=>n(`remove`,o),[`stop`])},[...i[0]||=[v(`i`,{class:`pi pi-times`},null,-1)]],8,yn)):G(``,!0)]))),128))],2)):G(``,!0)}}),[[`__scopeId`,`data-v-f30e50ba`]]),Y=Uint8Array,xn=Uint16Array,Sn=Int32Array,Cn=new Y([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),wn=new Y([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Tn=new Y([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),X=function(e,t){for(var n=new xn(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];for(var i=new Sn(n[30]),r=1;r<30;++r)for(var a=n[r];a<n[r+1];++a)i[a]=a-n[r]<<5|r;return{b:n,r:i}},En=X(Cn,2),Dn=En.b,On=En.r;Dn[28]=258,On[258]=28;var kn=X(wn,0),An=kn.b;kn.r;for(var jn=new xn(32768),Z=0;Z<32768;++Z){var Mn=(Z&43690)>>1|(Z&21845)<<1;Mn=(Mn&52428)>>2|(Mn&13107)<<2,Mn=(Mn&61680)>>4|(Mn&3855)<<4,jn[Z]=((Mn&65280)>>8|(Mn&255)<<8)>>1}for(var Nn=(function(e,t,n){for(var r=e.length,i=0,a=new xn(t);i<r;++i)e[i]&&++a[e[i]-1];var o=new xn(t);for(i=1;i<t;++i)o[i]=o[i-1]+a[i-1]<<1;var s;if(n){s=new xn(1<<t);var c=15-t;for(i=0;i<r;++i)if(e[i])for(var l=i<<4|e[i],u=t-e[i],d=o[e[i]-1]++<<u,f=d|(1<<u)-1;d<=f;++d)s[jn[d]>>c]=l}else for(s=new xn(r),i=0;i<r;++i)e[i]&&(s[i]=jn[o[e[i]-1]++]>>15-e[i]);return s}),Pn=new Y(288),Z=0;Z<144;++Z)Pn[Z]=8;for(var Z=144;Z<256;++Z)Pn[Z]=9;for(var Z=256;Z<280;++Z)Pn[Z]=7;for(var Z=280;Z<288;++Z)Pn[Z]=8;for(var Fn=new Y(32),Z=0;Z<32;++Z)Fn[Z]=5;var In=Nn(Pn,9,1),Ln=Nn(Fn,5,1),Rn=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},zn=function(e,t,n){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(t&7)&n},Bn=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},Vn=function(e){return(e+7)/8|0},Hn=function(e,t,n){return(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length),new Y(e.subarray(t,n))},Q=[`unexpected EOF`,`invalid block type`,`invalid length/literal`,`invalid distance`,`stream finished`,`no stream handler`,,`no callback`,`invalid UTF-8 data`,`extra field too long`,`date not in range 1980-2099`,`filename too long`,`stream finishing`,`invalid zip data`],Un=function(e,t,n){var r=Error(t||Q[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,Un),!n)throw r;return r},Wn=function(e,t,n,r){var i=e.length,a=r?r.length:0;if(!i||t.f&&!t.l)return n||new Y(0);var o=!n,s=o||t.i!=2,c=t.i;o&&(n=new Y(i*3));var l=function(e){var t=n.length;if(e>t){var r=new Y(Math.max(t*2,e));r.set(n),n=r}},u=t.f||0,d=t.p||0,f=t.b||0,p=t.l,m=t.d,h=t.m,g=t.n,_=i*8;do{if(!p){u=zn(e,d,1);var v=zn(e,d+1,3);if(d+=3,v)if(v==1)p=In,m=Ln,h=9,g=5;else if(v==2){var y=zn(e,d,31)+257,b=zn(e,d+10,15)+4,x=y+zn(e,d+5,31)+1;d+=14;for(var ee=new Y(x),te=new Y(19),S=0;S<b;++S)te[Tn[S]]=zn(e,d+S*3,7);d+=b*3;for(var C=Rn(te),w=(1<<C)-1,T=Nn(te,C,1),S=0;S<x;){var E=T[zn(e,d,w)];d+=E&15;var D=E>>4;if(D<16)ee[S++]=D;else{var ne=0,O=0;for(D==16?(O=3+zn(e,d,3),d+=2,ne=ee[S-1]):D==17?(O=3+zn(e,d,7),d+=3):D==18&&(O=11+zn(e,d,127),d+=7);O--;)ee[S++]=ne}}var k=ee.subarray(0,y),A=ee.subarray(y);h=Rn(k),g=Rn(A),p=Nn(k,h,1),m=Nn(A,g,1)}else Un(1);else{var D=Vn(d)+4,re=e[D-4]|e[D-3]<<8,ie=D+re;if(ie>i){c&&Un(0);break}s&&l(f+re),n.set(e.subarray(D,ie),f),t.b=f+=re,t.p=d=ie*8,t.f=u;continue}if(d>_){c&&Un(0);break}}s&&l(f+131072);for(var j=(1<<h)-1,M=(1<<g)-1,ae=d;;ae=d){var ne=p[Bn(e,d)&j],N=ne>>4;if(d+=ne&15,d>_){c&&Un(0);break}if(ne||Un(2),N<256)n[f++]=N;else if(N==256){ae=d,p=null;break}else{var P=N-254;if(N>264){var S=N-257,F=Cn[S];P=zn(e,d,(1<<F)-1)+Dn[S],d+=F}var I=m[Bn(e,d)&M],oe=I>>4;I||Un(3),d+=I&15;var A=An[oe];if(oe>3){var F=wn[oe];A+=Bn(e,d)&(1<<F)-1,d+=F}if(d>_){c&&Un(0);break}s&&l(f+131072);var se=f+P;if(f<A){var L=a-A,ce=Math.min(A,se);for(L+f<0&&Un(3);f<ce;++f)n[f]=r[L+f]}for(;f<se;++f)n[f]=n[f-A]}}t.l=p,t.p=ae,t.b=f,t.f=u,p&&(u=1,t.m=h,t.d=m,t.n=g)}while(!u);return f!=n.length&&o?Hn(n,0,f):n.subarray(0,f)},Gn=new Y(0),Kn=function(e,t){return e[t]|e[t+1]<<8},qn=function(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0},Jn=function(e,t){return qn(e,t)+qn(e,t+4)*4294967296};function Yn(e,t){return Wn(e,{i:2},t&&t.out,t&&t.dictionary)}var Xn=typeof TextDecoder<`u`&&new TextDecoder;try{Xn.decode(Gn,{stream:!0})}catch{}var Zn=function(e){for(var t=``,n=0;;){var r=e[n++],i=(r>127)+(r>223)+(r>239);if(n+i>e.length)return{s:t,r:Hn(e,n-1)};i?i==3?(r=((r&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|r>>10,56320|r&1023)):i&1?t+=String.fromCharCode((r&31)<<6|e[n++]&63):t+=String.fromCharCode((r&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(r)}};function Qn(e,t){if(t){for(var n=``,r=0;r<e.length;r+=16384)n+=String.fromCharCode.apply(null,e.subarray(r,r+16384));return n}else if(Xn)return Xn.decode(e);else{var i=Zn(e),a=i.s,n=i.r;return n.length&&Un(8),a}}var $n=function(e,t){return t+30+Kn(e,t+26)+Kn(e,t+28)},er=function(e,t,n){var r=Kn(e,t+28),i=Qn(e.subarray(t+46,t+46+r),!(Kn(e,t+8)&2048)),a=t+46+r,o=qn(e,t+20),s=n&&o==4294967295?tr(e,a):[o,qn(e,t+24),qn(e,t+42)],c=s[0],l=s[1],u=s[2];return[Kn(e,t+10),c,l,i,a+Kn(e,t+30)+Kn(e,t+32),u]},tr=function(e,t){for(;Kn(e,t)!=1;t+=4+Kn(e,t+2));return[Jn(e,t+12),Jn(e,t+4),Jn(e,t+20)]};function nr(e,t){for(var n={},r=e.length-22;qn(e,r)!=101010256;--r)(!r||e.length-r>65558)&&Un(13);var i=Kn(e,r+8);if(!i)return{};var a=qn(e,r+16),o=a==4294967295||i==65535;if(o){var s=qn(e,r-12);o=qn(e,s)==101075792,o&&(i=qn(e,s+32),a=qn(e,s+48))}for(var c=t&&t.filter,l=0;l<i;++l){var u=er(e,a,o),d=u[0],f=u[1],p=u[2],m=u[3],h=u[4],g=u[5],_=$n(e,g);a=h,(!c||c({name:m,size:f,originalSize:p,compression:d}))&&(d?d==8?n[m]=Yn(e.subarray(_,_+f),{out:new Y(p)}):Un(14,`unknown compression type `+d):n[m]=Hn(e,_,_+f))}return n}var rr=2e3,ir=100,ar=5e3,or=300,sr={csv:`sheet`,tsv:`sheet`,xlsx:`sheet`,xlsm:`sheet`,ods:`sheet`,docx:`doc`,odt:`doc`,pptx:`slides`,odp:`slides`},cr={"text/csv":`sheet`,"text/tab-separated-values":`sheet`,"application/csv":`sheet`,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":`sheet`,"application/vnd.ms-excel.sheet.macroenabled.12":`sheet`,"application/vnd.oasis.opendocument.spreadsheet":`sheet`,"application/vnd.openxmlformats-officedocument.wordprocessingml.document":`doc`,"application/vnd.oasis.opendocument.text":`doc`,"application/vnd.openxmlformats-officedocument.presentationml.presentation":`slides`,"application/vnd.oasis.opendocument.presentation":`slides`};function lr(e,t){return sr[t.toLowerCase().split(`.`).pop()??``]??cr[(e||``).toLowerCase().split(`;`)[0].trim()]??null}async function ur(e,t,n,r){let i=n.toLowerCase().split(`.`).pop()??``;if(i===`csv`||i===`tsv`)return gr(new TextDecoder().decode(t),n);let a=nr(new Uint8Array(t)),o=a[`content.xml`];return o?Cr(e,Qn(o)):e===`doc`?{mode:`render`,render:e=>dr(t,r,e)}:e===`slides`?xr(a):fr(t,r)}async function dr(e,t,n){let{renderAsync:r}=await p(async()=>{let{renderAsync:e}=await import(`./docx-preview-unHjZcAR.js`);return{renderAsync:e}},__vite__mapDeps([0,1,2]));await r(new Blob([e],{type:t}),n,void 0,{inWrapper:!0,breakPages:!0,renderAltChunks:!1,renderComments:!1,useBase64URL:!0}),mr(n)}async function fr(e,t){let n=(await p(async()=>{let{default:e}=await import(`./browser-BJX5ZrVN.js`);return{default:e}},[])).default,r=await n(new Blob([e],{type:t})),i=!1,a=r.map((e,t)=>(e.data.length>rr&&(i=!0),{name:e.sheet||`Sheet${t+1}`,rows:e.data.slice(0,rr).map(e=>(e.length>ir&&(i=!0),e.slice(0,ir).map(pr)))}));if(!a.length)throw Error(`no worksheet`);return{mode:`sheet`,sheets:a,truncated:i}}function pr(e){if(e==null)return``;if(e instanceof Date){let t=e.toISOString();return t.endsWith(`T00:00:00.000Z`)?t.slice(0,10):t.slice(0,19).replace(`T`,` `)}if(typeof e==`object`)try{return JSON.stringify(e)??``}catch{return`[objet]`}return typeof e==`string`?e:String(e)}function mr(e){for(let t of Array.from(e.querySelectorAll(`script, iframe, object, embed`)))t.remove();for(let t of Array.from(e.querySelectorAll(`*`)))for(let e of Array.from(t.attributes)){let n=e.name.toLowerCase();(n.startsWith(`on`)||/^(href|src|xlink:href)$/.test(n)&&/^\s*javascript:/i.test(e.value))&&t.removeAttribute(e.name)}}function hr(e){let t=e.slice(0,4096).split(/\r?\n/)[0]??``,n=[`,`,`;`,` `,`|`].map(e=>[e,t.split(e).length]);return n.sort((e,t)=>t[1]-e[1]),n[0][1]>1?n[0][0]:`,`}function gr(e,t){let n=t.toLowerCase().endsWith(`.tsv`)?` `:hr(e),r=[],i=[],a=``,o=!1;for(let t=0;t<e.length;t+=1){let s=e[t];if(o){s===`"`?e[t+1]===`"`?(a+=`"`,t+=1):o=!1:a+=s;continue}if(s===`"`)o=!0;else if(s===n)i.push(a),a=``;else if(s===`
|
|
570
|
+
`||s===`\r`){if(s===`\r`&&e[t+1]===`
|
|
571
|
+
`&&(t+=1),i.push(a),a=``,r.push(i),i=[],r.length>=rr)break}else a+=s}(a||i.length)&&(i.push(a),r.push(i));let s=r.length>=rr;return{mode:`sheet`,sheets:[{name:t||`CSV`,rows:r.map(_r)}],truncated:s}}function _r(e){return e.length>ir?e.slice(0,ir):e}function vr(e){let t=new DOMParser().parseFromString(e,`application/xml`);if(t.getElementsByTagName(`parsererror`).length)throw Error(`invalid XML`);return t}function yr(e,t){return Array.from(e.getElementsByTagName(t))}function br(e,t){return yr(e,t).map(e=>e.textContent??``).join(``)}function xr(e){let t=Object.keys(e).filter(e=>/^ppt\/slides\/slide\d+\.xml$/.test(e)).sort((e,t)=>Sr(e)-Sr(t));if(!t.length)throw Error(`no slide`);let n=[];for(let r of t.slice(0,or)){let t=yr(vr(Qn(e[r])),`a:p`).map(e=>br(e,`a:t`).trim()).filter(Boolean);n.push({title:t[0]??``,lines:t.slice(1)})}return{mode:`slides`,slides:n,truncated:t.length>or}}function Sr(e){return Number(/(\d+)\.xml$/.exec(e)?.[1]??0)}function Cr(e,t){let n=vr(t);return e===`sheet`?Tr(n):e===`doc`?Er(n):Dr(n)}function wr(e,t,n){let r=Number(e.getAttribute(t)??`1`);return!Number.isFinite(r)||r<1?1:Math.min(r,n)}function Tr(e){let t=[],n=!1;for(let r of yr(e,`table:table`)){let e=[];for(let t of yr(r,`table:table-row`)){if(e.length>=rr){n=!0;break}let r=[];for(let e of yr(t,`table:table-cell`)){if(r.length>=ir){n=!0;break}let t=yr(e,`text:p`).map(e=>e.textContent??``).join(`
|
|
572
|
+
`),i=wr(e,`table:number-columns-repeated`,ir);for(let e=0;e<(t?i:1);e+=1)r.push(t)}for(;r.length&&r[r.length-1]===``;)r.pop();let i=wr(t,`table:number-rows-repeated`,rr);for(let t=0;t<(r.length?i:1);t+=1)e.push([...r])}for(;e.length&&e[e.length-1].length===0;)e.pop();t.push({name:r.getAttribute(`table:name`)||`Table${t.length+1}`,rows:e})}if(!t.length)throw Error(`no table`);return{mode:`sheet`,sheets:t,truncated:n}}function Er(e){let t=e.getElementsByTagName(`office:text`)[0];if(!t)throw Error(`no text body`);let n=[],r=!1,i=e=>{for(let t of Array.from(e.children)){if(n.length>=ar){r=!0;return}let e=(t.textContent??``).trim();if(t.tagName===`text:h`)e&&n.push({type:`heading`,level:Math.min(6,Number(t.getAttribute(`text:outline-level`)??`1`)||1),text:e});else if(t.tagName===`text:p`)e&&n.push({type:`paragraph`,text:e});else if(t.tagName===`text:list`)for(let e of yr(t,`text:list-item`)){let t=(e.textContent??``).trim();t&&n.push({type:`list`,text:t})}else t.tagName===`table:table`?n.push({type:`table`,rows:yr(t,`table:table-row`).slice(0,rr).map(e=>yr(e,`table:table-cell`).slice(0,ir).map(e=>(e.textContent??``).trim()))}):t.children.length&&i(t)}};return i(t),{mode:`blocks`,blocks:n,truncated:r}}function Dr(e){let t=yr(e,`draw:page`);if(!t.length)throw Error(`no slide`);return{mode:`slides`,slides:t.slice(0,or).map(e=>{let t=yr(e,`text:p`).map(e=>(e.textContent??``).trim()).filter(Boolean);return{title:t[0]??``,lines:t.slice(1)}}),truncated:t.length>or}}var Or={key:0,class:`kb-upload`},kr={key:0,class:`kb-upload__list`},Ar=[`title`],jr={class:`kb-upload__bar`},Mr={class:`kb-upload__pct`},Nr={key:1,class:`kb-upload__status`},Pr={key:2,class:`kb-upload__errors`},Fr=k(Ce({__name:`UploadProgress`,props:{queue:{},errors:{},uploading:{type:Boolean,default:!1},uploadingLabel:{default:``}},setup(e){return(t,n)=>e.queue.length||e.errors.length||e.uploading&&!e.queue.length?(U(),a(`div`,Or,[e.queue.length?(U(),a(`ul`,kr,[(U(!0),a(x,null,L(e.queue,e=>(U(),a(`li`,{key:e.key},[v(`span`,{class:`kb-upload__name`,title:e.name},C(e.name),9,Ar),v(`span`,jr,[v(`span`,{class:`kb-upload__bar-fill`,style:_({width:`${Math.round(e.ratio*100)}%`})},null,4)]),v(`span`,Mr,C(Math.round(e.ratio*100))+`%`,1)]))),128))])):e.uploading?(U(),a(`p`,Nr,C(e.uploadingLabel),1)):G(``,!0),e.errors.length?(U(),a(`ul`,Pr,[(U(!0),a(x,null,L(e.errors,(e,t)=>(U(),a(`li`,{key:t},C(e.name)+` — `+C(e.reason),1))),128))])):G(``,!0)])):G(``,!0)}}),[[`__scopeId`,`data-v-06e54521`]]);function Ir(e,t){let n=new Map(e.map(e=>[e.id,e])),r=[],i=new Set,a=t;for(;a&&n.has(a)&&!i.has(a);)i.add(a),r.unshift(a),a=n.get(a).parentId;return r}function Lr(e,t){let n=[],r=new Map,i=[...e].sort((e,t)=>e.order-t.order||e.id.localeCompare(t.id));for(let e of i){let i=n;for(let n of Ir(t,e.groupId)){let e=r.get(n);e||(e={kind:`group`,id:n,children:[]},r.set(n,e),i.push(e)),i=e.children}i.push({kind:`column`,id:e.id,children:[]})}let a=e=>{let i=r.get(e.id);if(i)return i;let o={kind:`group`,id:e.id,children:[]};r.set(e.id,o);let s=e.parentId?t.find(t=>t.id===e.parentId):void 0;return(s?a(s).children:n).push(o),o};for(let e of t)Ir(t,e.id).length&&a(e);return n}function Rr(e){return e.flatMap(e=>e.kind===`column`?[e.id]:Rr(e.children))}function zr(e,t,n,r){let i=Lr(e,t),a=e=>{let t=e.findIndex(e=>e.id===n);if(t!==-1){let n=t+r;if(n<0||n>=e.length)return!1;let[i]=e.splice(t,1);return e.splice(n,0,i),!0}return e.some(e=>e.kind===`group`&&a(e.children))};return a(i)?Rr(i):null}var Br={class:`kg-lead`},Vr={key:0,class:`kg-create`},Hr={class:`kg-tree`},Ur={key:0,class:`kg-empty`},Wr=[`draggable`,`onDragstart`,`onDragover`,`onDrop`],Gr={key:2,class:`kg-row__title`},Kr={key:3,class:`kg-row__count`},qr={key:4,class:`kg-row__actions`},Jr=[`onClick`],Yr={class:`kg-loose__label`},Xr={key:0,class:`kg-empty`},Zr=[`draggable`,`onDragstart`],Qr={class:`kg-row__title`},$r=k(Ce({__name:`KanbanColumnGroups`,props:{visible:{type:Boolean},columns:{},groups:{},readOnly:{type:Boolean},t:{type:Function}},emits:[`update:visible`,`intent`],setup(e,{emit:n}){let i=e,o=n,s=le(),c=i.t,l=[`#f97316`,`#22c55e`,`#3b82f6`,`#a855f7`,`#ec4899`,`#64748b`],u=h(()=>new Map(i.groups.map(e=>[e.id,e])));function p(e){return i.columns.filter(t=>(t.groupId&&u.value.has(t.groupId)?t.groupId:void 0)===e)}function m(e){return i.groups.filter(t=>(t.parentId??void 0)===e)}function g(e){return p(e).length+m(e).reduce((e,t)=>e+g(t.id),0)}let y=h(()=>Lr(i.columns,i.groups)),b=h(()=>{let e=[],t=(n,r)=>{for(let a of n){if(a.kind===`column`){if(r===0)continue;let t=i.columns.find(e=>e.id===a.id);t&&e.push({kind:`column`,id:t.id,title:t.title,depth:r});continue}let n=u.value.get(a.id);n&&(e.push({kind:`group`,id:n.id,title:n.title,color:n.color,depth:r,columnCount:g(n.id)}),t(a.children,r+1))}};return t(y.value,0),e});function ee(e,t){let n=zr(i.columns,i.groups,e,t);n&&o(`intent`,{kind:`columns-reorder`,columnIds:n})}function S(e,t){return zr(i.columns,i.groups,e,t)!==null}let T=h(()=>p(void 0)),E=O(``);function D(){let e=E.value.trim();e&&(o(`intent`,{kind:`group-add`,title:e,color:l[i.groups.length%l.length]}),E.value=``)}let ne=O(null);function k(e){e.kind===`group`&&(ne.value={id:e.id,title:e.title})}function A(){let e=ne.value;if(!e)return;let t=e.title.trim(),n=u.value.get(e.id);t&&n&&t!==n.title&&o(`intent`,{kind:`group-update`,groupId:e.id,patch:{title:t}}),ne.value=null}function ie(e,t){let n=u.value.get(e)?.color;o(`intent`,{kind:`group-update`,groupId:e,patch:{color:n===t?null:t}})}function j(e){e.kind===`group`&&s.require({message:c(`groups.deleteConfirm`,{title:e.title}),header:c(`groups.deleteHeader`),icon:`pi pi-exclamation-triangle`,acceptClass:`p-button-danger`,accept:()=>o(`intent`,{kind:`group-delete`,groupId:e.id})})}let M=O(null),ae=O(null);function N(e,t,n){i.readOnly||(M.value={kind:e,id:t},n.dataTransfer?.setData(`text/plain`,t),n.dataTransfer&&(n.dataTransfer.effectAllowed=`move`))}function P(e,t){if(!e)return!1;if(e.kind===`column`||t===null)return!0;let n=t,r=new Set;for(;n&&!r.has(n);){if(n===e.id)return!1;r.add(n),n=u.value.get(n)?.parentId}return!0}function F(e){let t=e.relatedTarget;t&&e.currentTarget.contains(t)||(ae.value=null)}function I(e,t){P(M.value,e)&&(t.preventDefault(),ae.value=e??`root`)}function oe(e){let t=i.columns.find(t=>t.id===e)?.groupId;return t&&u.value.has(t)?t:null}function se(e){let t=M.value,n=P(t,e);ae.value=null,M.value=null,!(!t||!n)&&o(`intent`,{kind:`group-assign`,member:t,groupId:e})}function ce(){o(`update:visible`,!1)}return(n,i)=>(U(),w(z(re),{visible:e.visible,header:z(c)(`groups.title`),modal:!0,style:{width:`540px`},"onUpdate:visible":ce},{default:B(()=>[v(`p`,Br,C(z(c)(`groups.lead`)),1),e.readOnly?G(``,!0):(U(),a(`div`,Vr,[f(z(te),{modelValue:E.value,"onUpdate:modelValue":i[0]||=e=>E.value=e,placeholder:z(c)(`groups.newPlaceholder`),class:`kg-create__input`,onKeyup:r(D,[`enter`])},null,8,[`modelValue`,`placeholder`]),f(z(t),{label:z(c)(`groups.create`),icon:`pi pi-plus`,size:`small`,onClick:D},null,8,[`label`])])),v(`div`,Hr,[b.value.length?G(``,!0):(U(),a(`div`,Ur,C(z(c)(`groups.empty`)),1)),(U(!0),a(x,null,L(b.value,n=>(U(),a(`div`,{key:`${n.kind}-${n.id}`,class:d([`kg-row`,{"kg-row--group":n.kind===`group`,"kg-row--target":ae.value===n.id}]),style:_({paddingLeft:`${n.depth*1.25}rem`}),draggable:!e.readOnly,onDragstart:e=>N(n.kind,n.id,e),onDragover:e=>I(n.kind===`group`?n.id:oe(n.id),e),onDragleave:F,onDrop:V(e=>se(n.kind===`group`?n.id:oe(n.id)),[`prevent`]),onDragend:i[2]||=e=>{M.value=null,ae.value=null}},[v(`i`,{class:d([n.kind===`group`?`pi pi-folder`:`pi pi-list`,`kg-row__icon`])},null,2),n.kind===`group`?(U(),a(`span`,{key:0,class:`kg-swatch`,style:_({background:n.color||`var(--p-text-muted-color)`})},null,4)):G(``,!0),ne.value&&ne.value.id===n.id?(U(),w(z(te),{key:1,modelValue:ne.value.title,"onUpdate:modelValue":i[1]||=e=>ne.value.title=e,class:`kg-row__rename`,autofocus:``,onKeyup:r(A,[`enter`]),onBlur:A},null,8,[`modelValue`])):(U(),a(`span`,Gr,C(n.title),1)),n.kind===`group`?(U(),a(`span`,Kr,C(z(c)(`groups.columnCount`,{count:n.columnCount})),1)):G(``,!0),e.readOnly?G(``,!0):(U(),a(`div`,qr,[f(z(t),{icon:`pi pi-chevron-up`,text:``,size:`small`,disabled:!S(n.id,-1),"aria-label":z(c)(`groups.moveUp`),class:`kg-move`,onClick:e=>ee(n.id,-1)},null,8,[`disabled`,`aria-label`,`onClick`]),f(z(t),{icon:`pi pi-chevron-down`,text:``,size:`small`,disabled:!S(n.id,1),"aria-label":z(c)(`groups.moveDown`),class:`kg-move`,onClick:e=>ee(n.id,1)},null,8,[`disabled`,`aria-label`,`onClick`]),n.kind===`group`?(U(),a(x,{key:0},[(U(),a(x,null,L(l,e=>v(`span`,{key:e,class:d([`kg-dot`,{"kg-dot--on":n.color===e}]),style:_({background:e}),onClick:t=>ie(n.id,e)},null,14,Jr)),64)),f(z(t),{icon:`pi pi-pencil`,text:``,size:`small`,onClick:e=>k(n)},null,8,[`onClick`]),f(z(t),{icon:`pi pi-trash`,text:``,size:`small`,severity:`danger`,onClick:e=>j(n)},null,8,[`onClick`])],64)):G(``,!0)]))],46,Wr))),128))]),v(`div`,{class:d([`kg-loose`,{"kg-row--target":ae.value===`root`}]),onDragover:i[4]||=e=>I(null,e),onDragleave:F,onDrop:i[5]||=V(e=>se(null),[`prevent`])},[v(`div`,Yr,C(z(c)(`groups.loose`)),1),T.value.length?G(``,!0):(U(),a(`div`,Xr,C(z(c)(`groups.looseEmpty`)),1)),(U(!0),a(x,null,L(T.value,t=>(U(),a(`div`,{key:t.id,class:`kg-row`,draggable:!e.readOnly,onDragstart:e=>N(`column`,t.id,e),onDragend:i[3]||=e=>{M.value=null,ae.value=null}},[i[6]||=v(`i`,{class:`pi pi-list kg-row__icon`},null,-1),v(`span`,Qr,C(t.title),1)],40,Zr))),128))],34)]),_:1},8,[`visible`,`header`]))}}),[[`__scopeId`,`data-v-48711454`]]),ei={class:`kb-header`},ti={class:`kb-header__search`},ni={key:1,class:`kb-header__search-more`},ri={key:1,class:`kb-header__readonly`},ii={class:`kb-boardwrap`},ai={class:`kb-band__title`},oi={class:`kb-band__count`},si=[`data-col-id`,`onPointerdown`,`onTouchstart`],ci=[`title`,`onClick`],li={class:`kb-col__count`},ui={key:0,class:`pi pi-bell kb-col__bell--on`},di={key:1,class:`kb-col__header`},fi=[`value`,`readonly`,`onBlur`],pi={class:`kb-col__header-right`},mi={class:`kb-col__count`},hi=[`onClick`],gi={key:3,class:`kb-col__cards`},_i=[`data-card-id`,`onPointerdown`,`onTouchstart`,`onClick`],vi=[`onClick`],yi=[`onClick`],bi={key:0,class:`kb-col__empty`},xi=[`onClick`],Si={class:`kb-subscribe__lead`},Ci={class:`kb-subscribe__legend`},wi={class:`kb-subscribe__options`},Ti={class:`kb-subscribe__option`},Ei={class:`kb-subscribe__legend`},Di={class:`kb-subscribe__options`},Oi={class:`kb-subscribe__no`},ki={class:`kb-subscribe__legend`},Ai={class:`kb-subscribe__options`},ji={class:`kb-subscribe__channels`},Mi={key:1,class:`kb-subscribe__channels`},Ni={class:`kb-tpl-intro`},Pi={class:`kb-tpl-list`},Fi=[`onClick`],Ii={key:0,class:`kb-add-col`},Li={key:0,class:`kb-add-col__form`},Ri={class:`kb-add-col__actions`},zi={class:`kb-filters__body`},Bi={class:`kb-filters__section`},Vi={class:`kb-side__label`},Hi={class:`kb-ops`},Ui=[`onClick`],Wi={key:0,class:`kb-prio`},Gi={class:`kb-prio__value`},Ki={key:1,class:`kb-side__hint`},qi={class:`kb-filters__section`},Ji={class:`kb-side__label`},Yi={class:`kb-colors`},Xi=[`onClick`],Zi={class:`kb-filters__section`},Qi={class:`kb-side__label`},$i={key:0,class:`pi pi-ban`},ea={class:`kb-filters__section`},ta={class:`kb-side__label`},na={key:0,class:`pi pi-ban`},ra={class:`kb-filters__section`},ia={class:`kb-side__label`},aa={key:0,class:`pi pi-ban`},oa={key:1,class:`kb-link__col`},sa={class:`kb-side__hint`},ca={class:`kb-archive__hint`},la={class:`kb-archive__search`},ua={key:0,class:`kb-archive__empty`},da={key:1,class:`kb-archive__empty`},fa={key:2,class:`kb-archive__empty`},pa={key:0,class:`kb-archive__filtered`},ma={key:1,class:`kb-archive__filtered`},ha={class:`kb-archive__list`},ga=[`onClick`],_a=[`onClick`],va={class:`kb-archive__meta`},ya={key:0},ba={key:1},xa={key:0,class:`kb-dialog`},Sa={class:`kb-dialog__main`},Ca={key:0,class:`kb-dialog__archived`},wa={class:`kb-dialog__edit-content`},Ta={class:`kb-dialog__field`},Ea={for:`kanban-card-title`,class:`kb-dialog__label`},Da={class:`kb-dialog__field`},Oa={for:`kanban-card-content`,class:`kb-dialog__label`},ka={class:`kb-dialog__field`},Aa={for:`kanban-card-images`,class:`kb-dialog__label`},ja={key:0,class:`kb-dialog__images`},Ma=[`src`],Na=[`onClick`],Pa={key:1,class:`kb-dialog__upload`},Fa={class:`kb-rel`},Ia={key:0,class:`kb-rel__section`},La={class:`kb-rel__title`},Ra={key:0,class:`kb-rel__table`},za={class:`kb-rel__people`},Ba={class:`kb-rel__num`},Va={class:`kb-rel__actions-col`},Ha={class:`kb-rel__card`},Ua={class:`kb-rel__board`},Wa={class:`kb-rel__people`},Ga={key:0,class:`kb-card__assignees`},Ka=[`title`],qa=[`src`,`onError`],Ja={key:1,class:`kb-rel__none`},Ya={class:`kb-rel__num`},Xa={class:`kb-rel__actions-col`},Za=[`title`],Qa=[`title`],$a={key:1,class:`kb-rel__empty`},eo={class:`kb-coloption`},to={class:`kb-link__col`},no={key:1,class:`kb-rel__section`},ro={class:`kb-rel__title`},io={key:0,class:`kb-rel__table`},ao={class:`kb-rel__people`},oo={class:`kb-rel__num`},so={class:`kb-rel__actions-col`},co={class:`kb-rel__card`},lo={class:`kb-rel__board`},uo={class:`kb-rel__people`},fo={key:0,class:`kb-card__assignees`},po=[`title`],mo=[`src`,`onError`],ho={key:1,class:`kb-rel__none`},go={class:`kb-rel__num`},_o={class:`kb-rel__actions-col`},vo=[`title`,`onClick`],yo=[`title`,`onClick`],bo={key:1,class:`kb-rel__empty`},xo={class:`kb-coloption`},So={class:`kb-link__col`},Co={key:2,class:`kb-rel__empty`},wo={class:`kb-comments`},To={key:0,class:`kb-comments__empty`},Eo={key:1,class:`kb-comments__list`},Do=[`onClick`],Oo={key:0,class:`pi pi-sparkles`},ko=[`src`,`onError`],Ao={key:3,class:`pi pi-user`},jo={class:`kb-comments__body`},Mo={class:`kb-comments__meta`},No={class:`kb-comments__author`},Po={class:`kb-comments__time`},Fo={key:0,class:`kb-comments__edited`},Io={key:1,class:`kb-comments__tools`},Lo=[`title`,`onClick`],Ro=[`title`,`onClick`],zo={class:`kb-comments__actions`},Bo=[`onClick`,`innerHTML`],Vo=[`onClick`],Ho=[`onKeydown`],Uo={class:`kb-comments__actions`},Wo=[`title`],Go={class:`kb-comments__hint`},Ko={class:`kb-history`},qo={key:0,class:`kb-history__empty`},Jo={key:1,class:`kb-history__timeline`},Yo=[`onClick`],Xo={class:`kb-history__icon`},Zo={class:`kb-history__body`},Qo={class:`kb-history__label`},$o={key:0,class:`pi pi-external-link`,style:{"font-size":`0.625rem`,"margin-left":`0.25rem`}},es={key:0,class:`kb-history__detail`},ts={class:`kb-history__time`},ns={class:`kb-side`},rs={key:0,class:`kb-side__block`},is={class:`kb-side__label`},as=[`title`],os=[`src`,`onError`],ss={class:`kb-assignee`},cs=[`src`,`onError`],ls={class:`kb-side__hint`},us={class:`kb-side__block`},ds={class:`kb-side__label`},fs={key:0,class:`kb-prio__value`},ps={key:0,class:`kb-prio`},ms=[`title`],hs={key:2,class:`kb-side__hint`},gs={class:`kb-side__block`},_s={class:`kb-side__label`},vs={class:`kb-deadline`},ys=[`title`],bs={key:0,class:`kb-side__hint`},xs={class:`kb-side__block`},Ss={class:`kb-side__label`},Cs={class:`kb-groups__option`},ws={class:`kb-side__hint`},Ts={key:1,class:`kb-side__block`},Es={class:`kb-side__label`},Ds={class:`kb-tree`},Os={key:0,class:`pi pi-angle-right kb-tree__branch`},ks=[`title`,`onClick`],As={class:`kb-tree__label`},js={class:`kb-side__block`},Ms={class:`kb-side__label`},Ns={class:`kb-colors`},Ps=[`disabled`],Fs=[`disabled`,`onClick`],Is={class:`kb-side__hint`},Ls={key:2,class:`kb-side__block`},Rs={class:`kb-side__label`},zs={class:`kb-side__hint`},Bs={key:3,class:`kb-side__block`},Vs={class:`kb-side__label`},Hs={class:`kb-colgroup__label`},Us={class:`kb-coloption`},Ws={key:0,class:`pi pi-arrow-right kb-coloption__away`},Gs={key:0,class:`kb-side__hint`},Ks={class:`kb-side__block kb-side__meta`},qs={key:0},Js={key:4,class:`kb-side__block`},Ys={class:`kb-side__label`},Xs={class:`kb-side__convs`},Zs=[`title`,`onClick`],Qs={class:`kb-side__conv-label`},$s={key:5,class:`kb-side__block`},ec={class:`kb-side__label`},tc={class:`kb-side__actions`},nc={key:6,class:`kb-side__block kb-side__danger`},rc={class:`kb-dialog__footer`},ic={key:0,class:`kb-dialog__unsaved`},ac={key:0,class:`kb-viewer`},oc=[`src`,`alt`],sc=[`src`,`title`],cc=[`src`],lc=[`src`],uc={key:4,class:`kb-viewer__office`},dc={key:0,class:`kb-viewer__tabs`},fc=[`onClick`],pc={class:`kb-viewer__scroll`},mc={key:0,class:`kb-viewer__table`},hc={key:1,class:`kb-viewer__empty`},gc={key:5,class:`kb-viewer__office`},_c={class:`kb-viewer__scroll kb-viewer__doc`},vc={key:0},yc={key:1},bc={key:2},xc={key:3,class:`kb-viewer__li`},Sc={key:4,class:`kb-viewer__table`},Cc={key:5},wc={key:0,class:`kb-viewer__empty`},Tc={key:6,class:`kb-viewer__office`},Ec={class:`kb-viewer__scroll kb-viewer__slides`},Dc={class:`kb-viewer__slide-no`},Oc={key:0},kc={key:7,class:`kb-viewer__office`},Ac={key:0,class:`kb-viewer__empty`},jc={key:8,class:`kb-viewer__text`},Mc={key:9,class:`kb-viewer__truncated`},Nc={key:0,class:`kb-colmenu`},Pc={class:`kb-colmenu__host`},$=`\0void`,Fc=26,Ic=512*1024,Lc=55*1024*1024,Rc=5*1024*1024,zc=400,Bc=8,Vc=5,Hc=60,Uc=12,Wc=k(Ce({__name:`KanbanBoard`,props:{columns:{},columnGroups:{default:()=>[]},name:{},readOnly:{type:Boolean,default:!1},t:{},resolveConversationId:{type:Function,default:void 0},currentUserId:{default:void 0},members:{default:()=>[]},avatarUrl:{type:Function,default:void 0},uploadImage:{type:Function,default:void 0},fetchAttachment:{type:Function,default:void 0},columnSubscriptions:{default:void 0},teams:{default:()=>[]},manageableTeamIds:{default:void 0},columnTeamSubscriptions:{default:()=>({})},deleteAttachment:{type:Function,default:void 0},templates:{default:()=>[]},loadHistory:{type:Function,default:void 0},histories:{default:void 0},addComment:{type:Function,default:void 0},editComment:{type:Function,default:void 0},removeComment:{type:Function,default:void 0},moveCard:{type:Function,default:void 0},otherBoards:{default:()=>[]},moveCardToBoard:{type:Function,default:void 0},cardLinks:{default:()=>[]},linkedCards:{default:()=>[]},setCardParent:{type:Function,default:void 0},archivedCards:{default:()=>[]},loadingArchive:{type:Boolean,default:!1},archiveTruncated:{type:Boolean,default:!1},searchMatches:{default:null},searchTruncated:{type:Boolean,default:!1}},emits:[`intent`,`back`,`open-conversation`,`card-open`,`update-column-subscription`,`open-linked-card`,`load-archive`,`search-cards`],setup(n,{expose:i,emit:o}){let l=n,u=h(()=>l.loadHistory!==void 0),p=o,m=le(),g=l.t;function b(){if(crypto.randomUUID)return crypto.randomUUID();let e=new Uint8Array(16);crypto.getRandomValues(e),e[6]=e[6]&15|64,e[8]=e[8]&63|128;let t=Array.from(e).map(e=>e.toString(16).padStart(2,`0`)).join(``);return`${t.slice(0,8)}-${t.slice(8,12)}-${t.slice(12,16)}-${t.slice(16,20)}-${t.slice(20)}`}function ee(e){return JSON.parse(JSON.stringify(e))}let T=O(ee(l.columns));c(()=>l.columns,e=>{T.value=ee(e),Jt()});function D(e,t){T.value=e,t&&p(`intent`,t)}let k=O(``),A=O(!1),ie=O(``),M=h(()=>[...T.value].sort((e,t)=>e.order-t.order).map(e=>({...e,cards:[...e.cards].sort((e,t)=>e.order-t.order)}))),N=O(!1),P=O(`gte`),F=O(null),I=O([]),oe=O([]),se=O([]),ce=O(!1),ue=O(!1),R=O(!1),de=O([]),pe=h(()=>{let e=new Set;for(let t of de.value){for(let n of an(t,`up`))e.add(n);for(let n of an(t,`down`))e.add(n)}return e}),me=h(()=>F.value!==null||P.value===`none`),H=h(()=>(me.value?1:0)+(I.value.length?1:0)+(oe.value.length||ce.value?1:0)+(se.value.length||ue.value?1:0)+(de.value.length||R.value?1:0));function he(){F.value=null,P.value=`gte`,I.value=[],oe.value=[],se.value=[],de.value=[],ce.value=!1,ue.value=!1,R.value=!1}function W(e){if(P.value===`none`){if(e.priority!==void 0)return!1}else if(F.value!==null){let t=e.priority;if(t===void 0||P.value===`eq`&&t!==F.value||P.value===`gte`&&t<F.value||P.value===`lte`&&t>F.value)return!1}if(I.value.length&&!I.value.includes(e.color??``))return!1;let t=e.groups??[];if(oe.value.length||ce.value){let e=oe.value.length&&t.some(e=>oe.value.includes(e)),n=ce.value&&t.length===0;if(!e&&!n)return!1}let n=e.assignees??[];if(se.value.length||ue.value){let e=se.value.length&&n.some(e=>se.value.includes(e.id)),t=ue.value&&n.length===0;if(!e&&!t)return!1}if(de.value.length||R.value){let t=de.value.length&&pe.value.has(e.id),n=R.value&&!en(e.id)&&tn(e.id).length===0;if(!t&&!n)return!1}return!0}let ge=h({get:()=>ce.value?[$,...oe.value]:oe.value,set:e=>{ce.value=e.includes($),oe.value=e.filter(e=>e!==$)}}),_e=h(()=>[$,...dt.value]),ye=h({get:()=>ue.value?[$,...se.value]:se.value,set:e=>{ue.value=e.includes($),se.value=e.filter(e=>e!==$)}}),be=h(()=>[{userId:$,name:g(`filters.noAssignees`)},...l.members]),xe=h({get:()=>R.value?[$,...de.value]:de.value,set:e=>{R.value=e.includes($),de.value=e.filter(e=>e!==$)}}),Ce=h(()=>[{id:$,title:g(`filters.noFamily`),column:``},...M.value.flatMap(e=>e.cards.map(t=>({id:t.id,title:t.title,column:e.title}))),...l.archivedCards.map(e=>({id:e.id,title:e.title,column:g(`archive.title`)}))]),we=h(()=>{let e=l.searchMatches,t=H.value>0;return!e&&!t?M.value:M.value.map(n=>({...n,cards:n.cards.filter(n=>(!e||e.has(n.id))&&(!t||W(n)))}))}),Ee=O(!1),Oe=h(()=>new Map((l.columnGroups??[]).map(e=>[e.id,e])));function Ae(e){let t=[],n=new Set,r=e;for(;r&&Oe.value.has(r)&&!n.has(r);)n.add(r),t.unshift(r),r=Oe.value.get(r).parentId;return t}let je=h(()=>{let e=new Map;for(let t of we.value)Ae(t.groupId).forEach((n,r)=>{let i=Oe.value.get(n),a=e.get(n)??{id:n,title:i.title,color:i.color,depth:r,colIds:[]};a.colIds.push(t.id),e.set(n,a)});return[...e.values()]}),Ie=h(()=>je.value.length?(Math.max(...je.value.map(e=>e.depth))+1)*Fc:0),Ue=O(null),We=O([]);function Ge(){let e=Ue.value;if(!e||!je.value.length){We.value=[];return}We.value=je.value.flatMap(t=>{let n=t.colIds.map(t=>e.querySelector(`[data-col-id="${CSS.escape(t)}"]`)).filter(e=>e!==null);if(!n.length)return[];let r=Math.min(...n.map(e=>e.offsetLeft)),i=Math.max(...n.map(e=>e.offsetLeft+e.offsetWidth)),a=n.reduce((e,t)=>e+(we.value.find(e=>e.id===t.dataset.colId)?.cards.length??0),0);return[{id:t.id,title:t.title,color:t.color,top:t.depth*Fc,left:r,width:i-r,count:a}]})}let Ke=null;De(()=>{if(Ge(),typeof ResizeObserver<`u`&&Ue.value){Ke=new ResizeObserver(()=>Ge()),Ke.observe(Ue.value);for(let e of Ue.value.querySelectorAll(`.kb-col`))Ke.observe(e)}}),ve(()=>Ke?.disconnect()),c(()=>[we.value.map(e=>`${e.id}:${e.groupId??``}:${e.cards.length}`).join(`|`),l.columnGroups],()=>{Te(()=>{if(Ge(),!(!Ke||!Ue.value))for(let e of Ue.value.querySelectorAll(`.kb-col`))Ke.observe(e)})},{deep:!0});function qe(e){return T.value.find(t=>t.id===e)?.title??``}function Je(e,t,n){e.history=[...e.history??[],{type:t,timestamp:new Date().toISOString(),detail:n}]}function Ye(){if(l.readOnly||!ie.value.trim())return;let e=ie.value.trim();D([...T.value,{id:b(),title:e,order:T.value.length,cards:[]}],{kind:`column-add`,title:e}),ie.value=``,A.value=!1}function Xe(e){if(l.readOnly)return;let t=T.value.find(t=>t.id===e);m.require({message:g(`column.confirmDeleteMessage`,{title:t?.title??``,count:t?.cards.length??0}),header:g(`column.confirmDeleteHeader`),icon:`pi pi-trash`,acceptClass:`p-button-danger`,accept:()=>D(T.value.filter(t=>t.id!==e),{kind:`column-delete`,columnId:e})})}function Ze(e,t){l.readOnly||!t.trim()||D(T.value.map(n=>n.id===e?{...n,title:t.trim()}:n),{kind:`column-rename`,columnId:e,title:t.trim()})}let K=O(null),Qe=O(``),$e=O(``),tt=O([]),nt=O([]),rt=O(!1),q=O([]),it=O([]),at=0,ot=O([]),st=Se(new Map),ct=O([]),lt=O([]),ut=O([]),dt=h(()=>{let e=new Set;for(let t of T.value)for(let n of t.cards)for(let t of n.groups??[])e.add(t);for(let t of l.archivedCards)for(let n of t.groups??[])e.add(n);return[...e].sort((e,t)=>e.localeCompare(t))});function ft(e){let t=e.query.trim(),n=new Set(lt.value),r=dt.value.filter(e=>!n.has(e)&&(!t||e.toLowerCase().includes(t.toLowerCase()))),i=dt.value.some(e=>e.toLowerCase()===t.toLowerCase());ut.value=t&&!i&&!n.has(t)?[t,...r]:r}let pt=O(null),mt=O(null),ht=h(()=>{let e=gt(mt.value),t=e?Kt(e):null;return t===null?``:t<0?g(`editor.deadlineOverdue`,{count:-t}):t===0?g(`editor.deadlineToday`):g(`editor.deadlineIn`,{count:t})});function gt(e){if(!e)return null;let t=e=>String(e).padStart(2,`0`);return`${e.getFullYear()}-${t(e.getMonth()+1)}-${t(e.getDate())}`}function _t(e){if(!e)return null;let[t,n,r]=e.split(`-`).map(Number);return new Date(t,n-1,r,12)}function vt(){l.readOnly||(pt.value=5)}function yt(e){let t=e.trim();!t||lt.value.includes(t)||(lt.value=[...lt.value,t])}let bt=O(!1);function xt(e){let t=e.target?.closest(`.p-autocomplete`)?.querySelector(`input`);return t instanceof HTMLInputElement?t:null}function St(){bt.value=!0}function Ct(e){let t=xt(e);if(t){if(e.type===`keydown`){if(t.getAttribute(`aria-activedescendant`))return;wt(t);return}bt.value=!1,setTimeout(()=>{if(bt.value){bt.value=!1,t.value=``;return}wt(t)},0)}}function wt(e){e.value.trim()&&(yt(e.value),e.value=``)}let Tt=O(``),Et=[`#ef4444`,`#f97316`,`#eab308`,`#22c55e`,`#06b6d4`,`#3b82f6`,`#8b5cf6`,`#ec4899`],Ot=O(``),kt=O(`edit`),At=O(``),jt=O([]),Mt=O(null),Nt=O(null),Pt=O(null),Ft=O(``);async function It(){await Te(),Nt.value?.scrollIntoView({block:`end`})}c(K,e=>p(`card-open`,e));let Lt=O(null),Rt=O(`bottom`);function zt(e,t=`bottom`){if(!l.readOnly){if(Rt.value=t,l.templates.length===0){Vt(e,``);return}Lt.value=e}}function Bt(e){let t=Lt.value;Lt.value=null,t&&Vt(t,e?.content??``)}function Vt(e,t){let n=T.value.find(t=>t.id===e);if(!n)return;let r=new Date().toISOString();Ht(e,{id:b(),title:g(`card.defaultTitle`),markdown:t,images:[],order:Rt.value===`top`?0:n.cards.length,...u.value?{}:{history:[{type:`created`,timestamp:r,detail:g(`card.inColumn`,{name:qe(e)})}]},createdAt:r,updatedAt:r})}function Ht(e,t){if(Rn(),K.value={colId:e,card:{...t,history:[...t.history??[]]}},l.loadHistory&&wn(t.id)){let n=l.histories?.[t.id];n&&(K.value={colId:e,card:{...t,history:n}}),l.loadHistory(t.id)}Qe.value=t.title,$e.value=t.markdown??``,tt.value=[...t.images],nt.value=[...t.attachments??[]],q.value=[],ot.value=[],At.value=``,jt.value=[],Ln(nt.value),Ln((t.history??[]).flatMap(e=>e.attachments??[])),ct.value=(t.assignees??[]).map(e=>e.id),Tt.value=t.color??``,lt.value=[...t.groups??[]],pt.value=t.priority??null,mt.value=_t(t.deadline),Ot.value=e,kt.value=`edit`}c(()=>K.value?l.histories?.[K.value.card.id]:void 0,e=>{let t=K.value;!e||!t||t.card.history===e||(K.value={colId:t.colId,card:{...t.card,history:e}},Ln(e.flatMap(e=>e.attachments??[])))});let Ut=h(()=>{let e=K.value;return e?!wn(e.card.id):!1}),Wt=h(()=>{let e=K.value;if(!e)return!1;if(Ut.value)return!0;let t=e.card,n=(e,t)=>JSON.stringify(e)===JSON.stringify(t);return Qe.value!==t.title||$e.value!==(t.markdown??``)||Ot.value!==e.colId||!n(tt.value,t.images)||!n(nt.value,t.attachments??[])||!n(ct.value,(t.assignees??[]).map(e=>e.id))||Tt.value!==(t.color??``)||!n(lt.value,t.groups??[])||pt.value!==(t.priority??null)||gt(mt.value)!==(t.deadline??null)}),Gt=h(()=>Wt.value||At.value.trim().length>0||jt.value.length>0||Pt.value!==null);function qt(){if(!Gt.value){Zt();return}m.require({message:g(`editor.confirmDiscardMessage`),header:g(`editor.confirmDiscardHeader`),icon:`pi pi-exclamation-triangle`,acceptClass:`p-button-danger`,acceptLabel:g(`editor.discard`),rejectLabel:g(`editor.keepEditing`),accept:()=>Zt()})}function Jt(){let e=K.value;if(!e)return;let t=T.value.flatMap(e=>e.cards).find(t=>t.id===e.card.id)??Cn.value.get(e.card.id);if(!t)return;if(!Wt.value){let n=T.value.find(e=>e.cards.some(e=>e.id===t.id))?.id??e.colId;K.value={colId:n,card:{...t,history:e.card.history}},Qe.value=t.title,$e.value=t.markdown??``,tt.value=[...t.images],nt.value=[...t.attachments??[]],ct.value=(t.assignees??[]).map(e=>e.id),Tt.value=t.color??``,lt.value=[...t.groups??[]],pt.value=t.priority??null,mt.value=_t(t.deadline),Ot.value=n}if(t.history===void 0)return;let n=K.value;if(!n)return;let r=e=>`${e.type}|${e.timestamp}|${e.detail??``}`,i=new Set((t.history??[]).map(r)),a=[...t.history??[],...(n.card.history??[]).filter(e=>!i.has(r(e)))].sort((e,t)=>e.timestamp.localeCompare(t.timestamp));K.value={colId:n.colId,card:{...n.card,history:a}}}function Xt(){let e=ot.value;if(ot.value=[],l.deleteAttachment)for(let t of e)l.deleteAttachment(t)}function Zt(){K.value=null,sr(),Xn(),Rn(),Xt()}function Qt(){if(X.value||!K.value)return;let{colId:e,card:t}=K.value,n=Qe.value||g(`card.untitled`),r=u.value?[]:[...t.history??[]],i=()=>new Date().toISOString();!u.value&&n!==t.title&&t.title!==g(`card.defaultTitle`)&&r.push({type:`title_changed`,timestamp:i(),detail:`"${t.title}" → "${n}"`}),!u.value&&$e.value!==t.markdown&&r.push({type:`edited`,timestamp:i()});let a=u.value?0:tt.value.length-t.images.length;a>0?r.push({type:`image_added`,timestamp:i(),detail:`${a} image(s) added`}):a<0&&r.push({type:`image_removed`,timestamp:i(),detail:`${Math.abs(a)} image(s) removed`});let o=ct.value.map(e=>({id:e,name:l.members.find(t=>t.userId===e)?.name??e})),s=u.value?[]:o.filter(e=>!(t.assignees??[]).some(t=>t.id===e.id));s.length&&r.push({type:`edited`,timestamp:i(),detail:g(`editor.assignedDetail`,{names:s.map(e=>e.name).join(`, `)})});let c=[...new Set(lt.value.map(e=>e.trim()).filter(Boolean))],{color:d,priority:f,groups:m,deadline:h,..._}=t,v={..._,title:n,markdown:$e.value,images:tt.value,attachments:nt.value,assignees:o,...Tt.value?{color:Tt.value}:{},...c.length?{groups:c}:{},...pt.value===null?{}:{priority:pt.value},...gt(mt.value)?{deadline:gt(mt.value)}:{},history:u.value?t.history:r,updatedAt:i()},y=Ot.value||e;!u.value&&y!==e&&r.push({type:`moved`,timestamp:i(),detail:`${qe(e)} → ${qe(y)}`});let b=!wn(v.id),x=b?{kind:`card-add`,columnId:y,card:v,placement:Rt.value}:{kind:`card-update`,cardId:v.id,patch:{title:v.title,markdown:v.markdown,priority:v.priority??null,color:v.color??null,deadline:v.deadline??null,groups:v.groups??[],assignees:o.map(e=>e.id),attachments:v.attachments,images:v.images}};!b&&y!==e&&p(`intent`,{kind:`card-move`,cardId:v.id,toColumnId:y}),D(T.value.map(t=>{if(t.id===e&&y!==e)return{...t,cards:t.cards.filter(e=>e.id!==v.id)};if(t.id!==y)return t;if(t.cards.some(e=>e.id===v.id))return{...t,cards:t.cards.map(e=>e.id===v.id?v:e)};let n=Rt.value===`top`?[v,...t.cards]:[...t.cards,v];return{...t,cards:n.map((e,t)=>({...e,order:t}))}}),x),ot.value=[],K.value={colId:y,card:v},Ot.value=y}function $t(e,t){for(let n of T.value){let r=n.cards.find(e=>e.id===t);if(r)return{cardId:t,boardId:e,title:r.title,boardName:g(`editor.relationsHereBoard`),columnTitle:n.title,here:!0,assignees:r.assignees??[],commentCount:r.commentCount??(r.history??[]).filter(e=>e.type===`comment`).length}}let n=l.linkedCards.find(n=>n.cardId===t&&n.boardId===e);return n?{cardId:t,boardId:e,title:n.title,boardName:n.boardName,columnTitle:n.columnTitle,here:!1,assignees:n.assignees??[],commentCount:n.commentCount??0}:null}function en(e){return l.cardLinks.find(t=>t.childCardId===e)}function tn(e){return l.cardLinks.filter(t=>t.parentCardId===e)}function nn(e){return tn(e).length}let J=h(()=>{let e=K.value;if(!e)return null;let t=en(e.card.id);return t?$t(t.parentBoardId,t.parentCardId):null}),rn=h(()=>{let e=K.value;return e?tn(e.card.id).flatMap(e=>{let t=$t(e.childBoardId,e.childCardId);return t?[t]:[]}):[]});function an(e,t){let n=new Set([e]),r=[e];for(let e=0;e<r.length&&e<=l.cardLinks.length;e+=1){let i=t===`down`?tn(r[e]).map(e=>e.childCardId):[en(r[e])?.parentCardId].filter(e=>!!e);for(let e of i)n.has(e)||(n.add(e),r.push(e))}return n}function on(e){return M.value.flatMap(t=>t.cards.filter(t=>!e.has(t.id)).map(e=>({id:e.id,title:e.title,column:t.title})))}let sn=h(()=>{let e=K.value;return e?on(an(e.card.id,`down`)):[]}),cn=h(()=>{let e=K.value;if(!e)return[];let t=an(e.card.id,`up`);for(let n of tn(e.card.id))t.add(n.childCardId);return on(t)});function ln(e){let t=K.value;!t||X.value||!l.setCardParent||l.setCardParent(t.card.id,e)}function un(e){let t=K.value;!t||!e||X.value||!l.setCardParent||l.setCardParent(e,t.card.id)}function dn(e){X.value||!l.setCardParent||l.setCardParent(e,null)}let pn=h(()=>!X.value&&l.setCardParent!==void 0&&!!K.value&&T.value.some(e=>e.cards.some(e=>e.id===K.value?.card.id))),mn=h(()=>{let e=K.value;if(!e)return[];let t=[],n=new Set([e.card.id]),r=e.card.id;for(let e=0;e<=l.cardLinks.length;e+=1){let e=en(r);if(!e||n.has(e.parentCardId))break;let i=$t(e.parentBoardId,e.parentCardId);if(!i)break;n.add(e.parentCardId),t.push(i),r=e.parentCardId}return t.reverse()}),hn=h(()=>(J.value?1:0)+rn.value.length);function gn(e,t){for(let t of T.value){let n=t.cards.find(t=>t.id===e);if(n){Ht(t.id,n);return}}t&&p(`open-linked-card`,{boardId:t,cardId:e})}let _n=h(()=>{let e=M.value.map(e=>({id:e.id,title:e.title,boardId:``})),t=[{label:g(`editor.columnGroupHere`),items:e}];if(!X.value&&l.moveCardToBoard)for(let e of l.otherBoards)e.columns.length&&t.push({label:e.name,items:e.columns.map(t=>({id:`${e.id}:${t.id}`,title:t.title,boardId:e.id}))});return t});function vn(e){let[t,n]=e.includes(`:`)?e.split(`:`):[``,e];if(!t){Ot.value=n??``;return}let r=K.value,i=l.otherBoards.find(e=>e.id===t),a=i?.columns.find(e=>e.id===n);X.value||!r||!i||!a||!l.moveCardToBoard||m.require({message:g(`editor.moveToBoardConfirm`,{board:i.name,column:a.title}),header:g(`editor.moveToBoardHeader`),icon:`pi pi-arrow-right-arrow-left`,accept:()=>{let e=r.card.id;Zt(),l.moveCardToBoard?.(e,t,a.id)}})}let yn=O(!1),Y=O(``),xn=O(``),Sn=h(()=>[{id:``,title:g(`archive.allColumns`)},...T.value.map(e=>({id:e.id,title:e.title}))]),Cn=h(()=>new Map(l.archivedCards.map(e=>[e.id,e])));function wn(e){return T.value.some(t=>t.cards.some(t=>t.id===e))||Cn.value.has(e)?!0:!!(K.value?.card.id===e&&K.value.card.archivedAt)}let Tn=h(()=>!!(K.value&&(K.value.card.archivedAt||Cn.value.has(K.value.card.id)))),X=h(()=>l.readOnly||Tn.value);function En(e){Ht(e.archivedFrom?.columnId??``,e)}let Dn=h(()=>H.value?l.archivedCards.filter(W):l.archivedCards),On=h(()=>l.archivedCards.length-Dn.value.length),kn=null;function An(){yn.value=!0,p(`load-archive`,Y.value,xn.value)}c(Y,e=>{yn.value&&(kn&&clearTimeout(kn),kn=setTimeout(()=>p(`load-archive`,e,xn.value),250))}),c(xn,e=>{yn.value&&(kn&&clearTimeout(kn),p(`load-archive`,Y.value,e))});let jn=null;c(k,e=>{if(jn&&clearTimeout(jn),!e.trim()){p(`search-cards`,``);return}jn=setTimeout(()=>p(`search-cards`,e),250)}),ve(()=>{jn&&clearTimeout(jn),kn&&clearTimeout(kn)});function Z(e,t){l.readOnly||(D(T.value.map(n=>n.id===e?{...n,cards:n.cards.filter(e=>e.id!==t)}:n),{kind:`card-archive`,cardId:t}),K.value?.card.id===t&&Zt())}function Mn(e){l.readOnly||p(`intent`,{kind:`card-unarchive`,cardId:e})}function Nn(e,t){if(l.readOnly)return;let n=T.value.find(t=>t.id===e)?.cards.find(e=>e.id===t);m.require({message:g(`editor.confirmDeleteMessage`,{title:n?.title??``}),header:g(`editor.confirmDeleteHeader`),icon:`pi pi-trash`,acceptClass:`p-button-danger`,accept:()=>{D(T.value.map(n=>n.id===e?{...n,cards:n.cards.filter(e=>e.id!==t)}:n),{kind:`card-delete`,cardId:t}),Zt()}})}function Pn(){if(X.value||!K.value||!At.value.trim()&&!jt.value.length)return;let{colId:e,card:t}=K.value,n=jt.value;if(l.addComment){let e=At.value.trim(),r=t.id;At.value=``,ot.value=ot.value.filter(e=>!n.some(t=>t.id===e.id)),jt.value=[],l.addComment(r,e,n.length?{attachments:n}:{}).then(t=>{t||(At.value.trim()||(At.value=e),jt.value=[...n,...jt.value])});return}}let Fn=/^image\/(png|jpeg|webp|gif)$/;function In(e){return st.get(e.id)}async function Ln(e){if(l.fetchAttachment)for(let t of e){if(!Fn.test(t.contentType)||st.has(t.id))continue;let e=await l.fetchAttachment(t);e&&st.set(t.id,e)}}function Rn(){for(let e of st.values())URL.revokeObjectURL(e);st.clear()}let zn=/^video\/(mp4|webm|ogg)$/,Bn=/^audio\/(mpeg|mp3|ogg|wav|x-wav|webm)$/,Vn=/^(text\/|application\/(json|xml|xhtml\+xml|javascript|x-yaml|yaml)$)/;function Hn(e){let t=e.contentType||``;if(Fn.test(t))return`image`;if(t===`application/pdf`)return`pdf`;if(zn.test(t))return`video`;if(Bn.test(t))return`audio`;let n=lr(t,e.name);return n?e.size<=20971520?n:null:Vn.test(t)&&e.size<=Ic?`text`:null}let Q=O(null),Un=O(0),Wn=h(()=>{let e=Q.value?.office;return e?.mode===`sheet`?e.sheets[Un.value]??e.sheets[0]??null:null}),Gn=O(null),Kn=O(!1);c([()=>Q.value?.office,Gn],async([e,t])=>{if(!(!t||e?.mode!==`render`)){t.replaceChildren(),Kn.value=!1;try{await e.render(t)}catch{Kn.value=!0}}});async function qn(e){let t=Hn(e),n=st.get(e.id),r=n??await l.fetchAttachment?.(e)??null;if(!r){q.value=[...q.value,{name:e.name,reason:g(`editor.downloadFailed`)}];return}if(!t){Jn(r,e.name,!n);return}let i,a;if(t===`text`)try{i=await(await fetch(r)).text()}catch{Jn(r,e.name,!n);return}else if(t===`sheet`||t===`doc`||t===`slides`)try{a=await ur(t,await(await fetch(r)).arrayBuffer(),e.name,e.contentType||``)}catch{Jn(r,e.name,!n);return}Xn(),Un.value=0,Q.value={file:e,url:r,kind:t,text:i,office:a,cached:!!n}}function Jn(e,t,n){let r=document.createElement(`a`);r.href=e,r.download=t||`file`,r.rel=`noopener`,document.body.appendChild(r),r.click(),r.remove(),n&&setTimeout(()=>URL.revokeObjectURL(e),6e4)}function Yn(){let e=Q.value;e&&Jn(e.url,e.file.name,!1)}function Xn(){let e=Q.value;Q.value=null,e&&!e.cached&&URL.revokeObjectURL(e.url)}function Zn(e){nt.value=nt.value.filter((t,n)=>n!==e)}let Qn=Se(new Set);function $n(e){return e.split(/\s+/).filter(Boolean).slice(0,2).map(e=>e[0]?.toUpperCase()??``).join(``)}let er=h(()=>l.members.map(e=>({id:e.userId,label:e.name})));function tr(e){return l.members.find(t=>t.userId===e)?.name??e}function nr(e){return!!l.currentUserId&&e.authorUser?.id===l.currentUserId}function rr(e){return e.author===`ai`?null:e.authorUser?.id??null}function ir(e){return e.author===`ai`?g(`comments.authorAi`):nr(e)?g(`comments.authorYou`):e.authorUser?.name??g(`comments.authorYou`)}function ar(e){if(!K.value)return;let{colId:t,card:n}=K.value;K.value={colId:t,card:{...n,history:e}},D(T.value.map(r=>r.id===t?{...r,cards:r.cards.map(t=>t.id===n.id?{...t,history:e}:t)}:r))}function or(e){Pt.value=e.id??null,Ft.value=e.detail??``}function sr(){Pt.value=null,Ft.value=``}function cr(){let e=Pt.value,t=Ft.value.trim();if(X.value||!e||!t||!K.value)return;let{card:n}=K.value,r=(n.history??[]).map(n=>n.id===e?{...n,detail:t,editedAt:new Date().toISOString()}:n);if(l.editComment){let i=(n.history??[]).find(t=>t.id===e);l.editComment(n.id,e,t,i?.attachments),ar(r)}sr()}function dr(e){return e.id??`${e.type}|${e.timestamp}`}function fr(e){return e.type===`comment`&&e.author===`ai`}function pr(e){return nr(e)||fr(e)}function mr(e){if(X.value||!pr(e)||!K.value)return;let t=dr(e);m.require({message:g(`comments.confirmDeleteMessage`),header:g(`comments.confirmDeleteHeader`),icon:`pi pi-trash`,acceptClass:`p-button-danger`,accept:()=>{let n=K.value;if(!n)return;let r=(n.card.history??[]).filter(e=>dr(e)!==t);l.removeComment&&e.id&&(l.removeComment(n.card.id,e.id),ar(r))}})}let hr=h(()=>l.columnSubscriptions!==void 0),gr=O(null),_r=[`entered`,`left`,`created`,`deleted`],vr=[`email`,`chat`],yr=[..._r],br=[...vr],xr=O([...yr]),Sr=O([...br]),Cr=O(null),wr=h(()=>l.manageableTeamIds?l.teams.filter(e=>l.manageableTeamIds.includes(e.id)):l.teams);function Tr(e,t=null){return t?l.columnTeamSubscriptions?.[e]?.find(e=>e.teamId===t)??null:l.columnSubscriptions?.[e]??null}function Er(e){return Tr(e)!==null}let Dr=h(()=>{let e=gr.value;return e?(l.columnTeamSubscriptions?.[e]??[]).map(e=>l.teams.find(t=>t.id===e.teamId)?.name).filter(e=>!!e):[]}),Or=Se(new Set),kr=new Map,Ar=null;function jr(e,t){t.scrollWidth>t.clientWidth+1||t.scrollHeight>t.clientHeight+1?Or.add(e):Or.delete(e)}function Mr(e,t){let n=kr.get(t);if(n&&n!==e&&Ar?.unobserve(n),!(e instanceof HTMLElement)){kr.delete(t),Or.delete(t);return}kr.set(t,e),typeof ResizeObserver<`u`&&(Ar??=new ResizeObserver(e=>{for(let t of e)for(let[e,n]of kr)n===t.target&&jr(e,n)}),Ar.observe(e)),jr(t,e)}c(()=>T.value.flatMap(e=>[e.title,...e.cards.map(e=>e.title)]).join(`\0`),()=>void Te(()=>{for(let[e,t]of kr)jr(e,t)})),ve(()=>Ar?.disconnect());function Nr(e,t){return{value:Or.has(e)?t:``,showDelay:0,hideDelay:0}}let Pr=O(null),Ir=O(null);function Lr(e,t){Ir.value=t,Pr.value?.toggle(e)}function Rr(e){let t=Ir.value;t&&(Pr.value?.hide(),e(t.id))}function zr(e,t){let n=Tr(e,t);xr.value=n?[...n.kinds]:[...yr],Sr.value=n?[...n.channels]:[...br]}function Br(e){Cr.value=null,zr(e,null),gr.value=e}function Vr(e){Cr.value=e,gr.value&&zr(gr.value,e)}let Hr=h(()=>xr.value.length>0&&Sr.value.length>0),Ur=h(()=>Cr.value?{teamId:Cr.value}:{}),Wr=h(()=>gr.value?Tr(gr.value,Cr.value)!==null:!1);function Gr(){let e=gr.value;!e||!Hr.value||(p(`update-column-subscription`,{columnId:e,subscription:{kinds:[...xr.value],channels:[...Sr.value]},...Ur.value}),gr.value=null)}function Kr(){let e=gr.value;e&&(p(`update-column-subscription`,{columnId:e,subscription:null,...Ur.value}),gr.value=null)}let qr=h(()=>l.columns.find(e=>e.id===gr.value)??null),Jr=Se(new Set),Yr=Se(new Set),Xr=h(()=>`runeya.kanban.collapsedColumns.${l.name}`),Zr=h(()=>`runeya.kanban.expandedColumns.${l.name}`);function Qr(e,t){t.clear();try{let n=window.localStorage.getItem(e);if(!n)return;let r=JSON.parse(n);if(Array.isArray(r))for(let e of r)typeof e==`string`&&t.add(e)}catch{}}function Wc(){Qr(Xr.value,Jr),Qr(Zr.value,Yr)}function Gc(){try{window.localStorage.setItem(Xr.value,JSON.stringify([...Jr])),window.localStorage.setItem(Zr.value,JSON.stringify([...Yr]))}catch{}}Wc(),c(Xr,Wc);function Kc(e){let t=l.columns.find(t=>t.id===e);return!!t&&t.cards.length===0}function qc(e){return Jr.has(e)?!0:Kc(e)&&!Yr.has(e)}function Jc(e){qc(e)?(Jr.delete(e),Kc(e)&&Yr.add(e)):(Yr.delete(e),Kc(e)||Jr.add(e)),Gc()}let Yc=h(()=>(K.value?.card.history??[]).filter(e=>e.type===`comment`));c([kt,Yc],([e])=>{e===`comments`&&(It(),cl())}),c(()=>K.value?.card.id,()=>{$c.clear(),el.clear()});function Xc(e){if(/^(https?:|mailto:)/i.test(e)){window.open(e,`_blank`,`noopener,noreferrer`);return}e.startsWith(`#`)||e.startsWith(`/`)&&window.open(e,`_blank`,`noopener,noreferrer`)}function Zc(e){let t=(e.target?.closest(`a`))?.getAttribute(`href`);return t?(e.preventDefault(),e.stopPropagation(),Xc(t),!0):!1}function Qc(t){return t?S.sanitize(e.parse(t,{async:!1}),{ALLOWED_TAGS:[`p`,`br`,`strong`,`em`,`del`,`code`,`pre`,`blockquote`,`ul`,`ol`,`li`,`h1`,`h2`,`h3`,`h4`,`a`,`span`],ALLOWED_ATTR:[`href`,`target`,`rel`,`class`]}):``}let $c=Se(new Set),el=Se(new Set);function tl(e,t){return e.id??`i${t}`}function nl(e,t){return $c.has(tl(e,t))}function rl(e,t){let n=tl(e,t);return el.has(n)||$c.has(n)}function il(e,t){let n=tl(e,t);$c.has(n)?$c.delete(n):$c.add(n)}function al(e,t,n){Zc(n)||ul(e)||rl(e,t)&&(n.stopPropagation(),il(e,t))}let ol=new Map;function sl(e,t,n){let r=tl(t,n);if(!(e instanceof HTMLElement)){ol.delete(r);return}ol.set(r,e),!$c.has(r)&&(e.scrollHeight-e.clientHeight>1?el.add(r):el.delete(r))}async function cl(){await Te();for(let[e,t]of ol)$c.has(e)||(t.scrollHeight-t.clientHeight>1?el.add(e):el.delete(e))}function ll(e){return l.resolveConversationId?l.resolveConversationId(e):e.conversationId??null}function ul(e){return!!ll(e)}let dl=h(()=>{let e=K.value?.card;if(!e)return[];let t=e.conversationEvents??e.history??[],n=new Set,r=[];for(let e of t){if(e.type!==`conversation_started`&&e.type!==`scenario_started`)continue;let t=ll(e);if(!t||n.has(t))continue;n.add(t);let i=e.detail??``,a=i.includes(` — `)?i.slice(0,i.lastIndexOf(` — `)).trim():``,o=hl(e.timestamp);r.push({id:t,label:o,title:a||ml.value[e.type]})}return r});function fl(e){let t=ll(e);t&&p(`open-conversation`,t)}let pl={created:`pi pi-plus-circle`,edited:`pi pi-pencil`,moved:`pi pi-arrow-right-arrow-left`,image_added:`pi pi-image`,image_removed:`pi pi-trash`,title_changed:`pi pi-tag`,conversation_started:`pi pi-comments`,scenario_started:`pi pi-sitemap`,comment:`pi pi-comment`,archived:`pi pi-inbox`,unarchived:`pi pi-replay`},ml=h(()=>({created:g(`history.events.created`),edited:g(`history.events.edited`),moved:g(`history.events.moved`),image_added:g(`history.events.image_added`),image_removed:g(`history.events.image_removed`),title_changed:g(`history.events.title_changed`),archived:g(`history.events.archived`),unarchived:g(`history.events.unarchived`),conversation_started:g(`history.events.conversation_started`),scenario_started:g(`history.events.scenario_started`),comment:g(`history.events.comment`)}));function hl(e){let t=new Date(e);return`${t.toLocaleDateString()} ${t.toLocaleTimeString([],{hour:`2-digit`,minute:`2-digit`})}`}function gl(e){return new Promise(t=>{let n=new FileReader;n.onload=()=>t(typeof n.result==`string`?n.result:null),n.onerror=()=>t(null),n.readAsDataURL(e)})}async function _l(e){let t=[];for(let n of e){if(n.size===0){q.value=[...q.value,{name:n.name,reason:g(`editor.uploadEmpty`)}];continue}if(n.size>Lc){q.value=[...q.value,{name:n.name,reason:g(`editor.uploadTooLarge`)}];continue}if(!l.uploadImage){q.value=[...q.value,{name:n.name,reason:g(`editor.uploadUnavailable`)}];continue}let e=`${at+=1}`;it.value=[...it.value,{key:e,name:n.name,ratio:0}];try{let r=await l.uploadImage(n,t=>{it.value=it.value.map(n=>n.key===e?{...n,ratio:t}:n)});r?(t.push(r),ot.value=[...ot.value,r]):q.value=[...q.value,{name:n.name,reason:g(`editor.uploadFailed`)}]}finally{it.value=it.value.filter(t=>t.key!==e)}}return t}async function vl(e){let t=e.target;if(!t.files)return;let n=Array.from(t.files);t.value=``,rt.value=!0,q.value=[];try{let e=await _l(n);jt.value=[...jt.value,...e],Ln(e)}finally{rt.value=!1}}async function yl(e,t){if(!(X.value||!e.length)){rt.value=!0,q.value=[];try{let n=await _l(e);if(!n.length)return;t===`comment`?jt.value=[...jt.value,...n]:nt.value=[...nt.value,...n],Ln(n)}finally{rt.value=!1}}}function bl(e){jt.value=jt.value.filter((t,n)=>n!==e)}async function xl(e){let t=e.target;if(!t.files)return;let n=Array.from(t.files);t.value=``,rt.value=!0,q.value=[],it.value=[];try{if(l.uploadImage){let e=await _l(n);nt.value=[...nt.value,...e],Ln(e);return}for(let e of n){if(!e.type.startsWith(`image/`)||e.size>Rc){q.value=[...q.value,{name:e.name,reason:g(`editor.uploadUnavailable`)}];continue}let t=await gl(e);if(!t){q.value=[...q.value,{name:e.name,reason:g(`editor.uploadFailed`)}];continue}tt.value=[...tt.value,t],Mt.value?.insertImage(t)}}finally{rt.value=!1}}function Sl(e){m.require({message:g(`editor.confirmRemoveImageMessage`),header:g(`editor.confirmRemoveImageHeader`),icon:`pi pi-trash`,acceptClass:`p-button-danger`,accept:()=>{tt.value=tt.value.filter((t,n)=>n!==e)}})}let Cl=O(null),wl=O(null),Tl=null,El=null,Dl=`before`,Ol=null,kl=`before`,Al=null,jl=null,Ml=null,Nl=[`kb-card--drop-before`,`kb-card--drop-after`],Pl=[`kb-col--col-drop-before`,`kb-col--col-drop-after`];function Fl(e,t){Al&&Al!==e&&Al.classList.remove(...Nl),Al=e,e&&(e.classList.toggle(`kb-card--drop-before`,t===`before`),e.classList.toggle(`kb-card--drop-after`,t===`after`))}function Il(e){jl&&jl!==e&&jl.classList.remove(`kb-col--dragover`),jl=e,e?.classList.add(`kb-col--dragover`)}function Ll(e,t){Ml&&Ml!==e&&Ml.classList.remove(...Pl),Ml=e,e&&(e.classList.toggle(`kb-col--col-drop-before`,t===`before`),e.classList.toggle(`kb-col--col-drop-after`,t===`after`))}function Rl(){Fl(null,`before`),Il(null),Ll(null,`before`)}let zl=O(null),Bl=O(null),Vl=O(!1),Hl=null,Ul=null,Wl=null,Gl={x:0,y:0},Kl={x:0,y:0},ql=!1,Jl=O(null);function Yl(e,t){Hl&&cancelAnimationFrame(Hl);let n=Jl.value?.querySelector(`.kb-board`),r=()=>{let i=!1;if(n){let t=n.getBoundingClientRect();e<t.left+Hc&&n.scrollLeft>0?(n.scrollLeft-=Uc,i=!0):e>t.right-Hc&&n.scrollLeft<n.scrollWidth-n.clientWidth&&(n.scrollLeft+=Uc,i=!0)}let a=Zl(e,t)?.closest(`.kb-col__cards`);if(a){let e=a.getBoundingClientRect();t<e.top+Hc&&a.scrollTop>0?(a.scrollTop-=Uc,i=!0):t>e.bottom-Hc&&a.scrollTop<a.scrollHeight-a.clientHeight&&(a.scrollTop+=Uc,i=!0)}i&&tu(e,t),Hl=i&&Vl.value?requestAnimationFrame(r):null};Hl=requestAnimationFrame(r)}function Xl(){Hl&&=(cancelAnimationFrame(Hl),null)}function Zl(e,t){Bl.value&&(Bl.value.style.display=`none`);let n=document.elementFromPoint(e,t);return Bl.value&&(Bl.value.style.display=``),n}function Ql(){Ul&&=(clearTimeout(Ul),null),Wl=null}function $l(e){if(!Wl)return;let{type:t,colId:n,cardId:r,el:i}=Wl;zl.value=t,Vl.value=!0,t===`card`&&r?(Cl.value={colId:n,cardId:r},wl.value=null):(wl.value=n,Cl.value=null),e&&navigator.vibrate&&navigator.vibrate(30);let a=t===`card`?i.closest(`.kb-card`):i.closest(`.kb-col`);if(a){let e=a.cloneNode(!0);e.style.cssText=`position:fixed;pointer-events:none;z-index:9999;opacity:0.8;width:${a.getBoundingClientRect().width}px;transform:rotate(2deg);`,document.body.appendChild(e),Bl.value=e}Wl=null}function eu(e,t){Bl.value&&(Bl.value.style.left=`${e-40}px`,Bl.value.style.top=`${t-20}px`)}function tu(e,t){let n=Zl(e,t);if(!n||!Jl.value?.contains(n)){Tl=null,El=null,Ol=null,Rl();return}if(zl.value===`card`){let e=n.closest(`.kb-card`),r=n.closest(`.kb-col`);if(e&&r){let n=e.dataset.cardId||``,i=r.dataset.colId||``;if(n&&i){let a=e.getBoundingClientRect(),o=t-a.top<a.height/2?`before`:`after`;Tl!==i&&(Tl=i,Il(r)),(El!==n||Dl!==o)&&(El=n,Dl=o,Fl(e,o))}}else if(r){let e=r.dataset.colId||``;e&&(Tl=e,El=null,Il(r),Fl(null,`before`))}}else if(zl.value===`column`){let t=n.closest(`.kb-col`);if(t){let n=t.dataset.colId||``;if(n&&n!==wl.value){let r=t.getBoundingClientRect(),i=e-r.left<r.width/2?`before`:`after`;(Ol!==n||kl!==i)&&(Ol=n,kl=i,Ll(t,i))}}}}function nu(){Ql(),Xl(),Bl.value&&=(Bl.value.remove(),null),Vl.value&&(zl.value===`card`&&Tl?hu(Tl):zl.value===`column`&&Ol&&gu(Ol)),zl.value=null,Vl.value=!1,mu()}function ru(e){return!!e?.closest(`button, a, input, textarea, select, [contenteditable="true"]`)}function iu(e,t,n,r){l.readOnly||e.pointerType===`touch`||e.button!==0||ru(e.target)||(Ql(),ql=!1,Wl={type:t,colId:n,cardId:r,el:e.target},e.currentTarget.setPointerCapture?.(e.pointerId),Gl={x:e.clientX,y:e.clientY},Kl={...Gl},document.addEventListener(`pointermove`,ou),document.addEventListener(`pointerup`,su),document.addEventListener(`pointercancel`,su),window.addEventListener(`wheel`,lu,{passive:!0}),window.addEventListener(`scroll`,lu,{capture:!0,passive:!0}),window.addEventListener(`keydown`,au))}function au(e){e.key===`Escape`&&(Tl=null,El=null,Ol=null,Rl(),su())}function ou(e){if(Kl={x:e.clientX,y:e.clientY},!Vl.value){if(!Wl||Math.hypot(e.clientX-Gl.x,e.clientY-Gl.y)<Vc)return;$l(!1)}e.preventDefault(),eu(e.clientX,e.clientY),Yl(e.clientX,e.clientY),tu(e.clientX,e.clientY)}function su(){cu(),Vl.value&&(ql=!0),nu()}function cu(){document.removeEventListener(`pointermove`,ou),document.removeEventListener(`pointerup`,su),document.removeEventListener(`pointercancel`,su),window.removeEventListener(`wheel`,lu),window.removeEventListener(`scroll`,lu,{capture:!0}),window.removeEventListener(`keydown`,au)}function lu(){Vl.value&&tu(Kl.x,Kl.y)}function uu(e){ql&&(ql=!1,e.stopImmediatePropagation(),e.preventDefault())}ve(()=>{cu(),Xl(),Bl.value&&=(Bl.value.remove(),null)});function du(e,t,n,r){if(l.readOnly||ru(e.target))return;Ql();let i=e.touches[0],a=i.clientX,o=i.clientY;Wl={type:t,colId:n,cardId:r,el:e.target};let s=e=>{let t=e.touches[0],n=t.clientX-a,r=t.clientY-o;Math.sqrt(n*n+r*r)>Bc&&(Ql(),document.removeEventListener(`touchmove`,s))};document.addEventListener(`touchmove`,s,{passive:!0}),Ul=setTimeout(()=>{document.removeEventListener(`touchmove`,s),$l(!0)},zc)}function fu(e){if(!Vl.value)return;e.preventDefault();let t=e.touches[0];Kl={x:t.clientX,y:t.clientY},eu(t.clientX,t.clientY),Yl(t.clientX,t.clientY),tu(t.clientX,t.clientY)}function pu(){nu()}function mu(){Cl.value=null,Tl=null,El=null,wl.value=null,Ol=null,Rl()}function hu(e){if(l.readOnly)return;if(wl.value){gu(e);return}if(!Cl.value)return;let{colId:t,cardId:n}=Cl.value,r=qe(t),i=qe(e),a=null,o=T.value.map(e=>e.id===t?(a=e.cards.find(e=>e.id===n)??null,{...e,cards:e.cards.filter(e=>e.id!==n)}):e),s=0;if(a){let n={...a};!u.value&&t!==e&&Je(n,`moved`,`"${r}" → "${i}"`),o=o.map(t=>{if(t.id!==e)return t;let r=[...t.cards].sort((e,t)=>e.order-t.order),i=r.length;if(El){let e=r.findIndex(e=>e.id===El);e!==-1&&(i=Dl===`before`?e:e+1)}return s=i,r.splice(i,0,n),{...t,cards:r.map((e,t)=>({...e,order:t}))}})}if(Cl.value=null,Tl=null,El=null,Rl(),l.moveCard&&a){T.value=o,l.moveCard(a.id,e,s);return}D(o,a?{kind:`card-move`,cardId:a.id,toColumnId:e,toIndex:s}:void 0)}function gu(e){if(l.readOnly||!wl.value||wl.value===e){wl.value=null,Ol=null,Rl();return}let t=[...T.value].sort((e,t)=>e.order-t.order),n=t.findIndex(e=>e.id===wl.value),r=t.splice(n,1)[0],i=t.findIndex(t=>t.id===e);t.splice(kl===`before`?i:i+1,0,r),wl.value=null,Ol=null,Rl(),D(t.map((e,t)=>({...e,order:t})),{kind:`columns-reorder`,columnIds:t.map(e=>e.id)})}return i({openCardEditor:Ht,closeCardEditor:Zt,saveCard:Qt,editingCard:K}),(e,i)=>{let o=Me(`tooltip`);return U(),a(`div`,{ref_key:`rootEl`,ref:Jl,class:`kb`},[v(`header`,ei,[f(z(t),{icon:`pi pi-arrow-left`,text:``,rounded:``,size:`small`,onClick:i[0]||=e=>p(`back`)}),y((U(),a(`h1`,{class:`kb-header__title`,ref:e=>Mr(e,`board`)},[E(C(n.name),1)])),[[o,Nr(`board`,n.name),void 0,{bottom:!0}]]),v(`span`,ti,[i[60]||=v(`i`,{class:`pi pi-search`},null,-1),f(z(te),{modelValue:k.value,"onUpdate:modelValue":i[1]||=e=>k.value=e,placeholder:z(g)(`searchPlaceholder`),size:`small`,class:`kb-header__search-input`},null,8,[`modelValue`,`placeholder`]),k.value?(U(),w(z(t),{key:0,icon:`pi pi-times`,text:``,rounded:``,size:`small`,onClick:i[2]||=e=>k.value=``})):G(``,!0),n.searchTruncated?(U(),a(`small`,ni,C(z(g)(`searchTruncated`)),1)):G(``,!0)]),y(f(z(t),{icon:`pi pi-filter`,text:``,rounded:``,size:`small`,badge:H.value?String(H.value):void 0,"badge-severity":`info`,class:d({"kb-header__filter--on":H.value}),onClick:i[3]||=e=>N.value=!0},null,8,[`badge`,`class`]),[[o,z(g)(`filters.open`),void 0,{bottom:!0}]]),y(f(z(t),{icon:`pi pi-inbox`,text:``,rounded:``,size:`small`,onClick:An},null,512),[[o,z(g)(`archive.open`),void 0,{bottom:!0}]]),n.readOnly?G(``,!0):y((U(),w(z(t),{key:0,icon:`pi pi-sitemap`,text:``,rounded:``,size:`small`,onClick:i[4]||=e=>Ee.value=!0},null,512)),[[o,z(g)(`groups.title`),void 0,{bottom:!0}]]),n.readOnly?(U(),a(`span`,ri,[i[61]||=v(`i`,{class:`pi pi-lock`},null,-1),E(` `+C(z(g)(`readOnly.badge`)),1)])):G(``,!0),j(e.$slots,`header-actions`,{},void 0,!0)]),j(e.$slots,`banner`,{},void 0,!0),v(`div`,ii,[Ie.value?(U(),a(`div`,{key:0,class:`kb-bands`,style:_({height:`${Ie.value}px`})},[(U(!0),a(x,null,L(We.value,e=>(U(),a(`div`,{key:e.id,class:`kb-band`,style:_({left:`${e.left}px`,width:`${e.width}px`,top:`${e.top}px`,"--kb-band-color":e.color||`var(--p-text-muted-color)`})},[v(`span`,ai,C(e.title),1),v(`span`,oi,C(e.count),1)],4))),128))],4)):G(``,!0),v(`div`,{ref_key:`boardEl`,ref:Ue,class:`kb-board`},[(U(!0),a(x,null,L(we.value,s=>(U(),a(`div`,{key:s.id,class:d([`kb-col`,{"kb-col--collapsed":qc(s.id),"kb-col--dragging":wl.value===s.id}]),"data-col-id":s.id,onPointerdown:e=>iu(e,`column`,s.id),onTouchstart:e=>du(e,`column`,s.id),onTouchmove:fu,onTouchend:pu,onContextmenu:i[8]||=V(()=>{},[`prevent`])},[qc(s.id)?(U(),a(`button`,{key:0,class:d([`kb-col__strip`,{"kb-col__strip--empty":s.cards.length===0}]),title:z(g)(`column.expand`),onClick:e=>Jc(s.id)},[i[62]||=v(`i`,{class:`pi pi-angle-double-right`},null,-1),v(`span`,li,C(s.cards.length),1),Er(s.id)?(U(),a(`i`,ui)):G(``,!0),y((U(),a(`span`,{class:`kb-col__strip-title`,ref_for:!0,ref:e=>Mr(e,`strip:${s.id}`)},[E(C(s.title),1)])),[[o,Nr(`strip:${s.id}`,s.title),void 0,{right:!0}]])],10,ci)):(U(),a(`div`,di,[y(v(`input`,{class:`kb-col__title`,ref_for:!0,ref:e=>Mr(e,`col:${s.id}`),value:s.title,readonly:n.readOnly,onBlur:e=>Ze(s.id,e.target.value),onKeyup:i[5]||=r(e=>e.target.blur(),[`enter`]),onMousedown:i[6]||=V(()=>{},[`stop`])},null,40,fi),[[o,Nr(`col:${s.id}`,s.title),void 0,{bottom:!0}]]),v(`div`,pi,[hr.value&&Er(s.id)?y((U(),w(z(t),{key:0,icon:`pi pi-bell`,text:``,rounded:``,size:`small`,class:`kb-col__bell--on`,onClick:e=>Br(s.id)},null,8,[`onClick`])),[[o,z(g)(`column.unsubscribe`),void 0,{bottom:!0}]]):G(``,!0),y(f(z(t),{icon:`pi pi-ellipsis-v`,text:``,rounded:``,size:`small`,class:d([`kb-col__menu-btn`,{"kb-col__menu-btn--open":Ir.value?.id===s.id}]),onClick:e=>Lr(e,s)},null,8,[`class`,`onClick`]),[[o,z(g)(`column.menu`),void 0,{bottom:!0}]]),v(`span`,mi,C(s.cards.length),1)])])),!n.readOnly&&!qc(s.id)?(U(),a(`button`,{key:2,class:`kb-col__add-card kb-col__add-card--top`,onClick:e=>zt(s.id,`top`)},[i[63]||=v(`i`,{class:`pi pi-plus`},null,-1),E(` `+C(z(g)(`column.addCard`)),1)],8,hi)):G(``,!0),qc(s.id)?G(``,!0):(U(),a(`div`,gi,[(U(!0),a(x,null,L(s.cards,t=>(U(),a(`div`,{key:t.id,class:d([`kb-card`,{"kb-card--colored":t.color}]),style:_(t.color?{borderTopColor:t.color}:void 0),"data-card-id":t.id,onPointerdown:V(e=>iu(e,`card`,s.id,t.id),[`stop`]),onTouchstart:V(e=>du(e,`card`,s.id,t.id),[`stop`]),onTouchmove:fu,onTouchend:pu,onContextmenu:i[7]||=V(()=>{},[`prevent`]),onClickCapture:uu,onClick:e=>Ht(s.id,t)},[f(fn,{card:t,t:z(g),"avatar-url":n.avatarUrl,"current-user-id":l.currentUserId,"child-count":nn(t.id),"has-parent":!!en(t.id)},{actions:B(()=>[j(e.$slots,`card-actions`,{card:t,column:s},void 0,!0),n.readOnly?G(``,!0):y((U(),a(`button`,{key:0,class:`kb-card__delete`,onClick:V(e=>Z(s.id,t.id),[`stop`])},[...i[64]||=[v(`i`,{class:`pi pi-inbox`},null,-1)]],8,vi)),[[o,z(g)(`archive.cardTooltip`),void 0,{bottom:!0}]]),n.readOnly?G(``,!0):y((U(),a(`button`,{key:1,class:`kb-card__delete`,onClick:V(e=>Nn(s.id,t.id),[`stop`])},[...i[65]||=[v(`i`,{class:`pi pi-times`},null,-1)]],8,yi)),[[o,z(g)(`card.deleteTooltip`),void 0,{bottom:!0}]])]),badges:B(()=>[j(e.$slots,`card-badges`,{card:t},void 0,!0)]),_:2},1032,[`card`,`t`,`avatar-url`,`current-user-id`,`child-count`,`has-parent`])],46,_i))),128)),s.cards.length===0?(U(),a(`div`,bi,C(z(g)(`column.dropZone`)),1)):G(``,!0)])),!n.readOnly&&!qc(s.id)?(U(),a(`button`,{key:4,class:`kb-col__add-card`,onClick:e=>zt(s.id)},[i[66]||=v(`i`,{class:`pi pi-plus`},null,-1),E(` `+C(z(g)(`column.addCard`)),1)],8,xi)):G(``,!0)],42,si))),128)),f(z(re),{visible:gr.value!==null,modal:``,header:z(g)(`column.subscribeTitle`),style:{width:`30rem`},"onUpdate:visible":i[13]||=e=>{e||(gr.value=null)}},{footer:B(()=>[Wr.value?(U(),w(z(t),{key:0,label:Cr.value?z(g)(`column.unsubscribeTeam`):z(g)(`column.unsubscribe`),severity:`danger`,text:``,onClick:Kr},null,8,[`label`])):G(``,!0),f(z(t),{label:z(g)(`editor.cancel`),text:``,onClick:i[12]||=e=>gr.value=null},null,8,[`label`]),f(z(t),{label:Wr.value?z(g)(`editor.save`):z(g)(`column.subscribeConfirm`),icon:`pi pi-bell`,disabled:!Hr.value,onClick:Gr},null,8,[`label`,`disabled`])]),default:B(()=>[v(`p`,Si,C(z(g)(`column.subscribeIntro`,{column:qr.value?.title??``})),1),wr.value.length?(U(),a(x,{key:0},[v(`p`,Ci,C(z(g)(`column.subscribeTargetLabel`)),1),v(`div`,wi,[v(`label`,Ti,[f(z(Pe),{"model-value":Cr.value,value:null,"onUpdate:modelValue":i[9]||=e=>Vr(null)},null,8,[`model-value`]),v(`span`,null,C(z(g)(`column.subscribeTargetMe`)),1)]),(U(!0),a(x,null,L(wr.value,e=>(U(),a(`label`,{key:e.id,class:`kb-subscribe__option`},[f(z(Pe),{"model-value":Cr.value,value:e.id,"onUpdate:modelValue":t=>Vr(e.id)},null,8,[`model-value`,`value`,`onUpdate:modelValue`]),v(`span`,null,C(e.name),1)]))),128))])],64)):G(``,!0),v(`p`,Ei,C(z(g)(`column.subscribeEventsLabel`)),1),v(`div`,Di,[(U(),a(x,null,L(_r,e=>v(`label`,{key:e,class:`kb-subscribe__option`},[f(z(Ne),{modelValue:xr.value,"onUpdate:modelValue":i[10]||=e=>xr.value=e,value:e},null,8,[`modelValue`,`value`]),v(`span`,null,C(z(g)(`column.subscribeKind.${e}`)),1)])),64))]),v(`p`,Oi,[i[67]||=v(`i`,{class:`pi pi-times`},null,-1),E(` `+C(z(g)(`column.subscribeNotReorder`)),1)]),v(`p`,ki,C(z(g)(`column.subscribeChannelsLabel`)),1),v(`div`,Ai,[(U(),a(x,null,L(vr,e=>v(`label`,{key:e,class:`kb-subscribe__option`},[f(z(Ne),{modelValue:Sr.value,"onUpdate:modelValue":i[11]||=e=>Sr.value=e,value:e},null,8,[`modelValue`,`value`]),v(`span`,null,C(z(g)(`column.subscribeChannel.${e}`)),1)])),64))]),v(`p`,ji,C(z(g)(`column.subscribeOwnActions`)),1),Dr.value.length?(U(),a(`p`,Mi,C(z(g)(`column.subscribeTeamsFollowing`,{teams:Dr.value.join(`, `)})),1)):G(``,!0)]),_:1},8,[`visible`,`header`]),f(z(re),{visible:Lt.value!==null,header:z(g)(`templates.pickHeader`),modal:!0,style:{width:`420px`},"onUpdate:visible":i[15]||=e=>{e||(Lt.value=null)}},{default:B(()=>[v(`p`,Ni,C(z(g)(`templates.pickIntro`)),1),v(`div`,Pi,[v(`button`,{class:`kb-tpl-option`,onClick:i[14]||=e=>Bt(null)},[i[68]||=v(`i`,{class:`pi pi-file`},null,-1),E(` `+C(z(g)(`templates.blank`)),1)]),(U(!0),a(x,null,L(n.templates,e=>(U(),a(`button`,{key:e.id,class:`kb-tpl-option`,onClick:t=>Bt(e)},[i[69]||=v(`i`,{class:`pi pi-file-edit`},null,-1),E(` `+C(e.name),1)],8,Fi))),128))])]),_:1},8,[`visible`,`header`]),n.readOnly?G(``,!0):(U(),a(`div`,Ii,[A.value?(U(),a(`div`,Li,[f(z(te),{modelValue:ie.value,"onUpdate:modelValue":i[16]||=e=>ie.value=e,placeholder:z(g)(`column.titlePlaceholder`),autofocus:``,class:`w-full`,onKeyup:[r(Ye,[`enter`]),i[17]||=r(e=>A.value=!1,[`escape`])]},null,8,[`modelValue`,`placeholder`]),v(`div`,Ri,[f(z(t),{label:z(g)(`addColumnButton`),size:`small`,disabled:!ie.value.trim(),onClick:Ye},null,8,[`label`,`disabled`]),f(z(t),{icon:`pi pi-times`,text:``,size:`small`,onClick:i[18]||=e=>A.value=!1})])])):(U(),a(`button`,{key:1,class:`kb-add-col__trigger`,onClick:i[19]||=e=>A.value=!0},[i[70]||=v(`i`,{class:`pi pi-plus`},null,-1),E(` `+C(z(g)(`addColumn`)),1)]))]))],512)]),f($r,{visible:Ee.value,"onUpdate:visible":i[20]||=e=>Ee.value=e,columns:T.value,groups:n.columnGroups,"read-only":n.readOnly,t:z(g),onIntent:i[21]||=e=>p(`intent`,e)},null,8,[`visible`,`columns`,`groups`,`read-only`,`t`]),f(z(ne),{visible:N.value,"onUpdate:visible":i[30]||=e=>N.value=e,position:`right`,header:z(g)(`filters.title`),class:`kb-filters`},{footer:B(()=>[f(z(t),{label:z(g)(`filters.reset`),icon:`pi pi-filter-slash`,text:``,disabled:!H.value,onClick:he},null,8,[`label`,`disabled`])]),default:B(()=>[v(`div`,zi,[v(`section`,Bi,[v(`span`,Vi,C(z(g)(`filters.priority`)),1),me.value?(U(),a(x,{key:1},[v(`div`,Hi,[(U(),a(x,null,L([`lte`,`eq`,`gte`],e=>y(v(`button`,{key:e,class:d([`kb-ops__btn`,{"kb-ops__btn--on":P.value===e}]),onClick:t=>{P.value=e,F.value===null&&(F.value=5)}},[E(C(e===`lte`?`≤`:e===`eq`?`=`:`≥`),1)],10,Ui),[[o,{value:z(g)(`filters.priorityOp.${e}`),showDelay:0,hideDelay:0},void 0,{bottom:!0}]])),64)),y((U(),a(`button`,{class:d([`kb-ops__btn kb-ops__btn--none`,{"kb-ops__btn--on":P.value===`none`}]),onClick:i[23]||=e=>{P.value=P.value===`none`?`gte`:`none`,F.value=P.value===`none`?null:5}},[...i[72]||=[v(`i`,{class:`pi pi-ban`},null,-1)]],2)),[[o,{value:z(g)(`filters.priorityOp.none`),showDelay:0,hideDelay:0},void 0,{bottom:!0}]])]),P.value===`none`?G(``,!0):(U(),a(`div`,Wi,[f(z(et),{"model-value":F.value??5,min:1,max:10,step:1,class:`kb-prio__slider`,"onUpdate:modelValue":i[24]||=e=>F.value=Array.isArray(e)?e[0]??null:e},null,8,[`model-value`]),v(`span`,Gi,C(F.value),1)])),v(`button`,{class:`kb-prio__set`,onClick:i[25]||=e=>{F.value=null,P.value=`gte`}},[i[73]||=v(`i`,{class:`pi pi-times`},null,-1),E(` `+C(z(g)(`filters.clearOne`)),1)]),P.value===`none`?G(``,!0):(U(),a(`p`,Ki,C(z(g)(`filters.priorityHint`)),1))],64)):(U(),a(`button`,{key:0,class:`kb-prio__set`,onClick:i[22]||=e=>F.value=5},[i[71]||=v(`i`,{class:`pi pi-plus`},null,-1),E(` `+C(z(g)(`filters.priorityAdd`)),1)]))]),v(`section`,qi,[v(`span`,Ji,C(z(g)(`filters.colors`)),1),v(`div`,Yi,[y((U(),a(`button`,{class:d([`kb-colors__swatch kb-colors__swatch--none`,{"kb-colors__swatch--on":I.value.includes(``)}]),onClick:i[26]||=e=>I.value=I.value.includes(``)?I.value.filter(e=>e!==``):[...I.value,``]},[...i[74]||=[v(`i`,{class:`pi pi-ban`},null,-1)]],2)),[[o,{value:z(g)(`editor.colorNone`),showDelay:0,hideDelay:0},void 0,{bottom:!0}]]),(U(),a(x,null,L(Et,e=>y(v(`button`,{key:e,class:d([`kb-colors__swatch`,{"kb-colors__swatch--on":I.value.includes(e)}]),style:_({background:e}),onClick:t=>I.value=I.value.includes(e)?I.value.filter(t=>t!==e):[...I.value,e]},null,14,Xi),[[o,{value:e,showDelay:0,hideDelay:0},void 0,{bottom:!0}]])),64))])]),v(`section`,Zi,[v(`span`,Qi,C(z(g)(`filters.groups`)),1),f(z(Fe),{modelValue:ge.value,"onUpdate:modelValue":i[27]||=e=>ge.value=e,options:_e.value,placeholder:z(g)(`filters.groupsPlaceholder`),display:`chip`,filter:_e.value.length>6,class:`kb-filters__control`},{option:B(({option:e})=>[v(`span`,{class:d([`kb-void`,{"kb-void--is":e===$}])},[e===$?(U(),a(`i`,$i)):G(``,!0),E(` `+C(e===$?z(g)(`filters.noGroups`):e),1)],2)]),chip:B(({value:e})=>[v(`span`,{class:d([`kb-void`,{"kb-void--is":e===$}])},C(e===$?z(g)(`filters.noGroups`):e),3)]),_:1},8,[`modelValue`,`options`,`placeholder`,`filter`])]),v(`section`,ea,[v(`span`,ta,C(z(g)(`filters.assignees`)),1),f(z(Fe),{modelValue:ye.value,"onUpdate:modelValue":i[28]||=e=>ye.value=e,options:be.value,"option-label":`name`,"option-value":`userId`,placeholder:z(g)(`filters.assigneesPlaceholder`),display:`chip`,filter:``,class:`kb-filters__control`},{option:B(({option:e})=>[v(`span`,{class:d([`kb-void`,{"kb-void--is":e.userId===$}])},[e.userId===$?(U(),a(`i`,na)):G(``,!0),E(` `+C(e.name),1)],2)]),_:1},8,[`modelValue`,`options`,`placeholder`])]),v(`section`,ra,[v(`span`,ia,C(z(g)(`filters.family`)),1),f(z(Fe),{modelValue:xe.value,"onUpdate:modelValue":i[29]||=e=>xe.value=e,options:Ce.value,"option-label":`title`,"option-value":`id`,placeholder:z(g)(`filters.familyPlaceholder`),display:`chip`,filter:``,class:`kb-filters__control`},{option:B(({option:e})=>[v(`span`,{class:d([`kb-void`,{"kb-void--is":e.id===$}])},[e.id===$?(U(),a(`i`,aa)):G(``,!0),v(`span`,null,C(e.title),1),e.column?(U(),a(`span`,oa,C(e.column),1)):G(``,!0)],2)]),_:1},8,[`modelValue`,`options`,`placeholder`]),v(`p`,sa,C(z(g)(`filters.familyHint`)),1)])])]),_:1},8,[`visible`,`header`]),f(z(ne),{visible:yn.value,"onUpdate:visible":i[35]||=e=>yn.value=e,position:`right`,header:z(g)(`archive.title`),class:`kb-archive`},{default:B(()=>[v(`p`,ca,C(z(g)(`archive.hint`)),1),v(`span`,la,[i[75]||=v(`i`,{class:`pi pi-search`},null,-1),f(z(te),{modelValue:Y.value,"onUpdate:modelValue":i[31]||=e=>Y.value=e,placeholder:z(g)(`archive.searchPlaceholder`),size:`small`,class:`kb-archive__search-input`},null,8,[`modelValue`,`placeholder`]),Y.value?(U(),w(z(t),{key:0,icon:`pi pi-times`,text:``,rounded:``,size:`small`,onClick:i[32]||=e=>Y.value=``})):G(``,!0),y(f(z(t),{icon:`pi pi-filter`,text:``,rounded:``,size:`small`,badge:H.value?String(H.value):void 0,"badge-severity":`info`,class:d({"kb-header__filter--on":H.value}),onClick:i[33]||=e=>N.value=!0},null,8,[`badge`,`class`]),[[o,z(g)(`filters.open`),void 0,{bottom:!0}]])]),f(z(ke),{modelValue:xn.value,"onUpdate:modelValue":i[34]||=e=>xn.value=e,options:Sn.value,"option-label":`title`,"option-value":`id`,size:`small`,class:`kb-archive__column`,"aria-label":z(g)(`archive.columnFilter`)},null,8,[`modelValue`,`options`,`aria-label`]),n.loadingArchive?(U(),a(`p`,ua,C(z(g)(`archive.loading`)),1)):n.archivedCards.length?Dn.value.length?(U(),a(x,{key:3},[On.value?(U(),a(`p`,pa,[E(C(z(g)(`archive.filteredOut`,{count:On.value}))+` `,1),v(`button`,{class:`kb-archive__reset`,onClick:he},C(z(g)(`filters.reset`)),1)])):G(``,!0),n.archiveTruncated?(U(),a(`p`,ma,[i[76]||=v(`i`,{class:`pi pi-exclamation-circle`},null,-1),E(` `+C(z(g)(`archive.truncated`)),1)])):G(``,!0),v(`ul`,ha,[(U(!0),a(x,null,L(Dn.value,t=>(U(),a(`li`,{key:t.id,class:d([`kb-card kb-archive__card`,{"kb-card--colored":t.color}]),style:_(t.color?{borderTopColor:t.color}:void 0),onClick:e=>En(t)},[f(fn,{card:t,t:z(g),"avatar-url":n.avatarUrl,"current-user-id":l.currentUserId,"child-count":nn(t.id),"has-parent":!!en(t.id)},{actions:B(()=>[n.readOnly?G(``,!0):y((U(),a(`button`,{key:0,class:`kb-card__delete`,onClick:V(e=>Mn(t.id),[`stop`])},[...i[77]||=[v(`i`,{class:`pi pi-replay`},null,-1)]],8,_a)),[[o,z(g)(`archive.restore`),void 0,{left:!0}]])]),badges:B(()=>[j(e.$slots,`card-badges`,{card:t},void 0,!0)]),_:2},1032,[`card`,`t`,`avatar-url`,`current-user-id`,`child-count`,`has-parent`]),v(`div`,va,[t.archivedFrom?(U(),a(`span`,ya,[i[78]||=v(`i`,{class:`pi pi-arrow-right-arrow-left`},null,-1),E(` `+C(z(g)(`archive.fromColumn`,{column:t.archivedFrom.columnTitle})),1)])):G(``,!0),t.archivedAt?(U(),a(`span`,ba,C(new Date(t.archivedAt).toLocaleDateString()),1)):G(``,!0)])],14,ga))),128))])],64)):(U(),a(`p`,fa,C(z(g)(`archive.allFiltered`,{count:On.value})),1)):(U(),a(`p`,da,C(Y.value||xn.value?z(g)(`archive.noMatch`):z(g)(`archive.empty`)),1))]),_:3},8,[`visible`,`header`]),f(z(re),{visible:!!K.value,header:Qe.value.trim()||z(g)(`card.untitled`),modal:!0,"dismissable-mask":!Gt.value,class:d([`kb-card-dialog`,{"kb-card-dialog--colored":Tt.value}]),style:_({width:`min(1400px, 92vw)`,height:`90vh`,...Tt.value?{"--kb-card-color":Tt.value}:{}}),breakpoints:{"1040px":`95vw`},"onUpdate:visible":i[54]||=e=>{e||qt()}},{footer:B(()=>[v(`div`,rc,[Gt.value&&!X.value?(U(),a(`span`,ic,[i[107]||=v(`i`,{class:`pi pi-exclamation-circle`},null,-1),E(` `+C(z(g)(`editor.unsavedHint`)),1)])):G(``,!0),f(z(t),{label:z(g)(`editor.close`),text:``,onClick:qt},null,8,[`label`]),X.value?G(``,!0):(U(),w(z(t),{key:1,label:z(g)(`editor.save`),icon:`pi pi-check`,onClick:Qt},null,8,[`label`]))])]),default:B(()=>[K.value?(U(),a(`div`,xa,[v(`div`,Sa,[Tn.value?(U(),a(`p`,Ca,[i[79]||=v(`i`,{class:`pi pi-inbox`},null,-1),E(` `+C(z(g)(`archive.editorReadOnly`)),1)])):G(``,!0),f(z(ze),{value:kt.value,"onUpdate:value":i[43]||=e=>kt.value=e},{default:B(()=>[f(z(Le),null,{default:B(()=>[f(z(Be),{value:`edit`},{default:B(()=>[i[80]||=v(`i`,{class:`pi pi-pencil`,style:{"margin-right":`0.375rem`}},null,-1),E(C(z(g)(`editor.tabs.edit`)),1)]),_:1}),pn.value||hn.value?(U(),w(z(Be),{key:0,value:`relations`},{default:B(()=>[i[81]||=v(`i`,{class:`pi pi-sitemap`,style:{"margin-right":`0.375rem`}},null,-1),E(C(z(g)(`editor.tabs.relations`,{count:hn.value})),1)]),_:1})):G(``,!0),f(z(Be),{value:`comments`},{default:B(()=>[i[82]||=v(`i`,{class:`pi pi-comments`,style:{"margin-right":`0.375rem`}},null,-1),E(C(z(g)(`editor.tabs.comments`,{count:Yc.value.length||(K.value.card.commentCount??0)})),1)]),_:1}),f(z(Be),{value:`history`},{default:B(()=>[i[83]||=v(`i`,{class:`pi pi-history`,style:{"margin-right":`0.375rem`}},null,-1),E(C(z(g)(`editor.tabs.history`,{count:K.value.card.history?.length??0})),1)]),_:1})]),_:1}),f(z(Re),null,{default:B(()=>[f(z(Ve),{value:`edit`},{default:B(()=>[v(`div`,wa,[v(`div`,Ta,[v(`label`,Ea,C(z(g)(`editor.titleLabel`)),1),f(z(te),{id:`kanban-card-title`,modelValue:Qe.value,"onUpdate:modelValue":i[36]||=e=>Qe.value=e,disabled:X.value,autofocus:``,onKeyup:r(Qt,[`enter`])},null,8,[`modelValue`,`disabled`])]),v(`div`,Da,[v(`label`,Oa,C(z(g)(`editor.contentLabel`)),1),f(z(s),{id:`kanban-card-content`,ref_key:`tiptapRef`,ref:Mt,modelValue:$e.value,"onUpdate:modelValue":i[37]||=e=>$e.value=e,markdown:``,"min-height":`20rem`,"max-height":`none`,editable:!X.value,placeholder:z(g)(`editor.contentPlaceholder`),"handle-files":e=>yl(e,`card`),mentions:er.value,"attachment-src":st,onLinkClick:Xc},null,8,[`modelValue`,`editable`,`placeholder`,`handle-files`,`mentions`,`attachment-src`])]),v(`div`,ka,[v(`label`,Aa,C(z(g)(`editor.filesLabel`)),1),tt.value.length?(U(),a(`div`,ja,[(U(!0),a(x,null,L(tt.value,(e,t)=>(U(),a(`div`,{key:t,class:`kb-dialog__thumb`},[v(`img`,{src:e,alt:`attachment`},null,8,Ma),X.value?G(``,!0):(U(),a(`button`,{key:0,class:`kb-dialog__thumb-remove`,onClick:e=>Sl(t)},[...i[84]||=[v(`i`,{class:`pi pi-times`},null,-1)]],8,Na))]))),128))])):G(``,!0),f(bn,{files:nt.value,preview:In,removable:!X.value,"remove-label":z(g)(`editor.removeFile`),onOpen:qn,onRemove:Zn},null,8,[`files`,`removable`,`remove-label`]),f(Fr,{queue:it.value,errors:q.value,uploading:rt.value,"uploading-label":z(g)(`editor.uploading`)},null,8,[`queue`,`errors`,`uploading`,`uploading-label`]),X.value?G(``,!0):(U(),a(`label`,Pa,[i[85]||=v(`i`,{class:`pi pi-upload`},null,-1),E(` `+C(z(g)(`editor.attachFile`))+` `,1),v(`input`,{id:`kanban-card-images`,type:`file`,multiple:``,onChange:xl},null,32)]))])])]),_:1}),f(z(Ve),{value:`relations`},{default:B(()=>[v(`div`,Fa,[J.value||pn.value?(U(),a(`section`,Ia,[v(`h4`,La,[i[86]||=v(`i`,{class:`pi pi-arrow-up`},null,-1),E(` `+C(z(g)(`editor.parentLabel`)),1)]),J.value?(U(),a(`table`,Ra,[v(`thead`,null,[v(`tr`,null,[v(`th`,null,C(z(g)(`editor.relationsColCard`)),1),v(`th`,null,C(z(g)(`editor.relationsColBoard`)),1),v(`th`,null,C(z(g)(`editor.relationsColColumn`)),1),v(`th`,za,C(z(g)(`editor.relationsColAssignees`)),1),v(`th`,Ba,C(z(g)(`editor.relationsColComments`)),1),v(`th`,Va,C(z(g)(`editor.relationsColActions`)),1)])]),v(`tbody`,null,[v(`tr`,null,[v(`td`,Ha,[y((U(),a(`span`,{class:`kb-rel__card-title`,ref:e=>Mr(e,`rel:${J.value?.cardId??``}`)},[E(C(J.value.title),1)])),[[o,Nr(`rel:${J.value.cardId}`,J.value.title),void 0,{top:!0}]])]),v(`td`,{class:d([`kb-rel__board`,{"kb-rel__board--away":!J.value.here}])},[y((U(),a(`span`,{class:`kb-rel__card-title`,ref:e=>Mr(e,`relb:${J.value?.cardId??``}`)},[E(C(J.value.boardName),1)])),[[o,Nr(`relb:${J.value?.cardId??``}`,J.value?.boardName??``),void 0,{top:!0}]])],2),v(`td`,Ua,[y((U(),a(`span`,{class:`kb-rel__card-title`,ref:e=>Mr(e,`relc:${J.value?.cardId??``}`)},[E(C(J.value.columnTitle),1)])),[[o,Nr(`relc:${J.value?.cardId??``}`,J.value?.columnTitle??``),void 0,{top:!0}]])]),v(`td`,Wa,[J.value.assignees.length?(U(),a(`div`,Ga,[(U(!0),a(x,null,L(J.value.assignees,e=>(U(),a(`span`,{key:e.id,class:`kb-card__avatar`,style:_(z(Yt)(e.id)),title:e.name},[n.avatarUrl&&!Qn.has(e.id)?(U(),a(`img`,{key:0,src:n.avatarUrl(e.id),alt:``,onError:t=>Qn.add(e.id)},null,40,qa)):(U(),a(x,{key:1},[E(C($n(e.name)),1)],64))],12,Ka))),128))])):(U(),a(`span`,Ja,`—`))]),v(`td`,Ya,C(J.value.commentCount||`—`),1),v(`td`,Xa,[v(`button`,{class:`kb-rel__action`,title:J.value.here?z(g)(`editor.childOpen`):z(g)(`editor.openOnBoard`,{board:J.value.boardName}),onClick:i[38]||=e=>gn(J.value.cardId,J.value.boardId)},[...i[87]||=[v(`i`,{class:`pi pi-arrow-up-right`},null,-1)]],8,Za),pn.value?(U(),a(`button`,{key:0,class:`kb-rel__action kb-rel__action--detach`,title:z(g)(`editor.detach`),onClick:i[39]||=e=>ln(null)},[...i[88]||=[v(`i`,{class:`pi pi-times`},null,-1)]],8,Qa)):G(``,!0)])])])])):(U(),a(`p`,$a,C(z(g)(`editor.parentEmptyState`)),1)),pn.value?(U(),w(z(ke),{key:2,"model-value":null,options:sn.value,"option-label":`title`,"option-value":`id`,filter:sn.value.length>6,"filter-placeholder":z(g)(`editor.parentSearchPlaceholder`),"empty-message":z(g)(`editor.parentEmpty`),"empty-filter-message":z(g)(`editor.parentEmpty`),placeholder:J.value?z(g)(`editor.parentReplace`):z(g)(`editor.parentAdd`),class:`kb-rel__picker`,"onUpdate:modelValue":ln},{option:B(({option:e})=>[v(`span`,eo,[v(`span`,null,C(e.title),1),v(`span`,to,C(e.column),1)])]),_:1},8,[`options`,`filter`,`filter-placeholder`,`empty-message`,`empty-filter-message`,`placeholder`])):G(``,!0)])):G(``,!0),rn.value.length||pn.value?(U(),a(`section`,no,[v(`h4`,ro,[i[89]||=v(`i`,{class:`pi pi-arrow-down`},null,-1),E(` `+C(z(g)(`editor.childrenLabel`,{count:rn.value.length})),1)]),rn.value.length?(U(),a(`table`,io,[v(`thead`,null,[v(`tr`,null,[v(`th`,null,C(z(g)(`editor.relationsColCard`)),1),v(`th`,null,C(z(g)(`editor.relationsColBoard`)),1),v(`th`,null,C(z(g)(`editor.relationsColColumn`)),1),v(`th`,ao,C(z(g)(`editor.relationsColAssignees`)),1),v(`th`,oo,C(z(g)(`editor.relationsColComments`)),1),v(`th`,so,C(z(g)(`editor.relationsColActions`)),1)])]),v(`tbody`,null,[(U(!0),a(x,null,L(rn.value,e=>(U(),a(`tr`,{key:e.cardId},[v(`td`,co,[y((U(),a(`span`,{class:`kb-rel__card-title`,ref_for:!0,ref:t=>Mr(t,`rel:${e.cardId}`)},[E(C(e.title),1)])),[[o,Nr(`rel:${e.cardId}`,e.title),void 0,{top:!0}]])]),v(`td`,{class:d([`kb-rel__board`,{"kb-rel__board--away":!e.here}])},[y((U(),a(`span`,{class:`kb-rel__card-title`,ref_for:!0,ref:t=>Mr(t,`relb:${e.cardId}`)},[E(C(e.boardName),1)])),[[o,Nr(`relb:${e.cardId}`,e.boardName),void 0,{top:!0}]])],2),v(`td`,lo,[y((U(),a(`span`,{class:`kb-rel__card-title`,ref_for:!0,ref:t=>Mr(t,`relc:${e.cardId}`)},[E(C(e.columnTitle),1)])),[[o,Nr(`relc:${e.cardId}`,e.columnTitle),void 0,{top:!0}]])]),v(`td`,uo,[e.assignees.length?(U(),a(`div`,fo,[(U(!0),a(x,null,L(e.assignees,e=>(U(),a(`span`,{key:e.id,class:`kb-card__avatar`,style:_(z(Yt)(e.id)),title:e.name},[n.avatarUrl&&!Qn.has(e.id)?(U(),a(`img`,{key:0,src:n.avatarUrl(e.id),alt:``,onError:t=>Qn.add(e.id)},null,40,mo)):(U(),a(x,{key:1},[E(C($n(e.name)),1)],64))],12,po))),128))])):(U(),a(`span`,ho,`—`))]),v(`td`,go,C(e.commentCount||`—`),1),v(`td`,_o,[v(`button`,{class:`kb-rel__action`,title:e.here?z(g)(`editor.childOpen`):z(g)(`editor.openOnBoard`,{board:e.boardName}),onClick:t=>gn(e.cardId,e.boardId)},[...i[90]||=[v(`i`,{class:`pi pi-arrow-up-right`},null,-1)]],8,vo),pn.value?(U(),a(`button`,{key:0,class:`kb-rel__action kb-rel__action--detach`,title:z(g)(`editor.detach`),onClick:t=>dn(e.cardId)},[...i[91]||=[v(`i`,{class:`pi pi-times`},null,-1)]],8,yo)):G(``,!0)])]))),128))])])):(U(),a(`p`,bo,C(z(g)(`editor.childrenEmptyState`)),1)),pn.value?(U(),w(z(ke),{key:2,"model-value":null,options:cn.value,"option-label":`title`,"option-value":`id`,filter:cn.value.length>6,"filter-placeholder":z(g)(`editor.parentSearchPlaceholder`),"empty-message":z(g)(`editor.parentEmpty`),"empty-filter-message":z(g)(`editor.parentEmpty`),placeholder:z(g)(`editor.childAdd`),class:`kb-rel__picker`,"onUpdate:modelValue":un},{option:B(({option:e})=>[v(`span`,xo,[v(`span`,null,C(e.title),1),v(`span`,So,C(e.column),1)])]),_:1},8,[`options`,`filter`,`filter-placeholder`,`empty-message`,`empty-filter-message`,`placeholder`])):G(``,!0)])):G(``,!0),!pn.value&&!J.value&&!rn.value.length?(U(),a(`p`,Co,C(z(g)(`editor.relationsEmpty`)),1)):G(``,!0)])]),_:1}),f(z(Ve),{value:`comments`},{default:B(()=>[v(`div`,wo,[Yc.value.length?(U(),a(`div`,Eo,[(U(!0),a(x,null,L(Yc.value,(e,r)=>(U(),a(`div`,{key:r,class:d([`kb-comments__item`,{"kb-comments__item--ai":e.author===`ai`,"kb-comments__item--clickable":ul(e)}]),onClick:t=>ul(e)&&fl(e)},[v(`div`,{class:d([`kb-comments__avatar`,{"kb-comments__avatar--photo":!!rr(e)}]),style:_(rr(e)?z(Yt)(rr(e)):void 0)},[e.author===`ai`?(U(),a(`i`,Oo)):rr(e)&&n.avatarUrl&&!Qn.has(rr(e))?(U(),a(`img`,{key:1,src:n.avatarUrl(rr(e)),alt:``,onError:t=>Qn.add(rr(e))},null,40,ko)):e.authorUser?.name?(U(),a(x,{key:2},[E(C($n(e.authorUser.name)),1)],64)):(U(),a(`i`,Ao))],6),v(`div`,jo,[v(`div`,Mo,[v(`span`,No,C(ir(e)),1),v(`span`,Po,C(hl(e.timestamp)),1),e.editedAt?(U(),a(`span`,Fo,C(z(g)(`comments.edited`)),1)):G(``,!0),!X.value&&pr(e)&&Pt.value!==e.id?(U(),a(`span`,Io,[nr(e)?(U(),a(`button`,{key:0,class:`kb-comments__tool`,title:z(g)(`comments.edit`),onClick:V(t=>or(e),[`stop`])},[...i[93]||=[v(`i`,{class:`pi pi-pencil`},null,-1)]],8,Lo)):G(``,!0),v(`button`,{class:`kb-comments__tool`,title:z(g)(`comments.delete`),onClick:V(t=>mr(e),[`stop`])},[...i[94]||=[v(`i`,{class:`pi pi-trash`},null,-1)]],8,Ro)])):G(``,!0)]),Pt.value===e.id?(U(),a(`div`,{key:0,class:`kb-comments__edit`,onClick:i[41]||=V(()=>{},[`stop`])},[f(z(s),{modelValue:Ft.value,"onUpdate:modelValue":i[40]||=e=>Ft.value=e,markdown:``,"min-height":`1.4rem`,"max-height":`7.1rem`,mentions:er.value,onLinkClick:Xc},null,8,[`modelValue`,`mentions`]),v(`div`,zo,[f(z(t),{label:z(g)(`editor.cancel`),size:`small`,text:``,onClick:sr},null,8,[`label`]),f(z(t),{label:z(g)(`editor.save`),size:`small`,disabled:!Ft.value.trim(),onClick:cr},null,8,[`label`,`disabled`])])])):e.detail?(U(),a(x,{key:1},[v(`div`,{ref_for:!0,ref:t=>sl(t,e,r),class:d([`kb-comments__text kb-comments__text--markdown`,{"kb-comments__text--clamped":!nl(e,r),"kb-comments__text--toggleable":rl(e,r)&&!ul(e)}]),onClick:t=>al(e,r,t),innerHTML:Qc(e.detail)},null,10,Bo),rl(e,r)?(U(),a(`button`,{key:0,class:`kb-comments__more`,onClick:V(t=>il(e,r),[`stop`])},C(nl(e,r)?z(g)(`comments.showLess`):z(g)(`comments.showMore`)),9,Vo)):G(``,!0)],64)):G(``,!0),Pt.value===e.id?G(``,!0):(U(),w(bn,{key:2,files:e.attachments??[],preview:In,compact:``,onOpen:qn},null,8,[`files`]))])],10,Do))),128)),v(`div`,{ref_key:`commentsEndEl`,ref:Nt},null,512)])):(U(),a(`div`,To,[i[92]||=v(`i`,{class:`pi pi-comments`},null,-1),v(`span`,null,C(z(g)(`comments.empty`)),1)])),X.value?G(``,!0):(U(),a(`div`,{key:2,class:`kb-comments__input`,onKeydown:[r(V(Pn,[`ctrl`,`prevent`]),[`enter`]),r(V(Pn,[`meta`,`prevent`]),[`enter`])]},[f(z(s),{modelValue:At.value,"onUpdate:modelValue":i[42]||=e=>At.value=e,markdown:``,placeholder:z(g)(`comments.placeholder`),"min-height":`1.4rem`,"max-height":`7.1rem`,"handle-files":e=>yl(e,`comment`),mentions:er.value,onLinkClick:Xc},null,8,[`modelValue`,`placeholder`,`handle-files`,`mentions`]),f(bn,{files:jt.value,preview:In,openable:!1,removable:``,"remove-label":z(g)(`editor.removeFile`),compact:``,onRemove:bl},null,8,[`files`,`remove-label`]),f(Fr,{queue:it.value,errors:q.value,uploading:rt.value,"uploading-label":z(g)(`editor.uploading`)},null,8,[`queue`,`errors`,`uploading`,`uploading-label`]),v(`div`,Uo,[v(`label`,{class:`kb-comments__attach`,title:z(g)(`comments.attach`)},[i[95]||=v(`i`,{class:`pi pi-paperclip`},null,-1),v(`input`,{type:`file`,multiple:``,onChange:vl},null,32)],8,Wo),v(`span`,Go,C(z(g)(`comments.sendHint`)),1),f(z(t),{label:z(g)(`comments.send`),icon:`pi pi-send`,size:`small`,disabled:!At.value.trim()&&!jt.value.length,onClick:Pn},null,8,[`label`,`disabled`])])],40,Ho))])]),_:1}),f(z(Ve),{value:`history`},{default:B(()=>[v(`div`,Ko,[K.value.card.history?.length?(U(),a(`div`,Jo,[(U(!0),a(x,null,L([...K.value.card.history].reverse(),(e,t)=>(U(),a(`div`,{key:t,class:d([`kb-history__item`,{"kb-history__item--clickable":ul(e)}]),onClick:t=>ul(e)&&fl(e)},[v(`div`,Xo,[v(`i`,{class:d(pl[e.type])},null,2)]),v(`div`,Zo,[v(`span`,Qo,[E(C(ml.value[e.type])+` `,1),ul(e)?(U(),a(`i`,$o)):G(``,!0)]),e.detail?(U(),a(`span`,es,C(e.detail),1)):G(``,!0),v(`span`,ts,[E(C(hl(e.timestamp))+` `,1),e.authorUser?.name?(U(),a(x,{key:0},[E(` · `+C(z(g)(`history.by`,{name:e.authorUser.name})),1)],64)):G(``,!0)])])],10,Yo))),128))])):(U(),a(`div`,qo,[i[96]||=v(`i`,{class:`pi pi-clock`},null,-1),v(`span`,null,C(z(g)(`history.empty`)),1)]))])]),_:1})]),_:1})]),_:1},8,[`value`])]),v(`aside`,ns,[n.members.length?(U(),a(`div`,rs,[v(`span`,is,C(z(g)(`editor.assigneesLabel`)),1),f(z(Fe),{modelValue:ct.value,"onUpdate:modelValue":i[44]||=e=>ct.value=e,options:n.members,"option-label":`name`,"option-value":`userId`,placeholder:z(g)(`editor.assigneesPlaceholder`),disabled:X.value,display:`chip`,filter:``,class:`kb-side__control`},{chip:B(({value:e})=>[v(`span`,{class:`kb-card__avatar`,style:_(z(Yt)(e)),title:tr(e)},[n.avatarUrl&&!Qn.has(e)?(U(),a(`img`,{key:0,src:n.avatarUrl(e),alt:``,onError:t=>Qn.add(e)},null,40,os)):(U(),a(x,{key:1},[E(C($n(tr(e))),1)],64))],12,as)]),option:B(({option:e})=>[v(`span`,ss,[v(`span`,{class:`kb-card__avatar`,style:_(z(Yt)(e.userId))},[n.avatarUrl&&!Qn.has(e.userId)?(U(),a(`img`,{key:0,src:n.avatarUrl(e.userId),alt:``,onError:t=>Qn.add(e.userId)},null,40,cs)):(U(),a(x,{key:1},[E(C($n(e.name)),1)],64))],4),E(` `+C(e.name),1)])]),_:1},8,[`modelValue`,`options`,`placeholder`,`disabled`]),v(`p`,ls,C(z(g)(`editor.assigneesHint`)),1)])):G(``,!0),v(`div`,us,[v(`span`,ds,[E(C(z(g)(`editor.priorityLabel`))+` `,1),pt.value===null?G(``,!0):(U(),a(`span`,fs,C(pt.value)+`/10`,1))]),pt.value===null?X.value?(U(),a(`p`,hs,C(z(g)(`editor.priorityNone`)),1)):(U(),a(`button`,{key:1,class:`kb-prio__set`,onClick:vt},[i[98]||=v(`i`,{class:`pi pi-plus`},null,-1),E(` `+C(z(g)(`editor.priorityAdd`)),1)])):(U(),a(`div`,ps,[f(z(et),{modelValue:pt.value,"onUpdate:modelValue":i[45]||=e=>pt.value=e,min:1,max:10,step:1,disabled:X.value,class:`kb-prio__slider`},null,8,[`modelValue`,`disabled`]),X.value?G(``,!0):(U(),a(`button`,{key:0,class:`kb-prio__clear`,title:z(g)(`editor.priorityClear`),onClick:i[46]||=e=>pt.value=null},[...i[97]||=[v(`i`,{class:`pi pi-times`},null,-1)]],8,ms))]))]),v(`div`,gs,[v(`span`,_s,C(z(g)(`editor.deadlineLabel`)),1),v(`div`,vs,[f(z(Dt),{modelValue:mt.value,"onUpdate:modelValue":i[47]||=e=>mt.value=e,"date-format":`dd/mm/yy`,"show-icon":``,"icon-display":`input`,"show-button-bar":``,disabled:X.value,placeholder:z(g)(`editor.deadlineNone`),class:`kb-side__control`},null,8,[`modelValue`,`disabled`,`placeholder`]),!X.value&&mt.value?(U(),a(`button`,{key:0,class:`kb-prio__clear`,title:z(g)(`editor.deadlineClear`),onClick:i[48]||=e=>mt.value=null},[...i[99]||=[v(`i`,{class:`pi pi-times`},null,-1)]],8,ys)):G(``,!0)]),mt.value?(U(),a(`p`,bs,C(ht.value),1)):G(``,!0)]),v(`div`,xs,[v(`span`,Ss,C(z(g)(`editor.groupsLabel`)),1),f(z(He),{modelValue:lt.value,"onUpdate:modelValue":i[49]||=e=>lt.value=e,multiple:``,suggestions:ut.value,disabled:X.value,placeholder:lt.value.length?``:z(g)(`editor.groupsPlaceholder`),"complete-on-focus":!0,delay:120,class:`kb-side__control kb-groups`,onComplete:ft,onItemSelect:St,onKeydown:r(Ct,[`enter`]),onFocusout:Ct},{option:B(({option:e})=>[v(`span`,Cs,[v(`i`,{class:d(dt.value.includes(e)?`pi pi-tag`:`pi pi-plus`)},null,2),v(`span`,null,C(dt.value.includes(e)?e:z(g)(`editor.groupsCreate`,{name:e})),1)])]),_:1},8,[`modelValue`,`suggestions`,`disabled`,`placeholder`]),v(`p`,ws,C(z(g)(`editor.groupsHint`)),1)]),mn.value.length?(U(),a(`div`,Ts,[v(`span`,Es,C(z(g)(`editor.ancestryLabel`)),1),v(`ul`,Ds,[(U(!0),a(x,null,L(mn.value,(e,t)=>(U(),a(`li`,{key:e.cardId,class:`kb-tree__row`,style:_({paddingLeft:`${t*.75}rem`})},[t?(U(),a(`i`,Os)):G(``,!0),v(`button`,{class:`kb-tree__label`,title:e.here?z(g)(`editor.childOpen`):z(g)(`editor.openOnBoard`,{board:e.boardName}),onClick:t=>gn(e.cardId,e.boardId)},C(e.title),9,ks)],4))),128)),v(`li`,{class:`kb-tree__row kb-tree__row--self`,style:_({paddingLeft:`${mn.value.length*.75}rem`})},[i[100]||=v(`i`,{class:`pi pi-angle-right kb-tree__branch`},null,-1),v(`span`,As,C(Qe.value.trim()||z(g)(`card.untitled`)),1)],4)])])):G(``,!0),v(`div`,js,[v(`span`,Ms,C(z(g)(`editor.colorLabel`)),1),v(`div`,Ns,[y((U(),a(`button`,{class:d([`kb-colors__swatch kb-colors__swatch--none`,{"kb-colors__swatch--on":!Tt.value}]),disabled:X.value,onClick:i[50]||=e=>Tt.value=``},[...i[101]||=[v(`i`,{class:`pi pi-ban`},null,-1)]],10,Ps)),[[o,{value:z(g)(`editor.colorNone`),showDelay:0,hideDelay:0},void 0,{bottom:!0}]]),(U(),a(x,null,L(Et,e=>y(v(`button`,{key:e,class:d([`kb-colors__swatch`,{"kb-colors__swatch--on":Tt.value===e}]),style:_({background:e}),disabled:X.value,onClick:t=>Tt.value=e},null,14,Fs),[[o,{value:e,showDelay:0,hideDelay:0},void 0,{bottom:!0}]])),64))]),v(`p`,Is,C(z(g)(`editor.colorHint`)),1)]),Tn.value?(U(),a(`div`,Ls,[v(`span`,Rs,C(z(g)(`editor.columnSettingLabel`)),1),v(`p`,zs,[i[102]||=v(`i`,{class:`pi pi-inbox`},null,-1),E(` `+C(K.value.card.archivedFrom?z(g)(`archive.editorFrom`,{column:K.value.card.archivedFrom.columnTitle}):z(g)(`archive.editorNote`)),1)])])):(U(),a(`div`,Bs,[v(`span`,Vs,C(z(g)(`editor.columnSettingLabel`)),1),f(z(ke),{"model-value":Ot.value,options:_n.value,"option-label":`title`,"option-value":`id`,"option-group-label":`label`,"option-group-children":`items`,disabled:X.value,filter:_n.value.length>1,"filter-placeholder":z(g)(`editor.columnSearchPlaceholder`),"empty-filter-message":z(g)(`editor.columnSearchEmpty`),"auto-filter-focus":!0,class:`kb-side__control`,"onUpdate:modelValue":vn},{optiongroup:B(({option:e})=>[v(`span`,{class:d([`kb-colgroup`,{"kb-colgroup--away":e.items[0]?.boardId}])},[v(`i`,{class:d(e.items[0]?.boardId?`pi pi-th-large`:`pi pi-map-marker`)},null,2),v(`span`,Hs,C(e.label),1)],2)]),option:B(({option:e})=>[v(`span`,Us,[e.boardId?(U(),a(`i`,Ws)):G(``,!0),v(`span`,null,C(e.title),1)])]),_:1},8,[`model-value`,`options`,`disabled`,`filter`,`filter-placeholder`,`empty-filter-message`]),n.otherBoards.length&&n.moveCardToBoard&&!X.value?(U(),a(`p`,Gs,C(z(g)(`editor.moveToBoardHint`)),1)):G(``,!0)])),v(`div`,Ks,[K.value.card.createdBy?(U(),a(`p`,qs,[i[103]||=v(`i`,{class:`pi pi-user`},null,-1),E(` `+C(z(g)(`editor.createdBy`,{name:K.value.card.createdBy.name})),1)])):G(``,!0),v(`p`,null,[i[104]||=v(`i`,{class:`pi pi-calendar-plus`},null,-1),E(` `+C(hl(K.value.card.createdAt)),1)]),v(`p`,null,[i[105]||=v(`i`,{class:`pi pi-clock`},null,-1),E(` `+C(hl(K.value.card.updatedAt)),1)])]),dl.value.length?(U(),a(`div`,Js,[v(`span`,Ys,C(z(g)(`editor.conversationsLabel`)),1),v(`div`,Xs,[(U(!0),a(x,null,L(dl.value,e=>(U(),a(`a`,{key:e.id,class:`kb-side__conv`,title:e.title,onClick:t=>p(`open-conversation`,e.id)},[i[106]||=v(`i`,{class:`pi pi-comments`},null,-1),v(`span`,Qs,C(e.label),1)],8,Zs))),128))])])):G(``,!0),e.$slots[`card-editor-actions`]&&!Tn.value?(U(),a(`div`,$s,[v(`span`,ec,C(z(g)(`editor.actionsLabel`)),1),v(`div`,tc,[j(e.$slots,`card-editor-actions`,{card:K.value.card,colId:K.value.colId,draft:{title:Qe.value,markdown:$e.value}},void 0,!0)])])):G(``,!0),!n.readOnly&&!Ut.value?(U(),a(`div`,nc,[Tn.value?(U(),w(z(t),{key:0,label:z(g)(`archive.restore`),icon:`pi pi-replay`,severity:`secondary`,text:``,size:`small`,onClick:i[51]||=e=>{Mn(K.value.card.id),Zt()}},null,8,[`label`])):(U(),w(z(t),{key:1,label:z(g)(`archive.cardAction`),icon:`pi pi-inbox`,severity:`secondary`,text:``,size:`small`,onClick:i[52]||=e=>Z(K.value.colId,K.value.card.id)},null,8,[`label`])),f(z(t),{label:z(g)(`editor.deleteCard`),icon:`pi pi-trash`,severity:`danger`,text:``,size:`small`,onClick:i[53]||=e=>Nn(K.value.colId,K.value.card.id)},null,8,[`label`])])):G(``,!0)])])):G(``,!0)]),_:3},8,[`visible`,`header`,`dismissable-mask`,`class`,`style`]),f(z(re),{visible:!!Q.value,header:Q.value?.file.name??``,modal:!0,"dismissable-mask":``,class:`kb-viewer-dialog`,style:{width:`min(1200px, 92vw)`,height:`88vh`},"onUpdate:visible":i[55]||=e=>{e||Xn()}},{footer:B(()=>[f(z(t),{label:z(g)(`editor.viewerDownload`),icon:`pi pi-download`,text:``,onClick:Yn},null,8,[`label`]),f(z(t),{label:z(g)(`editor.close`),onClick:Xn},null,8,[`label`])]),default:B(()=>[Q.value?(U(),a(`div`,ac,[Q.value.kind===`image`?(U(),a(`img`,{key:0,src:Q.value.url,alt:Q.value.file.name,class:`kb-viewer__image`},null,8,oc)):Q.value.kind===`pdf`?(U(),a(`iframe`,{key:1,src:Q.value.url,title:Q.value.file.name,class:`kb-viewer__frame`},null,8,sc)):Q.value.kind===`video`?(U(),a(`video`,{key:2,src:Q.value.url,controls:``,class:`kb-viewer__media`},null,8,cc)):Q.value.kind===`audio`?(U(),a(`audio`,{key:3,src:Q.value.url,controls:``,class:`kb-viewer__audio`},null,8,lc)):Q.value.office?.mode===`sheet`?(U(),a(`div`,uc,[Q.value.office.sheets.length>1?(U(),a(`div`,dc,[(U(!0),a(x,null,L(Q.value.office.sheets,(e,t)=>(U(),a(`button`,{key:e.name+t,class:d([`kb-viewer__tab`,{"kb-viewer__tab--active":t===Un.value}]),onClick:e=>Un.value=t},C(e.name),11,fc))),128))])):G(``,!0),v(`div`,pc,[Wn.value&&Wn.value.rows.length?(U(),a(`table`,mc,[v(`thead`,null,[v(`tr`,null,[(U(!0),a(x,null,L(Wn.value.rows[0],(e,t)=>(U(),a(`th`,{key:t},C(e),1))),128))])]),v(`tbody`,null,[(U(!0),a(x,null,L(Wn.value.rows.slice(1),(e,t)=>(U(),a(`tr`,{key:t},[(U(!0),a(x,null,L(e,(e,t)=>(U(),a(`td`,{key:t},C(e),1))),128))]))),128))])])):(U(),a(`p`,hc,C(z(g)(`editor.viewerEmpty`)),1))])])):Q.value.office?.mode===`blocks`?(U(),a(`div`,gc,[v(`div`,_c,[(U(!0),a(x,null,L(Q.value.office.blocks,(e,t)=>(U(),a(x,{key:t},[e.type===`heading`&&e.level===1?(U(),a(`h1`,vc,C(e.text),1)):e.type===`heading`&&e.level===2?(U(),a(`h2`,yc,C(e.text),1)):e.type===`heading`?(U(),a(`h3`,bc,C(e.text),1)):e.type===`list`?(U(),a(`li`,xc,C(e.text),1)):e.type===`table`?(U(),a(`table`,Sc,[v(`tbody`,null,[(U(!0),a(x,null,L(e.rows,(e,t)=>(U(),a(`tr`,{key:t},[(U(!0),a(x,null,L(e,(e,t)=>(U(),a(`td`,{key:t},C(e),1))),128))]))),128))])])):(U(),a(`p`,Cc,C(e.text),1))],64))),128)),Q.value.office.blocks.length?G(``,!0):(U(),a(`p`,wc,C(z(g)(`editor.viewerEmpty`)),1))])])):Q.value.office?.mode===`slides`?(U(),a(`div`,Tc,[v(`div`,Ec,[(U(!0),a(x,null,L(Q.value.office.slides,(e,t)=>(U(),a(`section`,{key:t,class:`kb-viewer__slide`},[v(`span`,Dc,C(t+1),1),e.title?(U(),a(`h3`,Oc,C(e.title),1)):G(``,!0),(U(!0),a(x,null,L(e.lines,(e,t)=>(U(),a(`p`,{key:t},C(e),1))),128))]))),128))])])):Q.value.office?.mode===`render`?(U(),a(`div`,kc,[Kn.value?(U(),a(`p`,Ac,C(z(g)(`editor.viewerFailed`)),1)):G(``,!0),y(v(`div`,{ref_key:`renderHost`,ref:Gn,class:`kb-viewer__scroll kb-viewer__render`},null,512),[[fe,!Kn.value]])])):(U(),a(`pre`,jc,C(Q.value.text),1)),Q.value.office&&Q.value.office.mode!==`render`&&Q.value.office.truncated?(U(),a(`p`,Mc,[i[108]||=v(`i`,{class:`pi pi-exclamation-triangle`},null,-1),E(` `+C(z(g)(`editor.viewerTruncated`)),1)])):G(``,!0)])):G(``,!0)]),_:1},8,[`visible`,`header`]),f(z(ae),{ref_key:`colMenu`,ref:Pr,onHide:i[59]||=e=>Ir.value=null},{default:B(()=>[Ir.value?(U(),a(`div`,Nc,[v(`div`,Pc,[j(e.$slots,`column-actions`,{column:Ir.value},void 0,!0)]),hr.value?(U(),a(`button`,{key:0,class:`kb-colmenu__item`,onClick:i[56]||=e=>Rr(Br)},[i[109]||=v(`i`,{class:`pi pi-bell`},null,-1),v(`span`,null,C(Er(Ir.value.id)?z(g)(`column.unsubscribe`):z(g)(`column.subscribe`)),1)])):G(``,!0),v(`button`,{class:`kb-colmenu__item`,onClick:i[57]||=e=>Rr(Jc)},[i[110]||=v(`i`,{class:`pi pi-angle-double-left`},null,-1),v(`span`,null,C(z(g)(`column.collapse`)),1)]),n.readOnly?G(``,!0):(U(),a(`button`,{key:1,class:`kb-colmenu__item kb-colmenu__item--danger`,onClick:i[58]||=e=>Rr(Xe)},[i[111]||=v(`i`,{class:`pi pi-trash`},null,-1),v(`span`,null,C(z(g)(`column.deleteTooltip`)),1)]))])):G(``,!0)]),_:3},512)],512)}}}),[[`__scopeId`,`data-v-fa06142b`]]),Gc=[[`second`,60],[`minute`,60],[`hour`,24],[`day`,7],[`week`,4.35],[`month`,12],[`year`,1/0]];function Kc(e,t,n=new Date){let r=new Date(e).getTime();if(Number.isNaN(r))return null;let i=Math.min(0,(r-n.getTime())/1e3),a=new Intl.RelativeTimeFormat(t,{numeric:`auto`});for(let[e,t]of Gc){if(Math.abs(i)<t)return a.format(Math.round(i),e);i/=t}return null}var qc={class:`board-tile__head`},Jc={class:`board-tile__heading`},Yc=[`title`],Xc={class:`board-tile__stats`},Zc={class:`board-tile__cards`},Qc=[`title`],$c={class:`board-tile__week-in`},el={class:`board-tile__week-out`},tl={class:`board-tile__week-label`},nl={key:0,class:`board-tile__desc`},rl={key:1,class:`board-tile__projects`},il=[`aria-label`],al=[`title`],ol={key:3,class:`board-tile__foot`},sl={key:0,class:`board-tile__people`},cl=[`title`],ll=[`title`],ul=[`datetime`,`title`],dl=k(Ce({__name:`KanbanListTile`,props:{board:{},projectNames:{},cardsLabel:{},menuLabel:{},t:{type:Function}},emits:[`open`,`menu`],setup(e,{emit:n}){let i=e,o=n,s=h(()=>[...i.board.name.trim()][0]?.toLocaleUpperCase()??`#`);function c(e){let t=e.trim().split(/\s+/).filter(Boolean);return((t[0]?.[0]??``)+(t.length>1?t[t.length-1][0]:``)).toLocaleUpperCase()||`?`}let l=h(()=>{let e=i.board.columnStats??[];if(!e.reduce((e,t)=>e+t.cardCount,0))return[];let t=Math.max(1,e.length-1);return e.map((e,n)=>({...e,strength:Math.round(25+75*n/t)})).filter(e=>e.cardCount>0)}),u=h(()=>i.t(`activity.distribution`,{detail:(i.board.columnStats??[]).map(e=>`${e.title} ${e.cardCount}`).join(`, `)})),f=h(()=>{let e=i.board.lastActivityAt;if(!e)return null;let t=typeof document<`u`&&document.documentElement.lang||void 0,n=Kc(e,t);return n?{label:n,title:new Date(e).toLocaleString(t)}:null}),p=h(()=>{let e=i.board.week;return e&&(e.created||e.archived)?e:null}),m=h(()=>i.board.assignees??[]),g=h(()=>Math.max(0,(i.board.assigneeCount??m.value.length)-m.value.length));return(n,i)=>(U(),a(`article`,{class:d([`board-tile`,{"board-tile--archived":e.board.archived}]),tabindex:`0`,onClick:i[2]||=e=>o(`open`),onKeydown:i[3]||=r(V(e=>o(`open`),[`self`]),[`enter`])},[v(`div`,qc,[v(`span`,{class:`board-tile__mark`,style:_(z(Yt)(e.board.id)),"aria-hidden":`true`},C(s.value),5),v(`div`,Jc,[v(`h3`,{class:`board-tile__name`,title:e.board.name},C(e.board.name),9,Yc),v(`span`,Xc,[v(`span`,Zc,[i[4]||=v(`i`,{class:`pi pi-clone`,"aria-hidden":`true`},null,-1),E(C(e.cardsLabel),1)]),p.value?(U(),a(`span`,{key:0,class:`board-tile__week`,title:e.t(`activity.weekTitle`,{created:p.value.created,archived:p.value.archived})},[v(`span`,$c,[i[5]||=v(`i`,{class:`pi pi-arrow-down-left`,"aria-hidden":`true`},null,-1),E(C(p.value.created),1)]),v(`span`,el,[i[6]||=v(`i`,{class:`pi pi-inbox`,"aria-hidden":`true`},null,-1),E(C(p.value.archived),1)]),v(`span`,tl,C(e.t(`activity.weekShort`)),1)],8,Qc)):G(``,!0)])]),e.menuLabel?(U(),w(z(t),{key:0,icon:`pi pi-ellipsis-v`,text:``,rounded:``,severity:`secondary`,size:`small`,class:`board-tile__menu`,title:e.menuLabel,"aria-label":e.menuLabel,"aria-haspopup":`true`,onClick:i[0]||=V(e=>o(`menu`,e),[`stop`]),onKeydown:i[1]||=r(V(()=>{},[`stop`]),[`enter`])},null,8,[`title`,`aria-label`])):G(``,!0)]),e.board.description?(U(),a(`p`,nl,C(e.board.description),1)):G(``,!0),e.projectNames.length?(U(),a(`span`,rl,[(U(!0),a(x,null,L(e.projectNames,e=>(U(),a(`span`,{key:e,class:`board-tile__project`},[i[7]||=v(`i`,{class:`pi pi-box`,"aria-hidden":`true`},null,-1),E(C(e),1)]))),128))])):G(``,!0),l.value.length?(U(),a(`div`,{key:2,class:`board-tile__bar`,role:`img`,"aria-label":u.value},[(U(!0),a(x,null,L(l.value,e=>(U(),a(`span`,{key:e.id,class:`board-tile__segment`,style:_({flexGrow:e.cardCount,"--strength":`${e.strength}%`}),title:`${e.title} : ${e.cardCount}`},null,12,al))),128))],8,il)):G(``,!0),m.value.length||f.value?(U(),a(`div`,ol,[m.value.length?(U(),a(`span`,sl,[(U(!0),a(x,null,L(m.value,e=>(U(),a(`span`,{key:e.id,class:`board-tile__person`,style:_(z(Yt)(e.id)),title:e.name},C(c(e.name)),13,cl))),128)),g.value?(U(),a(`span`,{key:0,class:`board-tile__person board-tile__person--more`,title:e.t(`activity.morePeople`,{count:g.value})},`+`+C(g.value),9,ll)):G(``,!0)])):G(``,!0),f.value?(U(),a(`time`,{key:1,class:`board-tile__when`,datetime:e.board.lastActivityAt??void 0,title:f.value.title},[i[8]||=v(`i`,{class:`pi pi-clock`,"aria-hidden":`true`},null,-1),E(C(f.value.label),1)],8,ul)):G(``,!0)])):G(``,!0)],34))}}),[[`__scopeId`,`data-v-6262a369`]]);function fl(e){return`p:${e}`}function pl(e,t){if(t===`all`)return!0;let n=e.projectIds??[];return t===`none`?n.length===0:n.includes(t.slice(2))}function ml(e,t){let n=[],r=[];for(let i of e){let e=i.projectIds??[];e.includes(t)?n.push(i):e.length===0&&r.push(i)}return{current:n,unassigned:r}}function hl(e,t){let n=t??[];return(e.projectIds??[]).map(e=>n.find(t=>t.id===e)?.name).filter(e=>!!e)}var gl={class:`kanban-list-page`},_l={class:`page-header`},vl={class:`page-header__right`},yl={class:`list-menu`},bl={key:0,class:`empty-state`},xl={key:0,class:`board-section__header`},Sl={class:`board-section__title`},Cl={class:`board-section__count`},wl={key:1,class:`section-empty`},Tl={key:2,class:`board-grid`},El={key:0,class:`empty-state`},Dl={class:`board-grid`},Ol={key:0,class:`list-menu`},kl={key:0,class:`dialog-field`},Al={for:`kanlist-new-template`},jl={key:0,class:`field-hint`},Ml={class:`dialog-field`},Nl={for:`kanlist-new-name`},Pl={class:`dialog-field`},Fl={for:`kanlist-new-desc`},Il={key:1,class:`dialog-field`},Ll={for:`kanlist-new-projects`},Rl={class:`field-hint`},zl={class:`dialog-field`},Bl={for:`kanlist-new-instructions`},Vl={class:`field-hint`},Hl={class:`dialog-field`},Ul={for:`kanlist-edit-name`},Wl={class:`dialog-field`},Gl={for:`kanlist-edit-desc`},Kl={key:0,class:`dialog-field`},ql={for:`kanlist-edit-projects`},Jl={class:`field-hint`},Yl={class:`dialog-field`},Xl={for:`kanlist-edit-instructions`},Zl={class:`field-hint`},Ql={class:`templates-intro`},$l={key:0,class:`empty-state`},eu={key:1,class:`template-list`},tu={class:`template-row__name`},nu={class:`hint`},ru={key:0,class:`template-row__actions`},iu={class:`dialog-field`},au={for:`kanlist-tpl-name`},ou={class:`dialog-field`},su={for:`kanlist-tpl-content`},cu={class:`hint`},lu={class:`templates-intro`},uu={key:0,class:`empty-state`},du={key:1,class:`template-list`},fu={class:`template-row__name`},pu={key:0,class:`template-row__actions`},mu=k(Ce({__name:`KanbanList`,props:{boards:{},readOnly:{type:Boolean,default:!1},boardsLimit:{default:null},templates:{default:null},boardTemplates:{default:null},projects:{default:null},currentProjectId:{default:null},t:{}},emits:[`open`,`create`,`update`,`archive`,`delete`,`template-create`,`template-update`,`template-delete`,`board-template-delete`,`templates-needed`],setup(e,{emit:n}){let i=e,o=n,l=le(),u=i.t;function p(e){o(`templates-needed`),e()}let m=O(!1),g=O(``),_=O(``),y=O(``),b=O(null),ee=O(null),S=O(``),T=O(`all`),D=h(()=>[{value:`all`,label:u(`projects.filterAll`)},...(i.projects??[]).map(e=>({value:fl(e.id),label:e.name})),{value:`none`,label:u(`projects.filterNone`)}]);c(D,e=>{e.some(e=>e.value===T.value)||(T.value=`all`)});function ne(e){let t=(e.projectIds??[]).filter(e=>e!==i.currentProjectId);return hl({...e,projectIds:t},i.projects)}let k=O([]);function A(e){return e.normalize(`NFD`).replace(/\p{Diacritic}/gu,``).toLowerCase()}let ie=h(()=>{let e;if(i.currentProjectId){let{current:t,unassigned:n}=ml(i.boards,i.currentProjectId);e=[...t,...n]}else e=i.boards.filter(e=>pl(e,T.value));let t=A(S.value.trim());return t?e.filter(e=>A(e.name).includes(t)||A(e.description??``).includes(t)):e}),M=h(()=>ie.value.filter(e=>!e.archived)),N=h(()=>ie.value.filter(e=>e.archived)),P=h(()=>S.value.trim().length>0),F=h(()=>{if(!i.currentProjectId)return[{key:`all`,title:null,boards:M.value}];let{current:e,unassigned:t}=ml(M.value,i.currentProjectId);return[{key:`current`,title:u(`projects.sectionCurrent`),boards:e},{key:`unassigned`,title:u(`projects.sectionUnassigned`),boards:t}].filter(e=>e.boards.length>0||e.key===`current`&&!P.value)}),I=h(()=>M.value.length===0&&(P.value||!i.currentProjectId));function oe(){let e=i.currentProjectId;e&&i.projects?.some(t=>t.id===e)&&(k.value=[e]),p(()=>m.value=!0)}let ue=h(()=>i.boardsLimit!==null&&i.boards.length>=i.boardsLimit),R=h(()=>!i.readOnly&&!ue.value);function de(e){let t=(i.boardTemplates??[]).find(t=>t.id===e);t&&(g.value.trim()||(g.value=t.name),y.value=t.instructions)}let V=h(()=>(i.boardTemplates??[]).find(e=>e.id===ee.value)??null);function fe(){!R.value||!g.value.trim()||(o(`create`,{name:g.value.trim(),description:_.value.trim(),instructions:y.value.trim(),...V.value?.columns.length?{columns:V.value.columns}:{},...V.value?.columnGroups?.length?{columnGroups:V.value.columnGroups}:{},...k.value.length?{projectIds:[...k.value]}:{}}),m.value=!1,g.value=``,_.value=``,y.value=``,ee.value=null,k.value=[])}function pe(){if(!b.value)return;let{projectIds:e,...t}=b.value;o(`update`,i.projects?.length?{...t,projectIds:e}:t),b.value=null}let me=O(!1),H=O(null);function he(){H.value={id:null,name:``,content:``}}function W(e){H.value={id:e.id,name:e.name,content:e.content}}function ge(){let e=H.value;if(!e||!e.name.trim())return;let t={name:e.name.trim(),content:e.content};e.id?o(`template-update`,{id:e.id,...t}):o(`template-create`,t),H.value=null}function _e(e){l.require({message:u(`templates.confirmDeleteMessage`,{name:e.name}),header:u(`templates.confirmDeleteHeader`),icon:`pi pi-trash`,acceptClass:`p-button-danger`,accept:()=>o(`template-delete`,e.id)})}let ve=O(!1);function ye(e){l.require({message:u(`boardTemplates.confirmDeleteMessage`,{name:e.name}),header:u(`boardTemplates.confirmDeleteHeader`),icon:`pi pi-trash`,acceptClass:`p-button-danger`,accept:()=>o(`board-template-delete`,e.id)})}let xe=O(null);function Se(e){xe.value?.hide(),e()}let Ce=O(null),we=O(null);function Te(e,t){we.value=e,Ce.value?.toggle(t)}function Ee(e){let t=we.value;Ce.value?.hide(),t&&e(t)}function De(e){b.value={id:e.id,name:e.name,description:e.description,instructions:e.instructions??``,projectIds:[...e.projectIds??[]]}}function Oe(e,t){l.require({message:u(`dialogs.confirmDeleteMessage`,{name:t}),header:u(`dialogs.confirmDeleteHeader`),icon:`pi pi-trash`,acceptClass:`p-button-danger`,accept:()=>o(`delete`,e)})}return(n,i)=>(U(),a(`div`,gl,[v(`div`,_l,[v(`h1`,null,C(z(u)(`title`)),1),v(`span`,vl,[e.projects?.length&&!e.currentProjectId?(U(),w(z(ke),{key:0,modelValue:T.value,"onUpdate:modelValue":i[0]||=e=>T.value=e,options:D.value,optionLabel:`label`,optionValue:`value`,class:`project-filter`,"aria-label":z(u)(`projects.filterLabel`)},null,8,[`modelValue`,`options`,`aria-label`])):G(``,!0),f(z(be),null,{default:B(()=>[f(z(se),{class:`pi pi-search`}),f(z(te),{modelValue:S.value,"onUpdate:modelValue":i[1]||=e=>S.value=e,placeholder:z(u)(`searchPlaceholder`),class:`search-input`},null,8,[`modelValue`,`placeholder`])]),_:1}),e.boardsLimit===null?G(``,!0):(U(),a(`span`,{key:1,class:d([`quota`,{"quota--full":ue.value}])},C(z(u)(`quota`,{used:e.boards.length,limit:e.boardsLimit})),3)),e.readOnly?G(``,!0):(U(),w(z(t),{key:2,label:z(u)(`dialogs.newBoard`),icon:`pi pi-plus`,disabled:ue.value,onClick:i[2]||=e=>p(()=>m.value=!0)},null,8,[`label`,`disabled`])),e.templates||e.boardTemplates?(U(),a(x,{key:3},[f(z(t),{icon:`pi pi-ellipsis-v`,severity:`secondary`,outlined:``,title:z(u)(`menu`),"aria-label":z(u)(`menu`),onClick:i[3]||=e=>xe.value?.toggle(e)},null,8,[`title`,`aria-label`]),f(z(ae),{ref_key:`listMenu`,ref:xe},{default:B(()=>[v(`div`,yl,[e.templates?(U(),a(`button`,{key:0,class:`list-menu__item`,onClick:i[4]||=e=>Se(()=>p(()=>me.value=!0))},[i[32]||=v(`i`,{class:`pi pi-file-edit`},null,-1),v(`span`,null,C(z(u)(`templates.manage`)),1)])):G(``,!0),e.boardTemplates?(U(),a(`button`,{key:1,class:`list-menu__item`,onClick:i[5]||=e=>Se(()=>ve.value=!0)},[i[33]||=v(`i`,{class:`pi pi-bookmark`},null,-1),v(`span`,null,C(z(u)(`boardTemplates.manage`)),1)])):G(``,!0)])]),_:1},512)],64)):G(``,!0)])]),j(n.$slots,`banner`,{},void 0,!0),f(z(ze),{value:`active`},{default:B(()=>[f(z(Le),null,{default:B(()=>[f(z(Be),{value:`active`},{default:B(()=>[E(C(z(u)(`tabs.active`)),1)]),_:1}),f(z(Be),{value:`archived`},{default:B(()=>[E(C(z(u)(`tabs.archived`,{count:N.value.length})),1)]),_:1})]),_:1}),f(z(Re),null,{default:B(()=>[f(z(Ve),{value:`active`},{default:B(()=>[I.value?(U(),a(`div`,bl,C(P.value?z(u)(`noResults`,{query:S.value.trim()}):z(u)(`empty`)),1)):G(``,!0),(U(!0),a(x,null,L(F.value,n=>(U(),a(`section`,{key:n.key,class:`board-section`},[n.title?(U(),a(`header`,xl,[v(`h2`,Sl,C(n.title),1),v(`span`,Cl,C(n.boards.length),1)])):G(``,!0),n.boards.length===0?(U(),a(`div`,wl,[v(`span`,null,C(z(u)(`projects.sectionCurrentEmpty`)),1),R.value?(U(),w(z(t),{key:0,label:z(u)(`dialogs.newBoard`),icon:`pi pi-plus`,size:`small`,outlined:``,onClick:oe},null,8,[`label`])):G(``,!0)])):(U(),a(`div`,Tl,[(U(!0),a(x,null,L(n.boards,t=>(U(),w(dl,{key:t.id,board:t,"project-names":ne(t),"cards-label":z(u)(`cards`,{count:t.cardCount}),"menu-label":e.readOnly?null:z(u)(`boardMenu`),t:z(u),onOpen:e=>o(`open`,t.id),onMenu:e=>Te(t,e)},null,8,[`board`,`project-names`,`cards-label`,`menu-label`,`t`,`onOpen`,`onMenu`]))),128))]))]))),128))]),_:1}),f(z(Ve),{value:`archived`},{default:B(()=>[N.value.length===0?(U(),a(`div`,El,C(P.value?z(u)(`noResults`,{query:S.value.trim()}):z(u)(`archivedEmpty`)),1)):G(``,!0),v(`div`,Dl,[(U(!0),a(x,null,L(N.value,t=>(U(),w(dl,{key:t.id,board:t,"project-names":ne(t),"cards-label":z(u)(`cards`,{count:t.cardCount}),"menu-label":e.readOnly?null:z(u)(`boardMenu`),t:z(u),onOpen:e=>o(`open`,t.id),onMenu:e=>Te(t,e)},null,8,[`board`,`project-names`,`cards-label`,`menu-label`,`t`,`onOpen`,`onMenu`]))),128))])]),_:1})]),_:1})]),_:1}),f(z(ae),{ref_key:`boardMenu`,ref:Ce},{default:B(()=>[we.value?(U(),a(`div`,Ol,[we.value.archived?(U(),a(`button`,{key:1,class:`list-menu__item`,onClick:i[8]||=e=>Ee(e=>o(`archive`,{id:e.id,archived:!1}))},[i[36]||=v(`i`,{class:`pi pi-replay`},null,-1),v(`span`,null,C(z(u)(`restore`)),1)])):(U(),a(x,{key:0},[v(`button`,{class:`list-menu__item`,onClick:i[6]||=e=>Ee(De)},[i[34]||=v(`i`,{class:`pi pi-pencil`},null,-1),v(`span`,null,C(z(u)(`edit`)),1)]),v(`button`,{class:`list-menu__item`,onClick:i[7]||=e=>Ee(e=>o(`archive`,{id:e.id,archived:!0}))},[i[35]||=v(`i`,{class:`pi pi-inbox`},null,-1),v(`span`,null,C(z(u)(`archive`)),1)])],64)),v(`button`,{class:`list-menu__item list-menu__item--danger`,onClick:i[9]||=e=>Ee(e=>Oe(e.id,e.name))},[i[37]||=v(`i`,{class:`pi pi-trash`},null,-1),v(`span`,null,C(z(u)(`delete`)),1)])])):G(``,!0)]),_:1},512),f(z(re),{visible:m.value,"onUpdate:visible":i[17]||=e=>m.value=e,header:z(u)(`dialogs.newBoard`),modal:!0,style:{width:`450px`}},{footer:B(()=>[f(z(t),{label:z(u)(`cancel`),text:``,onClick:i[16]||=e=>m.value=!1},null,8,[`label`]),f(z(t),{label:z(u)(`create`),icon:`pi pi-check`,disabled:!g.value.trim(),onClick:fe},null,8,[`label`,`disabled`])]),default:B(()=>[e.boardTemplates?.length?(U(),a(`div`,kl,[v(`label`,Al,C(z(u)(`boardTemplates.pickLabel`)),1),f(z(ke),{id:`kanlist-new-template`,modelValue:ee.value,"onUpdate:modelValue":i[10]||=e=>ee.value=e,options:e.boardTemplates,optionLabel:`name`,optionValue:`id`,"show-clear":``,class:`w-full`,placeholder:z(u)(`boardTemplates.pickPlaceholder`),onChange:i[11]||=e=>de(ee.value)},null,8,[`modelValue`,`options`,`placeholder`]),V.value?(U(),a(`small`,jl,C(z(u)(`boardTemplates.pickHint`,{columns:V.value.columns.map(e=>e.title).join(`, `)||z(u)(`boardTemplates.noColumns`)})),1)):G(``,!0)])):G(``,!0),v(`div`,Ml,[v(`label`,Nl,C(z(u)(`nameLabel`)),1),f(z(te),{id:`kanlist-new-name`,modelValue:g.value,"onUpdate:modelValue":i[12]||=e=>g.value=e,autofocus:``,class:`w-full`,onKeyup:r(fe,[`enter`])},null,8,[`modelValue`])]),v(`div`,Pl,[v(`label`,Fl,C(z(u)(`descriptionLabel`)),1),f(z(ce),{id:`kanlist-new-desc`,modelValue:_.value,"onUpdate:modelValue":i[13]||=e=>_.value=e,rows:`3`,class:`w-full`},null,8,[`modelValue`])]),e.projects?.length?(U(),a(`div`,Il,[v(`label`,Ll,C(z(u)(`projects.label`)),1),f(z(Fe),{id:`kanlist-new-projects`,modelValue:k.value,"onUpdate:modelValue":i[14]||=e=>k.value=e,options:e.projects,optionLabel:`name`,optionValue:`id`,display:`chip`,class:`w-full`,placeholder:z(u)(`projects.placeholder`)},null,8,[`modelValue`,`options`,`placeholder`]),v(`small`,Rl,C(z(u)(`projects.hint`)),1)])):G(``,!0),v(`div`,zl,[v(`label`,Bl,C(z(u)(`instructionsLabel`)),1),f(z(ce),{id:`kanlist-new-instructions`,modelValue:y.value,"onUpdate:modelValue":i[15]||=e=>y.value=e,rows:`6`,class:`w-full`,placeholder:z(u)(`instructionsPlaceholder`)},null,8,[`modelValue`,`placeholder`]),v(`small`,Vl,C(z(u)(`instructionsHint`)),1)])]),_:1},8,[`visible`,`header`]),f(z(re),{visible:!!b.value,header:z(u)(`dialogs.editBoard`),modal:!0,style:{width:`450px`},"onUpdate:visible":i[23]||=e=>{e||(b.value=null)}},{footer:B(()=>[f(z(t),{label:z(u)(`cancel`),text:``,onClick:i[22]||=e=>b.value=null},null,8,[`label`]),f(z(t),{label:z(u)(`save`),icon:`pi pi-check`,onClick:pe},null,8,[`label`])]),default:B(()=>[b.value?(U(),a(x,{key:0},[v(`div`,Hl,[v(`label`,Ul,C(z(u)(`nameLabel`)),1),f(z(te),{id:`kanlist-edit-name`,modelValue:b.value.name,"onUpdate:modelValue":i[18]||=e=>b.value.name=e,class:`w-full`,onKeyup:r(pe,[`enter`])},null,8,[`modelValue`])]),v(`div`,Wl,[v(`label`,Gl,C(z(u)(`descriptionLabel`)),1),f(z(ce),{id:`kanlist-edit-desc`,modelValue:b.value.description,"onUpdate:modelValue":i[19]||=e=>b.value.description=e,rows:`3`,class:`w-full`},null,8,[`modelValue`])]),e.projects?.length?(U(),a(`div`,Kl,[v(`label`,ql,C(z(u)(`projects.label`)),1),f(z(Fe),{id:`kanlist-edit-projects`,modelValue:b.value.projectIds,"onUpdate:modelValue":i[20]||=e=>b.value.projectIds=e,options:e.projects,optionLabel:`name`,optionValue:`id`,display:`chip`,class:`w-full`,placeholder:z(u)(`projects.placeholder`)},null,8,[`modelValue`,`options`,`placeholder`]),v(`small`,Jl,C(z(u)(`projects.hint`)),1)])):G(``,!0),v(`div`,Yl,[v(`label`,Xl,C(z(u)(`instructionsLabel`)),1),f(z(ce),{id:`kanlist-edit-instructions`,modelValue:b.value.instructions,"onUpdate:modelValue":i[21]||=e=>b.value.instructions=e,rows:`8`,class:`w-full`,placeholder:z(u)(`instructionsPlaceholder`)},null,8,[`modelValue`,`placeholder`]),v(`small`,Zl,C(z(u)(`instructionsHint`)),1)])],64)):G(``,!0)]),_:1},8,[`visible`,`header`]),f(z(re),{visible:ve.value,"onUpdate:visible":i[25]||=e=>ve.value=e,header:z(u)(`boardTemplates.manage`),modal:!0,style:{width:`min(640px, 92vw)`}},{footer:B(()=>[f(z(t),{label:z(u)(`close`),text:``,onClick:i[24]||=e=>ve.value=!1},null,8,[`label`])]),default:B(()=>[v(`p`,Ql,C(z(u)(`boardTemplates.intro`)),1),!e.boardTemplates||e.boardTemplates.length===0?(U(),a(`div`,$l,C(z(u)(`boardTemplates.empty`)),1)):(U(),a(`ul`,eu,[(U(!0),a(x,null,L(e.boardTemplates,n=>(U(),a(`li`,{key:n.id,class:`template-row`},[v(`span`,tu,[E(C(n.name)+` `,1),v(`small`,nu,C(n.columns.map(e=>e.title).join(` · `)||z(u)(`boardTemplates.noColumns`)),1)]),e.readOnly?G(``,!0):(U(),a(`span`,ru,[f(z(t),{icon:`pi pi-trash`,text:``,size:`small`,severity:`danger`,onClick:e=>ye(n)},null,8,[`onClick`])]))]))),128))]))]),_:1},8,[`visible`,`header`]),f(z(re),{visible:me.value,"onUpdate:visible":[i[30]||=e=>me.value=e,i[31]||=e=>{e||(H.value=null)}],header:z(u)(`templates.manage`),modal:!0,class:`template-dialog`,style:{width:`min(1100px, 92vw)`,height:`90vh`}},{footer:B(()=>[H.value?(U(),a(x,{key:0},[f(z(t),{label:z(u)(`cancel`),text:``,onClick:i[28]||=e=>H.value=null},null,8,[`label`]),f(z(t),{label:z(u)(`save`),icon:`pi pi-check`,disabled:!H.value.name.trim(),onClick:ge},null,8,[`label`,`disabled`])],64)):(U(),a(x,{key:1},[e.readOnly?G(``,!0):(U(),w(z(t),{key:0,label:z(u)(`templates.new`),icon:`pi pi-plus`,onClick:he},null,8,[`label`])),f(z(t),{label:z(u)(`close`),text:``,onClick:i[29]||=e=>me.value=!1},null,8,[`label`])],64))]),default:B(()=>[H.value?(U(),a(x,{key:0},[v(`div`,iu,[v(`label`,au,C(z(u)(`templates.nameLabel`)),1),f(z(te),{id:`kanlist-tpl-name`,modelValue:H.value.name,"onUpdate:modelValue":i[26]||=e=>H.value.name=e,autofocus:``,class:`w-full`},null,8,[`modelValue`])]),v(`div`,ou,[v(`label`,su,C(z(u)(`templates.contentLabel`)),1),f(z(s),{id:`kanlist-tpl-content`,modelValue:H.value.content,"onUpdate:modelValue":i[27]||=e=>H.value.content=e,markdown:``,"min-height":`18rem`,"max-height":`60vh`,placeholder:z(u)(`templates.contentPlaceholder`)},null,8,[`modelValue`,`placeholder`]),v(`small`,cu,C(z(u)(`templates.contentHint`)),1)])],64)):(U(),a(x,{key:1},[v(`p`,lu,C(z(u)(`templates.intro`)),1),!e.templates||e.templates.length===0?(U(),a(`div`,uu,C(z(u)(`templates.empty`)),1)):(U(),a(`ul`,du,[(U(!0),a(x,null,L(e.templates,n=>(U(),a(`li`,{key:n.id,class:`template-row`},[v(`span`,fu,C(n.name),1),e.readOnly?G(``,!0):(U(),a(`span`,pu,[f(z(t),{icon:`pi pi-pencil`,text:``,size:`small`,onClick:e=>W(n)},null,8,[`onClick`]),f(z(t),{icon:`pi pi-trash`,text:``,size:`small`,severity:`danger`,onClick:e=>_e(n)},null,8,[`onClick`])]))]))),128))]))],64))]),_:1},8,[`visible`,`header`])]))}}),[[`__scopeId`,`data-v-fb0cdea0`]]);export{Wc as n,mu as t};
|