@economic/taco 2.22.0 → 2.22.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1,2 @@
1
- "use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react"),n=e(t),l=e(require("clsx")),a=require("@radix-ui/react-alert-dialog"),r=require("@radix-ui/react-accordion"),o=require("@radix-ui/react-tooltip"),i=e(require("react-day-picker")),s=require("@radix-ui/react-checkbox"),c=require("uuid"),u=require("@radix-ui/react-popover"),d=e(require("lodash/debounce")),m=require("date-fns"),g=require("@radix-ui/react-dialog"),f=require("@react-aria/interactions"),h=require("framer-motion"),v=require("@react-aria/focus"),p=require("@radix-ui/react-scroll-area"),w=require("@radix-ui/react-use-controllable-state"),b=require("@radix-ui/react-hover-card"),E=require("@radix-ui/react-dropdown-menu"),x=require("@radix-ui/react-radio-group"),y=require("@radix-ui/react-switch"),z=require("@tanstack/react-table"),R=require("@dnd-kit/core"),C=require("@dnd-kit/sortable"),S=require("@dnd-kit/utilities"),N=require("@tanstack/react-virtual"),A=require("react-intersection-observer"),O=require("react-table"),I=require("react-window"),L=e(require("react-window-infinite-loader")),H=e(require("lodash/set")),M=e(require("lodash/unset")),k=e(require("lodash/get")),V=e(require("lodash/compact")),j=e(require("lodash/pullAt")),T=e(require("react-dom")),D=e(require("lodash")),F=require("react-virtual"),P=require("@radix-ui/react-tabs"),B=require("react-joyride"),_=e(B);const G=["green","yellow","red","blue","purple","brown","pink","orange","grey","transparent"],q=e=>{switch(e){case"information":return"blue";case"warning":return"yellow";case"error":return"red";case"success":return"green";default:return"grey"}},$=e=>{switch(e){case"green":return"border-green-700 text-green-700";case"yellow":return"border-yellow-700 text-yellow-700";case"red":return"border-red-500 text-red-500";case"blue":return"border-blue-500 text-blue-500";case"purple":return"border-purple-700 text-purple-700";case"brown":return"border-brown-700 text-brown-700";case"pink":return"border-pink-700 text-pink-700";case"orange":return"border-orange-700 text-orange-700";case"transparent":case"grey":default:return"border-grey-700 text-grey-700"}},K=e=>{switch(e){case"green":return"wcag-green-100";case"yellow":return"wcag-yellow-100";case"red":return"wcag-red-100";case"blue":return"wcag-blue-100";case"purple":return"wcag-purple-100";case"brown":return"wcag-brown-100";case"pink":return"wcag-pink-100";case"orange":return"wcag-orange-100";case"transparent":return"wcag-transparent";case"grey":default:return"wcag-grey-200"}},U=e=>{switch(e){case"green":return"wcag-green-700";case"yellow":return"wcag-yellow-500";case"red":return"wcag-red-500";case"blue":return"wcag-blue-500";case"purple":return"wcag-purple-700";case"brown":return"wcag-brown-700";case"pink":return"wcag-pink-500";case"orange":return"wcag-orange-700";case"transparent":return"wcag-transparent";case"grey":default:return"wcag-grey-700"}};function W(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75V11h-1.5V4.75a.25.25 0 00-.193-.243L19.25 4.5H4.75a.25.25 0 00-.243.193L4.5 4.75v14.5a.25.25 0 00.193.243l.057.007H11V21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm-4.5 7.25a4.5 4.5 0 013.632 7.158l.036-.05 2.362 2.362a.75.75 0 01-.976 1.133l-.084-.073-2.363-2.362-.112.077a4.5 4.5 0 11-2.495-8.245zm0 1.5a3 3 0 100 6 3 3 0 000-6zm-7 3.25a.75.75 0 110 1.5h-.5a.75.75 0 110-1.5h.5zm0-4a.75.75 0 110 1.5h-.5a.75.75 0 110-1.5h.5zm9-4a.75.75 0 110 1.5h-6.5a.75.75 0 010-1.5h6.5zm-9 0a.75.75 0 010 1.5h-.5a.75.75 0 010-1.5h.5z",fill:"currentColor",fillRule:"evenodd"}))}function J(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M4.5 16.25v3a.25.25 0 00.193.243l.057.007H13V21H4.75A1.75 1.75 0 013 19.25v-3h1.5zm4.946-6.103l.084.073 3 3a.75.75 0 01.073.976l-.073.084-3 3a.75.75 0 01-1.133-.976l.073-.084 1.718-1.72H3.75a.75.75 0 01-.102-1.493L3.75 13h6.44l-1.72-1.72a.75.75 0 01-.073-.976l.073-.084a.75.75 0 01.976-.073zM16.25 2a.75.75 0 01.75.75V3h2.25c.966 0 1.75.784 1.75 1.75V13h-1.5V8h-15v3.25H3v-6.5C3 3.784 3.784 3 4.75 3H7v-.25a.75.75 0 011.5 0V3h7v-.25a.75.75 0 01.75-.75zM7 4.5H4.75a.25.25 0 00-.243.193L4.5 4.75V6.5h15V4.75a.25.25 0 00-.193-.243L19.25 4.5H17v.25a.75.75 0 11-1.5 0V4.5h-7v.25a.75.75 0 01-1.5 0V4.5zm12.804 10.147a.75.75 0 011.049 1.05l-.073.083-1.969 1.97 1.97 1.97a.75.75 0 01-.977 1.133l-.084-.073-1.97-1.969-1.97 1.97-.084.072a.75.75 0 01-1.049-1.05l.073-.083 1.969-1.97-1.97-1.97a.75.75 0 01.977-1.133l.084.073 1.97 1.969 1.97-1.97.084-.072z",fill:"currentColor",fillRule:"evenodd"}))}function Y(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.25 2a.75.75 0 01.75.75V3h2.25c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25v-3h1.5v3a.25.25 0 00.193.243l.057.007h14.5a.25.25 0 00.243-.193l.007-.057V8h-15v3.25H3v-6.5C3 3.784 3.784 3 4.75 3H7v-.25a.75.75 0 011.5 0V3h7v-.25a.75.75 0 01.75-.75zm-6.804 8.147l.084.073 3 3a.75.75 0 01.073.976l-.073.084-3 3a.75.75 0 01-1.133-.976l.073-.084 1.719-1.72H3.75a.75.75 0 01-.102-1.493L3.75 13h6.439l-1.72-1.72a.75.75 0 01-.072-.976l.073-.084a.75.75 0 01.976-.073zM7 4.5H4.75a.25.25 0 00-.243.193L4.5 4.75V6.5h15V4.75a.25.25 0 00-.193-.243L19.25 4.5H17v.25a.75.75 0 11-1.5 0V4.5h-7v.25a.75.75 0 01-1.5 0V4.5z",fill:"currentColor",fillRule:"evenodd"}))}function Q(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.25 2c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h12.5zM13 17.5H6.5a.5.5 0 00-.492.41L6 18v1.5a.5.5 0 00.41.492L6.5 20H13a.5.5 0 00.492-.41l.008-.09V18a.5.5 0 00-.41-.492L13 17.5zm4.5 0h-2a.5.5 0 00-.492.41L15 18v1.5a.5.5 0 00.41.492l.09.008h2a.5.5 0 00.492-.41L18 19.5V18a.5.5 0 00-.41-.492l-.09-.008zm-9-3.5h-2a.5.5 0 00-.492.41L6 14.5V16a.5.5 0 00.41.492l.09.008h2a.5.5 0 00.492-.41L9 16v-1.5a.5.5 0 00-.41-.492L8.5 14zm9 0h-2a.5.5 0 00-.492.41L15 14.5V16a.5.5 0 00.41.492l.09.008h2a.5.5 0 00.492-.41L18 16v-1.5a.5.5 0 00-.41-.492L17.5 14zM13 14h-2a.5.5 0 00-.492.41l-.008.09V16a.5.5 0 00.41.492l.09.008h2a.5.5 0 00.492-.41L13.5 16v-1.5a.5.5 0 00-.41-.492L13 14zm-4.5-3.5h-2a.5.5 0 00-.492.41L6 11v1.5a.5.5 0 00.41.492L6.5 13h2a.5.5 0 00.492-.41L9 12.5V11a.5.5 0 00-.41-.492L8.5 10.5zm9 0h-2a.5.5 0 00-.492.41L15 11v1.5a.5.5 0 00.41.492l.09.008h2a.5.5 0 00.492-.41L18 12.5V11a.5.5 0 00-.41-.492l-.09-.008zm-4.5 0h-2a.5.5 0 00-.492.41L10.5 11v1.5a.5.5 0 00.41.492L11 13h2a.5.5 0 00.492-.41l.008-.09V11a.5.5 0 00-.41-.492L13 10.5zM17.5 4h-11a.5.5 0 00-.492.41L6 4.5V8a.5.5 0 00.41.492l.09.008h11a.5.5 0 00.492-.41L18 8V4.5a.5.5 0 00-.41-.492L17.5 4zm-1 1a.5.5 0 01.5.5V7a.5.5 0 01-.5.5h-1A.5.5 0 0115 7V5.5a.5.5 0 01.5-.5h1z",fill:"currentColor",fillRule:"evenodd"}))}function X(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.823 2.122a.188.188 0 01.352 0l.874 2.364c.02.051.06.092.111.11l2.364.875a.188.188 0 010 .352l-2.364.875a.188.188 0 00-.11.11l-.875 2.364a.188.188 0 01-.352 0l-.875-2.364a.187.187 0 00-.11-.11l-2.364-.875a.188.188 0 010-.352l2.364-.874a.187.187 0 00.11-.111l.875-2.364zm1.667 7a.188.188 0 01.351 0l.515 1.39a.19.19 0 00.11.112l1.39.514a.188.188 0 010 .352l-1.39.514a.188.188 0 00-.11.111l-.515 1.39a.187.187 0 01-.351 0l-.515-1.39a.187.187 0 00-.11-.11l-1.391-.515a.188.188 0 010-.352l1.39-.514a.187.187 0 00.111-.111l.515-1.39zm-5.363-2.36c-.889-.328-1.014-1.455-.374-2.008a12.291 12.291 0 00-3.864-.606C5.979 4.148 2 6.884 2 10.26c0 2.393 1.999 4.463 4.91 5.467L4.513 19.99a.556.556 0 00.832.706l5.406-4.325.426-.003c3.493-.076 6.477-1.538 7.829-3.612l-.879-.325c-1.034-.383-1.034-1.845 0-2.228l.234-.086a1.168 1.168 0 01-.476-.595l-.745-2.013-2.013-.745z",fill:"currentColor"}))}function Z(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("mask",{id:"ai-stars_svg__a",fill:"#fff"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.324 2.476a.188.188 0 01.351 0l.875 2.364c.019.05.06.091.11.11l2.364.875a.188.188 0 010 .352l-2.363.874a.187.187 0 00-.111.11l-.875 2.365a.188.188 0 01-.351 0l-.875-2.364a.188.188 0 00-.11-.11l-2.364-.875a.188.188 0 010-.352l2.363-.875a.188.188 0 00.111-.11l.875-2.364zM8.226 4.931c.266-.719 1.281-.719 1.547 0l1.566 4.23 4.23 1.566c.719.266.719 1.282 0 1.547l-4.23 1.566-1.566 4.23c-.266.72-1.281.72-1.547 0L6.66 13.84l-4.23-1.566c-.719-.265-.719-1.281 0-1.547l4.23-1.566 1.566-4.23zM9 7.16L7.96 9.974a.825.825 0 01-.488.487L4.66 11.5l2.81 1.041a.825.825 0 01.488.487L9 15.84l1.04-2.812a.825.825 0 01.488-.487l2.811-1.04-2.81-1.04a.825.825 0 01-.488-.488L9 7.162zm8.675 7.315a.188.188 0 00-.351 0l-.875 2.364a.188.188 0 01-.11.11l-2.364.875a.188.188 0 000 .352l2.363.874c.052.02.092.06.111.11l.875 2.364c.06.164.291.164.351 0l.875-2.363a.187.187 0 01.11-.11l2.364-.875a.188.188 0 000-.352l-2.363-.875a.187.187 0 01-.111-.11l-.875-2.364z"})),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.324 2.476a.188.188 0 01.351 0l.875 2.364c.019.05.06.091.11.11l2.364.875a.188.188 0 010 .352l-2.363.874a.187.187 0 00-.111.11l-.875 2.365a.188.188 0 01-.351 0l-.875-2.364a.188.188 0 00-.11-.11l-2.364-.875a.188.188 0 010-.352l2.363-.875a.188.188 0 00.111-.11l.875-2.364zM8.226 4.931c.266-.719 1.281-.719 1.547 0l1.566 4.23 4.23 1.566c.719.266.719 1.282 0 1.547l-4.23 1.566-1.566 4.23c-.266.72-1.281.72-1.547 0L6.66 13.84l-4.23-1.566c-.719-.265-.719-1.281 0-1.547l4.23-1.566 1.566-4.23zM9 7.16L7.96 9.974a.825.825 0 01-.488.487L4.66 11.5l2.81 1.041a.825.825 0 01.488.487L9 15.84l1.04-2.812a.825.825 0 01.488-.487l2.811-1.04-2.81-1.04a.825.825 0 01-.488-.488L9 7.162zm8.675 7.315a.188.188 0 00-.351 0l-.875 2.364a.188.188 0 01-.11.11l-2.364.875a.188.188 0 000 .352l2.363.874c.052.02.092.06.111.11l.875 2.364c.06.164.291.164.351 0l.875-2.363a.187.187 0 01.11-.11l2.364-.875a.188.188 0 000-.352l-2.363-.875a.187.187 0 01-.111-.11l-.875-2.364z",fill:"currentColor"}),t.createElement("path",{d:"M17.675 2.476l.704-.26-.704.26zm-.351 0l-.704-.26.704.26zM18.55 4.84l.703-.26-.703.26zm.11.11l-.26.704.26-.704zm2.364.875l.26-.704-.26.704zm0 .352l-.26-.704.26.704zm-2.363.874l-.26-.703.26.703zm-.111.11l.703.261-.703-.26zm-.875 2.365l.704.26-.704-.26zm-.351 0l-.704.26.704-.26zm-.875-2.364l.703-.26-.703.26zm-.11-.11l.26-.704-.26.703zm-2.364-.875l-.26.703.26-.703zm0-.352l-.26-.704.26.704zm2.363-.875l.26.704-.26-.704zm.111-.11l.703.26-.703-.26zm-6.676.09l-.703.26.703-.26zm-1.547 0l.703.26-.703-.26zm3.113 4.231l-.704.26.12.324.323.12.26-.704zm4.23 1.566l-.26.703.26-.703zm0 1.547l-.26-.703.26.704zm-4.23 1.566l-.26-.703-.324.12-.12.323.704.26zm-1.566 4.23l-.703-.26.703.26zm-1.547 0l.703-.26-.703.26zM6.66 13.84l.704-.26-.12-.324-.324-.12-.26.704zm-4.23-1.566l.26-.703-.26.704zm0-1.547l.26.703-.26-.703zm4.23-1.566l.26.704.324-.12.12-.323-.704-.26zm1.3.812l.703.26-.704-.26zM9 7.162l.703-.26L9 5l-.704 1.9.704.26zM7.472 10.46l-.26-.703.26.704zM4.66 11.5l-.26-.703-1.901.704 1.9.703.26-.703zm2.81 1.041l.261-.703-.26.703zm.488.487l.704-.26-.704.26zM9 15.84l-.703.26L9 18l.703-1.9L9 15.84zm1.04-2.812l.704.26-.703-.26zm.488-.487l-.26-.703.26.703zm2.811-1.04l.26.703 1.901-.703-1.9-.704-.26.704zm-2.81-1.04l.26-.704-.26.704zm-.488-.488l.703-.26-.703.26zm7.284 4.503l-.704-.26.704.26zm.351 0l.704-.26-.704.26zM16.45 16.84l.703.26-.703-.26zm-.11.11l.26.704-.26-.704zm-2.364.875l-.26-.703.26.703zm0 .352l.26-.704-.26.704zm2.363.874l-.26.704.26-.704zm.111.11l.703-.26-.703.26zm.875 2.364l-.704.26.704-.26zm.351 0l.704.26-.704-.26zm.875-2.363l.703.26-.703-.26zm.11-.11l.261.703-.26-.704zm2.364-.875l.26.703-.26-.703zm0-.352l.26-.703-.26.703zm-2.363-.875l-.26.704.26-.704zm-.111-.11l.703-.26-.703.26zM18.38 2.216c-.302-.817-1.457-.817-1.759 0l1.407.52a.563.563 0 01-1.055 0l1.407-.52zm.874 2.363l-.874-2.363-1.407.52.875 2.364 1.406-.52zm-.332-.332a.562.562 0 01.332.332l-1.406.52a.937.937 0 00.553.555l.521-1.407zm2.364.874l-2.364-.874-.52 1.407 2.363.874.52-1.407zm0 1.759c.816-.302.816-1.456 0-1.759l-.521 1.407a.563.563 0 010-1.055l.52 1.407zm-2.364.875l2.364-.875-.521-1.407-2.363.875.52 1.407zm.332-.333a.562.562 0 01-.332.333l-.52-1.407a.937.937 0 00-.554.554l1.406.52zm-.874 2.364l.874-2.364-1.406-.52-.875 2.363 1.407.52zm-1.759 0c.302.816 1.457.816 1.759 0l-1.407-.52a.563.563 0 011.055 0l-1.407.52zm-.874-2.364l.874 2.364 1.407-.52-.875-2.364-1.406.52zm.332.333a.562.562 0 01-.332-.333l1.406-.52a.938.938 0 00-.553-.554l-.521 1.407zm-2.364-.875l2.364.875.52-1.407-2.363-.875-.52 1.407zm0-1.759c-.816.303-.816 1.457 0 1.759l.521-1.407c.49.181.49.874 0 1.055l-.52-1.407zm2.364-.874l-2.364.874.521 1.407 2.364-.874-.521-1.407zm-.332.332a.562.562 0 01.332-.332l.52 1.407a.938.938 0 00.555-.554l-1.407-.52zm.874-2.363l-.874 2.363 1.406.52.875-2.363-1.407-.52zM10.477 4.67c-.508-1.37-2.447-1.37-2.955 0l1.407.52a.1.1 0 01.015-.027.041.041 0 01.01-.01A.085.085 0 019 5.142c.021 0 .037.006.045.011a.041.041 0 01.01.01.1.1 0 01.015.028l1.407-.52zm1.565 4.231l-1.565-4.23-1.407.52 1.565 4.23 1.407-.52zm3.788 1.123L11.6 8.458l-.521 1.407 4.23 1.565.521-1.406zm0 2.954c1.371-.508 1.371-2.447 0-2.954l-.52 1.406a.103.103 0 01.028.015.044.044 0 01.009.01.084.084 0 01.011.046.084.084 0 01-.011.045.04.04 0 01-.01.01.102.102 0 01-.028.015l.521 1.407zm-4.23 1.565l4.23-1.565-.52-1.407-4.232 1.566.521 1.406zm-1.123 3.788l1.565-4.23-1.407-.521-1.565 4.23 1.407.521zm-2.955 0c.508 1.371 2.447 1.371 2.955 0l-1.407-.52a.1.1 0 01-.015.028.04.04 0 01-.01.009.085.085 0 01-.045.012.085.085 0 01-.046-.012.04.04 0 01-.01-.01.1.1 0 01-.015-.027l-1.407.52zm-1.565-4.23l1.565 4.23 1.407-.52-1.565-4.231-1.407.52zm-3.788-1.123l4.23 1.565.521-1.406-4.23-1.566-.521 1.407zm0-2.954c-1.371.507-1.371 2.446 0 2.954l.52-1.407a.1.1 0 01-.028-.015.04.04 0 01-.009-.01.085.085 0 01-.011-.045.09.09 0 01.011-.046.043.043 0 01.01-.01.099.099 0 01.028-.015l-.521-1.406zm4.23-1.566l-4.23 1.566.52 1.406L6.92 9.865 6.4 8.458zM7.523 4.67L5.957 8.901l1.407.52 1.565-4.23-1.407-.52zm1.14 5.563l1.04-2.81-1.406-.521-1.04 2.81 1.407.521zm-.93.93c.431-.159.771-.498.93-.93l-1.406-.52a.075.075 0 01-.044.044l.52 1.407zm-2.811 1.041l2.811-1.04-.52-1.407-2.812 1.04.52 1.407zm2.811-.366l-2.811-1.04-.52 1.406 2.81 1.04.521-1.406zm.93.93a1.574 1.574 0 00-.93-.93l-.52 1.406c.02.008.036.024.044.045l1.407-.52zm1.04 2.811l-1.04-2.81-1.406.52 1.04 2.81 1.407-.52zm-.366-2.81l-1.04 2.81 1.407.52 1.04-2.81-1.407-.52zm.93-.931c-.43.16-.77.499-.93.93l1.407.52a.075.075 0 01.044-.044l-.52-1.406zm2.812-1.04l-2.811 1.04.52 1.406 2.812-1.04-.52-1.407zm-2.811.366l2.811 1.04.52-1.407-2.81-1.04-.521 1.407zm-.93-.93c.159.43.499.77.93.93l.52-1.407a.075.075 0 01-.044-.044l-1.407.52zm-1.04-2.812l1.04 2.811 1.406-.52-1.04-2.811-1.407.52zm9.73 7.314a.563.563 0 01-1.055 0l1.407-.52c-.302-.816-1.457-.816-1.759 0l1.407.52zm-.875 2.364l.875-2.364-1.407-.52-.874 2.363 1.406.52zm-.553.554a.938.938 0 00.553-.554l-1.406-.52a.563.563 0 01.332-.333l.52 1.407zm-2.364.874l2.364-.874-.521-1.407-2.364.875.521 1.406zm0-1.055c.49.181.49.874 0 1.055l-.52-1.406c-.817.302-.817 1.456 0 1.758l.52-1.407zm2.364.875l-2.364-.875-.52 1.407 2.363.875.52-1.407zm.553.554a.938.938 0 00-.553-.554l-.521 1.407a.563.563 0 01-.332-.333l1.406-.52zm.875 2.363l-.875-2.363-1.406.52.874 2.364 1.407-.52zm-1.055 0a.563.563 0 011.055 0l-1.407.52c.302.817 1.457.817 1.759 0l-1.407-.52zm.875-2.363l-.875 2.363 1.407.52.874-2.363-1.406-.52zm.553-.554a.937.937 0 00-.553.554l1.406.52a.562.562 0 01-.332.333l-.52-1.407zm2.364-.875l-2.363.875.52 1.407 2.364-.875-.521-1.407zm0 1.055a.563.563 0 010-1.055l.52 1.407c.817-.302.817-1.456 0-1.758l-.52 1.406zm-2.363-.874l2.363.874.52-1.406-2.363-.875-.52 1.407zm-.554-.554a.938.938 0 00.553.554l.521-1.407a.562.562 0 01.332.332l-1.406.52zm-.875-2.364l.875 2.364 1.406-.52-.874-2.364-1.407.52z",fill:"currentColor",mask:"url(#ai-stars_svg__a)"}))}function ee(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M8.25 18h7.5a.75.75 0 110 1.5h-7.5a.75.75 0 110-1.5zM12 4.5a.75.75 0 01.743.648l.007.102v8.189l2.22-2.22a.75.75 0 011.133.977l-.073.084-3.5 3.5a.754.754 0 01-.078.069l.078-.069-.042.04-.052.04-.114.068-.098.038-.084.02-.088.012L12 16l-.029-.002h-.023l-.021-.003-.054-.006-.07-.015-.072-.024-.1-.047-.082-.054-.08-.069-3.5-3.5a.75.75 0 01.977-1.133l.084.073 2.22 2.219V5.25A.75.75 0 0112 4.5z",fill:"currentColor",fillRule:"evenodd"}))}function te(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 6.25a.75.75 0 01.743.648L12.75 7l-.001 8.189 2.22-2.22a.75.75 0 011.134.977l-.073.084-3.5 3.5-.038.036-.046.037h-.002l-.008.007-.081.051-.134.056-.085.02-.084.011h-.103l-.12-.018-.12-.039-.078-.038-.082-.054-.08-.069-3.5-3.5a.75.75 0 01.977-1.133l.084.073 2.219 2.218L11.25 7a.75.75 0 01.75-.75z",fill:"currentColor",fillRule:"evenodd"}))}function ne(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.75 7.5a.75.75 0 01.75.75v7.5a.75.75 0 11-1.5 0v-7.5a.75.75 0 01.75-.75zm-6.554.397l.084.073 3.5 3.5c.025.024.048.05.069.078l-.069-.078.04.042.04.052.068.114.038.098.02.084.012.088v.104l-.018.119-.03.098-.047.1-.032.051-.027.038-.064.072-3.5 3.5a.75.75 0 01-1.133-.976l.073-.084 2.219-2.22H5.25a.75.75 0 01-.102-1.493l.102-.007h8.189l-2.22-2.22a.75.75 0 01.977-1.133z",fill:"currentColor",fillRule:"evenodd"}))}function le(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11.03 7.97a.75.75 0 01.073.976l-.073.084-2.219 2.219L17 11.25a.75.75 0 01.102 1.493L17 12.75l-8.19-.001 2.22 2.22a.75.75 0 01-.976 1.134l-.084-.073-3.5-3.5-.08-.094-.051-.081-.05-.116-.027-.103-.01-.089v-.094l.018-.124.03-.099.047-.099.054-.082.069-.08 3.5-3.5a.75.75 0 011.06 0z",fill:"currentColor",fillRule:"evenodd"}))}function ae(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.946 7.897l.084.073 3.5 3.5.036.038.044.056.051.081.05.116.027.103.01.084v.103l-.018.12-.039.12-.038.078-.06.09-.063.071-3.5 3.5a.75.75 0 01-1.133-.976l.073-.084 2.218-2.22H7a.75.75 0 01-.102-1.493L7 11.25h8.189l-2.22-2.22a.75.75 0 01.977-1.133z",fill:"currentColor",fillRule:"evenodd"}))}function re(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.25 7.5a.75.75 0 01.75.75v7.5a.75.75 0 11-1.5 0v-7.5a.75.75 0 01.75-.75zm7.53.47a.75.75 0 01.073.976l-.073.084-2.219 2.22h8.189a.75.75 0 01.102 1.493l-.102.007h-8.189l2.22 2.22a.75.75 0 01-.977 1.133l-.084-.073-3.5-3.5-.055-.06-.046-.065-.049-.088-.044-.12-.018-.089L8 11.965l.019-.136.03-.098.047-.1.054-.082.069-.08 3.5-3.5a.75.75 0 011.06 0z",fill:"currentColor",fillRule:"evenodd"}))}function oe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11.86 8.013l.067-.01.125-.001.119.018.098.03.1.047.051.032.038.027.072.064 3.5 3.5a.75.75 0 01-.976 1.133l-.084-.073-2.22-2.219v8.189a.75.75 0 01-1.493.102l-.007-.102v-8.189l-2.22 2.22a.75.75 0 01-1.133-.977l.073-.084 3.5-3.5.042-.04.052-.04.114-.068.098-.038.084-.02zM15.75 4.5a.75.75 0 110 1.5h-7.5a.75.75 0 010-1.5h7.5z",fill:"currentColor",fillRule:"evenodd"}))}function ie(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11.864 6.262l.089-.01h.095l.123.018.12.039.078.038.09.06.071.063 3.5 3.5a.75.75 0 01-.976 1.133l-.084-.073-2.22-2.219V17a.75.75 0 01-1.493.102L11.25 17V8.81l-2.22 2.22a.75.75 0 01-1.133-.976l.073-.084 3.5-3.5.094-.08.081-.051.134-.056.085-.02z",fill:"currentColor",fillRule:"evenodd"}))}function se(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7.916 10.159l1.06 1.06-2.663 2.665a3.75 3.75 0 005.159 5.44l.144-.137 6.657-6.657a.75.75 0 011.128.984l-.067.077-6.657 6.657a5.25 5.25 0 01-7.575-7.269l.15-.156 2.664-2.664zm11.771-6.468a3.75 3.75 0 01.137 5.16l-.137.144-9.132 9.132a2.25 2.25 0 01-3.287-3.07l.105-.112 6.657-6.657a.75.75 0 011.128.984l-.067.076-6.657 6.657a.75.75 0 00.984 1.128l.077-.067 9.132-9.132a2.25 2.25 0 00-3.07-3.287l-.112.105-2.933 2.932-1.061-1.061 2.933-2.932a3.75 3.75 0 015.303 0zM4 9a2 2 0 002 2 2 2 0 00-1.995 1.85L4 13l-.004-.132A2 2 0 002 11a2 2 0 002-2zm6-2.5a2 2 0 002 2 2 2 0 00-1.995 1.85L10 10.5l-.004-.132A2 2 0 008 8.5a2 2 0 002-2zM6.5 2c0 2.21 2.015 4 4.5 4-2.412 0-4.381 1.687-4.495 3.806L6.5 10l-.01-.263C6.338 7.65 4.386 6 2 6c2.485 0 4.5-1.79 4.5-4z",fill:"currentColor",fillRule:"evenodd"}))}function ce(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.026 18.467a.75.75 0 01-.977 1.133l-.084-.073-2.288-2.288-3.005 3.006a5.25 5.25 0 01-7.574-7.269l.15-.156 3.005-3.005-2.288-2.288a.75.75 0 01.977-1.133l.084.073 12 12zm-9.713-7.592l-3.005 3.006a3.75 3.75 0 005.16 5.44l.144-.137 3.005-3.005-1.061-1.061-3.005 3.005a2.25 2.25 0 01-3.287-3.069l.105-.113 3.005-3.005-1.061-1.061zm2.122 2.122L8.43 16.002a.75.75 0 00.984 1.128l.076-.067 3.005-3.006-1.06-1.06zm7.894-.47a.75.75 0 01.067.984l-.067.077-1.53 1.53-1.061-1.061 1.53-1.53a.75.75 0 011.061 0zm.354-8.839a3.75 3.75 0 01.137 5.16l-.137.144-4.006 4.004-1.06-1.06 4.005-4.005a2.25 2.25 0 00-3.07-3.287l-.112.105-4.005 4.005-1.061-1.061 4.005-4.005a3.75 3.75 0 015.304 0zm-4.596 4.597a.75.75 0 01.067.983l-.067.077-1.531 1.53-1.061-1.061 1.53-1.53a.75.75 0 011.062 0z",fill:"currentColor",fillRule:"evenodd"}))}function ue(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.38 3.688a3.75 3.75 0 015.44 5.16l-.137.144-9.132 9.131a2.25 2.25 0 01-3.287-3.069l.105-.113 6.657-6.656a.75.75 0 011.128.983l-.068.077-6.656 6.657a.75.75 0 00.984 1.128l.076-.067 9.132-9.132a2.25 2.25 0 00-3.07-3.287l-.112.105-9.132 9.132a3.75 3.75 0 005.16 5.44l.144-.137 1.934-1.935a6.062 6.062 0 00.09 2.031l-.964.965a5.25 5.25 0 01-7.574-7.269l.15-.156 9.131-9.132zM22 18a4.5 4.5 0 10-9 0 4.5 4.5 0 009 0zm-5.243-2.852a.75.75 0 011.493.102v3.5l-.007.102a.75.75 0 01-1.493-.102v-3.5l.007-.102zM17.5 20a.75.75 0 100 1.5.75.75 0 000-1.5z",fill:"currentColor"}))}function de(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.38 3.688a3.75 3.75 0 015.44 5.16l-.137.144-9.132 9.131a2.25 2.25 0 01-3.287-3.069l.105-.113 6.657-6.656a.75.75 0 011.128.983l-.067.077-6.657 6.657a.75.75 0 00.984 1.128l.076-.067 9.132-9.132a2.25 2.25 0 00-3.07-3.287l-.112.105-9.132 9.132a3.75 3.75 0 005.16 5.44l.144-.137 6.657-6.657a.75.75 0 011.127.984l-.067.077-6.657 6.657a5.25 5.25 0 01-7.574-7.269l.15-.156 9.131-9.132z",fill:"currentColor",fillRule:"evenodd"}))}function me(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.75 5.75a.25.25 0 00-.193-.243L14.5 5.5H14a.75.75 0 01-.102-1.493L14 4h.5c.372 0 .718.116 1.001.315.242-.17.53-.28.841-.308L16.5 4h.5l.102.007a.75.75 0 010 1.486L17 5.5h-.5l-.057.007a.25.25 0 00-.184.175l-.009.068V8h4c.966 0 1.75.784 1.75 1.75v4.5A1.75 1.75 0 0120.25 16h-4v2.25l.007.057a.25.25 0 00.175.184l.068.009h.5l.102.007a.75.75 0 010 1.486L17 20h-.5l-.144-.006a1.74 1.74 0 01-.856-.308 1.734 1.734 0 01-.856.308L14.5 20H14a.75.75 0 01-.102-1.493L14 18.5h.5a.25.25 0 00.243-.193l.007-.057V5.75zm5.5 3.75h-4v5h4a.25.25 0 00.243-.193l.007-.057v-4.5a.25.25 0 00-.193-.243L20.25 9.5zM6 11a1 1 0 110 2 1 1 0 010-2zm3.5 0a1 1 0 110 2 1 1 0 010-2zm3.5 0c.087 0 .17.011.25.032v1.936A1.002 1.002 0 0112 12a1 1 0 011-1zm-9.25 5A1.75 1.75 0 012 14.25v-4.5C2 8.784 2.784 8 3.75 8h9.5v1.5h-9.5a.25.25 0 00-.243.193L3.5 9.75v4.5a.25.25 0 00.193.243l.057.007h9.5V16h-9.5z",fill:"currentColor",fillRule:"evenodd"}))}function ge(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 8c.966 0 1.75.784 1.75 1.75v4.5A1.75 1.75 0 0120.25 16H3.75A1.75 1.75 0 012 14.25v-4.5C2 8.784 2.784 8 3.75 8h16.5zm0 1.5H3.75a.25.25 0 00-.243.193L3.5 9.75v4.5a.25.25 0 00.193.243l.057.007h16.5a.25.25 0 00.243-.193l.007-.057v-4.5a.25.25 0 00-.193-.243L20.25 9.5zM6 11a1 1 0 110 2 1 1 0 010-2z",fill:"currentColor",fillRule:"evenodd"}))}function fe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.5 12.25l1.5 1.5V21a1 1 0 01-1 1H5a1 1 0 01-1-1v-7.25l1.5-1.5v8.25h13v-8.25zm-6.875.582l.375.375.375-.375a1.591 1.591 0 112.25 2.25L12 17.707l-2.625-2.625a1.591 1.591 0 012.25-2.25zm.821-10.685l.084.073L17 6.689V5.5a.5.5 0 01.5-.5h.5a.5.5 0 01.5.5v2.689l3.03 3.03a.75.75 0 01-.976 1.134l-.084-.073L12 3.811l-8.47 8.47a.75.75 0 01-.976.072l-.084-.073a.75.75 0 01-.073-.976l.073-.084 9-9a.75.75 0 01.976-.073z",fill:"currentColor",fillRule:"evenodd"}))}function he(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M15.25 18.999V21h-2.5v-2.001h2.5zM21 16.75v2.5A1.75 1.75 0 0119.25 21h-2.5v-2.001H19V16.75h2zm-11.5-4c.966 0 1.75.784 1.75 1.75v4.75A1.75 1.75 0 019.5 21H4.75A1.75 1.75 0 013 19.25V14.5c0-.966.784-1.75 1.75-1.75H9.5zm11.5 0v2.5h-2v-2.5h2zm0-4v2.5h-2v-2.5h2zm-16 0v2.5H3v-2.5h2zM19.25 3c.966 0 1.75.784 1.75 1.75v2.5h-2V4.999h-2.25V3h2.5zm-12 0v1.999H5V7.25H3v-2.5C3 3.784 3.784 3 4.75 3h2.5zm4 0v1.999h-2.5V3h2.5zm4 0v1.999h-2.5V3h2.5z",fill:"currentColor",fillRule:"evenodd"}))}function ve(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.5 19.5a2.5 2.5 0 01-4.995.164L9.5 19.5h5zM12 2c.915 0 1.686.767 1.924 1.815A6.002 6.002 0 0118 9.5V15l1.6 1.2A1 1 0 0119 18H5a1 1 0 01-.6-1.8L6 15V9.5a6.003 6.003 0 014.077-5.685C10.314 2.767 11.085 2 12 2z",fill:"currentColor",fillRule:"evenodd"}))}function pe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M17 4.5c1.583 0 3.165.45 4.748 1.352a.5.5 0 01.252.435V19.15a.5.5 0 01-.728.445C19.848 18.865 18.424 18.5 17 18.5c-1.667 0-3.333.5-5 1.5-1.667-1-3.333-1.5-5-1.5-1.424 0-2.848.365-4.272 1.095A.5.5 0 012 19.15V6.287a.5.5 0 01.252-.435C3.835 4.951 5.417 4.5 7 4.5c1.667 0 3.333.5 5 1.5 1.667-1 3.333-1.5 5-1.5zM17 6c-1.284 0-2.586.363-3.92 1.108l-.308.178L12 7.75l-.772-.463C9.786 6.421 8.383 6 7 6c-1.11 0-2.232.271-3.378.825l-.122.062v10.739l.056-.02a10.363 10.363 0 013.059-.598L7 17c1.585 0 3.156.382 4.704 1.134l.296.149.296-.149c1.429-.694 2.878-1.073 4.339-1.127L17 17c1.027 0 2.05.16 3.065.48l.435.147V6.887l-.122-.062c-1.041-.504-2.064-.773-3.075-.818L17 6zm0 7.75c.836 0 1.669.115 2.5.344v1.567a7.98 7.98 0 00-2.5-.411c-1.16 0-2.325.266-3.501.804v-1.627A9.628 9.628 0 0117 13.75zm0-3c.836 0 1.669.115 2.5.344v1.567a7.98 7.98 0 00-2.5-.411c-1.16 0-2.325.266-3.501.804v-1.627A9.628 9.628 0 0117 10.75zm0-3c.836 0 1.669.115 2.5.344v1.567A7.98 7.98 0 0017 9.25c-1.16 0-2.325.266-3.501.804V8.427A9.628 9.628 0 0117 7.75z",fill:"currentColor",fillRule:"evenodd"}))}function we(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 2a.75.75 0 01.743.648L20 2.75v18.5a.75.75 0 01-.648.743L19.25 22H6.75a2.75 2.75 0 01-2.739-3H4V5l.043.001A.749.749 0 014 4.75a2.75 2.75 0 012.582-2.745L6.75 2h12.5zm-.75 16H6.75a1.25 1.25 0 00-.128 2.494l.128.006H18.5v-.75H6.75a.5.5 0 110-1H18.5V18zM5.506 4.622L5.5 4.75a.749.749 0 01-.043.251L5.5 5v11.8a2.732 2.732 0 011-.289V3.525a1.25 1.25 0 00-.994 1.097zM18.5 3.5h-11v13h11v-13zM14.25 9a.75.75 0 110 1.5h-2.5a.75.75 0 110-1.5h2.5zm2-3a.75.75 0 110 1.5h-6.5a.75.75 0 010-1.5h6.5z",fill:"currentColor",fillRule:"evenodd"}))}function be(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.75 11c.966 0 1.75.784 1.75 1.75v7.5A1.75 1.75 0 0110.75 22h-6A1.75 1.75 0 013 20.25v-7.5c0-.966.784-1.75 1.75-1.75h6zm.25 8.5H9.5v1H11v-1zm-2.5 0h-4v1h4v-1zM14.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707v9.836A1.75 1.75 0 0119.25 20H13.5v-1.5h5.75a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L14 7.25V3.499L8.25 3.5a.25.25 0 00-.243.193L8 3.75V10H6.5V3.75C6.5 2.784 7.284 2 8.25 2h6.336zM11 17.5H9.5v1H11v-1zm-2.5 0H7v1h1.5v-1zm-2.5 0H4.5v1H6v-1zm10.016-6.984c.152 0 .333.058.371.263l.008.084v.242c.554.063 1.043.247 1.34.536.21.203.32.418.32.644 0 .29-.239.492-.516.492-.242 0-.437-.074-.648-.234-.328-.25-.586-.348-.93-.348-.379 0-.61.23-.61.48 0 .226.168.369.56.457l.14.028.687.121c1 .176 1.508.68 1.508 1.508 0 .908-.638 1.554-1.67 1.741l-.185.029v.175c0 .27-.207.352-.375.352-.157 0-.34-.065-.38-.269l-.007-.083v-.164c-.649-.047-1.211-.242-1.543-.558-.2-.196-.316-.41-.316-.645 0-.347.265-.543.59-.543.159 0 .308.044.495.162l.118.08c.343.254.726.395 1.043.395.48 0 .722-.203.722-.5 0-.217-.177-.353-.617-.458l-.14-.03-.672-.133c-.996-.192-1.489-.703-1.489-1.54 0-.885.638-1.523 1.633-1.683l.18-.023v-.23c0-.274.21-.348.383-.348zM11 15.5H9.5v1H11v-1zm-2.5 0H7v1h1.5v-1zm-2.5 0H4.5v1H6v-1zm5-3H4.5v2H11v-2zm4.5-7.881V7.25a.25.25 0 00.193.243l.057.007h2.631L15.5 4.619z",fill:"currentColor",fillRule:"evenodd"}))}function Ee(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.25 2c.414 0 .75.294.75.656V3h2.25c.966 0 1.75.83 1.75 1.853v14.294C21 20.17 20.216 21 19.25 21H4.75C3.784 21 3 20.17 3 19.147V4.853C3 3.83 3.784 3 4.75 3H7v-.344C7 2.294 7.336 2 7.75 2s.75.294.75.656V3h7v-.344c0-.362.336-.656.75-.656zm3.25 6h-15v11.147c0 .125.082.23.193.258l.057.007h14.5a.254.254 0 00.243-.204l.007-.06V8zm-11 7a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-2a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h2zm4.5 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-2a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h2zm4.5 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-2a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h2zm-9-4.5a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-2A.5.5 0 016 12v-1a.5.5 0 01.5-.5h2zm4.5 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-2a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h2zm4.5 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-2a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h2zM7 4.588H4.75a.254.254 0 00-.243.204l-.007.06V6.5h15V4.853a.262.262 0 00-.193-.258l-.057-.007H17v.256c0 .362-.336.656-.75.656s-.75-.294-.75-.656v-.256h-7v.256c0 .362-.336.656-.75.656S7 5.206 7 4.844v-.256z",fill:"currentColor",fillRule:"evenodd"}))}function xe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20 8a2 2 0 012 2v9a2 2 0 01-2 2H8a2 2 0 01-2-2v-9a2 2 0 012-2h12zm.5 5h-13v6a.5.5 0 00.41.492L8 19.5h12a.5.5 0 00.492-.41L20.5 19v-6zM12 15a.5.5 0 01.5.5V17a.5.5 0 01-.5.5h-2a.5.5 0 01-.5-.5v-1.5a.5.5 0 01.5-.5h2zm4.607-10.568L17.294 7h-1.553l-.583-2.18a.5.5 0 00-.524-.369l-.089.016L3.92 7.314a.5.5 0 00-.369.523l.016.089L5 13.276v3.905a1.992 1.992 0 01-.812-1.14l-2.07-7.727a2 2 0 011.414-2.45l10.625-2.846a2 2 0 012.45 1.414zM20 9.5H8a.5.5 0 00-.492.41L7.5 10v1.5h13V10a.5.5 0 00-.41-.492L20 9.5z",fill:"currentColor"}))}function ye(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zM13 3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5zm-1.143 6.234c.215 0 .434.097.48.36l.009.107v.387c.714.091 1.353.338 1.75.725.301.285.463.602.463.902 0 .355-.28.602-.618.602-.29 0-.51-.102-.779-.333-.456-.435-.843-.607-1.38-.607-.634 0-1.037.36-1.037.811 0 .372.266.62.843.762l.15.033 1.016.21c1.353.263 2.02.934 2.02 2.035 0 1.218-.86 2.076-2.251 2.304l-.193.027v.338c0 .344-.247.468-.49.468-.214 0-.437-.098-.484-.361l-.01-.107v-.327c-.816-.07-1.535-.322-1.981-.736-.301-.274-.473-.585-.473-.908 0-.419.306-.655.688-.655.236 0 .43.075.735.333.478.435 1.005.66 1.547.66.758 0 1.166-.338 1.166-.853 0-.374-.264-.605-.921-.77l-.159-.036-1.01-.22c-1.3-.269-1.955-.967-1.955-2.063 0-1.187.855-2.034 2.199-2.223l.186-.022v-.376c0-.349.247-.467.489-.467zM14.5 4.62v2.63a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function ze(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 4.75a.75.75 0 00-1.5 0v14.5c0 .414.336.75.75.75h18.5a.75.75 0 000-1.5h-1.5V6a.75.75 0 00-1.14-.64l-6.88 4.188-3.045-2.682a.75.75 0 00-.921-.055L3.5 9.745V4.75zm0 6.816V18.5h14.75V7.335l-6.211 3.782a.75.75 0 01-.886-.078l-3.02-2.66L3.5 11.565z",fill:"currentColor"}))}function Re(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 17.75A1.75 1.75 0 009.25 16h-4.5A1.75 1.75 0 003 17.75v1.5c0 .966.784 1.75 1.75 1.75h4.5A1.75 1.75 0 0011 19.25v-1.5zm6-6.5a1.75 1.75 0 00-1.75-1.75H4.75A1.75 1.75 0 003 11.25v1.5c0 .966.784 1.75 1.75 1.75h10.5A1.75 1.75 0 0017 12.75v-1.5zm4-6.5A1.75 1.75 0 0019.25 3H4.75A1.75 1.75 0 003 4.75v1.5C3 7.216 3.784 8 4.75 8h14.5A1.75 1.75 0 0021 6.25v-1.5zm-11.5 13v1.5a.25.25 0 01-.193.243l-.057.007h-4.5a.25.25 0 01-.243-.193L4.5 19.25v-1.5a.25.25 0 01.193-.243l.057-.007h4.5a.25.25 0 01.243.193l.007.057zm6-6.5v1.5a.25.25 0 01-.193.243L15.25 13H4.75a.25.25 0 01-.243-.193L4.5 12.75v-1.5a.25.25 0 01.193-.243L4.75 11h10.5a.25.25 0 01.243.193l.007.057zm4-6.5v1.5a.25.25 0 01-.193.243l-.057.007H4.75a.25.25 0 01-.243-.193L4.5 6.25v-1.5a.25.25 0 01.193-.243L4.75 4.5h14.5a.25.25 0 01.243.193l.007.057z",fill:"currentColor"}))}function Ce(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 4.75a.75.75 0 00-1.5 0v14.5c0 .414.336.75.75.75h18.5a.75.75 0 000-1.5H3.5V4.75zm18.06 2.53a.75.75 0 10-1.06-1.06l-5.97 5.97-3.47-3.47a.75.75 0 00-1.06 0l-4.47 4.47a.75.75 0 001.061 1.06l3.94-3.94L14 13.78a.75.75 0 001.06 0l6.5-6.5z",fill:"currentColor"}))}function Se(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.25 4.25A.75.75 0 0111 5v8h8a.75.75 0 01.743.648l.007.102c0 4.97-4.03 8.5-9 8.5a9 9 0 01-9-9c0-4.97 3.53-9 8.5-9zM9.5 5.787l-.209.024c-3.69.47-6.041 3.622-6.041 7.439a7.5 7.5 0 007.5 7.5c3.817 0 6.968-2.352 7.44-6.041l.022-.209H10.25a.75.75 0 01-.743-.648L9.5 13.75V5.787zm3.75-4.037a9 9 0 019 9 .75.75 0 01-.75.75h-8.25a.75.75 0 01-.75-.75V2.5a.75.75 0 01.75-.75zM14 3.287V10h6.712l-.023-.209a7.504 7.504 0 00-6.48-6.48L14 3.287z",fill:"currentColor"}))}function Ne(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 4.5h15v3.75h-15V4.5zM3 9.75V4.5A1.5 1.5 0 014.5 3h15A1.5 1.5 0 0121 4.5v15a1.5 1.5 0 01-1.5 1.5h-15A1.5 1.5 0 013 19.5V9.75zM4.5 14V9.75h4V14h-4zm0 1.5v4h4v-4h-4zm5.5 4h4v-4h-4v4zm5.5 0h4v-4h-4v4zm4-5.5V9.75h-4V14h4zM10 9.75h4V14h-4V9.75z",fill:"currentColor"}))}function Ae(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.557 13.056c1.474.7 2.443 1.881 2.443 3.222 0 1.294-.903 2.44-2.292 3.147l.89 1.582a.556.556 0 01-.748.761l-.084-.055-2.059-1.647a7.87 7.87 0 01-1.263.1c-2.853 0-5.205-1.506-5.52-3.444 2.666-.007 5.071-.766 6.817-1.966a7.924 7.924 0 001.802-1.682l.014-.018zM10.889 3.5c4.91 0 8.889 2.736 8.889 6.111 0 3.309-3.825 6.004-8.601 6.108l-.426.003-5.406 4.324a.556.556 0 01-.832-.706l2.398-4.262C3.999 14.074 2 12.003 2 9.61 2 6.236 5.98 3.5 10.889 3.5z",fill:"currentColor",fillRule:"evenodd"}))}function Oe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.313 12.156c.59.664.937 1.466.937 2.344 0 1.01-.467 1.944-1.272 2.68l-.21.179.885 1.77c.174.348.174.753.01 1.096l-.068.125-.084.118c-.352.44-.948.585-1.501.347l-.127-.062-.129-.09-2.446-1.955-.233.021-.19.012-.385.009c-2.065 0-3.908-.798-4.923-2.035a13.97 13.97 0 002.216-.108c.728.397 1.667.643 2.707.643.209 0 .415-.01.619-.03l.303-.037.323-.047 2.059 1.649-.969-1.94.582-.36c.86-.533 1.333-1.252 1.333-1.985 0-.371-.122-.733-.343-1.065.3-.336.562-.69.781-1.06l.125-.219zM11 3.25c4.786 0 8.75 2.725 8.75 6.25 0 3.455-3.81 6.143-8.47 6.247l-.139.001-4.662 3.73a1.25 1.25 0 01-1.567-.004l-.1-.09-.09-.102a1.25 1.25 0 01-.174-1.27l.06-.124 1.737-3.087-.23-.106c-2.193-1.046-3.646-2.768-3.842-4.737l-.017-.228-.006-.23c0-3.525 3.964-6.25 8.75-6.25zm0 1.5c-4.05 0-7.25 2.2-7.25 4.75 0 1.679 1.397 3.263 3.66 4.119l.255.092.85.293-1.969 3.498 4.072-3.255.267.002.384-.002c3.922-.095 6.981-2.253 6.981-4.747 0-2.55-3.2-4.75-7.25-4.75z",fill:"currentColor",fillRule:"evenodd"}))}function Ie(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.47 6.47a.75.75 0 01.976-.073l.084.073L12 10.939l4.47-4.47a.75.75 0 01.976-.072l.084.073a.75.75 0 01.073.976l-.073.084-5 5a.75.75 0 01-.976.073l-.084-.073-5-5a.75.75 0 010-1.06zm0 5a.75.75 0 01.976-.073l.084.073L12 15.939l4.47-4.47a.75.75 0 01.976-.072l.084.073a.75.75 0 01.073.976l-.073.084-5 5a.75.75 0 01-.976.073l-.084-.073-5-5a.75.75 0 010-1.06z",fill:"currentColor",fillRule:"evenodd"}))}function Le(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.854 9.354l5.792 5.792a.5.5 0 00.708 0l5.792-5.792a.5.5 0 00-.353-.854H6.207a.5.5 0 00-.353.854z",fill:"currentColor",fillRule:"evenodd"}))}function He(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.47 10.03a.75.75 0 01.976-1.133l.084.073L12 13.439l4.47-4.47a.75.75 0 01.976-.072l.084.073a.75.75 0 01.073.976l-.073.084-5 5a.75.75 0 01-.976.073l-.084-.073-5-5z",fill:"currentColor",fillRule:"evenodd"}))}function Me(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M17.53 6.47a.75.75 0 01.073.976l-.073.084L13.061 12l4.47 4.47a.75.75 0 01.072.976l-.073.084a.75.75 0 01-.976.073l-.084-.073-5-5a.75.75 0 01-.073-.976l.073-.084 5-5a.75.75 0 011.06 0zm-5 0a.75.75 0 01.073.976l-.073.084L8.061 12l4.47 4.47a.75.75 0 01.072.976l-.073.084a.75.75 0 01-.976.073l-.084-.073-5-5a.75.75 0 01-.073-.976l.073-.084 5-5a.75.75 0 011.06 0z",fill:"currentColor",fillRule:"evenodd"}))}function ke(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5 6.207a.5.5 0 00-.854-.353l-5.792 5.792a.5.5 0 000 .708l5.792 5.792a.5.5 0 00.854-.353V6.207z",fill:"currentColor"}))}function Ve(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.97 6.47a.75.75 0 011.133.976l-.073.084L10.561 12l4.47 4.47a.75.75 0 01.072.976l-.073.084a.75.75 0 01-.976.073l-.084-.073-5-5a.75.75 0 01-.073-.976l.073-.084 5-5z",fill:"currentColor",fillRule:"evenodd"}))}function je(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11.47 6.47a.75.75 0 01.976-.073l.084.073 5 5 .073.084a.75.75 0 01.007.882l-.08.094-5 5-.084.073a.75.75 0 01-.882.007l-.094-.08-.073-.084a.75.75 0 01-.007-.882l.08-.094L15.939 12l-4.47-4.47-.072-.084a.75.75 0 01.073-.976zm-5 0a.75.75 0 01.976-.073l.084.073 5 5 .073.084a.75.75 0 01.007.882l-.08.094-5 5-.084.073a.75.75 0 01-.882.007l-.094-.08-.073-.084a.75.75 0 01-.007-.882l.08-.094L10.939 12l-4.47-4.47-.072-.084a.75.75 0 01.073-.976z",fill:"currentColor",fillRule:"evenodd"}))}function Te(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.5 17.793a.5.5 0 00.854.353l5.792-5.792a.5.5 0 000-.708L9.354 5.854a.5.5 0 00-.854.353v11.586z",fill:"currentColor"}))}function De(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.03 6.47a.75.75 0 00-1.133.976l.073.084L13.439 12l-4.47 4.47a.75.75 0 00-.072.976l.073.084a.75.75 0 00.976.073l.084-.073 5-5a.75.75 0 00.073-.976l-.073-.084-5-5z",fill:"currentColor",fillRule:"evenodd"}))}function Fe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.47 12.53a.75.75 0 01-.073-.976l.073-.084 5-5 .084-.073a.75.75 0 01.882-.007l.094.08 5 5 .073.084a.75.75 0 01.007.882l-.08.094-.084.073a.75.75 0 01-.882.007l-.094-.08L12 8.061l-4.47 4.47-.084.072a.75.75 0 01-.976-.073zm0 5a.75.75 0 01-.073-.976l.073-.084 5-5 .084-.073a.75.75 0 01.882-.007l.094.08 5 5 .073.084a.75.75 0 01.007.882l-.08.094-.084.073a.75.75 0 01-.882.007l-.094-.08L12 13.061l-4.47 4.47-.084.072a.75.75 0 01-.976-.073z",fill:"currentColor",fillRule:"evenodd"}))}function Pe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.854 14.646l5.792-5.792a.5.5 0 01.708 0l5.792 5.792a.5.5 0 01-.353.854H6.207a.5.5 0 01-.353-.854z",fill:"currentColor",fillRule:"evenodd"}))}function Be(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M17.53 13.97a.75.75 0 01-.976 1.133l-.084-.073L12 10.561l-4.47 4.47a.75.75 0 01-.976.072l-.084-.073a.75.75 0 01-.073-.976l.073-.084 5-5a.75.75 0 01.976-.073l.084.073 5 5z",fill:"currentColor",fillRule:"evenodd"}))}function _e(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zM8.641 8.641a.75.75 0 01.984-.067l.077.067L12 10.94l2.298-2.298a.75.75 0 011.128.984l-.067.077L13.06 12l2.298 2.298a.75.75 0 01-.984 1.128l-.077-.067L12 13.06l-2.298 2.298a.75.75 0 01-1.128-.984l.067-.077L10.94 12 8.641 9.702a.75.75 0 010-1.06z"}))}function Ge(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zm-.267 5.753a1 1 0 10-.001-2.001 1 1 0 00.001 2.001zM14 16.754a.75.75 0 000-1.502h-1.267V11.5a.752.752 0 00-.75-.751H10a.75.75 0 000 1.502h1.233v3H10a.75.75 0 000 1.503h4z",fill:"currentColor"}))}function qe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zm4 7.75c.934 0 1.027 1.366.102 1.493-8 0 0 0-8.102.007-.934 0-1.027-1.366-.102-1.493z",fill:"currentColor",fillRule:"evenodd"}))}function $e(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zm0 3.75a.75.75 0 01.743.648L12.75 8v3.25H16a.75.75 0 01.102 1.493L16 12.75h-3.25V16a.75.75 0 01-1.493.102L11.25 16v-3.25H8a.75.75 0 01-.102-1.493L8 11.25h3.25V8a.75.75 0 01.75-.75z",fill:"currentColor",fillRule:"evenodd"}))}function Ke(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zm.58 10.15a.71.71 0 00.226-.543v-1.272a.306.306 0 01.045-.143.522.522 0 01.136-.133 3.91 3.91 0 01.285-.18l.028-.016c.112-.066.242-.143.387-.237.706-.454 1.156-1.012 1.156-1.838 0-.673-.37-1.19-.887-1.53-.513-.336-1.183-.508-1.845-.508-.552 0-1.234.096-1.79.317a2.441 2.441 0 00-.574.315c-.09.069-.174.146-.245.232a1.15 1.15 0 00-.154.238 1.474 1.474 0 00-.148.625c0 .075.01.118.02.167.036.159.12.3.254.401a.77.77 0 00.47.147.768.768 0 00.745-.517l.004-.013c.053-.17.226-.306.517-.4.282-.09.611-.116.852-.116.267 0 .575.078.809.213.241.139.345.298.345.44 0 .188-.051.32-.152.444-.11.136-.285.27-.55.444h-.002l-.136.091h-.001c-.232.153-.49.322-.695.513-.252.234-.467.537-.467.938v1.38c0 .226.087.421.248.556.155.13.357.185.56.185.21 0 .41-.064.558-.2zm-.559 3.1c.504 0 .924-.4.924-.904 0-.512-.423-.9-.924-.9a.908.908 0 00-.92.9c0 .504.42.904.92.904z",fill:"currentColor"}))}function Ue(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zm4.403 3.867a.75.75 0 01.282.938l-.052.098-5.091 8a.75.75 0 01-1.145.145l-.074-.08-2.909-3.636a.75.75 0 011.096-1.018l.076.081 2.253 2.817 4.528-7.115a.75.75 0 011.036-.23z",fill:"currentColor",fillRule:"evenodd"}))}function We(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zm0 3.75a.97.97 0 00-.974.989L11.2 12.5c.01.417.352.749.771.749a.768.768 0 00.77-.74l.23-4.26a.97.97 0 00-.97-1zm0 9.5a1 1 0 100-2 1 1 0 000 2z",fill:"currentColor"}))}function Je(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11.03 12.97a.75.75 0 01.073.976l-.073.084-5.72 5.72H8.5a.75.75 0 01.743.648l.007.102a.75.75 0 01-.648.743l-.102.007-5.051-.002-.12-.018-.068-.019-.06-.023-.07-.035-.082-.054-.08-.07a.749.749 0 01-.096-.118l-.05-.09-.04-.103a.737.737 0 01-.026-.116L2.75 20.5v-5a.75.75 0 011.493-.102l.007.102-.001 3.189 5.72-5.72a.75.75 0 011.061 0zm4.368-10.213l.102-.007h5l.07.003.101.017.068.019.06.023.07.035.082.054.08.07a.749.749 0 01.096.118l.05.09.04.103c.012.037.02.076.026.116l.007.102v5a.75.75 0 01-1.493.102L19.75 8.5V5.31l-5.72 5.72a.75.75 0 01-1.133-.976l.073-.084 5.718-5.72H15.5a.75.75 0 01-.743-.648L14.75 3.5a.75.75 0 01.648-.743z",fill:"currentColor",fillRule:"evenodd"}))}function Ye(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.398 12.757l.102-.007h5l.07.003.101.017.068.019.06.023.07.035.082.054.08.07a.749.749 0 01.096.118l.05.09.04.103c.012.037.02.076.026.116l.007.102v5a.75.75 0 01-1.493.102L9.75 18.5v-3.19l-5.72 5.72a.75.75 0 01-1.133-.976l.073-.084 5.718-5.72H5.5a.75.75 0 01-.743-.648L4.75 13.5a.75.75 0 01.648-.743zM21.03 2.97a.75.75 0 01.073.976l-.073.084-5.72 5.72h3.19a.75.75 0 01.743.648l.007.102a.75.75 0 01-.648.743l-.102.007-5.051-.002-.12-.018-.068-.019-.06-.023-.07-.035-.082-.054-.08-.07a.749.749 0 01-.096-.118l-.05-.09-.04-.103a.737.737 0 01-.026-.116l-.007-.102v-5a.75.75 0 011.493-.102l.007.102v3.188l5.72-5.718a.75.75 0 011.06 0z",fill:"currentColor",fillRule:"evenodd"}))}function Qe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.554 6.397a.75.75 0 011.049 1.05l-.073.083L13.061 12l4.47 4.47a.75.75 0 01-.977 1.133l-.084-.073L12 13.061l-4.47 4.47-.084.072a.75.75 0 01-1.049-1.05l.073-.083L10.939 12l-4.47-4.47a.75.75 0 01.977-1.133l.084.073L12 10.939l4.47-4.47.084-.072z",fill:"currentColor",fillRule:"evenodd"}))}function Xe(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 4.5h-4v15h4v-15zm1.5 0v15h3.75a.25.25 0 00.25-.25V4.75a.25.25 0 00-.25-.25H15.5zM4.75 3A1.75 1.75 0 003 4.75v14.5c0 .966.784 1.75 1.75 1.75h14.5A1.75 1.75 0 0021 19.25V4.75A1.75 1.75 0 0019.25 3H4.75z",fill:"currentColor"}))}function Ze(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.6 4.5H14v15h-2.378a2.26 2.26 0 010 1.5h7.628A1.75 1.75 0 0021 19.25V4.75A1.75 1.75 0 0019.25 3H4.75A1.75 1.75 0 003 4.75v6.75c.576 0 1.152.22 1.591.659l1.659 1.659 1.659-1.659a2.244 2.244 0 011.691-.657V4.5zm5.9 15v-15h3.75a.25.25 0 01.25.25v14.5a.25.25 0 01-.25.25H15.5zM2.47 20.78a.75.75 0 010-1.06L5.19 17l-2.72-2.72a.75.75 0 111.06-1.06l2.72 2.72 2.72-2.72a.75.75 0 111.06 1.06L7.31 17l2.72 2.72a.75.75 0 11-1.06 1.06l-2.72-2.72-2.72 2.72a.75.75 0 01-1.06 0z",fill:"currentColor"}))}function et(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 4.5h-4v15h4v-15zm1.5 0v15h3.75a.25.25 0 00.25-.25V4.75a.25.25 0 00-.25-.25H15.5zm-10.75 0H8.5v15H4.75a.25.25 0 01-.25-.25V4.75a.25.25 0 01.25-.25zm0-1.5A1.75 1.75 0 003 4.75v14.5c0 .966.784 1.75 1.75 1.75h14.5A1.75 1.75 0 0021 19.25V4.75A1.75 1.75 0 0019.25 3H4.75z",fill:"currentColor"}))}function tt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19 9a3 3 0 11-2.877 3.854H7.877A3.001 3.001 0 012 12a3 3 0 015.93-.647h8.14A3.001 3.001 0 0119 9zM5 10.5a1.5 1.5 0 100 3 1.5 1.5 0 000-3zm14 0a1.5 1.5 0 100 3 1.5 1.5 0 000-3z",fill:"currentColor"}))}function nt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.66 4.174a.75.75 0 01.32.933l-.045.091-8.298 14.373a.75.75 0 01-1.344-.659l.045-.091 8.298-14.373a.75.75 0 011.025-.274zM5 9a3.001 3.001 0 012.935 2.374.685.685 0 01.169-.02h1.814l-.866 1.5h-.948a.75.75 0 01-.22-.033A2.998 2.998 0 012 12a3 3 0 013-3zm14 0a3 3 0 11-2.877 3.854h-1.875l.866-1.5.956-.001A3.001 3.001 0 0119 9zM5 10.5a1.5 1.5 0 100 3 1.5 1.5 0 000-3zm14 0a1.5 1.5 0 100 3 1.5 1.5 0 000-3z",fill:"currentColor"}))}function lt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.25 2c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V18h-.5a.75.75 0 110-1.5H4v-3.75h-.5a.75.75 0 110-1.5H4V8h-.5a.75.75 0 010-1.5H4V3.75C4 2.784 4.784 2 5.75 2h12.5zm0 1.5H5.75a.25.25 0 00-.243.193L5.5 3.75V6.5H6A.75.75 0 016 8h-.5v3.25H6a.75.75 0 110 1.5h-.5v3.75H6A.75.75 0 116 18h-.5v2.25a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V3.75a.25.25 0 00-.193-.243L18.25 3.5zM11.866 12c2.434 0 3.88 1.316 4.34 3.95A1.75 1.75 0 0114.482 18H9.25a1.75 1.75 0 01-1.724-2.05c.46-2.634 1.906-3.95 4.34-3.95zm0-5.5c1.104 0 2 1.12 2 2.5s-.896 2.5-2 2.5c-1.105 0-2-1.12-2-2.5s.895-2.5 2-2.5z",fill:"currentColor",fillRule:"evenodd"}))}function at(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6 5v1.5h-.25a.25.25 0 00-.243.193L5.5 6.75v13.5a.25.25 0 00.193.243l.057.007h9.5a.25.25 0 00.243-.193l.007-.057V20H17v.25A1.75 1.75 0 0115.25 22h-9.5A1.75 1.75 0 014 20.25V6.75C4 5.784 4.784 5 5.75 5H6zm7.586-3a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707v8.836A1.75 1.75 0 0118.25 19h-9.5A1.75 1.75 0 017 17.25V3.75C7 2.784 7.784 2 8.75 2h4.836zM13 3.5H8.75a.25.25 0 00-.243.193L8.5 3.75v13.5a.25.25 0 00.193.243l.057.007h9.5a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5zm1.5 1.121V7.25a.25.25 0 00.193.243l.057.007h2.629L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function rt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11.441 3.441a1.25 1.25 0 01.983-.058l.135.058 9.598 4.799a.85.85 0 01.464.859l-.001 6.151a.75.75 0 11-1.5 0v-4.971L19 11.339V17.5c0 1.657-3.134 3-7 3-3.772 0-6.847-1.278-6.994-2.88L5 17.5v-6.162L1.842 9.76a.85.85 0 01-.421-1.042l.041-.098a.85.85 0 01.286-.325l.094-.055 9.598-4.799zm-4.942 8.647v5.395c.009.095.385.448 1.217.791C8.82 18.73 10.351 19 12 19c1.689 0 3.253-.284 4.359-.757.472-.203.822-.425 1.023-.629l.11-.117c.003-.003.005-.004.006-.003l.002.006v-5.411l-4.941 2.47a1.25 1.25 0 01-.983.058l-.135-.058-4.942-2.471zM12 4.838L3.677 8.999l8.322 4.162 8.323-4.162L12 4.838z",fill:"currentColor"}))}function ot(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.499 15l.001 5.25a.25.25 0 00.193.243l.057.007h9.5a.25.25 0 00.243-.193l.007-.057V20H18v.25A1.75 1.75 0 0116.25 22h-9.5A1.75 1.75 0 015 20.25L4.999 15h1.5zm8.087-13a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707v8.836A1.75 1.75 0 0119.25 19h-9.5A1.75 1.75 0 018 17.25L7.999 15h1.5l.001 2.25a.25.25 0 00.193.243l.057.007h9.5a.25.25 0 00.243-.193l.007-.057L19.499 9H15.75a1.75 1.75 0 01-1.744-1.606L14 7.25l-.001-3.75H9.75a.25.25 0 00-.243.193L9.5 3.75 9.499 5h-1.5L8 3.75C8 2.784 8.784 2 9.75 2h4.836zM4.392 8.956a.5.5 0 01.55-.147l.082.038 2.143 1.237.074.052a.5.5 0 01.147.55l-.038.081-.052.074a.5.5 0 01-.55.147l-.081-.038-.878-.505a2.5 2.5 0 004 1.525.75.75 0 11.925 1.181 4.002 4.002 0 01-6.343-2.173l-.402.695-.052.074a.5.5 0 01-.852-.492l.038-.082L4.341 9.03l.051-.074zM8.25 6a4.001 4.001 0 013.92 3.197l.358-.62a.5.5 0 01.6-.221l.083.038a.5.5 0 01.22.601l-.037.082-1.238 2.143a.5.5 0 01-.6.221l-.083-.038-2.143-1.237a.5.5 0 01.418-.904l.082.038.914.528A2.5 2.5 0 006.711 8.03a.75.75 0 11-.925-1.181A3.985 3.985 0 018.25 6zm7.249-1.38l.001 2.63a.25.25 0 00.193.243l.057.007h2.629l-2.88-2.88z",fill:"currentColor",fillRule:"evenodd"}))}function it(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2a4.5 4.5 0 014.472 4h-1.514a3 3 0 00-5.917 0H20.25a.75.75 0 110 1.5h-.75V18a4 4 0 01-4 4h-7a4 4 0 01-4-4V7.5h-.75a.75.75 0 010-1.5h3.777A4.5 4.5 0 0112 2zm6 5.5H6V18a2.5 2.5 0 002.336 2.495l.164.005h7a2.5 2.5 0 002.495-2.336L18 18V7.5zm-3.946 3.397a.75.75 0 011.049 1.05l-.073.083L13.061 14l1.97 1.97a.75.75 0 01-.977 1.133l-.084-.073L12 15.061l-1.97 1.97-.084.072a.75.75 0 01-1.049-1.05l.073-.083L10.939 14l-1.97-1.97a.75.75 0 01.977-1.133l.084.073L12 12.939l1.97-1.97.084-.072z",fill:"currentColor",fillRule:"evenodd"}))}function st(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2a4.5 4.5 0 014.472 4h3.778a.75.75 0 110 1.5h-.75V18a4 4 0 01-4 4h-7a4 4 0 01-4-4V7.5h-.75a.75.75 0 010-1.5h3.777A4.5 4.5 0 0112 2zm6 5.5H6V18a2.5 2.5 0 002.336 2.495l.164.005h7a2.5 2.5 0 002.495-2.336L18 18V7.5zm-8.25 2a.75.75 0 01.75.75v7.5a.75.75 0 11-1.5 0v-7.5a.75.75 0 01.75-.75zm4.5 0a.75.75 0 01.75.75v7.5a.75.75 0 11-1.5 0v-7.5a.75.75 0 01.75-.75zM12 3.5A3 3 0 009.041 6h5.917A3 3 0 0012 3.5z",fill:"currentColor",fillRule:"evenodd"}))}function ct(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.25 2a.75.75 0 01.75.75V3h2.25c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H17v-1.5h2.25a.25.25 0 00.243-.193l.007-.057V8h-15v11.25a.25.25 0 00.193.243l.057.007H7V21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3H7v-.25a.75.75 0 011.5 0V3h7v-.25a.75.75 0 01.75-.75zM12 11.25a.75.75 0 01.743.648l.007.102v6.439l1.72-1.72a.75.75 0 01.976-.072l.084.073a.75.75 0 01.073.976l-.073.084-3 3a.75.75 0 01-.976.073l-.084-.073-3-3a.75.75 0 01.976-1.133l.084.073 1.72 1.719V12a.75.75 0 01.75-.75zM7 4.5H4.75a.25.25 0 00-.243.193L4.5 4.75V6.5h15V4.75a.25.25 0 00-.193-.243L19.25 4.5H17v.25a.75.75 0 11-1.5 0V4.5h-7v.25a.75.75 0 01-1.5 0V4.5z",fill:"currentColor",fillRule:"evenodd"}))}function ut(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.303 2.787a1.25 1.25 0 01.934 1.39l-.024.126-4 16a1.25 1.25 0 01-2.45-.48l.024-.126 4-16a1.25 1.25 0 011.516-.91zM7.05 5.04a1.25 1.25 0 01.242 1.65l-.082.11L2.877 12l4.333 5.2a1.25 1.25 0 01-.06 1.667l-.1.093a1.25 1.25 0 01-1.667-.06l-.093-.1-5-6a1.25 1.25 0 01-.083-1.49l.083-.11 5-6a1.25 1.25 0 011.76-.16zm9.9 0a1.25 1.25 0 011.667.06l.093.1 5 6 .083.11a1.25 1.25 0 010 1.38l-.083.11-5 6-.093.1a1.25 1.25 0 01-1.558.142l-.11-.082-.1-.093a1.25 1.25 0 01-.14-1.558l.08-.11L21.124 12 16.79 6.8l-.082-.11a1.25 1.25 0 01.242-1.65z",fill:"currentColor",fillRule:"evenodd"}))}function dt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.5 17a.5.5 0 01.5.5v4a.5.5 0 01-.5.5h-4a.5.5 0 01-.5-.5v-4a.5.5 0 01.5-.5h4zm-1 1.5h-2v2h2v-2zm-5-14.75a.75.75 0 01.102 1.493l-.102.007H13a.25.25 0 00-.243.193l-.007.057v5.75h1.75a.75.75 0 01.102 1.493l-.102.007h-1.75v5.75a.25.25 0 00.193.243l.057.007h1.5a.75.75 0 01.102 1.493l-.102.007H13a1.75 1.75 0 01-1.744-1.606l-.006-.144v-5.75H9.5a.75.75 0 01-.102-1.493l.102-.007h1.75V5.5a1.75 1.75 0 011.606-1.744L13 3.75h1.5zm6 5.75a.5.5 0 01.5.5v4a.5.5 0 01-.5.5h-4a.5.5 0 01-.5-.5v-4a.5.5 0 01.5-.5h4zm-13 0a.5.5 0 01.5.5v4a.5.5 0 01-.5.5h-4A.5.5 0 013 14v-4a.5.5 0 01.5-.5h4zm12 1.5h-2v2h2v-2zm-13 0h-2v2h2v-2zm14-9a.5.5 0 01.5.5v4a.5.5 0 01-.5.5h-4a.5.5 0 01-.5-.5v-4a.5.5 0 01.5-.5h4zm-1 1.5h-2v2h2v-2z",fill:"currentColor",fillRule:"evenodd"}))}function mt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V14h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007H10V22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm6.194 13.72a.75.75 0 01.073.976l-.073.084-5 5a.75.75 0 01-.976.073l-.084-.073-3-3a.75.75 0 01.976-1.133l.084.073 2.47 2.469 4.47-4.47a.75.75 0 011.06 0zm-2.4-8.22L14.5 4.621V7.25a.25.25 0 00.193.243l.057.007h2.63z",fill:"currentColor",fillRule:"evenodd"}))}function gt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V13h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007H12V22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm2.164 11.5a.75.75 0 01.743.648l.007.102V17h2.75a.75.75 0 01.102 1.493l-.102.007H16.5v2.75a.75.75 0 01-1.493.102L15 21.25V18.5h-2.75a.75.75 0 01-.102-1.493L12.25 17H15v-2.75a.75.75 0 01.75-.75zM14.5 4.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function ft(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11.95 11.146l2.219 3.843.868.234a2.5 2.5 0 111.826 2.042l-1.633-.438.845 1.464a2.5 2.5 0 11-2.444-1.235l-.45-.778-4.287-1.148a.75.75 0 11.388-1.45l2.839.761-1.47-2.545a.75.75 0 011.3-.75zM13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V11h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007H10V22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm-.176 16.675a1 1 0 101 1.732 1 1 0 00-1-1.732zm3.134-4.084a1 1 0 101.932.518 1 1 0 00-1.932-.518zM14.5 4.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function ht(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zM13 3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5zm-1 12.91c.516 0 .935.333.935.849 0 .515-.42.848-.935.848-.516 0-.94-.333-.94-.848 0-.516.424-.849.94-.849zm0-5.978c.509 0 .883.352.917.807l.001.106-.15 3.62a.754.754 0 01-.768.736.757.757 0 01-.768-.632l-.01-.104-.135-3.62c-.022-.505.37-.913.913-.913zm2.5-5.811V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function vt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707v4.336h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007h5V22h-5A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm5.664 12.25a.75.75 0 01.743.648L20 15v4.5a.75.75 0 01-1.493.102L18.5 19.5v-2.69l-4.97 4.97a.75.75 0 01-1.133-.976l.073-.084 4.968-4.97H14.75a.75.75 0 01-.743-.648L14 15a.75.75 0 01.648-.743l.102-.007h4.5zM14.5 4.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function pt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.586 2a1 1 0 01.707.293l3.414 3.414a1 1 0 01.293.707v8.836A1.75 1.75 0 0119.25 17H15v3.25A1.75 1.75 0 0113.25 22h-8.5A1.75 1.75 0 013 20.25V8.75C3 7.784 3.784 7 4.75 7H9V3.75C9 2.784 9.784 2 10.75 2h5.836zM15.5 3.499l-4.75.001a.25.25 0 00-.243.193l-.007.057V7h1v1.5h-1V10H9V8.5H4.75a.25.25 0 00-.243.193L4.5 8.75v11.5a.25.25 0 00.193.243l.057.007h8.5a.25.25 0 00.243-.193l.007-.057V17h-1v-1.5h1V14H15v1.5h4.25a.25.25 0 00.243-.193l.007-.057V7.5h-2.25a1.75 1.75 0 01-1.744-1.606L15.5 5.75V3.499zM10.5 14v1.25a.25.25 0 00.193.243l.057.007h.75V17h-.75A1.75 1.75 0 019 15.25V14h1.5zm4.5-3v2h-1.5v-2H15zm-4.5 0v2H9v-2h1.5zm2-4h.75c.966 0 1.75.784 1.75 1.75V10h-1.5V8.75a.25.25 0 00-.193-.243L13.25 8.5h-.75V7zM17 4.12v1.63a.25.25 0 00.193.243L17.25 6h1.631L17 4.12z",fill:"currentColor",fillRule:"evenodd"}))}function wt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V12h1.5v8.25a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5h-2V2h2.586zM4.433 7.25a.5.5 0 01-.717.661l-.07-.057-1-1-.057-.07a.5.5 0 010-.568l.057-.07 1-1 .07-.057a.5.5 0 01.568 0l.07.057.057.07a.5.5 0 01.022.535L6.25 5.75V3.933a.5.5 0 01-.534-.022l-.07-.057a.5.5 0 01-.057-.638l.057-.07 1-1 .07-.057a.5.5 0 01.568 0l.07.057 1 1 .057.07a.5.5 0 010 .568l-.057.07-.07.057a.5.5 0 01-.534.022V5.75h1.817a.5.5 0 01.022-.534l.057-.07a.5.5 0 01.638-.057l.07.057 1 1a.5.5 0 01.057.638l-.057.07-1 1a.5.5 0 01-.787-.604H7.75v1.817a.5.5 0 01.534.022l.07.057a.5.5 0 01.057.638l-.057.07-1 1a.5.5 0 01-.638.057l-.07-.057-1-1a.5.5 0 01.605-.787L6.25 7.25H4.433zM14.5 4.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function bt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V12h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007H10V22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm.164 10.75a3 3 0 100 6 3 3 0 000-6zm.75-8.129V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621zm-.75 15.629a4.5 4.5 0 113.632-1.842l.036-.05 2.362 2.362a.75.75 0 01-.976 1.133l-.084-.073-2.363-2.362-.112.077a4.479 4.479 0 01-2.495.755z",fill:"currentColor",fillRule:"evenodd"}))}function Et(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V12.5h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V17H20v3.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm-.032 9.147a.75.75 0 01.882-.007l.094.08.073.084a.75.75 0 01.007.882l-.08.094L12.811 14h6.439l.102.007a.75.75 0 010 1.486l-.102.007h-6.439l1.72 1.72.072.084a.75.75 0 01-1.05 1.049l-.083-.073-3-3-.073-.084a.75.75 0 01-.007-.882l.08-.094 3-3 .084-.073zm.946-6.526V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor"}))}function xt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V14h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007H12V22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm5.218 13.647a.75.75 0 011.049 1.05l-.073.083-1.969 1.97 1.97 1.97a.75.75 0 01-.977 1.133l-.084-.073-1.97-1.969-1.97 1.97-.084.072a.75.75 0 01-1.049-1.05l.073-.083 1.969-1.97-1.97-1.97a.75.75 0 01.977-1.133l.084.073 1.97 1.969 1.97-1.97.084-.072zM14.5 4.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor"}))}function yt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20 14v6.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V14h4v1.5H5.5v4.75a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V15.5H16V14h4zm-6 0v1.5h-4V14h4zm0-3v1.5h-4V11h4zm.5-6.379V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621zM4 3.75C4 2.784 4.784 2 5.75 2h7.836a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V12.5h-4V11h2.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75V11H8v1.5H4V3.75z",fill:"currentColor",fillRule:"evenodd"}))}function zt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H16v-1.5h2.25a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75V10H4V3.75C4 2.784 4.784 2 5.75 2h7.836zM10 10a6 6 0 110 12 6 6 0 010-12zm0 1.5a4.5 4.5 0 100 9 4.5 4.5 0 000-9zm0 .75a.75.75 0 01.743.648l.007.102v3a.75.75 0 01-.648.743L10 16.75H8a.75.75 0 01-.102-1.493L8 15.25l1.25-.001V13a.75.75 0 01.648-.743L10 12.25zm4.5-7.629V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function Rt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zM13 3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5zm2.5 12.25a.75.75 0 01.102 1.493l-.102.007h-7a.75.75 0 01-.102-1.493l.102-.007h7zm0-4a.75.75 0 01.102 1.493l-.102.007h-7a.75.75 0 01-.102-1.493l.102-.007h7zm-1-7.129V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor"}))}function Ct(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 16.25a.75.75 0 01.743.648L21 17v1.25a3.75 3.75 0 01-3.55 3.745l-.2.005H6.75a3.75 3.75 0 01-3.745-3.55L3 18.25V17a.75.75 0 011.493-.102L4.5 17v1.25a2.25 2.25 0 002.096 2.245l.154.005h10.5a2.25 2.25 0 002.245-2.096l.005-.154V17a.75.75 0 01.75-.75zm-3.5.75a.75.75 0 110 1.5h-9.5a.75.75 0 110-1.5h9.5zM12 2a.75.75 0 01.743.648l.007.102v9.189l2.22-2.22a.75.75 0 011.133.977l-.073.084-3.5 3.5a.754.754 0 01-.078.069l.078-.069-.042.04-.052.04-.114.068-.098.038-.084.02-.088.012L12 14.5l-.052-.002-.119-.018-.098-.03-.1-.047-.082-.054-.08-.069-3.5-3.5a.75.75 0 01.977-1.133l.084.073 2.22 2.219V2.75A.75.75 0 0112 2z",fill:"currentColor",fillRule:"evenodd"}))}function St(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M9.5 15.5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm5 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm-5-5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm5 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm-5-5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm5 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3z",fill:"currentColor",fillRule:"evenodd"}))}function Nt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M17 4c1.583 0 3.165.45 4.748 1.352a.5.5 0 01.252.435V18.65a.5.5 0 01-.728.445C19.848 18.365 18.424 18 17 18c-1.667 0-3.333.5-5 1.5-1.667-1-3.333-1.5-5-1.5-1.424 0-2.848.365-4.272 1.095A.5.5 0 012 18.65V5.787a.5.5 0 01.252-.435C3.835 4.451 5.417 4 7 4c1.667 0 3.333.5 5 1.5 1.667-1 3.333-1.5 5-1.5zM7 13.5c-1.227 0-2.289.177-3.186.536a.5.5 0 10.372.928c.77-.308 1.707-.464 2.814-.464s2.044.156 2.814.464a.5.5 0 10.372-.928C9.289 13.677 8.226 13.5 7 13.5zm10 0c-1.227 0-2.289.177-3.186.536a.5.5 0 10.372.928c.77-.308 1.707-.464 2.814-.464s2.044.156 2.814.464a.5.5 0 10.372-.928c-.897-.359-1.96-.536-3.186-.536zm-10-3c-1.227 0-2.289.177-3.186.536a.5.5 0 10.372.928c.77-.308 1.707-.464 2.814-.464s2.044.156 2.814.464a.5.5 0 10.372-.928C9.289 10.677 8.226 10.5 7 10.5zm10 0c-1.227 0-2.289.177-3.186.536a.5.5 0 10.372.928c.77-.308 1.707-.464 2.814-.464s2.044.156 2.814.464a.5.5 0 10.372-.928c-.897-.359-1.96-.536-3.186-.536zm-10-3c-1.227 0-2.289.177-3.186.536a.5.5 0 00.372.928C4.956 8.656 5.893 8.5 7 8.5s2.044.156 2.814.464a.5.5 0 10.372-.928C9.289 7.677 8.226 7.5 7 7.5zm10 0c-1.227 0-2.289.177-3.186.536a.5.5 0 00.372.928c.77-.308 1.707-.464 2.814-.464s2.044.156 2.814.464a.5.5 0 10.372-.928C19.289 7.677 18.226 7.5 17 7.5z",fill:"currentColor",fillRule:"evenodd"}))}function At(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13 2v5.25l.006.144a1.75 1.75 0 001.593 1.6L14.75 9H20v11.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2H13zm-3 7.75c-1.572 0-2.858 1.745-3.337 3.877l-.048.23-.039.217c-.138.832-.124 1.608.046 2.26l.07.238.055.148-.191.101c-.33.166-.672.305-1.025.413a.75.75 0 00.339 1.457l.1-.023.281-.092c.35-.122.691-.268 1.02-.435l.325-.174.098-.059.02.014c.302.18.66.293 1.074.32L9 18.25l.255-.004c1.076-.038 1.983-.315 2.706-.82l.193-.145.124-.104.014.052c.044.14.098.262.164.369l.069.102.086.107c.579.665 1.275.432 2.018-.32l.117-.122.102-.115.021.104c.043.2.09.356.163.512.209.456.598.755 1.132.708.582-.052 1.196-.55 2.042-1.612l.162-.206.32-.425.17-.23a.75.75 0 00-1.144-.965l-.071.085-.293.396-.28.362-.251.308-.22.256-.187.205-.11.112-.082-.493-.042-.199-.024-.09c-.083-.294-.201-.52-.436-.692-.598-.437-1.122-.163-1.695.514l-.258.312-.107.118-.007-.214a12.73 12.73 0 01.094-1.533c.1-.89-1.135-1.152-1.438-.372l-.033.103-.057.203c-.397 1.321-1.216 2.03-2.562 2.195l-.217.022-.176.009.199-.19a8.876 8.876 0 001.813-2.556c1.013-2.18.695-4.247-1.274-4.247zm0 1.5c.406 0 .531.695-.005 1.934l-.081.181-.116.237a7.434 7.434 0 01-1.401 1.893l-.25.236-.105.089-.032-.177c-.06-.406-.037-.911.077-1.5C8.402 12.53 9.306 11.25 10 11.25zm4.5-4V2L20 7.5h-5.25l-.057-.007a.25.25 0 01-.184-.175L14.5 7.25z",fill:"currentColor",fillRule:"evenodd"}))}function Ot(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.013 4.513a1.75 1.75 0 012.35-.114l.124.114 1.586 1.585a1.75 1.75 0 01.114 2.35l-.114.125L8.061 20.586H4v-4.06L16.013 4.512zm-1.514 3.633l-8.999 9v1.94h1.938l9-9.001-1.939-1.939zm2.928-2.573a.25.25 0 00-.3-.04l-.054.04-1.513 1.512 1.939 1.939 1.514-1.511a.25.25 0 00.065-.24l-.025-.06-.04-.054-1.586-1.586z",fill:"currentColor"}))}function It(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 20.5a.75.75 0 110 1.5H3.75a.75.75 0 110-1.5h16.5zM16.013 2.927a1.75 1.75 0 012.35-.114l.124.114 1.586 1.586a1.75 1.75 0 01.114 2.35l-.114.124L8.061 19H4v-4.06L16.013 2.926zM14.499 6.56l-8.999 9v1.94h1.938l9-9-1.939-1.94zm2.928-2.573a.25.25 0 00-.3-.04l-.054.04L15.56 5.5l1.939 1.94 1.514-1.512a.25.25 0 00.065-.24l-.025-.06-.04-.054-1.586-1.586z",fill:"currentColor",fillRule:"evenodd"}))}function Lt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 10.5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm-5 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm10 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3z",fill:"currentColor",fillRule:"evenodd"}))}function Ht(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 15.5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm0-5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm0-5a1.5 1.5 0 110 3 1.5 1.5 0 010-3z",fill:"currentColor",fillRule:"evenodd"}))}function Mt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm.25 3h-15v13.25a.25.25 0 00.193.243l.057.007h14.5a.25.25 0 00.243-.193l.007-.057V6zm-2.25 9.5a.75.75 0 110 1.5H6.75a.75.75 0 110-1.5h10.5zm0-3.5a.75.75 0 110 1.5H6.75a.75.75 0 110-1.5h10.5zm0-3.5a.75.75 0 110 1.5H6.75a.75.75 0 010-1.5h10.5z",fill:"currentColor",fillRule:"evenodd"}))}function kt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm.25 3h-15v13.25a.25.25 0 00.193.243l.057.007h14.5a.25.25 0 00.243-.193l.007-.057V6zm-7.25 2a.5.5 0 01.5.5v9a.5.5 0 01-.5.5h-.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h.5zm-3.5 7.5a.75.75 0 110 1.5h-2a.75.75 0 110-1.5h2zm0-3.5a.75.75 0 110 1.5h-2a.75.75 0 110-1.5h2zm0-3.5a.75.75 0 010 1.5h-2a.75.75 0 010-1.5h2zm8.5 0a.75.75 0 110 1.5h-2a.75.75 0 110-1.5h2z",fill:"currentColor",fillRule:"evenodd"}))}function Vt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.75 12.5a4.5 4.5 0 110 9 4.5 4.5 0 010-9zm.5-9.5c.966 0 1.75.784 1.75 1.75l.001 6.687a5.96 5.96 0 00-1.5-.39L19.5 6h-15v13.25a.25.25 0 00.193.243l.057.007h8.544a5.99 5.99 0 00.985 1.5H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm-.5 16a.75.75 0 100 1.5.75.75 0 000-1.5zm0-5.5a.75.75 0 00-.743.648L18 14.25v3.5a.75.75 0 001.493.102l.007-.102v-3.5a.75.75 0 00-.75-.75zM12.25 8a.5.5 0 01.5.5v9a.5.5 0 01-.5.5h-.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h.5zm-3.5 7.5a.75.75 0 110 1.5h-2a.75.75 0 110-1.5h2zm0-3.5a.75.75 0 110 1.5h-2a.75.75 0 110-1.5h2zm0-3.5a.75.75 0 010 1.5h-2a.75.75 0 010-1.5h2zm8.5 0a.75.75 0 110 1.5h-2a.75.75 0 110-1.5h2z",fill:"currentColor",fillRule:"evenodd"}))}function jt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7.5 16c2.434 0 3.88 1.316 4.34 3.95A1.75 1.75 0 0110.116 22H4.884a1.75 1.75 0 01-1.724-2.05C3.62 17.315 5.066 16 7.5 16zm.25-12.5a.25.25 0 00-.243.193L7.5 3.75V9.5c-.54 0-1.053.164-1.5.464V3.75C6 2.784 6.784 2 7.75 2h7.525c.464 0 .91.184 1.238.513l3.974 3.974c.329.329.513.774.513 1.238V18.25A1.75 1.75 0 0119.25 20h-6.038l-.01-.063a11.184 11.184 0 00-.369-1.437h6.417a.25.25 0 00.243-.193l.007-.057v-10h-3a1.75 1.75 0 01-1.744-1.606L14.75 6.5v-3h-7zm-.25 7c1.105 0 2 1.12 2 2.5s-.895 2.5-2 2.5-2-1.12-2-2.5.895-2.5 2-2.5zm9.75 3a.75.75 0 110 1.5h-5.5a.75.75 0 110-1.5h5.5zm0-3a.75.75 0 110 1.5h-6a.75.75 0 110-1.5h6zm1.378-3.75L16.25 4.371V6.5a.25.25 0 00.193.243l.057.007h2.128z",fill:"currentColor",fillRule:"evenodd"}))}function Tt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7.5 16c2.434 0 3.88 1.316 4.34 3.95A1.75 1.75 0 0110.116 22H4.884a1.75 1.75 0 01-1.724-2.05C3.62 17.315 5.066 16 7.5 16zm14.263-3.75c.155.24.237.491.237.75 0 1.272-1.978 2.358-4.77 2.795l-.516.072c-.7.087-1.443.133-2.214.133-1.25 0-2.43-.122-3.466-.339a4.583 4.583 0 00-1.063-.672c.175-.294.313-.626.404-.984.945.25 2.042.417 3.225.474l.612.019.288.002.453-.006c3.293-.078 6.014-1.006 6.81-2.243zM7.5 10.5c1.105 0 2 1.12 2 2.5s-.895 2.5-2 2.5-2-1.12-2-2.5.895-2.5 2-2.5zm14.263-1.75c.155.24.237.491.237.75 0 1.272-1.978 2.358-4.77 2.795l-.516.072c-.7.087-1.443.133-2.214.133-1.524 0-2.941-.182-4.125-.494a3.637 3.637 0 00-.68-1.398 3.187 3.187 0 00-.47-.478c1.163.463 2.705.773 4.423.85l.564.018.288.002.453-.006c3.293-.078 6.014-1.006 6.81-2.243zM14.5 3c.77 0 1.514.046 2.214.133l.516.072C20.022 3.642 22 4.728 22 6s-1.978 2.358-4.77 2.795l-.516.072c-.7.087-1.443.133-2.214.133-.77 0-1.514-.046-2.214-.133l-.516-.072C8.978 8.358 7 7.272 7 6s1.978-2.358 4.77-2.795l.516-.072A18.02 18.02 0 0114.5 3zm0 1.5c-1.835 0-3.538.288-4.746.771-.456.183-.81.381-1.042.57L8.538 6l.082.078c.225.212.613.442 1.134.65 1.208.484 2.91.772 4.746.772 1.835 0 3.538-.288 4.746-.771.456-.183.81-.381 1.042-.57L20.461 6l-.081-.078c-.225-.212-.613-.442-1.134-.65-1.208-.484-2.91-.772-4.746-.772z",fill:"currentColor",fillRule:"evenodd"}))}function Dt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.275 17.75c.702.931 2.675 1.627 5.072 1.735l.378.012.275.003.356-.005c2.53-.061 4.638-.776 5.37-1.745.178.236.274.489.274.75 0 1.38-2.686 2.5-6 2.5s-6-1.12-6-2.5c0-.261.096-.514.275-.75zM14.25 3c.966 0 1.75.784 1.75 1.75V9c-.516 0-1.018.026-1.5.074V5.5h-11v10.75a.25.25 0 00.193.243l.057.007H9V18H3.75A1.75 1.75 0 012 16.25V4.75C2 3.784 2.784 3 3.75 3h10.5zm-3.975 11.75c.702.931 2.675 1.627 5.072 1.735l.378.012.275.003.356-.005c2.53-.061 4.638-.776 5.37-1.745.178.236.274.489.274.75 0 1.38-2.686 2.5-6 2.5s-6-1.12-6-2.5c0-.261.096-.514.275-.75zM16 10c3.314 0 6 1.12 6 2.5S19.314 15 16 15s-6-1.12-6-2.5 2.686-2.5 6-2.5zm-8.25 3a.75.75 0 110 1.5h-1.5a.75.75 0 110-1.5h1.5zM16 11.5c-1.425 0-2.742.232-3.666.617a3.354 3.354 0 00-.65.347l-.048.036.048.036c.126.091.292.186.493.278l.157.07c.924.384 2.24.616 3.666.616 1.425 0 2.742-.232 3.666-.617.273-.114.492-.233.65-.347l.047-.037-.047-.035a3.044 3.044 0 00-.493-.278l-.157-.07c-.924-.384-2.24-.616-3.666-.616zM8.25 10a.75.75 0 110 1.5h-2a.75.75 0 110-1.5h2zm3.5-3a.75.75 0 110 1.5h-5.5a.75.75 0 010-1.5h5.5z",fill:"currentColor",fillRule:"evenodd"}))}function Ft(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.371 18.835l1.564 1.565a.998.998 0 010 1.414l-.392.393a.996.996 0 01-1.414 0l-1.565-1.565 1.807-1.807zM7.5 16c2.434 0 3.88 1.316 4.34 3.95A1.75 1.75 0 0110.116 22H4.884a1.75 1.75 0 01-1.724-2.05C3.62 17.315 5.066 16 7.5 16zm7.5 2.5l1.498 1.5h-3.286l-.01-.063a11.184 11.184 0 00-.369-1.437H15zm.453-4.586l4.212 4.213-1.808 1.808-4.21-4.213-.005-1.762 1.811-.046zM15.275 2c.464 0 .91.184 1.238.513l3.974 3.974c.329.329.513.774.513 1.238v10.334l-1.5-1.501V8.25h-3a1.75 1.75 0 01-1.744-1.606L14.75 6.5v-3h-7a.25.25 0 00-.243.193L7.5 3.75V9.5c-.54 0-1.053.164-1.5.464V3.75C6 2.784 6.784 2 7.75 2h7.525zM7.5 10.5c1.105 0 2 1.12 2 2.5s-.895 2.5-2 2.5-2-1.12-2-2.5.895-2.5 2-2.5zm7.25 1a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zm1.5-7.129V6.5a.25.25 0 00.193.243l.057.007h2.128L16.25 4.371z",fill:"currentColor",fillRule:"evenodd"}))}function Pt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.5 8l3 3v8.25A1.75 1.75 0 0120.75 21h-7.5a1.75 1.75 0 01-1.75-1.75v-9.5c0-.966.784-1.75 1.75-1.75h6.25zm-1 1.5h-5.25a.25.25 0 00-.243.193L13 9.75v9.5a.25.25 0 00.193.243l.057.007h7.5a.25.25 0 00.243-.193L21 19.25V12h-2.5V9.5zm.25 7a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zM6.25 14a1.5 1.5 0 110 3 1.5 1.5 0 010-3zM18 3a1.75 1.75 0 011.744 1.606l.006.144V7h-6.27a3.11 3.11 0 00-1.955.675l-.152.13a2.654 2.654 0 00-.866 1.757l-.007.188v5.5H8.738a2.5 2.5 0 00-2.324-2.245L6.25 13a2.5 2.5 0 00-2.488 2.25H2.25l-.102-.007a.75.75 0 01-.641-.641L1.5 14.5V9.929l.008-.108a.75.75 0 01.112-.3l.066-.086 3-3.429.076-.075a.75.75 0 01.381-.173l.107-.008h2.5v-1a1.75 1.75 0 011.606-1.744L9.5 3H18zm.75 10.5a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zM7 7.25H5.59L4 9.068V10h3V7.25z",fill:"currentColor",fillRule:"evenodd"}))}function Bt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.775 17.75c.702.931 2.675 1.627 5.072 1.735l.378.012.275.003.356-.005c2.53-.061 4.638-.776 5.37-1.745.178.236.274.489.274.75 0 1.38-2.686 2.5-6 2.5s-6-1.12-6-2.5c0-.261.096-.514.275-.75zm0-3c.702.931 2.675 1.627 5.072 1.735l.378.012.275.003.356-.005c2.53-.061 4.638-.776 5.37-1.745.178.236.274.489.274.75 0 1.38-2.686 2.5-6 2.5s-6-1.12-6-2.5c0-.261.096-.514.275-.75zM6.25 14a1.5 1.5 0 110 3 1.5 1.5 0 010-3zM18 3a1.75 1.75 0 011.744 1.606l.006.144.001 4.617A13.959 13.959 0 0016.5 9c-1.809 0-3.443.316-4.627.81-.695.289-1.247.646-1.628 1.029-.458.46-.695.97-.738 1.488L9.5 12.5v2.75h-.762a2.5 2.5 0 00-2.324-2.245L6.25 13a2.5 2.5 0 00-2.488 2.25H2.25l-.102-.007a.75.75 0 01-.641-.641L1.5 14.5V9.929l.008-.108a.75.75 0 01.112-.3l.066-.086 3-3.429.076-.075a.75.75 0 01.381-.173l.107-.008h2.5v-1a1.75 1.75 0 011.606-1.744L9.5 3H18zm-1.5 7c3.314 0 6 1.12 6 2.5s-2.686 2.5-6 2.5-6-1.12-6-2.5 2.686-2.5 6-2.5zm0 1.5c-1.425 0-2.742.232-3.666.617a3.354 3.354 0 00-.65.347l-.048.036.048.036c.126.091.292.186.493.278l.157.07c.924.384 2.24.616 3.666.616 1.425 0 2.742-.232 3.666-.617.273-.114.492-.233.65-.347l.047-.037-.047-.035a3.044 3.044 0 00-.493-.278l-.157-.07c-.924-.384-2.24-.616-3.666-.616zM7 7.25H5.59L4 9.068V10h3V7.25z",fill:"currentColor",fillRule:"evenodd"}))}function _t(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 4c.966 0 1.75.784 1.75 1.75v6.14l-1.5-.001v-5.55l-8.04 6.253a.75.75 0 01-.826.062l-.094-.062L3.5 6.339V18.25a.25.25 0 00.193.243l.057.007H12V20H3.75A1.75 1.75 0 012 18.25V5.75C2 4.784 2.784 4 3.75 4h16.5zm1.53 9.72a.75.75 0 01.073.976l-.073.084-5 5a.75.75 0 01-.976.073l-.084-.073-3-3a.75.75 0 01.976-1.133l.084.073 2.47 2.469 4.47-4.47a.75.75 0 011.06 0zM19.134 5.5H4.865L12 11.049 19.134 5.5z",fill:"currentColor",fillRule:"evenodd"}))}function Gt(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.137 5.07l8.77 7.016a1.75 1.75 0 002.186 0l8.77-7.016c.088.209.137.439.137.68v12.5A1.75 1.75 0 0120.25 20H3.75A1.75 1.75 0 012 18.25V5.75c0-.241.049-.471.137-.68zM3.28 4.064c.15-.042.307-.064.47-.064h16.5c.163 0 .32.022.47.064l-8.564 6.85a.25.25 0 01-.312 0L3.28 4.064z",fill:"currentColor"}))}function qt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 4c.966 0 1.75.784 1.75 1.75v12.5A1.75 1.75 0 0120.25 20H3.75A1.75 1.75 0 012 18.25V5.75C2 4.784 2.784 4 3.75 4h16.5zm.25 2.339l-8.04 6.253a.75.75 0 01-.826.062l-.094-.062L3.5 6.339V18.25a.25.25 0 00.193.243l.057.007h16.5a.25.25 0 00.243-.193l.007-.057V6.339zM19.134 5.5H4.865L12 11.049 19.134 5.5z",fill:"currentColor",fillRule:"evenodd"}))}function $t(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H13.5v-1.5h5.75a.25.25 0 00.243-.193l.007-.057V4.75a.25.25 0 00-.193-.243L19.25 4.5H4.75a.25.25 0 00-.243.193L4.5 4.75v5.75H3V4.75C3 3.784 3.784 3 4.75 3h14.5zm-9 9c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0110.25 21h-5.5A1.75 1.75 0 013 19.25v-5.5c0-.966.784-1.75 1.75-1.75h5.5zm0 1.5h-5.5a.25.25 0 00-.243.193l-.007.057v5.5a.25.25 0 00.193.243l.057.007h5.5a.25.25 0 00.243-.193l.007-.057v-5.5a.25.25 0 00-.193-.243l-.057-.007zm7.25-7.75a.75.75 0 01.743.648l.007.102V10a.75.75 0 01-1.493.102L16.75 10V8.31l-3.22 3.22a.75.75 0 01-1.133-.976l.073-.084 3.218-3.22H14a.75.75 0 01-.743-.648L13.25 6.5a.75.75 0 01.648-.743L14 5.75h3.5z",fill:"currentColor",fillRule:"evenodd"}))}function Kt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.25 2a1.75 1.75 0 011.744 1.606L20 3.75v16a.75.75 0 01-.177.484l-.074.076-1.813 1.613a.75.75 0 01-.908.068l-.089-.068-1.314-1.17-1.314 1.17a.75.75 0 01-.811.121l-.097-.053-.089-.068L12 20.753l-1.314 1.17a.75.75 0 01-.811.121l-.097-.053-.089-.068-1.314-1.17-1.314 1.17a.75.75 0 01-.811.121l-.097-.053-.089-.068-1.813-1.613a.75.75 0 01-.243-.454L4 19.75v-16a1.75 1.75 0 011.606-1.744L5.75 2h12.5zm0 1.5H5.75a.25.25 0 00-.243.193L5.5 3.75v15.662l1.063.946 1.313-1.168a.75.75 0 01.812-.122l.096.053.09.069 1.314 1.168 1.313-1.168a.75.75 0 01.812-.122l.096.053.09.069 1.314 1.168 1.313-1.168a.75.75 0 01.812-.122l.096.053.09.069 1.314 1.168 1.062-.945V3.75a.25.25 0 00-.13-.22l-.063-.023-.057-.007zm-2.5 9.5a.75.75 0 110 1.5h-7.5a.75.75 0 110-1.5h7.5zm-3-3.5a.75.75 0 110 1.5h-4.5a.75.75 0 110-1.5h4.5zm3-3.5a.75.75 0 110 1.5h-7.5a.75.75 0 010-1.5h7.5z",fill:"currentColor",fillRule:"evenodd"}))}function Ut(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H12.5v-1.5h5.75a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v8.75H4V3.75C4 2.784 4.784 2 5.75 2h7.836zM4.648 14.507l.102-.007h5l.07.003.101.017.068.019.06.023.07.035.082.054.08.07a.749.749 0 01.096.118l.05.09.04.103c.012.037.02.076.026.116l.007.102v5a.75.75 0 01-1.493.102L9 20.25v-3.19l-4.72 4.72a.75.75 0 01-1.133-.976l.073-.084L7.938 16H4.75a.75.75 0 01-.743-.648L4 15.25a.75.75 0 01.648-.743zM16.5 16.5v2h-4v-2h4zm0-3v2h-4v-2h4zm-5-3v2h-4v-2h4zm5 0v2h-4v-2h4zm-2-5.879V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function Wt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H12.5v-1.5h5.75a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v8.75H4V3.75C4 2.784 4.784 2 5.75 2h7.836zM4.648 14.507l.102-.007h5l.07.003.101.017.068.019.06.023.07.035.082.054.08.07a.749.749 0 01.096.118l.05.09.04.103c.012.037.02.076.026.116l.007.102v5a.75.75 0 01-1.493.102L9 20.25v-3.19l-4.72 4.72a.75.75 0 01-1.133-.976l.073-.084L7.938 16H4.75a.75.75 0 01-.743-.648L4 15.25a.75.75 0 01.648-.743zM14.5 4.62v2.63a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function Jt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M8.5 7.999V9.5H5.75a.25.25 0 00-.243.193L5.5 9.75v10.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9.75a.25.25 0 00-.193-.243L18.25 9.5H15.5V7.999L18.25 8c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V9.75C4 8.784 4.784 8 5.75 8l2.75-.001zM11.992 2l.1.006.076.013.08.023.107.047.091.058.084.073 3 3a.75.75 0 01-.976 1.133l-.084-.073-1.72-1.719V15.25a.75.75 0 01-1.493.102l-.007-.102V4.561l-1.72 1.72a.75.75 0 01-1.133-.977l.073-.084 3-3a.753.753 0 01.125-.101l.088-.049.119-.043.106-.021A.754.754 0 0111.992 2z",fill:"currentColor",fillRule:"evenodd"}))}function Yt(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.53 2.47a.75.75 0 00-1.06 1.06l3.605 3.605a10.258 10.258 0 00-4.097 6.208.75.75 0 101.466.314 8.757 8.757 0 013.71-5.443l1.987 1.988a4 4 0 005.656 5.656l5.673 5.672a.75.75 0 101.06-1.06l-18-18zm10.207 12.328l-3.535-3.535a2.5 2.5 0 003.535 3.535zM12.061 9L16 12.94A4 4 0 0012.06 9zM8.815 5.754l1.218 1.218a8.753 8.753 0 0110.523 6.685.75.75 0 101.467-.314C21.032 8.718 16.922 5.25 12 5.25c-1.112 0-2.182.177-3.185.504z",fill:"currentColor"}))}function Qt(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.444 13.657a8.753 8.753 0 0117.112 0 .75.75 0 101.466-.314C21.033 8.718 16.922 5.25 12 5.25c-4.922 0-9.031 3.468-10.022 8.093a.75.75 0 101.466.314zM14.5 13a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0zm1.5 0a4 4 0 11-8 0 4 4 0 018 0z",fill:"currentColor"}))}function Xt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 2a.75.75 0 01.75.75v2a.75.75 0 01-.15.45l-5.7 7.6a.75.75 0 00-.15.45v6.725a.75.75 0 01-.494.705l-4 1.454A.75.75 0 019.5 21.43v-8.163a.75.75 0 00-.168-.473L3.168 5.207A.75.75 0 013 4.734V2.75A.75.75 0 013.75 2h16.5z",fill:"currentColor",fillRule:"evenodd"}))}function Zt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 2a.75.75 0 01.75.75v2a.75.75 0 01-.15.45l-5.7 7.6a.75.75 0 00-.15.45v6.725a.75.75 0 01-.494.705l-4 1.454A.75.75 0 019.5 21.43v-8.163a.75.75 0 00-.168-.473L3.168 5.207A.75.75 0 013 4.734V2.75A.75.75 0 013.75 2h16.5zm-.75 1.5h-15v.967l5.996 7.38c.285.351.457.779.496 1.226l.008.193v7.092l2.5-.91V13.25c0-.426.12-.842.347-1.2l.103-.15 5.55-7.401V3.5z",fill:"currentColor",fillRule:"evenodd"}))}function en(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.75 3.75A.75.75 0 019.5 3h12a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0V4.5h-4.5v15h1.25a.75.75 0 010 1.5h-4a.75.75 0 010-1.5h1.25v-15h-4.5v.75a.75.75 0 01-1.5 0v-1.5zM6.5 9.25h4a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0v-.75h-2.5v8.75H8.5a.75.75 0 010 1.5h-4a.75.75 0 010-1.5h1.25v-8.75h-2.5v.75a.75.75 0 01-1.5 0V10a.75.75 0 01.75-.75h4z",fill:"currentColor"}))}function tn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm-.925 3.324a.75.75 0 00-.95.263l-.051.088-4.124 8.591-2.924-6.09-.057-.1a.751.751 0 00-1.238 0l-.057.1-1.724 3.59-.524-1.09-.05-.09a.75.75 0 00-1.34.644l.038.095 1.2 2.5.057.1a.751.751 0 001.238 0l.057-.1L9.6 11.233l2.924 6.092.057.1a.751.751 0 001.238 0l.057-.1 4.8-10 .038-.095a.75.75 0 00-.39-.906z",fill:"currentColor",fillRule:"evenodd"}))}function nn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.158 2.017a.75.75 0 01.59.79l-.015.102-1.047 4.841H20a.75.75 0 01.102 1.493L20 9.25h-2.638l-1.189 5.5H18.5a.75.75 0 01.102 1.493l-.102.007h-2.652l-1.115 5.159a.75.75 0 01-1.48-.216l.014-.101 1.046-4.842H7.848l-1.115 5.159a.75.75 0 01-1.48-.216l.014-.101 1.046-4.842H4a.75.75 0 01-.102-1.493L4 14.75h2.637l1.189-5.5H5.5a.75.75 0 01-.102-1.493L5.5 7.75h2.651l1.116-5.158a.75.75 0 011.48.216l-.014.1L9.686 7.75h6.465l1.116-5.158a.75.75 0 01.891-.575zM14.637 14.75l1.189-5.5H9.362l-1.189 5.5h6.464z",fill:"currentColor",fillRule:"evenodd"}))}function ln(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.53 2.97a.75.75 0 00-1.06 0l-3 3a.75.75 0 001.06 1.06l1.72-1.72v13.38l-1.72-1.72a.75.75 0 10-1.06 1.06l3 3a.75.75 0 001.06 0l3-3a.75.75 0 10-1.06-1.06l-1.72 1.72V5.31l1.72 1.72a.75.75 0 101.06-1.06l-3-3zM3 19.25a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3zM2.25 12a.75.75 0 01.75-.75h8.5a.75.75 0 010 1.5H3a.75.75 0 01-.75-.75zM3 3.25a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3z",fill:"currentColor"}))}function an(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.53 2.97a.75.75 0 00-1.06 0l-3 3a.75.75 0 001.06 1.06l1.72-1.72v13.38l-1.72-1.72a.75.75 0 10-1.06 1.06l3 3a.75.75 0 001.06 0l3-3a.75.75 0 10-1.06-1.06l-1.72 1.72V5.31l1.72 1.72a.75.75 0 101.06-1.06l-3-3zM2.25 7.5A.75.75 0 013 6.75h8.5a.75.75 0 010 1.5H3a.75.75 0 01-.75-.75zM3 11.25a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3zm0 4.5a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3z",fill:"currentColor"}))}function rn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.53 2.97a.75.75 0 00-1.06 0l-3 3a.75.75 0 001.06 1.06l1.72-1.72v13.38l-1.72-1.72a.75.75 0 10-1.06 1.06l3 3a.75.75 0 001.06 0l3-3a.75.75 0 10-1.06-1.06l-1.72 1.72V5.31l1.72 1.72a.75.75 0 101.06-1.06l-3-3zM2.25 9A.75.75 0 013 8.25h8.5a.75.75 0 010 1.5H3A.75.75 0 012.25 9zM3 11.25a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3zm0 3a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3z",fill:"currentColor"}))}function on(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.53 2.97a.75.75 0 00-1.06 0l-3 3a.75.75 0 001.06 1.06l1.72-1.72v13.38l-1.72-1.72a.75.75 0 10-1.06 1.06l3 3a.75.75 0 001.06 0l3-3a.75.75 0 10-1.06-1.06l-1.72 1.72V5.31l1.72 1.72a.75.75 0 101.06-1.06l-3-3zM2.25 6A.75.75 0 013 5.25h8.5a.75.75 0 010 1.5H3A.75.75 0 012.25 6zM3 11.25a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3zm0 6a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3z",fill:"currentColor"}))}function sn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 6l8 8v7a1 1 0 01-1 1h-5v-5a1 1 0 00-.883-.993L13 16h-2a1 1 0 00-.993.883L10 17v5H5a1 1 0 01-1-1v-7l8-8zm.613-3.79l.094.083L17 6.585V4.75a.5.5 0 01.5-.5h1a.5.5 0 01.5.5v3.835l2.707 2.708a1 1 0 01-1.32 1.497l-.094-.083L12 4.415l-8.293 8.292a1 1 0 01-1.32.083l-.094-.083a1 1 0 01-.083-1.32l.083-.094 9-9a1 1 0 011.32-.083z",fill:"currentColor",fillRule:"evenodd"}))}function cn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.25 6c.966 0 1.75.784 1.75 1.75v11.5A1.75 1.75 0 0116.25 21H4.75A1.75 1.75 0 013 19.25V7.75C3 6.784 3.784 6 4.75 6h11.5zm0 1.5H4.75a.25.25 0 00-.243.193L4.5 7.75v11.5a.25.25 0 00.193.243l.057.007h11.5a.25.25 0 00.243-.193l.007-.057V7.75a.25.25 0 00-.193-.243L16.25 7.5zm-4.264 6.889l3.164 3.961h-9.5l2.375-3.164 1.605 2.148 2.356-2.945zM19.25 3a1.75 1.75 0 011.744 1.606L21 4.75v12.5a.75.75 0 01-1.493.102l-.007-.102V4.75a.25.25 0 00-.193-.243L19.25 4.5H6.75a.75.75 0 01-.102-1.493L6.75 3h12.5z",fill:"currentColor",fillRule:"evenodd"}))}function un(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M8.5 8v1.5H5.75a.25.25 0 00-.243.193L5.5 9.75v10.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9.75a.25.25 0 00-.193-.243L18.25 9.5H15.5V8h2.75c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V9.75C4 8.784 4.784 8 5.75 8H8.5zM12 2a.75.75 0 01.743.648l.007.102v10.689l1.72-1.72a.75.75 0 011.133.977l-.073.084-3 3a.753.753 0 01-.125.101l-.088.049-.119.043-.106.021-.041.004-.07.002-.073-.006-.076-.013-.08-.023-.1-.043a.75.75 0 01-.182-.135l-3-3a.75.75 0 01.976-1.133l.084.073 1.72 1.719V2.75A.75.75 0 0112 2z",fill:"currentColor",fillRule:"evenodd"}))}function dn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.997v2H6.918l-2.8 8h3.229a1 1 0 01.916.598l.974 2.221a1 1 0 00.916.598h3.694a1 1 0 00.915-.598l.976-2.22a1 1 0 01.915-.599h3.228l-.525-1.5h2.118l.428 1.22c.065.185.098.38.098.578v3.952a1.75 1.75 0 01-1.607 1.744l-.143.006H3.75A1.75 1.75 0 012 18.247v-3.952c0-.197.033-.393.098-.578L5.09 5.169a1.75 1.75 0 011.652-1.172H12zM17.966 1c2.373 0 4.052 1.688 4.052 3.99 0 .988-.267 1.349-1.03 1.386l-.14.003h-4.72v.404c.01 1.301.836 2.136 2.216 2.136.64 0 1.114-.139 1.502-.41l.403-.307c.267-.196.425-.276.705-.276.483 0 .817.334.817.844 0 .367-.2.72-.554 1.016l-.278.216c-.63.455-1.627.727-2.745.727-2.653 0-4.32-1.515-4.416-4.023l-.005-.23V5.27c0-2.547 1.688-4.27 4.193-4.27zM18 2.763c-1.09 0-1.805.769-1.868 1.932l-.004.186h3.674v-.017c0-1.275-.703-2.101-1.802-2.101z",fill:"currentColor"}))}function mn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.5 4v2H6.918l-2.8 8h3.229a1 1 0 01.916.598l.974 2.22a1 1 0 00.916.599h3.694a1 1 0 00.915-.598l.976-2.221a1 1 0 01.915-.598h3.228l-.525-1.5h2.118l.428 1.22c.065.185.098.38.098.577v3.953a1.75 1.75 0 01-1.607 1.744L20.25 20H3.75A1.75 1.75 0 012 18.25v-3.953c0-.197.033-.392.098-.578L5.09 5.172A1.75 1.75 0 016.742 4H13.5zM20 1l3 3v6c0 .51-.388.935-.884.993L22 11h-6.005a.998.998 0 01-.988-.884L15 10l.005-8a1 1 0 01.879-.993L16 1h4zm-1 1v3h3l-3-3z",fill:"currentColor"}))}function gn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 4v2H6.918l-2.8 8h3.229a1 1 0 01.916.598l.974 2.22a1 1 0 00.916.599h3.694a1 1 0 00.915-.598l.976-2.221a1 1 0 01.915-.598h3.228l-.525-1.5h2.118l.428 1.22c.065.185.098.38.098.577v3.953a1.75 1.75 0 01-1.607 1.744L20.25 20H3.75A1.75 1.75 0 012 18.25v-3.953c0-.197.033-.392.098-.578L5.09 5.172A1.75 1.75 0 016.742 4H12zm6.167-2.76a.35.35 0 01.631-.074l.036.074 1.145 3.115 3.183.179c.283.016.421.342.286.57l-.043.058-.037.036-2.476 2.104.823 3.226c.073.288-.182.527-.43.46l-.068-.025-.042-.024L18.5 9.121l-2.674 1.816c-.24.163-.535-.018-.552-.286l.003-.075.01-.049.821-3.226-2.475-2.104a.384.384 0 01.088-.637l.068-.02.05-.007 3.183-.179 1.145-3.115z",fill:"currentColor"}))}function fn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.258 4c.744 0 1.407.47 1.652 1.172l2.992 8.547c.065.186.098.382.098.578v3.953a1.75 1.75 0 01-1.607 1.744L20.25 20H3.75A1.75 1.75 0 012 18.25v-3.953c0-.197.033-.392.098-.578L5.09 5.172A1.75 1.75 0 016.742 4h10.516zm-.177 2H6.918l-2.8 8h3.229a1 1 0 01.916.598l.974 2.22a1 1 0 00.916.599h3.694a1 1 0 00.915-.598l.976-2.221a1 1 0 01.915-.598h3.228l-2.8-8z",fill:"currentColor"}))}function hn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.75 18.249A.75.75 0 0114 19h-4a.75.75 0 010-1.503h1.233V11H10a.75.75 0 010-1.503h1.983a.75.75 0 01.75.752v7.248H14a.75.75 0 01.75.752z",fill:"currentColor"}),t.createElement("path",{d:"M12.733 6.002a1 1 0 11-2.001.001 1 1 0 012.001-.001z",fill:"currentColor"}))}function vn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm-8 12.25H4.5v4a.25.25 0 00.193.243l.057.007h6.5v-4.25zm8.25-5h-6.75v9.25h6.5a.25.25 0 00.243-.193l.007-.057v-9zm-2.996 2.383c.419 0 .71.26.755.67l.007.115v3.945c0 .442-.23.688-.637.688-.373 0-.597-.207-.635-.573l-.006-.115v-3.511h-.015l-.41.277c-.204.129-.313.168-.442.168a.431.431 0 01-.445-.445c0-.165.086-.314.256-.445l.091-.063.637-.426c.305-.195.582-.285.844-.285zM11.25 4.5h-6.5a.25.25 0 00-.243.193L4.5 4.75v9h6.75V4.5zM7.883 6.57c1.074 0 1.86.657 1.86 1.551 0 .505-.224.954-.764 1.519l-1.268 1.282v.055h1.625c.363 0 .59.195.59.515 0 .285-.18.468-.484.502L9.336 12H6.664c-.379 0-.629-.215-.629-.543 0-.208.102-.392.399-.699l.12-.121 1.352-1.39c.418-.427.594-.708.594-1.005 0-.383-.277-.64-.688-.64-.332 0-.574.168-.746.515-.171.266-.32.367-.546.367-.31 0-.524-.21-.524-.507 0-.727.82-1.407 1.887-1.407zM19.25 4.5h-6.5v4.25h6.75v-4a.25.25 0 00-.193-.243L19.25 4.5z",fill:"currentColor",fillRule:"evenodd"}))}function pn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10 15a3.5 3.5 0 110 7 3.5 3.5 0 010-7zm0 2.25a1.25 1.25 0 100 2.5 1.25 1.25 0 000-2.5zm11.518-1.94l.04.121a1.25 1.25 0 01-.762 1.492l-.122.04-6.175 1.654.001-.117a4.48 4.48 0 00-.633-2.302l6.16-1.65a1.25 1.25 0 011.491.762zm-3.375-9.442l1.812 6.762a1 1 0 01-.707 1.224l-5.943 1.592a4.496 4.496 0 00-2.268-1.326L9.45 8.197a1 1 0 01.707-1.224l6.761-1.812a1 1 0 011.225.707zM3.657 1.536l.128.049 2.69 1.184c.304.133.54.381.66.686l.044.134L9.97 14l-.18.005a4.475 4.475 0 00-2.218.706L4.919 4.815l-2.141-.942a1.25 1.25 0 01-.69-1.52l.05-.128c.259-.59.918-.879 1.519-.689zM15.44 7.37a.75.75 0 00-.819-.55l-.1.02-1.449.388a.75.75 0 00.288 1.469l.1-.02 1.45-.388a.75.75 0 00.53-.919z",fill:"currentColor",fillRule:"evenodd"}))}function wn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.737 3.668c-.055 1.093.226 2.033.894 2.7.668.669 1.608.95 2.7.897a18.08 18.08 0 01-3.09 4.184 27.666 27.666 0 01-3.127 2.706v3.318a.553.553 0 01-.162.39l-3.975 3.975a.553.553 0 01-.943-.39V18.32a.55.55 0 01.162-.39l1.24-1.24a.553.553 0 00.161-.39v-.133c-1.238.463-2.218.487-2.735-.03-.517-.517-.493-1.497-.03-2.735H7.7a.553.553 0 00-.325.105l-.066.057-1.24 1.24a.553.553 0 01-.303.154l-.087.007H2.553a.553.553 0 01-.455-.867l.064-.076 3.975-3.975a.553.553 0 01.304-.155l.086-.007h3.318a27.666 27.666 0 012.706-3.126 18.078 18.078 0 014.186-3.092zM21.93 2.07c.104.105.095.547-.048 1.212l-.083.35-.107.386-.061.204-.142.43c-.154.444-.345.928-.575 1.436-1.073.193-1.96.04-2.501-.5-.523-.523-.684-1.37-.52-2.395l.019-.107a16.762 16.762 0 011.654-.649l.416-.13.197-.055.368-.095c.76-.18 1.27-.2 1.383-.087z",fill:"currentColor",fillRule:"evenodd"}))}function bn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10 3a1 1 0 011 1v16a1 1 0 01-1 1H4a1 1 0 01-1-1V4a1 1 0 011-1h6zm10 0a1 1 0 011 1v16a1 1 0 01-1 1h-6a1 1 0 01-1-1V4a1 1 0 011-1h6z",fill:"currentColor",fillRule:"evenodd"}))}function En(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20 3a1 1 0 011 1v16a1 1 0 01-1 1h-6a1 1 0 01-1-1V4a1 1 0 011-1h6zM10 3a1 1 0 011 1v16a1 1 0 01-1 1H4a1 1 0 01-1-1V4a1 1 0 011-1h6zm9.5 1.5h-5v15h5v-15z",fill:"currentColor",fillRule:"evenodd"}))}function xn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10 3a1 1 0 01.993.883L11 4v16a1 1 0 01-.883.993L10 21H4a1 1 0 01-.993-.883L3 20V4a1 1 0 01.883-.993L4 3h6zm10 0a1 1 0 01.993.883L21 4v16a1 1 0 01-.883.993L20 21h-6a1 1 0 01-.993-.883L13 20V4a1 1 0 01.883-.993L14 3h6zM9.5 4.5h-5v15h5v-15z",fill:"currentColor",fillRule:"evenodd"}))}function yn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20 3a1 1 0 011 1v16a1 1 0 01-1 1h-6a1 1 0 01-1-1V4a1 1 0 011-1h6zM10 3a1 1 0 01.993.883L11 4v16a1 1 0 01-.883.993L10 21H4a1 1 0 01-.993-.883L3 20V4a1 1 0 01.883-.993L4 3h6zm9.5 1.5h-5v15h5v-15zm-10 0h-5v15h5v-15z",fill:"currentColor",fillRule:"evenodd"}))}function zn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.5 20.5V22h-5v-1.5h5zm-9-2.5v2.25a.25.25 0 00.193.243l.057.007H8V22H5.75A1.75 1.75 0 014 20.25V18h1.5zM20 18v2.25A1.75 1.75 0 0118.25 22H16v-1.5h2.25a.25.25 0 00.243-.193l.007-.057V18H20zm0-5.25v3.75h-1.5v-3.75H20zm-14.5 0v3.75H4v-3.75h1.5zM16.326 2.676a1.752 1.752 0 012.349-.113l.125.113.594.593c.59.589.676 1.502.21 2.216l-.094.131-.115.128-7.504 7.5-3 .008-.078-3.067 7.513-7.509zm-.796 2.916l-5.202 5.199.025.957.914-.002 5.209-5.207-.946-.947zM20 9v2.25h-1.5V9H20zM5.5 7.5v3.75H4V7.5h1.5zM8 2v1.5H5.75a.25.25 0 00-.243.193L5.5 3.75V6H4V3.75C4 2.784 4.784 2 5.75 2H8zm9.687 1.697a.252.252 0 00-.248 0l-.053.04-.796.795.946.947.82-.82a.248.248 0 00.043-.216l-.021-.053-.044-.06-.594-.593-.053-.04zM13 2v1.499L9.5 3.5V2H13z",fill:"currentColor",fillRule:"evenodd"}))}function Rn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.5 11.5c1.69 0 3.093.4 4.212 1.198a4.49 4.49 0 00-.83 1.255C12.996 13.307 11.875 13 10.5 13c-3.37 0-5.211 1.84-5.806 6.002a1.313 1.313 0 001.165 1.491l.134.007h6.506L12.5 22H5.993a2.813 2.813 0 01-2.784-3.21c.695-4.86 3.125-7.29 7.291-7.29zm8.725 9.474A1.259 1.259 0 0118 22c-.605 0-1.11-.44-1.225-1.026h2.45zM18 12c.456 0 .841.392.961.927A3 3 0 0121 15.769v2.898l.835.642a.5.5 0 01-.213.888l-.092.008h-7.06a.5.5 0 01-.305-.896l.835-.642v-2.898c0-1.32.854-2.442 2.04-2.843.119-.534.504-.926.96-.926zM10.5 2C12.433 2 14 3.903 14 6.25s-1.567 4.25-3.5 4.25S7 8.597 7 6.25 8.567 2 10.5 2zm0 1.5c-1.033 0-2 1.174-2 2.75S9.467 9 10.5 9s2-1.174 2-2.75-.967-2.75-2-2.75z",fill:"currentColor",fillRule:"evenodd"}))}function Cn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm.25 3h-15v13.25a.25.25 0 00.193.243l.057.007h14.5a.25.25 0 00.243-.193l.007-.057V6zm-8.75 9.5a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm6.5 0a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm-6.5-3.5a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm6.5 0a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm-6.5-3.5a.75.75 0 110 1.5h-4a.75.75 0 010-1.5h4zm6.5 0a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4z",fill:"currentColor",fillRule:"evenodd"}))}function Sn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7.25 16.5V18h-2.5a.75.75 0 110-1.5h2.5zm12 0a.75.75 0 110 1.5h-2.5v-1.5h2.5zm-7.75 0V18H8.25v-1.5h3.25zm4.25 0V18H12.5v-1.5h3.25zm-8.5-3.501v1.5l-2.5.001a.75.75 0 110-1.5l2.5-.001zm12 .001a.75.75 0 110 1.5l-2.5-.001v-1.5l2.5.001zm-7.75-.001v1.5H8.25v-1.5h3.25zm4.25 0v1.5H12.5v-1.5h3.25zM7.25 9.5V11h-2.5a.75.75 0 110-1.5h2.5zm12 0a.75.75 0 110 1.5h-2.5V9.5h2.5zm-7.75 0V11H8.25V9.5h3.25zm4.25 0V11H12.5V9.5h3.25zM7.25 6v1.5h-2.5a.75.75 0 010-1.5h2.5zm12 0a.75.75 0 110 1.5h-2.5V6h2.5zM11.5 6v1.5H8.25V6h3.25zm4.25 0v1.5H12.5V6h3.25z",fill:"currentColor",fillRule:"evenodd"}))}function Nn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.567 12.105a.4.4 0 01.1.309l-.29 2.798 2.434 1.41a.4.4 0 01-.116.737l-2.752.587-.587 2.752a.4.4 0 01-.738.116L15.21 18.38l-2.798.292a.4.4 0 01-.339-.666l1.88-2.092-1.141-2.571a.4.4 0 01.528-.528l2.57 1.141 2.093-1.88a.4.4 0 01.565.03zM19.25 3c.966 0 1.75.784 1.75 1.75V11h-1.5V6h-15v13.25a.25.25 0 00.193.243l.057.007H11V21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm-8.5 12.5a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm0-3.5a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm0-3.5a.75.75 0 110 1.5h-4a.75.75 0 010-1.5h4zm6.5 0a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4z",fill:"currentColor",fillRule:"evenodd"}))}function An(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75a1.75 1.75 0 01-1.732-1.499L19.25 19.5a.25.25 0 00.243-.193l.007-.057L19.499 6h-15v3.5h-1.5L3 4.75C3 3.784 3.784 3 4.75 3h14.5zM6.28 10.97a.75.75 0 01.073.976l-.073.084-1.719 1.719 5.689.001a.75.75 0 110 1.5l-5.69-.001 1.72 1.72a.75.75 0 01-.976 1.134l-.084-.073-3-3-.08-.094-.051-.081-.05-.116-.027-.103-.01-.089v-.094l.018-.124.03-.099.047-.099.054-.082.069-.08 3-3a.75.75 0 011.06 0zm10.97 4.53a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zm0-3.5a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zm0-3.5a.75.75 0 110 1.5h-8.5a.75.75 0 010-1.5h8.5z",fill:"currentColor",fillRule:"evenodd"}))}function On(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 15.25a.75.75 0 01.743.648l.007.102v3.439l1.22-1.22a.75.75 0 011.133.977l-.073.084-2.5 2.5a.754.754 0 01-.078.069l.078-.069-.042.04-.052.04-.114.068-.098.038-.116.026-.056.006h-.104l-.119-.018-.098-.03-.1-.047-.082-.054-.08-.069-2.5-2.5a.75.75 0 01.977-1.133l.084.073 1.22 1.219V16a.75.75 0 01.75-.75zm-4.75-2.751v1.5L4.75 14a.75.75 0 110-1.5l2.5-.001zm12 .001a.75.75 0 110 1.5l-2.5-.001v-1.5l2.5.001zm-7.75-.001v1.5H8.25v-1.5h3.25zm4.25 0v1.5H12.5v-1.5h3.25zm-8.5-3.5v1.5l-2.5.001a.75.75 0 110-1.5l2.5-.001zm12 .001a.75.75 0 110 1.5l-2.5-.001v-1.5l2.5.001zm-7.75-.001v1.5H8.25v-1.5h3.25zm4.25 0v1.5H12.5v-1.5h3.25zm3.5-3.499a.75.75 0 110 1.5H4.75a.75.75 0 010-1.5h14.5zm0-3.5a.75.75 0 110 1.5H4.75a.75.75 0 010-1.5h14.5z",fill:"currentColor",fillRule:"evenodd"}))}function In(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 20.5a.75.75 0 110 1.5H4.75a.75.75 0 110-1.5h14.5zm0-3.5a.75.75 0 110 1.5H4.75a.75.75 0 110-1.5h14.5zm0-3.5a.75.75 0 110 1.5H4.75a.75.75 0 110-1.5h14.5zm0-3.5a.75.75 0 110 1.5H4.75a.75.75 0 110-1.5h14.5zm-2.5-8a.75.75 0 01.743.648l.007.102v3.439l1.22-1.22a.75.75 0 011.133.977l-.073.084-2.5 2.5a.754.754 0 01-.078.069l.078-.069-.042.04-.052.04-.114.068-.098.038-.084.02-.088.012-.052.002-.052-.002-.119-.018-.098-.03-.1-.047-.082-.054-.08-.069-2.5-2.5a.75.75 0 01.977-1.133l.084.073L16 6.189V2.75a.75.75 0 01.75-.75zm-9.576.004l.128-.002.119.018.098.03.1.047.051.032.038.027.072.064 2.5 2.5a.75.75 0 01-.976 1.133L9.22 5.78 7.999 4.56 8 8a.75.75 0 01-1.493.102L6.5 8l-.001-3.438L5.28 5.78a.75.75 0 01-1.133-.976l.073-.084 2.5-2.5.042-.04.052-.04.114-.068.098-.038.084-.02a.75.75 0 01.064-.01z",fill:"currentColor",fillRule:"evenodd"}))}function Ln(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.567 12.105a.4.4 0 01.1.309l-.29 2.798 2.434 1.41a.4.4 0 01-.116.737l-2.752.587-.587 2.752a.4.4 0 01-.738.116L15.21 18.38l-2.798.292a.4.4 0 01-.339-.666l1.88-2.092-1.141-2.571a.4.4 0 01.528-.528l2.57 1.141 2.093-1.88a.4.4 0 01.565.03zM4.5 15v4.25a.25.25 0 00.193.243l.057.007H11V21H4.75A1.75 1.75 0 013 19.25V15h1.5zm6.28-1.72l-3 3-.084.073a.75.75 0 01-1.049-1.05l.073-.083 1.718-1.72H2.75a.75.75 0 110-1.5h5.689l-1.72-1.72a.75.75 0 01.977-1.133l.084.073 3 3a.754.754 0 01.092.11l.054.095.035.086.027.103.01.084-.001.121-.017.102-.019.068-.023.06-.035.07-.06.09-.063.071zM19.25 3c.966 0 1.75.784 1.75 1.75V11h-1.5V6h-15v4.5H3V4.75C3 3.784 3.784 3 4.75 3h14.5z",fill:"currentColor",fillRule:"evenodd"}))}function Hn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7.5 16c2.434 0 3.88 1.316 4.34 3.95A1.75 1.75 0 0110.116 22H4.884a1.75 1.75 0 01-1.724-2.05C3.62 17.315 5.066 16 7.5 16zM19.25 2c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 20h-6.038l-.01-.063a11.184 11.184 0 00-.369-1.437h6.417a.25.25 0 00.243-.193l.007-.057V3.75a.25.25 0 00-.193-.243L19.25 3.5H7.75a.25.25 0 00-.243.193L7.5 3.75V9.5c-.54 0-1.053.164-1.5.464V3.75C6 2.784 6.784 2 7.75 2h11.5zM7.5 10.5c1.105 0 2 1.12 2 2.5s-.895 2.5-2 2.5-2-1.12-2-2.5.895-2.5 2-2.5zm9.75 3.5a.75.75 0 110 1.5h-4.5a.75.75 0 110-1.5h4.5zm0-4a.75.75 0 110 1.5h-6a.75.75 0 110-1.5h6zm0-4a.75.75 0 110 1.5h-7.5a.75.75 0 010-1.5h7.5z",fill:"currentColor",fillRule:"evenodd"}))}function Mn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.598 20.501a2.999 2.999 0 01-5.196 0h5.196zm.152-2.251a.75.75 0 110 1.5h-5.5a.75.75 0 110-1.5h5.5zM12 4.5c3.314 0 6 2.716 6 6.067 0 1.502-.517 2.528-1.087 3.398l-.265.392-.39.561c-.418.614-.761 1.208-.82 1.929l-.01.22c0 .256-.112.4-.338.428L15 17.5H9c-.254 0-.395-.114-.423-.342l-.006-.091c0-.774-.328-1.414-.75-2.064l-.262-.392-.273-.402-.24-.364C6.492 12.978 6 11.973 6 10.567 6 7.217 8.686 4.5 12 4.5zM12 6c-2.482 0-4.5 2.04-4.5 4.567 0 .931.245 1.599.876 2.573l.647.96.152.234c.322.512.56.988.709 1.474l.052.192h4.128l.054-.192c.126-.402.314-.796.561-1.208l.156-.25.235-.352.408-.587c.736-1.07 1.022-1.78 1.022-2.844C16.5 8.04 14.482 6 12 6zm-5.846 7.875a.75.75 0 01-.19.968l-.084.057-.866.5a.75.75 0 01-.835-1.243l.085-.057.866-.5a.75.75 0 011.024.275zm12.625-.32l.091.045.866.5a.75.75 0 01-.658 1.344l-.092-.044-.866-.5a.75.75 0 01.659-1.344zm2.33-4.661a.75.75 0 01-.509.844l-.099.025-.985.173a.75.75 0 01-.36-1.453l.1-.024.985-.174a.75.75 0 01.868.609zm-17.451-.62l.101.011.985.174a.75.75 0 01-.159 1.488l-.101-.01-.985-.174a.75.75 0 01.159-1.489zm14.288-4.86a.75.75 0 01.152.974l-.06.083-.643.766a.75.75 0 01-1.209-.882l.06-.082.643-.766a.75.75 0 011.057-.093zM7.04 3.433l.07.074.644.766A.75.75 0 016.675 5.31l-.07-.073-.643-.766A.75.75 0 017.04 3.433zM12 1.25a.75.75 0 01.743.648L12.75 2v1a.75.75 0 01-1.493.102L11.25 3V2a.75.75 0 01.75-.75z",fill:"currentColor",fillRule:"evenodd"}))}function kn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18 11.25a.75.75 0 01.102 1.493L18 12.75H6a.75.75 0 01-.102-1.493L6 11.25h12z",fill:"currentColor",fillRule:"evenodd"}))}function Vn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.25 16a.75.75 0 01.75.75v2.5a.75.75 0 01-.75.75h-2.5a.75.75 0 01-.75-.75v-2.5a.75.75 0 01.75-.75h2.5zm14 1.25a.75.75 0 01.102 1.493l-.102.007H10a.75.75 0 01-.102-1.493L10 17.25h10.25zM6.25 10a.75.75 0 01.75.75v2.5a.75.75 0 01-.75.75h-2.5a.75.75 0 01-.75-.75v-2.5a.75.75 0 01.75-.75h2.5zm14 1.25a.75.75 0 01.102 1.493l-.102.007H10a.75.75 0 01-.102-1.493L10 11.25h10.25zM6.25 4a.75.75 0 01.75.75v2.5a.75.75 0 01-.75.75h-2.5A.75.75 0 013 7.25v-2.5A.75.75 0 013.75 4h2.5zm14 1.25a.75.75 0 01.102 1.493l-.102.007H10a.75.75 0 01-.102-1.493L10 5.25h10.25z",fill:"currentColor",fillRule:"evenodd"}))}function jn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M17.5 11a4.5 4.5 0 013.632 7.158l.036-.05 1.862 1.862a.75.75 0 01-.976 1.133l-.084-.073-1.863-1.862-.112.077A4.5 4.5 0 1117.5 11zm-6.25 7.5a.75.75 0 110 1.5h-8.5a.75.75 0 110-1.5h8.5zm6.25-6a3 3 0 100 6 3 3 0 000-6zm-7.25 1.167a.75.75 0 110 1.5h-7.5a.75.75 0 010-1.5h7.5zm3-4.834a.75.75 0 110 1.5H2.75a.75.75 0 110-1.5h10.5zm8-4.833a.75.75 0 110 1.5H2.75a.75.75 0 010-1.5h18.5z",fill:"currentColor",fillRule:"evenodd"}))}function Tn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 18a.75.75 0 110 1.5H4.75a.75.75 0 110-1.5h14.5zm0-4.5a.75.75 0 110 1.5H4.75a.75.75 0 110-1.5h14.5zm0-4.5a.75.75 0 110 1.5H4.75a.75.75 0 110-1.5h14.5zm0-4.5a.75.75 0 110 1.5H4.75a.75.75 0 010-1.5h14.5z",fill:"currentColor",fillRule:"evenodd"}))}function Dn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.843 4.568a8.707 8.707 0 0112.314 12.314l-1.187 1.174c-.875.858-2.01 1.962-3.406 3.312a2.25 2.25 0 01-3.128 0l-3.491-3.396c-.44-.431-.806-.794-1.102-1.09a8.707 8.707 0 010-12.314zm11.253 1.06A7.207 7.207 0 106.903 15.822l1.488 1.468c.818.801 1.848 1.801 3.088 3a.75.75 0 001.042 0l3.395-3.3c.47-.461.863-.85 1.18-1.168a7.207 7.207 0 000-10.192zM12 7.999a3.002 3.002 0 110 6.004A3.002 3.002 0 0112 8zm0 1.5a1.502 1.502 0 100 3.004A1.502 1.502 0 0012 9.5z",fill:"currentColor"}))}function Fn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 1a5.001 5.001 0 014.87 3.863.75.75 0 01-1.461.34 3.502 3.502 0 00-6.904.605L8.5 6v2h9.75c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V9.75C4 8.784 4.784 8 5.75 8H7V6a5 5 0 015-5zm6.25 8.5H5.75a.25.25 0 00-.243.193L5.5 9.75v10.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9.75a.25.25 0 00-.193-.243L18.25 9.5zM12 13a1.5 1.5 0 01.751 2.799l-.001.951a.75.75 0 11-1.5 0v-.95A1.5 1.5 0 0112 13z",fill:"currentColor",fillRule:"evenodd"}))}function Pn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1a5 5 0 015 5v2h1.25c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V9.75C4 8.784 4.784 8 5.75 8H7V6a5 5 0 015-5zm6.25 8.5H5.75a.25.25 0 00-.243.193L5.5 9.75v10.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9.75a.25.25 0 00-.193-.243L18.25 9.5zM12 13a1.5 1.5 0 01.751 2.799l-.001.951a.75.75 0 01-1.5 0v-.95A1.5 1.5 0 0112 13zm0-10.5a3.5 3.5 0 00-3.495 3.308L8.5 6v2h7V6a3.5 3.5 0 00-3.308-3.495L12 2.5z",fill:"currentColor"}))}function Bn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.25 4.5H6.5v15h6.75a1.25 1.25 0 110 2.5h-7A2.25 2.25 0 014 19.75V4.25A2.25 2.25 0 016.25 2h7a1.25 1.25 0 110 2.5zm6.384 2.616l-.102-.091a1.25 1.25 0 00-1.666 1.859l1.867 1.866H11.75l-.128.007a1.25 1.25 0 00.128 2.493h7.982l-1.866 1.866-.091.102a1.25 1.25 0 001.859 1.666l4-4 .08-.089.05-.063.068-.106.058-.112.049-.127.03-.108.016-.088.012-.112L24 12l-.004-.096-.016-.13-.03-.127-.03-.087-.046-.107-.046-.086-.065-.1a1.267 1.267 0 00-.13-.15l-4-4zm4.084 4.094l-.084-.094c.03.03.058.061.084.094z",fill:"currentColor"}))}function _n(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V10.5h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V19H20v1.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm-.105 10.074c1.447 0 2.3.875 2.367 2.279l.004.178v.621c0 1.5-.863 2.446-2.371 2.446-1.444 0-2.304-.872-2.371-2.268l-.004-.178v-.62c0-1.516.871-2.458 2.375-2.458zm5.362 0c1.328 0 2.058.776 2.172 1.653l.012.132h-1.25c-.074-.414-.406-.734-.945-.734-.638 0-1.007.443-1.05 1.222l-.005.16v.626c0 .805.293 1.414 1.09 1.414.598 0 .914-.34.956-.745l.005-.095v-.234h-.93v-.903h2.14v1.04c0 1.038-.667 1.988-2.199 1.988-1.57 0-2.3-.987-2.355-2.296l-.004-.165v-.64c0-1.427.84-2.423 2.363-2.423zm-10.182.094v4.262h2.141v1.07H7.376v-5.332h1.285zm4.82.95c-.597 0-1.012.415-1.062 1.23l-.005.168v.64c0 .926.43 1.399 1.067 1.399.593 0 1.008-.416 1.057-1.23l.005-.169v-.64c0-.926-.43-1.399-1.062-1.399zM14.5 4.62v2.63a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function Gn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7 17.5a.5.5 0 01.5.5v3.5a.5.5 0 01-.5.5H3.5a.5.5 0 01-.5-.5V18a.5.5 0 01.5-.5H7zm5.5 0a.5.5 0 01.5.5v3.5a.5.5 0 01-.5.5H9a.5.5 0 01-.5-.5V18a.5.5 0 01.5-.5h3.5zm5.5 0a.5.5 0 01.5.5v3.5a.5.5 0 01-.5.5h-3.5a.5.5 0 01-.5-.5V18a.5.5 0 01.5-.5H18zM7 12a.5.5 0 01.5.5V16a.5.5 0 01-.5.5H3.5A.5.5 0 013 16v-3.5a.5.5 0 01.5-.5H7zm5.5 0a.5.5 0 01.5.5V16a.5.5 0 01-.5.5H9a.5.5 0 01-.5-.5v-3.5A.5.5 0 019 12h3.5zm6.97-2.523l.906 3.381a.5.5 0 01-.353.612l-3.381.906a.5.5 0 01-.612-.353l-.906-3.381a.5.5 0 01.353-.612l3.381-.906a.5.5 0 01.612.353zM7 6.5a.5.5 0 01.5.5v3.5a.5.5 0 01-.5.5H3.5a.5.5 0 01-.5-.5V7a.5.5 0 01.5-.5H7zm3.642-2.376l3.38.906a.5.5 0 01.354.612l-.906 3.38a.5.5 0 01-.612.354l-3.38-.906a.5.5 0 01-.354-.612l.906-3.38a.5.5 0 01.612-.354zM20 2a.5.5 0 01.5.5V6a.5.5 0 01-.5.5h-3.5A.5.5 0 0116 6V2.5a.5.5 0 01.5-.5H20z",fill:"currentColor",fillRule:"evenodd"}))}function qn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H13l-.001-1.5h5.251a.25.25 0 00.243-.193l.007-.057L18.499 9H14.75a1.75 1.75 0 01-1.744-1.606L13 7.25l-.001-3.75H5.75a.25.25 0 00-.243.193L5.5 3.75 5.499 13H4V3.75C4 2.784 4.784 2 5.75 2h7.836zM4.142 16.956a.5.5 0 01.55-.147l.082.038 2.143 1.237.074.052a.5.5 0 01.147.55l-.038.081-.052.074a.5.5 0 01-.55.147l-.081-.038-.878-.505a2.5 2.5 0 004 1.525.75.75 0 11.925 1.181 4.002 4.002 0 01-6.343-2.173l-.402.695-.052.074a.5.5 0 01-.852-.492l.038-.082 1.238-2.143.051-.074zM8 14a4.001 4.001 0 013.92 3.197l.358-.62a.5.5 0 01.6-.221l.083.038a.5.5 0 01.22.601l-.037.082-1.238 2.143a.5.5 0 01-.6.221l-.083-.038-2.143-1.237a.5.5 0 01.418-.904l.082.038.914.528a2.5 2.5 0 00-4.033-1.798.75.75 0 11-.925-1.181A3.985 3.985 0 018 14zm6.499-9.38l.001 2.63a.25.25 0 00.193.243l.057.007h2.629l-2.88-2.88z",fill:"currentColor",fillRule:"evenodd"}))}function $n(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3a1.75 1.75 0 011.744 1.606L21 4.75v14.5a1.75 1.75 0 01-1.606 1.744L19.25 21H12v-1.5h7.25a.25.25 0 00.243-.193l.007-.057V5.996L19.406 6H4.5l.001 6H3V4.75a1.75 1.75 0 011.606-1.744L4.75 3h14.5zM3.696 15.809l.082.038 2.143 1.237.074.052a.5.5 0 01.147.55l-.038.081-.052.074a.5.5 0 01-.55.147l-.081-.038-.878-.505a2.5 2.5 0 004 1.525.75.75 0 11.925 1.181 4.002 4.002 0 01-6.343-2.173l-.402.695-.052.074a.5.5 0 01-.852-.492l.038-.082 1.238-2.143.051-.074a.5.5 0 01.55-.147zM7.002 13a4.001 4.001 0 013.92 3.197l.357-.62a.5.5 0 01.602-.221l.081.038a.5.5 0 01.221.601l-.038.082-1.237 2.143a.5.5 0 01-.601.221l-.082-.038-2.143-1.237a.5.5 0 01.418-.904l.082.038.914.528a2.5 2.5 0 00-4.034-1.798.75.75 0 11-.924-1.181A3.985 3.985 0 017.002 13zm10.248 2a.75.75 0 110 1.5h-2.5a.75.75 0 110-1.5h2.5zm-.125-3.5c.483 0 .875.336.875.75s-.392.75-.875.75h-5.25c-.483 0-.875-.336-.875-.75s.392-.75.875-.75h5.25zM17.25 8a.75.75 0 110 1.5H6.75a.75.75 0 010-1.5h10.5z",fill:"currentColor",fillRule:"evenodd"}))}function Kn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M4 19h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0-6h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zM3 6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1z",fill:"currentColor"}))}function Un(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10 0 1.806-.479 3.5-1.316 4.962L20.66 17a.75.75 0 01-.933.32l-.091-.045-1.516-.875a.75.75 0 01.659-1.344l.091.044.84.485c.406-.874.67-1.83.757-2.834l-.967-.001a.75.75 0 01-.102-1.493l.102-.007h.967a8.447 8.447 0 00-.757-2.834l-.84.484a.75.75 0 01-.835-1.243l.085-.057.838-.483a8.548 8.548 0 00-2.075-2.075l-.483.838a.75.75 0 01-1.344-.659l.044-.091.484-.84a8.447 8.447 0 00-2.833-.757l-.001.967a.75.75 0 01-1.493.102L11.25 4.5v-.967a8.447 8.447 0 00-2.834.757l.484.84a.75.75 0 01-1.243.835L7.6 5.88l-.483-.838a8.548 8.548 0 00-2.075 2.075l.838.483a.75.75 0 01-.659 1.344L5.13 8.9l-.84-.484a8.447 8.447 0 00-.757 2.834H4.5a.75.75 0 01.102 1.493l-.102.007h-.967a8.427 8.427 0 00.758 2.835l.839-.485a.75.75 0 01.835 1.243l-.085.057-1.516.875A.75.75 0 013.34 17l-.02-.04-.003.003A9.954 9.954 0 012 12C2 6.477 6.477 2 12 2zm4.03 5.97a.75.75 0 01.073.976l-.073.084-2.792 2.794a1.25 1.25 0 11-1.061-1.061L14.97 7.97a.75.75 0 011.06 0z",fill:"currentColor",fillRule:"evenodd"}))}function Wn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 15.5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm5 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm-10 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm5-5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm5 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm0-5a1.5 1.5 0 110 3 1.5 1.5 0 010-3z",fill:"currentColor",fillRule:"evenodd"}))}function Jn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H13.5v-1.5h5.75a.25.25 0 00.243-.193l.007-.057V4.75a.25.25 0 00-.193-.243L19.25 4.5H4.75a.25.25 0 00-.243.193L4.5 4.75v5.75H3V4.75C3 3.784 3.784 3 4.75 3h14.5zm-9 9c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0110.25 21h-5.5A1.75 1.75 0 013 19.25v-5.5c0-.966.784-1.75 1.75-1.75h5.5zm0 1.5h-5.5a.25.25 0 00-.243.193l-.007.057v5.5a.25.25 0 00.193.243l.057.007h5.5a.25.25 0 00.243-.193l.007-.057v-5.5a.25.25 0 00-.193-.243l-.057-.007zm7.78-7.53a.75.75 0 01.073.976l-.073.084-3.22 3.22h1.69a.75.75 0 01.743.648l.007.102a.75.75 0 01-.648.743l-.102.007H13a.75.75 0 01-.743-.648L12.25 11V7.5a.75.75 0 011.493-.102l.007.102v1.688l3.22-3.218a.75.75 0 011.06 0z",fill:"currentColor",fillRule:"evenodd"}))}function Yn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 8.5a1.5 1.5 0 100 3 1.5 1.5 0 000-3zm0 5a1.5 1.5 0 100 3 1.5 1.5 0 000-3zm0-10a1.5 1.5 0 100 3 1.5 1.5 0 000-3z",fill:"currentColor",fillRule:"evenodd"}))}function Qn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 10a2 2 0 110 4 2 2 0 010-4zm0 6.5a2 2 0 110 4 2 2 0 010-4zm0-13a2 2 0 110 4 2 2 0 010-4z",fill:"currentColor",fillRule:"evenodd"}))}function Xn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.924 6.254l.128-.002.119.018.098.03.1.047.051.032.038.027.072.064 3.5 3.5a.75.75 0 01-.976 1.133l-.084-.073-2.22-2.219V17a.75.75 0 01-1.493.102L6.25 17V8.811l-2.22 2.22a.75.75 0 01-1.133-.977l.073-.084 3.5-3.5.042-.04.052-.04.114-.068.098-.038.084-.02a.75.75 0 01.064-.01zM17 6.25a.75.75 0 01.743.648L17.75 7l-.001 8.19 2.22-2.22a.75.75 0 011.134.976l-.073.084-3.5 3.5a.754.754 0 01-.078.069l.078-.069-.042.04-.052.04-.114.068-.098.038-.084.02-.088.012-.052.002-.052-.002-.119-.018-.098-.03-.1-.047-.082-.054-.08-.069-3.5-3.5a.75.75 0 01.977-1.133l.084.073 2.219 2.218L16.25 7a.75.75 0 01.75-.75z",fill:"currentColor",fillRule:"evenodd"}))}function Zn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.5 22v-.018A1.75 1.75 0 014 20.25V3.75c0-.882.652-1.61 1.5-1.732V2h12.75c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0118.25 22H5.5zM9 18.3H5.5v1.95a.25.25 0 00.193.243l.057.007H9v-2.2zm9.25-14.8H10.5v17h7.75a.25.25 0 00.243-.193l.007-.057V3.75a.25.25 0 00-.193-.243L18.25 3.5zM9 14.6H5.5v2.2H9v-2.2zm0-3.7H5.5v2.2H9v-2.2zm0-3.7H5.5v2.2H9V7.2zm0-3.7H5.75a.25.25 0 00-.243.193L5.5 3.75V5.7H9V3.5z",fill:"currentColor",fillRule:"evenodd"}))}function el(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.25 2c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0118.25 22H14v-1.5h4.25a.25.25 0 00.243-.193l.007-.057V3.75a.25.25 0 00-.193-.243L18.25 3.5H5.75a.25.25 0 00-.243.193L5.5 3.75V11H4V3.75C4 2.784 4.784 2 5.75 2h12.5zM9.225 20.974A1.259 1.259 0 018 22c-.605 0-1.11-.44-1.225-1.026h2.45zM8 12c.456 0 .841.392.961.927A3 3 0 0111 15.769v2.898l.835.642a.5.5 0 01-.305.896H4.47a.5.5 0 01-.305-.896L5 18.667v-2.898c0-1.32.854-2.442 2.04-2.843.119-.534.504-.926.96-.926zm7.25 2.5a.75.75 0 110 1.5h-1.5a.75.75 0 110-1.5h1.5zm0-3.5a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zm0-3.5a.75.75 0 110 1.5h-6.5a.75.75 0 010-1.5h6.5z",fill:"currentColor",fillRule:"evenodd"}))}function tl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.75 2a.75.75 0 01.75.75V3h1.75a1.75 1.75 0 011.744 1.606L21 4.75v14.5a1.75 1.75 0 01-1.606 1.744L19.25 21H4.75a1.75 1.75 0 01-1.744-1.606L3 19.25V4.75a1.75 1.75 0 011.606-1.744L4.75 3H6.5v-.25a.75.75 0 011.5 0V3h3.25v-.25a.75.75 0 111.5 0V3H16v-.25a.75.75 0 01.75-.75zM6.499 4.5H4.75l-.057.007a.25.25 0 00-.184.175L4.5 4.75v14.5l.007.057a.25.25 0 00.175.184l.068.009h14.5l.057-.007a.25.25 0 00.184-.175l.009-.068V4.75l-.007-.057a.25.25 0 00-.175-.184L19.25 4.5H17.5v.25a.75.75 0 11-1.5 0V4.5h-3.25v.25a.75.75 0 11-1.5 0V4.5H7.999L8 4.75a.75.75 0 01-1.5 0l-.001-.25zM16.25 12a.75.75 0 110 1.5h-8.5a.75.75 0 110-1.5h8.5zm0-3a.75.75 0 110 1.5h-8.5a.75.75 0 110-1.5h8.5z",fill:"currentColor",fillRule:"evenodd"}))}function nl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.75 2a.75.75 0 01.75.75V3h1.75a1.75 1.75 0 011.744 1.606L21 4.75V14h-1.5V4.75l-.007-.057a.25.25 0 00-.175-.184L19.25 4.5H17.5v.25a.75.75 0 11-1.5 0V4.5h-3.25v.25a.75.75 0 11-1.5 0V4.5H7.999L8 4.75a.75.75 0 01-1.5 0l-.001-.25H4.75l-.057.007a.25.25 0 00-.184.175L4.5 4.75v14.5l.007.057a.25.25 0 00.175.184l.068.009H14V21H4.75a1.75 1.75 0 01-1.744-1.606L3 19.25V4.75a1.75 1.75 0 011.606-1.744L4.75 3H6.5v-.25a.75.75 0 011.5 0V3h3.25v-.25a.75.75 0 111.5 0V3H16v-.25a.75.75 0 01.75-.75zm-3.94 7.75l7.513 7.513a1.75 1.75 0 01.114 2.35l-.114.124-.586.586a1.75 1.75 0 01-2.35.114l-.124-.114-7.513-7.512V9.75h3.06zm5.697 7.818l-.938.94.754.755a.25.25 0 00.24.065l.06-.025.054-.04.586-.586a.25.25 0 00.04-.3l-.04-.054-.756-.755zm-6.318-6.318h-.939v.939l5.258 5.258.938-.94-5.257-5.257z",fill:"currentColor",fillRule:"evenodd"}))}function ll(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M3.203 16.625c0 .602.328.96.875.96.555 0 .875-.35.875-.96V7.898c0-.671-.437-1.132-1.078-1.132-.375 0-.742.14-1.273.515L1.125 8.344c-.367.25-.54.508-.54.789 0 .367.282.656.65.656.195 0 .382-.07.663-.266l1.258-.898h.047v8zm4.149.031c0 .516.414.844 1.046.844h5.22c.53 0 .843-.281.843-.734 0-.461-.328-.743-.844-.743H9.648v-.101l2.665-2.953c1.367-1.492 1.812-2.313 1.812-3.36 0-1.742-1.43-2.984-3.422-2.984-2.086 0-3.492 1.375-3.492 2.742 0 .485.312.813.766.813.367 0 .617-.211.804-.657.266-.906.93-1.43 1.82-1.43 1.063 0 1.774.665 1.774 1.657 0 .688-.344 1.313-1.21 2.266l-3.071 3.406c-.563.601-.742.89-.742 1.234zm8.562-1.375c0 1.242 1.555 2.446 3.617 2.446 2.274 0 3.867-1.297 3.867-3.141 0-1.352-.992-2.484-2.296-2.617v-.11c1.078-.171 1.953-1.257 1.953-2.421 0-1.649-1.461-2.813-3.524-2.813-1.984 0-3.414 1.156-3.414 2.39 0 .454.305.766.742.766.344 0 .578-.164.782-.578.367-.742 1.007-1.156 1.851-1.156 1.086 0 1.828.648 1.828 1.61 0 .952-.758 1.64-1.804 1.64h-.813c-.43 0-.726.305-.726.71 0 .423.304.735.726.735h.86c1.25 0 2.085.719 2.085 1.79 0 1.077-.82 1.765-2.093 1.765-.961 0-1.711-.422-2.14-1.188-.25-.414-.47-.57-.782-.57-.422 0-.719.313-.719.742z",fill:"currentColor"}))}function al(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M9.884 11.616a1.25 1.25 0 01.091 1.666l-.091.102-1.868 1.866H19a1.25 1.25 0 01.128 2.494L19 17.75H8.017l1.867 1.866a1.25 1.25 0 01-1.666 1.859l-.102-.091-4-4a1.26 1.26 0 01-.13-.152l-.068-.106-.042-.079-.046-.107-.03-.087-.03-.127-.016-.126-.004-.1.002-.08.013-.111.016-.088.03-.108.05-.127.086-.16.062-.088.064-.076 4.043-4.046a1.25 1.25 0 011.768 0zm5.898-9.091l.102.091 4 4c.03.03.058.061.084.094l-.084-.094c.048.048.09.099.13.152l.064.099.046.086.046.107.03.087.03.127.016.13.004.096-.002.08-.013.111-.016.088-.03.108-.05.127-.057.112-.069.106-.048.063-.081.089-4 4a1.25 1.25 0 01-1.859-1.666l.091-.102 1.866-1.866H5a1.25 1.25 0 01-.128-2.494L5 6.25h10.983l-1.867-1.866a1.25 1.25 0 011.666-1.859z",fill:"currentColor",fillRule:"evenodd"}))}function rl(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.535 6.5h2.715a.25.25 0 01.25.25v2.715A3.502 3.502 0 0117.535 6.5zm-11.07 0H3.75a.25.25 0 00-.25.25v2.715A3.502 3.502 0 006.465 6.5zm1.51 0A5.002 5.002 0 013.5 10.975v2.05A5.002 5.002 0 017.975 17.5H14.5V19H3.75A1.75 1.75 0 012 17.25V6.75C2 5.784 2.784 5 3.75 5h16.5c.966 0 1.75.784 1.75 1.75v4.75h-1.5v-.525A5.002 5.002 0 0116.025 6.5h-8.05zM3.5 17.25v-2.715A3.502 3.502 0 016.465 17.5H3.75a.25.25 0 01-.25-.25zM14 12a2 2 0 11-4 0 2 2 0 014 0zm1.5 0a3.5 3.5 0 11-7 0 3.5 3.5 0 017 0zm5.095 1.608a.86.86 0 011.049-.14c.344.201.467.603.306.937l-.057.098-3.118 4.152-.07.087a.859.859 0 01-1.17.059l-.079-.08-1.878-2.164-.068-.092a.713.713 0 01.194-.962.863.863 0 011.06.035l.081.082 1.169 1.345 2.51-3.268.071-.089z",fill:"currentColor"}))}function ol(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.535 6.5h2.715a.25.25 0 01.25.25v2.715A3.502 3.502 0 0117.535 6.5zm-11.07 0H3.75a.25.25 0 00-.25.25v2.715A3.502 3.502 0 006.465 6.5zm1.51 0A5.002 5.002 0 013.5 10.975v2.05A5.002 5.002 0 017.975 17.5H14.5V19H3.75A1.75 1.75 0 012 17.25V6.75C2 5.784 2.784 5 3.75 5h16.5c.966 0 1.75.784 1.75 1.75v4.75h-1.5v-.525A5.002 5.002 0 0116.025 6.5h-8.05zM3.5 17.25v-2.715A3.502 3.502 0 016.465 17.5H3.75a.25.25 0 01-.25-.25zM14 12a2 2 0 11-4 0 2 2 0 014 0zm1.5 0a3.5 3.5 0 11-7 0 3.5 3.5 0 017 0zm6.297 1.203a.692.692 0 00-.901-.067l-.078.067L19 15.02l-1.818-1.818-.078-.067a.692.692 0 00-.901 1.046L18.02 16l-1.818 1.818-.067.078a.692.692 0 00.968.968l.078-.067L19 16.98l1.818 1.818.078.067a.692.692 0 00.901-1.046L19.98 16l1.818-1.818.067-.078a.692.692 0 00-.067-.901z",fill:"currentColor"}))}function il(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 6c.966 0 1.75.784 1.75 1.75v12.5A1.75 1.75 0 0120.25 22H7.75A1.75 1.75 0 016 20.25V19h1.5v1.25a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V7.75a.25.25 0 00-.193-.243L20.25 7.5H19V6h1.25zm-7-5a.75.75 0 01.75.75V2h2.25c.966 0 1.75.784 1.75 1.75v12.5A1.75 1.75 0 0116.25 18H3.75A1.75 1.75 0 012 16.25V3.75C2 2.784 2.784 2 3.75 2H6v-.25a.75.75 0 011.5 0V2h5v-.25a.75.75 0 01.75-.75zm3.25 6.5h-13v8.75a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V7.5zm-6.195 1.277c.38 0 .62.21.662.554l.006.107v4.554c0 .356-.235.59-.582.59-.313 0-.538-.19-.58-.487l-.006-.103V9.957H9.78l-.824.574a.48.48 0 01-.312.106.402.402 0 01-.415-.422c0-.15.05-.267.172-.377l.082-.065L9.602 9a1.09 1.09 0 01.703-.223zM6 3.5H3.75a.25.25 0 00-.243.193L3.5 3.75V6h13V3.75a.25.25 0 00-.193-.243L16.25 3.5H14v.25a.75.75 0 11-1.5 0V3.5h-5v.25a.75.75 0 01-1.5 0V3.5z",fill:"currentColor",fillRule:"evenodd"}))}function sl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.75 11.5c4.166 0 6.596 2.43 7.291 7.29A2.813 2.813 0 0119.257 22h-9.014a2.813 2.813 0 01-2.784-3.21c.695-4.86 3.125-7.29 7.291-7.29zm0 1.5c-3.37 0-5.211 1.84-5.806 6.002a1.313 1.313 0 001.165 1.491l.134.007h9.014a1.313 1.313 0 001.3-1.498C19.96 14.84 18.12 13 14.75 13zM6.446 6.397l.084.073 3 3a.75.75 0 01.073.976l-.073.084-3 3a.75.75 0 01-1.133-.976l.073-.084 1.719-1.72H1.75a.75.75 0 01-.102-1.493l.102-.007h5.439l-1.72-1.72a.75.75 0 01-.072-.976l.073-.084a.75.75 0 01.976-.073zM14.75 2c1.933 0 3.5 1.903 3.5 4.25s-1.567 4.25-3.5 4.25-3.5-1.903-3.5-4.25S12.817 2 14.75 2zm0 1.5c-1.033 0-2 1.174-2 2.75s.967 2.75 2 2.75 2-1.174 2-2.75-.967-2.75-2-2.75z",fill:"currentColor",fillRule:"evenodd"}))}function cl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.5 11.5c1.486 0 2.751.31 3.796.928-.462.29-.881.644-1.246 1.047-.726-.32-1.574-.475-2.55-.475-3.37 0-5.211 1.84-5.806 6.002a1.313 1.313 0 001.165 1.491l.134.007 6.31.001a6.027 6.027 0 001.23 1.5L5.992 22a2.813 2.813 0 01-2.784-3.21c.695-4.86 3.125-7.29 7.291-7.29zm7 1.5a4.5 4.5 0 110 9 4.5 4.5 0 010-9zm2.25 3.75h-4.5a.75.75 0 00-.102 1.493l.102.007h4.5a.75.75 0 00.102-1.493l-.102-.007zM10.5 2C12.433 2 14 3.903 14 6.25s-1.567 4.25-3.5 4.25S7 8.597 7 6.25 8.567 2 10.5 2zm0 1.5c-1.033 0-2 1.174-2 2.75S9.467 9 10.5 9s2-1.174 2-2.75-.967-2.75-2-2.75z",fill:"currentColor",fillRule:"evenodd"}))}function ul(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.5 11.5c1.486 0 2.751.31 3.796.928-.462.29-.881.644-1.246 1.047-.726-.32-1.574-.475-2.55-.475-3.37 0-5.211 1.84-5.806 6.002a1.313 1.313 0 001.165 1.491l.134.007 6.31.001a6.027 6.027 0 001.23 1.5L5.992 22a2.813 2.813 0 01-2.784-3.21c.695-4.86 3.125-7.29 7.291-7.29zm7 1.5a4.5 4.5 0 110 9 4.5 4.5 0 010-9zm0 1.5a.75.75 0 00-.743.648l-.007.102v1.5h-1.5a.75.75 0 00-.743.648l-.007.102c0 .38.282.693.648.743l.102.007h1.5v1.5c0 .38.282.693.648.743l.102.007a.75.75 0 00.743-.648l.007-.102v-1.5h1.5a.75.75 0 00.743-.648l.007-.102a.75.75 0 00-.648-.743l-.102-.007h-1.5v-1.5a.75.75 0 00-.648-.743L17.5 14.5zM10.5 2C12.433 2 14 3.903 14 6.25s-1.567 4.25-3.5 4.25S7 8.597 7 6.25 8.567 2 10.5 2zm0 1.5c-1.033 0-2 1.174-2 2.75S9.467 9 10.5 9s2-1.174 2-2.75-.967-2.75-2-2.75z",fill:"currentColor",fillRule:"evenodd"}))}function dl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.5 11.5c1.486 0 2.751.31 3.796.928-.462.29-.881.644-1.246 1.047-.726-.32-1.574-.475-2.55-.475-3.37 0-5.211 1.84-5.806 6.002a1.313 1.313 0 001.165 1.491l.134.007 6.31.001a6.027 6.027 0 001.23 1.5L5.992 22a2.813 2.813 0 01-2.784-3.21c.695-4.86 3.125-7.29 7.291-7.29zm7 1.5a4.5 4.5 0 110 9 4.5 4.5 0 010-9zm2.403 1.867a.75.75 0 00-.97.141l-.066.09-1.983 3.114-.798-.999-.076-.081a.75.75 0 00-1.159.927l.063.091 1.455 1.819.073.079a.75.75 0 001.081-.059l.064-.086 2.546-4 .052-.098a.75.75 0 00-.282-.938zM10.5 2C12.433 2 14 3.903 14 6.25s-1.567 4.25-3.5 4.25S7 8.597 7 6.25 8.567 2 10.5 2zm0 1.5c-1.033 0-2 1.174-2 2.75S9.467 9 10.5 9s2-1.174 2-2.75-.967-2.75-2-2.75z",fill:"currentColor",fillRule:"evenodd"}))}function ml(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.357 4.384l.891-.58c.835-.542 1.942-.323 2.586.513l1.28 1.663c.56.724.628 1.734.17 2.496l-1.273 2.12c.372.965.962 1.855 1.77 2.67a8.253 8.253 0 002.701 1.844l1.876-1.253c.711-.475 1.645-.398 2.317.19l1.565 1.373c.782.685.99 1.862.487 2.755l-.538.957c-.536.952-1.517 1.508-2.576 1.46-2.498-.115-5.197-1.718-8.096-4.811-2.903-3.098-4.408-5.983-4.514-8.655-.045-1.125.47-2.168 1.354-2.742z",fill:"currentColor"}))}function gl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zM9.8 8a.7.7 0 011.05-.606l.084.057 4.86 3.84a.7.7 0 01.081 1.023l-.081.075-4.86 3.84a.7.7 0 01-1.127-.449l-.007-.1V8zm1.4 1.445v4.789l3.03-2.395-3.03-2.394z",fill:"currentColor",fillRule:"evenodd"}))}function fl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.169 17.055c.43 0 .734-.305.734-.75V13.43h2.649c.453 0 .757-.297.757-.72 0-.429-.304-.726-.757-.726H6.903V9.258c0-.445-.304-.758-.734-.758s-.727.313-.727.758v2.726H2.825c-.445 0-.758.297-.758.727 0 .422.313.719.758.719h2.617v2.875c0 .445.305.75.727.75zm5.598 2.453c.352 0 .64-.211.735-.555l3.453-12.25a1.17 1.17 0 00.047-.258c.007-.406-.336-.75-.766-.75-.36 0-.648.211-.742.547l-3.446 12.25a.749.749 0 00.719 1.016zm9.388-6.11c.578 0 .882-.32.882-.78 0-.462-.304-.766-.882-.766h-3.68c-.57 0-.883.312-.883.765 0 .461.305.781.883.781h3.68z",fill:"currentColor",fillRule:"evenodd"}))}function hl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.75 2c.966 0 1.75.784 1.75 1.75v1.758A3.75 3.75 0 0122 9.25v7.5a1.75 1.75 0 01-1.75 1.75H18.5v1.75A1.75 1.75 0 0116.75 22h-9.5a1.75 1.75 0 01-1.75-1.75V18.5H3.75A1.75 1.75 0 012 16.75v-7.5a3.75 3.75 0 013.5-3.742V3.75C5.5 2.784 6.284 2 7.25 2h9.5zM17 14.5H7v5.75a.25.25 0 00.193.243l.057.007h9.5a.25.25 0 00.243-.193L17 20.25V14.5zM18.25 7H5.75a2.25 2.25 0 00-2.245 2.096L3.5 9.25v7.5a.25.25 0 00.193.243L3.75 17H5.5v-3.25a.75.75 0 01.75-.75h11.5a.75.75 0 01.75.75V17h1.75a.25.25 0 00.243-.193l.007-.057v-7.5a2.25 2.25 0 00-2.096-2.245L18.25 7zm-.5 3a.75.75 0 110 1.5h-2.5a.75.75 0 110-1.5h2.5zm-1-6.5h-9.5a.25.25 0 00-.243.193L7 3.75V5.5h10V3.75a.25.25 0 00-.193-.243L16.75 3.5z",fill:"currentColor",fillRule:"evenodd"}))}function vl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.247 2a.75.75 0 01.75.75l-.001.25h2.25c.967 0 1.75.784 1.75 1.75v14.5a1.75 1.75 0 01-1.75 1.75h-7.25v-1.5h7.25a.25.25 0 00.244-.193l.007-.057L19.496 8h-15v4h-1.5V4.75c0-.966.784-1.75 1.75-1.75h2.25v-.25a.75.75 0 011.5 0V3h7v-.25a.75.75 0 01.75-.75zM3.139 15.956a.5.5 0 01.631-.11l2.144 1.238.073.052a.5.5 0 01.11.631l-.052.074a.5.5 0 01-.631.11l-.878-.506a2.5 2.5 0 004 1.525.75.75 0 11.925 1.181 4.002 4.002 0 01-6.343-2.173l-.402.695-.052.074a.5.5 0 01-.814-.574l1.237-2.143zM6.997 13a4.001 4.001 0 013.92 3.197l.358-.62a.5.5 0 01.6-.221l.083.038a.5.5 0 01.22.601l-.037.082-1.238 2.143a.5.5 0 01-.601.221l-.082-.038-2.143-1.237a.5.5 0 01.418-.904l.082.038.914.528a2.5 2.5 0 00-4.033-1.798.75.75 0 11-.925-1.181A3.985 3.985 0 016.997 13zm-.001-8.5h-2.25a.25.25 0 00-.243.193l-.006.057-.001 1.75h15V4.75a.25.25 0 00-.192-.243l-.057-.007h-2.251v.25a.75.75 0 11-1.5 0V4.5h-7v.25a.75.75 0 01-1.5 0V4.5z",fill:"currentColor",fillRule:"evenodd"}))}function pl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7.797 9c.464 0 .91.184 1.237.513l6.229 6.228a1.75 1.75 0 010 2.475l-4.047 4.047a1.75 1.75 0 01-2.475 0l-6.228-6.229A1.75 1.75 0 012 14.797V10.75C2 9.784 2.784 9 3.75 9h4.047zM18.25 2c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0118.25 22H14.5v-1.5h3.75a.25.25 0 00.243-.193l.007-.057V3.75a.25.25 0 00-.193-.243L18.25 3.5H5.75a.25.25 0 00-.243.193L5.5 3.75V8H4V3.75C4 2.784 4.784 2 5.75 2h12.5zM7.797 10.5H3.75a.25.25 0 00-.243.193l-.007.057v4.047a.25.25 0 00.033.125l.04.052 6.228 6.228a.25.25 0 00.3.04l.054-.04 4.047-4.047a.25.25 0 00.04-.3l-.04-.054-6.228-6.228a.25.25 0 00-.112-.064l-.065-.009zm-2.504 1.793a1 1 0 111.414 1.414 1 1 0 01-1.414-1.414zM15.75 9.5a.75.75 0 110 1.5h-2.5a.75.75 0 110-1.5h2.5zm0-3.5a.75.75 0 110 1.5h-7.5a.75.75 0 010-1.5h7.5z",fill:"currentColor",fillRule:"evenodd"}))}function wl(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12a9.97 9.97 0 003.047 7.187A9.967 9.967 0 0012 22a9.967 9.967 0 006.953-2.813A9.97 9.97 0 0022 12zM5.704 16.936A7.986 7.986 0 0012 20a7.986 7.986 0 006.296-3.064A7 7 0 0012 13a7 7 0 00-6.296 3.936zM12 12a3.5 3.5 0 100-7 3.5 3.5 0 000 7z",fill:"currentColor"}))}function bl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm0 1.5H4.75a.25.25 0 00-.243.193L4.5 4.75v14.5a.25.25 0 00.193.243l.057.007h14.5a.25.25 0 00.243-.193l.007-.057V4.75a.25.25 0 00-.193-.243L19.25 4.5zM8.25 15a.75.75 0 01.75.75v1a.75.75 0 01-.75.75h-1a.75.75 0 01-.75-.75v-1a.75.75 0 01.75-.75h1zm8.5 1a.75.75 0 110 1.5h-4.5a.75.75 0 110-1.5h4.5zm0-3.167a.75.75 0 010 1.5h-4.5a.75.75 0 110-1.5h4.5zm0-3.166a.75.75 0 110 1.5h-4.5a.75.75 0 010-1.5h4.5zM8.25 6.5a.75.75 0 01.75.75v1a.75.75 0 01-.75.75h-1a.75.75 0 01-.75-.75v-1a.75.75 0 01.75-.75h1zm8.5 0a.75.75 0 110 1.5h-4.5a.75.75 0 110-1.5h4.5z",fill:"currentColor",fillRule:"evenodd"}))}function El(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 3a1 1 0 00-.993.883L11 6v6.02l.01.118.022.113.023.077.03.075.047.093.062.096.07.085.072.071.096.075.099.06.075.036 3.5 1.5.11.04a1 1 0 00.782-1.826l-.104-.052L13 11.34V6l-.007-.117A1 1 0 0012 5z",fill:"currentColor",fillRule:"evenodd"}))}function xl(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.367 7.727a.476.476 0 00.484.48h3.147c.274 0 .492-.222.537-.493.184-1.108.965-1.9 2.266-1.9 1.161 0 2.252.623 2.252 2.053 0 1.246-.864 1.841-2.195 2.705-1.714 1.09-2.634 2.534-2.422 4.715l.008.173a.5.5 0 00.5.478h3a.5.5 0 00.5-.5v-.18c0-1.514.665-1.953 2.322-3.072 1.374-.934 2.86-2.025 2.86-4.545 0-3.569-3.002-5.325-6.556-5.325-3.361 0-6.618 1.557-6.703 5.411zm3.432 12.247c0 1.388 1.09 2.322 2.776 2.322 1.741 0 2.817-.934 2.817-2.322 0-1.416-1.09-2.35-2.817-2.35-1.7 0-2.776.934-2.776 2.35z",fill:"currentColor"}))}function yl(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 14.489c.5 0 .838-.302.832-.764v-1.998c.052-.665.604-.8 1.548-1.413C15.415 9.649 16 8.885 16 7.78 16 6.011 14.077 5 12.139 5c-.822 0-1.831.145-2.639.466a3.39 3.39 0 00-.803.438 1.94 1.94 0 00-.317.3c-.076.09-.14.188-.189.29a1.904 1.904 0 00-.132.356c-.04.153-.059.304-.059.448a.65.65 0 00.022.173c.076.335.34.55.748.55a.806.806 0 00.792-.55c.278-.902 1.709-1.078 2.502-1.078.96 0 2.183.555 2.183 1.405 0 .764-.44 1.163-1.268 1.706-.856.573-1.848 1.137-1.848 2.074v2.147c0 .492.369.764.869.764zM12 19c.579 0 1.047-.457 1.047-1.018 0-.566-.468-1.012-1.047-1.012-.573 0-1.042.446-1.042 1.012 0 .561.47 1.018 1.042 1.018z",fill:"currentColor"}))}function zl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7.102 11.125c.753 0 1.472.295 2.007.817l.142.148 4.806 5.407c.183.206.434.337.705.37l.136.008h3.416L17.22 16.78l-.073-.084a.75.75 0 011.05-1.049l.083.073 2.5 2.5a.753.753 0 01.097.118l.053.094.028.07.023.08.013.075.006.102-.002.042-.009.075-.027.111-.043.102-.038.066-.027.04-.035.043-.039.042-2.5 2.5-.084.073a.75.75 0 01-1.049-1.05l.073-.083 1.095-1.096-3.417.001a2.875 2.875 0 01-2.007-.817l-.142-.148-4.806-5.407a1.125 1.125 0 00-.705-.37l-.136-.008H3.75a.875.875 0 01-.11-1.743l.11-.007h3.352zm11.094-8.978l.084.073 2.5 2.5a.63.63 0 01.101.125l.049.088.043.119.021.106.004.042.002.069-.006.073-.013.076-.023.08-.047.107-.058.091-.073.084-2.5 2.5a.75.75 0 01-1.133-.976l.073-.084 1.095-1.096-3.426.001-.136.008c-.223.027-.433.12-.603.268l-.096.095-2.905 3.215-.085.083a.875.875 0 01-1.287-1.162l.074-.094 2.904-3.215.141-.146a2.875 2.875 0 011.79-.795l.203-.007 3.424-.001L17.22 3.28a.75.75 0 01.976-1.133z",fill:"currentColor",fillRule:"evenodd"}))}function Rl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm.035 4.982c-.264 0-.533.13-.533.51v.41C9.92 8.05 8.9 8.998 8.9 10.352c0 1.135.646 1.88 1.926 2.202l1.309.288c.844.181 1.178.44 1.178.879 0 .562-.446.931-1.272.931-.592 0-1.166-.246-1.687-.72-.334-.282-.545-.364-.803-.364-.416 0-.75.258-.75.715 0 .352.187.692.515.99.487.452 1.272.727 2.163.803v.358c0 .375.275.51.539.51.263 0 .533-.135.533-.51v-.37c1.64-.193 2.666-1.154 2.666-2.543 0-1.143-.66-1.862-1.997-2.176l-1.314-.273c-.744-.146-1.084-.427-1.084-.867 0-.492.44-.885 1.131-.885.586 0 1.008.188 1.506.662.293.252.533.364.85.364.369 0 .673-.27.673-.657 0-.328-.175-.673-.503-.984-.434-.422-1.131-.691-1.91-.79v-.423c0-.375-.27-.51-.534-.51z",fill:"currentColor",fillRule:"evenodd"}))}function Cl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M21.25 11.25A.75.75 0 0122 12c0 5.523-4.477 10-10 10a9.986 9.986 0 01-7.638-3.545l-.038 1.071a.75.75 0 01-1.496.05l-.003-.102.099-2.827a.75.75 0 01.775-.723l2.827.098a.75.75 0 01.05 1.496l-.102.004-.966-.034A8.5 8.5 0 0020.5 12a.75.75 0 01.75-.75zm-9.215-4.268c.237 0 .48.11.526.405l.007.105v.422c.78.1 1.477.37 1.91.791.329.31.504.656.504.984 0 .387-.304.657-.673.657-.317 0-.557-.112-.85-.364-.498-.474-.92-.662-1.506-.662-.691 0-1.13.393-1.13.885 0 .406.289.677.919.831l.164.036 1.108.229c1.476.287 2.203 1.02 2.203 2.22 0 1.331-.942 2.27-2.464 2.515l-.202.028v.37c0 .375-.27.51-.533.51-.238 0-.485-.11-.532-.405l-.007-.105v-.358c-.891-.076-1.676-.351-2.163-.803-.328-.298-.515-.638-.515-.99 0-.457.334-.715.75-.715.258 0 .469.082.803.364.521.474 1.095.72 1.687.72.826 0 1.271-.369 1.271-.931 0-.41-.29-.662-1.015-.842l-.162-.037-1.102-.24c-1.418-.293-2.133-1.055-2.133-2.25 0-1.298.937-2.223 2.407-2.427l.195-.023v-.41c0-.38.27-.51.533-.51zM12 2c3 0 5.77 1.332 7.639 3.545l.037-1.071a.75.75 0 011.496-.05l.003.102-.099 2.827a.75.75 0 01-.674.72l-.101.003-2.827-.098a.75.75 0 01-.05-1.496l.102-.004.966.034A8.5 8.5 0 003.5 12 .75.75 0 112 12C2 6.477 6.477 2 12 2z",fill:"currentColor",fillRule:"evenodd"}))}function Sl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M17 7a5 5 0 01.217 9.995L17 17h-2.5a.75.75 0 01-.102-1.493l.102-.007H17a3.5 3.5 0 00.192-6.995L17 8.5h-2.5a.75.75 0 01-.102-1.493L14.5 7H17zM9.5 7a.75.75 0 01.102 1.493L9.5 8.5H7a3.5 3.5 0 00-.192 6.995L7 15.5h2.5a.75.75 0 01.102 1.493L9.5 17H7a5 5 0 01-.217-9.995L7 7h2.5zm7.5 4.25a.75.75 0 110 1.5H7a.75.75 0 110-1.5h10z",fill:"currentColor",fillRule:"evenodd"}))}function Nl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12.268 21.246L12 21.25l-.323-.006-.32-.016-.3-.025-.329-.04a9.166 9.166 0 01-2.067-.534l-.288-.117-.353-.16-.237-.117-.358-.193-.385-.233-.263-.173-.3-.215-.23-.177-.238-.196-.356-.319a9.308 9.308 0 01-.345-.343l-.151-.162a9.197 9.197 0 01-1.662-2.58l-.126-.311-.134-.372-.087-.268-.08-.285A9.229 9.229 0 012.75 12c0-.893.127-1.757.363-2.574l.137-.431.077-.218.169-.421a9.17 9.17 0 01.768-1.431l.171-.25c.213-.303.447-.595.701-.876l.168-.18c.174-.183.356-.36.545-.528l.197-.17.345-.278.328-.239.302-.202.117-.072a8.88 8.88 0 01.664-.375l.484-.23.37-.152.427-.153.353-.11.263-.071.145-.036A9.232 9.232 0 0112 2.75l.24.003.317.014.389.031.284.033.487.079.43.091.287.073.39.116.293.099.336.127.17.07.379.172.259.129.25.135.416.248.255.166a9.12 9.12 0 011.14.911V3.222a.75.75 0 01.638-.742l.111-.008a.75.75 0 01.742.639l.008.11v3.83a.75.75 0 01-.64.741l-.11.008h-3.828a.75.75 0 01-.111-1.492l.11-.008h2.009l-.197-.177-.22-.182-.131-.102-.2-.147-.225-.156-.235-.15-.236-.139-.149-.081-.222-.115-.268-.126-.121-.053a7.709 7.709 0 00-1.013-.352l-.263-.067-.258-.055-.262-.047-.278-.04-.349-.036-.353-.02L12 4.25l-.183.002-.376.018-.294.026-.248.032-.335.055-.344.073-.243.061-.202.058a7.72 7.72 0 00-.54.183l-.282.114-.204.09-.317.156-.24.13a7.755 7.755 0 00-.629.397l-.383.285-.21.174-.075.064a7.796 7.796 0 00-.195.178l-.18.174-.239.25-.175.198-.152.184a7.778 7.778 0 00-.59.84l-.174.305-.116.222-.112.232a7.079 7.079 0 00-.15.346l-.11.29-.122.368-.046.16c-.084.304-.15.612-.197.923l-.05.409.01-.098c-.05.453-.06.91-.03 1.364l.024.285c.031.307.081.611.15.913l.073.3.058.204c.072.245.157.486.255.724l.085.2c.05.112.102.223.156.332l.091.175.137.245.148.246.058.088a7.766 7.766 0 00.436.604l.141.173.093.107.174.191.174.18.18.175.246.22.324.264.349.255.123.083.24.151.2.118.259.14.257.128.33.146.24.095c.195.073.393.139.594.196l.359.094.136.03.124.026.297.053.329.045.246.024.097.008c.091.006.183.011.275.014l.275.005A7.75 7.75 0 0019.75 12a.75.75 0 111.5 0 9.25 9.25 0 01-8.982 9.246z",fill:"currentColor"}))}function Al(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.5 12a1 1 0 011 1v6a1 1 0 01-1 1H4a1 1 0 01-1-1v-6a1 1 0 011-1h2.5zm6.75-5a1 1 0 011 1v11a1 1 0 01-1 1h-2.5a1 1 0 01-1-1V8a1 1 0 011-1h2.5zM20 4a1 1 0 011 1v14a1 1 0 01-1 1h-2.5a1 1 0 01-1-1V5a1 1 0 011-1H20z",fill:"currentColor",fillRule:"evenodd"}))}function Ol(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.25 12c.966 0 1.75.784 1.75 1.75v4.5A1.75 1.75 0 016.25 20h-1.5A1.75 1.75 0 013 18.25v-4.5c0-.966.784-1.75 1.75-1.75h1.5zm6.5-5c.966 0 1.75.784 1.75 1.75v9.5A1.75 1.75 0 0112.75 20h-1.5a1.75 1.75 0 01-1.75-1.75v-9.5c0-.966.784-1.75 1.75-1.75h1.5zm6.5-3c.966 0 1.75.784 1.75 1.75v12.5A1.75 1.75 0 0119.25 20h-1.5A1.75 1.75 0 0116 18.25V5.75c0-.966.784-1.75 1.75-1.75h1.5zm-13 9.5h-1.5a.25.25 0 00-.243.193l-.007.057v4.5a.25.25 0 00.193.243l.057.007h1.5a.25.25 0 00.243-.193l.007-.057v-4.5a.25.25 0 00-.193-.243L6.25 13.5zm6.5-5h-1.5a.25.25 0 00-.243.193L11 8.75v9.5a.25.25 0 00.193.243l.057.007h1.5a.25.25 0 00.243-.193L13 18.25v-9.5a.25.25 0 00-.193-.243L12.75 8.5zm6.5-3h-1.5a.25.25 0 00-.243.193l-.007.057v12.5a.25.25 0 00.193.243l.057.007h1.5a.25.25 0 00.243-.193l.007-.057V5.75a.25.25 0 00-.193-.243L19.25 5.5z",fill:"currentColor",fillRule:"evenodd"}))}function Il(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18 9.25a.75.75 0 01.743.648l.007.102v8.25a3.75 3.75 0 01-3.55 3.745L15 22h-5a3.75 3.75 0 01-3.745-3.55l-.005-.2V10a.75.75 0 01.648-.743L7 9.25h11zm-.75 1.5h-9.5v7.5a2.25 2.25 0 001.938 2.229l.158.016.154.005h5a2.25 2.25 0 002.245-2.096l.005-.154v-7.5zm-6.75 1.5a.75.75 0 01.743.648l.007.102v5.25a.75.75 0 01-1.493.102l-.007-.102V13a.75.75 0 01.75-.75zm4 0a.75.75 0 01.743.648l.007.102v5.25a.75.75 0 01-1.493.102l-.007-.102V13a.75.75 0 01.75-.75zm2.372-9.849a3.847 3.847 0 012.03 4.45l2.668 1.302a.75.75 0 01-.563 1.386l-.094-.038L9.086 3.732a.75.75 0 01.563-1.386l.094.038 2.373 1.157a3.847 3.847 0 014.756-1.14zM3 4.25a.75.75 0 01.743.648L3.75 5v.63c2.434-1.684 5.714-1.245 7.542 1.11a.75.75 0 11-1.185.919C8.819 6 6.547 5.647 4.777 6.749l.723.001a.75.75 0 01.743.648l.007.102a.75.75 0 01-.648.743L5.5 8.25H3a.75.75 0 01-.743-.648L2.25 7.5V5A.75.75 0 013 4.25zm10.507-.031l4.005 1.953a2.347 2.347 0 00-4.005-1.953z",fill:"currentColor",fillRule:"evenodd"}))}function Ll(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2.75a9.25 9.25 0 016.54 15.79.75.75 0 11-1.06-1.06 7.75 7.75 0 10-13.224-5.797l.714-.713.084-.073a.75.75 0 011.049 1.05l-.073.083-2 2-.084.073a.75.75 0 01-.882.007l-.094-.08-2-2-.073-.084a.75.75 0 01-.007-.882l.08-.094.084-.073a.75.75 0 01.882-.007l.094.08.725.724A9.25 9.25 0 0112 2.75z",fill:"currentColor"}))}function Hl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2.75a9.25 9.25 0 019.245 8.944l.725-.724a.75.75 0 01.976-.073l.084.073a.75.75 0 01.073.976l-.073.084-2 2a.75.75 0 01-.976.073l-.084-.073-2-2a.75.75 0 01.976-1.133l.084.073.714.712A7.75 7.75 0 106.52 17.48a.75.75 0 11-1.06 1.06A9.25 9.25 0 0112 2.75z",fill:"currentColor"}))}function Ml(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12.021 23.316c.594 0 1.121-.33 1.121-1.12V21.14c3.546-.382 5.761-2.465 5.761-5.498 0-2.61-1.569-4.192-4.825-4.904l-2.676-.606C9.727 9.763 8.91 8.999 8.91 7.878c0-1.344 1.16-2.32 2.98-2.32 1.476 0 2.504.5 3.651 1.78.58.606 1.029.83 1.635.83.738 0 1.305-.514 1.305-1.279 0-.738-.435-1.542-1.173-2.267-.976-.923-2.439-1.53-4.087-1.74V1.787c0-.777-.527-1.107-1.134-1.107-.593 0-1.12.316-1.12 1.107v1.055c-3.415.317-5.59 2.36-5.59 5.287 0 2.557 1.569 4.258 4.575 4.93l2.676.62c1.951.461 2.755 1.147 2.755 2.307 0 1.503-1.173 2.452-3.27 2.452-1.568 0-2.873-.593-4.06-1.872-.672-.672-1.041-.817-1.542-.817-.805 0-1.411.514-1.411 1.397 0 .778.448 1.582 1.252 2.281 1.055.962 2.703 1.556 4.536 1.727v1.042c0 .79.527 1.12 1.133 1.12z",fill:"currentColor",fillRule:"evenodd"}))}function kl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M9.75 2a7.75 7.75 0 016.292 12.275l5.592 5.591a1.25 1.25 0 01-1.666 1.859l-.102-.091-5.59-5.592A7.75 7.75 0 119.75 2zm0 2.5a5.25 5.25 0 100 10.5 5.25 5.25 0 000-10.5z",fill:"currentColor",fillRule:"evenodd"}))}function Vl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10 2.25a7.75 7.75 0 015.985 12.674l5.545 5.546a.75.75 0 01-.976 1.133l-.084-.073-5.546-5.545A7.75 7.75 0 1110 2.25zm0 1.5a6.25 6.25 0 100 12.5 6.25 6.25 0 000-12.5z",fill:"currentColor",fillRule:"evenodd"}))}function jl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12.01 2.25a.75.75 0 01.665.402c.72 1.376 3.174 2.323 7.389 2.683a.75.75 0 01.686.748c0 7.747-1.54 11.378-5.945 14.213l-.502.312-.525.306a26.51 26.51 0 01-.834.452l-.29.148-.323.16a.75.75 0 01-.654.003c-6.293-3-8.427-6.542-8.427-15.594a.75.75 0 01.686-.748c4.215-.36 6.67-1.307 7.389-2.683a.75.75 0 01.56-.395l.126-.007zM12 4.245l-.064.067C10.702 5.54 8.479 6.317 5.277 6.705l-.523.058.01.54c.012.53.033 1.039.063 1.525l.052.713c.472 5.577 2.312 8.141 6.618 10.372l.272.139.228.113.262-.133c4.685-2.43 6.538-5.033 6.915-11.21l.038-.743.025-.778.007-.402.001-.136-.522-.058c-3.068-.372-5.238-1.1-6.5-2.242l-.159-.15L12 4.244zm4.903 4.104l.077.067a.75.75 0 01.067.984l-.067.077-5.52 5.52-3.382-3.38a.75.75 0 01.984-1.129l.076.067 2.32 2.322 4.461-4.46a.75.75 0 01.984-.068z",fill:"currentColor",fillRule:"evenodd"}))}function Tl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12.01 2.25a.75.75 0 01.665.402c.72 1.376 3.174 2.323 7.389 2.683a.75.75 0 01.686.748c0 7.747-1.54 11.378-5.945 14.213l-.502.312-.525.306a26.51 26.51 0 01-.834.452l-.29.148-.323.16a.75.75 0 01-.654.003c-6.293-3-8.427-6.542-8.427-15.594a.75.75 0 01.686-.748c4.215-.36 6.67-1.307 7.389-2.683a.75.75 0 01.56-.395l.126-.007zM12 4.245l-.064.067C10.702 5.54 8.479 6.317 5.277 6.705l-.523.058.01.54c.012.53.033 1.039.063 1.525l.052.713c.472 5.577 2.312 8.141 6.618 10.372l.272.139.228.113.262-.133c4.685-2.43 6.538-5.033 6.915-11.21l.038-.743.025-.778.007-.402.001-.136-.522-.058c-3.068-.372-5.238-1.1-6.5-2.242l-.159-.15L12 4.244zM12 8l.15.005a2 2 0 01.98 3.645L14 16h-4l.87-4.35a2 2 0 01.982-3.644L11.999 8z",fill:"currentColor",fillRule:"evenodd"}))}function Dl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13 2a1 1 0 011 1v1.77a7.44 7.44 0 011.698.703l1.252-1.251a1 1 0 011.414 0l1.414 1.414a1 1 0 010 1.414l-1.251 1.252c.3.53.538 1.099.703 1.698H21a1 1 0 011 1v2a1 1 0 01-1 1h-1.77a7.454 7.454 0 01-.703 1.698l1.251 1.252a1 1 0 010 1.414l-1.414 1.414a1 1 0 01-1.414 0l-1.252-1.251a7.47 7.47 0 01-1.697.703L14 21a1 1 0 01-1 1h-2a1 1 0 01-1-1v-1.77a7.454 7.454 0 01-1.698-.703L7.05 19.778a1 1 0 01-1.414 0l-1.414-1.414a1 1 0 010-1.414l1.251-1.252A7.454 7.454 0 014.77 14H3a1 1 0 01-1-1v-2a1 1 0 011-1h1.77a7.44 7.44 0 01.703-1.698L4.222 7.05a1 1 0 010-1.414l1.414-1.414a1 1 0 011.414 0l1.252 1.251c.53-.3 1.099-.538 1.698-.703V3a1 1 0 011-1h2zm-1 6a4 4 0 100 8 4 4 0 000-8z",fill:"currentColor",fillRule:"evenodd"}))}function Fl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.056 2c.918 0 1.67.707 1.744 1.606l.006.144v.787l.243.093.154.063.093.042.554-.553a1.75 1.75 0 012.217-.212l.133.1.125.113 1.492 1.492a1.75 1.75 0 01.114 2.35l-.113.125-.524.523.046.1.068.156.064.157.039.108h.74a1.75 1.75 0 011.725 1.459l.018.148.006.143v2.112a1.75 1.75 0 01-1.606 1.744l-.144.006h-.739l-.04.108-.063.158-.068.156-.047.098.524.524c.553.551.663 1.389.29 2.08l-.08.136-.095.131-.115.128-1.492 1.492c-.59.59-1.502.676-2.216.21l-.131-.095-.128-.115-.554-.554-.093.043-.154.064-.243.092v.789a1.752 1.752 0 01-1.459 1.725l-.148.018-.143.006h-2.111A1.75 1.75 0 019.2 20.393l-.006-.143v-.848l-.08-.03-.148-.06-.214-.097-.602.603a1.75 1.75 0 01-2.217.212l-.133-.1-.125-.113-1.492-1.492a1.75 1.75 0 01-.114-2.35l.114-.125.632-.634-.09-.204-.079-.206h-.897a1.752 1.752 0 01-1.725-1.459l-.018-.148L2 13.056v-2.112A1.75 1.75 0 013.606 9.2l.144-.006h.896l.08-.206.089-.205-.632-.633a1.75 1.75 0 01-.213-2.217l.099-.133.114-.125 1.492-1.492c.59-.59 1.502-.676 2.216-.21l.131.095.128.115.602.601.214-.095.149-.062.079-.03V3.75c0-.791.528-1.469 1.294-1.684l.146-.035.151-.023.16-.008h2.111zm-2.069 1.499l-.073.003a.25.25 0 00-.212.186l-.007.062v1.377a.75.75 0 01-.528.717c-.417.129-.818.3-1.2.51a.75.75 0 01-.809-.054l-.083-.071-.952-.954-.058-.053a.25.25 0 00-.27-.023l-.059.044-1.493 1.493a.25.25 0 00-.04.3l.04.054 1.009 1.008a.75.75 0 01.132.883c-.2.375-.361.769-.483 1.177a.75.75 0 01-.61.528l-.108.008H3.75a.25.25 0 00-.243.193l-.007.057v2.11c0 .12.083.22.193.245l.057.007h1.433a.75.75 0 01.719.537c.121.408.283.802.482 1.176a.75.75 0 01-.061.8l-.071.083-1.009 1.008a.25.25 0 00-.04.3l.04.054 1.493 1.493a.25.25 0 00.3.04l.054-.04.985-.986a.75.75 0 01.893-.126c.38.21.782.382 1.199.511a.75.75 0 01.52.609l.008.108v1.377a.25.25 0 00.192.243l.057.007h2.111a.251.251 0 00.244-.193l.007-.057v-1.331a.75.75 0 01.545-.721 6.398 6.398 0 001.247-.503.75.75 0 01.8.06l.083.072.896.898.058.053a.25.25 0 00.27.023l.059-.044 1.462-1.46.052-.057a.25.25 0 00.023-.27l-.044-.06-.907-.905a.75.75 0 01-.126-.894 6.4 6.4 0 00.533-1.269.75.75 0 01.61-.528l.108-.008h1.275a.25.25 0 00.243-.193l.007-.057v-2.111a.25.25 0 00-.193-.244l-.057-.007h-1.275a.75.75 0 01-.718-.536 6.4 6.4 0 00-.533-1.269.75.75 0 01.055-.81l.071-.083.907-.906a.25.25 0 00.04-.3l-.04-.054-1.493-1.493a.25.25 0 00-.3-.04l-.054.04-.93.93a.75.75 0 01-.882.132 6.398 6.398 0 00-1.247-.503.75.75 0 01-.536-.611l-.008-.11-.001-1.33a.251.251 0 00-.194-.244l-.056-.007-2.069-.001zM12 7.533a4.467 4.467 0 110 8.934 4.467 4.467 0 010-8.934zm0 1.5a2.967 2.967 0 100 5.934 2.967 2.967 0 000-5.934z",fill:"currentColor",fillRule:"evenodd"}))}function Pl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 5c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0120.25 19H3.75A1.75 1.75 0 012 17.25V6.75C2 5.784 2.784 5 3.75 5h16.5zm0 1.5H3.75a.25.25 0 00-.243.193L3.5 6.75v10.5a.25.25 0 00.193.243l.057.007h16.5a.25.25 0 00.243-.193l.007-.057V6.75a.25.25 0 00-.193-.243L20.25 6.5zM6.5 14a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm9 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-7a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h7zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm-12-3a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm-12-3a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1z",fill:"currentColor",fillRule:"evenodd"}))}function Bl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 6a1.75 1.75 0 011.744 1.606L21 7.75V11h-1.5V7.75l-.007-.057a.25.25 0 00-.175-.184L19.25 7.5H7.75l-.057.007a.25.25 0 00-.184.175L7.5 7.75v11.5l.007.057a.25.25 0 00.175.184l.068.009H11V21H7.75a1.75 1.75 0 01-1.744-1.606L6 19.25V7.75a1.75 1.75 0 011.606-1.744L7.75 6h11.5zm-2-3l.102.007a.75.75 0 010 1.486l-.102.007H4.75l-.057.007a.25.25 0 00-.184.175L4.5 4.75v12.5l-.007.102a.75.75 0 01-1.486 0L3 17.25V4.75l.006-.144a1.75 1.75 0 011.593-1.6L4.75 3h12.5zm-2.5 8.75a3 3 0 100 6 3 3 0 000-6zm0 7.5a4.5 4.5 0 113.632-1.842l.036-.05 2.362 2.362a.75.75 0 01-.976 1.133l-.084-.073-2.363-2.362-.112.077a4.479 4.479 0 01-2.495.755z",fill:"currentColor",fillRule:"evenodd"}))}function _l(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M3.75 4a.75.75 0 01.75.75v14.5a.75.75 0 11-1.5 0V4.75A.75.75 0 013.75 4zm3.5 0a.75.75 0 01.75.75v14.5a.75.75 0 11-1.5 0V4.75A.75.75 0 017.25 4zm7.78 3.97a.75.75 0 01.073.976l-.073.084-2.219 2.22h7.439a.75.75 0 01.102 1.493l-.102.007h-7.439l2.22 2.22a.75.75 0 01-.977 1.133l-.084-.073-3.5-3.5-.055-.06-.046-.065-.049-.088-.044-.12-.018-.089-.007-.143.019-.136.03-.098.047-.1.054-.082.069-.08 3.5-3.5a.75.75 0 011.06 0z",fill:"currentColor",fillRule:"evenodd"}))}function Gl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M3.75 4a.75.75 0 01.75.75v14.5a.75.75 0 11-1.5 0V4.75A.75.75 0 013.75 4zm3.5 0a.75.75 0 01.75.75v14.5a.75.75 0 11-1.5 0V4.75A.75.75 0 017.25 4zm3.5 0a.75.75 0 01.75.75v6.5h6.939l-2.22-2.22a.75.75 0 01.977-1.133l.084.073 3.5 3.5c.025.024.048.05.069.078l-.069-.078.04.042.04.052.068.114.038.098.02.084.012.088v.104l-.003.02-.006.055-.015.07-.024.072-.047.1-.032.051-.027.038-.064.072-3.5 3.5a.75.75 0 01-1.133-.976l.073-.084 2.219-2.22h-6.94l.001 6.5a.75.75 0 11-1.5 0V4.75a.75.75 0 01.75-.75z",fill:"currentColor",fillRule:"evenodd"}))}function ql(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.5 18v2.25a.25.25 0 00.193.243l.057.007H8V22H5.75A1.75 1.75 0 014 20.25V18h1.5zm8.25-5.25a3 3 0 100 6 3 3 0 000-6zm-8.25 0v3.75H4v-3.75h1.5zM20 7.5v3.75h-1.5V7.5H20zm-14.5 0v3.75H4V7.5h1.5zM18.25 2c.966 0 1.75.784 1.75 1.75V6h-1.5V3.75a.25.25 0 00-.193-.243L18.25 3.5 16 3.499V2h2.25zM8 2v1.5H5.75a.25.25 0 00-.243.193L5.5 3.75V6H4V3.75C4 2.784 4.784 2 5.75 2H8zm6.5 0v1.499l-5 .001V2h5zm-.75 18.25a4.5 4.5 0 113.632-1.842l.036-.05 2.362 2.362a.75.75 0 01-.976 1.133l-.084-.073-2.363-2.362-.112.077a4.479 4.479 0 01-2.495.755z",fill:"currentColor",fillRule:"evenodd"}))}function $l(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M2.5 12.75H7a.75.75 0 110 1.5H5.5v7a.75.75 0 11-1.5 0v-7H2.5a.75.75 0 110-1.5zm9.5-2a.75.75 0 01.75.75v9.75a.75.75 0 11-1.5 0V11.5a.75.75 0 01.75-.75zm9.5 4a.75.75 0 110 1.5H20v5a.75.75 0 11-1.5 0v-5H17a.75.75 0 110-1.5h4.5zM19.25 2a.75.75 0 01.75.75v9.75a.75.75 0 11-1.5 0V2.75a.75.75 0 01.75-.75zM4.75 2a.75.75 0 01.75.75v7.75a.75.75 0 11-1.5 0V2.75A.75.75 0 014.75 2zM12 2a.75.75 0 01.75.75v5h1.5a.75.75 0 110 1.5h-4.5a.75.75 0 010-1.5h1.5v-5A.75.75 0 0112 2z",fill:"currentColor",fillRule:"evenodd"}))}function Kl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75V7.5h-5a5 5 0 00-4.995 4.783L11 12.5a5 5 0 004.783 4.995L16 17.5h5v1.75A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm1.5 6c.69 0 1.25.56 1.25 1.25v4.5c0 .69-.56 1.25-1.25 1.25H16a3.5 3.5 0 010-7h4.75zM16 11a1.5 1.5 0 100 3 1.5 1.5 0 000-3z",fill:"currentColor",fillRule:"evenodd"}))}function Ul(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.25 18a.75.75 0 110 1.5h-2.5a.75.75 0 110-1.5h2.5zm12.5-13.5a.75.75 0 01.743.648l.007.102v11.689l2.22-2.22a.75.75 0 011.133.977l-.073.084-3.5 3.5a.753.753 0 01-.125.101l-.088.049-.119.043-.106.021-.041.004-.07.002-.073-.006-.076-.013-.08-.023-.1-.043a.75.75 0 01-.182-.135l-3.5-3.5a.75.75 0 01.976-1.133l.084.073L17 16.939V5.25a.75.75 0 01.75-.75zm-9.5 9a.75.75 0 110 1.5h-5.5a.75.75 0 110-1.5h5.5zm3-4.5a.75.75 0 110 1.5h-8.5a.75.75 0 110-1.5h8.5zm3-4.5a.75.75 0 110 1.5H2.75a.75.75 0 010-1.5h11.5z",fill:"currentColor",fillRule:"evenodd"}))}function Wl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M8.895 8.726l-6.683.358-.105.012c-.608.114-.833.91-.328 1.319l5.197 4.217-1.725 6.467-.02.098c-.085.616.605 1.08 1.152.725L12 18.28l5.617 3.64.087.05c.56.27 1.214-.242 1.045-.872l-1.726-6.467 5.198-4.217.077-.072c.425-.45.14-1.225-.51-1.26l-6.684-.357L12.7 2.481a.75.75 0 00-1.4 0L8.895 8.726z",fill:"currentColor",fillRule:"evenodd"}))}function Jl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M8.895 8.726l-6.683.358-.105.012c-.608.114-.833.91-.328 1.319l5.197 4.217-1.725 6.467-.02.098c-.085.616.605 1.08 1.152.725L12 18.28l5.617 3.64.087.05c.56.27 1.214-.242 1.045-.872l-1.726-6.467 5.198-4.217.077-.072c.425-.45.14-1.225-.51-1.26l-6.684-.357L12.7 2.481a.75.75 0 00-1.4 0L8.895 8.726zM12 4.836l1.88 4.883.046.1a.75.75 0 00.614.38l5.223.278-4.062 3.297-.08.075a.75.75 0 00-.172.7l1.349 5.055-4.39-2.845-.096-.053a.75.75 0 00-.72.053l-4.391 2.845 1.35-5.054.02-.108a.75.75 0 00-.272-.668l-4.063-3.297 5.224-.278a.75.75 0 00.66-.48L12 4.836z",fill:"currentColor",fillRule:"evenodd"}))}function Yl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.25 2c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0118.25 22H13l-.001-1.5h5.251a.25.25 0 00.243-.193l.007-.057V3.75a.25.25 0 00-.193-.243L18.25 3.5H5.75a.25.25 0 00-.243.193L5.5 3.75 5.499 13H4V3.75C4 2.784 4.784 2 5.75 2h12.5zM4.142 16.956a.5.5 0 01.55-.147l.082.038 2.143 1.237.074.052a.5.5 0 01.147.55l-.038.081-.052.074a.5.5 0 01-.55.147l-.081-.038-.878-.505a2.5 2.5 0 004 1.525.75.75 0 11.925 1.181 4.002 4.002 0 01-6.343-2.173l-.402.695-.052.074a.5.5 0 01-.852-.492l.038-.082 1.238-2.143.051-.074zM8 14a4.001 4.001 0 013.92 3.197l.358-.62a.5.5 0 01.6-.221l.083.038a.5.5 0 01.22.601l-.037.082-1.238 2.143a.5.5 0 01-.6.221l-.083-.038-2.143-1.237a.5.5 0 01.418-.904l.082.038.914.528a2.5 2.5 0 00-4.033-1.798.75.75 0 11-.925-1.181A3.985 3.985 0 018 14zm7.75-1a.75.75 0 110 1.5h-2.5a.75.75 0 110-1.5h2.5zm0-3.5a.75.75 0 110 1.5h-7.5a.75.75 0 110-1.5h7.5zm0-3.5a.75.75 0 110 1.5h-7.5a.75.75 0 010-1.5h7.5z",fill:"currentColor",fillRule:"evenodd"}))}function Ql(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm.25 3h-15v13.25a.25.25 0 00.193.243l.057.007h14.5a.25.25 0 00.243-.193l.007-.057V6zm-8.75 9.5a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm6.5 0a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm-6.5-3.5a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm6.5 0a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm-6.5-3.5a.75.75 0 110 1.5h-4a.75.75 0 010-1.5h4zm6.5 0a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4z",fill:"currentColor",fillRule:"evenodd"}))}function Xl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.356 2c.464 0 .909.184 1.237.513l9.92 9.919a1.75 1.75 0 010 2.475l-6.606 6.606a1.75 1.75 0 01-2.475 0l-9.92-9.92A1.75 1.75 0 012 10.356V3.75C2 2.784 2.784 2 3.75 2h6.606zm0 1.5H3.75a.25.25 0 00-.243.193L3.5 3.75v6.606a.25.25 0 00.033.125l.04.051 9.92 9.92a.25.25 0 00.3.04l.053-.04 6.606-6.606a.25.25 0 00.04-.3l-.04-.053-9.92-9.92a.25.25 0 00-.111-.064l-.065-.009zm1.57 5.394c.365-.007.652.086.852.287.256.255.225.645-.02.89-.215.215-.453.322-.78.366-.512.07-.826.211-1.13.515-.335.335-.335.742-.114.963.203.203.484.176.923-.106l.123-.084.715-.5c1.04-.729 1.934-.732 2.666 0 .809.809.81 1.956.044 3.041l-.12.163.155.155c.238.238.128.494-.02.642-.14.14-.364.246-.581.093l-.072-.062-.145-.145c-.615.532-1.285.857-1.858.87-.349.004-.642-.082-.85-.29-.306-.307-.244-.714.042-1 .145-.146.32-.24.605-.301l.151-.028c.529-.08.991-.293 1.271-.573.425-.425.46-.818.197-1.08-.193-.194-.473-.155-.963.148l-.139.09-.71.476c-1.05.711-1.938.694-2.677-.045-.789-.79-.783-1.929-.026-2.957l.12-.154-.204-.203c-.242-.242-.121-.494.03-.646.138-.137.353-.246.57-.09l.073.062.214.214c.546-.435 1.14-.704 1.657-.71zM6.042 6.043a1 1 0 111.414 1.414 1 1 0 01-1.414-1.414z",fill:"currentColor",fillRule:"evenodd"}))}function Zl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.5 20.5V22h-5v-1.5h5zm-9-2.5v2.25a.25.25 0 00.193.243l.057.007H8V22H5.75A1.75 1.75 0 014 20.25V18h1.5zM20 18v2.25A1.75 1.75 0 0118.25 22H16v-1.5h2.25a.25.25 0 00.243-.193l.007-.057V18H20zm0-5.25v3.75h-1.5v-3.75H20zm-14.5 0v3.75H4v-3.75h1.5zM20 7.5v3.75h-1.5V7.5H20zM4 11.25V7.5h9.25a.75.75 0 01.75.75v2.25a.75.75 0 01-.75.75H4zM18.25 2c.966 0 1.75.784 1.75 1.75V6h-1.5V3.75a.25.25 0 00-.193-.243L18.25 3.5 16 3.499V2h2.25zM8 2v1.5H5.75a.25.25 0 00-.243.193L5.5 3.75V6H4V3.75C4 2.784 4.784 2 5.75 2H8zm6.5 0v1.499l-5 .001V2h5z",fill:"currentColor",fillRule:"evenodd"}))}function ea(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.5 20.5V22h-5v-1.5h5zm-9-2.5v2.25a.25.25 0 00.193.243l.057.007H8V22H5.75A1.75 1.75 0 014 20.25V18h1.5zM20 18v2.25A1.75 1.75 0 0118.25 22H16v-1.5h2.25a.25.25 0 00.243-.193l.007-.057V18H20zm0-5.25v3.75h-1.5v-3.75H20zm-14.5 0v3.75H4v-3.75h1.5zM12.25 14a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zm0-4a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zM20 7.5v3.75h-1.5V7.5H20zm-14.5 0v3.75H4V7.5h1.5zM15.25 6a.75.75 0 110 1.5h-6.5a.75.75 0 010-1.5h6.5zm3-4c.966 0 1.75.784 1.75 1.75V6h-1.5V3.75a.25.25 0 00-.193-.243L18.25 3.5 16 3.499V2h2.25zM8 2v1.5H5.75a.25.25 0 00-.243.193L5.5 3.75V6H4V3.75C4 2.784 4.784 2 5.75 2H8zm6.5 0v1.499l-5 .001V2h5z",fill:"currentColor",fillRule:"evenodd"}))}function ta(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18 11.25a1.75 1.75 0 011.744 1.606l.006.144v4.586c0 .406-.141.797-.396 1.109l-.117.128-3.304 3.305a1.25 1.25 0 01-2.114-1.11l.032-.133.642-2.135H12.5a1.75 1.75 0 01-1.726-1.458l-.018-.148L10.75 17c0-.173.026-.345.076-.51l.059-.163 1.666-4a1.75 1.75 0 011.465-1.07l.15-.007H18zm0 1.5h-3.833a.25.25 0 00-.202.102l-.03.052-1.666 4a.25.25 0 00.174.34l.057.006h2.866a.85.85 0 01.838.99l-.024.104-.606 2.023 2.603-2.604a.25.25 0 00.064-.112l.009-.065V13a.25.25 0 00-.193-.243L18 12.75zm4-1.5c.513 0 .94.441.994 1.003l.006.122v4.5c0 .619-.45 1.125-1 1.125-.513 0-.94-.441-.994-1.003L21 16.875v-4.5c0-.619.45-1.125 1-1.125zM2 6c.513 0 .94.441.994 1.003L3 7.125v4.5c0 .619-.45 1.125-1 1.125-.513 0-.94-.441-.994-1.003L1 11.625v-4.5C1 6.506 1.45 6 2 6zm6.067-4.128a1.25 1.25 0 012.114 1.11l-.032.133-.642 2.135H11.5c.867 0 1.587.63 1.726 1.458l.018.148.006.144c0 .173-.026.345-.076.51l-.059.163-1.666 4a1.75 1.75 0 01-1.465 1.07l-.15.007H6a1.75 1.75 0 01-1.744-1.606L4.25 11V6.414c0-.406.141-.797.396-1.109l.117-.128 3.304-3.305zm.359 1.761L5.823 6.237a.25.25 0 00-.064.112l-.009.065V11a.25.25 0 00.193.243L6 11.25h3.833a.25.25 0 00.202-.102l.03-.052 1.666-4a.25.25 0 00-.174-.34L11.5 6.75H8.634c-.123-.006-.123-.006-.244-.036a.85.85 0 01-.594-.954l.024-.104.606-2.023z",fill:"currentColor",fillRule:"evenodd"}))}function na(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.839 4c.935 0 1.709.754 1.784 1.705l.006.152v9.277c0 .438-.149.86-.414 1.19l-.105.12-4.96 5.144a1.298 1.298 0 01-1.888.01 1.427 1.427 0 01-.389-1.118l.022-.155.85-4.253H4.687c-1.868 0-3.145-1.925-2.531-3.719l.06-.163 2.919-7.066c.266-.63.84-1.06 1.495-1.117L6.782 4h8.057zm5.37 0c.936 0 1.71.754 1.785 1.705l.006.152v7.43c0 1.02-.806 1.856-1.79 1.856-.936 0-1.71-.754-1.785-1.705l-.006-.152V5.857c0-1.021.806-1.857 1.79-1.857z",fill:"currentColor",fillRule:"evenodd"}))}function la(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.839 4c.935 0 1.709.754 1.784 1.705l.006.152v9.277c0 .438-.149.86-.414 1.19l-.105.12-4.96 5.144a1.298 1.298 0 01-1.888.01 1.427 1.427 0 01-.389-1.118l.022-.155.85-4.253H4.687c-1.868 0-3.145-1.925-2.531-3.719l.06-.163 2.919-7.066c.266-.63.84-1.06 1.495-1.117L6.782 4h8.057zm0 1.5H6.782a.284.284 0 00-.223.129l-.038.067-2.916 7.062c-.34.83.192 1.728.97 1.808l.112.006h6.888l-1.114 5.57 4.569-4.74a.373.373 0 00.092-.19l.007-.078V5.857c0-.18-.112-.318-.237-.35L14.84 5.5zm5.37-1.5c.936 0 1.71.754 1.785 1.705l.006.152v7.43c0 1.02-.806 1.856-1.79 1.856-.936 0-1.71-.754-1.785-1.705l-.006-.152V5.857c0-1.021.806-1.857 1.79-1.857z",fill:"currentColor",fillRule:"evenodd"}))}function aa(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12.85 2.412a1.298 1.298 0 011.888-.01c.287.298.425.705.389 1.118l-.022.155-.85 4.253h5.058c1.868 0 3.145 1.925 2.531 3.719l-.06.163-2.919 7.066a1.811 1.811 0 01-1.495 1.117l-.152.007H9.161c-.935 0-1.709-.754-1.784-1.705l-.006-.152V8.866c0-.438.149-.86.414-1.19l.105-.12 4.96-5.144zM3.79 8.857c.936 0 1.71.754 1.785 1.705l.006.152v7.429C5.58 19.164 4.775 20 3.79 20c-.936 0-1.71-.754-1.785-1.705L2 18.143v-7.43c0-1.02.806-1.856 1.79-1.856z",fill:"currentColor",fillRule:"evenodd"}))}function ra(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.738 2.403c.287.297.425.704.389 1.117l-.022.155-.85 4.253h5.058c1.868 0 3.145 1.925 2.531 3.719l-.06.163-2.919 7.066a1.811 1.811 0 01-1.495 1.117l-.152.007H9.161c-.935 0-1.709-.754-1.784-1.705l-.006-.152V8.866c0-.438.149-.86.414-1.19l.105-.12 4.96-5.144a1.298 1.298 0 011.888-.01zM3.79 8.857c.936 0 1.71.754 1.785 1.705l.006.152v7.429C5.58 19.164 4.775 20 3.79 20c-.936 0-1.71-.754-1.785-1.705L2 18.143v-7.43c0-1.02.806-1.856 1.79-1.856zm9.749-4.999L8.97 8.598a.373.373 0 00-.092.19l-.007.078v9.277c0 .18.112.318.237.35l.053.007h8.057c.08 0 .166-.047.223-.129l.038-.067 2.916-7.062c.34-.83-.192-1.728-.97-1.808l-.112-.006h-6.888l1.114-5.57z",fill:"currentColor",fillRule:"evenodd"}))}function oa(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.832 4.752a1.5 1.5 0 01.416 2.08l-8 12a1.5 1.5 0 01-2.496 0l-4-6a1.5 1.5 0 112.496-1.664L10 15.296l6.752-10.128a1.5 1.5 0 012.08-.416z",fill:"currentColor"}))}function ia(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.867 6.097a.75.75 0 011.318.708l-.052.098-7 11a.75.75 0 01-1.145.145l-.074-.08-4-5A.75.75 0 017.01 11.95l.076.081 3.344 4.181 6.437-10.115z",fill:"currentColor",fillRule:"evenodd"}))}function sa(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.5 16c2.434 0 3.88 1.316 4.34 3.95A1.75 1.75 0 0119.116 22h-5.232a1.75 1.75 0 01-1.724-2.05c.46-2.634 1.906-3.95 4.34-3.95zM12 2c5.523 0 10 4.477 10 10a9.96 9.96 0 01-1.005 4.374 5.097 5.097 0 00-1.182-1.017A8.488 8.488 0 0020.5 12a8.5 8.5 0 10-9.996 8.369c.02.578.196 1.118.487 1.58C5.942 21.444 2 17.183 2 12 2 6.477 6.477 2 12 2zm4.5 8.5c1.105 0 2 1.12 2 2.5s-.895 2.5-2 2.5-2-1.12-2-2.5.895-2.5 2-2.5zM12 5.25a.75.75 0 01.743.648L12.75 6v6a.75.75 0 01-.648.743L12 12.75H7.5a.75.75 0 01-.102-1.493l.102-.007h3.75V6a.75.75 0 01.75-.75z",fill:"currentColor",fillRule:"evenodd"}))}function ca(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("g",{fill:"none",fillRule:"evenodd"},t.createElement("path",{d:"M18.804 15.647a.75.75 0 011.049 1.05l-.073.083-1.969 1.97 1.97 1.97a.75.75 0 01-.977 1.133l-.084-.073-1.97-1.969-1.97 1.97-.084.072a.75.75 0 01-1.049-1.05l.073-.083 1.969-1.97-1.97-1.97a.75.75 0 01.977-1.133l.084.073 1.97 1.969 1.97-1.97.084-.072z",fill:"#CF3C16",fillRule:"nonzero"}),t.createElement("path",{d:"M5.5 16.5v3.75a.25.25 0 00.193.243l.057.007H12V22H5.75A1.75 1.75 0 014 20.25V16.5h1.5zm2.946-6.103l.084.073 3 3a.75.75 0 01.073.976l-.073.084-3 3a.75.75 0 01-1.133-.976l.073-.084 1.719-1.72H2.75a.75.75 0 01-.102-1.493l.102-.007h6.439l-1.72-1.72a.75.75 0 01-.072-.976l.073-.084a.75.75 0 01.976-.073zM13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V14h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v7.75H4V3.75C4 2.784 4.784 2 5.75 2h7.836zm.914 2.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor"})))}function ua(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.5 16.5v3.75a.25.25 0 00.193.243l.057.007h4.75V22H5.75A1.75 1.75 0 014 20.25V16.5h1.5zM16 12a3 3 0 013 3v1a1 1 0 011 1v4a1 1 0 01-1 1h-6a1 1 0 01-1-1v-4a1 1 0 011-1v-1a3 3 0 013-3zm0 5.5a1 1 0 00-.5 1.866V20a.5.5 0 00.992.09L16.5 20l.001-.634A1 1 0 0016 17.5zm-7.554-7.103l.084.073 3 3a.75.75 0 01.073.976l-.073.084-3 3a.75.75 0 01-1.133-.976l.073-.084 1.719-1.72H2.75a.75.75 0 01-.102-1.493l.102-.007h6.439l-1.72-1.72a.75.75 0 01-.072-.976l.073-.084a.75.75 0 01.976-.073zM16 13.5a1.5 1.5 0 00-1.493 1.356L14.5 15v1h3v-1a1.5 1.5 0 00-1.356-1.493L16 13.5zM13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V11.5h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v7.75H4V3.75C4 2.784 4.784 2 5.75 2h7.836zm.914 2.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function da(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V16.5h1.5v3.75a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v7.75H4V3.75C4 2.784 4.784 2 5.75 2h7.836zm-5.14 8.397l.084.073 3 3a.75.75 0 01.073.976l-.073.084-3 3a.75.75 0 01-1.133-.976l.073-.084 1.719-1.72H2.75a.75.75 0 01-.102-1.493l.102-.007h6.439l-1.72-1.72a.75.75 0 01-.072-.976l.073-.084a.75.75 0 01.976-.073zM14.5 4.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function ma(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.75 4.75l-4 4 4 4",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M3 8.75h13c2.9 0 5.25 2.35 5.25 5.25v0c0 2.9-2.35 5.25-5.25 5.25h-5.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round"}))}function ga(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 5v1.5H4.75a.25.25 0 00-.243.193L4.5 6.75v12.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V12H19v7.25A1.75 1.75 0 0117.25 21H4.75A1.75 1.75 0 013 19.25V6.75C3 5.784 3.784 5 4.75 5H12zm8.25-2a.75.75 0 01.743.648L21 3.75v4.5a.75.75 0 01-1.493.102L19.5 8.25V5.56l-4.97 4.97a.75.75 0 01-1.133-.976l.073-.084 4.968-4.97H15.75a.75.75 0 01-.743-.648L15 3.75a.75.75 0 01.648-.743L15.75 3h4.5z",fill:"currentColor",fillRule:"evenodd"}))}function fa(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M3.368 4.346l.092.062 18 14a.75.75 0 01-.828 1.246l-.092-.062-3.34-2.597L17 17h-2.5a.75.75 0 01-.102-1.493l.102-.007h.778l-3.536-2.75H7a.75.75 0 110-1.5h2.814l-3.46-2.69a3.501 3.501 0 00.454 6.935L7 15.5h2.5a.75.75 0 01.102 1.493L9.5 17H7a5 5 0 01-2.074-9.55L2.54 5.591a.75.75 0 01.828-1.246zM17 7a5 5 0 013.39 8.676l-1.208-.94a3.5 3.5 0 00-1.99-6.231L17 8.5h-2.5a.75.75 0 01-.102-1.493L14.5 7H17zm0 4.25a.75.75 0 110 1.5h-.372l-1.929-1.5H17z",fill:"currentColor",fillRule:"evenodd"}))}function ha(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13 18a1 1 0 11-2 0 1 1 0 012 0zM11.055 5.99A.97.97 0 0112.03 5a.97.97 0 01.971 1l-.23 7.76a.768.768 0 01-.77.74.768.768 0 01-.77-.748l-.175-7.763z",fill:"currentColor"}))}function va(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11 15.5a2.25 2.25 0 110 4.5 2.25 2.25 0 010-4.5zm5.831 0a2.25 2.25 0 110 4.5 2.25 2.25 0 010-4.5zM11 17a.75.75 0 100 1.5.75.75 0 000-1.5zm5.831 0a.75.75 0 100 1.5.75.75 0 000-1.5zM5.287 4a1.75 1.75 0 011.56.955l.062.138 3.24 8a.25.25 0 00.173.15l.06.007h7.743a.25.25 0 00.204-.105l.028-.054 2.159-5.496a.25.25 0 00-.141-.324l-.045-.013-.047-.005-10.04-.003a.75.75 0 01-.102-1.493l.102-.007 10.04.003A1.75 1.75 0 0121.962 8l-.049.143-2.158 5.497a1.75 1.75 0 01-1.476 1.103l-.153.007h-7.743a1.75 1.75 0 01-1.56-.955l-.062-.138-3.24-8a.25.25 0 00-.173-.15l-.06-.007H2.75a.75.75 0 01-.102-1.493L2.75 4h2.537z",fill:"currentColor",fillRule:"evenodd"}))}function pa(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 4c.966 0 1.75.784 1.75 1.75v12.5A1.75 1.75 0 0120.25 20H3.75A1.75 1.75 0 012 18.25V5.75C2 4.784 2.784 4 3.75 4h16.5zm.25 6h-17v8.25a.25.25 0 00.193.243l.057.007h16.5a.25.25 0 00.243-.193l.007-.057V10zm-.25-4.5H3.75a.25.25 0 00-.243.193L3.5 5.75V8.5h17V5.75a.25.25 0 00-.193-.243L20.25 5.5zM5.5 6.5v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1z",fill:"currentColor",fillRule:"evenodd"}))}function wa(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1l5.762 3.12v6.161L23 13.117v6.763L17.238 23 12 20.164 6.762 23 1 19.88v-6.762l5.238-2.837V4.137L12 1zM6.761 11.183l-4.144 2.244 4.144 2.243 4.143-2.243-4.143-2.244zm4.714 3.12l-4.19 2.269v4.96l4.19-2.27v-4.96zm1.048 4.96l4.19 2.268v-4.96l-4.19-2.268v4.96zm.57-5.837l4.144 2.244 4.144-2.243-4.144-2.244-4.143 2.244zm8.858.877l-4.19 2.269v4.96l4.19-2.27v-4.96zm-9.428-1.753l4.19-2.269V5.305l-4.19 2.27v4.975zm-1.048-4.975l-4.19-2.256v4.962l4.19 2.27V7.574zm-3.62-3.133L12 6.672l4.144-2.243-4.142-2.243-4.145 2.256zm-1.618 17.09v-4.96l-4.19-2.27v4.96l4.19 2.27z",fill:"currentColor"}))}function ba(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.144 16.292a2.853 2.853 0 00-2.754 2.144H7.722a2.857 2.857 0 01-2.856-2.858 2.857 2.857 0 012.856-2.859h1.53a2.842 2.842 0 005.508 0h1.529a4.286 4.286 0 004.283-4.287 4.286 4.286 0 00-4.283-4.288H7.62A2.856 2.856 0 002 4.859a2.856 2.856 0 005.62.715h8.669a2.857 2.857 0 012.855 2.858 2.857 2.857 0 01-2.855 2.858h-1.53a2.842 2.842 0 00-5.508 0h-1.53a4.286 4.286 0 00-4.283 4.288 4.286 4.286 0 004.284 4.287h8.668a2.85 2.85 0 005.6-.964 2.852 2.852 0 00-2.846-2.609zM4.866 6.288a1.429 1.429 0 11.002-2.857 1.429 1.429 0 01-.002 2.857zm7.14 4.287a1.429 1.429 0 11-.002 2.857 1.429 1.429 0 01.001-2.857zm7.138 10.005a1.429 1.429 0 11.002-2.857 1.429 1.429 0 01-.002 2.857z",fill:"currentColor"}))}function Ea(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10 2.25a7.75 7.75 0 015.985 12.674l5.545 5.546a.75.75 0 01-.976 1.133l-.084-.073-5.546-5.545A7.75 7.75 0 1110 2.25zm0 1.5a6.25 6.25 0 100 12.5 6.25 6.25 0 000-12.5zm0 2.75a.75.75 0 01.75.75v2h2a.75.75 0 110 1.5h-2v2a.75.75 0 11-1.5 0v-2h-2a.75.75 0 110-1.5h2v-2A.75.75 0 0110 6.5z",fill:"currentColor",fillRule:"evenodd"}))}const xa={"account-preview":t.forwardRef(W),"accounting-year-cancel":t.forwardRef(J),"accounting-year":t.forwardRef(Y),accounting:t.forwardRef(Q),"ai-chat-solid":t.forwardRef(X),"ai-stars":t.forwardRef(Z),"arrow-bottom":t.forwardRef(ee),"arrow-down":t.forwardRef(te),"arrow-end":t.forwardRef(ne),"arrow-left":t.forwardRef(le),"arrow-right":t.forwardRef(ae),"arrow-start":t.forwardRef(re),"arrow-top":t.forwardRef(oe),"arrow-up":t.forwardRef(ie),"attach-auto":t.forwardRef(se),"attach-cancel":t.forwardRef(ce),"attach-warning":t.forwardRef(ue),attach:t.forwardRef(de),"autotext-insert":t.forwardRef(me),autotext:t.forwardRef(ge),"basic-tabs":t.forwardRef(fe),basic:t.forwardRef(he),"bell-solid":t.forwardRef(ve),book:t.forwardRef(pe),booking:t.forwardRef(we),budget:t.forwardRef(be),calendar:t.forwardRef(Ee),"cash-account":t.forwardRef(xe),"cash-reports":t.forwardRef(ye),"chart-area":t.forwardRef(ze),"chart-bar":t.forwardRef(Re),"chart-line":t.forwardRef(Ce),"chart-pie":t.forwardRef(Se),"chart-table":t.forwardRef(Ne),"chat-solid":t.forwardRef(Ae),chat:t.forwardRef(Oe),"chevron-down-double":t.forwardRef(Ie),"chevron-down-solid":t.forwardRef(Le),"chevron-down":t.forwardRef(He),"chevron-left-double":t.forwardRef(Me),"chevron-left-solid":t.forwardRef(ke),"chevron-left":t.forwardRef(Ve),"chevron-right-double":t.forwardRef(je),"chevron-right-solid":t.forwardRef(Te),"chevron-right":t.forwardRef(De),"chevron-up-double":t.forwardRef(Fe),"chevron-up-solid":t.forwardRef(Pe),"chevron-up":t.forwardRef(Be),"circle-close":t.forwardRef(_e),"circle-information":t.forwardRef(Ge),"circle-minus":t.forwardRef(qe),"circle-plus":t.forwardRef($e),"circle-questionmark":t.forwardRef(Ke),"circle-tick":t.forwardRef(Ue),"circle-warning":t.forwardRef(We),"clamp-open":t.forwardRef(Je),clamp:t.forwardRef(Ye),close:t.forwardRef(Qe),"column-freeze":t.forwardRef(Xe),"column-unfreeze":t.forwardRef(Ze),columns:t.forwardRef(et),"connection-enable":t.forwardRef(tt),"connection-revoke":t.forwardRef(nt),contacts:t.forwardRef(lt),copy:t.forwardRef(at),courses:t.forwardRef(rt),credit:t.forwardRef(ot),"delete-permanently":t.forwardRef(it),delete:t.forwardRef(st),depecriate:t.forwardRef(ct),developer:t.forwardRef(ut),"distribution-template":t.forwardRef(dt),"document-approve":t.forwardRef(mt),"document-create-entry":t.forwardRef(gt),"document-cut":t.forwardRef(ft),"document-error":t.forwardRef(ht),"document-isolate-page":t.forwardRef(vt),"document-merge":t.forwardRef(pt),"document-move":t.forwardRef(wt),"document-preview":t.forwardRef(bt),"document-received":t.forwardRef(Et),"document-rejected-request":t.forwardRef(xt),"document-split":t.forwardRef(yt),"document-time":t.forwardRef(zt),document:t.forwardRef(Rt),download:t.forwardRef(Ct),drag:t.forwardRef(St),"e-copedia":t.forwardRef(Nt),"e-signature":t.forwardRef(At),"edit-simple":t.forwardRef(Ot),edit:t.forwardRef(It),"ellipsis-horizontal":t.forwardRef(Lt),"ellipsis-vertical":t.forwardRef(Ht),"entries-on-account":t.forwardRef(Mt),"entries-open":t.forwardRef(kt),"entries-warning":t.forwardRef(Vt),"entry-type-customer-invoice":t.forwardRef(jt),"entry-type-customer-payment":t.forwardRef(Tt),"entry-type-journal-entry":t.forwardRef(Dt),"entry-type-manual-customer-invoice":t.forwardRef(Ft),"entry-type-supplier-invoice":t.forwardRef(Pt),"entry-type-supplier-payment":t.forwardRef(Bt),"envelope-approved":t.forwardRef(_t),"envelope-solid":t.forwardRef(Gt),envelope:t.forwardRef(qt),"expand-view":t.forwardRef($t),expenses:t.forwardRef(Kt),"export-to-excel":t.forwardRef(Ut),"export-to-pdf":t.forwardRef(Wt),export:t.forwardRef(Jt),"eye-off":t.forwardRef(Yt),"eye-on":t.forwardRef(Qt),"filter-solid":t.forwardRef(Xt),filter:t.forwardRef(Zt),"font-size":t.forwardRef(en),"graph-solid":t.forwardRef(tn),hash:t.forwardRef(nn),"height-extra-tall":t.forwardRef(ln),"height-medium":t.forwardRef(an),"height-short":t.forwardRef(rn),"height-tall":t.forwardRef(on),home:t.forwardRef(sn),images:t.forwardRef(cn),import:t.forwardRef(un),"inbox-einvoicing":t.forwardRef(dn),"inbox-scanning":t.forwardRef(mn),"inbox-smart":t.forwardRef(gn),inbox:t.forwardRef(fn),info:t.forwardRef(hn),"inventory-matrix":t.forwardRef(vn),inventory:t.forwardRef(pn),"journal-pro":t.forwardRef(wn),"layout-both":t.forwardRef(bn),"layout-first":t.forwardRef(En),"layout-last":t.forwardRef(xn),"layout-none":t.forwardRef(yn),layout:t.forwardRef(zn),"ledger-card-customer-reminder":t.forwardRef(Rn),"ledger-card-manual-customer-invoice":t.forwardRef(Cn),"ledger-card-obsolete-stock":t.forwardRef(Sn),"ledger-card-opening-entry":t.forwardRef(Nn),"ledger-card-reserved-entry":t.forwardRef(An),"ledger-card-shrinkage-pilferage":t.forwardRef(On),"ledger-card-stock-adjustment":t.forwardRef(In),"ledger-card-transferred-opening-entry":t.forwardRef(Ln),"ledger-card":t.forwardRef(Hn),lightbulb:t.forwardRef(Mn),line:t.forwardRef(kn),"list-bulleted":t.forwardRef(Vn),"list-search":t.forwardRef(jn),list:t.forwardRef(Tn),location:t.forwardRef(Dn),"lock-open":t.forwardRef(Fn),lock:t.forwardRef(Pn),"log-out":t.forwardRef(Bn),log:t.forwardRef(_n),market:t.forwardRef(Gn),"match-amount":t.forwardRef(qn),"match-entries":t.forwardRef($n),menu:t.forwardRef(Kn),mileage:t.forwardRef(Un),"modal-resize":t.forwardRef(Wn),"modal-shrink":t.forwardRef(Jn),"more-solid":t.forwardRef(Yn),more:t.forwardRef(Qn),move:t.forwardRef(Xn),"navigation-list":t.forwardRef(Zn),"note-follow-up":t.forwardRef(el),"note-read":t.forwardRef(tl),note:t.forwardRef(nl),numbers:t.forwardRef(ll),"partner-api":t.forwardRef(al),"payment-paid":t.forwardRef(rl),"payment-unpaid":t.forwardRef(ol),period:t.forwardRef(il),"person-change":t.forwardRef(sl),"person-minus":t.forwardRef(cl),"person-plus":t.forwardRef(ul),"person-tick":t.forwardRef(dl),"phone-solid":t.forwardRef(ml),play:t.forwardRef(gl),"plus-minus":t.forwardRef(fl),print:t.forwardRef(hl),"process-payment":t.forwardRef(vl),"product-ledger-card":t.forwardRef(pl),profile:t.forwardRef(wl),"project-cards":t.forwardRef(bl),projects:t.forwardRef(El),"question-mark-bold":t.forwardRef(xl),"question-mark":t.forwardRef(yl),quicklinks:t.forwardRef(zl),"rating-bankruptcy":t.forwardRef(Rl),"rating-payment-problems":t.forwardRef(Cl),reconciled:t.forwardRef(Sl),refresh:t.forwardRef(Nl),"report-solid":t.forwardRef(Al),report:t.forwardRef(Ol),restore:t.forwardRef(Il),"rotate-left":t.forwardRef(Ll),"rotate-right":t.forwardRef(Hl),sales:t.forwardRef(Ml),"search-bold":t.forwardRef(kl),search:t.forwardRef(Vl),"secure-tick":t.forwardRef(jl),secure:t.forwardRef(Tl),"settings-solid":t.forwardRef(Dl),settings:t.forwardRef(Fl),shortcuts:t.forwardRef(Pl),"show-all":t.forwardRef(Bl),"show-less":t.forwardRef(_l),"show-more":t.forwardRef(Gl),"show-template":t.forwardRef(ql),sliders:t.forwardRef($l),smartpay:t.forwardRef(Kl),"sort-by":t.forwardRef(Ul),"star-solid":t.forwardRef(Wl),star:t.forwardRef(Jl),subscriptions:t.forwardRef(Yl),"system-entries":t.forwardRef(Ql),tag:t.forwardRef(Xl),"template-override":t.forwardRef(Zl),templates:t.forwardRef(ea),"thumb-both":t.forwardRef(ta),"thumb-down-solid":t.forwardRef(na),"thumb-down":t.forwardRef(la),"thumb-up-solid":t.forwardRef(aa),"thumb-up":t.forwardRef(ra),"tick-bold":t.forwardRef(oa),tick:t.forwardRef(ia),time:t.forwardRef(sa),"transfer-cancel":t.forwardRef(ca),"transfer-locked":t.forwardRef(ua),transfer:t.forwardRef(da),undo:t.forwardRef(ma),undock:t.forwardRef(ga),unreconciled:t.forwardRef(fa),warning:t.forwardRef(ha),webshop:t.forwardRef(va),website:t.forwardRef(pa),"workflow-template-basic":t.forwardRef(wa),workflow:t.forwardRef(ba),zoom:t.forwardRef(Ea)},ya=n.forwardRef((function(e,t){var a;const{name:r,...o}=e,i=xa[r],s=l("inline-flex h-[1.715em] w-[1.715em] flex-shrink-0",e.className,{"p-[3px]":null===(a=e.className)||void 0===a?void 0:a.includes("rounded-full")});return i?n.createElement(i,Object.assign({},o,{className:s,"data-taco":"icon","data-icon-name":r,focusable:"false",ref:t,role:"img"})):null})),za=t.forwardRef((function(e,n){const{color:a,icon:r,subtle:o,small:i,...s}=e,c=l("rounded-full border overflow-hidden whitespace-nowrap inline-flex items-center justify-center border-transparent [&>*]:max-h-full",{"w-5 h-5":!i},{"w-4 h-4 text-xs":i},{[K(a)]:o,[U(a)]:!o},e.className);return t.createElement("span",Object.assign({},s,{"aria-label":"icon",className:c,"data-taco":"badge-icon",ref:n,role:"status",title:e["aria-label"]}),t.createElement(ya,Object.assign({name:r},{strokeWidth:1,stroke:"currentColor"})))})),Ra=e=>{switch(e){case"information":return"info";case"warning":return"warning";case"error":return"close";case"success":return"tick";default:return"question-mark"}},Ca=n.forwardRef((function(e,t){const{children:a,title:r,state:o,onClose:i}=e,s=l("flex w-full flex-row items-start gap-2 rounded-md border-transparent p-3 "+K(q(o)),e.className);return n.createElement("div",Object.assign({},e,{ref:t,className:s,"data-taco":"alert",role:"alert"}),n.createElement(za,{className:"flex-none",icon:Ra(o),color:q(o)}),n.createElement("div",{className:"grow text-sm"},r&&n.createElement("div",{className:"font-bold"},r),a),i&&n.createElement(ya,{className:"flex-none cursor-pointer",name:"close",onClick:i}))})),Sa=n.createContext({props:{},ref:null});function Na(e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}const Aa=t.forwardRef((function(e,l){const{ref:r,props:o}=n.useContext(Sa),i=Na([r,l]);return t.createElement(a.Trigger,Object.assign({},o,e,{ref:i,asChild:!0}))})),Oa=t.forwardRef((function(e,n){return t.createElement("div",Object.assign({},e,{className:"flex justify-end gap-2",ref:n}),e.children)})),Ia=t.forwardRef((function(e,n){return t.createElement(a.Cancel,Object.assign({},e,{ref:n,asChild:!0}))})),La=t.forwardRef((function(e,n){return t.createElement(a.Action,Object.assign({},e,{className:e.className,ref:n,asChild:!0}))})),Ha=t.forwardRef((function(e,n){const a=l("fixed inset-0 cursor-default overflow-y-auto bg-blue-900/[0.3] aria-hidden:invisible print:overflow-visible print:absolute",e.className);return t.createElement("div",Object.assign({},e,{className:a,"data-taco":"backdrop",ref:n}))})),Ma=e=>{switch(e){case"dialog":return"w-128";case"xs":return"w-xs";case"sm":return"w-sm";case"md":return"w-md";case"lg":return"w-lg"}},ka=t.forwardRef((function(e,n){const r=l("text-center",e.className);return t.createElement(a.Title,Object.assign({},e,{className:r,ref:n}))})),Va=t.forwardRef((function(e,n){const r=l("p-6","mt-16 mx-auto","bg-white rounded animate-[fade-in_150ms] shadow-[0_6px_9px_0_rgba(89,85,98,0.3),0_0_1px_0_rgba(89,85,98,0.2)]",Ma("dialog"));return t.createElement(a.Portal,null,t.createElement(a.Overlay,{asChild:!0},t.createElement(Ha,null,t.createElement(a.Content,Object.assign({},e,{ref:n,className:r,onEscapeKeyDown:e=>e.preventDefault()}),e.children))))})),ja=t.forwardRef((function(e,n){const{defaultOpen:l,onChange:r,open:o,trigger:i,...s}=e,c=t.useMemo(()=>({props:s,ref:n}),[o,s]);return t.createElement(Sa.Provider,{value:c},t.createElement(a.Root,Object.assign({},e,{defaultOpen:l,open:o,onOpenChange:r}),i&&t.createElement(Aa,null,i),e.children))}));ja.Trigger=Aa,ja.Content=Va,ja.Title=ka,ja.Cancel=Ia,ja.Action=La,ja.Footer=Oa;const Ta=n.createContext({as:"h2"}),Da=n.forwardRef((function(e,t){const a=!!e["aria-expanded"],r=l("w-full inline-flex justify-between items-center align-middle","focus:rounded-sm focus:border-blue-500 focus:yt-focus",e.className);return n.createElement("button",Object.assign({},e,{ref:t,className:r}),e.children,n.createElement(ya,{name:a?"chevron-up":"chevron-down"}))})),Fa=n.forwardRef((function(e,t){const{children:l}=e,{as:a}=n.useContext(Ta);return n.createElement(r.Header,{asChild:!0},n.createElement(a,{className:"my-3"},n.createElement(r.Trigger,{ref:t,asChild:!0},n.createElement(Da,null,l))))})),Pa=n.forwardRef((function(e,t){return n.createElement(r.Content,Object.assign({},e,{ref:t}))})),Ba=e=>{const{id:t,defaultId:a,onChange:o,as:i="h2",...s}=e,c=n.useMemo(()=>({as:i}),[i]);let u;u=a?{defaultValue:a||void 0}:{onValueChange:o,value:t||void 0};const d="string"==typeof u.defaultValue||"string"==typeof u.value?"single":"multiple",m=l("divide-y divide-grey-200",e.className);return n.createElement(Ta.Provider,{value:c},n.createElement(r.Root,Object.assign({},s,u,{"data-taco":"accordion",className:m,type:d})))};Ba.Item=e=>{const{id:t,...l}=e;return n.createElement(r.Item,Object.assign({},l,{value:t}))},Ba.Trigger=Fa,Ba.Content=Pa;const _a=t.forwardRef((function(e,n){return t.createElement("span",Object.assign({},e,{className:"sr-only",ref:n}))})),Ga=t.forwardRef((function(e,n){const{children:a,compact:r=!1,outline:o=!1,status:i=!1,subtle:s=!1,small:c=!1,color:u,...d}=e,m="transparent"===u,g=l("rounded-full border overflow-hidden whitespace-nowrap inline-flex items-center justify-center",{["border "+$(u)]:o,["border-transparent font-normal "+K(u)]:s,["border-transparent "+U(u)]:!o&&!s,"h-4 min-w-0 py-0 px-1 text-xs":c,"h-2 w-2 min-w-0":r,"font-bold":o||!s,"text-sm":!c,"h-5 py-0 px-1.5":!r&&!c,"!bg-grey-700":r&&m},e.className);return t.createElement("span",Object.assign({},d,{"aria-atomic":"true","aria-live":"polite",className:g,"data-taco":"badge",ref:n,role:"status",title:e["aria-label"]}),r?t.createElement(_a,null,a):i?t.createElement(t.Fragment,null,t.createElement("div",{className:l("mr-1 h-2 w-2 rounded-full",U(u))}),a):a)})),qa=e=>{const t=n.useRef(null);return n.useEffect(()=>{e&&("function"==typeof e?e(t.current):e.current=t.current)},[e]),t},$a=(e,t=0)=>{let n=0,l=null;const a=e.getBoundingClientRect();for(const r of Array.from(e.children)){if(r.getBoundingClientRect().right-a.left>a.width-t){l=n;break}n++}return l},Ka=e=>{switch(null==e?void 0:e.getAttribute("role")){case"dialog":return`[aria-controls='${e.id}']`;case"menu":return"#"+e.getAttribute("aria-labelledby");default:return}};function Ua(e,t){var n,l;const a=null!==(n=Ka(e))&&void 0!==n?n:Ka(null!==(l=null==e?void 0:e.closest("[role=dialog],[role=menu]"))&&void 0!==l?l:null);return a?!(null==t||!t.querySelector(a)):!(null==t||!t.contains(e))}function Wa(e){const t=e;return["A","BUTTON","INPUT","TEXTAREA","SELECT","LABEL","OPTION"].includes(t.tagName)&&!t.hidden&&!t.disabled&&!t.readOnly}function Ja(e){return Xa()?e.metaKey:e.ctrlKey}function Ya(e,t){const n="string"==typeof t?{key:t,meta:!1,shift:!1}:t;return!(n.meta&&(Xa()?!e.metaKey:!e.ctrlKey)||!n.meta&&(Xa()?e.metaKey:e.ctrlKey)||n.shift&&!e.shiftKey||!1===n.shift&&e.shiftKey||e.key.toLowerCase()!==n.key.toLowerCase())}function Qa(e,t,n=!0){return function(l){var a;l.target!==l.currentTarget&&Wa(l.target)&&!Ja(l)||Ya(l,e)&&(n&&(l.stopPropagation(),null===(a=l.stopImmediatePropagation)||void 0===a||a.call(l)),t(l))}}const Xa=()=>{var e;return null===(e=window)||void 0===e?void 0:e.navigator.userAgent.includes("Mac")},Za=(e,t)=>{n.useEffect(()=>{let n;return e&&(n=Qa(e,t,!1),document.addEventListener("keydown",n)),()=>{n&&document.removeEventListener("keydown",n)}},[e,t])},er=t.forwardRef((function(e,n){const{disabled:l,shortcut:a,target:r,type:o="button",...i}=e,s=qa(n);Za(a,e=>{var t;null==e||e.preventDefault();const n=document.querySelector('[role="dialog"]');(!n||null!=n&&n.contains(s.current))&&(null===(t=s.current)||void 0===t||t.click())});const c=e.href?"a":"button";return t.createElement(c,Object.assign({},i,{"aria-disabled":l?"true":void 0,disabled:l,target:"a"===c?r:void 0,type:"a"!==c?o:void 0,ref:s}),t.Children.count(e.children)>1?t.Children.map(e.children,e=>"string"==typeof e?t.createElement("span",null,e):e):e.children)})),tr=t.forwardRef((function(e,n){const{title:a,children:r,placement:i,hide:s=!1,...c}=e,u=l(c.className);return s?r:t.createElement(o.Root,{delayDuration:250},t.createElement(o.Trigger,{asChild:!0,ref:n},r),t.createElement(o.Portal,null,t.createElement(o.Content,Object.assign({},c,{asChild:!0,className:u,side:i,sideOffset:3}),t.createElement("div",{className:"xs:max-w-[theme(spacing.56)] max-w-[theme(spacing.32)] animate-[fade-in_150ms] rounded-sm bg-blue-900 px-2 py-1 text-xs font-bold text-white print:hidden","data-taco":"tooltip",style:{transformOrigin:"var(--radix-tooltip-content-transform-origin)"}},t.createElement(o.Arrow,{className:"-mt-px fill-blue-900/90 stroke-blue-900/90"}),a))))})),nr=(e,t=!1)=>{switch(e){case"primary":return"wcag-blue-500 enabled:hover:wcag-blue-700 enabled:hover:active:wcag-blue-500 disabled:bg-blue-500/50";case"danger":return"wcag-red-500 enabled:hover:wcag-red-700 enabled:hover:active:wcag-red-500 disabled:bg-red-500/50";case"ghost":return"bg-white border border-blue-500 text-blue-500 enabled:hover:bg-blue-100 enabled:hover:text-blue-700 disabled:border-blue-500/50 disabled:text-blue-500/50";case"discrete":return t?"bg-transparent text-black enabled:hover:bg-[#000]/[0.08] disabled:text-black/30":"bg-transparent text-blue-500 enabled:hover:text-blue-700 disabled:text-blue-500/50";case"transparent":return"bg-transparent text-black enabled:hover:text-black enabled:hover:bg-[#000]/[0.08] disabled:text-black/30";default:return"wcag-grey-200 enabled:hover:wcag-grey-300 disabled:bg-grey-200/50 disabled:text-black/30"}},lr=(e,t,l)=>{const{tooltip:a,...r}=e,o=n.createElement(er,Object.assign({},r,{className:t,ref:l}));return a?n.createElement(tr,{title:a},o):o},ar=(e,t)=>{const{dialog:n,drawer:l,hanger:a,menu:r,popover:o}=e;let i=t;return"function"==typeof n?i=n({trigger:i}):"function"==typeof l?i=l({trigger:i}):"function"==typeof r?i=r({trigger:i}):"function"==typeof o&&(i=o({trigger:i})),"function"==typeof a&&(i=a({anchor:i})),i},rr=t.forwardRef((function(e,n){const{icon:a,rounded:r=!1,...o}=e,i=l("w-8","flex-shrink-0 min-h-[theme(spacing.8)] min-w-[theme(spacing.8)] gap-1 h-max leading-5 inline-flex items-center justify-center focus-visible:yt-focus disabled:cursor-not-allowed",nr(o.appearance,!0),{"rounded-full":r,rounded:!r},e.className);return a?lr({...o,children:t.createElement(ya,{name:a,className:"m-0 p-0"}),"data-taco":"icon-button"},i,n):null})),or=t.forwardRef((function(e,n){const{dialog:l,hanger:a,menu:r,popover:o,...i}=e,s=t.createElement(rr,Object.assign({},i,{ref:n}));return ar({dialog:l,hanger:a,menu:r,popover:o},s)})),ir={banner:{close:"Close"},calendar:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],actions:{previousMonth:"Previous month",nextMonth:"Next month",previousYear:"Previous year",nextYear:"Next year",today:"Today"}},combobox:{tooltip:"Search in list"},datepicker:{calendar:"Calendar",clear:"Clear",expand:"Show calendar",shortcuts:"Shortcuts"},dialog:{close:"Close",drag:"Drag"},hanger:{close:"Close"},header:{addAgreement:"Add agreement",logout:"Log off",more:"More",new:"New",search:"Search for agreement..."},listbox:{loading:"Loading results...",empty:"No results found",allOption:"All"},pagination:{label:"Pagination",pageSize:"Items per page",showingXofYofTotal:"Showing [X] - [Y] of [total]",actions:{firstPage:"Goto first page",firstPageWithShortcut:"Goto first page (Home)",previousPage:"Goto previous page",previousPageWithShortcut:"Goto previous page (Page Up)",nextPage:"Goto next page",nextPageWithShortcut:"Goto next page (Page Down)",lastPage:"Goto last page",lastPageWithShortcut:"Goto last page (End)",pageX:"Goto page [X]"}},table:{actions:"Other actions",edit:"Edit (e)",copy:"Copy (c)",del:"Delete (del)",newSubRow:"New row (shift + n)",loading:"Loading..."},table3:{columns:{actions:{tooltip:"Row actions"},drag:{tooltip:"Drag row"},expansion:{collapse:"Collapse row",collapseAll:"Collapse all rows",expand:"Expand row",expandAll:"Expand all rows"},menu:{freezeFirstColumn:"Freeze the first column",freezeUptoColumn:"Freeze first [TOTAL] columns",freezeColumns:(e=1)=>1===e?"Freeze the first column":`Freeze first ${e} columns`,gotoRow:"Go to",hideColumn:"Hide column",unfreezeColumns:"Unfreeze all columns",sorting:"Sorting",sortingOrder:{ascending:"Ascending order",descending:"Descending order",unsorted:"No sorting"}},resize:{tooltip:"Resize column"},select:{deselect:"Deselect row",deselectAll:"Deselect all rows",select:"Select row",selectAll:"Select all rows"}},columnSettings:{search:"Search column...",tooltip:"Column settings",button:"Column settings",noResults:"No results"},editing:{actions:{tooltip:"Row actions",save:"Save",clear:"Clear changes",exit:"Exit edit mode"},buttons:{edit:{tooltip:"Edit table"}},rowIndicator:{rowWillMove:"Row will move due to sorting",rowWillBeHidden:"Row will hide due to filtering",rowWillMoveReasonSearch:"Due to a search filter applied to this table, this row will be hidden as soon as you select another row",rowWillMoveReasonFilter:"Due to a filter applied to the column '[COLUMN]', this row will be hidden as soon as you select another row",rowWillMoveReasonSorting:"Due to sorting applied to the column '[COLUMN]', this row will move position as soon as you select another row"},saving:{progress:"Saving...",complete:"Saved"},clearChangesConfirmationDialog:{title:"Discard changes",description:"Are you sure you want to discard changes on row ‘[ROW_IDENTIFIER] [ROW_IDENTIFIER_VALUE]’. Your changes will be lost.",cancel:"Continue edititng",confirm:"Discard"}},filters:{button:"Filters",buttons:{addFilter:"Add new filter",clearFilters:"Clear all filters"},comparators:{contains:"Contains",doesNotContain:"Does not contain",isEqualTo:"Is",isNotEqualTo:"Is not",isGreaterThan:"Is greater than",isLessThan:"Is less than",isBetween:"Is between",isOneOf:"Is one of",isNoneOf:"Is none of",isAllOf:"Is all of",isEmpty:"Is empty",isNotEmpty:"Is not empty",isBefore:"Is before",isAfter:"Is after",isOnOrBefore:"Is on or before",isOnOrAfter:"Is on or after",isLessThanOrEqualTo:"Is less than or equal to",isGreaterThanOrEqualTo:"Is greater than or equal to",hasAnyOf:"Has any of",hasAllOf:"Has all of",hasNoneOf:"Has none of"},conditions:{and:"And",where:"Where"},emptyFilter:{condition:"Condition",value:"Value"},hiddenColumn:"Hidden column",hiddenGroupedColumn:"Hidden grouped column",tooltip:"Apply filters",total:"Viewing [CURRENT] of [TOTAL]"},fontSize:{tooltip:"Font size",sizes:{small:"Small",medium:"Medium",large:"Large"}},footer:{summary:{count:"of",records:"Records:",selected:"Records selected:"}},print:{error:"An error occurred while creating a print preview",loading:"Creating a print preview",tooltip:"Print",warningDialog:{title:"Extra loading time",description:"Please note that printing a large amount of data may result in a slightly longer waiting time due to data loading.",checkboxVisibilityLabel:"Don't show again",cancelButtonText:"Cancel",printButtonText:"Print"},settingsDialog:{title:"Print settings",size:"Paper size",sizeA5:"A5",sizeA4:"A4",sizeA3:"A3",sizeLetter:"Letter",sizeLegal:"Legal",orientation:"Paper orientation",orientationLandscape:"Landscape",orientationPortrait:"Portrait",rows:"Print rows",rowsAll:"All",rowsSelected:"Selected",layout:"Page layout",layoutSplitGroups:"New page for each [COLUMN]"}},rowHeight:{tooltip:"Row height",sizes:{short:"Short",medium:"Medium",tall:"Tall",extraTall:"Extra tall"}},search:{excludeUnmatchedResults:"Show only search results",placeholder:"Search..."},shortcuts:{tooltip:"View keyboard shortcuts",search:"Search",filter:"Filter",previousRow:"Previous row",nextRow:"Next row",editCell:"Edit cell",previousColumn:"Previous column",nextColumn:"Next column",rowClick:"Activate current row",selectRow:"Select current row",selectAllRows:"Select all rows",expandRow:"Expand current row",collapseRow:"Collapse current row"},otherOptions:{tooltip:"Table settings"},validation:{index:"Index",alert:{unsavedEntries:(e=1)=>1===e?"unsaved entry:":"unsaved entries:",incompleteAndHavntBeenSaved:(e=1)=>1===e?"is incomplete and haven’t been saved.":"are incomplete and haven’t been saved."},resetFiltersDialog:{title:"Row is hidden",description:"The row is hidden due to filtering.",cancel:"Cancel",confirm:"Remove filters"}}},searchInput:{button:"Search",findNext:"Next",findPrevious:"Previous",placeholder:"Search...",clear:"Clear"},select:{allOptionsSelected:"All"},select2:{allSelect:"Select all",allDeselect:"Deselect all",cancel:"Cancel",chooseColor:"Pick a color",create:"Create",delete:"Delete",save:"Save",search:"Search...",searchOrCreate:"Search or create..."},toasts:{dismiss:"Dismiss"},tour:{back:"Back",close:"Close",skip:"Close and complete",last:"Done",next:"Next",open:"Open"},drawer:{close:"Close"}},sr={locale:"en-GB",texts:ir,formatting:{date:"dd.mm.yy"}},cr=t.createContext(sr),ur=({localization:e,children:n})=>t.createElement(cr.Provider,{value:null!=e?e:sr},n),dr=()=>t.useContext(cr),mr=t.forwardRef((function(e,a){const{children:r,state:o,onClose:i}=e,{texts:s}=dr(),c=l("bg-white relative flex items-center gap-2 py-2 px-4 leading-6 shadow-md z-10",e.className);return t.createElement("div",{className:c,"data-taco":"banner",ref:a},(u=o,n.createElement("div",{className:"mt-[5px] self-start"},(()=>{switch(u){case"success":return n.createElement(za,{icon:"tick",color:"green"});case"error":return n.createElement(za,{icon:"close",color:"red"});case"warning":return n.createElement(za,{icon:"warning",color:"yellow"});case"information":return n.createElement(za,{icon:"info",color:"blue"});default:return null}})())),r,i?t.createElement(or,{"aria-label":s.banner.close,className:"-mr-2 ml-auto self-start",icon:"close",appearance:"discrete",onClick:i}):null);var u})),gr=t.forwardRef((function(e,t){const{appearance:n,fluid:a,...r}=e,o=l("flex-shrink-0 min-h-[theme(spacing.8)] min-w-[theme(spacing.8)] gap-1 h-max leading-5 inline-flex items-center justify-center focus-visible:yt-focus disabled:cursor-not-allowed",nr(n),"rounded px-3",{"w-full":a},e.className);return lr({...r,"data-taco":"button"},o,t)})),fr=t.forwardRef((function(e,n){const{dialog:l,drawer:a,hanger:r,menu:o,popover:i,...s}=e;let c=s.children;"function"==typeof o&&(c=Array.isArray(c)?[...c,t.createElement(ya,{key:"chevron-down",name:"chevron-down"})]:[c,t.createElement(ya,{key:"chevron-down",name:"chevron-down"})]);const u=t.createElement(gr,Object.assign({},s,{ref:n}),c);return ar({dialog:l,drawer:a,hanger:r,menu:o,popover:i},u)})),hr=(new Date).getFullYear(),vr=[];for(let e=hr-50;e<=hr+10;e+=1)vr.push(e);const pr=t.memo(({onMonthChange:e,onNextClick:n,onPreviousClick:l,value:a=new Date})=>{const{texts:{calendar:{actions:r,months:o}}}=dr(),i=function(t){const{year:n,month:l}=t.target.form;e(new Date(n.value,l.value))};return t.createElement("div",{className:"mb-1 flex items-center justify-between"},t.createElement("form",{className:"inline-flex space-x-1"},t.createElement("select",{className:"h-8 px-2",name:"month",onChange:i,value:a.getMonth()},o.map((e,n)=>t.createElement("option",{key:e,value:n},e))),t.createElement("select",{className:"h-8 px-2",name:"year",onChange:i,value:a.getFullYear()},vr.map(e=>t.createElement("option",{key:e,value:e},String(e))))),t.createElement("div",null,t.createElement(tr,{title:r.previousMonth},t.createElement(or,{appearance:"discrete",icon:"chevron-left","aria-label":r.previousMonth,onClick:()=>l(),rounded:!0})),t.createElement(tr,{title:r.nextMonth},t.createElement(or,{appearance:"discrete",icon:"chevron-right","aria-label":r.nextMonth,onClick:()=>n(),rounded:!0}))))}),wr=t.forwardRef((function(e,n){const{onChange:a,value:r,disabledDays:o,...s}=e,{locale:c,texts:u}=dr(),[d,m]=t.useState(null!=r?r:new Date);t.useEffect(()=>{d!==r&&m(null!=r?r:new Date)},[r]);const g=l("flex bg-white text-xs p-2",s.className);return t.createElement("div",{"data-taco":"calendar"},t.createElement(i,Object.assign({},s,{className:g,month:d,selectedDays:r,locale:c.substring(0,2),firstDayOfWeek:1,months:u.calendar.months,weekdaysLong:u.calendar.weekdays,weekdaysShort:u.calendar.weekdaysShort,navbarElement:e=>t.createElement(pr,Object.assign({},e,{onMonthChange:m,value:d})),onDayClick:(e,t,n)=>{t.outside||t.disabled||a(e,n)},onMonthChange:m,onTodayButtonClick:()=>{const e=new Date;e.setHours(12),e.setMinutes(0),e.setSeconds(0),a(e)},captionElement:()=>null,todayButton:u.calendar.actions.today,numberOfMonths:1,ref:n,disabledDays:o})))})),br=t.forwardRef((function(e,n){const{noPadding:a,...r}=e,o=l("flex-grow overflow-auto",{"mx-4 mb-4":!a},r.className);return t.createElement("div",Object.assign({},r,{className:o,ref:n}))})),Er=t.forwardRef((function(e,n){const{title:a,menu:r,children:o}=e,i=l('bg-white flex flex-col rounded-xl border border-solid border-radius-[12px] border-grey-300 hover:border-grey-500 [&_[data-taco="table2"]]:!border-0',e.className);return t.createElement("div",{className:i,"data-taco":"card",ref:n},t.createElement("div",{className:"mx-4 mb-2 mt-4 flex"},a&&t.createElement("h4",{className:"mb-0 flex-grow text-left"},a),r?t.createElement(or,{icon:"ellipsis-horizontal",appearance:"discrete",menu:r,className:"-mt-[4px]"}):null),o)}));Er.Content=br;const xr=e=>n.useMemo(()=>null!=e?e:c.v4(),[]),yr=t.forwardRef((function(e,n){const{checked:a,indeterminate:r,invalid:o,label:i,onChange:c,...u}=e,d=xr(e.id),m=l("bg-white h-5 w-5 border rounded text-sm flex-shrink-0 mt-[0.1rem] focus-visible:yt-focus disabled:cursor-not-allowed text-white",{"self-start":!!i},o?{"border-red-500 hover:border-red-700 aria-checked:border-red-500 aria-checked-mixed:border-red-500 aria-checked:bg-red-500 aria-checked-mixed:bg-red-500 aria-checked:hover:border-red-700 aria-checked-mixed:hover:border-red-700 aria-checked:hover:bg-red-700 aria-checked-mixed:hover:bg-red-700":!e.disabled,"border-red-500/50 aria-checked:wcag-red-500/50 aria-checked-mixed:wcag-red-500/50":e.disabled}:{"border-grey-500 hover:border-grey-700 aria-checked:border-blue-500 aria-checked-mixed:border-blue-500 aria-checked:bg-blue-500 aria-checked-mixed:bg-blue-500 aria-checked:hover:border-blue-700 aria-checked-mixed:hover:border-blue-700 aria-checked:hover:bg-blue-700 aria-checked-mixed:hover:bg-blue-700":!e.disabled,"border-grey-500/50 aria-checked:bg-blue-500/50 aria-checked-mixed:bg-blue-500/50":e.disabled},e.className);let g;c&&(g=e=>c("indeterminate"!==e&&e));let f=null;i&&(f={"aria-labelledby":d+"-label",id:d});const h=t.createElement(s.Root,Object.assign({},u,f,{"aria-invalid":o?"true":void 0,"data-taco":"checkbox",checked:r?"indeterminate":a,className:m,onCheckedChange:g,onKeyDown:e=>{"Enter"===e.key&&e.currentTarget.click()},ref:n}),t.createElement(s.Indicator,{className:"flex h-full w-full"},t.createElement(ya,{name:r?"line":"tick",className:"!h-full !w-full"})));if(i){const n=l("flex items-center cursor-pointer gap-2",{"cursor-not-allowed text-grey-300":e.disabled});return t.createElement("span",{className:n,"data-taco":"checkbox-container"},h,t.createElement("label",{htmlFor:d,id:d+"-label"},i))}return h}));yr.displayName="Checkbox";const zr=e=>{const t=e.disabled||!!e["aria-disabled"],n=e.readOnly||!!e["aria-readonly"],a=e.invalid||!!e["aria-invalid"];return l("peer text-black text-sm border font-normal not-italic no-underline rounded flex items-center leading-6 px-2 relative w-full text-ellipsis transition-colors transition-opacity ease-in min-h-[theme(spacing.8)] focus-visible:yt-focus","[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none",{"bg-white":!e.highlighted&&!n,"border-grey-300 enabled:hover:border-grey-500 disabled:border-grey-200":!a,"text-opacity-25 cursor-not-allowed placeholder:text-grey-700":t,"bg-yellow-100/50":e.highlighted&&t,"bg-yellow-100":e.highlighted&&!t,"border-red-500 enabled:hover:border-red-700 disabled:border-red-500/50":a,"cursor-not-allowed text-black bg-grey-200":n})},Rr=(e,t)=>{let n;return function(...l){clearTimeout(n),n=setTimeout(()=>e.apply(this,l),t)}},Cr=e=>Boolean(e&&(e.offsetWidth||e.offsetHeight||e.getClientRects().length)),Sr=(e,n)=>{const[l,a]=t.useState(void 0),r=Cr(e.current),[o,i]=t.useState(r),s=()=>{var t;o&&a(null===(t=e.current)||void 0===t?void 0:t.getBoundingClientRect())};return t.useEffect(()=>{const e=setTimeout(s,0),t=Rr(s,250);return window.addEventListener("resize",t),()=>{clearTimeout(e),window.removeEventListener("resize",t)}},[e.current,o]),t.useEffect(()=>{const t=Cr(e.current);o!==t&&i(t)}),t.useEffect(()=>{var t;n&&a(null===(t=e.current)||void 0===t?void 0:t.getBoundingClientRect())},n),l},Nr=["text","search","url","tel","password"],Ar=t.forwardRef((function(e,n){const{highlighted:a,invalid:r,onKeyDown:o,postfix:i,prefix:s,type:c="text",...u}=e,d=qa(n);t.useLayoutEffect(()=>{var e;d.current&&"number"===c&&(e=d.current.setSelectionRange,d.current.setSelectionRange=function(...t){"number"===this.type?(this.type="text",e.apply(this,t),this.type="number"):e.apply(this,t)})},[]);const m=t.useRef(null),g=Sr(m),f=t.useRef(null),h=Sr(f,[i]),v=l(zr(e),{"pl-8":!!s,"pr-8":!!i},u.className),p={type:c};return"number"===c&&(p.onWheelCapture=e=>{document.activeElement===e.currentTarget&&requestAnimationFrame(()=>{e.target.focus()}),e.currentTarget.blur()}),t.createElement("div",{className:"relative inline-flex h-fit w-full","data-taco":"input-container",style:{opacity:.999}},t.createElement("input",Object.assign({},u,p,{"aria-invalid":r,className:v,"data-highlighted":a,"data-taco":"input",onKeyDown:e=>{if(1!==e.key.length||Ja(e)||e.stopPropagation(),Nr.includes(c)&&!e.shiftKey&&("Home"===e.key||"End"===e.key)){e.preventDefault();const t="End"===e.key?e.currentTarget.value.length:0;e.currentTarget.setSelectionRange(t,t)}"function"==typeof o&&o(e)},ref:d,style:{paddingLeft:g?g.width-1+"px":void 0,paddingRight:h?h.width-1+"px":void 0}})),s?t.createElement(Or,{type:"prefix",children:s,disabled:u.disabled,ref:m}):null,i?t.createElement(Or,{type:"postfix",children:i,disabled:u.disabled,ref:f}):null)})),Or=t.memo(t.forwardRef((function(e,n){const{children:a,disabled:r,type:o}=e;return t.createElement("div",{className:l("group absolute top-0 flex h-full items-center justify-center px-2",'[&_[data-taco="icon"]]:!h-5 [&_[data-taco="icon"]]:!w-5',{"text-grey-300":r,"text-grey-700":!r,"left-0 [&>button]:!-ml-2":"prefix"===o,"right-0 [&>button]:!-mr-2":"postfix"===o}),"data-affix-type":o,ref:n},a)}))),Ir=t.forwardRef((function(e,n){var a;const{button:r,icon:o,...i}=e;let s;if(r){const e=r.props.disabled||i.disabled,n=l("items-center focus:z-10 flex justify-center rounded-l-none rounded-r h-full focus:rounded focus:outline-none",((e,t=!1)=>e?l("border border-red-500 group-peer-hover:enabled:border-red-700 transition-colors ease-in",{"border-red-500/30":t}):"border border-grey-300 group-peer-hover:enabled:border-grey-500 transition-colors transition-opacity ease-in")(i.invalid,e),r.props.className);s=t.cloneElement(r,{className:n,disabled:e})}else o&&(s="string"==typeof o?t.createElement(ya,{name:o}):o);return t.createElement(Ar,Object.assign({},i,{postfix:null!==(a=i.postfix)&&void 0!==a?a:s,ref:n}))})),Lr=(e,t,n,l="vertical")=>{switch(e){case"horizontal"===l?"ArrowLeft":"ArrowUp":return void 0!==n?n-1<0?0:n-1:n;case"horizontal"===l?"ArrowRight":"ArrowDown":return void 0!==n?n+1>=t?n:n+1:n;case"Home":return 0;case"End":return t-1;default:return}},Hr=(e,t)=>({scrollTo:n=>{if(e&&e.current)if(void 0!==n){const l=t[n];l&&l.current&&((e,t)=>{const n=e.clientHeight;if(e.scrollHeight>n){const l=e.scrollTop,a=t.offsetTop+t.offsetHeight;a>n+l?e.scrollTop=a-n:t.offsetTop<l&&(e.scrollTop=t.offsetTop)}})(e.current,l.current)}else e.current.scrollTop=0}}),Mr=n.forwardRef((function(e,t){const{delay:a=350,label:r,...o}=e,[i,s]=n.useState(!a);if(n.useEffect(()=>{let e;return a&&(e=window.setTimeout(()=>s(!0),a)),()=>{e&&clearTimeout(e)}},[a]),!i)return null;const c=l("inline-flex flex-col relative items-center",o.className);return n.createElement("div",Object.assign({},o,{className:c,"data-taco":"spinner",ref:t}),n.createElement("svg",{className:"h-10 w-10 animate-[spinnerRotation_2s_linear_infinite]",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},n.createElement("circle",{cx:"50",cy:"50",r:"45"})),r&&n.createElement("span",{className:"mt-4"},r))})),kr=(e,t)=>`${e}_${t}`,Vr=(e,t,n)=>{const l=Lr(e.key,t.length,n);if(l){if(l===n)return n;if(t[l]&&t[l].disabled)return Vr(e,t,l)}return l},jr=t.forwardRef((function(e,n){const{data:a,disabled:r,id:o,loading:i,onChange:s,onClick:c,onFocus:u,onKeyDown:d,readOnly:m,scrollOnFocus:g=!1,value:f,multiselect:h,selectedIndexes:v=[],allOptionsSelected:p=!1,...w}=e,b=qa(n),E=t.useMemo(()=>a.map(()=>t.createRef()),[a]),{texts:x}=dr(),{scrollTo:y}=Hr(b,E);t.useEffect(()=>{var e,t;f&&null!==(e=E[f])&&void 0!==e&&e.current&&(null===(t=E[f].current)||void 0===t||t.scrollIntoView({block:"center"}))},[]),t.useEffect(()=>{y(f)},[f]);const z=e=>t=>{s(e),c&&(t.persist(),c(t,e))},R=(e,t)=>"#ALL-OPTIONS#"===e?p:!(!e||!v)&&-1!==v.findIndex(e=>e===t),C=a.map((e,t)=>{const n=e.path?e.path.split(".").length-1:0;return{"aria-selected":h?R(String(e.value),t):f===t,"data-focused":f===t,children:e.text,className:l("flex items-center px-3 w-full cursor-pointer bg-white flex-[0_0_2rem] focus:wcag-blue-500 focus:border-blue-500",{"sticky top-0 font-bold":0===n&&!!e.hasChildren}),disabled:e.disabled,icon:e.icon,id:kr(o,e.value),key:kr(o,e.value),onClick:r||m?void 0:z(t),ref:E[t],role:"option",style:n>0?{paddingLeft:n+1+"rem"}:void 0}}),S={...w,className:l("inline-flex flex-col list-none !p-0 m-0 overflow-y-auto h-auto",zr(e),{"yt-list--multiselect":h,"pointer-events-none":r,"cursor-not-allowed":r||m},w.className),disabled:r,id:o,onFocus:r||m?void 0:e=>{g&&y(f),u&&(e.persist(),u(e))},onKeyDown:r||m?void 0:e=>{const t=Vr(e,a,f);void 0!==t&&t!==f&&(e.preventDefault(),y(t),s(t)),d&&(e.persist(),d(e,void 0!==t?t:f)),e.stopPropagation()},readOnly:m,ref:b,role:C.length<=0||i?"presentation":"listbox",tabIndex:w.tabIndex||0};return t.createElement("ul",Object.assign({},S,{"data-taco":"scrollable-list"}),i?t.createElement("li",{className:"yt-list__empty"},t.createElement("span",null,t.createElement(Mr,{delay:0})),t.createElement("span",null,x.listbox.loading)):C.length?C.map(({children:e,icon:n,...l})=>t.createElement("li",Object.assign({},l),n,t.createElement("span",{className:"flex-grow truncate text-left"},e),h&&t.createElement(yr,{"aria-hidden":!0,tabIndex:-1,checked:l["aria-selected"],onChange:()=>null,className:"pointer-events-none ml-2 self-center p-px"}))):t.createElement("li",{className:"yt-list__empty"},t.createElement("span",null,x.listbox.empty)))})),Tr=e=>{let t;return"function"==typeof Event?t=new Event(e,{bubbles:!0}):(t=document.createEvent("Event"),t.initEvent(e,!0,!0)),t},Dr=e=>{let t;return"function"==typeof KeyboardEvent?t=new KeyboardEvent(e.type,e):(t=document.createEvent("Event"),t.initEvent(e.type,!0,!0),t.key=e.key,t.charCode=e.charCode),t},Fr=(e,t,n="change")=>{if(!e)return;const l=e.value;e.value=t||"";const a=e._valueTracker;a&&a.setValue(l),e.dispatchEvent(Tr(n))},Pr=e=>String(null!=e?e:""),Br=(e,t,n="change")=>{Fr(e,Pr(t),n)},_r=(e,t)=>{const n=e.findIndex(e=>Pr(e.value)===Pr(t));return n>-1?n:void 0},Gr=(e,t)=>"string"!=typeof t?[]:t.split(",").map(t=>e.findIndex(e=>String(e.value)===t)).filter(e=>-1!==e),qr=(e,t)=>e.find(e=>Pr(e.value)===Pr(t)),$r=(e,t,n="includes")=>{try{var l,a,r;return"string"!=typeof e&&null!==(l=e.props)&&void 0!==l&&l.children?Array.isArray(null===(a=e.props)||void 0===a?void 0:a.children)?!!e.props.children.find(e=>$r(e,t,n)):$r(null===(r=e.props)||void 0===r?void 0:r.children,t,n):e.toString().toLowerCase()[n](String(t).toLowerCase())}catch{return!1}},Kr=(e,t,n,l=e.length)=>{const a=e.slice(n,l).findIndex(e=>!e.disabled&&$r(e.text,t,"startsWith"));return a>-1?a+n:-1},Ur=(e,t,n)=>void 0!==t&&e[t]?kr(n,e[t].value):void 0,Wr=e=>n.useMemo(()=>{const t=[],n=(e,l,a,r)=>{const o=a?`${a}.${l}`:""+l,i=r||e.disabled;t.push({...e,disabled:i,path:o,hasChildren:!!e.children}),e.children&&e.children.forEach((e,t)=>n(e,t,o,i))};return e.forEach((e,t)=>{n(e,t)}),t},[e]),Jr=e=>{if(e){const{...t}=e;return t}},Yr=(e,t)=>{var n;const l=null!==(n=null==t?void 0:t.split("."))&&void 0!==n?n:[];if(l.length>1){let t;return l.pop(),l.map(n=>(t=t?[t,n].join("."):n,Jr(e.find(e=>e.path===t))))}return null},Qr=d(e=>e(),200),Xr=e=>String(null!=e?e:""),Zr=t.forwardRef((function(e,n){const{className:a,dialog:r,style:o,...i}=e,{combobox:s,button:d,input:m,popover:g,list:f}=(({"aria-labelledby":e,data:n=[],defaultValue:l,disabled:a,inline:r,onChange:o,onClick:i,onKeyDown:s,onSearch:u,readOnly:d,value:m,...g},f)=>{const h=qa(f),v=t.useRef(null),p=t.useRef(null),[w,b]=t.useState(!1),E=t.useMemo(()=>c.v4(),[]),[x,y]=t.useState(Xr(m)),z=!u&&(!r||r&&x!==Xr(m)),R=Wr(n),C=t.useMemo(()=>z?((e,t="")=>{if(""===t||null===t)return e;const n=new Set;return e.forEach(l=>{if((e=>!e.disabled&&$r(e.text,String(t)))(l)){const t=Yr(e,l.path);n.add(l.value),null!==t&&t.forEach(e=>n.add(null==e?void 0:e.value))}}),e.filter(({value:e})=>n.has(e))})(R,x):R,[z,x,R]),[S,N]=t.useState(void 0!==x?_r(C,x):void 0),A=e=>{if(void 0!==e){const t=C[e];t&&!t.disabled&&Br(h.current,t.value,"focusout")}},O=e=>{void 0!==e&&(C[e].value!==m?A(e):y(Xr(m)))};return t.useEffect(()=>{l&&!m&&A(_r(C,l))},[C]),t.useEffect(()=>{void 0!==m&&m!==x&&y(Xr(m))},[m]),t.useEffect(()=>{u&&Qr(()=>{u(x)})},[x]),t.useEffect(()=>{const e=null!=m&&x===String(m);x&&C.length&&!e?(N(0),w||b(!0)):b(!1)},[x,C]),t.useEffect(()=>{N(w?_r(C,x)||0:void 0)},[w]),{combobox:{"aria-expanded":w,"aria-owns":E,"aria-haspopup":"listbox",role:"combobox"},input:{...g,"aria-controls":E,"aria-autocomplete":"list","aria-activedescendant":void 0!==S&&C[S]?kr(E,String(C[S].value)):void 0,"aria-labelledby":e,disabled:a,onBlur:a||d?void 0:e=>{if(e.persist(),p.current&&e.relatedTarget===p.current)e.preventDefault();else{if(o&&e.target.value!==String(m)){const t=qr(R,e.target.value);e.detail=Jr(t);const n=Yr(R,null==t?void 0:t.path);null!==n&&n.length>0&&(e.detail.parents=n),o(e)}g.onBlur&&g.onBlur(e)}},onChange:a||d?void 0:e=>{y(e.target.value)},onClick:a||d?void 0:e=>{(r||!w&&x&&C.length)&&b(!0),i&&(e.persist(),i(e))},onKeyDown:a||d?void 0:e=>{switch(e.persist(),e.key){case"Backspace":return;case"Escape":return e.preventDefault(),y(Xr(m)),void b(!1);case"Tab":case"Enter":return"Tab"!==e.key&&e.preventDefault(),O(S),void b(!1);case"ArrowDown":w?e.preventDefault():!r&&v.current&&v.current.click();break;case"ArrowUp":case"Home":case"End":w&&e.preventDefault()}if(p.current&&p.current.dispatchEvent(Dr(e)),r&&!w&&("ArrowUp"===e.key||"ArrowDown"===e.key)){e.preventDefault();const t="ArrowUp"===e.key?C.length-1:0;N(void 0!==S?S:t),b(!0)}!e.isDefaultPrevented()&&s&&(e.persist(),s(e))},readOnly:d,ref:h,type:"text",value:null!=x?x:""},list:{"aria-labelledby":e,data:C,disabled:a,id:E,onChange:e=>{N(e)},onClick:(e,t)=>{e.preventDefault(),O(t),b(!1)},ref:p,scrollOnFocus:!1,tabIndex:-1,value:S},button:{ref:v},popover:{open:w,onOpenChange:b}}})(i,n),h=t.useRef(null),{texts:v}=dr(),p=Sr(h),w=l("inline-flex relative",{"yt-combobox--inline":e.inline},a);return t.createElement("span",{className:w,"data-taco":"combobox",style:o},t.createElement(u.Root,Object.assign({},g),t.createElement(u.Anchor,{asChild:!0,ref:h},t.createElement("div",Object.assign({},s,{className:"inline w-full",ref:n}),t.createElement(Ir,Object.assign({},m,{autoComplete:"off",button:e.inline?t.createElement(or,{"aria-hidden":!0,appearance:"discrete",className:"!border-l-0 focus:!border-none focus:!shadow-none active:!border-none",icon:g.open?"chevron-up":"chevron-down",onClick:()=>{var e;g.onOpenChange(!0),null===(e=m.ref.current)||void 0===e||e.focus()},tabIndex:-1}):r?t.createElement(or,{"aria-label":v.combobox.tooltip,icon:"list-search",disabled:e.readOnly||e.disabled,dialog:r,onFocus:e=>{var t;e.preventDefault(),null===(t=m.ref.current)||void 0===t||t.focus()},ref:d.ref,tabIndex:-1,tooltip:v.combobox.tooltip}):void 0})))),t.createElement(u.Portal,null,t.createElement(u.Content,{align:"start",onOpenAutoFocus:e=>{e.preventDefault()},sideOffset:4},t.createElement(jr,Object.assign({},f,{className:l("max-h-[calc(12rem+2px)] w-auto max-w-[theme(spacing.96)] !border-blue-500"),style:{minWidth:null==p?void 0:p.width},tabIndex:g.open?0:-1}))))))})),eo=(e,t)=>e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDay()===t.getDay(),to=(e,t="dd.mm.yy")=>{if(!e)return;const n=m.isDate(e)?e:m.toDate(e);if(!m.isValid(n))return;const l=e=>1===String(e).length?"0"+e:e.toString();return t.replace("dd",l(n.getDate())).replace("mm",l(n.getMonth()+1)).replace("yy",String(n.getFullYear()).slice(2))},no=(e="",t="dd.mm.yy")=>{if(!e||!e.length)return;const n=t.split(/[^dmy]/),l=n.findIndex(e=>"dd"===e),a=n.findIndex(e=>"mm"===e),r=n.findIndex(e=>"yy"===e||"yyyy"===e);let o,i,s;const c=e=>e&&2===e.length?Number.parseInt(e,10)>50?"19"+e:"20"+e:e,u=e.split(/\D/);if(1===u.length){const e=u[0],n=t.replace(/[^dmy]/g,"");o=e.slice(n.indexOf("d"),n.lastIndexOf("d")+1),i=e.slice(n.indexOf("m"),n.lastIndexOf("m")+1),s=c(e.slice(n.indexOf("y"),n.lastIndexOf("y")+3))}else o=u[l],i=u[a],s=c(u[r]);o=Number.parseInt(o,10),i=Number.parseInt(i,10),s=Number.parseInt(s,10);const d=new Date;return new Date(Object.is(s,NaN)?d.getFullYear():s,Object.is(i,NaN)?d.getMonth():i-1,Object.is(o,NaN)?d.getDate():o,12,0)},lo=e=>{const t=new Date(e);return m.isValid(t)?no(to(new Date(e))):void 0},ao=t.forwardRef((function(e,n){return t.createElement(u.Arrow,{className:"pointer-events-none -mt-px",asChild:!0,offset:2,width:30,height:11},t.createElement("svg",Object.assign({},e,{ref:n,viewBox:"0 19 30 11",style:{transform:"rotateZ(180deg)"}}),t.createElement("path",{className:"text-grey-300 fill-current group-focus:text-blue-300",d:"M23.7,27.1L17,19.9C16.5,19.3,15.8,19,15,19s-1.6,0.3-2.1,0.9l-6.6,7.2C5.3,28.1,3.4,29,2,29h26 C26.7,29,24.6,28.1,23.7,27.1z"}),t.createElement("path",{className:"fill-current",d:"M23,27.8c1.1,1.2,3.4,2.2,5,2.2h2H0h2c1.7,0,3.9-1,5-2.2l6.6-7.2c0.7-0.8,2-0.8,2.7,0L23,27.8L23,27.8z"})))})),ro=t.createContext({props:{},ref:null}),oo=t.forwardRef((function(e,n){return t.createElement(u.Anchor,Object.assign({},e,{asChild:!0,ref:n}))})),io=t.forwardRef((function(e,n){var l;const{ref:a,props:r}=t.useContext(ro),o=Na([a,n]);let i=e.children;return t.isValidElement(e.children)&&"function"==typeof(null===(l=e.children)||void 0===l?void 0:l.type)&&(console.warn(`Popover.Trigger requires its child to forwardRef so that it can attach to the dom element. Did you mean to wrap '${e.children.type.name}' in React.forwardRef()? Taco has wrapped '${e.children.type.name}' in a 'span' to maintain functionality, but this may cause unintended behaviour`),i=t.createElement("span",null,e.children)),t.createElement(u.Trigger,Object.assign({},r,e,{ref:o,asChild:!0}),i)})),so=t.forwardRef((function({children:e,onClick:t},n){return e({close:()=>{t(new CustomEvent("hide"))},ref:n})})),co=t.forwardRef((function(e,n){const{placement:a,...r}=e,o=l("bg-white focus:border-blue-300 border border-transparent rounded p-3 yt-shadow focus:yt-focus outline-none group",e.className);let i;return i="function"==typeof e.children?t.createElement(u.Close,{asChild:!0},t.createElement(so,null,e.children)):e.children,t.createElement(u.Portal,null,t.createElement(u.Content,Object.assign({},r,{className:o,"data-taco":"popover",side:a,sideOffset:1,ref:n}),i,t.createElement(ao,{className:"text-white"})))})),uo=t.forwardRef((e,n)=>t.createElement(u.Close,Object.assign({},e,{ref:n,asChild:!0}))),mo=t.forwardRef((function(e,n){const{anchor:l,children:a,defaultOpen:r,modal:o=!1,open:i,onChange:s,trigger:c,...d}=e,m=t.useMemo(()=>({props:d,ref:n}),[d]);return t.createElement(ro.Provider,{value:m},t.createElement(u.Root,{defaultOpen:r,modal:o,open:i,onOpenChange:s},l?t.createElement(oo,null,l):null,c&&!l?t.createElement(io,null,c):null,a))}));mo.Anchor=oo,mo.Trigger=io,mo.Content=co,mo.Close=uo,mo.Portal=u.Portal;const go=t.forwardRef((function(e,n){const{className:a,onReset:r,style:o,shortcuts:i,shortcutsText:s,...c}=e,{calendar:u,input:d}=(({calendar:e,onBlur:n,onChange:l,value:a,...r},o)=>{const i=qa(o),{formatting:s}=dr(),[c,u]=t.useState(a&&m.isValid(a)?to(a,s.date):"");return t.useEffect(()=>{if(a&&m.isValid(a)){const e=to(a,s.date);e!==c&&u(e)}else u("")},[a]),{input:{...r,autoComplete:"off",onBlur:e=>{e.persist();const t=no(e.target.value),a=t&&to(t)||"";e.target.value=a,l?(e.detail=t,l(e)):u(a),n&&n(e)},onChange:e=>{u(e.target.value)},onKeyDown:e=>{r.onKeyDown&&r.onKeyDown(e),e.isPropagationStopped()||e.isDefaultPrevented()||"Enter"!==e.key||e.target.dispatchEvent(new Event("focusout",{bubbles:!0}))},ref:i,type:"text",value:c},calendar:{...e,onChange:e=>{Fr(i.current,to(e,s.date),"focusout")},value:a}}})(c,n),{texts:g}=dr(),f=l("inline-flex w-full text-black font-normal",a);return t.createElement("span",{className:f,"data-taco":"datepicker",style:o},t.createElement(Ir,Object.assign({},d,{button:t.createElement(or,{"aria-label":g.datepicker.expand,disabled:d.disabled||d.readOnly,icon:"calendar",tabIndex:-1,popover:e=>t.createElement(mo,Object.assign({},e),t.createElement(mo.Content,null,({close:e})=>t.createElement("div",{className:"-m-3 flex"},t.createElement(wr,Object.assign({},u,{onChange:(t,n)=>{u.onChange(t,n),e()}})),i&&t.createElement("div",{className:"border-grey-300 flex flex-col border-l"},t.createElement("span",{className:"m-4 mb-3 flex h-8 w-32 items-center text-xs font-semibold"},null!=s?s:g.datepicker.shortcuts),t.createElement("ul",null,i.map(n=>t.createElement("li",{key:n.text},t.createElement("button",{type:"button",className:"hover:wcag-grey-200 flex w-full items-start px-4 py-1 text-xs",onClick:t=>{t.persist(),n.onClick(t),e()}},n.text)))),r&&t.createElement("button",{type:"button",className:"mx-auto my-4 mt-auto inline-flex cursor-pointer border-none bg-transparent text-xs text-blue-500 hover:text-blue-300",onClick:t=>{t.persist(),r(t),e()}},g.datepicker.clear))))),tooltip:g.datepicker.calendar})})))}));go.displayName="Datepicker";const fo=t.createContext({closeOnEscape:!0,draggable:!1,drawer:{open:!1,toggle:()=>{}},elements:{drawer:void 0,extra:void 0},onClose:()=>{},props:{},ref:null,showCloseButton:!0,size:"sm"}),ho=()=>t.useContext(fo),vo=t.forwardRef((function(e,n){const{ref:l,props:a}=ho(),r=Na([l,n]);return t.createElement(g.Trigger,Object.assign({},a,e,{ref:r,asChild:!0}))})),po=e=>{const[t,l]=n.useState({x:0,y:0}),[a,r]=n.useState(!1),{moveProps:o}=f.useMove({onMoveStart(){r(!0)},onMove(t){var n;const a=null===(n=e.current)||void 0===n?void 0:n.getBoundingClientRect();a&&(a.left+t.deltaX<0||a.right+t.deltaX>window.innerWidth||a.top+t.deltaY<0||a.bottom+t.deltaY>window.innerHeight)||l(({x:e,y:n})=>({x:e+=t.deltaX,y:n+=t.deltaY}))},onMoveEnd(){r(!1)}});return{position:t,dragging:a,handleProps:o,resetPosition:()=>{l({x:0,y:0})}}},wo=t.forwardRef((function(e,n){const a=l("text-center",e.className);return t.createElement(g.Title,Object.assign({},e,{className:a,ref:n}))})),bo=t.forwardRef((function(e,n){const a=l("mt-8 flex justify-end",e.className);return t.createElement("div",Object.assign({},e,{className:a,ref:n}),e.children)})),Eo=t.forwardRef((function(e,n){const l=ho();return t.createElement(g.Close,Object.assign({onClick:l.onClose},e,{ref:n,asChild:!0}))})),xo=t.forwardRef((function({children:e,onClick:t,renderProps:n},l){return e({close:()=>{t(new CustomEvent("close"))},ref:l,...n})})),yo=t.forwardRef((function(e,n){const a=ho(),r=qa(n),{position:o,dragging:i,handleProps:s}=po(r),{texts:c}=dr(),u=l("relative bg-white animate-[fade-in_150ms] rounded","mt-16 mx-auto",Ma(a.size),"print:w-full print:h-full print:m-0 print:overflow-visible"),d=l("bg-white p-6 rounded relative z-10 shadow print:p-0 print:overflow-visible print:h-full",{"rounded-b-none":!!a.elements.extra},e.className);let m;return m="function"==typeof e.children?t.createElement(Eo,null,t.createElement(xo,{renderProps:{drawer:a.drawer}},e.children)):e.children,t.createElement(g.Portal,null,t.createElement(g.Overlay,{asChild:!0},t.createElement(Ha,null,t.createElement(g.Content,Object.assign({},e,{className:u,onEscapeKeyDown:e=>{a.closeOnEscape?a.onClose&&a.onClose():e.preventDefault()},onInteractOutside:e=>e.preventDefault(),ref:r,style:{...e.style,left:a.draggable?o.x+"px":void 0,top:a.draggable?o.y+"px":void 0}}),t.createElement("div",{className:d,"data-taco":"dialog"},m,a.draggable&&t.createElement("div",Object.assign({},s,{role:"button",draggable:!0,"aria-grabbed":i,"aria-label":c.dialog.drag,className:"yt-dialog__drag absolute-center-x bg-grey-100 top-1.5 h-3 w-24 cursor-move rounded text-center print:hidden"})),a.showCloseButton?t.createElement(g.Close,{onClick:a.onClose,asChild:!0},t.createElement(or,{appearance:"discrete","aria-label":c.dialog.close,className:"absolute right-0 top-0 mr-2 mt-2 print:hidden",icon:"close"})):null),a.elements.drawer,a.elements.extra))))})),zo=t.forwardRef((function(e,n){var a,r;const o=ho(),i=l("absolute top-0 -ml-[4px] hidden h-full w-full overflow-y-auto rounded-r bg-white p-6 text-left",e.className);return t.createElement(h.motion.div,Object.assign({},e,{className:i,"data-taco":"dialog-drawer","aria-hidden":!(null!==(a=o.drawer)&&void 0!==a&&a.open),variants:{visible:{left:"100%",display:"block",transition:{ease:"easeOut",duration:.2}},hidden:{left:"0%",transition:{ease:"easeOut",duration:.2},transitionEnd:{display:"none"}}},animate:null!==(r=o.drawer)&&void 0!==r&&r.open?"visible":"hidden",ref:n}),"function"==typeof e.children?e.children(o.drawer):e.children)}));zo.displayName="DialogDrawer";const Ro=t.forwardRef((function(e,n){const a=l("wcag-grey-100 absolute top-full left-0 -mt-px w-full rounded-t-none rounded-b p-6 text-left",e.className);return t.createElement("div",Object.assign({},e,{className:a,"data-taco":"dialog-extra",ref:n}))}));Ro.displayName="DialogExtra";const Co=t.forwardRef((function(e,n){const{children:l,closeOnEscape:a=!0,defaultOpen:r,draggable:o=!1,onChange:i,onClose:s,open:c,showCloseButton:u=!0,size:d="sm",trigger:m,...f}=e,[h,v,p]=(e=>t.useMemo(()=>{const n=[];let l,a;return t.Children.toArray(e).forEach(e=>{var t,r;(null===(t=e.type)||void 0===t?void 0:t.displayName)===zo.displayName?l=e:(null===(r=e.type)||void 0===r?void 0:r.displayName)===Ro.displayName?a=e:n.push(e)}),[n,l,a]},[e]))(l),[w,b]=t.useState(!1),E=t.useMemo(()=>({closeOnEscape:a,draggable:o,drawer:{open:w,toggle:()=>b(e=>!e)},elements:{drawer:v,extra:p},onClose:s,props:f,showCloseButton:u,size:d,ref:n}),[a,w,o,v,p,c,f,u]);return t.createElement(fo.Provider,{value:E},t.createElement(g.Root,{defaultOpen:r,open:c,onOpenChange:i},m&&t.createElement(vo,null,m),h))}));Co.Trigger=vo,Co.Content=yo,Co.Title=wo,Co.Footer=bo,Co.Extra=Ro,Co.Drawer=zo,Co.Close=Eo;const So=t.forwardRef((function(e,n){const{as:a="span",orientation:r="horizontal",...o}=e,i=l('flex gap-2 [&:has([data-taco="tag"])]:!gap-1',{"flex-col ":"vertical"===r},e.className);return t.createElement(a,Object.assign({},o,{className:i,"data-taco":"group",ref:n}))})),No=t.createContext(void 0),Ao=()=>t.useContext(No),Oo=t.createContext({closeOnEscape:!0,showCloseButton:!0,onClose:()=>{},onResize:()=>{},props:{},ref:null,size:"md",variant:"embedded"}),Io=()=>t.useContext(Oo),Lo=e=>{const t=l("flex select-none touch-none transition-colors hover:bg-grey",{"w-[7px] hover:w-[14px] mr-[2px] hover:px-[2px] hover:mr-0":"vertical"===e.orientation,"flex-col h-[7px] hover:h-[14px] mb-[2px] hover:py-[2px] hover:mb-0":"horizontal"===e.orientation});return n.createElement(p.Scrollbar,Object.assign({},e,{className:t}))},Ho=e=>n.createElement(p.Thumb,Object.assign({},e,{className:"flex-[1] rounded bg-black opacity-50"})),Mo=e=>n.createElement(p.Corner,Object.assign({},e,{classname:"bg-grey-500"})),ko=e=>{const{children:t,...a}=e;return n.createElement(p.Root,Object.assign({},a,{className:l("overflow-hidden",e.className),"data-taco":"scrollarea"}),n.createElement(p.Viewport,{className:"h-full w-full"},t),n.createElement(Lo,{orientation:"vertical"},n.createElement(Ho,null)),n.createElement(Lo,{orientation:"horizontal"},n.createElement(Ho,null)),n.createElement(Mo,null))};var Vo;!function(e){e.Visible="visible",e.Hidden="hidden"}(Vo||(Vo={}));const jo=n.forwardRef((function({children:e,onClick:t,renderProps:n},l){return e({close:()=>{t(new CustomEvent("close"))},ref:l,...n})})),To=n.forwardRef((function(e,t){const{className:a,children:r,...o}=e,i=l("grow-0 py-4 pl-4 justyfy-self-start mb-0 border-b-[1px] border-grey-300",a);return n.createElement(g.Title,Object.assign({className:i},o,{ref:t}),n.createElement("span",{className:"line-clamp-2 inline-block w-4/6 overflow-y-hidden"},r))})),Do=n.forwardRef((function(e,t){const{...a}=e,r=l("mt-auto flex justify-end grow-0 p-4 border-t-[1px] border-grey-300",e.className);return n.createElement("div",Object.assign({},a,{className:r,ref:t}))})),Fo=n.forwardRef((function(e,t){const{className:a,...r}=e,o=l("absolute top-0 right-10 mr-[8px] mt-4",a);return n.createElement(So,Object.assign({},r,{className:o,ref:t}))})),Po=n.forwardRef((function(e,t){const{onClose:l}=Io();return n.createElement(g.Close,Object.assign({},e,{onClick:l,ref:t,asChild:!0}))})),Bo=n.forwardRef((function(e,t){const{className:a,isScrollable:r=!0,children:o,...i}=e,s=l("grow flex flex-col",{"overflow-y-hidden":r,"p-4":!r},a);return n.createElement("div",Object.assign({},i,{className:s,ref:t}),r?n.createElement(ko,{className:"w-full gap-y-0.5 p-4"},o):o)})),_o=e=>{const{children:t,...a}=e,{open:r=!1,variant:o,outlet:i}=Io(),s=n.useMemo(()=>(e=>l({block:e,hidden:!e}))(r),[r]);return i?n.createElement(g.Portal,Object.assign({},a,{container:null!=i?i:void 0}),"overlay"===o?n.createElement(g.Overlay,{forceMount:!0},n.createElement(Ha,{className:s})):null,t):null},Go=n.forwardRef((function(e,t){const{onEscape:l,children:a,...r}=e;return Za("Escape",l),n.createElement("div",Object.assign({},r,{ref:t}),n.createElement(v.FocusScope,{autoFocus:!0,restoreFocus:!0},a))})),qo=n.forwardRef((function(e,t){const{size:a,onClose:r,onResize:o,open:i=!1,closeOnEscape:s,variant:c,focusTrap:u,showCloseButton:d,setOpen:m}=Io(),{className:f,style:h,children:v,...p}=e,{texts:w}=dr(),b=qa(t),E=Ao();let x;E&&(x=()=>{E.close()});const y=n.useMemo(()=>l((e=>l("bg-white mx-auto absolute h-full w-full flex flex-col ",{"shadow-[0_6px_9px_0_rgba(89,85,98,0.3),0_0_1px_0_rgba(89,85,98,0.2)]":"overlay"===e,"border-l border-grey h-full":"embedded"===e}))(c),f),[f]),{contentClassName:z,dragHandlerClassName:R}=n.useMemo(()=>({contentClassName:((e,t,n)=>l("bg-white h-full bottom-0 top-0 right-0 transition-none",{block:n,hidden:!n,fixed:"overlay"===t,"relative h-full overflow-hidden":"embedded"===t},(e=>{switch(e){case"lg":return"w-[600px]";case"md":default:return"w-[420px]"}})(e)))(a,c,i),dragHandlerClassName:l("border-[2px] absolute border-transparent top-0 w-2 h-full cursor-ew-resize left-0 hover:border-l-blue-500")}),[a,c,i]),C=e=>{var t;(null===(t=b.current)||void 0===t?void 0:t.contains(e.target))&&(s?(m&&m(!1),r&&r()):e.preventDefault())},[S,N]=n.useState(),A=n.useRef(null),{position:O,dragging:I,handleProps:L,resetPosition:H}=po(qa(A)),M=n.useRef(null);n.useEffect(()=>{o&&o(O.x)},[O]),n.useEffect(()=>{var e;N(null===(e=M.current)||void 0===e?void 0:e.offsetWidth)},[M,i]);const k=n.useMemo(()=>{if(S)return Math.min(1e3,Math.max(360,S-O.x||0))},[S,O]);let V;n.useEffect(()=>{!I&&k&&(N(k),H())},[I]),V="function"==typeof v?n.createElement(Po,null,n.createElement(jo,null,v)):v;const j=n.createElement("div",{ref:M,"data-taco":"drawer",className:y},V,n.createElement("div",Object.assign({className:R},L,{"data-testid":"resize-handler",ref:A}),I?n.createElement("div",{"data-testid":"resize-hit-area",className:"fixed bottom-0 left-0 right-0 top-0"}):null),d?n.createElement(Po,null,n.createElement(or,{appearance:"discrete","aria-label":w.drawer.close,className:"absolute right-0 top-0 mr-2 mt-4",icon:"close"})):null),T={...h,width:k};return u?n.createElement(g.Content,Object.assign({forceMount:!0},p,{className:z,onEscapeKeyDown:C,onInteractOutside:"overlay"===c?void 0:e=>e.preventDefault(),onCloseAutoFocus:x,ref:b,style:T}),j):n.createElement(Go,{onEscape:C,className:z,style:T,ref:b},j)})),$o=n.forwardRef((function(e,t){const{children:l}=e;return n.createElement(_o,null,n.createElement(qo,Object.assign({},e,{ref:t}),l))})),Ko=t.forwardRef((function(e,n){return t.createElement(g.Trigger,Object.assign({},e,{ref:n,asChild:!0}))})),Uo=t.forwardRef((function(e,n){var a;const r=l("h-full ml-auto overflow-hidden flex-shrink-0",e.className);return t.createElement("div",Object.assign({},e,{className:r,"data-taco":"drawer-outlet","data-taco-outlet-name":null!==(a=e.name)&&void 0!==a?a:"default",ref:n}))}));let Wo;const Jo=t.forwardRef((function(e,n){const{open:l,defaultOpen:a,onChange:r=(()=>{}),variant:o="embedded",closeOnEscape:i=!0,onResize:s,onClose:c,size:u="md",trigger:d,children:m,focusTrap:f=void 0===e.focusTrap&&"overlay"===e.variant||e.focusTrap,showCloseButton:h=!0,outletName:v,...p}=e,[b,E]=w.useControllableState({prop:l,defaultProp:a,onChange:r}),[x,y]=t.useState(),z=t.useMemo(()=>({closeOnEscape:i,onClose:c,onResize:s,props:p,size:u,ref:n,open:b,setOpen:E,variant:o,focusTrap:f,showCloseButton:h,outlet:x}),[i,b,E,p,o,s,c,u,f,h,x]),R=t.useCallback(()=>{E(!1),c&&c()},[]);return t.useEffect(()=>{var e;const t=null!==(e=document.querySelector(`[data-taco="drawer-outlet"][data-taco-outlet-name="${null!=v?v:"default"}"]`))&&void 0!==e?e:document.body;y(t)},[v]),t.useEffect(()=>{b?(Wo&&Wo(),Wo=R):Wo===R&&(Wo=void 0)},[b]),t.createElement(Oo.Provider,{value:z},t.createElement(g.Root,{modal:"overlay"===o,open:b,onOpenChange:E},d&&t.createElement(Ko,null,d),m))}));Jo.Trigger=Ko,Jo.Content=$o,Jo.InnerContent=Bo,Jo.Title=To,Jo.Footer=Do,Jo.Close=Po,Jo.Actions=Fo,Jo.Outlet=Uo;const Yo=e=>null!==e&&e.offsetWidth<e.scrollWidth,Qo=t.forwardRef((function(e,a){const[r,o]=t.useState(!1),i=t.useRef(null);t.useEffect(()=>{o(!0)},[]);const{disabled:s,children:c,invalid:u=!1,warning:d=!1,message:m,...g}=e,f=l("flex flex-col font-bold text-xs leading-loose pb-4 min-h-[theme(spacing.18)]",{"text-grey-300":s},e.className),h=l("h-4 text-xs text-left leading-normal font-normal truncate -mb-4",{"text-grey-700":!u&&!d,"text-red-500":u,"text-yellow-700":d&&!u,"opacity-50":s}),{truncated:v}=((e,t=[])=>{const[l,a]=n.useState(Yo(e));return n.useEffect(()=>{a(Yo(e))},[e,...t]),{truncated:l}})(i.current,[m,r]);return t.createElement("label",Object.assign({},g,{className:f,"data-taco":"label",ref:a}),c,m&&t.createElement(tr,{title:m,hide:!v},t.createElement("span",{className:h,ref:i,role:u?"alert":void 0},m)))})),Xo=t.forwardRef((function(e,n){const{horizontal:a=!1,...r}=e,o=l("yt-form",{"yt-form--horizontal flex flex-wrap":a},e.className);return t.createElement("form",Object.assign({},r,{className:o,"data-taco":"form",ref:n}))})),Zo=t.createContext({onClose:void 0,props:{},ref:null}),ei=t.forwardRef((function(e,n){var l;const{ref:a,props:r}=t.useContext(Zo),o=Na([a,n]);let i=e.children;return t.isValidElement(e.children)&&"function"==typeof(null===(l=e.children)||void 0===l?void 0:l.type)&&(console.warn(`Hanger.Anchor requires its child to forwardRef so that it can attach to the dom element. Did you mean to wrap '${e.children.type.name}' in React.forwardRef()? Taco has wrapped '${e.children.type.name}' in a 'span' to maintain functionality, but this may cause unintended behaviour`),i=t.createElement("span",null,e.children)),t.createElement(u.Anchor,Object.assign({},r,e,{ref:o,asChild:!0}),i)})),ti=t.forwardRef((function(e,n){const a=l("mb-1 text-base font-bold flex w-full",e.className);return t.createElement("span",Object.assign({},e,{className:a,ref:n}))})),ni=t.forwardRef((function(e,n){const{placement:a}=e,r=t.useContext(Zo),{texts:o}=dr(),i=l("wcag-blue-500 border border-transparent rounded p-3 pr-12 yt-shadow focus:border-transparent max-w-sm",e.className);return t.createElement(u.Portal,null,t.createElement(u.Content,{className:i,"data-taco":"hanger",onInteractOutside:e=>{e.preventDefault()},side:a,sideOffset:1,ref:n},e.children,t.createElement(ao,{className:"text-blue-500"}),t.createElement(u.Close,{asChild:!0},t.createElement(or,{appearance:"primary","aria-label":o.hanger.close,className:"absolute right-0 top-0 ml-2 mr-2 mt-2 text-white",icon:"close",onClick:r.onClose}))))})),li=t.forwardRef((function(e,n){const{anchor:l,children:a,defaultOpen:r=!0,onClose:o,...i}=e,s=t.useMemo(()=>({onClose:o,props:i,ref:n}),[o,i]),[c,d]=t.useState(!1);return t.useEffect(()=>{r&&d(r)},[]),t.createElement(Zo.Provider,{value:s},t.createElement(u.Root,{key:String(c),defaultOpen:c},l&&t.createElement(ei,null,l),a))}));li.Anchor=ei,li.Content=ni,li.Title=ti;const ai=t.forwardRef((function(e,n){return t.createElement(b.Arrow,{className:"pointer-events-none -mt-px",asChild:!0,offset:2,width:30,height:11},t.createElement("svg",Object.assign({},e,{ref:n,viewBox:"0 19 30 11",style:{transform:"rotateZ(180deg)"}}),t.createElement("path",{className:"text-grey-300 fill-current group-focus:text-blue-300",d:"M23.7,27.1L17,19.9C16.5,19.3,15.8,19,15,19s-1.6,0.3-2.1,0.9l-6.6,7.2C5.3,28.1,3.4,29,2,29h26 C26.7,29,24.6,28.1,23.7,27.1z"}),t.createElement("path",{className:"fill-current",d:"M23,27.8c1.1,1.2,3.4,2.2,5,2.2h2H0h2c1.7,0,3.9-1,5-2.2l6.6-7.2c0.7-0.8,2-0.8,2.7,0L23,27.8L23,27.8z"})))})),ri=t.forwardRef((function(e,n){return t.createElement(b.Trigger,Object.assign({},e,{asChild:!0,ref:n}))})),oi=t.forwardRef((function(e,n){const{placement:a}=e,r=l("bg-white focus:border-blue-300 border border-transparent rounded p-3 yt-shadow focus:yt-focus outline-none group","min-w-[theme(spacing.40)] max-w-[theme(spacing.96)]",e.className);return t.createElement(b.Portal,null,t.createElement(b.Content,{className:r,"data-taco":"hover-card",side:a,sideOffset:1,ref:n},e.children,t.createElement(ai,{className:"text-white"})))})),ii=e=>t.createElement(b.Root,Object.assign({},e,{openDelay:300}));function si(e=0,n){const l=t.useRef(),[a,r]=t.useState({remaining:e,started:null});return t.useEffect(()=>(e&&(a.started?l.current=window.setTimeout(n,a.remaining):clearTimeout(l.current)),()=>{clearTimeout(l.current)}),[a.started]),{running:!!a.started,start:()=>{r({remaining:e,started:Date.now()})},pause:()=>{a.started&&r({remaining:a.remaining-(Date.now()-a.started),started:null})},resume:()=>{a.remaining&&!a.started&&r({remaining:a.remaining,started:Date.now()})}}}ii.Trigger=ri,ii.Content=oi;const ci=({data:e,currentIndex:n})=>{const l=t.useRef(),a=si(1e3,()=>{l.current=void 0});return{getNextIndex:t=>{const r=(l.current?l.current+t:t).toLowerCase(),o=((e,t,n)=>{let l=Kr(e,t,void 0===n?0:n+1);return-1===l&&(l=Kr(e,t,0,n)),l})(e,r,n);return a.start(),l.current=r,o}}},ui=t.forwardRef((function(e,n){const{className:a,...r}=e,{list:o,input:i}=(({data:e=[],defaultValue:n,disabled:l,emptyValue:a,id:r,invalid:o,name:i,onChange:s,onFocus:u,onKeyDown:d,value:m=a,...g},f)=>{const h=Wr(void 0!==a?[{text:"",value:a},...e]:e),v=t.useMemo(()=>r||c.v4(),[r]),p=qa(f),w=void 0!==m?_r(h,m):void 0,{getNextIndex:b}=ci({data:h,currentIndex:w}),E=e=>{if(void 0!==e){const t=h[e];t&&!t.disabled&&Br(p.current,t.value)}};return t.useEffect(()=>{if(h.length&&void 0===w)if(void 0!==n){const e=_r(h,n);void 0!==e&&E(e)}else E(0)},[h]),{list:{...g,"aria-activedescendant":Ur(h,w,v),data:h,disabled:l,id:v,invalid:o,onChange:e=>{E(e)},onFocus:e=>{void 0===w&&h.length&&E(0),u&&(e.persist(),u(e))},onKeyDown:e=>{const t=e.key;if(1===t.length&&/(\w)/g.test(t)){const e=b(t);e>-1&&e!==w&&E(e)}else d&&(e.persist(),d(e))},scrollOnFocus:!0,tabIndex:l?-1:g.tabIndex?g.tabIndex:0,value:w},input:{name:i,onChange:e=>{if(e.persist(),s){var t,n;const l=qr(h,e.target.value);e.detail=Jr(l);const a=null!==(t=null==l||null===(n=l.path)||void 0===n?void 0:n.split("."))&&void 0!==t?t:[];if(a.length>1){let t;a.pop(),e.detail.parents=a.map(e=>(t=t?[t,e].join("."):e,Jr(h.find(e=>e.path===t))))}s(e)}},ref:p,tabIndex:-1,value:null!=m?m:""}}})(r,n),s=l("bg-white inline-flex relative w-full",a);return t.createElement("span",{"data-taco":"listbox",className:s},t.createElement(jr,Object.assign({},o,{style:{...o.style,maxHeight:"calc(12rem + 2px)"}})),t.createElement("input",Object.assign({},i,{className:"hidden",type:"text"})))})),di=t.forwardRef((function(e,n){const{className:a,...r}=e,{list:o,input:i}=(({data:e=[],defaultValue:n,disabled:l,id:a,name:r,onClick:o,onChange:i,onFocus:s,onKeyDown:u,value:d,...m},g)=>{const{texts:f}=dr(),h=t.useMemo(()=>a||c.v4(),[a]),v=qa(g),p=t.useMemo(()=>[{text:f.listbox.allOption,value:"#ALL-OPTIONS#"},...e],[e]),[w,b]=t.useState(_r(p,d)||0),[E,x]=t.useState(!1),{getNextIndex:y}=ci({data:p,currentIndex:w}),[z,R]=t.useState(Gr(p,d));t.useEffect(()=>{n&&!d&&Br(v.current,n.toString())},[]),t.useEffect(()=>{const e=p.filter(e=>!e.disabled).length-1;x(e===z.length)},[z,p]);const C=e=>{if(void 0!==e){const n=p[e];if(n&&!n.disabled){var t;let e="";const l=null===(t=v.current)||void 0===t?void 0:t.value,a=(null==l?void 0:l.split(","))||[],r=-1!==a.findIndex(e=>e===String(n.value));e="#ALL-OPTIONS#"===n.value?E?"":p.filter((e,t)=>0!==t&&!e.disabled).map(e=>e.value).join(","):r?a.filter(e=>e!==String(n.value)).join(","):l?`${l},${n.value}`:n.value,Br(v.current,e)}}};return{list:{...m,"aria-activedescendant":Ur(p,w,h),"aria-multiselectable":!0,data:p,disabled:l,id:h,onChange:()=>null,onClick:(e,t)=>{e.preventDefault(),p[t].disabled||(b(t),C(t)),o&&o(e)},onFocus:e=>{s&&(e.persist(),s(e))},onKeyDown:(e,t)=>{const n=e.key;if(1===n.length&&/(\w)/g.test(n)){const e=y(n);e>-1&&e!==w&&b(e)}else{switch(e.key){case" ":e.preventDefault(),C(t);break;case"Enter":C(t)}b(void 0!==t?t:0),u&&(e.persist(),u(e))}},scrollOnFocus:!1,tabIndex:l?-1:m.tabIndex?m.tabIndex:0,value:w,selectedIndexes:z,multiselect:!0,allOptionsSelected:E},input:{name:r,onChange:e=>{if(e.persist(),R(Gr(p,e.target.value)),i){const t=[];e.target.value.split(",").forEach(e=>{const n=qr(p,e);n&&t.push(n)}),e.detail=t,i(e)}},ref:v,tabIndex:-1,value:null!=d?d:""}}})(r,n),s=l("bg-white inline-flex relative w-full",a);return t.createElement("span",{"data-taco":"listbox",className:s},t.createElement(jr,Object.assign({},o,{style:{...o.style,maxHeight:"calc(12rem + 2px + 2px)"}})),t.createElement("input",Object.assign({},i,{className:"hidden",type:"text"})))})),mi=t.forwardRef((function(e,n){const a=qa(n),r=Ao(),{align:o="start",placement:i,...s}=e,c=l("border border-transparent rounded block outline-none p-1 yt-shadow wcag-white",e.className),u=t.useRef([]),d=t.Children.toArray(e.children).filter(e=>!!e).map((e,n)=>(u.current[n]=t.createRef(),t.cloneElement(e,{ref:u.current[n]})));return t.useEffect(()=>{const e=[];return d.forEach((t,n)=>{t.props.shortcut&&e.push(Qa(t.props.shortcut,e=>{e.preventDefault(),null==r||r.open(),setTimeout(()=>{var e,t;return null===(e=u.current[n])||void 0===e||null===(t=e.current)||void 0===t?void 0:t.click()},1)}))}),e.forEach(e=>document.addEventListener("keydown",e)),()=>{e.forEach(e=>document.removeEventListener("keydown",e))}},[d]),t.createElement(E.Portal,null,t.createElement(E.Content,Object.assign({},s,{align:o,className:c,"data-taco":"menu",side:i,sideOffset:3,style:{minWidth:null==r?void 0:r.minWidth},ref:a}),d))})),gi=e=>{switch(e){case"Escape":return"Esc";case"Delete":return"Del";case"Space":case" ":return"Space";case"ArrowLeft":return"◄";case"ArrowRight":return"►";case"ArrowUp":return"▲";case"ArrowDown":return"▼";default:return 1===e.length?e.toLocaleUpperCase():e}},fi=({keys:e,...t})=>{const a=l("inline-flex gap-0.5",t.className),r=(e=>{if(!e)return[];if("string"==typeof e)return[gi(e)];const t=[];return e.shift&&t.push(Xa()?"⇧":"Shift"),e.meta&&t.push(Xa()?"⌘":"Ctrl"),t.push(gi(e.key)),t})(e);return n.createElement("span",Object.assign({},t,{className:a}),r.map(e=>n.createElement("kbd",{key:e,className:"font-display text-grey-700 [[data-taco=tooltip]_&]:bg-grey-300/[0.25] rounded-sm bg-black/[0.09] px-1 text-center font-bold [[data-taco=tooltip]_&]:text-white"},e)))},hi=({name:e})=>t.createElement("span",{className:"absolute left-0 ml-1"},t.createElement(ya,{className:"-ml-px -mt-px !h-5 !w-5",name:e})),vi=({disabled:e,indented:n,className:a})=>{const r=Ao();return t.useEffect(()=>{!n||null!=r&&r.indented||null==r||r.registerIndentation()},[n]),l("flex items-center justify-start h-8 pr-1.5 relative rounded w-full focus:outline-none group",{"pl-7":null==r?void 0:r.indented,"pl-1.5":!(null!=r&&r.indented),"cursor-pointer text-black hover:wcag-grey-200 data-[highlighted]:wcag-grey-200":!e,"cursor-not-allowed hover:bg-white text-grey-300":e},a)},pi=t.forwardRef((function(e,n){var l;const{dialog:a,icon:r,onClick:o,popover:i,shortcut:s,subMenu:c,...u}=e,d=Ao(),m=vi({disabled:e.disabled,indented:!!r,className:e.className});let g;if((null!==(l=e.disabled)&&void 0!==l?l:e["aria-disabled"])&&(g=e=>{e.preventDefault(),e.stopPropagation()}),c)return t.createElement(E.Sub,null,t.createElement(E.SubTrigger,Object.assign({},u,{className:m,onClick:g,ref:n}),r?t.createElement(hi,{name:r}):null,e.children,t.createElement(ya,{className:"-mr-1.5 ml-auto !h-5 !w-5",name:"chevron-right"})),c());let f=t.createElement(E.Item,Object.assign({},u,{className:m,onClick:g,onSelect:t=>{o&&o(t),(e["aria-haspopup"]||"function"==typeof a||"function"==typeof i)&&t.preventDefault()},ref:n}),r?t.createElement(hi,{name:r}):null,e.children,s?t.createElement("span",{className:"ml-auto pl-5"},t.createElement(fi,{keys:s,className:"text-grey-700"})):null);return"function"==typeof a?f=a({trigger:f,onClose:null==d?void 0:d.close}):"function"==typeof i&&(f=i({trigger:f})),f})),wi=t.forwardRef((function(e,n){const{href:l,icon:a,onClick:r,...o}=e,i=Ao(),s=vi({disabled:e.disabled,indented:!!a,className:e.className});return t.createElement(E.Item,Object.assign({},o,{asChild:!0,className:s,ref:n,onClick:e=>{null==r||r(e),null==i||i.close()}}),t.createElement("a",{href:l,target:"_blank"},a&&t.createElement(hi,{name:a}),e.children))})),bi=t.forwardRef((function(e,n){const l=Ao(),a=qa(n);return t.useEffect(()=>{a.current&&(null==l||l.setMinWidth(a.current.getBoundingClientRect().width))},[a]),t.createElement(E.Trigger,Object.assign({},e,{asChild:!0,ref:a}))})),Ei=t.forwardRef((function(e,n){const{checked:l,children:a,onChange:r,...o}=e,i=vi({disabled:e.disabled,indented:!0,className:e.className});return t.createElement(E.CheckboxItem,Object.assign({},o,{checked:l,className:i,onCheckedChange:r,ref:n}),t.createElement(E.ItemIndicator,{className:"absolute left-0 ml-1.5"},t.createElement(ya,{name:"tick",className:"-ml-px !h-4 !w-4"})),a)})),xi=(e=!1,t=!1)=>l("flex flex-shrink-0 items-center justify-center h-4 w-4 mt-[0.2rem] rounded-full bg-white border-2 focus-visible:yt-focus disabled:cursor-not-allowed hover:border-4",t?{"border-red-500 hover:border-red-700 aria-checked:bg-red-500 aria-checked:border-red-500 hover:aria-checked:border-red-700":!e,"border-red-500/50 aria-checked:bg-red-500/50 aria-checked:border-red-500/50":e}:{"border-grey-500 hover:border-grey-700 aria-checked:bg-blue-500 aria-checked:border-blue-500 hover:aria-checked:border-blue-700":!e,"border-grey-500/50 aria-checked:bg-blue-500/50 aria-checked:border-blue-500/50":e}),yi=e=>String(null!=e?e:""),zi=(e,t)=>e.find(e=>yi(e)===t),Ri=t.createContext({disabled:!1,invalid:!1}),Ci=t.forwardRef((function(e,n){const a=t.useContext(Ri),{children:r,value:o,...i}=e,s=a.disabled||e.disabled,c=l("self-start",xi(s,a.invalid)),u=l("flex items-center gap-2",{"cursor-pointer":!s,"cursor-not-allowed text-grey-300":s},e.className);return t.createElement("label",{className:u},t.createElement(x.Item,Object.assign({},i,{className:c,disabled:s,ref:n,value:yi(o)}),t.createElement(x.Indicator,{className:"h-2 w-2 rounded-full bg-white"})),r)})),Si=e=>{const{children:n,defaultValue:l,disabled:a,invalid:r,onChange:o,orientation:i="vertical",value:s,...c}=e,u=t.useMemo(()=>{const e=[];return t.Children.forEach(n,n=>{t.isValidElement(n)&&e.push(n.props.value)}),e},[n]),d=t.useMemo(()=>({disabled:null!=a&&a,invalid:null!=r&&r}),[a,r]);let m;return m=void 0!==o?{onValueChange:e=>o(zi(u,e)),value:void 0!==s?yi(s):void 0}:{defaultValue:void 0!==l?yi(l):void 0},{context:d,props:{...c,...m,children:n,disabled:a,orientation:i}}},Ni=t.forwardRef((function(e,n){const{context:a,props:r}=Si(e),o=l("flex items-start gap-y-2",{"flex-wrap gap-x-4 ":"horizontal"===r.orientation,"flex-col":"vertical"===r.orientation},r.className);return t.createElement(Ri.Provider,{value:a},t.createElement(x.Root,Object.assign({},r,{className:o,"data-taco":"radio-group",ref:n})))}));Ni.Item=Ci;const Ai=t.createContext({disabled:!1}),Oi=t.forwardRef((function(e,n){const{context:a,props:r}=Si(e),o=l("flex flex-col",e.className);return t.createElement(Ai.Provider,{value:a},t.createElement(E.RadioGroup,Object.assign({},r,{className:o,ref:n})))}));Oi.Item=e=>{const n=t.useContext(Ai),{children:l,value:a,...r}=e,o=n.disabled||e.disabled,i=vi({disabled:o,indented:!0,className:e.className});return t.createElement(E.RadioItem,Object.assign({},r,{className:i,disabled:o,value:yi(a)}),t.createElement(E.ItemIndicator,{className:"absolute left-0 ml-1.5"},t.createElement("span",{className:"ml-1 flex h-1.5 w-1.5 rounded-full bg-current "})),l)};const Ii=t.forwardRef((function(e,n){const a=Ao(),r=l("flex items-center justify-start h-7 pr-1.5 text-xs text-grey-700",{"pl-7":null==a?void 0:a.indented,"pl-1.5":!(null!=a&&a.indented)},e.className);return t.createElement(E.Label,Object.assign({},e,{className:r,ref:n}))})),Li=t.forwardRef((function(e,n){const a=qa(n),{children:r,...o}=e,i=l("border border-transparent rounded block outline-none p-1 yt-shadow wcag-white",e.className);return t.createElement(E.Portal,null,t.createElement(E.SubContent,Object.assign({},o,{className:i,"data-taco":"menu-submenu",sideOffset:4,ref:a}),r))})),Hi=t.forwardRef((function(e,n){const{children:l,defaultOpen:a,onChange:r,open:o,trigger:i,...s}=e,[c,u]=t.useState(!1),[d,m]=t.useState(void 0),[g,f]=w.useControllableState({defaultProp:a,onChange:r,prop:o}),h=t.useMemo(()=>({indented:c,registerIndentation:()=>u(!0),minWidth:d,setMinWidth:e=>m(e),open:()=>f(!0),close:()=>f(!1)}),[c,d]);return t.createElement(No.Provider,{value:h},t.createElement(E.Root,Object.assign({},s,{modal:!1,open:g,onOpenChange:f}),i&&t.createElement(bi,{ref:n},i),l))}));Hi.Trigger=bi,Hi.Content=mi,Hi.Item=pi,Hi.Link=wi,Hi.Checkbox=Ei,Hi.Separator=()=>t.createElement(E.Separator,{className:"bg-grey-300 my-1 h-px"}),Hi.Header=Ii,Hi.RadioGroup=Oi,Hi.SubMenu=Li;const Mi=t.forwardRef((function(e,n){const{onChange:a,...r}=e,o=l("group w-14 h-8 flex flex-shrink-0 rounded-full inline-flex focus-visible:yt-focus p-1",{"bg-grey-500 hover:bg-grey-700 aria-checked:bg-blue-500 aria-checked:hover:bg-blue-700":!e.disabled,"bg-grey-500 aria-checked:bg-blue-500 cursor-not-allowed opacity-50":e.disabled},e.className);return t.createElement(y.Root,Object.assign({},r,{className:o,"data-taco":"mode",onCheckedChange:a,ref:n}),t.createElement(y.Thumb,{className:"'will-change-transform flex h-6 w-6 items-center justify-center rounded-full bg-white transition-transform group-disabled:opacity-50 group-aria-checked:translate-x-[100%]"},t.createElement(ya,{name:"edit-simple",className:"!h-5 !w-5"})))}));Mi.displayName="ModeSwitch";const ki=n.forwardRef((function(e,t){return n.createElement("a",Object.assign({},e,{ref:t}))})),Vi=n.forwardRef((function(e,t){const{children:a,className:r,expanded:o=!1,title:i,fixed:s,onClick:c,...u}=e,[d,m]=n.useState(s||o);n.useEffect(()=>{s||m(s||o)},[s,o]);const g=l("flex-col mb-0",{flex:d,hidden:!d}),f={...u,"aria-expanded":d,role:"treeitem",tabIndex:-1},h="function"==typeof r?r(d):r;return n.createElement("div",Object.assign({},f,{className:h,ref:t}),n.createElement("div",{onClick:e=>{const t=!d;s||m(t),c&&c(e,t)}},"function"==typeof i?i(d):i),n.createElement("ul",{role:"group",className:g},n.Children.toArray(a).filter(e=>!!e).map((e,t)=>n.createElement("li",{key:t,role:"none"},n.cloneElement(e,{role:"treeitem"})))))})),ji=n.forwardRef((function(e,t){return n.createElement("div",Object.assign({},e,{ref:t,role:"tree"}))}));ji.Group=Vi,ji.Item=ki;const Ti=e=>{const[t,l]=n.useState(!1),a=n.useCallback(e=>{e.preventDefault(),l(!0)},[]),r=n.useCallback(e=>{e.preventDefault(),(e.target===e.currentTarget||e.relatedTarget&&!e.currentTarget.contains(e.relatedTarget))&&l(!1)},[]),o=n.useCallback(e=>{e.preventDefault()},[]),i=n.useCallback(t=>{t.preventDefault(),t.persist(),l(!1),e&&e(t)},[e]);return[t,e?{onDragEnter:a,onDragLeave:r,onDragOver:o,onDrop:i}:void 0]},Di=n.forwardRef((function(e,t){const{active:a,children:r,onDrop:o,postfix:i,prefix:s,role:c,...u}=e,d=qa(t),[m,g]=Ti(o),f="treeitem"===c,h=l("yt-navigation__item cursor-pointer",{"w-full mb-px py-1 px-3 flex items-center hover:bg-grey-300":f,"bg-white w-full h-10 px-3 flex-shrink-0 flex items-center justify-between cursor-pointer":!f,"yt-navigation__item--active":a&&!m,"bg-grey-300":f&&a&&!m,"yt-navigation__item--dropping bg-blue-500":m},e.className);return n.createElement("span",Object.assign({},g,{className:h,onClick:e=>{e.target instanceof HTMLAnchorElement||e.target instanceof HTMLButtonElement||d.current&&d.current.click()},role:c}),s&&n.createElement("span",{className:"yt-navigation__item__prefix flex items-center"},s),n.createElement("a",Object.assign({},u,{className:"block flex-grow truncate",ref:d}),r),i&&n.createElement("span",{className:"yt-navigation__item__postfix ml-1"},i))})),Fi=n.forwardRef((function(e,t){return n.createElement("div",Object.assign({},e,{className:l("w-full bg-white p-3",e.className),ref:t}))})),Pi=n.forwardRef((function(e,t){const a=l("flex-shrink-0 space-y-1 outline-none",{"bg-white pb-2":e.fixed},"function"==typeof e.className?e.className(!1):e.className);return n.createElement(ji.Group,Object.assign({},e,{className:a,title:t=>{const a=l("bg-white h-10 pl-3 pr-1 flex items-center justify-between w-full",{"mb-1":t,"cursor-pointer hover:text-blue-500":!e.fixed});return n.createElement("span",{className:a},"function"==typeof e.title?e.title(t):e.title,!e.fixed&&n.createElement(ya,{name:t?"chevron-up":"chevron-down"}))},ref:t}))})),Bi=n.forwardRef((function(e,t){const a=n.useMemo(()=>{const t=[];return n.Children.toArray(e.children).filter(e=>!!e).forEach(e=>{if(e.props.fixed)t.push(e);else{const n=t[t.length-1];Array.isArray(n)?n.push(e):t.push([e])}}),t},[e.children]);return n.createElement(ji,Object.assign({},e,{className:l("divide-grey-100 flex flex-grow flex-col divide-y-2 overflow-y-auto",e.className),ref:t}),a.map((e,t)=>Array.isArray(e)?n.createElement("div",{className:"divide-grey-100 flex h-0 flex-auto flex-shrink-0 flex-grow flex-col divide-y-2 overflow-y-auto",key:t},e):e))}));Bi.Group=Pi;const _i=n.forwardRef((function(e,t){const{children:a,...r}=e,o=l("h-full flex flex-col bg-grey-100 divide-y-2 divide-grey-100",e.className);return n.createElement("div",Object.assign({},r,{className:o,"data-taco":"navigation",ref:t}),a)}));_i.Menu=Bi,_i.Item=Di,_i.Panel=Fi;const Gi=(e,t)=>{const[l,a]=n.useState({}),r=(e,t)=>{if(t.root){const n=Array.from(t.root.children),l={};e.forEach(e=>{l[n.indexOf(e.target)]=e.isIntersecting}),a(e=>({...e,...l}))}},o=n.useMemo(()=>{const e=Object.values(l).indexOf(!1);return e>-1?e:void 0},[l]),i=void 0!==o&&t;return n.useEffect(()=>{const n=new IntersectionObserver(r,{root:e.current,rootMargin:i?`0px -${t}px 0px 0px`:void 0,threshold:1});return n.root&&Array.from(n.root.children).forEach(e=>{e.hasAttribute("data-observer-ignore")||n.observe(e)}),()=>{n.disconnect()}},[i]),o},qi=(e,t)=>{const l=e.props.to||e.props.href,a=l?Hi.Link:Hi.Item,{as:r,...o}=e.props,i={...o,key:t,target:l?l.startsWith("http")?"_blank":"_self":void 0};return r?n.cloneElement(e,{as:a,...i}):n.createElement(a,Object.assign({},i))},$i=n.forwardRef((function(e,t){const{moreButton:a,...r}=e,o=qa(t),[i,s]=n.useState(40),c=n.useCallback(e=>{var t;return s(null==e||null===(t=e.getBoundingClientRect())||void 0===t?void 0:t.width)},[]),u=null!=a?a:n.createElement(or,{icon:"more"}),d=Gi(o,i),m=n.Children.toArray(e.children),g=void 0!==d?m.slice(d):[],f=l("flex overflow-hidden",e.className);return n.createElement("div",Object.assign({},r,{className:f,"data-taco":"overflow-group",ref:o}),m.map((e,t)=>n.cloneElement(e,{className:l(e.props.className,{visible:void 0===d||t<d,"invisible order-[100] pointer-events-none":void 0!==d&&t>=d})})),g.length?n.cloneElement(u,{className:l("sticky right-0 order-[99]",u.props.className),"data-observer-ignore":!0,menu:e=>n.createElement(Hi,Object.assign({},e),n.createElement(Hi.Content,null,g.map(qi))),ref:c}):null)})),Ki=({currentPageIndex:e=0,onClick:n,pageCount:l})=>{const a=((e,t)=>{let n=Math.min(t,e),l=Math.min(t,e);for(let t=1;t<5&&t<e;)n>1&&(n--,t++),t<5&&l<e&&(l++,t++);const a=[];for(let e=n;e<=l;e++)a.push(e);return a})(l,e+1),{texts:r}=dr();return t.createElement(t.Fragment,null,a.map(l=>t.createElement(fr,{appearance:l===e+1?"primary":"default","aria-current":l===e+1?"page":void 0,key:l,onClick:()=>n(l-1),"aria-label":r.pagination.actions.pageX.replace("[X]",String(l)),tooltip:r.pagination.actions.pageX.replace("[X]",String(l))},l)))},Ui=t.forwardRef((function(e,n){const{autoFocus:a,className:r,style:o,...i}=e,{button:s,listbox:d,popover:m,input:g,text:f,more:h=0}=(({"aria-label":e,"aria-labelledby":n,data:a=[],defaultValue:r,disabled:o,emptyValue:i,id:s,multiselect:u,onBlur:d,onChange:m,readOnly:g,tabIndex:f,value:h,...v},p)=>{const{texts:w}=dr(),b=Wr(a),E=qa(p),[x,y]=t.useState(!1),z=t.useMemo(()=>s||"select_"+c.v4(),[s]),R=t.useRef(null),C=z+"-button",[S,N]=t.useState(h);t.useEffect(()=>{N(h)},[x]),t.useEffect(()=>{void 0===h?void 0!==r&&qr(b,r)?Br(R.current,r):void 0!==i?Br(R.current,i):a.length>0&&Br(R.current,a[0].value):u||qr(b,h)||(void 0!==i?Br(R.current,i):a.length>0&&Br(R.current,a[0].value))},[]);let A="",O=0;if(void 0!==h)if(u){const e=(null==h?void 0:h.toString().split(","))||[];var I,L;e.length===b.filter(e=>!e.disabled).length?A=w.select.allOptionsSelected:(A=null!==(I=null===(L=qr(b,e[0]))||void 0===L?void 0:L.text)&&void 0!==I?I:"",O=e.length>1?e.length-1:0)}else{const e=qr(b,h);e&&(A=e.icon?t.createElement(t.Fragment,null,t.cloneElement(e.icon,{className:l(e.icon.props.className,"mr-1 -mt-px")}),e.text):e.text)}return{button:{"aria-haspopup":"listbox","aria-label":e?`${e} ${A}`:void 0,"aria-labelledby":n?`${n} ${C}`:void 0,disabled:o||g,id:C,onKeyDown:o||g?void 0:e=>{"ArrowUp"!==e.key&&"ArrowDown"!==e.key||(e.preventDefault(),y(!0))},tabIndex:f,type:"button"},listbox:{...v,"aria-label":e,"aria-labelledby":n,data:a,disabled:o,emptyValue:i,onBlur:d,onClick:e=>{e.preventDefault(),u||(y(!1),d&&d(Tr("blur")))},onChange:e=>{Br(R.current,e.target.value)},onKeyDown:e=>{switch(e.key){case"Escape":e.preventDefault(),void 0!==S&&Br(E.current,S),y(!1);break;case"Tab":case"Enter":"Tab"!==e.key&&e.preventDefault(),y(!1)}v.onKeyDown&&v.onKeyDown(e)},ref:E,value:h},input:{onChange:e=>{if(e.persist(),m){var t,n;const l=qr(b,e.target.value);e.detail=Jr(l);const a=null!==(t=null==l||null===(n=l.path)||void 0===n?void 0:n.split("."))&&void 0!==t?t:[];if(a.length>1){let t;a.pop(),e.detail.parents=a.map(e=>(t=t?[t,e].join("."):e,Jr(b.find(e=>e.path===t))))}m(e)}},ref:R,value:String(null!=h?h:"")},popover:{open:x,onOpenChange:e=>{!e&&d&&d(Tr("blur")),y(e)}},text:A,more:O}})(i,n),v=t.useRef(null),p=Sr(v),w=l("inline-flex relative w-full",{"yt-select--readonly":e.readOnly},r),b=l(zr(e),"h-8 text-left !pr-0",{"border-blue-500":m.open});t.useEffect(()=>{a&&v.current&&v.current.focus()},[]);const E={...d,className:"w-auto",invalid:void 0,style:{minWidth:null==p?void 0:p.width},tabIndex:m.open?0:-1};return t.createElement("span",{className:w,"data-taco":"select",style:o},t.createElement(u.Root,Object.assign({},m),t.createElement(u.Trigger,Object.assign({},s,{className:b,ref:v}),e.multiselect?t.createElement(t.Fragment,null,t.createElement("span",{className:"flex-grow truncate text-left"},f),h>0&&t.createElement(Ga,{className:"ml-2"},"+"+h)):t.createElement("span",{className:"flex-grow truncate text-left"},f),t.createElement("span",{className:"flex h-8 w-8 items-center justify-center"},t.createElement(ya,{className:"pointer-events-none",name:m.open?"chevron-up":"chevron-down"}))),t.createElement(u.Portal,null,t.createElement(u.Content,{align:"start",sideOffset:4},t.createElement(e.multiselect?di:ui,Object.assign({},E)))),t.createElement("input",Object.assign({},g,{className:"hidden",type:"text"}))))})),Wi=t.forwardRef((function(e,n){const{editable:l,...a}=e;return l?t.createElement(Zr,Object.assign({},a,{dialog:void 0,inline:!0,ref:n})):t.createElement(Ui,Object.assign({},a,{ref:n}))})),Ji=t.forwardRef((function(e,a){const{length:r,pageIndex:o,pageSize:i,pageSizes:s=[10,25,50,100,500],setPageIndex:c,setPageSize:u,showPageControls:d=!0,showPageNumbers:m=!0,showPageSize:g=!0,dangerouslyHijackGlobalKeyboardNavigation:f=!1,...h}=e,{texts:v}=dr(),p=Math.ceil(r/i)-1,w=f;(({setPageIndex:e,maxPageIndex:t,pageIndex:l,dangerouslyHijackGlobalKeyboardNavigation:a})=>{const r=n=>e&&"Home"===n.key?(n.preventDefault(),void e(0)):e&&"End"===n.key?(n.preventDefault(),void e(t)):e&&"PageUp"===n.key?(n.preventDefault(),void e(Math.max(0,l-1))):e&&"PageDown"===n.key?(n.preventDefault(),void e(Math.min(t,l+1))):void 0;n.useEffect(()=>(a&&window.addEventListener("keydown",r),()=>{a&&window.removeEventListener("keydown",r)}),[r,a])})({setPageIndex:c,maxPageIndex:p,pageIndex:o,dangerouslyHijackGlobalKeyboardNavigation:f});const b=Math.ceil(r/i),E=o>0,x=o<b-1,y=l("inline-flex relative justify-between items-center",e.className);return t.createElement("div",Object.assign({},h,{className:y,"data-taco":"pagination",ref:a}),g&&t.createElement("span",{className:"mr-4"},((e,t,n,l)=>{const a=(t+1)*n;return l.pagination.showingXofYofTotal.replace("[X]",0===e?"0":String(t*n+1)).replace("[Y]",String(a>e?e:a)).replace("[total]",String(e))})(r,o,i,v),t.createElement(Wi,{"aria-label":v.pagination.pageSize,className:"ml-4 !w-20",data:s.map(e=>({text:String(e),value:e})),onChange:e=>{c(0),u(Number(e.target.value))},value:i})),d&&t.createElement(So,{as:"nav","aria-label":v.pagination.label},t.createElement(or,{appearance:"default",disabled:!E,icon:"arrow-start",onClick:()=>c(0),"aria-label":w?v.pagination.actions.firstPageWithShortcut:v.pagination.actions.firstPage,tooltip:w?v.pagination.actions.firstPageWithShortcut:v.pagination.actions.firstPage}),t.createElement(or,{appearance:"default",disabled:!E,icon:"arrow-left",onClick:()=>c(o-1),"aria-label":w?v.pagination.actions.previousPageWithShortcut:v.pagination.actions.previousPage,tooltip:w?v.pagination.actions.previousPageWithShortcut:v.pagination.actions.previousPage}),m&&b>0&&t.createElement(Ki,{pageCount:b,currentPageIndex:o,onClick:c}),t.createElement(or,{appearance:"default",disabled:!x,icon:"arrow-right",onClick:()=>c(o+1),"aria-label":w?v.pagination.actions.nextPageWithShortcut:v.pagination.actions.nextPage,tooltip:w?v.pagination.actions.nextPageWithShortcut:v.pagination.actions.nextPage}),t.createElement(or,{appearance:"default",disabled:!x,icon:"arrow-end",onClick:()=>c(b-1),"aria-label":w?v.pagination.actions.lastPageWithShortcut:v.pagination.actions.lastPage,tooltip:w?v.pagination.actions.lastPageWithShortcut:v.pagination.actions.lastPage})))})),Yi=({content:e,lastUpdated:t,onClose:a,options:r,...o})=>{const{texts:i}=dr(),{autoClose:s,type:c="default"}=r,u=l("bg-white relative flex items-center py-1 px-2 mt-3 w-full rounded yt-shadow print:hidden",{"border border-grey-200":"default"===c||"loading"===c||!c,"border border-grey-500":"success"===c,"border border-blue-500":"information"===c,"border border-yellow-700":"warning"===c,"border border-red":"error"===c}),d=si(s,a),m=h.useAnimation();return e||console.warn((e=>`Toast requires 'content' property, which can't be empty string, null or undefined. Current content value is set to ${""===e?"empty string":e}.`)(e)),n.useEffect(()=>{s&&d.start()},[s]),n.useEffect(()=>{t&&(function(){try{Promise.resolve(m.start({scale:1.05})).then((function(){return Promise.resolve(m.start({scale:1})).then((function(){}))}))}catch(e){return Promise.reject(e)}}(),d.running&&d.start())},[t]),n.createElement(h.motion.div,Object.assign({},o,{animate:m,className:u,"data-taco":"toast",onMouseEnter:d.pause,onMouseLeave:d.resume}),(e=>n.createElement("div",{className:"mr-2 mt-[5px] flex-shrink-0 self-start"},(()=>{switch(e){case"success":return n.createElement(za,{icon:"tick",color:"green"});case"error":return n.createElement(za,{icon:"close",color:"red"});case"warning":return n.createElement(za,{icon:"warning",color:"yellow"});case"information":return n.createElement(za,{icon:"info",color:"blue"});case"loading":return n.createElement(Mr,{delay:0,className:"h-5 w-5"});default:return null}})()))(c),n.createElement("div",{className:"flex-grow"},e),n.createElement(or,{appearance:"discrete",className:"text-grey-700 -mr-2 cursor-pointer self-start !px-0",icon:"close","aria-label":i.toasts.dismiss,onClick:a}))},Qi=t.createContext({}),Xi=(e,t,n,l,a)=>{const r=[...e],o=e.findIndex(e=>JSON.stringify(e.content)===JSON.stringify(n));return o>-1?(r[o].lastDuplicateId=t,r[o].lastUpdated=Date.now()):r.push({id:t,content:"function"==typeof n?n(a):n,options:l}),r},Zi=({children:e,...n})=>{const[l,a]=t.useState([]),r=e=>{a(t=>t.filter(t=>t.id!==e))},o=t.useCallback((e,t)=>{const n=c.v4(),l=()=>r(n);a(a=>Xi(a,n,e,t,l));const o=(e,t)=>{a(a=>{const r=a.filter(e=>e.lastDuplicateId?e.lastDuplicateId!==n:e.id!==n);return Xi(r,c.v4(),e,t,l)})};return{success:(e,t)=>{o(e,{autoClose:7500,...t,type:"success"})},error:(e,t)=>{o(e,{...t,type:"error"})},warning:(e,t)=>{o(e,{...t,type:"warning"})},information:(e,t)=>{o(e,{...t,type:"information"})},loading:(e,t)=>{o(e,{...t,type:"loading"})},close:l}},[]);return t.useEffect(()=>{o.success=(e,t)=>o(e,{autoClose:7500,...t,type:"success"}),o.error=(e,t)=>o(e,{...t,type:"error"}),o.warning=(e,t)=>o(e,{...t,type:"warning"}),o.information=(e,t)=>o(e,{...t,type:"information"}),o.loading=(e,t)=>o(e,{...t,type:"loading"})},[]),t.createElement(Qi.Provider,Object.assign({},n,{value:o}),e,t.createElement("div",{id:"yt-toast__container",className:"pointer-events-all absolute bottom-0 right-0 !left-auto z-[1000] mb-4 mr-4 flex max-w-md flex-col items-end justify-end",role:"log"},t.createElement(h.AnimatePresence,{initial:!1},l.map(e=>t.createElement(h.motion.div,{key:e.id,transition:{type:"spring",damping:20,stiffness:300},initial:{opacity:0,y:10,scale:.5},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,scale:.5,transition:{duration:.2}}},t.createElement(Yi,Object.assign({},e,{onClose:()=>r(e.id)})))))))},es=()=>t.useContext(Qi),ts=t.createContext({uniqueUserIdentifier:""});var ns;(ns=exports.FontSizes||(exports.FontSizes={})).small="small",ns.medium="medium",ns.large="large";const ls=n.forwardRef;function as(e){return null==e?void 0:e.startsWith("__")}const rs=(e="medium")=>{switch(e){case exports.FontSizes.small:return 57;case exports.FontSizes.large:return 83;default:case exports.FontSizes.medium:return 72}};function os(e,t){return null==e?"":m.isDate(e)?null!==(n=to(e))&&void 0!==n?n:"":"datetime"===t&&"string"==typeof e?null!==(l=to(lo(e)))&&void 0!==l?l:"":String(e);var n,l}function is(e,t,n=["__actions"]){const l=e.filter(e=>as(e.id)&&!n.includes(String(e.id))).map(e=>e.id),a=[],r=[];let o=e;Array.isArray(t)&&(o=e.slice().sort((e,n)=>(t.indexOf(e.id)>>>0)-(t.indexOf(n.id)>>>0))),o.forEach(e=>{var t;as(e.id)||(null!==(t=e.meta)&&void 0!==t&&t.enableOrdering?r.push(e.id):a.push(e.id))});const i=[...l,...a,...r];return n.forEach(t=>{e.findIndex(e=>e.id===t)>-1&&i.push(t)}),i}function ss(e){var t;return null!==(t=null==e?void 0:e.filter(e=>as(e)&&"__actions"!==e))&&void 0!==t?t:[]}function cs(e,t){return t.slice(0,e+1)}var us,ds;!function(e){e[e.Contains=0]="Contains",e[e.DoesNotContain=1]="DoesNotContain",e[e.IsEqualTo=2]="IsEqualTo",e[e.IsNotEqualTo=3]="IsNotEqualTo",e[e.IsGreaterThan=4]="IsGreaterThan",e[e.IsLessThan=5]="IsLessThan",e[e.IsBetween=6]="IsBetween",e[e.IsEmpty=7]="IsEmpty",e[e.IsNotEmpty=8]="IsNotEmpty",e[e.IsLessThanOrEqualTo=9]="IsLessThanOrEqualTo",e[e.IsGreaterThanOrEqualTo=10]="IsGreaterThanOrEqualTo",e[e.HasAnyOf=11]="HasAnyOf",e[e.HasAllOf=12]="HasAllOf",e[e.HasNoneOf=13]="HasNoneOf"}(us||(us={})),function(e){e[e.Incomplete=0]="Incomplete",e[e.Loading=1]="Loading",e[e.Completed=2]="Completed"}(ds||(ds={}));const ms=e=>String(null!=e?e:"").toLocaleLowerCase(),gs=(e,t)=>ms(e).includes(ms(t)),fs=(e,t)=>ms(e)===ms(t);function hs(e,t,n){try{if(e.original){var l,a;const r=null===(l=e._getAllCellsByColumnId()[t])||void 0===l||null===(a=l.column.columnDef.meta)||void 0===a?void 0:a.dataType,o=os(e.original[t],r);return gs(o,n)}}catch{}return!1}function vs(e,t,n){return t.size&&(n[e]=t.size),{id:e,accessorKey:e,header:t.header,cell:t.renderer,enableColumnFilter:!1,enableGlobalFilter:!1,enableGrouping:!1,enableHiding:!1,enableResizing:!1,enableSorting:!1,size:t.size,minSize:t.size,meta:{...t.meta,enableOrdering:!1,enablePrinting:!1,enableTruncate:!1}}}function ps(e,t){var n,l,a,r,o,i;const s=e.enableRowSelection||e.enableRowSelectionSingle,c={defaultColumn:{enableColumnFilter:e.enableFiltering||!0,enableGrouping:!1,enableHiding:e.enableColumnHiding||!0,enableResizing:e.enableColumnResizing||!0,enableGlobalFilter:e.enableSearch||!0,enableSorting:e.enableSorting||!0,minSize:1,size:1},enableColumnFilters:null!==(n=e.enableFiltering)&&void 0!==n&&n,enableColumnResizing:null!==(l=e.enableColumnResizing)&&void 0!==l&&l,enableExpanding:null!==(a=e.enableRowExpansion)&&void 0!==a&&a,enableGrouping:!0,enableHiding:null!==(r=e.enableColumnHiding)&&void 0!==r&&r,enablePinning:null!==(o=e.enableColumnFreezing)&&void 0!==o&&o,enableRowSelection:null!=s&&s,enableMultiRowSelection:!0!==e.enableRowSelectionSingle&&s,enableSorting:null!==(i=e.enableSorting)&&void 0!==i&&i,getCoreRowModel:z.getCoreRowModel(),getExpandedRowModel:z.getExpandedRowModel(),getGroupedRowModel:z.getGroupedRowModel(),groupedColumnMode:!1};return c.enableColumnResizing&&(c.columnResizeMode="onChange"),c.enableColumnFilters&&(t.onChangeFilter||(c.getFilteredRowModel=z.getFilteredRowModel(),c.filterFns={tacoFilter:(e,t,n)=>function(e,t){try{if(t.comparator===us.IsEmpty||t.comparator===us.IsNotEmpty){const n=null==e||""===e;return t.comparator===us.IsEmpty?n:!n}if(null==t.value||""===t.value)return!0;switch(t.comparator){case us.Contains:return gs(e,t.value);case us.DoesNotContain:return!gs(e,t.value);case us.IsEqualTo:return m.isDate(e)?m.isDate(t.value)&&eo(e,t.value):"boolean"==typeof t.value?e===t.value:fs(e,t.value);case us.IsNotEqualTo:return m.isDate(e)?m.isDate(t.value)&&!1===eo(e,t.value):"boolean"==typeof t.value?e!==t.value:!fs(e,t.value);case us.IsGreaterThan:if(m.isDate(e))return m.isDate(t.value)&&m.isAfter(e,t.value);{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n>t.value}case us.IsLessThan:if(m.isDate(e))return m.isDate(t.value)&&m.isBefore(e,t.value);{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n<t.value}case us.IsLessThanOrEqualTo:if(m.isDate(e))return m.isDate(t.value)&&(m.isBefore(e,t.value)||m.isEqual(e,t.value));{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n<=t.value}case us.IsGreaterThanOrEqualTo:if(m.isDate(e))return m.isDate(t.value)&&(m.isAfter(e,t.value)||m.isEqual(e,t.value));{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n>=t.value}case us.IsBetween:{const[n,l]=t.value;if(m.isDate(e))return!(m.isDate(n)&&m.isBefore(e,n)||m.isDate(l)&&m.isAfter(e,l));{const t=parseInt(e);return!(isNaN(t)||void 0!==n&&t<n||void 0!==l&&t>l)}}case us.HasAnyOf:return!(!Array.isArray(t.value)||!Array.isArray(e))&&t.value.some(t=>e.includes(t));case us.HasNoneOf:return!(!Array.isArray(t.value)||!Array.isArray(e))&&t.value.every(t=>!1===e.includes(t));case us.HasAllOf:return!(!Array.isArray(t.value)||!Array.isArray(e))&&t.value.filter(t=>e.includes(t)).length===t.value.length}return!1}catch(e){return console.error(e),!0}}(e.getValue(t),n)})),e.enableSearch&&(c.getFilteredRowModel=z.getFilteredRowModel(),c.globalFilterFn=hs,c.getColumnCanGlobalFilter=e=>{var t,n;return null===(t=null===(n=e.columnDef.meta)||void 0===n?void 0:n.enableSearch)||void 0===t||t}),c.enableSorting&&(t.onChangeSort?c.manualSorting=!0:c.getSortedRowModel=z.getSortedRowModel()),c}const ws={enableFiltering:!1,enableSearch:!1,enableSorting:!1,enableColumnFreezing:!1,enableColumnHiding:!1,enableColumnResizing:!1,enableRowExpansion:!1,enableRowSelection:!1,enableRowSelectionSingle:!1,enableColumnOrdering:!1,enableFontSize:!1,enableFooter:!1,enablePrinting:!1,enableRowActive:!0,enableRowActions:!1,enableRowClick:!1,enableRowGoto:!1,enableRowHeight:!1,enableSettings:!1},bs={lite:{enableFiltering:!0,enableSearch:!0,enableSorting:!0,enableColumnFreezing:!0,enableColumnHiding:!1,enableColumnResizing:!0,enableRowExpansion:!0,enableRowSelection:!0,enableRowSelectionSingle:!1,enableColumnOrdering:!1,enableFontSize:!1,enableFooter:!0,enablePrinting:!1,enableRowActive:!0,enableRowActions:!0,enableRowClick:!0,enableRowGoto:!0,enableRowHeight:!1,enableSettings:!0},complex:{enableFiltering:!0,enableSearch:!0,enableSorting:!0,enableColumnFreezing:!0,enableColumnHiding:!0,enableColumnResizing:!0,enableRowExpansion:!0,enableRowSelection:!0,enableRowSelectionSingle:!1,enableColumnOrdering:!0,enableFontSize:!0,enableFooter:!0,enablePrinting:!0,enableRowActive:!0,enableRowActions:!0,enableRowClick:!0,enableRowGoto:!0,enableRowHeight:!0,enableSettings:!0}};function Es(e=!1){return{isEnabled:e}}function xs(e=!1,t="medium"){const[l,a]=n.useState(t);return{isEnabled:e,size:l,setSize:e?a:()=>{}}}const ys=()=>{const[e,t]=n.useState(!1);return n.useEffect(()=>{const n=()=>t(!1);return e&&document.addEventListener("mousemove",n),()=>{document.removeEventListener("mousemove",n)}},[e]),[e,t]};function zs(e){setTimeout(()=>{var t,n;null===(t=e.current)||void 0===t||null===(n=t.querySelector('[data-taco="table2-body"] [role="row"] [role="cell"]:first-child'))||void 0===n||n.focus()},1)}function Rs(e=!1,t){const[l,a]=n.useState(t),[r,o]=ys(),i=(e,t,n)=>a(l=>{const a=void 0!==l?function(e,t,n){return-1===e?t-1>0?t-1:0:t+1<n?t+1:t}(e,l,t):0;return setTimeout(()=>n(a),1),a}),s=n.useCallback((t,n,l,r)=>{if(e&&!t.defaultPrevented)if("ArrowUp"!==t.key&&"ArrowDown"!==t.key||o(!0),"ArrowUp"!==t.key)if("ArrowDown"!==t.key);else{if(t.preventDefault(),t.ctrlKey||t.metaKey){const e=n-1;a(e),l(e)}else i(1,n,l);r&&zs(r)}else{if(t.preventDefault(),t.ctrlKey||t.metaKey){const e=0;a(e),l(e)}else i(-1,n,l);r&&zs(r)}},[e]),c=n.useCallback((t,n,r)=>{e&&!t.isDefaultPrevented()&&(t.target.closest("tbody")||t.target.closest('[data-taco="table2-body"]')||Ua(t.target,t.currentTarget)||void 0===l&&n>0&&a(e=>void 0===e?(r(0),0):e))},[l,length,e]);return{isEnabled:e,rowActiveIndex:l,setRowActiveIndex:e?a:()=>{},isHoverStatePaused:r,setHoverStatePaused:e?o:()=>{},handleFocus:e?c:()=>{},handleKeyDown:e?s:()=>{}}}function Cs(e=!1,t){const l=n.useCallback((function(n,l){if(e&&"function"==typeof t&&!n.defaultPrevented)return l&&"Enter"===n.key?(n.preventDefault(),void t(l)):void 0}),[e,t]),a=n.useCallback((function(n,l){e&&"function"==typeof t&&!n.defaultPrevented&&(n.preventDefault(),t(l))}),[e,t]);return{isEnabled:e,handleClick:a,handleKeyDown:l}}function Ss(e=!1,t){return{isEnabled:e,handleGoto:e?t:void 0}}function Ns(e=!1,t="medium"){const[l,a]=n.useState(t);return{isEnabled:e,height:l,setHeight:e?a:()=>{}}}function As(e=!1){const t=n.useRef(),l=n.useCallback((t,n)=>{if(!e||!n.options.enableRowSelection||t.defaultPrevented)return;const l=n.getRowModel().rows,a=n.options.meta;if(" "!==t.key)return(t.ctrlKey||t.metaKey)&&"a"===t.key?(t.preventDefault(),void n.toggleAllRowsSelected()):void 0;{t.preventDefault();const e=a.rowActive.rowActiveIndex;var r;void 0!==e&&(null===(r=l[e])||void 0===r||r.toggleSelected())}},[e]);return{isEnabled:e,handleKeyDown:e?l:()=>{},lastSelectedRowIndex:t}}function Os(e,t){try{var n=e()}catch(e){return t(e)}return n&&n.then?n.then(void 0,t):n}function Is(e,t){try{var n=e()}catch(e){return t(!0,e)}return n&&n.then?n.then(t.bind(null,!1),t.bind(null,!0)):t(!1,n)}function Ls(e,t,l=100){const a=!!e&&!!t,[r,o]=n.useState(ds.Incomplete);let i,s;return"function"==typeof t&&(i=function(...e){try{const n=function(){if("function"==typeof t)return o(ds.Loading),Promise.resolve(t(...e)).then((function(){o(ds.Completed)}))}();return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},s=function(...e){try{const t=function(){var t;if(r===ds.Incomplete)return Promise.resolve(null===(t=i)||void 0===t?void 0:t(...e)).then((function(){}))}();return Promise.resolve(t&&t.then?t.then((function(){})):void 0)}catch(e){return Promise.reject(e)}}),{isEnabled:a,loadPage:e,loadAll:i,loadAllIfNeeded:s,loadAllStatus:r,pageSize:l}}"undefined"!=typeof Symbol&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator"))),"undefined"!=typeof Symbol&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));const Hs=(e,t)=>{const[l,a]=n.useState(()=>{if(!e)return t;try{const n=localStorage.getItem(e);return"string"!=typeof n?(localStorage.setItem(e,JSON.stringify(t)),t):JSON.parse(n||"null")}catch{return t}});return n.useEffect(()=>{if(e)try{const t=JSON.stringify(l);localStorage.setItem(e,t)}catch{}},[e,l]),[l,a,()=>{e&&localStorage.removeItem(e)}]};function Ms(){return n.useContext(ts)}function ks(e,t){const l=n.useRef(!1);n.useEffect(()=>{l.current?e():l.current=!0},t)}function Vs(e){const t=e.options.meta,n=e.getRowModel().rows;ks(()=>{const e=t.rowActive.rowActiveIndex;void 0!==e&&e>n.length&&t.rowActive.setRowActiveIndex(0)},[n.length])}function js(e,t){const n=e.getState().columnFilters;ks(()=>{e.options.enableColumnFilters&&"function"==typeof t&&(t(n),e.options.enableRowSelection&&e.resetRowSelection())},[e.options.enableColumnFilters,n])}function Ts(e){const t=e.options.meta,l=n.useRef(t.fontSize.size);ks(()=>{const n=function(e){switch(e){case`${exports.FontSizes.small}-${exports.FontSizes.medium}`:case`${exports.FontSizes.medium}-${exports.FontSizes.large}`:return 8;case`${exports.FontSizes.medium}-${exports.FontSizes.small}`:case`${exports.FontSizes.large}-${exports.FontSizes.medium}`:return-8;case`${exports.FontSizes.small}-${exports.FontSizes.large}`:return 16;case`${exports.FontSizes.large}-${exports.FontSizes.small}`:return-16;default:return 0}}(`${l.current}-${t.fontSize.size}`);e.setColumnSizing(e=>{const l=rs(t.fontSize.size);return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,Math.max(l,t+n)]))}),l.current=t.fontSize.size},[t.fontSize.size])}function Ds(e,t){const n=e.getState().rowSelection;ks(()=>{const n=e.getSelectedRowModel().rows;var l,a;e.options.enableRowSelection&&"function"==typeof t&&t(e.options.enableMultiRowSelection?n.map(e=>e.original):null!==(l=[null===(a=n[0])||void 0===a?void 0:a.original])&&void 0!==l?l:[])},[e.options.enableRowSelection,e.options.enableMultiRowSelection,JSON.stringify(n)])}function Fs(e){const t=e.options.meta,n=e.getState();return{columnOrder:t.columnOrdering.isEnabled?n.columnOrder:void 0,columnPinning:n.columnPinning,columnSizing:n.columnSizing,columnVisibility:e.options.enableHiding?n.columnVisibility:void 0,excludeUnmatchedRecordsInSearch:t.search.excludeUnmatchedResults,fontSize:t.fontSize.isEnabled?t.fontSize.size:void 0,grouping:e.options.enableGrouping?n.grouping:void 0,rowHeight:t.rowHeight.isEnabled?t.rowHeight.height:void 0,showWarningWhenPrintingLargeDataset:t.printing.isWarningVisibleForLargeDatasets,sorting:n.sorting}}function Ps(e,t){const l=e.options.meta,a=e.getRowModel().rows;n.useEffect(()=>{const e=Object.keys(null!=t?t:{}),n=[];if(t&&e.length&&void 0!==l.rowActive.rowActiveIndex){const r=a[l.rowActive.rowActiveIndex];e.forEach(e=>{const l=t[e];let a,o;"function"==typeof l?(a=l,o={key:e}):(a=l.handler,o={key:e,meta:l.meta,shift:l.shift}),n.push(Qa(o,e=>{e.preventDefault(),a(null==r?void 0:r.original)}))})}return n.forEach(e=>{document.addEventListener("keydown",e)}),()=>{n.forEach(e=>{document.removeEventListener("keydown",e)})}},[t,l.rowActive.rowActiveIndex,a.length])}function Bs(e,t){const n=e.getState().sorting;ks(()=>{e.options.enableSorting&&"function"==typeof t&&(t(n),e.options.enableRowSelection&&e.resetRowSelection())},[e.options.enableSorting,n])}function _s(e,t){const l=e.getState().sorting,a=e.getState().columnFilters,r=e.getState().globalFilter;n.useEffect(()=>{t&&t(0,l,a,r)},[])}const Gs=n.createContext({isHovered:!1,setIsHovered:()=>{},rowIndex:-1});function qs(){return null}function $s(e){const{actions:t,actionsLength:a,data:r,fontSize:o,isActiveRow:i}=e,{texts:s}=dr(),c=t.map(e=>e(r)).filter(e=>!!e),u=c.length===a?c:c.slice(0,a-1),d=c.slice(c.length===a?a:a-1),m=l("-mb-2 flex justify-end text-right bg-[inherit] shadow-[-6px_0px_6px_var(--table-row-actions-shadow)] print:hidden",{"-mt-2":o===exports.FontSizes.small,"-mt-1.5":o!==exports.FontSizes.small});return n.createElement("span",{className:m},u.map((e,t)=>{var l,a;const r=String(null!==(l=null!==(a=e.props.tooltip)&&void 0!==a?a:e.props["aria-label"])&&void 0!==l?l:"");return n.cloneElement(e,{appearance:"transparent",key:t,tabIndex:i?0:-1,tooltip:e.props.shortcut?n.createElement(n.Fragment,null,r,n.createElement(fi,{className:"ml-2",keys:e.props.shortcut})):r})}),d.length?n.createElement(or,{appearance:"transparent","aria-label":s.table3.columns.actions.tooltip,icon:"more",tabIndex:i?0:-1,menu:e=>n.createElement(Hi,Object.assign({},e),n.createElement(Hi.Content,null,d.map((e,t)=>n.createElement(Hi.Item,Object.assign({key:t},e.props,{shortcut:e.props.shortcut}),e.props["aria-label"]))))}):null)}const Ks=n.memo((function(e){const{row:t,table:l}=e,{rowIndex:a}=n.useContext(Gs),r=l.options.meta,o=r.rowActions.rowActions,i=r.rowActions.rowActionsLength,s=r.rowActive.rowActiveIndex===a,c=!!l.getState().columnSizingInfo.isResizingColumn,u=r.rowActive.isHoverStatePaused,{isHovered:d}=n.useContext(Gs);return null!=o&&o.length&&(s||d&&!u&&!c)?n.createElement($s,{actions:o,actionsLength:i,data:t.original,fontSize:r.fontSize.size,isActiveRow:s}):null}));function Us(e){const{texts:t}=dr(),{table:l}=e,a=l.getIsSomeRowsExpanded(),r=a?t.table3.columns.expansion.collapseAll:t.table3.columns.expansion.expandAll;return n.createElement(tr,{title:r},n.createElement(or,{appearance:"transparent",icon:a?"chevron-down-double":"chevron-right-double",onClick:e=>{e.stopPropagation(),l.toggleAllRowsExpanded(!a)},tabIndex:-1,title:r}))}function Ws(e){var t,l;const{texts:a}=dr(),r=e.table.options.meta;if(null===(t=(l=r.rowExpansion).rowExpansionRenderer)||void 0===t?void 0:t.call(l,e.row.original)){const t=r.rowActive.rowActiveIndex===e.row.index,l=e.row.getIsExpanded(),o=l?a.table3.columns.expansion.collapse:a.table3.columns.expansion.expand;return n.createElement(tr,{title:o},n.createElement(or,{appearance:"discrete",icon:l?"chevron-down":"chevron-right",onClick:t=>{t.stopPropagation(),e.row.toggleExpanded()},tabIndex:t?0:-1,title:o}))}return null}function Js(e){const{texts:t}=dr(),{table:l}=e,a=l.options.meta;if(l.options.enableMultiRowSelection){const e=l.getIsAllRowsSelected(),r=l.getIsSomeRowsSelected(),o=e?t.table3.columns.select.deselectAll:t.table3.columns.select.selectAll,i=function(e){try{function t(){l.toggleAllRowsSelected(e)}const n=function(){if(a.server.loadAllIfNeeded)return Promise.resolve(a.server.loadAllIfNeeded(l.getState().sorting,l.getState().columnFilters,void 0)).then((function(){}))}();return Promise.resolve(n&&n.then?n.then(t):t())}catch(e){return Promise.reject(e)}};return n.createElement(tr,{title:o},n.createElement(yr,{"aria-label":o,className:"hover:border-blue !-mt-px",key:String(`${e}_${r}`),checked:e,indeterminate:r,onChange:i}))}return null}function Ys(e){var t;const{texts:a}=dr(),{row:r,table:o}=e,i=o.options.meta;if(o.options.enableGrouping&&null!==(t=o.getState().grouping)&&void 0!==t&&t.length&&!r.getIsGrouped())return null;const s=r.getIsGrouped()?r.getIsAllSubRowsSelected():r.getIsSelected(),c=s?a.table3.columns.select.deselect:a.table3.columns.select.select;if(o.options.enableMultiRowSelection){const e=e=>{if(e.stopPropagation(),r.getIsGrouped())r.subRows.forEach(e=>e.toggleSelected());else if(e.shiftKey){var t;const[e,a]=(n=null!==(t=i.rowSelection.lastSelectedRowIndex.current)&&void 0!==t?t:0,[(l=r.index)<n?l:n,l>n?l:n]);o.getRowModel().rows.slice(e,a+1).forEach(e=>e.toggleSelected(!0))}else r.toggleSelected();var n,l;i.rowSelection.lastSelectedRowIndex.current=r.index};return n.createElement(tr,{title:n.createElement(n.Fragment,null,c,n.createElement(fi,{className:"ml-2",keys:"Space"}))},n.createElement(yr,{"aria-label":c,className:"!mt-0",checked:s,onClick:e,onChange:()=>!1}))}{const e=l("!mt-0",xi());return n.createElement("button",{className:e,"aria-checked":s,onClick:e=>{e.stopPropagation(),r.toggleSelected(),i.rowSelection.lastSelectedRowIndex.current=r.index},role:"radio",type:"button"},s?n.createElement("span",{className:"h-2 w-2 rounded-full bg-white"}):null)}}const Qs={asc:n.createElement(ya,{name:"chevron-up-solid",className:"pointer-events-none -my-0.5"}),desc:n.createElement(ya,{name:"chevron-down-solid",className:"pointer-events-none -my-0.5"})};function Xs(e){var t;return null!==(t=Qs[e.direction])&&void 0!==t?t:null}const Zs={asc:"ascending",desc:"descending"};function ec(e){const{headerRef:t,id:a,isResizing:r,onResize:o,setColumnSizing:i,width:s}=e,{texts:c}=dr(),u=e=>{!Number.isInteger(s)&&t?(i(e=>({...e,[a]:t.getBoundingClientRect().width})),setTimeout(()=>{null==o||o(e)},1)):null==o||o(e)},d=n.createElement("div",{className:l("invisible absolute right-0 top-0 z-10 -mr-2 flex h-full w-4 cursor-col-resize touch-none select-none justify-center rounded py-0.5","group-hover/header:visible","[th:last-child>&]:!mr-0 [th:last-child>&]:w-2",{"!visible":r}),onClick:e=>{e.stopPropagation(),e.preventDefault()},onMouseDown:u,onTouchStart:u},n.createElement("div",{className:l("h-full w-1 rounded",{"!bg-blue-500":r,"bg-grey-500 hover:bg-grey-700":!r})}));return r?d:n.createElement(tr,{placement:"top",title:c.table3.columns.resize.tooltip},d)}const tc=t.forwardRef((function({onSearch:e,...n},l){const a=qa(l),{texts:r}=dr(),o=()=>{var t,n;null==e||e(null!==(t=null===(n=a.current)||void 0===n?void 0:n.value)&&void 0!==t?t:"")};return t.createElement(Ir,Object.assign({"aria-label":r.searchInput.placeholder,placeholder:r.searchInput.placeholder},n,{onKeyDown:t=>{var l;if(null===(l=n.onKeyDown)||void 0===l||l.call(n,t),!t.isDefaultPrevented())return"Enter"===t.key?(t.preventDefault(),void o()):void("Escape"!==t.key||null==e||e(""))},postfix:t.createElement(t.Fragment,null,n.disabled||n.readOnly||!n.value?null:t.createElement(or,{"aria-hidden":!0,"aria-label":r.searchInput.clear,className:"group-peer-focus:visible group-peer-hover:visible !text-grey-700 invisible mr-0.5 !h-5 !min-h-[theme(spacing.4)] !w-5 !min-w-[theme(spacing.4)] text-xs hover:visible group-hover:visible",icon:"close",onClick:()=>{Fr(a.current,"")},rounded:!0,tabIndex:-1,tooltip:r.searchInput.clear}),t.createElement(or,{"aria-label":r.searchInput.button,icon:"search",className:"group-peer-focus:!border-transparent group-peer-focus:group-peer-active:!border-transparent -mr-2 !border-transparent !bg-transparent focus:!border-transparent",disabled:n.disabled||n.readOnly,onClick:o,tabIndex:-1,tooltip:r.searchInput.button})),ref:a,type:"search"}))}));function nc(e){const{onGoto:t,trigger:l,...a}=e,{texts:r}=dr();return n.createElement(mo,Object.assign({},a,{anchor:l}),n.createElement(mo.Content,null,n.createElement(tc,{"aria-label":r.table3.columns.menu.gotoRow,name:"query",onSearch:e=>t(e),onKeyDown:e=>e.stopPropagation(),placeholder:r.table3.columns.menu.gotoRow+"..."})))}function lc(e){const{canGoto:t,canHide:a,canPin:r,canSort:o,customMenu:i,index:s,onGoto:c,onHide:u,onPin:d,onSortToggle:m,setRowActiveIndex:g,sortDirection:f}=e,{texts:h}=dr(),[v,p]=n.useState(void 0);let w;if(v){const e=()=>p(void 0);switch(v){case"goto":if(c){const t=function(t){try{const n=Is((function(){return Os((function(){return Promise.resolve(c(t)).then((function(e){g(e)}))}),(function(e){console.error(e)}))}),(function(t,n){if(e(),t)throw n;return n}));return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(e){return Promise.reject(e)}};w=l=>n.createElement(nc,Object.assign({},l,{open:!0,onChange:e,onGoto:t}))}}}const b=n.useMemo(()=>{const e=[];if(a&&u&&e.push(n.createElement(Hi.Item,{icon:"eye-off",onClick:e=>setTimeout(()=>u(e),1)},h.table3.columns.menu.hideColumn)),o&&e.push(n.createElement(Hi.Item,{icon:"sort-by",subMenu:()=>n.createElement(Hi.SubMenu,null,n.createElement(Hi.RadioGroup,{onChange:m,value:f},n.createElement(Hi.RadioGroup.Item,{value:"asc"},h.table3.columns.menu.sortingOrder.ascending),n.createElement(Hi.RadioGroup.Item,{value:"desc"},h.table3.columns.menu.sortingOrder.descending),n.createElement(Hi.RadioGroup.Item,{value:!1},h.table3.columns.menu.sortingOrder.unsorted)))},h.table3.columns.menu.sorting)),t&&e.push(n.createElement(Hi.Item,{icon:"move",onClick:()=>p("goto"),shortcut:"g"},h.table3.columns.menu.gotoRow,"...")),r&&d&&(e.push(n.createElement(Hi.Item,{icon:"column-freeze",onClick:()=>d(s)},0===s?h.table3.columns.menu.freezeFirstColumn:h.table3.columns.menu.freezeUptoColumn.replace("[TOTAL]",String(s+1)))),e.push(n.createElement(Hi.Item,{icon:"column-unfreeze",onClick:()=>d(void 0)},h.table3.columns.menu.unfreezeColumns))),i){const t=i({trigger:void 0}),l=n.Children.toArray(t.props.children.props.children);l.length&&(e.length&&e.push(n.createElement(Hi.Separator,null)),e.push(...l))}return e.map((e,t)=>n.cloneElement(e,{key:t}))},[t,a,r,o,i,c,m,s,f]),E=l("justify-end -mr-1 overflow-hidden","!h-6 !w-0 !min-h-[theme(spacing.6)] !min-w-0","group-hover/header:!w-6 group-hover/header:!min-w-[theme(spacing.6)]","aria-expanded:!w-6 aria-expanded:!min-w-[theme(spacing.6)]","focus:!w-6 focus:!min-w-[theme(spacing.6)]",{"!w-6 !min-w-[theme(spacing.6)]":!!w},e.className);return n.createElement(or,{className:E,icon:"more",menu:w?void 0:e=>n.createElement(Hi,Object.assign({},e),n.createElement(Hi.Content,null,b)),popover:w,onClickCapture:e=>e.preventDefault()})}function ac(e){var t;if(e.column.getIsGrouped())return null;const{table:a}=e.getContext(),r=a.options.meta,o=null!==(t=e.column.columnDef.meta)&&void 0!==t?t:{},i=!!e.subHeaders.length,s=function(e){var t,n;return null!==(t=e.subHeaders)&&void 0!==t&&t.length?null===(n=e.subHeaders.find(e=>e.column.getIsPinned()))||void 0===n?void 0:n.column.getIsPinned():e.column.getIsPinned()}(e),c=!e.isPlaceholder&&!i&&e.column.getCanHide(),u=!!a.getRowModel().rows.length,d=!e.isPlaceholder&&!i&&e.column.getCanPin(),m=!e.isPlaceholder&&!i&&e.column.getCanResize(),g=!e.isPlaceholder&&!i&&e.column.getCanSort(),f=g&&!e.isPlaceholder&&!i&&r.rowGoto.isEnabled&&!!e.column.getIsSorted(),h=!as(e.id)&&(c||f||d||g||!!o.menu),v=a.getState().sorting,p=a.getState().columnFilters,w=a.getState().globalFilter,b={align:o.align,canHide:c,canGoto:f,canMeasureSize:u,canPin:d,canResize:m,canSort:g,className:l("group/header",o.headerClassName),children:z.flexRender(e.column.columnDef.header,e.getContext()),colSpan:e.colSpan,customMenu:o.menu,defaultWidth:o.defaultWidth,hasMenu:h,id:e.id,index:e.index,isGroup:i,isPinned:s,isPlaceholder:e.isPlaceholder,offset:e.column.getStart(s),setRowActiveIndex:r.rowActive.setRowActiveIndex,setColumnSizing:a.setColumnSizing,tooltip:o.tooltip,width:a.getState().columnSizing[e.id]};if(e.isPlaceholder){const t=e.headerGroup.headers[e.index+1];b.className=l("!bg-white before:!content-none",b.className,{"after:!content-none":null==t?void 0:t.isPlaceholder})}if(f&&(b.onGoto=t=>{var n,l;return null===(n=(l=r.rowGoto).handleGoto)||void 0===n?void 0:n.call(l,e.id,t,v,p,w)}),c&&(b.onHide=e.column.getToggleVisibilityHandler()),d&&(b.onPin=e=>{a.setColumnPinning(t=>({...t,left:void 0===e?ss(t.left):cs(e,a.getAllLeafColumns().map(e=>e.id))}))}),m&&(b.isResizing=e.column.getIsResizing(),b.onResize=e.getResizeHandler()),g){const t=t=>{!1===t?e.column.clearSorting():e.column.toggleSorting("desc"===t)};b.onSort=e.column.getToggleSortingHandler(),b.onSortToggle=t,b.sortDirection=e.column.getIsSorted()}return n.createElement(rc,Object.assign({key:e.id},b))}const rc=n.memo((function(e){const{align:t,canGoto:a,canHide:r,canMeasureSize:o,canPin:i,canResize:s,canSort:c,children:u,className:d,colSpan:m,customMenu:g,defaultWidth:f,hasMenu:h,id:v,index:p,isGroup:w,isPinned:b,isPlaceholder:E,isResizing:x,offset:y,onGoto:z,onHide:R,onPin:C,onResize:S,onSort:N,onSortToggle:A,setRowActiveIndex:O,setColumnSizing:I,sortDirection:L,tooltip:H,width:M}=e,[k,V]=n.useState(null);!function(e,t,l,a,r,o){n.useEffect(()=>{r&&a&&!Number.isInteger(l)&&!as(e)&&"grow"!==t&&o(t=>({...t,[e]:a.getBoundingClientRect().width}))},[a,r,l])}(v,f,M,k,o,I);const j={};return m>1&&(j.gridColumn="span "+m),b&&(j[b]=y+"px"),n.createElement("th",Object.assign({},function(e,t,n){var l;return e?{"aria-sort":null!==(l=Zs[n])&&void 0!==l?l:"none",onClick:e=>{!e.isDefaultPrevented()&&e.currentTarget.contains(e.target)&&(e.preventDefault(),null==t||t(e))}}:{}}(c,N,L),{className:d,"data-cell-align":w?"center":t,"data-cell-id":v,"data-cell-pinned":b||void 0,style:j,ref:V}),E?null:as(v)?u:n.createElement(tr,{title:String(null!=H?H:u),placement:"top"},n.createElement("span",{className:"truncate"},u)),L?n.createElement(Xs,{direction:L}):null,h?n.createElement(lc,{canGoto:a,canHide:r,canPin:i,canSort:c,className:l({"ml-auto":"right"!==t,"ml-0":"right"===t}),customMenu:g,index:p,onGoto:z,onHide:R,onPin:C,onSortToggle:A,setRowActiveIndex:O,sortDirection:L}):null,s?n.createElement(ec,{headerRef:k,id:v,isResizing:x,onResize:S,setColumnSizing:I,width:M}):null)})),oc={accept:e=>!!e.closest('tr[data-row-active="true"]'),tabbable:!0};function ic(e){const{enableArrowKeyFocusing:t=!1,length:l,table:a,...r}=e,o=n.useRef(null),i=function(){const e=v.useFocusManager();return{focusPrevious:()=>e.focusPrevious(oc),focusNext:()=>e.focusNext(oc),focusFirst:()=>e.focusFirst(oc),focusLast:()=>e.focusLast(oc)}}(),s=a.options.meta,c=n.useRef(0);return n.createElement("tbody",Object.assign({},r,{onKeyDown:e=>{if(!e.isDefaultPrevented()&&!e.isPropagationStopped()&&void 0!==s.rowActive.rowActiveIndex){const n=0===s.rowActive.rowActiveIndex,a=s.rowActive.rowActiveIndex===l-1;if("Tab"===e.key||t&&("ArrowLeft"===e.key||"ArrowRight"===e.key)){if(s.rowActive.setHoverStatePaused(!0),e.shiftKey||"ArrowLeft"===e.key?i.focusPrevious():i.focusNext())return e.preventDefault(),void(c.current=c.current+1);e.shiftKey||"ArrowLeft"===e.key?n||0===c.current||(e.preventDefault(),s.rowActive.setRowActiveIndex(s.rowActive.rowActiveIndex-1),c.current=0,requestAnimationFrame(()=>i.focusLast())):a||0===c.current||(e.preventDefault(),s.rowActive.setRowActiveIndex(s.rowActive.rowActiveIndex+1),c.current=0,requestAnimationFrame(()=>i.focusFirst()))}}},ref:o}))}function sc(e){return n.createElement(cc,{key:e.id,footer:e})}const cc=n.memo((function(e){var t,l;const{footer:a}=e,r=a.column.columnDef.meta,o=null!==(t=a.subHeaders)&&void 0!==t&&t.length?null===(l=a.subHeaders.find(e=>e.column.getIsPinned()))||void 0===l?void 0:l.column.getIsPinned():a.column.getIsPinned(),i={};return o&&(i[o]=a.column.getStart(o)-1+"px"),n.createElement("td",{key:a.id,"data-cell-align":r.align,"data-cell-id":a.id,"data-cell-pinned":o||void 0,style:i},a.isPlaceholder?null:z.flexRender(a.column.columnDef.footer,a.getContext()))}));function uc(e){var t;const{length:l,table:a}=e,{locale:r,texts:o}=dr(),i=a.getRowModel().rows.length;let s,c;const u=a.getIsAllRowsSelected()?l:a.getSelectedRowModel().rows.length;return u>0?(s=o.table3.footer.summary.selected,c=n.createElement(n.Fragment,null,n.createElement("strong",null,new Intl.NumberFormat(r).format(u))," ",o.table3.footer.summary.count," ",n.createElement("strong",null,new Intl.NumberFormat(r).format(l)))):null!==(t=a.getState().columnFilters)&&void 0!==t&&t.length||a.getState().globalFilter&&a.options.enableGlobalFilter?(s=o.table3.footer.summary.records,c=n.createElement(n.Fragment,null,n.createElement("strong",null,i)," ",o.table3.footer.summary.count," ",n.createElement("strong",null,new Intl.NumberFormat(r).format(l)))):(s=o.table3.footer.summary.records,c=n.createElement("strong",null,new Intl.NumberFormat(r).format(l))),n.createElement("div",{className:"border-grey-300 sticky z-20 -mt-[2.63rem] ml-px flex h-10 w-fit items-center whitespace-nowrap rounded-bl border-t-2 bg-white px-4 !pr-3","data-taco":"table2-footer-summary"},s," ",c)}const dc=n.forwardRef((function(e,t){var a,r;const{findCurrent:o,findTotal:i,loading:s=!1,onChange:c,onClear:u,onClickFindNext:d,onClickFindPrevious:m,settingsContent:g,shortcut:f,value:h,...v}=e,p=qa(t),w=n.useRef(null),[b,E]=n.useState(!1),{texts:x}=dr(),y=null==h?void 0:h.length,z=d&&m&&void 0!==o&&void 0!==i;Za(f,e=>{var t;document.activeElement!==p.current&&(e.preventDefault(),null===(t=p.current)||void 0===t||t.focus())});const R=e=>{var t,n;w.current&&(w.current===e.relatedTarget||null!==(t=w.current)&&void 0!==t&&t.contains(e.relatedTarget))||(E(!1),null===(n=v.onBlur)||void 0===n||n.call(v,e))},C=()=>{requestAnimationFrame(()=>{var e;return null===(e=p.current)||void 0===e?void 0:e.blur()}),c(""),null==u||u()};let S;v.disabled||v.readOnly||!h&&!b?!f||b||h||(S=n.createElement(fi,{keys:f,onClickCapture:()=>{var e;return null===(e=p.current)||void 0===e?void 0:e.focus()}})):(h&&(S=n.createElement(or,{"aria-label":x.searchInput.clear,className:"scale-75 !bg-transparent hover:!bg-black/[0.08] [&>svg]:scale-125",icon:"close",onMouseDown:C,tabIndex:-1,tooltip:b?n.createElement(n.Fragment,null,x.searchInput.clear," ",n.createElement(fi,{keys:"Escape"})):x.searchInput.clear})),z&&y&&(S=n.createElement(n.Fragment,null,n.createElement("span",{className:"text-grey-700 flex h-4 items-center border-r border-black/[0.25] pr-2"},s?n.createElement(Mr,{className:"h-4 w-4"}):`${null!=o?o:0}/${null!=i?i:0}`),o?n.createElement(n.Fragment,null,n.createElement(or,{"aria-label":x.searchInput.findPrevious,className:"scale-75 !bg-transparent hover:!bg-black/[0.08] [&>svg]:scale-125",icon:"chevron-up",onMouseDown:m,tabIndex:-1,tooltip:b?n.createElement(n.Fragment,null,x.searchInput.findPrevious," ",n.createElement(fi,{keys:{shift:!0,key:"Enter"}})):x.searchInput.findPrevious}),n.createElement(or,{"aria-label":x.searchInput.findNext,className:"scale-75 !bg-transparent hover:!bg-black/[0.08] [&>svg]:scale-125",icon:"chevron-down",onMouseDown:d,tabIndex:-1,tooltip:b?n.createElement(n.Fragment,null,x.searchInput.findNext," ",n.createElement(fi,{keys:"Enter"})):x.searchInput.findNext})):null,S)));const N=l("!pl-7 group-focus-within:!w-72 group-focus-within:yt-focus",z?{"!w-48":!h,"!w-72":h}:"!w-48",{"!wcag-blue-100":y},e.className),A=n.createElement(Ir,Object.assign({},v,{"aria-label":null!==(a=v["aria-label"])&&void 0!==a?a:x.searchInput.placeholder,className:N,"data-taco":"search-input2",onBlur:R,onChange:e=>c(e.target.value),onFocus:e=>{var t;E(!0),null===(t=v.onFocus)||void 0===t||t.call(v,e)},onKeyDown:t=>{var n;if(null===(n=e.onKeyDown)||void 0===n||n.call(e,t),!t.isDefaultPrevented())return"Enter"===t.key?(t.preventDefault(),void(z&&y&&(t.shiftKey?null==m||m():null==d||d()))):void("Escape"!==t.key||C())},placeholder:null!==(r=v.placeholder)&&void 0!==r?r:x.searchInput.placeholder,prefix:n.createElement(ya,{"aria-label":x.searchInput.button,className:"-ml-0.5 scale-95",name:"search",onClickCapture:()=>{var e;return null===(e=p.current)||void 0===e?void 0:e.focus()}}),postfix:S,ref:p,value:null!=h?h:""}));if(g){const e=l("border-grey-300 absolute left-0 right-0 -mt-0.5 hidden top-full group-focus-within:flex focus-within:flex flex-col gap-y-4 rounded-b border border-t-0 bg-white p-3 shadow !pt-[calc(theme(spacing.3)_+_theme(spacing[0.5]))]");return n.createElement("div",{className:l("group relative",{"z-10 [&_[data-taco=input-container]]:z-10":b}),ref:w,style:{opacity:.999}},A,n.createElement("div",{onBlur:R,className:e,onClickCapture:()=>{var e;return null===(e=p.current)||void 0===e?void 0:e.focus()},tabIndex:-1},g))}return A})),mc=t.forwardRef((function(e,n){const{label:a,onChange:r,...o}=e,i=xr(e.id),s=l("group h-5 w-9 flex flex-shrink-0 rounded-full inline-flex focus-visible:yt-focus",{"mr-2":!!a,"bg-grey-500 hover:bg-grey-700 aria-checked:bg-blue-500 aria-checked:hover:bg-blue-700":!e.disabled,"bg-grey-500/50 aria-checked:bg-blue-500/50 cursor-not-allowed":e.disabled},e.className);let c=null;a&&(c={"aria-labelledby":i+"-label",id:i});const u=t.createElement(y.Root,Object.assign({},o,c,{className:s,"data-taco":"switch",onCheckedChange:r,ref:n}),t.createElement(y.Thumb,{className:"'will-change-transform mt-0.5 h-4 w-4 translate-x-[0.15rem] rounded-full bg-white transition-transform group-disabled:opacity-50 group-aria-checked:translate-x-[1.1rem]"}));if(a){const n=l("flex self-start cursor-pointer",{"cursor-not-allowed text-grey-300":e.disabled});return t.createElement("span",{className:n,"data-taco":"switch-container"},u,t.createElement("label",{htmlFor:i,id:i+"-label"},a))}return u}));function gc(e){var t,l;const{scrollToIndex:a,table:r}=e,{texts:o}=dr(),i=n.useRef(null),s=r.options.meta,c=r.getState().globalFilter,u=e=>a(e,{align:"center"});n.useEffect(()=>{s.search.highlightedColumnIndexes.length&&u(s.search.highlightedColumnIndexes[0][0])},[s.search.highlightedColumnIndexes.length]);const d=n.createElement(mc,{label:o.table3.search.excludeUnmatchedResults,checked:!!r.options.enableGlobalFilter,onChange:e=>{s.search.setEnableGlobalFilter(e,r),requestAnimationFrame(()=>{var e;return null===(e=i.current)||void 0===e?void 0:e.focus()})}});return n.createElement(n.Fragment,null,n.createElement(dc,{findCurrent:void 0!==s.search.currentHighlightColumnIndex?s.search.currentHighlightColumnIndex+1:null,findTotal:null!==(t=null===(l=s.search.highlightedColumnIndexes)||void 0===l?void 0:l.length)&&void 0!==t?t:null,loading:s.server.loadAllStatus===ds.Loading,onClickFindPrevious:()=>{if(!s.search.highlightedColumnIndexes.length)return;const e=void 0===s.search.currentHighlightColumnIndex?0:0===s.search.currentHighlightColumnIndex?s.search.highlightedColumnIndexes.length-1:s.search.currentHighlightColumnIndex-1;s.search.setCurrentHighlightColumnIndex(e),u(s.search.highlightedColumnIndexes[e][0])},onClickFindNext:()=>{if(!s.search.highlightedColumnIndexes.length)return;const e=void 0===s.search.currentHighlightColumnIndex||s.search.currentHighlightColumnIndex===s.search.highlightedColumnIndexes.length-1?0:s.search.currentHighlightColumnIndex+1;s.search.setCurrentHighlightColumnIndex(e),u(s.search.highlightedColumnIndexes[e][0])},onChange:e=>{r.setGlobalFilter(String(null!=e?e:""))},onFocus:function(){try{const e=function(){if(s.server.loadAllIfNeeded)return Promise.resolve(s.server.loadAllIfNeeded(r.getState().sorting,r.getState().columnFilters,void 0)).then((function(){}))}();return Promise.resolve(e&&e.then?e.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},placeholder:o.table3.search.placeholder,settingsContent:d,ref:i,shortcut:{key:"f",meta:!0,shift:!1},value:c}))}function fc(e,t){var l;const a=n.Children.toArray(e).filter(e=>"SortableList"===e.type.displayName),r=a.find(e=>e.props.id===t);return r?null==r?void 0:r.props:null===(l=a.find(e=>n.Children.toArray(e.props.children).findIndex(e=>e.props.id===t)>-1))||void 0===l?void 0:l.props}function hc(e){const{children:t,reorder:l,move:a}=e;return n.createElement(R.DndContext,Object.assign({collisionDetection:R.closestCenter},e,{onDragOver:function(e){const{active:n,over:l}=e;if(null==n||!n.id||null==l||!l.id)return;const r=fc(t,n.id),o=fc(t,l.id);null!=r&&r.id&&null!=o&&o.id&&r.id!==o.id&&a(n.id,null==r?void 0:r.id,o.id)},onDragEnd:function(e){const{active:n,over:a}=e;if(null==n||!n.id||null==a||!a.id)return;const r=fc(t,n.id),o=fc(t,a.id);null!=r&&r.id&&null!=o&&o.id&&r.id===o.id&&l(n.id,a.id,o.id)}}),t)}function vc(e){const{asChild:t,children:l,disabled:a=!1,id:r}=e,{attributes:o,listeners:i,setNodeRef:s,transform:c,transition:u}=C.useSortable({disabled:a,id:r}),d={transform:S.CSS.Transform.toString(c),transition:u},m={...o,...i,onPointerDown:e=>{e.currentTarget.contains(e.target)&&!["BUTTON","INPUT","TEXTAREA","SELECT","FIELDSET"].includes(e.target.nodeName)&&(null==i||i.onPointerDown(e))},ref:s,style:d};return t?n.cloneElement(l,m):n.createElement("div",Object.assign({},m),l)}function pc(e){const{children:t,id:l,...a}=e,{setNodeRef:r}=R.useDroppable({id:l}),o=n.Children.toArray(t).map(e=>e.props);return n.createElement(C.SortableContext,{id:l,items:o,strategy:C.verticalListSortingStrategy},n.createElement("div",Object.assign({},a,{ref:l?r:void 0}),t))}mc.displayName="Switch",hc.displayName="SortableContainer",vc.displayName="SortableListItem",pc.displayName="SortableList";const wc=n.forwardRef((function(e,t){var a,r,o;const{column:i,draggable:s=!1,...c}=e,u=i.getCanHide(),d=l("group/column flex items-center gap-x-2 rounded py-1 px-2",{"hover:bg-grey-200":u||s,"hover:cursor-pointer":u,"active:cursor-move active:bg-grey-300":s}),m=s?c:void 0,g=i.getIsVisible(),f=null===(a=i.parent)||void 0===a||null===(r=a.columnDef)||void 0===r?void 0:r.header;return n.createElement("div",Object.assign({},m,{className:d,onClick:()=>i.toggleVisibility(!g),ref:t}),s?n.createElement(ya,{name:"drag",className:"text-grey-500 group-hover/column:text-grey-700 -mx-2 !h-5"}):null,n.createElement("span",{className:"flex-grow truncate"},null===(o=i.columnDef.meta)||void 0===o?void 0:o.header,f?n.createElement("span",{className:"italic"},"(",f,")"):null),u?n.createElement(yr,{checked:g,onChange:()=>i.toggleVisibility(!g)}):null)}));function bc(e){const{table:t,trigger:l,...a}=e,{texts:r}=dr(),[o,i]=n.useState(""),s=t.getAllLeafColumns(),c=t.options.meta,u=n.useMemo(()=>s.filter(e=>!as(e.id)).filter(e=>{var t,n,l;return null==o||!o.length||(null===(t=e.columnDef.meta)||void 0===t?void 0:t.header.toLowerCase().includes(o.toLowerCase()))||(null===(n=e.parent)||void 0===n||null===(l=n.columnDef.meta)||void 0===l?void 0:l.header.toLowerCase().includes(o.toLowerCase()))}),[s,o]),d="flex max-h-64 flex-col gap-y-px overflow-auto";return n.createElement(mo,Object.assign({},a,{anchor:l}),n.createElement(mo.Content,null,n.createElement("div",{className:"flex max-w-sm flex-col gap-2"},t.options.enableHiding?n.createElement(Ir,{onChange:e=>i(e.target.value),placeholder:r.table3.columnSettings.search,value:o}):null,!c.columnOrdering.isEnabled||!u.length||null!=o&&o.length?n.createElement("div",{className:d},u.length?u.map(e=>n.createElement(wc,{column:e,key:e.id})):r.table3.columnSettings.noResults):n.createElement(hc,{reorder:(e,n)=>{u.find(e=>{var t;return e.id===n&&!1===(null===(t=e.columnDef.meta)||void 0===t?void 0:t.enableOrdering)})||t.setColumnOrder((t=[])=>is(s,C.arrayMove(t,t.findIndex(t=>t===e),t.findIndex(e=>e===n))))}},n.createElement(pc,{id:"columns",className:d},u.filter(e=>!e.getIsGrouped()).map(e=>{var t,l;return n.createElement(vc,{key:e.id,id:e.id,disabled:!(null!==(t=e.columnDef.meta)&&void 0!==t&&t.enableOrdering),asChild:!0},n.createElement(wc,{column:e,draggable:null===(l=e.columnDef.meta)||void 0===l?void 0:l.enableOrdering}))}))))))}function Ec(e){const{customSettings:t,table:l}=e,{texts:a}=dr(),r=l.options.meta,o=l.options.enableHiding||r.columnOrdering.isEnabled,i=r.fontSize.isEnabled,s=r.rowHeight.isEnabled,[c,u]=n.useState(void 0);let d;if(c){const e=()=>u(void 0);switch(c){case"columnSettings":o&&(d=t=>n.createElement(bc,Object.assign({},t,{open:!0,onChange:e,table:l})))}}return n.createElement(or,{"aria-label":a.table3.otherOptions.tooltip,icon:"sliders",menu:d?void 0:e=>n.createElement(Hi,Object.assign({},e),n.createElement(Hi.Content,{align:"end"},o?n.createElement(Hi.Item,{icon:"columns",onClick:()=>u("columnSettings")},a.table3.columnSettings.button):null,o&&(s||i||t)?n.createElement(Hi.Separator,null):null,s?n.createElement(Hi.Item,{icon:"height-"+r.rowHeight.height,subMenu:()=>n.createElement(yc,{tableMeta:r})},a.table3.rowHeight.tooltip):null,i?n.createElement(Hi.Item,{icon:"font-size",subMenu:()=>n.createElement(xc,{tableMeta:r})},a.table3.fontSize.tooltip):null,t?n.createElement(n.Fragment,null,s||i?n.createElement(Hi.Separator,null):null,t(Fs(l)).map((e,t)=>n.createElement(n.Fragment,{key:t},e))):null)),popover:d,onClickCapture:e=>e.preventDefault(),tooltip:a.table3.otherOptions.tooltip})}function xc({tableMeta:e}){const{texts:t}=dr();return n.createElement(Hi.SubMenu,null,n.createElement(Hi.RadioGroup,{onChange:e.fontSize.setSize,value:e.fontSize.size},n.createElement(Hi.RadioGroup.Item,{value:exports.FontSizes.small},t.table3.fontSize.sizes.small),n.createElement(Hi.RadioGroup.Item,{value:exports.FontSizes.medium},t.table3.fontSize.sizes.medium),n.createElement(Hi.RadioGroup.Item,{disabled:"short"===e.rowHeight.height,value:exports.FontSizes.large},t.table3.fontSize.sizes.large)))}function yc({tableMeta:e}){const{texts:t}=dr();return n.createElement(Hi.SubMenu,null,n.createElement(Hi.RadioGroup,{onChange:e.rowHeight.setHeight,value:e.rowHeight.height},n.createElement(Hi.RadioGroup.Item,{value:"short"},t.table3.rowHeight.sizes.short),n.createElement(Hi.RadioGroup.Item,{value:"medium"},t.table3.rowHeight.sizes.medium),n.createElement(Hi.RadioGroup.Item,{value:"tall"},t.table3.rowHeight.sizes.tall),n.createElement(Hi.RadioGroup.Item,{value:"extra-tall"},t.table3.rowHeight.sizes.extraTall)))}const zc=e=>"Enter"===e.key||" "===e.key||"Tab"===e.key,Rc=e=>"ArrowUp"===e.key||"ArrowDown"===e.key||"Home"===e.key||"End"===e.key,Cc=(e,t)=>e.querySelectorAll(t),Sc=n.forwardRef((function(e,t){const{querySelector:l,tabIndex:a=0,...r}=e,o=qa(t),[i,s]=n.useState(),c=n.useRef(0),u=(e,t,n)=>{var l;null===(l=t.querySelector("[aria-current]"))||void 0===l||l.removeAttribute("aria-current"),n.setAttribute("aria-current","true"),n.scrollIntoView({block:"nearest"}),s(e)},d=n.useCallback(e=>{if(o.current&&e.matches(l)){const t=Cc(o.current,l),n=Array.from(t).indexOf(e);n>-1&&u(n,o.current,e)}},[o.current,l]);return n.useEffect(()=>{o.current&&(o.current.setActiveIndex=d)},[o.current]),n.useEffect(()=>{if(o.current){const e=Cc(o.current,l);if(e.length&&e.length!==c.current){let t=o.current.querySelectorAll('[aria-current="true"]');if(0===t.length&&(t=o.current.querySelectorAll("[aria-selected]")),1===t.length){if(e){const n=t.item(0),l=Array.from(e).indexOf(n);l>-1&&u(l,o.current,n)}}else u(0,o.current,e.item(0))}c.current=e.length}},[e.children]),n.createElement("div",Object.assign({},r,{onClick:e=>{const t=e.target;if(t.matches(l)){const n=Cc(e.currentTarget,l),a=Array.from(n).indexOf(t);a>-1&&u(a,e.currentTarget,t)}},onKeyDown:e=>{if(e.target!==e.currentTarget)return;if(r.onKeyDown&&r.onKeyDown(e),e.isDefaultPrevented())return;const t=Cc(e.currentTarget,l);if(t)if(Rc(e)){e.preventDefault(),e.stopPropagation();const n=Nc(e,t,i);void 0!==n&&n!==i&&u(n,e.currentTarget,t.item(n))}else if(void 0!==i&&t.item(i)){var n;null===(n=t.item(i))||void 0===n||n.dispatchEvent(Dr(e))}},ref:o,tabIndex:a}))})),Nc=(e,t,n,l=!0)=>{const a=((e,t,n)=>{switch(e.key){case"ArrowUp":return void 0===n?t-1:n>0?n-1:n;case"ArrowDown":return void 0===n?0:n<t-1?n+1:n;case"Home":return 0;case"End":return t-1;default:return}})(e,t.length,n);if(void 0!==a){if(a===n)return n;if(t.item(a)&&Ac(t.item(a))){if(l){if(0===a)return Nc(new KeyboardEvent(e.type,{...e,key:"ArrowDown"}),t,a,!1);if(a===t.length-1)return Nc(new KeyboardEvent(e.type,{...e,key:"ArrowUp"}),t,a,!1)}return Nc(e,t,a,l)}}return a},Ac=e=>"presentation"===e.getAttribute("role")||!!e.hasAttribute("disabled")||!!e.getAttribute("aria-disabled")||!!e.getAttribute("aria-hidden");var Oc={__proto__:null,Root:Sc};const Ic=n.createContext({}),Lc=n.forwardRef((function(e,t){const{children:l,customSelector:a,disabled:r=!1,id:o,multiple:i,readOnly:s=!1,setValue:c,value:u,...d}=e,m="listbox2-"+xr(o),g=n.useMemo(()=>({disabled:r,readOnly:s,setValue:c,value:u}),[r,s,u]);return n.createElement(Ic.Provider,{value:g},n.createElement("div",{"data-taco":"listbox2"},n.createElement(Sc,Object.assign({},d,{"aria-multiselectable":!!i||void 0,id:m,querySelector:a?'[role="option"], '+a:'[role="option"]',ref:t,role:"listbox"}),l)))})),Hc=n.forwardRef((function(e,t){const{disabled:l,id:a,value:r,...o}=e,{disabled:i,readOnly:s,setValue:c,value:u}=n.useContext(Ic),d="option-"+xr(a),m=Array.isArray(u)?u.includes(r):u===r;return n.createElement("div",Object.assign({},o,{"aria-disabled":i||l?"true":void 0,"aria-selected":m?"true":void 0,id:d,onClick:t=>{l||i||s?t.stopPropagation():(c(r),"function"==typeof e.onClick&&e.onClick(t))},onKeyDown:t=>{l||i||s?t.stopPropagation():"Tab"===t.key&&m||(zc(t)&&c(r),"function"==typeof e.onKeyDown&&e.onKeyDown(t))},ref:t,role:"option"}))})),Mc=n.forwardRef((function(e,t){const[l,a]=n.useState();return n.createElement(kc.Provider,{value:{setLabelledById:a}},n.createElement("div",Object.assign({},e,{"aria-labelledby":l,ref:t,role:"group"})))})),kc=n.createContext({}),Vc=n.forwardRef((function(e,t){const{id:l,...a}=e,{setLabelledById:r}=n.useContext(kc),o=xr(l);return n.useEffect(()=>{r(o)},[o]),n.createElement("div",Object.assign({},a,{id:o,ref:t,role:"presentation"}))})),jc=n.forwardRef((e,t)=>{const{children:a,color:r,disabled:o,icon:i,readOnly:s,onDelete:c,...u}=e,d=n.useRef(null),m=l("inline-flex items-center rounded h-6 cursor-default",{"opacity-50":o,"hover:bg-opacity-75":!o,"cursor-pointer":!!u.onClick,"pointer-events-none":o||s},K(r),e.className);return n.createElement("span",Object.assign({},u,{className:m,ref:t,"data-taco":"tag"}),n.createElement("span",{className:"truncate px-2",ref:d},i?"string"==typeof i?n.createElement(ya,{name:i,className:"-ml-1 -mt-0.5 mr-1 !h-5 !w-5"}):n.cloneElement(i,{className:"mr-1 -ml-1 -mt-0.5 !h-5 !w-5"}):null,a),c?n.createElement(ya,{name:"close",onClick:c,className:"-ml-1.5 !h-6 !w-5 flex-shrink-0 cursor-pointer rounded-r p-0.5 hover:bg-black/5"}):null)}),Tc=(e=!1)=>l("group mb-px flex w-full text-sm flex-shrink-0 font-normal cursor-pointer items-center rounded bg-white px-2 leading-8 text-black aria-hidden:hidden gap-1.5 bg-white aria-current:wcag-grey-200 aria-disabled:text-black/25 aria-disabled:pointer-events-none",{"hover:wcag-grey-200":!e}),Dc=n.createContext({}),Fc=()=>n.useContext(Dc),Pc=e=>{const{color:t,text:a,value:r,...o}=e,i=n.useRef(null),{onDelete:s,onEdit:c,searchRef:u,ref:d}=Fc(),{texts:m}=dr(),[g,f]=n.useState(a),[h,v]=n.useState(t),[p,w]=n.useState(),b=e=>{f(e.target.value),w(void 0)},E=e=>function(t){try{return t.stopPropagation(),"Escape"===t.key?e():"Enter"===t.key&&y(e)(t),Promise.resolve()}catch(e){return Promise.reject(e)}},x=e=>function(t){try{t.stopPropagation(),e();const n=function(){if(s)return Promise.resolve(s(r)).then((function(){}))}();return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},y=e=>function(n){try{const l=function(){if(!c||g===a&&h===t)e();else{const t=Os((function(){return Promise.resolve(c(r,g,h)).then((function(){e()}))}),(function(e){var t;n.preventDefault(),n.stopPropagation(),w(e),null===(t=i.current)||void 0===t||t.focus()}));if(t&&t.then)return t.then((function(){}))}}();return Promise.resolve(l&&l.then?l.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},z=e=>{"Escape"===e.key||"Tab"===e.key||"Tab"===e.key&&e.shiftKey||e.stopPropagation()};return n.createElement(mo,Object.assign({},o),n.createElement(mo.Content,{onCloseAutoFocus:e=>{var n,l;e.preventDefault(),f(a),v(t),w(void 0),null!=u&&u.current?null===(n=u.current)||void 0===n||n.focus():null===(l=d.current)||void 0===l||l.focus()},onInteractOutside:()=>{f(a),v(t)},onClick:e=>e.stopPropagation(),onKeyDown:e=>{("Tab"===e.key||"Tab"===e.key&&e.shiftKey)&&e.stopPropagation()},placement:"right",tabIndex:-1,className:"focus:!shadow-none"},({close:e})=>n.createElement(n.Fragment,null,n.createElement("div",{className:"flex w-32 flex-col space-y-2"},c?n.createElement(n.Fragment,null,n.createElement(Qo,{className:l("!min-h-fit",{"!pb-0":!p}),invalid:!!p,message:null==p?void 0:p.message},n.createElement(Ir,{invalid:!!p,onChange:b,onKeyDown:E(e),ref:i,value:g})),t?n.createElement(n.Fragment,null,n.createElement("h5",null,"Colours"),n.createElement(Bc,{color:h,onChangeColor:v,onKeyDown:z})):null,n.createElement(So,null,n.createElement(fr,{onClick:e},m.select2.cancel),n.createElement(fr,{appearance:"primary",onClick:y(e)},m.select2.save))):null,c&&s?n.createElement("hr",null):null,s?n.createElement("button",{className:"hover:text-grey-700 flex items-center justify-start gap-1",onClick:x(e),onKeyDown:z},n.createElement(ya,{className:"!h-5 !w-5",name:"delete-permanently"})," ",m.select2.delete):null))))},Bc=e=>{const{color:t,onChangeColor:a,onClick:r,onKeyDown:o}=e,{texts:i}=dr();return n.createElement(x.Root,{"aria-label":i.select2.chooseColor,className:"grid grid-cols-4 gap-2 focus:outline-none",onClick:r,onKeyDown:o,onValueChange:e=>a(e),value:t},G.map(e=>n.createElement(x.Item,{"aria-label":t,className:l("flex h-6 w-6 cursor-pointer items-center justify-center rounded",K(e)),key:e,onFocus:()=>a(e),value:e},n.createElement(x.Indicator,{asChild:!0},n.createElement(ya,{name:"tick",className:"!h-5 !w-5"})))))},_c=/iPhone|iPad|iPod|Android/i,Gc=e=>!(null==e||!e.userAgent)&&_c.test(e.userAgent),qc=n.forwardRef((function(e,t){var a;const{children:r,color:o,description:i,prefix:s,postfix:c,className:u,...d}=e,{onDelete:m,onEdit:g,listboxRef:f,multiple:h,ref:v,setOpen:p,shouldPauseHoverState:w,tags:b,value:E,fontSize:x=exports.FontSizes.medium}=Fc(),y=l(Tc(w),{"text-xs":x===exports.FontSizes.small,"text-sm":x===exports.FontSizes.medium,"text-base":x===exports.FontSizes.large},u),z=Array.isArray(E)?!!E.length:void 0!==E,R=b&&!!o,C=""!==r&&(g||m)?t=>{var l,a;return n.createElement(Pc,Object.assign({},t,{color:e.color,key:null!==(l=e.textValue)&&void 0!==l?l:String(e.children),text:null!==(a=e.textValue)&&void 0!==a?a:String(e.children),value:e.value}))}:void 0;return n.createElement(Hc,Object.assign({},d,{className:y,onClick:()=>{var e;h?null===(e=v.current)||void 0===e||e.focus():p(!1)},onKeyDown:e=>{zc(e)&&(h&&"Tab"!==e.key||p(!1))},ref:t}),z?n.createElement(ya,{name:"tick",className:"pointer-events-none invisible -mx-0.5 !h-4 !w-4 group-aria-selected:visible"}):null,R?n.createElement(jc,{className:"pointer-events-none my-1",color:o,icon:s},r):n.createElement(n.Fragment,null,s?"string"==typeof s?n.createElement(ya,{name:s}):s:null,n.createElement("span",{className:"flex w-full justify-between"},n.createElement("span",{className:"flex flex-col"},n.createElement("span",null,r),i?n.createElement("span",{className:"text-grey-700 -mt-1.5 mb-1.5 text-xs"},i):null),n.createElement("span",{className:"flex flex-col self-center"},c?"string"==typeof c?n.createElement(ya,{name:c}):c:null))),C?n.createElement(or,{icon:"ellipsis-vertical",appearance:"discrete",className:l("group-aria-current:visible invisible -mr-1 ml-auto !h-5 min-h-[theme(spacing.6)] !w-5 min-w-[theme(spacing.6)] hover:!bg-black/[.08] focus:!shadow-none group-hover:visible",{"!visible":Gc(null===(a=window)||void 0===a?void 0:a.navigator)}),onClick:e=>{var t;e.stopPropagation(),null==f||null===(t=f.current)||void 0===t||t.setActiveIndex(e.currentTarget.parentElement)},popover:C,tabIndex:-1}):null)})),$c=n.forwardRef((function(e,t){const{children:a,heading:r,hasSeparator:o,...i}=e,s=l("flex flex-col gap-px",{"last:after:content-none after:content-[''] after:bg-grey-300 after:mx-2 after:my-1 after:h-px":o&&a.length},e.className);return n.createElement(Mc,Object.assign({},i,{className:s,ref:t}),n.createElement(Vc,{className:"sticky top-0 bg-white px-2 font-bold leading-8"},r),a)})),Kc=n.forwardRef((function(e,t){const a=l("flex items-center text-xs pl-2 h-8",e.className);return n.createElement(Vc,Object.assign({},e,{className:a,ref:t}))})),Uc=n.forwardRef((function(e,t){const{multiple:l,value:a}=Fc();if(Array.isArray(a)||l){const l=Array.isArray(a)?a:void 0!==a?[a]:void 0;return n.createElement(Yc,Object.assign({},e,{ref:t,values:l}))}return n.createElement(Jc,Object.assign({},e,{ref:t,value:a}))})),Wc=n.forwardRef((function(e,t){var a;const{children:r,onClick:o,tabIndex:i=0,...s}=e,{disabled:c,highlighted:u,invalid:d,open:m,readOnly:g}=Fc(),f=l("cursor-pointer !px-1 h-fit",zr({...e,disabled:c,highlighted:u,invalid:d,readOnly:g}).replace("w-full",""),{"w-full":!(null!==(a=e.className)&&void 0!==a&&a.includes("w-"))},e.className);return n.createElement("button",Object.assign({},s,{"aria-invalid":!!d||void 0,"aria-readonly":!!g||void 0,className:f,disabled:c,onClick:e=>{c||g?e.preventDefault():"function"==typeof o&&o(e)},ref:t,role:"combobox",tabIndex:c||g?-1:i,type:"button"}),r,n.createElement(ya,{name:m?"chevron-up":"chevron-down",className:"pointer-events-none -mr-1 ml-auto"}))})),Jc=n.forwardRef((function(e,t){const{children:a,emptyValue:r,value:o,placeholder:i,...s}=e,{disabled:c,readOnly:u,tags:d}=Fc(),m=l("truncate items-center gap-1"),g=a.find(Xc(o));let f;return i&&void 0===g?f=n.createElement("div",{className:l({"text-grey-700":c,"text-grey-500":!c})},i):g&&(f=d&&r!==o?n.createElement(jc,{className:"truncate",color:g.props.color,disabled:c,icon:g.props.prefix,readOnly:u},g.props.children):n.createElement(n.Fragment,null,g.props.prefix?"string"==typeof g.props.prefix?n.createElement(ya,{name:g.props.prefix,className:"mr-1 !h-5 !w-5"}):g.props.prefix:null,g.props.children)),n.createElement(Wc,Object.assign({},s,{ref:t}),n.createElement("div",{className:m},f))})),Yc=n.forwardRef((function(e,t){var a;const{children:r,values:o=[],placeholder:i,...s}=e,{disabled:c,open:u,readOnly:d,setValue:m,tags:g}=Fc(),f=qa(t),h=o.map(e=>r.find(t=>t.props.value===e)).filter(e=>!!e);let v,{className:p}=s;return u?(p=l("!absolute z-20",s.className),v=n.createElement(ko,{className:"my-1 flex max-h-[5.5rem] flex-col"},n.createElement("div",{className:"flex flex-wrap gap-1"},0===h.length?n.createElement("div",{className:l({"text-grey-700":c,"text-grey-500":!c})},i):h.map(e=>n.createElement(jc,{key:String(e.props.value),className:"truncate",color:g?e.props.color:void 0,disabled:c,icon:e.props.prefix,onDelete:t=>{null==t||t.stopPropagation(),null==t||t.preventDefault(),c||d||m(e.props.value)},readOnly:d},e.props.children))))):v=n.createElement(Qc,{key:String(u),valuesAsChildren:h,placeholder:i}),n.createElement("div",{className:"relative inline-flex h-fit flex-grow","data-taco":"select2-container",style:{width:u?null===(a=f.current)||void 0===a?void 0:a.offsetWidth:void 0}},n.createElement(Wc,Object.assign({},s,{className:p,ref:f}),v))})),Qc=({valuesAsChildren:e,placeholder:t})=>{const{disabled:a,open:r,readOnly:o,setValue:i,tags:s}=Fc(),[c,u]=n.useState(null),d=c?$a(c,30):void 0;return n.createElement("div",{className:"relative flex items-center gap-1 overflow-hidden"},n.createElement("div",{className:"flex gap-1 truncate",ref:e=>u(e)},0===e.length?n.createElement("div",{className:l({"text-grey-700":a,"text-grey-500":!a})},t):e.map((e,t)=>{const c=n.createElement(jc,{key:String(e.props.value),className:l("cursor-pointer",{truncate:t===d,hidden:null!=d&&t>d}),color:s?e.props.color:void 0,disabled:a,icon:e.props.prefix,onDelete:r?(u=e.props.value,e=>{null==e||e.stopPropagation(),null==e||e.preventDefault(),a||o||i(u)}):void 0,readOnly:o},e.props.children);var u;return t===d?n.createElement(tr,{key:String(e.props.value),title:String(e.props.children)},c):c})),null!=d&&d<e.length-1?n.createElement(tr,{title:e.slice(d+1).map(e=>e?String(e.props.children):"").join(", ")},n.createElement(Ga,{className:"flex-shrink-0"},"+",e.length-(d+1))):null)},Xc=e=>t=>Array.isArray(e)?e.includes(t.props.value):t.props.value===e,Zc=e=>{const{value:t,...l}=e,a=n.useRef(null),r=function(e){const t=n.useRef(e);return n.useEffect(()=>{t.current=e},[e]),t.current}(t);return n.useEffect(()=>{const e=a.current,n=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(r!==t&&n){Array.isArray(t)?t.forEach(t=>{const n=e.querySelector(`option[value='${t}']`);n&&(n.selected=!0)}):n.call(e,t);const l=new Event("change",{bubbles:!0});e.dispatchEvent(l)}},[r,t]),n.createElement("select",Object.assign({},l,{defaultValue:t,ref:a,style:{display:"none"}}))},eu=n.forwardRef((function(e,t){const{onTabKeyPress:a,...r}=e,{listboxRef:o,searchQuery:i,setSearchQuery:s,setValidationError:c,validationError:u,setOpen:d}=Fc();return n.createElement(Qo,{className:l("mx-1.5 mb-1.5 !min-h-fit ",{"!pb-0":!u}),invalid:!!u,message:null==u?void 0:u.message},n.createElement(Ir,Object.assign({},r,{"aria-hidden":!0,autoFocus:!0,invalid:!!u,onChange:e=>{u&&c(void 0),s(e.target.value)},onKeyDown:e=>{var t;if(" "!==e.key&&("Tab"===e.key&&(d(!1),a()),zc(e)||"ArrowDown"===e.key||"ArrowUp"===e.key))return e.preventDefault(),void(null==o||null===(t=o.current)||void 0===t||t.dispatchEvent(Dr(e)))},ref:t,value:i})))})),tu=e=>!!e.props.heading||!!e.props.hasSeparator,nu=(e,t)=>{var n,l;return!(null===(n=e.props.textValue)||void 0===n||!n.toLowerCase().includes(t.toLowerCase()))||!(null===(l=e.props.description)||void 0===l||!l.toLowerCase().includes(t.toLowerCase()))||String(e.props.children).toLowerCase().includes(t.toLowerCase())},lu=e=>{const{onCreate:t,options:a}=e,{multiple:r,searchQuery:o,setOpen:i,setSearchQuery:s,setValidationError:c,setValue:u}=Fc(),{texts:d}=dr(),m=n.useMemo(()=>(e=>{let t={};G.filter(e=>"transparent"!==e).forEach(e=>{t={...t,[e]:0}}),e.reduce((e,t)=>(t.props.color&&(e[t.props.color]=e[t.props.color]?e[t.props.color]+1:1),e),t);const n=Object.keys(t);if(n.length)return n.sort((e,n)=>t[e]-t[n])[0]})(a),[a]);if(!o)return null;const g=l("!w-[calc(100%_-_theme(spacing.3))] ml-1.5",Tc());return n.createElement("button",{className:g,onClick:function(){try{const e=Os((function(){return Promise.resolve(t(o,m)).then((function(e){u(e.value),r?s(""):i(!1)}))}),(function(e){c(e)}));return Promise.resolve(e&&e.then?e.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},onKeyDown:e=>{zc(e)&&e.currentTarget.click()}},n.createElement("span",{className:"flex items-center gap-1.5"},d.select2.create,n.createElement(jc,{color:m,className:"cursor-pointer"},o)))},au=e=>{const{children:t}=e;return n.createElement(ko,{className:"flex max-h-[11.5rem] w-full flex-col gap-y-0.5 px-1.5"},t)},ru=n.forwardRef((function(e,t){const{children:a,defaultValue:r,disabled:o=!1,emptyValue:i,placeholder:s,highlighted:c=!1,invalid:d=!1,multiple:m=!1,name:g,onChange:f,onCreate:h,onDelete:v,onEdit:p,readOnly:b=!1,tags:E=!1,value:x,fontSize:y,...z}=e,R=n.useMemo(()=>{if(void 0!==i&&!m)return n.createElement(qc,{key:"__empty",children:"",value:i,className:"h-8"})},[i,m]),C=n.useMemo(()=>R?[R,...a]:a,[R,a]),S=qa(t),N=n.useRef(null),A=n.useRef(null),{texts:O}=dr(),I=Sr(S),[L,H]=n.useState(!1),[M,k]=n.useState(!1),[V,j]=w.useControllableState({defaultProp:r,onChange:f,prop:x}),T=((e,t)=>n=>{t(t=>Array.isArray(n)?n:e?void 0===t?[n]:Array.isArray(t)?t.includes(n)?t.filter(e=>e!==n):[...t,n]:t===n?[]:[t,n]:n)})(m,j),[D,F]=n.useState(),[P,B]=ys(),{flattenedChildren:_,filteredChildren:G,searchQuery:q,setSearchQuery:$}=(({children:e,emptyValue:t,multiple:l,open:a,setValue:r,value:o})=>{const[i,s]=n.useState(""),c=n.useMemo(()=>(null==e?void 0:e.map(e=>tu(e)?e.props.children:e).flatMap(e=>e))||[],[e]);n.useEffect(()=>{var e;l||void 0!==t||void 0!==o||r(null==c||null===(e=c[0])||void 0===e?void 0:e.props.value)},[]),n.useEffect(()=>{a||s("")},[a]);const u=n.useMemo(()=>e.map(e=>{if(tu(e)){const t=e.props.children.filter(e=>nu(e,i));return t.length?n.cloneElement(e,{},t):null}return nu(e,i)?e:null}).filter(e=>!!e),[c,i]);return{flattenedChildren:c,filteredChildren:u,searchQuery:i,setSearchQuery:s}})({children:C,emptyValue:i,multiple:m,open:M,setValue:T,value:V}),K={disabled:o,highlighted:c,invalid:d,listboxRef:N,multiple:m,onCreate:h,onDelete:v,onEdit:p,open:M,readOnly:b,ref:S,searchQuery:q,searchRef:A,setOpen:k,setSearchQuery:$,setValidationError:F,setValue:T,shouldPauseHoverState:P,setShouldPauseHoverState:B,tags:E,fontSize:y,validationError:D,value:V};let U;z.onBlur&&(U=e=>{var t;const n=e.relatedTarget;if(void 0===n)return;const l=null==n||null===(t=n.closest("[data-radix-popper-content-wrapper] > :first-child"))||void 0===t?void 0:t.id;var a;l&&e.currentTarget.getAttribute("aria-controls")===l||null===(a=z.onBlur)||void 0===a||a.call(z,e)});const W=l("border-grey-300 rounded border bg-white py-1.5 shadow-md outline-none","flex flex-col gap-px");return n.createElement(Dc.Provider,{value:K},n.createElement(u.Root,{open:M,onOpenChange:k},n.createElement(ou,{emptyValue:i,multiple:m||E,name:g,options:_.map(e=>e.props.value),parentRef:S,setValue:T,value:V}),n.createElement(u.Trigger,{asChild:!0,"data-taco":"Select2"},n.createElement(Uc,Object.assign({},z,{"aria-haspopup":"listbox",emptyValue:i,onBlur:U,onKeyDown:e=>{var t;M?e.preventDefault():e.ctrlKey||e.metaKey||"ArrowDown"!==e.key&&!/^[a-z0-9]$/i.test(e.key)||k(!0),null===(t=N.current)||void 0===t||t.dispatchEvent(Dr(e))},ref:S,placeholder:s}),_)),n.createElement(u.Portal,null,n.createElement(u.Content,{asChild:!0,align:"start",onOpenAutoFocus:()=>{var e;null===(e=S.current)||void 0===e||e.focus()},onCloseAutoFocus:e=>{if(e.preventDefault(),e.stopPropagation(),L){const e=(e=>{if(!e)return null;const t=[...document.querySelectorAll('button:not([disabled]), [href]:not(link):not(script), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"]):not([disabled]), details:not([disabled]), summary:not(:disabled)')],n=t.indexOf(e);return-1!==n&&n===t.length-1?null:t[n+1]})(S.current);e&&(e.focus(),H(!1))}else{var t;null===(t=S.current)||void 0===t||t.focus()}},sideOffset:4,tabIndex:-1},n.createElement("div",{className:W,style:{minWidth:null!=I&&I.width?I.width+"px":void 0}},_.length>0||h?n.createElement(eu,{placeholder:h?O.select2.searchOrCreate:O.select2.search,ref:A,onTabKeyPress:()=>H(!0)}):null,_.length<=0?n.createElement("div",{className:"text-grey-700 -mt-0.5 flex h-8 items-center px-2",role:"presentation"},"No results found..."):n.createElement(Lc,{className:"flex flex-col gap-0.5",customSelector:":scope > button",disabled:o,multiple:m,onKeyDown:e=>{Rc(e)&&B(!0)},readOnly:b,ref:N,setValue:T,tabIndex:-1,value:V},n.createElement(au,null,""===q?C:G),h?n.createElement(lu,{onCreate:h,options:_}):null))))))}));ru.Option=qc,ru.Group=$c,ru.Title=Kc;const ou=e=>{const{emptyValue:l,multiple:a,name:r,options:o,parentRef:i,value:s,setValue:c}=e;let u;return((e,n)=>{const[l,a]=t.useState(!1);return t.useEffect(()=>{let t;var l;return e.current&&(t=e.current.closest("form"),a(!!t),n&&t&&t.addEventListener("reset",n),null===(l=e.current.closest("form"))||void 0===l||l.addEventListener("reset",n)),()=>{t&&t.removeEventListener("reset",n)}},[e.current]),l})(i,()=>c(a?[]:void 0))?(void 0!==s&&(u=a?Array.isArray(s)?s.map(String):[null===s?"":String(s)]:null===s?"":String(s)),n.createElement(Zc,{"aria-hidden":!0,key:String(u),multiple:a,name:r,value:u},void 0!==l?n.createElement("option",{value:l}):null,o.map(e=>n.createElement("option",{key:String(e),value:String(e)})))):null};function iu(e){var t,l;const{onAccept:a,table:r,orientation:o,setOrientation:i,size:s,setSize:c,allRows:u,setAllRows:d,splitGroups:m,setSplitGroups:g,...f}=e,{texts:h}=dr(),v=r.getVisibleFlatColumns(),p=r.getRowModel().rows.length*v.length,w=r.getState().grouping.length?null===(t=v.find(e=>e.id===r.getState().grouping[0]))||void 0===t||null===(l=t.columnDef.meta)||void 0===l?void 0:l.header:void 0;return n.createElement(Co,Object.assign({},f,{size:"xs"}),n.createElement(Co.Content,{"aria-label":h.table3.print.warningDialog.title},({close:e})=>n.createElement(n.Fragment,null,n.createElement(Co.Title,null,h.table3.print.settingsDialog.title),n.createElement("div",{className:"mt-4 flex flex-col gap-2"},n.createElement("div",{className:"grid grid-cols-2 gap-4"},n.createElement(Qo,null,h.table3.print.settingsDialog.size,n.createElement(ru,{onChange:c,value:s},n.createElement(ru.Option,{value:"A5"},h.table3.print.settingsDialog.sizeA5),n.createElement(ru.Option,{value:"A4"},h.table3.print.settingsDialog.sizeA4),n.createElement(ru.Option,{value:"A3"},h.table3.print.settingsDialog.sizeA3),n.createElement(ru.Option,{value:"letter"},h.table3.print.settingsDialog.sizeLetter),n.createElement(ru.Option,{value:"legal"},h.table3.print.settingsDialog.sizeLegal))),n.createElement(Qo,null,h.table3.print.settingsDialog.orientation,n.createElement(ru,{onChange:i,value:o},n.createElement(ru.Option,{value:"landscape"},h.table3.print.settingsDialog.orientationLandscape),n.createElement(ru.Option,{value:"portrait"},h.table3.print.settingsDialog.orientationPortrait)))),r.options.enableRowSelection&&r.getIsSomeRowsSelected()?n.createElement(Qo,null,h.table3.print.settingsDialog.rows,n.createElement(Ni,{onChange:d,value:u},n.createElement(Ni.Item,{value:!0},h.table3.print.settingsDialog.rowsAll),n.createElement(Ni.Item,{value:!1},h.table3.print.settingsDialog.rowsSelected))):void 0,w?n.createElement(Qo,null,h.table3.print.settingsDialog.layout,n.createElement(yr,{label:h.table3.print.settingsDialog.layoutSplitGroups.replace("[COLUMN]",w),checked:m,onChange:g})):null,p>1e4?n.createElement(Ca,{state:"warning"},h.table3.print.warningDialog.description):null),n.createElement(Co.Footer,null,n.createElement(So,null,n.createElement(Co.Close,null,n.createElement(fr,null,h.table3.print.warningDialog.cancelButtonText)),n.createElement(fr,{appearance:"primary",autoFocus:!0,onClick:()=>{e(),setTimeout(()=>a(),1)}},h.table3.print.warningDialog.printButtonText))))))}function su(e){const{table:t,tableId:l,tableRef:a}=e,{texts:r}=dr(),o=n.useRef(null),i=n.useRef(),s=es(),c=t.options.meta,u=n.useCallback(e=>{c.printing.setIsPrinting(e),a.current&&(e?i.current=a.current.scrollTop:void 0!==i.current&&(a.current.scrollTop=i.current,i.current=void 0))},[a.current]);n.useEffect(()=>{const e=()=>{u(!1)};return window.addEventListener("afterprint",e),()=>{window.removeEventListener("afterprint",e)}},[]);const d=function(){try{function e(){n.close(),setTimeout(()=>{u(!0),requestAnimationFrame(()=>{try{document.execCommand("print",!1,void 0)}catch{window.print()}})},150)}const n=s.loading(r.table3.print.loading),l=function(){if(c.server.isEnabled&&c.server.loadAllIfNeeded){const e=Os((function(){return Promise.resolve(c.server.loadAllIfNeeded(t.getState().sorting,t.getState().columnFilters,void 0)).then((function(){}))}),(function(e){const t=`${r.table3.print.error}: ${e}`;console.error(t),n.error(t)}));if(e&&e.then)return e.then((function(){}))}}();return Promise.resolve(l&&l.then?l.then(e):e())}catch(e){return Promise.reject(e)}},[m,g]=n.useState("portrait"),[f,h]=n.useState("A4"),[v,p]=n.useState(!0),[w,b]=n.useState(!0),E=[`@page { size: ${f} ${m}; }`];v||E.push(`table[data-taco='report']#${l} tr:not([data-row-selected="true"]) { display: none; }`),w&&E.push(`table[data-taco='report']#${l} tr[data-row-group]:not(:first-child) { break-before: page; }`);const x={key:"p",meta:!0,shift:!1},y=n.createElement(n.Fragment,null,r.table3.print.tooltip,n.createElement(fi,{className:"ml-2",keys:x}));return n.createElement(n.Fragment,null,n.createElement("style",{media:"print"},E.join("\n")),n.createElement(or,{icon:"print","aria-label":r.table3.print.tooltip,dialog:e=>n.createElement(iu,Object.assign({},e,{table:t,onAccept:d,orientation:m,setOrientation:g,size:f,setSize:h,allRows:v,setAllRows:p,splitGroups:w,setSplitGroups:b})),ref:o,shortcut:x,tooltip:y}))}ru.displayName="Select2";const cu=(e,t=!1)=>{const[l,a]=n.useState(t),r=n.useCallback(e=>a(e.matches),[]);return n.useEffect(()=>{const t=window.matchMedia(e);return a(t.matches),t.addEventListener("change",r),()=>{t.removeEventListener("change",r)}},[]),l},uu=()=>cu("(min-width: 1024px)",window.innerWidth>1024);function du(e,t){var n,l,a,r;return null===(n=e.columnDef.meta)||void 0===n||null===(l=n.header)||void 0===l||null===(a=l.localeCompare)||void 0===a?void 0:a.call(l,null===(r=t.columnDef.meta)||void 0===r?void 0:r.header)}function mu(e){const{allColumns:t,filters:l,onChange:a,value:r=null,...o}=e,{texts:i}=dr(),s=t.find(e=>e.id===r),c=s&&!s.getIsVisible();return n.createElement("div",{className:"flex flex-col"},n.createElement(Qo,{message:c?i.table3.filters.hiddenColumn:void 0,warning:c,className:"min-h-[theme(spacing.8)]"},n.createElement(ru,Object.assign({},o,{className:"!w-32 flex-shrink-0",emptyValue:null,onChange:a,value:r}),t.map(e=>{var t,a,o;return n.createElement(ru.Option,{key:e.id,value:e.id,postfix:!e.getIsVisible()||e.getIsGrouped()?n.createElement(tr,{title:e.getIsGrouped()?i.table3.filters.hiddenGroupedColumn:i.table3.filters.hiddenColumn},n.createElement(ya,{name:"eye-off",className:"text-grey-500 !h-5 !w-5"})):void 0,disabled:!(e.id===r||e.getCanFilter()&&!l.find(t=>t.id===e.id))},(null===(t=e.columnDef.meta)||void 0===t?void 0:t.header)+(e.parent?` (${null===(a=e.parent)||void 0===a||null===(o=a.columnDef.meta)||void 0===o?void 0:o.header})`:""))}))))}function gu(e){const{column:t,onChange:l,value:a,...r}=e,{texts:o}=dr(),i=function(e){var t;const l=null!==(t=null==e?void 0:e.columnDef.meta)&&void 0!==t?t:{};if(Array.isArray(l.filters))return l.filters;if("function"==typeof l.control){const e=l.control({onBlur:()=>{},onFocus:()=>{},setValue:()=>{},value:void 0,disabled:!1,readOnly:!1,ref:void 0});if(n.isValidElement(e)){const{props:t,type:n}=e;if("Select2"===n.displayName)return t.multiple?[us.HasAnyOf,us.HasAllOf,us.IsEqualTo,us.HasNoneOf,us.IsEmpty,us.IsNotEmpty]:[us.IsEqualTo,us.IsNotEqualTo,us.IsEmpty,us.IsNotEmpty]}}return"number"===l.dataType?[us.IsEqualTo,us.IsNotEqualTo,us.IsGreaterThan,us.IsLessThan,us.IsBetween,us.IsEmpty,us.IsNotEmpty]:"datepicker"===l.control||"datetime"===l.dataType?[us.IsEqualTo,us.IsNotEqualTo,us.IsBetween,us.IsLessThan,us.IsGreaterThan,us.IsEmpty,us.IsNotEmpty,us.IsLessThanOrEqualTo,us.IsGreaterThanOrEqualTo]:"switch"===l.control?[us.IsEqualTo]:[us.Contains,us.DoesNotContain,us.IsEqualTo,us.IsNotEqualTo,us.IsEmpty,us.IsNotEmpty]}(t);return n.useEffect(()=>{void 0!==a&&i.includes(a)||null==l||l(i[0])},[i]),n.createElement(ru,Object.assign({},r,{className:"!w-32 flex-shrink-0",disabled:!t,onChange:l,value:a}),i.map(e=>n.createElement(ru.Option,{key:e,value:e},function(e,t,n){var l,a;const r="datepicker"===(null==n||null===(l=n.columnDef)||void 0===l||null===(a=l.meta)||void 0===a?void 0:a.control);switch(e){case us.Contains:return t.table3.filters.comparators.contains;case us.DoesNotContain:return t.table3.filters.comparators.doesNotContain;case us.IsEqualTo:return t.table3.filters.comparators.isEqualTo;case us.IsNotEqualTo:return t.table3.filters.comparators.isNotEqualTo;case us.IsGreaterThan:return r?t.table3.filters.comparators.isAfter:t.table3.filters.comparators.isGreaterThan;case us.IsLessThan:return r?t.table3.filters.comparators.isBefore:t.table3.filters.comparators.isLessThan;case us.IsBetween:return t.table3.filters.comparators.isBetween;case us.IsEmpty:return t.table3.filters.comparators.isEmpty;case us.IsNotEmpty:return t.table3.filters.comparators.isNotEmpty;case us.IsLessThanOrEqualTo:return r?t.table3.filters.comparators.isOnOrBefore:t.table3.filters.comparators.isLessThanOrEqualTo;case us.IsGreaterThanOrEqualTo:return r?t.table3.filters.comparators.isOnOrAfter:t.table3.filters.comparators.isGreaterThanOrEqualTo;case us.HasAnyOf:return t.table3.filters.comparators.hasAnyOf;case us.HasAllOf:return t.table3.filters.comparators.hasAllOf;case us.HasNoneOf:return t.table3.filters.comparators.hasNoneOf;default:return""}}(e,o,t))))}function fu(e){const{column:t,comparator:l,onChange:a,value:r}=e,{texts:o}=dr();if(l===us.IsEmpty||l===us.IsNotEmpty)return null;if(l===us.IsBetween){var i;const e=Array.isArray(r)?r[0]:void 0,l=Array.isArray(r)?r[1]:void 0;return void 0===t?n.createElement(Ir,{"aria-label":o.table3.filters.emptyFilter.value,className:"flex-grow",disabled:!0,value:o.table3.filters.emptyFilter.value}):"datetime"===(null===(i=t.columnDef.meta)||void 0===i?void 0:i.dataType)?n.createElement("div",{className:"flex flex-grow items-center gap-2"},n.createElement(hu,{column:t,onChange:e=>a([e,l]),value:e}),n.createElement(hu,{column:t,onChange:t=>a([e,t]),value:l})):n.createElement("div",{className:"flex flex-grow items-center gap-2"},n.createElement(hu,{column:t,onChange:e=>a([isNaN(e)?void 0:e,l]),placeholder:"from",value:null!=e?e:""}),n.createElement(hu,{column:t,onChange:t=>a([e,isNaN(t)?void 0:t]),placeholder:"to",value:null!=l?l:""}))}return n.createElement(hu,{comparator:l,column:t,onChange:a,value:r})}function hu(e){var l,a;const{column:r,onChange:o,value:i,...s}=e,c=null==r||null===(l=r.columnDef.meta)||void 0===l?void 0:l.control,u=null==r||null===(a=r.columnDef.meta)||void 0===a?void 0:a.dataType;return t.useEffect(()=>{"switch"===c&&o(!1)},[]),"function"==typeof c?c({...s,setValue:e=>o(e),value:i}):"datepicker"===c||"datetime"===u?n.createElement(go,Object.assign({},s,{onChange:e=>o(e.detail),value:i})):"switch"===c?n.createElement(mc,Object.assign({},s,{className:"m-1.5",checked:Boolean(i),onChange:o})):n.createElement(Ir,"input"!==c&&void 0!==c||"number"!==u?Object.assign({disabled:!r},s,{className:"flex-grow",onChange:e=>o(e.target.value),value:String(null!=i?i:"")}):Object.assign({},s,{className:"flex-grow",type:"number",onChange:e=>o(e.target.valueAsNumber),value:String(null!=i?i:"")}))}function vu(e){const{allColumns:t,filter:l,filters:a,onChange:r,onRemove:o,position:i}=e,{texts:s}=dr(),c=t.find(e=>e.id===l.id),{id:u,value:{comparator:d,value:m}}=l;return n.createElement("div",{className:"flex items-start gap-2"},n.createElement("div",{className:"flex min-h-[theme(spacing.8)] w-14 flex-shrink-0 items-center justify-end pr-2 text-right"},i>0?s.table3.filters.conditions.and:s.table3.filters.conditions.where),n.createElement(mu,{allColumns:t,filters:a,onChange:e=>{var n,a;const o=t.find(e=>e.id===u),i=t.find(t=>t.id===e),s=(null==o||null===(n=o.columnDef.meta)||void 0===n?void 0:n.dataType)===(null==i||null===(a=i.columnDef.meta)||void 0===a?void 0:a.dataType)?l.value:{comparator:us.Contains,value:void 0};r(u,{id:e,value:s})},value:u}),n.createElement(gu,{column:c,onChange:e=>{let t=l.value.value;e!==us.IsEmpty&&e!==us.IsNotEmpty||(t=void 0),r(u,{id:u,value:{comparator:e,value:t}})},value:d}),n.createElement(fu,{column:c,comparator:d,onChange:e=>{r(u,{id:u,value:{...l.value,value:e}})},value:m}),n.createElement(or,{appearance:"discrete",className:"ml-auto",icon:"close",onClick:()=>o(u)}))}function pu(e){const{allColumns:t,filters:l,onCreate:a,onRemove:r,position:o}=e,{texts:i}=dr();return n.createElement("div",{className:"flex items-start gap-2"},n.createElement("div",{className:"flex min-h-[theme(spacing.8)] w-14 flex-shrink-0 items-center justify-end pr-2 text-right"},o>0?i.table3.filters.conditions.and:i.table3.filters.conditions.where),n.createElement(mu,{allColumns:t,filters:l,onChange:a,value:null}),n.createElement(gu,null),n.createElement(Ir,{"aria-label":i.table3.filters.emptyFilter.value,className:"flex-grow",disabled:!0,value:i.table3.filters.emptyFilter.value}),r?n.createElement(or,{appearance:"discrete",icon:"close",onClick:r}):null)}function wu(e){const{length:t,table:l,...a}=e,{locale:r,texts:o}=dr(),i=l.getAllLeafColumns().filter(e=>!as(e.id)).sort(du),s=l.getState().columnFilters,[c,u]=n.useState(l.getState().columnFilters),[d,m]=n.useState(1);n.useEffect(()=>{0===s.length&&(u([]),m(1))},[s]);const g=(e,t)=>{u(n=>{const l=[...n];return l[l.findIndex(t=>t.id===e)]=t,l})},f=e=>{1===c.length&&0===d&&m(e=>e+1),u(t=>t.filter(t=>t.id!==e))},h=e=>{u(t=>[...t,{id:e,value:{comparator:us.Contains,value:void 0}}]),v()},v=()=>{m(e=>e-1)};return n.createElement(mo,Object.assign({},a,{onChange:()=>{u(s),m(s.length?0:1)}}),n.createElement(mo.Content,null,n.createElement("div",{className:"flex w-[40rem] flex-col gap-4"},n.createElement("div",{className:"flex h-8"},n.createElement("div",{className:"flex w-full items-center gap-2"},n.createElement("h4",{className:"mb-0 inline-flex"},o.table3.filters.button),n.createElement("p",{className:"text-grey-700 mb-0 mr-auto mt-px inline-flex"},o.table3.filters.total.replace("[CURRENT]",new Intl.NumberFormat(r).format(l.getFilteredRowModel().rows.length)).replace("[TOTAL]",new Intl.NumberFormat(r).format(t))))),n.createElement("div",{className:"flex flex-col gap-2"},c.map((e,t)=>n.createElement(vu,{key:"filter_"+t,allColumns:i,filter:e,filters:c,position:t,onChange:g,onRemove:f})),[...Array(d)].map((e,t)=>n.createElement(pu,{key:"placeholder_"+t,allColumns:i,filters:c,position:c.length+t,onCreate:h,onRemove:d>1||c.length>0?v:void 0})),n.createElement("div",{className:"justify-start"},n.createElement(fr,{appearance:"discrete",onClick:()=>{m(e=>e+1)}},"+ ",o.table3.filters.buttons.addFilter))),n.createElement(So,{className:"ml-auto"},n.createElement(mo.Close,null,n.createElement(fr,null,"Cancel")),n.createElement(fr,{onClick:()=>{l.resetColumnFilters(),u([]),m(1)}},"Clear"),n.createElement(fr,{appearance:"primary",onClick:()=>{l.setColumnFilters(()=>c.filter(e=>{var t,n;if(null===e.id)return!1;const l=null===(t=i.find(t=>t.id===e.id))||void 0===t||null===(n=t.columnDef.meta)||void 0===n?void 0:n.control;return e.value.comparator===us.IsEmpty||e.value.comparator===us.IsNotEmpty||"switch"===l||!!e.value.value}))}},"Apply")))))}function bu(e){const{length:t,table:l}=e,{texts:a}=dr(),r=uu(),o=l.getState().columnFilters,i={key:"f",meta:!0,shift:!0},s={"aria-label":a.table3.filters.tooltip,className:o.length?"!wcag-blue-100":void 0,popover:e=>n.createElement(wu,Object.assign({},e,{length:t,table:l})),shortcut:i,tooltip:n.createElement(n.Fragment,null,a.table3.filters.tooltip,n.createElement(fi,{className:"ml-2",keys:i}))};return r||o.length?n.createElement(fr,Object.assign({},s),n.createElement(ya,{className:r?void 0:"-mr-1.5",name:o.length?"filter-solid":"filter"}),r?a.table3.filters.button:"",o.length?`(${o.length})`:""):n.createElement(or,Object.assign({},s,{icon:"filter"}))}function Eu(e){const{customSettings:t,left:l,length:a,right:r,scrollToIndex:o,table:i,tableId:s,tableRef:c}=e,u=i.options.meta;if(!function(e,t){const{left:n,right:l,table:a}=e,r=a.options.meta;return a.options.enableColumnFilters||r.printing.isEnabled||xu(a,t)||r.search.isEnabled||!!n||!!l}(e,t))return null;const d=i.options.enableColumnFilters,m=u.printing.isEnabled,g=xu(i,t),f=u.search.isEnabled;return n.createElement("div",{className:"mb-4 flex flex-shrink flex-grow-0 flex-wrap gap-2 print:hidden","data-taco":"report-toolbar"},l,n.createElement(So,{className:"ml-auto flex-shrink-0 print:hidden"},d?n.createElement(bu,{length:a,table:i}):null,r,m?n.createElement(su,{table:i,tableId:s,tableRef:c}):null,g?n.createElement(Ec,{customSettings:t,table:i}):null,f?n.createElement(gc,{scrollToIndex:o,table:i}):null))}function xu(e,t){const n=e.options.meta;return e.options.enableHiding||n.columnOrdering.isEnabled||n.fontSize.isEnabled||n.rowHeight.isEnabled||"function"==typeof t}const yu={short:33,medium:41,tall:49,"extra-tall":57},zu=yu.medium+2;function Ru(e){const{index:t,row:l,table:a}=e;return a.options.meta.server.isEnabled?n.createElement(Cu,Object.assign({},e,{index:t})):n.createElement(Su,{id:l.id,cells:l.getVisibleCells()})}function Cu(e){const{index:t,row:l,table:a}=e,r=a.options.meta,o=Math.floor(t/r.server.pageSize)*r.server.pageSize/r.server.pageSize,{ref:i,inView:s}=A.useInView({threshold:0,triggerOnce:!0,initialInView:0===o});return n.useEffect(()=>{var e,t;s&&(null===(e=(t=r.server).loadPage)||void 0===e||e.call(t,o,a.getState().sorting,a.getState().columnFilters,a.getState().globalFilter))},[s]),n.createElement(Su,{cells:l.getVisibleCells(),ref:i})}const Su=n.forwardRef((function(e,t){const{cells:l}=e;return n.createElement(n.Fragment,null,n.createElement("tr",{ref:t},l.map(e=>n.createElement("td",{key:e.id},n.createElement("span",{className:"bg-grey-100 text-grey-700 h-4 w-full text-center text-xs"})))))}));function Nu(e,t){const n=e.column.columnDef.meta,l=e.column.getIsPinned(),a={"data-cell-align":null==n?void 0:n.align,"data-cell-highlighted":t,"data-cell-id":e.column.id,"data-cell-pinned":!!l||void 0,"data-cell-truncate":!!n.enableTruncate||void 0,className:"function"==typeof n.className?n.className(e.row.original):n.className,style:{}};return l&&(a.style[l]=e.column.getStart(l)+"px"),a}function Au(e){const{cell:t,cellRef:l,isHighlighted:a}=e,r=t.getContext().table.options.meta,o=Nu(t,a),{isHovered:i,rowIndex:s}=n.useContext(Gs);return n.createElement(Ou,Object.assign({},o,{cell:t,cellRef:l,canShowActions:r.rowActive.rowActiveIndex===s||i&&!r.rowActive.isHoverStatePaused,fontSize:r.fontSize.size,rowActions:r.rowGroups.rowActionsForGroup}))}const Ou=n.memo((function(e){const{canShowActions:t,cell:l,cellRef:a,fontSize:r,rowActions:o,...i}=e,s=l.row.getVisibleCells().filter(e=>!as(e.column.id)).length-1,c=l.getContext().row.subRows.map(e=>e.original);return n.createElement("td",Object.assign({},i,{ref:a,style:{gridColumn:`span ${s} / span ${s}`}}),n.createElement("span",{className:"grow"},z.flexRender(l.column.columnDef.cell,l.getContext())),null!=o&&o.length&&t?n.createElement($s,{actions:o,actionsLength:4,data:c,fontSize:r,isActiveRow:!0}):null)})),Iu=n.memo((function(e){const{cell:t,cellRef:l,isHighlighted:a}=e,r=t.column.columnDef.meta,o=Nu(t,a),i=!!r.enableTruncate,s=z.flexRender(t.column.columnDef.cell,t.getContext());return n.createElement("td",Object.assign({},o,{ref:l}),i?n.createElement("span",{className:"truncate print:overflow-visible print:whitespace-normal"},s):s)}));function Lu(e){const{cell:t,index:l}=e,a=n.useRef(null),r=function(e,t,l){const a=e.getContext(),r=a.table.options.meta,o=e.column.columnDef.meta,i=n.useMemo(()=>{if(!e.column.columnDef.enableGlobalFilter||as(e.column.id)||e.getIsAggregated()||e.getIsPlaceholder())return;let n=!1;var l,i;if(a.table.getState().globalFilter&&(l=a.table.getState().globalFilter,n=null!=(i=e.getValue())&&String(os(i,o.dataType)).toLocaleLowerCase().includes(l.toLocaleLowerCase())),!n||void 0===r.search.currentHighlightColumnIndex)return;const[s,c]=r.search.highlightedColumnIndexes[r.search.currentHighlightColumnIndex];return s!==e.row.index||c!==t||"current"},[e.getValue(),a.table.getState().globalFilter,r.search.highlightedColumnIndexes.length,r.search.currentHighlightColumnIndex]);return n.useEffect(()=>{l.current&&"current"===i&&(l.current.scrollIntoView({block:"nearest",inline:"nearest"}),setTimeout(()=>{if(l.current){const t=l.current.closest('table[data-taco="report"]');setTimeout(()=>{const n=null==t?void 0:t.querySelectorAll('thead tr:last-child th[data-cell-pinned="left"]');if(null!=n&&n.length){var l;const a=null===(l=n.item(n.length-1))||void 0===l?void 0:l.getBoundingClientRect();a&&e.column.getStart()<a.right&&(null==t||t.scrollTo(e.column.getStart()-a.right,t.scrollTop))}},1)}},1))},[i]),i}(t,l,a);if((t.getIsAggregated()||t.getIsPlaceholder())&&!as(t.column.id))return null;const o={cell:t,cellRef:a,isHighlighted:r};return t.getIsGrouped()?n.createElement(Au,Object.assign({},o)):n.createElement(Iu,Object.assign({},o))}const Hu=n.memo((function(e){const{index:t,measureRow:a,row:r,table:o}=e,{setIsHovered:i}=n.useContext(Gs),s=o.options.meta,c={"data-row-id":r.id,"data-row-index":t,onMouseEnter:n.useCallback(()=>i(!0),[]),onMouseLeave:n.useCallback(()=>i(!1),[]),tabIndex:-1},u=n.useCallback(e=>{var t;const n=e.target;null===(t=e.currentTarget)||void 0===t||!t.contains(e.target)||Mu.includes(n.tagName.toLowerCase())||n.closest(Mu.map(e=>"tr "+e).join(","))||s.rowClick.handleClick(e,r.original)},[r.original]),d=n.useCallback(()=>{requestAnimationFrame(()=>s.rowActive.setRowActiveIndex(t))},[]);let m;var g,f,h;s.rowActive.isEnabled&&(c["data-row-active"]=s.rowActive.rowActiveIndex===t||void 0,c.onClickCapture=d),s.rowClick.isEnabled&&(c.onClick=u),o.options.enableGrouping&&(c["data-row-group"]=!!r.getIsGrouped()||void 0),o.options.enableRowSelection&&(c["data-row-selected"]=!(!r.getIsSelected()&&!r.getIsAllSubRowsSelected())||void 0),s.rowExpansion.isEnabled&&r.getIsExpanded()&&(c["data-row-expanded"]=!0,m=null===(g=(f=s.rowExpansion).rowExpansionRenderer)||void 0===g||null===(h=g.call(f,r.original))||void 0===h?void 0:h());const v=r.original._meta;v&&v.layout&&(c["data-row-meta-layout"]=v.layout);const p=n.useRef(null),w=n.useRef(null);!function(e,t,l,a){n.useEffect(()=>{if(t){const n=t.getBoundingClientRect().height;a&&l?e(n,l.getBoundingClientRect().height):e(n)}},[a,t,l])}(a,p.current,w.current,!!c["data-row-expanded"]);const b=l("group/row",{"hover:cursor-pointer":"function"==typeof c.onClick});return n.createElement(n.Fragment,null,n.createElement("tr",Object.assign({},c,{className:b,ref:p}),r.getVisibleCells().map((e,t)=>n.createElement(Lu,{key:e.id,cell:e,index:t}))),m?n.createElement("tr",{"data-row-parent-id":r.id,ref:w},n.createElement("td",{className:"col-span-full"},m)):null)})),Mu=["input","button","a","select","option","label","textarea"];function ku(e){const[t,l]=n.useState(!1),a=n.useMemo(()=>({isHovered:t,setIsHovered:l,rowIndex:e.index}),[t]);return void 0===e.row.original?n.createElement(Ru,Object.assign({},e)):n.createElement(Gs.Provider,{value:a},n.createElement(Hu,Object.assign({},e)))}const Vu=ls((function(e,t){var a;const r=qa(t),o=function(e,t){const a=function(e,t,l,a){var r,o;const i=function(e){var t,l,a,r,o,i,s,c,u,d,m,g,f,h,v,p,w,b,E,x;const y=e.preset?bs[e.preset]:ws,z=null!==(t=e.enableRowActions)&&void 0!==t?t:y.enableRowActions,R=null!==(l=e.enableRowClick)&&void 0!==l?l:y.enableRowClick,C=null!==(a=e.enableRowGoto)&&void 0!==a?a:y.enableRowGoto,S=null!==(r=e.enableRowExpansion)&&void 0!==r?r:y.enableRowExpansion,N=null!==(o=e.enableRowSelection)&&void 0!==o?o:y.enableRowSelection,A=null!==(i=e.enableRowSelectionSingle)&&void 0!==i?i:y.enableRowSelectionSingle;return n.useEffect(()=>{var t;!z||null!==(t=e.rowActions)&&void 0!==t&&t.length||console.warn(`Table (id: ${e.id}) - Row actions is enabled but no \`rowActions\` has been provided. Provide one to enable row actions or set \`enableRowActions\` to \`false\`.`),R&&!e.onRowClick&&console.warn(`Table (id: ${e.id}) - Row click is enabled but no \`onRowClick\` handler has been provided. Provide one to enable row click or set \`enableRowClick\` to \`false\`.`),C&&!e.onRowGoto&&console.warn(`Table (id: ${e.id}) - Row click is enabled but no \`onRowGoto\` handler has been provided. Provide one to enable row goto or set \`enableRowGoto\` to \`false\`.`),S&&!e.rowExpansionRenderer&&console.warn(`Table (id: ${e.id}) - Row expansion is enabled but no \`rowExpansionRenderer\` has been provided. Provide one to enable row expansion or set \`enableRowExpansion\` to \`false\`.`),N&&!e.onRowSelect&&console.warn(`Table (id: ${e.id}) - Row selection is enabled but no \`onRowSelect\` handler has been provided. Provide one to enable row selection or set \`enableRowSelection\` to \`false\`.`),A&&!e.onRowSelect&&console.warn(`Table (id: ${e.id}) - Row selection (single) is enabled but no \`onRowSelect\` handler has been provided. Provide one to enable row selection or set \`enableRowSelectionSingle\` to \`false\`.`)},[]),{enableFiltering:null!==(s=e.enableFiltering)&&void 0!==s?s:y.enableFiltering,enableSearch:null!==(c=e.enableSearch)&&void 0!==c?c:y.enableSearch,enableSorting:null!==(u=e.enableSorting)&&void 0!==u?u:y.enableSorting,enableColumnFreezing:null!==(d=e.enableColumnFreezing)&&void 0!==d?d:y.enableColumnFreezing,enableColumnHiding:null!==(m=e.enableColumnHiding)&&void 0!==m?m:y.enableColumnHiding,enableColumnResizing:null!==(g=e.enableColumnResizing)&&void 0!==g?g:y.enableColumnResizing,enableRowExpansion:S&&!!e.rowExpansionRenderer,enableRowSelection:N&&!!e.onRowSelect,enableRowSelectionSingle:A&&!!e.onRowSelect,enableColumnOrdering:null!==(f=e.enableColumnOrdering)&&void 0!==f?f:y.enableColumnOrdering,enableFontSize:null!==(h=e.enableFontSize)&&void 0!==h?h:y.enableFontSize,enableFooter:null!==(v=e.enableFooter)&&void 0!==v?v:y.enableFooter,enablePrinting:null!==(p=e.enablePrinting)&&void 0!==p?p:y.enablePrinting,enableRowActive:null!==(w=e.enableRowActive)&&void 0!==w?w:y.enableRowActive,enableRowActions:z&&!(null===(b=e.rowActions)||void 0===b||!b.length),enableRowClick:R&&!!e.onRowClick,enableRowGoto:C&&!!e.onRowGoto,enableRowHeight:null!==(E=e.enableRowHeight)&&void 0!==E?E:y.enableRowHeight,enableSettings:null!==(x=e.enableSettings)&&void 0!==x?x:y.enableSettings}}(e),[s,c]=function(e=!1,t,l={},a){const r=(o=t,`taco.${Ms().uniqueUserIdentifier}.table.${o}.settings`);var o;const[i,s]=Hs(e?r:void 0,l),c=n.useCallback(t=>{e&&(s(t),"function"==typeof a&&a(t))},[e,a]);return e?[i,c]:[l,()=>{}]}(i.enableSettings,e.id,e.defaultSettings,e.onChangeSettings),u=function(e=!1){const[t,l]=n.useState(!1);return{isEnabled:e,isHorizontallyScrolled:t,handleScroll:e=>{e.currentTarget.scrollLeft>0&&!t?l(!0):0===e.currentTarget.scrollLeft&&t&&l(!1)}}}(i.enableColumnFreezing),d=Es(i.enableColumnOrdering),m=xs(i.enableFontSize,s.fontSize),g=function(e=!1){return{isEnabled:e}}(i.enableFooter),f=function(e=!1,t=!0){const[l,a]=n.useState(!1),[r,o]=n.useState(t);return{isEnabled:e,isPrinting:l,setIsPrinting:a,isWarningVisibleForLargeDatasets:r,setIsWarningVisibleForLargeDatasets:e?o:()=>{}}}(i.enablePrinting,s.showWarningWhenPrintingLargeDataset),h=Rs(i.enableRowActive,e.defaultRowActiveIndex),v=function(e=!1,t,n=4){return{isEnabled:e,rowActions:e?t:void 0,rowActionsLength:t?Math.min(t.length,n):0}}(i.enableRowActions,e.rowActions,e.rowActionsLength),p=Cs(i.enableRowClick,e.onRowClick),w=function(e=!1,t){return{isEnabled:e,rowExpansionRenderer:e?t:void 0}}(i.enableRowExpansion,e.rowExpansionRenderer),b=Ss(i.enableRowGoto,e.onRowGoto),E={isEnabled:!0,rowActionsForGroup:e.rowActionsForGroup},x=Ns(i.enableRowHeight,s.rowHeight),y=As(i.enableRowSelection),R=function(e=!1,t=!1){const[l,a]=n.useState(t),[r,o]=n.useState([]),[i,s]=n.useState(void 0);return{isEnabled:e,enableGlobalFilter:l,setEnableGlobalFilter:function(e,t){a(e);const n=t.getState().globalFilter;n&&setTimeout(()=>{t.setGlobalFilter(""),t.setGlobalFilter(n)},1)},highlightedColumnIndexes:r,setHighlightedColumnIndexes:o,currentHighlightColumnIndex:i,setCurrentHighlightColumnIndex:s}}(i.enableSearch,s.excludeUnmatchedRecordsInSearch),C=Ls(e.loadPage,e.loadAll,e.pageSize),{columns:S,...N}=function(e,t,l,a){const{children:r,defaultRowGroupColumnId:o}=e,i={},s=[],c={},u=n.Children.toArray(r).reduce((e,l)=>function e(t,l,a,r,o,i,s){const c=z.createColumnHelper();if(n.isValidElement(t)&&t.props.children){const{children:u,id:d,header:m}=t.props;l.push(c.group({id:d,header:m,columns:n.Children.toArray(u).reduce((t,n)=>e(n,t,a,r,o,i,s),[]),enableGrouping:!1}))}else if(n.isValidElement(t)&&(t.props.accessor||t.props.id)){const{id:e,accessor:n=e,renderer:c,aggregate:m,footer:g,header:f,aggregationFn:h,defaultHidden:v,defaultWidth:p,enableFiltering:w=!0,enableGrouping:b=!1,enableHiding:E=!0,enableOrdering:x=!0,enablePrinting:y=!0,enableResizing:z=!0,enableSearch:R=!0,enableSorting:C=!0,enableTruncate:S=!1,minWidth:N=rs(i.fontSize),sort:A,sortFn:O,...I}=t.props;v&&E&&(o[e]=!1),p&&(a[e]=p),void 0!==t.props.sort&&r.push({id:e,desc:"desc"===A});const L=s===e,H={id:e,accessorKey:n,header:f,enableColumnFilter:w,enableGlobalFilter:R,enableGrouping:b,enableHiding:!L&&E,enableResizing:z,enableSorting:C,minSize:N,meta:{...I,defaultWidth:p,enableOrdering:!L&&x,enablePrinting:y,enableTruncate:S,header:f}};"function"==typeof c&&(H.cell=e=>c(e.getValue(),e.row.original)),"function"==typeof g&&(H.footer=t=>g(t.table.getRowModel().rows.map(t=>t.original[e]))),w&&(H.filterFn="tacoFilter"),b&&(H.aggregationFn=h,"function"==typeof m&&(H.aggregatedCell=e=>m(e.getValue(),e.row.original))),C&&(H.sortingFn=(u=t.props.dataType,"function"==typeof(d=O)?(e,t,n)=>d(e.original,t.original,n):d||(u&&"boolean"!==u&&"number"!==u?u:"auto")),H.sortDescFirst=!1,H.sortUndefined=1),l.push(H)}var u,d;return l}(l,e,i,s,c,t,o),[]);if(a){var d;if(l.enableRowExpansion&&e.rowExpansionRenderer&&a.rowExpansion){const e=vs("__expansion",a.rowExpansion,i);u.unshift(e)}if((l.enableRowSelection||l.enableRowSelectionSingle)&&a.rowSelection){const e=vs("__select",a.rowSelection,i);u.unshift(e)}if(l.enableRowActions&&null!==(d=e.rowActions)&&void 0!==d&&d.length&&a.rowActions){const e=vs("__actions",a.rowActions,i);u.push(e)}}return{columns:u,defaultSizing:i,defaultSorting:s,defaultVisibility:c}}(e,s,i,a),A=function(e,t,l,a){return n.useMemo(()=>{var n,r,o,i,s,c,u,d,m,g,f,h,v,p,w,b,E,x,y,z,R,C,S,N,A,O;const I=is(t,null!==(n=l.columnOrder)&&void 0!==n?n:null===(r=e.defaultSettings)||void 0===r?void 0:r.columnOrder),L=null!==(o=null!==(i=l.columnPinning)&&void 0!==i?i:null===(s=e.defaultSettings)||void 0===s?void 0:s.columnPinning)&&void 0!==o?o:{};null!=L&&null!==(c=L.left)&&void 0!==c&&c.length||(L.left=e.defaultColumnFreezingIndex?cs(e.defaultColumnFreezingIndex,I):ss(I));const H={columnFilters:null!==(u=null!==(d=l.columnFilters)&&void 0!==d?d:null===(m=e.defaultSettings)||void 0===m?void 0:m.columnFilters)&&void 0!==u?u:[],columnOrder:I,columnPinning:L,columnSizing:null!==(g=null!==(f=null!==(h=l.columnSizing)&&void 0!==h?h:null===(v=e.defaultSettings)||void 0===v?void 0:v.columnSizing)&&void 0!==f?f:a.defaultSizing)&&void 0!==g?g:{},columnVisibility:null!==(p=null!==(w=null!==(b=l.columnVisibility)&&void 0!==b?b:null===(E=e.defaultSettings)||void 0===E?void 0:E.columnVisibility)&&void 0!==w?w:a.defaultVisibility)&&void 0!==p?p:{},globalFilter:null!==(x=l.searchQuery)&&void 0!==x?x:null===(y=e.defaultSettings)||void 0===y?void 0:y.searchQuery,sorting:l.sorting?l.sorting.filter(e=>t.find(t=>t.id===e.id)):null!==(z=null===(R=e.defaultSettings)||void 0===R?void 0:R.sorting)&&void 0!==z?z:a.defaultSorting};return(null!==(C=null!==(S=null===(N=l.grouping)||void 0===N?void 0:N.length)&&void 0!==S?S:null===(A=e.defaultSettings)||void 0===A||null===(O=A.grouping)||void 0===O?void 0:O.length)&&void 0!==C?C:e.defaultRowGroupColumnId)&&(H.grouping=[e.defaultRowGroupColumnId],H.expanded=!0),H},[])}(e,S,s,N),O=z.useReactTable({data:e.data,columns:S,initialState:A,...ps(i,e),enableGlobalFilter:R.enableGlobalFilter,meta:{columnFreezing:u,columnOrdering:d,fontSize:m,footer:g,printing:f,rowActions:v,rowActive:h,rowClick:p,rowExpansion:w,rowGoto:b,rowGroups:E,rowHeight:x,rowSelection:y,search:R,server:C}});return Vs(O),js(O,e.onChangeFilter),Ts(O),function(e){const t=e.options.meta;ks(()=>{"short"===t.rowHeight.height&&t.fontSize.size===exports.FontSizes.large&&t.fontSize.setSize(exports.FontSizes.medium)},[t.rowHeight.height])}(O),Ds(O,e.onRowSelect),function(e){const t=e.options.meta;n.useEffect(()=>{t.search.isEnabled&&function(e,t){const n=t.options.meta;let l;if(e){const a=[],r=t.getVisibleLeafColumns();t.getRowModel().rows.forEach((t,n)=>{r.forEach((l,r)=>{try{if(l.getIsVisible()&&l.columnDef.enableGlobalFilter){var o,i;const s=os(null===(o=t.original)||void 0===o?void 0:o[l.id],null===(i=l.columnDef.meta)||void 0===i?void 0:i.dataType);void 0!==s&&gs(s,e)&&a.push([n,r])}}catch(e){}})}),n.search.setHighlightedColumnIndexes(a),a.length?(l=a[0][0],n.search.setCurrentHighlightColumnIndex(0)):n.search.setCurrentHighlightColumnIndex(void 0)}else n.search.setHighlightedColumnIndexes([]),n.search.setCurrentHighlightColumnIndex(void 0);void 0!==l&&n.rowActive.setRowActiveIndex(l)}(e.getState().globalFilter,e)},[t.server.loadAllStatus,t.search.isEnabled,t.search.enableGlobalFilter,e.getRowModel().rows.length,e.getState().globalFilter,JSON.stringify(e.getState().sorting),JSON.stringify(e.getState().columnVisibility)])}(O),_s(O,C.loadPage),function(e,t){const l=e.options.meta,a=e.getState();n.useEffect(()=>{let n;return"function"==typeof t&&(n=setTimeout(()=>{t(Fs(e))},250)),()=>clearTimeout(n)},[a.columnOrder,a.columnPinning,a.columnSizing,a.columnVisibility,l.search.excludeUnmatchedResults,l.fontSize.size,a.grouping,l.rowHeight.height,l.printing.isWarningVisibleForLargeDatasets,a.sorting])}(O,c),Ps(O,e.shortcuts),Bs(O,e.onChangeSort),function(e,t){n.useEffect(()=>{t.current&&(t.current.instance={resetFiltering:()=>e.resetColumnFilters(),resetRowExpansion:()=>e.resetExpanded(),resetRowSelection:()=>e.resetRowSelection(),resetSorting:()=>e.resetSorting()})},[e,t.current])}(O,t),{instance:O,length:null!==(r=e.length)&&void 0!==r?r:e.data.length,meta:null!==(o=O.options.meta)&&void 0!==o?o:{},state:O.getState()}}(e,t,0,n.useMemo(()=>({rowActions:{header:qs,renderer:Ks,meta:{align:"right",className:l('print:opacity-0 !px-0 !pr-1 overflow-hidden [table_&]:group-[[data-row-active="true"]]/row:sticky [table[data-table-pause-hover="false"]_&]:group-hover/row:sticky right-0','group-[[data-row-active="true"][data-selected="false"]]/row:text-grey-200','group-[[data-row-selected="true"]]/row:text-blue-100','group-[[data-row-selected="false"]:hover]/row:text-grey-100'),header:""}},rowExpansion:{header:Us,renderer:Ws,size:40,meta:{align:"center",header:"",headerClassName:"!p-0"}},rowSelection:{header:Js,renderer:Ys,size:40,meta:{align:"center",className:"!px-1",header:"",headerClassName:"!px-1"}}}),[]));return function(e,t){const l=e.options.meta;n.useEffect(()=>{if(void 0!==l.rowActive.rowActiveIndex){var e,n;const l=null!==(e=null===(n=t.current)||void 0===n?void 0:n.querySelector('tbody tr[data-row-active="true"]'))&&void 0!==e?e:null;var a;Ua(document.activeElement,l)||Wa(document.activeElement)||null==l||null===(a=l.focus)||void 0===a||a.call(l,{preventScroll:!0})}},[l.rowActive.rowActiveIndex])}(a.instance,t),a}(e,r),i=function(e,t,l){var a,r;const o=e.options.meta,i=e.getRowModel().rows,s=zu*e.getHeaderGroups().length,{createRowMeasurer:c,estimateSize:u}=function(e){const t=e.options.meta,l=e.getRowModel().rows,a=e.getState().expanded,[r,o]=n.useState({}),i=n.useMemo(()=>{const e=Object.values(r);return e.length?e.reduce((e,t)=>e+t,0)/e.length:0},[r]);return{estimateSize:n.useCallback(e=>{var n,r;const o=t.rowHeight.height?yu[t.rowHeight.height]:yu.medium;return!0===a||null!==(n=l[e])&&void 0!==n&&null!==(r=n.getIsExpanded)&&void 0!==r&&r.call(n)?o+i:o},[t.rowHeight.height,i,a]),createRowMeasurer:n.useCallback((e,t)=>(n,l)=>{l&&o(e=>({...e,[t.index]:l})),e(t,n+(null!=l?l:0))},[])}}(e),d=function(e){const t=e.getRowModel().rows,l=!!e.getState().grouping.length,a=n.useMemo(()=>{const e=[];return l&&t.forEach((t,n)=>{t.getIsGrouped()&&e.push(n)}),e},[]),r=n.useCallback(e=>{var t;const n=null!==(t=[...a].reverse().find(t=>e.startIndex>=t))&&void 0!==t?t:a[0];return[...new Set([n,...N.defaultRangeExtractor(e)])].sort((e,t)=>e-t)},[a]);return l?r:void 0}(e),m=N.useVirtualizer({count:i.length,estimateSize:u,getScrollElement:()=>t.current,overscan:o.printing.isPrinting?i.length:void 0,rangeExtractor:d,scrollPaddingStart:null!==(a=e.getState().grouping)&&void 0!==a&&a.length?zu:void 0,scrollPaddingEnd:s+36,paddingEnd:120}),g=m.getVirtualItems(),f=n.useCallback((e,n={align:"auto",behavior:"smooth"})=>{const l={...n,behavior:"auto"};t.current&&(0===e?m.scrollToOffset(0,l):e>=g.length-1?(m.scrollToIndex(e,l),setTimeout(()=>{m.scrollToIndex(e,l),setTimeout(()=>{m.scrollToIndex(e,l)},150)},150)):m.scrollToIndex(e,n))},[g.length,t.current]),[h,v]=g.length>0?[Math.max(0,(null!==(r=g[1])&&void 0!==r?r:g[0]).start-m.options.scrollMargin-g[0].size),Math.max(0,m.getTotalSize()-g[g.length-1].end)]:[0,0];n.useEffect(()=>{l&&f(l,{align:"center",behavior:"auto"})},[]);let p={},w=null;return i.length&&(p={height:m.getTotalSize()+"px",paddingBottom:v,paddingTop:h},w=g.map(t=>{const l=i[t.index],a=c(m.resizeItem,t);return n.createElement(ku,{key:l.id,row:l,index:t.index,table:e,measureRow:a})})),{rows:w,style:p,scrollToIndex:f}}(o.instance,r,e.defaultRowActiveIndex),s=function(e,t){const l=t.options.meta,a=function(e,t,l){const a=t.options.meta,r=t.getVisibleLeafColumns(),o=t.getState().columnSizing,i=rs(l);return n.useMemo(()=>{let n="";const l=[],s=r.reduce((e,s,c)=>{var u,d;if(t.options.enableGrouping&&s.getIsGrouped())return e;const m=null!==(u=s.columnDef.minSize)&&void 0!==u?u:i,g=o[s.id];let f,h;return f="__actions"===s.id?`minmax(${32*a.rowActions.rowActionsLength+8}px, auto)`:void 0!==g?c===r.length-1?`minmax(${m}px, auto)`:"grow"===g||Number.isNaN(g)?`minmax(${m}px, 1fr)`:(g<m?m:g)+"px":`minmax(${m}px, auto)`,!1===(null===(d=s.columnDef.meta)||void 0===d?void 0:d.enablePrinting)?(h="",l.push(s.id)):h="auto",n=`${n} ${h}`.trim(),`${e} ${f}`.trim()},""),c=l.map(t=>`table[data-taco='report']#${e} > thead > tr > th[data-cell-id='${t}']\n,table[data-taco='report']#${e} > tbody > tr > td[data-cell-id='${t}']\n`).join(",");return`table[data-taco='report']#${e} { grid-template-columns: ${s}; grid-template-rows: min-content 1fr min-content; }\n@media print { table[data-taco='report']#${e} { grid-template-columns: ${n}; } ${c} { display: none; } }`},[r,o,i,a.rowActions.rowActionsLength])}(e,t,l.fontSize.size),r=function(e,t){const{columnPinning:l}=t.getState();return n.useMemo(()=>{const n=[],l=t.getFlatHeaders().filter(e=>!e.subHeaders.length).map(e=>e.id),a=t.getLeftFlatHeaders().filter(e=>!e.subHeaders.length).map(e=>e.id),r=t.getRightFlatHeaders().filter(e=>!e.subHeaders.length).map(e=>e.id);if(a.length){const t=l.indexOf(a[a.length-1]);n.push(`table[data-taco='report']#${e} > thead > tr > th:nth-child(${t+1}),\n table[data-taco='report']#${e} > tbody > tr > td:nth-child(${t+1}) {\n border-right-width: 1px;\n }\ntable[data-taco='report']#${e} > thead > tr > th:nth-child(${t+1})[data-cell-id^="__"],\n table[data-taco='report']#${e} > tbody > tr > td:nth-child(${t+1})[data-cell-id^="__"] {\n border-right-color: transparent;\n }\ntable[data-taco='report']#${e} > thead > tr > th:nth-child(${t+1}):after {\n content: none;\n }\ntable[data-taco='report'][data-table-horizontally-scrolled="true"]#${e} > thead > tr > th:nth-child(${t+1}),\n table[data-taco='report'][data-table-horizontally-scrolled="true"]#${e} > tbody > tr > td:nth-child(${t+1}) {\n border-right-color: rgb(221, 221, 221);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), 6px 0px 6px rgb(0 0 0/8%);\n }`)}if(r.length){const t=l.indexOf(r[r.length-1]);n.push(`table[data-taco='report']#${e} > thead > tr > th:nth-child(${t+1}):not([data-cell-id^="__"]),\n table[data-taco='report']#${e} > tbody > tr > td:nth-child(${t+1}):not([data-cell-id^="__"]) {\n border-left-width: 1px;\n }`)}return n.join("\n")},[l])}(e,t),o=[`table[data-taco='report']#${e} {\n --table-header-group-depth: ${t.getHeaderGroups().length};\n --table-cell-padding-x: ${function(e){switch(e){case"small":return"8px";case"medium":return"12px";default:return"16px"}}(l.fontSize.size)};\n --table-cell-padding-y: ${function(e,t){switch(e){case"short":switch(t){case"small":return"8px";default:return"6px"}case"tall":switch(t){case"small":return"16px";case"large":return"12px";default:return"14px"}case"extra-tall":switch(t){case"small":return"22px";case"large":return"18px";default:return"20px"}default:switch(t){case"small":return"12px";case"large":return"8px";default:return"10px"}}}(l.rowHeight.height,l.fontSize.size)};\n }`,a,r].filter(e=>!!e).join("\n");return n.createElement("style",null,o)}(e.id,o.instance);!function(e,t,l){const a=e.options.meta,r=e.getRowModel().rows;n.useEffect(()=>{const n=n=>{const o=n.target.closest('[role="dialog"]');var i;(!o||null!=o&&o.contains(t.current))&&(a.rowActive.handleKeyDown(n,r.length,l,t),a.rowSelection.handleKeyDown(n,e),void 0!==a.rowActive.rowActiveIndex&&a.rowClick.handleKeyDown(n,null===(i=r[a.rowActive.rowActiveIndex])||void 0===i?void 0:i.original))};return document.addEventListener("keydown",n),()=>{document.removeEventListener("keydown",n)}},[t.current,a.rowActive.rowActiveIndex,l])}(o.instance,r,i.scrollToIndex);const c=void 0===o.meta.rowActive.rowActiveIndex?e=>{o.meta.rowActive.handleFocus(e,o.length,i.scrollToIndex)}:void 0;return n.createElement(n.Fragment,null,s,n.createElement(Eu,{customSettings:e.customSettings,left:e.toolbarLeft,length:o.length,right:e.toolbarRight,scrollToIndex:i.scrollToIndex,table:o.instance,tableId:e.id,tableRef:r}),e.toolbarPanel?n.createElement("div",{className:"mb-4"},e.toolbarPanel):void 0,n.createElement(v.FocusScope,null,n.createElement("table",{id:e.id,"data-taco":"report","data-table-font-size":o.meta.fontSize.size,"data-table-horizontally-scrolled":!!o.meta.columnFreezing.isHorizontallyScrolled||void 0,"data-table-pause-hover":!!o.meta.rowActive.isHoverStatePaused||void 0,"data-table-resizing":!!o.state.columnSizingInfo.isResizingColumn||void 0,"data-table-row-height":o.meta.rowHeight.height,"data-table-grouped":!(null===(a=o.state.grouping)||void 0===a||!a.length),onFocus:c,onScroll:o.meta.columnFreezing.handleScroll,ref:r,tabIndex:-1},n.createElement("thead",null,o.instance.getHeaderGroups().map(e=>n.createElement("tr",{key:e.id},e.headers.map(ac)))),n.createElement(ic,{length:o.length,table:o.instance,style:i.style},i.rows),o.meta.footer.isEnabled?n.createElement("tfoot",null,n.createElement("tr",null,o.instance.getFooterGroups()[0].headers.map(sc))):null),o.meta.footer.isEnabled?n.createElement(uc,{length:o.length,table:o.instance}):null))}));Vu.Column=function(e){return null},Vu.Group=function(e){return null};const ju=(e,t)=>{var n;const l={index:e.index,indexPath:e.id,values:e.original};return(null===(n=e.subRows)||void 0===n?void 0:n.length)>0?(l.isExpanded=!!e.isExpanded,l.depth=e.depth,l.toggleRowExpanded=()=>e.toggleRowExpanded(!l.isExpanded)):t&&(l.isExpanded=!!e.isExpanded,l.toggleRowExpanded=()=>e.toggleRowExpanded(!l.isExpanded)),e.toggleRowEditing&&(l.isEditing=!!e.isEditing,l.toggleRowEditing=e.toggleRowEditing),l},Tu=(e,t)=>{const l=[];return{columns:n.Children.toArray(e).filter(e=>!!e&&!e.props.hidden).map(({props:{children:e,...n}})=>{const a={...n};if(a.sortType=a.sortType||"auto",a.disableSortBy=a.disableSorting,n.title&&e){a.Header=n.title;const{columns:r,sortRules:o}=Tu(e,t);a.columns=r,o.forEach(e=>l.push(e))}else a.accessor=n.accessor,a.Header=n.headRenderer||"",a.Cell=e=>{var l,a;const r={accessor:e.cell.column.id,row:ju(e.cell.row,t),value:e.cell.value};return r.row.isEditing&&"function"==typeof n.editRenderer?n.editRenderer(r):"function"==typeof n.cellRenderer?null!==(l=n.cellRenderer(r))&&void 0!==l?l:null:null!==(a=r.value)&&void 0!==a?a:null},a.align=n.align,a.flex=n.flex,n.sort&&!n.disableSorting&&l.push({id:n.accessor,desc:"desc"===n.sort});return a}),sortRules:l}},Du=e=>null==e?void 0:e.map(e=>({id:e.accessor,desc:e.desc})),Fu=e=>{const t="string"==typeof e?new Date(e):e;return null!=t&&t.getTime?t.getTime():void 0},Pu=(e="",t=",")=>{if("number"==typeof e)return e;if(null===e||!e.length)return;let n;return n=Number(","===t?e.replace(/\./g,"").replace(",","."):e.replace(/,/g,"")),Number.isNaN(n)?void 0:n},Bu=e=>{if(e)return String(e).toLowerCase()},_u=e=>"boolean"==typeof e?e:isNaN(e)?Bu(e):Number(e),Gu=(e,t)=>void 0!==e&&void 0===t?1:e===t?0:e>t?1:-1,qu=(e,t,n)=>e&&t?((e,t,n)=>{const l=e.localeCompare(t,n);return 0===l?0:l>0?1:-1})(e,t,n):Gu(e,t);function $u(e,t){if(t.type===O.actions.init)return{allowEditing:!0,editingRowUniqueId:null,...e};if(t.type===O.actions.resetRowEditing||t.type===O.actions.resetPage||t.type===O.actions.gotoPage)return{...e,editingRowUniqueId:null};if(t.type===O.actions.toggleRowEditing){const{id:n}=t;return{...e,editingRowUniqueId:n}}return t.type===O.actions.toggleEditing?{...e,allowEditing:!e.allowEditing}:e}function Ku(e){const{dispatch:t}=e,l=n.useCallback(()=>{t({type:O.actions.resetRowEditing})},[t]),a=n.useCallback(e=>{t({type:O.actions.toggleRowEditing,id:e})},[t]),r=n.useCallback(()=>{t({type:O.actions.toggleEditing})},[t]);Object.assign(e,{resetRowEditing:l,toggleRowEditing:a,toggleEditing:r})}O.actions.resetRowEditing="resetRowEditing",O.actions.toggleRowEditing="toggleRowEditing",O.actions.toggleEditing="toggleEditing";const Uu=(e,t)=>{const n=[],l=[];if(e){let a=e.filter(e=>!!e&&"boolean"!=typeof e);t&&(a=a.filter(e=>void 0===e.visible||("function"==typeof e.visible?e.visible(t):e.visible))),a.forEach(e=>{e.showOnRow?n.push(e):l.push(e)})}return[n,l]},Wu=(e,t)=>({"aria-label":"function"==typeof e.tooltip?e.tooltip(t):e.tooltip,disabled:"function"==typeof e.disabled?e.disabled(t):e.disabled,onClick:n=>{e.onClick(t,n)}}),Ju=()=>(n.useEffect(()=>{const e=e=>{var t,n;"Escape"===e.key&&null!==(t=e.target)&&void 0!==t&&null!==(n=t.form)&&void 0!==n&&n.reset&&(e.preventDefault(),e.target.form.reset())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[]),n.createElement("div",{className:"-mt-1 -mb-1 h-8 flex"},n.createElement(or,{appearance:"primary",icon:"tick",type:"submit",className:"mr-2"}),n.createElement(or,{appearance:"ghost",icon:"close",type:"reset"})));function Yu(e,t){if(t.type===O.actions.init)return{draggingRowIndexPath:null,...e};if(t.type===O.actions.resetRowDragging)return{...e,draggingRowIndexPath:null};if(t.type===O.actions.toggleRowDragging){const{indexPath:n}=t;return{...e,draggingRowIndexPath:n}}return e}O.actions.resetRowDragging="resetRowDragging",O.actions.toggleRowDragging="toggleRowDragging";const Qu=(e,{instance:t})=>{var n;e.toggleRowDragging=()=>{t.dispatch(t.state.draggingRowIndexPath===e.id?{type:O.actions.resetRowDragging}:{type:O.actions.toggleRowDragging,indexPath:e.id})},e.isDragging=!(!t.state.draggingRowIndexPath||t.state.draggingRowIndexPath!==e.id&&(null===(n=t.state.selectedRowIds)||void 0===n||!n[e.id]))},Xu=e=>[{id:"draggable",className:"yt-table__cell--draggable flex-col px-0",Cell:()=>n.createElement(ya,{name:"drag",className:"text-grey-700 invisible w-[20px] cursor-grab"}),flex:"0 0 20px"},...e],Zu=10,ed=(e,t)=>{var l;const{children:a,data:r,onRowClick:o,onRowDrag:i,onSelectedRows:s,rowClassName:c,rowExpansionRenderer:u,rowHeight:d,selectedRows:m,disableSorting:g,manualSorting:f,onSort:h,sortRules:v,disablePagination:p=!0,length:b,onPaginate:E,pageSize:x=Zu,pageIndex:y=0,inlineEditingUniqueId:z,onRowCreate:R,actions:C,onRowEdit:S,onRowCopy:N,onRowDelete:I,onRowActive:L,windowed:H=!1,...M}=e;if(s&&!m||!s&&m)throw new Error("Selected rows in a Table component are fully controlled - you must pass both the `onSelectedRows` and `selectedRows` props when using row selection");const{texts:k,locale:V}=dr(),{columns:j,sortRules:T}=n.useMemo(()=>Tu(a,u),[a,u]),D=!p&&!!E&&!!b,{headerGroups:F,rows:P,sortedRows:B,prepareRow:_,state:G,page:q,gotoPage:$,setPageSize:K,...U}=O.useTable({columns:j,data:r,initialState:{sortBy:Du(v)||T,pageSize:p?void 0:x,pageIndex:p?void 0:y},manualPagination:D,pageCount:D&&b?Math.ceil(b/x):-1,manualSortBy:f,disableSortBy:g,autoResetExpanded:!1,autoResetSelectedRows:!1,autoResetSortBy:!1,autoResetPage:!1,sortTypes:n.useMemo(()=>(e=>({datetime:(e,t,n)=>{const l=Fu(e.values[n]),a=Fu(t.values[n]);return Gu(l,a)},string:(t,n,l)=>{const a=Bu(t.values[l]),r=Bu(n.values[l]);return qu(a,r,e)},number:(e,t,n)=>{const l=Pu(e.values[n]),a=Pu(t.values[n]);return Gu(l,a)},boolean:(e,t,n)=>Gu(!!e.values[n],!!t.values[n]),auto:(t,n,l)=>{const a=_u(t.values[l]),r=_u(n.values[l]);return"string"==typeof a&&"string"==typeof r?qu(a,r,e):Gu(a,r)}}))(V),[]),useControlledState:e=>n.useMemo(()=>({...e,selectedRowIds:m||[]}),[e,m])},O.useRowState,O.useSortBy,O.useExpanded,O.usePagination,(e=>{const t=t=>{if(O.useRowSelect(t),e){const l=(t,n)=>e(e=>{const l={...e};return n?l[t]=!0:delete l[t],l});t.prepareRow.push(e=>{e.toggleRowSelected=()=>l(e.id,!e.isSelected)});const a=n.useRef();t.visibleColumns.push(t=>[{id:"selection",Header:({getToggleAllRowsSelectedProps:t,rows:l})=>{const{...a}=t();return n.createElement(yr,Object.assign({},a,{onChange:t=>{e(t?Object.assign({},Array(l.length).fill(!0)):{})}}))},Cell:({row:e,rows:t})=>{const{...r}=e.getToggleRowSelectedProps(),o=t.findIndex(t=>t.index===e.index);return n.createElement(yr,Object.assign({},r,{className:"!mt-2.5",onClick:n=>{if(n.shiftKey){const[e,n]=[(s=o)<(i=a.current||0)?s:i,s>i?s:i];for(let a=e;a<=n;a++)l(t[a].id,!0)}else l(e.id,!r.checked);var i,s;a.current=o},onChange:()=>!1}))},flex:"0 0 36px",className:"flex-col justify-start !py-0"},...t])}};return t.pluginName="useRowSelect",t})(s),(e=>{const t=t=>{e&&(t.stateReducers.push(Yu),t.prepareRow.push(Qu),t.visibleColumns.push(Xu),t.getRowProps.push((e=>(t,{instance:n,row:l})=>[t,{draggable:!0,onDragStart:t=>{t.persist(),l.toggleRowDragging();const a=[l.id,...Object.keys(n.state.selectedRowIds)],r=n.rows.filter(e=>a.includes(e.id)).map(ju);e(r,e=>{const n=window.document.createElement("div");n.id="yt-table__drag__placeholder",n.innerText=e,window.document.body.appendChild(n),"function"==typeof DataTransfer.prototype.setDragImage&&t.dataTransfer.setDragImage(n,0,20)},t)},onDragEnd:()=>{const e=document.getElementById("yt-table__drag__placeholder");e&&e.parentNode&&e.parentNode.removeChild(e),l.toggleRowDragging()}}])(e)))};return t.pluginName="useRowDraggable",t})(i),(e=>{const t=t=>{e&&(t.stateReducers.push($u),t.useInstance.push(Ku),t.prepareRow.push((e=>(t,{instance:n})=>{const l=t.original[e];t.toggleRowEditing=()=>{n.state.editingRowUniqueId===l?n.resetRowEditing():n.toggleRowEditing(l)},t.isEditing=t.original._createKey?n.state.editingRowUniqueId===t.original._createKey:n.state.editingRowUniqueId===l,t.canEdit=n.state.allowEditing&&(t.isEditing||!n.state.editingRowUniqueId)})(e)))};return t.pluginName="useRowEditing",t})(z),((e,t,l,a,r,o=!1)=>{const i=!!e,s=((e,t,n)=>{const[l,a]=Uu(n);let r=l.length+(a.length?1:0);return t.onRowCreate&&r++,t.onRowCopy&&r++,t.onRowDelete&&r++,(e||t.onRowEdit)&&(r++,r<2&&r++),r})(e,t,l),c=c=>{((e,t,n)=>!!n||t.onRowCreate||t.onRowCopy||t.onRowDelete||!!e||t.onRowEdit)(e,t,l)&&c.visibleColumns.push(e=>[...e,{id:"_actions",className:"flex justify-end px-1 overflow-visible",flex:`0 0 calc((${s} * 2rem) + .5rem)`,Cell:({row:e})=>{if(e.isEditing)return n.createElement(Ju,null);const s=ju(e,a),[c,u]=Uu(l,s),d=n.createElement(n.Fragment,null,t.onRowCreate&&n.createElement(or,{appearance:"discrete",icon:"circle-plus","aria-label":r.table.newSubRow,tooltip:r.table.newSubRow,disabled:i&&!e.canEdit,onClick:n=>{n.stopPropagation(),n.persist(),e.setActive(),e.isExpanded||e.toggleRowExpanded(),t.onRowCreate(s,n)}}),(i||t.onRowEdit)&&n.createElement(or,{appearance:"discrete",icon:"edit","aria-label":r.table.edit,tooltip:r.table.edit,disabled:i&&!e.canEdit,onClick:n=>{n.stopPropagation(),e.setActive(),i?e.toggleRowEditing():t.onRowEdit&&(n.persist(),t.onRowEdit(s,n))}}),t.onRowCopy&&n.createElement(or,{appearance:"discrete",icon:"copy","aria-label":r.table.copy,tooltip:r.table.copy,disabled:i&&!e.canEdit,onClick:n=>{n.stopPropagation(),n.persist(),e.setActive(),t.onRowCopy(s,n)}}),t.onRowDelete&&n.createElement(or,{appearance:"discrete",icon:"delete","aria-label":r.table.del,tooltip:r.table.del,disabled:i&&!e.canEdit,onClick:n=>{n.stopPropagation(),n.persist(),e.setActive(),t.onRowDelete(s,n)}}),c.map((e,t)=>n.createElement(or,Object.assign({},Wu(e,s),{key:t,appearance:"discrete",icon:"function"==typeof e.icon?e.icon(s):e.icon,tooltip:"function"==typeof e.tooltip?e.tooltip(s):e.tooltip}))),u.length?n.createElement(Hi,null,n.createElement(Hi.Trigger,null,n.createElement(or,{appearance:"discrete",icon:"ellipsis-vertical","aria-label":r.table.actions,tooltip:r.table.actions,disabled:i&&!e.canEdit,onClick:t=>{t.stopPropagation(),e.setActive()}})),n.createElement(Hi.Content,null,u.map((e,t)=>n.createElement(Hi.Item,Object.assign({key:t,icon:"function"==typeof e.icon?e.icon(s):e.icon},Wu(e,s)),"function"==typeof e.text?e.text(s):e.text)))):null);return o?n.createElement("div",{className:"-mt-1 -mb-1 h-8 flex"},d):n.createElement(A.InView,{rootMargin:"100px 0px"},({inView:e,ref:t})=>n.createElement("div",{className:"-mt-1 -mb-1 h-8 flex",ref:t},e?d:null))}}])};return c.pluginName="useRowActions",c})(z,{onRowCreate:R,onRowEdit:S,onRowCopy:N,onRowDelete:I},C,u,k,H));((e,t,l)=>{n.useEffect(()=>{!e&&t&&t(l.pageIndex,l.pageSize)},[l.pageIndex,l.pageSize])})(p,E,G),((e,t,l,a,r)=>{n.useEffect(()=>{if(l){const n=r.sortBy.map(e=>({accessor:e.id,desc:e.desc}));if(a)l(n);else{let a;n.length&&null!=t&&t.length&&(a=t.map(e=>e.original)),l(n,a||e)}}},[l&&JSON.stringify(r.sortBy),a])})(r,B,h,!!f,G);const W=((e,t)=>{const l=n.useMemo(()=>({toggleAllRowsExpanded:e.toggleAllRowsExpanded,toggleHideAllColumns:e.toggleHideAllColumns,toggleHideColumn:e.toggleHideColumn,toggleEditing:e.toggleEditing,toggleRowEditing:e.toggleRowEditing,resetRowEditing:e.resetRowEditing,toggleRowExpanded:e.toggleRowExpanded,toggleSortBy:e.toggleSortBy}),[]);return n.useEffect(()=>{null!=t&&t.current&&(t.current.instance=l)},[t]),l})(U,t),J=p||D?P:q,[Y,Q,X,Z]=((e,t,l,a)=>{const r=e.dangerouslyHijackGlobalKeyboardNavigation,[o,i]=w.useControllableState({prop:e.activeIndex,defaultProp:void 0!==e.defaultActiveIndex?e.defaultActiveIndex:r?0:void 0,onChange:t=>{var n;void 0!==t&&(null===(n=e.onChangeActiveIndex)||void 0===n||n.call(e,t))}}),s=e=>{var n,s;const c=e.metaKey||e.ctrlKey||e.altKey||e.shiftKey;if(r&&document.activeElement!==a.current&&"search"!==(null===(n=document.activeElement)||void 0===n?void 0:n.getAttribute("type"))&&document.activeElement!==document.body&&"dialog"!==(null===(s=document.activeElement)||void 0===s?void 0:s.getAttribute("role")))return;if(!r&&document.activeElement!==a.current)return;if(void 0!==o){const n=t[o];if(n){const t=ju(n,l.rowExpansionRenderer);if(l.onRowClick&&"Enter"===e.key)return e.preventDefault(),void l.onRowClick(t);if(n.toggleRowSelected&&" "===e.key)return e.preventDefault(),void n.toggleRowSelected();if(n.toggleRowExpanded){if(n.isExpanded&&"ArrowLeft"===e.key)return e.preventDefault(),void n.toggleRowExpanded();if(!n.isExpanded&&"ArrowRight"===e.key)return e.preventDefault(),void n.toggleRowExpanded()}if(n.toggleRowEditing&&n.canEdit&&!n.isEditing){if(l.onRowCreate&&e.shiftKey&&"n"===e.key)return e.preventDefault(),n.isExpanded||n.toggleRowExpanded(),void l.onRowCreate(t,e);if("e"===e.key)return e.preventDefault(),void n.toggleRowEditing()}if(l.onRowEdit&&"e"===e.key&&!c)return e.preventDefault(),void l.onRowEdit(t,e);if(l.onRowCopy&&"c"===e.key&&!c)return e.preventDefault(),void l.onRowCopy(t,e);if(l.onRowDelete&&"Delete"===e.key&&!c)return e.preventDefault(),void l.onRowDelete(t,e)}}const u=Lr(e.key,t.length,o);void 0!==u&&(e.preventDefault(),i(u))};return n.useEffect(()=>(r&&window.addEventListener("keydown",s),()=>{r&&window.removeEventListener("keydown",s)}),[s]),[o,i,e=>{r||s(e.nativeEvent)},()=>{void 0===o&&t.length&&i(0)}]})(e,J,{onRowClick:o,onRowCreate:R,onRowEdit:S,onRowCopy:N,onRowDelete:I,rowExpansionRenderer:u},t);((e,t,l,a)=>{n.useEffect(()=>{if(void 0!==e&&t.length&&a){const n=t[e];if(n){const e=ju(n,l);a(e)}}},[e,t])})(Y,P,u,L);const ee=n.useCallback((e,t)=>{_(e),e.setActive=()=>Q(t)},[_,Q]);return{rowProps:{activeIndex:Y,setActiveIndex:Q,onRowClick:o,rowClassName:c,rowExpansionRenderer:u,rowHeight:d,inlineEditingUniqueId:z},tableProps:{...M,headerGroups:F,onFocus:Z,onKeyDown:X,tabIndex:null!==(l=M.tabIndex)&&void 0!==l?l:0},state:G,pagination:p?null:{length:D&&b?b:r.length,pageIndex:G.pageIndex,pageSize:G.pageSize,setPageIndex:$,setPageSize:K},rows:J,prepareRow:ee,instance:W}},td=(e,t)=>{const a={...e.getCellProps(),className:l("yt-table__cell flex-1 truncate p-2 align-middle",e.column.className,{"justify-start text-left":"left"===e.column.align,"justify-end text-right":"right"===e.column.align,"text-center":!e.column.align}),style:{...e.column.style,flex:"function"==typeof e.column.flex?e.column.flex(t):e.column.flex}};return n.createElement("div",Object.assign({},a,{role:"gridcell","data-taco":"table-cell"}),e.render("Cell")||null)},nd=n.forwardRef((function({row:e,index:t,instance:a,...r},o){const{activeIndex:i,onRowClick:s,rowClassName:c,rowExpansionRenderer:u,rowHeight:d,setActiveIndex:m,style:g,inlineEditingUniqueId:f}=r,h=ju(e,u),p={...e.getRowProps(),style:{...g,minHeight:d?d+"px":void 0,paddingLeft:e.depth?2*e.depth+"rem":void 0},className:l("yt-table__row border-grey-300 flex border-b min-h-[2.5rem] hover:bg-grey-100",{"yt-table__row--active bg-grey-200 hover:bg-grey-200":i===t,"yt-table__row--clickable":!!s,"yt-table__row--dragging":!!e.isDragging,"yt-table__row--editing":!!e.isEditing},"function"==typeof c?c(h):c),onClick:s?e=>{(e.target===e.currentTarget||e.target.classList.contains("yt-table__cell"))&&(e.preventDefault(),e.persist(),m(t),s(h))}:()=>{m(t)}};let w=e.cells;e.depth>0&&(w=e.cells.filter(e=>!e.column.hiddenOnSubRows));const b=u&&e.isExpanded&&n.createElement("div",null,u(h,a)),E=n.useMemo(()=>n.createElement(n.Fragment,null,n.createElement(v.FocusScope,{key:e.original._createKey,contain:!0,restoreFocus:!0,autoFocus:!0},n.createElement("div",Object.assign({},p,{role:"row",ref:o}),n.createElement("input",{type:"hidden",name:"_rowIndexPath",value:e.id}),n.createElement("input",{type:"hidden",name:"_inlineEditingUniqueId",value:e.original[f]}),w.map(e=>td(e,h)))),b),[e.original._createKey]);return e.isEditing?E:n.createElement(n.Fragment,null,n.createElement("div",Object.assign({},p,{role:"row",ref:o}),w.map(e=>td(e,h))),b)})),ld=({cell:e})=>{const t={...e.getHeaderProps(),...e.getSortByToggleProps&&e.getSortByToggleProps({title:void 0}),className:l("yt-table__cell flex flex-1 truncate p-2 align-middle text-grey-700 hover:text-black",e.className,{"yt-table__cell__group":!!e.columns,"cursor-pointer":!e.disableSorting,"justify-start text-left":"left"===e.align,"justify-end text-right":"right"===e.align,"justify-center text-center":"center"===e.align||!e.align}),style:{...e.style,flex:e.flex}};return e.isSorted&&(t["aria-sort"]=e.isSortedDesc?"descending":"ascending"),n.createElement("div",Object.assign({},t,{key:e.id,"data-taco":"table-column"}),n.createElement("span",{className:"truncate"},e.render("Header")),e.isSorted?n.createElement(ya,{name:e.isSortedDesc?"chevron-down-solid":"chevron-up-solid",className:"-mt-0.5"}):null)},ad=()=>null,rd=n.forwardRef((function(e,t){const a=qa(t),{autoFocus:r,children:o,headerGroups:i,headerRef:s,bodyRef:c,...u}=e;n.useEffect(()=>{r&&a.current&&a.current.focus()},[]);const d=l("yt-table flex flex-col focus:yt-focus focus:rounded-sm",e.className);return n.createElement("div",Object.assign({},u,{role:"table",className:d,ref:a}),n.createElement("div",{role:"rowgroup",className:"yt-table__head",ref:s},null==i?void 0:i.map((e,t)=>n.createElement("div",{key:t,role:"row",className:"border-grey-300 flex h-auto min-h-[2.5rem] w-full select-none border-b-2 border-t-0 font-bold"},e.headers.map((e,t)=>n.createElement(ld,{key:t,index:t,cell:e}))))),n.createElement("div",{role:"rowgroup",className:"yt-table__body",ref:c},o))})),od=n.forwardRef((function(e,t){const{emptyStateRenderer:l=ad,...a}=e,r=qa(t),{rowProps:o,tableProps:i,rows:s,prepareRow:c,pagination:u,instance:d}=ed(a,r);let m;return u&&(m=n.createElement(Ji,{className:"my-4 w-full",length:u.length,pageIndex:u.pageIndex,pageSize:u.pageSize,setPageIndex:u.setPageIndex,setPageSize:u.setPageSize,showPageControls:u.length>u.pageSize,dangerouslyHijackGlobalKeyboardNavigation:e.dangerouslyHijackGlobalKeyboardNavigation})),n.createElement(n.Fragment,null,m,n.createElement(rd,Object.assign({},i,{ref:r}),s.length?s.map((e,t)=>(c(e,t),n.createElement(nd,Object.assign({},o,{key:t,index:t,row:e,instance:d,headerGroups:i.headerGroups})))):l()),m)}));od.Column=()=>null,od.Group=()=>null;const id=n.forwardRef((function(e,t){return n.createElement(od,Object.assign({},e,{disablePagination:!1,ref:t}))}));id.Column=()=>null,id.Group=()=>null;const sd=n.memo(({data:e,index:t,style:{...l}})=>{const{texts:a}=dr(),{rows:r,setRowHeight:o,rowProps:i,tableProps:s,instance:c,prepareRow:u,rowHeights:d}=e,m=r[t],g=n.useRef(null);return n.useEffect(()=>{null!=g&&g.current&&o(t,g.current.getBoundingClientRect().height)},[d[t]]),m?(u(m,t),n.createElement(nd,Object.assign({},i,{style:l,key:t,index:t,row:m,instance:c,headerGroups:s.headerGroups,setRowHeight:o,ref:g}))):n.createElement("div",{className:"yt-table__row",role:"row",style:l},n.createElement("div",{className:"yt-table__cell text-grey-300"},a.table.loading))},I.areEqual),cd=(e={})=>{const t=Object.keys(e);return t.reduce((t,n)=>t+e[n],0)/t.length},ud=n.forwardRef((function(e,t){const a=qa(t),{emptyStateRenderer:r=ad,length:o,loadMore:i,...s}=e,{rowProps:c,tableProps:u,rows:d,prepareRow:m,instance:g,state:f}=ed({...s,windowed:!0},a),h=n.useRef(null),[v,p]=n.useState(null),w=Sr(a),b=Sr(h),E=w&&b?w.height-b.height:null,x=c.rowHeight||40,y=n.useRef({}),z=n.useCallback((e,t)=>{y.current[e]!==t&&(y.current={...y.current,[e]:t},v&&v.resetAfterIndex(0))},[]),R=n.useCallback(e=>y.current[e]||x,[]);n.useEffect(()=>{v&&void 0!==c.activeIndex&&v.scrollToItem(c.activeIndex,"start")},[v,c.activeIndex]),n.useEffect(()=>{y.current={},v&&v.resetAfterIndex(0)},[d.length]);const C=l(u.className,"yt-table--windowed",{"table-with-scrollbar":null!==E&&(x*e.data.length||0)>E});let S;if(E&&d.length){const e={height:E,itemData:{rows:d,setRowHeight:z,rowProps:c,tableProps:u,instance:g,prepareRow:m,state:f,rowHeights:y.current},estimatedItemSize:cd(y.current),itemSize:R,width:"100%"};S=i&&o?n.createElement(L,{isItemLoaded:e=>!!d[e],itemCount:o,loadMoreItems:i},({onItemsRendered:t,ref:l})=>n.createElement(I.VariableSizeList,Object.assign({},e,{itemCount:o,onItemsRendered:t,ref:e=>{l(e),p(e)}}),sd)):n.createElement(I.VariableSizeList,Object.assign({},e,{itemCount:d.length,ref:e=>{p(e)}}),sd)}return n.createElement(rd,Object.assign({},u,{className:C,headerRef:h,ref:a}),S||r())}));ud.Column=()=>null,ud.Group=()=>null;const dd=e=>{var t;return null!==(t=null==e?void 0:e.split(".").map(Number))&&void 0!==t?t:[]},md=(e,t)=>{if(!t)return;const n=[...e],l=dd(String(t));if(l.length){const e=l.shift();return l.reduce((e,t)=>{var n;return null==e||null===(n=e.subRows)||void 0===n?void 0:n[t]},n[e])}},gd=e=>{let t;if(e){const n=dd(e);n.pop(),n.length&&(t=n.join("."))}return t},fd=(e,t,n={})=>{const l=JSON.parse(JSON.stringify(e));let a;if(t){var r;const e=dd(t),o=md(l,e.join(".")),i=null!==(r=null==o?void 0:o.subRows)&&void 0!==r?r:[],s=e.map(e=>`[${e}]`).join(".subRows")+".subRows";i.unshift(n),H(l,s,i),e.push(0),a=e.join(".")}else l.unshift(n),a="0";return[l,a]},hd=(e,t)=>{const n=JSON.parse(JSON.stringify(e)),l=dd(t),a=Number(l.shift());if(l.length){const e=l.map(e=>`subRows[${e}]`).join(".");M(n[a],e),l.pop();const t=l.length?l.map(e=>`subRows[${e}]`).join(".")+".subRows":"subRows";H(n[a],t,V(k(n[a],t)))}else j(n,a);return n};function vd(e){const{onGoto:t,trigger:l,...a}=e,{texts:r}=dr();return n.createElement(mo,Object.assign({},a,{anchor:l}),n.createElement(mo.Content,null,n.createElement(tc,{"aria-label":r.table3.columns.menu.gotoRow,name:"query",onSearch:e=>t(e),onKeyDown:e=>e.stopPropagation(),placeholder:r.table3.columns.menu.gotoRow+"..."})))}function pd(e,t,n,l=!1){var a;const r=null==t?void 0:t.closest('[role="row"]'),o=l?70:0;if(!r)return null;const i=null!==(a=Array.from(r.children))&&void 0!==a?a:[],s=i.indexOf(t);if(-1===s)return null;let c=0;const u=e.getBoundingClientRect(),d=t.getBoundingClientRect(),m=d.right>u.right-o,g=d.left<u.left;if(-1!==n&&s>n){var f;const t=null===(f=i[n])||void 0===f?void 0:f.getBoundingClientRect();if(t.right>d.left)return c=e.scrollLeft-(t.right-d.left),c;if(m)return c=e.scrollLeft+(d.right-u.right+0)+o,c}else{if(g)return c=e.scrollLeft-(u.left-d.left),c;if(m)return c=e.scrollLeft+(d.right-u.right+0)+o,c}return null}function wd(e,t){return!_d(t.id)&&!!(e.options.meta.rowGoto.isEnabled&&t.column.getCanSort()&&t.column.getIsSorted())}function bd(e,t){var n;return!_d(t.id)&&(!(null===(n=t.column.columnDef.meta)||void 0===n||!n.menu)||!!e.options.meta.columnFreezing.isEnabled||!!e.options.enableHiding&&!!t.column.getCanHide()||wd(e,t))}function Ed(e){const{canFreeze:t,canHide:a,canSort:r,index:o,menu:i,onGoto:s,onHide:c,onSortToggle:u,scrollToIndex:d,sortDirection:m,table:g}=e,f=g.options.meta,{texts:h}=dr(),[v,p]=n.useState(void 0),[w,b]=n.useState(m),E=n.useRef(null);n.useEffect(()=>{const{frozenColumnIndex:e=-1,frozenInternalColumnCount:t=0}=f.columnFreezing,n=Qa("g",()=>{if(s){var n;const l=f.tableRef.current,a=e>-1?e+t:t-1,r=null===(n=E.current)||void 0===n?void 0:n.closest('[role="columnheader"]');if(!l||!r)return;const o=pd(l,r,a);null!==o&&(l.scrollLeft=o)}},!1);return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[f.columnFreezing.frozenColumnIndex,s]);const x=e=>{b(e),u(e)};let y;if(v){const e=()=>p(void 0);switch(v){case"goto":if(s){const t=function(t){try{const n=Is((function(){return Os((function(){return Promise.resolve(s(t)).then((function(e){f.rowActive.setRowActiveIndex(e),d(e+2,{align:"center"})}))}),(function(){}))}),(function(t,n){if(e(),t)throw n;return n}));return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(e){return Promise.reject(e)}};y=l=>n.createElement(vd,Object.assign({},l,{open:!0,onChange:e,onGoto:t}))}}}const z=l("-my-0.5 -mr-1 -ml-0.5 !h-6 !min-h-[theme(spacing.6)] flex-shrink-0 justify-end !w-0 !min-w-0 !overflow-hidden","aria-expanded:!min-w-[theme(spacing.6)] aria-expanded:!w-6 aria-expanded:!overflow-auto","focus:!min-w-[theme(spacing.6)] focus:!w-6 focus:!overflow-auto","group-hover/column:!min-w-[theme(spacing.6)] group-hover/column:!w-6 group-hover/column:!overflow-auto",{"!w-6 !min-w-[theme(spacing.6)] !overflow-auto":!!y},e.className),R=n.useMemo(()=>{const e=[];if(a&&e.push(n.createElement(Hi.Item,{icon:"eye-off",onClick:e=>setTimeout(()=>c(e),1)},h.table3.columns.menu.hideColumn)),r&&e.push(n.createElement(Hi.Item,{icon:"sort-by",subMenu:()=>n.createElement(Hi.SubMenu,null,n.createElement(Hi.RadioGroup,{onChange:x,value:w},n.createElement(Hi.RadioGroup.Item,{value:Cd.ASC},h.table3.columns.menu.sortingOrder.ascending),n.createElement(Hi.RadioGroup.Item,{value:Cd.DESC},h.table3.columns.menu.sortingOrder.descending),n.createElement(Hi.RadioGroup.Item,{value:!1},h.table3.columns.menu.sortingOrder.unsorted)))},h.table3.columns.menu.sorting)),s&&e.push(n.createElement(Hi.Item,{icon:"move",onClick:()=>p("goto"),shortcut:"g"},h.table3.columns.menu.gotoRow,"...")),t){const t=o-f.columnFreezing.frozenInternalColumnCount;e.push(n.createElement(Hi.Item,{icon:"column-freeze",onClick:()=>f.columnFreezing.setFrozenColumnIndex(t)},0===t?h.table3.columns.menu.freezeFirstColumn:h.table3.columns.menu.freezeUptoColumn.replace("[TOTAL]",String(t+1)))),void 0!==f.columnFreezing.frozenColumnIndex&&e.push(n.createElement(Hi.Item,{icon:"column-unfreeze",onClick:()=>{f.columnFreezing.setFrozenColumnIndex(void 0)}},h.table3.columns.menu.unfreezeColumns))}if(i){const t=i({trigger:void 0}),l=n.Children.toArray(t.props.children.props.children);l.length&&(e.length&&e.push(n.createElement(Hi.Separator,null)),e.push(...l))}return e.map((e,t)=>n.cloneElement(e,{key:t}))},[i,o,t,a,r,s,u,m,f.columnFreezing.frozenColumnIndex]);return n.createElement(or,{className:z,icon:"more",menu:y?void 0:e=>n.createElement(Hi,Object.assign({},e),n.createElement(Hi.Content,null,R)),popover:y,onClickCapture:e=>e.preventDefault(),ref:E})}function xd(e){const{isResizing:t,onResize:a}=e,{texts:r}=dr(),o=n.createElement("div",{className:l("invisible absolute right-0 top-0 -mr-2 flex h-full w-4 cursor-col-resize touch-none select-none justify-center rounded py-0.5 group-hover/column:visible",'[[role="columnheader"]:last-child>&]:!mr-0 [[role="columnheader"]:last-child>&]:w-2',{"!visible":t}),onClick:e=>{e.stopPropagation(),e.preventDefault()},onMouseDown:a,onTouchStart:a},n.createElement("div",{className:l("h-full w-1 rounded",{"!bg-blue-500":t,"bg-grey-500 hover:bg-grey-700":!t})}));return t?o:n.createElement(tr,{placement:"top",title:r.table3.columns.resize.tooltip},o)}const yd={asc:n.createElement(ya,{name:"chevron-up-solid",className:"pointer-events-none -my-0.5"}),desc:n.createElement(ya,{name:"chevron-down-solid",className:"pointer-events-none -my-0.5"})};function zd(e){var t;return null!==(t=yd[e.direction])&&void 0!==t?t:null}const Rd={asc:"ascending",desc:"descending"},Cd={ASC:"asc",DESC:"desc"};function Sd(e){const{children:t,column:l,header:a,hasSeparator:r,scrollToIndex:o,table:i}=e,s=i.options.meta,c=n.useMemo(()=>l.columnDef.meta,[]),u=l.getCanSort(),d=wd(i,a),m=n.useMemo(()=>a.column.getToggleVisibilityHandler(),[]),g=n.useMemo(()=>a.getResizeHandler(),[]),f=n.useMemo(()=>a.column.getToggleSortingHandler(),[]),h=n.useCallback(e=>{!1===e?a.column.clearSorting():a.column.toggleSorting(e===Cd.DESC)},[]),v=i.getState().sorting,p=i.getState().columnFilters,w=i.getState().globalFilter,b=n.useMemo(()=>{if(d)return e=>{var t,n;return null===(t=(n=s.rowGoto).handleGoto)||void 0===t?void 0:t.call(n,a.id,e,v,p,w)}},[d,JSON.stringify(v),JSON.stringify(p),w]),E={align:c.align,canFreeze:s.columnFreezing.isEnabled,canHide:l.getCanHide(),canResize:l.getCanResize(),canSort:u,children:null!=t?t:c.header,colSpan:a.colSpan,hasMenu:bd(i,a),hasSeparator:r,id:a.id,index:a.index,isFrozen:Gd(a,i),isPlaceholder:a.isPlaceholder,isPrinting:s.printing.isPrinting,isResizing:l.getIsResizing(),length:i.getRowModel().rows.length,meta:c,onGoto:b,onHide:m,onResize:g,onSort:f,onSortToggle:h,scrollToIndex:o,sortDirection:l.getIsSorted(),table:i};return n.createElement(Nd,Object.assign({},E))}function Nd(e){var t;const{align:a,children:r,canFreeze:o,canHide:i,canResize:s,canSort:c,colSpan:u,hasMenu:d,hasSeparator:m,id:g,index:f,isFrozen:h,isPlaceholder:v,isPrinting:p,isResizing:w,length:b,meta:E,onGoto:x,onHide:y,onResize:z,onSort:R,onSortToggle:C,scrollToIndex:S,sortDirection:N,table:A}=e,O=l("font-bold border-b-2 box-content group/column relative",'[[role="table"][data-resizing="true"]_&]:pointer-events-none',"px-[var(--table3-cell-padding-x)]",{"!border-white":v,"h-10 items-center sticky":!p,"pb-2":p,"cursor-pointer select-none":c,"hover:bg-grey-100":!v&&(c||s||d),"focus-within:bg-grey-100":d,"!pointer-events-all !bg-grey-100":!v&&w,"z-10 hover:z-20":!h&&!w,"z-20":!h&&w,"!z-30 hover:!z-40":h,"!z-40":h&&w},u>1?"col-span-"+u:"",E.headerClassName),[I,L]=n.useState(null);return n.useLayoutEffect(()=>{if(I&&b){if(_d(g))return;A.setColumnSizing(e=>({...e,[g]:I.getBoundingClientRect().width}))}},[I,b]),A.options.debugAll&&console.log("header render",g),n.createElement("div",Object.assign({},c?function(e,t){var n;return{"aria-sort":null!==(n=Rd[t])&&void 0!==n?n:"none",onClick:t=>{!t.isDefaultPrevented()&&t.currentTarget.contains(t.target)&&(t.preventDefault(),e(t))}}}(R,N):void 0,{className:O,"data-align":a,"data-column-index":f,role:"columnheader",ref:L}),v?null:n.createElement(n.Fragment,null,_d(g)?r:n.createElement(tr,{title:String(null!==(t=null==E?void 0:E.tooltip)&&void 0!==t?t:r),placement:"top"},n.createElement("span",{className:l({truncate:!p})},r)),c?n.createElement(zd,{direction:N}):null,d?n.createElement(Ed,{canFreeze:o,canHide:i,canSort:c,className:l({"ml-auto":"right"!==a,"ml-2":"right"===a}),index:f,menu:E.menu,onGoto:x,onHide:y,onSortToggle:C,scrollToIndex:S,sortDirection:N,table:A}):null),m?n.createElement(Ad,null):null,!v&&s?n.createElement(xd,{isResizing:w,onResize:z}):null)}function Ad(){return n.createElement("div",{"data-taco":"header-separator",className:l("invisible absolute right-[0.5px] top-0 flex h-full w-2 touch-none select-none justify-center py-2 group-hover/header:visible")},n.createElement("div",{className:l("bg-grey-300 h-full w-[1px]")}))}const Od=n.createContext({isHovered:!1,setIsHovered:()=>{},rowIndex:0,hasError:!1}),Id=()=>n.useContext(Od),Ld=e=>{const{current:t,frozenColumnIndex:a,index:r,tableRef:o,...i}=e,{hasError:s}=Id(),c=n.useRef(null),u=l("h-full flex [justify-content:inherit] [text-align:inherit]",e.className,{"bg-blue-200/25":!t&&!s,"bg-blue-200/75":t&&!s,"bg-[#eaeaf5]":!t&&s,"bg-[#dadaf5]":t&&s});return n.useEffect(()=>{c.current&&t&&function(e,t,n,l){if(void 0!==t&&e>t){const e=qd(t,l),a=null==n?void 0:n.getBoundingClientRect(),r=null==e?void 0:e.getBoundingClientRect();if(a&&r&&a.left<r.left+r.width){const e=r.left+r.width;null==l||l.scrollTo(a.left-e,l.scrollTop)}}else n.scrollIntoView({block:"nearest",inline:"nearest"})}(r,a,c.current,o.current)},[t]),n.createElement("div",Object.assign({},i,{"data-taco":"highlight",className:u,ref:c}))};function Hd(e){const{cell:t,className:a,column:r,value:o,index:i,row:s,table:c,tableRef:u,highlighted:d,highlightedAsCurrent:m}=e,g=n.useMemo(()=>r.columnDef.meta,[]),f=c.options.meta,h=n.useMemo(()=>{var n,r,d,m;return{align:g.align,children:null!==(n=null!==(r=null!==(d=e.children)&&void 0!==d?d:null===(m=g.renderer)||void 0===m?void 0:m.call(g,o,s.original))&&void 0!==r?r:o)&&void 0!==n?n:null,className:l(a,"function"==typeof g.className?g.className(s.original):g.className),data:s.original,debug:c.options.debugAll,enableTruncate:g.enableTruncate,frozenColumnIndex:f.columnFreezing.frozenColumnIndex,id:t.id,index:i,tableRef:u}},[s.original,e.children,o,f.columnFreezing.frozenColumnIndex,a]);return n.createElement(Md,Object.assign({},h,{highlighted:d,highlightedAsCurrent:m}))}const Md=n.memo((function(e){const{align:t="left",children:a,className:r,debug:o,enableTruncate:i,frozenColumnIndex:s,highlighted:c,highlightedAsCurrent:u=!1,id:d,index:m,tableRef:g}=e,f=l("py-[var(--table3-cell-padding-y)] px-[var(--table3-cell-padding-x)] focus:outline-none break-word hyphens-auto",r),h=c?void 0:f,v=i?n.createElement("span",{className:"truncate"},a):a;return o&&console.log("cell render",d),n.createElement("div",{className:h,"data-align":t,"data-column-index":m,"data-highlighted":c,role:"cell",tabIndex:-1},c?n.createElement(Ld,{className:f,current:u,frozenColumnIndex:s,index:m,tableRef:g},v):v)}));function kd(e){const{column:t,header:l,table:a}=e,r=n.useMemo(()=>t.columnDef.meta,[]),o={align:r.align,id:l.id,index:l.index,isFrozen:Gd(l,a),meta:r,table:a};return n.createElement(Vd,Object.assign({},o))}const Vd=n.memo((function(e){const{align:t,id:a,index:r,isFrozen:o,meta:i,table:s}=e,c=l("sticky bottom-0 border-t-2 font-bold h-10 box-content items-center group/column relative z-10",{"z-30":o});return s.options.debugAll&&console.log("footer render",a),n.createElement("div",{className:c,"data-align":t,"data-column-index":r,role:"columnheader"},"function"==typeof i.footer?n.createElement("span",{className:"flex-grow truncate"},i.footer(s.getRowModel().rows.map(e=>e.original[a]))):null)}));var jd;!function(e){e.SEARCH="SEARCH",e.SORTING="SORTING",e.FILTER="FILTER"}(jd||(jd={}));const Td=({reason:e,columnName:t,mountNode:l,validationErrors:a})=>{const r=n.useMemo(()=>{const e=document.createElement("div");return e.className+="rounded-b-md items-center wcag-blue-500 absolute left-0 top-full ml-1 whitespace-nowrap px-1 py-0.5 text-xs font-bold shadow-sm",e},[]),o=(e=>{let t="",n="";const{texts:l}=dr();switch(e){case jd.FILTER:t=l.table3.editing.rowIndicator.rowWillBeHidden,n=l.table3.editing.rowIndicator.rowWillMoveReasonFilter;break;case jd.SEARCH:t=l.table3.editing.rowIndicator.rowWillBeHidden,n=l.table3.editing.rowIndicator.rowWillMoveReasonSearch;break;case jd.SORTING:t=l.table3.editing.rowIndicator.rowWillMove,n=l.table3.editing.rowIndicator.rowWillMoveReasonSorting}return{title:t,description:n}})(e);return n.useEffect(()=>(null==l||l.classList.add("!z-[21]","relative"),null==l||l.appendChild(r),()=>{null==l||l.classList.remove("!z-[21]","relative"),null==l||l.removeChild(r)}),[!!a,l]),T.createPortal(n.createElement(tr,{title:o.description.replace("[COLUMN]",t)},n.createElement("span",{className:"flex gap-1 hover:cursor-pointer"},n.createElement(ya,{name:"info",className:"!h-4 !w-4 rounded-full bg-white !p-0 text-blue-500"}),o.title)),r)};function Dd(e,t){return l("!border-blue !border-y-2 border-x-0",{"border-l-2 rounded-l":0===e,"border-r-2 rounded-r":e===t})}function Fd(e,t,n){return t===e&&n}const Pd=n.memo((function(e){const{actions:t,actionsLength:a,fontSize:r,isActiveRow:o,isEditing:i,isResizingColumn:s,isHoverStatePaused:c,row:u}=e,{isHovered:d}=n.useContext(Od),{texts:m}=dr(),g=n.useRef(null);let f;if(null!=t&&t.length&&!i&&(o||d&&!c&&!s)){const i=t.map(e=>e(u.original)).filter(e=>!!e),s=i.length===a?i:i.slice(0,a-1),c=i.slice(i.length===a?a:a-1),d=l("-mb-2 flex justify-end pl-2 text-right",{"-mt-2":r===exports.FontSizes.small,"-mt-1.5":r!==exports.FontSizes.small},e.className);f=n.createElement("span",{className:d,ref:g},s.map((e,t)=>{var l,a;const r=String(null!==(l=null!==(a=e.props.tooltip)&&void 0!==a?a:e.props["aria-label"])&&void 0!==l?l:"");return n.cloneElement(e,{appearance:"transparent",key:t,tabIndex:o?0:-1,tooltip:e.props.shortcut?n.createElement(n.Fragment,null,r,n.createElement(fi,{className:"ml-2",keys:e.props.shortcut})):r})}),c.length?n.createElement(or,{appearance:"transparent","aria-label":m.table3.columns.actions.tooltip,icon:"more",tabIndex:o?0:-1,menu:e=>n.createElement(Hi,Object.assign({},e),n.createElement(Hi.Content,null,c.map((e,t)=>n.createElement(Hi.Item,Object.assign({key:t},e.props,{shortcut:e.props.shortcut}),e.props["aria-label"]))))}):null)}return n.createElement(Hd,Object.assign({},e),f)}));function Bd(e){const{rowIndex:t}=n.useContext(Od),l=e.table.options.meta,a=e.table.getVisibleLeafColumns(),r=a.length>0?a.length-1:0,o=Fd(t,l.rowActive.rowActiveIndex,l.editing.rowMoveReason)?Dd(e.index,r):void 0;return n.createElement(Pd,Object.assign({},e,{actions:l.rowActions.actionsForRow,actionsLength:l.rowActions.actionsForRowLength,className:o,fontSize:l.fontSize.size,isActiveRow:l.rowActive.rowActiveIndex===t,isEditing:l.editing.isEditing,isResizingColumn:!!e.table.getState().columnSizingInfo.isResizingColumn,isHoverStatePaused:!!l.rowActive.isHoverStatePaused}))}const _d=e=>e.startsWith("__"),Gd=(e,t)=>{var n;const l=t.options.meta;return!("__actions"===e.column.id||!_d(e.column.id))||!(!l.columnFreezing.isEnabled||void 0===l.columnFreezing.frozenColumnIndex)&&l.columnFreezing.frozenColumnIndex+(null!==(n=l.columnFreezing.frozenInternalColumnCount)&&void 0!==n?n:0)>=e.index},qd=(e,t)=>t.querySelector(`[data-current="true"] [data-column-index="${e}"`);function $d(e,t){return null==e?"":m.isDate(e)?null!==(n=to(e))&&void 0!==n?n:"":"datetime"===t&&"string"==typeof e?null!==(l=to(lo(e)))&&void 0!==l?l:"":String(e);var n,l}const Kd=(e="left")=>l({"justify-start text-left":"left"===e,"justify-end text-right":"right"===e,"justify-center text-center":"center"===e}),Ud=rs,Wd=()=>l("[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none"),Jd={enableColumnFreezing:!1,enableColumnHiding:!1,enableColumnOrdering:!1,enableColumnResizing:!1,enableFontSize:!1,enableFooter:!1,enablePrinting:!1,enableRowDrag:!1,enableRowDrop:!1,enableRowExpansion:!1,enableRowGoto:!1,enableRowHeight:!1,enableRowSelection:!1,enableRowSelectionSingle:!1,enableEditing:!1,enableFiltering:!1,enableSearch:!1,enableSorting:!1},Yd={display:{enableColumnFreezing:!0,enableColumnHiding:!0,enableColumnOrdering:!0,enableColumnResizing:!0,enableFontSize:!0,enableFooter:!0,enablePrinting:!1,enableRowDrag:!0,enableRowDrop:!0,enableRowExpansion:!0,enableRowGoto:!0,enableRowHeight:!0,enableRowSelection:!0,enableRowSelectionSingle:!1,enableEditing:!1,enableFiltering:!0,enableSearch:!0,enableSorting:!0},editable:{enableColumnFreezing:!0,enableColumnHiding:!0,enableColumnOrdering:!0,enableColumnResizing:!0,enableFontSize:!0,enableFooter:!0,enablePrinting:!1,enableRowDrag:!0,enableRowDrop:!0,enableRowExpansion:!0,enableRowGoto:!0,enableRowHeight:!0,enableRowSelection:!0,enableRowSelectionSingle:!1,enableEditing:!0,enableFiltering:!0,enableSearch:!0,enableSorting:!0},card:{enableColumnFreezing:!1,enableColumnHiding:!1,enableColumnOrdering:!1,enableColumnResizing:!1,enableFontSize:!1,enableFooter:!1,enablePrinting:!1,enableRowDrag:!1,enableRowDrop:!1,enableRowExpansion:!1,enableRowGoto:!1,enableRowHeight:!1,enableRowSelection:!1,enableRowSelectionSingle:!1,enableEditing:!1,enableFiltering:!1,enableSearch:!1,enableSorting:!0}};var Qd;!function(e){e[e.Contains=0]="Contains",e[e.DoesNotContain=1]="DoesNotContain",e[e.IsEqualTo=2]="IsEqualTo",e[e.IsNotEqualTo=3]="IsNotEqualTo",e[e.IsGreaterThan=4]="IsGreaterThan",e[e.IsLessThan=5]="IsLessThan",e[e.IsBetween=6]="IsBetween",e[e.IsEmpty=7]="IsEmpty",e[e.IsNotEmpty=8]="IsNotEmpty",e[e.IsLessThanOrEqualTo=9]="IsLessThanOrEqualTo",e[e.IsGreaterThanOrEqualTo=10]="IsGreaterThanOrEqualTo",e[e.HasAnyOf=11]="HasAnyOf",e[e.HasAllOf=12]="HasAllOf",e[e.HasNoneOf=13]="HasNoneOf"}(Qd||(Qd={}));const Xd=e=>String(null!=e?e:"").toLocaleLowerCase(),Zd=(e,t)=>Xd(e).includes(Xd(t)),em=(e,t)=>Xd(e)===Xd(t);function tm(e,t){return Zd(e,t)}function nm(e,t){try{if(t.comparator===Qd.IsEmpty||t.comparator===Qd.IsNotEmpty){const n=null==e||""===e;return t.comparator===Qd.IsEmpty?n:!n}if(null==t.value||""===t.value)return!0;switch(t.comparator){case Qd.Contains:return Zd(e,t.value);case Qd.DoesNotContain:return!Zd(e,t.value);case Qd.IsEqualTo:return m.isDate(e)?m.isDate(t.value)&&eo(e,t.value):"boolean"==typeof t.value?e===t.value:em(e,t.value);case Qd.IsNotEqualTo:return m.isDate(e)?m.isDate(t.value)&&!1===eo(e,t.value):"boolean"==typeof t.value?e!==t.value:!em(e,t.value);case Qd.IsGreaterThan:if(m.isDate(e))return m.isDate(t.value)&&m.isAfter(e,t.value);{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n>t.value}case Qd.IsLessThan:if(m.isDate(e))return m.isDate(t.value)&&m.isBefore(e,t.value);{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n<t.value}case Qd.IsLessThanOrEqualTo:if(m.isDate(e))return m.isDate(t.value)&&(m.isBefore(e,t.value)||m.isEqual(e,t.value));{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n<=t.value}case Qd.IsGreaterThanOrEqualTo:if(m.isDate(e))return m.isDate(t.value)&&(m.isAfter(e,t.value)||m.isEqual(e,t.value));{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n>=t.value}case Qd.IsBetween:{const[n,l]=t.value;if(m.isDate(e))return!(m.isDate(n)&&m.isBefore(e,n)||m.isDate(l)&&m.isAfter(e,l));{const t=parseInt(e);return!(isNaN(t)||void 0!==n&&t<n||void 0!==l&&t>l)}}case Qd.HasAnyOf:return!(!Array.isArray(t.value)||!Array.isArray(e))&&t.value.some(t=>e.includes(t));case Qd.HasNoneOf:return!(!Array.isArray(t.value)||!Array.isArray(e))&&t.value.every(t=>!1===e.includes(t));case Qd.HasAllOf:return!(!Array.isArray(t.value)||!Array.isArray(e))&&t.value.filter(t=>e.includes(t)).length===t.value.length}return!1}catch(e){return console.error(e),!0}}const lm=["A","BUTTON","INPUT","TEXTAREA","SELECT","DETAILS"].join(", "),am=(e,t)=>m.isDate(e)&&m.isDate(t)?!eo(e,t):Array.isArray(e)?JSON.stringify(e)!==JSON.stringify(t):e!==t;class rm{constructor(){this._value="0"}get value(){return this._value}set value(e){this._value=e}}function om(e){var t;return e?null===(t=e.closest("[role=cell]"))||void 0===t?void 0:t.getAttribute("data-column-index"):null}const im={tabbable:!0,accept:e=>!!e.closest('[role="row"][data-current="true"]')};function sm(e){var t,l;const a=v.useFocusManager(),r=e.table.options.meta,o=r.rowActive.rowActiveIndex===e.index,i=r.rowDrag.dragging[e.row.id],s=0===e.index,[c,u]=n.useState(!1),d=!!Object.keys(null!==(t=null===(l=r.validation.errors)||void 0===l?void 0:l[e.row.id])&&void 0!==t?t:{}).length,m={data:e.row.original,"aria-grabbed":!!i||!r.rowDrag.isEnabled&&void 0,"data-current":o,"data-selected":e.row.getIsSelected(),"data-invalid":d,draggable:r.rowDrag.isEnabled,index:e.index,onClick:r.rowClick.handleClick,onDrop:r.rowDrop.isEnabled?r.rowDrop.handleDrop:void 0};let g=n.createElement(fm,Object.assign({},e,m,{onKeyDown:t=>{if(!t.isDefaultPrevented()&&!t.isPropagationStopped()&&"Tab"===t.key){let n;r.rowActive.setHoverStatePaused(!0),t.shiftKey?(n=a.focusPrevious(im),n?t.preventDefault():s||(t.preventDefault(),r.rowActive.setRowActiveIndex(e.index-1),setTimeout(()=>a.focusLast(im),1))):(n=a.focusNext(im),n?t.preventDefault():e.isLastRow||(t.preventDefault(),r.rowActive.setRowActiveIndex(e.index+1),setTimeout(()=>a.focusFirst(im),1)))}}}));r.editing.isEditing&&(o||c&&!r.rowActive.isHoverStatePaused)&&(g=n.createElement(mm,Object.assign({},e,m,{isFirstRow:s,setActiveRowIndex:r.rowActive.setRowActiveIndex})));const f=n.useMemo(()=>({isHovered:c,setIsHovered:u,rowIndex:e.index,hasError:d}),[c,d,e.index]);return n.createElement(Od.Provider,{value:f},g)}const cm=new rm;let um;const dm=e=>{if(void 0!==um){var t;const n=new MouseEvent("mouseout",{view:window,bubbles:!0,cancelable:!0}),l=null==e||null===(t=e.current)||void 0===t?void 0:t.querySelector(`[data-row-index="${um}"]`);null==l||l.dispatchEvent(n)}};function mm(e){const{isFirstRow:t,...l}=e,a=v.useFocusManager(),r=e.table.options.meta;return n.useEffect(()=>{r.rowActive.isHoverStatePaused&&dm(e.tableRef)},[r.rowActive.isHoverStatePaused]),n.useEffect(()=>{if(r.rowActive.rowActiveIndex===e.index&&!r.search.isSearching)if(null!==cm.value){var t;const n=null===(t=e.tableRef.current)||void 0===t?void 0:t.querySelector(`[role="row"][data-current="true"] [data-column-index="${cm.value}"]`),l=null==n?void 0:n.querySelector(lm);if(l)l.focus();else if(n){const e=a.focusFirst(im);cm.value=om(e)}}else{const e=a.focusFirst(im);cm.value=om(e)}},[r.rowActive.rowActiveIndex,r.search.isSearching]),n.createElement(fm,Object.assign({},l,{onClickCapture:e=>{cm.value=om(e.target)},onKeyDown:n=>{n.isDefaultPrevented()||n.isPropagationStopped()||r.editing.detailModeEditing||r.shortcutsState.isPaused||((n=>{let l;("ArrowLeft"===n.key||"Tab"===n.key&&n.shiftKey)&&(n.stopPropagation(),n.preventDefault(),r.rowActive.setHoverStatePaused(!0),n.ctrlKey||n.metaKey?(n.target.blur(),l=a.focusFirst(im),cm.value=om(l)):(l=a.focusPrevious(im),l?cm.value=om(l):t&&n.currentTarget.contains(l)||(n.preventDefault(),r.rowActive.setHoverStatePaused(!0),r.rowActive.setRowActiveIndex(e.index-1),setTimeout(()=>{l=a.focusLast(im),cm.value=om(l)},1))))})(n),(t=>{let n;("ArrowRight"===t.key||"Tab"===t.key&&!t.shiftKey)&&(t.stopPropagation(),t.preventDefault(),r.rowActive.setHoverStatePaused(!0),t.ctrlKey||t.metaKey?(t.target.blur(),n=a.focusLast(im),cm.value=om(n)):(n=a.focusNext(im),n?cm.value=om(n):e.isLastRow||t.currentTarget.contains(n)||(t.preventDefault(),r.rowActive.setHoverStatePaused(!0),r.rowActive.setRowActiveIndex(e.index+1),setTimeout(()=>{n=a.focusFirst(im),cm.value=om(n)},1))))})(n))}}))}const gm=["input","button","a","select","option","label","textarea"],fm=n.memo((function(e){const{data:t,index:a,measureRef:r,onClick:o,onClickCapture:i,onDrop:s,row:c,table:u,tableRef:d,...m}=e,g=n.useRef(null),f=u.options.meta,{setIsHovered:h}=Id();n.useEffect(()=>{var e;const t=null===(e=g.current)||void 0===e?void 0:e.querySelector("[role=cell]:first-child");t&&r(t)},[g.current]);const[v,p]=Ti(e=>null==s?void 0:s(e,c.original)),w=l("group/row contents",'[[role="table"][data-resizing="true"]_&]:pointer-events-none',{"hover:cursor-pointer":"function"==typeof o});return n.createElement("div",Object.assign({},m,s?p:void 0,{className:w,"data-row-index":a,"data-dragged-over":v,onClick:e=>{if("function"==typeof o){var n;const l=e.target;if(null===(n=g.current)||void 0===n||!n.contains(e.target)||gm.includes(l.tagName.toLowerCase())||l.closest(gm.map(e=>"[role=row] "+e).join(",")))return;o(e,t)}},onClickCapture:e=>{"function"==typeof i&&i(e),requestAnimationFrame(()=>f.rowActive.setRowActiveIndex(a))},onMouseEnter:()=>{void 0!==um?um!==a&&(dm(d),um=a):um=a,h(!0)},onMouseLeave:()=>{um===a&&(um=void 0),h(!1)},role:"row",ref:g}))}));var hm,vm,pm;function wm(e,t){switch(t.type){case pm.SET_SAVING_STATUS:return{...e,[t.payload.rowId]:t.payload.state};case pm.SET_SAVING_STATUSES:return{...e,...t.payload.states};case pm.RESET_SAVING_STATUS:{const n={...e};return null==n||delete n[t.payload.rowId],n}default:return e}}!function(e){e.Saving="saving",e.Saved="saved",e.Error="error"}(hm||(hm={})),function(e){e[e.SET_CELL_VALUE=0]="SET_CELL_VALUE",e[e.RESET_CHANGE=1]="RESET_CHANGE"}(vm||(vm={})),function(e){e[e.SET_SAVING_STATUS=0]="SET_SAVING_STATUS",e[e.SET_SAVING_STATUSES=1]="SET_SAVING_STATUSES",e[e.RESET_SAVING_STATUS=2]="RESET_SAVING_STATUS"}(pm||(pm={}));const bm=n.memo((function(e){var t;const{className:a,editing:r,hasChanges:o,isActiveRow:i,row:s,rowIdentifier:c,table:u}=e,d=r.getSavingStatus(s.id),[m,g]=n.useState(!1),{texts:f}=dr(),[h,v]=n.useState(!1),p=u.getAllFlatColumns().find(e=>e.id===c),w=null==p||null===(t=p.columnDef.meta)||void 0===t?void 0:t.header,b=n.useRef(null),E=u.options.meta,x=si(3e3,()=>{g(!1),r.resetSavingStatus(s.id)});let y;n.useEffect(()=>{d&&d===hm.Saved&&!m&&(g(!0),x.start())},[d]),n.useEffect(()=>{E.shortcutsState.pause(h)},[h]),d&&(d===hm.Saving?y=n.createElement(tr,{title:f.table3.editing.saving.progress},n.createElement(Mr,{delay:0,className:"!text-grey-700 mr-1 !h-5 !w-5"})):m&&(y=n.createElement(tr,{title:f.table3.editing.saving.complete},n.createElement(ya,{name:"tick",className:"!text-grey-700 mr-1 !h-5 !w-5"})))),r.isEditing&&i&&(y=n.createElement(n.Fragment,null,y,n.createElement(or,{ref:b,appearance:"transparent","aria-label":f.table3.editing.actions.tooltip,icon:"more",menu:e=>n.createElement(Hi,Object.assign({},e),n.createElement(Hi.Content,null,n.createElement(Hi.Item,{icon:"tick",disabled:!o,onClick:()=>r.saveChangesIfNeeded()},f.table3.editing.actions.save),n.createElement(Hi.Item,{icon:"close",disabled:!o,onClick:()=>v(!0)},f.table3.editing.actions.clear),n.createElement(Hi.Item,{icon:"undo",onClick:()=>r.toggleEditing(!1)},f.table3.editing.actions.exit))),tabIndex:i?0:-1}),n.createElement(Co,{size:"xs",open:h,onClose:()=>{v(!1),requestAnimationFrame(()=>{b.current&&(b.current.focus(),cm.value=om(b.current))})}},n.createElement(Co.Content,{"aria-label":f.table3.editing.clearChangesConfirmationDialog.title},n.createElement(Co.Title,null,f.table3.editing.clearChangesConfirmationDialog.title),n.createElement("p",null,f.table3.editing.clearChangesConfirmationDialog.description.replace("[ROW_IDENTIFIER]",c&&w?w:f.table3.validation.index).replace("[ROW_IDENTIFIER_VALUE]",c&&w?s.original[c]:s.index)),n.createElement(Co.Footer,null,n.createElement(So,null,n.createElement(Co.Close,null,n.createElement(fr,{tabIndex:0},f.table3.editing.clearChangesConfirmationDialog.cancel)),n.createElement(Co.Close,null,n.createElement(fr,{tabIndex:0,appearance:"primary",autoFocus:!0,onClick:()=>r.resetChange(s.id)},f.table3.editing.clearChangesConfirmationDialog.confirm))))))));const z=l("flex items-center justify-end text-right",{"-mb-2 -mt-2":i});return n.createElement(Hd,Object.assign({},e,{className:l(a,{"!sticky":!!y})}),y?n.createElement("span",{className:z},y):void 0)}));function Em(e){const{rowIndex:t}=n.useContext(Od),l=e.table.options.meta,a=l.editing.changes?Object.keys(l.editing.changes):[],r=e.table.getVisibleLeafColumns(),o=r.length>0?r.length-1:0,i=Fd(t,l.rowActive.rowActiveIndex,l.editing.rowMoveReason)?Dd(e.index,o):void 0;return n.createElement(bm,Object.assign({},e,{className:i,editing:l.editing,hasChanges:a.indexOf(e.row.id)>=0,isActiveRow:l.rowActive.rowActiveIndex===t}))}const xm=t.forwardRef((function(e,n){const{onKeyDown:a,...r}=e,o=l(zr(e),"pt-[5px] pb-[7px] min-h-[75px] disabled:resize-none !leading-5",e.className);return t.createElement("textarea",Object.assign({},r,{className:o,"data-taco":"textarea",onKeyDown:e=>{if(1!==e.key.length||Ja(e)||e.stopPropagation(),"Home"===e.key||"End"===e.key){e.preventDefault();const t="End"===e.key?e.currentTarget.value.length:0;e.currentTarget.setSelectionRange(t,t),e.currentTarget.scrollTop="End"===e.key?e.currentTarget.scrollHeight:0}a&&a(e)},ref:n}))})),ym={small:{min:24,max:86},medium:{min:32,max:100},large:{min:40,max:140}},zm=n.forwardRef((function(e,t){const{onKeyDown:a,onChange:r,onBlur:o,onFocus:i,column:s,isCellInDetailMode:c,align:u,isActiveRow:d,value:m,fontSize:g,...f}=e,h=ym[g],v=s.columnDef.meta,p=qa(t);n.useEffect(()=>{null!=p&&p.current&&(null!=v&&v.enableTruncate?(null==p?void 0:p.current).style.height=h.min+"px":w(null==p?void 0:p.current))},[g]),n.useEffect(()=>{if(null!=p&&p.current&&null!=v&&v.enableTruncate){const e=null==p?void 0:p.current;c?w(e):e.style.height=h.min+"px"}},[c]);const w=e=>{const t=e.getBoundingClientRect();null!=v&&v.enableTruncate?t.height<h.max&&(e.style.height="inherit",e.style.height=Math.min(e.scrollHeight,h.max)+"px"):(e.style.height="inherit",e.style.height=e.scrollHeight+"px")},b=l("w-full",{"focus-within:absolute focus-within:left-0 focus-within:top-0 focus-within:z-[9]":null==v?void 0:v.enableTruncate});return n.createElement("div",{"data-taco":"input-container"},n.createElement("div",{style:{minHeight:h.min+"px"},className:"relative"},n.createElement("div",{className:b},n.createElement(xm,Object.assign({},f,{onChange:e=>{r(e.target.value),w(e.target)},rows:1,onKeyDown:e=>{var t;(t=e).shiftKey&&"Enter"===t.key||a(t)},onBlur:e=>{null!=v&&v.enableTruncate&&(e.currentTarget.style.height=h.min+"px"),o(e)},onFocus:e=>{const t=null==p?void 0:p.current;t&&w(t),i(e)},className:l(Kd(u),"h-fit resize-none overflow-hidden focus:overflow-auto [&:not(:focus)]:whitespace-nowrap",{[`!min-h-[${h.min}px]`]:null==v?void 0:v.enableTruncate,"!yt-focus-dark":c,[`h-[${h.min}px]`]:!c&&(null==v?void 0:v.enableTruncate),"focus:resize-y":d&&(null==v?void 0:v.enableTruncate)}),ref:p,value:String(null!=m?m:"")})))))})),Rm=n.forwardRef((function(e,t){var a;const{align:r,column:o,data:i,initialValue:s,onChange:c,table:u,tableRef:d,value:m,cell:g,error:f,...h}=e,v=u.options.meta,p=n.useRef(),w=Na([p,t]),b=o.columnDef.meta,E=null==b?void 0:b.control,x=v.editing.detailModeEditing&&(null==p||null===(a=p.current)||void 0===a?void 0:a.contains(document.activeElement)),y=g.row.original,z="number"===(null==b?void 0:b.dataType),R=e=>{(e=>{if(Ya(e,{key:"e",meta:!0,shift:!1}))return void v.editing.toggleEditing(!1);const t=e.target;var n,l;if(!t.readOnly)if(!v.editing.detailModeEditing||"ArrowUp"!==e.key&&"ArrowDown"!==e.key||e.stopPropagation(),"Escape"!==e.key)"Enter"!==e.key||(e.preventDefault(),v.editing.detailModeEditing?null==t||null===(n=t.select)||void 0===n||n.call(t):(e=>{var t,n,l;const a="number"===e.type;a&&(e.type="text"),null===(t=e.setSelectionRange)||void 0===t||t.call(e,null===(n=e.value)||void 0===n?void 0:n.length,null===(l=e.value)||void 0===l?void 0:l.length),a&&(e.type="number")})(t),v.editing.setDetailModeEditing(!v.editing.detailModeEditing));else if(e.preventDefault(),v.editing.detailModeEditing){if(v.editing.setDetailModeEditing(!1),m!==s){const e={...v.editing.changes?v.editing.changes[g.row.id]:{},[g.column.id]:s};D.isEqual(g.row.original,e)?v.editing.resetChange(g.row.id):c(s)}}else v.editing.toggleEditing(!1),null===(l=d.current)||void 0===l||l.focus()})(e),/^[a-z0-9]$/i.test(e.key)&&v.editing.setDetailModeEditing(!0)},C=e=>{var t;const{frozenColumnIndex:n=-1,frozenInternalColumnCount:l=0}=v.columnFreezing,a=v.tableRef.current,r=n>-1?n+l:l-1,o=null===(t=e.target)||void 0===t?void 0:t.closest('[role="cell"]');if(!a||!o)return;const i=pd(a,o,r,!0);null!==i&&(a.scrollLeft=i)};if("function"==typeof E)return E({...h,invalid:!!f,onFocus:C,ref:w,setValue:e=>{e!==m&&c(e)},fontSize:v.fontSize.size,value:m},i);if("datepicker"===E){const e=e=>{const t=e.detail;am(y[g.column.id],t)&&c(t)};return n.createElement(go,Object.assign({},h,{invalid:!!f,className:l({"[&_input]:!yt-focus-dark":x}),onChange:e,onFocus:C,onKeyDown:R,ref:w,value:m}))}return"switch"===E?n.createElement(mc,Object.assign({},h,{checked:Boolean(m),onChange:c,onFocus:C,ref:w})):"textarea"===E?n.createElement(zm,Object.assign({},e,{invalid:!!f,isCellInDetailMode:x,onFocus:C,onKeyDown:R,ref:w,fontSize:v.fontSize.size})):n.createElement(Ir,Object.assign({},h,{invalid:!!f,className:l(Wd(),Kd(r),{"!yt-focus-dark":x}),onChange:e=>{c(e.target.value)},onFocus:C,onKeyDown:R,ref:w,type:z?"number":void 0,value:z?m:String(null!=m?m:"")}))}));function Cm(e){const{cell:t,table:l}=e,{isHovered:a}=Id(),r=l.options.meta,o=r.validation.getCellError(t);return n.createElement(Sm,Object.assign({},e,{error:o,isHovered:a,tableMeta:r}))}const Sm=n.memo((function(e){var t,a,r,o;const{cell:i,column:s,index:c,getValue:u,table:d,tableRef:m,row:g,tableMeta:f,error:h,highlighted:v,highlightedAsCurrent:p}=e,{rowIndex:w}=n.useContext(Od),b=s.columnDef.meta,E=n.useRef(null),x=n.useRef(null),y=null!==(t=f.editing.getCellValue(i))&&void 0!==t?t:u(),z=(null===(a=f.editing.rowMoveReason)||void 0===a?void 0:a[i.column.id])||null,R=d.getRowModel().rows,C=void 0!==f.rowActive.rowActiveIndex&&(null===(r=R[f.rowActive.rowActiveIndex])||void 0===r?void 0:r.id)===g.id,S=n.useMemo(()=>{var e,t;return null!==z&&C&&!h?null===(e=E.current)||void 0===e||null===(t=e.parentElement)||void 0===t?void 0:t.firstChild:null},[z,C,h,E]),N=()=>{f.editing.removeRowMoveReason()};n.useEffect(()=>{if(C){if(!h){if(am(u(),y)){const e=function(e,t,n,l,a,r){var o;let i=null;const{globalFilter:s}=e.getState();return r&&!Object.values({...n,[l.id]:a}).some(()=>tm(String(a),s?String(s):""))?i=jd.SEARCH:l.column.getIsFiltered()&&!nm(a,l.column.getFilterValue())?i=jd.FILTER:!i&&l.column.getIsSorted()&&((e,t,n,l,a)=>{var r;const o=[{...t.row,original:{...t.row.original,[t.column.id]:e}}];o[0].getValue=()=>e;let i=0;n>0&&(o.unshift(l[n-1]),i=1),n<l.length-1&&o.push(l[n+1]);let s=[...o].sort((e,n)=>t.column.getSortingFn()(e,n,t.column.id));return a&&(s=s.reverse()),(null===(r=s[i])||void 0===r?void 0:r.id)!==t.row.id})(a,l,t,e.getRowModel().rows,!(null===(o=e.getState().sorting.find(e=>e.id===l.column.id))||void 0===o||!o.desc))&&(i=jd.SORTING),i}(d,w,g.original,i,y,f.search.excludeUnmatchedResults);e&&f.editing.setRowMoveReason({[i.column.id]:e})}else N();return N}f.editing.rowMoveReason&&N()}},[y,f.rowActive.rowActiveIndex,f.search.excludeUnmatchedResults,h]);const A=null===(o=s.columnDef.meta)||void 0===o?void 0:o.control,O=l("py-[calc(var(--table3-cell-padding-y)_-_0.06rem_-_1px)]",{relative:"textarea"===A&&b.enableTruncate},e.className,"function"==typeof b.className?b.className(g.original):b.className),I=l("!min-h-0 w-full !pb-0",{"!pb-3":!!h}),L=n.createElement(Qo,{message:h,invalid:!!h,className:I},n.createElement(Rm,{align:b.align,column:i.column,data:i.row.original,initialValue:u(),onBlur:()=>{var e;f.editing.setDetailModeEditing(!1),null!==(e=f.editing.changes)&&void 0!==e&&e[i.row.id]&&f.validation.validate(i.row.id,f.editing.changes[i.row.id],i.column.id)},onFocus:e=>{var t;const n=f.columnFreezing.frozenColumnIndex,l=m.current;if(l&&void 0!==n&&c>n){var a;const e=qd(n,l),t=null===(a=E.current)||void 0===a?void 0:a.getBoundingClientRect(),r=null==e?void 0:e.getBoundingClientRect(),o=l.getBoundingClientRect();t&&r&&t.left<r.left+r.width?l.scrollTo(t.left-(r.left+r.width),l.scrollTop):t&&o&&t.right>o.right-60&&l.scrollTo(l.scrollLeft+60+10,l.scrollTop)}null!==(t=e.target)&&void 0!==t&&t.select&&requestAnimationFrame(()=>{e.target.select()})},onChange:e=>f.editing.setCellValue(i,e),ref:x,table:d,tableRef:m,value:y,cell:i,error:h,tabIndex:C?0:-1,isActiveRow:C}));return n.createElement(n.Fragment,null,null!==z&&S&&!h?n.createElement(Td,{reason:z,columnName:String(i.column.columnDef.header),mountNode:S,validationErrors:[]}):null,n.createElement("div",{className:v?void 0:O,"data-align":b.align,"data-column-index":c,role:"cell","data-editable":!0,ref:E,"data-invalid":!!h,"data-highlighted":v},v?n.createElement(Ld,{current:p,className:O,frozenColumnIndex:f.columnFreezing.frozenColumnIndex,index:c,tableRef:m},L):L))}));function Nm(e){var t;const{column:l,row:a,table:r,index:o,getValue:i,cell:s}=e,{isHovered:c,hasError:u,rowIndex:d}=Id(),m=r.getRowModel().rows,g=r.options.meta,f=l.columnDef.meta,h=g.validation.errors?g.validation.errors[a.id]:null,v=u&&h&&!!h[l.id],p=g.rowActive.rowActiveIndex,w=void 0!==p&&(null===(t=m[p])||void 0===t?void 0:t.id)===a.id;let b=i();const E=r.getVisibleLeafColumns(),x=E.length>0?E.length-1:0,y=Fd(d,p,g.editing.rowMoveReason)?Dd(o,x):void 0;if(g.editing.isEditing){const e=g.editing.getCellValue(s);b=null!=e?e:b}const z=n.useMemo(()=>{var e;return!(!g.search.isHighlightingEnabled||!f.enableSearch)&&!(null===(e=g.search.query)||void 0===e||!e.length)&&function(e,t,n){return null!=t&&String($d(t,n)).toLocaleLowerCase().includes(e.toLocaleLowerCase())}(g.search.query,b,f.dataType)},[b,g.search.isHighlightingEnabled,g.search.excludeUnmatchedResults,g.search.query]),R=n.useMemo(()=>{if(!g.search.isHighlightingEnabled||!z||void 0===g.search.currentHighlightColumnIndex)return!1;const[e,t]=g.search.highlightedColumnIndexes[g.search.currentHighlightColumnIndex];return e===d&&t===o},[z,g.search.highlightedColumnIndexes.length,g.search.currentHighlightColumnIndex]),C={highlighted:z,highlightedAsCurrent:R};return g.editing.isEditing&&f.control&&(w||c&&!g.rowActive.isHoverStatePaused||v)?n.createElement(Cm,Object.assign({},e,C,{className:y})):n.createElement(Hd,Object.assign({},e,C,{value:b,className:y}))}function Am(e){const{texts:t}=dr();if(e.table.options.enableMultiRowSelection){const l=e.table.getIsAllRowsSelected(),a=e.table.getIsSomeRowsSelected(),r=l?t.table3.columns.select.deselectAll:t.table3.columns.select.selectAll;return n.createElement(Sd,Object.assign({},e),n.createElement(tr,{title:r},n.createElement(yr,{"aria-label":r,className:"hover:border-blue !mt-0",key:String(`${l}_${a}`),checked:l,indeterminate:a,onChange:e.table.toggleAllRowsSelected,tabIndex:-1})))}return n.createElement(Sd,Object.assign({},e))}const Om=n.memo((function(e){const{texts:t}=dr(),{rowIndex:a}=n.useContext(Od),r=e.table.options.meta,o=r.rowActive.rowActiveIndex===a,i=e.row.getIsSelected(),s=i?t.table3.columns.select.deselect:t.table3.columns.select.select;if(e.table.options.enableMultiRowSelection){const t=t=>{if(t.stopPropagation(),t.shiftKey){var n;const[t,i]=(l=null!==(n=r.rowSelection.lastSelectedRowIndex.current)&&void 0!==n?n:0,[(o=a)<l?o:l,o>l?o:l]);e.table.getRowModel().rows.slice(t,i+1).forEach(e=>e.toggleSelected(!0))}else e.row.toggleSelected();var l,o;r.rowSelection.lastSelectedRowIndex.current=a};return n.createElement(Hd,Object.assign({},e),n.createElement(tr,{title:n.createElement(n.Fragment,null,s,n.createElement(fi,{className:"ml-2",keys:"Space"}))},n.createElement(yr,{"aria-label":s,className:"!mt-0",checked:i,onClick:t,onChange:()=>!1,tabIndex:o?0:-1})))}{const t=l("!mt-0",xi()),o=t=>{t.stopPropagation(),e.row.toggleSelected(),r.rowSelection.lastSelectedRowIndex.current=a};return n.createElement(Hd,Object.assign({},e),n.createElement("button",{className:t,"aria-checked":i,onClick:o,role:"radio",tabIndex:-1,type:"button"},i?n.createElement("span",{className:"h-2 w-2 rounded-full bg-white"}):null))}}),(function(e,t){return t.table.options.meta.rowActive.rowActiveIndex===e.table.options.meta.rowActive.rowActiveIndex&&t.row.getIsSelected()!==e.row.getIsSelected()}));function Im(e){const{texts:t}=dr(),l=e.table.getIsSomeRowsExpanded(),a=l?t.table3.columns.expansion.collapseAll:t.table3.columns.expansion.expandAll;return n.createElement(Sd,Object.assign({},e),n.createElement(tr,{title:a},n.createElement(or,{appearance:"transparent",icon:l?"chevron-down-double":"chevron-right-double",onClick:t=>{t.stopPropagation(),e.table.toggleAllRowsExpanded(!l)},tabIndex:-1,title:a})))}const Lm=n.memo((function(e){const{expandedRowRenderer:t,isActiveRow:l,isExpanded:a,row:r,table:o}=e,{texts:i}=dr(),s=o.options.meta;let c;if(t(r.original)){const e=a?i.table3.columns.expansion.collapse:i.table3.columns.expansion.expand;c=n.createElement(tr,{title:e},n.createElement(or,{appearance:"discrete",className:"-mt-1.5",icon:a?"chevron-down":"chevron-right",onClick:e=>{e.stopPropagation(),r.toggleExpanded()},tabIndex:l&&!s.editing.isEditing?0:-1,title:e}))}return n.createElement(Hd,Object.assign({},e),c)}));function Hm(e){const{expandedRowRenderer:t,...l}=e,{rowIndex:a}=n.useContext(Od);return n.createElement(Lm,Object.assign({},l,{expandedRowRenderer:t,isActiveRow:l.table.options.meta.rowActive.rowActiveIndex===a,isExpanded:l.row.getIsExpanded()}))}const Mm=n.memo((function(e){const{isSelected:t,onRowDrag:l,row:a,table:r}=e,{texts:o}=dr(),i=r.options.meta;return n.createElement(Hd,Object.assign({},e),n.createElement("div",{draggable:!0,onDragStart:e=>{let n=[a];r.options.enableRowSelection&&(n=t?r.getSelectedRowModel().rows:[a,...r.getSelectedRowModel().rows]);const o=n.map(e=>e.original);i.rowDrag.setDragging(n.reduce((e,t)=>({...e,[t.id]:!0}),{})),e.dataTransfer.setData("text",JSON.stringify(o)),l(o,t=>{const n=document.createElement("div");n.id="taco_table_dragging",n.className="wcag-blue rounded flex w-48 p-4 absolute -ml-[100vw]",n.innerText=t,document.body.appendChild(n),e.dataTransfer.setDragImage(n,0,0)},t=>e.dataTransfer.setData("text",t))},onDragOver:e=>e.preventDefault(),onDragEnd:()=>{var e;null===(e=document.getElementById("taco_table_dragging"))||void 0===e||e.remove(),i.rowDrag.setDragging({})}},n.createElement(ya,{"aria-label":o.table3.columns.drag.tooltip,name:"drag",className:"text-grey-darkest invisible -mt-1 w-[20px] cursor-grab active:cursor-grabbing group-hover/row:visible group-[[aria-grabbed='true']]/row:text-white"})))}));function km(e){const{children:t,column:l,header:a,table:r,hasSeparator:o}=e,i=n.useMemo(()=>l.columnDef.meta,[]),s={align:"center",children:null!=t?t:i.header,colSpan:a.colSpan,hasSeparator:o,id:a.id,index:a.index,isPrinting:r.options.meta.printing.isPrinting,length:r.getRowModel().rows.length,meta:i,table:r};return n.createElement(Vm,Object.assign({},s))}const Vm=n.memo((function(e){var t;const{align:a,children:r,colSpan:o,hasSeparator:i,id:s,isPrinting:c,meta:u,table:d}=e,m=l("px-2 z-10 hover:z-20",{sticky:!c}),g=l("font-bold box-content group/column relative","px-[var(--table3-cell-padding-x)]",{"h-10 items-center":!c,"pb-2":c,"border-b-2":!!r},u.headerClassName);return d.options.debugAll&&console.log("header group render",s),n.createElement("div",{className:m,style:o>1?{gridColumn:`span ${o} / span ${o}`}:void 0,"data-taco":"table3-column-group","data-align":a,role:"columnheader"},n.createElement("div",{className:g},n.createElement(tr,{title:String(null!==(t=null==u?void 0:u.tooltip)&&void 0!==t?t:r),placement:"top"},n.createElement("span",{className:l({truncate:!c})},r)),i?n.createElement(Ad,null):null))}));function jm(e,t,n){let l=e?{...e}:{};return l&&l[t]&&(n?(delete l[t][n],0===Object.keys(l[t]).length&&delete l[t]):delete l[t]),0===Object.keys(l).length&&(l=null),l}var Tm;function Dm(e,t){var n,l;switch(t.type){case Tm.SET_CELL_ERROR:return{...e,draftErrors:{...e.draftErrors,[t.payload.rowId]:{...null===(n=e.draftErrors)||void 0===n?void 0:n[t.payload.rowId],[t.payload.cellId]:t.payload.error}}};case Tm.SET_ROW_ERROR:return{...e,draftErrors:{...e.draftErrors,[t.payload.rowId]:{...null===(l=e.draftErrors)||void 0===l?void 0:l[t.payload.rowId],...t.payload.errors}}};case Tm.CONFIRN_ERRORS:{const n={...e.draftErrors},l={...n[t.payload.rowId]};return delete n[t.payload.rowId],{draftErrors:n,errors:{...e.errors,[t.payload.rowId]:l}}}case Tm.RESET_ERRORS:{const n=jm(e.draftErrors,t.payload.rowId,t.payload.cellId);return{errors:jm(e.errors,t.payload.rowId,t.payload.cellId),draftErrors:n}}default:return e}}!function(e){e[e.SET_CELL_ERROR=0]="SET_CELL_ERROR",e[e.SET_ROW_ERROR=1]="SET_ROW_ERROR",e[e.CONFIRN_ERRORS=2]="CONFIRN_ERRORS",e[e.RESET_ERRORS=3]="RESET_ERRORS"}(Tm||(Tm={}));const Fm=n.memo((function(e){var t;const{data:l,renderer:a,registerSize:r}=e,o=n.useRef(null);n.useEffect(()=>{o.current&&r&&r(o.current.getBoundingClientRect().height)},[]);const i=null===(t=a(l))||void 0===t?void 0:t();return i?n.createElement("div",{className:"border-grey-300 bg-grey-50 col-span-full border-b p-4",ref:o},i):null})),Pm={short:33,medium:41,tall:49,"extra-tall":57};function Bm(e){const{loadPage:t,pageIndex:l,table:a}=e,{ref:r,inView:o}=A.useInView({threshold:0,triggerOnce:!0,initialInView:0===l});return n.useEffect(()=>{o&&t(l,a.getState().sorting,a.getState().columnFilters,a.getState().globalFilter)},[o]),n.createElement("div",{className:"border-grey-300 flex h-10 items-center border-b px-2",ref:r},n.createElement("span",{className:"bg-grey-100 text-grey-700 h-4 w-full text-center text-xs"}))}function _m(e){const{columns:t,...l}=e;return n.createElement("div",{className:"contents"},t.map(e=>n.createElement(Bm,Object.assign({key:e.id},l))))}function Gm(e,t,l,a,r,o){return()=>{if(t.length){var i,s,c,u;const d=r.virtualItems.length>0&&null!==(i=null===(s=r.virtualItems[0])||void 0===s?void 0:s.start)&&void 0!==i?i:0,m=r.virtualItems.length>0?r.totalSize-(null!==(c=null===(u=r.virtualItems[r.virtualItems.length-1])||void 0===u?void 0:u.end)&&void 0!==c?c:0):0,g=e=>t=>{o(n=>t!==n[e]?{...n,[e]:t}:n)};return n.createElement(n.Fragment,null,d?n.createElement("div",{style:{height:d},className:"col-span-full"}):null,r.virtualItems.map(r=>{const o=t[r.index];if(void 0===o.original&&e.pageSize){const t=Math.floor(r.index/e.pageSize)*e.pageSize/e.pageSize;return n.createElement(_m,{key:o.id,columns:l.getVisibleLeafColumns(),loadPage:e.loadPage,pageIndex:t,table:l})}return n.createElement(n.Fragment,{key:o.id},n.createElement(sm,{index:r.index,isLastRow:r.index===t.length-1,measureRef:r.measureRef,row:o,table:l,tableRef:a},o.getVisibleCells().map((e,t)=>n.createElement(n.Fragment,{key:e.id},z.flexRender(e.column.columnDef.cell,{...e.getContext(),index:t,tableRef:a})))),o.getIsExpanded()?n.createElement(Fm,{data:o.original,renderer:e.expandedRowRenderer,registerSize:g(r.index)}):null)}),m?n.createElement("div",{style:{height:m},className:"col-span-full"}):null)}return null}}var qm;function $m(e){const{scrollToIndex:t,table:l}=e,{texts:a}=dr(),r=n.useRef(null),o=l.options.meta,[i,s]=n.useState(o.search.query),[c,u]=n.useState(qm.Incomplete),[d,m]=n.useState(null),g=e=>t(e,{align:"center"});n.useEffect(()=>{var e;const t=function(e,t,n){const l=n.options.meta;let a;if(e&&t){const e=[],r=n.getVisibleLeafColumns();n.getRowModel().rows.forEach((n,l)=>{r.forEach((a,r)=>{try{var o;if(a.getIsVisible()&&null!==(o=a.columnDef.meta)&&void 0!==o&&o.enableSearch){var i,s;const o=$d(null===(i=n.original)||void 0===i?void 0:i[a.id],null===(s=a.columnDef.meta)||void 0===s?void 0:s.dataType);void 0!==o&&tm(o,t)&&e.push([l,r])}}catch(e){}})}),l.search.setHighlightedColumnIndexes(e),e.length?(a=e[0][0],l.search.setCurrentHighlightColumnIndex(0)):l.search.setCurrentHighlightColumnIndex(void 0)}else l.search.setHighlightedColumnIndexes([]),l.search.setCurrentHighlightColumnIndex(void 0);return void 0!==a&&l.rowActive.setRowActiveIndex(a),a}(o.search.isHighlightingEnabled,null===(e=r.current)||void 0===e?void 0:e.value,l);t&&g(t)},[o.search.query,o.search.excludeUnmatchedResults,l.getRowModel().rows.length,JSON.stringify(l.getState().sorting),JSON.stringify(l.getState().columnVisibility),c]),n.useEffect(()=>{o.search.query!==i&&s(o.search.query)},[o.search.query]),function(e,t,l=200){const a=n.useRef();n.useEffect(()=>(a.current=setTimeout(e,l),()=>{clearTimeout(a.current)}),t)}(()=>{o.search.setQuery(i),o.search.excludeUnmatchedResults&&(null!=i&&i.length?l.setGlobalFilter(i):l.resetGlobalFilter())},[i]);const f=()=>{var e,t;const n=null!==(e=o.search.currentHighlightColumnIndex)&&void 0!==e?e:0,a=null!==(t=o.search.highlightedColumnIndexes[n])&&void 0!==t?t:[],[r=null,i=null]=a,s=l.getRowModel().rows;if(o.search.setQuery(""),cm.value=String(i),null!==r){var c;const e=(null===(c=s[r])||void 0===c?void 0:c.id)||null;m(e)}},{globalFilter:h}=l.getState();n.useEffect(()=>{if(null!==d&&!h){const e=l.getRowModel().rows.findIndex(e=>e.id===d);o.search.setIsSearching(!1),o.rowActive.setRowActiveIndex(e),g(e),m(null)}},[d,h]);const v=n.createElement(mc,{label:a.table3.search.excludeUnmatchedResults,checked:o.search.excludeUnmatchedResults,onChange:e=>{var t,n;o.search.toggleExcludeUnmatchedResults(e),e&&null!==(t=r.current)&&void 0!==t&&t.value?l.setGlobalFilter(null===(n=r.current)||void 0===n?void 0:n.value):l.resetGlobalFilter(),requestAnimationFrame(()=>{var e;return null===(e=r.current)||void 0===e?void 0:e.focus()})}});return n.createElement(n.Fragment,null,n.createElement(dc,{findCurrent:void 0!==o.search.currentHighlightColumnIndex?o.search.currentHighlightColumnIndex+1:null,findTotal:o.search.highlightedColumnIndexes?o.search.highlightedColumnIndexes.length:null,loading:c===qm.Loading,onClickFindPrevious:()=>{if(!o.search.highlightedColumnIndexes.length)return;const e=void 0===o.search.currentHighlightColumnIndex?0:0===o.search.currentHighlightColumnIndex?o.search.highlightedColumnIndexes.length-1:o.search.currentHighlightColumnIndex-1;o.search.setCurrentHighlightColumnIndex(e),g(o.search.highlightedColumnIndexes[e][0])},onClickFindNext:()=>{if(!o.search.highlightedColumnIndexes.length)return;const e=void 0===o.search.currentHighlightColumnIndex||o.search.currentHighlightColumnIndex===o.search.highlightedColumnIndexes.length-1?0:o.search.currentHighlightColumnIndex+1;o.search.setCurrentHighlightColumnIndex(e),g(o.search.highlightedColumnIndexes[e][0])},onChange:e=>{s(String(null!=e?e:""))},onFocus:function(){try{o.search.setIsSearching(!0);const e=function(){if(o.server.loadAll&&c===qm.Incomplete)return u(qm.Loading),Promise.resolve(o.server.loadAll(l.getState().sorting,l.getState().columnFilters,void 0)).then((function(){u(qm.Completed)}))}();return Promise.resolve(e&&e.then?e.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},onBlur:()=>{o.search.setIsSearching(!1)},onKeyDown:e=>{"Escape"===e.key&&(f(),e.preventDefault())},onClear:f,placeholder:a.table3.search.placeholder,settingsContent:v,ref:r,shortcut:{key:"f",meta:!0,shift:!1},value:i}))}function Km(e){const{allColumns:t,filters:l,onChange:a,value:r=null,...o}=e,{texts:i}=dr(),s=t.find(e=>e.id===r),c=s&&!s.getIsVisible();return n.createElement("div",{className:"flex flex-col"},n.createElement(Qo,{message:c?i.table3.filters.hiddenColumn:void 0,warning:c,className:"min-h-[theme(spacing.8)]"},n.createElement(ru,Object.assign({},o,{className:"!w-32 flex-shrink-0",emptyValue:null,onChange:a,value:r}),t.map(e=>{var t,a,o;return n.createElement(ru.Option,{key:e.id,value:e.id,postfix:e.getIsVisible()?void 0:n.createElement(tr,{title:i.table3.filters.hiddenColumn},n.createElement(ya,{name:"eye-off",className:"text-grey-500 !h-5 !w-5"})),disabled:!(e.id===r||e.getCanFilter()&&!l.find(t=>t.id===e.id))},(null===(t=e.columnDef.meta)||void 0===t?void 0:t.header)+(e.parent?` (${null===(a=e.parent)||void 0===a||null===(o=a.columnDef.meta)||void 0===o?void 0:o.header})`:""))}))))}function Um(e){const{column:t,onChange:l,value:a,...r}=e,{texts:o}=dr(),i=function(e){var t;const l=null!==(t=null==e?void 0:e.columnDef.meta)&&void 0!==t?t:{};if(Array.isArray(l.filters))return l.filters;if("function"==typeof l.control){const e=l.control({onBlur:()=>{},onFocus:()=>{},setValue:()=>{},value:void 0,disabled:!1,readOnly:!1,ref:void 0});if(n.isValidElement(e)){const{props:t,type:n}=e;if("Select2"===n.displayName)return t.multiple?[Qd.HasAnyOf,Qd.HasAllOf,Qd.IsEqualTo,Qd.HasNoneOf,Qd.IsEmpty,Qd.IsNotEmpty]:[Qd.IsEqualTo,Qd.IsNotEqualTo,Qd.IsEmpty,Qd.IsNotEmpty]}}return"number"===l.dataType?[Qd.IsEqualTo,Qd.IsNotEqualTo,Qd.IsGreaterThan,Qd.IsLessThan,Qd.IsBetween,Qd.IsEmpty,Qd.IsNotEmpty]:"datepicker"===l.control||"datetime"===l.dataType?[Qd.IsEqualTo,Qd.IsNotEqualTo,Qd.IsBetween,Qd.IsLessThan,Qd.IsGreaterThan,Qd.IsEmpty,Qd.IsNotEmpty,Qd.IsLessThanOrEqualTo,Qd.IsGreaterThanOrEqualTo]:"switch"===l.control?[Qd.IsEqualTo]:[Qd.Contains,Qd.DoesNotContain,Qd.IsEqualTo,Qd.IsNotEqualTo,Qd.IsEmpty,Qd.IsNotEmpty]}(t);return n.useEffect(()=>{void 0!==a&&i.includes(a)||null==l||l(i[0])},[i]),n.createElement(ru,Object.assign({},r,{className:"!w-32 flex-shrink-0",disabled:!t,onChange:l,value:a}),i.map(e=>n.createElement(ru.Option,{key:e,value:e},function(e,t,n){var l,a;const r="datepicker"===(null==n||null===(l=n.columnDef)||void 0===l||null===(a=l.meta)||void 0===a?void 0:a.control);switch(e){case Qd.Contains:return t.table3.filters.comparators.contains;case Qd.DoesNotContain:return t.table3.filters.comparators.doesNotContain;case Qd.IsEqualTo:return t.table3.filters.comparators.isEqualTo;case Qd.IsNotEqualTo:return t.table3.filters.comparators.isNotEqualTo;case Qd.IsGreaterThan:return r?t.table3.filters.comparators.isAfter:t.table3.filters.comparators.isGreaterThan;case Qd.IsLessThan:return r?t.table3.filters.comparators.isBefore:t.table3.filters.comparators.isLessThan;case Qd.IsBetween:return t.table3.filters.comparators.isBetween;case Qd.IsEmpty:return t.table3.filters.comparators.isEmpty;case Qd.IsNotEmpty:return t.table3.filters.comparators.isNotEmpty;case Qd.IsLessThanOrEqualTo:return r?t.table3.filters.comparators.isOnOrBefore:t.table3.filters.comparators.isLessThanOrEqualTo;case Qd.IsGreaterThanOrEqualTo:return r?t.table3.filters.comparators.isOnOrAfter:t.table3.filters.comparators.isGreaterThanOrEqualTo;case Qd.HasAnyOf:return t.table3.filters.comparators.hasAnyOf;case Qd.HasAllOf:return t.table3.filters.comparators.hasAllOf;case Qd.HasNoneOf:return t.table3.filters.comparators.hasNoneOf;default:return""}}(e,o,t))))}function Wm(e){const{allColumns:t,filters:l,onCreate:a,onRemove:r,position:o}=e,{texts:i}=dr();return n.createElement("div",{className:"flex items-start gap-2"},n.createElement("div",{className:"flex min-h-[theme(spacing.8)] w-14 flex-shrink-0 items-center justify-end pr-2 text-right"},o>0?i.table3.filters.conditions.and:i.table3.filters.conditions.where),n.createElement(Km,{allColumns:t,filters:l,onChange:a,value:null}),n.createElement(Um,null),n.createElement(Ir,{"aria-label":i.table3.filters.emptyFilter.value,className:"flex-grow",disabled:!0,value:i.table3.filters.emptyFilter.value}),r?n.createElement(or,{appearance:"discrete",icon:"close",onClick:r}):null)}function Jm(e){const{column:t,comparator:l,onChange:a,value:r}=e,{texts:o}=dr();if(l===Qd.IsEmpty||l===Qd.IsNotEmpty)return null;if(l===Qd.IsBetween){var i;const e=Array.isArray(r)?r[0]:void 0,l=Array.isArray(r)?r[1]:void 0;return void 0===t?n.createElement(Ir,{"aria-label":o.table3.filters.emptyFilter.value,className:"flex-grow",disabled:!0,value:o.table3.filters.emptyFilter.value}):"datetime"===(null===(i=t.columnDef.meta)||void 0===i?void 0:i.dataType)?n.createElement("div",{className:"flex flex-grow items-center gap-2"},n.createElement(Ym,{column:t,onChange:e=>a([e,l]),value:e}),n.createElement(Ym,{column:t,onChange:t=>a([e,t]),value:l})):n.createElement("div",{className:"flex flex-grow items-center gap-2"},n.createElement(Ym,{column:t,onChange:e=>a([isNaN(e)?void 0:e,l]),placeholder:"from",value:null!=e?e:""}),n.createElement(Ym,{column:t,onChange:t=>a([e,isNaN(t)?void 0:t]),placeholder:"to",value:null!=l?l:""}))}return n.createElement(Ym,{column:t,onChange:a,value:r})}function Ym(e){var a,r;const{column:o,onChange:i,value:s,...c}=e,u=null==o||null===(a=o.columnDef.meta)||void 0===a?void 0:a.control,d=null==o||null===(r=o.columnDef.meta)||void 0===r?void 0:r.dataType;return t.useEffect(()=>{"switch"===u&&i(!1)},[]),"function"==typeof u?u({...c,setValue:e=>i(e),value:s}):"datepicker"===u||"datetime"===d?n.createElement(go,Object.assign({},c,{onChange:e=>i(e.detail),value:s})):"switch"===u?n.createElement(mc,Object.assign({},c,{className:"m-1.5",checked:Boolean(s),onChange:i})):n.createElement(Ir,"input"!==u&&void 0!==u||"number"!==d?Object.assign({disabled:!o},c,{className:"flex-grow",onChange:e=>i(e.target.value),value:String(null!=s?s:"")}):Object.assign({},c,{className:l(Wd(),"flex-grow"),type:"number",onChange:e=>i(e.target.valueAsNumber),value:String(null!=s?s:"")}))}function Qm(e){const{allColumns:t,filter:l,filters:a,onChange:r,onRemove:o,position:i}=e,{texts:s}=dr(),c=t.find(e=>e.id===l.id),{id:u,value:{comparator:d,value:m}}=l;return n.createElement("div",{className:"flex items-start gap-2"},n.createElement("div",{className:"flex min-h-[theme(spacing.8)] w-14 flex-shrink-0 items-center justify-end pr-2 text-right"},i>0?s.table3.filters.conditions.and:s.table3.filters.conditions.where),n.createElement(Km,{allColumns:t,filters:a,onChange:e=>{var n,a;const o=t.find(e=>e.id===u),i=t.find(t=>t.id===e),s=(null==o||null===(n=o.columnDef.meta)||void 0===n?void 0:n.dataType)===(null==i||null===(a=i.columnDef.meta)||void 0===a?void 0:a.dataType)?l.value:{comparator:null,value:null};r(u,{id:e,value:s})},value:u}),n.createElement(Um,{column:c,onChange:e=>{let t=l.value.value;e!==Qd.IsEmpty&&e!==Qd.IsNotEmpty||(t=void 0),r(u,{id:u,value:{comparator:e,value:t}})},value:d}),n.createElement(Jm,{column:c,comparator:d,onChange:e=>{r(u,{id:u,value:{...l.value,value:e}})},value:m}),n.createElement(or,{appearance:"discrete",className:"ml-auto",icon:"close",onClick:()=>o(u)}))}function Xm(e,t){var n,l,a,r;return null===(n=e.columnDef.meta)||void 0===n||null===(l=n.header)||void 0===l||null===(a=l.localeCompare)||void 0===a?void 0:a.call(l,null===(r=t.columnDef.meta)||void 0===r?void 0:r.header)}function Zm(e){const{total:t,table:a}=e,{locale:r,texts:o}=dr(),i=n.useRef(null),s=uu(),c=a.getAllLeafColumns().filter(e=>!_d(e.id)).sort(Xm),u=a.getState().columnFilters,[d,m]=n.useState(u),[g,f]=n.useState(1),h=(e,t)=>{m(n=>{const l=[...n],a=l.findIndex(t=>t.id===e);return l[a]=t,l})},v=e=>{1===d.length&&0===g&&f(e=>e+1),m(t=>t.filter(t=>t.id!==e))},p=e=>{m(t=>[...t,{id:e,value:{comparator:Qd.Contains,value:void 0}}]),b()},w=()=>{f(e=>e+1)},b=()=>{f(e=>e-1)},E=()=>{a.setColumnFilters(()=>d.filter(e=>{var t,n;if(null===e.id)return!1;const l=null===(t=c.find(t=>t.id===e.id))||void 0===t||null===(n=t.columnDef.meta)||void 0===n?void 0:n.control;return e.value.comparator===Qd.IsEmpty||e.value.comparator===Qd.IsNotEmpty||"switch"===l||!!e.value.value}))},x=()=>{a.resetColumnFilters(),m([]),f(1)},y=n.useCallback(e=>{e||(m(u),f(0===u.length?1:0))},[u]);n.useEffect(()=>{0===u.length&&(m([]),f(1))},[u]);const z={"aria-label":o.table3.filters.tooltip,className:l({"!wcag-blue-100":u.length}),shortcut:{key:"f",meta:!0,shift:!0},popover:e=>n.createElement(mo,Object.assign({},e,{onChange:y}),n.createElement(mo.Content,null,n.createElement("div",{className:"flex w-[40rem] flex-col gap-4"},n.createElement("div",{className:"flex h-8"},n.createElement("div",{className:"flex w-full items-center gap-2"},n.createElement("h4",{className:"mb-0 inline-flex"},o.table3.filters.button),n.createElement("p",{className:"text-grey-700 mb-0 mr-auto mt-px inline-flex"},o.table3.filters.total.replace("[CURRENT]",new Intl.NumberFormat(r).format(a.getFilteredRowModel().rows.length)).replace("[TOTAL]",new Intl.NumberFormat(r).format(t))))),n.createElement("div",{className:"flex flex-col gap-2"},d.map((e,t)=>n.createElement(Qm,{key:"filter_"+t,allColumns:c,filter:e,filters:d,position:t,onChange:h,onRemove:v})),[...Array(g)].map((e,t)=>n.createElement(Wm,{key:"placeholder_"+t,allColumns:c,filters:d,position:d.length+t,onCreate:p,onRemove:g>1||d.length>0?b:void 0})),n.createElement("div",{className:"justify-start"},n.createElement(fr,{appearance:"discrete",onClick:w},"+ ",o.table3.filters.buttons.addFilter))),n.createElement(So,{className:"ml-auto"},n.createElement(mo.Close,null,n.createElement(fr,null,"Cancel")),n.createElement(fr,{onClick:x},"Clear"),n.createElement(fr,{appearance:"primary",onClick:E},"Apply"))))),ref:i,tooltip:n.createElement(n.Fragment,null,o.table3.filters.tooltip,n.createElement(fi,{className:"ml-2",keys:{key:"f",meta:!0,shift:!0}}))};return s||u.length?n.createElement(fr,Object.assign({},z),n.createElement(ya,{className:l({"-mr-1.5":!s}),name:u.length?"filter-solid":"filter"}),s?o.table3.filters.button:"",u.length?`(${u.length})`:""):n.createElement(or,Object.assign({},z,{icon:"filter"}))}function eg(e){const{texts:t}=dr(),l=e.table.options.meta;return n.createElement(tr,{title:n.createElement(n.Fragment,null,t.table3.editing.buttons.edit.tooltip,n.createElement(fi,{className:"ml-2",keys:{key:"e",meta:!0,shift:!1}}))},n.createElement(Mi,{"aria-pressed":l.editing.isEditing,checked:l.editing.isEditing,onChange:l.editing.toggleEditing}))}function tg({onAfterPrint:e,onBeforePrint:t,tableProps:l}){const[a,r]=n.useState(null),[o,i]=n.useState(null),s=n.useMemo(()=>navigator.userAgent.toLowerCase().includes("firefox"),[]),c=n.useMemo(()=>navigator.userAgent.toLowerCase().includes("safari")&&!navigator.userAgent.toLowerCase().includes("chrome"),[]),u=null==a?void 0:a.contentWindow,d=function(e){const[t,l]=n.useState(!1);return n.useEffect(()=>{if(!e)return;const t=e.parent.document,n=e.document,a=n.createElement("style");a&&(a.innerHTML='\n@page {\n margin: 16px;\n}\n\n@media print {\n html, body, #root {\n // hides horizontal scrollbar\n overflow-x: none !important;\n overflow-y: auto !important;\n height: auto !important;\n width: auto !important;\n }\n\n #root {\n /* chrome sometimes crops the bottom content of page and this padding will make sure that we see the whole content*/\n padding-bottom: 20px;\n }\n\n [role="table"] {\n border-width: 0 !important;\n overflow-y: hidden !important;\n }\n\n // all column headers except column group column header\n [role="table"] [role="columnheader"]:not([data-taco=\'table3-column-group\']) {\n border-bottom-width: 1px !important;\n }\n\n /*\n * Summary row cells\n */\n [role="table"] [role="rowgroup"]:last-child [role="cell"] {\n border-width: 0 !important;\n }\n\n [role="table"] a {\n color: rgb(28 28 28);\n }\n\n [data-taco="alert"],\n [data-taco="banner"],\n [data-taco="hanger"],\n [data-taco="toast"],\n [data-taco="table3-toolbar"],\n [data-taco="tooltip"],\n /*\n * Tour components\n */\n [id^="react-joyride"]\n {\n display: none !important;\n }\n}\n',n.head.appendChild(a));const r=Array.from(t.querySelectorAll('style:not([data-taco="table3-column-freezing-styles"])')),o=Array.from(t.querySelectorAll('[rel="stylesheet"]'));r.forEach(e=>{const t=n.createElement("style");t.innerHTML=e.innerHTML,n.head.appendChild(t)}),o.forEach(e=>{var t;const l=n.createElement("link");l.setAttribute("rel","stylesheet"),l.setAttribute("href",null!==(t=e.getAttribute("href"))&&void 0!==t?t:""),n.head.appendChild(l)}),l(!0)},[e]),t}(u);n.useEffect(()=>{let n,l;return o&&d&&(n=setInterval((function(){try{const i=o,c=i.querySelector('[role="table"]');var r;return c&&n&&(clearInterval(n),null==t||t(),s&&(i.style.height=c.offsetHeight+"px"),null==a||null===(r=a.contentWindow)||void 0===r||r.print(),l=setTimeout(()=>{null==e||e()},0)),Promise.resolve()}catch(e){return Promise.reject(e)}}),1e3)),()=>{clearInterval(n),clearTimeout(l)}},[o,d]),n.useEffect(()=>{var e,t;if(!a||!u||!d)return;const n=null!==(e=null==a?void 0:a.closest("[role=dialog], [data-taco=drawer], main"))&&void 0!==e?e:u.parent.document.body,l=u.document;l.body.innerHTML=null!==(t=null==n?void 0:n.innerHTML)&&void 0!==t?t:"";const r=l.querySelector('[role="table"]'),o=l.querySelector('[data-taco="table3-column-freezing-styles"]'),m=l.createElement("div");var g;m.setAttribute("data-role","table-wrapper"),m.classList.add("h-fit"),m.classList.add('[&>[role="table"]]:!h-fit'),s&&m.classList.add('[&>[role="table"]]:!absolute'),m.classList.add(c?"w-full":"w-screen"),r?(null===(g=r.parentNode)||void 0===g||g.insertBefore(m,r),r.remove()):l.body.append(m),o&&o.remove();let f=m.parentNode;for(;null!==f&&f!==l.body;){var h;null===(h=f)||void 0===h||h.classList.add("!h-fit"),f=f.parentNode}i(m)},[u,d]);const m={...l,actionsForRow:void 0,defaultCurrentRowIndex:-1,defaultSettings:{...null==l?void 0:l.defaultSettings,rowHeight:"short"},enableColumnFreezing:!1,enableRowHeight:!0,enableRowSelection:!1,enableEditing:!1,enablePrinting:!1,enableRowDrag:!1,enableRowDrop:!1,enableRowSelectionSingle:!1,preset:void 0,onChangeSettings:()=>{}};return n.createElement("iframe",{className:"fixed -left-[6000px] -top-[6000px] -z-50 !h-0 !w-0",ref:r,src:"javascript:void(0);"},o&&d?T.createPortal(n.createElement(wg,Object.assign({},m)),o):null)}!function(e){e[e.Incomplete=0]="Incomplete",e[e.Loading=1]="Loading",e[e.Completed=2]="Completed"}(qm||(qm={}));const ng=({onAccept:e,onCancel:t,onClose:l,onVisibilityChange:a,...r})=>{const[o,i]=n.useState(!1),{texts:s}=dr(),c=()=>{l(),null==a||a(!o)};return n.createElement(Co,Object.assign({},r,{closeOnEscape:!0,onClose:c,showCloseButton:!1,size:"xs"}),n.createElement(Co.Content,{"aria-label":s.table3.print.warningDialog.title},n.createElement(Co.Title,{className:"text-center"},n.createElement(za,{icon:"warning",color:"yellow",className:"mr-2"}),s.table3.print.warningDialog.title),n.createElement("p",null,s.table3.print.warningDialog.description),n.createElement(Co.Footer,{className:"flex items-center justify-between"},n.createElement(yr,{label:s.table3.print.warningDialog.checkboxVisibilityLabel,checked:o,onChange:i}),n.createElement(So,null,n.createElement(fr,{onClick:()=>{c(),t()}},s.table3.print.warningDialog.cancelButtonText),n.createElement(fr,{appearance:"primary",autoFocus:!0,onClick:()=>{c(),e()}},s.table3.print.warningDialog.printButtonText)))))};function lg(e){const{table:t,tableProps:l}=e,{texts:a}=dr(),r=es(),[o,i]=n.useState(!1),[s,c]=n.useState(!1),u=n.useRef(null),d=n.useRef(null),m=t.options.meta,g=t.getState(),{isWarningVisibleForLargeDatasets:f}=m.printing,h=l.id+"_print",v=m.search.excludeUnmatchedResults,p=n.useMemo(()=>({columnFreezingIndex:m.columnFreezing.frozenColumnIndex,columnOrder:g.columnOrder,columnSizing:g.columnSizing,columnVisibility:g.columnVisibility,excludeUnmatchedRecordsInSearch:v,fontSize:m.fontSize.size,rowHeight:m.rowHeight.height,sorting:g.sorting,columnFilters:g.columnFilters,globalFilter:g.globalFilter}),[m.columnFreezing.frozenColumnIndex,g.columnOrder,g.columnSizing,g.columnVisibility,v,m.fontSize.size,m.rowHeight.height,g.sorting,g.columnFilters,g.globalFilter]),w=n.useMemo(()=>n.Children.toArray(l.children).filter(e=>{var t;const l=null===(t=e.props)||void 0===t?void 0:t.enablePrinting;return!n.isValidElement(e)||!1!==l}),[l.children]),b={...l,children:w,defaultSettings:p,id:h},E=e=>{var t;const n=`${a.table3.print.error}: ${e}`;console.error(n),null===(t=u.current)||void 0===t||t.error(n)},x=function(){try{const e=Os((function(){var e,n;return Promise.resolve(null===(e=(n=m.server).loadAll)||void 0===e?void 0:e.call(n,t.getState().sorting,t.getState().columnFilters,void 0)).then((function(){}))}),(function(e){E(e)}));return Promise.resolve(e&&e.then?e.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},y={key:"p",meta:!0,shift:!1};return n.createElement(n.Fragment,null,n.createElement(or,{disabled:o,icon:"print",onClick:function(){try{let n=!1;function e(e){if(n)return e;s&&f?c(!0):i(!0)}u.current=r.loading(a.table3.print.loading);const o=e=>e.length?e.length*Object.keys(e[0]).length:0;let s=!1;const d=function(){if(m.server.loadAll){const e=Os((function(){return Promise.resolve(m.server.loadAll(t.getState().sorting,t.getState().columnFilters,v?m.search.query:void 0)).then((function(){const{data:e}=l,t=o(e);s=t>1e4}))}),(function(e){E(e),n=!0}));if(e&&e.then)return e.then((function(){}))}else{const{data:e}=l,t=o(e);s=t>1e4}}();return Promise.resolve(d&&d.then?d.then(e):e(d))}catch(e){return Promise.reject(e)}},"aria-label":a.table3.print.tooltip,tooltip:n.createElement(n.Fragment,null,a.table3.print.tooltip,n.createElement(fi,{className:"ml-2",keys:y})),ref:d,shortcut:y}),o&&null!==b.data&&n.createElement(tg,{onAfterPrint:function(){try{function e(){var e;i(!1),null===(e=u.current)||void 0===e||e.close()}const t=function(){if(m.server.loadAll&&v)return Promise.resolve(x()).then((function(){}))}();return Promise.resolve(t&&t.then?t.then(e):e())}catch(e){return Promise.reject(e)}},onBeforePrint:()=>{var e;null===(e=u.current)||void 0===e||e.close()},tableProps:b}),n.createElement(ng,{open:s,onAccept:()=>{i(!0)},onClose:()=>{var e;null===(e=u.current)||void 0===e||e.close(),c(!1)},onCancel:function(){try{const e=function(){if(m.server.loadAll&&v)return Promise.resolve(x()).then((function(){}))}();return Promise.resolve(e&&e.then?e.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},onVisibilityChange:m.printing.setIsWarningVisibleForLargeDatasets}))}function ag(e){const{texts:t}=dr(),l=e.table.options.meta;return n.createElement(Hi.SubMenu,null,n.createElement(Hi.RadioGroup,{onChange:e=>{const t=e;l.rowHeight.setHeight(t),"short"===t&&l.fontSize.size===exports.FontSizes.large&&l.fontSize.setSize(exports.FontSizes.medium)},value:l.rowHeight.height},n.createElement(Hi.RadioGroup.Item,{value:"short"},t.table3.rowHeight.sizes.short),n.createElement(Hi.RadioGroup.Item,{value:"medium"},t.table3.rowHeight.sizes.medium),n.createElement(Hi.RadioGroup.Item,{value:"tall"},t.table3.rowHeight.sizes.tall),n.createElement(Hi.RadioGroup.Item,{value:"extra-tall"},t.table3.rowHeight.sizes.extraTall)))}const rg=n.forwardRef((function(e,t){var a,r,o;const{column:i,draggable:s=!1,...c}=e,u=i.getCanHide(),d=l("group/column flex items-center gap-x-2 rounded py-1 px-2",{"hover:bg-grey-200":u||s,"hover:cursor-pointer":u,"active:cursor-move active:bg-grey-300":s}),m=s?c:void 0,g=i.getIsVisible(),f=i.parent?null===(a=i.parent)||void 0===a||null===(r=a.columnDef.meta)||void 0===r?void 0:r.header:null;return n.createElement("div",Object.assign({},m,{key:i.id,className:d,onClick:()=>i.toggleVisibility(!g),ref:t}),s?n.createElement(ya,{name:"drag",className:"text-grey-500 group-hover/column:text-grey-700 -mx-2 !h-5"}):null,n.createElement("span",{className:"flex-grow truncate"},null===(o=i.columnDef.meta)||void 0===o?void 0:o.header,f?n.createElement("span",{className:"italic"}," (",f,")"):null),u?n.createElement(yr,{checked:g,onChange:()=>i.toggleVisibility(!g)}):null)}));function og(e){const{table:t,trigger:l,...a}=e,{texts:r}=dr(),[o,i]=n.useState(""),s=t.getAllLeafColumns(),c=t.options.meta,u=n.useMemo(()=>s.filter(e=>!_d(e.id)).filter(e=>{var t,n,l;return null==o||!o.length||(null===(t=e.columnDef.meta)||void 0===t?void 0:t.header.toLowerCase().includes(o.toLowerCase()))||(null===(n=e.parent)||void 0===n||null===(l=n.columnDef.meta)||void 0===l?void 0:l.header.toLowerCase().includes(o.toLowerCase()))}),[s,o]),d="flex max-h-64 flex-col gap-y-px overflow-auto";return n.createElement(mo,Object.assign({},a,{anchor:l}),n.createElement(mo.Content,null,n.createElement("div",{className:"flex max-w-sm flex-col gap-2"},t.options.enableHiding?n.createElement(Ir,{onChange:e=>i(e.target.value),placeholder:r.table3.columnSettings.search,value:o}):null,!c.columnOrdering.isEnabled||!u.length||null!=o&&o.length?n.createElement("div",{className:d},u.length?u.map(e=>n.createElement(rg,{column:e,key:e.id})):r.table3.columnSettings.noResults):n.createElement(hc,{reorder:(e,n)=>{u.find(e=>{var t;return e.id===n&&!1===(null===(t=e.columnDef.meta)||void 0===t?void 0:t.enableOrdering)})||t.setColumnOrder(t=>is(s,C.arrayMove(t,t.findIndex(t=>t===e),t.findIndex(e=>e===n)),["__actions","__editing_actions"]))}},n.createElement(pc,{id:"columns",className:d},u.map(e=>{var t,l;return n.createElement(vc,{key:e.id,id:e.id,disabled:!(null!==(t=e.columnDef.meta)&&void 0!==t&&t.enableOrdering),asChild:!0},n.createElement(rg,{column:e,draggable:null===(l=e.columnDef.meta)||void 0===l?void 0:l.enableOrdering}))}))))))}function ig(e){const{texts:t}=dr(),l=e.table.options.meta;return n.createElement(Hi.SubMenu,null,n.createElement(Hi.RadioGroup,{onChange:e=>l.fontSize.setSize(e),value:l.fontSize.size},n.createElement(Hi.RadioGroup.Item,{value:exports.FontSizes.small},t.table3.fontSize.sizes.small),n.createElement(Hi.RadioGroup.Item,{value:exports.FontSizes.medium},t.table3.fontSize.sizes.medium),n.createElement(Hi.RadioGroup.Item,{disabled:"short"===l.rowHeight.height,value:exports.FontSizes.large},t.table3.fontSize.sizes.large)))}function sg(e){const{customSettings:t,table:l}=e,{texts:a}=dr(),[r,o]=n.useState(void 0),i=l.options.meta,s=l.options.enableHiding||i.columnOrdering.isEnabled;let c;if(r){const e=()=>o(void 0);switch(r){case"columnSettings":s&&(c=t=>n.createElement(og,Object.assign({},t,{open:!0,onChange:e,table:l})))}}return n.createElement(or,{"aria-label":a.table3.otherOptions.tooltip,icon:"sliders",menu:c?void 0:e=>n.createElement(Hi,Object.assign({},e),n.createElement(Hi.Content,{align:"end"},l.options.enableHiding||i.columnOrdering.isEnabled?n.createElement(Hi.Item,{icon:"columns",onClick:()=>o("columnSettings")},a.table3.columnSettings.button):null,i.rowHeight.isEnabled||i.fontSize.isEnabled?n.createElement(Hi.Separator,null):null,i.rowHeight.isEnabled?n.createElement(Hi.Item,{icon:"height-"+i.rowHeight.height,subMenu:()=>n.createElement(ag,{table:l})},a.table3.rowHeight.tooltip):null,i.fontSize.isEnabled?n.createElement(Hi.Item,{icon:"font-size",subMenu:()=>n.createElement(ig,{table:l})},a.table3.fontSize.tooltip):null,t?n.createElement(n.Fragment,null,n.createElement(Hi.Separator,null),t.map(e=>e(i.getSettings()))):null)),popover:c,onClickCapture:e=>e.preventDefault(),tooltip:a.table3.otherOptions.tooltip})}function cg(e){const{customSettings:t,left:l,right:a,scrollToIndex:r,table:o,tableProps:i,total:s}=e;if(!function(e){const{left:t,right:n,table:l}=e,a=l.options.meta;return l.options.enableHiding||a.columnOrdering.isEnabled||a.editing.isEnabled||a.printing.isEnabled||l.options.enableColumnFilters||a.fontSize.isEnabled||a.rowHeight.isEnabled||a.search.isEnabled||!!t||!!n}(e))return null;const c=o.options.meta;return n.createElement("div",{className:"mb-4 flex flex-shrink flex-grow-0 flex-wrap gap-2 empty:hidden","data-taco":"table3-toolbar"},l,n.createElement(So,{className:"ml-auto flex-shrink-0 print:hidden"},c.editing.isEnabled?n.createElement(eg,{table:o}):null,o.options.enableColumnFilters?n.createElement(Zm,{table:o,total:s}):null,a,c.printing.isEnabled?n.createElement(lg,{table:o,tableProps:i}):null,function(e){const{table:t}=e,n=t.options.meta;return n.fontSize.isEnabled||n.rowHeight.isEnabled||n.columnOrdering.isEnabled}(e)?n.createElement(sg,{table:o,customSettings:t}):null,c.search.isEnabled?n.createElement($m,{scrollToIndex:r,table:o}):null))}function ug(e){var t;const{currentLength:l,length:a,table:r}=e,o=r.options.meta,{locale:i,texts:s}=dr();let c,u;const d=r.getIsAllRowsSelected()?a:r.getSelectedRowModel().rows.length;return d>0?(c=s.table3.footer.summary.selected,u=n.createElement(n.Fragment,null,n.createElement("strong",null,new Intl.NumberFormat(i).format(d))," ",s.table3.footer.summary.count," ",n.createElement("strong",null,new Intl.NumberFormat(i).format(a)))):null!==(t=r.getState().columnFilters)&&void 0!==t&&t.length||r.getState().globalFilter&&o.search.excludeUnmatchedResults?(c=s.table3.footer.summary.records,u=n.createElement(n.Fragment,null,n.createElement("strong",null,l)," ",s.table3.footer.summary.count," ",n.createElement("strong",null,new Intl.NumberFormat(i).format(a)))):(c=s.table3.footer.summary.records,u=n.createElement("strong",null,new Intl.NumberFormat(i).format(a))),n.createElement("div",{className:"sticky bottom-0 left-0 z-40 -mt-10 flex h-10 w-fit items-center whitespace-nowrap bg-white px-4 !pr-3 shadow-[6px_0px_6px_theme(colors.white)]","data-taco":"table2-footer-summary"},c," ",u)}const dg=(e,t)=>{switch(e){case"short":switch(t){case exports.FontSizes.small:return"8px";default:return"6px"}case"tall":switch(t){case exports.FontSizes.small:return"16px";case exports.FontSizes.large:return"12px";default:return"14px"}case"extra-tall":switch(t){case exports.FontSizes.small:return"22px";case exports.FontSizes.large:return"18px";default:return"20px"}default:switch(t){case exports.FontSizes.small:return"12px";case exports.FontSizes.large:return"8px";default:return"10px"}}},mg=e=>{switch(e){case exports.FontSizes.small:return"8px";case exports.FontSizes.medium:return"12px";default:return"16px"}};function gg(e){var l;const{table:a,tableRef:r,scrollToIndex:o,rowIdentifier:i}=e,s=a.options.meta,c=s.validation.errors,u=c?Object.keys(c):[],d=a.getRowModel().rows,m=a.getCoreRowModel().rows,{texts:g}=dr(),[f,h]=n.useState(!1),[v,p]=n.useState(null),[w,b]=n.useState(null),[E,x]=n.useState(!1),y=a.getAllFlatColumns().find(e=>e.id===i),z=null==y||null===(l=y.columnDef.meta)||void 0===l?void 0:l.header,R=e=>{s.rowActive.setRowActiveIndex(e),o(e,{align:"center"}),cm.value=void 0,requestAnimationFrame(()=>{(()=>{var e;const t=null===(e=r.current)||void 0===e?void 0:e.querySelector('[role="row"][data-current="true"] [role="cell"][data-invalid="true"]'),n=null==t?void 0:t.querySelector(lm);n&&(null==n||n.focus(),cm.value=null==t?void 0:t.getAttribute("data-column-index"))})()})};n.useEffect(()=>{null!==w&&w>=0&&R(w)},[w]),n.useEffect(()=>{if(E){const e=d.findIndex(e=>e.id===v);if(-1===e)return;b(e)}},[E]);const C=n.useCallback(e=>{const t=d.findIndex(t=>t.id===e);if(-1===t)return x(!1),h(!0),void p(e);t===w?R(t):b(t)},[d,w]),S=n.useCallback(e=>m.find(t=>t.id===e),[m]);return n.createElement("div",{className:"mb-4 empty:hidden"},u.length?n.createElement(Ca,{state:"error",className:"mb-1"},n.createElement(n.Fragment,null,n.createElement("b",null,u.length," ",g.table3.validation.alert.unsavedEntries(u.length))," "),z||g.table3.validation.index," ",u.map((e,l)=>{const a=S(e);return n.createElement(t.Fragment,{key:""+e},n.createElement(fr,{className:"!min-h-[theme(spacing.2)] !min-w-[theme(spacing.2)] !px-1",appearance:"discrete",onClick:()=>{C(e)}},i?null==a?void 0:a.original[i]:null==a?void 0:a.index),n.createElement("span",null,l<u.length-1?",":""))}),g.table3.validation.alert.incompleteAndHavntBeenSaved(u.length)):null,n.createElement(fg,{open:f,onClose:()=>{h(!1)},onConfirm:()=>{x(!0)},table:a}))}function fg(e){const{open:t,onClose:l,onConfirm:a,table:r}=e,o=r.options.meta,{texts:i}=dr(),s=n.useCallback(()=>{o.search.setQuery(""),r.resetGlobalFilter(),r.resetColumnFilters()},[r,o.search]);return n.createElement(Co,{open:t,onClose:l,size:"xs"},n.createElement(Co.Content,{"aria-label":"Create a new account"},n.createElement(Co.Title,null,i.table3.validation.resetFiltersDialog.title),n.createElement("p",null,i.table3.validation.resetFiltersDialog.description),n.createElement(Co.Footer,null,n.createElement(So,null,n.createElement(Co.Close,null,n.createElement(fr,null,i.table3.validation.resetFiltersDialog.cancel)),n.createElement(fr,{appearance:"primary",onClick:()=>{s(),a(),l()}},i.table3.validation.resetFiltersDialog.confirm)))))}function hg(e){return null}function vg(e){return null}hg.displayName="Table3Column",vg.displayName="Table3Group";const pg=ls((function(e,t){const{emptyState:a,customSettings:r,toolbarLeft:o,toolbarRight:i,defaultCurrentRowIndex:s}=e,c=qa(t),{table:u,length:d}=function(e,t){var a,r;const[o,i]=function(e,t={},n){const l=(a=e,`taco.${Ms().uniqueUserIdentifier}.table3.${a}.settings`);var a;const[r,o]=Hs(l,t);return ks(()=>{n&&n(r)},[r]),[r,o]}(e.id,e.defaultSettings,e.onChangeSettings),s=function(e){var t,l,a,r,o,i,s,c,u,d,m,g,f,h,v,p,w,b;const E=e.preset?Yd[e.preset]:Jd,x=null!==(t=e.enableRowExpansion)&&void 0!==t?t:E.enableRowExpansion,y=null!==(l=e.enableRowSelection)&&void 0!==l?l:E.enableRowSelection;return n.useEffect(()=>{x&&!e.expandedRowRenderer&&console.warn(`Table3 (id: ${e.id}) - Row expansion is enabled but no \`expandedRowRenderer\` has been provided. Provide one to enable row expansion or set \`enableRowExpansion\` to \`false\`.`),y&&!e.onRowSelect&&console.warn(`Table3 (id: ${e.id}) - Row selection is enabled but no \`onRowSelect\` handler has been provided. Provide one to enable row selection or set \`enableRowSelection\` to \`false\`.`)},[]),{enableColumnFreezing:null!==(a=e.enableColumnFreezing)&&void 0!==a?a:E.enableColumnFreezing,enableColumnHiding:null!==(r=e.enableColumnHiding)&&void 0!==r?r:E.enableColumnHiding,enableColumnOrdering:null!==(o=e.enableColumnOrdering)&&void 0!==o?o:E.enableColumnOrdering,enableColumnResizing:null!==(i=e.enableColumnResizing)&&void 0!==i?i:E.enableColumnResizing,enableFontSize:null!==(s=e.enableFontSize)&&void 0!==s?s:E.enableFontSize,enableFooter:null!==(c=e.enableFooter)&&void 0!==c?c:E.enableFooter,enablePrinting:null!==(u=e.enablePrinting)&&void 0!==u?u:E.enablePrinting,enableRowDrag:(null!==(d=e.enableRowDrag)&&void 0!==d?d:E.enableRowDrag)&&!!e.onRowDrag,enableRowDrop:(null!==(m=e.enableRowDrop)&&void 0!==m?m:E.enableRowDrop)&&!!e.onRowDrop,enableRowExpansion:x&&!!e.expandedRowRenderer,enableRowGoto:(null!==(g=e.enableRowGoto)&&void 0!==g?g:E.enableRowGoto)&&!!e.onRowGoto,enableRowHeight:null!==(f=e.enableRowHeight)&&void 0!==f?f:E.enableRowHeight,enableRowSelection:y&&!!e.onRowSelect,enableRowSelectionSingle:(null!==(h=e.enableRowSelectionSingle)&&void 0!==h?h:E.enableRowSelectionSingle)&&y&&!!e.onRowSelect,enableEditing:null!==(v=e.enableEditing)&&void 0!==v?v:E.enableEditing,enableFiltering:null!==(p=e.enableFiltering)&&void 0!==p?p:E.enableFiltering,enableSearch:null!==(w=e.enableSearch)&&void 0!==w?w:E.enableSearch,enableSorting:null!==(b=e.enableSorting)&&void 0!==b?b:E.enableSorting}}(e),c=function(e,t){const n={enableColumnFilters:t.enableFiltering,enableColumnResizing:t.enableColumnResizing,enableExpanding:t.enableRowExpansion,enableGlobalFilter:t.enableSearch,enableHiding:t.enableColumnHiding,enableRowSelection:t.enableRowSelection,enableMultiRowSelection:!t.enableRowSelectionSingle,enableSorting:t.enableSorting};return n.enableColumnResizing&&(n.columnResizeMode="onChange"),n.enableColumnFilters&&(e.onFilter||(n.filterFns={tacoFilter:(e,t,n)=>nm(e.getValue(t),n)},n.getFilteredRowModel=z.getFilteredRowModel())),n.enableGlobalFilter&&(n.globalFilterFn=(e,t,n)=>{try{if(e.original){const l=e.getAllCells().find(e=>e.column.id===t),a=null==l?void 0:l.column.columnDef.meta;if(l&&l.column.getIsVisible()&&null!=a&&a.enableSearch){const l=$d(e.original[t],null==a?void 0:a.dataType);if(void 0!==l)return tm(l,n)}return!1}}catch{}return!1},n.getFilteredRowModel=z.getFilteredRowModel(),n.getColumnCanGlobalFilter=e=>{var t;return null===(t=e.columnDef.meta.enableSearch)||void 0===t||t}),t.enableSorting&&(e.onSort?n.manualSorting=!0:n.getSortedRowModel=z.getSortedRowModel()),n}(e,s),u=function(e,t){const[l,a]=n.useState(()=>e),[r,o]=n.useState(!1),i=n.useMemo(()=>function(e){let t=0;return e.enableRowDrag&&t++,e.enableRowSelection&&t++,e.enableRowExpansion&&t++,t}(t),[]);return{isEnabled:t.enableColumnFreezing,frozenInternalColumnCount:i,frozenColumnIndex:l,setFrozenColumnIndex:e=>a(null!=e?e:-1),horizontallyScrolled:r,handleScroll:e=>{e.currentTarget.scrollLeft>0&&!r?o(!0):0===e.currentTarget.scrollLeft&&r&&o(!1)}}}(null!==(a=o.columnFreezingIndex)&&void 0!==a?a:e.defaultColumnFreezingIndex,s),d=function(e,t){const[l,a]=n.useReducer(Dm,{errors:null,draftErrors:null});function r(e,t,n){a({type:Tm.SET_CELL_ERROR,payload:{rowId:e,cellId:t,error:n}})}function o(e,t){a({type:Tm.SET_ROW_ERROR,payload:{rowId:e,errors:t}})}function i(e,t){a({type:Tm.RESET_ERRORS,payload:{rowId:e,cellId:t}})}return{validate:(n,l,a)=>{let s;return s=a&&e?e(l[a],a,l):t?t(l):new Promise(e=>{e()}),s.then(()=>{i(n,a)}).catch(e=>{((e,t,n)=>{n?r(t,n,e[n]):o(t,e)})(e,n,a)}),s},setCellError:r,setRowErrors:o,confirmErrors:function(e){a({type:Tm.CONFIRN_ERRORS,payload:{rowId:e}})},getCellError:function(e){var t,n;return l.draftErrors&&(null===(t=l.draftErrors[e.row.id])||void 0===t?void 0:t[e.column.id])||(l.errors?null===(n=l.errors[e.row.id])||void 0===n?void 0:n[e.column.id]:void 0)},resetErrors:i,errors:l.errors,draftErrors:l.draftErrors}}(e.onCellValidate,e.onRowValidate),m=function(e,t,l,a){const[r,o]=n.useState(!1),[i,s]=n.useReducer(wm,null),[c,u]=n.useReducer((e,t)=>function(e,t){switch(t.type){case vm.SET_CELL_VALUE:return{...e,[t.payload.rowId]:{...(null==e?void 0:e[t.payload.rowId])||t.payload.originalValues,[t.payload.cellId]:t.payload.value}};case vm.RESET_CHANGE:{let n={...e};return n&&delete n[t.payload.rowId],0===Object.keys(n).length&&(n=null),n}default:return e}}(e,t),null),[d,m]=n.useState(!1);function g(e){u({type:vm.RESET_CHANGE,payload:{rowId:e}}),l.resetErrors(e)}const f=n.useCallback(e=>{e.defaultPrevented||(Ya(e,{key:"e",meta:!0,shift:!1})?o(e=>!e):Ya(e,{key:"s",meta:!0,shift:!1})&&(e.preventDefault(),v()))},[r]),h=n.useCallback(e=>{e.target===e.currentTarget&&v()},[]),v=function(){try{if(!c)return Promise.resolve();const e=Object.keys(c),t=function(){if(a&&e.length)return(()=>{const e=Object.keys(c||{}),t=D.reduce(e,(e,t)=>({...e,[t]:hm.Saving}),{});s({type:pm.SET_SAVING_STATUSES,payload:{states:t}})})(),Promise.resolve(Promise.allSettled(e.map(e=>new Promise((t,n)=>{const r=null==c?void 0:c[e];var o;r?null===(o=l.validate(e,r))||void 0===o||o.then(()=>{a(r).then(()=>{t()}).catch(t=>{t.errors&&l.setRowErrors(e,t.errors),n(t)})}).catch(()=>{l.confirmErrors(e),s({type:pm.SET_SAVING_STATUS,payload:{rowId:e,state:hm.Error}}),n()}):n()})))).then((function(t){t.forEach((t,n)=>{const l=e[n];"fulfilled"===t.status?(g(l),s({type:pm.SET_SAVING_STATUS,payload:{rowId:l,state:hm.Saved}})):s({type:pm.SET_SAVING_STATUS,payload:{rowId:l,state:hm.Error}})})}))}();return Promise.resolve(t&&t.then?t.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},[p,w]=n.useState(null),b=n.useCallback(e=>!!(r&&c&&Object.keys(c).length>0)&&(e.returnValue=!0,!0),[r,c]);return n.useEffect(()=>{const e=e=>{const n=e.target,l=n.closest('[role="dialog"], [role="menu"]');Ua(n,t.current)||Ua(l,t.current)||v()};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}},[v]),n.useEffect(()=>(window.addEventListener("beforeunload",b),()=>{window.removeEventListener("beforeunload",b)}),[b]),n.useEffect(()=>{r||(m(!1),cm.value=null)},[r]),{isEnabled:e,isEditing:r,toggleEditing:o,changes:c,getCellValue:function(e){var t;return c?null===(t=c[e.row.id])||void 0===t?void 0:t[e.column.id]:void 0},setCellValue:function(e,t){u({type:vm.SET_CELL_VALUE,payload:{rowId:e.row.id,cellId:e.column.id,value:t,originalValues:e.row.original}})},saveChangesIfNeeded:v,detailModeEditing:d,setDetailModeEditing:m,rowMoveReason:p,setRowMoveReason:w,removeRowMoveReason:()=>{w(null)},handleKeyDown:f,handleBlur:h,resetChange:g,getSavingStatus:function(e){return i&&i[e]},resetSavingStatus:e=>{s({type:pm.RESET_SAVING_STATUS,payload:{rowId:e}})}}}(s.enableEditing,t,d,e.onSave),g=function(e=!1,t=!0,l){const[a,r]=n.useState(t);return{isEnabled:e,isPrinting:l.endsWith("_print"),isWarningVisibleForLargeDatasets:a,setIsWarningVisibleForLargeDatasets:e?r:()=>{}}}(s.enablePrinting,o.showWarningWhenPrintingLargeDataset,e.id),f=function(e,t=4){return{actionsForRow:e,actionsForRowLength:t}}(e.actionsForRow,e.actionsForRowLength),h=function(e){const[t,l]=n.useState({});return{isEnabled:e,dragging:t,setDragging:e?l:()=>{}}}(s.enableRowDrag),v=(w=e.onRowDrop,{isEnabled:p=s.enableRowDrop,handleDrop:p&&w?w:()=>{}});var p,w;const b=function(e,t=!1){const[l,a]=n.useState(!1),[r,o]=n.useState(),[i,s]=n.useState(!0),[c,u]=n.useState(t),[d,m]=n.useState([]),[g,f]=n.useState(void 0);return{isEnabled:e,isHighlightingEnabled:i,toggleHighlighting:s,excludeUnmatchedResults:c,toggleExcludeUnmatchedResults:u,query:r,setQuery:e?o:()=>{},highlightedColumnIndexes:d,setHighlightedColumnIndexes:m,currentHighlightColumnIndex:g,setCurrentHighlightColumnIndex:f,isSearching:l,setIsSearching:a}}(s.enableSearch,o.excludeUnmatchedRecordsInSearch),E=function(){const[e,t]=n.useState(!1);return{isPaused:e,pause:t}}(),x=Es(s.enableColumnOrdering),y=xs(s.enableFontSize,o.fontSize),R=Rs(!0,e.defaultCurrentRowIndex),C=Cs(!0,e.onRowClick),S=Ss(s.enableRowGoto,e.onRowGoto),N=Ns(s.enableRowHeight,o.rowHeight),A=As(s.enableRowSelection),O=Ls(e.loadPage,e.loadAll),{columns:I,defaultColumnSizing:L,defaultColumnVisibility:H,defaultSorting:M}=function(e,t,a){var r;const o=Ud(null==e||null===(r=e.defaultSettings)||void 0===r?void 0:r.fontSize);return n.useMemo(()=>{var r;const i=z.createColumnHelper(),s={},c={},u=[];function d(e){var l,a,r,d,g,f,h,v,p,w,b,E;return n.isValidElement(e)&&"Table3Column"===(null===(l=e.type)||void 0===l?void 0:l.displayName)&&e.props.accessor?(e.props.defaultWidth&&(s[e.props.accessor]="grow"===e.props.defaultWidth?"1fr":e.props.defaultWidth),e.props.defaultHidden&&t.enableColumnHiding&&(c[e.props.accessor]=!1),void 0!==e.props.sort&&u.push({id:e.props.accessor,desc:"desc"===e.props.sort}),{accessorKey:e.props.accessor,id:e.props.accessor,header:Sd,cell:Nm,footer:kd,minSize:o,enableResizing:null===(r=e.props.enableResizing)||void 0===r||r,enableColumnFilter:null===(d=e.props.enableFiltering)||void 0===d||d,filterFn:"tacoFilter",enableSorting:null===(g=e.props.enableSorting)||void 0===g||g,sortingFn:(b=e.props.dataType,E=e.props.sortFn,"function"==typeof E?(e,t,n)=>E(e.original,t.original,n):E||(b&&"boolean"!==b&&"number"!==b?b:"auto")),sortDescFirst:!1,sortUndefined:1,enableHiding:null===(f=e.props.enableHiding)||void 0===f||f,meta:{align:e.props.align,className:e.props.className,control:e.props.control,dataType:e.props.dataType,enableOrdering:null===(h=e.props.enableOrdering)||void 0===h||h,enablePrinting:null===(v=e.props.enablePrinting)||void 0===v||v,enableSearch:null===(p=e.props.enableSearch)||void 0===p||p,enableTruncate:null!==(w=e.props.enableTruncate)&&void 0!==w&&w,filters:e.props.filters,footer:e.props.footer,header:e.props.header,headerClassName:e.props.headerClassName,menu:e.props.menu,renderer:e.props.renderer,tooltip:e.props.tooltip}}):n.isValidElement(e)&&"Table3Group"===(null===(a=e.type)||void 0===a?void 0:a.displayName)&&e.props.children?i.group({id:e.props.id,header:km,columns:m(e.props.children),meta:{align:"center",enableOrdering:!1,enableSearch:!1,enableTruncate:!1,header:e.props.header}}):void 0}function m(e){return n.Children.toArray(e).map(d).filter(e=>!!e)}const g=m(e.children);var f,h,v;return t.enableRowExpansion&&e.expandedRowRenderer&&g.unshift(i.display((f=e.expandedRowRenderer,{id:"__expansion",header:Im,cell:e=>n.createElement(Hm,Object.assign({},e,{expandedRowRenderer:f})),footer:kd,meta:{align:"center",className:"!p-0 !pt-[var(--table3-cell-padding-y)]",enableOrdering:!1,enableSearch:!1,enableTruncate:!1,header:"",headerClassName:"items-center !p-0"},enableResizing:!1,size:40}))),t.enableRowSelection&&g.unshift(i.display(function(e,t){const n=e&&t?22:40;return{id:"__select",header:Am,cell:Om,footer:kd,meta:{align:"center",className:l("!pt-[var(--table3-cell-padding-y)] !justify-end !p-0",{"!pr-0.5":t,"!pr-3":!t}),enableOrdering:!1,enableSearch:!1,enableTruncate:!1,header:"",headerClassName:l("items-center !justify-end !p-0",{"!pr-0.5":t,"!pr-3":!t})},enableResizing:!1,size:n,minSize:n}}(!(!t.enableRowDrag||!e.onRowDrag),!!e.expandedRowRenderer))),t.enableRowDrag&&e.onRowDrag&&g.unshift(i.display((h=e.onRowDrag,{id:"__drag",header:Sd,cell:e=>n.createElement(Mm,Object.assign({},e,{isSelected:e.row.getIsSelected(),onRowDrag:h})),footer:kd,meta:{align:"center",className:"!p-0 !pt-[var(--table3-cell-padding-y)]",enableOrdering:!1,enableSearch:!1,enableTruncate:!1,header:"",headerClassName:"items-center !p-0"},enableResizing:!1,size:20,minSize:20}))),null!==(r=e.actionsForRow)&&void 0!==r&&r.length&&g.push(i.display({id:"__actions",header:Sd,cell:Bd,footer:kd,meta:{align:"right",className:l('!pt-[var(--table3-cell-padding-y)] print:opacity-0 [[role="table"][data-editing="false"]_&]:group-[[data-current="true"]]/row:sticky [[role="table"][data-pause-hover="false"][data-editing="false"]_&]:group-hover/row:sticky right-0 !pl-1 !pr-1',"shadow-[-6px_0px_6px_var(--table3-row-actions-shadow)]",'group-[[data-current="true"][data-selected="false"]]/row:text-grey-200','group-[[data-selected="true"]]/row:text-blue-100','group-[[data-selected="false"]:hover]/row:text-grey-100'),enableOrdering:!1,enableSearch:!1,enableTruncate:!1,header:"",headerClassName:"items-center !p-0"},enableResizing:!1})),a.isEnabled&&a.isEditing&&g.push(i.display((v=e.rowIdentifier,{id:"__editing_actions",header:Sd,cell:e=>n.createElement(Em,Object.assign({},e,{rowIdentifier:v})),footer:kd,meta:{align:"right",className:l('items-center print:opacity-0 [[role="table"][data-editing="true"]_&]:group-[[data-current="true"]]/row:sticky right-0 !pl-0 !pr-1','[[role="table"][data-editing="true"]_&]:group-[[data-current="true"]]/row:shadow-[-6px_0px_6px_var(--table3-row-actions-shadow)]','group-[[data-current="true"][data-selected="false"]]/row:text-grey-200','group-[[data-selected="true"]]/row:text-blue-100','group-[[data-selected="false"]:hover]/row:text-grey-100'),enableOrdering:!1,enableSearch:!1,enableTruncate:!1,header:"",headerClassName:"items-center !p-0"},enableResizing:!1,size:60,minSize:60}))),{columns:g,defaultColumnSizing:s,defaultColumnVisibility:c,defaultSorting:u}},[a.isEditing])}(e,s,m),k=n.useMemo(()=>{var t,n,l,a;const r={columnOrder:is(I,o.columnOrder,["__actions","__editing_actions"]),columnSizing:null!==(t=o.columnSizing)&&void 0!==t?t:L,columnVisibility:null!==(n=o.columnVisibility)&&void 0!==n?n:H,sorting:o.sorting?o.sorting.filter(e=>I.find(t=>t.id===e.id)):M};var i,s;return null!==(l=e.defaultSettings)&&void 0!==l&&l.columnFilters&&(r.columnFilters=null===(i=e.defaultSettings)||void 0===i?void 0:i.columnFilters),null!==(a=e.defaultSettings)&&void 0!==a&&a.globalFilter&&(r.globalFilter=null===(s=e.defaultSettings)||void 0===s?void 0:s.globalFilter),r},[]),V=z.useReactTable({data:e.data,columns:I,getCoreRowModel:z.getCoreRowModel(),initialState:k,...c,meta:{columnFreezing:u,columnOrdering:x,editing:m,enableFooter:s.enableFooter,fontSize:y,getSettings:()=>{const e=V.getState();return{columnFreezingIndex:u.frozenColumnIndex,columnOrder:x.isEnabled?e.columnOrder:void 0,columnSizing:V.options.enableColumnResizing?e.columnSizing:void 0,columnVisibility:V.options.enableHiding?e.columnVisibility:void 0,excludeUnmatchedRecordsInSearch:b.excludeUnmatchedResults,fontSize:y.isEnabled?y.size:void 0,rowHeight:N.isEnabled?N.height:void 0,showWarningWhenPrintingLargeDataset:g.isWarningVisibleForLargeDatasets,sorting:e.sorting}},isPrinting:e.id.endsWith("_print"),isUsingServer:!!e.loadPage,printing:g,rowActions:f,rowActive:R,rowClick:C,rowDrag:h,rowDrop:v,rowGoto:S,rowHeight:N,rowSelection:A,search:b,server:O,shortcutsState:E,tableRef:t,validation:d}});return function(e){const t=e.options.meta;n.useEffect(()=>{t.editing.isEnabled&&t.editing.isEditing&&requestAnimationFrame(()=>{t.editing.saveChangesIfNeeded()})},[t.rowActive.rowActiveIndex]),n.useEffect(()=>{t.editing.isEnabled&&(t.editing.isEditing?void 0===t.rowActive.rowActiveIndex&&t.rowActive.setRowActiveIndex(0):requestAnimationFrame(()=>{t.editing.saveChangesIfNeeded()}))},[t.editing.isEditing])}(V),function(e,t){const l=e.options.meta,a=e.getState();n.useEffect(()=>{let e;return"function"==typeof t&&(e=setTimeout(()=>{t(l.getSettings())},250)),()=>clearTimeout(e)},[l.columnFreezing.frozenColumnIndex,a.columnOrder,a.columnSizing,a.columnVisibility,l.search.excludeUnmatchedResults,l.fontSize.size,l.rowHeight.height,l.printing.isWarningVisibleForLargeDatasets,a.sorting])}(V,i),Vs(V),js(V,e.onFilter),Ts(V),Ds(V,e.onRowSelect),_s(V,e.loadPage),Ps(V,e.shortcuts),Bs(V,e.onSort),{table:V,length:null!==(r=e.length)&&void 0!==r?r:e.data.length}}(e,c);!function(e,t){n.useEffect(()=>{if(t.current){const n=e.options.meta;t.current.instance={resetFiltering:()=>e.resetColumnFilters(),resetRowExpansion:()=>e.resetExpanded(),resetRowSelection:()=>e.resetRowSelection(),resetSorting:()=>e.resetSorting(),toggleEditing:e=>n.editing.toggleEditing(null!=e?e:e=>!e)}}},[e,t.current])}(u,c),n.useEffect(()=>{var t;e.autoFocus&&(null===(t=c.current)||void 0===t||t.focus())},[]);const{renderBody:m,scrollToIndex:g}=function(e,t,l){return function(e,t,l){const a=t.options.meta,r=t.getRowModel().rows,o=t.getState().expanded,[i,s]=n.useState({}),c=n.useMemo(()=>{const e=Object.values(i);return e.length?e.reduce((e,t)=>e+t,0)/e.length:0},[i]),u=n.useCallback(e=>{const t=a.rowHeight.height?Pm[a.rowHeight.height]:Pm.medium;var n,l;return!0===o||null!=o&&o[e]?t+(null!==(n=null!==(l=i[e])&&void 0!==l?l:c)&&void 0!==n?n:0):t},[a.rowHeight.height,i,o]),d=F.useVirtual({parentRef:l,size:r.length,estimateSize:u}),m=n.useCallback((e,t)=>{if(l.current)if(e<=0)l.current.scrollTo(l.current.scrollLeft,0);else if(e>=r.length-1){var n;null===(n=l.current)||void 0===n||n.scrollTo(0,l.current.scrollHeight)}else d.scrollToIndex(e,t)},[r.length,l.current]);return{renderBody:Gm(e,r,t,l,d,s),scrollToIndex:m}}(e,t,l)}(e,u,c),f=u.options.meta,h=u.getState(),p=n.useRef(null);n.useEffect(()=>{const e=requestAnimationFrame(()=>{s&&g(s,{align:"center"})});return()=>{cancelAnimationFrame(e)}},[]),n.useEffect(()=>{const e=e=>{const t=e.target,n=t.closest('[role="dialog"]');if(t.closest('[role="combobox"]:not([data-taco="Select2"])')||n&&(null==n||!n.contains(c.current))||f.shortcutsState.isPaused)return;const l=u.getRowModel().rows;var a;f.rowActive.handleKeyDown(e,l.length,g,f.editing.isEditing?void 0:c),void 0!==f.rowActive.rowActiveIndex&&f.rowClick.handleKeyDown(e,null===(a=l[f.rowActive.rowActiveIndex])||void 0===a?void 0:a.original),f.rowSelection.handleKeyDown(e,u),f.editing.handleKeyDown(e)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[g,f.editing.isEditing,c.current,f.rowActive.rowActiveIndex]);const w=f.editing.isEnabled?e=>{f.editing.handleBlur(e)}:void 0,b=void 0===f.rowActive.rowActiveIndex?e=>{f.rowActive.handleFocus(e,u.getRowModel().rows.length,g)}:void 0,E=l("border-grey-300 relative grid h-full w-full flex-grow overflow-auto rounded border bg-white scroll-mt-[41px] focus-visible:outline-none",'[&[data-resizing="true"]]:select-none',{"text-xs":f.fontSize.size===exports.FontSizes.small,"text-sm":f.fontSize.size===exports.FontSizes.medium,"text-base":f.fontSize.size===exports.FontSizes.large}),{style:x}=((e,t=!1,l=0,a)=>{const r=e.getVisibleLeafColumns(),o=e.getState().columnSizing,i=e.getRowModel().rows.length+Object.keys(e.getState().expanded).length,s=Ud(a);return{style:{gridTemplateColumns:n.useMemo(()=>r.reduce((e,n,a)=>{let i;const c=a===r.length-1,u=o[n.id],d=_d(n.id);return i=t?`minmax(20px, ${d?n.getSize()+"px":"1fr"})`:d?"__actions"===n.id?`minmax(${32*l+8+8}px, auto)`:n.getSize()+"px":void 0!==u?"1fr"===u?"minmax(max-content, 1fr)":c?`minmax(${u}px, auto)`:u<s?s+"px":u+"px":"minmax(max-content, auto)",`${e} ${i}`.trim()},""),[r,o,s]),gridTemplateRows:n.useMemo(()=>`min-content repeat(${i}, min-content) 1fr min-content`,[i])}}})(u,f.printing.isPrinting,f.rowActions.actionsForRowLength,f.fontSize.size),{style:y}=(R=f.rowHeight.height,{style:{"--table3-cell-padding-x":mg(C=f.fontSize.size),"--table3-cell-padding-y":dg(R,C)}});var R,C;const S={...y,...x,opacity:.999},N=function(e,t){var l;const{columnOrder:a,columnSizing:r,columnSizingInfo:o,columnVisibility:i}=t.getState(),s=t.options.meta,c=(s.columnFreezing.isEnabled&&null!==(l=s.columnFreezing.frozenColumnIndex)&&void 0!==l?l:-1)+s.columnFreezing.frozenInternalColumnCount;return n.useMemo(()=>{if(s.columnFreezing.frozenInternalColumnCount>0||s.columnFreezing.isEnabled&&void 0!==c){var n;const l=t.getVisibleLeafColumns().slice(0,c+1),a=l.filter(e=>!_d(e.id));if(a.length&&a.every(e=>void 0===r[e.id]))return;const o=[l.map((t,n)=>`#${e} [role="row"] > :nth-child(${n+1}) { left: ${t.getStart()}px }`).join("\n"),`#${e} [role="row"] > :not(:nth-child(n+${c+2})) {\n position: sticky;\n z-index: 20;\n }`,`#${e}[data-horizontally-scrolled="true"] [role="row"] > :nth-child(${c+1}) {\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), 6px 0px 6px rgb(0 0 0/8%), 1px 0px 0px #DDDDDD;\n }`],i=null===(n=l[c])||void 0===n?void 0:n.id;return i&&!_d(i)&&o.push(`#${e}[data-horizontally-scrolled="false"] [role="row"] > :nth-child(${c+1}) {\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), 1px 0px 0px #DDDDDD;\n }`),o.join("\n")}},[a,r,o,i,s.columnFreezing.isEnabled,c])}(e.id,u),A=function(e,t){const l=t.getFlatHeaders();return n.useMemo(()=>[...new Set(l.map(e=>e.depth))].map(t=>`#${e} [data-taco="table2-header"] [role="row"]:nth-child(${t}) [role="columnheader"],\n #${e} [data-taco="table2-header"] [role="row"]:nth-child(${t}) [data-taco="table3-column-group"]\n { top: ${function(e){return 42*(e-1)}(t)}px }`).join("\r\n"),[l,e])}(e.id,u),O=f.isUsingServer&&void 0===e.length;return n.createElement(n.Fragment,null,N?n.createElement("style",{"data-taco":"table3-column-freezing-styles"},N):null,A&&!f.printing.isPrinting?n.createElement("style",{"data-taco":"table3-column-header-offset-styles"},A):null,n.createElement(cg,{table:u,tableProps:e,total:d,left:o,right:i,customSettings:r,scrollToIndex:g}),n.createElement(gg,{table:u,tableRef:c,scrollToIndex:g,rowIdentifier:e.rowIdentifier}),n.createElement("div",{className:E,id:e.id,"data-font-size":f.fontSize.size,"data-editing":f.editing.isEditing,"data-horizontally-scrolled":f.columnFreezing.horizontallyScrolled,"data-pause-hover":null==f?void 0:f.rowActive.isHoverStatePaused,"data-resizing":!!h.columnSizingInfo.isResizingColumn,"data-taco":"table2",onBlur:w,onFocus:b,onScroll:function(e){try{return f.columnFreezing.handleScroll(e),Promise.resolve()}catch(e){return Promise.reject(e)}},ref:c,role:"table",style:S,tabIndex:-1},O?null:n.createElement("div",{className:"group/header contents","data-taco":"table2-header",role:"rowgroup"},u.getHeaderGroups().map(e=>n.createElement("div",{className:"contents",key:e.id,role:"row"},e.headers.map((t,l)=>{var a;const r=!(l===f.columnFreezing.frozenColumnIndex||l===e.headers.length-1||null!==(a=e.headers[l+1])&&void 0!==a&&a.isPlaceholder&&t.isPlaceholder);return n.createElement(n.Fragment,{key:t.id},z.flexRender(t.column.columnDef.header,{...t.getContext(),scrollToIndex:g,hasSeparator:r}))})))),u.getRowModel().rows.length?n.createElement(n.Fragment,null,n.createElement(v.FocusScope,{autoFocus:f.editing.isEditing},n.createElement("div",{className:"group/body contents","data-taco":"table2-body",role:"rowgroup",ref:p},m())),n.createElement("div",{className:l("border-grey-300 col-span-full border-t",{"translate-y-px":f.enableFooter})}),f.enableFooter?n.createElement("div",{className:"group/footer contents","data-taco":"table2-footer",role:"rowgroup"},u.getFooterGroups().slice(0,1).map(e=>n.createElement("div",{className:"contents",key:e.id,role:"row"},e.headers.map(e=>n.createElement(n.Fragment,{key:e.id},z.flexRender(e.column.columnDef.footer,e.getContext()))))),d?n.createElement(ug,{currentLength:u.getRowModel().rows.length,length:d,table:u}):null):null):n.createElement("div",{className:"col-span-full box-border min-h-[theme(spacing.8)]"},a?n.createElement(a,null):null)))})),wg=ls((function(e,t){const l=String(e.children),a=n.useMemo(()=>String("tableKey_"+l),[l]);return n.createElement(pg,Object.assign({},e,{key:a,ref:t}))}));wg.Column=hg,wg.Group=vg;const bg=t.forwardRef((function(e,n){const{id:a,defaultId:r,children:o,onChange:i,orientation:s="horizontal",...c}=e,u=l({"flex w-full":"vertical"===s},e.className);return t.createElement(P.Root,Object.assign({},c,{className:u,"data-taco":"tabs",defaultValue:r,dir:"ltr",onValueChange:i,orientation:s,ref:n,value:a}),o)})),Eg=t.forwardRef((function(e,n){const a=l("border-grey-300 flex flex-row m-0 mb-4","aria-orientation-horizontal:border-b","aria-orientation-vertical:border-r aria-orientation-vertical:m-0 aria-orientation-vertical:mr-4 aria-orientation-vertical:flex-col ",e.className);return t.createElement(P.List,Object.assign({},e,{className:a,ref:n}))})),xg=t.forwardRef((function(e,n){const{children:a,id:r,disabled:o,tooltip:i,...s}=e,c=l("group relative p-0.5 outline-none disabled:cursor-not-allowed disabled:text-black/50",'[[aria-orientation="horizontal"]_&]:pb-1','[[aria-orientation="vertical"]_&]:pr-1'),u=l("flex-shrink-0 min-h-[theme(spacing.8)] min-w-[theme(spacing.8)] gap-1 h-max leading-5 inline-flex items-center justify-center focus-visible:yt-focus disabled:cursor-not-allowed","group-focus-visible:yt-focus-inset group-enabled:group-hover:wcag-grey-200 pointer-events-none rounded px-3"),d=l("pointer-events-none absolute hidden bg-blue-500 group-aria-selected:flex",'[[aria-orientation="horizontal"]_&]:rounded-t-sm [[aria-orientation="horizontal"]_&]:bottom-0 [[aria-orientation="horizontal"]_&]:left-0 [[aria-orientation="horizontal"]_&]:right-0 [[aria-orientation="horizontal"]_&]:-mb-px [[aria-orientation="horizontal"]_&]:h-0.5','[[aria-orientation="vertical"]_&]:rounded-l-sm [[aria-orientation="vertical"]_&]:right-0 [[aria-orientation="vertical"]_&]:top-0 [[aria-orientation="vertical"]_&]:bottom-0 [[aria-orientation="vertical"]_&]:-mr-px [[aria-orientation="vertical"]_&]:w-0.5'),m=t.createElement(P.Trigger,Object.assign({},s,{className:c,disabled:o,ref:n,value:r}),t.createElement("span",{className:u},a),t.createElement("span",{className:d}));return i?t.createElement(tr,{title:i},m):m})),yg=t.forwardRef((function(e,n){const{id:a,...r}=e,o=l('[&[data-orientation="vertical"]]:grow outline-none',e.className);return t.createElement(P.Content,Object.assign({},r,{className:o,ref:n,value:a}))}));bg.List=Eg,bg.Trigger=xg,bg.Content=yg;const zg=({continuous:e,index:n,isLastStep:l,step:a,backProps:r,primaryProps:o,skipProps:i,tooltipProps:s,size:c,locale:u,disableTourSkipOnEsc:d})=>{const m=t.useRef(null);return t.useEffect(()=>{const e=e=>{if(!d&&"Escape"===e.key&&null!==m.current)return e.preventDefault(),void m.current.click()};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[]),t.createElement("div",Object.assign({},s,{className:"yt-tour__step w-88 relative rounded bg-white p-4"}),t.createElement(or,Object.assign({},i,{ref:m,appearance:"discrete",icon:"close",title:u.skip,"aria-label":u.skip,className:"absolute top-0 right-0 mt-1 mr-1"})),a.title&&t.createElement("h5",null,a.title),a.content,t.createElement(So,{className:"mt-4 justify-end"},n>0&&t.createElement(fr,Object.assign({},r,{appearance:"discrete"}),u.back),t.createElement(fr,Object.assign({},o,{appearance:"primary"}),e?l?`${u.last} (${n+1}/${c})`:`${u.next} (${n+1}/${c})`:u.close)))},Rg=e=>null,Cg=e=>{const{texts:{tour:n}}=dr(),{autoStart:l,onComplete:a,onClose:r,onReady:o,spotlightClicks:i,disableCloseOnEsc:s,disableScrollParentFix:c=!1,scrollOffset:u,...d}=e,m=t.useMemo(()=>t.Children.map(e.children,e=>({disableBeacon:!e.props.showBeacon,target:e.props.selector,placement:e.props.position,title:e.props.title,content:e.props.children})),[e.children]),g=t.useCallback(t=>{var n;return null===(n=e.children.find(e=>e.props.selector===t))||void 0===n?void 0:n.props},[e.children]);return t.createElement(_,Object.assign({},d,{run:l,steps:m,showProgress:!0,floaterProps:{disableAnimation:!0},tooltipComponent:e=>t.createElement(zg,Object.assign({},e,{locale:n,disableTourSkipOnEsc:s})),locale:n,spotlightPadding:8,spotlightClicks:i,disableScrollParentFix:c,callback:e=>{e.action===B.ACTIONS.SKIP&&e.lifecycle===B.LIFECYCLE.COMPLETE&&r&&r(g(e.step.target)),e.type===B.EVENTS.TOUR_END&&a&&a(),e.lifecycle===B.LIFECYCLE.READY&&o&&o(g(e.step.target))},scrollOffset:u,styles:{options:{primaryColor:"#6ba4ff"}},disableCloseOnEsc:!0}))};Cg.Step=Rg;const Sg=n.forwardRef((function(e,t){const{...a}=e,r=l(Ng(),e.className);return n.createElement(or,Object.assign({},a,{appearance:"discrete",className:r,"data-taco":"header-button",ref:t}))})),Ng=(e=!0)=>l("!h-9 !w-9 flex-shrink-0 flex-grow-0 cursor-pointer relative","focus:!outline-none focus:!shadow-none focus-visible:!yt-focus-dark ","bg-transparent enabled:hover:bg-white/[.08] focus:bg-white/[.08] aria-current-page:bg-white/[.08]","text-white",{"!rounded-full":e}),Ag=n.forwardRef((function(e,t){const{children:a,icon:r,isNew:o,tooltip:i,...s}=e,{texts:c}=dr(),u=l(Og(r),"relative",e.className),d=n.createElement("a",Object.assign({},s,{className:u,"data-taco":"header-link",ref:t,tabIndex:0}),r?n.createElement(ya,{name:r}):null,a,o?n.createElement(Ga,{color:"blue",small:!0,className:"absolute right-0 top-0 -mr-2.5 -mt-1.5 !h-3 !px-0.5 text-[0.55rem] font-normal"},c.header.new):null);return i?n.createElement(tr,{title:i},d):d})),Og=e=>l("flex h-8 flex-shrink-0 flex-grow-0 cursor-pointer items-center justify-center ","focus:!shadow-none focus:!outline-none focus-visible:!yt-focus-dark","bg-transparent hover:bg-white/[.08] focus:bg-white/[.08] aria-current-page:bg-white/[.08]","text-white hover:text-white focus:text-white",{"!rounded-full !h-9 !w-9":e,"whitespace-nowrap px-3 rounded text-sm hidden lg:flex":!e}),Ig=n.forwardRef((function(e,t){const a=l("h-7 w-7 m-1 self-center justify-self-center flex-shrink-0 flex-grow-0",e.className);return n.createElement("svg",Object.assign({},e,{className:a,ref:t,viewBox:"0 0 28 28",xmlns:"http://www.w3.org/2000/svg"}),n.createElement("g",{className:"fill-brand-sunsetOrange"},n.createElement("path",{d:"M3.2496172 16.0366c-1.44938-.2893-2.857854.6517-3.1442248 2.1011-.2863702 1.4493.6516388 2.8578 2.1010248 3.1442 1.44938.2893 2.85786-.6517 3.14423-2.101.28929-1.4465-.65164-2.855-2.10103-3.1443z"}),n.createElement("path",{d:"M18.9911672 19.1692c-2.4137-.4792-4.7602 1.0871-5.2423 3.5037-.4793 2.4137 1.087 4.7602 3.5036 5.2423 2.4137.4793 4.7602-1.087 5.2424-3.5036.4792-2.4166-1.0871-4.7631-3.5037-5.2424z"}),n.createElement("path",{d:"M23.6958672.105135c-2.8988-.578585-5.7157 1.303275-6.2943 4.199125l-.5172 2.62116c-.3828 1.93446-2.2647 3.19098-4.1992 2.80819l-1.7474-.35651c-1.92569-.3828-3.18221-2.25589-2.79941-4.19035l.08766-.43832c.33021-1.68608-.7656-3.33417-2.45168-3.66438-1.69776-.336043-3.33709.75976-3.67606 2.45461-.33897 1.68607.76561 3.3254 2.45168 3.66437l.43833.09058c1.93446.3828 3.19098 2.26467 2.79941 4.19039l-.16948.8737c-.3828 1.9345.87372 3.8163 2.79945 4.1991 1.9344.3828 3.8163-.8737 4.1991-2.8082l.1695-.8737c.3828-1.9257 2.2646-3.1822 4.1903-2.7994l2.63.526c2.8987.5698 5.7157-1.31206 6.2855-4.20791.5844-2.90169-1.2974-5.718636-4.1962-6.288455z"})))})),Lg=n.forwardRef((function(e,t){const a=l("-mr-[156px] xs:-mr-14 md:!mr-0 h-9 shrink-0 w-[180px] px-1",e.className);return n.createElement("svg",Object.assign({},e,{className:a,ref:t,viewBox:"0 0 127 13",xmlns:"http://www.w3.org/2000/svg"}),n.createElement("g",{className:"fill-white"},n.createElement("path",{className:"fill-white",d:"M5.716016 1.34924242c3.029712.25015152 6.374384 1.74121213 8.2804 3.86060606 2.4384 2.71227273 1.603248 5.42454542-1.877568 6.05681822-3.480816.6322727-8.2804-1.0498485-10.720832-3.76212125C-.471424 5.42848485-.41656 3.35242424 1.27 2.2080303l9.67232 6.92742425-5.226304-7.78621213z",fillRule:"nonzero"}),n.createElement("g",{className:"hidden md:flex"},n.createElement("path",{d:"M53.67528 11.2509091l-1.2192-4.72727274c-.176784-.56333333-.24384-1.12666666-.36576-1.6880303h-.026416c-.107696.57515152-.148336 1.13848485-.308864 1.71363636l-1.22936 4.70954548h-2.101088l2.822448-9.87409093h1.647952l2.942336 9.86424243-2.162048.0019697z",fillRule:"nonzero"}),n.createElement("path",{d:"M21.553424 1.38469697l1.2192 4.72727273c.174752.56333333.241808 1.12469697.363728 1.6880303h.026416c.107696-.57515152.148336-1.13848485.310896-1.71363636l1.2192-4.70954546h2.105152L23.9776 11.2410606h-1.64592l-2.938272-9.85636363h2.160016z",fillRule:"nonzero"}),n.createElement("path",{fillRule:"nonzero",d:"M28.313888 1.38666667h2.01168v9.86424243h-2.01168z"}),n.createElement("path",{fillRule:"nonzero",d:"M41.694608 1.38666667l.983488 5.82045454h.026416l.808736-5.82045454h2.700528l1.0668 9.86424243h-2.064512l-.485648-7.10469698h-.028448l-.323088 2.43257576-.865632 4.67212122h-1.550416l-.98552-4.72333334L40.64 4.32939394v-.18318182h-.026416l-.296672 7.10469698h-2.160016l.890016-9.86424243z"}),n.createElement("path",{d:"M35.310064 1.38469697c-.3577988.27917284-.6303655.64756811-.788416 1.06560606-.526288 1.22909091.036576 2.16666667.534416 3.00575758.073152.12409091.148336.24818181.217424.37227272 1.085088 1.80424243 1.515872 3.13378788.705104 5.02863637-.056896.1339394-.191008.3939394-.191008.3939394h-2.424176c.3204254-.2482168.5741848-.5678542.739648-.9316667.556768-1.30196967-.099568-2.49166664-.735584-3.64393937-.764032-1.37878788-1.552448-2.81863636-.715264-4.78045455.079248-.18712121.254-.50424242.254-.50424242l2.403856-.00590909z",fillRule:"nonzero"}))),n.createElement("g",{className:"xs:flex xs:-translate-x-[40px] hidden md:!translate-x-0"},n.createElement("path",{className:"stroke-white",d:"M61.496448 0v12.8680303",strokeWidth:"1.68"}),n.createElement("g",{className:"fill-white"},n.createElement("path",{d:"M70.841616 9.70863636c-.999744 0-1.7888373-.29479798-2.36728-.88439394-.5784427-.58959596-.867664-1.40964646-.867664-2.46015151 0-1.05707071.2709333-1.89681818.8128-2.51924243.5304376-.61728629 1.3256457-.96197654 2.15392-.93363636.7626734-.03509605 1.5014967.26264579 2.013712.81151515.4944533.53969697.7410027 1.25272728.739648 2.13909091v.62833334h-4.659376c.022352.77015151.221488 1.35318181.6096 1.7530303.388112.39984848.916432.59090909 1.607312.59090909.743701-.00293405 1.4788698-.15377248 2.160016-.44318182v.88636364c-.3298144.14174433-.6736336.25063692-1.02616.325-.3855929.07188992-.7778273.1048941-1.170432.09848485m-.27432-5.95242425c-.4900374-.02138848-.9649513.16736328-1.298448.51606061-.3477231.40033357-.5485505.90121019-.570992 1.42409091h3.53568c0-.62636364-.14224-1.1069697-.430784-1.43984849-.3103282-.34233825-.7661196-.52691285-1.235456-.50030303",fillRule:"nonzero"}),n.createElement("path",{d:"M75.053952 6.25575758c-.0151689-.21657791.0536783-.43083638.19304-.60075758.1381463-.1429001.3347885-.21871211.536448-.20681818.2081607-.01140173.4114497.0638378.5588.20681818.2680858.35762602.2680858.84191943 0 1.19954545-.3018073.26987298-.7638609.27916874-1.07696.02166667-.1529999-.17086259-.2265151-.39533511-.2032-.62045454",fillRule:"nonzero"}),n.createElement("path",{d:"M81.586832 9.70863636c-.979424 0-1.73736-.29217171-2.273808-.87651515-.536448-.58434343-.8073813-1.41095959-.8128-2.47984848 0-1.09777778.2709333-1.94540404.8128-2.54287879.5418667-.59747475 1.318768-.89686869 2.330704-.89818182.3279782-.00003668.654999.03430434.97536.10242424.2639542.04817256.5206342.12824173.764032.23833334l-.31496.845c-.2397537-.0929503-.4871838-.16608946-.739648-.21863637-.2330197-.05435362-.4715521-.08342113-.7112-.08666666-1.373632 0-2.060448.84959596-2.060448 2.54878788 0 .80494949.1673013 1.42343434.501904 1.85545454.33528.42939394.83312.64606061 1.491488.64606061.5966181-.00678768 1.1861142-.12655871 1.735328-.35257576v.87848485c-.5339642.24467285-1.120715.3615322-1.710944.34075757",fillRule:"nonzero"}),n.createElement("path",{d:"M90.690192 6.30893939c0 1.06757576-.278384 1.90207071-.835152 2.50348485-.556768.60141414-1.3241867.90146465-2.302256.90015152-.5660565.00980534-1.1238362-.13269357-1.611376-.41166667-.4744234-.28111893-.8520726-.69243374-1.085088-1.18181818-.2674171-.5661279-.3987341-1.18372355-.384048-1.80621212 0-1.06888889.2756747-1.90207071.827024-2.49954546.5513493-.59747474 1.316736-.89555555 2.29616-.89424242.8559447-.03726298 1.6841715.29875604 2.257552.91590909.556768.61060606.8358293 1.43656566.837184 2.47787879m-5.155184 0c0 .83777778.17272 1.47595959.51816 1.91454545.34544.43858586.85344.65787879 1.524.65787879s1.1799147-.21863636 1.528064-.65590909.522224-1.07611111.522224-1.91651515c0-.83515152-.1740747-1.46873738-.522224-1.90075758-.3481493-.4320202-.861568-.64868687-1.540256-.65-.67056 0-1.176528.21469697-1.517904.64015152-.341376.42545454-.512064 1.06363636-.512064 1.91060606",fillRule:"nonzero"}),n.createElement("path",{d:"M96.989392 9.58848485V5.34575758c0-.53444445-.1253067-.9329798-.37592-1.19560606-.251968-.2639394-.644144-.3939394-1.180592-.3939394-.707136 0-1.225296.18580808-1.55448.55742424-.329184.37161617-.493776.98419192-.493776 1.83772728v3.43909091h-1.02616V3.03136364h.83312l.168656.89621212h.048768c.213947-.32669621.5199877-.58712571.881888-.75045455.3956439-.18075251.8285923-.27169306 1.265936-.26590909.8128 0 1.4257867.19040404 1.83896.57121212.4131733.38080808.6163733.99010101.6096 1.82787879v4.27818182h-1.016z",fillRule:"nonzero"}),n.createElement("path",{d:"M105.759504 6.30893939c0 1.06757576-.277707 1.90207071-.83312 2.50348485-.555413.60141414-1.322832.90146465-2.302256.90015152-.566147.01053143-1.124127-.1320188-1.611376-.41166667-.474546-.2815508-.852738-.69268701-1.08712-1.18181818-.2666505-.56630799-.397268-1.18388155-.382016-1.80621212 0-1.06888889.2756747-1.90207071.827024-2.49954546.551349-.59747474 1.316736-.89555555 2.29616-.89424242.948267 0 1.700107.30530303 2.25552.91590909.555413.61060606.834475 1.43525253.837184 2.47393939m-5.155184 0c0 .83777778.17272 1.4759596.51816 1.91454546.34544.43924242.855472.65787879 1.526032.65787879.589088.03526465 1.159066-.20939357 1.528064-.65590909.348149-.43727273.521547-1.07611112.520192-1.91651516-.001355-.84040404-.174752-1.4739899-.520192-1.90075757-.349504-.43333334-.861568-.65-1.540256-.65-.678688 0-1.17856.21469697-1.519936.64015151-.341376.42545455-.512064 1.06363637-.512064 1.91060606",fillRule:"nonzero"}),n.createElement("path",{d:"M116.1796 9.58848485V5.32409091c0-.52525253-.115147-.91919192-.34544-1.18181818-.229616-.26-.58928-.3939394-1.074928-.3939394-.635339 0-1.109472.1779293-1.4224.53378788-.312928.35585859-.465328.90212121-.4572 1.63878788v3.66166667h-1.016V5.32409091c0-.52525253-.115824-.91919192-.347472-1.18181818-.229616-.26-.58928-.3939394-1.078992-.3939394-.642112 0-1.113536.1969697-1.410208.55939394-.296672.36242425-.449072.98484849-.449072 1.83575758v3.43909091h-1.016V3.03136364h.83312l.166624.89621212h.0508c.192326-.31859024.474248-.57752095.8128-.74651515.36534-.18279258.771528-.27547583 1.182624-.26984849 1.05664 0 1.748197.3709596 2.074672 1.11287879h.048768c.20551-.34688729.509496-.62924665.875792-.81348485.403616-.20402984.853472-.30695163 1.308608-.29939394.765387 0 1.338411.19040404 1.719072.57121212.380661.38080808.570992.99010101.570992 1.82787879v4.27818182h-1.02616z",fillRule:"nonzero"}),n.createElement("path",{d:"M119.16664 1.25272727c-.016875-.18221767.045768-.36295537.17272-.49833333.243232-.21393452.614272-.21393452.857504 0 .129279.13353172.194239.31385023.178816.49636364.015568.18371514-.049334.36530074-.178816.50030303-.240531.22061195-.616973.22061195-.857504 0-.125769-.13683457-.188192-.31765204-.17272-.50030303v.00196969zm1.111504 8.33378788h-1.02616V3.03136364h1.02616v6.55515151z",fillRule:"nonzero"}),n.createElement("path",{d:"M125.091952 9.70863636c-.979424 0-1.738037-.29217171-2.27584-.87651515-.537803-.58434343-.808736-1.41095959-.8128-2.47984848 0-1.09777778.270933-1.94540404.8128-2.54287879.541867-.59747475 1.318768-.89686869 2.330704-.89818182.327978-.00003668.654999.03430434.97536.10242424.264596.04821437.521943.12827865.766064.23833334l-.31496.845c-.239852-.09267891-.487258-.16581103-.739648-.21863637-.233047-.05421-.471563-.08327549-.7112-.08666666-1.373632 0-2.061125.84959596-2.06248 2.54878788 0 .80494949.167979 1.42343434.503936 1.85545454.33528.42939394.83312.64606061 1.491488.64606061.595961-.00679074 1.184792-.12656681 1.733296-.35257576v.87848485c-.533172.24487796-1.119318.3617557-1.708912.34075757",fillRule:"nonzero"}))))})),Hg=n.forwardRef((function(e,t){const{texts:a}=dr(),r=qa(t),o=l("flex h-full w-full flex-grow items-center overflow-hidden active:outline-none relative",e.className),i=n.createElement(fr,{className:l(Og(),"!bg-transparent aria-expanded:!bg-white/[.08]")},a.header.more);return n.createElement("nav",Object.assign({},e,{className:o,ref:r}),n.createElement($i,{className:"h-full flex-grow items-center gap-1 px-1",moreButton:i},e.children))})),Mg=n.forwardRef((function(e,t){const a=l("flex h-full items-center gap-2 mb-0 flex-shrink-0 mr-2",e.className);return n.createElement("div",Object.assign({},e,{className:a,ref:t}))})),kg=n.forwardRef((function(e,t){const a=l(Ng(!1),"mr-1 !bg-transparent hover:!bg-white/[.08] focus:!bg-white/[.08]] lg:hidden z-[2] !text-white");return n.createElement(or,Object.assign({},e,{className:a,"data-taco":"header-toggle-sidebar",icon:"menu",ref:t}))})),Vg=n.forwardRef((function(e,t){const{src:a,fallbackSrc:r,...o}=e,[i,s]=n.useState(!1),c=l("h-9 w-9 rounded-full shrink-0 group-focus:yt-focus-dark xl:group-focus:shadow-none",{visible:i},e.className);return n.createElement("img",Object.assign({},o,{className:c,src:a,onLoad:()=>s(!0),onError:e=>{e.target.src=r},ref:t}))})),jg=({agreement:e,...t})=>e.isAdministrator?n.createElement(Ga,Object.assign({},t,{color:"blue",small:!0}),"Admin"):e.isDeveloper?n.createElement(Ga,Object.assign({},t,{color:"blue",small:!0}),"Developer"):null,Tg=e=>{const{children:t,className:a,fallbackImageSrc:r,...o}=e,i=l("w-full rounded flex px-2 gap-2 overflow-hidden text-left items-center",a);return n.createElement("span",{className:i},n.createElement(Vg,{fallbackSrc:r,src:o.imageSrc,title:`${o.name} - ${o.number} ${o.userId}`}),n.createElement("span",{className:"flex flex-col overflow-hidden"},n.createElement("span",{className:"flex truncate text-white",title:o.name},n.createElement("span",{className:"truncate"},o.name)," ",o.secure?n.createElement(ya,{name:"secure-tick",className:"mb-0.5 ml-1 mt-0.5 !h-4 !w-4 flex-shrink-0 flex-grow-0"}):null),n.createElement("span",{className:"text-grey-100 whitespace-nowrap text-xs"},o.number," ",o.userId," ",n.createElement(jg,{agreement:o}))),t)},Dg=e=>{const{children:t,currentAgreement:a,fallbackImageSrc:r}=e;if(cu("(min-width: 1280px)",window.innerWidth>1280)){const o=l("h-12 flex-grow xl:[button>&]:hover:bg-white/[0.16]",e.className);return n.createElement(Tg,Object.assign({},a,{children:t,className:o,fallbackImageSrc:r}))}return n.createElement("span",{className:"relative flex h-12 flex-grow items-center pr-2"},n.createElement(Vg,{fallbackSrc:r,src:a.imageSrc,title:`${a.name} - ${a.number} ${a.userId}`}),n.createElement(jg,{agreement:a,className:"absolute right-0 top-0 -mr-1 w-8 !justify-start"}))},Fg=e=>n.createElement("div",{className:"-ml-2 flex flex-shrink-0 flex-grow-0 items-center gap-2 pr-2 xl:ml-auto xl:w-64","data-taco":"header-agreements"},n.createElement("span",{className:"hidden h-8 w-px flex-shrink-0 flex-grow-0 bg-white/[0.3] xl:flex"}),e.children),Pg=e=>t=>{if(!e||!e.length)return!0;const n=String(t.number).indexOf(e)>-1,l=t.name.toLowerCase().indexOf(e.toLowerCase())>-1;return n||l},Bg=(e,t)=>e.number===t.number&&e.userId===t.userId,_g=(e,t,l,a=!1)=>n.createElement("button",{"aria-current":a?"true":void 0,className:"focus:yt-focus-dark w-full rounded outline-none","data-taco":"header-agreements-agreement",key:`${e.number}_${e.userId}`,onClick:()=>l(e),onKeyDown:t=>{"Enter"===t.key&&l(e)},tabIndex:0},n.createElement(Tg,Object.assign({},e,{className:"h-14 bg-white/[0.08] xl:hover:bg-white/[0.16] [[aria-current='true']>&]:bg-white/[0.16]",fallbackImageSrc:t}))),Gg=n.forwardRef((function(e,t){const a=l("bg-blue-900 flex h-16 w-full shrink-0 items-center gap-2 pl-4","[&>*:focus-visible]:yt-focus-dark [&>*]:rounded",e.className);return n.createElement("header",Object.assign({},e,{className:a,ref:t}))}));Gg.AgreementDisplay=function(e){const{currentAgreement:t,fallbackImageSrc:l}=e;return n.createElement(Fg,null,n.createElement(Dg,{currentAgreement:t,fallbackImageSrc:l}))},Gg.AgreementSelector=function(e){const{agreements:t,currentAgreement:l,fallbackImageSrc:a,filterAgreement:r=(()=>!0),filterClientAgreement:o=(()=>!0),onAddAgreement:i,onChangeAgreement:s,onLogout:c,open:d,setOpen:m}=e,{texts:g}=dr(),f=n.useRef(null),[h,v]=w.useControllableState({onChange:m,prop:d}),[p,b]=n.useState("");n.useEffect(()=>{b("")},[h]);const E=e=>{s(e),v(!1)};return n.createElement(Fg,null,n.createElement(u.Root,{open:h,onOpenChange:v},n.createElement(u.Trigger,{className:"xl:focus-visible:yt-focus-dark [&:focus-visible_img]:yt-focus-dark w-full rounded outline-none xl:[&:focus-visible_img]:shadow-none"},n.createElement(Dg,{currentAgreement:l,fallbackImageSrc:a},t?n.createElement(ya,{className:"ml-auto hidden flex-shrink-0 flex-grow-0 text-white xl:flex",name:h?"chevron-up":"chevron-down"}):null)),n.createElement(u.Content,{className:"z-[996] mt-2 flex h-[calc(100vh_-_theme(spacing.16))] w-64 flex-col gap-1 bg-blue-900"},n.createElement(tc,{autoFocus:!0,className:"focus-visible:!yt-focus-dark mx-2 !border-transparent !bg-white/[0.08] !text-white hover:!bg-white/[0.16] hover:!shadow-none focus:!bg-white/[0.16] active:!bg-white/[0.16] [&+div>button]:!text-white",onChange:e=>b(e.target.value),onKeyDown:e=>{var t;"ArrowDown"!==e.key&&"ArrowUp"!==e.key&&"Enter"!==e.key||(e.preventDefault(),null===(t=f.current)||void 0===t||t.dispatchEvent(Dr(e)))},placeholder:g.header.search}),n.createElement(Sc,{querySelector:"button",className:"-my-1 flex w-full flex-grow flex-col gap-1 overflow-auto px-2 py-1 outline-none",ref:f,tabIndex:-1},null==t?void 0:t.filter(e=>r(e,Pg(p))).map(e=>{const t=_g(e,a,E,Bg(e,l));return e.clients?n.createElement("span",{className:"flex flex-col gap-px [&>*:first-child>span]:!rounded-t [&>*:last-child>span]:!rounded-b [&>*>span]:!rounded-none",key:`${e.number}_${e.userId}_clients`},Pg(p)(e)?t:null,e.clients.filter(e=>o(e,p,Pg(p))).map(e=>_g(e,a,E,Bg(e,l)))):t})),i?n.createElement(fr,{className:"focus-visible:!yt-focus-dark my-1 mx-2 !h-9 shrink-0 !bg-white/[0.08] !text-white hover:!bg-white/[0.16]",onClick:i},g.header.addAgreement):null,n.createElement("hr",{className:"my-0 h-px w-full bg-white/[0.08]"}),n.createElement("a",{className:"focus-visible:yt-focus-dark mx-2 mb-2 flex h-8 shrink-0 items-center justify-center rounded text-white hover:cursor-pointer hover:text-white hover:underline focus-visible:outline-none",onClick:c,tabIndex:0},g.header.logout))))},Gg.Button=Sg,Gg.Link=Ag,Gg.Logo=Ig,Gg.LogoLegacy=Lg,Gg.PrimaryNavigation=Hg,Gg.SecondaryNavigation=Mg,Gg.MenuButton=kg;const qg=n.createContext({sidebarOpen:!1,setSidebarOpen:()=>{}}),$g=n.forwardRef((function(e,t){const a=l("flex-grow overflow-y-auto print:overflow-visible print:h-full print:!p-0 bg-white flex flex-shrink flex-col relative",e.className);return n.createElement("main",Object.assign({},e,{className:a,ref:t}))})),Kg=h.motion(Ha),Ug=n.forwardRef((function(e,t){const{children:a,...r}=e,{sidebarOpen:o,setSidebarOpen:i}=n.useContext(qg),s=uu(),c=!s,u=s||o;n.useEffect(()=>{i(s)},[s]),n.useEffect(()=>{const e=e=>{"Escape"===e.key&&(e.preventDefault(),e.stopPropagation(),i(!1))};return c&&o&&window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[c,o]);const d=c&&!0===o,[m,g]=n.useState(c),f=l("bg-grey-50 h-full w-64 flex-shrink-0 flex-grow-0 print:hidden",{"absolute z-10 aria-hidden:-translate-x-64 ":c,invisible:c&&!m,"transition-[transform] duration-300 visible":c&&m,"border-r-2 border-black/[.08] ":!d},e.className);n.useEffect(()=>{setTimeout(()=>{g(c)},1)},[c]);const v="function"==typeof a?a({isLargeScreen:s,open:o,toggleSidebar:()=>i(e=>!e)}):a;return v?n.createElement(n.Fragment,null,n.createElement("nav",Object.assign({},r,{"data-responsive":c,"aria-hidden":!u,className:f,ref:t}),v),n.createElement(h.AnimatePresence,null,d&&n.createElement(Kg,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"z-[1]",onClick:()=>i(!1)}))):null})),Wg=n.forwardRef((function(e,t){const a=l("flex flex-grow overflow-hidden print:overflow-visible print:h-full relative",e.className);return n.createElement("div",Object.assign({},e,{className:a,ref:t}))})),Jg=n.forwardRef((function(e,t){const[a,r]=n.useState(!1),o=l("flex h-screen w-screen flex-col overflow-hidden print:overflow-visible print:h-full relative",e.className);return n.createElement(qg.Provider,{value:{sidebarOpen:a,setSidebarOpen:r}},n.createElement("div",Object.assign({},e,{className:o,ref:t})))}));Jg.Top=e=>{const{setSidebarOpen:t}=n.useContext(qg);return"function"==typeof e.children?e.children({toggleSidebar:()=>t(e=>!e)}):e.children},Jg.Page=Wg,Jg.Sidebar=Ug,Jg.Content=$g;const Yg=n.forwardRef((function(e,t){const{children:a,defaultExpanded:r=!1,heading:o,onClick:i,...s}=e,[c,u]=n.useState(r),d=l("flex w-full cursor-pointer items-center rounded px-3 font-bold text-left leading-8 hover:bg-black/[.06] focus-visible:yt-focus-dark",s.className);return n.createElement("li",Object.assign({},s,{role:"none",className:"[[role=menubar]>&]:px-3",ref:t}),n.createElement("button",{"aria-haspopup":"true","aria-expanded":c,"data-taco":"navigation2-group",className:d,onClick:e=>{u(!c),i&&i(e)},role:"menuitem"},n.createElement(ya,{className:"-ml-2 !h-5 !w-5",name:c?"chevron-down-solid":"chevron-right-solid"}),n.createElement("span",{className:"flex-grow truncate"},o)),n.createElement("ul",{className:l("mb-0 flex flex-col gap-y-px pt-px",{hidden:!c}),role:"menu"},a))})),Qg=()=>l("[[role=menubar]>[data-taco=navigation2-link-item]+&]:mt-2","[[role=menubar]>[data-taco='navigation2-link-item']+&]:border-t-2","[[role=menubar]>[data-taco='navigation2-link-item']+&]:pt-2 ","[[role=menubar]>[data-taco='navigation2-content']+&]:border-t-2","[[role=menubar]>[data-taco='navigation2-content']+&]:pt-2","[[role=menubar]>[data-taco='navigation2-section']+&]:border-t-2","[[role=menubar]>[data-taco='navigation2-section']+&]:pt-2"),Xg=(e=!1)=>l("group relative flex w-full items-center rounded leading-8 !text-black px-2 focus-visible:yt-focus-dark","font-bold [[role=menu]>li>&]:font-normal [[role=menu]>li>&]:pl-5",'[&_[data-taco="icon"]]:!h-5 [&_[data-taco="icon"]]:!w-5','[&>span_[data-taco="badge"]]:mr-2.5 [[role=menu]>li>&>span_[data-taco="badge"]]:mr-2',{"hover:bg-black/[.06] aria-current-page:bg-blue-500/[.1]":!e,"!bg-blue-500 !text-white [&>*]:!text-white":e}),Zg=n.forwardRef((function(e,t){const{active:a,children:r,icon:o,menu:i,onDrop:s,total:c,...u}=e,[d,m]=Ti(s),g=l(Xg(d),u.className),f=l("[[role=menubar]>&]:px-3 border-grey-200",Qg(),{"[&>*]:pointer-events-none":d});return n.createElement("li",Object.assign({},m,{className:f,"data-taco":"navigation2-link-item",role:"none"}),n.createElement("a",Object.assign({},u,{"aria-current":a?"page":void 0,className:g,"data-taco":"navigation2-link",ref:t,role:"menuitem",tabIndex:0}),o?n.createElement(ya,{className:"mr-1.5 [[role=menu]>li>a>&]:-ml-1.5 [[role=menu]>li>a>&]:mr-0.5",name:o}):null,n.createElement("span",{className:"flex flex-grow items-center truncate"},r),i?n.createElement(or,{appearance:"discrete",icon:"more","aria-label":"More",rounded:!0,className:l("-mr-1.5 hidden flex-shrink-0 flex-grow-0 transition-none group-hover:flex aria-expanded:flex",{"absolute right-0 !mr-0.5":void 0!==c}),menu:i,onClick:e=>{e.preventDefault(),e.stopPropagation()}}):null,void 0!==c?n.createElement(Ga,{className:l("flex-shrink-0 flex-grow-0 !font-normal",{'group-hover:hidden [[aria-expanded="true"]+&]:hidden ':i}),color:"transparent"},c):null))})),ef=n.forwardRef((function(e,t){const{children:a,heading:r,...o}=e,i=l("w-full overflow-auto px-3 py-2 flex-grow border-grey-200 bg-grey-50 [[role=menubar]>&:first-child]:pt-0",Qg(),e.className);return n.createElement("li",Object.assign({},o,{className:i,"data-taco":"navigation2-section",ref:t,role:"none"}),r?n.createElement("span",{className:"text-grey-500 mb-px truncate pl-5 text-xs font-bold uppercase leading-8 lg:hidden"},r):null,n.createElement("ul",{className:"mb-0 flex flex-col gap-y-px"},a))})),tf=n.forwardRef((function(e,t){const{children:a,...r}=e,o=l("w-full overflow-auto p-3 mt-auto border-grey-200 flex-shrink-0 z-10 bg-grey-50 [[role=menubar]>&:last-child]:pb-0",Qg(),e.className);return n.createElement("li",Object.assign({},r,{className:o,"data-taco":"navigation2-content",ref:t,role:"none"}),a)})),nf=n.forwardRef((function(e,t){const{children:a,...r}=e,o=l("m-0 py-2 flex flex-col gap-y-px overflow-auto h-full w-full bg-grey-50",e.className);return n.createElement("ul",Object.assign({},r,{className:o,"data-taco":"navigation2",ref:t,role:"menubar",style:{opacity:.999}}),a)}));nf.Group=Yg,nf.Link=Zg,nf.Section=ef,nf.Content=tf,exports.Accordion=Ba,exports.Alert=Ca,exports.AlertDialog=ja,exports.Backdrop=Ha,exports.Badge=Ga,exports.BadgeIcon=za,exports.Banner=mr,exports.Base=rr,exports.Button=fr,exports.Calendar=wr,exports.Card=Er,exports.Checkbox=yr,exports.CollectionPrimitive=Oc,exports.Combobox=Zr,exports.Datepicker=go,exports.Dialog=Co,exports.Drawer=Jo,exports.Field=Qo,exports.Form=Xo,exports.Group=So,exports.Hanger=li,exports.Header=Gg,exports.HoverCard=ii,exports.Icon=ya,exports.IconButton=or,exports.Input=Ir,exports.Layout=Jg,exports.Listbox=ui,exports.LocalizationContext=cr,exports.LocalizationProvider=ur,exports.Menu=Hi,exports.ModeSwitch=Mi,exports.MultiListbox=di,exports.Navigation=_i,exports.Navigation2=nf,exports.OverflowGroup=$i,exports.PaginatedTable=id,exports.Pagination=Ji,exports.Popover=mo,exports.Progress=({duration:e,...t})=>{let a;e&&(a={animationDuration:e+"ms"});const r=l("bg-grey-100 rounded block h-1 overflow-hidden w-full",t.className),o=l("yt-progress__bar block h-1",{"w-full before:h-1 before:bg-grey-300 before:block before:animate-[progress-indeterminate_2s_cubic-bezier(0.4,0,0.2,1)_infinite] before:content-[' ']":!e,"w-0 bg-grey-300 animate-[progress_linear]":e});return n.createElement("span",Object.assign({},t,{"data-taco":"progress",className:r}),n.createElement("span",{className:o,"data-taco":"progress-bar",style:a}))},exports.Provider=e=>{const{children:n,localization:l,settings:a}=e,r=t.useMemo(()=>a,[JSON.stringify(a)]);return t.createElement(ur,{localization:l},t.createElement(ts.Provider,{value:r},t.createElement(o.Provider,null,t.createElement(Zi,null,n))))},exports.RadioGroup=Ni,exports.Report=Vu,exports.SearchInput=tc,exports.SearchInput2=dc,exports.Select=Wi,exports.Select2=ru,exports.Shortcut=fi,exports.Spinner=Mr,exports.Switch=mc,exports.Table=od,exports.Table3=wg,exports.Tabs=bg,exports.TacoContext=ts,exports.Tag=jc,exports.Textarea=xm,exports.Title=ti,exports.ToastProvider=Zi,exports.Tooltip=tr,exports.Tour=Cg,exports.TourStep=Rg,exports.Treeview=ji,exports.VisuallyHidden=_a,exports.WindowedTable=ud,exports.convertRowIndexPathToNumberArray=dd,exports.createShortcutKeyDownHandler=Qa,exports.defaultLocalisationTexts=ir,exports.defaultLocalizationContext=sr,exports.findByValue=zi,exports.fixedForwardRef=ls,exports.format=to,exports.getByRowIndexPath=md,exports.getNavigationLinkClasses=Xg,exports.getNextIndexFromKey=Lr,exports.getParentRowIndexPath=gd,exports.getRadioGroupItemValueAsString=yi,exports.icons=xa,exports.insertChildTableRow=fd,exports.isMacOs=Xa,exports.isPressingMetaKey=Ja,exports.isWeakEqual=eo,exports.mergeRefs=Na,exports.parseFromCustomString=no,exports.parseFromISOString=lo,exports.removeChildTableRow=hd,exports.setByRowIndexPath=(e,t,n)=>{const l=[...e],a=dd(t),r=a.shift();if(a.length){const e=a.map(e=>`subRows[${e}]`).join(".");H(l[r],e,n)}else l[r]=n;return l},exports.shouldTriggerShortcut=Ya,exports.useBoundaryOverflowDetection=(e,t=[])=>{const[l,a]=n.useState(),r=Sr(e,t);return n.useEffect(()=>{if(e.current){const t=$a(e.current);a(t)}},[e,null==r?void 0:r.width,...t]),l},exports.useBoundingClientRectListener=Sr,exports.useDropTarget=Ti,exports.useIntersectionObserver=Gi,exports.useIsLargeScreen=uu,exports.useLazyEffect=ks,exports.useListKeyboardNavigation=(e=0,t={direction:"vertical"})=>{const[l,a]=n.useState(t.initialIndex);return[l,a,n=>{const a=Lr(n.key,e,l,t.direction);return void 0!==a&&n.preventDefault(),a}]},exports.useListScrollTo=Hr,exports.useLocalization=dr,exports.useMatchMedia=cu,exports.useMergedRef=qa,exports.useOnClickOutside=(e,t)=>{n.useEffect(()=>{const n=n=>{(Array.isArray(e)?e:[e]).some(e=>!e.current||e.current.contains(n.target))||t(n)};return document.addEventListener("mousedown",n),document.addEventListener("touchstart",n),()=>{document.removeEventListener("mousedown",n),document.removeEventListener("touchstart",n)}},[e,t])},exports.usePagination=(e=0,t=10)=>{const[l,a]=n.useState(e),[r,o]=n.useState(t);return{pageIndex:l,pageSize:r,setPageIndex:a,setPageSize:o}},exports.useRadioGroup=Si,exports.useTable3DataLoader=function(e,t,l={pageSize:100}){const{pageSize:a}=l,r=n.useRef(void 0),[o,i]=n.useState([]),s=n.useRef({}),c=n.useRef([]),u=n.useRef([]),d=n.useRef(),m=n.useRef(!1),g=function(t,n,l,o){try{let g=!1;if((m.current||o!==d.current||JSON.stringify(n)!==JSON.stringify(c.current)||JSON.stringify(l)!==JSON.stringify(u.current))&&(s.current={},g=!0),s.current[t])return Promise.resolve();s.current[t]=!0,m.current=!1,c.current=n,u.current=l,d.current=o;const f=Is((function(){return Os((function(){return Promise.resolve(e(t,a,n,l,o)).then((function(e){i(n=>{let l;return g||r.current!==e.length?(r.current=e.length,l=Array(r.current).fill(void 0)):l=[...n],l.splice(t*a,a,...e.data),l})}))}),(function(){}))}),(function(e,n){if(s.current[t]=!1,e)throw n;return n}));return Promise.resolve(f&&f.then?f.then((function(){})):void 0)}catch(e){return Promise.reject(e)}};return[{data:o,length:r.current,loadAll:function(e,n,l){try{const a=Os((function(){return Promise.resolve(t(e,n,l)).then((function(e){r.current=e.length,i(()=>{let t;return e.data.length!==e.length?(t=Array(e.length).fill(void 0),t.splice(0,e.data.length,...e.data)):t=[...e.data],t})}))}),(function(){}));return Promise.resolve(a&&a.then?a.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},loadPage:g,onFilter:function(e){try{return g(0,c.current,e,d.current)}catch(e){return Promise.reject(e)}},onSort:function(e){try{return g(0,e,u.current,d.current)}catch(e){return Promise.reject(e)}},pageSize:a},function(){try{return m.current=!0,g(0,c.current,u.current,d.current)}catch(e){return Promise.reject(e)}}]},exports.useTableRowCreation=(e,t)=>{const[l,a]=n.useState(JSON.parse(JSON.stringify(e))),[r,o]=n.useState(void 0);return n.useEffect(()=>{if(void 0!==r){const n=md(l,r),i=gd(r),[s,c]=fd(JSON.parse(JSON.stringify(e)),i,n);o(c),a(s),null!=t&&t.current&&t.current.instance.toggleRowEditing(null==n?void 0:n._createKey)}else a(e)},[JSON.stringify(e)]),{data:l,create:(e,n={})=>{const r=c.v4(),[i,s]=fd(l,e,{...n,_createKey:r});return o(s),a(i),null!=t&&t.current&&t.current.instance.toggleRowEditing(r),s},remove:e=>{const t=hd(l,e);a(t),o(void 0)},isCreating:void 0!==r}},exports.useToast=es;
1
+ "use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react"),n=e(t),l=e(require("clsx")),a=require("@radix-ui/react-alert-dialog"),r=require("@radix-ui/react-accordion"),o=require("@radix-ui/react-tooltip"),i=e(require("react-day-picker")),s=require("@radix-ui/react-checkbox"),c=require("uuid"),u=require("@radix-ui/react-popover"),d=e(require("lodash/debounce")),m=require("date-fns"),g=require("@radix-ui/react-dialog"),f=require("@react-aria/interactions"),h=require("framer-motion"),v=require("@react-aria/focus"),p=require("@radix-ui/react-scroll-area"),w=require("@radix-ui/react-use-controllable-state"),b=require("@radix-ui/react-hover-card"),E=require("@radix-ui/react-dropdown-menu"),x=require("@radix-ui/react-radio-group"),y=require("@radix-ui/react-switch"),z=require("@tanstack/react-table"),R=require("@dnd-kit/core"),C=require("@dnd-kit/sortable"),S=require("@dnd-kit/utilities"),N=require("@tanstack/react-virtual"),A=require("react-intersection-observer"),O=require("react-table"),I=require("react-window"),L=e(require("react-window-infinite-loader")),H=e(require("lodash/set")),M=e(require("lodash/unset")),k=e(require("lodash/get")),V=e(require("lodash/compact")),j=e(require("lodash/pullAt")),T=e(require("react-dom")),D=e(require("lodash")),F=require("react-virtual"),P=require("@radix-ui/react-tabs"),B=require("react-joyride"),_=e(B);const G=["green","yellow","red","blue","purple","brown","pink","orange","grey","transparent"],q=e=>{switch(e){case"information":return"blue";case"warning":return"yellow";case"error":return"red";case"success":return"green";default:return"grey"}},$=e=>{switch(e){case"green":return"border-green-700 text-green-700";case"yellow":return"border-yellow-700 text-yellow-700";case"red":return"border-red-500 text-red-500";case"blue":return"border-blue-500 text-blue-500";case"purple":return"border-purple-700 text-purple-700";case"brown":return"border-brown-700 text-brown-700";case"pink":return"border-pink-700 text-pink-700";case"orange":return"border-orange-700 text-orange-700";case"transparent":case"grey":default:return"border-grey-700 text-grey-700"}},K=e=>{switch(e){case"green":return"wcag-green-100";case"yellow":return"wcag-yellow-100";case"red":return"wcag-red-100";case"blue":return"wcag-blue-100";case"purple":return"wcag-purple-100";case"brown":return"wcag-brown-100";case"pink":return"wcag-pink-100";case"orange":return"wcag-orange-100";case"transparent":return"wcag-transparent";case"grey":default:return"wcag-grey-200"}},U=e=>{switch(e){case"green":return"wcag-green-700";case"yellow":return"wcag-yellow-500";case"red":return"wcag-red-500";case"blue":return"wcag-blue-500";case"purple":return"wcag-purple-700";case"brown":return"wcag-brown-700";case"pink":return"wcag-pink-500";case"orange":return"wcag-orange-700";case"transparent":return"wcag-transparent";case"grey":default:return"wcag-grey-700"}};function W(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75V11h-1.5V4.75a.25.25 0 00-.193-.243L19.25 4.5H4.75a.25.25 0 00-.243.193L4.5 4.75v14.5a.25.25 0 00.193.243l.057.007H11V21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm-4.5 7.25a4.5 4.5 0 013.632 7.158l.036-.05 2.362 2.362a.75.75 0 01-.976 1.133l-.084-.073-2.363-2.362-.112.077a4.5 4.5 0 11-2.495-8.245zm0 1.5a3 3 0 100 6 3 3 0 000-6zm-7 3.25a.75.75 0 110 1.5h-.5a.75.75 0 110-1.5h.5zm0-4a.75.75 0 110 1.5h-.5a.75.75 0 110-1.5h.5zm9-4a.75.75 0 110 1.5h-6.5a.75.75 0 010-1.5h6.5zm-9 0a.75.75 0 010 1.5h-.5a.75.75 0 010-1.5h.5z",fill:"currentColor",fillRule:"evenodd"}))}function J(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M4.5 16.25v3a.25.25 0 00.193.243l.057.007H13V21H4.75A1.75 1.75 0 013 19.25v-3h1.5zm4.946-6.103l.084.073 3 3a.75.75 0 01.073.976l-.073.084-3 3a.75.75 0 01-1.133-.976l.073-.084 1.718-1.72H3.75a.75.75 0 01-.102-1.493L3.75 13h6.44l-1.72-1.72a.75.75 0 01-.073-.976l.073-.084a.75.75 0 01.976-.073zM16.25 2a.75.75 0 01.75.75V3h2.25c.966 0 1.75.784 1.75 1.75V13h-1.5V8h-15v3.25H3v-6.5C3 3.784 3.784 3 4.75 3H7v-.25a.75.75 0 011.5 0V3h7v-.25a.75.75 0 01.75-.75zM7 4.5H4.75a.25.25 0 00-.243.193L4.5 4.75V6.5h15V4.75a.25.25 0 00-.193-.243L19.25 4.5H17v.25a.75.75 0 11-1.5 0V4.5h-7v.25a.75.75 0 01-1.5 0V4.5zm12.804 10.147a.75.75 0 011.049 1.05l-.073.083-1.969 1.97 1.97 1.97a.75.75 0 01-.977 1.133l-.084-.073-1.97-1.969-1.97 1.97-.084.072a.75.75 0 01-1.049-1.05l.073-.083 1.969-1.97-1.97-1.97a.75.75 0 01.977-1.133l.084.073 1.97 1.969 1.97-1.97.084-.072z",fill:"currentColor",fillRule:"evenodd"}))}function Y(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.25 2a.75.75 0 01.75.75V3h2.25c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25v-3h1.5v3a.25.25 0 00.193.243l.057.007h14.5a.25.25 0 00.243-.193l.007-.057V8h-15v3.25H3v-6.5C3 3.784 3.784 3 4.75 3H7v-.25a.75.75 0 011.5 0V3h7v-.25a.75.75 0 01.75-.75zm-6.804 8.147l.084.073 3 3a.75.75 0 01.073.976l-.073.084-3 3a.75.75 0 01-1.133-.976l.073-.084 1.719-1.72H3.75a.75.75 0 01-.102-1.493L3.75 13h6.439l-1.72-1.72a.75.75 0 01-.072-.976l.073-.084a.75.75 0 01.976-.073zM7 4.5H4.75a.25.25 0 00-.243.193L4.5 4.75V6.5h15V4.75a.25.25 0 00-.193-.243L19.25 4.5H17v.25a.75.75 0 11-1.5 0V4.5h-7v.25a.75.75 0 01-1.5 0V4.5z",fill:"currentColor",fillRule:"evenodd"}))}function Q(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.25 2c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h12.5zM13 17.5H6.5a.5.5 0 00-.492.41L6 18v1.5a.5.5 0 00.41.492L6.5 20H13a.5.5 0 00.492-.41l.008-.09V18a.5.5 0 00-.41-.492L13 17.5zm4.5 0h-2a.5.5 0 00-.492.41L15 18v1.5a.5.5 0 00.41.492l.09.008h2a.5.5 0 00.492-.41L18 19.5V18a.5.5 0 00-.41-.492l-.09-.008zm-9-3.5h-2a.5.5 0 00-.492.41L6 14.5V16a.5.5 0 00.41.492l.09.008h2a.5.5 0 00.492-.41L9 16v-1.5a.5.5 0 00-.41-.492L8.5 14zm9 0h-2a.5.5 0 00-.492.41L15 14.5V16a.5.5 0 00.41.492l.09.008h2a.5.5 0 00.492-.41L18 16v-1.5a.5.5 0 00-.41-.492L17.5 14zM13 14h-2a.5.5 0 00-.492.41l-.008.09V16a.5.5 0 00.41.492l.09.008h2a.5.5 0 00.492-.41L13.5 16v-1.5a.5.5 0 00-.41-.492L13 14zm-4.5-3.5h-2a.5.5 0 00-.492.41L6 11v1.5a.5.5 0 00.41.492L6.5 13h2a.5.5 0 00.492-.41L9 12.5V11a.5.5 0 00-.41-.492L8.5 10.5zm9 0h-2a.5.5 0 00-.492.41L15 11v1.5a.5.5 0 00.41.492l.09.008h2a.5.5 0 00.492-.41L18 12.5V11a.5.5 0 00-.41-.492l-.09-.008zm-4.5 0h-2a.5.5 0 00-.492.41L10.5 11v1.5a.5.5 0 00.41.492L11 13h2a.5.5 0 00.492-.41l.008-.09V11a.5.5 0 00-.41-.492L13 10.5zM17.5 4h-11a.5.5 0 00-.492.41L6 4.5V8a.5.5 0 00.41.492l.09.008h11a.5.5 0 00.492-.41L18 8V4.5a.5.5 0 00-.41-.492L17.5 4zm-1 1a.5.5 0 01.5.5V7a.5.5 0 01-.5.5h-1A.5.5 0 0115 7V5.5a.5.5 0 01.5-.5h1z",fill:"currentColor",fillRule:"evenodd"}))}function X(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.823 2.122a.188.188 0 01.352 0l.874 2.364c.02.051.06.092.111.11l2.364.875a.188.188 0 010 .352l-2.364.875a.188.188 0 00-.11.11l-.875 2.364a.188.188 0 01-.352 0l-.875-2.364a.187.187 0 00-.11-.11l-2.364-.875a.188.188 0 010-.352l2.364-.874a.187.187 0 00.11-.111l.875-2.364zm1.667 7a.188.188 0 01.351 0l.515 1.39a.19.19 0 00.11.112l1.39.514a.188.188 0 010 .352l-1.39.514a.188.188 0 00-.11.111l-.515 1.39a.187.187 0 01-.351 0l-.515-1.39a.187.187 0 00-.11-.11l-1.391-.515a.188.188 0 010-.352l1.39-.514a.187.187 0 00.111-.111l.515-1.39zm-5.363-2.36c-.889-.328-1.014-1.455-.374-2.008a12.291 12.291 0 00-3.864-.606C5.979 4.148 2 6.884 2 10.26c0 2.393 1.999 4.463 4.91 5.467L4.513 19.99a.556.556 0 00.832.706l5.406-4.325.426-.003c3.493-.076 6.477-1.538 7.829-3.612l-.879-.325c-1.034-.383-1.034-1.845 0-2.228l.234-.086a1.168 1.168 0 01-.476-.595l-.745-2.013-2.013-.745z",fill:"currentColor"}))}function Z(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("mask",{id:"ai-stars_svg__a",fill:"#fff"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.324 2.476a.188.188 0 01.351 0l.875 2.364c.019.05.06.091.11.11l2.364.875a.188.188 0 010 .352l-2.363.874a.187.187 0 00-.111.11l-.875 2.365a.188.188 0 01-.351 0l-.875-2.364a.188.188 0 00-.11-.11l-2.364-.875a.188.188 0 010-.352l2.363-.875a.188.188 0 00.111-.11l.875-2.364zM8.226 4.931c.266-.719 1.281-.719 1.547 0l1.566 4.23 4.23 1.566c.719.266.719 1.282 0 1.547l-4.23 1.566-1.566 4.23c-.266.72-1.281.72-1.547 0L6.66 13.84l-4.23-1.566c-.719-.265-.719-1.281 0-1.547l4.23-1.566 1.566-4.23zM9 7.16L7.96 9.974a.825.825 0 01-.488.487L4.66 11.5l2.81 1.041a.825.825 0 01.488.487L9 15.84l1.04-2.812a.825.825 0 01.488-.487l2.811-1.04-2.81-1.04a.825.825 0 01-.488-.488L9 7.162zm8.675 7.315a.188.188 0 00-.351 0l-.875 2.364a.188.188 0 01-.11.11l-2.364.875a.188.188 0 000 .352l2.363.874c.052.02.092.06.111.11l.875 2.364c.06.164.291.164.351 0l.875-2.363a.187.187 0 01.11-.11l2.364-.875a.188.188 0 000-.352l-2.363-.875a.187.187 0 01-.111-.11l-.875-2.364z"})),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.324 2.476a.188.188 0 01.351 0l.875 2.364c.019.05.06.091.11.11l2.364.875a.188.188 0 010 .352l-2.363.874a.187.187 0 00-.111.11l-.875 2.365a.188.188 0 01-.351 0l-.875-2.364a.188.188 0 00-.11-.11l-2.364-.875a.188.188 0 010-.352l2.363-.875a.188.188 0 00.111-.11l.875-2.364zM8.226 4.931c.266-.719 1.281-.719 1.547 0l1.566 4.23 4.23 1.566c.719.266.719 1.282 0 1.547l-4.23 1.566-1.566 4.23c-.266.72-1.281.72-1.547 0L6.66 13.84l-4.23-1.566c-.719-.265-.719-1.281 0-1.547l4.23-1.566 1.566-4.23zM9 7.16L7.96 9.974a.825.825 0 01-.488.487L4.66 11.5l2.81 1.041a.825.825 0 01.488.487L9 15.84l1.04-2.812a.825.825 0 01.488-.487l2.811-1.04-2.81-1.04a.825.825 0 01-.488-.488L9 7.162zm8.675 7.315a.188.188 0 00-.351 0l-.875 2.364a.188.188 0 01-.11.11l-2.364.875a.188.188 0 000 .352l2.363.874c.052.02.092.06.111.11l.875 2.364c.06.164.291.164.351 0l.875-2.363a.187.187 0 01.11-.11l2.364-.875a.188.188 0 000-.352l-2.363-.875a.187.187 0 01-.111-.11l-.875-2.364z",fill:"currentColor"}),t.createElement("path",{d:"M17.675 2.476l.704-.26-.704.26zm-.351 0l-.704-.26.704.26zM18.55 4.84l.703-.26-.703.26zm.11.11l-.26.704.26-.704zm2.364.875l.26-.704-.26.704zm0 .352l-.26-.704.26.704zm-2.363.874l-.26-.703.26.703zm-.111.11l.703.261-.703-.26zm-.875 2.365l.704.26-.704-.26zm-.351 0l-.704.26.704-.26zm-.875-2.364l.703-.26-.703.26zm-.11-.11l.26-.704-.26.703zm-2.364-.875l-.26.703.26-.703zm0-.352l-.26-.704.26.704zm2.363-.875l.26.704-.26-.704zm.111-.11l.703.26-.703-.26zm-6.676.09l-.703.26.703-.26zm-1.547 0l.703.26-.703-.26zm3.113 4.231l-.704.26.12.324.323.12.26-.704zm4.23 1.566l-.26.703.26-.703zm0 1.547l-.26-.703.26.704zm-4.23 1.566l-.26-.703-.324.12-.12.323.704.26zm-1.566 4.23l-.703-.26.703.26zm-1.547 0l.703-.26-.703.26zM6.66 13.84l.704-.26-.12-.324-.324-.12-.26.704zm-4.23-1.566l.26-.703-.26.704zm0-1.547l.26.703-.26-.703zm4.23-1.566l.26.704.324-.12.12-.323-.704-.26zm1.3.812l.703.26-.704-.26zM9 7.162l.703-.26L9 5l-.704 1.9.704.26zM7.472 10.46l-.26-.703.26.704zM4.66 11.5l-.26-.703-1.901.704 1.9.703.26-.703zm2.81 1.041l.261-.703-.26.703zm.488.487l.704-.26-.704.26zM9 15.84l-.703.26L9 18l.703-1.9L9 15.84zm1.04-2.812l.704.26-.703-.26zm.488-.487l-.26-.703.26.703zm2.811-1.04l.26.703 1.901-.703-1.9-.704-.26.704zm-2.81-1.04l.26-.704-.26.704zm-.488-.488l.703-.26-.703.26zm7.284 4.503l-.704-.26.704.26zm.351 0l.704-.26-.704.26zM16.45 16.84l.703.26-.703-.26zm-.11.11l.26.704-.26-.704zm-2.364.875l-.26-.703.26.703zm0 .352l.26-.704-.26.704zm2.363.874l-.26.704.26-.704zm.111.11l.703-.26-.703.26zm.875 2.364l-.704.26.704-.26zm.351 0l.704.26-.704-.26zm.875-2.363l.703.26-.703-.26zm.11-.11l.261.703-.26-.704zm2.364-.875l.26.703-.26-.703zm0-.352l.26-.703-.26.703zm-2.363-.875l-.26.704.26-.704zm-.111-.11l.703-.26-.703.26zM18.38 2.216c-.302-.817-1.457-.817-1.759 0l1.407.52a.563.563 0 01-1.055 0l1.407-.52zm.874 2.363l-.874-2.363-1.407.52.875 2.364 1.406-.52zm-.332-.332a.562.562 0 01.332.332l-1.406.52a.937.937 0 00.553.555l.521-1.407zm2.364.874l-2.364-.874-.52 1.407 2.363.874.52-1.407zm0 1.759c.816-.302.816-1.456 0-1.759l-.521 1.407a.563.563 0 010-1.055l.52 1.407zm-2.364.875l2.364-.875-.521-1.407-2.363.875.52 1.407zm.332-.333a.562.562 0 01-.332.333l-.52-1.407a.937.937 0 00-.554.554l1.406.52zm-.874 2.364l.874-2.364-1.406-.52-.875 2.363 1.407.52zm-1.759 0c.302.816 1.457.816 1.759 0l-1.407-.52a.563.563 0 011.055 0l-1.407.52zm-.874-2.364l.874 2.364 1.407-.52-.875-2.364-1.406.52zm.332.333a.562.562 0 01-.332-.333l1.406-.52a.938.938 0 00-.553-.554l-.521 1.407zm-2.364-.875l2.364.875.52-1.407-2.363-.875-.52 1.407zm0-1.759c-.816.303-.816 1.457 0 1.759l.521-1.407c.49.181.49.874 0 1.055l-.52-1.407zm2.364-.874l-2.364.874.521 1.407 2.364-.874-.521-1.407zm-.332.332a.562.562 0 01.332-.332l.52 1.407a.938.938 0 00.555-.554l-1.407-.52zm.874-2.363l-.874 2.363 1.406.52.875-2.363-1.407-.52zM10.477 4.67c-.508-1.37-2.447-1.37-2.955 0l1.407.52a.1.1 0 01.015-.027.041.041 0 01.01-.01A.085.085 0 019 5.142c.021 0 .037.006.045.011a.041.041 0 01.01.01.1.1 0 01.015.028l1.407-.52zm1.565 4.231l-1.565-4.23-1.407.52 1.565 4.23 1.407-.52zm3.788 1.123L11.6 8.458l-.521 1.407 4.23 1.565.521-1.406zm0 2.954c1.371-.508 1.371-2.447 0-2.954l-.52 1.406a.103.103 0 01.028.015.044.044 0 01.009.01.084.084 0 01.011.046.084.084 0 01-.011.045.04.04 0 01-.01.01.102.102 0 01-.028.015l.521 1.407zm-4.23 1.565l4.23-1.565-.52-1.407-4.232 1.566.521 1.406zm-1.123 3.788l1.565-4.23-1.407-.521-1.565 4.23 1.407.521zm-2.955 0c.508 1.371 2.447 1.371 2.955 0l-1.407-.52a.1.1 0 01-.015.028.04.04 0 01-.01.009.085.085 0 01-.045.012.085.085 0 01-.046-.012.04.04 0 01-.01-.01.1.1 0 01-.015-.027l-1.407.52zm-1.565-4.23l1.565 4.23 1.407-.52-1.565-4.231-1.407.52zm-3.788-1.123l4.23 1.565.521-1.406-4.23-1.566-.521 1.407zm0-2.954c-1.371.507-1.371 2.446 0 2.954l.52-1.407a.1.1 0 01-.028-.015.04.04 0 01-.009-.01.085.085 0 01-.011-.045.09.09 0 01.011-.046.043.043 0 01.01-.01.099.099 0 01.028-.015l-.521-1.406zm4.23-1.566l-4.23 1.566.52 1.406L6.92 9.865 6.4 8.458zM7.523 4.67L5.957 8.901l1.407.52 1.565-4.23-1.407-.52zm1.14 5.563l1.04-2.81-1.406-.521-1.04 2.81 1.407.521zm-.93.93c.431-.159.771-.498.93-.93l-1.406-.52a.075.075 0 01-.044.044l.52 1.407zm-2.811 1.041l2.811-1.04-.52-1.407-2.812 1.04.52 1.407zm2.811-.366l-2.811-1.04-.52 1.406 2.81 1.04.521-1.406zm.93.93a1.574 1.574 0 00-.93-.93l-.52 1.406c.02.008.036.024.044.045l1.407-.52zm1.04 2.811l-1.04-2.81-1.406.52 1.04 2.81 1.407-.52zm-.366-2.81l-1.04 2.81 1.407.52 1.04-2.81-1.407-.52zm.93-.931c-.43.16-.77.499-.93.93l1.407.52a.075.075 0 01.044-.044l-.52-1.406zm2.812-1.04l-2.811 1.04.52 1.406 2.812-1.04-.52-1.407zm-2.811.366l2.811 1.04.52-1.407-2.81-1.04-.521 1.407zm-.93-.93c.159.43.499.77.93.93l.52-1.407a.075.075 0 01-.044-.044l-1.407.52zm-1.04-2.812l1.04 2.811 1.406-.52-1.04-2.811-1.407.52zm9.73 7.314a.563.563 0 01-1.055 0l1.407-.52c-.302-.816-1.457-.816-1.759 0l1.407.52zm-.875 2.364l.875-2.364-1.407-.52-.874 2.363 1.406.52zm-.553.554a.938.938 0 00.553-.554l-1.406-.52a.563.563 0 01.332-.333l.52 1.407zm-2.364.874l2.364-.874-.521-1.407-2.364.875.521 1.406zm0-1.055c.49.181.49.874 0 1.055l-.52-1.406c-.817.302-.817 1.456 0 1.758l.52-1.407zm2.364.875l-2.364-.875-.52 1.407 2.363.875.52-1.407zm.553.554a.938.938 0 00-.553-.554l-.521 1.407a.563.563 0 01-.332-.333l1.406-.52zm.875 2.363l-.875-2.363-1.406.52.874 2.364 1.407-.52zm-1.055 0a.563.563 0 011.055 0l-1.407.52c.302.817 1.457.817 1.759 0l-1.407-.52zm.875-2.363l-.875 2.363 1.407.52.874-2.363-1.406-.52zm.553-.554a.937.937 0 00-.553.554l1.406.52a.562.562 0 01-.332.333l-.52-1.407zm2.364-.875l-2.363.875.52 1.407 2.364-.875-.521-1.407zm0 1.055a.563.563 0 010-1.055l.52 1.407c.817-.302.817-1.456 0-1.758l-.52 1.406zm-2.363-.874l2.363.874.52-1.406-2.363-.875-.52 1.407zm-.554-.554a.938.938 0 00.553.554l.521-1.407a.562.562 0 01.332.332l-1.406.52zm-.875-2.364l.875 2.364 1.406-.52-.874-2.364-1.407.52z",fill:"currentColor",mask:"url(#ai-stars_svg__a)"}))}function ee(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M8.25 18h7.5a.75.75 0 110 1.5h-7.5a.75.75 0 110-1.5zM12 4.5a.75.75 0 01.743.648l.007.102v8.189l2.22-2.22a.75.75 0 011.133.977l-.073.084-3.5 3.5a.754.754 0 01-.078.069l.078-.069-.042.04-.052.04-.114.068-.098.038-.084.02-.088.012L12 16l-.029-.002h-.023l-.021-.003-.054-.006-.07-.015-.072-.024-.1-.047-.082-.054-.08-.069-3.5-3.5a.75.75 0 01.977-1.133l.084.073 2.22 2.219V5.25A.75.75 0 0112 4.5z",fill:"currentColor",fillRule:"evenodd"}))}function te(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 6.25a.75.75 0 01.743.648L12.75 7l-.001 8.189 2.22-2.22a.75.75 0 011.134.977l-.073.084-3.5 3.5-.038.036-.046.037h-.002l-.008.007-.081.051-.134.056-.085.02-.084.011h-.103l-.12-.018-.12-.039-.078-.038-.082-.054-.08-.069-3.5-3.5a.75.75 0 01.977-1.133l.084.073 2.219 2.218L11.25 7a.75.75 0 01.75-.75z",fill:"currentColor",fillRule:"evenodd"}))}function ne(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.75 7.5a.75.75 0 01.75.75v7.5a.75.75 0 11-1.5 0v-7.5a.75.75 0 01.75-.75zm-6.554.397l.084.073 3.5 3.5c.025.024.048.05.069.078l-.069-.078.04.042.04.052.068.114.038.098.02.084.012.088v.104l-.018.119-.03.098-.047.1-.032.051-.027.038-.064.072-3.5 3.5a.75.75 0 01-1.133-.976l.073-.084 2.219-2.22H5.25a.75.75 0 01-.102-1.493l.102-.007h8.189l-2.22-2.22a.75.75 0 01.977-1.133z",fill:"currentColor",fillRule:"evenodd"}))}function le(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11.03 7.97a.75.75 0 01.073.976l-.073.084-2.219 2.219L17 11.25a.75.75 0 01.102 1.493L17 12.75l-8.19-.001 2.22 2.22a.75.75 0 01-.976 1.134l-.084-.073-3.5-3.5-.08-.094-.051-.081-.05-.116-.027-.103-.01-.089v-.094l.018-.124.03-.099.047-.099.054-.082.069-.08 3.5-3.5a.75.75 0 011.06 0z",fill:"currentColor",fillRule:"evenodd"}))}function ae(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.946 7.897l.084.073 3.5 3.5.036.038.044.056.051.081.05.116.027.103.01.084v.103l-.018.12-.039.12-.038.078-.06.09-.063.071-3.5 3.5a.75.75 0 01-1.133-.976l.073-.084 2.218-2.22H7a.75.75 0 01-.102-1.493L7 11.25h8.189l-2.22-2.22a.75.75 0 01.977-1.133z",fill:"currentColor",fillRule:"evenodd"}))}function re(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.25 7.5a.75.75 0 01.75.75v7.5a.75.75 0 11-1.5 0v-7.5a.75.75 0 01.75-.75zm7.53.47a.75.75 0 01.073.976l-.073.084-2.219 2.22h8.189a.75.75 0 01.102 1.493l-.102.007h-8.189l2.22 2.22a.75.75 0 01-.977 1.133l-.084-.073-3.5-3.5-.055-.06-.046-.065-.049-.088-.044-.12-.018-.089L8 11.965l.019-.136.03-.098.047-.1.054-.082.069-.08 3.5-3.5a.75.75 0 011.06 0z",fill:"currentColor",fillRule:"evenodd"}))}function oe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11.86 8.013l.067-.01.125-.001.119.018.098.03.1.047.051.032.038.027.072.064 3.5 3.5a.75.75 0 01-.976 1.133l-.084-.073-2.22-2.219v8.189a.75.75 0 01-1.493.102l-.007-.102v-8.189l-2.22 2.22a.75.75 0 01-1.133-.977l.073-.084 3.5-3.5.042-.04.052-.04.114-.068.098-.038.084-.02zM15.75 4.5a.75.75 0 110 1.5h-7.5a.75.75 0 010-1.5h7.5z",fill:"currentColor",fillRule:"evenodd"}))}function ie(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11.864 6.262l.089-.01h.095l.123.018.12.039.078.038.09.06.071.063 3.5 3.5a.75.75 0 01-.976 1.133l-.084-.073-2.22-2.219V17a.75.75 0 01-1.493.102L11.25 17V8.81l-2.22 2.22a.75.75 0 01-1.133-.976l.073-.084 3.5-3.5.094-.08.081-.051.134-.056.085-.02z",fill:"currentColor",fillRule:"evenodd"}))}function se(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7.916 10.159l1.06 1.06-2.663 2.665a3.75 3.75 0 005.159 5.44l.144-.137 6.657-6.657a.75.75 0 011.128.984l-.067.077-6.657 6.657a5.25 5.25 0 01-7.575-7.269l.15-.156 2.664-2.664zm11.771-6.468a3.75 3.75 0 01.137 5.16l-.137.144-9.132 9.132a2.25 2.25 0 01-3.287-3.07l.105-.112 6.657-6.657a.75.75 0 011.128.984l-.067.076-6.657 6.657a.75.75 0 00.984 1.128l.077-.067 9.132-9.132a2.25 2.25 0 00-3.07-3.287l-.112.105-2.933 2.932-1.061-1.061 2.933-2.932a3.75 3.75 0 015.303 0zM4 9a2 2 0 002 2 2 2 0 00-1.995 1.85L4 13l-.004-.132A2 2 0 002 11a2 2 0 002-2zm6-2.5a2 2 0 002 2 2 2 0 00-1.995 1.85L10 10.5l-.004-.132A2 2 0 008 8.5a2 2 0 002-2zM6.5 2c0 2.21 2.015 4 4.5 4-2.412 0-4.381 1.687-4.495 3.806L6.5 10l-.01-.263C6.338 7.65 4.386 6 2 6c2.485 0 4.5-1.79 4.5-4z",fill:"currentColor",fillRule:"evenodd"}))}function ce(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.026 18.467a.75.75 0 01-.977 1.133l-.084-.073-2.288-2.288-3.005 3.006a5.25 5.25 0 01-7.574-7.269l.15-.156 3.005-3.005-2.288-2.288a.75.75 0 01.977-1.133l.084.073 12 12zm-9.713-7.592l-3.005 3.006a3.75 3.75 0 005.16 5.44l.144-.137 3.005-3.005-1.061-1.061-3.005 3.005a2.25 2.25 0 01-3.287-3.069l.105-.113 3.005-3.005-1.061-1.061zm2.122 2.122L8.43 16.002a.75.75 0 00.984 1.128l.076-.067 3.005-3.006-1.06-1.06zm7.894-.47a.75.75 0 01.067.984l-.067.077-1.53 1.53-1.061-1.061 1.53-1.53a.75.75 0 011.061 0zm.354-8.839a3.75 3.75 0 01.137 5.16l-.137.144-4.006 4.004-1.06-1.06 4.005-4.005a2.25 2.25 0 00-3.07-3.287l-.112.105-4.005 4.005-1.061-1.061 4.005-4.005a3.75 3.75 0 015.304 0zm-4.596 4.597a.75.75 0 01.067.983l-.067.077-1.531 1.53-1.061-1.061 1.53-1.53a.75.75 0 011.062 0z",fill:"currentColor",fillRule:"evenodd"}))}function ue(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.38 3.688a3.75 3.75 0 015.44 5.16l-.137.144-9.132 9.131a2.25 2.25 0 01-3.287-3.069l.105-.113 6.657-6.656a.75.75 0 011.128.983l-.068.077-6.656 6.657a.75.75 0 00.984 1.128l.076-.067 9.132-9.132a2.25 2.25 0 00-3.07-3.287l-.112.105-9.132 9.132a3.75 3.75 0 005.16 5.44l.144-.137 1.934-1.935a6.062 6.062 0 00.09 2.031l-.964.965a5.25 5.25 0 01-7.574-7.269l.15-.156 9.131-9.132zM22 18a4.5 4.5 0 10-9 0 4.5 4.5 0 009 0zm-5.243-2.852a.75.75 0 011.493.102v3.5l-.007.102a.75.75 0 01-1.493-.102v-3.5l.007-.102zM17.5 20a.75.75 0 100 1.5.75.75 0 000-1.5z",fill:"currentColor"}))}function de(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.38 3.688a3.75 3.75 0 015.44 5.16l-.137.144-9.132 9.131a2.25 2.25 0 01-3.287-3.069l.105-.113 6.657-6.656a.75.75 0 011.128.983l-.067.077-6.657 6.657a.75.75 0 00.984 1.128l.076-.067 9.132-9.132a2.25 2.25 0 00-3.07-3.287l-.112.105-9.132 9.132a3.75 3.75 0 005.16 5.44l.144-.137 6.657-6.657a.75.75 0 011.127.984l-.067.077-6.657 6.657a5.25 5.25 0 01-7.574-7.269l.15-.156 9.131-9.132z",fill:"currentColor",fillRule:"evenodd"}))}function me(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.75 5.75a.25.25 0 00-.193-.243L14.5 5.5H14a.75.75 0 01-.102-1.493L14 4h.5c.372 0 .718.116 1.001.315.242-.17.53-.28.841-.308L16.5 4h.5l.102.007a.75.75 0 010 1.486L17 5.5h-.5l-.057.007a.25.25 0 00-.184.175l-.009.068V8h4c.966 0 1.75.784 1.75 1.75v4.5A1.75 1.75 0 0120.25 16h-4v2.25l.007.057a.25.25 0 00.175.184l.068.009h.5l.102.007a.75.75 0 010 1.486L17 20h-.5l-.144-.006a1.74 1.74 0 01-.856-.308 1.734 1.734 0 01-.856.308L14.5 20H14a.75.75 0 01-.102-1.493L14 18.5h.5a.25.25 0 00.243-.193l.007-.057V5.75zm5.5 3.75h-4v5h4a.25.25 0 00.243-.193l.007-.057v-4.5a.25.25 0 00-.193-.243L20.25 9.5zM6 11a1 1 0 110 2 1 1 0 010-2zm3.5 0a1 1 0 110 2 1 1 0 010-2zm3.5 0c.087 0 .17.011.25.032v1.936A1.002 1.002 0 0112 12a1 1 0 011-1zm-9.25 5A1.75 1.75 0 012 14.25v-4.5C2 8.784 2.784 8 3.75 8h9.5v1.5h-9.5a.25.25 0 00-.243.193L3.5 9.75v4.5a.25.25 0 00.193.243l.057.007h9.5V16h-9.5z",fill:"currentColor",fillRule:"evenodd"}))}function ge(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 8c.966 0 1.75.784 1.75 1.75v4.5A1.75 1.75 0 0120.25 16H3.75A1.75 1.75 0 012 14.25v-4.5C2 8.784 2.784 8 3.75 8h16.5zm0 1.5H3.75a.25.25 0 00-.243.193L3.5 9.75v4.5a.25.25 0 00.193.243l.057.007h16.5a.25.25 0 00.243-.193l.007-.057v-4.5a.25.25 0 00-.193-.243L20.25 9.5zM6 11a1 1 0 110 2 1 1 0 010-2z",fill:"currentColor",fillRule:"evenodd"}))}function fe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.5 12.25l1.5 1.5V21a1 1 0 01-1 1H5a1 1 0 01-1-1v-7.25l1.5-1.5v8.25h13v-8.25zm-6.875.582l.375.375.375-.375a1.591 1.591 0 112.25 2.25L12 17.707l-2.625-2.625a1.591 1.591 0 012.25-2.25zm.821-10.685l.084.073L17 6.689V5.5a.5.5 0 01.5-.5h.5a.5.5 0 01.5.5v2.689l3.03 3.03a.75.75 0 01-.976 1.134l-.084-.073L12 3.811l-8.47 8.47a.75.75 0 01-.976.072l-.084-.073a.75.75 0 01-.073-.976l.073-.084 9-9a.75.75 0 01.976-.073z",fill:"currentColor",fillRule:"evenodd"}))}function he(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M15.25 18.999V21h-2.5v-2.001h2.5zM21 16.75v2.5A1.75 1.75 0 0119.25 21h-2.5v-2.001H19V16.75h2zm-11.5-4c.966 0 1.75.784 1.75 1.75v4.75A1.75 1.75 0 019.5 21H4.75A1.75 1.75 0 013 19.25V14.5c0-.966.784-1.75 1.75-1.75H9.5zm11.5 0v2.5h-2v-2.5h2zm0-4v2.5h-2v-2.5h2zm-16 0v2.5H3v-2.5h2zM19.25 3c.966 0 1.75.784 1.75 1.75v2.5h-2V4.999h-2.25V3h2.5zm-12 0v1.999H5V7.25H3v-2.5C3 3.784 3.784 3 4.75 3h2.5zm4 0v1.999h-2.5V3h2.5zm4 0v1.999h-2.5V3h2.5z",fill:"currentColor",fillRule:"evenodd"}))}function ve(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.5 19.5a2.5 2.5 0 01-4.995.164L9.5 19.5h5zM12 2c.915 0 1.686.767 1.924 1.815A6.002 6.002 0 0118 9.5V15l1.6 1.2A1 1 0 0119 18H5a1 1 0 01-.6-1.8L6 15V9.5a6.003 6.003 0 014.077-5.685C10.314 2.767 11.085 2 12 2z",fill:"currentColor",fillRule:"evenodd"}))}function pe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M17 4.5c1.583 0 3.165.45 4.748 1.352a.5.5 0 01.252.435V19.15a.5.5 0 01-.728.445C19.848 18.865 18.424 18.5 17 18.5c-1.667 0-3.333.5-5 1.5-1.667-1-3.333-1.5-5-1.5-1.424 0-2.848.365-4.272 1.095A.5.5 0 012 19.15V6.287a.5.5 0 01.252-.435C3.835 4.951 5.417 4.5 7 4.5c1.667 0 3.333.5 5 1.5 1.667-1 3.333-1.5 5-1.5zM17 6c-1.284 0-2.586.363-3.92 1.108l-.308.178L12 7.75l-.772-.463C9.786 6.421 8.383 6 7 6c-1.11 0-2.232.271-3.378.825l-.122.062v10.739l.056-.02a10.363 10.363 0 013.059-.598L7 17c1.585 0 3.156.382 4.704 1.134l.296.149.296-.149c1.429-.694 2.878-1.073 4.339-1.127L17 17c1.027 0 2.05.16 3.065.48l.435.147V6.887l-.122-.062c-1.041-.504-2.064-.773-3.075-.818L17 6zm0 7.75c.836 0 1.669.115 2.5.344v1.567a7.98 7.98 0 00-2.5-.411c-1.16 0-2.325.266-3.501.804v-1.627A9.628 9.628 0 0117 13.75zm0-3c.836 0 1.669.115 2.5.344v1.567a7.98 7.98 0 00-2.5-.411c-1.16 0-2.325.266-3.501.804v-1.627A9.628 9.628 0 0117 10.75zm0-3c.836 0 1.669.115 2.5.344v1.567A7.98 7.98 0 0017 9.25c-1.16 0-2.325.266-3.501.804V8.427A9.628 9.628 0 0117 7.75z",fill:"currentColor",fillRule:"evenodd"}))}function we(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 2a.75.75 0 01.743.648L20 2.75v18.5a.75.75 0 01-.648.743L19.25 22H6.75a2.75 2.75 0 01-2.739-3H4V5l.043.001A.749.749 0 014 4.75a2.75 2.75 0 012.582-2.745L6.75 2h12.5zm-.75 16H6.75a1.25 1.25 0 00-.128 2.494l.128.006H18.5v-.75H6.75a.5.5 0 110-1H18.5V18zM5.506 4.622L5.5 4.75a.749.749 0 01-.043.251L5.5 5v11.8a2.732 2.732 0 011-.289V3.525a1.25 1.25 0 00-.994 1.097zM18.5 3.5h-11v13h11v-13zM14.25 9a.75.75 0 110 1.5h-2.5a.75.75 0 110-1.5h2.5zm2-3a.75.75 0 110 1.5h-6.5a.75.75 0 010-1.5h6.5z",fill:"currentColor",fillRule:"evenodd"}))}function be(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.75 11c.966 0 1.75.784 1.75 1.75v7.5A1.75 1.75 0 0110.75 22h-6A1.75 1.75 0 013 20.25v-7.5c0-.966.784-1.75 1.75-1.75h6zm.25 8.5H9.5v1H11v-1zm-2.5 0h-4v1h4v-1zM14.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707v9.836A1.75 1.75 0 0119.25 20H13.5v-1.5h5.75a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L14 7.25V3.499L8.25 3.5a.25.25 0 00-.243.193L8 3.75V10H6.5V3.75C6.5 2.784 7.284 2 8.25 2h6.336zM11 17.5H9.5v1H11v-1zm-2.5 0H7v1h1.5v-1zm-2.5 0H4.5v1H6v-1zm10.016-6.984c.152 0 .333.058.371.263l.008.084v.242c.554.063 1.043.247 1.34.536.21.203.32.418.32.644 0 .29-.239.492-.516.492-.242 0-.437-.074-.648-.234-.328-.25-.586-.348-.93-.348-.379 0-.61.23-.61.48 0 .226.168.369.56.457l.14.028.687.121c1 .176 1.508.68 1.508 1.508 0 .908-.638 1.554-1.67 1.741l-.185.029v.175c0 .27-.207.352-.375.352-.157 0-.34-.065-.38-.269l-.007-.083v-.164c-.649-.047-1.211-.242-1.543-.558-.2-.196-.316-.41-.316-.645 0-.347.265-.543.59-.543.159 0 .308.044.495.162l.118.08c.343.254.726.395 1.043.395.48 0 .722-.203.722-.5 0-.217-.177-.353-.617-.458l-.14-.03-.672-.133c-.996-.192-1.489-.703-1.489-1.54 0-.885.638-1.523 1.633-1.683l.18-.023v-.23c0-.274.21-.348.383-.348zM11 15.5H9.5v1H11v-1zm-2.5 0H7v1h1.5v-1zm-2.5 0H4.5v1H6v-1zm5-3H4.5v2H11v-2zm4.5-7.881V7.25a.25.25 0 00.193.243l.057.007h2.631L15.5 4.619z",fill:"currentColor",fillRule:"evenodd"}))}function Ee(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.25 2c.414 0 .75.294.75.656V3h2.25c.966 0 1.75.83 1.75 1.853v14.294C21 20.17 20.216 21 19.25 21H4.75C3.784 21 3 20.17 3 19.147V4.853C3 3.83 3.784 3 4.75 3H7v-.344C7 2.294 7.336 2 7.75 2s.75.294.75.656V3h7v-.344c0-.362.336-.656.75-.656zm3.25 6h-15v11.147c0 .125.082.23.193.258l.057.007h14.5a.254.254 0 00.243-.204l.007-.06V8zm-11 7a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-2a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h2zm4.5 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-2a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h2zm4.5 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-2a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h2zm-9-4.5a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-2A.5.5 0 016 12v-1a.5.5 0 01.5-.5h2zm4.5 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-2a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h2zm4.5 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-2a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h2zM7 4.588H4.75a.254.254 0 00-.243.204l-.007.06V6.5h15V4.853a.262.262 0 00-.193-.258l-.057-.007H17v.256c0 .362-.336.656-.75.656s-.75-.294-.75-.656v-.256h-7v.256c0 .362-.336.656-.75.656S7 5.206 7 4.844v-.256z",fill:"currentColor",fillRule:"evenodd"}))}function xe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20 8a2 2 0 012 2v9a2 2 0 01-2 2H8a2 2 0 01-2-2v-9a2 2 0 012-2h12zm.5 5h-13v6a.5.5 0 00.41.492L8 19.5h12a.5.5 0 00.492-.41L20.5 19v-6zM12 15a.5.5 0 01.5.5V17a.5.5 0 01-.5.5h-2a.5.5 0 01-.5-.5v-1.5a.5.5 0 01.5-.5h2zm4.607-10.568L17.294 7h-1.553l-.583-2.18a.5.5 0 00-.524-.369l-.089.016L3.92 7.314a.5.5 0 00-.369.523l.016.089L5 13.276v3.905a1.992 1.992 0 01-.812-1.14l-2.07-7.727a2 2 0 011.414-2.45l10.625-2.846a2 2 0 012.45 1.414zM20 9.5H8a.5.5 0 00-.492.41L7.5 10v1.5h13V10a.5.5 0 00-.41-.492L20 9.5z",fill:"currentColor"}))}function ye(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zM13 3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5zm-1.143 6.234c.215 0 .434.097.48.36l.009.107v.387c.714.091 1.353.338 1.75.725.301.285.463.602.463.902 0 .355-.28.602-.618.602-.29 0-.51-.102-.779-.333-.456-.435-.843-.607-1.38-.607-.634 0-1.037.36-1.037.811 0 .372.266.62.843.762l.15.033 1.016.21c1.353.263 2.02.934 2.02 2.035 0 1.218-.86 2.076-2.251 2.304l-.193.027v.338c0 .344-.247.468-.49.468-.214 0-.437-.098-.484-.361l-.01-.107v-.327c-.816-.07-1.535-.322-1.981-.736-.301-.274-.473-.585-.473-.908 0-.419.306-.655.688-.655.236 0 .43.075.735.333.478.435 1.005.66 1.547.66.758 0 1.166-.338 1.166-.853 0-.374-.264-.605-.921-.77l-.159-.036-1.01-.22c-1.3-.269-1.955-.967-1.955-2.063 0-1.187.855-2.034 2.199-2.223l.186-.022v-.376c0-.349.247-.467.489-.467zM14.5 4.62v2.63a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function ze(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 4.75a.75.75 0 00-1.5 0v14.5c0 .414.336.75.75.75h18.5a.75.75 0 000-1.5h-1.5V6a.75.75 0 00-1.14-.64l-6.88 4.188-3.045-2.682a.75.75 0 00-.921-.055L3.5 9.745V4.75zm0 6.816V18.5h14.75V7.335l-6.211 3.782a.75.75 0 01-.886-.078l-3.02-2.66L3.5 11.565z",fill:"currentColor"}))}function Re(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 17.75A1.75 1.75 0 009.25 16h-4.5A1.75 1.75 0 003 17.75v1.5c0 .966.784 1.75 1.75 1.75h4.5A1.75 1.75 0 0011 19.25v-1.5zm6-6.5a1.75 1.75 0 00-1.75-1.75H4.75A1.75 1.75 0 003 11.25v1.5c0 .966.784 1.75 1.75 1.75h10.5A1.75 1.75 0 0017 12.75v-1.5zm4-6.5A1.75 1.75 0 0019.25 3H4.75A1.75 1.75 0 003 4.75v1.5C3 7.216 3.784 8 4.75 8h14.5A1.75 1.75 0 0021 6.25v-1.5zm-11.5 13v1.5a.25.25 0 01-.193.243l-.057.007h-4.5a.25.25 0 01-.243-.193L4.5 19.25v-1.5a.25.25 0 01.193-.243l.057-.007h4.5a.25.25 0 01.243.193l.007.057zm6-6.5v1.5a.25.25 0 01-.193.243L15.25 13H4.75a.25.25 0 01-.243-.193L4.5 12.75v-1.5a.25.25 0 01.193-.243L4.75 11h10.5a.25.25 0 01.243.193l.007.057zm4-6.5v1.5a.25.25 0 01-.193.243l-.057.007H4.75a.25.25 0 01-.243-.193L4.5 6.25v-1.5a.25.25 0 01.193-.243L4.75 4.5h14.5a.25.25 0 01.243.193l.007.057z",fill:"currentColor"}))}function Ce(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 4.75a.75.75 0 00-1.5 0v14.5c0 .414.336.75.75.75h18.5a.75.75 0 000-1.5H3.5V4.75zm18.06 2.53a.75.75 0 10-1.06-1.06l-5.97 5.97-3.47-3.47a.75.75 0 00-1.06 0l-4.47 4.47a.75.75 0 001.061 1.06l3.94-3.94L14 13.78a.75.75 0 001.06 0l6.5-6.5z",fill:"currentColor"}))}function Se(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.25 4.25A.75.75 0 0111 5v8h8a.75.75 0 01.743.648l.007.102c0 4.97-4.03 8.5-9 8.5a9 9 0 01-9-9c0-4.97 3.53-9 8.5-9zM9.5 5.787l-.209.024c-3.69.47-6.041 3.622-6.041 7.439a7.5 7.5 0 007.5 7.5c3.817 0 6.968-2.352 7.44-6.041l.022-.209H10.25a.75.75 0 01-.743-.648L9.5 13.75V5.787zm3.75-4.037a9 9 0 019 9 .75.75 0 01-.75.75h-8.25a.75.75 0 01-.75-.75V2.5a.75.75 0 01.75-.75zM14 3.287V10h6.712l-.023-.209a7.504 7.504 0 00-6.48-6.48L14 3.287z",fill:"currentColor"}))}function Ne(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 4.5h15v3.75h-15V4.5zM3 9.75V4.5A1.5 1.5 0 014.5 3h15A1.5 1.5 0 0121 4.5v15a1.5 1.5 0 01-1.5 1.5h-15A1.5 1.5 0 013 19.5V9.75zM4.5 14V9.75h4V14h-4zm0 1.5v4h4v-4h-4zm5.5 4h4v-4h-4v4zm5.5 0h4v-4h-4v4zm4-5.5V9.75h-4V14h4zM10 9.75h4V14h-4V9.75z",fill:"currentColor"}))}function Ae(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.557 13.056c1.474.7 2.443 1.881 2.443 3.222 0 1.294-.903 2.44-2.292 3.147l.89 1.582a.556.556 0 01-.748.761l-.084-.055-2.059-1.647a7.87 7.87 0 01-1.263.1c-2.853 0-5.205-1.506-5.52-3.444 2.666-.007 5.071-.766 6.817-1.966a7.924 7.924 0 001.802-1.682l.014-.018zM10.889 3.5c4.91 0 8.889 2.736 8.889 6.111 0 3.309-3.825 6.004-8.601 6.108l-.426.003-5.406 4.324a.556.556 0 01-.832-.706l2.398-4.262C3.999 14.074 2 12.003 2 9.61 2 6.236 5.98 3.5 10.889 3.5z",fill:"currentColor",fillRule:"evenodd"}))}function Oe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.313 12.156c.59.664.937 1.466.937 2.344 0 1.01-.467 1.944-1.272 2.68l-.21.179.885 1.77c.174.348.174.753.01 1.096l-.068.125-.084.118c-.352.44-.948.585-1.501.347l-.127-.062-.129-.09-2.446-1.955-.233.021-.19.012-.385.009c-2.065 0-3.908-.798-4.923-2.035a13.97 13.97 0 002.216-.108c.728.397 1.667.643 2.707.643.209 0 .415-.01.619-.03l.303-.037.323-.047 2.059 1.649-.969-1.94.582-.36c.86-.533 1.333-1.252 1.333-1.985 0-.371-.122-.733-.343-1.065.3-.336.562-.69.781-1.06l.125-.219zM11 3.25c4.786 0 8.75 2.725 8.75 6.25 0 3.455-3.81 6.143-8.47 6.247l-.139.001-4.662 3.73a1.25 1.25 0 01-1.567-.004l-.1-.09-.09-.102a1.25 1.25 0 01-.174-1.27l.06-.124 1.737-3.087-.23-.106c-2.193-1.046-3.646-2.768-3.842-4.737l-.017-.228-.006-.23c0-3.525 3.964-6.25 8.75-6.25zm0 1.5c-4.05 0-7.25 2.2-7.25 4.75 0 1.679 1.397 3.263 3.66 4.119l.255.092.85.293-1.969 3.498 4.072-3.255.267.002.384-.002c3.922-.095 6.981-2.253 6.981-4.747 0-2.55-3.2-4.75-7.25-4.75z",fill:"currentColor",fillRule:"evenodd"}))}function Ie(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.47 6.47a.75.75 0 01.976-.073l.084.073L12 10.939l4.47-4.47a.75.75 0 01.976-.072l.084.073a.75.75 0 01.073.976l-.073.084-5 5a.75.75 0 01-.976.073l-.084-.073-5-5a.75.75 0 010-1.06zm0 5a.75.75 0 01.976-.073l.084.073L12 15.939l4.47-4.47a.75.75 0 01.976-.072l.084.073a.75.75 0 01.073.976l-.073.084-5 5a.75.75 0 01-.976.073l-.084-.073-5-5a.75.75 0 010-1.06z",fill:"currentColor",fillRule:"evenodd"}))}function Le(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.854 9.354l5.792 5.792a.5.5 0 00.708 0l5.792-5.792a.5.5 0 00-.353-.854H6.207a.5.5 0 00-.353.854z",fill:"currentColor",fillRule:"evenodd"}))}function He(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.47 10.03a.75.75 0 01.976-1.133l.084.073L12 13.439l4.47-4.47a.75.75 0 01.976-.072l.084.073a.75.75 0 01.073.976l-.073.084-5 5a.75.75 0 01-.976.073l-.084-.073-5-5z",fill:"currentColor",fillRule:"evenodd"}))}function Me(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M17.53 6.47a.75.75 0 01.073.976l-.073.084L13.061 12l4.47 4.47a.75.75 0 01.072.976l-.073.084a.75.75 0 01-.976.073l-.084-.073-5-5a.75.75 0 01-.073-.976l.073-.084 5-5a.75.75 0 011.06 0zm-5 0a.75.75 0 01.073.976l-.073.084L8.061 12l4.47 4.47a.75.75 0 01.072.976l-.073.084a.75.75 0 01-.976.073l-.084-.073-5-5a.75.75 0 01-.073-.976l.073-.084 5-5a.75.75 0 011.06 0z",fill:"currentColor",fillRule:"evenodd"}))}function ke(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5 6.207a.5.5 0 00-.854-.353l-5.792 5.792a.5.5 0 000 .708l5.792 5.792a.5.5 0 00.854-.353V6.207z",fill:"currentColor"}))}function Ve(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.97 6.47a.75.75 0 011.133.976l-.073.084L10.561 12l4.47 4.47a.75.75 0 01.072.976l-.073.084a.75.75 0 01-.976.073l-.084-.073-5-5a.75.75 0 01-.073-.976l.073-.084 5-5z",fill:"currentColor",fillRule:"evenodd"}))}function je(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11.47 6.47a.75.75 0 01.976-.073l.084.073 5 5 .073.084a.75.75 0 01.007.882l-.08.094-5 5-.084.073a.75.75 0 01-.882.007l-.094-.08-.073-.084a.75.75 0 01-.007-.882l.08-.094L15.939 12l-4.47-4.47-.072-.084a.75.75 0 01.073-.976zm-5 0a.75.75 0 01.976-.073l.084.073 5 5 .073.084a.75.75 0 01.007.882l-.08.094-5 5-.084.073a.75.75 0 01-.882.007l-.094-.08-.073-.084a.75.75 0 01-.007-.882l.08-.094L10.939 12l-4.47-4.47-.072-.084a.75.75 0 01.073-.976z",fill:"currentColor",fillRule:"evenodd"}))}function Te(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.5 17.793a.5.5 0 00.854.353l5.792-5.792a.5.5 0 000-.708L9.354 5.854a.5.5 0 00-.854.353v11.586z",fill:"currentColor"}))}function De(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.03 6.47a.75.75 0 00-1.133.976l.073.084L13.439 12l-4.47 4.47a.75.75 0 00-.072.976l.073.084a.75.75 0 00.976.073l.084-.073 5-5a.75.75 0 00.073-.976l-.073-.084-5-5z",fill:"currentColor",fillRule:"evenodd"}))}function Fe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.47 12.53a.75.75 0 01-.073-.976l.073-.084 5-5 .084-.073a.75.75 0 01.882-.007l.094.08 5 5 .073.084a.75.75 0 01.007.882l-.08.094-.084.073a.75.75 0 01-.882.007l-.094-.08L12 8.061l-4.47 4.47-.084.072a.75.75 0 01-.976-.073zm0 5a.75.75 0 01-.073-.976l.073-.084 5-5 .084-.073a.75.75 0 01.882-.007l.094.08 5 5 .073.084a.75.75 0 01.007.882l-.08.094-.084.073a.75.75 0 01-.882.007l-.094-.08L12 13.061l-4.47 4.47-.084.072a.75.75 0 01-.976-.073z",fill:"currentColor",fillRule:"evenodd"}))}function Pe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.854 14.646l5.792-5.792a.5.5 0 01.708 0l5.792 5.792a.5.5 0 01-.353.854H6.207a.5.5 0 01-.353-.854z",fill:"currentColor",fillRule:"evenodd"}))}function Be(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M17.53 13.97a.75.75 0 01-.976 1.133l-.084-.073L12 10.561l-4.47 4.47a.75.75 0 01-.976.072l-.084-.073a.75.75 0 01-.073-.976l.073-.084 5-5a.75.75 0 01.976-.073l.084.073 5 5z",fill:"currentColor",fillRule:"evenodd"}))}function _e(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zM8.641 8.641a.75.75 0 01.984-.067l.077.067L12 10.94l2.298-2.298a.75.75 0 011.128.984l-.067.077L13.06 12l2.298 2.298a.75.75 0 01-.984 1.128l-.077-.067L12 13.06l-2.298 2.298a.75.75 0 01-1.128-.984l.067-.077L10.94 12 8.641 9.702a.75.75 0 010-1.06z"}))}function Ge(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zm-.267 5.753a1 1 0 10-.001-2.001 1 1 0 00.001 2.001zM14 16.754a.75.75 0 000-1.502h-1.267V11.5a.752.752 0 00-.75-.751H10a.75.75 0 000 1.502h1.233v3H10a.75.75 0 000 1.503h4z",fill:"currentColor"}))}function qe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zm4 7.75c.934 0 1.027 1.366.102 1.493-8 0 0 0-8.102.007-.934 0-1.027-1.366-.102-1.493z",fill:"currentColor",fillRule:"evenodd"}))}function $e(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zm0 3.75a.75.75 0 01.743.648L12.75 8v3.25H16a.75.75 0 01.102 1.493L16 12.75h-3.25V16a.75.75 0 01-1.493.102L11.25 16v-3.25H8a.75.75 0 01-.102-1.493L8 11.25h3.25V8a.75.75 0 01.75-.75z",fill:"currentColor",fillRule:"evenodd"}))}function Ke(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zm.58 10.15a.71.71 0 00.226-.543v-1.272a.306.306 0 01.045-.143.522.522 0 01.136-.133 3.91 3.91 0 01.285-.18l.028-.016c.112-.066.242-.143.387-.237.706-.454 1.156-1.012 1.156-1.838 0-.673-.37-1.19-.887-1.53-.513-.336-1.183-.508-1.845-.508-.552 0-1.234.096-1.79.317a2.441 2.441 0 00-.574.315c-.09.069-.174.146-.245.232a1.15 1.15 0 00-.154.238 1.474 1.474 0 00-.148.625c0 .075.01.118.02.167.036.159.12.3.254.401a.77.77 0 00.47.147.768.768 0 00.745-.517l.004-.013c.053-.17.226-.306.517-.4.282-.09.611-.116.852-.116.267 0 .575.078.809.213.241.139.345.298.345.44 0 .188-.051.32-.152.444-.11.136-.285.27-.55.444h-.002l-.136.091h-.001c-.232.153-.49.322-.695.513-.252.234-.467.537-.467.938v1.38c0 .226.087.421.248.556.155.13.357.185.56.185.21 0 .41-.064.558-.2zm-.559 3.1c.504 0 .924-.4.924-.904 0-.512-.423-.9-.924-.9a.908.908 0 00-.92.9c0 .504.42.904.92.904z",fill:"currentColor"}))}function Ue(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zm4.403 3.867a.75.75 0 01.282.938l-.052.098-5.091 8a.75.75 0 01-1.145.145l-.074-.08-2.909-3.636a.75.75 0 011.096-1.018l.076.081 2.253 2.817 4.528-7.115a.75.75 0 011.036-.23z",fill:"currentColor",fillRule:"evenodd"}))}function We(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zm0 3.75a.97.97 0 00-.974.989L11.2 12.5c.01.417.352.749.771.749a.768.768 0 00.77-.74l.23-4.26a.97.97 0 00-.97-1zm0 9.5a1 1 0 100-2 1 1 0 000 2z",fill:"currentColor"}))}function Je(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11.03 12.97a.75.75 0 01.073.976l-.073.084-5.72 5.72H8.5a.75.75 0 01.743.648l.007.102a.75.75 0 01-.648.743l-.102.007-5.051-.002-.12-.018-.068-.019-.06-.023-.07-.035-.082-.054-.08-.07a.749.749 0 01-.096-.118l-.05-.09-.04-.103a.737.737 0 01-.026-.116L2.75 20.5v-5a.75.75 0 011.493-.102l.007.102-.001 3.189 5.72-5.72a.75.75 0 011.061 0zm4.368-10.213l.102-.007h5l.07.003.101.017.068.019.06.023.07.035.082.054.08.07a.749.749 0 01.096.118l.05.09.04.103c.012.037.02.076.026.116l.007.102v5a.75.75 0 01-1.493.102L19.75 8.5V5.31l-5.72 5.72a.75.75 0 01-1.133-.976l.073-.084 5.718-5.72H15.5a.75.75 0 01-.743-.648L14.75 3.5a.75.75 0 01.648-.743z",fill:"currentColor",fillRule:"evenodd"}))}function Ye(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.398 12.757l.102-.007h5l.07.003.101.017.068.019.06.023.07.035.082.054.08.07a.749.749 0 01.096.118l.05.09.04.103c.012.037.02.076.026.116l.007.102v5a.75.75 0 01-1.493.102L9.75 18.5v-3.19l-5.72 5.72a.75.75 0 01-1.133-.976l.073-.084 5.718-5.72H5.5a.75.75 0 01-.743-.648L4.75 13.5a.75.75 0 01.648-.743zM21.03 2.97a.75.75 0 01.073.976l-.073.084-5.72 5.72h3.19a.75.75 0 01.743.648l.007.102a.75.75 0 01-.648.743l-.102.007-5.051-.002-.12-.018-.068-.019-.06-.023-.07-.035-.082-.054-.08-.07a.749.749 0 01-.096-.118l-.05-.09-.04-.103a.737.737 0 01-.026-.116l-.007-.102v-5a.75.75 0 011.493-.102l.007.102v3.188l5.72-5.718a.75.75 0 011.06 0z",fill:"currentColor",fillRule:"evenodd"}))}function Qe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.554 6.397a.75.75 0 011.049 1.05l-.073.083L13.061 12l4.47 4.47a.75.75 0 01-.977 1.133l-.084-.073L12 13.061l-4.47 4.47-.084.072a.75.75 0 01-1.049-1.05l.073-.083L10.939 12l-4.47-4.47a.75.75 0 01.977-1.133l.084.073L12 10.939l4.47-4.47.084-.072z",fill:"currentColor",fillRule:"evenodd"}))}function Xe(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 4.5h-4v15h4v-15zm1.5 0v15h3.75a.25.25 0 00.25-.25V4.75a.25.25 0 00-.25-.25H15.5zM4.75 3A1.75 1.75 0 003 4.75v14.5c0 .966.784 1.75 1.75 1.75h14.5A1.75 1.75 0 0021 19.25V4.75A1.75 1.75 0 0019.25 3H4.75z",fill:"currentColor"}))}function Ze(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.6 4.5H14v15h-2.378a2.26 2.26 0 010 1.5h7.628A1.75 1.75 0 0021 19.25V4.75A1.75 1.75 0 0019.25 3H4.75A1.75 1.75 0 003 4.75v6.75c.576 0 1.152.22 1.591.659l1.659 1.659 1.659-1.659a2.244 2.244 0 011.691-.657V4.5zm5.9 15v-15h3.75a.25.25 0 01.25.25v14.5a.25.25 0 01-.25.25H15.5zM2.47 20.78a.75.75 0 010-1.06L5.19 17l-2.72-2.72a.75.75 0 111.06-1.06l2.72 2.72 2.72-2.72a.75.75 0 111.06 1.06L7.31 17l2.72 2.72a.75.75 0 11-1.06 1.06l-2.72-2.72-2.72 2.72a.75.75 0 01-1.06 0z",fill:"currentColor"}))}function et(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 4.5h-4v15h4v-15zm1.5 0v15h3.75a.25.25 0 00.25-.25V4.75a.25.25 0 00-.25-.25H15.5zm-10.75 0H8.5v15H4.75a.25.25 0 01-.25-.25V4.75a.25.25 0 01.25-.25zm0-1.5A1.75 1.75 0 003 4.75v14.5c0 .966.784 1.75 1.75 1.75h14.5A1.75 1.75 0 0021 19.25V4.75A1.75 1.75 0 0019.25 3H4.75z",fill:"currentColor"}))}function tt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19 9a3 3 0 11-2.877 3.854H7.877A3.001 3.001 0 012 12a3 3 0 015.93-.647h8.14A3.001 3.001 0 0119 9zM5 10.5a1.5 1.5 0 100 3 1.5 1.5 0 000-3zm14 0a1.5 1.5 0 100 3 1.5 1.5 0 000-3z",fill:"currentColor"}))}function nt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.66 4.174a.75.75 0 01.32.933l-.045.091-8.298 14.373a.75.75 0 01-1.344-.659l.045-.091 8.298-14.373a.75.75 0 011.025-.274zM5 9a3.001 3.001 0 012.935 2.374.685.685 0 01.169-.02h1.814l-.866 1.5h-.948a.75.75 0 01-.22-.033A2.998 2.998 0 012 12a3 3 0 013-3zm14 0a3 3 0 11-2.877 3.854h-1.875l.866-1.5.956-.001A3.001 3.001 0 0119 9zM5 10.5a1.5 1.5 0 100 3 1.5 1.5 0 000-3zm14 0a1.5 1.5 0 100 3 1.5 1.5 0 000-3z",fill:"currentColor"}))}function lt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.25 2c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V18h-.5a.75.75 0 110-1.5H4v-3.75h-.5a.75.75 0 110-1.5H4V8h-.5a.75.75 0 010-1.5H4V3.75C4 2.784 4.784 2 5.75 2h12.5zm0 1.5H5.75a.25.25 0 00-.243.193L5.5 3.75V6.5H6A.75.75 0 016 8h-.5v3.25H6a.75.75 0 110 1.5h-.5v3.75H6A.75.75 0 116 18h-.5v2.25a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V3.75a.25.25 0 00-.193-.243L18.25 3.5zM11.866 12c2.434 0 3.88 1.316 4.34 3.95A1.75 1.75 0 0114.482 18H9.25a1.75 1.75 0 01-1.724-2.05c.46-2.634 1.906-3.95 4.34-3.95zm0-5.5c1.104 0 2 1.12 2 2.5s-.896 2.5-2 2.5c-1.105 0-2-1.12-2-2.5s.895-2.5 2-2.5z",fill:"currentColor",fillRule:"evenodd"}))}function at(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6 5v1.5h-.25a.25.25 0 00-.243.193L5.5 6.75v13.5a.25.25 0 00.193.243l.057.007h9.5a.25.25 0 00.243-.193l.007-.057V20H17v.25A1.75 1.75 0 0115.25 22h-9.5A1.75 1.75 0 014 20.25V6.75C4 5.784 4.784 5 5.75 5H6zm7.586-3a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707v8.836A1.75 1.75 0 0118.25 19h-9.5A1.75 1.75 0 017 17.25V3.75C7 2.784 7.784 2 8.75 2h4.836zM13 3.5H8.75a.25.25 0 00-.243.193L8.5 3.75v13.5a.25.25 0 00.193.243l.057.007h9.5a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5zm1.5 1.121V7.25a.25.25 0 00.193.243l.057.007h2.629L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function rt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11.441 3.441a1.25 1.25 0 01.983-.058l.135.058 9.598 4.799a.85.85 0 01.464.859l-.001 6.151a.75.75 0 11-1.5 0v-4.971L19 11.339V17.5c0 1.657-3.134 3-7 3-3.772 0-6.847-1.278-6.994-2.88L5 17.5v-6.162L1.842 9.76a.85.85 0 01-.421-1.042l.041-.098a.85.85 0 01.286-.325l.094-.055 9.598-4.799zm-4.942 8.647v5.395c.009.095.385.448 1.217.791C8.82 18.73 10.351 19 12 19c1.689 0 3.253-.284 4.359-.757.472-.203.822-.425 1.023-.629l.11-.117c.003-.003.005-.004.006-.003l.002.006v-5.411l-4.941 2.47a1.25 1.25 0 01-.983.058l-.135-.058-4.942-2.471zM12 4.838L3.677 8.999l8.322 4.162 8.323-4.162L12 4.838z",fill:"currentColor"}))}function ot(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.499 15l.001 5.25a.25.25 0 00.193.243l.057.007h9.5a.25.25 0 00.243-.193l.007-.057V20H18v.25A1.75 1.75 0 0116.25 22h-9.5A1.75 1.75 0 015 20.25L4.999 15h1.5zm8.087-13a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707v8.836A1.75 1.75 0 0119.25 19h-9.5A1.75 1.75 0 018 17.25L7.999 15h1.5l.001 2.25a.25.25 0 00.193.243l.057.007h9.5a.25.25 0 00.243-.193l.007-.057L19.499 9H15.75a1.75 1.75 0 01-1.744-1.606L14 7.25l-.001-3.75H9.75a.25.25 0 00-.243.193L9.5 3.75 9.499 5h-1.5L8 3.75C8 2.784 8.784 2 9.75 2h4.836zM4.392 8.956a.5.5 0 01.55-.147l.082.038 2.143 1.237.074.052a.5.5 0 01.147.55l-.038.081-.052.074a.5.5 0 01-.55.147l-.081-.038-.878-.505a2.5 2.5 0 004 1.525.75.75 0 11.925 1.181 4.002 4.002 0 01-6.343-2.173l-.402.695-.052.074a.5.5 0 01-.852-.492l.038-.082L4.341 9.03l.051-.074zM8.25 6a4.001 4.001 0 013.92 3.197l.358-.62a.5.5 0 01.6-.221l.083.038a.5.5 0 01.22.601l-.037.082-1.238 2.143a.5.5 0 01-.6.221l-.083-.038-2.143-1.237a.5.5 0 01.418-.904l.082.038.914.528A2.5 2.5 0 006.711 8.03a.75.75 0 11-.925-1.181A3.985 3.985 0 018.25 6zm7.249-1.38l.001 2.63a.25.25 0 00.193.243l.057.007h2.629l-2.88-2.88z",fill:"currentColor",fillRule:"evenodd"}))}function it(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2a4.5 4.5 0 014.472 4h-1.514a3 3 0 00-5.917 0H20.25a.75.75 0 110 1.5h-.75V18a4 4 0 01-4 4h-7a4 4 0 01-4-4V7.5h-.75a.75.75 0 010-1.5h3.777A4.5 4.5 0 0112 2zm6 5.5H6V18a2.5 2.5 0 002.336 2.495l.164.005h7a2.5 2.5 0 002.495-2.336L18 18V7.5zm-3.946 3.397a.75.75 0 011.049 1.05l-.073.083L13.061 14l1.97 1.97a.75.75 0 01-.977 1.133l-.084-.073L12 15.061l-1.97 1.97-.084.072a.75.75 0 01-1.049-1.05l.073-.083L10.939 14l-1.97-1.97a.75.75 0 01.977-1.133l.084.073L12 12.939l1.97-1.97.084-.072z",fill:"currentColor",fillRule:"evenodd"}))}function st(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2a4.5 4.5 0 014.472 4h3.778a.75.75 0 110 1.5h-.75V18a4 4 0 01-4 4h-7a4 4 0 01-4-4V7.5h-.75a.75.75 0 010-1.5h3.777A4.5 4.5 0 0112 2zm6 5.5H6V18a2.5 2.5 0 002.336 2.495l.164.005h7a2.5 2.5 0 002.495-2.336L18 18V7.5zm-8.25 2a.75.75 0 01.75.75v7.5a.75.75 0 11-1.5 0v-7.5a.75.75 0 01.75-.75zm4.5 0a.75.75 0 01.75.75v7.5a.75.75 0 11-1.5 0v-7.5a.75.75 0 01.75-.75zM12 3.5A3 3 0 009.041 6h5.917A3 3 0 0012 3.5z",fill:"currentColor",fillRule:"evenodd"}))}function ct(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.25 2a.75.75 0 01.75.75V3h2.25c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H17v-1.5h2.25a.25.25 0 00.243-.193l.007-.057V8h-15v11.25a.25.25 0 00.193.243l.057.007H7V21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3H7v-.25a.75.75 0 011.5 0V3h7v-.25a.75.75 0 01.75-.75zM12 11.25a.75.75 0 01.743.648l.007.102v6.439l1.72-1.72a.75.75 0 01.976-.072l.084.073a.75.75 0 01.073.976l-.073.084-3 3a.75.75 0 01-.976.073l-.084-.073-3-3a.75.75 0 01.976-1.133l.084.073 1.72 1.719V12a.75.75 0 01.75-.75zM7 4.5H4.75a.25.25 0 00-.243.193L4.5 4.75V6.5h15V4.75a.25.25 0 00-.193-.243L19.25 4.5H17v.25a.75.75 0 11-1.5 0V4.5h-7v.25a.75.75 0 01-1.5 0V4.5z",fill:"currentColor",fillRule:"evenodd"}))}function ut(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.303 2.787a1.25 1.25 0 01.934 1.39l-.024.126-4 16a1.25 1.25 0 01-2.45-.48l.024-.126 4-16a1.25 1.25 0 011.516-.91zM7.05 5.04a1.25 1.25 0 01.242 1.65l-.082.11L2.877 12l4.333 5.2a1.25 1.25 0 01-.06 1.667l-.1.093a1.25 1.25 0 01-1.667-.06l-.093-.1-5-6a1.25 1.25 0 01-.083-1.49l.083-.11 5-6a1.25 1.25 0 011.76-.16zm9.9 0a1.25 1.25 0 011.667.06l.093.1 5 6 .083.11a1.25 1.25 0 010 1.38l-.083.11-5 6-.093.1a1.25 1.25 0 01-1.558.142l-.11-.082-.1-.093a1.25 1.25 0 01-.14-1.558l.08-.11L21.124 12 16.79 6.8l-.082-.11a1.25 1.25 0 01.242-1.65z",fill:"currentColor",fillRule:"evenodd"}))}function dt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.5 17a.5.5 0 01.5.5v4a.5.5 0 01-.5.5h-4a.5.5 0 01-.5-.5v-4a.5.5 0 01.5-.5h4zm-1 1.5h-2v2h2v-2zm-5-14.75a.75.75 0 01.102 1.493l-.102.007H13a.25.25 0 00-.243.193l-.007.057v5.75h1.75a.75.75 0 01.102 1.493l-.102.007h-1.75v5.75a.25.25 0 00.193.243l.057.007h1.5a.75.75 0 01.102 1.493l-.102.007H13a1.75 1.75 0 01-1.744-1.606l-.006-.144v-5.75H9.5a.75.75 0 01-.102-1.493l.102-.007h1.75V5.5a1.75 1.75 0 011.606-1.744L13 3.75h1.5zm6 5.75a.5.5 0 01.5.5v4a.5.5 0 01-.5.5h-4a.5.5 0 01-.5-.5v-4a.5.5 0 01.5-.5h4zm-13 0a.5.5 0 01.5.5v4a.5.5 0 01-.5.5h-4A.5.5 0 013 14v-4a.5.5 0 01.5-.5h4zm12 1.5h-2v2h2v-2zm-13 0h-2v2h2v-2zm14-9a.5.5 0 01.5.5v4a.5.5 0 01-.5.5h-4a.5.5 0 01-.5-.5v-4a.5.5 0 01.5-.5h4zm-1 1.5h-2v2h2v-2z",fill:"currentColor",fillRule:"evenodd"}))}function mt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V14h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007H10V22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm6.194 13.72a.75.75 0 01.073.976l-.073.084-5 5a.75.75 0 01-.976.073l-.084-.073-3-3a.75.75 0 01.976-1.133l.084.073 2.47 2.469 4.47-4.47a.75.75 0 011.06 0zm-2.4-8.22L14.5 4.621V7.25a.25.25 0 00.193.243l.057.007h2.63z",fill:"currentColor",fillRule:"evenodd"}))}function gt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V13h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007H12V22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm2.164 11.5a.75.75 0 01.743.648l.007.102V17h2.75a.75.75 0 01.102 1.493l-.102.007H16.5v2.75a.75.75 0 01-1.493.102L15 21.25V18.5h-2.75a.75.75 0 01-.102-1.493L12.25 17H15v-2.75a.75.75 0 01.75-.75zM14.5 4.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function ft(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11.95 11.146l2.219 3.843.868.234a2.5 2.5 0 111.826 2.042l-1.633-.438.845 1.464a2.5 2.5 0 11-2.444-1.235l-.45-.778-4.287-1.148a.75.75 0 11.388-1.45l2.839.761-1.47-2.545a.75.75 0 011.3-.75zM13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V11h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007H10V22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm-.176 16.675a1 1 0 101 1.732 1 1 0 00-1-1.732zm3.134-4.084a1 1 0 101.932.518 1 1 0 00-1.932-.518zM14.5 4.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function ht(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zM13 3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5zm-1 12.91c.516 0 .935.333.935.849 0 .515-.42.848-.935.848-.516 0-.94-.333-.94-.848 0-.516.424-.849.94-.849zm0-5.978c.509 0 .883.352.917.807l.001.106-.15 3.62a.754.754 0 01-.768.736.757.757 0 01-.768-.632l-.01-.104-.135-3.62c-.022-.505.37-.913.913-.913zm2.5-5.811V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function vt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707v4.336h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007h5V22h-5A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm5.664 12.25a.75.75 0 01.743.648L20 15v4.5a.75.75 0 01-1.493.102L18.5 19.5v-2.69l-4.97 4.97a.75.75 0 01-1.133-.976l.073-.084 4.968-4.97H14.75a.75.75 0 01-.743-.648L14 15a.75.75 0 01.648-.743l.102-.007h4.5zM14.5 4.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function pt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.586 2a1 1 0 01.707.293l3.414 3.414a1 1 0 01.293.707v8.836A1.75 1.75 0 0119.25 17H15v3.25A1.75 1.75 0 0113.25 22h-8.5A1.75 1.75 0 013 20.25V8.75C3 7.784 3.784 7 4.75 7H9V3.75C9 2.784 9.784 2 10.75 2h5.836zM15.5 3.499l-4.75.001a.25.25 0 00-.243.193l-.007.057V7h1v1.5h-1V10H9V8.5H4.75a.25.25 0 00-.243.193L4.5 8.75v11.5a.25.25 0 00.193.243l.057.007h8.5a.25.25 0 00.243-.193l.007-.057V17h-1v-1.5h1V14H15v1.5h4.25a.25.25 0 00.243-.193l.007-.057V7.5h-2.25a1.75 1.75 0 01-1.744-1.606L15.5 5.75V3.499zM10.5 14v1.25a.25.25 0 00.193.243l.057.007h.75V17h-.75A1.75 1.75 0 019 15.25V14h1.5zm4.5-3v2h-1.5v-2H15zm-4.5 0v2H9v-2h1.5zm2-4h.75c.966 0 1.75.784 1.75 1.75V10h-1.5V8.75a.25.25 0 00-.193-.243L13.25 8.5h-.75V7zM17 4.12v1.63a.25.25 0 00.193.243L17.25 6h1.631L17 4.12z",fill:"currentColor",fillRule:"evenodd"}))}function wt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V12h1.5v8.25a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5h-2V2h2.586zM4.433 7.25a.5.5 0 01-.717.661l-.07-.057-1-1-.057-.07a.5.5 0 010-.568l.057-.07 1-1 .07-.057a.5.5 0 01.568 0l.07.057.057.07a.5.5 0 01.022.535L6.25 5.75V3.933a.5.5 0 01-.534-.022l-.07-.057a.5.5 0 01-.057-.638l.057-.07 1-1 .07-.057a.5.5 0 01.568 0l.07.057 1 1 .057.07a.5.5 0 010 .568l-.057.07-.07.057a.5.5 0 01-.534.022V5.75h1.817a.5.5 0 01.022-.534l.057-.07a.5.5 0 01.638-.057l.07.057 1 1a.5.5 0 01.057.638l-.057.07-1 1a.5.5 0 01-.787-.604H7.75v1.817a.5.5 0 01.534.022l.07.057a.5.5 0 01.057.638l-.057.07-1 1a.5.5 0 01-.638.057l-.07-.057-1-1a.5.5 0 01.605-.787L6.25 7.25H4.433zM14.5 4.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function bt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V12h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007H10V22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm.164 10.75a3 3 0 100 6 3 3 0 000-6zm.75-8.129V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621zm-.75 15.629a4.5 4.5 0 113.632-1.842l.036-.05 2.362 2.362a.75.75 0 01-.976 1.133l-.084-.073-2.363-2.362-.112.077a4.479 4.479 0 01-2.495.755z",fill:"currentColor",fillRule:"evenodd"}))}function Et(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V12.5h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V17H20v3.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm-.032 9.147a.75.75 0 01.882-.007l.094.08.073.084a.75.75 0 01.007.882l-.08.094L12.811 14h6.439l.102.007a.75.75 0 010 1.486l-.102.007h-6.439l1.72 1.72.072.084a.75.75 0 01-1.05 1.049l-.083-.073-3-3-.073-.084a.75.75 0 01-.007-.882l.08-.094 3-3 .084-.073zm.946-6.526V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor"}))}function xt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V14h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007H12V22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm5.218 13.647a.75.75 0 011.049 1.05l-.073.083-1.969 1.97 1.97 1.97a.75.75 0 01-.977 1.133l-.084-.073-1.97-1.969-1.97 1.97-.084.072a.75.75 0 01-1.049-1.05l.073-.083 1.969-1.97-1.97-1.97a.75.75 0 01.977-1.133l.084.073 1.97 1.969 1.97-1.97.084-.072zM14.5 4.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor"}))}function yt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20 14v6.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V14h4v1.5H5.5v4.75a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V15.5H16V14h4zm-6 0v1.5h-4V14h4zm0-3v1.5h-4V11h4zm.5-6.379V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621zM4 3.75C4 2.784 4.784 2 5.75 2h7.836a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V12.5h-4V11h2.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75V11H8v1.5H4V3.75z",fill:"currentColor",fillRule:"evenodd"}))}function zt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H16v-1.5h2.25a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75V10H4V3.75C4 2.784 4.784 2 5.75 2h7.836zM10 10a6 6 0 110 12 6 6 0 010-12zm0 1.5a4.5 4.5 0 100 9 4.5 4.5 0 000-9zm0 .75a.75.75 0 01.743.648l.007.102v3a.75.75 0 01-.648.743L10 16.75H8a.75.75 0 01-.102-1.493L8 15.25l1.25-.001V13a.75.75 0 01.648-.743L10 12.25zm4.5-7.629V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function Rt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zM13 3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5zm2.5 12.25a.75.75 0 01.102 1.493l-.102.007h-7a.75.75 0 01-.102-1.493l.102-.007h7zm0-4a.75.75 0 01.102 1.493l-.102.007h-7a.75.75 0 01-.102-1.493l.102-.007h7zm-1-7.129V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor"}))}function Ct(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 16.25a.75.75 0 01.743.648L21 17v1.25a3.75 3.75 0 01-3.55 3.745l-.2.005H6.75a3.75 3.75 0 01-3.745-3.55L3 18.25V17a.75.75 0 011.493-.102L4.5 17v1.25a2.25 2.25 0 002.096 2.245l.154.005h10.5a2.25 2.25 0 002.245-2.096l.005-.154V17a.75.75 0 01.75-.75zm-3.5.75a.75.75 0 110 1.5h-9.5a.75.75 0 110-1.5h9.5zM12 2a.75.75 0 01.743.648l.007.102v9.189l2.22-2.22a.75.75 0 011.133.977l-.073.084-3.5 3.5a.754.754 0 01-.078.069l.078-.069-.042.04-.052.04-.114.068-.098.038-.084.02-.088.012L12 14.5l-.052-.002-.119-.018-.098-.03-.1-.047-.082-.054-.08-.069-3.5-3.5a.75.75 0 01.977-1.133l.084.073 2.22 2.219V2.75A.75.75 0 0112 2z",fill:"currentColor",fillRule:"evenodd"}))}function St(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M9.5 15.5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm5 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm-5-5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm5 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm-5-5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm5 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3z",fill:"currentColor",fillRule:"evenodd"}))}function Nt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M17 4c1.583 0 3.165.45 4.748 1.352a.5.5 0 01.252.435V18.65a.5.5 0 01-.728.445C19.848 18.365 18.424 18 17 18c-1.667 0-3.333.5-5 1.5-1.667-1-3.333-1.5-5-1.5-1.424 0-2.848.365-4.272 1.095A.5.5 0 012 18.65V5.787a.5.5 0 01.252-.435C3.835 4.451 5.417 4 7 4c1.667 0 3.333.5 5 1.5 1.667-1 3.333-1.5 5-1.5zM7 13.5c-1.227 0-2.289.177-3.186.536a.5.5 0 10.372.928c.77-.308 1.707-.464 2.814-.464s2.044.156 2.814.464a.5.5 0 10.372-.928C9.289 13.677 8.226 13.5 7 13.5zm10 0c-1.227 0-2.289.177-3.186.536a.5.5 0 10.372.928c.77-.308 1.707-.464 2.814-.464s2.044.156 2.814.464a.5.5 0 10.372-.928c-.897-.359-1.96-.536-3.186-.536zm-10-3c-1.227 0-2.289.177-3.186.536a.5.5 0 10.372.928c.77-.308 1.707-.464 2.814-.464s2.044.156 2.814.464a.5.5 0 10.372-.928C9.289 10.677 8.226 10.5 7 10.5zm10 0c-1.227 0-2.289.177-3.186.536a.5.5 0 10.372.928c.77-.308 1.707-.464 2.814-.464s2.044.156 2.814.464a.5.5 0 10.372-.928c-.897-.359-1.96-.536-3.186-.536zm-10-3c-1.227 0-2.289.177-3.186.536a.5.5 0 00.372.928C4.956 8.656 5.893 8.5 7 8.5s2.044.156 2.814.464a.5.5 0 10.372-.928C9.289 7.677 8.226 7.5 7 7.5zm10 0c-1.227 0-2.289.177-3.186.536a.5.5 0 00.372.928c.77-.308 1.707-.464 2.814-.464s2.044.156 2.814.464a.5.5 0 10.372-.928C19.289 7.677 18.226 7.5 17 7.5z",fill:"currentColor",fillRule:"evenodd"}))}function At(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13 2v5.25l.006.144a1.75 1.75 0 001.593 1.6L14.75 9H20v11.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2H13zm-3 7.75c-1.572 0-2.858 1.745-3.337 3.877l-.048.23-.039.217c-.138.832-.124 1.608.046 2.26l.07.238.055.148-.191.101c-.33.166-.672.305-1.025.413a.75.75 0 00.339 1.457l.1-.023.281-.092c.35-.122.691-.268 1.02-.435l.325-.174.098-.059.02.014c.302.18.66.293 1.074.32L9 18.25l.255-.004c1.076-.038 1.983-.315 2.706-.82l.193-.145.124-.104.014.052c.044.14.098.262.164.369l.069.102.086.107c.579.665 1.275.432 2.018-.32l.117-.122.102-.115.021.104c.043.2.09.356.163.512.209.456.598.755 1.132.708.582-.052 1.196-.55 2.042-1.612l.162-.206.32-.425.17-.23a.75.75 0 00-1.144-.965l-.071.085-.293.396-.28.362-.251.308-.22.256-.187.205-.11.112-.082-.493-.042-.199-.024-.09c-.083-.294-.201-.52-.436-.692-.598-.437-1.122-.163-1.695.514l-.258.312-.107.118-.007-.214a12.73 12.73 0 01.094-1.533c.1-.89-1.135-1.152-1.438-.372l-.033.103-.057.203c-.397 1.321-1.216 2.03-2.562 2.195l-.217.022-.176.009.199-.19a8.876 8.876 0 001.813-2.556c1.013-2.18.695-4.247-1.274-4.247zm0 1.5c.406 0 .531.695-.005 1.934l-.081.181-.116.237a7.434 7.434 0 01-1.401 1.893l-.25.236-.105.089-.032-.177c-.06-.406-.037-.911.077-1.5C8.402 12.53 9.306 11.25 10 11.25zm4.5-4V2L20 7.5h-5.25l-.057-.007a.25.25 0 01-.184-.175L14.5 7.25z",fill:"currentColor",fillRule:"evenodd"}))}function Ot(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.013 4.513a1.75 1.75 0 012.35-.114l.124.114 1.586 1.585a1.75 1.75 0 01.114 2.35l-.114.125L8.061 20.586H4v-4.06L16.013 4.512zm-1.514 3.633l-8.999 9v1.94h1.938l9-9.001-1.939-1.939zm2.928-2.573a.25.25 0 00-.3-.04l-.054.04-1.513 1.512 1.939 1.939 1.514-1.511a.25.25 0 00.065-.24l-.025-.06-.04-.054-1.586-1.586z",fill:"currentColor"}))}function It(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 20.5a.75.75 0 110 1.5H3.75a.75.75 0 110-1.5h16.5zM16.013 2.927a1.75 1.75 0 012.35-.114l.124.114 1.586 1.586a1.75 1.75 0 01.114 2.35l-.114.124L8.061 19H4v-4.06L16.013 2.926zM14.499 6.56l-8.999 9v1.94h1.938l9-9-1.939-1.94zm2.928-2.573a.25.25 0 00-.3-.04l-.054.04L15.56 5.5l1.939 1.94 1.514-1.512a.25.25 0 00.065-.24l-.025-.06-.04-.054-1.586-1.586z",fill:"currentColor",fillRule:"evenodd"}))}function Lt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 10.5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm-5 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm10 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3z",fill:"currentColor",fillRule:"evenodd"}))}function Ht(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 15.5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm0-5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm0-5a1.5 1.5 0 110 3 1.5 1.5 0 010-3z",fill:"currentColor",fillRule:"evenodd"}))}function Mt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm.25 3h-15v13.25a.25.25 0 00.193.243l.057.007h14.5a.25.25 0 00.243-.193l.007-.057V6zm-2.25 9.5a.75.75 0 110 1.5H6.75a.75.75 0 110-1.5h10.5zm0-3.5a.75.75 0 110 1.5H6.75a.75.75 0 110-1.5h10.5zm0-3.5a.75.75 0 110 1.5H6.75a.75.75 0 010-1.5h10.5z",fill:"currentColor",fillRule:"evenodd"}))}function kt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm.25 3h-15v13.25a.25.25 0 00.193.243l.057.007h14.5a.25.25 0 00.243-.193l.007-.057V6zm-7.25 2a.5.5 0 01.5.5v9a.5.5 0 01-.5.5h-.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h.5zm-3.5 7.5a.75.75 0 110 1.5h-2a.75.75 0 110-1.5h2zm0-3.5a.75.75 0 110 1.5h-2a.75.75 0 110-1.5h2zm0-3.5a.75.75 0 010 1.5h-2a.75.75 0 010-1.5h2zm8.5 0a.75.75 0 110 1.5h-2a.75.75 0 110-1.5h2z",fill:"currentColor",fillRule:"evenodd"}))}function Vt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.75 12.5a4.5 4.5 0 110 9 4.5 4.5 0 010-9zm.5-9.5c.966 0 1.75.784 1.75 1.75l.001 6.687a5.96 5.96 0 00-1.5-.39L19.5 6h-15v13.25a.25.25 0 00.193.243l.057.007h8.544a5.99 5.99 0 00.985 1.5H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm-.5 16a.75.75 0 100 1.5.75.75 0 000-1.5zm0-5.5a.75.75 0 00-.743.648L18 14.25v3.5a.75.75 0 001.493.102l.007-.102v-3.5a.75.75 0 00-.75-.75zM12.25 8a.5.5 0 01.5.5v9a.5.5 0 01-.5.5h-.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h.5zm-3.5 7.5a.75.75 0 110 1.5h-2a.75.75 0 110-1.5h2zm0-3.5a.75.75 0 110 1.5h-2a.75.75 0 110-1.5h2zm0-3.5a.75.75 0 010 1.5h-2a.75.75 0 010-1.5h2zm8.5 0a.75.75 0 110 1.5h-2a.75.75 0 110-1.5h2z",fill:"currentColor",fillRule:"evenodd"}))}function jt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7.5 16c2.434 0 3.88 1.316 4.34 3.95A1.75 1.75 0 0110.116 22H4.884a1.75 1.75 0 01-1.724-2.05C3.62 17.315 5.066 16 7.5 16zm.25-12.5a.25.25 0 00-.243.193L7.5 3.75V9.5c-.54 0-1.053.164-1.5.464V3.75C6 2.784 6.784 2 7.75 2h7.525c.464 0 .91.184 1.238.513l3.974 3.974c.329.329.513.774.513 1.238V18.25A1.75 1.75 0 0119.25 20h-6.038l-.01-.063a11.184 11.184 0 00-.369-1.437h6.417a.25.25 0 00.243-.193l.007-.057v-10h-3a1.75 1.75 0 01-1.744-1.606L14.75 6.5v-3h-7zm-.25 7c1.105 0 2 1.12 2 2.5s-.895 2.5-2 2.5-2-1.12-2-2.5.895-2.5 2-2.5zm9.75 3a.75.75 0 110 1.5h-5.5a.75.75 0 110-1.5h5.5zm0-3a.75.75 0 110 1.5h-6a.75.75 0 110-1.5h6zm1.378-3.75L16.25 4.371V6.5a.25.25 0 00.193.243l.057.007h2.128z",fill:"currentColor",fillRule:"evenodd"}))}function Tt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7.5 16c2.434 0 3.88 1.316 4.34 3.95A1.75 1.75 0 0110.116 22H4.884a1.75 1.75 0 01-1.724-2.05C3.62 17.315 5.066 16 7.5 16zm14.263-3.75c.155.24.237.491.237.75 0 1.272-1.978 2.358-4.77 2.795l-.516.072c-.7.087-1.443.133-2.214.133-1.25 0-2.43-.122-3.466-.339a4.583 4.583 0 00-1.063-.672c.175-.294.313-.626.404-.984.945.25 2.042.417 3.225.474l.612.019.288.002.453-.006c3.293-.078 6.014-1.006 6.81-2.243zM7.5 10.5c1.105 0 2 1.12 2 2.5s-.895 2.5-2 2.5-2-1.12-2-2.5.895-2.5 2-2.5zm14.263-1.75c.155.24.237.491.237.75 0 1.272-1.978 2.358-4.77 2.795l-.516.072c-.7.087-1.443.133-2.214.133-1.524 0-2.941-.182-4.125-.494a3.637 3.637 0 00-.68-1.398 3.187 3.187 0 00-.47-.478c1.163.463 2.705.773 4.423.85l.564.018.288.002.453-.006c3.293-.078 6.014-1.006 6.81-2.243zM14.5 3c.77 0 1.514.046 2.214.133l.516.072C20.022 3.642 22 4.728 22 6s-1.978 2.358-4.77 2.795l-.516.072c-.7.087-1.443.133-2.214.133-.77 0-1.514-.046-2.214-.133l-.516-.072C8.978 8.358 7 7.272 7 6s1.978-2.358 4.77-2.795l.516-.072A18.02 18.02 0 0114.5 3zm0 1.5c-1.835 0-3.538.288-4.746.771-.456.183-.81.381-1.042.57L8.538 6l.082.078c.225.212.613.442 1.134.65 1.208.484 2.91.772 4.746.772 1.835 0 3.538-.288 4.746-.771.456-.183.81-.381 1.042-.57L20.461 6l-.081-.078c-.225-.212-.613-.442-1.134-.65-1.208-.484-2.91-.772-4.746-.772z",fill:"currentColor",fillRule:"evenodd"}))}function Dt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.275 17.75c.702.931 2.675 1.627 5.072 1.735l.378.012.275.003.356-.005c2.53-.061 4.638-.776 5.37-1.745.178.236.274.489.274.75 0 1.38-2.686 2.5-6 2.5s-6-1.12-6-2.5c0-.261.096-.514.275-.75zM14.25 3c.966 0 1.75.784 1.75 1.75V9c-.516 0-1.018.026-1.5.074V5.5h-11v10.75a.25.25 0 00.193.243l.057.007H9V18H3.75A1.75 1.75 0 012 16.25V4.75C2 3.784 2.784 3 3.75 3h10.5zm-3.975 11.75c.702.931 2.675 1.627 5.072 1.735l.378.012.275.003.356-.005c2.53-.061 4.638-.776 5.37-1.745.178.236.274.489.274.75 0 1.38-2.686 2.5-6 2.5s-6-1.12-6-2.5c0-.261.096-.514.275-.75zM16 10c3.314 0 6 1.12 6 2.5S19.314 15 16 15s-6-1.12-6-2.5 2.686-2.5 6-2.5zm-8.25 3a.75.75 0 110 1.5h-1.5a.75.75 0 110-1.5h1.5zM16 11.5c-1.425 0-2.742.232-3.666.617a3.354 3.354 0 00-.65.347l-.048.036.048.036c.126.091.292.186.493.278l.157.07c.924.384 2.24.616 3.666.616 1.425 0 2.742-.232 3.666-.617.273-.114.492-.233.65-.347l.047-.037-.047-.035a3.044 3.044 0 00-.493-.278l-.157-.07c-.924-.384-2.24-.616-3.666-.616zM8.25 10a.75.75 0 110 1.5h-2a.75.75 0 110-1.5h2zm3.5-3a.75.75 0 110 1.5h-5.5a.75.75 0 010-1.5h5.5z",fill:"currentColor",fillRule:"evenodd"}))}function Ft(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.371 18.835l1.564 1.565a.998.998 0 010 1.414l-.392.393a.996.996 0 01-1.414 0l-1.565-1.565 1.807-1.807zM7.5 16c2.434 0 3.88 1.316 4.34 3.95A1.75 1.75 0 0110.116 22H4.884a1.75 1.75 0 01-1.724-2.05C3.62 17.315 5.066 16 7.5 16zm7.5 2.5l1.498 1.5h-3.286l-.01-.063a11.184 11.184 0 00-.369-1.437H15zm.453-4.586l4.212 4.213-1.808 1.808-4.21-4.213-.005-1.762 1.811-.046zM15.275 2c.464 0 .91.184 1.238.513l3.974 3.974c.329.329.513.774.513 1.238v10.334l-1.5-1.501V8.25h-3a1.75 1.75 0 01-1.744-1.606L14.75 6.5v-3h-7a.25.25 0 00-.243.193L7.5 3.75V9.5c-.54 0-1.053.164-1.5.464V3.75C6 2.784 6.784 2 7.75 2h7.525zM7.5 10.5c1.105 0 2 1.12 2 2.5s-.895 2.5-2 2.5-2-1.12-2-2.5.895-2.5 2-2.5zm7.25 1a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zm1.5-7.129V6.5a.25.25 0 00.193.243l.057.007h2.128L16.25 4.371z",fill:"currentColor",fillRule:"evenodd"}))}function Pt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.5 8l3 3v8.25A1.75 1.75 0 0120.75 21h-7.5a1.75 1.75 0 01-1.75-1.75v-9.5c0-.966.784-1.75 1.75-1.75h6.25zm-1 1.5h-5.25a.25.25 0 00-.243.193L13 9.75v9.5a.25.25 0 00.193.243l.057.007h7.5a.25.25 0 00.243-.193L21 19.25V12h-2.5V9.5zm.25 7a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zM6.25 14a1.5 1.5 0 110 3 1.5 1.5 0 010-3zM18 3a1.75 1.75 0 011.744 1.606l.006.144V7h-6.27a3.11 3.11 0 00-1.955.675l-.152.13a2.654 2.654 0 00-.866 1.757l-.007.188v5.5H8.738a2.5 2.5 0 00-2.324-2.245L6.25 13a2.5 2.5 0 00-2.488 2.25H2.25l-.102-.007a.75.75 0 01-.641-.641L1.5 14.5V9.929l.008-.108a.75.75 0 01.112-.3l.066-.086 3-3.429.076-.075a.75.75 0 01.381-.173l.107-.008h2.5v-1a1.75 1.75 0 011.606-1.744L9.5 3H18zm.75 10.5a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zM7 7.25H5.59L4 9.068V10h3V7.25z",fill:"currentColor",fillRule:"evenodd"}))}function Bt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.775 17.75c.702.931 2.675 1.627 5.072 1.735l.378.012.275.003.356-.005c2.53-.061 4.638-.776 5.37-1.745.178.236.274.489.274.75 0 1.38-2.686 2.5-6 2.5s-6-1.12-6-2.5c0-.261.096-.514.275-.75zm0-3c.702.931 2.675 1.627 5.072 1.735l.378.012.275.003.356-.005c2.53-.061 4.638-.776 5.37-1.745.178.236.274.489.274.75 0 1.38-2.686 2.5-6 2.5s-6-1.12-6-2.5c0-.261.096-.514.275-.75zM6.25 14a1.5 1.5 0 110 3 1.5 1.5 0 010-3zM18 3a1.75 1.75 0 011.744 1.606l.006.144.001 4.617A13.959 13.959 0 0016.5 9c-1.809 0-3.443.316-4.627.81-.695.289-1.247.646-1.628 1.029-.458.46-.695.97-.738 1.488L9.5 12.5v2.75h-.762a2.5 2.5 0 00-2.324-2.245L6.25 13a2.5 2.5 0 00-2.488 2.25H2.25l-.102-.007a.75.75 0 01-.641-.641L1.5 14.5V9.929l.008-.108a.75.75 0 01.112-.3l.066-.086 3-3.429.076-.075a.75.75 0 01.381-.173l.107-.008h2.5v-1a1.75 1.75 0 011.606-1.744L9.5 3H18zm-1.5 7c3.314 0 6 1.12 6 2.5s-2.686 2.5-6 2.5-6-1.12-6-2.5 2.686-2.5 6-2.5zm0 1.5c-1.425 0-2.742.232-3.666.617a3.354 3.354 0 00-.65.347l-.048.036.048.036c.126.091.292.186.493.278l.157.07c.924.384 2.24.616 3.666.616 1.425 0 2.742-.232 3.666-.617.273-.114.492-.233.65-.347l.047-.037-.047-.035a3.044 3.044 0 00-.493-.278l-.157-.07c-.924-.384-2.24-.616-3.666-.616zM7 7.25H5.59L4 9.068V10h3V7.25z",fill:"currentColor",fillRule:"evenodd"}))}function _t(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 4c.966 0 1.75.784 1.75 1.75v6.14l-1.5-.001v-5.55l-8.04 6.253a.75.75 0 01-.826.062l-.094-.062L3.5 6.339V18.25a.25.25 0 00.193.243l.057.007H12V20H3.75A1.75 1.75 0 012 18.25V5.75C2 4.784 2.784 4 3.75 4h16.5zm1.53 9.72a.75.75 0 01.073.976l-.073.084-5 5a.75.75 0 01-.976.073l-.084-.073-3-3a.75.75 0 01.976-1.133l.084.073 2.47 2.469 4.47-4.47a.75.75 0 011.06 0zM19.134 5.5H4.865L12 11.049 19.134 5.5z",fill:"currentColor",fillRule:"evenodd"}))}function Gt(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.137 5.07l8.77 7.016a1.75 1.75 0 002.186 0l8.77-7.016c.088.209.137.439.137.68v12.5A1.75 1.75 0 0120.25 20H3.75A1.75 1.75 0 012 18.25V5.75c0-.241.049-.471.137-.68zM3.28 4.064c.15-.042.307-.064.47-.064h16.5c.163 0 .32.022.47.064l-8.564 6.85a.25.25 0 01-.312 0L3.28 4.064z",fill:"currentColor"}))}function qt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 4c.966 0 1.75.784 1.75 1.75v12.5A1.75 1.75 0 0120.25 20H3.75A1.75 1.75 0 012 18.25V5.75C2 4.784 2.784 4 3.75 4h16.5zm.25 2.339l-8.04 6.253a.75.75 0 01-.826.062l-.094-.062L3.5 6.339V18.25a.25.25 0 00.193.243l.057.007h16.5a.25.25 0 00.243-.193l.007-.057V6.339zM19.134 5.5H4.865L12 11.049 19.134 5.5z",fill:"currentColor",fillRule:"evenodd"}))}function $t(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H13.5v-1.5h5.75a.25.25 0 00.243-.193l.007-.057V4.75a.25.25 0 00-.193-.243L19.25 4.5H4.75a.25.25 0 00-.243.193L4.5 4.75v5.75H3V4.75C3 3.784 3.784 3 4.75 3h14.5zm-9 9c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0110.25 21h-5.5A1.75 1.75 0 013 19.25v-5.5c0-.966.784-1.75 1.75-1.75h5.5zm0 1.5h-5.5a.25.25 0 00-.243.193l-.007.057v5.5a.25.25 0 00.193.243l.057.007h5.5a.25.25 0 00.243-.193l.007-.057v-5.5a.25.25 0 00-.193-.243l-.057-.007zm7.25-7.75a.75.75 0 01.743.648l.007.102V10a.75.75 0 01-1.493.102L16.75 10V8.31l-3.22 3.22a.75.75 0 01-1.133-.976l.073-.084 3.218-3.22H14a.75.75 0 01-.743-.648L13.25 6.5a.75.75 0 01.648-.743L14 5.75h3.5z",fill:"currentColor",fillRule:"evenodd"}))}function Kt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.25 2a1.75 1.75 0 011.744 1.606L20 3.75v16a.75.75 0 01-.177.484l-.074.076-1.813 1.613a.75.75 0 01-.908.068l-.089-.068-1.314-1.17-1.314 1.17a.75.75 0 01-.811.121l-.097-.053-.089-.068L12 20.753l-1.314 1.17a.75.75 0 01-.811.121l-.097-.053-.089-.068-1.314-1.17-1.314 1.17a.75.75 0 01-.811.121l-.097-.053-.089-.068-1.813-1.613a.75.75 0 01-.243-.454L4 19.75v-16a1.75 1.75 0 011.606-1.744L5.75 2h12.5zm0 1.5H5.75a.25.25 0 00-.243.193L5.5 3.75v15.662l1.063.946 1.313-1.168a.75.75 0 01.812-.122l.096.053.09.069 1.314 1.168 1.313-1.168a.75.75 0 01.812-.122l.096.053.09.069 1.314 1.168 1.313-1.168a.75.75 0 01.812-.122l.096.053.09.069 1.314 1.168 1.062-.945V3.75a.25.25 0 00-.13-.22l-.063-.023-.057-.007zm-2.5 9.5a.75.75 0 110 1.5h-7.5a.75.75 0 110-1.5h7.5zm-3-3.5a.75.75 0 110 1.5h-4.5a.75.75 0 110-1.5h4.5zm3-3.5a.75.75 0 110 1.5h-7.5a.75.75 0 010-1.5h7.5z",fill:"currentColor",fillRule:"evenodd"}))}function Ut(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H12.5v-1.5h5.75a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v8.75H4V3.75C4 2.784 4.784 2 5.75 2h7.836zM4.648 14.507l.102-.007h5l.07.003.101.017.068.019.06.023.07.035.082.054.08.07a.749.749 0 01.096.118l.05.09.04.103c.012.037.02.076.026.116l.007.102v5a.75.75 0 01-1.493.102L9 20.25v-3.19l-4.72 4.72a.75.75 0 01-1.133-.976l.073-.084L7.938 16H4.75a.75.75 0 01-.743-.648L4 15.25a.75.75 0 01.648-.743zM16.5 16.5v2h-4v-2h4zm0-3v2h-4v-2h4zm-5-3v2h-4v-2h4zm5 0v2h-4v-2h4zm-2-5.879V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function Wt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H12.5v-1.5h5.75a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v8.75H4V3.75C4 2.784 4.784 2 5.75 2h7.836zM4.648 14.507l.102-.007h5l.07.003.101.017.068.019.06.023.07.035.082.054.08.07a.749.749 0 01.096.118l.05.09.04.103c.012.037.02.076.026.116l.007.102v5a.75.75 0 01-1.493.102L9 20.25v-3.19l-4.72 4.72a.75.75 0 01-1.133-.976l.073-.084L7.938 16H4.75a.75.75 0 01-.743-.648L4 15.25a.75.75 0 01.648-.743zM14.5 4.62v2.63a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function Jt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M8.5 7.999V9.5H5.75a.25.25 0 00-.243.193L5.5 9.75v10.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9.75a.25.25 0 00-.193-.243L18.25 9.5H15.5V7.999L18.25 8c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V9.75C4 8.784 4.784 8 5.75 8l2.75-.001zM11.992 2l.1.006.076.013.08.023.107.047.091.058.084.073 3 3a.75.75 0 01-.976 1.133l-.084-.073-1.72-1.719V15.25a.75.75 0 01-1.493.102l-.007-.102V4.561l-1.72 1.72a.75.75 0 01-1.133-.977l.073-.084 3-3a.753.753 0 01.125-.101l.088-.049.119-.043.106-.021A.754.754 0 0111.992 2z",fill:"currentColor",fillRule:"evenodd"}))}function Yt(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.53 2.47a.75.75 0 00-1.06 1.06l3.605 3.605a10.258 10.258 0 00-4.097 6.208.75.75 0 101.466.314 8.757 8.757 0 013.71-5.443l1.987 1.988a4 4 0 005.656 5.656l5.673 5.672a.75.75 0 101.06-1.06l-18-18zm10.207 12.328l-3.535-3.535a2.5 2.5 0 003.535 3.535zM12.061 9L16 12.94A4 4 0 0012.06 9zM8.815 5.754l1.218 1.218a8.753 8.753 0 0110.523 6.685.75.75 0 101.467-.314C21.032 8.718 16.922 5.25 12 5.25c-1.112 0-2.182.177-3.185.504z",fill:"currentColor"}))}function Qt(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.444 13.657a8.753 8.753 0 0117.112 0 .75.75 0 101.466-.314C21.033 8.718 16.922 5.25 12 5.25c-4.922 0-9.031 3.468-10.022 8.093a.75.75 0 101.466.314zM14.5 13a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0zm1.5 0a4 4 0 11-8 0 4 4 0 018 0z",fill:"currentColor"}))}function Xt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 2a.75.75 0 01.75.75v2a.75.75 0 01-.15.45l-5.7 7.6a.75.75 0 00-.15.45v6.725a.75.75 0 01-.494.705l-4 1.454A.75.75 0 019.5 21.43v-8.163a.75.75 0 00-.168-.473L3.168 5.207A.75.75 0 013 4.734V2.75A.75.75 0 013.75 2h16.5z",fill:"currentColor",fillRule:"evenodd"}))}function Zt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 2a.75.75 0 01.75.75v2a.75.75 0 01-.15.45l-5.7 7.6a.75.75 0 00-.15.45v6.725a.75.75 0 01-.494.705l-4 1.454A.75.75 0 019.5 21.43v-8.163a.75.75 0 00-.168-.473L3.168 5.207A.75.75 0 013 4.734V2.75A.75.75 0 013.75 2h16.5zm-.75 1.5h-15v.967l5.996 7.38c.285.351.457.779.496 1.226l.008.193v7.092l2.5-.91V13.25c0-.426.12-.842.347-1.2l.103-.15 5.55-7.401V3.5z",fill:"currentColor",fillRule:"evenodd"}))}function en(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.75 3.75A.75.75 0 019.5 3h12a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0V4.5h-4.5v15h1.25a.75.75 0 010 1.5h-4a.75.75 0 010-1.5h1.25v-15h-4.5v.75a.75.75 0 01-1.5 0v-1.5zM6.5 9.25h4a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0v-.75h-2.5v8.75H8.5a.75.75 0 010 1.5h-4a.75.75 0 010-1.5h1.25v-8.75h-2.5v.75a.75.75 0 01-1.5 0V10a.75.75 0 01.75-.75h4z",fill:"currentColor"}))}function tn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm-.925 3.324a.75.75 0 00-.95.263l-.051.088-4.124 8.591-2.924-6.09-.057-.1a.751.751 0 00-1.238 0l-.057.1-1.724 3.59-.524-1.09-.05-.09a.75.75 0 00-1.34.644l.038.095 1.2 2.5.057.1a.751.751 0 001.238 0l.057-.1L9.6 11.233l2.924 6.092.057.1a.751.751 0 001.238 0l.057-.1 4.8-10 .038-.095a.75.75 0 00-.39-.906z",fill:"currentColor",fillRule:"evenodd"}))}function nn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.158 2.017a.75.75 0 01.59.79l-.015.102-1.047 4.841H20a.75.75 0 01.102 1.493L20 9.25h-2.638l-1.189 5.5H18.5a.75.75 0 01.102 1.493l-.102.007h-2.652l-1.115 5.159a.75.75 0 01-1.48-.216l.014-.101 1.046-4.842H7.848l-1.115 5.159a.75.75 0 01-1.48-.216l.014-.101 1.046-4.842H4a.75.75 0 01-.102-1.493L4 14.75h2.637l1.189-5.5H5.5a.75.75 0 01-.102-1.493L5.5 7.75h2.651l1.116-5.158a.75.75 0 011.48.216l-.014.1L9.686 7.75h6.465l1.116-5.158a.75.75 0 01.891-.575zM14.637 14.75l1.189-5.5H9.362l-1.189 5.5h6.464z",fill:"currentColor",fillRule:"evenodd"}))}function ln(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.53 2.97a.75.75 0 00-1.06 0l-3 3a.75.75 0 001.06 1.06l1.72-1.72v13.38l-1.72-1.72a.75.75 0 10-1.06 1.06l3 3a.75.75 0 001.06 0l3-3a.75.75 0 10-1.06-1.06l-1.72 1.72V5.31l1.72 1.72a.75.75 0 101.06-1.06l-3-3zM3 19.25a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3zM2.25 12a.75.75 0 01.75-.75h8.5a.75.75 0 010 1.5H3a.75.75 0 01-.75-.75zM3 3.25a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3z",fill:"currentColor"}))}function an(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.53 2.97a.75.75 0 00-1.06 0l-3 3a.75.75 0 001.06 1.06l1.72-1.72v13.38l-1.72-1.72a.75.75 0 10-1.06 1.06l3 3a.75.75 0 001.06 0l3-3a.75.75 0 10-1.06-1.06l-1.72 1.72V5.31l1.72 1.72a.75.75 0 101.06-1.06l-3-3zM2.25 7.5A.75.75 0 013 6.75h8.5a.75.75 0 010 1.5H3a.75.75 0 01-.75-.75zM3 11.25a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3zm0 4.5a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3z",fill:"currentColor"}))}function rn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.53 2.97a.75.75 0 00-1.06 0l-3 3a.75.75 0 001.06 1.06l1.72-1.72v13.38l-1.72-1.72a.75.75 0 10-1.06 1.06l3 3a.75.75 0 001.06 0l3-3a.75.75 0 10-1.06-1.06l-1.72 1.72V5.31l1.72 1.72a.75.75 0 101.06-1.06l-3-3zM2.25 9A.75.75 0 013 8.25h8.5a.75.75 0 010 1.5H3A.75.75 0 012.25 9zM3 11.25a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3zm0 3a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3z",fill:"currentColor"}))}function on(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.53 2.97a.75.75 0 00-1.06 0l-3 3a.75.75 0 001.06 1.06l1.72-1.72v13.38l-1.72-1.72a.75.75 0 10-1.06 1.06l3 3a.75.75 0 001.06 0l3-3a.75.75 0 10-1.06-1.06l-1.72 1.72V5.31l1.72 1.72a.75.75 0 101.06-1.06l-3-3zM2.25 6A.75.75 0 013 5.25h8.5a.75.75 0 010 1.5H3A.75.75 0 012.25 6zM3 11.25a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3zm0 6a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3z",fill:"currentColor"}))}function sn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 6l8 8v7a1 1 0 01-1 1h-5v-5a1 1 0 00-.883-.993L13 16h-2a1 1 0 00-.993.883L10 17v5H5a1 1 0 01-1-1v-7l8-8zm.613-3.79l.094.083L17 6.585V4.75a.5.5 0 01.5-.5h1a.5.5 0 01.5.5v3.835l2.707 2.708a1 1 0 01-1.32 1.497l-.094-.083L12 4.415l-8.293 8.292a1 1 0 01-1.32.083l-.094-.083a1 1 0 01-.083-1.32l.083-.094 9-9a1 1 0 011.32-.083z",fill:"currentColor",fillRule:"evenodd"}))}function cn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.25 6c.966 0 1.75.784 1.75 1.75v11.5A1.75 1.75 0 0116.25 21H4.75A1.75 1.75 0 013 19.25V7.75C3 6.784 3.784 6 4.75 6h11.5zm0 1.5H4.75a.25.25 0 00-.243.193L4.5 7.75v11.5a.25.25 0 00.193.243l.057.007h11.5a.25.25 0 00.243-.193l.007-.057V7.75a.25.25 0 00-.193-.243L16.25 7.5zm-4.264 6.889l3.164 3.961h-9.5l2.375-3.164 1.605 2.148 2.356-2.945zM19.25 3a1.75 1.75 0 011.744 1.606L21 4.75v12.5a.75.75 0 01-1.493.102l-.007-.102V4.75a.25.25 0 00-.193-.243L19.25 4.5H6.75a.75.75 0 01-.102-1.493L6.75 3h12.5z",fill:"currentColor",fillRule:"evenodd"}))}function un(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M8.5 8v1.5H5.75a.25.25 0 00-.243.193L5.5 9.75v10.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9.75a.25.25 0 00-.193-.243L18.25 9.5H15.5V8h2.75c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V9.75C4 8.784 4.784 8 5.75 8H8.5zM12 2a.75.75 0 01.743.648l.007.102v10.689l1.72-1.72a.75.75 0 011.133.977l-.073.084-3 3a.753.753 0 01-.125.101l-.088.049-.119.043-.106.021-.041.004-.07.002-.073-.006-.076-.013-.08-.023-.1-.043a.75.75 0 01-.182-.135l-3-3a.75.75 0 01.976-1.133l.084.073 1.72 1.719V2.75A.75.75 0 0112 2z",fill:"currentColor",fillRule:"evenodd"}))}function dn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.997v2H6.918l-2.8 8h3.229a1 1 0 01.916.598l.974 2.221a1 1 0 00.916.598h3.694a1 1 0 00.915-.598l.976-2.22a1 1 0 01.915-.599h3.228l-.525-1.5h2.118l.428 1.22c.065.185.098.38.098.578v3.952a1.75 1.75 0 01-1.607 1.744l-.143.006H3.75A1.75 1.75 0 012 18.247v-3.952c0-.197.033-.393.098-.578L5.09 5.169a1.75 1.75 0 011.652-1.172H12zM17.966 1c2.373 0 4.052 1.688 4.052 3.99 0 .988-.267 1.349-1.03 1.386l-.14.003h-4.72v.404c.01 1.301.836 2.136 2.216 2.136.64 0 1.114-.139 1.502-.41l.403-.307c.267-.196.425-.276.705-.276.483 0 .817.334.817.844 0 .367-.2.72-.554 1.016l-.278.216c-.63.455-1.627.727-2.745.727-2.653 0-4.32-1.515-4.416-4.023l-.005-.23V5.27c0-2.547 1.688-4.27 4.193-4.27zM18 2.763c-1.09 0-1.805.769-1.868 1.932l-.004.186h3.674v-.017c0-1.275-.703-2.101-1.802-2.101z",fill:"currentColor"}))}function mn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.5 4v2H6.918l-2.8 8h3.229a1 1 0 01.916.598l.974 2.22a1 1 0 00.916.599h3.694a1 1 0 00.915-.598l.976-2.221a1 1 0 01.915-.598h3.228l-.525-1.5h2.118l.428 1.22c.065.185.098.38.098.577v3.953a1.75 1.75 0 01-1.607 1.744L20.25 20H3.75A1.75 1.75 0 012 18.25v-3.953c0-.197.033-.392.098-.578L5.09 5.172A1.75 1.75 0 016.742 4H13.5zM20 1l3 3v6c0 .51-.388.935-.884.993L22 11h-6.005a.998.998 0 01-.988-.884L15 10l.005-8a1 1 0 01.879-.993L16 1h4zm-1 1v3h3l-3-3z",fill:"currentColor"}))}function gn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 4v2H6.918l-2.8 8h3.229a1 1 0 01.916.598l.974 2.22a1 1 0 00.916.599h3.694a1 1 0 00.915-.598l.976-2.221a1 1 0 01.915-.598h3.228l-.525-1.5h2.118l.428 1.22c.065.185.098.38.098.577v3.953a1.75 1.75 0 01-1.607 1.744L20.25 20H3.75A1.75 1.75 0 012 18.25v-3.953c0-.197.033-.392.098-.578L5.09 5.172A1.75 1.75 0 016.742 4H12zm6.167-2.76a.35.35 0 01.631-.074l.036.074 1.145 3.115 3.183.179c.283.016.421.342.286.57l-.043.058-.037.036-2.476 2.104.823 3.226c.073.288-.182.527-.43.46l-.068-.025-.042-.024L18.5 9.121l-2.674 1.816c-.24.163-.535-.018-.552-.286l.003-.075.01-.049.821-3.226-2.475-2.104a.384.384 0 01.088-.637l.068-.02.05-.007 3.183-.179 1.145-3.115z",fill:"currentColor"}))}function fn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.258 4c.744 0 1.407.47 1.652 1.172l2.992 8.547c.065.186.098.382.098.578v3.953a1.75 1.75 0 01-1.607 1.744L20.25 20H3.75A1.75 1.75 0 012 18.25v-3.953c0-.197.033-.392.098-.578L5.09 5.172A1.75 1.75 0 016.742 4h10.516zm-.177 2H6.918l-2.8 8h3.229a1 1 0 01.916.598l.974 2.22a1 1 0 00.916.599h3.694a1 1 0 00.915-.598l.976-2.221a1 1 0 01.915-.598h3.228l-2.8-8z",fill:"currentColor"}))}function hn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.75 18.249A.75.75 0 0114 19h-4a.75.75 0 010-1.503h1.233V11H10a.75.75 0 010-1.503h1.983a.75.75 0 01.75.752v7.248H14a.75.75 0 01.75.752z",fill:"currentColor"}),t.createElement("path",{d:"M12.733 6.002a1 1 0 11-2.001.001 1 1 0 012.001-.001z",fill:"currentColor"}))}function vn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm-8 12.25H4.5v4a.25.25 0 00.193.243l.057.007h6.5v-4.25zm8.25-5h-6.75v9.25h6.5a.25.25 0 00.243-.193l.007-.057v-9zm-2.996 2.383c.419 0 .71.26.755.67l.007.115v3.945c0 .442-.23.688-.637.688-.373 0-.597-.207-.635-.573l-.006-.115v-3.511h-.015l-.41.277c-.204.129-.313.168-.442.168a.431.431 0 01-.445-.445c0-.165.086-.314.256-.445l.091-.063.637-.426c.305-.195.582-.285.844-.285zM11.25 4.5h-6.5a.25.25 0 00-.243.193L4.5 4.75v9h6.75V4.5zM7.883 6.57c1.074 0 1.86.657 1.86 1.551 0 .505-.224.954-.764 1.519l-1.268 1.282v.055h1.625c.363 0 .59.195.59.515 0 .285-.18.468-.484.502L9.336 12H6.664c-.379 0-.629-.215-.629-.543 0-.208.102-.392.399-.699l.12-.121 1.352-1.39c.418-.427.594-.708.594-1.005 0-.383-.277-.64-.688-.64-.332 0-.574.168-.746.515-.171.266-.32.367-.546.367-.31 0-.524-.21-.524-.507 0-.727.82-1.407 1.887-1.407zM19.25 4.5h-6.5v4.25h6.75v-4a.25.25 0 00-.193-.243L19.25 4.5z",fill:"currentColor",fillRule:"evenodd"}))}function pn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10 15a3.5 3.5 0 110 7 3.5 3.5 0 010-7zm0 2.25a1.25 1.25 0 100 2.5 1.25 1.25 0 000-2.5zm11.518-1.94l.04.121a1.25 1.25 0 01-.762 1.492l-.122.04-6.175 1.654.001-.117a4.48 4.48 0 00-.633-2.302l6.16-1.65a1.25 1.25 0 011.491.762zm-3.375-9.442l1.812 6.762a1 1 0 01-.707 1.224l-5.943 1.592a4.496 4.496 0 00-2.268-1.326L9.45 8.197a1 1 0 01.707-1.224l6.761-1.812a1 1 0 011.225.707zM3.657 1.536l.128.049 2.69 1.184c.304.133.54.381.66.686l.044.134L9.97 14l-.18.005a4.475 4.475 0 00-2.218.706L4.919 4.815l-2.141-.942a1.25 1.25 0 01-.69-1.52l.05-.128c.259-.59.918-.879 1.519-.689zM15.44 7.37a.75.75 0 00-.819-.55l-.1.02-1.449.388a.75.75 0 00.288 1.469l.1-.02 1.45-.388a.75.75 0 00.53-.919z",fill:"currentColor",fillRule:"evenodd"}))}function wn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.737 3.668c-.055 1.093.226 2.033.894 2.7.668.669 1.608.95 2.7.897a18.08 18.08 0 01-3.09 4.184 27.666 27.666 0 01-3.127 2.706v3.318a.553.553 0 01-.162.39l-3.975 3.975a.553.553 0 01-.943-.39V18.32a.55.55 0 01.162-.39l1.24-1.24a.553.553 0 00.161-.39v-.133c-1.238.463-2.218.487-2.735-.03-.517-.517-.493-1.497-.03-2.735H7.7a.553.553 0 00-.325.105l-.066.057-1.24 1.24a.553.553 0 01-.303.154l-.087.007H2.553a.553.553 0 01-.455-.867l.064-.076 3.975-3.975a.553.553 0 01.304-.155l.086-.007h3.318a27.666 27.666 0 012.706-3.126 18.078 18.078 0 014.186-3.092zM21.93 2.07c.104.105.095.547-.048 1.212l-.083.35-.107.386-.061.204-.142.43c-.154.444-.345.928-.575 1.436-1.073.193-1.96.04-2.501-.5-.523-.523-.684-1.37-.52-2.395l.019-.107a16.762 16.762 0 011.654-.649l.416-.13.197-.055.368-.095c.76-.18 1.27-.2 1.383-.087z",fill:"currentColor",fillRule:"evenodd"}))}function bn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10 3a1 1 0 011 1v16a1 1 0 01-1 1H4a1 1 0 01-1-1V4a1 1 0 011-1h6zm10 0a1 1 0 011 1v16a1 1 0 01-1 1h-6a1 1 0 01-1-1V4a1 1 0 011-1h6z",fill:"currentColor",fillRule:"evenodd"}))}function En(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20 3a1 1 0 011 1v16a1 1 0 01-1 1h-6a1 1 0 01-1-1V4a1 1 0 011-1h6zM10 3a1 1 0 011 1v16a1 1 0 01-1 1H4a1 1 0 01-1-1V4a1 1 0 011-1h6zm9.5 1.5h-5v15h5v-15z",fill:"currentColor",fillRule:"evenodd"}))}function xn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10 3a1 1 0 01.993.883L11 4v16a1 1 0 01-.883.993L10 21H4a1 1 0 01-.993-.883L3 20V4a1 1 0 01.883-.993L4 3h6zm10 0a1 1 0 01.993.883L21 4v16a1 1 0 01-.883.993L20 21h-6a1 1 0 01-.993-.883L13 20V4a1 1 0 01.883-.993L14 3h6zM9.5 4.5h-5v15h5v-15z",fill:"currentColor",fillRule:"evenodd"}))}function yn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20 3a1 1 0 011 1v16a1 1 0 01-1 1h-6a1 1 0 01-1-1V4a1 1 0 011-1h6zM10 3a1 1 0 01.993.883L11 4v16a1 1 0 01-.883.993L10 21H4a1 1 0 01-.993-.883L3 20V4a1 1 0 01.883-.993L4 3h6zm9.5 1.5h-5v15h5v-15zm-10 0h-5v15h5v-15z",fill:"currentColor",fillRule:"evenodd"}))}function zn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.5 20.5V22h-5v-1.5h5zm-9-2.5v2.25a.25.25 0 00.193.243l.057.007H8V22H5.75A1.75 1.75 0 014 20.25V18h1.5zM20 18v2.25A1.75 1.75 0 0118.25 22H16v-1.5h2.25a.25.25 0 00.243-.193l.007-.057V18H20zm0-5.25v3.75h-1.5v-3.75H20zm-14.5 0v3.75H4v-3.75h1.5zM16.326 2.676a1.752 1.752 0 012.349-.113l.125.113.594.593c.59.589.676 1.502.21 2.216l-.094.131-.115.128-7.504 7.5-3 .008-.078-3.067 7.513-7.509zm-.796 2.916l-5.202 5.199.025.957.914-.002 5.209-5.207-.946-.947zM20 9v2.25h-1.5V9H20zM5.5 7.5v3.75H4V7.5h1.5zM8 2v1.5H5.75a.25.25 0 00-.243.193L5.5 3.75V6H4V3.75C4 2.784 4.784 2 5.75 2H8zm9.687 1.697a.252.252 0 00-.248 0l-.053.04-.796.795.946.947.82-.82a.248.248 0 00.043-.216l-.021-.053-.044-.06-.594-.593-.053-.04zM13 2v1.499L9.5 3.5V2H13z",fill:"currentColor",fillRule:"evenodd"}))}function Rn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.5 11.5c1.69 0 3.093.4 4.212 1.198a4.49 4.49 0 00-.83 1.255C12.996 13.307 11.875 13 10.5 13c-3.37 0-5.211 1.84-5.806 6.002a1.313 1.313 0 001.165 1.491l.134.007h6.506L12.5 22H5.993a2.813 2.813 0 01-2.784-3.21c.695-4.86 3.125-7.29 7.291-7.29zm8.725 9.474A1.259 1.259 0 0118 22c-.605 0-1.11-.44-1.225-1.026h2.45zM18 12c.456 0 .841.392.961.927A3 3 0 0121 15.769v2.898l.835.642a.5.5 0 01-.213.888l-.092.008h-7.06a.5.5 0 01-.305-.896l.835-.642v-2.898c0-1.32.854-2.442 2.04-2.843.119-.534.504-.926.96-.926zM10.5 2C12.433 2 14 3.903 14 6.25s-1.567 4.25-3.5 4.25S7 8.597 7 6.25 8.567 2 10.5 2zm0 1.5c-1.033 0-2 1.174-2 2.75S9.467 9 10.5 9s2-1.174 2-2.75-.967-2.75-2-2.75z",fill:"currentColor",fillRule:"evenodd"}))}function Cn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm.25 3h-15v13.25a.25.25 0 00.193.243l.057.007h14.5a.25.25 0 00.243-.193l.007-.057V6zm-8.75 9.5a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm6.5 0a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm-6.5-3.5a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm6.5 0a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm-6.5-3.5a.75.75 0 110 1.5h-4a.75.75 0 010-1.5h4zm6.5 0a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4z",fill:"currentColor",fillRule:"evenodd"}))}function Sn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7.25 16.5V18h-2.5a.75.75 0 110-1.5h2.5zm12 0a.75.75 0 110 1.5h-2.5v-1.5h2.5zm-7.75 0V18H8.25v-1.5h3.25zm4.25 0V18H12.5v-1.5h3.25zm-8.5-3.501v1.5l-2.5.001a.75.75 0 110-1.5l2.5-.001zm12 .001a.75.75 0 110 1.5l-2.5-.001v-1.5l2.5.001zm-7.75-.001v1.5H8.25v-1.5h3.25zm4.25 0v1.5H12.5v-1.5h3.25zM7.25 9.5V11h-2.5a.75.75 0 110-1.5h2.5zm12 0a.75.75 0 110 1.5h-2.5V9.5h2.5zm-7.75 0V11H8.25V9.5h3.25zm4.25 0V11H12.5V9.5h3.25zM7.25 6v1.5h-2.5a.75.75 0 010-1.5h2.5zm12 0a.75.75 0 110 1.5h-2.5V6h2.5zM11.5 6v1.5H8.25V6h3.25zm4.25 0v1.5H12.5V6h3.25z",fill:"currentColor",fillRule:"evenodd"}))}function Nn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.567 12.105a.4.4 0 01.1.309l-.29 2.798 2.434 1.41a.4.4 0 01-.116.737l-2.752.587-.587 2.752a.4.4 0 01-.738.116L15.21 18.38l-2.798.292a.4.4 0 01-.339-.666l1.88-2.092-1.141-2.571a.4.4 0 01.528-.528l2.57 1.141 2.093-1.88a.4.4 0 01.565.03zM19.25 3c.966 0 1.75.784 1.75 1.75V11h-1.5V6h-15v13.25a.25.25 0 00.193.243l.057.007H11V21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm-8.5 12.5a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm0-3.5a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm0-3.5a.75.75 0 110 1.5h-4a.75.75 0 010-1.5h4zm6.5 0a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4z",fill:"currentColor",fillRule:"evenodd"}))}function An(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75a1.75 1.75 0 01-1.732-1.499L19.25 19.5a.25.25 0 00.243-.193l.007-.057L19.499 6h-15v3.5h-1.5L3 4.75C3 3.784 3.784 3 4.75 3h14.5zM6.28 10.97a.75.75 0 01.073.976l-.073.084-1.719 1.719 5.689.001a.75.75 0 110 1.5l-5.69-.001 1.72 1.72a.75.75 0 01-.976 1.134l-.084-.073-3-3-.08-.094-.051-.081-.05-.116-.027-.103-.01-.089v-.094l.018-.124.03-.099.047-.099.054-.082.069-.08 3-3a.75.75 0 011.06 0zm10.97 4.53a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zm0-3.5a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zm0-3.5a.75.75 0 110 1.5h-8.5a.75.75 0 010-1.5h8.5z",fill:"currentColor",fillRule:"evenodd"}))}function On(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 15.25a.75.75 0 01.743.648l.007.102v3.439l1.22-1.22a.75.75 0 011.133.977l-.073.084-2.5 2.5a.754.754 0 01-.078.069l.078-.069-.042.04-.052.04-.114.068-.098.038-.116.026-.056.006h-.104l-.119-.018-.098-.03-.1-.047-.082-.054-.08-.069-2.5-2.5a.75.75 0 01.977-1.133l.084.073 1.22 1.219V16a.75.75 0 01.75-.75zm-4.75-2.751v1.5L4.75 14a.75.75 0 110-1.5l2.5-.001zm12 .001a.75.75 0 110 1.5l-2.5-.001v-1.5l2.5.001zm-7.75-.001v1.5H8.25v-1.5h3.25zm4.25 0v1.5H12.5v-1.5h3.25zm-8.5-3.5v1.5l-2.5.001a.75.75 0 110-1.5l2.5-.001zm12 .001a.75.75 0 110 1.5l-2.5-.001v-1.5l2.5.001zm-7.75-.001v1.5H8.25v-1.5h3.25zm4.25 0v1.5H12.5v-1.5h3.25zm3.5-3.499a.75.75 0 110 1.5H4.75a.75.75 0 010-1.5h14.5zm0-3.5a.75.75 0 110 1.5H4.75a.75.75 0 010-1.5h14.5z",fill:"currentColor",fillRule:"evenodd"}))}function In(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 20.5a.75.75 0 110 1.5H4.75a.75.75 0 110-1.5h14.5zm0-3.5a.75.75 0 110 1.5H4.75a.75.75 0 110-1.5h14.5zm0-3.5a.75.75 0 110 1.5H4.75a.75.75 0 110-1.5h14.5zm0-3.5a.75.75 0 110 1.5H4.75a.75.75 0 110-1.5h14.5zm-2.5-8a.75.75 0 01.743.648l.007.102v3.439l1.22-1.22a.75.75 0 011.133.977l-.073.084-2.5 2.5a.754.754 0 01-.078.069l.078-.069-.042.04-.052.04-.114.068-.098.038-.084.02-.088.012-.052.002-.052-.002-.119-.018-.098-.03-.1-.047-.082-.054-.08-.069-2.5-2.5a.75.75 0 01.977-1.133l.084.073L16 6.189V2.75a.75.75 0 01.75-.75zm-9.576.004l.128-.002.119.018.098.03.1.047.051.032.038.027.072.064 2.5 2.5a.75.75 0 01-.976 1.133L9.22 5.78 7.999 4.56 8 8a.75.75 0 01-1.493.102L6.5 8l-.001-3.438L5.28 5.78a.75.75 0 01-1.133-.976l.073-.084 2.5-2.5.042-.04.052-.04.114-.068.098-.038.084-.02a.75.75 0 01.064-.01z",fill:"currentColor",fillRule:"evenodd"}))}function Ln(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.567 12.105a.4.4 0 01.1.309l-.29 2.798 2.434 1.41a.4.4 0 01-.116.737l-2.752.587-.587 2.752a.4.4 0 01-.738.116L15.21 18.38l-2.798.292a.4.4 0 01-.339-.666l1.88-2.092-1.141-2.571a.4.4 0 01.528-.528l2.57 1.141 2.093-1.88a.4.4 0 01.565.03zM4.5 15v4.25a.25.25 0 00.193.243l.057.007H11V21H4.75A1.75 1.75 0 013 19.25V15h1.5zm6.28-1.72l-3 3-.084.073a.75.75 0 01-1.049-1.05l.073-.083 1.718-1.72H2.75a.75.75 0 110-1.5h5.689l-1.72-1.72a.75.75 0 01.977-1.133l.084.073 3 3a.754.754 0 01.092.11l.054.095.035.086.027.103.01.084-.001.121-.017.102-.019.068-.023.06-.035.07-.06.09-.063.071zM19.25 3c.966 0 1.75.784 1.75 1.75V11h-1.5V6h-15v4.5H3V4.75C3 3.784 3.784 3 4.75 3h14.5z",fill:"currentColor",fillRule:"evenodd"}))}function Hn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7.5 16c2.434 0 3.88 1.316 4.34 3.95A1.75 1.75 0 0110.116 22H4.884a1.75 1.75 0 01-1.724-2.05C3.62 17.315 5.066 16 7.5 16zM19.25 2c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 20h-6.038l-.01-.063a11.184 11.184 0 00-.369-1.437h6.417a.25.25 0 00.243-.193l.007-.057V3.75a.25.25 0 00-.193-.243L19.25 3.5H7.75a.25.25 0 00-.243.193L7.5 3.75V9.5c-.54 0-1.053.164-1.5.464V3.75C6 2.784 6.784 2 7.75 2h11.5zM7.5 10.5c1.105 0 2 1.12 2 2.5s-.895 2.5-2 2.5-2-1.12-2-2.5.895-2.5 2-2.5zm9.75 3.5a.75.75 0 110 1.5h-4.5a.75.75 0 110-1.5h4.5zm0-4a.75.75 0 110 1.5h-6a.75.75 0 110-1.5h6zm0-4a.75.75 0 110 1.5h-7.5a.75.75 0 010-1.5h7.5z",fill:"currentColor",fillRule:"evenodd"}))}function Mn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.598 20.501a2.999 2.999 0 01-5.196 0h5.196zm.152-2.251a.75.75 0 110 1.5h-5.5a.75.75 0 110-1.5h5.5zM12 4.5c3.314 0 6 2.716 6 6.067 0 1.502-.517 2.528-1.087 3.398l-.265.392-.39.561c-.418.614-.761 1.208-.82 1.929l-.01.22c0 .256-.112.4-.338.428L15 17.5H9c-.254 0-.395-.114-.423-.342l-.006-.091c0-.774-.328-1.414-.75-2.064l-.262-.392-.273-.402-.24-.364C6.492 12.978 6 11.973 6 10.567 6 7.217 8.686 4.5 12 4.5zM12 6c-2.482 0-4.5 2.04-4.5 4.567 0 .931.245 1.599.876 2.573l.647.96.152.234c.322.512.56.988.709 1.474l.052.192h4.128l.054-.192c.126-.402.314-.796.561-1.208l.156-.25.235-.352.408-.587c.736-1.07 1.022-1.78 1.022-2.844C16.5 8.04 14.482 6 12 6zm-5.846 7.875a.75.75 0 01-.19.968l-.084.057-.866.5a.75.75 0 01-.835-1.243l.085-.057.866-.5a.75.75 0 011.024.275zm12.625-.32l.091.045.866.5a.75.75 0 01-.658 1.344l-.092-.044-.866-.5a.75.75 0 01.659-1.344zm2.33-4.661a.75.75 0 01-.509.844l-.099.025-.985.173a.75.75 0 01-.36-1.453l.1-.024.985-.174a.75.75 0 01.868.609zm-17.451-.62l.101.011.985.174a.75.75 0 01-.159 1.488l-.101-.01-.985-.174a.75.75 0 01.159-1.489zm14.288-4.86a.75.75 0 01.152.974l-.06.083-.643.766a.75.75 0 01-1.209-.882l.06-.082.643-.766a.75.75 0 011.057-.093zM7.04 3.433l.07.074.644.766A.75.75 0 016.675 5.31l-.07-.073-.643-.766A.75.75 0 017.04 3.433zM12 1.25a.75.75 0 01.743.648L12.75 2v1a.75.75 0 01-1.493.102L11.25 3V2a.75.75 0 01.75-.75z",fill:"currentColor",fillRule:"evenodd"}))}function kn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18 11.25a.75.75 0 01.102 1.493L18 12.75H6a.75.75 0 01-.102-1.493L6 11.25h12z",fill:"currentColor",fillRule:"evenodd"}))}function Vn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.25 16a.75.75 0 01.75.75v2.5a.75.75 0 01-.75.75h-2.5a.75.75 0 01-.75-.75v-2.5a.75.75 0 01.75-.75h2.5zm14 1.25a.75.75 0 01.102 1.493l-.102.007H10a.75.75 0 01-.102-1.493L10 17.25h10.25zM6.25 10a.75.75 0 01.75.75v2.5a.75.75 0 01-.75.75h-2.5a.75.75 0 01-.75-.75v-2.5a.75.75 0 01.75-.75h2.5zm14 1.25a.75.75 0 01.102 1.493l-.102.007H10a.75.75 0 01-.102-1.493L10 11.25h10.25zM6.25 4a.75.75 0 01.75.75v2.5a.75.75 0 01-.75.75h-2.5A.75.75 0 013 7.25v-2.5A.75.75 0 013.75 4h2.5zm14 1.25a.75.75 0 01.102 1.493l-.102.007H10a.75.75 0 01-.102-1.493L10 5.25h10.25z",fill:"currentColor",fillRule:"evenodd"}))}function jn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M17.5 11a4.5 4.5 0 013.632 7.158l.036-.05 1.862 1.862a.75.75 0 01-.976 1.133l-.084-.073-1.863-1.862-.112.077A4.5 4.5 0 1117.5 11zm-6.25 7.5a.75.75 0 110 1.5h-8.5a.75.75 0 110-1.5h8.5zm6.25-6a3 3 0 100 6 3 3 0 000-6zm-7.25 1.167a.75.75 0 110 1.5h-7.5a.75.75 0 010-1.5h7.5zm3-4.834a.75.75 0 110 1.5H2.75a.75.75 0 110-1.5h10.5zm8-4.833a.75.75 0 110 1.5H2.75a.75.75 0 010-1.5h18.5z",fill:"currentColor",fillRule:"evenodd"}))}function Tn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 18a.75.75 0 110 1.5H4.75a.75.75 0 110-1.5h14.5zm0-4.5a.75.75 0 110 1.5H4.75a.75.75 0 110-1.5h14.5zm0-4.5a.75.75 0 110 1.5H4.75a.75.75 0 110-1.5h14.5zm0-4.5a.75.75 0 110 1.5H4.75a.75.75 0 010-1.5h14.5z",fill:"currentColor",fillRule:"evenodd"}))}function Dn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.843 4.568a8.707 8.707 0 0112.314 12.314l-1.187 1.174c-.875.858-2.01 1.962-3.406 3.312a2.25 2.25 0 01-3.128 0l-3.491-3.396c-.44-.431-.806-.794-1.102-1.09a8.707 8.707 0 010-12.314zm11.253 1.06A7.207 7.207 0 106.903 15.822l1.488 1.468c.818.801 1.848 1.801 3.088 3a.75.75 0 001.042 0l3.395-3.3c.47-.461.863-.85 1.18-1.168a7.207 7.207 0 000-10.192zM12 7.999a3.002 3.002 0 110 6.004A3.002 3.002 0 0112 8zm0 1.5a1.502 1.502 0 100 3.004A1.502 1.502 0 0012 9.5z",fill:"currentColor"}))}function Fn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 1a5.001 5.001 0 014.87 3.863.75.75 0 01-1.461.34 3.502 3.502 0 00-6.904.605L8.5 6v2h9.75c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V9.75C4 8.784 4.784 8 5.75 8H7V6a5 5 0 015-5zm6.25 8.5H5.75a.25.25 0 00-.243.193L5.5 9.75v10.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9.75a.25.25 0 00-.193-.243L18.25 9.5zM12 13a1.5 1.5 0 01.751 2.799l-.001.951a.75.75 0 11-1.5 0v-.95A1.5 1.5 0 0112 13z",fill:"currentColor",fillRule:"evenodd"}))}function Pn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1a5 5 0 015 5v2h1.25c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V9.75C4 8.784 4.784 8 5.75 8H7V6a5 5 0 015-5zm6.25 8.5H5.75a.25.25 0 00-.243.193L5.5 9.75v10.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9.75a.25.25 0 00-.193-.243L18.25 9.5zM12 13a1.5 1.5 0 01.751 2.799l-.001.951a.75.75 0 01-1.5 0v-.95A1.5 1.5 0 0112 13zm0-10.5a3.5 3.5 0 00-3.495 3.308L8.5 6v2h7V6a3.5 3.5 0 00-3.308-3.495L12 2.5z",fill:"currentColor"}))}function Bn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.25 4.5H6.5v15h6.75a1.25 1.25 0 110 2.5h-7A2.25 2.25 0 014 19.75V4.25A2.25 2.25 0 016.25 2h7a1.25 1.25 0 110 2.5zm6.384 2.616l-.102-.091a1.25 1.25 0 00-1.666 1.859l1.867 1.866H11.75l-.128.007a1.25 1.25 0 00.128 2.493h7.982l-1.866 1.866-.091.102a1.25 1.25 0 001.859 1.666l4-4 .08-.089.05-.063.068-.106.058-.112.049-.127.03-.108.016-.088.012-.112L24 12l-.004-.096-.016-.13-.03-.127-.03-.087-.046-.107-.046-.086-.065-.1a1.267 1.267 0 00-.13-.15l-4-4zm4.084 4.094l-.084-.094c.03.03.058.061.084.094z",fill:"currentColor"}))}function _n(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V10.5h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V19H20v1.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm-.105 10.074c1.447 0 2.3.875 2.367 2.279l.004.178v.621c0 1.5-.863 2.446-2.371 2.446-1.444 0-2.304-.872-2.371-2.268l-.004-.178v-.62c0-1.516.871-2.458 2.375-2.458zm5.362 0c1.328 0 2.058.776 2.172 1.653l.012.132h-1.25c-.074-.414-.406-.734-.945-.734-.638 0-1.007.443-1.05 1.222l-.005.16v.626c0 .805.293 1.414 1.09 1.414.598 0 .914-.34.956-.745l.005-.095v-.234h-.93v-.903h2.14v1.04c0 1.038-.667 1.988-2.199 1.988-1.57 0-2.3-.987-2.355-2.296l-.004-.165v-.64c0-1.427.84-2.423 2.363-2.423zm-10.182.094v4.262h2.141v1.07H7.376v-5.332h1.285zm4.82.95c-.597 0-1.012.415-1.062 1.23l-.005.168v.64c0 .926.43 1.399 1.067 1.399.593 0 1.008-.416 1.057-1.23l.005-.169v-.64c0-.926-.43-1.399-1.062-1.399zM14.5 4.62v2.63a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function Gn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7 17.5a.5.5 0 01.5.5v3.5a.5.5 0 01-.5.5H3.5a.5.5 0 01-.5-.5V18a.5.5 0 01.5-.5H7zm5.5 0a.5.5 0 01.5.5v3.5a.5.5 0 01-.5.5H9a.5.5 0 01-.5-.5V18a.5.5 0 01.5-.5h3.5zm5.5 0a.5.5 0 01.5.5v3.5a.5.5 0 01-.5.5h-3.5a.5.5 0 01-.5-.5V18a.5.5 0 01.5-.5H18zM7 12a.5.5 0 01.5.5V16a.5.5 0 01-.5.5H3.5A.5.5 0 013 16v-3.5a.5.5 0 01.5-.5H7zm5.5 0a.5.5 0 01.5.5V16a.5.5 0 01-.5.5H9a.5.5 0 01-.5-.5v-3.5A.5.5 0 019 12h3.5zm6.97-2.523l.906 3.381a.5.5 0 01-.353.612l-3.381.906a.5.5 0 01-.612-.353l-.906-3.381a.5.5 0 01.353-.612l3.381-.906a.5.5 0 01.612.353zM7 6.5a.5.5 0 01.5.5v3.5a.5.5 0 01-.5.5H3.5a.5.5 0 01-.5-.5V7a.5.5 0 01.5-.5H7zm3.642-2.376l3.38.906a.5.5 0 01.354.612l-.906 3.38a.5.5 0 01-.612.354l-3.38-.906a.5.5 0 01-.354-.612l.906-3.38a.5.5 0 01.612-.354zM20 2a.5.5 0 01.5.5V6a.5.5 0 01-.5.5h-3.5A.5.5 0 0116 6V2.5a.5.5 0 01.5-.5H20z",fill:"currentColor",fillRule:"evenodd"}))}function qn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H13l-.001-1.5h5.251a.25.25 0 00.243-.193l.007-.057L18.499 9H14.75a1.75 1.75 0 01-1.744-1.606L13 7.25l-.001-3.75H5.75a.25.25 0 00-.243.193L5.5 3.75 5.499 13H4V3.75C4 2.784 4.784 2 5.75 2h7.836zM4.142 16.956a.5.5 0 01.55-.147l.082.038 2.143 1.237.074.052a.5.5 0 01.147.55l-.038.081-.052.074a.5.5 0 01-.55.147l-.081-.038-.878-.505a2.5 2.5 0 004 1.525.75.75 0 11.925 1.181 4.002 4.002 0 01-6.343-2.173l-.402.695-.052.074a.5.5 0 01-.852-.492l.038-.082 1.238-2.143.051-.074zM8 14a4.001 4.001 0 013.92 3.197l.358-.62a.5.5 0 01.6-.221l.083.038a.5.5 0 01.22.601l-.037.082-1.238 2.143a.5.5 0 01-.6.221l-.083-.038-2.143-1.237a.5.5 0 01.418-.904l.082.038.914.528a2.5 2.5 0 00-4.033-1.798.75.75 0 11-.925-1.181A3.985 3.985 0 018 14zm6.499-9.38l.001 2.63a.25.25 0 00.193.243l.057.007h2.629l-2.88-2.88z",fill:"currentColor",fillRule:"evenodd"}))}function $n(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3a1.75 1.75 0 011.744 1.606L21 4.75v14.5a1.75 1.75 0 01-1.606 1.744L19.25 21H12v-1.5h7.25a.25.25 0 00.243-.193l.007-.057V5.996L19.406 6H4.5l.001 6H3V4.75a1.75 1.75 0 011.606-1.744L4.75 3h14.5zM3.696 15.809l.082.038 2.143 1.237.074.052a.5.5 0 01.147.55l-.038.081-.052.074a.5.5 0 01-.55.147l-.081-.038-.878-.505a2.5 2.5 0 004 1.525.75.75 0 11.925 1.181 4.002 4.002 0 01-6.343-2.173l-.402.695-.052.074a.5.5 0 01-.852-.492l.038-.082 1.238-2.143.051-.074a.5.5 0 01.55-.147zM7.002 13a4.001 4.001 0 013.92 3.197l.357-.62a.5.5 0 01.602-.221l.081.038a.5.5 0 01.221.601l-.038.082-1.237 2.143a.5.5 0 01-.601.221l-.082-.038-2.143-1.237a.5.5 0 01.418-.904l.082.038.914.528a2.5 2.5 0 00-4.034-1.798.75.75 0 11-.924-1.181A3.985 3.985 0 017.002 13zm10.248 2a.75.75 0 110 1.5h-2.5a.75.75 0 110-1.5h2.5zm-.125-3.5c.483 0 .875.336.875.75s-.392.75-.875.75h-5.25c-.483 0-.875-.336-.875-.75s.392-.75.875-.75h5.25zM17.25 8a.75.75 0 110 1.5H6.75a.75.75 0 010-1.5h10.5z",fill:"currentColor",fillRule:"evenodd"}))}function Kn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M4 19h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0-6h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zM3 6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1z",fill:"currentColor"}))}function Un(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10 0 1.806-.479 3.5-1.316 4.962L20.66 17a.75.75 0 01-.933.32l-.091-.045-1.516-.875a.75.75 0 01.659-1.344l.091.044.84.485c.406-.874.67-1.83.757-2.834l-.967-.001a.75.75 0 01-.102-1.493l.102-.007h.967a8.447 8.447 0 00-.757-2.834l-.84.484a.75.75 0 01-.835-1.243l.085-.057.838-.483a8.548 8.548 0 00-2.075-2.075l-.483.838a.75.75 0 01-1.344-.659l.044-.091.484-.84a8.447 8.447 0 00-2.833-.757l-.001.967a.75.75 0 01-1.493.102L11.25 4.5v-.967a8.447 8.447 0 00-2.834.757l.484.84a.75.75 0 01-1.243.835L7.6 5.88l-.483-.838a8.548 8.548 0 00-2.075 2.075l.838.483a.75.75 0 01-.659 1.344L5.13 8.9l-.84-.484a8.447 8.447 0 00-.757 2.834H4.5a.75.75 0 01.102 1.493l-.102.007h-.967a8.427 8.427 0 00.758 2.835l.839-.485a.75.75 0 01.835 1.243l-.085.057-1.516.875A.75.75 0 013.34 17l-.02-.04-.003.003A9.954 9.954 0 012 12C2 6.477 6.477 2 12 2zm4.03 5.97a.75.75 0 01.073.976l-.073.084-2.792 2.794a1.25 1.25 0 11-1.061-1.061L14.97 7.97a.75.75 0 011.06 0z",fill:"currentColor",fillRule:"evenodd"}))}function Wn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 15.5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm5 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm-10 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm5-5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm5 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm0-5a1.5 1.5 0 110 3 1.5 1.5 0 010-3z",fill:"currentColor",fillRule:"evenodd"}))}function Jn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H13.5v-1.5h5.75a.25.25 0 00.243-.193l.007-.057V4.75a.25.25 0 00-.193-.243L19.25 4.5H4.75a.25.25 0 00-.243.193L4.5 4.75v5.75H3V4.75C3 3.784 3.784 3 4.75 3h14.5zm-9 9c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0110.25 21h-5.5A1.75 1.75 0 013 19.25v-5.5c0-.966.784-1.75 1.75-1.75h5.5zm0 1.5h-5.5a.25.25 0 00-.243.193l-.007.057v5.5a.25.25 0 00.193.243l.057.007h5.5a.25.25 0 00.243-.193l.007-.057v-5.5a.25.25 0 00-.193-.243l-.057-.007zm7.78-7.53a.75.75 0 01.073.976l-.073.084-3.22 3.22h1.69a.75.75 0 01.743.648l.007.102a.75.75 0 01-.648.743l-.102.007H13a.75.75 0 01-.743-.648L12.25 11V7.5a.75.75 0 011.493-.102l.007.102v1.688l3.22-3.218a.75.75 0 011.06 0z",fill:"currentColor",fillRule:"evenodd"}))}function Yn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 8.5a1.5 1.5 0 100 3 1.5 1.5 0 000-3zm0 5a1.5 1.5 0 100 3 1.5 1.5 0 000-3zm0-10a1.5 1.5 0 100 3 1.5 1.5 0 000-3z",fill:"currentColor",fillRule:"evenodd"}))}function Qn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 10a2 2 0 110 4 2 2 0 010-4zm0 6.5a2 2 0 110 4 2 2 0 010-4zm0-13a2 2 0 110 4 2 2 0 010-4z",fill:"currentColor",fillRule:"evenodd"}))}function Xn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.924 6.254l.128-.002.119.018.098.03.1.047.051.032.038.027.072.064 3.5 3.5a.75.75 0 01-.976 1.133l-.084-.073-2.22-2.219V17a.75.75 0 01-1.493.102L6.25 17V8.811l-2.22 2.22a.75.75 0 01-1.133-.977l.073-.084 3.5-3.5.042-.04.052-.04.114-.068.098-.038.084-.02a.75.75 0 01.064-.01zM17 6.25a.75.75 0 01.743.648L17.75 7l-.001 8.19 2.22-2.22a.75.75 0 011.134.976l-.073.084-3.5 3.5a.754.754 0 01-.078.069l.078-.069-.042.04-.052.04-.114.068-.098.038-.084.02-.088.012-.052.002-.052-.002-.119-.018-.098-.03-.1-.047-.082-.054-.08-.069-3.5-3.5a.75.75 0 01.977-1.133l.084.073 2.219 2.218L16.25 7a.75.75 0 01.75-.75z",fill:"currentColor",fillRule:"evenodd"}))}function Zn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.5 22v-.018A1.75 1.75 0 014 20.25V3.75c0-.882.652-1.61 1.5-1.732V2h12.75c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0118.25 22H5.5zM9 18.3H5.5v1.95a.25.25 0 00.193.243l.057.007H9v-2.2zm9.25-14.8H10.5v17h7.75a.25.25 0 00.243-.193l.007-.057V3.75a.25.25 0 00-.193-.243L18.25 3.5zM9 14.6H5.5v2.2H9v-2.2zm0-3.7H5.5v2.2H9v-2.2zm0-3.7H5.5v2.2H9V7.2zm0-3.7H5.75a.25.25 0 00-.243.193L5.5 3.75V5.7H9V3.5z",fill:"currentColor",fillRule:"evenodd"}))}function el(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.25 2c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0118.25 22H14v-1.5h4.25a.25.25 0 00.243-.193l.007-.057V3.75a.25.25 0 00-.193-.243L18.25 3.5H5.75a.25.25 0 00-.243.193L5.5 3.75V11H4V3.75C4 2.784 4.784 2 5.75 2h12.5zM9.225 20.974A1.259 1.259 0 018 22c-.605 0-1.11-.44-1.225-1.026h2.45zM8 12c.456 0 .841.392.961.927A3 3 0 0111 15.769v2.898l.835.642a.5.5 0 01-.305.896H4.47a.5.5 0 01-.305-.896L5 18.667v-2.898c0-1.32.854-2.442 2.04-2.843.119-.534.504-.926.96-.926zm7.25 2.5a.75.75 0 110 1.5h-1.5a.75.75 0 110-1.5h1.5zm0-3.5a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zm0-3.5a.75.75 0 110 1.5h-6.5a.75.75 0 010-1.5h6.5z",fill:"currentColor",fillRule:"evenodd"}))}function tl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.75 2a.75.75 0 01.75.75V3h1.75a1.75 1.75 0 011.744 1.606L21 4.75v14.5a1.75 1.75 0 01-1.606 1.744L19.25 21H4.75a1.75 1.75 0 01-1.744-1.606L3 19.25V4.75a1.75 1.75 0 011.606-1.744L4.75 3H6.5v-.25a.75.75 0 011.5 0V3h3.25v-.25a.75.75 0 111.5 0V3H16v-.25a.75.75 0 01.75-.75zM6.499 4.5H4.75l-.057.007a.25.25 0 00-.184.175L4.5 4.75v14.5l.007.057a.25.25 0 00.175.184l.068.009h14.5l.057-.007a.25.25 0 00.184-.175l.009-.068V4.75l-.007-.057a.25.25 0 00-.175-.184L19.25 4.5H17.5v.25a.75.75 0 11-1.5 0V4.5h-3.25v.25a.75.75 0 11-1.5 0V4.5H7.999L8 4.75a.75.75 0 01-1.5 0l-.001-.25zM16.25 12a.75.75 0 110 1.5h-8.5a.75.75 0 110-1.5h8.5zm0-3a.75.75 0 110 1.5h-8.5a.75.75 0 110-1.5h8.5z",fill:"currentColor",fillRule:"evenodd"}))}function nl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.75 2a.75.75 0 01.75.75V3h1.75a1.75 1.75 0 011.744 1.606L21 4.75V14h-1.5V4.75l-.007-.057a.25.25 0 00-.175-.184L19.25 4.5H17.5v.25a.75.75 0 11-1.5 0V4.5h-3.25v.25a.75.75 0 11-1.5 0V4.5H7.999L8 4.75a.75.75 0 01-1.5 0l-.001-.25H4.75l-.057.007a.25.25 0 00-.184.175L4.5 4.75v14.5l.007.057a.25.25 0 00.175.184l.068.009H14V21H4.75a1.75 1.75 0 01-1.744-1.606L3 19.25V4.75a1.75 1.75 0 011.606-1.744L4.75 3H6.5v-.25a.75.75 0 011.5 0V3h3.25v-.25a.75.75 0 111.5 0V3H16v-.25a.75.75 0 01.75-.75zm-3.94 7.75l7.513 7.513a1.75 1.75 0 01.114 2.35l-.114.124-.586.586a1.75 1.75 0 01-2.35.114l-.124-.114-7.513-7.512V9.75h3.06zm5.697 7.818l-.938.94.754.755a.25.25 0 00.24.065l.06-.025.054-.04.586-.586a.25.25 0 00.04-.3l-.04-.054-.756-.755zm-6.318-6.318h-.939v.939l5.258 5.258.938-.94-5.257-5.257z",fill:"currentColor",fillRule:"evenodd"}))}function ll(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M3.203 16.625c0 .602.328.96.875.96.555 0 .875-.35.875-.96V7.898c0-.671-.437-1.132-1.078-1.132-.375 0-.742.14-1.273.515L1.125 8.344c-.367.25-.54.508-.54.789 0 .367.282.656.65.656.195 0 .382-.07.663-.266l1.258-.898h.047v8zm4.149.031c0 .516.414.844 1.046.844h5.22c.53 0 .843-.281.843-.734 0-.461-.328-.743-.844-.743H9.648v-.101l2.665-2.953c1.367-1.492 1.812-2.313 1.812-3.36 0-1.742-1.43-2.984-3.422-2.984-2.086 0-3.492 1.375-3.492 2.742 0 .485.312.813.766.813.367 0 .617-.211.804-.657.266-.906.93-1.43 1.82-1.43 1.063 0 1.774.665 1.774 1.657 0 .688-.344 1.313-1.21 2.266l-3.071 3.406c-.563.601-.742.89-.742 1.234zm8.562-1.375c0 1.242 1.555 2.446 3.617 2.446 2.274 0 3.867-1.297 3.867-3.141 0-1.352-.992-2.484-2.296-2.617v-.11c1.078-.171 1.953-1.257 1.953-2.421 0-1.649-1.461-2.813-3.524-2.813-1.984 0-3.414 1.156-3.414 2.39 0 .454.305.766.742.766.344 0 .578-.164.782-.578.367-.742 1.007-1.156 1.851-1.156 1.086 0 1.828.648 1.828 1.61 0 .952-.758 1.64-1.804 1.64h-.813c-.43 0-.726.305-.726.71 0 .423.304.735.726.735h.86c1.25 0 2.085.719 2.085 1.79 0 1.077-.82 1.765-2.093 1.765-.961 0-1.711-.422-2.14-1.188-.25-.414-.47-.57-.782-.57-.422 0-.719.313-.719.742z",fill:"currentColor"}))}function al(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M9.884 11.616a1.25 1.25 0 01.091 1.666l-.091.102-1.868 1.866H19a1.25 1.25 0 01.128 2.494L19 17.75H8.017l1.867 1.866a1.25 1.25 0 01-1.666 1.859l-.102-.091-4-4a1.26 1.26 0 01-.13-.152l-.068-.106-.042-.079-.046-.107-.03-.087-.03-.127-.016-.126-.004-.1.002-.08.013-.111.016-.088.03-.108.05-.127.086-.16.062-.088.064-.076 4.043-4.046a1.25 1.25 0 011.768 0zm5.898-9.091l.102.091 4 4c.03.03.058.061.084.094l-.084-.094c.048.048.09.099.13.152l.064.099.046.086.046.107.03.087.03.127.016.13.004.096-.002.08-.013.111-.016.088-.03.108-.05.127-.057.112-.069.106-.048.063-.081.089-4 4a1.25 1.25 0 01-1.859-1.666l.091-.102 1.866-1.866H5a1.25 1.25 0 01-.128-2.494L5 6.25h10.983l-1.867-1.866a1.25 1.25 0 011.666-1.859z",fill:"currentColor",fillRule:"evenodd"}))}function rl(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.535 6.5h2.715a.25.25 0 01.25.25v2.715A3.502 3.502 0 0117.535 6.5zm-11.07 0H3.75a.25.25 0 00-.25.25v2.715A3.502 3.502 0 006.465 6.5zm1.51 0A5.002 5.002 0 013.5 10.975v2.05A5.002 5.002 0 017.975 17.5H14.5V19H3.75A1.75 1.75 0 012 17.25V6.75C2 5.784 2.784 5 3.75 5h16.5c.966 0 1.75.784 1.75 1.75v4.75h-1.5v-.525A5.002 5.002 0 0116.025 6.5h-8.05zM3.5 17.25v-2.715A3.502 3.502 0 016.465 17.5H3.75a.25.25 0 01-.25-.25zM14 12a2 2 0 11-4 0 2 2 0 014 0zm1.5 0a3.5 3.5 0 11-7 0 3.5 3.5 0 017 0zm5.095 1.608a.86.86 0 011.049-.14c.344.201.467.603.306.937l-.057.098-3.118 4.152-.07.087a.859.859 0 01-1.17.059l-.079-.08-1.878-2.164-.068-.092a.713.713 0 01.194-.962.863.863 0 011.06.035l.081.082 1.169 1.345 2.51-3.268.071-.089z",fill:"currentColor"}))}function ol(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.535 6.5h2.715a.25.25 0 01.25.25v2.715A3.502 3.502 0 0117.535 6.5zm-11.07 0H3.75a.25.25 0 00-.25.25v2.715A3.502 3.502 0 006.465 6.5zm1.51 0A5.002 5.002 0 013.5 10.975v2.05A5.002 5.002 0 017.975 17.5H14.5V19H3.75A1.75 1.75 0 012 17.25V6.75C2 5.784 2.784 5 3.75 5h16.5c.966 0 1.75.784 1.75 1.75v4.75h-1.5v-.525A5.002 5.002 0 0116.025 6.5h-8.05zM3.5 17.25v-2.715A3.502 3.502 0 016.465 17.5H3.75a.25.25 0 01-.25-.25zM14 12a2 2 0 11-4 0 2 2 0 014 0zm1.5 0a3.5 3.5 0 11-7 0 3.5 3.5 0 017 0zm6.297 1.203a.692.692 0 00-.901-.067l-.078.067L19 15.02l-1.818-1.818-.078-.067a.692.692 0 00-.901 1.046L18.02 16l-1.818 1.818-.067.078a.692.692 0 00.968.968l.078-.067L19 16.98l1.818 1.818.078.067a.692.692 0 00.901-1.046L19.98 16l1.818-1.818.067-.078a.692.692 0 00-.067-.901z",fill:"currentColor"}))}function il(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 6c.966 0 1.75.784 1.75 1.75v12.5A1.75 1.75 0 0120.25 22H7.75A1.75 1.75 0 016 20.25V19h1.5v1.25a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V7.75a.25.25 0 00-.193-.243L20.25 7.5H19V6h1.25zm-7-5a.75.75 0 01.75.75V2h2.25c.966 0 1.75.784 1.75 1.75v12.5A1.75 1.75 0 0116.25 18H3.75A1.75 1.75 0 012 16.25V3.75C2 2.784 2.784 2 3.75 2H6v-.25a.75.75 0 011.5 0V2h5v-.25a.75.75 0 01.75-.75zm3.25 6.5h-13v8.75a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V7.5zm-6.195 1.277c.38 0 .62.21.662.554l.006.107v4.554c0 .356-.235.59-.582.59-.313 0-.538-.19-.58-.487l-.006-.103V9.957H9.78l-.824.574a.48.48 0 01-.312.106.402.402 0 01-.415-.422c0-.15.05-.267.172-.377l.082-.065L9.602 9a1.09 1.09 0 01.703-.223zM6 3.5H3.75a.25.25 0 00-.243.193L3.5 3.75V6h13V3.75a.25.25 0 00-.193-.243L16.25 3.5H14v.25a.75.75 0 11-1.5 0V3.5h-5v.25a.75.75 0 01-1.5 0V3.5z",fill:"currentColor",fillRule:"evenodd"}))}function sl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.75 11.5c4.166 0 6.596 2.43 7.291 7.29A2.813 2.813 0 0119.257 22h-9.014a2.813 2.813 0 01-2.784-3.21c.695-4.86 3.125-7.29 7.291-7.29zm0 1.5c-3.37 0-5.211 1.84-5.806 6.002a1.313 1.313 0 001.165 1.491l.134.007h9.014a1.313 1.313 0 001.3-1.498C19.96 14.84 18.12 13 14.75 13zM6.446 6.397l.084.073 3 3a.75.75 0 01.073.976l-.073.084-3 3a.75.75 0 01-1.133-.976l.073-.084 1.719-1.72H1.75a.75.75 0 01-.102-1.493l.102-.007h5.439l-1.72-1.72a.75.75 0 01-.072-.976l.073-.084a.75.75 0 01.976-.073zM14.75 2c1.933 0 3.5 1.903 3.5 4.25s-1.567 4.25-3.5 4.25-3.5-1.903-3.5-4.25S12.817 2 14.75 2zm0 1.5c-1.033 0-2 1.174-2 2.75s.967 2.75 2 2.75 2-1.174 2-2.75-.967-2.75-2-2.75z",fill:"currentColor",fillRule:"evenodd"}))}function cl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.5 11.5c1.486 0 2.751.31 3.796.928-.462.29-.881.644-1.246 1.047-.726-.32-1.574-.475-2.55-.475-3.37 0-5.211 1.84-5.806 6.002a1.313 1.313 0 001.165 1.491l.134.007 6.31.001a6.027 6.027 0 001.23 1.5L5.992 22a2.813 2.813 0 01-2.784-3.21c.695-4.86 3.125-7.29 7.291-7.29zm7 1.5a4.5 4.5 0 110 9 4.5 4.5 0 010-9zm2.25 3.75h-4.5a.75.75 0 00-.102 1.493l.102.007h4.5a.75.75 0 00.102-1.493l-.102-.007zM10.5 2C12.433 2 14 3.903 14 6.25s-1.567 4.25-3.5 4.25S7 8.597 7 6.25 8.567 2 10.5 2zm0 1.5c-1.033 0-2 1.174-2 2.75S9.467 9 10.5 9s2-1.174 2-2.75-.967-2.75-2-2.75z",fill:"currentColor",fillRule:"evenodd"}))}function ul(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.5 11.5c1.486 0 2.751.31 3.796.928-.462.29-.881.644-1.246 1.047-.726-.32-1.574-.475-2.55-.475-3.37 0-5.211 1.84-5.806 6.002a1.313 1.313 0 001.165 1.491l.134.007 6.31.001a6.027 6.027 0 001.23 1.5L5.992 22a2.813 2.813 0 01-2.784-3.21c.695-4.86 3.125-7.29 7.291-7.29zm7 1.5a4.5 4.5 0 110 9 4.5 4.5 0 010-9zm0 1.5a.75.75 0 00-.743.648l-.007.102v1.5h-1.5a.75.75 0 00-.743.648l-.007.102c0 .38.282.693.648.743l.102.007h1.5v1.5c0 .38.282.693.648.743l.102.007a.75.75 0 00.743-.648l.007-.102v-1.5h1.5a.75.75 0 00.743-.648l.007-.102a.75.75 0 00-.648-.743l-.102-.007h-1.5v-1.5a.75.75 0 00-.648-.743L17.5 14.5zM10.5 2C12.433 2 14 3.903 14 6.25s-1.567 4.25-3.5 4.25S7 8.597 7 6.25 8.567 2 10.5 2zm0 1.5c-1.033 0-2 1.174-2 2.75S9.467 9 10.5 9s2-1.174 2-2.75-.967-2.75-2-2.75z",fill:"currentColor",fillRule:"evenodd"}))}function dl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.5 11.5c1.486 0 2.751.31 3.796.928-.462.29-.881.644-1.246 1.047-.726-.32-1.574-.475-2.55-.475-3.37 0-5.211 1.84-5.806 6.002a1.313 1.313 0 001.165 1.491l.134.007 6.31.001a6.027 6.027 0 001.23 1.5L5.992 22a2.813 2.813 0 01-2.784-3.21c.695-4.86 3.125-7.29 7.291-7.29zm7 1.5a4.5 4.5 0 110 9 4.5 4.5 0 010-9zm2.403 1.867a.75.75 0 00-.97.141l-.066.09-1.983 3.114-.798-.999-.076-.081a.75.75 0 00-1.159.927l.063.091 1.455 1.819.073.079a.75.75 0 001.081-.059l.064-.086 2.546-4 .052-.098a.75.75 0 00-.282-.938zM10.5 2C12.433 2 14 3.903 14 6.25s-1.567 4.25-3.5 4.25S7 8.597 7 6.25 8.567 2 10.5 2zm0 1.5c-1.033 0-2 1.174-2 2.75S9.467 9 10.5 9s2-1.174 2-2.75-.967-2.75-2-2.75z",fill:"currentColor",fillRule:"evenodd"}))}function ml(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.357 4.384l.891-.58c.835-.542 1.942-.323 2.586.513l1.28 1.663c.56.724.628 1.734.17 2.496l-1.273 2.12c.372.965.962 1.855 1.77 2.67a8.253 8.253 0 002.701 1.844l1.876-1.253c.711-.475 1.645-.398 2.317.19l1.565 1.373c.782.685.99 1.862.487 2.755l-.538.957c-.536.952-1.517 1.508-2.576 1.46-2.498-.115-5.197-1.718-8.096-4.811-2.903-3.098-4.408-5.983-4.514-8.655-.045-1.125.47-2.168 1.354-2.742z",fill:"currentColor"}))}function gl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zM9.8 8a.7.7 0 011.05-.606l.084.057 4.86 3.84a.7.7 0 01.081 1.023l-.081.075-4.86 3.84a.7.7 0 01-1.127-.449l-.007-.1V8zm1.4 1.445v4.789l3.03-2.395-3.03-2.394z",fill:"currentColor",fillRule:"evenodd"}))}function fl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.169 17.055c.43 0 .734-.305.734-.75V13.43h2.649c.453 0 .757-.297.757-.72 0-.429-.304-.726-.757-.726H6.903V9.258c0-.445-.304-.758-.734-.758s-.727.313-.727.758v2.726H2.825c-.445 0-.758.297-.758.727 0 .422.313.719.758.719h2.617v2.875c0 .445.305.75.727.75zm5.598 2.453c.352 0 .64-.211.735-.555l3.453-12.25a1.17 1.17 0 00.047-.258c.007-.406-.336-.75-.766-.75-.36 0-.648.211-.742.547l-3.446 12.25a.749.749 0 00.719 1.016zm9.388-6.11c.578 0 .882-.32.882-.78 0-.462-.304-.766-.882-.766h-3.68c-.57 0-.883.312-.883.765 0 .461.305.781.883.781h3.68z",fill:"currentColor",fillRule:"evenodd"}))}function hl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.75 2c.966 0 1.75.784 1.75 1.75v1.758A3.75 3.75 0 0122 9.25v7.5a1.75 1.75 0 01-1.75 1.75H18.5v1.75A1.75 1.75 0 0116.75 22h-9.5a1.75 1.75 0 01-1.75-1.75V18.5H3.75A1.75 1.75 0 012 16.75v-7.5a3.75 3.75 0 013.5-3.742V3.75C5.5 2.784 6.284 2 7.25 2h9.5zM17 14.5H7v5.75a.25.25 0 00.193.243l.057.007h9.5a.25.25 0 00.243-.193L17 20.25V14.5zM18.25 7H5.75a2.25 2.25 0 00-2.245 2.096L3.5 9.25v7.5a.25.25 0 00.193.243L3.75 17H5.5v-3.25a.75.75 0 01.75-.75h11.5a.75.75 0 01.75.75V17h1.75a.25.25 0 00.243-.193l.007-.057v-7.5a2.25 2.25 0 00-2.096-2.245L18.25 7zm-.5 3a.75.75 0 110 1.5h-2.5a.75.75 0 110-1.5h2.5zm-1-6.5h-9.5a.25.25 0 00-.243.193L7 3.75V5.5h10V3.75a.25.25 0 00-.193-.243L16.75 3.5z",fill:"currentColor",fillRule:"evenodd"}))}function vl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.247 2a.75.75 0 01.75.75l-.001.25h2.25c.967 0 1.75.784 1.75 1.75v14.5a1.75 1.75 0 01-1.75 1.75h-7.25v-1.5h7.25a.25.25 0 00.244-.193l.007-.057L19.496 8h-15v4h-1.5V4.75c0-.966.784-1.75 1.75-1.75h2.25v-.25a.75.75 0 011.5 0V3h7v-.25a.75.75 0 01.75-.75zM3.139 15.956a.5.5 0 01.631-.11l2.144 1.238.073.052a.5.5 0 01.11.631l-.052.074a.5.5 0 01-.631.11l-.878-.506a2.5 2.5 0 004 1.525.75.75 0 11.925 1.181 4.002 4.002 0 01-6.343-2.173l-.402.695-.052.074a.5.5 0 01-.814-.574l1.237-2.143zM6.997 13a4.001 4.001 0 013.92 3.197l.358-.62a.5.5 0 01.6-.221l.083.038a.5.5 0 01.22.601l-.037.082-1.238 2.143a.5.5 0 01-.601.221l-.082-.038-2.143-1.237a.5.5 0 01.418-.904l.082.038.914.528a2.5 2.5 0 00-4.033-1.798.75.75 0 11-.925-1.181A3.985 3.985 0 016.997 13zm-.001-8.5h-2.25a.25.25 0 00-.243.193l-.006.057-.001 1.75h15V4.75a.25.25 0 00-.192-.243l-.057-.007h-2.251v.25a.75.75 0 11-1.5 0V4.5h-7v.25a.75.75 0 01-1.5 0V4.5z",fill:"currentColor",fillRule:"evenodd"}))}function pl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7.797 9c.464 0 .91.184 1.237.513l6.229 6.228a1.75 1.75 0 010 2.475l-4.047 4.047a1.75 1.75 0 01-2.475 0l-6.228-6.229A1.75 1.75 0 012 14.797V10.75C2 9.784 2.784 9 3.75 9h4.047zM18.25 2c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0118.25 22H14.5v-1.5h3.75a.25.25 0 00.243-.193l.007-.057V3.75a.25.25 0 00-.193-.243L18.25 3.5H5.75a.25.25 0 00-.243.193L5.5 3.75V8H4V3.75C4 2.784 4.784 2 5.75 2h12.5zM7.797 10.5H3.75a.25.25 0 00-.243.193l-.007.057v4.047a.25.25 0 00.033.125l.04.052 6.228 6.228a.25.25 0 00.3.04l.054-.04 4.047-4.047a.25.25 0 00.04-.3l-.04-.054-6.228-6.228a.25.25 0 00-.112-.064l-.065-.009zm-2.504 1.793a1 1 0 111.414 1.414 1 1 0 01-1.414-1.414zM15.75 9.5a.75.75 0 110 1.5h-2.5a.75.75 0 110-1.5h2.5zm0-3.5a.75.75 0 110 1.5h-7.5a.75.75 0 010-1.5h7.5z",fill:"currentColor",fillRule:"evenodd"}))}function wl(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12a9.97 9.97 0 003.047 7.187A9.967 9.967 0 0012 22a9.967 9.967 0 006.953-2.813A9.97 9.97 0 0022 12zM5.704 16.936A7.986 7.986 0 0012 20a7.986 7.986 0 006.296-3.064A7 7 0 0012 13a7 7 0 00-6.296 3.936zM12 12a3.5 3.5 0 100-7 3.5 3.5 0 000 7z",fill:"currentColor"}))}function bl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm0 1.5H4.75a.25.25 0 00-.243.193L4.5 4.75v14.5a.25.25 0 00.193.243l.057.007h14.5a.25.25 0 00.243-.193l.007-.057V4.75a.25.25 0 00-.193-.243L19.25 4.5zM8.25 15a.75.75 0 01.75.75v1a.75.75 0 01-.75.75h-1a.75.75 0 01-.75-.75v-1a.75.75 0 01.75-.75h1zm8.5 1a.75.75 0 110 1.5h-4.5a.75.75 0 110-1.5h4.5zm0-3.167a.75.75 0 010 1.5h-4.5a.75.75 0 110-1.5h4.5zm0-3.166a.75.75 0 110 1.5h-4.5a.75.75 0 010-1.5h4.5zM8.25 6.5a.75.75 0 01.75.75v1a.75.75 0 01-.75.75h-1a.75.75 0 01-.75-.75v-1a.75.75 0 01.75-.75h1zm8.5 0a.75.75 0 110 1.5h-4.5a.75.75 0 110-1.5h4.5z",fill:"currentColor",fillRule:"evenodd"}))}function El(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 3a1 1 0 00-.993.883L11 6v6.02l.01.118.022.113.023.077.03.075.047.093.062.096.07.085.072.071.096.075.099.06.075.036 3.5 1.5.11.04a1 1 0 00.782-1.826l-.104-.052L13 11.34V6l-.007-.117A1 1 0 0012 5z",fill:"currentColor",fillRule:"evenodd"}))}function xl(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.367 7.727a.476.476 0 00.484.48h3.147c.274 0 .492-.222.537-.493.184-1.108.965-1.9 2.266-1.9 1.161 0 2.252.623 2.252 2.053 0 1.246-.864 1.841-2.195 2.705-1.714 1.09-2.634 2.534-2.422 4.715l.008.173a.5.5 0 00.5.478h3a.5.5 0 00.5-.5v-.18c0-1.514.665-1.953 2.322-3.072 1.374-.934 2.86-2.025 2.86-4.545 0-3.569-3.002-5.325-6.556-5.325-3.361 0-6.618 1.557-6.703 5.411zm3.432 12.247c0 1.388 1.09 2.322 2.776 2.322 1.741 0 2.817-.934 2.817-2.322 0-1.416-1.09-2.35-2.817-2.35-1.7 0-2.776.934-2.776 2.35z",fill:"currentColor"}))}function yl(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 14.489c.5 0 .838-.302.832-.764v-1.998c.052-.665.604-.8 1.548-1.413C15.415 9.649 16 8.885 16 7.78 16 6.011 14.077 5 12.139 5c-.822 0-1.831.145-2.639.466a3.39 3.39 0 00-.803.438 1.94 1.94 0 00-.317.3c-.076.09-.14.188-.189.29a1.904 1.904 0 00-.132.356c-.04.153-.059.304-.059.448a.65.65 0 00.022.173c.076.335.34.55.748.55a.806.806 0 00.792-.55c.278-.902 1.709-1.078 2.502-1.078.96 0 2.183.555 2.183 1.405 0 .764-.44 1.163-1.268 1.706-.856.573-1.848 1.137-1.848 2.074v2.147c0 .492.369.764.869.764zM12 19c.579 0 1.047-.457 1.047-1.018 0-.566-.468-1.012-1.047-1.012-.573 0-1.042.446-1.042 1.012 0 .561.47 1.018 1.042 1.018z",fill:"currentColor"}))}function zl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7.102 11.125c.753 0 1.472.295 2.007.817l.142.148 4.806 5.407c.183.206.434.337.705.37l.136.008h3.416L17.22 16.78l-.073-.084a.75.75 0 011.05-1.049l.083.073 2.5 2.5a.753.753 0 01.097.118l.053.094.028.07.023.08.013.075.006.102-.002.042-.009.075-.027.111-.043.102-.038.066-.027.04-.035.043-.039.042-2.5 2.5-.084.073a.75.75 0 01-1.049-1.05l.073-.083 1.095-1.096-3.417.001a2.875 2.875 0 01-2.007-.817l-.142-.148-4.806-5.407a1.125 1.125 0 00-.705-.37l-.136-.008H3.75a.875.875 0 01-.11-1.743l.11-.007h3.352zm11.094-8.978l.084.073 2.5 2.5a.63.63 0 01.101.125l.049.088.043.119.021.106.004.042.002.069-.006.073-.013.076-.023.08-.047.107-.058.091-.073.084-2.5 2.5a.75.75 0 01-1.133-.976l.073-.084 1.095-1.096-3.426.001-.136.008c-.223.027-.433.12-.603.268l-.096.095-2.905 3.215-.085.083a.875.875 0 01-1.287-1.162l.074-.094 2.904-3.215.141-.146a2.875 2.875 0 011.79-.795l.203-.007 3.424-.001L17.22 3.28a.75.75 0 01.976-1.133z",fill:"currentColor",fillRule:"evenodd"}))}function Rl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm.035 4.982c-.264 0-.533.13-.533.51v.41C9.92 8.05 8.9 8.998 8.9 10.352c0 1.135.646 1.88 1.926 2.202l1.309.288c.844.181 1.178.44 1.178.879 0 .562-.446.931-1.272.931-.592 0-1.166-.246-1.687-.72-.334-.282-.545-.364-.803-.364-.416 0-.75.258-.75.715 0 .352.187.692.515.99.487.452 1.272.727 2.163.803v.358c0 .375.275.51.539.51.263 0 .533-.135.533-.51v-.37c1.64-.193 2.666-1.154 2.666-2.543 0-1.143-.66-1.862-1.997-2.176l-1.314-.273c-.744-.146-1.084-.427-1.084-.867 0-.492.44-.885 1.131-.885.586 0 1.008.188 1.506.662.293.252.533.364.85.364.369 0 .673-.27.673-.657 0-.328-.175-.673-.503-.984-.434-.422-1.131-.691-1.91-.79v-.423c0-.375-.27-.51-.534-.51z",fill:"currentColor",fillRule:"evenodd"}))}function Cl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M21.25 11.25A.75.75 0 0122 12c0 5.523-4.477 10-10 10a9.986 9.986 0 01-7.638-3.545l-.038 1.071a.75.75 0 01-1.496.05l-.003-.102.099-2.827a.75.75 0 01.775-.723l2.827.098a.75.75 0 01.05 1.496l-.102.004-.966-.034A8.5 8.5 0 0020.5 12a.75.75 0 01.75-.75zm-9.215-4.268c.237 0 .48.11.526.405l.007.105v.422c.78.1 1.477.37 1.91.791.329.31.504.656.504.984 0 .387-.304.657-.673.657-.317 0-.557-.112-.85-.364-.498-.474-.92-.662-1.506-.662-.691 0-1.13.393-1.13.885 0 .406.289.677.919.831l.164.036 1.108.229c1.476.287 2.203 1.02 2.203 2.22 0 1.331-.942 2.27-2.464 2.515l-.202.028v.37c0 .375-.27.51-.533.51-.238 0-.485-.11-.532-.405l-.007-.105v-.358c-.891-.076-1.676-.351-2.163-.803-.328-.298-.515-.638-.515-.99 0-.457.334-.715.75-.715.258 0 .469.082.803.364.521.474 1.095.72 1.687.72.826 0 1.271-.369 1.271-.931 0-.41-.29-.662-1.015-.842l-.162-.037-1.102-.24c-1.418-.293-2.133-1.055-2.133-2.25 0-1.298.937-2.223 2.407-2.427l.195-.023v-.41c0-.38.27-.51.533-.51zM12 2c3 0 5.77 1.332 7.639 3.545l.037-1.071a.75.75 0 011.496-.05l.003.102-.099 2.827a.75.75 0 01-.674.72l-.101.003-2.827-.098a.75.75 0 01-.05-1.496l.102-.004.966.034A8.5 8.5 0 003.5 12 .75.75 0 112 12C2 6.477 6.477 2 12 2z",fill:"currentColor",fillRule:"evenodd"}))}function Sl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M17 7a5 5 0 01.217 9.995L17 17h-2.5a.75.75 0 01-.102-1.493l.102-.007H17a3.5 3.5 0 00.192-6.995L17 8.5h-2.5a.75.75 0 01-.102-1.493L14.5 7H17zM9.5 7a.75.75 0 01.102 1.493L9.5 8.5H7a3.5 3.5 0 00-.192 6.995L7 15.5h2.5a.75.75 0 01.102 1.493L9.5 17H7a5 5 0 01-.217-9.995L7 7h2.5zm7.5 4.25a.75.75 0 110 1.5H7a.75.75 0 110-1.5h10z",fill:"currentColor",fillRule:"evenodd"}))}function Nl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12.268 21.246L12 21.25l-.323-.006-.32-.016-.3-.025-.329-.04a9.166 9.166 0 01-2.067-.534l-.288-.117-.353-.16-.237-.117-.358-.193-.385-.233-.263-.173-.3-.215-.23-.177-.238-.196-.356-.319a9.308 9.308 0 01-.345-.343l-.151-.162a9.197 9.197 0 01-1.662-2.58l-.126-.311-.134-.372-.087-.268-.08-.285A9.229 9.229 0 012.75 12c0-.893.127-1.757.363-2.574l.137-.431.077-.218.169-.421a9.17 9.17 0 01.768-1.431l.171-.25c.213-.303.447-.595.701-.876l.168-.18c.174-.183.356-.36.545-.528l.197-.17.345-.278.328-.239.302-.202.117-.072a8.88 8.88 0 01.664-.375l.484-.23.37-.152.427-.153.353-.11.263-.071.145-.036A9.232 9.232 0 0112 2.75l.24.003.317.014.389.031.284.033.487.079.43.091.287.073.39.116.293.099.336.127.17.07.379.172.259.129.25.135.416.248.255.166a9.12 9.12 0 011.14.911V3.222a.75.75 0 01.638-.742l.111-.008a.75.75 0 01.742.639l.008.11v3.83a.75.75 0 01-.64.741l-.11.008h-3.828a.75.75 0 01-.111-1.492l.11-.008h2.009l-.197-.177-.22-.182-.131-.102-.2-.147-.225-.156-.235-.15-.236-.139-.149-.081-.222-.115-.268-.126-.121-.053a7.709 7.709 0 00-1.013-.352l-.263-.067-.258-.055-.262-.047-.278-.04-.349-.036-.353-.02L12 4.25l-.183.002-.376.018-.294.026-.248.032-.335.055-.344.073-.243.061-.202.058a7.72 7.72 0 00-.54.183l-.282.114-.204.09-.317.156-.24.13a7.755 7.755 0 00-.629.397l-.383.285-.21.174-.075.064a7.796 7.796 0 00-.195.178l-.18.174-.239.25-.175.198-.152.184a7.778 7.778 0 00-.59.84l-.174.305-.116.222-.112.232a7.079 7.079 0 00-.15.346l-.11.29-.122.368-.046.16c-.084.304-.15.612-.197.923l-.05.409.01-.098c-.05.453-.06.91-.03 1.364l.024.285c.031.307.081.611.15.913l.073.3.058.204c.072.245.157.486.255.724l.085.2c.05.112.102.223.156.332l.091.175.137.245.148.246.058.088a7.766 7.766 0 00.436.604l.141.173.093.107.174.191.174.18.18.175.246.22.324.264.349.255.123.083.24.151.2.118.259.14.257.128.33.146.24.095c.195.073.393.139.594.196l.359.094.136.03.124.026.297.053.329.045.246.024.097.008c.091.006.183.011.275.014l.275.005A7.75 7.75 0 0019.75 12a.75.75 0 111.5 0 9.25 9.25 0 01-8.982 9.246z",fill:"currentColor"}))}function Al(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.5 12a1 1 0 011 1v6a1 1 0 01-1 1H4a1 1 0 01-1-1v-6a1 1 0 011-1h2.5zm6.75-5a1 1 0 011 1v11a1 1 0 01-1 1h-2.5a1 1 0 01-1-1V8a1 1 0 011-1h2.5zM20 4a1 1 0 011 1v14a1 1 0 01-1 1h-2.5a1 1 0 01-1-1V5a1 1 0 011-1H20z",fill:"currentColor",fillRule:"evenodd"}))}function Ol(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.25 12c.966 0 1.75.784 1.75 1.75v4.5A1.75 1.75 0 016.25 20h-1.5A1.75 1.75 0 013 18.25v-4.5c0-.966.784-1.75 1.75-1.75h1.5zm6.5-5c.966 0 1.75.784 1.75 1.75v9.5A1.75 1.75 0 0112.75 20h-1.5a1.75 1.75 0 01-1.75-1.75v-9.5c0-.966.784-1.75 1.75-1.75h1.5zm6.5-3c.966 0 1.75.784 1.75 1.75v12.5A1.75 1.75 0 0119.25 20h-1.5A1.75 1.75 0 0116 18.25V5.75c0-.966.784-1.75 1.75-1.75h1.5zm-13 9.5h-1.5a.25.25 0 00-.243.193l-.007.057v4.5a.25.25 0 00.193.243l.057.007h1.5a.25.25 0 00.243-.193l.007-.057v-4.5a.25.25 0 00-.193-.243L6.25 13.5zm6.5-5h-1.5a.25.25 0 00-.243.193L11 8.75v9.5a.25.25 0 00.193.243l.057.007h1.5a.25.25 0 00.243-.193L13 18.25v-9.5a.25.25 0 00-.193-.243L12.75 8.5zm6.5-3h-1.5a.25.25 0 00-.243.193l-.007.057v12.5a.25.25 0 00.193.243l.057.007h1.5a.25.25 0 00.243-.193l.007-.057V5.75a.25.25 0 00-.193-.243L19.25 5.5z",fill:"currentColor",fillRule:"evenodd"}))}function Il(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18 9.25a.75.75 0 01.743.648l.007.102v8.25a3.75 3.75 0 01-3.55 3.745L15 22h-5a3.75 3.75 0 01-3.745-3.55l-.005-.2V10a.75.75 0 01.648-.743L7 9.25h11zm-.75 1.5h-9.5v7.5a2.25 2.25 0 001.938 2.229l.158.016.154.005h5a2.25 2.25 0 002.245-2.096l.005-.154v-7.5zm-6.75 1.5a.75.75 0 01.743.648l.007.102v5.25a.75.75 0 01-1.493.102l-.007-.102V13a.75.75 0 01.75-.75zm4 0a.75.75 0 01.743.648l.007.102v5.25a.75.75 0 01-1.493.102l-.007-.102V13a.75.75 0 01.75-.75zm2.372-9.849a3.847 3.847 0 012.03 4.45l2.668 1.302a.75.75 0 01-.563 1.386l-.094-.038L9.086 3.732a.75.75 0 01.563-1.386l.094.038 2.373 1.157a3.847 3.847 0 014.756-1.14zM3 4.25a.75.75 0 01.743.648L3.75 5v.63c2.434-1.684 5.714-1.245 7.542 1.11a.75.75 0 11-1.185.919C8.819 6 6.547 5.647 4.777 6.749l.723.001a.75.75 0 01.743.648l.007.102a.75.75 0 01-.648.743L5.5 8.25H3a.75.75 0 01-.743-.648L2.25 7.5V5A.75.75 0 013 4.25zm10.507-.031l4.005 1.953a2.347 2.347 0 00-4.005-1.953z",fill:"currentColor",fillRule:"evenodd"}))}function Ll(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2.75a9.25 9.25 0 016.54 15.79.75.75 0 11-1.06-1.06 7.75 7.75 0 10-13.224-5.797l.714-.713.084-.073a.75.75 0 011.049 1.05l-.073.083-2 2-.084.073a.75.75 0 01-.882.007l-.094-.08-2-2-.073-.084a.75.75 0 01-.007-.882l.08-.094.084-.073a.75.75 0 01.882-.007l.094.08.725.724A9.25 9.25 0 0112 2.75z",fill:"currentColor"}))}function Hl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2.75a9.25 9.25 0 019.245 8.944l.725-.724a.75.75 0 01.976-.073l.084.073a.75.75 0 01.073.976l-.073.084-2 2a.75.75 0 01-.976.073l-.084-.073-2-2a.75.75 0 01.976-1.133l.084.073.714.712A7.75 7.75 0 106.52 17.48a.75.75 0 11-1.06 1.06A9.25 9.25 0 0112 2.75z",fill:"currentColor"}))}function Ml(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12.021 23.316c.594 0 1.121-.33 1.121-1.12V21.14c3.546-.382 5.761-2.465 5.761-5.498 0-2.61-1.569-4.192-4.825-4.904l-2.676-.606C9.727 9.763 8.91 8.999 8.91 7.878c0-1.344 1.16-2.32 2.98-2.32 1.476 0 2.504.5 3.651 1.78.58.606 1.029.83 1.635.83.738 0 1.305-.514 1.305-1.279 0-.738-.435-1.542-1.173-2.267-.976-.923-2.439-1.53-4.087-1.74V1.787c0-.777-.527-1.107-1.134-1.107-.593 0-1.12.316-1.12 1.107v1.055c-3.415.317-5.59 2.36-5.59 5.287 0 2.557 1.569 4.258 4.575 4.93l2.676.62c1.951.461 2.755 1.147 2.755 2.307 0 1.503-1.173 2.452-3.27 2.452-1.568 0-2.873-.593-4.06-1.872-.672-.672-1.041-.817-1.542-.817-.805 0-1.411.514-1.411 1.397 0 .778.448 1.582 1.252 2.281 1.055.962 2.703 1.556 4.536 1.727v1.042c0 .79.527 1.12 1.133 1.12z",fill:"currentColor",fillRule:"evenodd"}))}function kl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M9.75 2a7.75 7.75 0 016.292 12.275l5.592 5.591a1.25 1.25 0 01-1.666 1.859l-.102-.091-5.59-5.592A7.75 7.75 0 119.75 2zm0 2.5a5.25 5.25 0 100 10.5 5.25 5.25 0 000-10.5z",fill:"currentColor",fillRule:"evenodd"}))}function Vl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10 2.25a7.75 7.75 0 015.985 12.674l5.545 5.546a.75.75 0 01-.976 1.133l-.084-.073-5.546-5.545A7.75 7.75 0 1110 2.25zm0 1.5a6.25 6.25 0 100 12.5 6.25 6.25 0 000-12.5z",fill:"currentColor",fillRule:"evenodd"}))}function jl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12.01 2.25a.75.75 0 01.665.402c.72 1.376 3.174 2.323 7.389 2.683a.75.75 0 01.686.748c0 7.747-1.54 11.378-5.945 14.213l-.502.312-.525.306a26.51 26.51 0 01-.834.452l-.29.148-.323.16a.75.75 0 01-.654.003c-6.293-3-8.427-6.542-8.427-15.594a.75.75 0 01.686-.748c4.215-.36 6.67-1.307 7.389-2.683a.75.75 0 01.56-.395l.126-.007zM12 4.245l-.064.067C10.702 5.54 8.479 6.317 5.277 6.705l-.523.058.01.54c.012.53.033 1.039.063 1.525l.052.713c.472 5.577 2.312 8.141 6.618 10.372l.272.139.228.113.262-.133c4.685-2.43 6.538-5.033 6.915-11.21l.038-.743.025-.778.007-.402.001-.136-.522-.058c-3.068-.372-5.238-1.1-6.5-2.242l-.159-.15L12 4.244zm4.903 4.104l.077.067a.75.75 0 01.067.984l-.067.077-5.52 5.52-3.382-3.38a.75.75 0 01.984-1.129l.076.067 2.32 2.322 4.461-4.46a.75.75 0 01.984-.068z",fill:"currentColor",fillRule:"evenodd"}))}function Tl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12.01 2.25a.75.75 0 01.665.402c.72 1.376 3.174 2.323 7.389 2.683a.75.75 0 01.686.748c0 7.747-1.54 11.378-5.945 14.213l-.502.312-.525.306a26.51 26.51 0 01-.834.452l-.29.148-.323.16a.75.75 0 01-.654.003c-6.293-3-8.427-6.542-8.427-15.594a.75.75 0 01.686-.748c4.215-.36 6.67-1.307 7.389-2.683a.75.75 0 01.56-.395l.126-.007zM12 4.245l-.064.067C10.702 5.54 8.479 6.317 5.277 6.705l-.523.058.01.54c.012.53.033 1.039.063 1.525l.052.713c.472 5.577 2.312 8.141 6.618 10.372l.272.139.228.113.262-.133c4.685-2.43 6.538-5.033 6.915-11.21l.038-.743.025-.778.007-.402.001-.136-.522-.058c-3.068-.372-5.238-1.1-6.5-2.242l-.159-.15L12 4.244zM12 8l.15.005a2 2 0 01.98 3.645L14 16h-4l.87-4.35a2 2 0 01.982-3.644L11.999 8z",fill:"currentColor",fillRule:"evenodd"}))}function Dl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13 2a1 1 0 011 1v1.77a7.44 7.44 0 011.698.703l1.252-1.251a1 1 0 011.414 0l1.414 1.414a1 1 0 010 1.414l-1.251 1.252c.3.53.538 1.099.703 1.698H21a1 1 0 011 1v2a1 1 0 01-1 1h-1.77a7.454 7.454 0 01-.703 1.698l1.251 1.252a1 1 0 010 1.414l-1.414 1.414a1 1 0 01-1.414 0l-1.252-1.251a7.47 7.47 0 01-1.697.703L14 21a1 1 0 01-1 1h-2a1 1 0 01-1-1v-1.77a7.454 7.454 0 01-1.698-.703L7.05 19.778a1 1 0 01-1.414 0l-1.414-1.414a1 1 0 010-1.414l1.251-1.252A7.454 7.454 0 014.77 14H3a1 1 0 01-1-1v-2a1 1 0 011-1h1.77a7.44 7.44 0 01.703-1.698L4.222 7.05a1 1 0 010-1.414l1.414-1.414a1 1 0 011.414 0l1.252 1.251c.53-.3 1.099-.538 1.698-.703V3a1 1 0 011-1h2zm-1 6a4 4 0 100 8 4 4 0 000-8z",fill:"currentColor",fillRule:"evenodd"}))}function Fl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.056 2c.918 0 1.67.707 1.744 1.606l.006.144v.787l.243.093.154.063.093.042.554-.553a1.75 1.75 0 012.217-.212l.133.1.125.113 1.492 1.492a1.75 1.75 0 01.114 2.35l-.113.125-.524.523.046.1.068.156.064.157.039.108h.74a1.75 1.75 0 011.725 1.459l.018.148.006.143v2.112a1.75 1.75 0 01-1.606 1.744l-.144.006h-.739l-.04.108-.063.158-.068.156-.047.098.524.524c.553.551.663 1.389.29 2.08l-.08.136-.095.131-.115.128-1.492 1.492c-.59.59-1.502.676-2.216.21l-.131-.095-.128-.115-.554-.554-.093.043-.154.064-.243.092v.789a1.752 1.752 0 01-1.459 1.725l-.148.018-.143.006h-2.111A1.75 1.75 0 019.2 20.393l-.006-.143v-.848l-.08-.03-.148-.06-.214-.097-.602.603a1.75 1.75 0 01-2.217.212l-.133-.1-.125-.113-1.492-1.492a1.75 1.75 0 01-.114-2.35l.114-.125.632-.634-.09-.204-.079-.206h-.897a1.752 1.752 0 01-1.725-1.459l-.018-.148L2 13.056v-2.112A1.75 1.75 0 013.606 9.2l.144-.006h.896l.08-.206.089-.205-.632-.633a1.75 1.75 0 01-.213-2.217l.099-.133.114-.125 1.492-1.492c.59-.59 1.502-.676 2.216-.21l.131.095.128.115.602.601.214-.095.149-.062.079-.03V3.75c0-.791.528-1.469 1.294-1.684l.146-.035.151-.023.16-.008h2.111zm-2.069 1.499l-.073.003a.25.25 0 00-.212.186l-.007.062v1.377a.75.75 0 01-.528.717c-.417.129-.818.3-1.2.51a.75.75 0 01-.809-.054l-.083-.071-.952-.954-.058-.053a.25.25 0 00-.27-.023l-.059.044-1.493 1.493a.25.25 0 00-.04.3l.04.054 1.009 1.008a.75.75 0 01.132.883c-.2.375-.361.769-.483 1.177a.75.75 0 01-.61.528l-.108.008H3.75a.25.25 0 00-.243.193l-.007.057v2.11c0 .12.083.22.193.245l.057.007h1.433a.75.75 0 01.719.537c.121.408.283.802.482 1.176a.75.75 0 01-.061.8l-.071.083-1.009 1.008a.25.25 0 00-.04.3l.04.054 1.493 1.493a.25.25 0 00.3.04l.054-.04.985-.986a.75.75 0 01.893-.126c.38.21.782.382 1.199.511a.75.75 0 01.52.609l.008.108v1.377a.25.25 0 00.192.243l.057.007h2.111a.251.251 0 00.244-.193l.007-.057v-1.331a.75.75 0 01.545-.721 6.398 6.398 0 001.247-.503.75.75 0 01.8.06l.083.072.896.898.058.053a.25.25 0 00.27.023l.059-.044 1.462-1.46.052-.057a.25.25 0 00.023-.27l-.044-.06-.907-.905a.75.75 0 01-.126-.894 6.4 6.4 0 00.533-1.269.75.75 0 01.61-.528l.108-.008h1.275a.25.25 0 00.243-.193l.007-.057v-2.111a.25.25 0 00-.193-.244l-.057-.007h-1.275a.75.75 0 01-.718-.536 6.4 6.4 0 00-.533-1.269.75.75 0 01.055-.81l.071-.083.907-.906a.25.25 0 00.04-.3l-.04-.054-1.493-1.493a.25.25 0 00-.3-.04l-.054.04-.93.93a.75.75 0 01-.882.132 6.398 6.398 0 00-1.247-.503.75.75 0 01-.536-.611l-.008-.11-.001-1.33a.251.251 0 00-.194-.244l-.056-.007-2.069-.001zM12 7.533a4.467 4.467 0 110 8.934 4.467 4.467 0 010-8.934zm0 1.5a2.967 2.967 0 100 5.934 2.967 2.967 0 000-5.934z",fill:"currentColor",fillRule:"evenodd"}))}function Pl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 5c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0120.25 19H3.75A1.75 1.75 0 012 17.25V6.75C2 5.784 2.784 5 3.75 5h16.5zm0 1.5H3.75a.25.25 0 00-.243.193L3.5 6.75v10.5a.25.25 0 00.193.243l.057.007h16.5a.25.25 0 00.243-.193l.007-.057V6.75a.25.25 0 00-.193-.243L20.25 6.5zM6.5 14a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm9 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-7a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h7zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm-12-3a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm-12-3a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1z",fill:"currentColor",fillRule:"evenodd"}))}function Bl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 6a1.75 1.75 0 011.744 1.606L21 7.75V11h-1.5V7.75l-.007-.057a.25.25 0 00-.175-.184L19.25 7.5H7.75l-.057.007a.25.25 0 00-.184.175L7.5 7.75v11.5l.007.057a.25.25 0 00.175.184l.068.009H11V21H7.75a1.75 1.75 0 01-1.744-1.606L6 19.25V7.75a1.75 1.75 0 011.606-1.744L7.75 6h11.5zm-2-3l.102.007a.75.75 0 010 1.486l-.102.007H4.75l-.057.007a.25.25 0 00-.184.175L4.5 4.75v12.5l-.007.102a.75.75 0 01-1.486 0L3 17.25V4.75l.006-.144a1.75 1.75 0 011.593-1.6L4.75 3h12.5zm-2.5 8.75a3 3 0 100 6 3 3 0 000-6zm0 7.5a4.5 4.5 0 113.632-1.842l.036-.05 2.362 2.362a.75.75 0 01-.976 1.133l-.084-.073-2.363-2.362-.112.077a4.479 4.479 0 01-2.495.755z",fill:"currentColor",fillRule:"evenodd"}))}function _l(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M3.75 4a.75.75 0 01.75.75v14.5a.75.75 0 11-1.5 0V4.75A.75.75 0 013.75 4zm3.5 0a.75.75 0 01.75.75v14.5a.75.75 0 11-1.5 0V4.75A.75.75 0 017.25 4zm7.78 3.97a.75.75 0 01.073.976l-.073.084-2.219 2.22h7.439a.75.75 0 01.102 1.493l-.102.007h-7.439l2.22 2.22a.75.75 0 01-.977 1.133l-.084-.073-3.5-3.5-.055-.06-.046-.065-.049-.088-.044-.12-.018-.089-.007-.143.019-.136.03-.098.047-.1.054-.082.069-.08 3.5-3.5a.75.75 0 011.06 0z",fill:"currentColor",fillRule:"evenodd"}))}function Gl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M3.75 4a.75.75 0 01.75.75v14.5a.75.75 0 11-1.5 0V4.75A.75.75 0 013.75 4zm3.5 0a.75.75 0 01.75.75v14.5a.75.75 0 11-1.5 0V4.75A.75.75 0 017.25 4zm3.5 0a.75.75 0 01.75.75v6.5h6.939l-2.22-2.22a.75.75 0 01.977-1.133l.084.073 3.5 3.5c.025.024.048.05.069.078l-.069-.078.04.042.04.052.068.114.038.098.02.084.012.088v.104l-.003.02-.006.055-.015.07-.024.072-.047.1-.032.051-.027.038-.064.072-3.5 3.5a.75.75 0 01-1.133-.976l.073-.084 2.219-2.22h-6.94l.001 6.5a.75.75 0 11-1.5 0V4.75a.75.75 0 01.75-.75z",fill:"currentColor",fillRule:"evenodd"}))}function ql(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.5 18v2.25a.25.25 0 00.193.243l.057.007H8V22H5.75A1.75 1.75 0 014 20.25V18h1.5zm8.25-5.25a3 3 0 100 6 3 3 0 000-6zm-8.25 0v3.75H4v-3.75h1.5zM20 7.5v3.75h-1.5V7.5H20zm-14.5 0v3.75H4V7.5h1.5zM18.25 2c.966 0 1.75.784 1.75 1.75V6h-1.5V3.75a.25.25 0 00-.193-.243L18.25 3.5 16 3.499V2h2.25zM8 2v1.5H5.75a.25.25 0 00-.243.193L5.5 3.75V6H4V3.75C4 2.784 4.784 2 5.75 2H8zm6.5 0v1.499l-5 .001V2h5zm-.75 18.25a4.5 4.5 0 113.632-1.842l.036-.05 2.362 2.362a.75.75 0 01-.976 1.133l-.084-.073-2.363-2.362-.112.077a4.479 4.479 0 01-2.495.755z",fill:"currentColor",fillRule:"evenodd"}))}function $l(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M2.5 12.75H7a.75.75 0 110 1.5H5.5v7a.75.75 0 11-1.5 0v-7H2.5a.75.75 0 110-1.5zm9.5-2a.75.75 0 01.75.75v9.75a.75.75 0 11-1.5 0V11.5a.75.75 0 01.75-.75zm9.5 4a.75.75 0 110 1.5H20v5a.75.75 0 11-1.5 0v-5H17a.75.75 0 110-1.5h4.5zM19.25 2a.75.75 0 01.75.75v9.75a.75.75 0 11-1.5 0V2.75a.75.75 0 01.75-.75zM4.75 2a.75.75 0 01.75.75v7.75a.75.75 0 11-1.5 0V2.75A.75.75 0 014.75 2zM12 2a.75.75 0 01.75.75v5h1.5a.75.75 0 110 1.5h-4.5a.75.75 0 010-1.5h1.5v-5A.75.75 0 0112 2z",fill:"currentColor",fillRule:"evenodd"}))}function Kl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75V7.5h-5a5 5 0 00-4.995 4.783L11 12.5a5 5 0 004.783 4.995L16 17.5h5v1.75A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm1.5 6c.69 0 1.25.56 1.25 1.25v4.5c0 .69-.56 1.25-1.25 1.25H16a3.5 3.5 0 010-7h4.75zM16 11a1.5 1.5 0 100 3 1.5 1.5 0 000-3z",fill:"currentColor",fillRule:"evenodd"}))}function Ul(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.25 18a.75.75 0 110 1.5h-2.5a.75.75 0 110-1.5h2.5zm12.5-13.5a.75.75 0 01.743.648l.007.102v11.689l2.22-2.22a.75.75 0 011.133.977l-.073.084-3.5 3.5a.753.753 0 01-.125.101l-.088.049-.119.043-.106.021-.041.004-.07.002-.073-.006-.076-.013-.08-.023-.1-.043a.75.75 0 01-.182-.135l-3.5-3.5a.75.75 0 01.976-1.133l.084.073L17 16.939V5.25a.75.75 0 01.75-.75zm-9.5 9a.75.75 0 110 1.5h-5.5a.75.75 0 110-1.5h5.5zm3-4.5a.75.75 0 110 1.5h-8.5a.75.75 0 110-1.5h8.5zm3-4.5a.75.75 0 110 1.5H2.75a.75.75 0 010-1.5h11.5z",fill:"currentColor",fillRule:"evenodd"}))}function Wl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M8.895 8.726l-6.683.358-.105.012c-.608.114-.833.91-.328 1.319l5.197 4.217-1.725 6.467-.02.098c-.085.616.605 1.08 1.152.725L12 18.28l5.617 3.64.087.05c.56.27 1.214-.242 1.045-.872l-1.726-6.467 5.198-4.217.077-.072c.425-.45.14-1.225-.51-1.26l-6.684-.357L12.7 2.481a.75.75 0 00-1.4 0L8.895 8.726z",fill:"currentColor",fillRule:"evenodd"}))}function Jl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M8.895 8.726l-6.683.358-.105.012c-.608.114-.833.91-.328 1.319l5.197 4.217-1.725 6.467-.02.098c-.085.616.605 1.08 1.152.725L12 18.28l5.617 3.64.087.05c.56.27 1.214-.242 1.045-.872l-1.726-6.467 5.198-4.217.077-.072c.425-.45.14-1.225-.51-1.26l-6.684-.357L12.7 2.481a.75.75 0 00-1.4 0L8.895 8.726zM12 4.836l1.88 4.883.046.1a.75.75 0 00.614.38l5.223.278-4.062 3.297-.08.075a.75.75 0 00-.172.7l1.349 5.055-4.39-2.845-.096-.053a.75.75 0 00-.72.053l-4.391 2.845 1.35-5.054.02-.108a.75.75 0 00-.272-.668l-4.063-3.297 5.224-.278a.75.75 0 00.66-.48L12 4.836z",fill:"currentColor",fillRule:"evenodd"}))}function Yl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.25 2c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0118.25 22H13l-.001-1.5h5.251a.25.25 0 00.243-.193l.007-.057V3.75a.25.25 0 00-.193-.243L18.25 3.5H5.75a.25.25 0 00-.243.193L5.5 3.75 5.499 13H4V3.75C4 2.784 4.784 2 5.75 2h12.5zM4.142 16.956a.5.5 0 01.55-.147l.082.038 2.143 1.237.074.052a.5.5 0 01.147.55l-.038.081-.052.074a.5.5 0 01-.55.147l-.081-.038-.878-.505a2.5 2.5 0 004 1.525.75.75 0 11.925 1.181 4.002 4.002 0 01-6.343-2.173l-.402.695-.052.074a.5.5 0 01-.852-.492l.038-.082 1.238-2.143.051-.074zM8 14a4.001 4.001 0 013.92 3.197l.358-.62a.5.5 0 01.6-.221l.083.038a.5.5 0 01.22.601l-.037.082-1.238 2.143a.5.5 0 01-.6.221l-.083-.038-2.143-1.237a.5.5 0 01.418-.904l.082.038.914.528a2.5 2.5 0 00-4.033-1.798.75.75 0 11-.925-1.181A3.985 3.985 0 018 14zm7.75-1a.75.75 0 110 1.5h-2.5a.75.75 0 110-1.5h2.5zm0-3.5a.75.75 0 110 1.5h-7.5a.75.75 0 110-1.5h7.5zm0-3.5a.75.75 0 110 1.5h-7.5a.75.75 0 010-1.5h7.5z",fill:"currentColor",fillRule:"evenodd"}))}function Ql(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm.25 3h-15v13.25a.25.25 0 00.193.243l.057.007h14.5a.25.25 0 00.243-.193l.007-.057V6zm-8.75 9.5a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm6.5 0a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm-6.5-3.5a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm6.5 0a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm-6.5-3.5a.75.75 0 110 1.5h-4a.75.75 0 010-1.5h4zm6.5 0a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4z",fill:"currentColor",fillRule:"evenodd"}))}function Xl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.356 2c.464 0 .909.184 1.237.513l9.92 9.919a1.75 1.75 0 010 2.475l-6.606 6.606a1.75 1.75 0 01-2.475 0l-9.92-9.92A1.75 1.75 0 012 10.356V3.75C2 2.784 2.784 2 3.75 2h6.606zm0 1.5H3.75a.25.25 0 00-.243.193L3.5 3.75v6.606a.25.25 0 00.033.125l.04.051 9.92 9.92a.25.25 0 00.3.04l.053-.04 6.606-6.606a.25.25 0 00.04-.3l-.04-.053-9.92-9.92a.25.25 0 00-.111-.064l-.065-.009zm1.57 5.394c.365-.007.652.086.852.287.256.255.225.645-.02.89-.215.215-.453.322-.78.366-.512.07-.826.211-1.13.515-.335.335-.335.742-.114.963.203.203.484.176.923-.106l.123-.084.715-.5c1.04-.729 1.934-.732 2.666 0 .809.809.81 1.956.044 3.041l-.12.163.155.155c.238.238.128.494-.02.642-.14.14-.364.246-.581.093l-.072-.062-.145-.145c-.615.532-1.285.857-1.858.87-.349.004-.642-.082-.85-.29-.306-.307-.244-.714.042-1 .145-.146.32-.24.605-.301l.151-.028c.529-.08.991-.293 1.271-.573.425-.425.46-.818.197-1.08-.193-.194-.473-.155-.963.148l-.139.09-.71.476c-1.05.711-1.938.694-2.677-.045-.789-.79-.783-1.929-.026-2.957l.12-.154-.204-.203c-.242-.242-.121-.494.03-.646.138-.137.353-.246.57-.09l.073.062.214.214c.546-.435 1.14-.704 1.657-.71zM6.042 6.043a1 1 0 111.414 1.414 1 1 0 01-1.414-1.414z",fill:"currentColor",fillRule:"evenodd"}))}function Zl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.5 20.5V22h-5v-1.5h5zm-9-2.5v2.25a.25.25 0 00.193.243l.057.007H8V22H5.75A1.75 1.75 0 014 20.25V18h1.5zM20 18v2.25A1.75 1.75 0 0118.25 22H16v-1.5h2.25a.25.25 0 00.243-.193l.007-.057V18H20zm0-5.25v3.75h-1.5v-3.75H20zm-14.5 0v3.75H4v-3.75h1.5zM20 7.5v3.75h-1.5V7.5H20zM4 11.25V7.5h9.25a.75.75 0 01.75.75v2.25a.75.75 0 01-.75.75H4zM18.25 2c.966 0 1.75.784 1.75 1.75V6h-1.5V3.75a.25.25 0 00-.193-.243L18.25 3.5 16 3.499V2h2.25zM8 2v1.5H5.75a.25.25 0 00-.243.193L5.5 3.75V6H4V3.75C4 2.784 4.784 2 5.75 2H8zm6.5 0v1.499l-5 .001V2h5z",fill:"currentColor",fillRule:"evenodd"}))}function ea(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.5 20.5V22h-5v-1.5h5zm-9-2.5v2.25a.25.25 0 00.193.243l.057.007H8V22H5.75A1.75 1.75 0 014 20.25V18h1.5zM20 18v2.25A1.75 1.75 0 0118.25 22H16v-1.5h2.25a.25.25 0 00.243-.193l.007-.057V18H20zm0-5.25v3.75h-1.5v-3.75H20zm-14.5 0v3.75H4v-3.75h1.5zM12.25 14a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zm0-4a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zM20 7.5v3.75h-1.5V7.5H20zm-14.5 0v3.75H4V7.5h1.5zM15.25 6a.75.75 0 110 1.5h-6.5a.75.75 0 010-1.5h6.5zm3-4c.966 0 1.75.784 1.75 1.75V6h-1.5V3.75a.25.25 0 00-.193-.243L18.25 3.5 16 3.499V2h2.25zM8 2v1.5H5.75a.25.25 0 00-.243.193L5.5 3.75V6H4V3.75C4 2.784 4.784 2 5.75 2H8zm6.5 0v1.499l-5 .001V2h5z",fill:"currentColor",fillRule:"evenodd"}))}function ta(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18 11.25a1.75 1.75 0 011.744 1.606l.006.144v4.586c0 .406-.141.797-.396 1.109l-.117.128-3.304 3.305a1.25 1.25 0 01-2.114-1.11l.032-.133.642-2.135H12.5a1.75 1.75 0 01-1.726-1.458l-.018-.148L10.75 17c0-.173.026-.345.076-.51l.059-.163 1.666-4a1.75 1.75 0 011.465-1.07l.15-.007H18zm0 1.5h-3.833a.25.25 0 00-.202.102l-.03.052-1.666 4a.25.25 0 00.174.34l.057.006h2.866a.85.85 0 01.838.99l-.024.104-.606 2.023 2.603-2.604a.25.25 0 00.064-.112l.009-.065V13a.25.25 0 00-.193-.243L18 12.75zm4-1.5c.513 0 .94.441.994 1.003l.006.122v4.5c0 .619-.45 1.125-1 1.125-.513 0-.94-.441-.994-1.003L21 16.875v-4.5c0-.619.45-1.125 1-1.125zM2 6c.513 0 .94.441.994 1.003L3 7.125v4.5c0 .619-.45 1.125-1 1.125-.513 0-.94-.441-.994-1.003L1 11.625v-4.5C1 6.506 1.45 6 2 6zm6.067-4.128a1.25 1.25 0 012.114 1.11l-.032.133-.642 2.135H11.5c.867 0 1.587.63 1.726 1.458l.018.148.006.144c0 .173-.026.345-.076.51l-.059.163-1.666 4a1.75 1.75 0 01-1.465 1.07l-.15.007H6a1.75 1.75 0 01-1.744-1.606L4.25 11V6.414c0-.406.141-.797.396-1.109l.117-.128 3.304-3.305zm.359 1.761L5.823 6.237a.25.25 0 00-.064.112l-.009.065V11a.25.25 0 00.193.243L6 11.25h3.833a.25.25 0 00.202-.102l.03-.052 1.666-4a.25.25 0 00-.174-.34L11.5 6.75H8.634c-.123-.006-.123-.006-.244-.036a.85.85 0 01-.594-.954l.024-.104.606-2.023z",fill:"currentColor",fillRule:"evenodd"}))}function na(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.839 4c.935 0 1.709.754 1.784 1.705l.006.152v9.277c0 .438-.149.86-.414 1.19l-.105.12-4.96 5.144a1.298 1.298 0 01-1.888.01 1.427 1.427 0 01-.389-1.118l.022-.155.85-4.253H4.687c-1.868 0-3.145-1.925-2.531-3.719l.06-.163 2.919-7.066c.266-.63.84-1.06 1.495-1.117L6.782 4h8.057zm5.37 0c.936 0 1.71.754 1.785 1.705l.006.152v7.43c0 1.02-.806 1.856-1.79 1.856-.936 0-1.71-.754-1.785-1.705l-.006-.152V5.857c0-1.021.806-1.857 1.79-1.857z",fill:"currentColor",fillRule:"evenodd"}))}function la(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.839 4c.935 0 1.709.754 1.784 1.705l.006.152v9.277c0 .438-.149.86-.414 1.19l-.105.12-4.96 5.144a1.298 1.298 0 01-1.888.01 1.427 1.427 0 01-.389-1.118l.022-.155.85-4.253H4.687c-1.868 0-3.145-1.925-2.531-3.719l.06-.163 2.919-7.066c.266-.63.84-1.06 1.495-1.117L6.782 4h8.057zm0 1.5H6.782a.284.284 0 00-.223.129l-.038.067-2.916 7.062c-.34.83.192 1.728.97 1.808l.112.006h6.888l-1.114 5.57 4.569-4.74a.373.373 0 00.092-.19l.007-.078V5.857c0-.18-.112-.318-.237-.35L14.84 5.5zm5.37-1.5c.936 0 1.71.754 1.785 1.705l.006.152v7.43c0 1.02-.806 1.856-1.79 1.856-.936 0-1.71-.754-1.785-1.705l-.006-.152V5.857c0-1.021.806-1.857 1.79-1.857z",fill:"currentColor",fillRule:"evenodd"}))}function aa(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12.85 2.412a1.298 1.298 0 011.888-.01c.287.298.425.705.389 1.118l-.022.155-.85 4.253h5.058c1.868 0 3.145 1.925 2.531 3.719l-.06.163-2.919 7.066a1.811 1.811 0 01-1.495 1.117l-.152.007H9.161c-.935 0-1.709-.754-1.784-1.705l-.006-.152V8.866c0-.438.149-.86.414-1.19l.105-.12 4.96-5.144zM3.79 8.857c.936 0 1.71.754 1.785 1.705l.006.152v7.429C5.58 19.164 4.775 20 3.79 20c-.936 0-1.71-.754-1.785-1.705L2 18.143v-7.43c0-1.02.806-1.856 1.79-1.856z",fill:"currentColor",fillRule:"evenodd"}))}function ra(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.738 2.403c.287.297.425.704.389 1.117l-.022.155-.85 4.253h5.058c1.868 0 3.145 1.925 2.531 3.719l-.06.163-2.919 7.066a1.811 1.811 0 01-1.495 1.117l-.152.007H9.161c-.935 0-1.709-.754-1.784-1.705l-.006-.152V8.866c0-.438.149-.86.414-1.19l.105-.12 4.96-5.144a1.298 1.298 0 011.888-.01zM3.79 8.857c.936 0 1.71.754 1.785 1.705l.006.152v7.429C5.58 19.164 4.775 20 3.79 20c-.936 0-1.71-.754-1.785-1.705L2 18.143v-7.43c0-1.02.806-1.856 1.79-1.856zm9.749-4.999L8.97 8.598a.373.373 0 00-.092.19l-.007.078v9.277c0 .18.112.318.237.35l.053.007h8.057c.08 0 .166-.047.223-.129l.038-.067 2.916-7.062c.34-.83-.192-1.728-.97-1.808l-.112-.006h-6.888l1.114-5.57z",fill:"currentColor",fillRule:"evenodd"}))}function oa(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.832 4.752a1.5 1.5 0 01.416 2.08l-8 12a1.5 1.5 0 01-2.496 0l-4-6a1.5 1.5 0 112.496-1.664L10 15.296l6.752-10.128a1.5 1.5 0 012.08-.416z",fill:"currentColor"}))}function ia(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.867 6.097a.75.75 0 011.318.708l-.052.098-7 11a.75.75 0 01-1.145.145l-.074-.08-4-5A.75.75 0 017.01 11.95l.076.081 3.344 4.181 6.437-10.115z",fill:"currentColor",fillRule:"evenodd"}))}function sa(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.5 16c2.434 0 3.88 1.316 4.34 3.95A1.75 1.75 0 0119.116 22h-5.232a1.75 1.75 0 01-1.724-2.05c.46-2.634 1.906-3.95 4.34-3.95zM12 2c5.523 0 10 4.477 10 10a9.96 9.96 0 01-1.005 4.374 5.097 5.097 0 00-1.182-1.017A8.488 8.488 0 0020.5 12a8.5 8.5 0 10-9.996 8.369c.02.578.196 1.118.487 1.58C5.942 21.444 2 17.183 2 12 2 6.477 6.477 2 12 2zm4.5 8.5c1.105 0 2 1.12 2 2.5s-.895 2.5-2 2.5-2-1.12-2-2.5.895-2.5 2-2.5zM12 5.25a.75.75 0 01.743.648L12.75 6v6a.75.75 0 01-.648.743L12 12.75H7.5a.75.75 0 01-.102-1.493l.102-.007h3.75V6a.75.75 0 01.75-.75z",fill:"currentColor",fillRule:"evenodd"}))}function ca(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("g",{fill:"none",fillRule:"evenodd"},t.createElement("path",{d:"M18.804 15.647a.75.75 0 011.049 1.05l-.073.083-1.969 1.97 1.97 1.97a.75.75 0 01-.977 1.133l-.084-.073-1.97-1.969-1.97 1.97-.084.072a.75.75 0 01-1.049-1.05l.073-.083 1.969-1.97-1.97-1.97a.75.75 0 01.977-1.133l.084.073 1.97 1.969 1.97-1.97.084-.072z",fill:"#CF3C16",fillRule:"nonzero"}),t.createElement("path",{d:"M5.5 16.5v3.75a.25.25 0 00.193.243l.057.007H12V22H5.75A1.75 1.75 0 014 20.25V16.5h1.5zm2.946-6.103l.084.073 3 3a.75.75 0 01.073.976l-.073.084-3 3a.75.75 0 01-1.133-.976l.073-.084 1.719-1.72H2.75a.75.75 0 01-.102-1.493l.102-.007h6.439l-1.72-1.72a.75.75 0 01-.072-.976l.073-.084a.75.75 0 01.976-.073zM13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V14h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v7.75H4V3.75C4 2.784 4.784 2 5.75 2h7.836zm.914 2.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor"})))}function ua(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.5 16.5v3.75a.25.25 0 00.193.243l.057.007h4.75V22H5.75A1.75 1.75 0 014 20.25V16.5h1.5zM16 12a3 3 0 013 3v1a1 1 0 011 1v4a1 1 0 01-1 1h-6a1 1 0 01-1-1v-4a1 1 0 011-1v-1a3 3 0 013-3zm0 5.5a1 1 0 00-.5 1.866V20a.5.5 0 00.992.09L16.5 20l.001-.634A1 1 0 0016 17.5zm-7.554-7.103l.084.073 3 3a.75.75 0 01.073.976l-.073.084-3 3a.75.75 0 01-1.133-.976l.073-.084 1.719-1.72H2.75a.75.75 0 01-.102-1.493l.102-.007h6.439l-1.72-1.72a.75.75 0 01-.072-.976l.073-.084a.75.75 0 01.976-.073zM16 13.5a1.5 1.5 0 00-1.493 1.356L14.5 15v1h3v-1a1.5 1.5 0 00-1.356-1.493L16 13.5zM13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V11.5h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v7.75H4V3.75C4 2.784 4.784 2 5.75 2h7.836zm.914 2.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function da(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V16.5h1.5v3.75a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v7.75H4V3.75C4 2.784 4.784 2 5.75 2h7.836zm-5.14 8.397l.084.073 3 3a.75.75 0 01.073.976l-.073.084-3 3a.75.75 0 01-1.133-.976l.073-.084 1.719-1.72H2.75a.75.75 0 01-.102-1.493l.102-.007h6.439l-1.72-1.72a.75.75 0 01-.072-.976l.073-.084a.75.75 0 01.976-.073zM14.5 4.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function ma(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.75 4.75l-4 4 4 4",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M3 8.75h13c2.9 0 5.25 2.35 5.25 5.25v0c0 2.9-2.35 5.25-5.25 5.25h-5.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round"}))}function ga(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 5v1.5H4.75a.25.25 0 00-.243.193L4.5 6.75v12.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V12H19v7.25A1.75 1.75 0 0117.25 21H4.75A1.75 1.75 0 013 19.25V6.75C3 5.784 3.784 5 4.75 5H12zm8.25-2a.75.75 0 01.743.648L21 3.75v4.5a.75.75 0 01-1.493.102L19.5 8.25V5.56l-4.97 4.97a.75.75 0 01-1.133-.976l.073-.084 4.968-4.97H15.75a.75.75 0 01-.743-.648L15 3.75a.75.75 0 01.648-.743L15.75 3h4.5z",fill:"currentColor",fillRule:"evenodd"}))}function fa(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M3.368 4.346l.092.062 18 14a.75.75 0 01-.828 1.246l-.092-.062-3.34-2.597L17 17h-2.5a.75.75 0 01-.102-1.493l.102-.007h.778l-3.536-2.75H7a.75.75 0 110-1.5h2.814l-3.46-2.69a3.501 3.501 0 00.454 6.935L7 15.5h2.5a.75.75 0 01.102 1.493L9.5 17H7a5 5 0 01-2.074-9.55L2.54 5.591a.75.75 0 01.828-1.246zM17 7a5 5 0 013.39 8.676l-1.208-.94a3.5 3.5 0 00-1.99-6.231L17 8.5h-2.5a.75.75 0 01-.102-1.493L14.5 7H17zm0 4.25a.75.75 0 110 1.5h-.372l-1.929-1.5H17z",fill:"currentColor",fillRule:"evenodd"}))}function ha(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13 18a1 1 0 11-2 0 1 1 0 012 0zM11.055 5.99A.97.97 0 0112.03 5a.97.97 0 01.971 1l-.23 7.76a.768.768 0 01-.77.74.768.768 0 01-.77-.748l-.175-7.763z",fill:"currentColor"}))}function va(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11 15.5a2.25 2.25 0 110 4.5 2.25 2.25 0 010-4.5zm5.831 0a2.25 2.25 0 110 4.5 2.25 2.25 0 010-4.5zM11 17a.75.75 0 100 1.5.75.75 0 000-1.5zm5.831 0a.75.75 0 100 1.5.75.75 0 000-1.5zM5.287 4a1.75 1.75 0 011.56.955l.062.138 3.24 8a.25.25 0 00.173.15l.06.007h7.743a.25.25 0 00.204-.105l.028-.054 2.159-5.496a.25.25 0 00-.141-.324l-.045-.013-.047-.005-10.04-.003a.75.75 0 01-.102-1.493l.102-.007 10.04.003A1.75 1.75 0 0121.962 8l-.049.143-2.158 5.497a1.75 1.75 0 01-1.476 1.103l-.153.007h-7.743a1.75 1.75 0 01-1.56-.955l-.062-.138-3.24-8a.25.25 0 00-.173-.15l-.06-.007H2.75a.75.75 0 01-.102-1.493L2.75 4h2.537z",fill:"currentColor",fillRule:"evenodd"}))}function pa(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 4c.966 0 1.75.784 1.75 1.75v12.5A1.75 1.75 0 0120.25 20H3.75A1.75 1.75 0 012 18.25V5.75C2 4.784 2.784 4 3.75 4h16.5zm.25 6h-17v8.25a.25.25 0 00.193.243l.057.007h16.5a.25.25 0 00.243-.193l.007-.057V10zm-.25-4.5H3.75a.25.25 0 00-.243.193L3.5 5.75V8.5h17V5.75a.25.25 0 00-.193-.243L20.25 5.5zM5.5 6.5v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1z",fill:"currentColor",fillRule:"evenodd"}))}function wa(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1l5.762 3.12v6.161L23 13.117v6.763L17.238 23 12 20.164 6.762 23 1 19.88v-6.762l5.238-2.837V4.137L12 1zM6.761 11.183l-4.144 2.244 4.144 2.243 4.143-2.243-4.143-2.244zm4.714 3.12l-4.19 2.269v4.96l4.19-2.27v-4.96zm1.048 4.96l4.19 2.268v-4.96l-4.19-2.268v4.96zm.57-5.837l4.144 2.244 4.144-2.243-4.144-2.244-4.143 2.244zm8.858.877l-4.19 2.269v4.96l4.19-2.27v-4.96zm-9.428-1.753l4.19-2.269V5.305l-4.19 2.27v4.975zm-1.048-4.975l-4.19-2.256v4.962l4.19 2.27V7.574zm-3.62-3.133L12 6.672l4.144-2.243-4.142-2.243-4.145 2.256zm-1.618 17.09v-4.96l-4.19-2.27v4.96l4.19 2.27z",fill:"currentColor"}))}function ba(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.144 16.292a2.853 2.853 0 00-2.754 2.144H7.722a2.857 2.857 0 01-2.856-2.858 2.857 2.857 0 012.856-2.859h1.53a2.842 2.842 0 005.508 0h1.529a4.286 4.286 0 004.283-4.287 4.286 4.286 0 00-4.283-4.288H7.62A2.856 2.856 0 002 4.859a2.856 2.856 0 005.62.715h8.669a2.857 2.857 0 012.855 2.858 2.857 2.857 0 01-2.855 2.858h-1.53a2.842 2.842 0 00-5.508 0h-1.53a4.286 4.286 0 00-4.283 4.288 4.286 4.286 0 004.284 4.287h8.668a2.85 2.85 0 005.6-.964 2.852 2.852 0 00-2.846-2.609zM4.866 6.288a1.429 1.429 0 11.002-2.857 1.429 1.429 0 01-.002 2.857zm7.14 4.287a1.429 1.429 0 11-.002 2.857 1.429 1.429 0 01.001-2.857zm7.138 10.005a1.429 1.429 0 11.002-2.857 1.429 1.429 0 01-.002 2.857z",fill:"currentColor"}))}function Ea(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10 2.25a7.75 7.75 0 015.985 12.674l5.545 5.546a.75.75 0 01-.976 1.133l-.084-.073-5.546-5.545A7.75 7.75 0 1110 2.25zm0 1.5a6.25 6.25 0 100 12.5 6.25 6.25 0 000-12.5zm0 2.75a.75.75 0 01.75.75v2h2a.75.75 0 110 1.5h-2v2a.75.75 0 11-1.5 0v-2h-2a.75.75 0 110-1.5h2v-2A.75.75 0 0110 6.5z",fill:"currentColor",fillRule:"evenodd"}))}const xa={"account-preview":t.forwardRef(W),"accounting-year-cancel":t.forwardRef(J),"accounting-year":t.forwardRef(Y),accounting:t.forwardRef(Q),"ai-chat-solid":t.forwardRef(X),"ai-stars":t.forwardRef(Z),"arrow-bottom":t.forwardRef(ee),"arrow-down":t.forwardRef(te),"arrow-end":t.forwardRef(ne),"arrow-left":t.forwardRef(le),"arrow-right":t.forwardRef(ae),"arrow-start":t.forwardRef(re),"arrow-top":t.forwardRef(oe),"arrow-up":t.forwardRef(ie),"attach-auto":t.forwardRef(se),"attach-cancel":t.forwardRef(ce),"attach-warning":t.forwardRef(ue),attach:t.forwardRef(de),"autotext-insert":t.forwardRef(me),autotext:t.forwardRef(ge),"basic-tabs":t.forwardRef(fe),basic:t.forwardRef(he),"bell-solid":t.forwardRef(ve),book:t.forwardRef(pe),booking:t.forwardRef(we),budget:t.forwardRef(be),calendar:t.forwardRef(Ee),"cash-account":t.forwardRef(xe),"cash-reports":t.forwardRef(ye),"chart-area":t.forwardRef(ze),"chart-bar":t.forwardRef(Re),"chart-line":t.forwardRef(Ce),"chart-pie":t.forwardRef(Se),"chart-table":t.forwardRef(Ne),"chat-solid":t.forwardRef(Ae),chat:t.forwardRef(Oe),"chevron-down-double":t.forwardRef(Ie),"chevron-down-solid":t.forwardRef(Le),"chevron-down":t.forwardRef(He),"chevron-left-double":t.forwardRef(Me),"chevron-left-solid":t.forwardRef(ke),"chevron-left":t.forwardRef(Ve),"chevron-right-double":t.forwardRef(je),"chevron-right-solid":t.forwardRef(Te),"chevron-right":t.forwardRef(De),"chevron-up-double":t.forwardRef(Fe),"chevron-up-solid":t.forwardRef(Pe),"chevron-up":t.forwardRef(Be),"circle-close":t.forwardRef(_e),"circle-information":t.forwardRef(Ge),"circle-minus":t.forwardRef(qe),"circle-plus":t.forwardRef($e),"circle-questionmark":t.forwardRef(Ke),"circle-tick":t.forwardRef(Ue),"circle-warning":t.forwardRef(We),"clamp-open":t.forwardRef(Je),clamp:t.forwardRef(Ye),close:t.forwardRef(Qe),"column-freeze":t.forwardRef(Xe),"column-unfreeze":t.forwardRef(Ze),columns:t.forwardRef(et),"connection-enable":t.forwardRef(tt),"connection-revoke":t.forwardRef(nt),contacts:t.forwardRef(lt),copy:t.forwardRef(at),courses:t.forwardRef(rt),credit:t.forwardRef(ot),"delete-permanently":t.forwardRef(it),delete:t.forwardRef(st),depecriate:t.forwardRef(ct),developer:t.forwardRef(ut),"distribution-template":t.forwardRef(dt),"document-approve":t.forwardRef(mt),"document-create-entry":t.forwardRef(gt),"document-cut":t.forwardRef(ft),"document-error":t.forwardRef(ht),"document-isolate-page":t.forwardRef(vt),"document-merge":t.forwardRef(pt),"document-move":t.forwardRef(wt),"document-preview":t.forwardRef(bt),"document-received":t.forwardRef(Et),"document-rejected-request":t.forwardRef(xt),"document-split":t.forwardRef(yt),"document-time":t.forwardRef(zt),document:t.forwardRef(Rt),download:t.forwardRef(Ct),drag:t.forwardRef(St),"e-copedia":t.forwardRef(Nt),"e-signature":t.forwardRef(At),"edit-simple":t.forwardRef(Ot),edit:t.forwardRef(It),"ellipsis-horizontal":t.forwardRef(Lt),"ellipsis-vertical":t.forwardRef(Ht),"entries-on-account":t.forwardRef(Mt),"entries-open":t.forwardRef(kt),"entries-warning":t.forwardRef(Vt),"entry-type-customer-invoice":t.forwardRef(jt),"entry-type-customer-payment":t.forwardRef(Tt),"entry-type-journal-entry":t.forwardRef(Dt),"entry-type-manual-customer-invoice":t.forwardRef(Ft),"entry-type-supplier-invoice":t.forwardRef(Pt),"entry-type-supplier-payment":t.forwardRef(Bt),"envelope-approved":t.forwardRef(_t),"envelope-solid":t.forwardRef(Gt),envelope:t.forwardRef(qt),"expand-view":t.forwardRef($t),expenses:t.forwardRef(Kt),"export-to-excel":t.forwardRef(Ut),"export-to-pdf":t.forwardRef(Wt),export:t.forwardRef(Jt),"eye-off":t.forwardRef(Yt),"eye-on":t.forwardRef(Qt),"filter-solid":t.forwardRef(Xt),filter:t.forwardRef(Zt),"font-size":t.forwardRef(en),"graph-solid":t.forwardRef(tn),hash:t.forwardRef(nn),"height-extra-tall":t.forwardRef(ln),"height-medium":t.forwardRef(an),"height-short":t.forwardRef(rn),"height-tall":t.forwardRef(on),home:t.forwardRef(sn),images:t.forwardRef(cn),import:t.forwardRef(un),"inbox-einvoicing":t.forwardRef(dn),"inbox-scanning":t.forwardRef(mn),"inbox-smart":t.forwardRef(gn),inbox:t.forwardRef(fn),info:t.forwardRef(hn),"inventory-matrix":t.forwardRef(vn),inventory:t.forwardRef(pn),"journal-pro":t.forwardRef(wn),"layout-both":t.forwardRef(bn),"layout-first":t.forwardRef(En),"layout-last":t.forwardRef(xn),"layout-none":t.forwardRef(yn),layout:t.forwardRef(zn),"ledger-card-customer-reminder":t.forwardRef(Rn),"ledger-card-manual-customer-invoice":t.forwardRef(Cn),"ledger-card-obsolete-stock":t.forwardRef(Sn),"ledger-card-opening-entry":t.forwardRef(Nn),"ledger-card-reserved-entry":t.forwardRef(An),"ledger-card-shrinkage-pilferage":t.forwardRef(On),"ledger-card-stock-adjustment":t.forwardRef(In),"ledger-card-transferred-opening-entry":t.forwardRef(Ln),"ledger-card":t.forwardRef(Hn),lightbulb:t.forwardRef(Mn),line:t.forwardRef(kn),"list-bulleted":t.forwardRef(Vn),"list-search":t.forwardRef(jn),list:t.forwardRef(Tn),location:t.forwardRef(Dn),"lock-open":t.forwardRef(Fn),lock:t.forwardRef(Pn),"log-out":t.forwardRef(Bn),log:t.forwardRef(_n),market:t.forwardRef(Gn),"match-amount":t.forwardRef(qn),"match-entries":t.forwardRef($n),menu:t.forwardRef(Kn),mileage:t.forwardRef(Un),"modal-resize":t.forwardRef(Wn),"modal-shrink":t.forwardRef(Jn),"more-solid":t.forwardRef(Yn),more:t.forwardRef(Qn),move:t.forwardRef(Xn),"navigation-list":t.forwardRef(Zn),"note-follow-up":t.forwardRef(el),"note-read":t.forwardRef(tl),note:t.forwardRef(nl),numbers:t.forwardRef(ll),"partner-api":t.forwardRef(al),"payment-paid":t.forwardRef(rl),"payment-unpaid":t.forwardRef(ol),period:t.forwardRef(il),"person-change":t.forwardRef(sl),"person-minus":t.forwardRef(cl),"person-plus":t.forwardRef(ul),"person-tick":t.forwardRef(dl),"phone-solid":t.forwardRef(ml),play:t.forwardRef(gl),"plus-minus":t.forwardRef(fl),print:t.forwardRef(hl),"process-payment":t.forwardRef(vl),"product-ledger-card":t.forwardRef(pl),profile:t.forwardRef(wl),"project-cards":t.forwardRef(bl),projects:t.forwardRef(El),"question-mark-bold":t.forwardRef(xl),"question-mark":t.forwardRef(yl),quicklinks:t.forwardRef(zl),"rating-bankruptcy":t.forwardRef(Rl),"rating-payment-problems":t.forwardRef(Cl),reconciled:t.forwardRef(Sl),refresh:t.forwardRef(Nl),"report-solid":t.forwardRef(Al),report:t.forwardRef(Ol),restore:t.forwardRef(Il),"rotate-left":t.forwardRef(Ll),"rotate-right":t.forwardRef(Hl),sales:t.forwardRef(Ml),"search-bold":t.forwardRef(kl),search:t.forwardRef(Vl),"secure-tick":t.forwardRef(jl),secure:t.forwardRef(Tl),"settings-solid":t.forwardRef(Dl),settings:t.forwardRef(Fl),shortcuts:t.forwardRef(Pl),"show-all":t.forwardRef(Bl),"show-less":t.forwardRef(_l),"show-more":t.forwardRef(Gl),"show-template":t.forwardRef(ql),sliders:t.forwardRef($l),smartpay:t.forwardRef(Kl),"sort-by":t.forwardRef(Ul),"star-solid":t.forwardRef(Wl),star:t.forwardRef(Jl),subscriptions:t.forwardRef(Yl),"system-entries":t.forwardRef(Ql),tag:t.forwardRef(Xl),"template-override":t.forwardRef(Zl),templates:t.forwardRef(ea),"thumb-both":t.forwardRef(ta),"thumb-down-solid":t.forwardRef(na),"thumb-down":t.forwardRef(la),"thumb-up-solid":t.forwardRef(aa),"thumb-up":t.forwardRef(ra),"tick-bold":t.forwardRef(oa),tick:t.forwardRef(ia),time:t.forwardRef(sa),"transfer-cancel":t.forwardRef(ca),"transfer-locked":t.forwardRef(ua),transfer:t.forwardRef(da),undo:t.forwardRef(ma),undock:t.forwardRef(ga),unreconciled:t.forwardRef(fa),warning:t.forwardRef(ha),webshop:t.forwardRef(va),website:t.forwardRef(pa),"workflow-template-basic":t.forwardRef(wa),workflow:t.forwardRef(ba),zoom:t.forwardRef(Ea)},ya=n.forwardRef((function(e,t){var a;const{name:r,...o}=e,i=xa[r],s=l("inline-flex h-[1.715em] w-[1.715em] flex-shrink-0",e.className,{"p-[3px]":null===(a=e.className)||void 0===a?void 0:a.includes("rounded-full")});return i?n.createElement(i,Object.assign({},o,{className:s,"data-taco":"icon","data-icon-name":r,focusable:"false",ref:t,role:"img"})):null})),za=t.forwardRef((function(e,n){const{color:a,icon:r,subtle:o,small:i,...s}=e,c=l("rounded-full border overflow-hidden whitespace-nowrap inline-flex items-center justify-center border-transparent [&>*]:max-h-full",{"w-5 h-5":!i},{"w-4 h-4 text-xs":i},{[K(a)]:o,[U(a)]:!o},e.className);return t.createElement("span",Object.assign({},s,{"aria-label":"icon",className:c,"data-taco":"badge-icon",ref:n,role:"status",title:e["aria-label"]}),t.createElement(ya,Object.assign({name:r},{strokeWidth:1,stroke:"currentColor"})))})),Ra=e=>{switch(e){case"information":return"info";case"warning":return"warning";case"error":return"close";case"success":return"tick";default:return"question-mark"}},Ca=n.forwardRef((function(e,t){const{children:a,title:r,state:o,onClose:i}=e,s=l("flex w-full flex-row items-start gap-2 rounded-md border-transparent p-3 "+K(q(o)),e.className);return n.createElement("div",Object.assign({},e,{ref:t,className:s,"data-taco":"alert",role:"alert"}),n.createElement(za,{className:"flex-none",icon:Ra(o),color:q(o)}),n.createElement("div",{className:"grow text-sm"},r&&n.createElement("div",{className:"font-bold"},r),a),i&&n.createElement(ya,{className:"flex-none cursor-pointer",name:"close",onClick:i}))})),Sa=n.createContext({props:{},ref:null});function Na(e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}const Aa=t.forwardRef((function(e,l){const{ref:r,props:o}=n.useContext(Sa),i=Na([r,l]);return t.createElement(a.Trigger,Object.assign({},o,e,{ref:i,asChild:!0}))})),Oa=t.forwardRef((function(e,n){return t.createElement("div",Object.assign({},e,{className:"flex justify-end gap-2",ref:n}),e.children)})),Ia=t.forwardRef((function(e,n){return t.createElement(a.Cancel,Object.assign({},e,{ref:n,asChild:!0}))})),La=t.forwardRef((function(e,n){return t.createElement(a.Action,Object.assign({},e,{className:e.className,ref:n,asChild:!0}))})),Ha=t.forwardRef((function(e,n){const a=l("fixed inset-0 cursor-default overflow-y-auto bg-blue-900/[0.3] aria-hidden:invisible print:overflow-visible print:absolute",e.className);return t.createElement("div",Object.assign({},e,{className:a,"data-taco":"backdrop",ref:n}))})),Ma=e=>{switch(e){case"dialog":return"w-128";case"xs":return"w-xs";case"sm":return"w-sm";case"md":return"w-md";case"lg":return"w-lg"}},ka=t.forwardRef((function(e,n){const r=l("text-center",e.className);return t.createElement(a.Title,Object.assign({},e,{className:r,ref:n}))})),Va=t.forwardRef((function(e,n){const r=l("p-6","mt-16 mx-auto","bg-white rounded animate-[fade-in_150ms] shadow-[0_6px_9px_0_rgba(89,85,98,0.3),0_0_1px_0_rgba(89,85,98,0.2)]",Ma("dialog"));return t.createElement(a.Portal,null,t.createElement(a.Overlay,{asChild:!0},t.createElement(Ha,null,t.createElement(a.Content,Object.assign({},e,{ref:n,className:r,onEscapeKeyDown:e=>e.preventDefault()}),e.children))))})),ja=t.forwardRef((function(e,n){const{defaultOpen:l,onChange:r,open:o,trigger:i,...s}=e,c=t.useMemo(()=>({props:s,ref:n}),[o,s]);return t.createElement(Sa.Provider,{value:c},t.createElement(a.Root,Object.assign({},e,{defaultOpen:l,open:o,onOpenChange:r}),i&&t.createElement(Aa,null,i),e.children))}));ja.Trigger=Aa,ja.Content=Va,ja.Title=ka,ja.Cancel=Ia,ja.Action=La,ja.Footer=Oa;const Ta=n.createContext({as:"h2"}),Da=n.forwardRef((function(e,t){const a=!!e["aria-expanded"],r=l("w-full inline-flex justify-between items-center align-middle","focus:rounded-sm focus:border-blue-500 focus:yt-focus",e.className);return n.createElement("button",Object.assign({},e,{ref:t,className:r}),e.children,n.createElement(ya,{name:a?"chevron-up":"chevron-down"}))})),Fa=n.forwardRef((function(e,t){const{children:l}=e,{as:a}=n.useContext(Ta);return n.createElement(r.Header,{asChild:!0},n.createElement(a,{className:"my-3"},n.createElement(r.Trigger,{ref:t,asChild:!0},n.createElement(Da,null,l))))})),Pa=n.forwardRef((function(e,t){return n.createElement(r.Content,Object.assign({},e,{ref:t}))})),Ba=e=>{const{id:t,defaultId:a,onChange:o,as:i="h2",...s}=e,c=n.useMemo(()=>({as:i}),[i]);let u;u=a?{defaultValue:a||void 0}:{onValueChange:o,value:t||void 0};const d="string"==typeof u.defaultValue||"string"==typeof u.value?"single":"multiple",m=l("divide-y divide-grey-200",e.className);return n.createElement(Ta.Provider,{value:c},n.createElement(r.Root,Object.assign({},s,u,{"data-taco":"accordion",className:m,type:d})))};Ba.Item=e=>{const{id:t,...l}=e;return n.createElement(r.Item,Object.assign({},l,{value:t}))},Ba.Trigger=Fa,Ba.Content=Pa;const _a=t.forwardRef((function(e,n){return t.createElement("span",Object.assign({},e,{className:"sr-only",ref:n}))})),Ga=t.forwardRef((function(e,n){const{children:a,compact:r=!1,outline:o=!1,status:i=!1,subtle:s=!1,small:c=!1,color:u,...d}=e,m="transparent"===u,g=l("rounded-full border overflow-hidden whitespace-nowrap inline-flex items-center justify-center",{["border "+$(u)]:o,["border-transparent font-normal "+K(u)]:s,["border-transparent "+U(u)]:!o&&!s,"h-4 min-w-0 py-0 px-1 text-xs":c,"h-2 w-2 min-w-0":r,"font-bold":o||!s,"text-sm":!c,"h-5 py-0 px-1.5":!r&&!c,"!bg-grey-700":r&&m},e.className);return t.createElement("span",Object.assign({},d,{"aria-atomic":"true","aria-live":"polite",className:g,"data-taco":"badge",ref:n,role:"status",title:e["aria-label"]}),r?t.createElement(_a,null,a):i?t.createElement(t.Fragment,null,t.createElement("div",{className:l("mr-1 h-2 w-2 rounded-full",U(u))}),a):a)})),qa=e=>{const t=n.useRef(null);return n.useEffect(()=>{e&&("function"==typeof e?e(t.current):e.current=t.current)},[e]),t},$a=(e,t=0)=>{let n=0,l=null;const a=e.getBoundingClientRect();for(const r of Array.from(e.children)){if(r.getBoundingClientRect().right-a.left>a.width-t){l=n;break}n++}return l},Ka=e=>{switch(null==e?void 0:e.getAttribute("role")){case"dialog":return`[aria-controls='${e.id}']`;case"menu":return"#"+e.getAttribute("aria-labelledby");default:return}};function Ua(e,t){var n,l;const a=null!==(n=Ka(e))&&void 0!==n?n:Ka(null!==(l=null==e?void 0:e.closest("[role=dialog],[role=menu]"))&&void 0!==l?l:null);return a?!(null==t||!t.querySelector(a)):!(null==t||!t.contains(e))}function Wa(e){const t=e;return["A","BUTTON","INPUT","TEXTAREA","SELECT","LABEL","OPTION"].includes(t.tagName)&&!t.hidden&&!t.disabled&&!t.readOnly}function Ja(e){return Xa()?e.metaKey:e.ctrlKey}function Ya(e,t){const n="string"==typeof t?{key:t,meta:!1,shift:!1}:t;return!(n.meta&&(Xa()?!e.metaKey:!e.ctrlKey)||!n.meta&&(Xa()?e.metaKey:e.ctrlKey)||n.shift&&!e.shiftKey||!1===n.shift&&e.shiftKey||e.key.toLowerCase()!==n.key.toLowerCase())}function Qa(e,t,n=!0){return function(l){var a;l.target!==l.currentTarget&&Wa(l.target)&&!Ja(l)||Ya(l,e)&&(n&&(l.stopPropagation(),null===(a=l.stopImmediatePropagation)||void 0===a||a.call(l)),t(l))}}const Xa=()=>{var e;return null===(e=window)||void 0===e?void 0:e.navigator.userAgent.includes("Mac")},Za=(e,t)=>{n.useEffect(()=>{let n;return e&&(n=Qa(e,t,!1),document.addEventListener("keydown",n)),()=>{n&&document.removeEventListener("keydown",n)}},[e,t])},er=t.forwardRef((function(e,n){const{disabled:l,shortcut:a,target:r,type:o="button",...i}=e,s=qa(n);Za(a,e=>{var t;null==e||e.preventDefault();const n=document.querySelector('[role="dialog"]');(!n||null!=n&&n.contains(s.current))&&(null===(t=s.current)||void 0===t||t.click())});const c=e.href?"a":"button";return t.createElement(c,Object.assign({},i,{"aria-disabled":l?"true":void 0,disabled:l,target:"a"===c?r:void 0,type:"a"!==c?o:void 0,ref:s}),t.Children.count(e.children)>1?t.Children.map(e.children,e=>"string"==typeof e?t.createElement("span",null,e):e):e.children)})),tr=t.forwardRef((function(e,n){const{title:a,children:r,placement:i,hide:s=!1,...c}=e,u=l(c.className);return s?r:t.createElement(o.Root,{delayDuration:250},t.createElement(o.Trigger,{asChild:!0,ref:n},r),t.createElement(o.Portal,null,t.createElement(o.Content,Object.assign({},c,{asChild:!0,className:u,side:i,sideOffset:3}),t.createElement("div",{className:"xs:max-w-[theme(spacing.56)] max-w-[theme(spacing.32)] animate-[fade-in_150ms] rounded-sm bg-blue-900 px-2 py-1 text-xs font-bold text-white print:hidden","data-taco":"tooltip",style:{transformOrigin:"var(--radix-tooltip-content-transform-origin)"}},t.createElement(o.Arrow,{className:"-mt-px fill-blue-900/90 stroke-blue-900/90"}),a))))})),nr=(e,t=!1)=>{switch(e){case"primary":return"wcag-blue-500 enabled:hover:wcag-blue-700 enabled:hover:active:wcag-blue-500 disabled:bg-blue-500/50";case"danger":return"wcag-red-500 enabled:hover:wcag-red-700 enabled:hover:active:wcag-red-500 disabled:bg-red-500/50";case"ghost":return"bg-white border border-blue-500 text-blue-500 enabled:hover:bg-blue-100 enabled:hover:text-blue-700 disabled:border-blue-500/50 disabled:text-blue-500/50";case"discrete":return t?"bg-transparent text-black enabled:hover:bg-[#000]/[0.08] disabled:text-black/30":"bg-transparent text-blue-500 enabled:hover:text-blue-700 disabled:text-blue-500/50";case"transparent":return"bg-transparent text-black enabled:hover:text-black enabled:hover:bg-[#000]/[0.08] disabled:text-black/30";default:return"wcag-grey-200 enabled:hover:wcag-grey-300 disabled:bg-grey-200/50 disabled:text-black/30"}},lr=(e,t,l)=>{const{tooltip:a,...r}=e,o=n.createElement(er,Object.assign({},r,{className:t,ref:l}));return a?n.createElement(tr,{title:a},o):o},ar=(e,t)=>{const{dialog:n,drawer:l,hanger:a,menu:r,popover:o}=e;let i=t;return"function"==typeof n?i=n({trigger:i}):"function"==typeof l?i=l({trigger:i}):"function"==typeof r?i=r({trigger:i}):"function"==typeof o&&(i=o({trigger:i})),"function"==typeof a&&(i=a({anchor:i})),i},rr=t.forwardRef((function(e,n){const{icon:a,rounded:r=!1,...o}=e,i=l("w-8","flex-shrink-0 min-h-[theme(spacing.8)] min-w-[theme(spacing.8)] gap-1 h-max leading-5 inline-flex items-center justify-center focus-visible:yt-focus disabled:cursor-not-allowed",nr(o.appearance,!0),{"rounded-full":r,rounded:!r},e.className);return a?lr({...o,children:t.createElement(ya,{name:a,className:"m-0 p-0"}),"data-taco":"icon-button"},i,n):null})),or=t.forwardRef((function(e,n){const{dialog:l,hanger:a,menu:r,popover:o,...i}=e,s=t.createElement(rr,Object.assign({},i,{ref:n}));return ar({dialog:l,hanger:a,menu:r,popover:o},s)})),ir={banner:{close:"Close"},calendar:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],actions:{previousMonth:"Previous month",nextMonth:"Next month",previousYear:"Previous year",nextYear:"Next year",today:"Today"}},combobox:{tooltip:"Search in list"},datepicker:{calendar:"Calendar",clear:"Clear",expand:"Show calendar",shortcuts:"Shortcuts"},dialog:{close:"Close",drag:"Drag"},hanger:{close:"Close"},header:{addAgreement:"Add agreement",logout:"Log off",more:"More",new:"New",search:"Search for agreement..."},listbox:{loading:"Loading results...",empty:"No results found",allOption:"All"},pagination:{label:"Pagination",pageSize:"Items per page",showingXofYofTotal:"Showing [X] - [Y] of [total]",actions:{firstPage:"Goto first page",firstPageWithShortcut:"Goto first page (Home)",previousPage:"Goto previous page",previousPageWithShortcut:"Goto previous page (Page Up)",nextPage:"Goto next page",nextPageWithShortcut:"Goto next page (Page Down)",lastPage:"Goto last page",lastPageWithShortcut:"Goto last page (End)",pageX:"Goto page [X]"}},table:{actions:"Other actions",edit:"Edit (e)",copy:"Copy (c)",del:"Delete (del)",newSubRow:"New row (shift + n)",loading:"Loading..."},table3:{columns:{actions:{tooltip:"Row actions"},drag:{tooltip:"Drag row"},expansion:{collapse:"Collapse row",collapseAll:"Collapse all rows",expand:"Expand row",expandAll:"Expand all rows"},menu:{freezeFirstColumn:"Freeze the first column",freezeUptoColumn:"Freeze first [TOTAL] columns",freezeColumns:(e=1)=>1===e?"Freeze the first column":`Freeze first ${e} columns`,gotoRow:"Go to",hideColumn:"Hide column",unfreezeColumns:"Unfreeze all columns",sorting:"Sorting",sortingOrder:{ascending:"Ascending order",descending:"Descending order",unsorted:"No sorting"}},resize:{tooltip:"Resize column"},select:{deselect:"Deselect row",deselectAll:"Deselect all rows",select:"Select row",selectAll:"Select all rows"}},columnSettings:{search:"Search column...",tooltip:"Column settings",button:"Column settings",noResults:"No results"},editing:{actions:{tooltip:"Row actions",save:"Save",clear:"Clear changes",exit:"Exit edit mode"},buttons:{edit:{tooltip:"Edit table"}},rowIndicator:{rowWillMove:"Row will move due to sorting",rowWillBeHidden:"Row will hide due to filtering",rowWillMoveReasonSearch:"Due to a search filter applied to this table, this row will be hidden as soon as you select another row",rowWillMoveReasonFilter:"Due to a filter applied to the column '[COLUMN]', this row will be hidden as soon as you select another row",rowWillMoveReasonSorting:"Due to sorting applied to the column '[COLUMN]', this row will move position as soon as you select another row"},saving:{progress:"Saving...",complete:"Saved"},clearChangesConfirmationDialog:{title:"Discard changes",description:"Are you sure you want to discard changes on row ‘[ROW_IDENTIFIER] [ROW_IDENTIFIER_VALUE]’. Your changes will be lost.",cancel:"Continue edititng",confirm:"Discard"}},filters:{button:"Filters",buttons:{addFilter:"Add new filter",clearFilters:"Clear all filters"},comparators:{contains:"Contains",doesNotContain:"Does not contain",isEqualTo:"Is",isNotEqualTo:"Is not",isGreaterThan:"Is greater than",isLessThan:"Is less than",isBetween:"Is between",isOneOf:"Is one of",isNoneOf:"Is none of",isAllOf:"Is all of",isEmpty:"Is empty",isNotEmpty:"Is not empty",isBefore:"Is before",isAfter:"Is after",isOnOrBefore:"Is on or before",isOnOrAfter:"Is on or after",isLessThanOrEqualTo:"Is less than or equal to",isGreaterThanOrEqualTo:"Is greater than or equal to",hasAnyOf:"Has any of",hasAllOf:"Has all of",hasNoneOf:"Has none of"},conditions:{and:"And",where:"Where"},emptyFilter:{condition:"Condition",value:"Value"},hiddenColumn:"Hidden column",hiddenGroupedColumn:"Hidden grouped column",tooltip:"Apply filters",total:"Viewing [CURRENT] of [TOTAL]"},fontSize:{tooltip:"Font size",sizes:{small:"Small",medium:"Medium",large:"Large"}},footer:{summary:{count:"of",records:"Records:",selected:"Records selected:"}},print:{error:"An error occurred while creating a print preview",loading:"Creating a print preview",tooltip:"Print",warningDialog:{title:"Extra loading time",description:"Please note that printing a large amount of data may result in a slightly longer waiting time due to data loading.",checkboxVisibilityLabel:"Don't show again",cancelButtonText:"Cancel",printButtonText:"Print"},settingsDialog:{title:"Print settings",size:"Paper size",sizeA5:"A5",sizeA4:"A4",sizeA3:"A3",sizeLetter:"Letter",sizeLegal:"Legal",orientation:"Paper orientation",orientationLandscape:"Landscape",orientationPortrait:"Portrait",rows:"Print rows",rowsAll:"All",rowsSelected:"Selected",layout:"Page layout",layoutSplitGroups:"New page for each [COLUMN]"}},rowHeight:{tooltip:"Row height",sizes:{short:"Short",medium:"Medium",tall:"Tall",extraTall:"Extra tall"}},search:{excludeUnmatchedResults:"Show only search results",placeholder:"Search..."},shortcuts:{tooltip:"View keyboard shortcuts",search:"Search",filter:"Filter",previousRow:"Previous row",nextRow:"Next row",editCell:"Edit cell",previousColumn:"Previous column",nextColumn:"Next column",rowClick:"Activate current row",selectRow:"Select current row",selectAllRows:"Select all rows",expandRow:"Expand current row",collapseRow:"Collapse current row"},otherOptions:{tooltip:"Table settings"},validation:{index:"Index",alert:{unsavedEntries:(e=1)=>1===e?"unsaved entry:":"unsaved entries:",incompleteAndHavntBeenSaved:(e=1)=>1===e?"is incomplete and haven’t been saved.":"are incomplete and haven’t been saved."},resetFiltersDialog:{title:"Row is hidden",description:"The row is hidden due to filtering.",cancel:"Cancel",confirm:"Remove filters"}}},searchInput:{button:"Search",findNext:"Next",findPrevious:"Previous",placeholder:"Search...",clear:"Clear"},select:{allOptionsSelected:"All"},select2:{allSelect:"Select all",allDeselect:"Deselect all",cancel:"Cancel",chooseColor:"Pick a color",create:"Create",delete:"Delete",save:"Save",search:"Search...",searchOrCreate:"Search or create..."},toasts:{dismiss:"Dismiss"},tour:{back:"Back",close:"Close",skip:"Close and complete",last:"Done",next:"Next",open:"Open"},drawer:{close:"Close"}},sr={locale:"en-GB",texts:ir,formatting:{date:"dd.mm.yy"}},cr=t.createContext(sr),ur=({localization:e,children:n})=>t.createElement(cr.Provider,{value:null!=e?e:sr},n),dr=()=>t.useContext(cr),mr=t.forwardRef((function(e,a){const{children:r,state:o,onClose:i}=e,{texts:s}=dr(),c=l("bg-white relative flex items-center gap-2 py-2 px-4 leading-6 shadow-md z-10",e.className);return t.createElement("div",{className:c,"data-taco":"banner",ref:a},(u=o,n.createElement("div",{className:"mt-[5px] self-start"},(()=>{switch(u){case"success":return n.createElement(za,{icon:"tick",color:"green"});case"error":return n.createElement(za,{icon:"close",color:"red"});case"warning":return n.createElement(za,{icon:"warning",color:"yellow"});case"information":return n.createElement(za,{icon:"info",color:"blue"});default:return null}})())),r,i?t.createElement(or,{"aria-label":s.banner.close,className:"-mr-2 ml-auto self-start",icon:"close",appearance:"discrete",onClick:i}):null);var u})),gr=t.forwardRef((function(e,t){const{appearance:n,fluid:a,...r}=e,o=l("flex-shrink-0 min-h-[theme(spacing.8)] min-w-[theme(spacing.8)] gap-1 h-max leading-5 inline-flex items-center justify-center focus-visible:yt-focus disabled:cursor-not-allowed",nr(n),"rounded px-3",{"w-full":a},e.className);return lr({...r,"data-taco":"button"},o,t)})),fr=t.forwardRef((function(e,n){const{dialog:l,drawer:a,hanger:r,menu:o,popover:i,...s}=e;let c=s.children;"function"==typeof o&&(c=Array.isArray(c)?[...c,t.createElement(ya,{key:"chevron-down",name:"chevron-down"})]:[c,t.createElement(ya,{key:"chevron-down",name:"chevron-down"})]);const u=t.createElement(gr,Object.assign({},s,{ref:n}),c);return ar({dialog:l,drawer:a,hanger:r,menu:o,popover:i},u)})),hr=(new Date).getFullYear(),vr=[];for(let e=hr-50;e<=hr+10;e+=1)vr.push(e);const pr=t.memo(({onMonthChange:e,onNextClick:n,onPreviousClick:l,value:a=new Date})=>{const{texts:{calendar:{actions:r,months:o}}}=dr(),i=function(t){const{year:n,month:l}=t.target.form;e(new Date(n.value,l.value))};return t.createElement("div",{className:"mb-1 flex items-center justify-between"},t.createElement("form",{className:"inline-flex space-x-1"},t.createElement("select",{className:"h-8 px-2",name:"month",onChange:i,value:a.getMonth()},o.map((e,n)=>t.createElement("option",{key:e,value:n},e))),t.createElement("select",{className:"h-8 px-2",name:"year",onChange:i,value:a.getFullYear()},vr.map(e=>t.createElement("option",{key:e,value:e},String(e))))),t.createElement("div",null,t.createElement(tr,{title:r.previousMonth},t.createElement(or,{appearance:"discrete",icon:"chevron-left","aria-label":r.previousMonth,onClick:()=>l(),rounded:!0})),t.createElement(tr,{title:r.nextMonth},t.createElement(or,{appearance:"discrete",icon:"chevron-right","aria-label":r.nextMonth,onClick:()=>n(),rounded:!0}))))}),wr=t.forwardRef((function(e,n){const{onChange:a,value:r,disabledDays:o,...s}=e,{locale:c,texts:u}=dr(),[d,m]=t.useState(null!=r?r:new Date);t.useEffect(()=>{d!==r&&m(null!=r?r:new Date)},[r]);const g=l("flex bg-white text-xs p-2",s.className);return t.createElement("div",{"data-taco":"calendar"},t.createElement(i,Object.assign({},s,{className:g,month:d,selectedDays:r,locale:c.substring(0,2),firstDayOfWeek:1,months:u.calendar.months,weekdaysLong:u.calendar.weekdays,weekdaysShort:u.calendar.weekdaysShort,navbarElement:e=>t.createElement(pr,Object.assign({},e,{onMonthChange:m,value:d})),onDayClick:(e,t,n)=>{t.outside||t.disabled||a(e,n)},onMonthChange:m,onTodayButtonClick:()=>{const e=new Date;e.setHours(12),e.setMinutes(0),e.setSeconds(0),a(e)},captionElement:()=>null,todayButton:u.calendar.actions.today,numberOfMonths:1,ref:n,disabledDays:o})))})),br=t.forwardRef((function(e,n){const{noPadding:a,...r}=e,o=l("flex-grow overflow-auto",{"mx-4 mb-4":!a},r.className);return t.createElement("div",Object.assign({},r,{className:o,ref:n}))})),Er=t.forwardRef((function(e,n){const{title:a,menu:r,children:o}=e,i=l('bg-white flex flex-col rounded-xl border border-solid border-radius-[12px] border-grey-300 hover:border-grey-500 [&_[data-taco="table2"]]:!border-0',e.className);return t.createElement("div",{className:i,"data-taco":"card",ref:n},t.createElement("div",{className:"mx-4 mb-2 mt-4 flex"},a&&t.createElement("h4",{className:"mb-0 flex-grow text-left"},a),r?t.createElement(or,{icon:"ellipsis-horizontal",appearance:"discrete",menu:r,className:"-mt-[4px]"}):null),o)}));Er.Content=br;const xr=e=>n.useMemo(()=>null!=e?e:c.v4(),[]),yr=t.forwardRef((function(e,n){const{checked:a,indeterminate:r,invalid:o,label:i,onChange:c,...u}=e,d=xr(e.id),m=l("bg-white h-5 w-5 border rounded text-sm flex-shrink-0 mt-[0.1rem] focus-visible:yt-focus disabled:cursor-not-allowed text-white",{"self-start":!!i},o?{"border-red-500 hover:border-red-700 aria-checked:border-red-500 aria-checked-mixed:border-red-500 aria-checked:bg-red-500 aria-checked-mixed:bg-red-500 aria-checked:hover:border-red-700 aria-checked-mixed:hover:border-red-700 aria-checked:hover:bg-red-700 aria-checked-mixed:hover:bg-red-700":!e.disabled,"border-red-500/50 aria-checked:wcag-red-500/50 aria-checked-mixed:wcag-red-500/50":e.disabled}:{"border-grey-500 hover:border-grey-700 aria-checked:border-blue-500 aria-checked-mixed:border-blue-500 aria-checked:bg-blue-500 aria-checked-mixed:bg-blue-500 aria-checked:hover:border-blue-700 aria-checked-mixed:hover:border-blue-700 aria-checked:hover:bg-blue-700 aria-checked-mixed:hover:bg-blue-700":!e.disabled,"border-grey-500/50 aria-checked:bg-blue-500/50 aria-checked-mixed:bg-blue-500/50":e.disabled},e.className);let g;c&&(g=e=>c("indeterminate"!==e&&e));let f=null;i&&(f={"aria-labelledby":d+"-label",id:d});const h=t.createElement(s.Root,Object.assign({},u,f,{"aria-invalid":o?"true":void 0,"data-taco":"checkbox",checked:r?"indeterminate":a,className:m,onCheckedChange:g,onKeyDown:e=>{"Enter"===e.key&&e.currentTarget.click()},ref:n}),t.createElement(s.Indicator,{className:"flex h-full w-full"},t.createElement(ya,{name:r?"line":"tick",className:"!h-full !w-full"})));if(i){const n=l("flex items-center cursor-pointer gap-2",{"cursor-not-allowed text-grey-300":e.disabled});return t.createElement("span",{className:n,"data-taco":"checkbox-container"},h,t.createElement("label",{htmlFor:d,id:d+"-label"},i))}return h}));yr.displayName="Checkbox";const zr=e=>{const t=e.disabled||!!e["aria-disabled"],n=e.readOnly||!!e["aria-readonly"],a=e.invalid||!!e["aria-invalid"];return l("peer text-black text-sm border font-normal not-italic no-underline rounded flex items-center leading-6 px-2 relative w-full text-ellipsis transition-colors transition-opacity ease-in min-h-[theme(spacing.8)] focus-visible:yt-focus","[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none",{"bg-white":!e.highlighted&&!n,"border-grey-300 enabled:hover:border-grey-500 disabled:border-grey-200":!a,"text-opacity-25 cursor-not-allowed placeholder:text-grey-700":t,"bg-yellow-100/50":e.highlighted&&t,"bg-yellow-100":e.highlighted&&!t,"border-red-500 enabled:hover:border-red-700 disabled:border-red-500/50":a,"cursor-not-allowed text-black bg-grey-200":n})},Rr=(e,t)=>{let n;return function(...l){clearTimeout(n),n=setTimeout(()=>e.apply(this,l),t)}},Cr=e=>Boolean(e&&(e.offsetWidth||e.offsetHeight||e.getClientRects().length)),Sr=(e,n)=>{const[l,a]=t.useState(void 0),r=Cr(e.current),[o,i]=t.useState(r),s=()=>{var t;o&&a(null===(t=e.current)||void 0===t?void 0:t.getBoundingClientRect())};return t.useEffect(()=>{const e=setTimeout(s,0),t=Rr(s,250);return window.addEventListener("resize",t),()=>{clearTimeout(e),window.removeEventListener("resize",t)}},[e.current,o]),t.useEffect(()=>{const t=Cr(e.current);o!==t&&i(t)}),t.useEffect(()=>{var t;n&&a(null===(t=e.current)||void 0===t?void 0:t.getBoundingClientRect())},n),l},Nr=["text","search","url","tel","password"],Ar=t.forwardRef((function(e,n){const{highlighted:a,invalid:r,onKeyDown:o,postfix:i,prefix:s,type:c="text",...u}=e,d=qa(n);t.useLayoutEffect(()=>{var e;d.current&&"number"===c&&(e=d.current.setSelectionRange,d.current.setSelectionRange=function(...t){"number"===this.type?(this.type="text",e.apply(this,t),this.type="number"):e.apply(this,t)})},[]);const m=t.useRef(null),g=Sr(m),f=t.useRef(null),h=Sr(f,[i]),v=l(zr(e),{"pl-8":!!s,"pr-8":!!i},u.className),p={type:c};return"number"===c&&(p.onWheelCapture=e=>{document.activeElement===e.currentTarget&&requestAnimationFrame(()=>{e.target.focus()}),e.currentTarget.blur()}),t.createElement("div",{className:"relative inline-flex h-fit w-full","data-taco":"input-container",style:{opacity:.999}},t.createElement("input",Object.assign({},u,p,{"aria-invalid":r,className:v,"data-highlighted":a,"data-taco":"input",onKeyDown:e=>{if(1!==e.key.length||Ja(e)||e.stopPropagation(),Nr.includes(c)&&!e.shiftKey&&("Home"===e.key||"End"===e.key)){e.preventDefault();const t="End"===e.key?e.currentTarget.value.length:0;e.currentTarget.setSelectionRange(t,t)}"function"==typeof o&&o(e)},ref:d,style:{paddingLeft:g?g.width-1+"px":void 0,paddingRight:h?h.width-1+"px":void 0}})),s?t.createElement(Or,{type:"prefix",children:s,disabled:u.disabled,ref:m}):null,i?t.createElement(Or,{type:"postfix",children:i,disabled:u.disabled,ref:f}):null)})),Or=t.memo(t.forwardRef((function(e,n){const{children:a,disabled:r,type:o}=e;return t.createElement("div",{className:l("group absolute top-0 flex h-full items-center justify-center px-2",'[&_[data-taco="icon"]]:!h-5 [&_[data-taco="icon"]]:!w-5',{"text-grey-300":r,"text-grey-700":!r,"left-0 [&>button]:!-ml-2":"prefix"===o,"right-0 [&>button]:!-mr-2":"postfix"===o}),"data-affix-type":o,ref:n},a)}))),Ir=t.forwardRef((function(e,n){var a;const{button:r,icon:o,...i}=e;let s;if(r){const e=r.props.disabled||i.disabled,n=l("items-center focus:z-10 flex justify-center rounded-l-none rounded-r h-full focus:rounded focus:outline-none",((e,t=!1)=>e?l("border border-red-500 group-peer-hover:enabled:border-red-700 transition-colors ease-in",{"border-red-500/30":t}):"border border-grey-300 group-peer-hover:enabled:border-grey-500 transition-colors transition-opacity ease-in")(i.invalid,e),r.props.className);s=t.cloneElement(r,{className:n,disabled:e})}else o&&(s="string"==typeof o?t.createElement(ya,{name:o}):o);return t.createElement(Ar,Object.assign({},i,{postfix:null!==(a=i.postfix)&&void 0!==a?a:s,ref:n}))})),Lr=(e,t,n,l="vertical")=>{switch(e){case"horizontal"===l?"ArrowLeft":"ArrowUp":return void 0!==n?n-1<0?0:n-1:n;case"horizontal"===l?"ArrowRight":"ArrowDown":return void 0!==n?n+1>=t?n:n+1:n;case"Home":return 0;case"End":return t-1;default:return}},Hr=(e,t)=>({scrollTo:n=>{if(e&&e.current)if(void 0!==n){const l=t[n];l&&l.current&&((e,t)=>{const n=e.clientHeight;if(e.scrollHeight>n){const l=e.scrollTop,a=t.offsetTop+t.offsetHeight;a>n+l?e.scrollTop=a-n:t.offsetTop<l&&(e.scrollTop=t.offsetTop)}})(e.current,l.current)}else e.current.scrollTop=0}}),Mr=n.forwardRef((function(e,t){const{delay:a=350,label:r,...o}=e,[i,s]=n.useState(!a);if(n.useEffect(()=>{let e;return a&&(e=window.setTimeout(()=>s(!0),a)),()=>{e&&clearTimeout(e)}},[a]),!i)return null;const c=l("inline-flex flex-col relative items-center",o.className);return n.createElement("div",Object.assign({},o,{className:c,"data-taco":"spinner",ref:t}),n.createElement("svg",{className:"h-10 w-10 animate-[spinnerRotation_2s_linear_infinite]",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},n.createElement("circle",{cx:"50",cy:"50",r:"45"})),r&&n.createElement("span",{className:"mt-4"},r))})),kr=(e,t)=>`${e}_${t}`,Vr=(e,t,n)=>{const l=Lr(e.key,t.length,n);if(l){if(l===n)return n;if(t[l]&&t[l].disabled)return Vr(e,t,l)}return l},jr=t.forwardRef((function(e,n){const{data:a,disabled:r,id:o,loading:i,onChange:s,onClick:c,onFocus:u,onKeyDown:d,readOnly:m,scrollOnFocus:g=!1,value:f,multiselect:h,selectedIndexes:v=[],allOptionsSelected:p=!1,...w}=e,b=qa(n),E=t.useMemo(()=>a.map(()=>t.createRef()),[a]),{texts:x}=dr(),{scrollTo:y}=Hr(b,E);t.useEffect(()=>{var e,t;f&&null!==(e=E[f])&&void 0!==e&&e.current&&(null===(t=E[f].current)||void 0===t||t.scrollIntoView({block:"center"}))},[]),t.useEffect(()=>{y(f)},[f]);const z=e=>t=>{s(e),c&&(t.persist(),c(t,e))},R=(e,t)=>"#ALL-OPTIONS#"===e?p:!(!e||!v)&&-1!==v.findIndex(e=>e===t),C=a.map((e,t)=>{const n=e.path?e.path.split(".").length-1:0;return{"aria-selected":h?R(String(e.value),t):f===t,"data-focused":f===t,children:e.text,className:l("flex items-center px-3 w-full cursor-pointer bg-white flex-[0_0_2rem] focus:wcag-blue-500 focus:border-blue-500",{"sticky top-0 font-bold":0===n&&!!e.hasChildren}),disabled:e.disabled,icon:e.icon,id:kr(o,e.value),key:kr(o,e.value),onClick:r||m?void 0:z(t),ref:E[t],role:"option",style:n>0?{paddingLeft:n+1+"rem"}:void 0}}),S={...w,className:l("inline-flex flex-col list-none !p-0 m-0 overflow-y-auto h-auto",zr(e),{"yt-list--multiselect":h,"pointer-events-none":r,"cursor-not-allowed":r||m},w.className),disabled:r,id:o,onFocus:r||m?void 0:e=>{g&&y(f),u&&(e.persist(),u(e))},onKeyDown:r||m?void 0:e=>{const t=Vr(e,a,f);void 0!==t&&t!==f&&(e.preventDefault(),y(t),s(t)),d&&(e.persist(),d(e,void 0!==t?t:f)),e.stopPropagation()},readOnly:m,ref:b,role:C.length<=0||i?"presentation":"listbox",tabIndex:w.tabIndex||0};return t.createElement("ul",Object.assign({},S,{"data-taco":"scrollable-list"}),i?t.createElement("li",{className:"yt-list__empty"},t.createElement("span",null,t.createElement(Mr,{delay:0})),t.createElement("span",null,x.listbox.loading)):C.length?C.map(({children:e,icon:n,...l})=>t.createElement("li",Object.assign({},l),n,t.createElement("span",{className:"flex-grow truncate text-left"},e),h&&t.createElement(yr,{"aria-hidden":!0,tabIndex:-1,checked:l["aria-selected"],onChange:()=>null,className:"pointer-events-none ml-2 self-center p-px"}))):t.createElement("li",{className:"yt-list__empty"},t.createElement("span",null,x.listbox.empty)))})),Tr=e=>{let t;return"function"==typeof Event?t=new Event(e,{bubbles:!0}):(t=document.createEvent("Event"),t.initEvent(e,!0,!0)),t},Dr=e=>{let t;return"function"==typeof KeyboardEvent?t=new KeyboardEvent(e.type,e):(t=document.createEvent("Event"),t.initEvent(e.type,!0,!0),t.key=e.key,t.charCode=e.charCode),t},Fr=(e,t,n="change")=>{if(!e)return;const l=e.value;e.value=t||"";const a=e._valueTracker;a&&a.setValue(l),e.dispatchEvent(Tr(n))},Pr=e=>String(null!=e?e:""),Br=(e,t,n="change")=>{Fr(e,Pr(t),n)},_r=(e,t)=>{const n=e.findIndex(e=>Pr(e.value)===Pr(t));return n>-1?n:void 0},Gr=(e,t)=>"string"!=typeof t?[]:t.split(",").map(t=>e.findIndex(e=>String(e.value)===t)).filter(e=>-1!==e),qr=(e,t)=>e.find(e=>Pr(e.value)===Pr(t)),$r=(e,t,n="includes")=>{try{var l,a,r;return"string"!=typeof e&&null!==(l=e.props)&&void 0!==l&&l.children?Array.isArray(null===(a=e.props)||void 0===a?void 0:a.children)?!!e.props.children.find(e=>$r(e,t,n)):$r(null===(r=e.props)||void 0===r?void 0:r.children,t,n):e.toString().toLowerCase()[n](String(t).toLowerCase())}catch{return!1}},Kr=(e,t,n,l=e.length)=>{const a=e.slice(n,l).findIndex(e=>!e.disabled&&$r(e.text,t,"startsWith"));return a>-1?a+n:-1},Ur=(e,t,n)=>void 0!==t&&e[t]?kr(n,e[t].value):void 0,Wr=e=>n.useMemo(()=>{const t=[],n=(e,l,a,r)=>{const o=a?`${a}.${l}`:""+l,i=r||e.disabled;t.push({...e,disabled:i,path:o,hasChildren:!!e.children}),e.children&&e.children.forEach((e,t)=>n(e,t,o,i))};return e.forEach((e,t)=>{n(e,t)}),t},[e]),Jr=e=>{if(e){const{...t}=e;return t}},Yr=(e,t)=>{var n;const l=null!==(n=null==t?void 0:t.split("."))&&void 0!==n?n:[];if(l.length>1){let t;return l.pop(),l.map(n=>(t=t?[t,n].join("."):n,Jr(e.find(e=>e.path===t))))}return null},Qr=d(e=>e(),200),Xr=e=>String(null!=e?e:""),Zr=t.forwardRef((function(e,n){const{className:a,dialog:r,style:o,...i}=e,{combobox:s,button:d,input:m,popover:g,list:f}=(({"aria-labelledby":e,data:n=[],defaultValue:l,disabled:a,inline:r,onChange:o,onClick:i,onKeyDown:s,onSearch:u,readOnly:d,value:m,...g},f)=>{const h=qa(f),v=t.useRef(null),p=t.useRef(null),[w,b]=t.useState(!1),E=t.useMemo(()=>c.v4(),[]),[x,y]=t.useState(Xr(m)),z=!u&&(!r||r&&x!==Xr(m)),R=Wr(n),C=t.useMemo(()=>z?((e,t="")=>{if(""===t||null===t)return e;const n=new Set;return e.forEach(l=>{if((e=>!e.disabled&&$r(e.text,String(t)))(l)){const t=Yr(e,l.path);n.add(l.value),null!==t&&t.forEach(e=>n.add(null==e?void 0:e.value))}}),e.filter(({value:e})=>n.has(e))})(R,x):R,[z,x,R]),[S,N]=t.useState(void 0!==x?_r(C,x):void 0),A=e=>{if(void 0!==e){const t=C[e];t&&!t.disabled&&Br(h.current,t.value,"focusout")}},O=e=>{void 0!==e&&(C[e].value!==m?A(e):y(Xr(m)))};return t.useEffect(()=>{l&&!m&&A(_r(C,l))},[C]),t.useEffect(()=>{void 0!==m&&m!==x&&y(Xr(m))},[m]),t.useEffect(()=>{u&&Qr(()=>{u(x)})},[x]),t.useEffect(()=>{const e=null!=m&&x===String(m);x&&C.length&&!e?(N(0),w||b(!0)):b(!1)},[x,C]),t.useEffect(()=>{N(w?_r(C,x)||0:void 0)},[w]),{combobox:{"aria-expanded":w,"aria-owns":E,"aria-haspopup":"listbox",role:"combobox"},input:{...g,"aria-controls":E,"aria-autocomplete":"list","aria-activedescendant":void 0!==S&&C[S]?kr(E,String(C[S].value)):void 0,"aria-labelledby":e,disabled:a,onBlur:a||d?void 0:e=>{if(e.persist(),p.current&&e.relatedTarget===p.current)e.preventDefault();else{if(o&&e.target.value!==String(m)){const t=qr(R,e.target.value);e.detail=Jr(t);const n=Yr(R,null==t?void 0:t.path);null!==n&&n.length>0&&(e.detail.parents=n),o(e)}g.onBlur&&g.onBlur(e)}},onChange:a||d?void 0:e=>{y(e.target.value)},onClick:a||d?void 0:e=>{(r||!w&&x&&C.length)&&b(!0),i&&(e.persist(),i(e))},onKeyDown:a||d?void 0:e=>{switch(e.persist(),e.key){case"Backspace":return;case"Escape":return e.preventDefault(),y(Xr(m)),void b(!1);case"Tab":case"Enter":return"Tab"!==e.key&&e.preventDefault(),O(S),void b(!1);case"ArrowDown":w?e.preventDefault():!r&&v.current&&v.current.click();break;case"ArrowUp":case"Home":case"End":w&&e.preventDefault()}if(p.current&&p.current.dispatchEvent(Dr(e)),r&&!w&&("ArrowUp"===e.key||"ArrowDown"===e.key)){e.preventDefault();const t="ArrowUp"===e.key?C.length-1:0;N(void 0!==S?S:t),b(!0)}!e.isDefaultPrevented()&&s&&(e.persist(),s(e))},readOnly:d,ref:h,type:"text",value:null!=x?x:""},list:{"aria-labelledby":e,data:C,disabled:a,id:E,onChange:e=>{N(e)},onClick:(e,t)=>{e.preventDefault(),O(t),b(!1)},ref:p,scrollOnFocus:!1,tabIndex:-1,value:S},button:{ref:v},popover:{open:w,onOpenChange:b}}})(i,n),h=t.useRef(null),{texts:v}=dr(),p=Sr(h),w=l("inline-flex relative",{"yt-combobox--inline":e.inline},a);return t.createElement("span",{className:w,"data-taco":"combobox",style:o},t.createElement(u.Root,Object.assign({},g),t.createElement(u.Anchor,{asChild:!0,ref:h},t.createElement("div",Object.assign({},s,{className:"inline w-full",ref:n}),t.createElement(Ir,Object.assign({},m,{autoComplete:"off",button:e.inline?t.createElement(or,{"aria-hidden":!0,appearance:"discrete",className:"!border-l-0 focus:!border-none focus:!shadow-none active:!border-none",icon:g.open?"chevron-up":"chevron-down",onClick:()=>{var e;g.onOpenChange(!0),null===(e=m.ref.current)||void 0===e||e.focus()},tabIndex:-1}):r?t.createElement(or,{"aria-label":v.combobox.tooltip,icon:"list-search",disabled:e.readOnly||e.disabled,dialog:r,onFocus:e=>{var t;e.preventDefault(),null===(t=m.ref.current)||void 0===t||t.focus()},ref:d.ref,tabIndex:-1,tooltip:v.combobox.tooltip}):void 0})))),t.createElement(u.Portal,null,t.createElement(u.Content,{align:"start",onOpenAutoFocus:e=>{e.preventDefault()},sideOffset:4},t.createElement(jr,Object.assign({},f,{className:l("max-h-[calc(12rem+2px)] w-auto max-w-[theme(spacing.96)] !border-blue-500"),style:{minWidth:null==p?void 0:p.width},tabIndex:g.open?0:-1}))))))})),eo=(e,t)=>e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDay()===t.getDay(),to=(e,t="dd.mm.yy")=>{if(!e)return;const n=m.isDate(e)?e:m.toDate(e);if(!m.isValid(n))return;const l=e=>1===String(e).length?"0"+e:e.toString();return t.replace("dd",l(n.getDate())).replace("mm",l(n.getMonth()+1)).replace("yy",String(n.getFullYear()).slice(2))},no=(e="",t="dd.mm.yy")=>{if(!e||!e.length)return;const n=t.split(/[^dmy]/),l=n.findIndex(e=>"dd"===e),a=n.findIndex(e=>"mm"===e),r=n.findIndex(e=>"yy"===e||"yyyy"===e);let o,i,s;const c=e=>e&&2===e.length?Number.parseInt(e,10)>50?"19"+e:"20"+e:e,u=e.split(/\D/);if(1===u.length){const e=u[0],n=t.replace(/[^dmy]/g,"");o=e.slice(n.indexOf("d"),n.lastIndexOf("d")+1),i=e.slice(n.indexOf("m"),n.lastIndexOf("m")+1),s=c(e.slice(n.indexOf("y"),n.lastIndexOf("y")+3))}else o=u[l],i=u[a],s=c(u[r]);o=Number.parseInt(o,10),i=Number.parseInt(i,10),s=Number.parseInt(s,10);const d=new Date;return new Date(Object.is(s,NaN)?d.getFullYear():s,Object.is(i,NaN)?d.getMonth():i-1,Object.is(o,NaN)?d.getDate():o,12,0)},lo=e=>{const t=new Date(e);return m.isValid(t)?no(to(new Date(e))):void 0},ao=t.forwardRef((function(e,n){return t.createElement(u.Arrow,{className:"pointer-events-none -mt-px",asChild:!0,offset:2,width:30,height:11},t.createElement("svg",Object.assign({},e,{ref:n,viewBox:"0 19 30 11",style:{transform:"rotateZ(180deg)"}}),t.createElement("path",{className:"text-grey-300 fill-current group-focus:text-blue-300",d:"M23.7,27.1L17,19.9C16.5,19.3,15.8,19,15,19s-1.6,0.3-2.1,0.9l-6.6,7.2C5.3,28.1,3.4,29,2,29h26 C26.7,29,24.6,28.1,23.7,27.1z"}),t.createElement("path",{className:"fill-current",d:"M23,27.8c1.1,1.2,3.4,2.2,5,2.2h2H0h2c1.7,0,3.9-1,5-2.2l6.6-7.2c0.7-0.8,2-0.8,2.7,0L23,27.8L23,27.8z"})))})),ro=t.createContext({props:{},ref:null}),oo=t.forwardRef((function(e,n){return t.createElement(u.Anchor,Object.assign({},e,{asChild:!0,ref:n}))})),io=t.forwardRef((function(e,n){var l;const{ref:a,props:r}=t.useContext(ro),o=Na([a,n]);let i=e.children;return t.isValidElement(e.children)&&"function"==typeof(null===(l=e.children)||void 0===l?void 0:l.type)&&(console.warn(`Popover.Trigger requires its child to forwardRef so that it can attach to the dom element. Did you mean to wrap '${e.children.type.name}' in React.forwardRef()? Taco has wrapped '${e.children.type.name}' in a 'span' to maintain functionality, but this may cause unintended behaviour`),i=t.createElement("span",null,e.children)),t.createElement(u.Trigger,Object.assign({},r,e,{ref:o,asChild:!0}),i)})),so=t.forwardRef((function({children:e,onClick:t},n){return e({close:()=>{t(new CustomEvent("hide"))},ref:n})})),co=t.forwardRef((function(e,n){const{placement:a,...r}=e,o=l("bg-white focus:border-blue-300 border border-transparent rounded p-3 yt-shadow focus:yt-focus outline-none group",e.className);let i;return i="function"==typeof e.children?t.createElement(u.Close,{asChild:!0},t.createElement(so,null,e.children)):e.children,t.createElement(u.Portal,null,t.createElement(u.Content,Object.assign({},r,{className:o,"data-taco":"popover",side:a,sideOffset:1,ref:n}),i,t.createElement(ao,{className:"text-white"})))})),uo=t.forwardRef((e,n)=>t.createElement(u.Close,Object.assign({},e,{ref:n,asChild:!0}))),mo=t.forwardRef((function(e,n){const{anchor:l,children:a,defaultOpen:r,modal:o=!1,open:i,onChange:s,trigger:c,...d}=e,m=t.useMemo(()=>({props:d,ref:n}),[d]);return t.createElement(ro.Provider,{value:m},t.createElement(u.Root,{defaultOpen:r,modal:o,open:i,onOpenChange:s},l?t.createElement(oo,null,l):null,c&&!l?t.createElement(io,null,c):null,a))}));mo.Anchor=oo,mo.Trigger=io,mo.Content=co,mo.Close=uo,mo.Portal=u.Portal;const go=t.forwardRef((function(e,n){const{className:a,onReset:r,style:o,shortcuts:i,shortcutsText:s,...c}=e,{calendar:u,input:d}=(({calendar:e,onBlur:n,onChange:l,value:a,...r},o)=>{const i=qa(o),{formatting:s}=dr(),[c,u]=t.useState(a&&m.isValid(a)?to(a,s.date):"");return t.useEffect(()=>{if(a&&m.isValid(a)){const e=to(a,s.date);e!==c&&u(e)}else u("")},[a]),{input:{...r,autoComplete:"off",onBlur:e=>{e.persist();const t=no(e.target.value),a=t&&to(t)||"";e.target.value=a,l?(e.detail=t,l(e)):u(a),n&&n(e)},onChange:e=>{u(e.target.value)},onKeyDown:e=>{r.onKeyDown&&r.onKeyDown(e),e.isPropagationStopped()||e.isDefaultPrevented()||"Enter"!==e.key||e.target.dispatchEvent(new Event("focusout",{bubbles:!0}))},ref:i,type:"text",value:c},calendar:{...e,onChange:e=>{Fr(i.current,to(e,s.date),"focusout")},value:a}}})(c,n),{texts:g}=dr(),f=l("inline-flex w-full text-black font-normal",a);return t.createElement("span",{className:f,"data-taco":"datepicker",style:o},t.createElement(Ir,Object.assign({},d,{button:t.createElement(or,{"aria-label":g.datepicker.expand,disabled:d.disabled||d.readOnly,icon:"calendar",tabIndex:-1,popover:e=>t.createElement(mo,Object.assign({},e),t.createElement(mo.Content,null,({close:e})=>t.createElement("div",{className:"-m-3 flex"},t.createElement(wr,Object.assign({},u,{onChange:(t,n)=>{u.onChange(t,n),e()}})),i&&t.createElement("div",{className:"border-grey-300 flex flex-col border-l"},t.createElement("span",{className:"m-4 mb-3 flex h-8 w-32 items-center text-xs font-semibold"},null!=s?s:g.datepicker.shortcuts),t.createElement("ul",null,i.map(n=>t.createElement("li",{key:n.text},t.createElement("button",{type:"button",className:"hover:wcag-grey-200 flex w-full items-start px-4 py-1 text-xs",onClick:t=>{t.persist(),n.onClick(t),e()}},n.text)))),r&&t.createElement("button",{type:"button",className:"mx-auto my-4 mt-auto inline-flex cursor-pointer border-none bg-transparent text-xs text-blue-500 hover:text-blue-300",onClick:t=>{t.persist(),r(t),e()}},g.datepicker.clear))))),tooltip:g.datepicker.calendar})})))}));go.displayName="Datepicker";const fo=t.createContext({closeOnEscape:!0,draggable:!1,drawer:{open:!1,toggle:()=>{}},elements:{drawer:void 0,extra:void 0},onClose:()=>{},props:{},ref:null,showCloseButton:!0,size:"sm"}),ho=()=>t.useContext(fo),vo=t.forwardRef((function(e,n){const{ref:l,props:a}=ho(),r=Na([l,n]);return t.createElement(g.Trigger,Object.assign({},a,e,{ref:r,asChild:!0}))})),po=e=>{const[t,l]=n.useState({x:0,y:0}),[a,r]=n.useState(!1),{moveProps:o}=f.useMove({onMoveStart(){r(!0)},onMove(t){var n;const a=null===(n=e.current)||void 0===n?void 0:n.getBoundingClientRect();a&&(a.left+t.deltaX<0||a.right+t.deltaX>window.innerWidth||a.top+t.deltaY<0||a.bottom+t.deltaY>window.innerHeight)||l(({x:e,y:n})=>({x:e+=t.deltaX,y:n+=t.deltaY}))},onMoveEnd(){r(!1)}});return{position:t,dragging:a,handleProps:o,resetPosition:()=>{l({x:0,y:0})}}},wo=t.forwardRef((function(e,n){const a=l("text-center",e.className);return t.createElement(g.Title,Object.assign({},e,{className:a,ref:n}))})),bo=t.forwardRef((function(e,n){const a=l("mt-8 flex justify-end",e.className);return t.createElement("div",Object.assign({},e,{className:a,ref:n}),e.children)})),Eo=t.forwardRef((function(e,n){const l=ho();return t.createElement(g.Close,Object.assign({onClick:l.onClose},e,{ref:n,asChild:!0}))})),xo=t.forwardRef((function({children:e,onClick:t,renderProps:n},l){return e({close:()=>{t(new CustomEvent("close"))},ref:l,...n})})),yo=t.forwardRef((function(e,n){const a=ho(),r=qa(n),{position:o,dragging:i,handleProps:s}=po(r),{texts:c}=dr(),u=l("relative bg-white animate-[fade-in_150ms] rounded","mt-16 mx-auto",Ma(a.size),"print:w-full print:h-full print:m-0 print:overflow-visible"),d=l("bg-white p-6 rounded relative z-10 shadow print:p-0 print:overflow-visible print:h-full",{"rounded-b-none":!!a.elements.extra},e.className);let m;return m="function"==typeof e.children?t.createElement(Eo,null,t.createElement(xo,{renderProps:{drawer:a.drawer}},e.children)):e.children,t.createElement(g.Portal,null,t.createElement(g.Overlay,{asChild:!0},t.createElement(Ha,null,t.createElement(g.Content,Object.assign({},e,{className:u,onEscapeKeyDown:e=>{a.closeOnEscape?a.onClose&&a.onClose():e.preventDefault()},onInteractOutside:e=>e.preventDefault(),ref:r,style:{...e.style,left:a.draggable?o.x+"px":void 0,top:a.draggable?o.y+"px":void 0}}),t.createElement("div",{className:d,"data-taco":"dialog"},m,a.draggable&&t.createElement("div",Object.assign({},s,{role:"button",draggable:!0,"aria-grabbed":i,"aria-label":c.dialog.drag,className:"yt-dialog__drag absolute-center-x bg-grey-100 top-1.5 h-3 w-24 cursor-move rounded text-center print:hidden"})),a.showCloseButton?t.createElement(g.Close,{onClick:a.onClose,asChild:!0},t.createElement(or,{appearance:"discrete","aria-label":c.dialog.close,className:"absolute right-0 top-0 mr-2 mt-2 print:hidden",icon:"close"})):null),a.elements.drawer,a.elements.extra))))})),zo=t.forwardRef((function(e,n){var a,r;const o=ho(),i=l("absolute top-0 -ml-[4px] hidden h-full w-full overflow-y-auto rounded-r bg-white p-6 text-left",e.className);return t.createElement(h.motion.div,Object.assign({},e,{className:i,"data-taco":"dialog-drawer","aria-hidden":!(null!==(a=o.drawer)&&void 0!==a&&a.open),variants:{visible:{left:"100%",display:"block",transition:{ease:"easeOut",duration:.2}},hidden:{left:"0%",transition:{ease:"easeOut",duration:.2},transitionEnd:{display:"none"}}},animate:null!==(r=o.drawer)&&void 0!==r&&r.open?"visible":"hidden",ref:n}),"function"==typeof e.children?e.children(o.drawer):e.children)}));zo.displayName="DialogDrawer";const Ro=t.forwardRef((function(e,n){const a=l("wcag-grey-100 absolute top-full left-0 -mt-px w-full rounded-t-none rounded-b p-6 text-left",e.className);return t.createElement("div",Object.assign({},e,{className:a,"data-taco":"dialog-extra",ref:n}))}));Ro.displayName="DialogExtra";const Co=t.forwardRef((function(e,n){const{children:l,closeOnEscape:a=!0,defaultOpen:r,draggable:o=!1,onChange:i,onClose:s,open:c,showCloseButton:u=!0,size:d="sm",trigger:m,...f}=e,[h,v,p]=(e=>t.useMemo(()=>{const n=[];let l,a;return t.Children.toArray(e).forEach(e=>{var t,r;(null===(t=e.type)||void 0===t?void 0:t.displayName)===zo.displayName?l=e:(null===(r=e.type)||void 0===r?void 0:r.displayName)===Ro.displayName?a=e:n.push(e)}),[n,l,a]},[e]))(l),[w,b]=t.useState(!1),E=t.useMemo(()=>({closeOnEscape:a,draggable:o,drawer:{open:w,toggle:()=>b(e=>!e)},elements:{drawer:v,extra:p},onClose:s,props:f,showCloseButton:u,size:d,ref:n}),[a,w,o,v,p,c,f,u]);return t.createElement(fo.Provider,{value:E},t.createElement(g.Root,{defaultOpen:r,open:c,onOpenChange:i},m&&t.createElement(vo,null,m),h))}));Co.Trigger=vo,Co.Content=yo,Co.Title=wo,Co.Footer=bo,Co.Extra=Ro,Co.Drawer=zo,Co.Close=Eo;const So=t.forwardRef((function(e,n){const{as:a="span",orientation:r="horizontal",...o}=e,i=l('flex gap-2 [&:has([data-taco="tag"])]:!gap-1',{"flex-col ":"vertical"===r},e.className);return t.createElement(a,Object.assign({},o,{className:i,"data-taco":"group",ref:n}))})),No=t.createContext(void 0),Ao=()=>t.useContext(No),Oo=t.createContext({closeOnEscape:!0,showCloseButton:!0,onClose:()=>{},onResize:()=>{},props:{},ref:null,size:"md",variant:"embedded"}),Io=()=>t.useContext(Oo),Lo=e=>{const t=l("flex select-none touch-none transition-colors hover:bg-grey",{"w-[7px] hover:w-[14px] mr-[2px] hover:px-[2px] hover:mr-0":"vertical"===e.orientation,"flex-col h-[7px] hover:h-[14px] mb-[2px] hover:py-[2px] hover:mb-0":"horizontal"===e.orientation});return n.createElement(p.Scrollbar,Object.assign({},e,{className:t}))},Ho=e=>n.createElement(p.Thumb,Object.assign({},e,{className:"flex-[1] rounded bg-black opacity-50"})),Mo=e=>n.createElement(p.Corner,Object.assign({},e,{className:"bg-grey-500"})),ko=e=>{const{children:t,...a}=e;return n.createElement(p.Root,Object.assign({},a,{className:l("overflow-hidden",e.className),"data-taco":"scrollarea"}),n.createElement(p.Viewport,{className:"h-full w-full"},t),n.createElement(Lo,{orientation:"vertical"},n.createElement(Ho,null)),n.createElement(Lo,{orientation:"horizontal"},n.createElement(Ho,null)),n.createElement(Mo,null))};var Vo;!function(e){e.Visible="visible",e.Hidden="hidden"}(Vo||(Vo={}));const jo=n.forwardRef((function({children:e,onClick:t,renderProps:n},l){return e({close:()=>{t(new CustomEvent("close"))},ref:l,...n})})),To=n.forwardRef((function(e,t){const{className:a,children:r,...o}=e,i=l("grow-0 py-4 pl-4 justyfy-self-start mb-0 border-b-[1px] border-grey-300",a);return n.createElement(g.Title,Object.assign({className:i},o,{ref:t}),n.createElement("span",{className:"line-clamp-2 inline-block w-4/6 overflow-y-hidden"},r))})),Do=n.forwardRef((function(e,t){const{...a}=e,r=l("mt-auto flex justify-end grow-0 p-4 border-t-[1px] border-grey-300",e.className);return n.createElement("div",Object.assign({},a,{className:r,ref:t}))})),Fo=n.forwardRef((function(e,t){const{className:a,...r}=e,o=l("absolute top-0 right-10 mr-[8px] mt-4",a);return n.createElement(So,Object.assign({},r,{className:o,ref:t}))})),Po=n.forwardRef((function(e,t){const{onClose:l}=Io();return n.createElement(g.Close,Object.assign({},e,{onClick:l,ref:t,asChild:!0}))})),Bo=n.forwardRef((function(e,t){const{className:a,isScrollable:r=!0,children:o,...i}=e,s=l("grow flex flex-col",{"overflow-y-hidden":r,"p-4":!r},a);return n.createElement("div",Object.assign({},i,{className:s,ref:t}),r?n.createElement(ko,{className:"w-full gap-y-0.5 p-4"},o):o)})),_o=e=>{const{children:t,...a}=e,{open:r=!1,variant:o,outlet:i}=Io(),s=n.useMemo(()=>(e=>l({block:e,hidden:!e}))(r),[r]);return i?n.createElement(g.Portal,Object.assign({},a,{container:null!=i?i:void 0}),"overlay"===o?n.createElement(g.Overlay,{forceMount:!0},n.createElement(Ha,{className:s})):null,t):null},Go=n.forwardRef((function(e,t){const{onEscape:l,children:a,...r}=e;return Za("Escape",l),n.createElement("div",Object.assign({},r,{ref:t}),n.createElement(v.FocusScope,{autoFocus:!0,restoreFocus:!0},a))})),qo=n.forwardRef((function(e,t){const{size:a,onClose:r,onResize:o,open:i=!1,closeOnEscape:s,variant:c,focusTrap:u,showCloseButton:d,setOpen:m}=Io(),{className:f,style:h,children:v,...p}=e,{texts:w}=dr(),b=qa(t),E=Ao();let x;E&&(x=()=>{E.close()});const y=n.useMemo(()=>l((e=>l("bg-white mx-auto absolute h-full w-full flex flex-col ",{"shadow-[0_6px_9px_0_rgba(89,85,98,0.3),0_0_1px_0_rgba(89,85,98,0.2)]":"overlay"===e,"border-l border-grey h-full":"embedded"===e}))(c),f),[f]),{contentClassName:z,dragHandlerClassName:R}=n.useMemo(()=>({contentClassName:((e,t,n)=>l("bg-white h-full bottom-0 top-0 right-0 transition-none",{block:n,hidden:!n,fixed:"overlay"===t,"relative h-full overflow-hidden":"embedded"===t},(e=>{switch(e){case"lg":return"w-[600px]";case"md":default:return"w-[420px]"}})(e)))(a,c,i),dragHandlerClassName:l("border-[2px] absolute border-transparent top-0 w-2 h-full cursor-ew-resize left-0 hover:border-l-blue-500")}),[a,c,i]),C=e=>{var t;(null===(t=b.current)||void 0===t?void 0:t.contains(e.target))&&(s?(m&&m(!1),r&&r()):e.preventDefault())},[S,N]=n.useState(),A=n.useRef(null),{position:O,dragging:I,handleProps:L,resetPosition:H}=po(qa(A)),M=n.useRef(null);n.useEffect(()=>{o&&o(O.x)},[O]),n.useEffect(()=>{var e;N(null===(e=M.current)||void 0===e?void 0:e.offsetWidth)},[M,i]);const k=n.useMemo(()=>{if(S)return Math.min(1e3,Math.max(360,S-O.x||0))},[S,O]);let V;n.useEffect(()=>{!I&&k&&(N(k),H())},[I]),V="function"==typeof v?n.createElement(Po,null,n.createElement(jo,null,v)):v;const j=n.createElement("div",{ref:M,"data-taco":"drawer",className:y},V,n.createElement("div",Object.assign({className:R},L,{"data-testid":"resize-handler",ref:A}),I?n.createElement("div",{"data-testid":"resize-hit-area",className:"fixed bottom-0 left-0 right-0 top-0"}):null),d?n.createElement(Po,null,n.createElement(or,{appearance:"discrete","aria-label":w.drawer.close,className:"absolute right-0 top-0 mr-2 mt-4",icon:"close"})):null),T={...h,width:k};return u?n.createElement(g.Content,Object.assign({forceMount:!0},p,{className:z,onEscapeKeyDown:C,onInteractOutside:"overlay"===c?void 0:e=>e.preventDefault(),onCloseAutoFocus:x,ref:b,style:T}),j):n.createElement(Go,{onEscape:C,className:z,style:T,ref:b},j)})),$o=n.forwardRef((function(e,t){const{children:l}=e;return n.createElement(_o,null,n.createElement(qo,Object.assign({},e,{ref:t}),l))})),Ko=t.forwardRef((function(e,n){return t.createElement(g.Trigger,Object.assign({},e,{ref:n,asChild:!0}))})),Uo=t.forwardRef((function(e,n){var a;const r=l("h-full ml-auto overflow-hidden flex-shrink-0",e.className);return t.createElement("div",Object.assign({},e,{className:r,"data-taco":"drawer-outlet","data-taco-outlet-name":null!==(a=e.name)&&void 0!==a?a:"default",ref:n}))}));let Wo;const Jo=t.forwardRef((function(e,n){const{open:l,defaultOpen:a,onChange:r=(()=>{}),variant:o="embedded",closeOnEscape:i=!0,onResize:s,onClose:c,size:u="md",trigger:d,children:m,focusTrap:f=void 0===e.focusTrap&&"overlay"===e.variant||e.focusTrap,showCloseButton:h=!0,outletName:v,...p}=e,[b,E]=w.useControllableState({prop:l,defaultProp:a,onChange:r}),[x,y]=t.useState(),z=t.useMemo(()=>({closeOnEscape:i,onClose:c,onResize:s,props:p,size:u,ref:n,open:b,setOpen:E,variant:o,focusTrap:f,showCloseButton:h,outlet:x}),[i,b,E,p,o,s,c,u,f,h,x]),R=t.useCallback(()=>{E(!1),c&&c()},[]);return t.useEffect(()=>{var e;const t=null!==(e=document.querySelector(`[data-taco="drawer-outlet"][data-taco-outlet-name="${null!=v?v:"default"}"]`))&&void 0!==e?e:document.body;y(t)},[v]),t.useEffect(()=>{b?(Wo&&Wo(),Wo=R):Wo===R&&(Wo=void 0)},[b]),t.createElement(Oo.Provider,{value:z},t.createElement(g.Root,{modal:"overlay"===o,open:b,onOpenChange:E},d&&t.createElement(Ko,null,d),m))}));Jo.Trigger=Ko,Jo.Content=$o,Jo.InnerContent=Bo,Jo.Title=To,Jo.Footer=Do,Jo.Close=Po,Jo.Actions=Fo,Jo.Outlet=Uo;const Yo=e=>null!==e&&e.offsetWidth<e.scrollWidth,Qo=t.forwardRef((function(e,a){const[r,o]=t.useState(!1),i=t.useRef(null);t.useEffect(()=>{o(!0)},[]);const{disabled:s,children:c,invalid:u=!1,warning:d=!1,message:m,...g}=e,f=l("flex flex-col font-bold text-xs leading-loose pb-4 min-h-[theme(spacing.18)]",{"text-grey-300":s},e.className),h=l("h-4 text-xs text-left leading-normal font-normal truncate -mb-4",{"text-grey-700":!u&&!d,"text-red-500":u,"text-yellow-700":d&&!u,"opacity-50":s}),{truncated:v}=((e,t=[])=>{const[l,a]=n.useState(Yo(e));return n.useEffect(()=>{a(Yo(e))},[e,...t]),{truncated:l}})(i.current,[m,r]);return t.createElement("label",Object.assign({},g,{className:f,"data-taco":"label",ref:a}),c,m&&t.createElement(tr,{title:m,hide:!v},t.createElement("span",{className:h,ref:i,role:u?"alert":void 0},m)))})),Xo=t.forwardRef((function(e,n){const{horizontal:a=!1,...r}=e,o=l("yt-form",{"yt-form--horizontal flex flex-wrap":a},e.className);return t.createElement("form",Object.assign({},r,{className:o,"data-taco":"form",ref:n}))})),Zo=t.createContext({onClose:void 0,props:{},ref:null}),ei=t.forwardRef((function(e,n){var l;const{ref:a,props:r}=t.useContext(Zo),o=Na([a,n]);let i=e.children;return t.isValidElement(e.children)&&"function"==typeof(null===(l=e.children)||void 0===l?void 0:l.type)&&(console.warn(`Hanger.Anchor requires its child to forwardRef so that it can attach to the dom element. Did you mean to wrap '${e.children.type.name}' in React.forwardRef()? Taco has wrapped '${e.children.type.name}' in a 'span' to maintain functionality, but this may cause unintended behaviour`),i=t.createElement("span",null,e.children)),t.createElement(u.Anchor,Object.assign({},r,e,{ref:o,asChild:!0}),i)})),ti=t.forwardRef((function(e,n){const a=l("mb-1 text-base font-bold flex w-full",e.className);return t.createElement("span",Object.assign({},e,{className:a,ref:n}))})),ni=t.forwardRef((function(e,n){const{placement:a}=e,r=t.useContext(Zo),{texts:o}=dr(),i=l("wcag-blue-500 border border-transparent rounded p-3 pr-12 yt-shadow focus:border-transparent max-w-sm",e.className);return t.createElement(u.Portal,null,t.createElement(u.Content,{className:i,"data-taco":"hanger",onInteractOutside:e=>{e.preventDefault()},side:a,sideOffset:1,ref:n},e.children,t.createElement(ao,{className:"text-blue-500"}),t.createElement(u.Close,{asChild:!0},t.createElement(or,{appearance:"primary","aria-label":o.hanger.close,className:"absolute right-0 top-0 ml-2 mr-2 mt-2 text-white",icon:"close",onClick:r.onClose}))))})),li=t.forwardRef((function(e,n){const{anchor:l,children:a,defaultOpen:r=!0,onClose:o,...i}=e,s=t.useMemo(()=>({onClose:o,props:i,ref:n}),[o,i]),[c,d]=t.useState(!1);return t.useEffect(()=>{r&&d(r)},[]),t.createElement(Zo.Provider,{value:s},t.createElement(u.Root,{key:String(c),defaultOpen:c},l&&t.createElement(ei,null,l),a))}));li.Anchor=ei,li.Content=ni,li.Title=ti;const ai=t.forwardRef((function(e,n){return t.createElement(b.Arrow,{className:"pointer-events-none -mt-px",asChild:!0,offset:2,width:30,height:11},t.createElement("svg",Object.assign({},e,{ref:n,viewBox:"0 19 30 11",style:{transform:"rotateZ(180deg)"}}),t.createElement("path",{className:"text-grey-300 fill-current group-focus:text-blue-300",d:"M23.7,27.1L17,19.9C16.5,19.3,15.8,19,15,19s-1.6,0.3-2.1,0.9l-6.6,7.2C5.3,28.1,3.4,29,2,29h26 C26.7,29,24.6,28.1,23.7,27.1z"}),t.createElement("path",{className:"fill-current",d:"M23,27.8c1.1,1.2,3.4,2.2,5,2.2h2H0h2c1.7,0,3.9-1,5-2.2l6.6-7.2c0.7-0.8,2-0.8,2.7,0L23,27.8L23,27.8z"})))})),ri=t.forwardRef((function(e,n){return t.createElement(b.Trigger,Object.assign({},e,{asChild:!0,ref:n}))})),oi=t.forwardRef((function(e,n){const{placement:a}=e,r=l("bg-white focus:border-blue-300 border border-transparent rounded p-3 yt-shadow focus:yt-focus outline-none group","min-w-[theme(spacing.40)] max-w-[theme(spacing.96)]",e.className);return t.createElement(b.Portal,null,t.createElement(b.Content,{className:r,"data-taco":"hover-card",side:a,sideOffset:1,ref:n},e.children,t.createElement(ai,{className:"text-white"})))})),ii=e=>t.createElement(b.Root,Object.assign({},e,{openDelay:300}));function si(e=0,n){const l=t.useRef(),[a,r]=t.useState({remaining:e,started:null});return t.useEffect(()=>(e&&(a.started?l.current=window.setTimeout(n,a.remaining):clearTimeout(l.current)),()=>{clearTimeout(l.current)}),[a.started]),{running:!!a.started,start:()=>{r({remaining:e,started:Date.now()})},pause:()=>{a.started&&r({remaining:a.remaining-(Date.now()-a.started),started:null})},resume:()=>{a.remaining&&!a.started&&r({remaining:a.remaining,started:Date.now()})}}}ii.Trigger=ri,ii.Content=oi;const ci=({data:e,currentIndex:n})=>{const l=t.useRef(),a=si(1e3,()=>{l.current=void 0});return{getNextIndex:t=>{const r=(l.current?l.current+t:t).toLowerCase(),o=((e,t,n)=>{let l=Kr(e,t,void 0===n?0:n+1);return-1===l&&(l=Kr(e,t,0,n)),l})(e,r,n);return a.start(),l.current=r,o}}},ui=t.forwardRef((function(e,n){const{className:a,...r}=e,{list:o,input:i}=(({data:e=[],defaultValue:n,disabled:l,emptyValue:a,id:r,invalid:o,name:i,onChange:s,onFocus:u,onKeyDown:d,value:m=a,...g},f)=>{const h=Wr(void 0!==a?[{text:"",value:a},...e]:e),v=t.useMemo(()=>r||c.v4(),[r]),p=qa(f),w=void 0!==m?_r(h,m):void 0,{getNextIndex:b}=ci({data:h,currentIndex:w}),E=e=>{if(void 0!==e){const t=h[e];t&&!t.disabled&&Br(p.current,t.value)}};return t.useEffect(()=>{if(h.length&&void 0===w)if(void 0!==n){const e=_r(h,n);void 0!==e&&E(e)}else E(0)},[h]),{list:{...g,"aria-activedescendant":Ur(h,w,v),data:h,disabled:l,id:v,invalid:o,onChange:e=>{E(e)},onFocus:e=>{void 0===w&&h.length&&E(0),u&&(e.persist(),u(e))},onKeyDown:e=>{const t=e.key;if(1===t.length&&/(\w)/g.test(t)){const e=b(t);e>-1&&e!==w&&E(e)}else d&&(e.persist(),d(e))},scrollOnFocus:!0,tabIndex:l?-1:g.tabIndex?g.tabIndex:0,value:w},input:{name:i,onChange:e=>{if(e.persist(),s){var t,n;const l=qr(h,e.target.value);e.detail=Jr(l);const a=null!==(t=null==l||null===(n=l.path)||void 0===n?void 0:n.split("."))&&void 0!==t?t:[];if(a.length>1){let t;a.pop(),e.detail.parents=a.map(e=>(t=t?[t,e].join("."):e,Jr(h.find(e=>e.path===t))))}s(e)}},ref:p,tabIndex:-1,value:null!=m?m:""}}})(r,n),s=l("bg-white inline-flex relative w-full",a);return t.createElement("span",{"data-taco":"listbox",className:s},t.createElement(jr,Object.assign({},o,{style:{...o.style,maxHeight:"calc(12rem + 2px)"}})),t.createElement("input",Object.assign({},i,{className:"hidden",type:"text"})))})),di=t.forwardRef((function(e,n){const{className:a,...r}=e,{list:o,input:i}=(({data:e=[],defaultValue:n,disabled:l,id:a,name:r,onClick:o,onChange:i,onFocus:s,onKeyDown:u,value:d,...m},g)=>{const{texts:f}=dr(),h=t.useMemo(()=>a||c.v4(),[a]),v=qa(g),p=t.useMemo(()=>[{text:f.listbox.allOption,value:"#ALL-OPTIONS#"},...e],[e]),[w,b]=t.useState(_r(p,d)||0),[E,x]=t.useState(!1),{getNextIndex:y}=ci({data:p,currentIndex:w}),[z,R]=t.useState(Gr(p,d));t.useEffect(()=>{n&&!d&&Br(v.current,n.toString())},[]),t.useEffect(()=>{const e=p.filter(e=>!e.disabled).length-1;x(e===z.length)},[z,p]);const C=e=>{if(void 0!==e){const n=p[e];if(n&&!n.disabled){var t;let e="";const l=null===(t=v.current)||void 0===t?void 0:t.value,a=(null==l?void 0:l.split(","))||[],r=-1!==a.findIndex(e=>e===String(n.value));e="#ALL-OPTIONS#"===n.value?E?"":p.filter((e,t)=>0!==t&&!e.disabled).map(e=>e.value).join(","):r?a.filter(e=>e!==String(n.value)).join(","):l?`${l},${n.value}`:n.value,Br(v.current,e)}}};return{list:{...m,"aria-activedescendant":Ur(p,w,h),"aria-multiselectable":!0,data:p,disabled:l,id:h,onChange:()=>null,onClick:(e,t)=>{e.preventDefault(),p[t].disabled||(b(t),C(t)),o&&o(e)},onFocus:e=>{s&&(e.persist(),s(e))},onKeyDown:(e,t)=>{const n=e.key;if(1===n.length&&/(\w)/g.test(n)){const e=y(n);e>-1&&e!==w&&b(e)}else{switch(e.key){case" ":e.preventDefault(),C(t);break;case"Enter":C(t)}b(void 0!==t?t:0),u&&(e.persist(),u(e))}},scrollOnFocus:!1,tabIndex:l?-1:m.tabIndex?m.tabIndex:0,value:w,selectedIndexes:z,multiselect:!0,allOptionsSelected:E},input:{name:r,onChange:e=>{if(e.persist(),R(Gr(p,e.target.value)),i){const t=[];e.target.value.split(",").forEach(e=>{const n=qr(p,e);n&&t.push(n)}),e.detail=t,i(e)}},ref:v,tabIndex:-1,value:null!=d?d:""}}})(r,n),s=l("bg-white inline-flex relative w-full",a);return t.createElement("span",{"data-taco":"listbox",className:s},t.createElement(jr,Object.assign({},o,{style:{...o.style,maxHeight:"calc(12rem + 2px + 2px)"}})),t.createElement("input",Object.assign({},i,{className:"hidden",type:"text"})))})),mi=t.forwardRef((function(e,n){const a=qa(n),r=Ao(),{align:o="start",placement:i,...s}=e,c=l("border border-transparent rounded block outline-none p-1 yt-shadow wcag-white",e.className),u=t.useRef([]),d=t.Children.toArray(e.children).filter(e=>!!e).map((e,n)=>(u.current[n]=t.createRef(),t.cloneElement(e,{ref:u.current[n]})));return t.useEffect(()=>{const e=[];return d.forEach((t,n)=>{t.props.shortcut&&e.push(Qa(t.props.shortcut,e=>{e.preventDefault(),null==r||r.open(),setTimeout(()=>{var e,t;return null===(e=u.current[n])||void 0===e||null===(t=e.current)||void 0===t?void 0:t.click()},1)}))}),e.forEach(e=>document.addEventListener("keydown",e)),()=>{e.forEach(e=>document.removeEventListener("keydown",e))}},[d]),t.createElement(E.Portal,null,t.createElement(E.Content,Object.assign({},s,{align:o,className:c,"data-taco":"menu",side:i,sideOffset:3,style:{minWidth:null==r?void 0:r.minWidth},ref:a}),d))})),gi=e=>{switch(e){case"Escape":return"Esc";case"Delete":return"Del";case"Space":case" ":return"Space";case"ArrowLeft":return"◄";case"ArrowRight":return"►";case"ArrowUp":return"▲";case"ArrowDown":return"▼";default:return 1===e.length?e.toLocaleUpperCase():e}},fi=({keys:e,...t})=>{const a=l("inline-flex gap-0.5",t.className),r=(e=>{if(!e)return[];if("string"==typeof e)return[gi(e)];const t=[];return e.shift&&t.push(Xa()?"⇧":"Shift"),e.meta&&t.push(Xa()?"⌘":"Ctrl"),t.push(gi(e.key)),t})(e);return n.createElement("span",Object.assign({},t,{className:a}),r.map(e=>n.createElement("kbd",{key:e,className:"font-display text-grey-700 [[data-taco=tooltip]_&]:bg-grey-300/[0.25] rounded-sm bg-black/[0.09] px-1 text-center font-bold [[data-taco=tooltip]_&]:text-white"},e)))},hi=({name:e})=>t.createElement("span",{className:"absolute left-0 ml-1"},t.createElement(ya,{className:"-ml-px -mt-px !h-5 !w-5",name:e})),vi=({disabled:e,indented:n,className:a})=>{const r=Ao();return t.useEffect(()=>{!n||null!=r&&r.indented||null==r||r.registerIndentation()},[n]),l("flex items-center justify-start h-8 pr-1.5 relative rounded w-full focus:outline-none group",{"pl-7":null==r?void 0:r.indented,"pl-1.5":!(null!=r&&r.indented),"cursor-pointer text-black hover:wcag-grey-200 data-[highlighted]:wcag-grey-200":!e,"cursor-not-allowed hover:bg-white text-grey-300":e},a)},pi=t.forwardRef((function(e,n){var l;const{dialog:a,icon:r,onClick:o,popover:i,shortcut:s,subMenu:c,...u}=e,d=Ao(),m=vi({disabled:e.disabled,indented:!!r,className:e.className});let g;if((null!==(l=e.disabled)&&void 0!==l?l:e["aria-disabled"])&&(g=e=>{e.preventDefault(),e.stopPropagation()}),c)return t.createElement(E.Sub,null,t.createElement(E.SubTrigger,Object.assign({},u,{className:m,onClick:g,ref:n}),r?t.createElement(hi,{name:r}):null,e.children,t.createElement(ya,{className:"-mr-1.5 ml-auto !h-5 !w-5",name:"chevron-right"})),c());let f=t.createElement(E.Item,Object.assign({},u,{className:m,onClick:g,onSelect:t=>{o&&o(t),(e["aria-haspopup"]||"function"==typeof a||"function"==typeof i)&&t.preventDefault()},ref:n}),r?t.createElement(hi,{name:r}):null,e.children,s?t.createElement("span",{className:"ml-auto pl-5"},t.createElement(fi,{keys:s,className:"text-grey-700"})):null);return"function"==typeof a?f=a({trigger:f,onClose:null==d?void 0:d.close}):"function"==typeof i&&(f=i({trigger:f})),f})),wi=t.forwardRef((function(e,n){const{href:l,icon:a,onClick:r,...o}=e,i=Ao(),s=vi({disabled:e.disabled,indented:!!a,className:e.className});return t.createElement(E.Item,Object.assign({},o,{asChild:!0,className:s,ref:n,onClick:e=>{null==r||r(e),null==i||i.close()}}),t.createElement("a",{href:l,target:"_blank"},a&&t.createElement(hi,{name:a}),e.children))})),bi=t.forwardRef((function(e,n){const l=Ao(),a=qa(n);return t.useEffect(()=>{a.current&&(null==l||l.setMinWidth(a.current.getBoundingClientRect().width))},[a]),t.createElement(E.Trigger,Object.assign({},e,{asChild:!0,ref:a}))})),Ei=t.forwardRef((function(e,n){const{checked:l,children:a,onChange:r,...o}=e,i=vi({disabled:e.disabled,indented:!0,className:e.className});return t.createElement(E.CheckboxItem,Object.assign({},o,{checked:l,className:i,onCheckedChange:r,ref:n}),t.createElement(E.ItemIndicator,{className:"absolute left-0 ml-1.5"},t.createElement(ya,{name:"tick",className:"-ml-px !h-4 !w-4"})),a)})),xi=(e=!1,t=!1)=>l("flex flex-shrink-0 items-center justify-center h-4 w-4 mt-[0.2rem] rounded-full bg-white border-2 focus-visible:yt-focus disabled:cursor-not-allowed hover:border-4",t?{"border-red-500 hover:border-red-700 aria-checked:bg-red-500 aria-checked:border-red-500 hover:aria-checked:border-red-700":!e,"border-red-500/50 aria-checked:bg-red-500/50 aria-checked:border-red-500/50":e}:{"border-grey-500 hover:border-grey-700 aria-checked:bg-blue-500 aria-checked:border-blue-500 hover:aria-checked:border-blue-700":!e,"border-grey-500/50 aria-checked:bg-blue-500/50 aria-checked:border-blue-500/50":e}),yi=e=>String(null!=e?e:""),zi=(e,t)=>e.find(e=>yi(e)===t),Ri=t.createContext({disabled:!1,invalid:!1}),Ci=t.forwardRef((function(e,n){const a=t.useContext(Ri),{children:r,value:o,...i}=e,s=a.disabled||e.disabled,c=l("self-start",xi(s,a.invalid)),u=l("flex items-center gap-2",{"cursor-pointer":!s,"cursor-not-allowed text-grey-300":s},e.className);return t.createElement("label",{className:u},t.createElement(x.Item,Object.assign({},i,{className:c,disabled:s,ref:n,value:yi(o)}),t.createElement(x.Indicator,{className:"h-2 w-2 rounded-full bg-white"})),r)})),Si=e=>{const{children:n,defaultValue:l,disabled:a,invalid:r,onChange:o,orientation:i="vertical",value:s,...c}=e,u=t.useMemo(()=>{const e=[];return t.Children.forEach(n,n=>{t.isValidElement(n)&&e.push(n.props.value)}),e},[n]),d=t.useMemo(()=>({disabled:null!=a&&a,invalid:null!=r&&r}),[a,r]);let m;return m=void 0!==o?{onValueChange:e=>o(zi(u,e)),value:void 0!==s?yi(s):void 0}:{defaultValue:void 0!==l?yi(l):void 0},{context:d,props:{...c,...m,children:n,disabled:a,orientation:i}}},Ni=t.forwardRef((function(e,n){const{context:a,props:r}=Si(e),o=l("flex items-start gap-y-2",{"flex-wrap gap-x-4 ":"horizontal"===r.orientation,"flex-col":"vertical"===r.orientation},r.className);return t.createElement(Ri.Provider,{value:a},t.createElement(x.Root,Object.assign({},r,{className:o,"data-taco":"radio-group",ref:n})))}));Ni.Item=Ci;const Ai=t.createContext({disabled:!1}),Oi=t.forwardRef((function(e,n){const{context:a,props:r}=Si(e),o=l("flex flex-col",e.className);return t.createElement(Ai.Provider,{value:a},t.createElement(E.RadioGroup,Object.assign({},r,{className:o,ref:n})))}));Oi.Item=e=>{const n=t.useContext(Ai),{children:l,value:a,...r}=e,o=n.disabled||e.disabled,i=vi({disabled:o,indented:!0,className:e.className});return t.createElement(E.RadioItem,Object.assign({},r,{className:i,disabled:o,value:yi(a)}),t.createElement(E.ItemIndicator,{className:"absolute left-0 ml-1.5"},t.createElement("span",{className:"ml-1 flex h-1.5 w-1.5 rounded-full bg-current "})),l)};const Ii=t.forwardRef((function(e,n){const a=Ao(),r=l("flex items-center justify-start h-7 pr-1.5 text-xs text-grey-700",{"pl-7":null==a?void 0:a.indented,"pl-1.5":!(null!=a&&a.indented)},e.className);return t.createElement(E.Label,Object.assign({},e,{className:r,ref:n}))})),Li=t.forwardRef((function(e,n){const a=qa(n),{children:r,...o}=e,i=l("border border-transparent rounded block outline-none p-1 yt-shadow wcag-white",e.className);return t.createElement(E.Portal,null,t.createElement(E.SubContent,Object.assign({},o,{className:i,"data-taco":"menu-submenu",sideOffset:4,ref:a}),r))})),Hi=t.forwardRef((function(e,n){const{children:l,defaultOpen:a,onChange:r,open:o,trigger:i,...s}=e,[c,u]=t.useState(!1),[d,m]=t.useState(void 0),[g,f]=w.useControllableState({defaultProp:a,onChange:r,prop:o}),h=t.useMemo(()=>({indented:c,registerIndentation:()=>u(!0),minWidth:d,setMinWidth:e=>m(e),open:()=>f(!0),close:()=>f(!1)}),[c,d]);return t.createElement(No.Provider,{value:h},t.createElement(E.Root,Object.assign({},s,{modal:!1,open:g,onOpenChange:f}),i&&t.createElement(bi,{ref:n},i),l))}));Hi.Trigger=bi,Hi.Content=mi,Hi.Item=pi,Hi.Link=wi,Hi.Checkbox=Ei,Hi.Separator=()=>t.createElement(E.Separator,{className:"bg-grey-300 my-1 h-px"}),Hi.Header=Ii,Hi.RadioGroup=Oi,Hi.SubMenu=Li;const Mi=t.forwardRef((function(e,n){const{onChange:a,...r}=e,o=l("group w-14 h-8 flex flex-shrink-0 rounded-full inline-flex focus-visible:yt-focus p-1",{"bg-grey-500 hover:bg-grey-700 aria-checked:bg-blue-500 aria-checked:hover:bg-blue-700":!e.disabled,"bg-grey-500 aria-checked:bg-blue-500 cursor-not-allowed opacity-50":e.disabled},e.className);return t.createElement(y.Root,Object.assign({},r,{className:o,"data-taco":"mode",onCheckedChange:a,ref:n}),t.createElement(y.Thumb,{className:"'will-change-transform flex h-6 w-6 items-center justify-center rounded-full bg-white transition-transform group-disabled:opacity-50 group-aria-checked:translate-x-[100%]"},t.createElement(ya,{name:"edit-simple",className:"!h-5 !w-5"})))}));Mi.displayName="ModeSwitch";const ki=n.forwardRef((function(e,t){return n.createElement("a",Object.assign({},e,{ref:t}))})),Vi=n.forwardRef((function(e,t){const{children:a,className:r,expanded:o=!1,title:i,fixed:s,onClick:c,...u}=e,[d,m]=n.useState(s||o);n.useEffect(()=>{s||m(s||o)},[s,o]);const g=l("flex-col mb-0",{flex:d,hidden:!d}),f={...u,"aria-expanded":d,role:"treeitem",tabIndex:-1},h="function"==typeof r?r(d):r;return n.createElement("div",Object.assign({},f,{className:h,ref:t}),n.createElement("div",{onClick:e=>{const t=!d;s||m(t),c&&c(e,t)}},"function"==typeof i?i(d):i),n.createElement("ul",{role:"group",className:g},n.Children.toArray(a).filter(e=>!!e).map((e,t)=>n.createElement("li",{key:t,role:"none"},n.cloneElement(e,{role:"treeitem"})))))})),ji=n.forwardRef((function(e,t){return n.createElement("div",Object.assign({},e,{ref:t,role:"tree"}))}));ji.Group=Vi,ji.Item=ki;const Ti=e=>{const[t,l]=n.useState(!1),a=n.useCallback(e=>{e.preventDefault(),l(!0)},[]),r=n.useCallback(e=>{e.preventDefault(),(e.target===e.currentTarget||e.relatedTarget&&!e.currentTarget.contains(e.relatedTarget))&&l(!1)},[]),o=n.useCallback(e=>{e.preventDefault()},[]),i=n.useCallback(t=>{t.preventDefault(),t.persist(),l(!1),e&&e(t)},[e]);return[t,e?{onDragEnter:a,onDragLeave:r,onDragOver:o,onDrop:i}:void 0]},Di=n.forwardRef((function(e,t){const{active:a,children:r,onDrop:o,postfix:i,prefix:s,role:c,...u}=e,d=qa(t),[m,g]=Ti(o),f="treeitem"===c,h=l("yt-navigation__item cursor-pointer",{"w-full mb-px py-1 px-3 flex items-center hover:bg-grey-300":f,"bg-white w-full h-10 px-3 flex-shrink-0 flex items-center justify-between cursor-pointer":!f,"yt-navigation__item--active":a&&!m,"bg-grey-300":f&&a&&!m,"yt-navigation__item--dropping bg-blue-500":m},e.className);return n.createElement("span",Object.assign({},g,{className:h,onClick:e=>{e.target instanceof HTMLAnchorElement||e.target instanceof HTMLButtonElement||d.current&&d.current.click()},role:c}),s&&n.createElement("span",{className:"yt-navigation__item__prefix flex items-center"},s),n.createElement("a",Object.assign({},u,{className:"block flex-grow truncate",ref:d}),r),i&&n.createElement("span",{className:"yt-navigation__item__postfix ml-1"},i))})),Fi=n.forwardRef((function(e,t){return n.createElement("div",Object.assign({},e,{className:l("w-full bg-white p-3",e.className),ref:t}))})),Pi=n.forwardRef((function(e,t){const a=l("flex-shrink-0 space-y-1 outline-none",{"bg-white pb-2":e.fixed},"function"==typeof e.className?e.className(!1):e.className);return n.createElement(ji.Group,Object.assign({},e,{className:a,title:t=>{const a=l("bg-white h-10 pl-3 pr-1 flex items-center justify-between w-full",{"mb-1":t,"cursor-pointer hover:text-blue-500":!e.fixed});return n.createElement("span",{className:a},"function"==typeof e.title?e.title(t):e.title,!e.fixed&&n.createElement(ya,{name:t?"chevron-up":"chevron-down"}))},ref:t}))})),Bi=n.forwardRef((function(e,t){const a=n.useMemo(()=>{const t=[];return n.Children.toArray(e.children).filter(e=>!!e).forEach(e=>{if(e.props.fixed)t.push(e);else{const n=t[t.length-1];Array.isArray(n)?n.push(e):t.push([e])}}),t},[e.children]);return n.createElement(ji,Object.assign({},e,{className:l("divide-grey-100 flex flex-grow flex-col divide-y-2 overflow-y-auto",e.className),ref:t}),a.map((e,t)=>Array.isArray(e)?n.createElement("div",{className:"divide-grey-100 flex h-0 flex-auto flex-shrink-0 flex-grow flex-col divide-y-2 overflow-y-auto",key:t},e):e))}));Bi.Group=Pi;const _i=n.forwardRef((function(e,t){const{children:a,...r}=e,o=l("h-full flex flex-col bg-grey-100 divide-y-2 divide-grey-100",e.className);return n.createElement("div",Object.assign({},r,{className:o,"data-taco":"navigation",ref:t}),a)}));_i.Menu=Bi,_i.Item=Di,_i.Panel=Fi;const Gi=(e,t)=>{const[l,a]=n.useState({}),r=(e,t)=>{if(t.root){const n=Array.from(t.root.children),l={};e.forEach(e=>{l[n.indexOf(e.target)]=e.isIntersecting}),a(e=>({...e,...l}))}},o=n.useMemo(()=>{const e=Object.values(l).indexOf(!1);return e>-1?e:void 0},[l]),i=void 0!==o&&t;return n.useEffect(()=>{const n=new IntersectionObserver(r,{root:e.current,rootMargin:i?`0px -${t}px 0px 0px`:void 0,threshold:1});return n.root&&Array.from(n.root.children).forEach(e=>{e.hasAttribute("data-observer-ignore")||n.observe(e)}),()=>{n.disconnect()}},[i]),o},qi=(e,t)=>{const l=e.props.to||e.props.href,a=l?Hi.Link:Hi.Item,{as:r,...o}=e.props,i={...o,key:t,target:l?l.startsWith("http")?"_blank":"_self":void 0};return r?n.cloneElement(e,{as:a,...i}):n.createElement(a,Object.assign({},i))},$i=n.forwardRef((function(e,t){const{moreButton:a,...r}=e,o=qa(t),[i,s]=n.useState(40),c=n.useCallback(e=>{var t;return s(null==e||null===(t=e.getBoundingClientRect())||void 0===t?void 0:t.width)},[]),u=null!=a?a:n.createElement(or,{icon:"more"}),d=Gi(o,i),m=n.Children.toArray(e.children),g=void 0!==d?m.slice(d):[],f=l("flex overflow-hidden",e.className);return n.createElement("div",Object.assign({},r,{className:f,"data-taco":"overflow-group",ref:o}),m.map((e,t)=>n.cloneElement(e,{className:l(e.props.className,{visible:void 0===d||t<d,"invisible order-[100] pointer-events-none":void 0!==d&&t>=d})})),g.length?n.cloneElement(u,{className:l("sticky right-0 order-[99]",u.props.className),"data-observer-ignore":!0,menu:e=>n.createElement(Hi,Object.assign({},e),n.createElement(Hi.Content,null,g.map(qi))),ref:c}):null)})),Ki=({currentPageIndex:e=0,onClick:n,pageCount:l})=>{const a=((e,t)=>{let n=Math.min(t,e),l=Math.min(t,e);for(let t=1;t<5&&t<e;)n>1&&(n--,t++),t<5&&l<e&&(l++,t++);const a=[];for(let e=n;e<=l;e++)a.push(e);return a})(l,e+1),{texts:r}=dr();return t.createElement(t.Fragment,null,a.map(l=>t.createElement(fr,{appearance:l===e+1?"primary":"default","aria-current":l===e+1?"page":void 0,key:l,onClick:()=>n(l-1),"aria-label":r.pagination.actions.pageX.replace("[X]",String(l)),tooltip:r.pagination.actions.pageX.replace("[X]",String(l))},l)))},Ui=t.forwardRef((function(e,n){const{autoFocus:a,className:r,style:o,...i}=e,{button:s,listbox:d,popover:m,input:g,text:f,more:h=0}=(({"aria-label":e,"aria-labelledby":n,data:a=[],defaultValue:r,disabled:o,emptyValue:i,id:s,multiselect:u,onBlur:d,onChange:m,readOnly:g,tabIndex:f,value:h,...v},p)=>{const{texts:w}=dr(),b=Wr(a),E=qa(p),[x,y]=t.useState(!1),z=t.useMemo(()=>s||"select_"+c.v4(),[s]),R=t.useRef(null),C=z+"-button",[S,N]=t.useState(h);t.useEffect(()=>{N(h)},[x]),t.useEffect(()=>{void 0===h?void 0!==r&&qr(b,r)?Br(R.current,r):void 0!==i?Br(R.current,i):a.length>0&&Br(R.current,a[0].value):u||qr(b,h)||(void 0!==i?Br(R.current,i):a.length>0&&Br(R.current,a[0].value))},[]);let A="",O=0;if(void 0!==h)if(u){const e=(null==h?void 0:h.toString().split(","))||[];var I,L;e.length===b.filter(e=>!e.disabled).length?A=w.select.allOptionsSelected:(A=null!==(I=null===(L=qr(b,e[0]))||void 0===L?void 0:L.text)&&void 0!==I?I:"",O=e.length>1?e.length-1:0)}else{const e=qr(b,h);e&&(A=e.icon?t.createElement(t.Fragment,null,t.cloneElement(e.icon,{className:l(e.icon.props.className,"mr-1 -mt-px")}),e.text):e.text)}return{button:{"aria-haspopup":"listbox","aria-label":e?`${e} ${A}`:void 0,"aria-labelledby":n?`${n} ${C}`:void 0,disabled:o||g,id:C,onKeyDown:o||g?void 0:e=>{"ArrowUp"!==e.key&&"ArrowDown"!==e.key||(e.preventDefault(),y(!0))},tabIndex:f,type:"button"},listbox:{...v,"aria-label":e,"aria-labelledby":n,data:a,disabled:o,emptyValue:i,onBlur:d,onClick:e=>{e.preventDefault(),u||(y(!1),d&&d(Tr("blur")))},onChange:e=>{Br(R.current,e.target.value)},onKeyDown:e=>{switch(e.key){case"Escape":e.preventDefault(),void 0!==S&&Br(E.current,S),y(!1);break;case"Tab":case"Enter":"Tab"!==e.key&&e.preventDefault(),y(!1)}v.onKeyDown&&v.onKeyDown(e)},ref:E,value:h},input:{onChange:e=>{if(e.persist(),m){var t,n;const l=qr(b,e.target.value);e.detail=Jr(l);const a=null!==(t=null==l||null===(n=l.path)||void 0===n?void 0:n.split("."))&&void 0!==t?t:[];if(a.length>1){let t;a.pop(),e.detail.parents=a.map(e=>(t=t?[t,e].join("."):e,Jr(b.find(e=>e.path===t))))}m(e)}},ref:R,value:String(null!=h?h:"")},popover:{open:x,onOpenChange:e=>{!e&&d&&d(Tr("blur")),y(e)}},text:A,more:O}})(i,n),v=t.useRef(null),p=Sr(v),w=l("inline-flex relative w-full",{"yt-select--readonly":e.readOnly},r),b=l(zr(e),"h-8 text-left !pr-0",{"border-blue-500":m.open});t.useEffect(()=>{a&&v.current&&v.current.focus()},[]);const E={...d,className:"w-auto",invalid:void 0,style:{minWidth:null==p?void 0:p.width},tabIndex:m.open?0:-1};return t.createElement("span",{className:w,"data-taco":"select",style:o},t.createElement(u.Root,Object.assign({},m),t.createElement(u.Trigger,Object.assign({},s,{className:b,ref:v}),e.multiselect?t.createElement(t.Fragment,null,t.createElement("span",{className:"flex-grow truncate text-left"},f),h>0&&t.createElement(Ga,{className:"ml-2"},"+"+h)):t.createElement("span",{className:"flex-grow truncate text-left"},f),t.createElement("span",{className:"flex h-8 w-8 items-center justify-center"},t.createElement(ya,{className:"pointer-events-none",name:m.open?"chevron-up":"chevron-down"}))),t.createElement(u.Portal,null,t.createElement(u.Content,{align:"start",sideOffset:4},t.createElement(e.multiselect?di:ui,Object.assign({},E)))),t.createElement("input",Object.assign({},g,{className:"hidden",type:"text"}))))})),Wi=t.forwardRef((function(e,n){const{editable:l,...a}=e;return l?t.createElement(Zr,Object.assign({},a,{dialog:void 0,inline:!0,ref:n})):t.createElement(Ui,Object.assign({},a,{ref:n}))})),Ji=t.forwardRef((function(e,a){const{length:r,pageIndex:o,pageSize:i,pageSizes:s=[10,25,50,100,500],setPageIndex:c,setPageSize:u,showPageControls:d=!0,showPageNumbers:m=!0,showPageSize:g=!0,dangerouslyHijackGlobalKeyboardNavigation:f=!1,...h}=e,{texts:v}=dr(),p=Math.ceil(r/i)-1,w=f;(({setPageIndex:e,maxPageIndex:t,pageIndex:l,dangerouslyHijackGlobalKeyboardNavigation:a})=>{const r=n=>e&&"Home"===n.key?(n.preventDefault(),void e(0)):e&&"End"===n.key?(n.preventDefault(),void e(t)):e&&"PageUp"===n.key?(n.preventDefault(),void e(Math.max(0,l-1))):e&&"PageDown"===n.key?(n.preventDefault(),void e(Math.min(t,l+1))):void 0;n.useEffect(()=>(a&&window.addEventListener("keydown",r),()=>{a&&window.removeEventListener("keydown",r)}),[r,a])})({setPageIndex:c,maxPageIndex:p,pageIndex:o,dangerouslyHijackGlobalKeyboardNavigation:f});const b=Math.ceil(r/i),E=o>0,x=o<b-1,y=l("inline-flex relative justify-between items-center",e.className);return t.createElement("div",Object.assign({},h,{className:y,"data-taco":"pagination",ref:a}),g&&t.createElement("span",{className:"mr-4"},((e,t,n,l)=>{const a=(t+1)*n;return l.pagination.showingXofYofTotal.replace("[X]",0===e?"0":String(t*n+1)).replace("[Y]",String(a>e?e:a)).replace("[total]",String(e))})(r,o,i,v),t.createElement(Wi,{"aria-label":v.pagination.pageSize,className:"ml-4 !w-20",data:s.map(e=>({text:String(e),value:e})),onChange:e=>{c(0),u(Number(e.target.value))},value:i})),d&&t.createElement(So,{as:"nav","aria-label":v.pagination.label},t.createElement(or,{appearance:"default",disabled:!E,icon:"arrow-start",onClick:()=>c(0),"aria-label":w?v.pagination.actions.firstPageWithShortcut:v.pagination.actions.firstPage,tooltip:w?v.pagination.actions.firstPageWithShortcut:v.pagination.actions.firstPage}),t.createElement(or,{appearance:"default",disabled:!E,icon:"arrow-left",onClick:()=>c(o-1),"aria-label":w?v.pagination.actions.previousPageWithShortcut:v.pagination.actions.previousPage,tooltip:w?v.pagination.actions.previousPageWithShortcut:v.pagination.actions.previousPage}),m&&b>0&&t.createElement(Ki,{pageCount:b,currentPageIndex:o,onClick:c}),t.createElement(or,{appearance:"default",disabled:!x,icon:"arrow-right",onClick:()=>c(o+1),"aria-label":w?v.pagination.actions.nextPageWithShortcut:v.pagination.actions.nextPage,tooltip:w?v.pagination.actions.nextPageWithShortcut:v.pagination.actions.nextPage}),t.createElement(or,{appearance:"default",disabled:!x,icon:"arrow-end",onClick:()=>c(b-1),"aria-label":w?v.pagination.actions.lastPageWithShortcut:v.pagination.actions.lastPage,tooltip:w?v.pagination.actions.lastPageWithShortcut:v.pagination.actions.lastPage})))})),Yi=({content:e,lastUpdated:t,onClose:a,options:r,...o})=>{const{texts:i}=dr(),{autoClose:s,type:c="default"}=r,u=l("bg-white relative flex items-center py-1 px-2 mt-3 w-full rounded yt-shadow print:hidden",{"border border-grey-200":"default"===c||"loading"===c||!c,"border border-grey-500":"success"===c,"border border-blue-500":"information"===c,"border border-yellow-700":"warning"===c,"border border-red":"error"===c}),d=si(s,a),m=h.useAnimation();return e||console.warn((e=>`Toast requires 'content' property, which can't be empty string, null or undefined. Current content value is set to ${""===e?"empty string":e}.`)(e)),n.useEffect(()=>{s&&d.start()},[s]),n.useEffect(()=>{t&&(function(){try{Promise.resolve(m.start({scale:1.05})).then((function(){return Promise.resolve(m.start({scale:1})).then((function(){}))}))}catch(e){return Promise.reject(e)}}(),d.running&&d.start())},[t]),n.createElement(h.motion.div,Object.assign({},o,{animate:m,className:u,"data-taco":"toast",onMouseEnter:d.pause,onMouseLeave:d.resume}),(e=>n.createElement("div",{className:"mr-2 mt-[5px] flex-shrink-0 self-start"},(()=>{switch(e){case"success":return n.createElement(za,{icon:"tick",color:"green"});case"error":return n.createElement(za,{icon:"close",color:"red"});case"warning":return n.createElement(za,{icon:"warning",color:"yellow"});case"information":return n.createElement(za,{icon:"info",color:"blue"});case"loading":return n.createElement(Mr,{delay:0,className:"h-5 w-5"});default:return null}})()))(c),n.createElement("div",{className:"flex-grow"},e),n.createElement(or,{appearance:"discrete",className:"text-grey-700 -mr-2 cursor-pointer self-start !px-0",icon:"close","aria-label":i.toasts.dismiss,onClick:a}))},Qi=t.createContext({}),Xi=(e,t,n,l,a)=>{const r=[...e],o=e.findIndex(e=>JSON.stringify(e.content)===JSON.stringify(n));return o>-1?(r[o].lastDuplicateId=t,r[o].lastUpdated=Date.now()):r.push({id:t,content:"function"==typeof n?n(a):n,options:l}),r},Zi=({children:e,...n})=>{const[l,a]=t.useState([]),r=e=>{a(t=>t.filter(t=>t.id!==e))},o=t.useCallback((e,t)=>{const n=c.v4(),l=()=>r(n);a(a=>Xi(a,n,e,t,l));const o=(e,t)=>{a(a=>{const r=a.filter(e=>e.lastDuplicateId?e.lastDuplicateId!==n:e.id!==n);return Xi(r,c.v4(),e,t,l)})};return{success:(e,t)=>{o(e,{autoClose:7500,...t,type:"success"})},error:(e,t)=>{o(e,{...t,type:"error"})},warning:(e,t)=>{o(e,{...t,type:"warning"})},information:(e,t)=>{o(e,{...t,type:"information"})},loading:(e,t)=>{o(e,{...t,type:"loading"})},close:l}},[]);return t.useEffect(()=>{o.success=(e,t)=>o(e,{autoClose:7500,...t,type:"success"}),o.error=(e,t)=>o(e,{...t,type:"error"}),o.warning=(e,t)=>o(e,{...t,type:"warning"}),o.information=(e,t)=>o(e,{...t,type:"information"}),o.loading=(e,t)=>o(e,{...t,type:"loading"})},[]),t.createElement(Qi.Provider,Object.assign({},n,{value:o}),e,t.createElement("div",{id:"yt-toast__container",className:"pointer-events-all absolute bottom-0 right-0 !left-auto z-[1000] mb-4 mr-4 flex max-w-md flex-col items-end justify-end",role:"log"},t.createElement(h.AnimatePresence,{initial:!1},l.map(e=>t.createElement(h.motion.div,{key:e.id,transition:{type:"spring",damping:20,stiffness:300},initial:{opacity:0,y:10,scale:.5},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,scale:.5,transition:{duration:.2}}},t.createElement(Yi,Object.assign({},e,{onClose:()=>r(e.id)})))))))},es=()=>t.useContext(Qi),ts=t.createContext({uniqueUserIdentifier:""});var ns;(ns=exports.FontSizes||(exports.FontSizes={})).small="small",ns.medium="medium",ns.large="large";const ls=n.forwardRef;function as(e){return null==e?void 0:e.startsWith("__")}const rs=(e="medium")=>{switch(e){case exports.FontSizes.small:return 57;case exports.FontSizes.large:return 83;default:case exports.FontSizes.medium:return 72}};function os(e,t){return null==e?"":m.isDate(e)?null!==(n=to(e))&&void 0!==n?n:"":"datetime"===t&&"string"==typeof e?null!==(l=to(lo(e)))&&void 0!==l?l:"":String(e);var n,l}function is(e,t,n=["__actions"]){const l=e.filter(e=>as(e.id)&&!n.includes(String(e.id))).map(e=>e.id),a=[],r=[];let o=e;Array.isArray(t)&&(o=e.slice().sort((e,n)=>(t.indexOf(e.id)>>>0)-(t.indexOf(n.id)>>>0))),o.forEach(e=>{var t;as(e.id)||(null!==(t=e.meta)&&void 0!==t&&t.enableOrdering?r.push(e.id):a.push(e.id))});const i=[...l,...a,...r];return n.forEach(t=>{e.findIndex(e=>e.id===t)>-1&&i.push(t)}),i}function ss(e){var t;return null!==(t=null==e?void 0:e.filter(e=>as(e)&&"__actions"!==e))&&void 0!==t?t:[]}function cs(e,t){return t.slice(0,e+1)}var us,ds;!function(e){e[e.Contains=0]="Contains",e[e.DoesNotContain=1]="DoesNotContain",e[e.IsEqualTo=2]="IsEqualTo",e[e.IsNotEqualTo=3]="IsNotEqualTo",e[e.IsGreaterThan=4]="IsGreaterThan",e[e.IsLessThan=5]="IsLessThan",e[e.IsBetween=6]="IsBetween",e[e.IsEmpty=7]="IsEmpty",e[e.IsNotEmpty=8]="IsNotEmpty",e[e.IsLessThanOrEqualTo=9]="IsLessThanOrEqualTo",e[e.IsGreaterThanOrEqualTo=10]="IsGreaterThanOrEqualTo",e[e.HasAnyOf=11]="HasAnyOf",e[e.HasAllOf=12]="HasAllOf",e[e.HasNoneOf=13]="HasNoneOf"}(us||(us={})),function(e){e[e.Incomplete=0]="Incomplete",e[e.Loading=1]="Loading",e[e.Completed=2]="Completed"}(ds||(ds={}));const ms=e=>String(null!=e?e:"").toLocaleLowerCase(),gs=(e,t)=>ms(e).includes(ms(t)),fs=(e,t)=>ms(e)===ms(t);function hs(e,t,n){try{if(e.original){var l,a;const r=null===(l=e._getAllCellsByColumnId()[t])||void 0===l||null===(a=l.column.columnDef.meta)||void 0===a?void 0:a.dataType,o=os(e.original[t],r);return gs(o,n)}}catch{}return!1}function vs(e,t,n){return t.size&&(n[e]=t.size),{id:e,accessorKey:e,header:t.header,cell:t.renderer,enableColumnFilter:!1,enableGlobalFilter:!1,enableGrouping:!1,enableHiding:!1,enableResizing:!1,enableSorting:!1,size:t.size,minSize:t.size,meta:{...t.meta,enableOrdering:!1,enablePrinting:!1,enableTruncate:!1}}}function ps(e,t){var n,l,a,r,o,i;const s=e.enableRowSelection||e.enableRowSelectionSingle,c={defaultColumn:{enableColumnFilter:e.enableFiltering||!0,enableGrouping:!1,enableHiding:e.enableColumnHiding||!0,enableResizing:e.enableColumnResizing||!0,enableGlobalFilter:e.enableSearch||!0,enableSorting:e.enableSorting||!0,minSize:1,size:1},enableColumnFilters:null!==(n=e.enableFiltering)&&void 0!==n&&n,enableColumnResizing:null!==(l=e.enableColumnResizing)&&void 0!==l&&l,enableExpanding:null!==(a=e.enableRowExpansion)&&void 0!==a&&a,enableGrouping:!0,enableHiding:null!==(r=e.enableColumnHiding)&&void 0!==r&&r,enablePinning:null!==(o=e.enableColumnFreezing)&&void 0!==o&&o,enableRowSelection:null!=s&&s,enableMultiRowSelection:!0!==e.enableRowSelectionSingle&&s,enableSorting:null!==(i=e.enableSorting)&&void 0!==i&&i,getCoreRowModel:z.getCoreRowModel(),getExpandedRowModel:z.getExpandedRowModel(),getGroupedRowModel:z.getGroupedRowModel(),groupedColumnMode:!1};return c.enableColumnResizing&&(c.columnResizeMode="onChange"),c.enableColumnFilters&&(t.onChangeFilter||(c.getFilteredRowModel=z.getFilteredRowModel(),c.filterFns={tacoFilter:(e,t,n)=>function(e,t){try{if(t.comparator===us.IsEmpty||t.comparator===us.IsNotEmpty){const n=null==e||""===e;return t.comparator===us.IsEmpty?n:!n}if(null==t.value||""===t.value)return!0;switch(t.comparator){case us.Contains:return gs(e,t.value);case us.DoesNotContain:return!gs(e,t.value);case us.IsEqualTo:return m.isDate(e)?m.isDate(t.value)&&eo(e,t.value):"boolean"==typeof t.value?e===t.value:fs(e,t.value);case us.IsNotEqualTo:return m.isDate(e)?m.isDate(t.value)&&!1===eo(e,t.value):"boolean"==typeof t.value?e!==t.value:!fs(e,t.value);case us.IsGreaterThan:if(m.isDate(e))return m.isDate(t.value)&&m.isAfter(e,t.value);{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n>t.value}case us.IsLessThan:if(m.isDate(e))return m.isDate(t.value)&&m.isBefore(e,t.value);{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n<t.value}case us.IsLessThanOrEqualTo:if(m.isDate(e))return m.isDate(t.value)&&(m.isBefore(e,t.value)||m.isEqual(e,t.value));{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n<=t.value}case us.IsGreaterThanOrEqualTo:if(m.isDate(e))return m.isDate(t.value)&&(m.isAfter(e,t.value)||m.isEqual(e,t.value));{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n>=t.value}case us.IsBetween:{const[n,l]=t.value;if(m.isDate(e))return!(m.isDate(n)&&m.isBefore(e,n)||m.isDate(l)&&m.isAfter(e,l));{const t=parseInt(e);return!(isNaN(t)||void 0!==n&&t<n||void 0!==l&&t>l)}}case us.HasAnyOf:return!(!Array.isArray(t.value)||!Array.isArray(e))&&t.value.some(t=>e.includes(t));case us.HasNoneOf:return!(!Array.isArray(t.value)||!Array.isArray(e))&&t.value.every(t=>!1===e.includes(t));case us.HasAllOf:return!(!Array.isArray(t.value)||!Array.isArray(e))&&t.value.filter(t=>e.includes(t)).length===t.value.length}return!1}catch(e){return console.error(e),!0}}(e.getValue(t),n)})),e.enableSearch&&(c.getFilteredRowModel=z.getFilteredRowModel(),c.globalFilterFn=hs,c.getColumnCanGlobalFilter=e=>{var t,n;return null===(t=null===(n=e.columnDef.meta)||void 0===n?void 0:n.enableSearch)||void 0===t||t}),c.enableSorting&&(t.onChangeSort?c.manualSorting=!0:c.getSortedRowModel=z.getSortedRowModel()),c}const ws={enableFiltering:!1,enableSearch:!1,enableSorting:!1,enableColumnFreezing:!1,enableColumnHiding:!1,enableColumnResizing:!1,enableRowExpansion:!1,enableRowSelection:!1,enableRowSelectionSingle:!1,enableColumnOrdering:!1,enableFontSize:!1,enableFooter:!1,enablePrinting:!1,enableRowActive:!0,enableRowActions:!1,enableRowClick:!1,enableRowGoto:!1,enableRowHeight:!1,enableSettings:!1},bs={lite:{enableFiltering:!0,enableSearch:!0,enableSorting:!0,enableColumnFreezing:!0,enableColumnHiding:!1,enableColumnResizing:!0,enableRowExpansion:!0,enableRowSelection:!0,enableRowSelectionSingle:!1,enableColumnOrdering:!1,enableFontSize:!1,enableFooter:!0,enablePrinting:!1,enableRowActive:!0,enableRowActions:!0,enableRowClick:!0,enableRowGoto:!0,enableRowHeight:!1,enableSettings:!0},complex:{enableFiltering:!0,enableSearch:!0,enableSorting:!0,enableColumnFreezing:!0,enableColumnHiding:!0,enableColumnResizing:!0,enableRowExpansion:!0,enableRowSelection:!0,enableRowSelectionSingle:!1,enableColumnOrdering:!0,enableFontSize:!0,enableFooter:!0,enablePrinting:!0,enableRowActive:!0,enableRowActions:!0,enableRowClick:!0,enableRowGoto:!0,enableRowHeight:!0,enableSettings:!0}};function Es(e=!1){return{isEnabled:e}}function xs(e=!1,t="medium"){const[l,a]=n.useState(t);return{isEnabled:e,size:l,setSize:e?a:()=>{}}}const ys=()=>{const[e,t]=n.useState(!1);return n.useEffect(()=>{const n=()=>t(!1);return e&&document.addEventListener("mousemove",n),()=>{document.removeEventListener("mousemove",n)}},[e]),[e,t]};function zs(e){setTimeout(()=>{var t,n;null===(t=e.current)||void 0===t||null===(n=t.querySelector('[data-taco="table2-body"] [role="row"] [role="cell"]:first-child'))||void 0===n||n.focus()},1)}function Rs(e=!1,t){const[l,a]=n.useState(t),[r,o]=ys(),i=(e,t,n)=>a(l=>{const a=void 0!==l?function(e,t,n){return-1===e?t-1>0?t-1:0:t+1<n?t+1:t}(e,l,t):0;return setTimeout(()=>n(a),1),a}),s=n.useCallback((t,n,l,r)=>{if(e&&!t.defaultPrevented)if("ArrowUp"!==t.key&&"ArrowDown"!==t.key||o(!0),"ArrowUp"!==t.key)if("ArrowDown"!==t.key);else{if(t.preventDefault(),t.ctrlKey||t.metaKey){const e=n-1;a(e),l(e)}else i(1,n,l);r&&zs(r)}else{if(t.preventDefault(),t.ctrlKey||t.metaKey){const e=0;a(e),l(e)}else i(-1,n,l);r&&zs(r)}},[e]),c=n.useCallback((t,n,r)=>{e&&!t.isDefaultPrevented()&&(t.target.closest("tbody")||t.target.closest('[data-taco="table2-body"]')||Ua(t.target,t.currentTarget)||void 0===l&&n>0&&a(e=>void 0===e?(r(0),0):e))},[l,length,e]);return{isEnabled:e,rowActiveIndex:l,setRowActiveIndex:e?a:()=>{},isHoverStatePaused:r,setHoverStatePaused:e?o:()=>{},handleFocus:e?c:()=>{},handleKeyDown:e?s:()=>{}}}function Cs(e=!1,t){const l=n.useCallback((function(n,l){if(e&&"function"==typeof t&&!n.defaultPrevented)return l&&"Enter"===n.key?(n.preventDefault(),void t(l)):void 0}),[e,t]),a=n.useCallback((function(n,l){e&&"function"==typeof t&&!n.defaultPrevented&&(n.preventDefault(),t(l))}),[e,t]);return{isEnabled:e,handleClick:a,handleKeyDown:l}}function Ss(e=!1,t){return{isEnabled:e,handleGoto:e?t:void 0}}function Ns(e=!1,t="medium"){const[l,a]=n.useState(t);return{isEnabled:e,height:l,setHeight:e?a:()=>{}}}function As(e=!1){const t=n.useRef(),l=n.useCallback((t,n)=>{if(!e||!n.options.enableRowSelection||t.defaultPrevented)return;const l=n.getRowModel().rows,a=n.options.meta;if(" "!==t.key)return(t.ctrlKey||t.metaKey)&&"a"===t.key?(t.preventDefault(),void n.toggleAllRowsSelected()):void 0;{t.preventDefault();const e=a.rowActive.rowActiveIndex;var r;void 0!==e&&(null===(r=l[e])||void 0===r||r.toggleSelected())}},[e]);return{isEnabled:e,handleKeyDown:e?l:()=>{},lastSelectedRowIndex:t}}function Os(e,t){try{var n=e()}catch(e){return t(e)}return n&&n.then?n.then(void 0,t):n}function Is(e,t){try{var n=e()}catch(e){return t(!0,e)}return n&&n.then?n.then(t.bind(null,!1),t.bind(null,!0)):t(!1,n)}function Ls(e,t,l=100){const a=!!e&&!!t,[r,o]=n.useState(ds.Incomplete);let i,s;return"function"==typeof t&&(i=function(...e){try{const n=function(){if("function"==typeof t)return o(ds.Loading),Promise.resolve(t(...e)).then((function(){o(ds.Completed)}))}();return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},s=function(...e){try{const t=function(){var t;if(r===ds.Incomplete)return Promise.resolve(null===(t=i)||void 0===t?void 0:t(...e)).then((function(){}))}();return Promise.resolve(t&&t.then?t.then((function(){})):void 0)}catch(e){return Promise.reject(e)}}),{isEnabled:a,loadPage:e,loadAll:i,loadAllIfNeeded:s,loadAllStatus:r,pageSize:l}}"undefined"!=typeof Symbol&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator"))),"undefined"!=typeof Symbol&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));const Hs=(e,t)=>{const[l,a]=n.useState(()=>{if(!e)return t;try{const n=localStorage.getItem(e);return"string"!=typeof n?(localStorage.setItem(e,JSON.stringify(t)),t):JSON.parse(n||"null")}catch{return t}});return n.useEffect(()=>{if(e)try{const t=JSON.stringify(l);localStorage.setItem(e,t)}catch{}},[e,l]),[l,a,()=>{e&&localStorage.removeItem(e)}]};function Ms(){return n.useContext(ts)}function ks(e,t){const l=n.useRef(!1);n.useEffect(()=>{l.current?e():l.current=!0},t)}function Vs(e){const t=e.options.meta,n=e.getRowModel().rows;ks(()=>{const e=t.rowActive.rowActiveIndex;void 0!==e&&e>n.length&&t.rowActive.setRowActiveIndex(0)},[n.length])}function js(e,t){const n=e.getState().columnFilters;ks(()=>{e.options.enableColumnFilters&&"function"==typeof t&&(t(n),e.options.enableRowSelection&&e.resetRowSelection())},[e.options.enableColumnFilters,n])}function Ts(e){const t=e.options.meta,l=n.useRef(t.fontSize.size);ks(()=>{const n=function(e){switch(e){case`${exports.FontSizes.small}-${exports.FontSizes.medium}`:case`${exports.FontSizes.medium}-${exports.FontSizes.large}`:return 8;case`${exports.FontSizes.medium}-${exports.FontSizes.small}`:case`${exports.FontSizes.large}-${exports.FontSizes.medium}`:return-8;case`${exports.FontSizes.small}-${exports.FontSizes.large}`:return 16;case`${exports.FontSizes.large}-${exports.FontSizes.small}`:return-16;default:return 0}}(`${l.current}-${t.fontSize.size}`);e.setColumnSizing(e=>{const l=rs(t.fontSize.size);return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,Math.max(l,t+n)]))}),l.current=t.fontSize.size},[t.fontSize.size])}function Ds(e,t){const n=e.getState().rowSelection;ks(()=>{const n=e.getSelectedRowModel().rows;var l,a;e.options.enableRowSelection&&"function"==typeof t&&t(e.options.enableMultiRowSelection?n.map(e=>e.original):null!==(l=[null===(a=n[0])||void 0===a?void 0:a.original])&&void 0!==l?l:[])},[e.options.enableRowSelection,e.options.enableMultiRowSelection,JSON.stringify(n)])}function Fs(e){const t=e.options.meta,n=e.getState();return{columnOrder:t.columnOrdering.isEnabled?n.columnOrder:void 0,columnPinning:n.columnPinning,columnSizing:n.columnSizing,columnVisibility:e.options.enableHiding?n.columnVisibility:void 0,excludeUnmatchedRecordsInSearch:t.search.excludeUnmatchedResults,fontSize:t.fontSize.isEnabled?t.fontSize.size:void 0,grouping:e.options.enableGrouping?n.grouping:void 0,rowHeight:t.rowHeight.isEnabled?t.rowHeight.height:void 0,showWarningWhenPrintingLargeDataset:t.printing.isWarningVisibleForLargeDatasets,sorting:n.sorting}}function Ps(e,t){const l=e.options.meta,a=e.getRowModel().rows;n.useEffect(()=>{const e=Object.keys(null!=t?t:{}),n=[];if(t&&e.length&&void 0!==l.rowActive.rowActiveIndex){const r=a[l.rowActive.rowActiveIndex];e.forEach(e=>{const l=t[e];let a,o;"function"==typeof l?(a=l,o={key:e}):(a=l.handler,o={key:e,meta:l.meta,shift:l.shift}),n.push(Qa(o,e=>{e.preventDefault(),a(null==r?void 0:r.original)}))})}return n.forEach(e=>{document.addEventListener("keydown",e)}),()=>{n.forEach(e=>{document.removeEventListener("keydown",e)})}},[t,l.rowActive.rowActiveIndex,a.length])}function Bs(e,t){const n=e.getState().sorting;ks(()=>{e.options.enableSorting&&"function"==typeof t&&(t(n),e.options.enableRowSelection&&e.resetRowSelection())},[e.options.enableSorting,n])}function _s(e,t){const l=e.getState().sorting,a=e.getState().columnFilters,r=e.getState().globalFilter;n.useEffect(()=>{t&&t(0,l,a,r)},[])}const Gs=n.createContext({isHovered:!1,setIsHovered:()=>{},rowIndex:-1});function qs(){return null}function $s(e){const{actions:t,actionsLength:a,data:r,fontSize:o,isActiveRow:i}=e,{texts:s}=dr(),c=t.map(e=>e(r)).filter(e=>!!e),u=c.length===a?c:c.slice(0,a-1),d=c.slice(c.length===a?a:a-1),m=l("-mb-2 flex justify-end text-right bg-[inherit] shadow-[-6px_0px_6px_var(--table-row-actions-shadow)] print:hidden",{"-mt-2":o===exports.FontSizes.small,"-mt-1.5":o!==exports.FontSizes.small});return n.createElement("span",{className:m},u.map((e,t)=>{var l,a;const r=String(null!==(l=null!==(a=e.props.tooltip)&&void 0!==a?a:e.props["aria-label"])&&void 0!==l?l:"");return n.cloneElement(e,{appearance:"transparent",key:t,tabIndex:i?0:-1,tooltip:e.props.shortcut?n.createElement(n.Fragment,null,r,n.createElement(fi,{className:"ml-2",keys:e.props.shortcut})):r})}),d.length?n.createElement(or,{appearance:"transparent","aria-label":s.table3.columns.actions.tooltip,icon:"more",tabIndex:i?0:-1,menu:e=>n.createElement(Hi,Object.assign({},e),n.createElement(Hi.Content,null,d.map((e,t)=>n.createElement(Hi.Item,Object.assign({key:t},e.props,{shortcut:e.props.shortcut}),e.props["aria-label"]))))}):null)}const Ks=n.memo((function(e){const{row:t,table:l}=e,{rowIndex:a}=n.useContext(Gs),r=l.options.meta,o=r.rowActions.rowActions,i=r.rowActions.rowActionsLength,s=r.rowActive.rowActiveIndex===a,c=!!l.getState().columnSizingInfo.isResizingColumn,u=r.rowActive.isHoverStatePaused,{isHovered:d}=n.useContext(Gs);return null!=o&&o.length&&(s||d&&!u&&!c)?n.createElement($s,{actions:o,actionsLength:i,data:t.original,fontSize:r.fontSize.size,isActiveRow:s}):null}));function Us(e){const{texts:t}=dr(),{table:l}=e,a=l.getIsSomeRowsExpanded(),r=a?t.table3.columns.expansion.collapseAll:t.table3.columns.expansion.expandAll;return n.createElement(tr,{title:r},n.createElement(or,{appearance:"transparent",icon:a?"chevron-down-double":"chevron-right-double",onClick:e=>{e.stopPropagation(),l.toggleAllRowsExpanded(!a)},tabIndex:-1,title:r}))}function Ws(e){var t,l;const{texts:a}=dr(),r=e.table.options.meta;if(null===(t=(l=r.rowExpansion).rowExpansionRenderer)||void 0===t?void 0:t.call(l,e.row.original)){const t=r.rowActive.rowActiveIndex===e.row.index,l=e.row.getIsExpanded(),o=l?a.table3.columns.expansion.collapse:a.table3.columns.expansion.expand;return n.createElement(tr,{title:o},n.createElement(or,{appearance:"discrete",icon:l?"chevron-down":"chevron-right",onClick:t=>{t.stopPropagation(),e.row.toggleExpanded()},tabIndex:t?0:-1,title:o}))}return null}function Js(e){const{texts:t}=dr(),{table:l}=e,a=l.options.meta;if(l.options.enableMultiRowSelection){const e=l.getIsAllRowsSelected(),r=l.getIsSomeRowsSelected(),o=e?t.table3.columns.select.deselectAll:t.table3.columns.select.selectAll,i=function(e){try{function t(){l.toggleAllRowsSelected(e)}const n=function(){if(a.server.loadAllIfNeeded)return Promise.resolve(a.server.loadAllIfNeeded(l.getState().sorting,l.getState().columnFilters,void 0)).then((function(){}))}();return Promise.resolve(n&&n.then?n.then(t):t())}catch(e){return Promise.reject(e)}};return n.createElement(tr,{title:o},n.createElement(yr,{"aria-label":o,className:"hover:border-blue !-mt-px",key:String(`${e}_${r}`),checked:e,indeterminate:r,onChange:i}))}return null}function Ys(e){var t;const{texts:a}=dr(),{row:r,table:o}=e,i=o.options.meta;if(o.options.enableGrouping&&null!==(t=o.getState().grouping)&&void 0!==t&&t.length&&!r.getIsGrouped())return null;const s=r.getIsGrouped()?r.getIsAllSubRowsSelected():r.getIsSelected(),c=s?a.table3.columns.select.deselect:a.table3.columns.select.select;if(o.options.enableMultiRowSelection){const e=e=>{if(e.stopPropagation(),r.getIsGrouped())r.subRows.forEach(e=>e.toggleSelected());else if(e.shiftKey){var t;const[e,a]=(n=null!==(t=i.rowSelection.lastSelectedRowIndex.current)&&void 0!==t?t:0,[(l=r.index)<n?l:n,l>n?l:n]);o.getRowModel().rows.slice(e,a+1).forEach(e=>e.toggleSelected(!0))}else r.toggleSelected();var n,l;i.rowSelection.lastSelectedRowIndex.current=r.index};return n.createElement(tr,{title:n.createElement(n.Fragment,null,c,n.createElement(fi,{className:"ml-2",keys:"Space"}))},n.createElement(yr,{"aria-label":c,className:"!mt-0",checked:s,onClick:e,onChange:()=>!1}))}{const e=l("!mt-0",xi());return n.createElement("button",{className:e,"aria-checked":s,onClick:e=>{e.stopPropagation(),r.toggleSelected(),i.rowSelection.lastSelectedRowIndex.current=r.index},role:"radio",type:"button"},s?n.createElement("span",{className:"h-2 w-2 rounded-full bg-white"}):null)}}const Qs={asc:n.createElement(ya,{name:"chevron-up-solid",className:"pointer-events-none -my-0.5"}),desc:n.createElement(ya,{name:"chevron-down-solid",className:"pointer-events-none -my-0.5"})};function Xs(e){var t;return null!==(t=Qs[e.direction])&&void 0!==t?t:null}const Zs={asc:"ascending",desc:"descending"};function ec(e){const{headerRef:t,id:a,isResizing:r,onResize:o,setColumnSizing:i,width:s}=e,{texts:c}=dr(),u=e=>{!Number.isInteger(s)&&t?(i(e=>({...e,[a]:t.getBoundingClientRect().width})),setTimeout(()=>{null==o||o(e)},1)):null==o||o(e)},d=n.createElement("div",{className:l("invisible absolute right-0 top-0 z-10 -mr-2 flex h-full w-4 cursor-col-resize touch-none select-none justify-center rounded py-0.5","group-hover/header:visible","[th:last-child>&]:!mr-0 [th:last-child>&]:w-2",{"!visible":r}),onClick:e=>{e.stopPropagation(),e.preventDefault()},onMouseDown:u,onTouchStart:u},n.createElement("div",{className:l("h-full w-1 rounded",{"!bg-blue-500":r,"bg-grey-500 hover:bg-grey-700":!r})}));return r?d:n.createElement(tr,{placement:"top",title:c.table3.columns.resize.tooltip},d)}const tc=t.forwardRef((function({onSearch:e,...n},l){const a=qa(l),{texts:r}=dr(),o=()=>{var t,n;null==e||e(null!==(t=null===(n=a.current)||void 0===n?void 0:n.value)&&void 0!==t?t:"")};return t.createElement(Ir,Object.assign({"aria-label":r.searchInput.placeholder,placeholder:r.searchInput.placeholder},n,{onKeyDown:t=>{var l;if(null===(l=n.onKeyDown)||void 0===l||l.call(n,t),!t.isDefaultPrevented())return"Enter"===t.key?(t.preventDefault(),void o()):void("Escape"!==t.key||null==e||e(""))},postfix:t.createElement(t.Fragment,null,n.disabled||n.readOnly||!n.value?null:t.createElement(or,{"aria-hidden":!0,"aria-label":r.searchInput.clear,className:"group-peer-focus:visible group-peer-hover:visible !text-grey-700 invisible mr-0.5 !h-5 !min-h-[theme(spacing.4)] !w-5 !min-w-[theme(spacing.4)] text-xs hover:visible group-hover:visible",icon:"close",onClick:()=>{Fr(a.current,"")},rounded:!0,tabIndex:-1,tooltip:r.searchInput.clear}),t.createElement(or,{"aria-label":r.searchInput.button,icon:"search",className:"group-peer-focus:!border-transparent group-peer-focus:group-peer-active:!border-transparent -mr-2 !border-transparent !bg-transparent focus:!border-transparent",disabled:n.disabled||n.readOnly,onClick:o,tabIndex:-1,tooltip:r.searchInput.button})),ref:a,type:"search"}))}));function nc(e){const{onGoto:t,trigger:l,...a}=e,{texts:r}=dr();return n.createElement(mo,Object.assign({},a,{anchor:l}),n.createElement(mo.Content,null,n.createElement(tc,{"aria-label":r.table3.columns.menu.gotoRow,name:"query",onSearch:e=>t(e),onKeyDown:e=>e.stopPropagation(),placeholder:r.table3.columns.menu.gotoRow+"..."})))}function lc(e){const{canGoto:t,canHide:a,canPin:r,canSort:o,customMenu:i,index:s,onGoto:c,onHide:u,onPin:d,onSortToggle:m,setRowActiveIndex:g,sortDirection:f}=e,{texts:h}=dr(),[v,p]=n.useState(void 0);let w;if(v){const e=()=>p(void 0);switch(v){case"goto":if(c){const t=function(t){try{const n=Is((function(){return Os((function(){return Promise.resolve(c(t)).then((function(e){g(e)}))}),(function(e){console.error(e)}))}),(function(t,n){if(e(),t)throw n;return n}));return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(e){return Promise.reject(e)}};w=l=>n.createElement(nc,Object.assign({},l,{open:!0,onChange:e,onGoto:t}))}}}const b=n.useMemo(()=>{const e=[];if(a&&u&&e.push(n.createElement(Hi.Item,{icon:"eye-off",onClick:e=>setTimeout(()=>u(e),1)},h.table3.columns.menu.hideColumn)),o&&e.push(n.createElement(Hi.Item,{icon:"sort-by",subMenu:()=>n.createElement(Hi.SubMenu,null,n.createElement(Hi.RadioGroup,{onChange:m,value:f},n.createElement(Hi.RadioGroup.Item,{value:"asc"},h.table3.columns.menu.sortingOrder.ascending),n.createElement(Hi.RadioGroup.Item,{value:"desc"},h.table3.columns.menu.sortingOrder.descending),n.createElement(Hi.RadioGroup.Item,{value:!1},h.table3.columns.menu.sortingOrder.unsorted)))},h.table3.columns.menu.sorting)),t&&e.push(n.createElement(Hi.Item,{icon:"move",onClick:()=>p("goto"),shortcut:"g"},h.table3.columns.menu.gotoRow,"...")),r&&d&&(e.push(n.createElement(Hi.Item,{icon:"column-freeze",onClick:()=>d(s)},0===s?h.table3.columns.menu.freezeFirstColumn:h.table3.columns.menu.freezeUptoColumn.replace("[TOTAL]",String(s+1)))),e.push(n.createElement(Hi.Item,{icon:"column-unfreeze",onClick:()=>d(void 0)},h.table3.columns.menu.unfreezeColumns))),i){const t=i({trigger:void 0}),l=n.Children.toArray(t.props.children.props.children);l.length&&(e.length&&e.push(n.createElement(Hi.Separator,null)),e.push(...l))}return e.map((e,t)=>n.cloneElement(e,{key:t}))},[t,a,r,o,i,c,m,s,f]),E=l("justify-end -mr-1 overflow-hidden","!h-6 !w-0 !min-h-[theme(spacing.6)] !min-w-0","group-hover/header:!w-6 group-hover/header:!min-w-[theme(spacing.6)]","aria-expanded:!w-6 aria-expanded:!min-w-[theme(spacing.6)]","focus:!w-6 focus:!min-w-[theme(spacing.6)]",{"!w-6 !min-w-[theme(spacing.6)]":!!w},e.className);return n.createElement(or,{className:E,icon:"more",menu:w?void 0:e=>n.createElement(Hi,Object.assign({},e),n.createElement(Hi.Content,null,b)),popover:w,onClickCapture:e=>e.preventDefault()})}function ac(e){var t;if(e.column.getIsGrouped())return null;const{table:a}=e.getContext(),r=a.options.meta,o=null!==(t=e.column.columnDef.meta)&&void 0!==t?t:{},i=!!e.subHeaders.length,s=function(e){var t,n;return null!==(t=e.subHeaders)&&void 0!==t&&t.length?null===(n=e.subHeaders.find(e=>e.column.getIsPinned()))||void 0===n?void 0:n.column.getIsPinned():e.column.getIsPinned()}(e),c=!e.isPlaceholder&&!i&&e.column.getCanHide(),u=!!a.getRowModel().rows.length,d=!e.isPlaceholder&&!i&&e.column.getCanPin(),m=!e.isPlaceholder&&!i&&e.column.getCanResize(),g=!e.isPlaceholder&&!i&&e.column.getCanSort(),f=g&&!e.isPlaceholder&&!i&&r.rowGoto.isEnabled&&!!e.column.getIsSorted(),h=!as(e.id)&&(c||f||d||g||!!o.menu),v=a.getState().sorting,p=a.getState().columnFilters,w=a.getState().globalFilter,b={align:o.align,canHide:c,canGoto:f,canMeasureSize:u,canPin:d,canResize:m,canSort:g,className:l("group/header",o.headerClassName),children:z.flexRender(e.column.columnDef.header,e.getContext()),colSpan:e.colSpan,customMenu:o.menu,defaultWidth:o.defaultWidth,hasMenu:h,id:e.id,index:e.index,isGroup:i,isPinned:s,isPlaceholder:e.isPlaceholder,offset:e.column.getStart(s),setRowActiveIndex:r.rowActive.setRowActiveIndex,setColumnSizing:a.setColumnSizing,tooltip:o.tooltip,width:a.getState().columnSizing[e.id]};if(e.isPlaceholder){const t=e.headerGroup.headers[e.index+1];b.className=l("!bg-white before:!content-none",b.className,{"after:!content-none":null==t?void 0:t.isPlaceholder})}if(f&&(b.onGoto=t=>{var n,l;return null===(n=(l=r.rowGoto).handleGoto)||void 0===n?void 0:n.call(l,e.id,t,v,p,w)}),c&&(b.onHide=e.column.getToggleVisibilityHandler()),d&&(b.onPin=e=>{a.setColumnPinning(t=>({...t,left:void 0===e?ss(t.left):cs(e,a.getAllLeafColumns().map(e=>e.id))}))}),m&&(b.isResizing=e.column.getIsResizing(),b.onResize=e.getResizeHandler()),g){const t=t=>{!1===t?e.column.clearSorting():e.column.toggleSorting("desc"===t)};b.onSort=e.column.getToggleSortingHandler(),b.onSortToggle=t,b.sortDirection=e.column.getIsSorted()}return n.createElement(rc,Object.assign({key:e.id},b))}const rc=n.memo((function(e){const{align:t,canGoto:a,canHide:r,canMeasureSize:o,canPin:i,canResize:s,canSort:c,children:u,className:d,colSpan:m,customMenu:g,defaultWidth:f,hasMenu:h,id:v,index:p,isGroup:w,isPinned:b,isPlaceholder:E,isResizing:x,offset:y,onGoto:z,onHide:R,onPin:C,onResize:S,onSort:N,onSortToggle:A,setRowActiveIndex:O,setColumnSizing:I,sortDirection:L,tooltip:H,width:M}=e,[k,V]=n.useState(null);!function(e,t,l,a,r,o){n.useEffect(()=>{r&&a&&!Number.isInteger(l)&&!as(e)&&"grow"!==t&&o(t=>({...t,[e]:a.getBoundingClientRect().width}))},[a,r,l])}(v,f,M,k,o,I);const j={};return m>1&&(j.gridColumn="span "+m),b&&(j[b]=y+"px"),n.createElement("th",Object.assign({},function(e,t,n){var l;return e?{"aria-sort":null!==(l=Zs[n])&&void 0!==l?l:"none",onClick:e=>{!e.isDefaultPrevented()&&e.currentTarget.contains(e.target)&&(e.preventDefault(),null==t||t(e))}}:{}}(c,N,L),{className:d,"data-cell-align":w?"center":t,"data-cell-id":v,"data-cell-pinned":b||void 0,style:j,ref:V}),E?null:as(v)?u:n.createElement(tr,{title:String(null!=H?H:u),placement:"top"},n.createElement("span",{className:"truncate"},u)),L?n.createElement(Xs,{direction:L}):null,h?n.createElement(lc,{canGoto:a,canHide:r,canPin:i,canSort:c,className:l({"ml-auto":"right"!==t,"ml-0":"right"===t}),customMenu:g,index:p,onGoto:z,onHide:R,onPin:C,onSortToggle:A,setRowActiveIndex:O,sortDirection:L}):null,s?n.createElement(ec,{headerRef:k,id:v,isResizing:x,onResize:S,setColumnSizing:I,width:M}):null)})),oc={accept:e=>!!e.closest('tr[data-row-active="true"]'),tabbable:!0};function ic(e){const{enableArrowKeyFocusing:t=!1,length:l,table:a,...r}=e,o=n.useRef(null),i=function(){const e=v.useFocusManager();return{focusPrevious:()=>e.focusPrevious(oc),focusNext:()=>e.focusNext(oc),focusFirst:()=>e.focusFirst(oc),focusLast:()=>e.focusLast(oc)}}(),s=a.options.meta,c=n.useRef(0);return n.createElement("tbody",Object.assign({},r,{onKeyDown:e=>{if(!e.isDefaultPrevented()&&!e.isPropagationStopped()&&void 0!==s.rowActive.rowActiveIndex){const n=0===s.rowActive.rowActiveIndex,a=s.rowActive.rowActiveIndex===l-1;if("Tab"===e.key||t&&("ArrowLeft"===e.key||"ArrowRight"===e.key)){if(s.rowActive.setHoverStatePaused(!0),e.shiftKey||"ArrowLeft"===e.key?i.focusPrevious():i.focusNext())return e.preventDefault(),void(c.current=c.current+1);e.shiftKey||"ArrowLeft"===e.key?n||0===c.current||(e.preventDefault(),s.rowActive.setRowActiveIndex(s.rowActive.rowActiveIndex-1),c.current=0,requestAnimationFrame(()=>i.focusLast())):a||0===c.current||(e.preventDefault(),s.rowActive.setRowActiveIndex(s.rowActive.rowActiveIndex+1),c.current=0,requestAnimationFrame(()=>i.focusFirst()))}}},ref:o}))}function sc(e){return n.createElement(cc,{key:e.id,footer:e})}const cc=n.memo((function(e){var t,l;const{footer:a}=e,r=a.column.columnDef.meta,o=null!==(t=a.subHeaders)&&void 0!==t&&t.length?null===(l=a.subHeaders.find(e=>e.column.getIsPinned()))||void 0===l?void 0:l.column.getIsPinned():a.column.getIsPinned(),i={};return o&&(i[o]=a.column.getStart(o)-1+"px"),n.createElement("td",{key:a.id,"data-cell-align":r.align,"data-cell-id":a.id,"data-cell-pinned":o||void 0,style:i},a.isPlaceholder?null:z.flexRender(a.column.columnDef.footer,a.getContext()))}));function uc(e){var t;const{length:l,table:a}=e,{locale:r,texts:o}=dr(),i=a.getRowModel().rows.length;let s,c;const u=a.getIsAllRowsSelected()?l:a.getSelectedRowModel().rows.length;return u>0?(s=o.table3.footer.summary.selected,c=n.createElement(n.Fragment,null,n.createElement("strong",null,new Intl.NumberFormat(r).format(u))," ",o.table3.footer.summary.count," ",n.createElement("strong",null,new Intl.NumberFormat(r).format(l)))):null!==(t=a.getState().columnFilters)&&void 0!==t&&t.length||a.getState().globalFilter&&a.options.enableGlobalFilter?(s=o.table3.footer.summary.records,c=n.createElement(n.Fragment,null,n.createElement("strong",null,i)," ",o.table3.footer.summary.count," ",n.createElement("strong",null,new Intl.NumberFormat(r).format(l)))):(s=o.table3.footer.summary.records,c=n.createElement("strong",null,new Intl.NumberFormat(r).format(l))),n.createElement("div",{className:"border-grey-300 sticky z-20 -mt-[2.63rem] ml-px flex h-10 w-fit items-center whitespace-nowrap rounded-bl border-t-2 bg-white px-4 !pr-3","data-taco":"table2-footer-summary"},s," ",c)}const dc=n.forwardRef((function(e,t){var a,r;const{findCurrent:o,findTotal:i,loading:s=!1,onChange:c,onClear:u,onClickFindNext:d,onClickFindPrevious:m,settingsContent:g,shortcut:f,value:h,...v}=e,p=qa(t),w=n.useRef(null),[b,E]=n.useState(!1),{texts:x}=dr(),y=null==h?void 0:h.length,z=d&&m&&void 0!==o&&void 0!==i;Za(f,e=>{var t;document.activeElement!==p.current&&(e.preventDefault(),null===(t=p.current)||void 0===t||t.focus())});const R=e=>{var t,n;w.current&&(w.current===e.relatedTarget||null!==(t=w.current)&&void 0!==t&&t.contains(e.relatedTarget))||(E(!1),null===(n=v.onBlur)||void 0===n||n.call(v,e))},C=()=>{requestAnimationFrame(()=>{var e;return null===(e=p.current)||void 0===e?void 0:e.blur()}),c(""),null==u||u()};let S;v.disabled||v.readOnly||!h&&!b?!f||b||h||(S=n.createElement(fi,{keys:f,onClickCapture:()=>{var e;return null===(e=p.current)||void 0===e?void 0:e.focus()}})):(h&&(S=n.createElement(or,{"aria-label":x.searchInput.clear,className:"scale-75 !bg-transparent hover:!bg-black/[0.08] [&>svg]:scale-125",icon:"close",onMouseDown:C,tabIndex:-1,tooltip:b?n.createElement(n.Fragment,null,x.searchInput.clear," ",n.createElement(fi,{keys:"Escape"})):x.searchInput.clear})),z&&y&&(S=n.createElement(n.Fragment,null,n.createElement("span",{className:"text-grey-700 flex h-4 items-center border-r border-black/[0.25] pr-2"},s?n.createElement(Mr,{className:"h-4 w-4"}):`${null!=o?o:0}/${null!=i?i:0}`),o?n.createElement(n.Fragment,null,n.createElement(or,{"aria-label":x.searchInput.findPrevious,className:"scale-75 !bg-transparent hover:!bg-black/[0.08] [&>svg]:scale-125",icon:"chevron-up",onMouseDown:m,tabIndex:-1,tooltip:b?n.createElement(n.Fragment,null,x.searchInput.findPrevious," ",n.createElement(fi,{keys:{shift:!0,key:"Enter"}})):x.searchInput.findPrevious}),n.createElement(or,{"aria-label":x.searchInput.findNext,className:"scale-75 !bg-transparent hover:!bg-black/[0.08] [&>svg]:scale-125",icon:"chevron-down",onMouseDown:d,tabIndex:-1,tooltip:b?n.createElement(n.Fragment,null,x.searchInput.findNext," ",n.createElement(fi,{keys:"Enter"})):x.searchInput.findNext})):null,S)));const N=l("!pl-7 group-focus-within:!w-72 group-focus-within:yt-focus",z?{"!w-48":!h,"!w-72":h}:"!w-48",{"!wcag-blue-100":y},e.className),A=n.createElement(Ir,Object.assign({},v,{"aria-label":null!==(a=v["aria-label"])&&void 0!==a?a:x.searchInput.placeholder,className:N,"data-taco":"search-input2",onBlur:R,onChange:e=>c(e.target.value),onFocus:e=>{var t;E(!0),null===(t=v.onFocus)||void 0===t||t.call(v,e)},onKeyDown:t=>{var n;if(null===(n=e.onKeyDown)||void 0===n||n.call(e,t),!t.isDefaultPrevented())return"Enter"===t.key?(t.preventDefault(),void(z&&y&&(t.shiftKey?null==m||m():null==d||d()))):void("Escape"!==t.key||C())},placeholder:null!==(r=v.placeholder)&&void 0!==r?r:x.searchInput.placeholder,prefix:n.createElement(ya,{"aria-label":x.searchInput.button,className:"-ml-0.5 scale-95",name:"search",onClickCapture:()=>{var e;return null===(e=p.current)||void 0===e?void 0:e.focus()}}),postfix:S,ref:p,value:null!=h?h:""}));if(g){const e=l("border-grey-300 absolute left-0 right-0 -mt-0.5 hidden top-full group-focus-within:flex focus-within:flex flex-col gap-y-4 rounded-b border border-t-0 bg-white p-3 shadow !pt-[calc(theme(spacing.3)_+_theme(spacing[0.5]))]");return n.createElement("div",{className:l("group relative",{"z-10 [&_[data-taco=input-container]]:z-10":b}),ref:w,style:{opacity:.999}},A,n.createElement("div",{onBlur:R,className:e,onClickCapture:()=>{var e;return null===(e=p.current)||void 0===e?void 0:e.focus()},tabIndex:-1},g))}return A})),mc=t.forwardRef((function(e,n){const{label:a,onChange:r,...o}=e,i=xr(e.id),s=l("group h-5 w-9 flex flex-shrink-0 rounded-full inline-flex focus-visible:yt-focus",{"mr-2":!!a,"bg-grey-500 hover:bg-grey-700 aria-checked:bg-blue-500 aria-checked:hover:bg-blue-700":!e.disabled,"bg-grey-500/50 aria-checked:bg-blue-500/50 cursor-not-allowed":e.disabled},e.className);let c=null;a&&(c={"aria-labelledby":i+"-label",id:i});const u=t.createElement(y.Root,Object.assign({},o,c,{className:s,"data-taco":"switch",onCheckedChange:r,ref:n}),t.createElement(y.Thumb,{className:"'will-change-transform mt-0.5 h-4 w-4 translate-x-[0.15rem] rounded-full bg-white transition-transform group-disabled:opacity-50 group-aria-checked:translate-x-[1.1rem]"}));if(a){const n=l("flex self-start cursor-pointer",{"cursor-not-allowed text-grey-300":e.disabled});return t.createElement("span",{className:n,"data-taco":"switch-container"},u,t.createElement("label",{htmlFor:i,id:i+"-label"},a))}return u}));function gc(e){var t,l;const{scrollToIndex:a,table:r}=e,{texts:o}=dr(),i=n.useRef(null),s=r.options.meta,c=r.getState().globalFilter,u=e=>a(e,{align:"center"});n.useEffect(()=>{s.search.highlightedColumnIndexes.length&&u(s.search.highlightedColumnIndexes[0][0])},[s.search.highlightedColumnIndexes.length]);const d=n.createElement(mc,{label:o.table3.search.excludeUnmatchedResults,checked:!!r.options.enableGlobalFilter,onChange:e=>{s.search.setEnableGlobalFilter(e,r),requestAnimationFrame(()=>{var e;return null===(e=i.current)||void 0===e?void 0:e.focus()})}});return n.createElement(n.Fragment,null,n.createElement(dc,{findCurrent:void 0!==s.search.currentHighlightColumnIndex?s.search.currentHighlightColumnIndex+1:null,findTotal:null!==(t=null===(l=s.search.highlightedColumnIndexes)||void 0===l?void 0:l.length)&&void 0!==t?t:null,loading:s.server.loadAllStatus===ds.Loading,onClickFindPrevious:()=>{if(!s.search.highlightedColumnIndexes.length)return;const e=void 0===s.search.currentHighlightColumnIndex?0:0===s.search.currentHighlightColumnIndex?s.search.highlightedColumnIndexes.length-1:s.search.currentHighlightColumnIndex-1;s.search.setCurrentHighlightColumnIndex(e),u(s.search.highlightedColumnIndexes[e][0])},onClickFindNext:()=>{if(!s.search.highlightedColumnIndexes.length)return;const e=void 0===s.search.currentHighlightColumnIndex||s.search.currentHighlightColumnIndex===s.search.highlightedColumnIndexes.length-1?0:s.search.currentHighlightColumnIndex+1;s.search.setCurrentHighlightColumnIndex(e),u(s.search.highlightedColumnIndexes[e][0])},onChange:e=>{r.setGlobalFilter(String(null!=e?e:""))},onFocus:function(){try{const e=function(){if(s.server.loadAllIfNeeded)return Promise.resolve(s.server.loadAllIfNeeded(r.getState().sorting,r.getState().columnFilters,void 0)).then((function(){}))}();return Promise.resolve(e&&e.then?e.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},placeholder:o.table3.search.placeholder,settingsContent:d,ref:i,shortcut:{key:"f",meta:!0,shift:!1},value:c}))}function fc(e,t){var l;const a=n.Children.toArray(e).filter(e=>"SortableList"===e.type.displayName),r=a.find(e=>e.props.id===t);return r?null==r?void 0:r.props:null===(l=a.find(e=>n.Children.toArray(e.props.children).findIndex(e=>e.props.id===t)>-1))||void 0===l?void 0:l.props}function hc(e){const{children:t,reorder:l,move:a}=e;return n.createElement(R.DndContext,Object.assign({collisionDetection:R.closestCenter},e,{onDragOver:function(e){const{active:n,over:l}=e;if(null==n||!n.id||null==l||!l.id)return;const r=fc(t,n.id),o=fc(t,l.id);null!=r&&r.id&&null!=o&&o.id&&r.id!==o.id&&a(n.id,null==r?void 0:r.id,o.id)},onDragEnd:function(e){const{active:n,over:a}=e;if(null==n||!n.id||null==a||!a.id)return;const r=fc(t,n.id),o=fc(t,a.id);null!=r&&r.id&&null!=o&&o.id&&r.id===o.id&&l(n.id,a.id,o.id)}}),t)}function vc(e){const{asChild:t,children:l,disabled:a=!1,id:r}=e,{attributes:o,listeners:i,setNodeRef:s,transform:c,transition:u}=C.useSortable({disabled:a,id:r}),d={transform:S.CSS.Transform.toString(c),transition:u},m={...o,...i,onPointerDown:e=>{e.currentTarget.contains(e.target)&&!["BUTTON","INPUT","TEXTAREA","SELECT","FIELDSET"].includes(e.target.nodeName)&&(null==i||i.onPointerDown(e))},ref:s,style:d};return t?n.cloneElement(l,m):n.createElement("div",Object.assign({},m),l)}function pc(e){const{children:t,id:l,...a}=e,{setNodeRef:r}=R.useDroppable({id:l}),o=n.Children.toArray(t).map(e=>e.props);return n.createElement(C.SortableContext,{id:l,items:o,strategy:C.verticalListSortingStrategy},n.createElement("div",Object.assign({},a,{ref:l?r:void 0}),t))}mc.displayName="Switch",hc.displayName="SortableContainer",vc.displayName="SortableListItem",pc.displayName="SortableList";const wc=n.forwardRef((function(e,t){var a,r,o;const{column:i,draggable:s=!1,...c}=e,u=i.getCanHide(),d=l("group/column flex items-center gap-x-2 rounded py-1 px-2",{"hover:bg-grey-200":u||s,"hover:cursor-pointer":u,"active:cursor-move active:bg-grey-300":s}),m=s?c:void 0,g=i.getIsVisible(),f=null===(a=i.parent)||void 0===a||null===(r=a.columnDef)||void 0===r?void 0:r.header;return n.createElement("div",Object.assign({},m,{className:d,onClick:()=>i.toggleVisibility(!g),ref:t}),s?n.createElement(ya,{name:"drag",className:"text-grey-500 group-hover/column:text-grey-700 -mx-2 !h-5"}):null,n.createElement("span",{className:"flex-grow truncate"},null===(o=i.columnDef.meta)||void 0===o?void 0:o.header,f?n.createElement("span",{className:"italic"},"(",f,")"):null),u?n.createElement(yr,{checked:g,onChange:()=>i.toggleVisibility(!g)}):null)}));function bc(e){const{table:t,trigger:l,...a}=e,{texts:r}=dr(),[o,i]=n.useState(""),s=t.getAllLeafColumns(),c=t.options.meta,u=n.useMemo(()=>s.filter(e=>!as(e.id)).filter(e=>{var t,n,l;return null==o||!o.length||(null===(t=e.columnDef.meta)||void 0===t?void 0:t.header.toLowerCase().includes(o.toLowerCase()))||(null===(n=e.parent)||void 0===n||null===(l=n.columnDef.meta)||void 0===l?void 0:l.header.toLowerCase().includes(o.toLowerCase()))}),[s,o]),d="flex max-h-64 flex-col gap-y-px overflow-auto";return n.createElement(mo,Object.assign({},a,{anchor:l}),n.createElement(mo.Content,null,n.createElement("div",{className:"flex max-w-sm flex-col gap-2"},t.options.enableHiding?n.createElement(Ir,{onChange:e=>i(e.target.value),placeholder:r.table3.columnSettings.search,value:o}):null,!c.columnOrdering.isEnabled||!u.length||null!=o&&o.length?n.createElement("div",{className:d},u.length?u.map(e=>n.createElement(wc,{column:e,key:e.id})):r.table3.columnSettings.noResults):n.createElement(hc,{reorder:(e,n)=>{u.find(e=>{var t;return e.id===n&&!1===(null===(t=e.columnDef.meta)||void 0===t?void 0:t.enableOrdering)})||t.setColumnOrder((t=[])=>is(s,C.arrayMove(t,t.findIndex(t=>t===e),t.findIndex(e=>e===n))))}},n.createElement(pc,{id:"columns",className:d},u.filter(e=>!e.getIsGrouped()).map(e=>{var t,l;return n.createElement(vc,{key:e.id,id:e.id,disabled:!(null!==(t=e.columnDef.meta)&&void 0!==t&&t.enableOrdering),asChild:!0},n.createElement(wc,{column:e,draggable:null===(l=e.columnDef.meta)||void 0===l?void 0:l.enableOrdering}))}))))))}function Ec(e){const{customSettings:t,table:l}=e,{texts:a}=dr(),r=l.options.meta,o=l.options.enableHiding||r.columnOrdering.isEnabled,i=r.fontSize.isEnabled,s=r.rowHeight.isEnabled,[c,u]=n.useState(void 0);let d;if(c){const e=()=>u(void 0);switch(c){case"columnSettings":o&&(d=t=>n.createElement(bc,Object.assign({},t,{open:!0,onChange:e,table:l})))}}return n.createElement(or,{"aria-label":a.table3.otherOptions.tooltip,icon:"sliders",menu:d?void 0:e=>n.createElement(Hi,Object.assign({},e),n.createElement(Hi.Content,{align:"end"},o?n.createElement(Hi.Item,{icon:"columns",onClick:()=>u("columnSettings")},a.table3.columnSettings.button):null,o&&(s||i||t)?n.createElement(Hi.Separator,null):null,s?n.createElement(Hi.Item,{icon:"height-"+r.rowHeight.height,subMenu:()=>n.createElement(yc,{tableMeta:r})},a.table3.rowHeight.tooltip):null,i?n.createElement(Hi.Item,{icon:"font-size",subMenu:()=>n.createElement(xc,{tableMeta:r})},a.table3.fontSize.tooltip):null,t?n.createElement(n.Fragment,null,s||i?n.createElement(Hi.Separator,null):null,t(Fs(l)).map((e,t)=>n.createElement(n.Fragment,{key:t},e))):null)),popover:d,onClickCapture:e=>e.preventDefault(),tooltip:a.table3.otherOptions.tooltip})}function xc({tableMeta:e}){const{texts:t}=dr();return n.createElement(Hi.SubMenu,null,n.createElement(Hi.RadioGroup,{onChange:e.fontSize.setSize,value:e.fontSize.size},n.createElement(Hi.RadioGroup.Item,{value:exports.FontSizes.small},t.table3.fontSize.sizes.small),n.createElement(Hi.RadioGroup.Item,{value:exports.FontSizes.medium},t.table3.fontSize.sizes.medium),n.createElement(Hi.RadioGroup.Item,{disabled:"short"===e.rowHeight.height,value:exports.FontSizes.large},t.table3.fontSize.sizes.large)))}function yc({tableMeta:e}){const{texts:t}=dr();return n.createElement(Hi.SubMenu,null,n.createElement(Hi.RadioGroup,{onChange:e.rowHeight.setHeight,value:e.rowHeight.height},n.createElement(Hi.RadioGroup.Item,{value:"short"},t.table3.rowHeight.sizes.short),n.createElement(Hi.RadioGroup.Item,{value:"medium"},t.table3.rowHeight.sizes.medium),n.createElement(Hi.RadioGroup.Item,{value:"tall"},t.table3.rowHeight.sizes.tall),n.createElement(Hi.RadioGroup.Item,{value:"extra-tall"},t.table3.rowHeight.sizes.extraTall)))}const zc=e=>"Enter"===e.key||" "===e.key||"Tab"===e.key,Rc=e=>"ArrowUp"===e.key||"ArrowDown"===e.key||"Home"===e.key||"End"===e.key,Cc=(e,t)=>e.querySelectorAll(t),Sc=n.forwardRef((function(e,t){const{querySelector:l,tabIndex:a=0,...r}=e,o=qa(t),[i,s]=n.useState(),c=n.useRef(0),u=(e,t,n)=>{var l;null===(l=t.querySelector("[aria-current]"))||void 0===l||l.removeAttribute("aria-current"),n.setAttribute("aria-current","true"),n.scrollIntoView({block:"nearest"}),s(e)},d=n.useCallback(e=>{if(o.current&&e.matches(l)){const t=Cc(o.current,l),n=Array.from(t).indexOf(e);n>-1&&u(n,o.current,e)}},[o.current,l]);return n.useEffect(()=>{o.current&&(o.current.setActiveIndex=d)},[o.current]),n.useEffect(()=>{if(o.current){const e=Cc(o.current,l);if(e.length&&e.length!==c.current){let t=o.current.querySelectorAll('[aria-current="true"]');if(0===t.length&&(t=o.current.querySelectorAll("[aria-selected]")),1===t.length){if(e){const n=t.item(0),l=Array.from(e).indexOf(n);l>-1&&u(l,o.current,n)}}else u(0,o.current,e.item(0))}c.current=e.length}},[e.children]),n.createElement("div",Object.assign({},r,{onClick:e=>{const t=e.target;if(t.matches(l)){const n=Cc(e.currentTarget,l),a=Array.from(n).indexOf(t);a>-1&&u(a,e.currentTarget,t)}},onKeyDown:e=>{if(e.target!==e.currentTarget)return;if(r.onKeyDown&&r.onKeyDown(e),e.isDefaultPrevented())return;const t=Cc(e.currentTarget,l);if(t)if(Rc(e)){e.preventDefault(),e.stopPropagation();const n=Nc(e,t,i);void 0!==n&&n!==i&&u(n,e.currentTarget,t.item(n))}else if(void 0!==i&&t.item(i)){var n;null===(n=t.item(i))||void 0===n||n.dispatchEvent(Dr(e))}},ref:o,tabIndex:a}))})),Nc=(e,t,n,l=!0)=>{const a=((e,t,n)=>{switch(e.key){case"ArrowUp":return void 0===n?t-1:n>0?n-1:n;case"ArrowDown":return void 0===n?0:n<t-1?n+1:n;case"Home":return 0;case"End":return t-1;default:return}})(e,t.length,n);if(void 0!==a){if(a===n)return n;if(t.item(a)&&Ac(t.item(a))){if(l){if(0===a)return Nc(new KeyboardEvent(e.type,{...e,key:"ArrowDown"}),t,a,!1);if(a===t.length-1)return Nc(new KeyboardEvent(e.type,{...e,key:"ArrowUp"}),t,a,!1)}return Nc(e,t,a,l)}}return a},Ac=e=>"presentation"===e.getAttribute("role")||!!e.hasAttribute("disabled")||!!e.getAttribute("aria-disabled")||!!e.getAttribute("aria-hidden");var Oc={__proto__:null,Root:Sc};const Ic=n.createContext({}),Lc=n.forwardRef((function(e,t){const{children:l,customSelector:a,disabled:r=!1,id:o,multiple:i,readOnly:s=!1,setValue:c,value:u,...d}=e,m="listbox2-"+xr(o),g=n.useMemo(()=>({disabled:r,readOnly:s,setValue:c,value:u}),[r,s,u]);return n.createElement(Ic.Provider,{value:g},n.createElement("div",{"data-taco":"listbox2"},n.createElement(Sc,Object.assign({},d,{"aria-multiselectable":!!i||void 0,id:m,querySelector:a?'[role="option"], '+a:'[role="option"]',ref:t,role:"listbox"}),l)))})),Hc=n.forwardRef((function(e,t){const{disabled:l,id:a,value:r,...o}=e,{disabled:i,readOnly:s,setValue:c,value:u}=n.useContext(Ic),d="option-"+xr(a),m=Array.isArray(u)?u.includes(r):u===r;return n.createElement("div",Object.assign({},o,{"aria-disabled":i||l?"true":void 0,"aria-selected":m?"true":void 0,id:d,onClick:t=>{l||i||s?t.stopPropagation():(c(r),"function"==typeof e.onClick&&e.onClick(t))},onKeyDown:t=>{l||i||s?t.stopPropagation():"Tab"===t.key&&m||(zc(t)&&c(r),"function"==typeof e.onKeyDown&&e.onKeyDown(t))},ref:t,role:"option"}))})),Mc=n.forwardRef((function(e,t){const[l,a]=n.useState();return n.createElement(kc.Provider,{value:{setLabelledById:a}},n.createElement("div",Object.assign({},e,{"aria-labelledby":l,ref:t,role:"group"})))})),kc=n.createContext({}),Vc=n.forwardRef((function(e,t){const{id:l,...a}=e,{setLabelledById:r}=n.useContext(kc),o=xr(l);return n.useEffect(()=>{r(o)},[o]),n.createElement("div",Object.assign({},a,{id:o,ref:t,role:"presentation"}))})),jc=n.forwardRef((e,t)=>{const{children:a,color:r,disabled:o,icon:i,readOnly:s,onDelete:c,...u}=e,d=n.useRef(null),m=l("inline-flex items-center rounded h-6 cursor-default",{"opacity-50":o,"hover:bg-opacity-75":!o,"cursor-pointer":!!u.onClick,"pointer-events-none":o||s},K(r),e.className);return n.createElement("span",Object.assign({},u,{className:m,ref:t,"data-taco":"tag"}),n.createElement("span",{className:"truncate px-2",ref:d},i?"string"==typeof i?n.createElement(ya,{name:i,className:"-ml-1 -mt-0.5 mr-1 !h-5 !w-5"}):n.cloneElement(i,{className:"mr-1 -ml-1 -mt-0.5 !h-5 !w-5"}):null,a),c?n.createElement(ya,{name:"close",onClick:c,className:"-ml-1.5 !h-6 !w-5 flex-shrink-0 cursor-pointer rounded-r p-0.5 hover:bg-black/5"}):null)}),Tc=(e=!1)=>l("group mb-px flex w-full text-sm flex-shrink-0 font-normal cursor-pointer items-center rounded bg-white px-2 leading-8 text-black aria-hidden:hidden gap-1.5 bg-white aria-current:wcag-grey-200 aria-disabled:text-black/25 aria-disabled:pointer-events-none",{"hover:wcag-grey-200":!e}),Dc=n.createContext({}),Fc=()=>n.useContext(Dc),Pc=e=>{const{color:t,text:a,value:r,...o}=e,i=n.useRef(null),{onDelete:s,onEdit:c,searchRef:u,ref:d}=Fc(),{texts:m}=dr(),[g,f]=n.useState(a),[h,v]=n.useState(t),[p,w]=n.useState(),b=e=>{f(e.target.value),w(void 0)},E=e=>function(t){try{return t.stopPropagation(),"Escape"===t.key?e():"Enter"===t.key&&y(e)(t),Promise.resolve()}catch(e){return Promise.reject(e)}},x=e=>function(t){try{t.stopPropagation(),e();const n=function(){if(s)return Promise.resolve(s(r)).then((function(){}))}();return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},y=e=>function(n){try{const l=function(){if(!c||g===a&&h===t)e();else{const t=Os((function(){return Promise.resolve(c(r,g,h)).then((function(){e()}))}),(function(e){var t;n.preventDefault(),n.stopPropagation(),w(e),null===(t=i.current)||void 0===t||t.focus()}));if(t&&t.then)return t.then((function(){}))}}();return Promise.resolve(l&&l.then?l.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},z=e=>{"Escape"===e.key||"Tab"===e.key||"Tab"===e.key&&e.shiftKey||e.stopPropagation()};return n.createElement(mo,Object.assign({},o),n.createElement(mo.Content,{onCloseAutoFocus:e=>{var n,l;e.preventDefault(),f(a),v(t),w(void 0),null!=u&&u.current?null===(n=u.current)||void 0===n||n.focus():null===(l=d.current)||void 0===l||l.focus()},onInteractOutside:()=>{f(a),v(t)},onClick:e=>e.stopPropagation(),onKeyDown:e=>{("Tab"===e.key||"Tab"===e.key&&e.shiftKey)&&e.stopPropagation()},placement:"right",tabIndex:-1,className:"focus:!shadow-none"},({close:e})=>n.createElement(n.Fragment,null,n.createElement("div",{className:"flex w-32 flex-col space-y-2"},c?n.createElement(n.Fragment,null,n.createElement(Qo,{className:l("!min-h-fit",{"!pb-0":!p}),invalid:!!p,message:null==p?void 0:p.message},n.createElement(Ir,{invalid:!!p,onChange:b,onKeyDown:E(e),ref:i,value:g})),t?n.createElement(n.Fragment,null,n.createElement("h5",null,"Colours"),n.createElement(Bc,{color:h,onChangeColor:v,onKeyDown:z})):null,n.createElement(So,null,n.createElement(fr,{onClick:e},m.select2.cancel),n.createElement(fr,{appearance:"primary",onClick:y(e)},m.select2.save))):null,c&&s?n.createElement("hr",null):null,s?n.createElement("button",{className:"hover:text-grey-700 flex items-center justify-start gap-1",onClick:x(e),onKeyDown:z},n.createElement(ya,{className:"!h-5 !w-5",name:"delete-permanently"})," ",m.select2.delete):null))))},Bc=e=>{const{color:t,onChangeColor:a,onClick:r,onKeyDown:o}=e,{texts:i}=dr();return n.createElement(x.Root,{"aria-label":i.select2.chooseColor,className:"grid grid-cols-4 gap-2 focus:outline-none",onClick:r,onKeyDown:o,onValueChange:e=>a(e),value:t},G.map(e=>n.createElement(x.Item,{"aria-label":t,className:l("flex h-6 w-6 cursor-pointer items-center justify-center rounded",K(e)),key:e,onFocus:()=>a(e),value:e},n.createElement(x.Indicator,{asChild:!0},n.createElement(ya,{name:"tick",className:"!h-5 !w-5"})))))},_c=/iPhone|iPad|iPod|Android/i,Gc=e=>!(null==e||!e.userAgent)&&_c.test(e.userAgent),qc=n.forwardRef((function(e,t){var a;const{children:r,color:o,description:i,prefix:s,postfix:c,className:u,...d}=e,{onDelete:m,onEdit:g,listboxRef:f,multiple:h,ref:v,setOpen:p,shouldPauseHoverState:w,tags:b,value:E,fontSize:x=exports.FontSizes.medium}=Fc(),y=l(Tc(w),{"text-xs":x===exports.FontSizes.small,"text-sm":x===exports.FontSizes.medium,"text-base":x===exports.FontSizes.large},u),z=Array.isArray(E)?!!E.length:void 0!==E,R=b&&!!o,C=""!==r&&(g||m)?t=>{var l,a;return n.createElement(Pc,Object.assign({},t,{color:e.color,key:null!==(l=e.textValue)&&void 0!==l?l:String(e.children),text:null!==(a=e.textValue)&&void 0!==a?a:String(e.children),value:e.value}))}:void 0;return n.createElement(Hc,Object.assign({},d,{className:y,onClick:()=>{var e;h?null===(e=v.current)||void 0===e||e.focus():p(!1)},onKeyDown:e=>{zc(e)&&(h&&"Tab"!==e.key||p(!1))},ref:t}),z?n.createElement(ya,{name:"tick",className:"pointer-events-none invisible -mx-0.5 !h-4 !w-4 group-aria-selected:visible"}):null,R?n.createElement(jc,{className:"pointer-events-none my-1",color:o,icon:s},r):n.createElement(n.Fragment,null,s?"string"==typeof s?n.createElement(ya,{name:s}):s:null,n.createElement("span",{className:"flex w-full justify-between"},n.createElement("span",{className:"flex flex-col"},n.createElement("span",null,r),i?n.createElement("span",{className:"text-grey-700 -mt-1.5 mb-1.5 text-xs"},i):null),n.createElement("span",{className:"flex flex-col self-center"},c?"string"==typeof c?n.createElement(ya,{name:c}):c:null))),C?n.createElement(or,{icon:"ellipsis-vertical",appearance:"discrete",className:l("group-aria-current:visible invisible -mr-1 ml-auto !h-5 min-h-[theme(spacing.6)] !w-5 min-w-[theme(spacing.6)] hover:!bg-black/[.08] focus:!shadow-none group-hover:visible",{"!visible":Gc(null===(a=window)||void 0===a?void 0:a.navigator)}),onClick:e=>{var t;e.stopPropagation(),null==f||null===(t=f.current)||void 0===t||t.setActiveIndex(e.currentTarget.parentElement)},popover:C,tabIndex:-1}):null)})),$c=n.forwardRef((function(e,t){const{children:a,heading:r,hasSeparator:o,...i}=e,s=l("flex flex-col gap-px",{"last:after:content-none after:content-[''] after:bg-grey-300 after:mx-2 after:my-1 after:h-px":o&&a.length},e.className);return n.createElement(Mc,Object.assign({},i,{className:s,ref:t}),n.createElement(Vc,{className:"sticky top-0 bg-white px-2 font-bold leading-8"},r),a)})),Kc=n.forwardRef((function(e,t){const a=l("flex items-center text-xs pl-2 h-8",e.className);return n.createElement(Vc,Object.assign({},e,{className:a,ref:t}))})),Uc=n.forwardRef((function(e,t){const{multiple:l,value:a}=Fc();if(Array.isArray(a)||l){const l=Array.isArray(a)?a:void 0!==a?[a]:void 0;return n.createElement(Yc,Object.assign({},e,{ref:t,values:l}))}return n.createElement(Jc,Object.assign({},e,{ref:t,value:a}))})),Wc=n.forwardRef((function(e,t){var a;const{children:r,onClick:o,tabIndex:i=0,...s}=e,{disabled:c,highlighted:u,invalid:d,open:m,readOnly:g}=Fc(),f=l("cursor-pointer !px-1 h-fit",zr({...e,disabled:c,highlighted:u,invalid:d,readOnly:g}).replace("w-full",""),{"w-full":!(null!==(a=e.className)&&void 0!==a&&a.includes("w-"))},e.className);return n.createElement("button",Object.assign({},s,{"aria-invalid":!!d||void 0,"aria-readonly":!!g||void 0,className:f,disabled:c,onClick:e=>{c||g?e.preventDefault():"function"==typeof o&&o(e)},ref:t,role:"combobox",tabIndex:c||g?-1:i,type:"button"}),r,n.createElement(ya,{name:m?"chevron-up":"chevron-down",className:"pointer-events-none -mr-1 ml-auto"}))})),Jc=n.forwardRef((function(e,t){const{children:a,emptyValue:r,value:o,placeholder:i,...s}=e,{disabled:c,readOnly:u,tags:d}=Fc(),m=l("truncate items-center gap-1"),g=a.find(Xc(o));let f;return i&&void 0===g?f=n.createElement("div",{className:l({"text-grey-700":c,"text-grey-500":!c})},i):g&&(f=d&&r!==o?n.createElement(jc,{className:"truncate",color:g.props.color,disabled:c,icon:g.props.prefix,readOnly:u},g.props.children):n.createElement(n.Fragment,null,g.props.prefix?"string"==typeof g.props.prefix?n.createElement(ya,{name:g.props.prefix,className:"mr-1 !h-5 !w-5"}):g.props.prefix:null,g.props.children)),n.createElement(Wc,Object.assign({},s,{ref:t}),n.createElement("div",{className:m},f))})),Yc=n.forwardRef((function(e,t){var a;const{children:r,values:o=[],placeholder:i,...s}=e,{disabled:c,open:u,readOnly:d,setValue:m,tags:g}=Fc(),f=qa(t),h=o.map(e=>r.find(t=>t.props.value===e)).filter(e=>!!e);let v,{className:p}=s;return u?(p=l("!absolute z-20",s.className),v=n.createElement(ko,{className:"my-1 flex max-h-[5.5rem] flex-col"},n.createElement("div",{className:"flex flex-wrap gap-1"},0===h.length?n.createElement("div",{className:l({"text-grey-700":c,"text-grey-500":!c})},i):h.map(e=>n.createElement(jc,{key:String(e.props.value),className:"truncate",color:g?e.props.color:void 0,disabled:c,icon:e.props.prefix,onDelete:t=>{null==t||t.stopPropagation(),null==t||t.preventDefault(),c||d||m(e.props.value)},readOnly:d},e.props.children))))):v=n.createElement(Qc,{key:String(u),valuesAsChildren:h,placeholder:i}),n.createElement("div",{className:"relative inline-flex h-fit flex-grow","data-taco":"select2-container",style:{width:u?null===(a=f.current)||void 0===a?void 0:a.offsetWidth:void 0}},n.createElement(Wc,Object.assign({},s,{className:p,ref:f}),v))})),Qc=({valuesAsChildren:e,placeholder:t})=>{const{disabled:a,open:r,readOnly:o,setValue:i,tags:s}=Fc(),[c,u]=n.useState(null),d=c?$a(c,30):void 0;return n.createElement("div",{className:"relative flex items-center gap-1 overflow-hidden"},n.createElement("div",{className:"flex gap-1 truncate",ref:e=>u(e)},0===e.length?n.createElement("div",{className:l({"text-grey-700":a,"text-grey-500":!a})},t):e.map((e,t)=>{const c=n.createElement(jc,{key:String(e.props.value),className:l("cursor-pointer",{truncate:t===d,hidden:null!=d&&t>d}),color:s?e.props.color:void 0,disabled:a,icon:e.props.prefix,onDelete:r?(u=e.props.value,e=>{null==e||e.stopPropagation(),null==e||e.preventDefault(),a||o||i(u)}):void 0,readOnly:o},e.props.children);var u;return t===d?n.createElement(tr,{key:String(e.props.value),title:String(e.props.children)},c):c})),null!=d&&d<e.length-1?n.createElement(tr,{title:e.slice(d+1).map(e=>e?String(e.props.children):"").join(", ")},n.createElement(Ga,{className:"flex-shrink-0"},"+",e.length-(d+1))):null)},Xc=e=>t=>Array.isArray(e)?e.includes(t.props.value):t.props.value===e,Zc=e=>{const{value:t,...l}=e,a=n.useRef(null),r=function(e){const t=n.useRef(e);return n.useEffect(()=>{t.current=e},[e]),t.current}(t);return n.useEffect(()=>{const e=a.current,n=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(r!==t&&n){Array.isArray(t)?t.forEach(t=>{const n=e.querySelector(`option[value='${t}']`);n&&(n.selected=!0)}):n.call(e,t);const l=new Event("change",{bubbles:!0});e.dispatchEvent(l)}},[r,t]),n.createElement("select",Object.assign({},l,{defaultValue:t,ref:a,style:{display:"none"}}))},eu=n.forwardRef((function(e,t){const{onTabKeyPress:a,...r}=e,{listboxRef:o,searchQuery:i,setSearchQuery:s,setValidationError:c,validationError:u,setOpen:d}=Fc();return n.createElement(Qo,{className:l("mx-1.5 mb-1.5 !min-h-fit ",{"!pb-0":!u}),invalid:!!u,message:null==u?void 0:u.message},n.createElement(Ir,Object.assign({},r,{"aria-hidden":!0,autoFocus:!0,invalid:!!u,onChange:e=>{u&&c(void 0),s(e.target.value)},onKeyDown:e=>{var t;if(" "!==e.key&&("Tab"===e.key&&(d(!1),a()),zc(e)||"ArrowDown"===e.key||"ArrowUp"===e.key))return e.preventDefault(),void(null==o||null===(t=o.current)||void 0===t||t.dispatchEvent(Dr(e)))},ref:t,value:i})))})),tu=e=>!!e.props.heading||!!e.props.hasSeparator,nu=(e,t)=>{var n,l;return!(null===(n=e.props.textValue)||void 0===n||!n.toLowerCase().includes(t.toLowerCase()))||!(null===(l=e.props.description)||void 0===l||!l.toLowerCase().includes(t.toLowerCase()))||String(e.props.children).toLowerCase().includes(t.toLowerCase())},lu=e=>{const{onCreate:t,options:a}=e,{multiple:r,searchQuery:o,setOpen:i,setSearchQuery:s,setValidationError:c,setValue:u}=Fc(),{texts:d}=dr(),m=n.useMemo(()=>(e=>{let t={};G.filter(e=>"transparent"!==e).forEach(e=>{t={...t,[e]:0}}),e.reduce((e,t)=>(t.props.color&&(e[t.props.color]=e[t.props.color]?e[t.props.color]+1:1),e),t);const n=Object.keys(t);if(n.length)return n.sort((e,n)=>t[e]-t[n])[0]})(a),[a]);if(!o)return null;const g=l("!w-[calc(100%_-_theme(spacing.3))] ml-1.5",Tc());return n.createElement("button",{className:g,onClick:function(){try{const e=Os((function(){return Promise.resolve(t(o,m)).then((function(e){u(e.value),r?s(""):i(!1)}))}),(function(e){c(e)}));return Promise.resolve(e&&e.then?e.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},onKeyDown:e=>{zc(e)&&e.currentTarget.click()}},n.createElement("span",{className:"flex items-center gap-1.5"},d.select2.create,n.createElement(jc,{color:m,className:"cursor-pointer"},o)))},au=e=>{const{children:t}=e;return n.createElement(ko,{className:"flex max-h-[11.5rem] w-full flex-col gap-y-0.5 px-1.5"},t)},ru=n.forwardRef((function(e,t){const{children:a,defaultValue:r,disabled:o=!1,emptyValue:i,placeholder:s,highlighted:c=!1,invalid:d=!1,multiple:m=!1,name:g,onChange:f,onCreate:h,onDelete:v,onEdit:p,readOnly:b=!1,tags:E=!1,value:x,fontSize:y,...z}=e,R=n.useMemo(()=>{if(void 0!==i&&!m)return n.createElement(qc,{key:"__empty",children:"",value:i,className:"h-8"})},[i,m]),C=n.useMemo(()=>R?[R,...a]:a,[R,a]),S=qa(t),N=n.useRef(null),A=n.useRef(null),{texts:O}=dr(),I=Sr(S),[L,H]=n.useState(!1),[M,k]=n.useState(!1),[V,j]=w.useControllableState({defaultProp:r,onChange:f,prop:x}),T=((e,t)=>n=>{t(t=>Array.isArray(n)?n:e?void 0===t?[n]:Array.isArray(t)?t.includes(n)?t.filter(e=>e!==n):[...t,n]:t===n?[]:[t,n]:n)})(m,j),[D,F]=n.useState(),[P,B]=ys(),{flattenedChildren:_,filteredChildren:G,searchQuery:q,setSearchQuery:$}=(({children:e,emptyValue:t,multiple:l,open:a,setValue:r,value:o})=>{const[i,s]=n.useState(""),c=n.useMemo(()=>(null==e?void 0:e.map(e=>tu(e)?e.props.children:e).flatMap(e=>e))||[],[e]);n.useEffect(()=>{var e;l||void 0!==t||void 0!==o||r(null==c||null===(e=c[0])||void 0===e?void 0:e.props.value)},[]),n.useEffect(()=>{a||s("")},[a]);const u=n.useMemo(()=>e.map(e=>{if(tu(e)){const t=e.props.children.filter(e=>nu(e,i));return t.length?n.cloneElement(e,{},t):null}return nu(e,i)?e:null}).filter(e=>!!e),[c,i]);return{flattenedChildren:c,filteredChildren:u,searchQuery:i,setSearchQuery:s}})({children:C,emptyValue:i,multiple:m,open:M,setValue:T,value:V}),K={disabled:o,highlighted:c,invalid:d,listboxRef:N,multiple:m,onCreate:h,onDelete:v,onEdit:p,open:M,readOnly:b,ref:S,searchQuery:q,searchRef:A,setOpen:k,setSearchQuery:$,setValidationError:F,setValue:T,shouldPauseHoverState:P,setShouldPauseHoverState:B,tags:E,fontSize:y,validationError:D,value:V};let U;z.onBlur&&(U=e=>{var t;const n=e.relatedTarget;if(void 0===n)return;const l=null==n||null===(t=n.closest("[data-radix-popper-content-wrapper] > :first-child"))||void 0===t?void 0:t.id;var a;l&&e.currentTarget.getAttribute("aria-controls")===l||null===(a=z.onBlur)||void 0===a||a.call(z,e)});const W=l("border-grey-300 rounded border bg-white py-1.5 shadow-md outline-none","flex flex-col gap-px");return n.createElement(Dc.Provider,{value:K},n.createElement(u.Root,{open:M,onOpenChange:k},n.createElement(ou,{emptyValue:i,multiple:m||E,name:g,options:_.map(e=>e.props.value),parentRef:S,setValue:T,value:V}),n.createElement(u.Trigger,{asChild:!0,"data-taco":"Select2"},n.createElement(Uc,Object.assign({},z,{"aria-haspopup":"listbox",emptyValue:i,onBlur:U,onKeyDown:e=>{var t;M?e.preventDefault():e.ctrlKey||e.metaKey||"ArrowDown"!==e.key&&!/^[a-z0-9]$/i.test(e.key)||k(!0),null===(t=N.current)||void 0===t||t.dispatchEvent(Dr(e))},ref:S,placeholder:s}),_)),n.createElement(u.Portal,null,n.createElement(u.Content,{asChild:!0,align:"start",onOpenAutoFocus:()=>{var e;null===(e=S.current)||void 0===e||e.focus()},onCloseAutoFocus:e=>{if(e.preventDefault(),e.stopPropagation(),L){const e=(e=>{if(!e)return null;const t=[...document.querySelectorAll('button:not([disabled]), [href]:not(link):not(script), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"]):not([disabled]), details:not([disabled]), summary:not(:disabled)')],n=t.indexOf(e);return-1!==n&&n===t.length-1?null:t[n+1]})(S.current);e&&(e.focus(),H(!1))}else{var t;null===(t=S.current)||void 0===t||t.focus()}},sideOffset:4,tabIndex:-1},n.createElement("div",{className:W,style:{minWidth:null!=I&&I.width?I.width+"px":void 0}},_.length>0||h?n.createElement(eu,{placeholder:h?O.select2.searchOrCreate:O.select2.search,ref:A,onTabKeyPress:()=>H(!0)}):null,_.length<=0?n.createElement("div",{className:"text-grey-700 -mt-0.5 flex h-8 items-center px-2",role:"presentation"},"No results found..."):n.createElement(Lc,{className:"flex flex-col gap-0.5",customSelector:":scope > button",disabled:o,multiple:m,onKeyDown:e=>{Rc(e)&&B(!0)},readOnly:b,ref:N,setValue:T,tabIndex:-1,value:V},n.createElement(au,null,""===q?C:G),h?n.createElement(lu,{onCreate:h,options:_}):null))))))}));ru.Option=qc,ru.Group=$c,ru.Title=Kc;const ou=e=>{const{emptyValue:l,multiple:a,name:r,options:o,parentRef:i,value:s,setValue:c}=e;let u;return((e,n)=>{const[l,a]=t.useState(!1);return t.useEffect(()=>{let t;var l;return e.current&&(t=e.current.closest("form"),a(!!t),n&&t&&t.addEventListener("reset",n),null===(l=e.current.closest("form"))||void 0===l||l.addEventListener("reset",n)),()=>{t&&t.removeEventListener("reset",n)}},[e.current]),l})(i,()=>c(a?[]:void 0))?(void 0!==s&&(u=a?Array.isArray(s)?s.map(String):[null===s?"":String(s)]:null===s?"":String(s)),n.createElement(Zc,{"aria-hidden":!0,key:String(u),multiple:a,name:r,value:u},void 0!==l?n.createElement("option",{value:l}):null,o.map(e=>n.createElement("option",{key:String(e),value:String(e)})))):null};function iu(e){var t,l;const{onAccept:a,table:r,orientation:o,setOrientation:i,size:s,setSize:c,allRows:u,setAllRows:d,splitGroups:m,setSplitGroups:g,...f}=e,{texts:h}=dr(),v=r.getVisibleFlatColumns(),p=r.getRowModel().rows.length*v.length,w=r.getState().grouping.length?null===(t=v.find(e=>e.id===r.getState().grouping[0]))||void 0===t||null===(l=t.columnDef.meta)||void 0===l?void 0:l.header:void 0;return n.createElement(Co,Object.assign({},f,{size:"xs"}),n.createElement(Co.Content,{"aria-label":h.table3.print.warningDialog.title},({close:e})=>n.createElement(n.Fragment,null,n.createElement(Co.Title,null,h.table3.print.settingsDialog.title),n.createElement("div",{className:"mt-4 flex flex-col gap-2"},n.createElement("div",{className:"grid grid-cols-2 gap-4"},n.createElement(Qo,null,h.table3.print.settingsDialog.size,n.createElement(ru,{onChange:c,value:s},n.createElement(ru.Option,{value:"A5"},h.table3.print.settingsDialog.sizeA5),n.createElement(ru.Option,{value:"A4"},h.table3.print.settingsDialog.sizeA4),n.createElement(ru.Option,{value:"A3"},h.table3.print.settingsDialog.sizeA3),n.createElement(ru.Option,{value:"letter"},h.table3.print.settingsDialog.sizeLetter),n.createElement(ru.Option,{value:"legal"},h.table3.print.settingsDialog.sizeLegal))),n.createElement(Qo,null,h.table3.print.settingsDialog.orientation,n.createElement(ru,{onChange:i,value:o},n.createElement(ru.Option,{value:"landscape"},h.table3.print.settingsDialog.orientationLandscape),n.createElement(ru.Option,{value:"portrait"},h.table3.print.settingsDialog.orientationPortrait)))),r.options.enableRowSelection&&r.getIsSomeRowsSelected()?n.createElement(Qo,null,h.table3.print.settingsDialog.rows,n.createElement(Ni,{onChange:d,value:u},n.createElement(Ni.Item,{value:!0},h.table3.print.settingsDialog.rowsAll),n.createElement(Ni.Item,{value:!1},h.table3.print.settingsDialog.rowsSelected))):void 0,w?n.createElement(Qo,null,h.table3.print.settingsDialog.layout,n.createElement(yr,{label:h.table3.print.settingsDialog.layoutSplitGroups.replace("[COLUMN]",w),checked:m,onChange:g})):null,p>1e4?n.createElement(Ca,{state:"warning"},h.table3.print.warningDialog.description):null),n.createElement(Co.Footer,null,n.createElement(So,null,n.createElement(Co.Close,null,n.createElement(fr,null,h.table3.print.warningDialog.cancelButtonText)),n.createElement(fr,{appearance:"primary",autoFocus:!0,onClick:()=>{e(),setTimeout(()=>a(),1)}},h.table3.print.warningDialog.printButtonText))))))}function su(e){const{table:t,tableId:l,tableRef:a}=e,{texts:r}=dr(),o=n.useRef(null),i=n.useRef(),s=es(),c=t.options.meta,u=n.useCallback(e=>{c.printing.setIsPrinting(e),a.current&&(e?i.current=a.current.scrollTop:void 0!==i.current&&(a.current.scrollTop=i.current,i.current=void 0))},[a.current]);n.useEffect(()=>{const e=()=>{u(!1)};return window.addEventListener("afterprint",e),()=>{window.removeEventListener("afterprint",e)}},[]);const d=function(){try{function e(){n.close(),setTimeout(()=>{u(!0),requestAnimationFrame(()=>{try{document.execCommand("print",!1,void 0)}catch{window.print()}})},150)}const n=s.loading(r.table3.print.loading),l=function(){if(c.server.isEnabled&&c.server.loadAllIfNeeded){const e=Os((function(){return Promise.resolve(c.server.loadAllIfNeeded(t.getState().sorting,t.getState().columnFilters,void 0)).then((function(){}))}),(function(e){const t=`${r.table3.print.error}: ${e}`;console.error(t),n.error(t)}));if(e&&e.then)return e.then((function(){}))}}();return Promise.resolve(l&&l.then?l.then(e):e())}catch(e){return Promise.reject(e)}},[m,g]=n.useState("portrait"),[f,h]=n.useState("A4"),[v,p]=n.useState(!0),[w,b]=n.useState(!0),E=[`@page { size: ${f} ${m}; }`];v||E.push(`table[data-taco='report']#${l} tr:not([data-row-selected="true"]) { display: none; }`),w&&E.push(`table[data-taco='report']#${l} tr[data-row-group]:not(:first-child) { break-before: page; }`);const x={key:"p",meta:!0,shift:!1},y=n.createElement(n.Fragment,null,r.table3.print.tooltip,n.createElement(fi,{className:"ml-2",keys:x}));return n.createElement(n.Fragment,null,n.createElement("style",{media:"print"},E.join("\n")),n.createElement(or,{icon:"print","aria-label":r.table3.print.tooltip,dialog:e=>n.createElement(iu,Object.assign({},e,{table:t,onAccept:d,orientation:m,setOrientation:g,size:f,setSize:h,allRows:v,setAllRows:p,splitGroups:w,setSplitGroups:b})),ref:o,shortcut:x,tooltip:y}))}ru.displayName="Select2";const cu=(e,t=!1)=>{const[l,a]=n.useState(t),r=n.useCallback(e=>a(e.matches),[]);return n.useEffect(()=>{const t=window.matchMedia(e);return a(t.matches),t.addEventListener("change",r),()=>{t.removeEventListener("change",r)}},[]),l},uu=()=>cu("(min-width: 1024px)",window.innerWidth>1024);function du(e,t){var n,l,a,r;return null===(n=e.columnDef.meta)||void 0===n||null===(l=n.header)||void 0===l||null===(a=l.localeCompare)||void 0===a?void 0:a.call(l,null===(r=t.columnDef.meta)||void 0===r?void 0:r.header)}function mu(e){const{allColumns:t,filters:l,onChange:a,value:r=null,...o}=e,{texts:i}=dr(),s=t.find(e=>e.id===r),c=s&&!s.getIsVisible();return n.createElement("div",{className:"flex flex-col"},n.createElement(Qo,{message:c?i.table3.filters.hiddenColumn:void 0,warning:c,className:"min-h-[theme(spacing.8)]"},n.createElement(ru,Object.assign({},o,{className:"!w-32 flex-shrink-0",emptyValue:null,onChange:a,value:r}),t.map(e=>{var t,a,o;return n.createElement(ru.Option,{key:e.id,value:e.id,postfix:!e.getIsVisible()||e.getIsGrouped()?n.createElement(tr,{title:e.getIsGrouped()?i.table3.filters.hiddenGroupedColumn:i.table3.filters.hiddenColumn},n.createElement(ya,{name:"eye-off",className:"text-grey-500 !h-5 !w-5"})):void 0,disabled:!(e.id===r||e.getCanFilter()&&!l.find(t=>t.id===e.id))},(null===(t=e.columnDef.meta)||void 0===t?void 0:t.header)+(e.parent?` (${null===(a=e.parent)||void 0===a||null===(o=a.columnDef.meta)||void 0===o?void 0:o.header})`:""))}))))}function gu(e){const{column:t,onChange:l,value:a,...r}=e,{texts:o}=dr(),i=function(e){var t;const l=null!==(t=null==e?void 0:e.columnDef.meta)&&void 0!==t?t:{};if(Array.isArray(l.filters))return l.filters;if("function"==typeof l.control){const e=l.control({onBlur:()=>{},onFocus:()=>{},setValue:()=>{},value:void 0,disabled:!1,readOnly:!1,ref:void 0});if(n.isValidElement(e)){const{props:t,type:n}=e;if("Select2"===n.displayName)return t.multiple?[us.HasAnyOf,us.HasAllOf,us.IsEqualTo,us.HasNoneOf,us.IsEmpty,us.IsNotEmpty]:[us.IsEqualTo,us.IsNotEqualTo,us.IsEmpty,us.IsNotEmpty]}}return"number"===l.dataType?[us.IsEqualTo,us.IsNotEqualTo,us.IsGreaterThan,us.IsLessThan,us.IsBetween,us.IsEmpty,us.IsNotEmpty]:"datepicker"===l.control||"datetime"===l.dataType?[us.IsEqualTo,us.IsNotEqualTo,us.IsBetween,us.IsLessThan,us.IsGreaterThan,us.IsEmpty,us.IsNotEmpty,us.IsLessThanOrEqualTo,us.IsGreaterThanOrEqualTo]:"switch"===l.control?[us.IsEqualTo]:[us.Contains,us.DoesNotContain,us.IsEqualTo,us.IsNotEqualTo,us.IsEmpty,us.IsNotEmpty]}(t);return n.useEffect(()=>{void 0!==a&&i.includes(a)||null==l||l(i[0])},[i]),n.createElement(ru,Object.assign({},r,{className:"!w-32 flex-shrink-0",disabled:!t,onChange:l,value:a}),i.map(e=>n.createElement(ru.Option,{key:e,value:e},function(e,t,n){var l,a;const r="datepicker"===(null==n||null===(l=n.columnDef)||void 0===l||null===(a=l.meta)||void 0===a?void 0:a.control);switch(e){case us.Contains:return t.table3.filters.comparators.contains;case us.DoesNotContain:return t.table3.filters.comparators.doesNotContain;case us.IsEqualTo:return t.table3.filters.comparators.isEqualTo;case us.IsNotEqualTo:return t.table3.filters.comparators.isNotEqualTo;case us.IsGreaterThan:return r?t.table3.filters.comparators.isAfter:t.table3.filters.comparators.isGreaterThan;case us.IsLessThan:return r?t.table3.filters.comparators.isBefore:t.table3.filters.comparators.isLessThan;case us.IsBetween:return t.table3.filters.comparators.isBetween;case us.IsEmpty:return t.table3.filters.comparators.isEmpty;case us.IsNotEmpty:return t.table3.filters.comparators.isNotEmpty;case us.IsLessThanOrEqualTo:return r?t.table3.filters.comparators.isOnOrBefore:t.table3.filters.comparators.isLessThanOrEqualTo;case us.IsGreaterThanOrEqualTo:return r?t.table3.filters.comparators.isOnOrAfter:t.table3.filters.comparators.isGreaterThanOrEqualTo;case us.HasAnyOf:return t.table3.filters.comparators.hasAnyOf;case us.HasAllOf:return t.table3.filters.comparators.hasAllOf;case us.HasNoneOf:return t.table3.filters.comparators.hasNoneOf;default:return""}}(e,o,t))))}function fu(e){const{column:t,comparator:l,onChange:a,value:r}=e,{texts:o}=dr();if(l===us.IsEmpty||l===us.IsNotEmpty)return null;if(l===us.IsBetween){var i;const e=Array.isArray(r)?r[0]:void 0,l=Array.isArray(r)?r[1]:void 0;return void 0===t?n.createElement(Ir,{"aria-label":o.table3.filters.emptyFilter.value,className:"flex-grow",disabled:!0,value:o.table3.filters.emptyFilter.value}):"datetime"===(null===(i=t.columnDef.meta)||void 0===i?void 0:i.dataType)?n.createElement("div",{className:"flex flex-grow items-center gap-2"},n.createElement(hu,{column:t,onChange:e=>a([e,l]),value:e}),n.createElement(hu,{column:t,onChange:t=>a([e,t]),value:l})):n.createElement("div",{className:"flex flex-grow items-center gap-2"},n.createElement(hu,{column:t,onChange:e=>a([isNaN(e)?void 0:e,l]),placeholder:"from",value:null!=e?e:""}),n.createElement(hu,{column:t,onChange:t=>a([e,isNaN(t)?void 0:t]),placeholder:"to",value:null!=l?l:""}))}return n.createElement(hu,{comparator:l,column:t,onChange:a,value:r})}function hu(e){var l,a;const{column:r,onChange:o,value:i,...s}=e,c=null==r||null===(l=r.columnDef.meta)||void 0===l?void 0:l.control,u=null==r||null===(a=r.columnDef.meta)||void 0===a?void 0:a.dataType;return t.useEffect(()=>{"switch"===c&&o(!1)},[]),"function"==typeof c?c({...s,setValue:e=>o(e),value:i}):"datepicker"===c||"datetime"===u?n.createElement(go,Object.assign({},s,{onChange:e=>o(e.detail),value:i})):"switch"===c?n.createElement(mc,Object.assign({},s,{className:"m-1.5",checked:Boolean(i),onChange:o})):n.createElement(Ir,"input"!==c&&void 0!==c||"number"!==u?Object.assign({disabled:!r},s,{className:"flex-grow",onChange:e=>o(e.target.value),value:String(null!=i?i:"")}):Object.assign({},s,{className:"flex-grow",type:"number",onChange:e=>o(e.target.valueAsNumber),value:String(null!=i?i:"")}))}function vu(e){const{allColumns:t,filter:l,filters:a,onChange:r,onRemove:o,position:i}=e,{texts:s}=dr(),c=t.find(e=>e.id===l.id),{id:u,value:{comparator:d,value:m}}=l;return n.createElement("div",{className:"flex items-start gap-2"},n.createElement("div",{className:"flex min-h-[theme(spacing.8)] w-14 flex-shrink-0 items-center justify-end pr-2 text-right"},i>0?s.table3.filters.conditions.and:s.table3.filters.conditions.where),n.createElement(mu,{allColumns:t,filters:a,onChange:e=>{var n,a;const o=t.find(e=>e.id===u),i=t.find(t=>t.id===e),s=(null==o||null===(n=o.columnDef.meta)||void 0===n?void 0:n.dataType)===(null==i||null===(a=i.columnDef.meta)||void 0===a?void 0:a.dataType)?l.value:{comparator:us.Contains,value:void 0};r(u,{id:e,value:s})},value:u}),n.createElement(gu,{column:c,onChange:e=>{let t=l.value.value;e!==us.IsEmpty&&e!==us.IsNotEmpty||(t=void 0),r(u,{id:u,value:{comparator:e,value:t}})},value:d}),n.createElement(fu,{column:c,comparator:d,onChange:e=>{r(u,{id:u,value:{...l.value,value:e}})},value:m}),n.createElement(or,{appearance:"discrete",className:"ml-auto",icon:"close",onClick:()=>o(u)}))}function pu(e){const{allColumns:t,filters:l,onCreate:a,onRemove:r,position:o}=e,{texts:i}=dr();return n.createElement("div",{className:"flex items-start gap-2"},n.createElement("div",{className:"flex min-h-[theme(spacing.8)] w-14 flex-shrink-0 items-center justify-end pr-2 text-right"},o>0?i.table3.filters.conditions.and:i.table3.filters.conditions.where),n.createElement(mu,{allColumns:t,filters:l,onChange:a,value:null}),n.createElement(gu,null),n.createElement(Ir,{"aria-label":i.table3.filters.emptyFilter.value,className:"flex-grow",disabled:!0,value:i.table3.filters.emptyFilter.value}),r?n.createElement(or,{appearance:"discrete",icon:"close",onClick:r}):null)}function wu(e){const{length:t,table:l,...a}=e,{locale:r,texts:o}=dr(),i=l.getAllLeafColumns().filter(e=>!as(e.id)).sort(du),s=l.getState().columnFilters,[c,u]=n.useState(l.getState().columnFilters),[d,m]=n.useState(1);n.useEffect(()=>{0===s.length&&(u([]),m(1))},[s]);const g=(e,t)=>{u(n=>{const l=[...n];return l[l.findIndex(t=>t.id===e)]=t,l})},f=e=>{1===c.length&&0===d&&m(e=>e+1),u(t=>t.filter(t=>t.id!==e))},h=e=>{u(t=>[...t,{id:e,value:{comparator:us.Contains,value:void 0}}]),v()},v=()=>{m(e=>e-1)};return n.createElement(mo,Object.assign({},a,{onChange:()=>{u(s),m(s.length?0:1)}}),n.createElement(mo.Content,null,n.createElement("div",{className:"flex w-[40rem] flex-col gap-4"},n.createElement("div",{className:"flex h-8"},n.createElement("div",{className:"flex w-full items-center gap-2"},n.createElement("h4",{className:"mb-0 inline-flex"},o.table3.filters.button),n.createElement("p",{className:"text-grey-700 mb-0 mr-auto mt-px inline-flex"},o.table3.filters.total.replace("[CURRENT]",new Intl.NumberFormat(r).format(l.getFilteredRowModel().rows.length)).replace("[TOTAL]",new Intl.NumberFormat(r).format(t))))),n.createElement("div",{className:"flex flex-col gap-2"},c.map((e,t)=>n.createElement(vu,{key:"filter_"+t,allColumns:i,filter:e,filters:c,position:t,onChange:g,onRemove:f})),[...Array(d)].map((e,t)=>n.createElement(pu,{key:"placeholder_"+t,allColumns:i,filters:c,position:c.length+t,onCreate:h,onRemove:d>1||c.length>0?v:void 0})),n.createElement("div",{className:"justify-start"},n.createElement(fr,{appearance:"discrete",onClick:()=>{m(e=>e+1)}},"+ ",o.table3.filters.buttons.addFilter))),n.createElement(So,{className:"ml-auto"},n.createElement(mo.Close,null,n.createElement(fr,null,"Cancel")),n.createElement(fr,{onClick:()=>{l.resetColumnFilters(),u([]),m(1)}},"Clear"),n.createElement(fr,{appearance:"primary",onClick:()=>{l.setColumnFilters(()=>c.filter(e=>{var t,n;if(null===e.id)return!1;const l=null===(t=i.find(t=>t.id===e.id))||void 0===t||null===(n=t.columnDef.meta)||void 0===n?void 0:n.control;return e.value.comparator===us.IsEmpty||e.value.comparator===us.IsNotEmpty||"switch"===l||!!e.value.value}))}},"Apply")))))}function bu(e){const{length:t,table:l}=e,{texts:a}=dr(),r=uu(),o=l.getState().columnFilters,i={key:"f",meta:!0,shift:!0},s={"aria-label":a.table3.filters.tooltip,className:o.length?"!wcag-blue-100":void 0,popover:e=>n.createElement(wu,Object.assign({},e,{length:t,table:l})),shortcut:i,tooltip:n.createElement(n.Fragment,null,a.table3.filters.tooltip,n.createElement(fi,{className:"ml-2",keys:i}))};return r||o.length?n.createElement(fr,Object.assign({},s),n.createElement(ya,{className:r?void 0:"-mr-1.5",name:o.length?"filter-solid":"filter"}),r?a.table3.filters.button:"",o.length?`(${o.length})`:""):n.createElement(or,Object.assign({},s,{icon:"filter"}))}function Eu(e){const{customSettings:t,left:l,length:a,right:r,scrollToIndex:o,table:i,tableId:s,tableRef:c}=e,u=i.options.meta;if(!function(e,t){const{left:n,right:l,table:a}=e,r=a.options.meta;return a.options.enableColumnFilters||r.printing.isEnabled||xu(a,t)||r.search.isEnabled||!!n||!!l}(e,t))return null;const d=i.options.enableColumnFilters,m=u.printing.isEnabled,g=xu(i,t),f=u.search.isEnabled;return n.createElement("div",{className:"mb-4 flex flex-shrink flex-grow-0 flex-wrap gap-2 print:hidden","data-taco":"report-toolbar"},l,n.createElement(So,{className:"ml-auto flex-shrink-0 print:hidden"},d?n.createElement(bu,{length:a,table:i}):null,r,m?n.createElement(su,{table:i,tableId:s,tableRef:c}):null,g?n.createElement(Ec,{customSettings:t,table:i}):null,f?n.createElement(gc,{scrollToIndex:o,table:i}):null))}function xu(e,t){const n=e.options.meta;return e.options.enableHiding||n.columnOrdering.isEnabled||n.fontSize.isEnabled||n.rowHeight.isEnabled||"function"==typeof t}const yu={short:33,medium:41,tall:49,"extra-tall":57},zu=yu.medium+2;function Ru(e){const{index:t,row:l,table:a}=e;return a.options.meta.server.isEnabled?n.createElement(Cu,Object.assign({},e,{index:t})):n.createElement(Su,{id:l.id,cells:l.getVisibleCells()})}function Cu(e){const{index:t,row:l,table:a}=e,r=a.options.meta,o=Math.floor(t/r.server.pageSize)*r.server.pageSize/r.server.pageSize,{ref:i,inView:s}=A.useInView({threshold:0,triggerOnce:!0,initialInView:0===o});return n.useEffect(()=>{var e,t;s&&(null===(e=(t=r.server).loadPage)||void 0===e||e.call(t,o,a.getState().sorting,a.getState().columnFilters,a.getState().globalFilter))},[s]),n.createElement(Su,{cells:l.getVisibleCells(),ref:i})}const Su=n.forwardRef((function(e,t){const{cells:l}=e;return n.createElement(n.Fragment,null,n.createElement("tr",{ref:t},l.map(e=>n.createElement("td",{key:e.id},n.createElement("span",{className:"bg-grey-100 text-grey-700 h-4 w-full text-center text-xs"})))))}));function Nu(e,t){const n=e.column.columnDef.meta,l=e.column.getIsPinned(),a={"data-cell-align":null==n?void 0:n.align,"data-cell-highlighted":t,"data-cell-id":e.column.id,"data-cell-pinned":!!l||void 0,"data-cell-truncate":!!n.enableTruncate||void 0,className:"function"==typeof n.className?n.className(e.row.original):n.className,style:{}};return l&&(a.style[l]=e.column.getStart(l)+"px"),a}function Au(e){const{cell:t,cellRef:l,isHighlighted:a}=e,r=t.getContext().table.options.meta,o=Nu(t,a),{isHovered:i,rowIndex:s}=n.useContext(Gs);return n.createElement(Ou,Object.assign({},o,{cell:t,cellRef:l,canShowActions:r.rowActive.rowActiveIndex===s||i&&!r.rowActive.isHoverStatePaused,fontSize:r.fontSize.size,rowActions:r.rowGroups.rowActionsForGroup}))}const Ou=n.memo((function(e){const{canShowActions:t,cell:l,cellRef:a,fontSize:r,rowActions:o,...i}=e,s=l.row.getVisibleCells().filter(e=>!as(e.column.id)).length-1,c=l.getContext().row.subRows.map(e=>e.original);return n.createElement("td",Object.assign({},i,{ref:a,style:{gridColumn:`span ${s} / span ${s}`}}),n.createElement("span",{className:"grow"},z.flexRender(l.column.columnDef.cell,l.getContext())),null!=o&&o.length&&t?n.createElement($s,{actions:o,actionsLength:4,data:c,fontSize:r,isActiveRow:!0}):null)})),Iu=n.memo((function(e){const{cell:t,cellRef:l,isHighlighted:a}=e,r=t.column.columnDef.meta,o=Nu(t,a),i=!!r.enableTruncate,s=z.flexRender(t.column.columnDef.cell,t.getContext());return n.createElement("td",Object.assign({},o,{ref:l}),i?n.createElement("span",{className:"truncate print:overflow-visible print:whitespace-normal"},s):s)}));function Lu(e){const{cell:t,index:l}=e,a=n.useRef(null),r=function(e,t,l){const a=e.getContext(),r=a.table.options.meta,o=e.column.columnDef.meta,i=n.useMemo(()=>{if(!e.column.columnDef.enableGlobalFilter||as(e.column.id)||e.getIsAggregated()||e.getIsPlaceholder())return;let n=!1;var l,i;if(a.table.getState().globalFilter&&(l=a.table.getState().globalFilter,n=null!=(i=e.getValue())&&String(os(i,o.dataType)).toLocaleLowerCase().includes(l.toLocaleLowerCase())),!n||void 0===r.search.currentHighlightColumnIndex)return;const[s,c]=r.search.highlightedColumnIndexes[r.search.currentHighlightColumnIndex];return s!==e.row.index||c!==t||"current"},[e.getValue(),a.table.getState().globalFilter,r.search.highlightedColumnIndexes.length,r.search.currentHighlightColumnIndex]);return n.useEffect(()=>{l.current&&"current"===i&&(l.current.scrollIntoView({block:"nearest",inline:"nearest"}),setTimeout(()=>{if(l.current){const t=l.current.closest('table[data-taco="report"]');setTimeout(()=>{const n=null==t?void 0:t.querySelectorAll('thead tr:last-child th[data-cell-pinned="left"]');if(null!=n&&n.length){var l;const a=null===(l=n.item(n.length-1))||void 0===l?void 0:l.getBoundingClientRect();a&&e.column.getStart()<a.right&&(null==t||t.scrollTo(e.column.getStart()-a.right,t.scrollTop))}},1)}},1))},[i]),i}(t,l,a);if((t.getIsAggregated()||t.getIsPlaceholder())&&!as(t.column.id))return null;const o={cell:t,cellRef:a,isHighlighted:r};return t.getIsGrouped()?n.createElement(Au,Object.assign({},o)):n.createElement(Iu,Object.assign({},o))}const Hu=n.memo((function(e){const{index:t,measureRow:a,row:r,table:o}=e,{setIsHovered:i}=n.useContext(Gs),s=o.options.meta,c={"data-row-id":r.id,"data-row-index":t,onMouseEnter:n.useCallback(()=>i(!0),[]),onMouseLeave:n.useCallback(()=>i(!1),[]),tabIndex:-1},u=n.useCallback(e=>{var t;const n=e.target;null===(t=e.currentTarget)||void 0===t||!t.contains(e.target)||Mu.includes(n.tagName.toLowerCase())||n.closest(Mu.map(e=>"tr "+e).join(","))||s.rowClick.handleClick(e,r.original)},[r.original]),d=n.useCallback(()=>{requestAnimationFrame(()=>s.rowActive.setRowActiveIndex(t))},[]);let m;var g,f,h;s.rowActive.isEnabled&&(c["data-row-active"]=s.rowActive.rowActiveIndex===t||void 0,c.onClickCapture=d),s.rowClick.isEnabled&&(c.onClick=u),o.options.enableGrouping&&(c["data-row-group"]=!!r.getIsGrouped()||void 0),o.options.enableRowSelection&&(c["data-row-selected"]=!(!r.getIsSelected()&&!r.getIsAllSubRowsSelected())||void 0),s.rowExpansion.isEnabled&&r.getIsExpanded()&&(c["data-row-expanded"]=!0,m=null===(g=(f=s.rowExpansion).rowExpansionRenderer)||void 0===g||null===(h=g.call(f,r.original))||void 0===h?void 0:h());const v=r.original._meta;v&&v.layout&&(c["data-row-meta-layout"]=v.layout);const p=n.useRef(null),w=n.useRef(null);!function(e,t,l,a){n.useEffect(()=>{if(t){const n=t.getBoundingClientRect().height;a&&l?e(n,l.getBoundingClientRect().height):e(n)}},[a,t,l])}(a,p.current,w.current,!!c["data-row-expanded"]);const b=l("group/row",{"hover:cursor-pointer":"function"==typeof c.onClick});return n.createElement(n.Fragment,null,n.createElement("tr",Object.assign({},c,{className:b,ref:p}),r.getVisibleCells().map((e,t)=>n.createElement(Lu,{key:e.id,cell:e,index:t}))),m?n.createElement("tr",{"data-row-parent-id":r.id,ref:w},n.createElement("td",{className:"col-span-full"},m)):null)})),Mu=["input","button","a","select","option","label","textarea"];function ku(e){const[t,l]=n.useState(!1),a=n.useMemo(()=>({isHovered:t,setIsHovered:l,rowIndex:e.index}),[t]);return void 0===e.row.original?n.createElement(Ru,Object.assign({},e)):n.createElement(Gs.Provider,{value:a},n.createElement(Hu,Object.assign({},e)))}const Vu=ls((function(e,t){var a;const r=qa(t),o=function(e,t){const a=function(e,t,l,a){var r,o;const i=function(e){var t,l,a,r,o,i,s,c,u,d,m,g,f,h,v,p,w,b,E,x;const y=e.preset?bs[e.preset]:ws,z=null!==(t=e.enableRowActions)&&void 0!==t?t:y.enableRowActions,R=null!==(l=e.enableRowClick)&&void 0!==l?l:y.enableRowClick,C=null!==(a=e.enableRowGoto)&&void 0!==a?a:y.enableRowGoto,S=null!==(r=e.enableRowExpansion)&&void 0!==r?r:y.enableRowExpansion,N=null!==(o=e.enableRowSelection)&&void 0!==o?o:y.enableRowSelection,A=null!==(i=e.enableRowSelectionSingle)&&void 0!==i?i:y.enableRowSelectionSingle;return n.useEffect(()=>{var t;!z||null!==(t=e.rowActions)&&void 0!==t&&t.length||console.warn(`Table (id: ${e.id}) - Row actions is enabled but no \`rowActions\` has been provided. Provide one to enable row actions or set \`enableRowActions\` to \`false\`.`),R&&!e.onRowClick&&console.warn(`Table (id: ${e.id}) - Row click is enabled but no \`onRowClick\` handler has been provided. Provide one to enable row click or set \`enableRowClick\` to \`false\`.`),C&&!e.onRowGoto&&console.warn(`Table (id: ${e.id}) - Row click is enabled but no \`onRowGoto\` handler has been provided. Provide one to enable row goto or set \`enableRowGoto\` to \`false\`.`),S&&!e.rowExpansionRenderer&&console.warn(`Table (id: ${e.id}) - Row expansion is enabled but no \`rowExpansionRenderer\` has been provided. Provide one to enable row expansion or set \`enableRowExpansion\` to \`false\`.`),N&&!e.onRowSelect&&console.warn(`Table (id: ${e.id}) - Row selection is enabled but no \`onRowSelect\` handler has been provided. Provide one to enable row selection or set \`enableRowSelection\` to \`false\`.`),A&&!e.onRowSelect&&console.warn(`Table (id: ${e.id}) - Row selection (single) is enabled but no \`onRowSelect\` handler has been provided. Provide one to enable row selection or set \`enableRowSelectionSingle\` to \`false\`.`)},[]),{enableFiltering:null!==(s=e.enableFiltering)&&void 0!==s?s:y.enableFiltering,enableSearch:null!==(c=e.enableSearch)&&void 0!==c?c:y.enableSearch,enableSorting:null!==(u=e.enableSorting)&&void 0!==u?u:y.enableSorting,enableColumnFreezing:null!==(d=e.enableColumnFreezing)&&void 0!==d?d:y.enableColumnFreezing,enableColumnHiding:null!==(m=e.enableColumnHiding)&&void 0!==m?m:y.enableColumnHiding,enableColumnResizing:null!==(g=e.enableColumnResizing)&&void 0!==g?g:y.enableColumnResizing,enableRowExpansion:S&&!!e.rowExpansionRenderer,enableRowSelection:N&&!!e.onRowSelect,enableRowSelectionSingle:A&&!!e.onRowSelect,enableColumnOrdering:null!==(f=e.enableColumnOrdering)&&void 0!==f?f:y.enableColumnOrdering,enableFontSize:null!==(h=e.enableFontSize)&&void 0!==h?h:y.enableFontSize,enableFooter:null!==(v=e.enableFooter)&&void 0!==v?v:y.enableFooter,enablePrinting:null!==(p=e.enablePrinting)&&void 0!==p?p:y.enablePrinting,enableRowActive:null!==(w=e.enableRowActive)&&void 0!==w?w:y.enableRowActive,enableRowActions:z&&!(null===(b=e.rowActions)||void 0===b||!b.length),enableRowClick:R&&!!e.onRowClick,enableRowGoto:C&&!!e.onRowGoto,enableRowHeight:null!==(E=e.enableRowHeight)&&void 0!==E?E:y.enableRowHeight,enableSettings:null!==(x=e.enableSettings)&&void 0!==x?x:y.enableSettings}}(e),[s,c]=function(e=!1,t,l={},a){const r=(o=t,`taco.${Ms().uniqueUserIdentifier}.table.${o}.settings`);var o;const[i,s]=Hs(e?r:void 0,l),c=n.useCallback(t=>{e&&(s(t),"function"==typeof a&&a(t))},[e,a]);return e?[i,c]:[l,()=>{}]}(i.enableSettings,e.id,e.defaultSettings,e.onChangeSettings),u=function(e=!1){const[t,l]=n.useState(!1);return{isEnabled:e,isHorizontallyScrolled:t,handleScroll:e=>{e.currentTarget.scrollLeft>0&&!t?l(!0):0===e.currentTarget.scrollLeft&&t&&l(!1)}}}(i.enableColumnFreezing),d=Es(i.enableColumnOrdering),m=xs(i.enableFontSize,s.fontSize),g=function(e=!1){return{isEnabled:e}}(i.enableFooter),f=function(e=!1,t=!0){const[l,a]=n.useState(!1),[r,o]=n.useState(t);return{isEnabled:e,isPrinting:l,setIsPrinting:a,isWarningVisibleForLargeDatasets:r,setIsWarningVisibleForLargeDatasets:e?o:()=>{}}}(i.enablePrinting,s.showWarningWhenPrintingLargeDataset),h=Rs(i.enableRowActive,e.defaultRowActiveIndex),v=function(e=!1,t,n=4){return{isEnabled:e,rowActions:e?t:void 0,rowActionsLength:t?Math.min(t.length,n):0}}(i.enableRowActions,e.rowActions,e.rowActionsLength),p=Cs(i.enableRowClick,e.onRowClick),w=function(e=!1,t){return{isEnabled:e,rowExpansionRenderer:e?t:void 0}}(i.enableRowExpansion,e.rowExpansionRenderer),b=Ss(i.enableRowGoto,e.onRowGoto),E={isEnabled:!0,rowActionsForGroup:e.rowActionsForGroup},x=Ns(i.enableRowHeight,s.rowHeight),y=As(i.enableRowSelection),R=function(e=!1,t=!1){const[l,a]=n.useState(t),[r,o]=n.useState([]),[i,s]=n.useState(void 0);return{isEnabled:e,enableGlobalFilter:l,setEnableGlobalFilter:function(e,t){a(e);const n=t.getState().globalFilter;n&&setTimeout(()=>{t.setGlobalFilter(""),t.setGlobalFilter(n)},1)},highlightedColumnIndexes:r,setHighlightedColumnIndexes:o,currentHighlightColumnIndex:i,setCurrentHighlightColumnIndex:s}}(i.enableSearch,s.excludeUnmatchedRecordsInSearch),C=Ls(e.loadPage,e.loadAll,e.pageSize),{columns:S,...N}=function(e,t,l,a){const{children:r,defaultRowGroupColumnId:o}=e,i={},s=[],c={},u=n.Children.toArray(r).reduce((e,l)=>function e(t,l,a,r,o,i,s){const c=z.createColumnHelper();if(n.isValidElement(t)&&t.props.children){const{children:u,id:d,header:m}=t.props;l.push(c.group({id:d,header:m,columns:n.Children.toArray(u).reduce((t,n)=>e(n,t,a,r,o,i,s),[]),enableGrouping:!1}))}else if(n.isValidElement(t)&&(t.props.accessor||t.props.id)){const{id:e,accessor:n=e,renderer:c,aggregate:m,footer:g,header:f,aggregationFn:h,defaultHidden:v,defaultWidth:p,enableFiltering:w=!0,enableGrouping:b=!1,enableHiding:E=!0,enableOrdering:x=!0,enablePrinting:y=!0,enableResizing:z=!0,enableSearch:R=!0,enableSorting:C=!0,enableTruncate:S=!1,minWidth:N=rs(i.fontSize),sort:A,sortFn:O,...I}=t.props;v&&E&&(o[e]=!1),p&&(a[e]=p),void 0!==t.props.sort&&r.push({id:e,desc:"desc"===A});const L=s===e,H={id:e,accessorKey:n,header:f,enableColumnFilter:w,enableGlobalFilter:R,enableGrouping:b,enableHiding:!L&&E,enableResizing:z,enableSorting:C,minSize:N,meta:{...I,defaultWidth:p,enableOrdering:!L&&x,enablePrinting:y,enableTruncate:S,header:f}};"function"==typeof c&&(H.cell=e=>c(e.getValue(),e.row.original)),"function"==typeof g&&(H.footer=t=>g(t.table.getRowModel().rows.map(t=>t.original[e]))),w&&(H.filterFn="tacoFilter"),b&&(H.aggregationFn=h,"function"==typeof m&&(H.aggregatedCell=e=>m(e.getValue(),e.row.original))),C&&(H.sortingFn=(u=t.props.dataType,"function"==typeof(d=O)?(e,t,n)=>d(e.original,t.original,n):d||(u&&"boolean"!==u&&"number"!==u?u:"auto")),H.sortDescFirst=!1,H.sortUndefined=1),l.push(H)}var u,d;return l}(l,e,i,s,c,t,o),[]);if(a){var d;if(l.enableRowExpansion&&e.rowExpansionRenderer&&a.rowExpansion){const e=vs("__expansion",a.rowExpansion,i);u.unshift(e)}if((l.enableRowSelection||l.enableRowSelectionSingle)&&a.rowSelection){const e=vs("__select",a.rowSelection,i);u.unshift(e)}if(l.enableRowActions&&null!==(d=e.rowActions)&&void 0!==d&&d.length&&a.rowActions){const e=vs("__actions",a.rowActions,i);u.push(e)}}return{columns:u,defaultSizing:i,defaultSorting:s,defaultVisibility:c}}(e,s,i,a),A=function(e,t,l,a){return n.useMemo(()=>{var n,r,o,i,s,c,u,d,m,g,f,h,v,p,w,b,E,x,y,z,R,C,S,N,A,O;const I=is(t,null!==(n=l.columnOrder)&&void 0!==n?n:null===(r=e.defaultSettings)||void 0===r?void 0:r.columnOrder),L=null!==(o=null!==(i=l.columnPinning)&&void 0!==i?i:null===(s=e.defaultSettings)||void 0===s?void 0:s.columnPinning)&&void 0!==o?o:{};null!=L&&null!==(c=L.left)&&void 0!==c&&c.length||(L.left=e.defaultColumnFreezingIndex?cs(e.defaultColumnFreezingIndex,I):ss(I));const H={columnFilters:null!==(u=null!==(d=l.columnFilters)&&void 0!==d?d:null===(m=e.defaultSettings)||void 0===m?void 0:m.columnFilters)&&void 0!==u?u:[],columnOrder:I,columnPinning:L,columnSizing:null!==(g=null!==(f=null!==(h=l.columnSizing)&&void 0!==h?h:null===(v=e.defaultSettings)||void 0===v?void 0:v.columnSizing)&&void 0!==f?f:a.defaultSizing)&&void 0!==g?g:{},columnVisibility:null!==(p=null!==(w=null!==(b=l.columnVisibility)&&void 0!==b?b:null===(E=e.defaultSettings)||void 0===E?void 0:E.columnVisibility)&&void 0!==w?w:a.defaultVisibility)&&void 0!==p?p:{},globalFilter:null!==(x=l.searchQuery)&&void 0!==x?x:null===(y=e.defaultSettings)||void 0===y?void 0:y.searchQuery,sorting:l.sorting?l.sorting.filter(e=>t.find(t=>t.id===e.id)):null!==(z=null===(R=e.defaultSettings)||void 0===R?void 0:R.sorting)&&void 0!==z?z:a.defaultSorting};return(null!==(C=null!==(S=null===(N=l.grouping)||void 0===N?void 0:N.length)&&void 0!==S?S:null===(A=e.defaultSettings)||void 0===A||null===(O=A.grouping)||void 0===O?void 0:O.length)&&void 0!==C?C:e.defaultRowGroupColumnId)&&(H.grouping=[e.defaultRowGroupColumnId],H.expanded=!0),H},[])}(e,S,s,N),O=z.useReactTable({data:e.data,columns:S,initialState:A,...ps(i,e),enableGlobalFilter:R.enableGlobalFilter,meta:{columnFreezing:u,columnOrdering:d,fontSize:m,footer:g,printing:f,rowActions:v,rowActive:h,rowClick:p,rowExpansion:w,rowGoto:b,rowGroups:E,rowHeight:x,rowSelection:y,search:R,server:C}});return Vs(O),js(O,e.onChangeFilter),Ts(O),function(e){const t=e.options.meta;ks(()=>{"short"===t.rowHeight.height&&t.fontSize.size===exports.FontSizes.large&&t.fontSize.setSize(exports.FontSizes.medium)},[t.rowHeight.height])}(O),Ds(O,e.onRowSelect),function(e){const t=e.options.meta;n.useEffect(()=>{t.search.isEnabled&&function(e,t){const n=t.options.meta;let l;if(e){const a=[],r=t.getVisibleLeafColumns();t.getRowModel().rows.forEach((t,n)=>{r.forEach((l,r)=>{try{if(l.getIsVisible()&&l.columnDef.enableGlobalFilter){var o,i;const s=os(null===(o=t.original)||void 0===o?void 0:o[l.id],null===(i=l.columnDef.meta)||void 0===i?void 0:i.dataType);void 0!==s&&gs(s,e)&&a.push([n,r])}}catch(e){}})}),n.search.setHighlightedColumnIndexes(a),a.length?(l=a[0][0],n.search.setCurrentHighlightColumnIndex(0)):n.search.setCurrentHighlightColumnIndex(void 0)}else n.search.setHighlightedColumnIndexes([]),n.search.setCurrentHighlightColumnIndex(void 0);void 0!==l&&n.rowActive.setRowActiveIndex(l)}(e.getState().globalFilter,e)},[t.server.loadAllStatus,t.search.isEnabled,t.search.enableGlobalFilter,e.getRowModel().rows.length,e.getState().globalFilter,JSON.stringify(e.getState().sorting),JSON.stringify(e.getState().columnVisibility)])}(O),_s(O,C.loadPage),function(e,t){const l=e.options.meta,a=e.getState();n.useEffect(()=>{let n;return"function"==typeof t&&(n=setTimeout(()=>{t(Fs(e))},250)),()=>clearTimeout(n)},[a.columnOrder,a.columnPinning,a.columnSizing,a.columnVisibility,l.search.excludeUnmatchedResults,l.fontSize.size,a.grouping,l.rowHeight.height,l.printing.isWarningVisibleForLargeDatasets,a.sorting])}(O,c),Ps(O,e.shortcuts),Bs(O,e.onChangeSort),function(e,t){n.useEffect(()=>{t.current&&(t.current.instance={resetFiltering:()=>e.resetColumnFilters(),resetRowExpansion:()=>e.resetExpanded(),resetRowSelection:()=>e.resetRowSelection(),resetSorting:()=>e.resetSorting()})},[e,t.current])}(O,t),{instance:O,length:null!==(r=e.length)&&void 0!==r?r:e.data.length,meta:null!==(o=O.options.meta)&&void 0!==o?o:{},state:O.getState()}}(e,t,0,n.useMemo(()=>({rowActions:{header:qs,renderer:Ks,meta:{align:"right",className:l('print:opacity-0 !px-0 !pr-1 overflow-hidden [table_&]:group-[[data-row-active="true"]]/row:sticky [table[data-table-pause-hover="false"]_&]:group-hover/row:sticky right-0','group-[[data-row-active="true"][data-selected="false"]]/row:text-grey-200','group-[[data-row-selected="true"]]/row:text-blue-100','group-[[data-row-selected="false"]:hover]/row:text-grey-100'),header:""}},rowExpansion:{header:Us,renderer:Ws,size:40,meta:{align:"center",header:"",headerClassName:"!p-0"}},rowSelection:{header:Js,renderer:Ys,size:40,meta:{align:"center",className:"!px-1",header:"",headerClassName:"!px-1"}}}),[]));return function(e,t){const l=e.options.meta;n.useEffect(()=>{if(void 0!==l.rowActive.rowActiveIndex){var e,n;const l=null!==(e=null===(n=t.current)||void 0===n?void 0:n.querySelector('tbody tr[data-row-active="true"]'))&&void 0!==e?e:null;var a;Ua(document.activeElement,l)||Wa(document.activeElement)||null==l||null===(a=l.focus)||void 0===a||a.call(l,{preventScroll:!0})}},[l.rowActive.rowActiveIndex])}(a.instance,t),a}(e,r),i=function(e,t,l){var a,r;const o=e.options.meta,i=e.getRowModel().rows,s=zu*e.getHeaderGroups().length,{createRowMeasurer:c,estimateSize:u}=function(e){const t=e.options.meta,l=e.getRowModel().rows,a=e.getState().expanded,[r,o]=n.useState({}),i=n.useMemo(()=>{const e=Object.values(r);return e.length?e.reduce((e,t)=>e+t,0)/e.length:0},[r]);return{estimateSize:n.useCallback(e=>{var n,r;const o=t.rowHeight.height?yu[t.rowHeight.height]:yu.medium;return!0===a||null!==(n=l[e])&&void 0!==n&&null!==(r=n.getIsExpanded)&&void 0!==r&&r.call(n)?o+i:o},[t.rowHeight.height,i,a]),createRowMeasurer:n.useCallback((e,t)=>(n,l)=>{l&&o(e=>({...e,[t.index]:l})),e(t,n+(null!=l?l:0))},[])}}(e),d=function(e){const t=e.getRowModel().rows,l=!!e.getState().grouping.length,a=n.useMemo(()=>{const e=[];return l&&t.forEach((t,n)=>{t.getIsGrouped()&&e.push(n)}),e},[]),r=n.useCallback(e=>{var t;const n=null!==(t=[...a].reverse().find(t=>e.startIndex>=t))&&void 0!==t?t:a[0];return[...new Set([n,...N.defaultRangeExtractor(e)])].sort((e,t)=>e-t)},[a]);return l?r:void 0}(e),m=N.useVirtualizer({count:i.length,estimateSize:u,getScrollElement:()=>t.current,overscan:o.printing.isPrinting?i.length:void 0,rangeExtractor:d,scrollPaddingStart:null!==(a=e.getState().grouping)&&void 0!==a&&a.length?zu:void 0,scrollPaddingEnd:s+36,paddingEnd:120}),g=m.getVirtualItems(),f=n.useCallback((e,n={align:"auto",behavior:"smooth"})=>{const l={...n,behavior:"auto"};t.current&&(0===e?m.scrollToOffset(0,l):e>=g.length-1?(m.scrollToIndex(e,l),setTimeout(()=>{m.scrollToIndex(e,l),setTimeout(()=>{m.scrollToIndex(e,l)},150)},150)):m.scrollToIndex(e,n))},[g.length,t.current]),[h,v]=g.length>0?[Math.max(0,(null!==(r=g[1])&&void 0!==r?r:g[0]).start-m.options.scrollMargin-g[0].size),Math.max(0,m.getTotalSize()-g[g.length-1].end)]:[0,0];n.useEffect(()=>{l&&f(l,{align:"center",behavior:"auto"})},[]);let p={},w=null;return i.length&&(p={height:m.getTotalSize()+"px",paddingBottom:v,paddingTop:h},w=g.map(t=>{const l=i[t.index],a=c(m.resizeItem,t);return n.createElement(ku,{key:l.id,row:l,index:t.index,table:e,measureRow:a})})),{rows:w,style:p,scrollToIndex:f}}(o.instance,r,e.defaultRowActiveIndex),s=function(e,t){const l=t.options.meta,a=function(e,t,l){const a=t.options.meta,r=t.getVisibleLeafColumns(),o=t.getState().columnSizing,i=rs(l);return n.useMemo(()=>{let n="";const l=[],s=r.reduce((e,s,c)=>{var u,d;if(t.options.enableGrouping&&s.getIsGrouped())return e;const m=null!==(u=s.columnDef.minSize)&&void 0!==u?u:i,g=o[s.id];let f,h;return f="__actions"===s.id?`minmax(${32*a.rowActions.rowActionsLength+8}px, auto)`:void 0!==g?c===r.length-1?`minmax(${m}px, auto)`:"grow"===g||Number.isNaN(g)?`minmax(${m}px, 1fr)`:(g<m?m:g)+"px":`minmax(${m}px, auto)`,!1===(null===(d=s.columnDef.meta)||void 0===d?void 0:d.enablePrinting)?(h="",l.push(s.id)):h="auto",n=`${n} ${h}`.trim(),`${e} ${f}`.trim()},""),c=l.map(t=>`table[data-taco='report']#${e} > thead > tr > th[data-cell-id='${t}']\n,table[data-taco='report']#${e} > tbody > tr > td[data-cell-id='${t}']\n`).join(",");return`table[data-taco='report']#${e} { grid-template-columns: ${s}; grid-template-rows: min-content 1fr min-content; }\n@media print { table[data-taco='report']#${e} { grid-template-columns: ${n}; } ${c} { display: none; } }`},[r,o,i,a.rowActions.rowActionsLength])}(e,t,l.fontSize.size),r=function(e,t){const{columnPinning:l}=t.getState();return n.useMemo(()=>{const n=[],l=t.getFlatHeaders().filter(e=>!e.subHeaders.length).map(e=>e.id),a=t.getLeftFlatHeaders().filter(e=>!e.subHeaders.length).map(e=>e.id),r=t.getRightFlatHeaders().filter(e=>!e.subHeaders.length).map(e=>e.id);if(a.length){const t=l.indexOf(a[a.length-1]);n.push(`table[data-taco='report']#${e} > thead > tr > th:nth-child(${t+1}),\n table[data-taco='report']#${e} > tbody > tr > td:nth-child(${t+1}) {\n border-right-width: 1px;\n }\ntable[data-taco='report']#${e} > thead > tr > th:nth-child(${t+1})[data-cell-id^="__"],\n table[data-taco='report']#${e} > tbody > tr > td:nth-child(${t+1})[data-cell-id^="__"] {\n border-right-color: transparent;\n }\ntable[data-taco='report']#${e} > thead > tr > th:nth-child(${t+1}):after {\n content: none;\n }\ntable[data-taco='report'][data-table-horizontally-scrolled="true"]#${e} > thead > tr > th:nth-child(${t+1}),\n table[data-taco='report'][data-table-horizontally-scrolled="true"]#${e} > tbody > tr > td:nth-child(${t+1}) {\n border-right-color: rgb(221, 221, 221);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), 6px 0px 6px rgb(0 0 0/8%);\n }`)}if(r.length){const t=l.indexOf(r[r.length-1]);n.push(`table[data-taco='report']#${e} > thead > tr > th:nth-child(${t+1}):not([data-cell-id^="__"]),\n table[data-taco='report']#${e} > tbody > tr > td:nth-child(${t+1}):not([data-cell-id^="__"]) {\n border-left-width: 1px;\n }`)}return n.join("\n")},[l])}(e,t),o=[`table[data-taco='report']#${e} {\n --table-header-group-depth: ${t.getHeaderGroups().length};\n --table-cell-padding-x: ${function(e){switch(e){case"small":return"8px";case"medium":return"12px";default:return"16px"}}(l.fontSize.size)};\n --table-cell-padding-y: ${function(e,t){switch(e){case"short":switch(t){case"small":return"8px";default:return"6px"}case"tall":switch(t){case"small":return"16px";case"large":return"12px";default:return"14px"}case"extra-tall":switch(t){case"small":return"22px";case"large":return"18px";default:return"20px"}default:switch(t){case"small":return"12px";case"large":return"8px";default:return"10px"}}}(l.rowHeight.height,l.fontSize.size)};\n }`,a,r].filter(e=>!!e).join("\n");return n.createElement("style",null,o)}(e.id,o.instance);!function(e,t,l){const a=e.options.meta,r=e.getRowModel().rows;n.useEffect(()=>{const n=n=>{const o=n.target.closest('[role="dialog"]');var i;(!o||null!=o&&o.contains(t.current))&&(a.rowActive.handleKeyDown(n,r.length,l,t),a.rowSelection.handleKeyDown(n,e),void 0!==a.rowActive.rowActiveIndex&&a.rowClick.handleKeyDown(n,null===(i=r[a.rowActive.rowActiveIndex])||void 0===i?void 0:i.original))};return document.addEventListener("keydown",n),()=>{document.removeEventListener("keydown",n)}},[t.current,a.rowActive.rowActiveIndex,l])}(o.instance,r,i.scrollToIndex);const c=void 0===o.meta.rowActive.rowActiveIndex?e=>{o.meta.rowActive.handleFocus(e,o.length,i.scrollToIndex)}:void 0;return n.createElement(n.Fragment,null,s,n.createElement(Eu,{customSettings:e.customSettings,left:e.toolbarLeft,length:o.length,right:e.toolbarRight,scrollToIndex:i.scrollToIndex,table:o.instance,tableId:e.id,tableRef:r}),e.toolbarPanel?n.createElement("div",{className:"mb-4"},e.toolbarPanel):void 0,n.createElement(v.FocusScope,null,n.createElement("table",{id:e.id,"data-taco":"report","data-table-font-size":o.meta.fontSize.size,"data-table-horizontally-scrolled":!!o.meta.columnFreezing.isHorizontallyScrolled||void 0,"data-table-pause-hover":!!o.meta.rowActive.isHoverStatePaused||void 0,"data-table-resizing":!!o.state.columnSizingInfo.isResizingColumn||void 0,"data-table-row-height":o.meta.rowHeight.height,"data-table-grouped":!(null===(a=o.state.grouping)||void 0===a||!a.length),onFocus:c,onScroll:o.meta.columnFreezing.handleScroll,ref:r,tabIndex:-1},n.createElement("thead",null,o.instance.getHeaderGroups().map(e=>n.createElement("tr",{key:e.id},e.headers.map(ac)))),n.createElement(ic,{length:o.length,table:o.instance,style:i.style},i.rows),o.meta.footer.isEnabled?n.createElement("tfoot",null,n.createElement("tr",null,o.instance.getFooterGroups()[0].headers.map(sc))):null),o.meta.footer.isEnabled?n.createElement(uc,{length:o.length,table:o.instance}):null))}));Vu.Column=function(e){return null},Vu.Group=function(e){return null};const ju=(e,t)=>{var n;const l={index:e.index,indexPath:e.id,values:e.original};return(null===(n=e.subRows)||void 0===n?void 0:n.length)>0?(l.isExpanded=!!e.isExpanded,l.depth=e.depth,l.toggleRowExpanded=()=>e.toggleRowExpanded(!l.isExpanded)):t&&(l.isExpanded=!!e.isExpanded,l.toggleRowExpanded=()=>e.toggleRowExpanded(!l.isExpanded)),e.toggleRowEditing&&(l.isEditing=!!e.isEditing,l.toggleRowEditing=e.toggleRowEditing),l},Tu=(e,t)=>{const l=[];return{columns:n.Children.toArray(e).filter(e=>!!e&&!e.props.hidden).map(({props:{children:e,...n}})=>{const a={...n};if(a.sortType=a.sortType||"auto",a.disableSortBy=a.disableSorting,n.title&&e){a.Header=n.title;const{columns:r,sortRules:o}=Tu(e,t);a.columns=r,o.forEach(e=>l.push(e))}else a.accessor=n.accessor,a.Header=n.headRenderer||"",a.Cell=e=>{var l,a;const r={accessor:e.cell.column.id,row:ju(e.cell.row,t),value:e.cell.value};return r.row.isEditing&&"function"==typeof n.editRenderer?n.editRenderer(r):"function"==typeof n.cellRenderer?null!==(l=n.cellRenderer(r))&&void 0!==l?l:null:null!==(a=r.value)&&void 0!==a?a:null},a.align=n.align,a.flex=n.flex,n.sort&&!n.disableSorting&&l.push({id:n.accessor,desc:"desc"===n.sort});return a}),sortRules:l}},Du=e=>null==e?void 0:e.map(e=>({id:e.accessor,desc:e.desc})),Fu=e=>{const t="string"==typeof e?new Date(e):e;return null!=t&&t.getTime?t.getTime():void 0},Pu=(e="",t=",")=>{if("number"==typeof e)return e;if(null===e||!e.length)return;let n;return n=Number(","===t?e.replace(/\./g,"").replace(",","."):e.replace(/,/g,"")),Number.isNaN(n)?void 0:n},Bu=e=>{if(e)return String(e).toLowerCase()},_u=e=>"boolean"==typeof e?e:isNaN(e)?Bu(e):Number(e),Gu=(e,t)=>void 0!==e&&void 0===t?1:e===t?0:e>t?1:-1,qu=(e,t,n)=>e&&t?((e,t,n)=>{const l=e.localeCompare(t,n);return 0===l?0:l>0?1:-1})(e,t,n):Gu(e,t);function $u(e,t){if(t.type===O.actions.init)return{allowEditing:!0,editingRowUniqueId:null,...e};if(t.type===O.actions.resetRowEditing||t.type===O.actions.resetPage||t.type===O.actions.gotoPage)return{...e,editingRowUniqueId:null};if(t.type===O.actions.toggleRowEditing){const{id:n}=t;return{...e,editingRowUniqueId:n}}return t.type===O.actions.toggleEditing?{...e,allowEditing:!e.allowEditing}:e}function Ku(e){const{dispatch:t}=e,l=n.useCallback(()=>{t({type:O.actions.resetRowEditing})},[t]),a=n.useCallback(e=>{t({type:O.actions.toggleRowEditing,id:e})},[t]),r=n.useCallback(()=>{t({type:O.actions.toggleEditing})},[t]);Object.assign(e,{resetRowEditing:l,toggleRowEditing:a,toggleEditing:r})}O.actions.resetRowEditing="resetRowEditing",O.actions.toggleRowEditing="toggleRowEditing",O.actions.toggleEditing="toggleEditing";const Uu=(e,t)=>{const n=[],l=[];if(e){let a=e.filter(e=>!!e&&"boolean"!=typeof e);t&&(a=a.filter(e=>void 0===e.visible||("function"==typeof e.visible?e.visible(t):e.visible))),a.forEach(e=>{e.showOnRow?n.push(e):l.push(e)})}return[n,l]},Wu=(e,t)=>({"aria-label":"function"==typeof e.tooltip?e.tooltip(t):e.tooltip,disabled:"function"==typeof e.disabled?e.disabled(t):e.disabled,onClick:n=>{e.onClick(t,n)}}),Ju=()=>(n.useEffect(()=>{const e=e=>{var t,n;"Escape"===e.key&&null!==(t=e.target)&&void 0!==t&&null!==(n=t.form)&&void 0!==n&&n.reset&&(e.preventDefault(),e.target.form.reset())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[]),n.createElement("div",{className:"-mt-1 -mb-1 h-8 flex"},n.createElement(or,{appearance:"primary",icon:"tick",type:"submit",className:"mr-2"}),n.createElement(or,{appearance:"ghost",icon:"close",type:"reset"})));function Yu(e,t){if(t.type===O.actions.init)return{draggingRowIndexPath:null,...e};if(t.type===O.actions.resetRowDragging)return{...e,draggingRowIndexPath:null};if(t.type===O.actions.toggleRowDragging){const{indexPath:n}=t;return{...e,draggingRowIndexPath:n}}return e}O.actions.resetRowDragging="resetRowDragging",O.actions.toggleRowDragging="toggleRowDragging";const Qu=(e,{instance:t})=>{var n;e.toggleRowDragging=()=>{t.dispatch(t.state.draggingRowIndexPath===e.id?{type:O.actions.resetRowDragging}:{type:O.actions.toggleRowDragging,indexPath:e.id})},e.isDragging=!(!t.state.draggingRowIndexPath||t.state.draggingRowIndexPath!==e.id&&(null===(n=t.state.selectedRowIds)||void 0===n||!n[e.id]))},Xu=e=>[{id:"draggable",className:"yt-table__cell--draggable flex-col px-0",Cell:()=>n.createElement(ya,{name:"drag",className:"text-grey-700 invisible w-[20px] cursor-grab"}),flex:"0 0 20px"},...e],Zu=10,ed=(e,t)=>{var l;const{children:a,data:r,onRowClick:o,onRowDrag:i,onSelectedRows:s,rowClassName:c,rowExpansionRenderer:u,rowHeight:d,selectedRows:m,disableSorting:g,manualSorting:f,onSort:h,sortRules:v,disablePagination:p=!0,length:b,onPaginate:E,pageSize:x=Zu,pageIndex:y=0,inlineEditingUniqueId:z,onRowCreate:R,actions:C,onRowEdit:S,onRowCopy:N,onRowDelete:I,onRowActive:L,windowed:H=!1,...M}=e;if(s&&!m||!s&&m)throw new Error("Selected rows in a Table component are fully controlled - you must pass both the `onSelectedRows` and `selectedRows` props when using row selection");const{texts:k,locale:V}=dr(),{columns:j,sortRules:T}=n.useMemo(()=>Tu(a,u),[a,u]),D=!p&&!!E&&!!b,{headerGroups:F,rows:P,sortedRows:B,prepareRow:_,state:G,page:q,gotoPage:$,setPageSize:K,...U}=O.useTable({columns:j,data:r,initialState:{sortBy:Du(v)||T,pageSize:p?void 0:x,pageIndex:p?void 0:y},manualPagination:D,pageCount:D&&b?Math.ceil(b/x):-1,manualSortBy:f,disableSortBy:g,autoResetExpanded:!1,autoResetSelectedRows:!1,autoResetSortBy:!1,autoResetPage:!1,sortTypes:n.useMemo(()=>(e=>({datetime:(e,t,n)=>{const l=Fu(e.values[n]),a=Fu(t.values[n]);return Gu(l,a)},string:(t,n,l)=>{const a=Bu(t.values[l]),r=Bu(n.values[l]);return qu(a,r,e)},number:(e,t,n)=>{const l=Pu(e.values[n]),a=Pu(t.values[n]);return Gu(l,a)},boolean:(e,t,n)=>Gu(!!e.values[n],!!t.values[n]),auto:(t,n,l)=>{const a=_u(t.values[l]),r=_u(n.values[l]);return"string"==typeof a&&"string"==typeof r?qu(a,r,e):Gu(a,r)}}))(V),[]),useControlledState:e=>n.useMemo(()=>({...e,selectedRowIds:m||[]}),[e,m])},O.useRowState,O.useSortBy,O.useExpanded,O.usePagination,(e=>{const t=t=>{if(O.useRowSelect(t),e){const l=(t,n)=>e(e=>{const l={...e};return n?l[t]=!0:delete l[t],l});t.prepareRow.push(e=>{e.toggleRowSelected=()=>l(e.id,!e.isSelected)});const a=n.useRef();t.visibleColumns.push(t=>[{id:"selection",Header:({getToggleAllRowsSelectedProps:t,rows:l})=>{const{...a}=t();return n.createElement(yr,Object.assign({},a,{onChange:t=>{e(t?Object.assign({},Array(l.length).fill(!0)):{})}}))},Cell:({row:e,rows:t})=>{const{...r}=e.getToggleRowSelectedProps(),o=t.findIndex(t=>t.index===e.index);return n.createElement(yr,Object.assign({},r,{className:"!mt-2.5",onClick:n=>{if(n.shiftKey){const[e,n]=[(s=o)<(i=a.current||0)?s:i,s>i?s:i];for(let a=e;a<=n;a++)l(t[a].id,!0)}else l(e.id,!r.checked);var i,s;a.current=o},onChange:()=>!1}))},flex:"0 0 36px",className:"flex-col justify-start !py-0"},...t])}};return t.pluginName="useRowSelect",t})(s),(e=>{const t=t=>{e&&(t.stateReducers.push(Yu),t.prepareRow.push(Qu),t.visibleColumns.push(Xu),t.getRowProps.push((e=>(t,{instance:n,row:l})=>[t,{draggable:!0,onDragStart:t=>{t.persist(),l.toggleRowDragging();const a=[l.id,...Object.keys(n.state.selectedRowIds)],r=n.rows.filter(e=>a.includes(e.id)).map(ju);e(r,e=>{const n=window.document.createElement("div");n.id="yt-table__drag__placeholder",n.innerText=e,window.document.body.appendChild(n),"function"==typeof DataTransfer.prototype.setDragImage&&t.dataTransfer.setDragImage(n,0,20)},t)},onDragEnd:()=>{const e=document.getElementById("yt-table__drag__placeholder");e&&e.parentNode&&e.parentNode.removeChild(e),l.toggleRowDragging()}}])(e)))};return t.pluginName="useRowDraggable",t})(i),(e=>{const t=t=>{e&&(t.stateReducers.push($u),t.useInstance.push(Ku),t.prepareRow.push((e=>(t,{instance:n})=>{const l=t.original[e];t.toggleRowEditing=()=>{n.state.editingRowUniqueId===l?n.resetRowEditing():n.toggleRowEditing(l)},t.isEditing=t.original._createKey?n.state.editingRowUniqueId===t.original._createKey:n.state.editingRowUniqueId===l,t.canEdit=n.state.allowEditing&&(t.isEditing||!n.state.editingRowUniqueId)})(e)))};return t.pluginName="useRowEditing",t})(z),((e,t,l,a,r,o=!1)=>{const i=!!e,s=((e,t,n)=>{const[l,a]=Uu(n);let r=l.length+(a.length?1:0);return t.onRowCreate&&r++,t.onRowCopy&&r++,t.onRowDelete&&r++,(e||t.onRowEdit)&&(r++,r<2&&r++),r})(e,t,l),c=c=>{((e,t,n)=>!!n||t.onRowCreate||t.onRowCopy||t.onRowDelete||!!e||t.onRowEdit)(e,t,l)&&c.visibleColumns.push(e=>[...e,{id:"_actions",className:"flex justify-end px-1 overflow-visible",flex:`0 0 calc((${s} * 2rem) + .5rem)`,Cell:({row:e})=>{if(e.isEditing)return n.createElement(Ju,null);const s=ju(e,a),[c,u]=Uu(l,s),d=n.createElement(n.Fragment,null,t.onRowCreate&&n.createElement(or,{appearance:"discrete",icon:"circle-plus","aria-label":r.table.newSubRow,tooltip:r.table.newSubRow,disabled:i&&!e.canEdit,onClick:n=>{n.stopPropagation(),n.persist(),e.setActive(),e.isExpanded||e.toggleRowExpanded(),t.onRowCreate(s,n)}}),(i||t.onRowEdit)&&n.createElement(or,{appearance:"discrete",icon:"edit","aria-label":r.table.edit,tooltip:r.table.edit,disabled:i&&!e.canEdit,onClick:n=>{n.stopPropagation(),e.setActive(),i?e.toggleRowEditing():t.onRowEdit&&(n.persist(),t.onRowEdit(s,n))}}),t.onRowCopy&&n.createElement(or,{appearance:"discrete",icon:"copy","aria-label":r.table.copy,tooltip:r.table.copy,disabled:i&&!e.canEdit,onClick:n=>{n.stopPropagation(),n.persist(),e.setActive(),t.onRowCopy(s,n)}}),t.onRowDelete&&n.createElement(or,{appearance:"discrete",icon:"delete","aria-label":r.table.del,tooltip:r.table.del,disabled:i&&!e.canEdit,onClick:n=>{n.stopPropagation(),n.persist(),e.setActive(),t.onRowDelete(s,n)}}),c.map((e,t)=>n.createElement(or,Object.assign({},Wu(e,s),{key:t,appearance:"discrete",icon:"function"==typeof e.icon?e.icon(s):e.icon,tooltip:"function"==typeof e.tooltip?e.tooltip(s):e.tooltip}))),u.length?n.createElement(Hi,null,n.createElement(Hi.Trigger,null,n.createElement(or,{appearance:"discrete",icon:"ellipsis-vertical","aria-label":r.table.actions,tooltip:r.table.actions,disabled:i&&!e.canEdit,onClick:t=>{t.stopPropagation(),e.setActive()}})),n.createElement(Hi.Content,null,u.map((e,t)=>n.createElement(Hi.Item,Object.assign({key:t,icon:"function"==typeof e.icon?e.icon(s):e.icon},Wu(e,s)),"function"==typeof e.text?e.text(s):e.text)))):null);return o?n.createElement("div",{className:"-mt-1 -mb-1 h-8 flex"},d):n.createElement(A.InView,{rootMargin:"100px 0px"},({inView:e,ref:t})=>n.createElement("div",{className:"-mt-1 -mb-1 h-8 flex",ref:t},e?d:null))}}])};return c.pluginName="useRowActions",c})(z,{onRowCreate:R,onRowEdit:S,onRowCopy:N,onRowDelete:I},C,u,k,H));((e,t,l)=>{n.useEffect(()=>{!e&&t&&t(l.pageIndex,l.pageSize)},[l.pageIndex,l.pageSize])})(p,E,G),((e,t,l,a,r)=>{n.useEffect(()=>{if(l){const n=r.sortBy.map(e=>({accessor:e.id,desc:e.desc}));if(a)l(n);else{let a;n.length&&null!=t&&t.length&&(a=t.map(e=>e.original)),l(n,a||e)}}},[l&&JSON.stringify(r.sortBy),a])})(r,B,h,!!f,G);const W=((e,t)=>{const l=n.useMemo(()=>({toggleAllRowsExpanded:e.toggleAllRowsExpanded,toggleHideAllColumns:e.toggleHideAllColumns,toggleHideColumn:e.toggleHideColumn,toggleEditing:e.toggleEditing,toggleRowEditing:e.toggleRowEditing,resetRowEditing:e.resetRowEditing,toggleRowExpanded:e.toggleRowExpanded,toggleSortBy:e.toggleSortBy}),[]);return n.useEffect(()=>{null!=t&&t.current&&(t.current.instance=l)},[t]),l})(U,t),J=p||D?P:q,[Y,Q,X,Z]=((e,t,l,a)=>{const r=e.dangerouslyHijackGlobalKeyboardNavigation,[o,i]=w.useControllableState({prop:e.activeIndex,defaultProp:void 0!==e.defaultActiveIndex?e.defaultActiveIndex:r?0:void 0,onChange:t=>{var n;void 0!==t&&(null===(n=e.onChangeActiveIndex)||void 0===n||n.call(e,t))}}),s=e=>{var n,s;const c=e.metaKey||e.ctrlKey||e.altKey||e.shiftKey;if(r&&document.activeElement!==a.current&&"search"!==(null===(n=document.activeElement)||void 0===n?void 0:n.getAttribute("type"))&&document.activeElement!==document.body&&"dialog"!==(null===(s=document.activeElement)||void 0===s?void 0:s.getAttribute("role")))return;if(!r&&document.activeElement!==a.current)return;if(void 0!==o){const n=t[o];if(n){const t=ju(n,l.rowExpansionRenderer);if(l.onRowClick&&"Enter"===e.key)return e.preventDefault(),void l.onRowClick(t);if(n.toggleRowSelected&&" "===e.key)return e.preventDefault(),void n.toggleRowSelected();if(n.toggleRowExpanded){if(n.isExpanded&&"ArrowLeft"===e.key)return e.preventDefault(),void n.toggleRowExpanded();if(!n.isExpanded&&"ArrowRight"===e.key)return e.preventDefault(),void n.toggleRowExpanded()}if(n.toggleRowEditing&&n.canEdit&&!n.isEditing){if(l.onRowCreate&&e.shiftKey&&"n"===e.key)return e.preventDefault(),n.isExpanded||n.toggleRowExpanded(),void l.onRowCreate(t,e);if("e"===e.key)return e.preventDefault(),void n.toggleRowEditing()}if(l.onRowEdit&&"e"===e.key&&!c)return e.preventDefault(),void l.onRowEdit(t,e);if(l.onRowCopy&&"c"===e.key&&!c)return e.preventDefault(),void l.onRowCopy(t,e);if(l.onRowDelete&&"Delete"===e.key&&!c)return e.preventDefault(),void l.onRowDelete(t,e)}}const u=Lr(e.key,t.length,o);void 0!==u&&(e.preventDefault(),i(u))};return n.useEffect(()=>(r&&window.addEventListener("keydown",s),()=>{r&&window.removeEventListener("keydown",s)}),[s]),[o,i,e=>{r||s(e.nativeEvent)},()=>{void 0===o&&t.length&&i(0)}]})(e,J,{onRowClick:o,onRowCreate:R,onRowEdit:S,onRowCopy:N,onRowDelete:I,rowExpansionRenderer:u},t);((e,t,l,a)=>{n.useEffect(()=>{if(void 0!==e&&t.length&&a){const n=t[e];if(n){const e=ju(n,l);a(e)}}},[e,t])})(Y,P,u,L);const ee=n.useCallback((e,t)=>{_(e),e.setActive=()=>Q(t)},[_,Q]);return{rowProps:{activeIndex:Y,setActiveIndex:Q,onRowClick:o,rowClassName:c,rowExpansionRenderer:u,rowHeight:d,inlineEditingUniqueId:z},tableProps:{...M,headerGroups:F,onFocus:Z,onKeyDown:X,tabIndex:null!==(l=M.tabIndex)&&void 0!==l?l:0},state:G,pagination:p?null:{length:D&&b?b:r.length,pageIndex:G.pageIndex,pageSize:G.pageSize,setPageIndex:$,setPageSize:K},rows:J,prepareRow:ee,instance:W}},td=(e,t)=>{const a={...e.getCellProps(),className:l("yt-table__cell flex-1 truncate p-2 align-middle",e.column.className,{"justify-start text-left":"left"===e.column.align,"justify-end text-right":"right"===e.column.align,"text-center":!e.column.align}),style:{...e.column.style,flex:"function"==typeof e.column.flex?e.column.flex(t):e.column.flex}};return n.createElement("div",Object.assign({},a,{role:"gridcell","data-taco":"table-cell"}),e.render("Cell")||null)},nd=n.forwardRef((function({row:e,index:t,instance:a,...r},o){const{activeIndex:i,onRowClick:s,rowClassName:c,rowExpansionRenderer:u,rowHeight:d,setActiveIndex:m,style:g,inlineEditingUniqueId:f}=r,h=ju(e,u),p={...e.getRowProps(),style:{...g,minHeight:d?d+"px":void 0,paddingLeft:e.depth?2*e.depth+"rem":void 0},className:l("yt-table__row border-grey-300 flex border-b min-h-[2.5rem] hover:bg-grey-100",{"yt-table__row--active bg-grey-200 hover:bg-grey-200":i===t,"yt-table__row--clickable":!!s,"yt-table__row--dragging":!!e.isDragging,"yt-table__row--editing":!!e.isEditing},"function"==typeof c?c(h):c),onClick:s?e=>{(e.target===e.currentTarget||e.target.classList.contains("yt-table__cell"))&&(e.preventDefault(),e.persist(),m(t),s(h))}:()=>{m(t)}};let w=e.cells;e.depth>0&&(w=e.cells.filter(e=>!e.column.hiddenOnSubRows));const b=u&&e.isExpanded&&n.createElement("div",null,u(h,a)),E=n.useMemo(()=>n.createElement(n.Fragment,null,n.createElement(v.FocusScope,{key:e.original._createKey,contain:!0,restoreFocus:!0,autoFocus:!0},n.createElement("div",Object.assign({},p,{role:"row",ref:o}),n.createElement("input",{type:"hidden",name:"_rowIndexPath",value:e.id}),n.createElement("input",{type:"hidden",name:"_inlineEditingUniqueId",value:e.original[f]}),w.map(e=>td(e,h)))),b),[e.original._createKey]);return e.isEditing?E:n.createElement(n.Fragment,null,n.createElement("div",Object.assign({},p,{role:"row",ref:o}),w.map(e=>td(e,h))),b)})),ld=({cell:e})=>{const t={...e.getHeaderProps(),...e.getSortByToggleProps&&e.getSortByToggleProps({title:void 0}),className:l("yt-table__cell flex flex-1 truncate p-2 align-middle text-grey-700 hover:text-black",e.className,{"yt-table__cell__group":!!e.columns,"cursor-pointer":!e.disableSorting,"justify-start text-left":"left"===e.align,"justify-end text-right":"right"===e.align,"justify-center text-center":"center"===e.align||!e.align}),style:{...e.style,flex:e.flex}};return e.isSorted&&(t["aria-sort"]=e.isSortedDesc?"descending":"ascending"),n.createElement("div",Object.assign({},t,{key:e.id,"data-taco":"table-column"}),n.createElement("span",{className:"truncate"},e.render("Header")),e.isSorted?n.createElement(ya,{name:e.isSortedDesc?"chevron-down-solid":"chevron-up-solid",className:"-mt-0.5"}):null)},ad=()=>null,rd=n.forwardRef((function(e,t){const a=qa(t),{autoFocus:r,children:o,headerGroups:i,headerRef:s,bodyRef:c,...u}=e;n.useEffect(()=>{r&&a.current&&a.current.focus()},[]);const d=l("yt-table flex flex-col focus:yt-focus focus:rounded-sm",e.className);return n.createElement("div",Object.assign({},u,{role:"table",className:d,ref:a}),n.createElement("div",{role:"rowgroup",className:"yt-table__head",ref:s},null==i?void 0:i.map((e,t)=>n.createElement("div",{key:t,role:"row",className:"border-grey-300 flex h-auto min-h-[2.5rem] w-full select-none border-b-2 border-t-0 font-bold"},e.headers.map((e,t)=>n.createElement(ld,{key:t,index:t,cell:e}))))),n.createElement("div",{role:"rowgroup",className:"yt-table__body",ref:c},o))})),od=n.forwardRef((function(e,t){const{emptyStateRenderer:l=ad,...a}=e,r=qa(t),{rowProps:o,tableProps:i,rows:s,prepareRow:c,pagination:u,instance:d}=ed(a,r);let m;return u&&(m=n.createElement(Ji,{className:"my-4 w-full",length:u.length,pageIndex:u.pageIndex,pageSize:u.pageSize,setPageIndex:u.setPageIndex,setPageSize:u.setPageSize,showPageControls:u.length>u.pageSize,dangerouslyHijackGlobalKeyboardNavigation:e.dangerouslyHijackGlobalKeyboardNavigation})),n.createElement(n.Fragment,null,m,n.createElement(rd,Object.assign({},i,{ref:r}),s.length?s.map((e,t)=>(c(e,t),n.createElement(nd,Object.assign({},o,{key:t,index:t,row:e,instance:d,headerGroups:i.headerGroups})))):l()),m)}));od.Column=()=>null,od.Group=()=>null;const id=n.forwardRef((function(e,t){return n.createElement(od,Object.assign({},e,{disablePagination:!1,ref:t}))}));id.Column=()=>null,id.Group=()=>null;const sd=n.memo(({data:e,index:t,style:{...l}})=>{const{texts:a}=dr(),{rows:r,setRowHeight:o,rowProps:i,tableProps:s,instance:c,prepareRow:u,rowHeights:d}=e,m=r[t],g=n.useRef(null);return n.useEffect(()=>{null!=g&&g.current&&o(t,g.current.getBoundingClientRect().height)},[d[t]]),m?(u(m,t),n.createElement(nd,Object.assign({},i,{style:l,key:t,index:t,row:m,instance:c,headerGroups:s.headerGroups,setRowHeight:o,ref:g}))):n.createElement("div",{className:"yt-table__row",role:"row",style:l},n.createElement("div",{className:"yt-table__cell text-grey-300"},a.table.loading))},I.areEqual),cd=(e={})=>{const t=Object.keys(e);return t.reduce((t,n)=>t+e[n],0)/t.length},ud=n.forwardRef((function(e,t){const a=qa(t),{emptyStateRenderer:r=ad,length:o,loadMore:i,...s}=e,{rowProps:c,tableProps:u,rows:d,prepareRow:m,instance:g,state:f}=ed({...s,windowed:!0},a),h=n.useRef(null),[v,p]=n.useState(null),w=Sr(a),b=Sr(h),E=w&&b?w.height-b.height:null,x=c.rowHeight||40,y=n.useRef({}),z=n.useCallback((e,t)=>{y.current[e]!==t&&(y.current={...y.current,[e]:t},v&&v.resetAfterIndex(0))},[]),R=n.useCallback(e=>y.current[e]||x,[]);n.useEffect(()=>{v&&void 0!==c.activeIndex&&v.scrollToItem(c.activeIndex,"start")},[v,c.activeIndex]),n.useEffect(()=>{y.current={},v&&v.resetAfterIndex(0)},[d.length]);const C=l(u.className,"yt-table--windowed",{"table-with-scrollbar":null!==E&&(x*e.data.length||0)>E});let S;if(E&&d.length){const e={height:E,itemData:{rows:d,setRowHeight:z,rowProps:c,tableProps:u,instance:g,prepareRow:m,state:f,rowHeights:y.current},estimatedItemSize:cd(y.current),itemSize:R,width:"100%"};S=i&&o?n.createElement(L,{isItemLoaded:e=>!!d[e],itemCount:o,loadMoreItems:i},({onItemsRendered:t,ref:l})=>n.createElement(I.VariableSizeList,Object.assign({},e,{itemCount:o,onItemsRendered:t,ref:e=>{l(e),p(e)}}),sd)):n.createElement(I.VariableSizeList,Object.assign({},e,{itemCount:d.length,ref:e=>{p(e)}}),sd)}return n.createElement(rd,Object.assign({},u,{className:C,headerRef:h,ref:a}),S||r())}));ud.Column=()=>null,ud.Group=()=>null;const dd=e=>{var t;return null!==(t=null==e?void 0:e.split(".").map(Number))&&void 0!==t?t:[]},md=(e,t)=>{if(!t)return;const n=[...e],l=dd(String(t));if(l.length){const e=l.shift();return l.reduce((e,t)=>{var n;return null==e||null===(n=e.subRows)||void 0===n?void 0:n[t]},n[e])}},gd=e=>{let t;if(e){const n=dd(e);n.pop(),n.length&&(t=n.join("."))}return t},fd=(e,t,n={})=>{const l=JSON.parse(JSON.stringify(e));let a;if(t){var r;const e=dd(t),o=md(l,e.join(".")),i=null!==(r=null==o?void 0:o.subRows)&&void 0!==r?r:[],s=e.map(e=>`[${e}]`).join(".subRows")+".subRows";i.unshift(n),H(l,s,i),e.push(0),a=e.join(".")}else l.unshift(n),a="0";return[l,a]},hd=(e,t)=>{const n=JSON.parse(JSON.stringify(e)),l=dd(t),a=Number(l.shift());if(l.length){const e=l.map(e=>`subRows[${e}]`).join(".");M(n[a],e),l.pop();const t=l.length?l.map(e=>`subRows[${e}]`).join(".")+".subRows":"subRows";H(n[a],t,V(k(n[a],t)))}else j(n,a);return n};function vd(e){const{onGoto:t,trigger:l,...a}=e,{texts:r}=dr();return n.createElement(mo,Object.assign({},a,{anchor:l}),n.createElement(mo.Content,null,n.createElement(tc,{"aria-label":r.table3.columns.menu.gotoRow,name:"query",onSearch:e=>t(e),onKeyDown:e=>e.stopPropagation(),placeholder:r.table3.columns.menu.gotoRow+"..."})))}function pd(e,t,n,l=!1){var a;const r=null==t?void 0:t.closest('[role="row"]'),o=l?70:0;if(!r)return null;const i=null!==(a=Array.from(r.children))&&void 0!==a?a:[],s=i.indexOf(t);if(-1===s)return null;let c=0;const u=e.getBoundingClientRect(),d=t.getBoundingClientRect(),m=d.right>u.right-o,g=d.left<u.left;if(-1!==n&&s>n){var f;const t=null===(f=i[n])||void 0===f?void 0:f.getBoundingClientRect();if(t.right>d.left)return c=e.scrollLeft-(t.right-d.left),c;if(m)return c=e.scrollLeft+(d.right-u.right+0)+o,c}else{if(g)return c=e.scrollLeft-(u.left-d.left),c;if(m)return c=e.scrollLeft+(d.right-u.right+0)+o,c}return null}function wd(e,t){return!_d(t.id)&&!!(e.options.meta.rowGoto.isEnabled&&t.column.getCanSort()&&t.column.getIsSorted())}function bd(e,t){var n;return!_d(t.id)&&(!(null===(n=t.column.columnDef.meta)||void 0===n||!n.menu)||!!e.options.meta.columnFreezing.isEnabled||!!e.options.enableHiding&&!!t.column.getCanHide()||wd(e,t))}function Ed(e){const{canFreeze:t,canHide:a,canSort:r,index:o,menu:i,onGoto:s,onHide:c,onSortToggle:u,scrollToIndex:d,sortDirection:m,table:g}=e,f=g.options.meta,{texts:h}=dr(),[v,p]=n.useState(void 0),[w,b]=n.useState(m),E=n.useRef(null);n.useEffect(()=>{const{frozenColumnIndex:e=-1,frozenInternalColumnCount:t=0}=f.columnFreezing,n=Qa("g",()=>{if(s){var n;const l=f.tableRef.current,a=e>-1?e+t:t-1,r=null===(n=E.current)||void 0===n?void 0:n.closest('[role="columnheader"]');if(!l||!r)return;const o=pd(l,r,a);null!==o&&(l.scrollLeft=o)}},!1);return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[f.columnFreezing.frozenColumnIndex,s]);const x=e=>{b(e),u(e)};let y;if(v){const e=()=>p(void 0);switch(v){case"goto":if(s){const t=function(t){try{const n=Is((function(){return Os((function(){return Promise.resolve(s(t)).then((function(e){f.rowActive.setRowActiveIndex(e),d(e+2,{align:"center"})}))}),(function(){}))}),(function(t,n){if(e(),t)throw n;return n}));return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(e){return Promise.reject(e)}};y=l=>n.createElement(vd,Object.assign({},l,{open:!0,onChange:e,onGoto:t}))}}}const z=l("-my-0.5 -mr-1 -ml-0.5 !h-6 !min-h-[theme(spacing.6)] flex-shrink-0 justify-end !w-0 !min-w-0 !overflow-hidden","aria-expanded:!min-w-[theme(spacing.6)] aria-expanded:!w-6 aria-expanded:!overflow-auto","focus:!min-w-[theme(spacing.6)] focus:!w-6 focus:!overflow-auto","group-hover/column:!min-w-[theme(spacing.6)] group-hover/column:!w-6 group-hover/column:!overflow-auto",{"!w-6 !min-w-[theme(spacing.6)] !overflow-auto":!!y},e.className),R=n.useMemo(()=>{const e=[];if(a&&e.push(n.createElement(Hi.Item,{icon:"eye-off",onClick:e=>setTimeout(()=>c(e),1)},h.table3.columns.menu.hideColumn)),r&&e.push(n.createElement(Hi.Item,{icon:"sort-by",subMenu:()=>n.createElement(Hi.SubMenu,null,n.createElement(Hi.RadioGroup,{onChange:x,value:w},n.createElement(Hi.RadioGroup.Item,{value:Cd.ASC},h.table3.columns.menu.sortingOrder.ascending),n.createElement(Hi.RadioGroup.Item,{value:Cd.DESC},h.table3.columns.menu.sortingOrder.descending),n.createElement(Hi.RadioGroup.Item,{value:!1},h.table3.columns.menu.sortingOrder.unsorted)))},h.table3.columns.menu.sorting)),s&&e.push(n.createElement(Hi.Item,{icon:"move",onClick:()=>p("goto"),shortcut:"g"},h.table3.columns.menu.gotoRow,"...")),t){const t=o-f.columnFreezing.frozenInternalColumnCount;e.push(n.createElement(Hi.Item,{icon:"column-freeze",onClick:()=>f.columnFreezing.setFrozenColumnIndex(t)},0===t?h.table3.columns.menu.freezeFirstColumn:h.table3.columns.menu.freezeUptoColumn.replace("[TOTAL]",String(t+1)))),void 0!==f.columnFreezing.frozenColumnIndex&&e.push(n.createElement(Hi.Item,{icon:"column-unfreeze",onClick:()=>{f.columnFreezing.setFrozenColumnIndex(void 0)}},h.table3.columns.menu.unfreezeColumns))}if(i){const t=i({trigger:void 0}),l=n.Children.toArray(t.props.children.props.children);l.length&&(e.length&&e.push(n.createElement(Hi.Separator,null)),e.push(...l))}return e.map((e,t)=>n.cloneElement(e,{key:t}))},[i,o,t,a,r,s,u,m,f.columnFreezing.frozenColumnIndex]);return n.createElement(or,{className:z,icon:"more",menu:y?void 0:e=>n.createElement(Hi,Object.assign({},e),n.createElement(Hi.Content,null,R)),popover:y,onClickCapture:e=>e.preventDefault(),ref:E})}function xd(e){const{isResizing:t,onResize:a}=e,{texts:r}=dr(),o=n.createElement("div",{className:l("invisible absolute right-0 top-0 -mr-2 flex h-full w-4 cursor-col-resize touch-none select-none justify-center rounded py-0.5 group-hover/column:visible",'[[role="columnheader"]:last-child>&]:!mr-0 [[role="columnheader"]:last-child>&]:w-2',{"!visible":t}),onClick:e=>{e.stopPropagation(),e.preventDefault()},onMouseDown:a,onTouchStart:a},n.createElement("div",{className:l("h-full w-1 rounded",{"!bg-blue-500":t,"bg-grey-500 hover:bg-grey-700":!t})}));return t?o:n.createElement(tr,{placement:"top",title:r.table3.columns.resize.tooltip},o)}const yd={asc:n.createElement(ya,{name:"chevron-up-solid",className:"pointer-events-none -my-0.5"}),desc:n.createElement(ya,{name:"chevron-down-solid",className:"pointer-events-none -my-0.5"})};function zd(e){var t;return null!==(t=yd[e.direction])&&void 0!==t?t:null}const Rd={asc:"ascending",desc:"descending"},Cd={ASC:"asc",DESC:"desc"};function Sd(e){const{children:t,column:l,header:a,hasSeparator:r,scrollToIndex:o,table:i}=e,s=i.options.meta,c=n.useMemo(()=>l.columnDef.meta,[]),u=l.getCanSort(),d=wd(i,a),m=n.useMemo(()=>a.column.getToggleVisibilityHandler(),[]),g=n.useMemo(()=>a.getResizeHandler(),[]),f=n.useMemo(()=>a.column.getToggleSortingHandler(),[]),h=n.useCallback(e=>{!1===e?a.column.clearSorting():a.column.toggleSorting(e===Cd.DESC)},[]),v=i.getState().sorting,p=i.getState().columnFilters,w=i.getState().globalFilter,b=n.useMemo(()=>{if(d)return e=>{var t,n;return null===(t=(n=s.rowGoto).handleGoto)||void 0===t?void 0:t.call(n,a.id,e,v,p,w)}},[d,JSON.stringify(v),JSON.stringify(p),w]),E={align:c.align,canFreeze:s.columnFreezing.isEnabled,canHide:l.getCanHide(),canResize:l.getCanResize(),canSort:u,children:null!=t?t:c.header,colSpan:a.colSpan,hasMenu:bd(i,a),hasSeparator:r,id:a.id,index:a.index,isFrozen:Gd(a,i),isPlaceholder:a.isPlaceholder,isPrinting:s.printing.isPrinting,isResizing:l.getIsResizing(),length:i.getRowModel().rows.length,meta:c,onGoto:b,onHide:m,onResize:g,onSort:f,onSortToggle:h,scrollToIndex:o,sortDirection:l.getIsSorted(),table:i};return n.createElement(Nd,Object.assign({},E))}function Nd(e){var t;const{align:a,children:r,canFreeze:o,canHide:i,canResize:s,canSort:c,colSpan:u,hasMenu:d,hasSeparator:m,id:g,index:f,isFrozen:h,isPlaceholder:v,isPrinting:p,isResizing:w,length:b,meta:E,onGoto:x,onHide:y,onResize:z,onSort:R,onSortToggle:C,scrollToIndex:S,sortDirection:N,table:A}=e,O=l("font-bold border-b-2 box-content group/column relative",'[[role="table"][data-resizing="true"]_&]:pointer-events-none',"px-[var(--table3-cell-padding-x)]",{"!border-white":v,"h-10 items-center sticky":!p,"pb-2":p,"cursor-pointer select-none":c,"hover:bg-grey-100":!v&&(c||s||d),"focus-within:bg-grey-100":d,"!pointer-events-all !bg-grey-100":!v&&w,"z-10 hover:z-20":!h&&!w,"z-20":!h&&w,"!z-30 hover:!z-40":h,"!z-40":h&&w},u>1?"col-span-"+u:"",E.headerClassName),[I,L]=n.useState(null);return n.useLayoutEffect(()=>{if(I&&b){if(_d(g))return;A.setColumnSizing(e=>({...e,[g]:I.getBoundingClientRect().width}))}},[I,b]),A.options.debugAll&&console.log("header render",g),n.createElement("div",Object.assign({},c?function(e,t){var n;return{"aria-sort":null!==(n=Rd[t])&&void 0!==n?n:"none",onClick:t=>{!t.isDefaultPrevented()&&t.currentTarget.contains(t.target)&&(t.preventDefault(),e(t))}}}(R,N):void 0,{className:O,"data-align":a,"data-column-index":f,role:"columnheader",ref:L}),v?null:n.createElement(n.Fragment,null,_d(g)?r:n.createElement(tr,{title:String(null!==(t=null==E?void 0:E.tooltip)&&void 0!==t?t:r),placement:"top"},n.createElement("span",{className:l({truncate:!p})},r)),c?n.createElement(zd,{direction:N}):null,d?n.createElement(Ed,{canFreeze:o,canHide:i,canSort:c,className:l({"ml-auto":"right"!==a,"ml-2":"right"===a}),index:f,menu:E.menu,onGoto:x,onHide:y,onSortToggle:C,scrollToIndex:S,sortDirection:N,table:A}):null),m?n.createElement(Ad,null):null,!v&&s?n.createElement(xd,{isResizing:w,onResize:z}):null)}function Ad(){return n.createElement("div",{"data-taco":"header-separator",className:l("invisible absolute right-[0.5px] top-0 flex h-full w-2 touch-none select-none justify-center py-2 group-hover/header:visible")},n.createElement("div",{className:l("bg-grey-300 h-full w-[1px]")}))}const Od=n.createContext({isHovered:!1,setIsHovered:()=>{},rowIndex:0,hasError:!1}),Id=()=>n.useContext(Od),Ld=e=>{const{current:t,frozenColumnIndex:a,index:r,tableRef:o,...i}=e,{hasError:s}=Id(),c=n.useRef(null),u=l("h-full flex [justify-content:inherit] [text-align:inherit]",e.className,{"bg-blue-200/25":!t&&!s,"bg-blue-200/75":t&&!s,"bg-[#eaeaf5]":!t&&s,"bg-[#dadaf5]":t&&s});return n.useEffect(()=>{c.current&&t&&function(e,t,n,l){if(void 0!==t&&e>t){const e=qd(t,l),a=null==n?void 0:n.getBoundingClientRect(),r=null==e?void 0:e.getBoundingClientRect();if(a&&r&&a.left<r.left+r.width){const e=r.left+r.width;null==l||l.scrollTo(a.left-e,l.scrollTop)}}else n.scrollIntoView({block:"nearest",inline:"nearest"})}(r,a,c.current,o.current)},[t]),n.createElement("div",Object.assign({},i,{"data-taco":"highlight",className:u,ref:c}))};function Hd(e){const{cell:t,className:a,column:r,value:o,index:i,row:s,table:c,tableRef:u,highlighted:d,highlightedAsCurrent:m}=e,g=n.useMemo(()=>r.columnDef.meta,[]),f=c.options.meta,h=n.useMemo(()=>{var n,r,d,m;return{align:g.align,children:null!==(n=null!==(r=null!==(d=e.children)&&void 0!==d?d:null===(m=g.renderer)||void 0===m?void 0:m.call(g,o,s.original))&&void 0!==r?r:o)&&void 0!==n?n:null,className:l(a,"function"==typeof g.className?g.className(s.original):g.className),data:s.original,debug:c.options.debugAll,enableTruncate:g.enableTruncate,frozenColumnIndex:f.columnFreezing.frozenColumnIndex,id:t.id,index:i,tableRef:u}},[s.original,e.children,o,f.columnFreezing.frozenColumnIndex,a]);return n.createElement(Md,Object.assign({},h,{highlighted:d,highlightedAsCurrent:m}))}const Md=n.memo((function(e){const{align:t="left",children:a,className:r,debug:o,enableTruncate:i,frozenColumnIndex:s,highlighted:c,highlightedAsCurrent:u=!1,id:d,index:m,tableRef:g}=e,f=l("py-[var(--table3-cell-padding-y)] px-[var(--table3-cell-padding-x)] focus:outline-none break-word hyphens-auto",r),h=c?void 0:f,v=i?n.createElement("span",{className:"truncate"},a):a;return o&&console.log("cell render",d),n.createElement("div",{className:h,"data-align":t,"data-column-index":m,"data-highlighted":c,role:"cell",tabIndex:-1},c?n.createElement(Ld,{className:f,current:u,frozenColumnIndex:s,index:m,tableRef:g},v):v)}));function kd(e){const{column:t,header:l,table:a}=e,r=n.useMemo(()=>t.columnDef.meta,[]),o={align:r.align,id:l.id,index:l.index,isFrozen:Gd(l,a),meta:r,table:a};return n.createElement(Vd,Object.assign({},o))}const Vd=n.memo((function(e){const{align:t,id:a,index:r,isFrozen:o,meta:i,table:s}=e,c=l("sticky bottom-0 border-t-2 font-bold h-10 box-content items-center group/column relative z-10",{"z-30":o});return s.options.debugAll&&console.log("footer render",a),n.createElement("div",{className:c,"data-align":t,"data-column-index":r,role:"columnheader"},"function"==typeof i.footer?n.createElement("span",{className:"flex-grow truncate"},i.footer(s.getRowModel().rows.map(e=>e.original[a]))):null)}));var jd;!function(e){e.SEARCH="SEARCH",e.SORTING="SORTING",e.FILTER="FILTER"}(jd||(jd={}));const Td=({reason:e,columnName:t,mountNode:l,validationErrors:a})=>{const r=n.useMemo(()=>{const e=document.createElement("div");return e.className+="rounded-b-md items-center wcag-blue-500 absolute left-0 top-full ml-1 whitespace-nowrap px-1 py-0.5 text-xs font-bold shadow-sm",e},[]),o=(e=>{let t="",n="";const{texts:l}=dr();switch(e){case jd.FILTER:t=l.table3.editing.rowIndicator.rowWillBeHidden,n=l.table3.editing.rowIndicator.rowWillMoveReasonFilter;break;case jd.SEARCH:t=l.table3.editing.rowIndicator.rowWillBeHidden,n=l.table3.editing.rowIndicator.rowWillMoveReasonSearch;break;case jd.SORTING:t=l.table3.editing.rowIndicator.rowWillMove,n=l.table3.editing.rowIndicator.rowWillMoveReasonSorting}return{title:t,description:n}})(e);return n.useEffect(()=>(null==l||l.classList.add("!z-[21]","relative"),null==l||l.appendChild(r),()=>{null==l||l.classList.remove("!z-[21]","relative"),null==l||l.removeChild(r)}),[!!a,l]),T.createPortal(n.createElement(tr,{title:o.description.replace("[COLUMN]",t)},n.createElement("span",{className:"flex gap-1 hover:cursor-pointer"},n.createElement(ya,{name:"info",className:"!h-4 !w-4 rounded-full bg-white !p-0 text-blue-500"}),o.title)),r)};function Dd(e,t){return l("!border-blue !border-y-2 border-x-0",{"border-l-2 rounded-l":0===e,"border-r-2 rounded-r":e===t})}function Fd(e,t,n){return t===e&&n}const Pd=n.memo((function(e){const{actions:t,actionsLength:a,fontSize:r,isActiveRow:o,isEditing:i,isResizingColumn:s,isHoverStatePaused:c,row:u}=e,{isHovered:d}=n.useContext(Od),{texts:m}=dr(),g=n.useRef(null);let f;if(null!=t&&t.length&&!i&&(o||d&&!c&&!s)){const i=t.map(e=>e(u.original)).filter(e=>!!e),s=i.length===a?i:i.slice(0,a-1),c=i.slice(i.length===a?a:a-1),d=l("-mb-2 flex justify-end pl-2 text-right",{"-mt-2":r===exports.FontSizes.small,"-mt-1.5":r!==exports.FontSizes.small},e.className);f=n.createElement("span",{className:d,ref:g},s.map((e,t)=>{var l,a;const r=String(null!==(l=null!==(a=e.props.tooltip)&&void 0!==a?a:e.props["aria-label"])&&void 0!==l?l:"");return n.cloneElement(e,{appearance:"transparent",key:t,tabIndex:o?0:-1,tooltip:e.props.shortcut?n.createElement(n.Fragment,null,r,n.createElement(fi,{className:"ml-2",keys:e.props.shortcut})):r})}),c.length?n.createElement(or,{appearance:"transparent","aria-label":m.table3.columns.actions.tooltip,icon:"more",tabIndex:o?0:-1,menu:e=>n.createElement(Hi,Object.assign({},e),n.createElement(Hi.Content,null,c.map((e,t)=>n.createElement(Hi.Item,Object.assign({key:t},e.props,{shortcut:e.props.shortcut}),e.props["aria-label"]))))}):null)}return n.createElement(Hd,Object.assign({},e),f)}));function Bd(e){const{rowIndex:t}=n.useContext(Od),l=e.table.options.meta,a=e.table.getVisibleLeafColumns(),r=a.length>0?a.length-1:0,o=Fd(t,l.rowActive.rowActiveIndex,l.editing.rowMoveReason)?Dd(e.index,r):void 0;return n.createElement(Pd,Object.assign({},e,{actions:l.rowActions.actionsForRow,actionsLength:l.rowActions.actionsForRowLength,className:o,fontSize:l.fontSize.size,isActiveRow:l.rowActive.rowActiveIndex===t,isEditing:l.editing.isEditing,isResizingColumn:!!e.table.getState().columnSizingInfo.isResizingColumn,isHoverStatePaused:!!l.rowActive.isHoverStatePaused}))}const _d=e=>e.startsWith("__"),Gd=(e,t)=>{var n;const l=t.options.meta;return!("__actions"===e.column.id||!_d(e.column.id))||!(!l.columnFreezing.isEnabled||void 0===l.columnFreezing.frozenColumnIndex)&&l.columnFreezing.frozenColumnIndex+(null!==(n=l.columnFreezing.frozenInternalColumnCount)&&void 0!==n?n:0)>=e.index},qd=(e,t)=>t.querySelector(`[data-current="true"] [data-column-index="${e}"`);function $d(e,t){return null==e?"":m.isDate(e)?null!==(n=to(e))&&void 0!==n?n:"":"datetime"===t&&"string"==typeof e?null!==(l=to(lo(e)))&&void 0!==l?l:"":String(e);var n,l}const Kd=(e="left")=>l({"justify-start text-left":"left"===e,"justify-end text-right":"right"===e,"justify-center text-center":"center"===e}),Ud=rs,Wd=()=>l("[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none"),Jd={enableColumnFreezing:!1,enableColumnHiding:!1,enableColumnOrdering:!1,enableColumnResizing:!1,enableFontSize:!1,enableFooter:!1,enablePrinting:!1,enableRowDrag:!1,enableRowDrop:!1,enableRowExpansion:!1,enableRowGoto:!1,enableRowHeight:!1,enableRowSelection:!1,enableRowSelectionSingle:!1,enableEditing:!1,enableFiltering:!1,enableSearch:!1,enableSorting:!1},Yd={display:{enableColumnFreezing:!0,enableColumnHiding:!0,enableColumnOrdering:!0,enableColumnResizing:!0,enableFontSize:!0,enableFooter:!0,enablePrinting:!1,enableRowDrag:!0,enableRowDrop:!0,enableRowExpansion:!0,enableRowGoto:!0,enableRowHeight:!0,enableRowSelection:!0,enableRowSelectionSingle:!1,enableEditing:!1,enableFiltering:!0,enableSearch:!0,enableSorting:!0},editable:{enableColumnFreezing:!0,enableColumnHiding:!0,enableColumnOrdering:!0,enableColumnResizing:!0,enableFontSize:!0,enableFooter:!0,enablePrinting:!1,enableRowDrag:!0,enableRowDrop:!0,enableRowExpansion:!0,enableRowGoto:!0,enableRowHeight:!0,enableRowSelection:!0,enableRowSelectionSingle:!1,enableEditing:!0,enableFiltering:!0,enableSearch:!0,enableSorting:!0},card:{enableColumnFreezing:!1,enableColumnHiding:!1,enableColumnOrdering:!1,enableColumnResizing:!1,enableFontSize:!1,enableFooter:!1,enablePrinting:!1,enableRowDrag:!1,enableRowDrop:!1,enableRowExpansion:!1,enableRowGoto:!1,enableRowHeight:!1,enableRowSelection:!1,enableRowSelectionSingle:!1,enableEditing:!1,enableFiltering:!1,enableSearch:!1,enableSorting:!0}};var Qd;!function(e){e[e.Contains=0]="Contains",e[e.DoesNotContain=1]="DoesNotContain",e[e.IsEqualTo=2]="IsEqualTo",e[e.IsNotEqualTo=3]="IsNotEqualTo",e[e.IsGreaterThan=4]="IsGreaterThan",e[e.IsLessThan=5]="IsLessThan",e[e.IsBetween=6]="IsBetween",e[e.IsEmpty=7]="IsEmpty",e[e.IsNotEmpty=8]="IsNotEmpty",e[e.IsLessThanOrEqualTo=9]="IsLessThanOrEqualTo",e[e.IsGreaterThanOrEqualTo=10]="IsGreaterThanOrEqualTo",e[e.HasAnyOf=11]="HasAnyOf",e[e.HasAllOf=12]="HasAllOf",e[e.HasNoneOf=13]="HasNoneOf"}(Qd||(Qd={}));const Xd=e=>String(null!=e?e:"").toLocaleLowerCase(),Zd=(e,t)=>Xd(e).includes(Xd(t)),em=(e,t)=>Xd(e)===Xd(t);function tm(e,t){return Zd(e,t)}function nm(e,t){try{if(t.comparator===Qd.IsEmpty||t.comparator===Qd.IsNotEmpty){const n=null==e||""===e;return t.comparator===Qd.IsEmpty?n:!n}if(null==t.value||""===t.value)return!0;switch(t.comparator){case Qd.Contains:return Zd(e,t.value);case Qd.DoesNotContain:return!Zd(e,t.value);case Qd.IsEqualTo:return m.isDate(e)?m.isDate(t.value)&&eo(e,t.value):"boolean"==typeof t.value?e===t.value:em(e,t.value);case Qd.IsNotEqualTo:return m.isDate(e)?m.isDate(t.value)&&!1===eo(e,t.value):"boolean"==typeof t.value?e!==t.value:!em(e,t.value);case Qd.IsGreaterThan:if(m.isDate(e))return m.isDate(t.value)&&m.isAfter(e,t.value);{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n>t.value}case Qd.IsLessThan:if(m.isDate(e))return m.isDate(t.value)&&m.isBefore(e,t.value);{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n<t.value}case Qd.IsLessThanOrEqualTo:if(m.isDate(e))return m.isDate(t.value)&&(m.isBefore(e,t.value)||m.isEqual(e,t.value));{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n<=t.value}case Qd.IsGreaterThanOrEqualTo:if(m.isDate(e))return m.isDate(t.value)&&(m.isAfter(e,t.value)||m.isEqual(e,t.value));{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n>=t.value}case Qd.IsBetween:{const[n,l]=t.value;if(m.isDate(e))return!(m.isDate(n)&&m.isBefore(e,n)||m.isDate(l)&&m.isAfter(e,l));{const t=parseInt(e);return!(isNaN(t)||void 0!==n&&t<n||void 0!==l&&t>l)}}case Qd.HasAnyOf:return!(!Array.isArray(t.value)||!Array.isArray(e))&&t.value.some(t=>e.includes(t));case Qd.HasNoneOf:return!(!Array.isArray(t.value)||!Array.isArray(e))&&t.value.every(t=>!1===e.includes(t));case Qd.HasAllOf:return!(!Array.isArray(t.value)||!Array.isArray(e))&&t.value.filter(t=>e.includes(t)).length===t.value.length}return!1}catch(e){return console.error(e),!0}}const lm=["A","BUTTON","INPUT","TEXTAREA","SELECT","DETAILS"].join(", "),am=(e,t)=>m.isDate(e)&&m.isDate(t)?!eo(e,t):Array.isArray(e)?JSON.stringify(e)!==JSON.stringify(t):e!==t;class rm{constructor(){this._value="0"}get value(){return this._value}set value(e){this._value=e}}function om(e){var t;return e?null===(t=e.closest("[role=cell]"))||void 0===t?void 0:t.getAttribute("data-column-index"):null}const im={tabbable:!0,accept:e=>!!e.closest('[role="row"][data-current="true"]')};function sm(e){var t,l;const a=v.useFocusManager(),r=e.table.options.meta,o=r.rowActive.rowActiveIndex===e.index,i=r.rowDrag.dragging[e.row.id],s=0===e.index,[c,u]=n.useState(!1),d=!!Object.keys(null!==(t=null===(l=r.validation.errors)||void 0===l?void 0:l[e.row.id])&&void 0!==t?t:{}).length,m={data:e.row.original,"aria-grabbed":!!i||!r.rowDrag.isEnabled&&void 0,"data-current":o,"data-selected":e.row.getIsSelected(),"data-invalid":d,draggable:r.rowDrag.isEnabled,index:e.index,onClick:r.rowClick.handleClick,onDrop:r.rowDrop.isEnabled?r.rowDrop.handleDrop:void 0};let g=n.createElement(fm,Object.assign({},e,m,{onKeyDown:t=>{if(!t.isDefaultPrevented()&&!t.isPropagationStopped()&&"Tab"===t.key){let n;r.rowActive.setHoverStatePaused(!0),t.shiftKey?(n=a.focusPrevious(im),n?t.preventDefault():s||(t.preventDefault(),r.rowActive.setRowActiveIndex(e.index-1),setTimeout(()=>a.focusLast(im),1))):(n=a.focusNext(im),n?t.preventDefault():e.isLastRow||(t.preventDefault(),r.rowActive.setRowActiveIndex(e.index+1),setTimeout(()=>a.focusFirst(im),1)))}}}));r.editing.isEditing&&(o||c&&!r.rowActive.isHoverStatePaused)&&(g=n.createElement(mm,Object.assign({},e,m,{isFirstRow:s,setActiveRowIndex:r.rowActive.setRowActiveIndex})));const f=n.useMemo(()=>({isHovered:c,setIsHovered:u,rowIndex:e.index,hasError:d}),[c,d,e.index]);return n.createElement(Od.Provider,{value:f},g)}const cm=new rm;let um;const dm=e=>{if(void 0!==um){var t;const n=new MouseEvent("mouseout",{view:window,bubbles:!0,cancelable:!0}),l=null==e||null===(t=e.current)||void 0===t?void 0:t.querySelector(`[data-row-index="${um}"]`);null==l||l.dispatchEvent(n)}};function mm(e){const{isFirstRow:t,...l}=e,a=v.useFocusManager(),r=e.table.options.meta;return n.useEffect(()=>{r.rowActive.isHoverStatePaused&&dm(e.tableRef)},[r.rowActive.isHoverStatePaused]),n.useEffect(()=>{if(r.rowActive.rowActiveIndex===e.index&&!r.search.isSearching)if(null!==cm.value){var t;const n=null===(t=e.tableRef.current)||void 0===t?void 0:t.querySelector(`[role="row"][data-current="true"] [data-column-index="${cm.value}"]`),l=null==n?void 0:n.querySelector(lm);if(l)l.focus();else if(n){const e=a.focusFirst(im);cm.value=om(e)}}else{const e=a.focusFirst(im);cm.value=om(e)}},[r.rowActive.rowActiveIndex,r.search.isSearching]),n.createElement(fm,Object.assign({},l,{onClickCapture:e=>{cm.value=om(e.target)},onKeyDown:n=>{n.isDefaultPrevented()||n.isPropagationStopped()||r.editing.detailModeEditing||r.shortcutsState.isPaused||((n=>{let l;("ArrowLeft"===n.key||"Tab"===n.key&&n.shiftKey)&&(n.stopPropagation(),n.preventDefault(),r.rowActive.setHoverStatePaused(!0),n.ctrlKey||n.metaKey?(n.target.blur(),l=a.focusFirst(im),cm.value=om(l)):(l=a.focusPrevious(im),l?cm.value=om(l):t&&n.currentTarget.contains(l)||(n.preventDefault(),r.rowActive.setHoverStatePaused(!0),r.rowActive.setRowActiveIndex(e.index-1),setTimeout(()=>{l=a.focusLast(im),cm.value=om(l)},1))))})(n),(t=>{let n;("ArrowRight"===t.key||"Tab"===t.key&&!t.shiftKey)&&(t.stopPropagation(),t.preventDefault(),r.rowActive.setHoverStatePaused(!0),t.ctrlKey||t.metaKey?(t.target.blur(),n=a.focusLast(im),cm.value=om(n)):(n=a.focusNext(im),n?cm.value=om(n):e.isLastRow||t.currentTarget.contains(n)||(t.preventDefault(),r.rowActive.setHoverStatePaused(!0),r.rowActive.setRowActiveIndex(e.index+1),setTimeout(()=>{n=a.focusFirst(im),cm.value=om(n)},1))))})(n))}}))}const gm=["input","button","a","select","option","label","textarea"],fm=n.memo((function(e){const{data:t,index:a,measureRef:r,onClick:o,onClickCapture:i,onDrop:s,row:c,table:u,tableRef:d,...m}=e,g=n.useRef(null),f=u.options.meta,{setIsHovered:h}=Id();n.useEffect(()=>{var e;const t=null===(e=g.current)||void 0===e?void 0:e.querySelector("[role=cell]:first-child");t&&r(t)},[g.current]);const[v,p]=Ti(e=>null==s?void 0:s(e,c.original)),w=l("group/row contents",'[[role="table"][data-resizing="true"]_&]:pointer-events-none',{"hover:cursor-pointer":"function"==typeof o});return n.createElement("div",Object.assign({},m,s?p:void 0,{className:w,"data-row-index":a,"data-dragged-over":v,onClick:e=>{if("function"==typeof o){var n;const l=e.target;if(null===(n=g.current)||void 0===n||!n.contains(e.target)||gm.includes(l.tagName.toLowerCase())||l.closest(gm.map(e=>"[role=row] "+e).join(",")))return;o(e,t)}},onClickCapture:e=>{"function"==typeof i&&i(e),requestAnimationFrame(()=>f.rowActive.setRowActiveIndex(a))},onMouseEnter:()=>{void 0!==um?um!==a&&(dm(d),um=a):um=a,h(!0)},onMouseLeave:()=>{um===a&&(um=void 0),h(!1)},role:"row",ref:g}))}));var hm,vm,pm;function wm(e,t){switch(t.type){case pm.SET_SAVING_STATUS:return{...e,[t.payload.rowId]:t.payload.state};case pm.SET_SAVING_STATUSES:return{...e,...t.payload.states};case pm.RESET_SAVING_STATUS:{const n={...e};return null==n||delete n[t.payload.rowId],n}default:return e}}!function(e){e.Saving="saving",e.Saved="saved",e.Error="error"}(hm||(hm={})),function(e){e[e.SET_CELL_VALUE=0]="SET_CELL_VALUE",e[e.RESET_CHANGE=1]="RESET_CHANGE"}(vm||(vm={})),function(e){e[e.SET_SAVING_STATUS=0]="SET_SAVING_STATUS",e[e.SET_SAVING_STATUSES=1]="SET_SAVING_STATUSES",e[e.RESET_SAVING_STATUS=2]="RESET_SAVING_STATUS"}(pm||(pm={}));const bm=n.memo((function(e){var t;const{className:a,editing:r,hasChanges:o,isActiveRow:i,row:s,rowIdentifier:c,table:u}=e,d=r.getSavingStatus(s.id),[m,g]=n.useState(!1),{texts:f}=dr(),[h,v]=n.useState(!1),p=u.getAllFlatColumns().find(e=>e.id===c),w=null==p||null===(t=p.columnDef.meta)||void 0===t?void 0:t.header,b=n.useRef(null),E=u.options.meta,x=si(3e3,()=>{g(!1),r.resetSavingStatus(s.id)});let y;n.useEffect(()=>{d&&d===hm.Saved&&!m&&(g(!0),x.start())},[d]),n.useEffect(()=>{E.shortcutsState.pause(h)},[h]),d&&(d===hm.Saving?y=n.createElement(tr,{title:f.table3.editing.saving.progress},n.createElement(Mr,{delay:0,className:"!text-grey-700 mr-1 !h-5 !w-5"})):m&&(y=n.createElement(tr,{title:f.table3.editing.saving.complete},n.createElement(ya,{name:"tick",className:"!text-grey-700 mr-1 !h-5 !w-5"})))),r.isEditing&&i&&(y=n.createElement(n.Fragment,null,y,n.createElement(or,{ref:b,appearance:"transparent","aria-label":f.table3.editing.actions.tooltip,icon:"more",menu:e=>n.createElement(Hi,Object.assign({},e),n.createElement(Hi.Content,null,n.createElement(Hi.Item,{icon:"tick",disabled:!o,onClick:()=>r.saveChangesIfNeeded()},f.table3.editing.actions.save),n.createElement(Hi.Item,{icon:"close",disabled:!o,onClick:()=>v(!0)},f.table3.editing.actions.clear),n.createElement(Hi.Item,{icon:"undo",onClick:()=>r.toggleEditing(!1)},f.table3.editing.actions.exit))),tabIndex:i?0:-1}),n.createElement(Co,{size:"xs",open:h,onClose:()=>{v(!1),requestAnimationFrame(()=>{b.current&&(b.current.focus(),cm.value=om(b.current))})}},n.createElement(Co.Content,{"aria-label":f.table3.editing.clearChangesConfirmationDialog.title},n.createElement(Co.Title,null,f.table3.editing.clearChangesConfirmationDialog.title),n.createElement("p",null,f.table3.editing.clearChangesConfirmationDialog.description.replace("[ROW_IDENTIFIER]",c&&w?w:f.table3.validation.index).replace("[ROW_IDENTIFIER_VALUE]",c&&w?s.original[c]:s.index)),n.createElement(Co.Footer,null,n.createElement(So,null,n.createElement(Co.Close,null,n.createElement(fr,{tabIndex:0},f.table3.editing.clearChangesConfirmationDialog.cancel)),n.createElement(Co.Close,null,n.createElement(fr,{tabIndex:0,appearance:"primary",autoFocus:!0,onClick:()=>r.resetChange(s.id)},f.table3.editing.clearChangesConfirmationDialog.confirm))))))));const z=l("flex items-center justify-end text-right",{"-mb-2 -mt-2":i});return n.createElement(Hd,Object.assign({},e,{className:l(a,{"!sticky":!!y})}),y?n.createElement("span",{className:z},y):void 0)}));function Em(e){const{rowIndex:t}=n.useContext(Od),l=e.table.options.meta,a=l.editing.changes?Object.keys(l.editing.changes):[],r=e.table.getVisibleLeafColumns(),o=r.length>0?r.length-1:0,i=Fd(t,l.rowActive.rowActiveIndex,l.editing.rowMoveReason)?Dd(e.index,o):void 0;return n.createElement(bm,Object.assign({},e,{className:i,editing:l.editing,hasChanges:a.indexOf(e.row.id)>=0,isActiveRow:l.rowActive.rowActiveIndex===t}))}const xm=t.forwardRef((function(e,n){const{onKeyDown:a,...r}=e,o=l(zr(e),"pt-[5px] pb-[7px] min-h-[75px] disabled:resize-none !leading-5",e.className);return t.createElement("textarea",Object.assign({},r,{className:o,"data-taco":"textarea",onKeyDown:e=>{if(1!==e.key.length||Ja(e)||e.stopPropagation(),"Home"===e.key||"End"===e.key){e.preventDefault();const t="End"===e.key?e.currentTarget.value.length:0;e.currentTarget.setSelectionRange(t,t),e.currentTarget.scrollTop="End"===e.key?e.currentTarget.scrollHeight:0}a&&a(e)},ref:n}))})),ym={small:{min:24,max:86},medium:{min:32,max:100},large:{min:40,max:140}},zm=n.forwardRef((function(e,t){const{onKeyDown:a,onChange:r,onBlur:o,onFocus:i,column:s,isCellInDetailMode:c,align:u,isActiveRow:d,value:m,fontSize:g,...f}=e,h=ym[g],v=s.columnDef.meta,p=qa(t);n.useEffect(()=>{null!=p&&p.current&&(null!=v&&v.enableTruncate?(null==p?void 0:p.current).style.height=h.min+"px":w(null==p?void 0:p.current))},[g]),n.useEffect(()=>{if(null!=p&&p.current&&null!=v&&v.enableTruncate){const e=null==p?void 0:p.current;c?w(e):e.style.height=h.min+"px"}},[c]);const w=e=>{const t=e.getBoundingClientRect();null!=v&&v.enableTruncate?t.height<h.max&&(e.style.height="inherit",e.style.height=Math.min(e.scrollHeight,h.max)+"px"):(e.style.height="inherit",e.style.height=e.scrollHeight+"px")},b=l("w-full",{"focus-within:absolute focus-within:left-0 focus-within:top-0 focus-within:z-[9]":null==v?void 0:v.enableTruncate});return n.createElement("div",{"data-taco":"input-container"},n.createElement("div",{style:{minHeight:h.min+"px"},className:"relative"},n.createElement("div",{className:b},n.createElement(xm,Object.assign({},f,{onChange:e=>{r(e.target.value),w(e.target)},rows:1,onKeyDown:e=>{var t;(t=e).shiftKey&&"Enter"===t.key||a(t)},onBlur:e=>{null!=v&&v.enableTruncate&&(e.currentTarget.style.height=h.min+"px"),o(e)},onFocus:e=>{const t=null==p?void 0:p.current;t&&w(t),i(e)},className:l(Kd(u),"h-fit resize-none overflow-hidden focus:overflow-auto [&:not(:focus)]:whitespace-nowrap",{[`!min-h-[${h.min}px]`]:null==v?void 0:v.enableTruncate,"!yt-focus-dark":c,[`h-[${h.min}px]`]:!c&&(null==v?void 0:v.enableTruncate),"focus:resize-y":d&&(null==v?void 0:v.enableTruncate)}),ref:p,value:String(null!=m?m:"")})))))})),Rm=n.forwardRef((function(e,t){var a;const{align:r,column:o,data:i,initialValue:s,onChange:c,table:u,tableRef:d,value:m,cell:g,error:f,...h}=e,v=u.options.meta,p=n.useRef(),w=Na([p,t]),b=o.columnDef.meta,E=null==b?void 0:b.control,x=v.editing.detailModeEditing&&(null==p||null===(a=p.current)||void 0===a?void 0:a.contains(document.activeElement)),y=g.row.original,z="number"===(null==b?void 0:b.dataType),R=e=>{(e=>{if(Ya(e,{key:"e",meta:!0,shift:!1}))return void v.editing.toggleEditing(!1);const t=e.target;var n,l;if(!t.readOnly)if(!v.editing.detailModeEditing||"ArrowUp"!==e.key&&"ArrowDown"!==e.key||e.stopPropagation(),"Escape"!==e.key)"Enter"!==e.key||(e.preventDefault(),v.editing.detailModeEditing?null==t||null===(n=t.select)||void 0===n||n.call(t):(e=>{var t,n,l;const a="number"===e.type;a&&(e.type="text"),null===(t=e.setSelectionRange)||void 0===t||t.call(e,null===(n=e.value)||void 0===n?void 0:n.length,null===(l=e.value)||void 0===l?void 0:l.length),a&&(e.type="number")})(t),v.editing.setDetailModeEditing(!v.editing.detailModeEditing));else if(e.preventDefault(),v.editing.detailModeEditing){if(v.editing.setDetailModeEditing(!1),m!==s){const e={...v.editing.changes?v.editing.changes[g.row.id]:{},[g.column.id]:s};D.isEqual(g.row.original,e)?v.editing.resetChange(g.row.id):c(s)}}else v.editing.toggleEditing(!1),null===(l=d.current)||void 0===l||l.focus()})(e),/^[a-z0-9]$/i.test(e.key)&&v.editing.setDetailModeEditing(!0)},C=e=>{var t;const{frozenColumnIndex:n=-1,frozenInternalColumnCount:l=0}=v.columnFreezing,a=v.tableRef.current,r=n>-1?n+l:l-1,o=null===(t=e.target)||void 0===t?void 0:t.closest('[role="cell"]');if(!a||!o)return;const i=pd(a,o,r,!0);null!==i&&(a.scrollLeft=i)};if("function"==typeof E)return E({...h,invalid:!!f,onFocus:C,ref:w,setValue:e=>{e!==m&&c(e)},fontSize:v.fontSize.size,value:m},i);if("datepicker"===E){const e=e=>{const t=e.detail;am(y[g.column.id],t)&&c(t)};return n.createElement(go,Object.assign({},h,{invalid:!!f,className:l({"[&_input]:!yt-focus-dark":x}),onChange:e,onFocus:C,onKeyDown:R,ref:w,value:m}))}return"switch"===E?n.createElement(mc,Object.assign({},h,{checked:Boolean(m),onChange:c,onFocus:C,ref:w})):"textarea"===E?n.createElement(zm,Object.assign({},e,{invalid:!!f,isCellInDetailMode:x,onFocus:C,onKeyDown:R,ref:w,fontSize:v.fontSize.size})):n.createElement(Ir,Object.assign({},h,{invalid:!!f,className:l(Wd(),Kd(r),{"!yt-focus-dark":x}),onChange:e=>{c(e.target.value)},onFocus:C,onKeyDown:R,ref:w,type:z?"number":void 0,value:z?m:String(null!=m?m:"")}))}));function Cm(e){const{cell:t,table:l}=e,{isHovered:a}=Id(),r=l.options.meta,o=r.validation.getCellError(t);return n.createElement(Sm,Object.assign({},e,{error:o,isHovered:a,tableMeta:r}))}const Sm=n.memo((function(e){var t,a,r,o;const{cell:i,column:s,index:c,getValue:u,table:d,tableRef:m,row:g,tableMeta:f,error:h,highlighted:v,highlightedAsCurrent:p}=e,{rowIndex:w}=n.useContext(Od),b=s.columnDef.meta,E=n.useRef(null),x=n.useRef(null),y=null!==(t=f.editing.getCellValue(i))&&void 0!==t?t:u(),z=(null===(a=f.editing.rowMoveReason)||void 0===a?void 0:a[i.column.id])||null,R=d.getRowModel().rows,C=void 0!==f.rowActive.rowActiveIndex&&(null===(r=R[f.rowActive.rowActiveIndex])||void 0===r?void 0:r.id)===g.id,S=n.useMemo(()=>{var e,t;return null!==z&&C&&!h?null===(e=E.current)||void 0===e||null===(t=e.parentElement)||void 0===t?void 0:t.firstChild:null},[z,C,h,E]),N=()=>{f.editing.removeRowMoveReason()};n.useEffect(()=>{if(C){if(!h){if(am(u(),y)){const e=function(e,t,n,l,a,r){var o;let i=null;const{globalFilter:s}=e.getState();return r&&!Object.values({...n,[l.id]:a}).some(()=>tm(String(a),s?String(s):""))?i=jd.SEARCH:l.column.getIsFiltered()&&!nm(a,l.column.getFilterValue())?i=jd.FILTER:!i&&l.column.getIsSorted()&&((e,t,n,l,a)=>{var r;const o=[{...t.row,original:{...t.row.original,[t.column.id]:e}}];o[0].getValue=()=>e;let i=0;n>0&&(o.unshift(l[n-1]),i=1),n<l.length-1&&o.push(l[n+1]);let s=[...o].sort((e,n)=>t.column.getSortingFn()(e,n,t.column.id));return a&&(s=s.reverse()),(null===(r=s[i])||void 0===r?void 0:r.id)!==t.row.id})(a,l,t,e.getRowModel().rows,!(null===(o=e.getState().sorting.find(e=>e.id===l.column.id))||void 0===o||!o.desc))&&(i=jd.SORTING),i}(d,w,g.original,i,y,f.search.excludeUnmatchedResults);e&&f.editing.setRowMoveReason({[i.column.id]:e})}else N();return N}f.editing.rowMoveReason&&N()}},[y,f.rowActive.rowActiveIndex,f.search.excludeUnmatchedResults,h]);const A=null===(o=s.columnDef.meta)||void 0===o?void 0:o.control,O=l("py-[calc(var(--table3-cell-padding-y)_-_0.06rem_-_1px)]",{relative:"textarea"===A&&b.enableTruncate},e.className,"function"==typeof b.className?b.className(g.original):b.className),I=l("!min-h-0 w-full !pb-0",{"!pb-3":!!h}),L=n.createElement(Qo,{message:h,invalid:!!h,className:I},n.createElement(Rm,{align:b.align,column:i.column,data:i.row.original,initialValue:u(),onBlur:()=>{var e;f.editing.setDetailModeEditing(!1),null!==(e=f.editing.changes)&&void 0!==e&&e[i.row.id]&&f.validation.validate(i.row.id,f.editing.changes[i.row.id],i.column.id)},onFocus:e=>{var t;const n=f.columnFreezing.frozenColumnIndex,l=m.current;if(l&&void 0!==n&&c>n){var a;const e=qd(n,l),t=null===(a=E.current)||void 0===a?void 0:a.getBoundingClientRect(),r=null==e?void 0:e.getBoundingClientRect(),o=l.getBoundingClientRect();t&&r&&t.left<r.left+r.width?l.scrollTo(t.left-(r.left+r.width),l.scrollTop):t&&o&&t.right>o.right-60&&l.scrollTo(l.scrollLeft+60+10,l.scrollTop)}null!==(t=e.target)&&void 0!==t&&t.select&&requestAnimationFrame(()=>{e.target.select()})},onChange:e=>f.editing.setCellValue(i,e),ref:x,table:d,tableRef:m,value:y,cell:i,error:h,tabIndex:C?0:-1,isActiveRow:C}));return n.createElement(n.Fragment,null,null!==z&&S&&!h?n.createElement(Td,{reason:z,columnName:String(i.column.columnDef.header),mountNode:S,validationErrors:[]}):null,n.createElement("div",{className:v?void 0:O,"data-align":b.align,"data-column-index":c,role:"cell","data-editable":!0,ref:E,"data-invalid":!!h,"data-highlighted":v},v?n.createElement(Ld,{current:p,className:O,frozenColumnIndex:f.columnFreezing.frozenColumnIndex,index:c,tableRef:m},L):L))}));function Nm(e){var t;const{column:l,row:a,table:r,index:o,getValue:i,cell:s}=e,{isHovered:c,hasError:u,rowIndex:d}=Id(),m=r.getRowModel().rows,g=r.options.meta,f=l.columnDef.meta,h=g.validation.errors?g.validation.errors[a.id]:null,v=u&&h&&!!h[l.id],p=g.rowActive.rowActiveIndex,w=void 0!==p&&(null===(t=m[p])||void 0===t?void 0:t.id)===a.id;let b=i();const E=r.getVisibleLeafColumns(),x=E.length>0?E.length-1:0,y=Fd(d,p,g.editing.rowMoveReason)?Dd(o,x):void 0;if(g.editing.isEditing){const e=g.editing.getCellValue(s);b=null!=e?e:b}const z=n.useMemo(()=>{var e;return!(!g.search.isHighlightingEnabled||!f.enableSearch)&&!(null===(e=g.search.query)||void 0===e||!e.length)&&function(e,t,n){return null!=t&&String($d(t,n)).toLocaleLowerCase().includes(e.toLocaleLowerCase())}(g.search.query,b,f.dataType)},[b,g.search.isHighlightingEnabled,g.search.excludeUnmatchedResults,g.search.query]),R=n.useMemo(()=>{if(!g.search.isHighlightingEnabled||!z||void 0===g.search.currentHighlightColumnIndex)return!1;const[e,t]=g.search.highlightedColumnIndexes[g.search.currentHighlightColumnIndex];return e===d&&t===o},[z,g.search.highlightedColumnIndexes.length,g.search.currentHighlightColumnIndex]),C={highlighted:z,highlightedAsCurrent:R};return g.editing.isEditing&&f.control&&(w||c&&!g.rowActive.isHoverStatePaused||v)?n.createElement(Cm,Object.assign({},e,C,{className:y})):n.createElement(Hd,Object.assign({},e,C,{value:b,className:y}))}function Am(e){const{texts:t}=dr();if(e.table.options.enableMultiRowSelection){const l=e.table.getIsAllRowsSelected(),a=e.table.getIsSomeRowsSelected(),r=l?t.table3.columns.select.deselectAll:t.table3.columns.select.selectAll;return n.createElement(Sd,Object.assign({},e),n.createElement(tr,{title:r},n.createElement(yr,{"aria-label":r,className:"hover:border-blue !mt-0",key:String(`${l}_${a}`),checked:l,indeterminate:a,onChange:e.table.toggleAllRowsSelected,tabIndex:-1})))}return n.createElement(Sd,Object.assign({},e))}const Om=n.memo((function(e){const{texts:t}=dr(),{rowIndex:a}=n.useContext(Od),r=e.table.options.meta,o=r.rowActive.rowActiveIndex===a,i=e.row.getIsSelected(),s=i?t.table3.columns.select.deselect:t.table3.columns.select.select;if(e.table.options.enableMultiRowSelection){const t=t=>{if(t.stopPropagation(),t.shiftKey){var n;const[t,i]=(l=null!==(n=r.rowSelection.lastSelectedRowIndex.current)&&void 0!==n?n:0,[(o=a)<l?o:l,o>l?o:l]);e.table.getRowModel().rows.slice(t,i+1).forEach(e=>e.toggleSelected(!0))}else e.row.toggleSelected();var l,o;r.rowSelection.lastSelectedRowIndex.current=a};return n.createElement(Hd,Object.assign({},e),n.createElement(tr,{title:n.createElement(n.Fragment,null,s,n.createElement(fi,{className:"ml-2",keys:"Space"}))},n.createElement(yr,{"aria-label":s,className:"!mt-0",checked:i,onClick:t,onChange:()=>!1,tabIndex:o?0:-1})))}{const t=l("!mt-0",xi()),o=t=>{t.stopPropagation(),e.row.toggleSelected(),r.rowSelection.lastSelectedRowIndex.current=a};return n.createElement(Hd,Object.assign({},e),n.createElement("button",{className:t,"aria-checked":i,onClick:o,role:"radio",tabIndex:-1,type:"button"},i?n.createElement("span",{className:"h-2 w-2 rounded-full bg-white"}):null))}}),(function(e,t){return t.table.options.meta.rowActive.rowActiveIndex===e.table.options.meta.rowActive.rowActiveIndex&&t.row.getIsSelected()!==e.row.getIsSelected()}));function Im(e){const{texts:t}=dr(),l=e.table.getIsSomeRowsExpanded(),a=l?t.table3.columns.expansion.collapseAll:t.table3.columns.expansion.expandAll;return n.createElement(Sd,Object.assign({},e),n.createElement(tr,{title:a},n.createElement(or,{appearance:"transparent",icon:l?"chevron-down-double":"chevron-right-double",onClick:t=>{t.stopPropagation(),e.table.toggleAllRowsExpanded(!l)},tabIndex:-1,title:a})))}const Lm=n.memo((function(e){const{expandedRowRenderer:t,isActiveRow:l,isExpanded:a,row:r,table:o}=e,{texts:i}=dr(),s=o.options.meta;let c;if(t(r.original)){const e=a?i.table3.columns.expansion.collapse:i.table3.columns.expansion.expand;c=n.createElement(tr,{title:e},n.createElement(or,{appearance:"discrete",className:"-mt-1.5",icon:a?"chevron-down":"chevron-right",onClick:e=>{e.stopPropagation(),r.toggleExpanded()},tabIndex:l&&!s.editing.isEditing?0:-1,title:e}))}return n.createElement(Hd,Object.assign({},e),c)}));function Hm(e){const{expandedRowRenderer:t,...l}=e,{rowIndex:a}=n.useContext(Od);return n.createElement(Lm,Object.assign({},l,{expandedRowRenderer:t,isActiveRow:l.table.options.meta.rowActive.rowActiveIndex===a,isExpanded:l.row.getIsExpanded()}))}const Mm=n.memo((function(e){const{isSelected:t,onRowDrag:l,row:a,table:r}=e,{texts:o}=dr(),i=r.options.meta;return n.createElement(Hd,Object.assign({},e),n.createElement("div",{draggable:!0,onDragStart:e=>{let n=[a];r.options.enableRowSelection&&(n=t?r.getSelectedRowModel().rows:[a,...r.getSelectedRowModel().rows]);const o=n.map(e=>e.original);i.rowDrag.setDragging(n.reduce((e,t)=>({...e,[t.id]:!0}),{})),e.dataTransfer.setData("text",JSON.stringify(o)),l(o,t=>{const n=document.createElement("div");n.id="taco_table_dragging",n.className="wcag-blue rounded flex w-48 p-4 absolute -ml-[100vw]",n.innerText=t,document.body.appendChild(n),e.dataTransfer.setDragImage(n,0,0)},t=>e.dataTransfer.setData("text",t))},onDragOver:e=>e.preventDefault(),onDragEnd:()=>{var e;null===(e=document.getElementById("taco_table_dragging"))||void 0===e||e.remove(),i.rowDrag.setDragging({})}},n.createElement(ya,{"aria-label":o.table3.columns.drag.tooltip,name:"drag",className:"text-grey-darkest invisible -mt-1 w-[20px] cursor-grab active:cursor-grabbing group-hover/row:visible group-[[aria-grabbed='true']]/row:text-white"})))}));function km(e){const{children:t,column:l,header:a,table:r,hasSeparator:o}=e,i=n.useMemo(()=>l.columnDef.meta,[]),s={align:"center",children:null!=t?t:i.header,colSpan:a.colSpan,hasSeparator:o,id:a.id,index:a.index,isPrinting:r.options.meta.printing.isPrinting,length:r.getRowModel().rows.length,meta:i,table:r};return n.createElement(Vm,Object.assign({},s))}const Vm=n.memo((function(e){var t;const{align:a,children:r,colSpan:o,hasSeparator:i,id:s,isPrinting:c,meta:u,table:d}=e,m=l("px-2 z-10 hover:z-20",{sticky:!c}),g=l("font-bold box-content group/column relative","px-[var(--table3-cell-padding-x)]",{"h-10 items-center":!c,"pb-2":c,"border-b-2":!!r},u.headerClassName);return d.options.debugAll&&console.log("header group render",s),n.createElement("div",{className:m,style:o>1?{gridColumn:`span ${o} / span ${o}`}:void 0,"data-taco":"table3-column-group","data-align":a,role:"columnheader"},n.createElement("div",{className:g},n.createElement(tr,{title:String(null!==(t=null==u?void 0:u.tooltip)&&void 0!==t?t:r),placement:"top"},n.createElement("span",{className:l({truncate:!c})},r)),i?n.createElement(Ad,null):null))}));function jm(e,t,n){let l=e?{...e}:{};return l&&l[t]&&(n?(delete l[t][n],0===Object.keys(l[t]).length&&delete l[t]):delete l[t]),0===Object.keys(l).length&&(l=null),l}var Tm;function Dm(e,t){var n,l;switch(t.type){case Tm.SET_CELL_ERROR:return{...e,draftErrors:{...e.draftErrors,[t.payload.rowId]:{...null===(n=e.draftErrors)||void 0===n?void 0:n[t.payload.rowId],[t.payload.cellId]:t.payload.error}}};case Tm.SET_ROW_ERROR:return{...e,draftErrors:{...e.draftErrors,[t.payload.rowId]:{...null===(l=e.draftErrors)||void 0===l?void 0:l[t.payload.rowId],...t.payload.errors}}};case Tm.CONFIRN_ERRORS:{const n={...e.draftErrors},l={...n[t.payload.rowId]};return delete n[t.payload.rowId],{draftErrors:n,errors:{...e.errors,[t.payload.rowId]:l}}}case Tm.RESET_ERRORS:{const n=jm(e.draftErrors,t.payload.rowId,t.payload.cellId);return{errors:jm(e.errors,t.payload.rowId,t.payload.cellId),draftErrors:n}}default:return e}}!function(e){e[e.SET_CELL_ERROR=0]="SET_CELL_ERROR",e[e.SET_ROW_ERROR=1]="SET_ROW_ERROR",e[e.CONFIRN_ERRORS=2]="CONFIRN_ERRORS",e[e.RESET_ERRORS=3]="RESET_ERRORS"}(Tm||(Tm={}));const Fm=n.memo((function(e){var t;const{data:l,renderer:a,registerSize:r}=e,o=n.useRef(null);n.useEffect(()=>{o.current&&r&&r(o.current.getBoundingClientRect().height)},[]);const i=null===(t=a(l))||void 0===t?void 0:t();return i?n.createElement("div",{className:"border-grey-300 bg-grey-50 col-span-full border-b p-4",ref:o},i):null})),Pm={short:33,medium:41,tall:49,"extra-tall":57};function Bm(e){const{loadPage:t,pageIndex:l,table:a}=e,{ref:r,inView:o}=A.useInView({threshold:0,triggerOnce:!0,initialInView:0===l});return n.useEffect(()=>{o&&t(l,a.getState().sorting,a.getState().columnFilters,a.getState().globalFilter)},[o]),n.createElement("div",{className:"border-grey-300 flex h-10 items-center border-b px-2",ref:r},n.createElement("span",{className:"bg-grey-100 text-grey-700 h-4 w-full text-center text-xs"}))}function _m(e){const{columns:t,...l}=e;return n.createElement("div",{className:"contents"},t.map(e=>n.createElement(Bm,Object.assign({key:e.id},l))))}function Gm(e,t,l,a,r,o){return()=>{if(t.length){var i,s,c,u;const d=r.virtualItems.length>0&&null!==(i=null===(s=r.virtualItems[0])||void 0===s?void 0:s.start)&&void 0!==i?i:0,m=r.virtualItems.length>0?r.totalSize-(null!==(c=null===(u=r.virtualItems[r.virtualItems.length-1])||void 0===u?void 0:u.end)&&void 0!==c?c:0):0,g=e=>t=>{o(n=>t!==n[e]?{...n,[e]:t}:n)};return n.createElement(n.Fragment,null,d?n.createElement("div",{style:{height:d},className:"col-span-full"}):null,r.virtualItems.map(r=>{const o=t[r.index];if(void 0===o.original&&e.pageSize){const t=Math.floor(r.index/e.pageSize)*e.pageSize/e.pageSize;return n.createElement(_m,{key:o.id,columns:l.getVisibleLeafColumns(),loadPage:e.loadPage,pageIndex:t,table:l})}return n.createElement(n.Fragment,{key:o.id},n.createElement(sm,{index:r.index,isLastRow:r.index===t.length-1,measureRef:r.measureRef,row:o,table:l,tableRef:a},o.getVisibleCells().map((e,t)=>n.createElement(n.Fragment,{key:e.id},z.flexRender(e.column.columnDef.cell,{...e.getContext(),index:t,tableRef:a})))),o.getIsExpanded()?n.createElement(Fm,{data:o.original,renderer:e.expandedRowRenderer,registerSize:g(r.index)}):null)}),m?n.createElement("div",{style:{height:m},className:"col-span-full"}):null)}return null}}var qm;function $m(e){const{scrollToIndex:t,table:l}=e,{texts:a}=dr(),r=n.useRef(null),o=l.options.meta,[i,s]=n.useState(o.search.query),[c,u]=n.useState(qm.Incomplete),[d,m]=n.useState(null),g=e=>t(e,{align:"center"});n.useEffect(()=>{var e;const t=function(e,t,n){const l=n.options.meta;let a;if(e&&t){const e=[],r=n.getVisibleLeafColumns();n.getRowModel().rows.forEach((n,l)=>{r.forEach((a,r)=>{try{var o;if(a.getIsVisible()&&null!==(o=a.columnDef.meta)&&void 0!==o&&o.enableSearch){var i,s;const o=$d(null===(i=n.original)||void 0===i?void 0:i[a.id],null===(s=a.columnDef.meta)||void 0===s?void 0:s.dataType);void 0!==o&&tm(o,t)&&e.push([l,r])}}catch(e){}})}),l.search.setHighlightedColumnIndexes(e),e.length?(a=e[0][0],l.search.setCurrentHighlightColumnIndex(0)):l.search.setCurrentHighlightColumnIndex(void 0)}else l.search.setHighlightedColumnIndexes([]),l.search.setCurrentHighlightColumnIndex(void 0);return void 0!==a&&l.rowActive.setRowActiveIndex(a),a}(o.search.isHighlightingEnabled,null===(e=r.current)||void 0===e?void 0:e.value,l);t&&g(t)},[o.search.query,o.search.excludeUnmatchedResults,l.getRowModel().rows.length,JSON.stringify(l.getState().sorting),JSON.stringify(l.getState().columnVisibility),c]),n.useEffect(()=>{o.search.query!==i&&s(o.search.query)},[o.search.query]),function(e,t,l=200){const a=n.useRef();n.useEffect(()=>(a.current=setTimeout(e,l),()=>{clearTimeout(a.current)}),t)}(()=>{o.search.setQuery(i),o.search.excludeUnmatchedResults&&(null!=i&&i.length?l.setGlobalFilter(i):l.resetGlobalFilter())},[i]);const f=()=>{var e,t;const n=null!==(e=o.search.currentHighlightColumnIndex)&&void 0!==e?e:0,a=null!==(t=o.search.highlightedColumnIndexes[n])&&void 0!==t?t:[],[r=null,i=null]=a,s=l.getRowModel().rows;if(o.search.setQuery(""),cm.value=String(i),null!==r){var c;const e=(null===(c=s[r])||void 0===c?void 0:c.id)||null;m(e)}},{globalFilter:h}=l.getState();n.useEffect(()=>{if(null!==d&&!h){const e=l.getRowModel().rows.findIndex(e=>e.id===d);o.search.setIsSearching(!1),o.rowActive.setRowActiveIndex(e),g(e),m(null)}},[d,h]);const v=n.createElement(mc,{label:a.table3.search.excludeUnmatchedResults,checked:o.search.excludeUnmatchedResults,onChange:e=>{var t,n;o.search.toggleExcludeUnmatchedResults(e),e&&null!==(t=r.current)&&void 0!==t&&t.value?l.setGlobalFilter(null===(n=r.current)||void 0===n?void 0:n.value):l.resetGlobalFilter(),requestAnimationFrame(()=>{var e;return null===(e=r.current)||void 0===e?void 0:e.focus()})}});return n.createElement(n.Fragment,null,n.createElement(dc,{findCurrent:void 0!==o.search.currentHighlightColumnIndex?o.search.currentHighlightColumnIndex+1:null,findTotal:o.search.highlightedColumnIndexes?o.search.highlightedColumnIndexes.length:null,loading:c===qm.Loading,onClickFindPrevious:()=>{if(!o.search.highlightedColumnIndexes.length)return;const e=void 0===o.search.currentHighlightColumnIndex?0:0===o.search.currentHighlightColumnIndex?o.search.highlightedColumnIndexes.length-1:o.search.currentHighlightColumnIndex-1;o.search.setCurrentHighlightColumnIndex(e),g(o.search.highlightedColumnIndexes[e][0])},onClickFindNext:()=>{if(!o.search.highlightedColumnIndexes.length)return;const e=void 0===o.search.currentHighlightColumnIndex||o.search.currentHighlightColumnIndex===o.search.highlightedColumnIndexes.length-1?0:o.search.currentHighlightColumnIndex+1;o.search.setCurrentHighlightColumnIndex(e),g(o.search.highlightedColumnIndexes[e][0])},onChange:e=>{s(String(null!=e?e:""))},onFocus:function(){try{o.search.setIsSearching(!0);const e=function(){if(o.server.loadAll&&c===qm.Incomplete)return u(qm.Loading),Promise.resolve(o.server.loadAll(l.getState().sorting,l.getState().columnFilters,void 0)).then((function(){u(qm.Completed)}))}();return Promise.resolve(e&&e.then?e.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},onBlur:()=>{o.search.setIsSearching(!1)},onKeyDown:e=>{"Escape"===e.key&&(f(),e.preventDefault())},onClear:f,placeholder:a.table3.search.placeholder,settingsContent:v,ref:r,shortcut:{key:"f",meta:!0,shift:!1},value:i}))}function Km(e){const{allColumns:t,filters:l,onChange:a,value:r=null,...o}=e,{texts:i}=dr(),s=t.find(e=>e.id===r),c=s&&!s.getIsVisible();return n.createElement("div",{className:"flex flex-col"},n.createElement(Qo,{message:c?i.table3.filters.hiddenColumn:void 0,warning:c,className:"min-h-[theme(spacing.8)]"},n.createElement(ru,Object.assign({},o,{className:"!w-32 flex-shrink-0",emptyValue:null,onChange:a,value:r}),t.map(e=>{var t,a,o;return n.createElement(ru.Option,{key:e.id,value:e.id,postfix:e.getIsVisible()?void 0:n.createElement(tr,{title:i.table3.filters.hiddenColumn},n.createElement(ya,{name:"eye-off",className:"text-grey-500 !h-5 !w-5"})),disabled:!(e.id===r||e.getCanFilter()&&!l.find(t=>t.id===e.id))},(null===(t=e.columnDef.meta)||void 0===t?void 0:t.header)+(e.parent?` (${null===(a=e.parent)||void 0===a||null===(o=a.columnDef.meta)||void 0===o?void 0:o.header})`:""))}))))}function Um(e){const{column:t,onChange:l,value:a,...r}=e,{texts:o}=dr(),i=function(e){var t;const l=null!==(t=null==e?void 0:e.columnDef.meta)&&void 0!==t?t:{};if(Array.isArray(l.filters))return l.filters;if("function"==typeof l.control){const e=l.control({onBlur:()=>{},onFocus:()=>{},setValue:()=>{},value:void 0,disabled:!1,readOnly:!1,ref:void 0});if(n.isValidElement(e)){const{props:t,type:n}=e;if("Select2"===n.displayName)return t.multiple?[Qd.HasAnyOf,Qd.HasAllOf,Qd.IsEqualTo,Qd.HasNoneOf,Qd.IsEmpty,Qd.IsNotEmpty]:[Qd.IsEqualTo,Qd.IsNotEqualTo,Qd.IsEmpty,Qd.IsNotEmpty]}}return"number"===l.dataType?[Qd.IsEqualTo,Qd.IsNotEqualTo,Qd.IsGreaterThan,Qd.IsLessThan,Qd.IsBetween,Qd.IsEmpty,Qd.IsNotEmpty]:"datepicker"===l.control||"datetime"===l.dataType?[Qd.IsEqualTo,Qd.IsNotEqualTo,Qd.IsBetween,Qd.IsLessThan,Qd.IsGreaterThan,Qd.IsEmpty,Qd.IsNotEmpty,Qd.IsLessThanOrEqualTo,Qd.IsGreaterThanOrEqualTo]:"switch"===l.control?[Qd.IsEqualTo]:[Qd.Contains,Qd.DoesNotContain,Qd.IsEqualTo,Qd.IsNotEqualTo,Qd.IsEmpty,Qd.IsNotEmpty]}(t);return n.useEffect(()=>{void 0!==a&&i.includes(a)||null==l||l(i[0])},[i]),n.createElement(ru,Object.assign({},r,{className:"!w-32 flex-shrink-0",disabled:!t,onChange:l,value:a}),i.map(e=>n.createElement(ru.Option,{key:e,value:e},function(e,t,n){var l,a;const r="datepicker"===(null==n||null===(l=n.columnDef)||void 0===l||null===(a=l.meta)||void 0===a?void 0:a.control);switch(e){case Qd.Contains:return t.table3.filters.comparators.contains;case Qd.DoesNotContain:return t.table3.filters.comparators.doesNotContain;case Qd.IsEqualTo:return t.table3.filters.comparators.isEqualTo;case Qd.IsNotEqualTo:return t.table3.filters.comparators.isNotEqualTo;case Qd.IsGreaterThan:return r?t.table3.filters.comparators.isAfter:t.table3.filters.comparators.isGreaterThan;case Qd.IsLessThan:return r?t.table3.filters.comparators.isBefore:t.table3.filters.comparators.isLessThan;case Qd.IsBetween:return t.table3.filters.comparators.isBetween;case Qd.IsEmpty:return t.table3.filters.comparators.isEmpty;case Qd.IsNotEmpty:return t.table3.filters.comparators.isNotEmpty;case Qd.IsLessThanOrEqualTo:return r?t.table3.filters.comparators.isOnOrBefore:t.table3.filters.comparators.isLessThanOrEqualTo;case Qd.IsGreaterThanOrEqualTo:return r?t.table3.filters.comparators.isOnOrAfter:t.table3.filters.comparators.isGreaterThanOrEqualTo;case Qd.HasAnyOf:return t.table3.filters.comparators.hasAnyOf;case Qd.HasAllOf:return t.table3.filters.comparators.hasAllOf;case Qd.HasNoneOf:return t.table3.filters.comparators.hasNoneOf;default:return""}}(e,o,t))))}function Wm(e){const{allColumns:t,filters:l,onCreate:a,onRemove:r,position:o}=e,{texts:i}=dr();return n.createElement("div",{className:"flex items-start gap-2"},n.createElement("div",{className:"flex min-h-[theme(spacing.8)] w-14 flex-shrink-0 items-center justify-end pr-2 text-right"},o>0?i.table3.filters.conditions.and:i.table3.filters.conditions.where),n.createElement(Km,{allColumns:t,filters:l,onChange:a,value:null}),n.createElement(Um,null),n.createElement(Ir,{"aria-label":i.table3.filters.emptyFilter.value,className:"flex-grow",disabled:!0,value:i.table3.filters.emptyFilter.value}),r?n.createElement(or,{appearance:"discrete",icon:"close",onClick:r}):null)}function Jm(e){const{column:t,comparator:l,onChange:a,value:r}=e,{texts:o}=dr();if(l===Qd.IsEmpty||l===Qd.IsNotEmpty)return null;if(l===Qd.IsBetween){var i;const e=Array.isArray(r)?r[0]:void 0,l=Array.isArray(r)?r[1]:void 0;return void 0===t?n.createElement(Ir,{"aria-label":o.table3.filters.emptyFilter.value,className:"flex-grow",disabled:!0,value:o.table3.filters.emptyFilter.value}):"datetime"===(null===(i=t.columnDef.meta)||void 0===i?void 0:i.dataType)?n.createElement("div",{className:"flex flex-grow items-center gap-2"},n.createElement(Ym,{column:t,onChange:e=>a([e,l]),value:e}),n.createElement(Ym,{column:t,onChange:t=>a([e,t]),value:l})):n.createElement("div",{className:"flex flex-grow items-center gap-2"},n.createElement(Ym,{column:t,onChange:e=>a([isNaN(e)?void 0:e,l]),placeholder:"from",value:null!=e?e:""}),n.createElement(Ym,{column:t,onChange:t=>a([e,isNaN(t)?void 0:t]),placeholder:"to",value:null!=l?l:""}))}return n.createElement(Ym,{column:t,onChange:a,value:r})}function Ym(e){var a,r;const{column:o,onChange:i,value:s,...c}=e,u=null==o||null===(a=o.columnDef.meta)||void 0===a?void 0:a.control,d=null==o||null===(r=o.columnDef.meta)||void 0===r?void 0:r.dataType;return t.useEffect(()=>{"switch"===u&&i(!1)},[]),"function"==typeof u?u({...c,setValue:e=>i(e),value:s}):"datepicker"===u||"datetime"===d?n.createElement(go,Object.assign({},c,{onChange:e=>i(e.detail),value:s})):"switch"===u?n.createElement(mc,Object.assign({},c,{className:"m-1.5",checked:Boolean(s),onChange:i})):n.createElement(Ir,"input"!==u&&void 0!==u||"number"!==d?Object.assign({disabled:!o},c,{className:"flex-grow",onChange:e=>i(e.target.value),value:String(null!=s?s:"")}):Object.assign({},c,{className:l(Wd(),"flex-grow"),type:"number",onChange:e=>i(e.target.valueAsNumber),value:String(null!=s?s:"")}))}function Qm(e){const{allColumns:t,filter:l,filters:a,onChange:r,onRemove:o,position:i}=e,{texts:s}=dr(),c=t.find(e=>e.id===l.id),{id:u,value:{comparator:d,value:m}}=l;return n.createElement("div",{className:"flex items-start gap-2"},n.createElement("div",{className:"flex min-h-[theme(spacing.8)] w-14 flex-shrink-0 items-center justify-end pr-2 text-right"},i>0?s.table3.filters.conditions.and:s.table3.filters.conditions.where),n.createElement(Km,{allColumns:t,filters:a,onChange:e=>{var n,a;const o=t.find(e=>e.id===u),i=t.find(t=>t.id===e),s=(null==o||null===(n=o.columnDef.meta)||void 0===n?void 0:n.dataType)===(null==i||null===(a=i.columnDef.meta)||void 0===a?void 0:a.dataType)?l.value:{comparator:null,value:null};r(u,{id:e,value:s})},value:u}),n.createElement(Um,{column:c,onChange:e=>{let t=l.value.value;e!==Qd.IsEmpty&&e!==Qd.IsNotEmpty||(t=void 0),r(u,{id:u,value:{comparator:e,value:t}})},value:d}),n.createElement(Jm,{column:c,comparator:d,onChange:e=>{r(u,{id:u,value:{...l.value,value:e}})},value:m}),n.createElement(or,{appearance:"discrete",className:"ml-auto",icon:"close",onClick:()=>o(u)}))}function Xm(e,t){var n,l,a,r;return null===(n=e.columnDef.meta)||void 0===n||null===(l=n.header)||void 0===l||null===(a=l.localeCompare)||void 0===a?void 0:a.call(l,null===(r=t.columnDef.meta)||void 0===r?void 0:r.header)}function Zm(e){const{total:t,table:a}=e,{locale:r,texts:o}=dr(),i=n.useRef(null),s=uu(),c=a.getAllLeafColumns().filter(e=>!_d(e.id)).sort(Xm),u=a.getState().columnFilters,[d,m]=n.useState(u),[g,f]=n.useState(1),h=(e,t)=>{m(n=>{const l=[...n],a=l.findIndex(t=>t.id===e);return l[a]=t,l})},v=e=>{1===d.length&&0===g&&f(e=>e+1),m(t=>t.filter(t=>t.id!==e))},p=e=>{m(t=>[...t,{id:e,value:{comparator:Qd.Contains,value:void 0}}]),b()},w=()=>{f(e=>e+1)},b=()=>{f(e=>e-1)},E=()=>{a.setColumnFilters(()=>d.filter(e=>{var t,n;if(null===e.id)return!1;const l=null===(t=c.find(t=>t.id===e.id))||void 0===t||null===(n=t.columnDef.meta)||void 0===n?void 0:n.control;return e.value.comparator===Qd.IsEmpty||e.value.comparator===Qd.IsNotEmpty||"switch"===l||!!e.value.value}))},x=()=>{a.resetColumnFilters(),m([]),f(1)},y=n.useCallback(e=>{e||(m(u),f(0===u.length?1:0))},[u]);n.useEffect(()=>{0===u.length&&(m([]),f(1))},[u]);const z={"aria-label":o.table3.filters.tooltip,className:l({"!wcag-blue-100":u.length}),shortcut:{key:"f",meta:!0,shift:!0},popover:e=>n.createElement(mo,Object.assign({},e,{onChange:y}),n.createElement(mo.Content,null,n.createElement("div",{className:"flex w-[40rem] flex-col gap-4"},n.createElement("div",{className:"flex h-8"},n.createElement("div",{className:"flex w-full items-center gap-2"},n.createElement("h4",{className:"mb-0 inline-flex"},o.table3.filters.button),n.createElement("p",{className:"text-grey-700 mb-0 mr-auto mt-px inline-flex"},o.table3.filters.total.replace("[CURRENT]",new Intl.NumberFormat(r).format(a.getFilteredRowModel().rows.length)).replace("[TOTAL]",new Intl.NumberFormat(r).format(t))))),n.createElement("div",{className:"flex flex-col gap-2"},d.map((e,t)=>n.createElement(Qm,{key:"filter_"+t,allColumns:c,filter:e,filters:d,position:t,onChange:h,onRemove:v})),[...Array(g)].map((e,t)=>n.createElement(Wm,{key:"placeholder_"+t,allColumns:c,filters:d,position:d.length+t,onCreate:p,onRemove:g>1||d.length>0?b:void 0})),n.createElement("div",{className:"justify-start"},n.createElement(fr,{appearance:"discrete",onClick:w},"+ ",o.table3.filters.buttons.addFilter))),n.createElement(So,{className:"ml-auto"},n.createElement(mo.Close,null,n.createElement(fr,null,"Cancel")),n.createElement(fr,{onClick:x},"Clear"),n.createElement(fr,{appearance:"primary",onClick:E},"Apply"))))),ref:i,tooltip:n.createElement(n.Fragment,null,o.table3.filters.tooltip,n.createElement(fi,{className:"ml-2",keys:{key:"f",meta:!0,shift:!0}}))};return s||u.length?n.createElement(fr,Object.assign({},z),n.createElement(ya,{className:l({"-mr-1.5":!s}),name:u.length?"filter-solid":"filter"}),s?o.table3.filters.button:"",u.length?`(${u.length})`:""):n.createElement(or,Object.assign({},z,{icon:"filter"}))}function eg(e){const{texts:t}=dr(),l=e.table.options.meta;return n.createElement(tr,{title:n.createElement(n.Fragment,null,t.table3.editing.buttons.edit.tooltip,n.createElement(fi,{className:"ml-2",keys:{key:"e",meta:!0,shift:!1}}))},n.createElement(Mi,{"aria-pressed":l.editing.isEditing,checked:l.editing.isEditing,onChange:l.editing.toggleEditing}))}function tg({onAfterPrint:e,onBeforePrint:t,tableProps:l}){const[a,r]=n.useState(null),[o,i]=n.useState(null),s=n.useMemo(()=>navigator.userAgent.toLowerCase().includes("firefox"),[]),c=n.useMemo(()=>navigator.userAgent.toLowerCase().includes("safari")&&!navigator.userAgent.toLowerCase().includes("chrome"),[]),u=null==a?void 0:a.contentWindow,d=function(e){const[t,l]=n.useState(!1);return n.useEffect(()=>{if(!e)return;const t=e.parent.document,n=e.document,a=n.createElement("style");a&&(a.innerHTML='\n@page {\n margin: 16px;\n}\n\n@media print {\n html, body, #root {\n // hides horizontal scrollbar\n overflow-x: none !important;\n overflow-y: auto !important;\n height: auto !important;\n width: auto !important;\n }\n\n #root {\n /* chrome sometimes crops the bottom content of page and this padding will make sure that we see the whole content*/\n padding-bottom: 20px;\n }\n\n [role="table"] {\n border-width: 0 !important;\n overflow-y: hidden !important;\n }\n\n // all column headers except column group column header\n [role="table"] [role="columnheader"]:not([data-taco=\'table3-column-group\']) {\n border-bottom-width: 1px !important;\n }\n\n /*\n * Summary row cells\n */\n [role="table"] [role="rowgroup"]:last-child [role="cell"] {\n border-width: 0 !important;\n }\n\n [role="table"] a {\n color: rgb(28 28 28);\n }\n\n [data-taco="alert"],\n [data-taco="banner"],\n [data-taco="hanger"],\n [data-taco="toast"],\n [data-taco="table3-toolbar"],\n [data-taco="tooltip"],\n /*\n * Tour components\n */\n [id^="react-joyride"]\n {\n display: none !important;\n }\n}\n',n.head.appendChild(a));const r=Array.from(t.querySelectorAll('style:not([data-taco="table3-column-freezing-styles"])')),o=Array.from(t.querySelectorAll('[rel="stylesheet"]'));r.forEach(e=>{const t=n.createElement("style");t.innerHTML=e.innerHTML,n.head.appendChild(t)}),o.forEach(e=>{var t;const l=n.createElement("link");l.setAttribute("rel","stylesheet"),l.setAttribute("href",null!==(t=e.getAttribute("href"))&&void 0!==t?t:""),n.head.appendChild(l)}),l(!0)},[e]),t}(u);n.useEffect(()=>{let n,l;return o&&d&&(n=setInterval((function(){try{const i=o,c=i.querySelector('[role="table"]');var r;return c&&n&&(clearInterval(n),null==t||t(),s&&(i.style.height=c.offsetHeight+"px"),null==a||null===(r=a.contentWindow)||void 0===r||r.print(),l=setTimeout(()=>{null==e||e()},0)),Promise.resolve()}catch(e){return Promise.reject(e)}}),1e3)),()=>{clearInterval(n),clearTimeout(l)}},[o,d]),n.useEffect(()=>{var e,t;if(!a||!u||!d)return;const n=null!==(e=null==a?void 0:a.closest("[role=dialog], [data-taco=drawer], main"))&&void 0!==e?e:u.parent.document.body,l=u.document;l.body.innerHTML=null!==(t=null==n?void 0:n.innerHTML)&&void 0!==t?t:"";const r=l.querySelector('[role="table"]'),o=l.querySelector('[data-taco="table3-column-freezing-styles"]'),m=l.createElement("div");var g;m.setAttribute("data-role","table-wrapper"),m.classList.add("h-fit"),m.classList.add('[&>[role="table"]]:!h-fit'),s&&m.classList.add('[&>[role="table"]]:!absolute'),m.classList.add(c?"w-full":"w-screen"),r?(null===(g=r.parentNode)||void 0===g||g.insertBefore(m,r),r.remove()):l.body.append(m),o&&o.remove();let f=m.parentNode;for(;null!==f&&f!==l.body;){var h;null===(h=f)||void 0===h||h.classList.add("!h-fit"),f=f.parentNode}i(m)},[u,d]);const m={...l,actionsForRow:void 0,defaultCurrentRowIndex:-1,defaultSettings:{...null==l?void 0:l.defaultSettings,rowHeight:"short"},enableColumnFreezing:!1,enableRowHeight:!0,enableRowSelection:!1,enableEditing:!1,enablePrinting:!1,enableRowDrag:!1,enableRowDrop:!1,enableRowSelectionSingle:!1,preset:void 0,onChangeSettings:()=>{}};return n.createElement("iframe",{className:"fixed -left-[6000px] -top-[6000px] -z-50 !h-0 !w-0",ref:r,src:"javascript:void(0);"},o&&d?T.createPortal(n.createElement(wg,Object.assign({},m)),o):null)}!function(e){e[e.Incomplete=0]="Incomplete",e[e.Loading=1]="Loading",e[e.Completed=2]="Completed"}(qm||(qm={}));const ng=({onAccept:e,onCancel:t,onClose:l,onVisibilityChange:a,...r})=>{const[o,i]=n.useState(!1),{texts:s}=dr(),c=()=>{l(),null==a||a(!o)};return n.createElement(Co,Object.assign({},r,{closeOnEscape:!0,onClose:c,showCloseButton:!1,size:"xs"}),n.createElement(Co.Content,{"aria-label":s.table3.print.warningDialog.title},n.createElement(Co.Title,{className:"text-center"},n.createElement(za,{icon:"warning",color:"yellow",className:"mr-2"}),s.table3.print.warningDialog.title),n.createElement("p",null,s.table3.print.warningDialog.description),n.createElement(Co.Footer,{className:"flex items-center justify-between"},n.createElement(yr,{label:s.table3.print.warningDialog.checkboxVisibilityLabel,checked:o,onChange:i}),n.createElement(So,null,n.createElement(fr,{onClick:()=>{c(),t()}},s.table3.print.warningDialog.cancelButtonText),n.createElement(fr,{appearance:"primary",autoFocus:!0,onClick:()=>{c(),e()}},s.table3.print.warningDialog.printButtonText)))))};function lg(e){const{table:t,tableProps:l}=e,{texts:a}=dr(),r=es(),[o,i]=n.useState(!1),[s,c]=n.useState(!1),u=n.useRef(null),d=n.useRef(null),m=t.options.meta,g=t.getState(),{isWarningVisibleForLargeDatasets:f}=m.printing,h=l.id+"_print",v=m.search.excludeUnmatchedResults,p=n.useMemo(()=>({columnFreezingIndex:m.columnFreezing.frozenColumnIndex,columnOrder:g.columnOrder,columnSizing:g.columnSizing,columnVisibility:g.columnVisibility,excludeUnmatchedRecordsInSearch:v,fontSize:m.fontSize.size,rowHeight:m.rowHeight.height,sorting:g.sorting,columnFilters:g.columnFilters,globalFilter:g.globalFilter}),[m.columnFreezing.frozenColumnIndex,g.columnOrder,g.columnSizing,g.columnVisibility,v,m.fontSize.size,m.rowHeight.height,g.sorting,g.columnFilters,g.globalFilter]),w=n.useMemo(()=>n.Children.toArray(l.children).filter(e=>{var t;const l=null===(t=e.props)||void 0===t?void 0:t.enablePrinting;return!n.isValidElement(e)||!1!==l}),[l.children]),b={...l,children:w,defaultSettings:p,id:h},E=e=>{var t;const n=`${a.table3.print.error}: ${e}`;console.error(n),null===(t=u.current)||void 0===t||t.error(n)},x=function(){try{const e=Os((function(){var e,n;return Promise.resolve(null===(e=(n=m.server).loadAll)||void 0===e?void 0:e.call(n,t.getState().sorting,t.getState().columnFilters,void 0)).then((function(){}))}),(function(e){E(e)}));return Promise.resolve(e&&e.then?e.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},y={key:"p",meta:!0,shift:!1};return n.createElement(n.Fragment,null,n.createElement(or,{disabled:o,icon:"print",onClick:function(){try{let n=!1;function e(e){if(n)return e;s&&f?c(!0):i(!0)}u.current=r.loading(a.table3.print.loading);const o=e=>e.length?e.length*Object.keys(e[0]).length:0;let s=!1;const d=function(){if(m.server.loadAll){const e=Os((function(){return Promise.resolve(m.server.loadAll(t.getState().sorting,t.getState().columnFilters,v?m.search.query:void 0)).then((function(){const{data:e}=l,t=o(e);s=t>1e4}))}),(function(e){E(e),n=!0}));if(e&&e.then)return e.then((function(){}))}else{const{data:e}=l,t=o(e);s=t>1e4}}();return Promise.resolve(d&&d.then?d.then(e):e(d))}catch(e){return Promise.reject(e)}},"aria-label":a.table3.print.tooltip,tooltip:n.createElement(n.Fragment,null,a.table3.print.tooltip,n.createElement(fi,{className:"ml-2",keys:y})),ref:d,shortcut:y}),o&&null!==b.data&&n.createElement(tg,{onAfterPrint:function(){try{function e(){var e;i(!1),null===(e=u.current)||void 0===e||e.close()}const t=function(){if(m.server.loadAll&&v)return Promise.resolve(x()).then((function(){}))}();return Promise.resolve(t&&t.then?t.then(e):e())}catch(e){return Promise.reject(e)}},onBeforePrint:()=>{var e;null===(e=u.current)||void 0===e||e.close()},tableProps:b}),n.createElement(ng,{open:s,onAccept:()=>{i(!0)},onClose:()=>{var e;null===(e=u.current)||void 0===e||e.close(),c(!1)},onCancel:function(){try{const e=function(){if(m.server.loadAll&&v)return Promise.resolve(x()).then((function(){}))}();return Promise.resolve(e&&e.then?e.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},onVisibilityChange:m.printing.setIsWarningVisibleForLargeDatasets}))}function ag(e){const{texts:t}=dr(),l=e.table.options.meta;return n.createElement(Hi.SubMenu,null,n.createElement(Hi.RadioGroup,{onChange:e=>{const t=e;l.rowHeight.setHeight(t),"short"===t&&l.fontSize.size===exports.FontSizes.large&&l.fontSize.setSize(exports.FontSizes.medium)},value:l.rowHeight.height},n.createElement(Hi.RadioGroup.Item,{value:"short"},t.table3.rowHeight.sizes.short),n.createElement(Hi.RadioGroup.Item,{value:"medium"},t.table3.rowHeight.sizes.medium),n.createElement(Hi.RadioGroup.Item,{value:"tall"},t.table3.rowHeight.sizes.tall),n.createElement(Hi.RadioGroup.Item,{value:"extra-tall"},t.table3.rowHeight.sizes.extraTall)))}const rg=n.forwardRef((function(e,t){var a,r,o;const{column:i,draggable:s=!1,...c}=e,u=i.getCanHide(),d=l("group/column flex items-center gap-x-2 rounded py-1 px-2",{"hover:bg-grey-200":u||s,"hover:cursor-pointer":u,"active:cursor-move active:bg-grey-300":s}),m=s?c:void 0,g=i.getIsVisible(),f=i.parent?null===(a=i.parent)||void 0===a||null===(r=a.columnDef.meta)||void 0===r?void 0:r.header:null;return n.createElement("div",Object.assign({},m,{key:i.id,className:d,onClick:()=>i.toggleVisibility(!g),ref:t}),s?n.createElement(ya,{name:"drag",className:"text-grey-500 group-hover/column:text-grey-700 -mx-2 !h-5"}):null,n.createElement("span",{className:"flex-grow truncate"},null===(o=i.columnDef.meta)||void 0===o?void 0:o.header,f?n.createElement("span",{className:"italic"}," (",f,")"):null),u?n.createElement(yr,{checked:g,onChange:()=>i.toggleVisibility(!g)}):null)}));function og(e){const{table:t,trigger:l,...a}=e,{texts:r}=dr(),[o,i]=n.useState(""),s=t.getAllLeafColumns(),c=t.options.meta,u=n.useMemo(()=>s.filter(e=>!_d(e.id)).filter(e=>{var t,n,l;return null==o||!o.length||(null===(t=e.columnDef.meta)||void 0===t?void 0:t.header.toLowerCase().includes(o.toLowerCase()))||(null===(n=e.parent)||void 0===n||null===(l=n.columnDef.meta)||void 0===l?void 0:l.header.toLowerCase().includes(o.toLowerCase()))}),[s,o]),d="flex max-h-64 flex-col gap-y-px overflow-auto";return n.createElement(mo,Object.assign({},a,{anchor:l}),n.createElement(mo.Content,null,n.createElement("div",{className:"flex max-w-sm flex-col gap-2"},t.options.enableHiding?n.createElement(Ir,{onChange:e=>i(e.target.value),placeholder:r.table3.columnSettings.search,value:o}):null,!c.columnOrdering.isEnabled||!u.length||null!=o&&o.length?n.createElement("div",{className:d},u.length?u.map(e=>n.createElement(rg,{column:e,key:e.id})):r.table3.columnSettings.noResults):n.createElement(hc,{reorder:(e,n)=>{u.find(e=>{var t;return e.id===n&&!1===(null===(t=e.columnDef.meta)||void 0===t?void 0:t.enableOrdering)})||t.setColumnOrder(t=>is(s,C.arrayMove(t,t.findIndex(t=>t===e),t.findIndex(e=>e===n)),["__actions","__editing_actions"]))}},n.createElement(pc,{id:"columns",className:d},u.map(e=>{var t,l;return n.createElement(vc,{key:e.id,id:e.id,disabled:!(null!==(t=e.columnDef.meta)&&void 0!==t&&t.enableOrdering),asChild:!0},n.createElement(rg,{column:e,draggable:null===(l=e.columnDef.meta)||void 0===l?void 0:l.enableOrdering}))}))))))}function ig(e){const{texts:t}=dr(),l=e.table.options.meta;return n.createElement(Hi.SubMenu,null,n.createElement(Hi.RadioGroup,{onChange:e=>l.fontSize.setSize(e),value:l.fontSize.size},n.createElement(Hi.RadioGroup.Item,{value:exports.FontSizes.small},t.table3.fontSize.sizes.small),n.createElement(Hi.RadioGroup.Item,{value:exports.FontSizes.medium},t.table3.fontSize.sizes.medium),n.createElement(Hi.RadioGroup.Item,{disabled:"short"===l.rowHeight.height,value:exports.FontSizes.large},t.table3.fontSize.sizes.large)))}function sg(e){const{customSettings:t,table:l}=e,{texts:a}=dr(),[r,o]=n.useState(void 0),i=l.options.meta,s=l.options.enableHiding||i.columnOrdering.isEnabled;let c;if(r){const e=()=>o(void 0);switch(r){case"columnSettings":s&&(c=t=>n.createElement(og,Object.assign({},t,{open:!0,onChange:e,table:l})))}}return n.createElement(or,{"aria-label":a.table3.otherOptions.tooltip,icon:"sliders",menu:c?void 0:e=>n.createElement(Hi,Object.assign({},e),n.createElement(Hi.Content,{align:"end"},l.options.enableHiding||i.columnOrdering.isEnabled?n.createElement(Hi.Item,{icon:"columns",onClick:()=>o("columnSettings")},a.table3.columnSettings.button):null,i.rowHeight.isEnabled||i.fontSize.isEnabled?n.createElement(Hi.Separator,null):null,i.rowHeight.isEnabled?n.createElement(Hi.Item,{icon:"height-"+i.rowHeight.height,subMenu:()=>n.createElement(ag,{table:l})},a.table3.rowHeight.tooltip):null,i.fontSize.isEnabled?n.createElement(Hi.Item,{icon:"font-size",subMenu:()=>n.createElement(ig,{table:l})},a.table3.fontSize.tooltip):null,t?n.createElement(n.Fragment,null,n.createElement(Hi.Separator,null),t.map(e=>e(i.getSettings()))):null)),popover:c,onClickCapture:e=>e.preventDefault(),tooltip:a.table3.otherOptions.tooltip})}function cg(e){const{customSettings:t,left:l,right:a,scrollToIndex:r,table:o,tableProps:i,total:s}=e;if(!function(e){const{left:t,right:n,table:l}=e,a=l.options.meta;return l.options.enableHiding||a.columnOrdering.isEnabled||a.editing.isEnabled||a.printing.isEnabled||l.options.enableColumnFilters||a.fontSize.isEnabled||a.rowHeight.isEnabled||a.search.isEnabled||!!t||!!n}(e))return null;const c=o.options.meta;return n.createElement("div",{className:"mb-4 flex flex-shrink flex-grow-0 flex-wrap gap-2 empty:hidden","data-taco":"table3-toolbar"},l,n.createElement(So,{className:"ml-auto flex-shrink-0 print:hidden"},c.editing.isEnabled?n.createElement(eg,{table:o}):null,o.options.enableColumnFilters?n.createElement(Zm,{table:o,total:s}):null,a,c.printing.isEnabled?n.createElement(lg,{table:o,tableProps:i}):null,function(e){const{table:t}=e,n=t.options.meta;return n.fontSize.isEnabled||n.rowHeight.isEnabled||n.columnOrdering.isEnabled}(e)?n.createElement(sg,{table:o,customSettings:t}):null,c.search.isEnabled?n.createElement($m,{scrollToIndex:r,table:o}):null))}function ug(e){var t;const{currentLength:l,length:a,table:r}=e,o=r.options.meta,{locale:i,texts:s}=dr();let c,u;const d=r.getIsAllRowsSelected()?a:r.getSelectedRowModel().rows.length;return d>0?(c=s.table3.footer.summary.selected,u=n.createElement(n.Fragment,null,n.createElement("strong",null,new Intl.NumberFormat(i).format(d))," ",s.table3.footer.summary.count," ",n.createElement("strong",null,new Intl.NumberFormat(i).format(a)))):null!==(t=r.getState().columnFilters)&&void 0!==t&&t.length||r.getState().globalFilter&&o.search.excludeUnmatchedResults?(c=s.table3.footer.summary.records,u=n.createElement(n.Fragment,null,n.createElement("strong",null,l)," ",s.table3.footer.summary.count," ",n.createElement("strong",null,new Intl.NumberFormat(i).format(a)))):(c=s.table3.footer.summary.records,u=n.createElement("strong",null,new Intl.NumberFormat(i).format(a))),n.createElement("div",{className:"sticky bottom-0 left-0 z-40 -mt-10 flex h-10 w-fit items-center whitespace-nowrap bg-white px-4 !pr-3 shadow-[6px_0px_6px_theme(colors.white)]","data-taco":"table2-footer-summary"},c," ",u)}const dg=(e,t)=>{switch(e){case"short":switch(t){case exports.FontSizes.small:return"8px";default:return"6px"}case"tall":switch(t){case exports.FontSizes.small:return"16px";case exports.FontSizes.large:return"12px";default:return"14px"}case"extra-tall":switch(t){case exports.FontSizes.small:return"22px";case exports.FontSizes.large:return"18px";default:return"20px"}default:switch(t){case exports.FontSizes.small:return"12px";case exports.FontSizes.large:return"8px";default:return"10px"}}},mg=e=>{switch(e){case exports.FontSizes.small:return"8px";case exports.FontSizes.medium:return"12px";default:return"16px"}};function gg(e){var l;const{table:a,tableRef:r,scrollToIndex:o,rowIdentifier:i}=e,s=a.options.meta,c=s.validation.errors,u=c?Object.keys(c):[],d=a.getRowModel().rows,m=a.getCoreRowModel().rows,{texts:g}=dr(),[f,h]=n.useState(!1),[v,p]=n.useState(null),[w,b]=n.useState(null),[E,x]=n.useState(!1),y=a.getAllFlatColumns().find(e=>e.id===i),z=null==y||null===(l=y.columnDef.meta)||void 0===l?void 0:l.header,R=e=>{s.rowActive.setRowActiveIndex(e),o(e,{align:"center"}),cm.value=void 0,requestAnimationFrame(()=>{(()=>{var e;const t=null===(e=r.current)||void 0===e?void 0:e.querySelector('[role="row"][data-current="true"] [role="cell"][data-invalid="true"]'),n=null==t?void 0:t.querySelector(lm);n&&(null==n||n.focus(),cm.value=null==t?void 0:t.getAttribute("data-column-index"))})()})};n.useEffect(()=>{null!==w&&w>=0&&R(w)},[w]),n.useEffect(()=>{if(E){const e=d.findIndex(e=>e.id===v);if(-1===e)return;b(e)}},[E]);const C=n.useCallback(e=>{const t=d.findIndex(t=>t.id===e);if(-1===t)return x(!1),h(!0),void p(e);t===w?R(t):b(t)},[d,w]),S=n.useCallback(e=>m.find(t=>t.id===e),[m]);return n.createElement("div",{className:"mb-4 empty:hidden"},u.length?n.createElement(Ca,{state:"error",className:"mb-1"},n.createElement(n.Fragment,null,n.createElement("b",null,u.length," ",g.table3.validation.alert.unsavedEntries(u.length))," "),z||g.table3.validation.index," ",u.map((e,l)=>{const a=S(e);return n.createElement(t.Fragment,{key:""+e},n.createElement(fr,{className:"!min-h-[theme(spacing.2)] !min-w-[theme(spacing.2)] !px-1",appearance:"discrete",onClick:()=>{C(e)}},i?null==a?void 0:a.original[i]:null==a?void 0:a.index),n.createElement("span",null,l<u.length-1?",":""))}),g.table3.validation.alert.incompleteAndHavntBeenSaved(u.length)):null,n.createElement(fg,{open:f,onClose:()=>{h(!1)},onConfirm:()=>{x(!0)},table:a}))}function fg(e){const{open:t,onClose:l,onConfirm:a,table:r}=e,o=r.options.meta,{texts:i}=dr(),s=n.useCallback(()=>{o.search.setQuery(""),r.resetGlobalFilter(),r.resetColumnFilters()},[r,o.search]);return n.createElement(Co,{open:t,onClose:l,size:"xs"},n.createElement(Co.Content,{"aria-label":"Create a new account"},n.createElement(Co.Title,null,i.table3.validation.resetFiltersDialog.title),n.createElement("p",null,i.table3.validation.resetFiltersDialog.description),n.createElement(Co.Footer,null,n.createElement(So,null,n.createElement(Co.Close,null,n.createElement(fr,null,i.table3.validation.resetFiltersDialog.cancel)),n.createElement(fr,{appearance:"primary",onClick:()=>{s(),a(),l()}},i.table3.validation.resetFiltersDialog.confirm)))))}function hg(e){return null}function vg(e){return null}hg.displayName="Table3Column",vg.displayName="Table3Group";const pg=ls((function(e,t){const{emptyState:a,customSettings:r,toolbarLeft:o,toolbarRight:i,defaultCurrentRowIndex:s}=e,c=qa(t),{table:u,length:d}=function(e,t){var a,r;const[o,i]=function(e,t={},n){const l=(a=e,`taco.${Ms().uniqueUserIdentifier}.table3.${a}.settings`);var a;const[r,o]=Hs(l,t);return ks(()=>{n&&n(r)},[r]),[r,o]}(e.id,e.defaultSettings,e.onChangeSettings),s=function(e){var t,l,a,r,o,i,s,c,u,d,m,g,f,h,v,p,w,b;const E=e.preset?Yd[e.preset]:Jd,x=null!==(t=e.enableRowExpansion)&&void 0!==t?t:E.enableRowExpansion,y=null!==(l=e.enableRowSelection)&&void 0!==l?l:E.enableRowSelection;return n.useEffect(()=>{x&&!e.expandedRowRenderer&&console.warn(`Table3 (id: ${e.id}) - Row expansion is enabled but no \`expandedRowRenderer\` has been provided. Provide one to enable row expansion or set \`enableRowExpansion\` to \`false\`.`),y&&!e.onRowSelect&&console.warn(`Table3 (id: ${e.id}) - Row selection is enabled but no \`onRowSelect\` handler has been provided. Provide one to enable row selection or set \`enableRowSelection\` to \`false\`.`)},[]),{enableColumnFreezing:null!==(a=e.enableColumnFreezing)&&void 0!==a?a:E.enableColumnFreezing,enableColumnHiding:null!==(r=e.enableColumnHiding)&&void 0!==r?r:E.enableColumnHiding,enableColumnOrdering:null!==(o=e.enableColumnOrdering)&&void 0!==o?o:E.enableColumnOrdering,enableColumnResizing:null!==(i=e.enableColumnResizing)&&void 0!==i?i:E.enableColumnResizing,enableFontSize:null!==(s=e.enableFontSize)&&void 0!==s?s:E.enableFontSize,enableFooter:null!==(c=e.enableFooter)&&void 0!==c?c:E.enableFooter,enablePrinting:null!==(u=e.enablePrinting)&&void 0!==u?u:E.enablePrinting,enableRowDrag:(null!==(d=e.enableRowDrag)&&void 0!==d?d:E.enableRowDrag)&&!!e.onRowDrag,enableRowDrop:(null!==(m=e.enableRowDrop)&&void 0!==m?m:E.enableRowDrop)&&!!e.onRowDrop,enableRowExpansion:x&&!!e.expandedRowRenderer,enableRowGoto:(null!==(g=e.enableRowGoto)&&void 0!==g?g:E.enableRowGoto)&&!!e.onRowGoto,enableRowHeight:null!==(f=e.enableRowHeight)&&void 0!==f?f:E.enableRowHeight,enableRowSelection:y&&!!e.onRowSelect,enableRowSelectionSingle:(null!==(h=e.enableRowSelectionSingle)&&void 0!==h?h:E.enableRowSelectionSingle)&&y&&!!e.onRowSelect,enableEditing:null!==(v=e.enableEditing)&&void 0!==v?v:E.enableEditing,enableFiltering:null!==(p=e.enableFiltering)&&void 0!==p?p:E.enableFiltering,enableSearch:null!==(w=e.enableSearch)&&void 0!==w?w:E.enableSearch,enableSorting:null!==(b=e.enableSorting)&&void 0!==b?b:E.enableSorting}}(e),c=function(e,t){const n={enableColumnFilters:t.enableFiltering,enableColumnResizing:t.enableColumnResizing,enableExpanding:t.enableRowExpansion,enableGlobalFilter:t.enableSearch,enableHiding:t.enableColumnHiding,enableRowSelection:t.enableRowSelection,enableMultiRowSelection:!t.enableRowSelectionSingle,enableSorting:t.enableSorting};return n.enableColumnResizing&&(n.columnResizeMode="onChange"),n.enableColumnFilters&&(e.onFilter||(n.filterFns={tacoFilter:(e,t,n)=>nm(e.getValue(t),n)},n.getFilteredRowModel=z.getFilteredRowModel())),n.enableGlobalFilter&&(n.globalFilterFn=(e,t,n)=>{try{if(e.original){const l=e.getAllCells().find(e=>e.column.id===t),a=null==l?void 0:l.column.columnDef.meta;if(l&&l.column.getIsVisible()&&null!=a&&a.enableSearch){const l=$d(e.original[t],null==a?void 0:a.dataType);if(void 0!==l)return tm(l,n)}return!1}}catch{}return!1},n.getFilteredRowModel=z.getFilteredRowModel(),n.getColumnCanGlobalFilter=e=>{var t;return null===(t=e.columnDef.meta.enableSearch)||void 0===t||t}),t.enableSorting&&(e.onSort?n.manualSorting=!0:n.getSortedRowModel=z.getSortedRowModel()),n}(e,s),u=function(e,t){const[l,a]=n.useState(()=>e),[r,o]=n.useState(!1),i=n.useMemo(()=>function(e){let t=0;return e.enableRowDrag&&t++,e.enableRowSelection&&t++,e.enableRowExpansion&&t++,t}(t),[]);return{isEnabled:t.enableColumnFreezing,frozenInternalColumnCount:i,frozenColumnIndex:l,setFrozenColumnIndex:e=>a(null!=e?e:-1),horizontallyScrolled:r,handleScroll:e=>{e.currentTarget.scrollLeft>0&&!r?o(!0):0===e.currentTarget.scrollLeft&&r&&o(!1)}}}(null!==(a=o.columnFreezingIndex)&&void 0!==a?a:e.defaultColumnFreezingIndex,s),d=function(e,t){const[l,a]=n.useReducer(Dm,{errors:null,draftErrors:null});function r(e,t,n){a({type:Tm.SET_CELL_ERROR,payload:{rowId:e,cellId:t,error:n}})}function o(e,t){a({type:Tm.SET_ROW_ERROR,payload:{rowId:e,errors:t}})}function i(e,t){a({type:Tm.RESET_ERRORS,payload:{rowId:e,cellId:t}})}return{validate:(n,l,a)=>{let s;return s=a&&e?e(l[a],a,l):t?t(l):new Promise(e=>{e()}),s.then(()=>{i(n,a)}).catch(e=>{((e,t,n)=>{n?r(t,n,e[n]):o(t,e)})(e,n,a)}),s},setCellError:r,setRowErrors:o,confirmErrors:function(e){a({type:Tm.CONFIRN_ERRORS,payload:{rowId:e}})},getCellError:function(e){var t,n;return l.draftErrors&&(null===(t=l.draftErrors[e.row.id])||void 0===t?void 0:t[e.column.id])||(l.errors?null===(n=l.errors[e.row.id])||void 0===n?void 0:n[e.column.id]:void 0)},resetErrors:i,errors:l.errors,draftErrors:l.draftErrors}}(e.onCellValidate,e.onRowValidate),m=function(e,t,l,a){const[r,o]=n.useState(!1),[i,s]=n.useReducer(wm,null),[c,u]=n.useReducer((e,t)=>function(e,t){switch(t.type){case vm.SET_CELL_VALUE:return{...e,[t.payload.rowId]:{...(null==e?void 0:e[t.payload.rowId])||t.payload.originalValues,[t.payload.cellId]:t.payload.value}};case vm.RESET_CHANGE:{let n={...e};return n&&delete n[t.payload.rowId],0===Object.keys(n).length&&(n=null),n}default:return e}}(e,t),null),[d,m]=n.useState(!1);function g(e){u({type:vm.RESET_CHANGE,payload:{rowId:e}}),l.resetErrors(e)}const f=n.useCallback(e=>{e.defaultPrevented||(Ya(e,{key:"e",meta:!0,shift:!1})?o(e=>!e):Ya(e,{key:"s",meta:!0,shift:!1})&&(e.preventDefault(),v()))},[r]),h=n.useCallback(e=>{e.target===e.currentTarget&&v()},[]),v=function(){try{if(!c)return Promise.resolve();const e=Object.keys(c),t=function(){if(a&&e.length)return(()=>{const e=Object.keys(c||{}),t=D.reduce(e,(e,t)=>({...e,[t]:hm.Saving}),{});s({type:pm.SET_SAVING_STATUSES,payload:{states:t}})})(),Promise.resolve(Promise.allSettled(e.map(e=>new Promise((t,n)=>{const r=null==c?void 0:c[e];var o;r?null===(o=l.validate(e,r))||void 0===o||o.then(()=>{a(r).then(()=>{t()}).catch(t=>{t.errors&&l.setRowErrors(e,t.errors),n(t)})}).catch(()=>{l.confirmErrors(e),s({type:pm.SET_SAVING_STATUS,payload:{rowId:e,state:hm.Error}}),n()}):n()})))).then((function(t){t.forEach((t,n)=>{const l=e[n];"fulfilled"===t.status?(g(l),s({type:pm.SET_SAVING_STATUS,payload:{rowId:l,state:hm.Saved}})):s({type:pm.SET_SAVING_STATUS,payload:{rowId:l,state:hm.Error}})})}))}();return Promise.resolve(t&&t.then?t.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},[p,w]=n.useState(null),b=n.useCallback(e=>!!(r&&c&&Object.keys(c).length>0)&&(e.returnValue=!0,!0),[r,c]);return n.useEffect(()=>{const e=e=>{const n=e.target,l=n.closest('[role="dialog"], [role="menu"]');Ua(n,t.current)||Ua(l,t.current)||v()};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}},[v]),n.useEffect(()=>(window.addEventListener("beforeunload",b),()=>{window.removeEventListener("beforeunload",b)}),[b]),n.useEffect(()=>{r||(m(!1),cm.value=null)},[r]),{isEnabled:e,isEditing:r,toggleEditing:o,changes:c,getCellValue:function(e){var t;return c?null===(t=c[e.row.id])||void 0===t?void 0:t[e.column.id]:void 0},setCellValue:function(e,t){u({type:vm.SET_CELL_VALUE,payload:{rowId:e.row.id,cellId:e.column.id,value:t,originalValues:e.row.original}})},saveChangesIfNeeded:v,detailModeEditing:d,setDetailModeEditing:m,rowMoveReason:p,setRowMoveReason:w,removeRowMoveReason:()=>{w(null)},handleKeyDown:f,handleBlur:h,resetChange:g,getSavingStatus:function(e){return i&&i[e]},resetSavingStatus:e=>{s({type:pm.RESET_SAVING_STATUS,payload:{rowId:e}})}}}(s.enableEditing,t,d,e.onSave),g=function(e=!1,t=!0,l){const[a,r]=n.useState(t);return{isEnabled:e,isPrinting:l.endsWith("_print"),isWarningVisibleForLargeDatasets:a,setIsWarningVisibleForLargeDatasets:e?r:()=>{}}}(s.enablePrinting,o.showWarningWhenPrintingLargeDataset,e.id),f=function(e,t=4){return{actionsForRow:e,actionsForRowLength:t}}(e.actionsForRow,e.actionsForRowLength),h=function(e){const[t,l]=n.useState({});return{isEnabled:e,dragging:t,setDragging:e?l:()=>{}}}(s.enableRowDrag),v=(w=e.onRowDrop,{isEnabled:p=s.enableRowDrop,handleDrop:p&&w?w:()=>{}});var p,w;const b=function(e,t=!1){const[l,a]=n.useState(!1),[r,o]=n.useState(),[i,s]=n.useState(!0),[c,u]=n.useState(t),[d,m]=n.useState([]),[g,f]=n.useState(void 0);return{isEnabled:e,isHighlightingEnabled:i,toggleHighlighting:s,excludeUnmatchedResults:c,toggleExcludeUnmatchedResults:u,query:r,setQuery:e?o:()=>{},highlightedColumnIndexes:d,setHighlightedColumnIndexes:m,currentHighlightColumnIndex:g,setCurrentHighlightColumnIndex:f,isSearching:l,setIsSearching:a}}(s.enableSearch,o.excludeUnmatchedRecordsInSearch),E=function(){const[e,t]=n.useState(!1);return{isPaused:e,pause:t}}(),x=Es(s.enableColumnOrdering),y=xs(s.enableFontSize,o.fontSize),R=Rs(!0,e.defaultCurrentRowIndex),C=Cs(!0,e.onRowClick),S=Ss(s.enableRowGoto,e.onRowGoto),N=Ns(s.enableRowHeight,o.rowHeight),A=As(s.enableRowSelection),O=Ls(e.loadPage,e.loadAll),{columns:I,defaultColumnSizing:L,defaultColumnVisibility:H,defaultSorting:M}=function(e,t,a){var r;const o=Ud(null==e||null===(r=e.defaultSettings)||void 0===r?void 0:r.fontSize);return n.useMemo(()=>{var r;const i=z.createColumnHelper(),s={},c={},u=[];function d(e){var l,a,r,d,g,f,h,v,p,w,b,E;return n.isValidElement(e)&&"Table3Column"===(null===(l=e.type)||void 0===l?void 0:l.displayName)&&e.props.accessor?(e.props.defaultWidth&&(s[e.props.accessor]="grow"===e.props.defaultWidth?"1fr":e.props.defaultWidth),e.props.defaultHidden&&t.enableColumnHiding&&(c[e.props.accessor]=!1),void 0!==e.props.sort&&u.push({id:e.props.accessor,desc:"desc"===e.props.sort}),{accessorKey:e.props.accessor,id:e.props.accessor,header:Sd,cell:Nm,footer:kd,minSize:o,enableResizing:null===(r=e.props.enableResizing)||void 0===r||r,enableColumnFilter:null===(d=e.props.enableFiltering)||void 0===d||d,filterFn:"tacoFilter",enableSorting:null===(g=e.props.enableSorting)||void 0===g||g,sortingFn:(b=e.props.dataType,E=e.props.sortFn,"function"==typeof E?(e,t,n)=>E(e.original,t.original,n):E||(b&&"boolean"!==b&&"number"!==b?b:"auto")),sortDescFirst:!1,sortUndefined:1,enableHiding:null===(f=e.props.enableHiding)||void 0===f||f,meta:{align:e.props.align,className:e.props.className,control:e.props.control,dataType:e.props.dataType,enableOrdering:null===(h=e.props.enableOrdering)||void 0===h||h,enablePrinting:null===(v=e.props.enablePrinting)||void 0===v||v,enableSearch:null===(p=e.props.enableSearch)||void 0===p||p,enableTruncate:null!==(w=e.props.enableTruncate)&&void 0!==w&&w,filters:e.props.filters,footer:e.props.footer,header:e.props.header,headerClassName:e.props.headerClassName,menu:e.props.menu,renderer:e.props.renderer,tooltip:e.props.tooltip}}):n.isValidElement(e)&&"Table3Group"===(null===(a=e.type)||void 0===a?void 0:a.displayName)&&e.props.children?i.group({id:e.props.id,header:km,columns:m(e.props.children),meta:{align:"center",enableOrdering:!1,enableSearch:!1,enableTruncate:!1,header:e.props.header}}):void 0}function m(e){return n.Children.toArray(e).map(d).filter(e=>!!e)}const g=m(e.children);var f,h,v;return t.enableRowExpansion&&e.expandedRowRenderer&&g.unshift(i.display((f=e.expandedRowRenderer,{id:"__expansion",header:Im,cell:e=>n.createElement(Hm,Object.assign({},e,{expandedRowRenderer:f})),footer:kd,meta:{align:"center",className:"!p-0 !pt-[var(--table3-cell-padding-y)]",enableOrdering:!1,enableSearch:!1,enableTruncate:!1,header:"",headerClassName:"items-center !p-0"},enableResizing:!1,size:40}))),t.enableRowSelection&&g.unshift(i.display(function(e,t){const n=e&&t?22:40;return{id:"__select",header:Am,cell:Om,footer:kd,meta:{align:"center",className:l("!pt-[var(--table3-cell-padding-y)] !justify-end !p-0",{"!pr-0.5":t,"!pr-3":!t}),enableOrdering:!1,enableSearch:!1,enableTruncate:!1,header:"",headerClassName:l("items-center !justify-end !p-0",{"!pr-0.5":t,"!pr-3":!t})},enableResizing:!1,size:n,minSize:n}}(!(!t.enableRowDrag||!e.onRowDrag),!!e.expandedRowRenderer))),t.enableRowDrag&&e.onRowDrag&&g.unshift(i.display((h=e.onRowDrag,{id:"__drag",header:Sd,cell:e=>n.createElement(Mm,Object.assign({},e,{isSelected:e.row.getIsSelected(),onRowDrag:h})),footer:kd,meta:{align:"center",className:"!p-0 !pt-[var(--table3-cell-padding-y)]",enableOrdering:!1,enableSearch:!1,enableTruncate:!1,header:"",headerClassName:"items-center !p-0"},enableResizing:!1,size:20,minSize:20}))),null!==(r=e.actionsForRow)&&void 0!==r&&r.length&&g.push(i.display({id:"__actions",header:Sd,cell:Bd,footer:kd,meta:{align:"right",className:l('!pt-[var(--table3-cell-padding-y)] print:opacity-0 [[role="table"][data-editing="false"]_&]:group-[[data-current="true"]]/row:sticky [[role="table"][data-pause-hover="false"][data-editing="false"]_&]:group-hover/row:sticky right-0 !pl-1 !pr-1',"shadow-[-6px_0px_6px_var(--table3-row-actions-shadow)]",'group-[[data-current="true"][data-selected="false"]]/row:text-grey-200','group-[[data-selected="true"]]/row:text-blue-100','group-[[data-selected="false"]:hover]/row:text-grey-100'),enableOrdering:!1,enableSearch:!1,enableTruncate:!1,header:"",headerClassName:"items-center !p-0"},enableResizing:!1})),a.isEnabled&&a.isEditing&&g.push(i.display((v=e.rowIdentifier,{id:"__editing_actions",header:Sd,cell:e=>n.createElement(Em,Object.assign({},e,{rowIdentifier:v})),footer:kd,meta:{align:"right",className:l('items-center print:opacity-0 [[role="table"][data-editing="true"]_&]:group-[[data-current="true"]]/row:sticky right-0 !pl-0 !pr-1','[[role="table"][data-editing="true"]_&]:group-[[data-current="true"]]/row:shadow-[-6px_0px_6px_var(--table3-row-actions-shadow)]','group-[[data-current="true"][data-selected="false"]]/row:text-grey-200','group-[[data-selected="true"]]/row:text-blue-100','group-[[data-selected="false"]:hover]/row:text-grey-100'),enableOrdering:!1,enableSearch:!1,enableTruncate:!1,header:"",headerClassName:"items-center !p-0"},enableResizing:!1,size:60,minSize:60}))),{columns:g,defaultColumnSizing:s,defaultColumnVisibility:c,defaultSorting:u}},[a.isEditing])}(e,s,m),k=n.useMemo(()=>{var t,n,l,a;const r={columnOrder:is(I,o.columnOrder,["__actions","__editing_actions"]),columnSizing:null!==(t=o.columnSizing)&&void 0!==t?t:L,columnVisibility:null!==(n=o.columnVisibility)&&void 0!==n?n:H,sorting:o.sorting?o.sorting.filter(e=>I.find(t=>t.id===e.id)):M};var i,s;return null!==(l=e.defaultSettings)&&void 0!==l&&l.columnFilters&&(r.columnFilters=null===(i=e.defaultSettings)||void 0===i?void 0:i.columnFilters),null!==(a=e.defaultSettings)&&void 0!==a&&a.globalFilter&&(r.globalFilter=null===(s=e.defaultSettings)||void 0===s?void 0:s.globalFilter),r},[]),V=z.useReactTable({data:e.data,columns:I,getCoreRowModel:z.getCoreRowModel(),initialState:k,...c,meta:{columnFreezing:u,columnOrdering:x,editing:m,enableFooter:s.enableFooter,fontSize:y,getSettings:()=>{const e=V.getState();return{columnFreezingIndex:u.frozenColumnIndex,columnOrder:x.isEnabled?e.columnOrder:void 0,columnSizing:V.options.enableColumnResizing?e.columnSizing:void 0,columnVisibility:V.options.enableHiding?e.columnVisibility:void 0,excludeUnmatchedRecordsInSearch:b.excludeUnmatchedResults,fontSize:y.isEnabled?y.size:void 0,rowHeight:N.isEnabled?N.height:void 0,showWarningWhenPrintingLargeDataset:g.isWarningVisibleForLargeDatasets,sorting:e.sorting}},isPrinting:e.id.endsWith("_print"),isUsingServer:!!e.loadPage,printing:g,rowActions:f,rowActive:R,rowClick:C,rowDrag:h,rowDrop:v,rowGoto:S,rowHeight:N,rowSelection:A,search:b,server:O,shortcutsState:E,tableRef:t,validation:d}});return function(e){const t=e.options.meta;n.useEffect(()=>{t.editing.isEnabled&&t.editing.isEditing&&requestAnimationFrame(()=>{t.editing.saveChangesIfNeeded()})},[t.rowActive.rowActiveIndex]),n.useEffect(()=>{t.editing.isEnabled&&(t.editing.isEditing?void 0===t.rowActive.rowActiveIndex&&t.rowActive.setRowActiveIndex(0):requestAnimationFrame(()=>{t.editing.saveChangesIfNeeded()}))},[t.editing.isEditing])}(V),function(e,t){const l=e.options.meta,a=e.getState();n.useEffect(()=>{let e;return"function"==typeof t&&(e=setTimeout(()=>{t(l.getSettings())},250)),()=>clearTimeout(e)},[l.columnFreezing.frozenColumnIndex,a.columnOrder,a.columnSizing,a.columnVisibility,l.search.excludeUnmatchedResults,l.fontSize.size,l.rowHeight.height,l.printing.isWarningVisibleForLargeDatasets,a.sorting])}(V,i),Vs(V),js(V,e.onFilter),Ts(V),Ds(V,e.onRowSelect),_s(V,e.loadPage),Ps(V,e.shortcuts),Bs(V,e.onSort),{table:V,length:null!==(r=e.length)&&void 0!==r?r:e.data.length}}(e,c);!function(e,t){n.useEffect(()=>{if(t.current){const n=e.options.meta;t.current.instance={resetFiltering:()=>e.resetColumnFilters(),resetRowExpansion:()=>e.resetExpanded(),resetRowSelection:()=>e.resetRowSelection(),resetSorting:()=>e.resetSorting(),toggleEditing:e=>n.editing.toggleEditing(null!=e?e:e=>!e)}}},[e,t.current])}(u,c),n.useEffect(()=>{var t;e.autoFocus&&(null===(t=c.current)||void 0===t||t.focus())},[]);const{renderBody:m,scrollToIndex:g}=function(e,t,l){return function(e,t,l){const a=t.options.meta,r=t.getRowModel().rows,o=t.getState().expanded,[i,s]=n.useState({}),c=n.useMemo(()=>{const e=Object.values(i);return e.length?e.reduce((e,t)=>e+t,0)/e.length:0},[i]),u=n.useCallback(e=>{const t=a.rowHeight.height?Pm[a.rowHeight.height]:Pm.medium;var n,l;return!0===o||null!=o&&o[e]?t+(null!==(n=null!==(l=i[e])&&void 0!==l?l:c)&&void 0!==n?n:0):t},[a.rowHeight.height,i,o]),d=F.useVirtual({parentRef:l,size:r.length,estimateSize:u}),m=n.useCallback((e,t)=>{if(l.current)if(e<=0)l.current.scrollTo(l.current.scrollLeft,0);else if(e>=r.length-1){var n;null===(n=l.current)||void 0===n||n.scrollTo(0,l.current.scrollHeight)}else d.scrollToIndex(e,t)},[r.length,l.current]);return{renderBody:Gm(e,r,t,l,d,s),scrollToIndex:m}}(e,t,l)}(e,u,c),f=u.options.meta,h=u.getState(),p=n.useRef(null);n.useEffect(()=>{const e=requestAnimationFrame(()=>{s&&g(s,{align:"center"})});return()=>{cancelAnimationFrame(e)}},[]),n.useEffect(()=>{const e=e=>{const t=e.target,n=t.closest('[role="dialog"]');if(t.closest('[role="combobox"]:not([data-taco="Select2"])')||n&&(null==n||!n.contains(c.current))||f.shortcutsState.isPaused)return;const l=u.getRowModel().rows;var a;f.rowActive.handleKeyDown(e,l.length,g,f.editing.isEditing?void 0:c),void 0!==f.rowActive.rowActiveIndex&&f.rowClick.handleKeyDown(e,null===(a=l[f.rowActive.rowActiveIndex])||void 0===a?void 0:a.original),f.rowSelection.handleKeyDown(e,u),f.editing.handleKeyDown(e)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[g,f.editing.isEditing,c.current,f.rowActive.rowActiveIndex]);const w=f.editing.isEnabled?e=>{f.editing.handleBlur(e)}:void 0,b=void 0===f.rowActive.rowActiveIndex?e=>{f.rowActive.handleFocus(e,u.getRowModel().rows.length,g)}:void 0,E=l("border-grey-300 relative grid h-full w-full flex-grow overflow-auto rounded border bg-white scroll-mt-[41px] focus-visible:outline-none",'[&[data-resizing="true"]]:select-none',{"text-xs":f.fontSize.size===exports.FontSizes.small,"text-sm":f.fontSize.size===exports.FontSizes.medium,"text-base":f.fontSize.size===exports.FontSizes.large}),{style:x}=((e,t=!1,l=0,a)=>{const r=e.getVisibleLeafColumns(),o=e.getState().columnSizing,i=e.getRowModel().rows.length+Object.keys(e.getState().expanded).length,s=Ud(a);return{style:{gridTemplateColumns:n.useMemo(()=>r.reduce((e,n,a)=>{let i;const c=a===r.length-1,u=o[n.id],d=_d(n.id);return i=t?`minmax(20px, ${d?n.getSize()+"px":"1fr"})`:d?"__actions"===n.id?`minmax(${32*l+8+8}px, auto)`:n.getSize()+"px":void 0!==u?"1fr"===u?"minmax(max-content, 1fr)":c?`minmax(${u}px, auto)`:u<s?s+"px":u+"px":"minmax(max-content, auto)",`${e} ${i}`.trim()},""),[r,o,s]),gridTemplateRows:n.useMemo(()=>`min-content repeat(${i}, min-content) 1fr min-content`,[i])}}})(u,f.printing.isPrinting,f.rowActions.actionsForRowLength,f.fontSize.size),{style:y}=(R=f.rowHeight.height,{style:{"--table3-cell-padding-x":mg(C=f.fontSize.size),"--table3-cell-padding-y":dg(R,C)}});var R,C;const S={...y,...x,opacity:.999},N=function(e,t){var l;const{columnOrder:a,columnSizing:r,columnSizingInfo:o,columnVisibility:i}=t.getState(),s=t.options.meta,c=(s.columnFreezing.isEnabled&&null!==(l=s.columnFreezing.frozenColumnIndex)&&void 0!==l?l:-1)+s.columnFreezing.frozenInternalColumnCount;return n.useMemo(()=>{if(s.columnFreezing.frozenInternalColumnCount>0||s.columnFreezing.isEnabled&&void 0!==c){var n;const l=t.getVisibleLeafColumns().slice(0,c+1),a=l.filter(e=>!_d(e.id));if(a.length&&a.every(e=>void 0===r[e.id]))return;const o=[l.map((t,n)=>`#${e} [role="row"] > :nth-child(${n+1}) { left: ${t.getStart()}px }`).join("\n"),`#${e} [role="row"] > :not(:nth-child(n+${c+2})) {\n position: sticky;\n z-index: 20;\n }`,`#${e}[data-horizontally-scrolled="true"] [role="row"] > :nth-child(${c+1}) {\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), 6px 0px 6px rgb(0 0 0/8%), 1px 0px 0px #DDDDDD;\n }`],i=null===(n=l[c])||void 0===n?void 0:n.id;return i&&!_d(i)&&o.push(`#${e}[data-horizontally-scrolled="false"] [role="row"] > :nth-child(${c+1}) {\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), 1px 0px 0px #DDDDDD;\n }`),o.join("\n")}},[a,r,o,i,s.columnFreezing.isEnabled,c])}(e.id,u),A=function(e,t){const l=t.getFlatHeaders();return n.useMemo(()=>[...new Set(l.map(e=>e.depth))].map(t=>`#${e} [data-taco="table2-header"] [role="row"]:nth-child(${t}) [role="columnheader"],\n #${e} [data-taco="table2-header"] [role="row"]:nth-child(${t}) [data-taco="table3-column-group"]\n { top: ${function(e){return 42*(e-1)}(t)}px }`).join("\r\n"),[l,e])}(e.id,u),O=f.isUsingServer&&void 0===e.length;return n.createElement(n.Fragment,null,N?n.createElement("style",{"data-taco":"table3-column-freezing-styles"},N):null,A&&!f.printing.isPrinting?n.createElement("style",{"data-taco":"table3-column-header-offset-styles"},A):null,n.createElement(cg,{table:u,tableProps:e,total:d,left:o,right:i,customSettings:r,scrollToIndex:g}),n.createElement(gg,{table:u,tableRef:c,scrollToIndex:g,rowIdentifier:e.rowIdentifier}),n.createElement("div",{className:E,id:e.id,"data-font-size":f.fontSize.size,"data-editing":f.editing.isEditing,"data-horizontally-scrolled":f.columnFreezing.horizontallyScrolled,"data-pause-hover":null==f?void 0:f.rowActive.isHoverStatePaused,"data-resizing":!!h.columnSizingInfo.isResizingColumn,"data-taco":"table2",onBlur:w,onFocus:b,onScroll:function(e){try{return f.columnFreezing.handleScroll(e),Promise.resolve()}catch(e){return Promise.reject(e)}},ref:c,role:"table",style:S,tabIndex:-1},O?null:n.createElement("div",{className:"group/header contents","data-taco":"table2-header",role:"rowgroup"},u.getHeaderGroups().map(e=>n.createElement("div",{className:"contents",key:e.id,role:"row"},e.headers.map((t,l)=>{var a;const r=!(l===f.columnFreezing.frozenColumnIndex||l===e.headers.length-1||null!==(a=e.headers[l+1])&&void 0!==a&&a.isPlaceholder&&t.isPlaceholder);return n.createElement(n.Fragment,{key:t.id},z.flexRender(t.column.columnDef.header,{...t.getContext(),scrollToIndex:g,hasSeparator:r}))})))),u.getRowModel().rows.length?n.createElement(n.Fragment,null,n.createElement(v.FocusScope,{autoFocus:f.editing.isEditing},n.createElement("div",{className:"group/body contents","data-taco":"table2-body",role:"rowgroup",ref:p},m())),n.createElement("div",{className:l("border-grey-300 col-span-full border-t",{"translate-y-px":f.enableFooter})}),f.enableFooter?n.createElement("div",{className:"group/footer contents","data-taco":"table2-footer",role:"rowgroup"},u.getFooterGroups().slice(0,1).map(e=>n.createElement("div",{className:"contents",key:e.id,role:"row"},e.headers.map(e=>n.createElement(n.Fragment,{key:e.id},z.flexRender(e.column.columnDef.footer,e.getContext()))))),d?n.createElement(ug,{currentLength:u.getRowModel().rows.length,length:d,table:u}):null):null):n.createElement("div",{className:"col-span-full box-border min-h-[theme(spacing.8)]"},a?n.createElement(a,null):null)))})),wg=ls((function(e,t){const l=String(e.children),a=n.useMemo(()=>String("tableKey_"+l),[l]);return n.createElement(pg,Object.assign({},e,{key:a,ref:t}))}));wg.Column=hg,wg.Group=vg;const bg=t.forwardRef((function(e,n){const{id:a,defaultId:r,children:o,onChange:i,orientation:s="horizontal",...c}=e,u=l({"flex w-full":"vertical"===s},e.className);return t.createElement(P.Root,Object.assign({},c,{className:u,"data-taco":"tabs",defaultValue:r,dir:"ltr",onValueChange:i,orientation:s,ref:n,value:a}),o)})),Eg=t.forwardRef((function(e,n){const a=l("border-grey-300 flex flex-row m-0 mb-4","aria-orientation-horizontal:border-b","aria-orientation-vertical:border-r aria-orientation-vertical:m-0 aria-orientation-vertical:mr-4 aria-orientation-vertical:flex-col ",e.className);return t.createElement(P.List,Object.assign({},e,{className:a,ref:n}))})),xg=t.forwardRef((function(e,n){const{children:a,id:r,disabled:o,tooltip:i,...s}=e,c=l("group relative p-0.5 outline-none disabled:cursor-not-allowed disabled:text-black/50",'[[aria-orientation="horizontal"]_&]:pb-1','[[aria-orientation="vertical"]_&]:pr-1'),u=l("flex-shrink-0 min-h-[theme(spacing.8)] min-w-[theme(spacing.8)] gap-1 h-max leading-5 inline-flex items-center justify-center focus-visible:yt-focus disabled:cursor-not-allowed","group-focus-visible:yt-focus-inset group-enabled:group-hover:wcag-grey-200 pointer-events-none rounded px-3"),d=l("pointer-events-none absolute hidden bg-blue-500 group-aria-selected:flex",'[[aria-orientation="horizontal"]_&]:rounded-t-sm [[aria-orientation="horizontal"]_&]:bottom-0 [[aria-orientation="horizontal"]_&]:left-0 [[aria-orientation="horizontal"]_&]:right-0 [[aria-orientation="horizontal"]_&]:-mb-px [[aria-orientation="horizontal"]_&]:h-0.5','[[aria-orientation="vertical"]_&]:rounded-l-sm [[aria-orientation="vertical"]_&]:right-0 [[aria-orientation="vertical"]_&]:top-0 [[aria-orientation="vertical"]_&]:bottom-0 [[aria-orientation="vertical"]_&]:-mr-px [[aria-orientation="vertical"]_&]:w-0.5'),m=t.createElement(P.Trigger,Object.assign({},s,{className:c,disabled:o,ref:n,value:r}),t.createElement("span",{className:u},a),t.createElement("span",{className:d}));return i?t.createElement(tr,{title:i},m):m})),yg=t.forwardRef((function(e,n){const{id:a,...r}=e,o=l('[&[data-orientation="vertical"]]:grow outline-none',e.className);return t.createElement(P.Content,Object.assign({},r,{className:o,ref:n,value:a}))}));bg.List=Eg,bg.Trigger=xg,bg.Content=yg;const zg=({continuous:e,index:n,isLastStep:l,step:a,backProps:r,primaryProps:o,skipProps:i,tooltipProps:s,size:c,locale:u,disableTourSkipOnEsc:d})=>{const m=t.useRef(null);return t.useEffect(()=>{const e=e=>{if(!d&&"Escape"===e.key&&null!==m.current)return e.preventDefault(),void m.current.click()};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[]),t.createElement("div",Object.assign({},s,{className:"yt-tour__step w-88 relative rounded bg-white p-4"}),t.createElement(or,Object.assign({},i,{ref:m,appearance:"discrete",icon:"close",title:u.skip,"aria-label":u.skip,className:"absolute top-0 right-0 mt-1 mr-1"})),a.title&&t.createElement("h5",null,a.title),a.content,t.createElement(So,{className:"mt-4 justify-end"},n>0&&t.createElement(fr,Object.assign({},r,{appearance:"discrete"}),u.back),t.createElement(fr,Object.assign({},o,{appearance:"primary"}),e?l?`${u.last} (${n+1}/${c})`:`${u.next} (${n+1}/${c})`:u.close)))},Rg=e=>null,Cg=e=>{const{texts:{tour:n}}=dr(),{autoStart:l,onComplete:a,onClose:r,onReady:o,spotlightClicks:i,disableCloseOnEsc:s,disableScrollParentFix:c=!1,scrollOffset:u,...d}=e,m=t.useMemo(()=>t.Children.map(e.children,e=>({disableBeacon:!e.props.showBeacon,target:e.props.selector,placement:e.props.position,title:e.props.title,content:e.props.children})),[e.children]),g=t.useCallback(t=>{var n;return null===(n=e.children.find(e=>e.props.selector===t))||void 0===n?void 0:n.props},[e.children]);return t.createElement(_,Object.assign({},d,{run:l,steps:m,showProgress:!0,floaterProps:{disableAnimation:!0},tooltipComponent:e=>t.createElement(zg,Object.assign({},e,{locale:n,disableTourSkipOnEsc:s})),locale:n,spotlightPadding:8,spotlightClicks:i,disableScrollParentFix:c,callback:e=>{e.action===B.ACTIONS.SKIP&&e.lifecycle===B.LIFECYCLE.COMPLETE&&r&&r(g(e.step.target)),e.type===B.EVENTS.TOUR_END&&a&&a(),e.lifecycle===B.LIFECYCLE.READY&&o&&o(g(e.step.target))},scrollOffset:u,styles:{options:{primaryColor:"#6ba4ff"}},disableCloseOnEsc:!0}))};Cg.Step=Rg;const Sg=n.forwardRef((function(e,t){const{...a}=e,r=l(Ng(),e.className);return n.createElement(or,Object.assign({},a,{appearance:"discrete",className:r,"data-taco":"header-button",ref:t}))})),Ng=(e=!0)=>l("!h-9 !w-9 flex-shrink-0 flex-grow-0 cursor-pointer relative","focus:!outline-none focus:!shadow-none focus-visible:!yt-focus-dark ","bg-transparent enabled:hover:bg-white/[.08] focus:bg-white/[.08] aria-current-page:bg-white/[.08]","text-white",{"!rounded-full":e}),Ag=n.forwardRef((function(e,t){const{children:a,icon:r,isNew:o,tooltip:i,...s}=e,{texts:c}=dr(),u=l(Og(r),"relative",e.className),d=n.createElement("a",Object.assign({},s,{className:u,"data-taco":"header-link",ref:t,tabIndex:0}),r?n.createElement(ya,{name:r}):null,a,o?n.createElement(Ga,{color:"blue",small:!0,className:"absolute right-0 top-0 -mr-2.5 -mt-1.5 !h-3 !px-0.5 text-[0.55rem] font-normal"},c.header.new):null);return i?n.createElement(tr,{title:i},d):d})),Og=e=>l("flex h-8 flex-shrink-0 flex-grow-0 cursor-pointer items-center justify-center ","focus:!shadow-none focus:!outline-none focus-visible:!yt-focus-dark","bg-transparent hover:bg-white/[.08] focus:bg-white/[.08] aria-current-page:bg-white/[.08]","text-white hover:text-white focus:text-white",{"!rounded-full !h-9 !w-9":e,"whitespace-nowrap px-3 rounded text-sm hidden lg:flex":!e}),Ig=n.forwardRef((function(e,t){const a=l("h-7 w-7 m-1 self-center justify-self-center flex-shrink-0 flex-grow-0",e.className);return n.createElement("svg",Object.assign({},e,{className:a,ref:t,viewBox:"0 0 28 28",xmlns:"http://www.w3.org/2000/svg"}),n.createElement("g",{className:"fill-brand-sunsetOrange"},n.createElement("path",{d:"M3.2496172 16.0366c-1.44938-.2893-2.857854.6517-3.1442248 2.1011-.2863702 1.4493.6516388 2.8578 2.1010248 3.1442 1.44938.2893 2.85786-.6517 3.14423-2.101.28929-1.4465-.65164-2.855-2.10103-3.1443z"}),n.createElement("path",{d:"M18.9911672 19.1692c-2.4137-.4792-4.7602 1.0871-5.2423 3.5037-.4793 2.4137 1.087 4.7602 3.5036 5.2423 2.4137.4793 4.7602-1.087 5.2424-3.5036.4792-2.4166-1.0871-4.7631-3.5037-5.2424z"}),n.createElement("path",{d:"M23.6958672.105135c-2.8988-.578585-5.7157 1.303275-6.2943 4.199125l-.5172 2.62116c-.3828 1.93446-2.2647 3.19098-4.1992 2.80819l-1.7474-.35651c-1.92569-.3828-3.18221-2.25589-2.79941-4.19035l.08766-.43832c.33021-1.68608-.7656-3.33417-2.45168-3.66438-1.69776-.336043-3.33709.75976-3.67606 2.45461-.33897 1.68607.76561 3.3254 2.45168 3.66437l.43833.09058c1.93446.3828 3.19098 2.26467 2.79941 4.19039l-.16948.8737c-.3828 1.9345.87372 3.8163 2.79945 4.1991 1.9344.3828 3.8163-.8737 4.1991-2.8082l.1695-.8737c.3828-1.9257 2.2646-3.1822 4.1903-2.7994l2.63.526c2.8987.5698 5.7157-1.31206 6.2855-4.20791.5844-2.90169-1.2974-5.718636-4.1962-6.288455z"})))})),Lg=n.forwardRef((function(e,t){const a=l("-mr-[156px] xs:-mr-14 md:!mr-0 h-9 shrink-0 w-[180px] px-1",e.className);return n.createElement("svg",Object.assign({},e,{className:a,ref:t,viewBox:"0 0 127 13",xmlns:"http://www.w3.org/2000/svg"}),n.createElement("g",{className:"fill-white"},n.createElement("path",{className:"fill-white",d:"M5.716016 1.34924242c3.029712.25015152 6.374384 1.74121213 8.2804 3.86060606 2.4384 2.71227273 1.603248 5.42454542-1.877568 6.05681822-3.480816.6322727-8.2804-1.0498485-10.720832-3.76212125C-.471424 5.42848485-.41656 3.35242424 1.27 2.2080303l9.67232 6.92742425-5.226304-7.78621213z",fillRule:"nonzero"}),n.createElement("g",{className:"hidden md:flex"},n.createElement("path",{d:"M53.67528 11.2509091l-1.2192-4.72727274c-.176784-.56333333-.24384-1.12666666-.36576-1.6880303h-.026416c-.107696.57515152-.148336 1.13848485-.308864 1.71363636l-1.22936 4.70954548h-2.101088l2.822448-9.87409093h1.647952l2.942336 9.86424243-2.162048.0019697z",fillRule:"nonzero"}),n.createElement("path",{d:"M21.553424 1.38469697l1.2192 4.72727273c.174752.56333333.241808 1.12469697.363728 1.6880303h.026416c.107696-.57515152.148336-1.13848485.310896-1.71363636l1.2192-4.70954546h2.105152L23.9776 11.2410606h-1.64592l-2.938272-9.85636363h2.160016z",fillRule:"nonzero"}),n.createElement("path",{fillRule:"nonzero",d:"M28.313888 1.38666667h2.01168v9.86424243h-2.01168z"}),n.createElement("path",{fillRule:"nonzero",d:"M41.694608 1.38666667l.983488 5.82045454h.026416l.808736-5.82045454h2.700528l1.0668 9.86424243h-2.064512l-.485648-7.10469698h-.028448l-.323088 2.43257576-.865632 4.67212122h-1.550416l-.98552-4.72333334L40.64 4.32939394v-.18318182h-.026416l-.296672 7.10469698h-2.160016l.890016-9.86424243z"}),n.createElement("path",{d:"M35.310064 1.38469697c-.3577988.27917284-.6303655.64756811-.788416 1.06560606-.526288 1.22909091.036576 2.16666667.534416 3.00575758.073152.12409091.148336.24818181.217424.37227272 1.085088 1.80424243 1.515872 3.13378788.705104 5.02863637-.056896.1339394-.191008.3939394-.191008.3939394h-2.424176c.3204254-.2482168.5741848-.5678542.739648-.9316667.556768-1.30196967-.099568-2.49166664-.735584-3.64393937-.764032-1.37878788-1.552448-2.81863636-.715264-4.78045455.079248-.18712121.254-.50424242.254-.50424242l2.403856-.00590909z",fillRule:"nonzero"}))),n.createElement("g",{className:"xs:flex xs:-translate-x-[40px] hidden md:!translate-x-0"},n.createElement("path",{className:"stroke-white",d:"M61.496448 0v12.8680303",strokeWidth:"1.68"}),n.createElement("g",{className:"fill-white"},n.createElement("path",{d:"M70.841616 9.70863636c-.999744 0-1.7888373-.29479798-2.36728-.88439394-.5784427-.58959596-.867664-1.40964646-.867664-2.46015151 0-1.05707071.2709333-1.89681818.8128-2.51924243.5304376-.61728629 1.3256457-.96197654 2.15392-.93363636.7626734-.03509605 1.5014967.26264579 2.013712.81151515.4944533.53969697.7410027 1.25272728.739648 2.13909091v.62833334h-4.659376c.022352.77015151.221488 1.35318181.6096 1.7530303.388112.39984848.916432.59090909 1.607312.59090909.743701-.00293405 1.4788698-.15377248 2.160016-.44318182v.88636364c-.3298144.14174433-.6736336.25063692-1.02616.325-.3855929.07188992-.7778273.1048941-1.170432.09848485m-.27432-5.95242425c-.4900374-.02138848-.9649513.16736328-1.298448.51606061-.3477231.40033357-.5485505.90121019-.570992 1.42409091h3.53568c0-.62636364-.14224-1.1069697-.430784-1.43984849-.3103282-.34233825-.7661196-.52691285-1.235456-.50030303",fillRule:"nonzero"}),n.createElement("path",{d:"M75.053952 6.25575758c-.0151689-.21657791.0536783-.43083638.19304-.60075758.1381463-.1429001.3347885-.21871211.536448-.20681818.2081607-.01140173.4114497.0638378.5588.20681818.2680858.35762602.2680858.84191943 0 1.19954545-.3018073.26987298-.7638609.27916874-1.07696.02166667-.1529999-.17086259-.2265151-.39533511-.2032-.62045454",fillRule:"nonzero"}),n.createElement("path",{d:"M81.586832 9.70863636c-.979424 0-1.73736-.29217171-2.273808-.87651515-.536448-.58434343-.8073813-1.41095959-.8128-2.47984848 0-1.09777778.2709333-1.94540404.8128-2.54287879.5418667-.59747475 1.318768-.89686869 2.330704-.89818182.3279782-.00003668.654999.03430434.97536.10242424.2639542.04817256.5206342.12824173.764032.23833334l-.31496.845c-.2397537-.0929503-.4871838-.16608946-.739648-.21863637-.2330197-.05435362-.4715521-.08342113-.7112-.08666666-1.373632 0-2.060448.84959596-2.060448 2.54878788 0 .80494949.1673013 1.42343434.501904 1.85545454.33528.42939394.83312.64606061 1.491488.64606061.5966181-.00678768 1.1861142-.12655871 1.735328-.35257576v.87848485c-.5339642.24467285-1.120715.3615322-1.710944.34075757",fillRule:"nonzero"}),n.createElement("path",{d:"M90.690192 6.30893939c0 1.06757576-.278384 1.90207071-.835152 2.50348485-.556768.60141414-1.3241867.90146465-2.302256.90015152-.5660565.00980534-1.1238362-.13269357-1.611376-.41166667-.4744234-.28111893-.8520726-.69243374-1.085088-1.18181818-.2674171-.5661279-.3987341-1.18372355-.384048-1.80621212 0-1.06888889.2756747-1.90207071.827024-2.49954546.5513493-.59747474 1.316736-.89555555 2.29616-.89424242.8559447-.03726298 1.6841715.29875604 2.257552.91590909.556768.61060606.8358293 1.43656566.837184 2.47787879m-5.155184 0c0 .83777778.17272 1.47595959.51816 1.91454545.34544.43858586.85344.65787879 1.524.65787879s1.1799147-.21863636 1.528064-.65590909.522224-1.07611111.522224-1.91651515c0-.83515152-.1740747-1.46873738-.522224-1.90075758-.3481493-.4320202-.861568-.64868687-1.540256-.65-.67056 0-1.176528.21469697-1.517904.64015152-.341376.42545454-.512064 1.06363636-.512064 1.91060606",fillRule:"nonzero"}),n.createElement("path",{d:"M96.989392 9.58848485V5.34575758c0-.53444445-.1253067-.9329798-.37592-1.19560606-.251968-.2639394-.644144-.3939394-1.180592-.3939394-.707136 0-1.225296.18580808-1.55448.55742424-.329184.37161617-.493776.98419192-.493776 1.83772728v3.43909091h-1.02616V3.03136364h.83312l.168656.89621212h.048768c.213947-.32669621.5199877-.58712571.881888-.75045455.3956439-.18075251.8285923-.27169306 1.265936-.26590909.8128 0 1.4257867.19040404 1.83896.57121212.4131733.38080808.6163733.99010101.6096 1.82787879v4.27818182h-1.016z",fillRule:"nonzero"}),n.createElement("path",{d:"M105.759504 6.30893939c0 1.06757576-.277707 1.90207071-.83312 2.50348485-.555413.60141414-1.322832.90146465-2.302256.90015152-.566147.01053143-1.124127-.1320188-1.611376-.41166667-.474546-.2815508-.852738-.69268701-1.08712-1.18181818-.2666505-.56630799-.397268-1.18388155-.382016-1.80621212 0-1.06888889.2756747-1.90207071.827024-2.49954546.551349-.59747474 1.316736-.89555555 2.29616-.89424242.948267 0 1.700107.30530303 2.25552.91590909.555413.61060606.834475 1.43525253.837184 2.47393939m-5.155184 0c0 .83777778.17272 1.4759596.51816 1.91454546.34544.43924242.855472.65787879 1.526032.65787879.589088.03526465 1.159066-.20939357 1.528064-.65590909.348149-.43727273.521547-1.07611112.520192-1.91651516-.001355-.84040404-.174752-1.4739899-.520192-1.90075757-.349504-.43333334-.861568-.65-1.540256-.65-.678688 0-1.17856.21469697-1.519936.64015151-.341376.42545455-.512064 1.06363637-.512064 1.91060606",fillRule:"nonzero"}),n.createElement("path",{d:"M116.1796 9.58848485V5.32409091c0-.52525253-.115147-.91919192-.34544-1.18181818-.229616-.26-.58928-.3939394-1.074928-.3939394-.635339 0-1.109472.1779293-1.4224.53378788-.312928.35585859-.465328.90212121-.4572 1.63878788v3.66166667h-1.016V5.32409091c0-.52525253-.115824-.91919192-.347472-1.18181818-.229616-.26-.58928-.3939394-1.078992-.3939394-.642112 0-1.113536.1969697-1.410208.55939394-.296672.36242425-.449072.98484849-.449072 1.83575758v3.43909091h-1.016V3.03136364h.83312l.166624.89621212h.0508c.192326-.31859024.474248-.57752095.8128-.74651515.36534-.18279258.771528-.27547583 1.182624-.26984849 1.05664 0 1.748197.3709596 2.074672 1.11287879h.048768c.20551-.34688729.509496-.62924665.875792-.81348485.403616-.20402984.853472-.30695163 1.308608-.29939394.765387 0 1.338411.19040404 1.719072.57121212.380661.38080808.570992.99010101.570992 1.82787879v4.27818182h-1.02616z",fillRule:"nonzero"}),n.createElement("path",{d:"M119.16664 1.25272727c-.016875-.18221767.045768-.36295537.17272-.49833333.243232-.21393452.614272-.21393452.857504 0 .129279.13353172.194239.31385023.178816.49636364.015568.18371514-.049334.36530074-.178816.50030303-.240531.22061195-.616973.22061195-.857504 0-.125769-.13683457-.188192-.31765204-.17272-.50030303v.00196969zm1.111504 8.33378788h-1.02616V3.03136364h1.02616v6.55515151z",fillRule:"nonzero"}),n.createElement("path",{d:"M125.091952 9.70863636c-.979424 0-1.738037-.29217171-2.27584-.87651515-.537803-.58434343-.808736-1.41095959-.8128-2.47984848 0-1.09777778.270933-1.94540404.8128-2.54287879.541867-.59747475 1.318768-.89686869 2.330704-.89818182.327978-.00003668.654999.03430434.97536.10242424.264596.04821437.521943.12827865.766064.23833334l-.31496.845c-.239852-.09267891-.487258-.16581103-.739648-.21863637-.233047-.05421-.471563-.08327549-.7112-.08666666-1.373632 0-2.061125.84959596-2.06248 2.54878788 0 .80494949.167979 1.42343434.503936 1.85545454.33528.42939394.83312.64606061 1.491488.64606061.595961-.00679074 1.184792-.12656681 1.733296-.35257576v.87848485c-.533172.24487796-1.119318.3617557-1.708912.34075757",fillRule:"nonzero"}))))})),Hg=n.forwardRef((function(e,t){const{texts:a}=dr(),r=qa(t),o=l("flex h-full w-full flex-grow items-center overflow-hidden active:outline-none relative",e.className),i=n.createElement(fr,{className:l(Og(),"!bg-transparent aria-expanded:!bg-white/[.08]")},a.header.more);return n.createElement("nav",Object.assign({},e,{className:o,ref:r}),n.createElement($i,{className:"h-full flex-grow items-center gap-1 px-1",moreButton:i},e.children))})),Mg=n.forwardRef((function(e,t){const a=l("flex h-full items-center gap-2 mb-0 flex-shrink-0 mr-2",e.className);return n.createElement("div",Object.assign({},e,{className:a,ref:t}))})),kg=n.forwardRef((function(e,t){const a=l(Ng(!1),"mr-1 !bg-transparent hover:!bg-white/[.08] focus:!bg-white/[.08]] lg:hidden z-[2] !text-white");return n.createElement(or,Object.assign({},e,{className:a,"data-taco":"header-toggle-sidebar",icon:"menu",ref:t}))})),Vg=n.forwardRef((function(e,t){const{src:a,fallbackSrc:r,...o}=e,[i,s]=n.useState(!1),c=l("h-9 w-9 rounded-full shrink-0 group-focus:yt-focus-dark xl:group-focus:shadow-none",{visible:i},e.className);return n.createElement("img",Object.assign({},o,{className:c,src:a,onLoad:()=>s(!0),onError:e=>{e.target.src=r},ref:t}))})),jg=({agreement:e,...t})=>e.isAdministrator?n.createElement(Ga,Object.assign({},t,{color:"blue",small:!0}),"Admin"):e.isDeveloper?n.createElement(Ga,Object.assign({},t,{color:"blue",small:!0}),"Developer"):null,Tg=e=>{const{children:t,className:a,fallbackImageSrc:r,...o}=e,i=l("w-full rounded flex px-2 gap-2 overflow-hidden text-left items-center",a);return n.createElement("span",{className:i},n.createElement(Vg,{fallbackSrc:r,src:o.imageSrc,title:`${o.name} - ${o.number} ${o.userId}`}),n.createElement("span",{className:"flex flex-col overflow-hidden"},n.createElement("span",{className:"flex truncate text-white",title:o.name},n.createElement("span",{className:"truncate"},o.name)," ",o.secure?n.createElement(ya,{name:"secure-tick",className:"mb-0.5 ml-1 mt-0.5 !h-4 !w-4 flex-shrink-0 flex-grow-0"}):null),n.createElement("span",{className:"text-grey-100 whitespace-nowrap text-xs"},o.number," ",o.userId," ",n.createElement(jg,{agreement:o}))),t)},Dg=e=>{const{children:t,currentAgreement:a,fallbackImageSrc:r}=e;if(cu("(min-width: 1280px)",window.innerWidth>1280)){const o=l("h-12 flex-grow xl:[button>&]:hover:bg-white/[0.16]",e.className);return n.createElement(Tg,Object.assign({},a,{children:t,className:o,fallbackImageSrc:r}))}return n.createElement("span",{className:"relative flex h-12 flex-grow items-center pr-2"},n.createElement(Vg,{fallbackSrc:r,src:a.imageSrc,title:`${a.name} - ${a.number} ${a.userId}`}),n.createElement(jg,{agreement:a,className:"absolute right-0 top-0 -mr-1 w-8 !justify-start"}))},Fg=e=>n.createElement("div",{className:"-ml-2 flex flex-shrink-0 flex-grow-0 items-center gap-2 pr-2 xl:ml-auto xl:w-64","data-taco":"header-agreements"},n.createElement("span",{className:"hidden h-8 w-px flex-shrink-0 flex-grow-0 bg-white/[0.3] xl:flex"}),e.children),Pg=e=>t=>{if(!e||!e.length)return!0;const n=String(t.number).indexOf(e)>-1,l=t.name.toLowerCase().indexOf(e.toLowerCase())>-1;return n||l},Bg=(e,t)=>e.number===t.number&&e.userId===t.userId,_g=(e,t,l,a=!1)=>n.createElement("button",{"aria-current":a?"true":void 0,className:"focus:yt-focus-dark w-full rounded outline-none","data-taco":"header-agreements-agreement",key:`${e.number}_${e.userId}`,onClick:()=>l(e),onKeyDown:t=>{"Enter"===t.key&&l(e)},tabIndex:0},n.createElement(Tg,Object.assign({},e,{className:"h-14 bg-white/[0.08] xl:hover:bg-white/[0.16] [[aria-current='true']>&]:bg-white/[0.16]",fallbackImageSrc:t}))),Gg=n.forwardRef((function(e,t){const a=l("bg-blue-900 flex h-16 w-full shrink-0 items-center gap-2 pl-4","[&>*:focus-visible]:yt-focus-dark [&>*]:rounded",e.className);return n.createElement("header",Object.assign({},e,{className:a,ref:t}))}));Gg.AgreementDisplay=function(e){const{currentAgreement:t,fallbackImageSrc:l}=e;return n.createElement(Fg,null,n.createElement(Dg,{currentAgreement:t,fallbackImageSrc:l}))},Gg.AgreementSelector=function(e){const{agreements:t,currentAgreement:l,fallbackImageSrc:a,filterAgreement:r=(()=>!0),filterClientAgreement:o=(()=>!0),onAddAgreement:i,onChangeAgreement:s,onLogout:c,open:d,setOpen:m}=e,{texts:g}=dr(),f=n.useRef(null),[h,v]=w.useControllableState({onChange:m,prop:d}),[p,b]=n.useState("");n.useEffect(()=>{b("")},[h]);const E=e=>{s(e),v(!1)};return n.createElement(Fg,null,n.createElement(u.Root,{open:h,onOpenChange:v},n.createElement(u.Trigger,{className:"xl:focus-visible:yt-focus-dark [&:focus-visible_img]:yt-focus-dark w-full rounded outline-none xl:[&:focus-visible_img]:shadow-none"},n.createElement(Dg,{currentAgreement:l,fallbackImageSrc:a},t?n.createElement(ya,{className:"ml-auto hidden flex-shrink-0 flex-grow-0 text-white xl:flex",name:h?"chevron-up":"chevron-down"}):null)),n.createElement(u.Content,{className:"z-[996] mt-2 flex h-[calc(100vh_-_theme(spacing.16))] w-64 flex-col gap-1 bg-blue-900"},n.createElement(tc,{autoFocus:!0,className:"focus-visible:!yt-focus-dark mx-2 !border-transparent !bg-white/[0.08] !text-white hover:!bg-white/[0.16] hover:!shadow-none focus:!bg-white/[0.16] active:!bg-white/[0.16] [&+div>button]:!text-white",onChange:e=>b(e.target.value),onKeyDown:e=>{var t;"ArrowDown"!==e.key&&"ArrowUp"!==e.key&&"Enter"!==e.key||(e.preventDefault(),null===(t=f.current)||void 0===t||t.dispatchEvent(Dr(e)))},placeholder:g.header.search}),n.createElement(Sc,{querySelector:"button",className:"-my-1 flex w-full flex-grow flex-col gap-1 overflow-auto px-2 py-1 outline-none",ref:f,tabIndex:-1},null==t?void 0:t.filter(e=>r(e,Pg(p))).map(e=>{const t=_g(e,a,E,Bg(e,l));return e.clients?n.createElement("span",{className:"flex flex-col gap-px [&>*:first-child>span]:!rounded-t [&>*:last-child>span]:!rounded-b [&>*>span]:!rounded-none",key:`${e.number}_${e.userId}_clients`},Pg(p)(e)?t:null,e.clients.filter(e=>o(e,p,Pg(p))).map(e=>_g(e,a,E,Bg(e,l)))):t})),i?n.createElement(fr,{className:"focus-visible:!yt-focus-dark my-1 mx-2 !h-9 shrink-0 !bg-white/[0.08] !text-white hover:!bg-white/[0.16]",onClick:i},g.header.addAgreement):null,n.createElement("hr",{className:"my-0 h-px w-full bg-white/[0.08]"}),n.createElement("a",{className:"focus-visible:yt-focus-dark mx-2 mb-2 flex h-8 shrink-0 items-center justify-center rounded text-white hover:cursor-pointer hover:text-white hover:underline focus-visible:outline-none",onClick:c,tabIndex:0},g.header.logout))))},Gg.Button=Sg,Gg.Link=Ag,Gg.Logo=Ig,Gg.LogoLegacy=Lg,Gg.PrimaryNavigation=Hg,Gg.SecondaryNavigation=Mg,Gg.MenuButton=kg;const qg=n.createContext({sidebarOpen:!1,setSidebarOpen:()=>{}}),$g=n.forwardRef((function(e,t){const a=l("flex-grow overflow-y-auto print:overflow-visible print:h-full print:!p-0 bg-white flex flex-shrink flex-col relative",e.className);return n.createElement("main",Object.assign({},e,{className:a,ref:t}))})),Kg=h.motion(Ha),Ug=n.forwardRef((function(e,t){const{children:a,...r}=e,{sidebarOpen:o,setSidebarOpen:i}=n.useContext(qg),s=uu(),c=!s,u=s||o;n.useEffect(()=>{i(s)},[s]),n.useEffect(()=>{const e=e=>{"Escape"===e.key&&(e.preventDefault(),e.stopPropagation(),i(!1))};return c&&o&&window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[c,o]);const d=c&&!0===o,[m,g]=n.useState(c),f=l("bg-grey-50 h-full w-64 flex-shrink-0 flex-grow-0 print:hidden",{"absolute z-10 aria-hidden:-translate-x-64 ":c,invisible:c&&!m,"transition-[transform] duration-300 visible":c&&m,"border-r-2 border-black/[.08] ":!d},e.className);n.useEffect(()=>{setTimeout(()=>{g(c)},1)},[c]);const v="function"==typeof a?a({isLargeScreen:s,open:o,toggleSidebar:()=>i(e=>!e)}):a;return v?n.createElement(n.Fragment,null,n.createElement("nav",Object.assign({},r,{"data-responsive":c,"aria-hidden":!u,className:f,ref:t}),v),n.createElement(h.AnimatePresence,null,d&&n.createElement(Kg,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"z-[1]",onClick:()=>i(!1)}))):null})),Wg=n.forwardRef((function(e,t){const a=l("flex flex-grow overflow-hidden print:overflow-visible print:h-full relative",e.className);return n.createElement("div",Object.assign({},e,{className:a,ref:t}))})),Jg=n.forwardRef((function(e,t){const[a,r]=n.useState(!1),o=l("flex h-screen w-screen flex-col overflow-hidden print:overflow-visible print:h-full relative",e.className);return n.createElement(qg.Provider,{value:{sidebarOpen:a,setSidebarOpen:r}},n.createElement("div",Object.assign({},e,{className:o,ref:t})))}));Jg.Top=e=>{const{setSidebarOpen:t}=n.useContext(qg);return"function"==typeof e.children?e.children({toggleSidebar:()=>t(e=>!e)}):e.children},Jg.Page=Wg,Jg.Sidebar=Ug,Jg.Content=$g;const Yg=n.forwardRef((function(e,t){const{children:a,defaultExpanded:r=!1,heading:o,onClick:i,...s}=e,[c,u]=n.useState(r),d=l("flex w-full cursor-pointer items-center rounded px-3 font-bold text-left leading-8 hover:bg-black/[.06] focus-visible:yt-focus-dark",s.className);return n.createElement("li",Object.assign({},s,{role:"none",className:"[[role=menubar]>&]:px-3",ref:t}),n.createElement("button",{"aria-haspopup":"true","aria-expanded":c,"data-taco":"navigation2-group",className:d,onClick:e=>{u(!c),i&&i(e)},role:"menuitem"},n.createElement(ya,{className:"-ml-2 !h-5 !w-5",name:c?"chevron-down-solid":"chevron-right-solid"}),n.createElement("span",{className:"flex-grow truncate"},o)),n.createElement("ul",{className:l("mb-0 flex flex-col gap-y-px pt-px",{hidden:!c}),role:"menu"},a))})),Qg=()=>l("[[role=menubar]>[data-taco=navigation2-link-item]+&]:mt-2","[[role=menubar]>[data-taco='navigation2-link-item']+&]:border-t-2","[[role=menubar]>[data-taco='navigation2-link-item']+&]:pt-2 ","[[role=menubar]>[data-taco='navigation2-content']+&]:border-t-2","[[role=menubar]>[data-taco='navigation2-content']+&]:pt-2","[[role=menubar]>[data-taco='navigation2-section']+&]:border-t-2","[[role=menubar]>[data-taco='navigation2-section']+&]:pt-2"),Xg=(e=!1)=>l("group relative flex w-full items-center rounded leading-8 !text-black px-2 focus-visible:yt-focus-dark","font-bold [[role=menu]>li>&]:font-normal [[role=menu]>li>&]:pl-5",'[&_[data-taco="icon"]]:!h-5 [&_[data-taco="icon"]]:!w-5','[&>span_[data-taco="badge"]]:mr-2.5 [[role=menu]>li>&>span_[data-taco="badge"]]:mr-2',{"hover:bg-black/[.06] aria-current-page:bg-blue-500/[.1]":!e,"!bg-blue-500 !text-white [&>*]:!text-white":e}),Zg=n.forwardRef((function(e,t){const{active:a,children:r,icon:o,menu:i,onDrop:s,total:c,...u}=e,[d,m]=Ti(s),g=l(Xg(d),u.className),f=l("[[role=menubar]>&]:px-3 border-grey-200",Qg(),{"[&>*]:pointer-events-none":d});return n.createElement("li",Object.assign({},m,{className:f,"data-taco":"navigation2-link-item",role:"none"}),n.createElement("a",Object.assign({},u,{"aria-current":a?"page":void 0,className:g,"data-taco":"navigation2-link",ref:t,role:"menuitem",tabIndex:0}),o?n.createElement(ya,{className:"mr-1.5 [[role=menu]>li>a>&]:-ml-1.5 [[role=menu]>li>a>&]:mr-0.5",name:o}):null,n.createElement("span",{className:"flex flex-grow items-center truncate"},r),i?n.createElement(or,{appearance:"discrete",icon:"more","aria-label":"More",rounded:!0,className:l("-mr-1.5 hidden flex-shrink-0 flex-grow-0 transition-none group-hover:flex aria-expanded:flex",{"absolute right-0 !mr-0.5":void 0!==c}),menu:i,onClick:e=>{e.preventDefault(),e.stopPropagation()}}):null,void 0!==c?n.createElement(Ga,{className:l("flex-shrink-0 flex-grow-0 !font-normal",{'group-hover:hidden [[aria-expanded="true"]+&]:hidden ':i}),color:"transparent"},c):null))})),ef=n.forwardRef((function(e,t){const{children:a,heading:r,...o}=e,i=l("w-full overflow-auto px-3 py-2 flex-grow border-grey-200 bg-grey-50 [[role=menubar]>&:first-child]:pt-0",Qg(),e.className);return n.createElement("li",Object.assign({},o,{className:i,"data-taco":"navigation2-section",ref:t,role:"none"}),r?n.createElement("span",{className:"text-grey-500 mb-px truncate pl-5 text-xs font-bold uppercase leading-8 lg:hidden"},r):null,n.createElement("ul",{className:"mb-0 flex flex-col gap-y-px"},a))})),tf=n.forwardRef((function(e,t){const{children:a,...r}=e,o=l("w-full overflow-auto p-3 mt-auto border-grey-200 flex-shrink-0 z-10 bg-grey-50 [[role=menubar]>&:last-child]:pb-0",Qg(),e.className);return n.createElement("li",Object.assign({},r,{className:o,"data-taco":"navigation2-content",ref:t,role:"none"}),a)})),nf=n.forwardRef((function(e,t){const{children:a,...r}=e,o=l("m-0 py-2 flex flex-col gap-y-px overflow-auto h-full w-full bg-grey-50",e.className);return n.createElement("ul",Object.assign({},r,{className:o,"data-taco":"navigation2",ref:t,role:"menubar",style:{opacity:.999}}),a)}));nf.Group=Yg,nf.Link=Zg,nf.Section=ef,nf.Content=tf,exports.Accordion=Ba,exports.Alert=Ca,exports.AlertDialog=ja,exports.Backdrop=Ha,exports.Badge=Ga,exports.BadgeIcon=za,exports.Banner=mr,exports.Base=rr,exports.Button=fr,exports.Calendar=wr,exports.Card=Er,exports.Checkbox=yr,exports.CollectionPrimitive=Oc,exports.Combobox=Zr,exports.Datepicker=go,exports.Dialog=Co,exports.Drawer=Jo,exports.Field=Qo,exports.Form=Xo,exports.Group=So,exports.Hanger=li,exports.Header=Gg,exports.HoverCard=ii,exports.Icon=ya,exports.IconButton=or,exports.Input=Ir,exports.Layout=Jg,exports.Listbox=ui,exports.LocalizationContext=cr,exports.LocalizationProvider=ur,exports.Menu=Hi,exports.ModeSwitch=Mi,exports.MultiListbox=di,exports.Navigation=_i,exports.Navigation2=nf,exports.OverflowGroup=$i,exports.PaginatedTable=id,exports.Pagination=Ji,exports.Popover=mo,exports.Progress=({duration:e,...t})=>{let a;e&&(a={animationDuration:e+"ms"});const r=l("bg-grey-100 rounded block h-1 overflow-hidden w-full",t.className),o=l("yt-progress__bar block h-1",{"w-full before:h-1 before:bg-grey-300 before:block before:animate-[progress-indeterminate_2s_cubic-bezier(0.4,0,0.2,1)_infinite] before:content-[' ']":!e,"w-0 bg-grey-300 animate-[progress_linear]":e});return n.createElement("span",Object.assign({},t,{"data-taco":"progress",className:r}),n.createElement("span",{className:o,"data-taco":"progress-bar",style:a}))},exports.Provider=e=>{const{children:n,localization:l,settings:a}=e,r=t.useMemo(()=>a,[JSON.stringify(a)]);return t.createElement(ur,{localization:l},t.createElement(ts.Provider,{value:r},t.createElement(o.Provider,null,t.createElement(Zi,null,n))))},exports.RadioGroup=Ni,exports.Report=Vu,exports.SearchInput=tc,exports.SearchInput2=dc,exports.Select=Wi,exports.Select2=ru,exports.Shortcut=fi,exports.Spinner=Mr,exports.Switch=mc,exports.Table=od,exports.Table3=wg,exports.Tabs=bg,exports.TacoContext=ts,exports.Tag=jc,exports.Textarea=xm,exports.Title=ti,exports.ToastProvider=Zi,exports.Tooltip=tr,exports.Tour=Cg,exports.TourStep=Rg,exports.Treeview=ji,exports.VisuallyHidden=_a,exports.WindowedTable=ud,exports.convertRowIndexPathToNumberArray=dd,exports.createShortcutKeyDownHandler=Qa,exports.defaultLocalisationTexts=ir,exports.defaultLocalizationContext=sr,exports.findByValue=zi,exports.fixedForwardRef=ls,exports.format=to,exports.getByRowIndexPath=md,exports.getNavigationLinkClasses=Xg,exports.getNextIndexFromKey=Lr,exports.getParentRowIndexPath=gd,exports.getRadioGroupItemValueAsString=yi,exports.icons=xa,exports.insertChildTableRow=fd,exports.isMacOs=Xa,exports.isPressingMetaKey=Ja,exports.isWeakEqual=eo,exports.mergeRefs=Na,exports.parseFromCustomString=no,exports.parseFromISOString=lo,exports.removeChildTableRow=hd,exports.setByRowIndexPath=(e,t,n)=>{const l=[...e],a=dd(t),r=a.shift();if(a.length){const e=a.map(e=>`subRows[${e}]`).join(".");H(l[r],e,n)}else l[r]=n;return l},exports.shouldTriggerShortcut=Ya,exports.useBoundaryOverflowDetection=(e,t=[])=>{const[l,a]=n.useState(),r=Sr(e,t);return n.useEffect(()=>{if(e.current){const t=$a(e.current);a(t)}},[e,null==r?void 0:r.width,...t]),l},exports.useBoundingClientRectListener=Sr,exports.useDropTarget=Ti,exports.useIntersectionObserver=Gi,exports.useIsLargeScreen=uu,exports.useLazyEffect=ks,exports.useListKeyboardNavigation=(e=0,t={direction:"vertical"})=>{const[l,a]=n.useState(t.initialIndex);return[l,a,n=>{const a=Lr(n.key,e,l,t.direction);return void 0!==a&&n.preventDefault(),a}]},exports.useListScrollTo=Hr,exports.useLocalization=dr,exports.useMatchMedia=cu,exports.useMergedRef=qa,exports.useOnClickOutside=(e,t)=>{n.useEffect(()=>{const n=n=>{(Array.isArray(e)?e:[e]).some(e=>!e.current||e.current.contains(n.target))||t(n)};return document.addEventListener("mousedown",n),document.addEventListener("touchstart",n),()=>{document.removeEventListener("mousedown",n),document.removeEventListener("touchstart",n)}},[e,t])},exports.usePagination=(e=0,t=10)=>{const[l,a]=n.useState(e),[r,o]=n.useState(t);return{pageIndex:l,pageSize:r,setPageIndex:a,setPageSize:o}},exports.useRadioGroup=Si,exports.useTable3DataLoader=function(e,t,l={pageSize:100}){const{pageSize:a}=l,r=n.useRef(void 0),[o,i]=n.useState([]),s=n.useRef({}),c=n.useRef([]),u=n.useRef([]),d=n.useRef(),m=n.useRef(!1),g=function(t,n,l,o){try{let g=!1;if((m.current||o!==d.current||JSON.stringify(n)!==JSON.stringify(c.current)||JSON.stringify(l)!==JSON.stringify(u.current))&&(s.current={},g=!0),s.current[t])return Promise.resolve();s.current[t]=!0,m.current=!1,c.current=n,u.current=l,d.current=o;const f=Is((function(){return Os((function(){return Promise.resolve(e(t,a,n,l,o)).then((function(e){i(n=>{let l;return g||r.current!==e.length?(r.current=e.length,l=Array(r.current).fill(void 0)):l=[...n],l.splice(t*a,a,...e.data),l})}))}),(function(){}))}),(function(e,n){if(s.current[t]=!1,e)throw n;return n}));return Promise.resolve(f&&f.then?f.then((function(){})):void 0)}catch(e){return Promise.reject(e)}};return[{data:o,length:r.current,loadAll:function(e,n,l){try{const a=Os((function(){return Promise.resolve(t(e,n,l)).then((function(e){r.current=e.length,i(()=>{let t;return e.data.length!==e.length?(t=Array(e.length).fill(void 0),t.splice(0,e.data.length,...e.data)):t=[...e.data],t})}))}),(function(){}));return Promise.resolve(a&&a.then?a.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},loadPage:g,onFilter:function(e){try{return g(0,c.current,e,d.current)}catch(e){return Promise.reject(e)}},onSort:function(e){try{return g(0,e,u.current,d.current)}catch(e){return Promise.reject(e)}},pageSize:a},function(){try{return m.current=!0,g(0,c.current,u.current,d.current)}catch(e){return Promise.reject(e)}}]},exports.useTableRowCreation=(e,t)=>{const[l,a]=n.useState(JSON.parse(JSON.stringify(e))),[r,o]=n.useState(void 0);return n.useEffect(()=>{if(void 0!==r){const n=md(l,r),i=gd(r),[s,c]=fd(JSON.parse(JSON.stringify(e)),i,n);o(c),a(s),null!=t&&t.current&&t.current.instance.toggleRowEditing(null==n?void 0:n._createKey)}else a(e)},[JSON.stringify(e)]),{data:l,create:(e,n={})=>{const r=c.v4(),[i,s]=fd(l,e,{...n,_createKey:r});return o(s),a(i),null!=t&&t.current&&t.current.instance.toggleRowEditing(r),s},remove:e=>{const t=hd(l,e);a(t),o(void 0)},isCreating:void 0!==r}},exports.useToast=es;
2
2
  //# sourceMappingURL=taco.cjs.production.min.js.map