@economic/taco 2.11.0 → 2.11.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/Menu/Menu.d.ts +2 -1
- package/dist/components/Menu/components/Content.d.ts +1 -1
- package/dist/components/Menu/components/Separator.d.ts +4 -2
- package/dist/components/Menu/components/SubMenu.d.ts +1 -1
- package/dist/esm/packages/taco/src/components/Menu/Menu.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Menu/components/Separator.js +7 -6
- package/dist/esm/packages/taco/src/components/Menu/components/Separator.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Tooltip/Tooltip.js +10 -12
- package/dist/esm/packages/taco/src/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/taco.cjs.development.js +16 -17
- package/dist/taco.cjs.development.js.map +1 -1
- package/dist/taco.cjs.production.min.js +1 -1
- package/dist/taco.cjs.production.min.js.map +1 -1
- package/package.json +14 -14
- package/types.json +58 -20
@@ -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("classnames")),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"),f=require("@radix-ui/react-dialog"),g=require("@react-aria/interactions"),v=require("framer-motion"),h=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"),x=require("@radix-ui/react-dropdown-menu"),E=require("@radix-ui/react-radio-group"),y=require("@radix-ui/react-switch"),R=require("react-table"),C=require("react-intersection-observer"),z=require("react-window"),S=e(require("react-window-infinite-loader")),N=e(require("lodash/set")),O=e(require("lodash/unset")),I=e(require("lodash/get")),M=e(require("lodash/compact")),k=e(require("lodash/pullAt")),L=require("@tanstack/react-table"),H=e(require("react-dom")),V=require("react-virtual"),A=require("@dnd-kit/core"),j=require("@dnd-kit/sortable"),D=require("@dnd-kit/utilities"),T=e(require("lodash")),F=require("@radix-ui/react-tabs"),P=require("react-joyride"),B=e(P);const _=["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"}},K=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"}},G=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"}},W=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 U(e,n){return 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 $(e,n){return 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 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:"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 X(e,n){return 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 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:"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 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:"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 Z(e,n){return 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 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:"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 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:"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 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:"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 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.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 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:"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 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:"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 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:"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 ie(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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 Ee(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 ye(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 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",{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 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:"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 ze(e,n){return 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 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:"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 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:"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 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:"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 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 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 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:"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 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:"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 Ve(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 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:"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 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:"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 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:"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 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:"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 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",{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 Pe(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 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:"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 qe(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 Ke(e,n){return 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 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-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 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:"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 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:"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 $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:"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 Je(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 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:"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 Ye(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 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:"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 Ze(e,n){return 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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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.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 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:"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 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.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 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:"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 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:"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 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.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 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.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 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:"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 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.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 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:"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 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.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 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.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 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.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 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:"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 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:"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 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 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 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:"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 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:"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 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:"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 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:"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 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-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 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.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 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:"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 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:"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 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:"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 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:"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 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:"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 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.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 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:"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 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.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 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.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 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:"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 _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:"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 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:"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 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:"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 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:"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 Wt(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 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:"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 $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 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 Jt(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 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:"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 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:"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 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:"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 Zt(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 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:"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 tn(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 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:"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 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:"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 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:"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 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:"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 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:"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 sn(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 cn(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 un(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 dn(e,n){return 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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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.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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 Vn(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 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:"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 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:"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 Dn(e,n){return 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 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:"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 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:"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 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",{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 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:"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 _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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 $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:"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 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:"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 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:"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 Yn(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 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:"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 Zn(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 el(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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 dl(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 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:"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 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:"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 gl(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 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:"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 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 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 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:"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 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:"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 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:"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 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:"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 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:"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 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 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 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 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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 _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:"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 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:"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 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:"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 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:"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 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:"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 $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:"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 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:"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 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:"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 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:"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 Ql(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 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:"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 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:"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 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("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 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:"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 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:"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 aa(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 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:"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 oa(e,n){return 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 ia(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 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:"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 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("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 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",{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 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:"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 ma(e,n){return 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 fa={"account-preview":t.forwardRef(U),"accounting-year-cancel":t.forwardRef($),"accounting-year":t.forwardRef(J),accounting:t.forwardRef(X),"arrow-bottom":t.forwardRef(Y),"arrow-down":t.forwardRef(Q),"arrow-end":t.forwardRef(Z),"arrow-left":t.forwardRef(ee),"arrow-right":t.forwardRef(te),"arrow-start":t.forwardRef(ne),"arrow-top":t.forwardRef(le),"arrow-up":t.forwardRef(ae),"attach-auto":t.forwardRef(re),"attach-cancel":t.forwardRef(oe),"attach-warning":t.forwardRef(ie),attach:t.forwardRef(se),"autotext-insert":t.forwardRef(ce),autotext:t.forwardRef(ue),"basic-tabs":t.forwardRef(de),basic:t.forwardRef(me),"bell-solid":t.forwardRef(fe),book:t.forwardRef(ge),booking:t.forwardRef(ve),budget:t.forwardRef(he),calendar:t.forwardRef(pe),"cash-account":t.forwardRef(we),"cash-reports":t.forwardRef(be),"chart-area":t.forwardRef(xe),"chart-bar":t.forwardRef(Ee),"chart-line":t.forwardRef(ye),"chart-pie":t.forwardRef(Re),"chart-table":t.forwardRef(Ce),"chat-solid":t.forwardRef(ze),chat:t.forwardRef(Se),"chevron-down-double":t.forwardRef(Ne),"chevron-down-solid":t.forwardRef(Oe),"chevron-down":t.forwardRef(Ie),"chevron-left-double":t.forwardRef(Me),"chevron-left-solid":t.forwardRef(ke),"chevron-left":t.forwardRef(Le),"chevron-right-double":t.forwardRef(He),"chevron-right-solid":t.forwardRef(Ve),"chevron-right":t.forwardRef(Ae),"chevron-up-double":t.forwardRef(je),"chevron-up-solid":t.forwardRef(De),"chevron-up":t.forwardRef(Te),"circle-close":t.forwardRef(Fe),"circle-information":t.forwardRef(Pe),"circle-minus":t.forwardRef(Be),"circle-plus":t.forwardRef(_e),"circle-questionmark":t.forwardRef(qe),"circle-tick":t.forwardRef(Ke),"circle-warning":t.forwardRef(Ge),"clamp-open":t.forwardRef(We),clamp:t.forwardRef(Ue),close:t.forwardRef($e),"column-freeze":t.forwardRef(Je),"column-unfreeze":t.forwardRef(Xe),columns:t.forwardRef(Ye),"connection-enable":t.forwardRef(Qe),"connection-revoke":t.forwardRef(Ze),contacts:t.forwardRef(et),copy:t.forwardRef(tt),courses:t.forwardRef(nt),credit:t.forwardRef(lt),"delete-permanently":t.forwardRef(at),delete:t.forwardRef(rt),depecriate:t.forwardRef(ot),developer:t.forwardRef(it),"distribution-template":t.forwardRef(st),"document-approve":t.forwardRef(ct),"document-create-entry":t.forwardRef(ut),"document-cut":t.forwardRef(dt),"document-error":t.forwardRef(mt),"document-isolate-page":t.forwardRef(ft),"document-merge":t.forwardRef(gt),"document-move":t.forwardRef(vt),"document-preview":t.forwardRef(ht),"document-received":t.forwardRef(pt),"document-rejected-request":t.forwardRef(wt),"document-split":t.forwardRef(bt),"document-time":t.forwardRef(xt),document:t.forwardRef(Et),download:t.forwardRef(yt),drag:t.forwardRef(Rt),"e-copedia":t.forwardRef(Ct),"e-signature":t.forwardRef(zt),edit:t.forwardRef(St),"ellipsis-horizontal":t.forwardRef(Nt),"ellipsis-vertical":t.forwardRef(Ot),"entries-on-account":t.forwardRef(It),"entries-open":t.forwardRef(Mt),"entries-warning":t.forwardRef(kt),"entry-type-customer-invoice":t.forwardRef(Lt),"entry-type-customer-payment":t.forwardRef(Ht),"entry-type-journal-entry":t.forwardRef(Vt),"entry-type-manual-customer-invoice":t.forwardRef(At),"entry-type-supplier-invoice":t.forwardRef(jt),"entry-type-supplier-payment":t.forwardRef(Dt),"envelope-approved":t.forwardRef(Tt),envelope:t.forwardRef(Ft),"expand-view":t.forwardRef(Pt),expenses:t.forwardRef(Bt),"export-to-excel":t.forwardRef(_t),"export-to-pdf":t.forwardRef(qt),export:t.forwardRef(Kt),"eye-off":t.forwardRef(Gt),"eye-on":t.forwardRef(Wt),"filter-solid":t.forwardRef(Ut),filter:t.forwardRef($t),"font-size":t.forwardRef(Jt),"graph-solid":t.forwardRef(Xt),hash:t.forwardRef(Yt),"height-extra-tall":t.forwardRef(Qt),"height-medium":t.forwardRef(Zt),"height-short":t.forwardRef(en),"height-tall":t.forwardRef(tn),home:t.forwardRef(nn),images:t.forwardRef(ln),import:t.forwardRef(an),"inbox-einvoicing":t.forwardRef(rn),"inbox-scanning":t.forwardRef(on),"inbox-smart":t.forwardRef(sn),inbox:t.forwardRef(cn),info:t.forwardRef(un),"inventory-matrix":t.forwardRef(dn),inventory:t.forwardRef(mn),"journal-pro":t.forwardRef(fn),"layout-both":t.forwardRef(gn),"layout-first":t.forwardRef(vn),"layout-last":t.forwardRef(hn),"layout-none":t.forwardRef(pn),layout:t.forwardRef(wn),"ledger-card-customer-reminder":t.forwardRef(bn),"ledger-card-manual-customer-invoice":t.forwardRef(xn),"ledger-card-obsolete-stock":t.forwardRef(En),"ledger-card-opening-entry":t.forwardRef(yn),"ledger-card-reserved-entry":t.forwardRef(Rn),"ledger-card-shrinkage-pilferage":t.forwardRef(Cn),"ledger-card-stock-adjustment":t.forwardRef(zn),"ledger-card-transferred-opening-entry":t.forwardRef(Sn),"ledger-card":t.forwardRef(Nn),lightbulb:t.forwardRef(On),line:t.forwardRef(In),"list-bulleted":t.forwardRef(Mn),"list-search":t.forwardRef(kn),list:t.forwardRef(Ln),"lock-open":t.forwardRef(Hn),lock:t.forwardRef(Vn),"log-out":t.forwardRef(An),log:t.forwardRef(jn),market:t.forwardRef(Dn),"match-amount":t.forwardRef(Tn),"match-entries":t.forwardRef(Fn),menu:t.forwardRef(Pn),mileage:t.forwardRef(Bn),"modal-resize":t.forwardRef(_n),"modal-shrink":t.forwardRef(qn),"more-solid":t.forwardRef(Kn),more:t.forwardRef(Gn),move:t.forwardRef(Wn),"navigation-list":t.forwardRef(Un),"note-follow-up":t.forwardRef($n),"note-read":t.forwardRef(Jn),note:t.forwardRef(Xn),numbers:t.forwardRef(Yn),"partner-api":t.forwardRef(Qn),"payment-paid":t.forwardRef(Zn),"payment-unpaid":t.forwardRef(el),period:t.forwardRef(tl),"person-change":t.forwardRef(nl),"person-minus":t.forwardRef(ll),"person-plus":t.forwardRef(al),"person-tick":t.forwardRef(rl),play:t.forwardRef(ol),"plus-minus":t.forwardRef(il),print:t.forwardRef(sl),"process-payment":t.forwardRef(cl),"product-ledger-card":t.forwardRef(ul),profile:t.forwardRef(dl),"project-cards":t.forwardRef(ml),projects:t.forwardRef(fl),"question-mark":t.forwardRef(gl),quicklinks:t.forwardRef(vl),"rating-bankruptcy":t.forwardRef(hl),"rating-payment-problems":t.forwardRef(pl),reconciled:t.forwardRef(wl),refresh:t.forwardRef(bl),"report-solid":t.forwardRef(xl),report:t.forwardRef(El),restore:t.forwardRef(yl),"rotate-left":t.forwardRef(Rl),"rotate-right":t.forwardRef(Cl),sales:t.forwardRef(zl),"search-bold":t.forwardRef(Sl),search:t.forwardRef(Nl),"secure-tick":t.forwardRef(Ol),secure:t.forwardRef(Il),"settings-solid":t.forwardRef(Ml),settings:t.forwardRef(kl),shortcuts:t.forwardRef(Ll),"show-all":t.forwardRef(Hl),"show-less":t.forwardRef(Vl),"show-more":t.forwardRef(Al),"show-template":t.forwardRef(jl),sliders:t.forwardRef(Dl),smartpay:t.forwardRef(Tl),"sort-by":t.forwardRef(Fl),"star-solid":t.forwardRef(Pl),star:t.forwardRef(Bl),subscriptions:t.forwardRef(_l),"system-entries":t.forwardRef(ql),tag:t.forwardRef(Kl),"template-override":t.forwardRef(Gl),templates:t.forwardRef(Wl),"thumb-both":t.forwardRef(Ul),"thumb-down-solid":t.forwardRef($l),"thumb-down":t.forwardRef(Jl),"thumb-up-solid":t.forwardRef(Xl),"thumb-up":t.forwardRef(Yl),"tick-bold":t.forwardRef(Ql),tick:t.forwardRef(Zl),time:t.forwardRef(ea),"transfer-cancel":t.forwardRef(ta),"transfer-locked":t.forwardRef(na),transfer:t.forwardRef(la),undo:t.forwardRef(aa),undock:t.forwardRef(ra),unreconciled:t.forwardRef(oa),warning:t.forwardRef(ia),webshop:t.forwardRef(sa),website:t.forwardRef(ca),"workflow-template-basic":t.forwardRef(ua),workflow:t.forwardRef(da),zoom:t.forwardRef(ma)},ga=n.forwardRef((function(e,t){var a;const{name:r,...o}=e,i=fa[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})),va=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},{[G(a)]:o,[W(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(ga,Object.assign({name:r},{strokeWidth:1,stroke:"currentColor"})))})),ha=e=>{switch(e){case"information":return"info";case"warning":return"warning";case"error":return"close";case"success":return"tick";default:return"question-mark"}},pa=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 "+G(q(o)),e.className);return n.createElement("div",Object.assign({},e,{ref:t,className:s,"data-taco":"alert",role:"alert"}),n.createElement(va,{className:"flex-none",icon:ha(o),color:q(o)}),n.createElement("div",{className:"grow text-sm"},r&&n.createElement("div",{className:"font-bold"},r),a),i&&n.createElement(ga,{className:"flex-none cursor-pointer",name:"close",onClick:i}))})),wa=n.createContext({props:{},ref:null});function ba(e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}const xa=t.forwardRef((function(e,l){const{ref:r,props:o}=n.useContext(wa),i=ba([r,l]);return t.createElement(a.Trigger,Object.assign({},o,e,{ref:i,asChild:!0}))})),Ea=t.forwardRef((function(e,n){return t.createElement("div",Object.assign({},e,{className:"flex justify-end gap-2",ref:n}),e.children)})),ya=t.forwardRef((function(e,n){return t.createElement(a.Cancel,Object.assign({},e,{ref:n,asChild:!0}))})),Ra=t.forwardRef((function(e,n){return t.createElement(a.Action,Object.assign({},e,{className:e.className,ref:n,asChild:!0}))})),Ca=t.forwardRef((function(e,n){const a=l("fixed inset-0 cursor-default overflow-y-auto bg-blue-900/[0.3] aria-hidden:invisible",e.className);return t.createElement("div",Object.assign({},e,{className:a,"data-taco":"backdrop",ref:n}))})),za=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"}},Sa=t.forwardRef((function(e,n){const r=l("text-center",e.className);return t.createElement(a.Title,Object.assign({},e,{className:r,ref:n}))})),Na=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)]",za("dialog"));return t.createElement(a.Portal,null,t.createElement(a.Overlay,{asChild:!0},t.createElement(Ca,null,t.createElement(a.Content,Object.assign({},e,{ref:n,className:r,onEscapeKeyDown:e=>e.preventDefault()}),e.children))))})),Oa=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(wa.Provider,{value:c},t.createElement(a.Root,Object.assign({},e,{defaultOpen:l,open:o,onOpenChange:r}),i&&t.createElement(xa,null,i),e.children))}));Oa.Trigger=xa,Oa.Content=Na,Oa.Title=Sa,Oa.Cancel=ya,Oa.Action=Ra,Oa.Footer=Ea;const Ia=n.createContext({as:"h2"}),Ma=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(ga,{name:a?"chevron-up":"chevron-down"}))})),ka=n.forwardRef((function(e,t){const{children:l}=e,{as:a}=n.useContext(Ia);return n.createElement(r.Header,{asChild:!0},n.createElement(a,{className:"my-3"},n.createElement(r.Trigger,{ref:t,asChild:!0},n.createElement(Ma,null,l))))})),La=n.forwardRef((function(e,t){return n.createElement(r.Content,Object.assign({},e,{ref:t}))})),Ha=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(Ia.Provider,{value:c},n.createElement(r.Root,Object.assign({},s,u,{"data-taco":"accordion",className:m,type:d})))};Ha.Item=e=>{const{id:t,...l}=e;return n.createElement(r.Item,Object.assign({},l,{value:t}))},Ha.Trigger=ka,Ha.Content=La;const Va=t.forwardRef((function(e,n){return t.createElement("span",Object.assign({},e,{className:"sr-only",ref:n}))})),Aa=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,f=l("rounded-full border overflow-hidden whitespace-nowrap inline-flex items-center justify-center",{["border "+K(u)]:o,["border-transparent font-normal "+G(u)]:s,["border-transparent "+W(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:f,"data-taco":"badge",ref:n,role:"status",title:e["aria-label"]}),r?t.createElement(Va,null,a):i?t.createElement(t.Fragment,null,t.createElement("div",{className:l("mr-1 h-2 w-2 rounded-full",W(u))}),a):a)})),ja=e=>{const t=n.useRef(null);return n.useEffect(()=>{e&&("function"==typeof e?e(t.current):e.current=t.current)},[e]),t};function Da(e){const t=e;return["A","BUTTON","INPUT","TEXTAREA","SELECT"].includes(t.tagName)&&!t.hidden&&!t.disabled&&!t.readOnly}function Ta(e,t){const n="string"==typeof t?{key:t,meta:!1,shift:!1}:t;return!(n.meta&&(Pa()?!e.metaKey:!e.ctrlKey)||!n.meta&&(Pa()?e.metaKey:e.ctrlKey)||n.shift&&!e.shiftKey||!1===n.shift&&e.shiftKey||e.key.toLowerCase()!==n.key.toLowerCase())}function Fa(e,t,n=!0){return function(l){var a;l.target!==l.currentTarget&&Da(l.target)||Ta(l,e)&&(n&&(l.stopPropagation(),null===(a=l.stopImmediatePropagation)||void 0===a||a.call(l)),t(l))}}const Pa=()=>{var e;return null===(e=window)||void 0===e?void 0:e.navigator.userAgent.includes("Mac")},Ba=(e,t)=>{n.useEffect(()=>{let n;return e&&(n=Fa(e,t,!1),document.addEventListener("keydown",n)),()=>{n&&document.removeEventListener("keydown",n)}},[e,t])},_a=t.forwardRef((function(e,n){const{disabled:l,shortcut:a,target:r,type:o="button",...i}=e,s=ja(n);Ba(a,()=>{var e;const t=document.querySelector('[role="dialog"]');(!t||null!=t&&t.contains(s.current))&&(null===(e=s.current)||void 0===e||e.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)})),qa=t.forwardRef((function(e,n){const{title:a,children:r,placement:i,...s}=e,c=l(s.className);return 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({},s,{asChild:!0,className:c,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","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))))})),Ka=()=>"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",Ga=(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"}},Wa=(e,t,l)=>{const{tooltip:a,...r}=e,o=n.createElement(_a,Object.assign({},r,{className:t,ref:l}));return a?n.createElement(qa,{title:a},o):o},Ua=(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},$a=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",Ga(o.appearance,!0),{"rounded-full":r,rounded:!r},e.className);return a?Wa({...o,children:t.createElement(ga,{name:a,className:"m-0 p-0"}),"data-taco":"icon-button"},i,n):null})),Ja=t.forwardRef((function(e,n){const{dialog:l,hanger:a,menu:r,popover:o,...i}=e,s=t.createElement($a,Object.assign({},i,{ref:n}));return Ua({dialog:l,hanger:a,menu:r,popover:o},s)})),Xa={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..."},table2:{columns:{resize:{tooltip:"Resize column"},actions:{tooltip:"Other actions"},drag:{tooltip:"Drag row"},expansion:{collapse:"Collapse row",collapseAll:"Collapse all rows",expand:"Expand row",expandAll:"Expand all rows"},select:{deselect:"Deselect row",deselectAll:"Deselect all rows",select:"Select row",selectAll:"Select all rows"},menu:{hideColumn:"Hide column",freezeColumns:(e=1)=>1===e?"Freeze the first column":`Freeze first ${e} columns`,unfreezeColumns:"Unfreeze all columns"}},columnSettings:{search:"Search column...",tooltip:"Column settings",button:"Columns",noResults:"No results"},editing:{button:"Edit",tooltip:"Edit",tooltipDisabled:"There are no visible columns that support editing",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"}},filters:{button:"Filters",buttons:{addNewFilter:"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"},conditions:{and:"And",where:"Where"},emptyFilter:{condition:"Condition",value:"Value"},tooltip:"Apply filters",total:"Viewing [CURRENT] of [TOTAL]"},footer:{summary:{records:"Records:",selected:"Records selected:"}},rowDensity:{tooltip:"Row density",compact:"compact",normal:"normal",comfortable:"comfortable",spacious:"spacious"},search:{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"}},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:{text:"Edit",tooltip:"Edit"}},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"}},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"},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"}},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"}},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"}},Ya={locale:"en-GB",texts:Xa,formatting:{date:"dd.mm.yy"}},Qa=t.createContext(Ya),Za=({localization:e,children:n})=>t.createElement(Qa.Provider,{value:null!=e?e:Ya},n),er=()=>t.useContext(Qa),tr=t.forwardRef((function(e,a){const{children:r,state:o,onClose:i}=e,{texts:s}=er(),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(va,{icon:"tick",color:"green"});case"error":return n.createElement(va,{icon:"close",color:"red"});case"warning":return n.createElement(va,{icon:"warning",color:"yellow"});case"information":return n.createElement(va,{icon:"info",color:"blue"});default:return null}})())),r,i?t.createElement(Ja,{"aria-label":s.banner.close,className:"ml-auto -mr-2 self-start",icon:"close",appearance:"discrete",onClick:i}):null);var u})),nr=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",Ga(n),"rounded px-3",{"w-full":a},e.className);return Wa({...r,"data-taco":"button"},o,t)})),lr=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(ga,{key:"chevron-down",name:"chevron-down"})]:[c,t.createElement(ga,{key:"chevron-down",name:"chevron-down"})]);const u=t.createElement(nr,Object.assign({},s,{ref:n}),c);return Ua({dialog:l,drawer:a,hanger:r,menu:o,popover:i},u)})),ar=(new Date).getFullYear(),rr=[];for(let e=ar-50;e<=ar+10;e+=1)rr.push(e);const or=t.memo(({onMonthChange:e,onNextClick:n,onPreviousClick:l,value:a=new Date})=>{const{texts:{calendar:{actions:r,months:o}}}=er(),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()},rr.map(e=>t.createElement("option",{key:e,value:e},String(e))))),t.createElement("div",null,t.createElement(qa,{title:r.previousMonth},t.createElement(Ja,{appearance:"discrete",icon:"chevron-left","aria-label":r.previousMonth,onClick:()=>l(),rounded:!0})),t.createElement(qa,{title:r.nextMonth},t.createElement(Ja,{appearance:"discrete",icon:"chevron-right","aria-label":r.nextMonth,onClick:()=>n(),rounded:!0}))))}),ir=t.forwardRef((function(e,n){const{onChange:a,value:r,disabledDays:o,...s}=e,{locale:c,texts:u}=er(),[d,m]=t.useState(null!=r?r:new Date);t.useEffect(()=>{d!==r&&m(null!=r?r:new Date)},[r]);const f=l("flex bg-white text-xs p-2",s.className);return t.createElement("div",{"data-taco":"calendar"},t.createElement(i,Object.assign({},s,{className:f,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(or,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})))})),sr=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}))})),cr=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",e.className);return t.createElement("div",{className:i,"data-taco":"card",ref:n},t.createElement("div",{className:"mx-4 mt-4 mb-2 flex"},a&&t.createElement("h4",{className:"mb-0 flex-grow text-left"},a),r?t.createElement(Ja,{icon:"ellipsis-horizontal",appearance:"discrete",menu:r,className:"-mt-[4px]"}):null),o)}));cr.Content=sr;const ur=e=>n.useMemo(()=>null!=e?e:c.v4(),[]),dr=t.forwardRef((function(e,n){const{checked:a,indeterminate:r,invalid:o,label:i,onChange:c,...u}=e,d=ur(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 f;c&&(f=e=>c("indeterminate"!==e&&e));let g=null;i&&(g={"aria-labelledby":d+"-label",id:d});const v=t.createElement(s.Root,Object.assign({},u,g,{"aria-invalid":o?"true":void 0,"data-taco":"checkbox",checked:r?"indeterminate":a,className:m,onCheckedChange:f,onKeyDown:e=>{"Enter"===e.key&&e.currentTarget.click()},ref:n}),t.createElement(s.Indicator,{className:"flex h-full w-full"},t.createElement(ga,{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"},v,t.createElement("label",{htmlFor:d,id:d+"-label"},i))}return v}));dr.displayName="Checkbox";const mr=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",{"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})},fr=(e,t)=>{let n;return function(...l){clearTimeout(n),n=setTimeout(()=>e.apply(this,l),t)}},gr=e=>Boolean(e&&(e.offsetWidth||e.offsetHeight||e.getClientRects().length)),vr=(e,n)=>{const[l,a]=t.useState(void 0),r=gr(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=fr(s,250);return window.addEventListener("resize",t),()=>{clearTimeout(e),window.removeEventListener("resize",t)}},[e.current,o]),t.useEffect(()=>{const t=gr(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},hr=["text","search","url","tel","password"],pr=t.forwardRef((function(e,n){const{highlighted:a,invalid:r,onKeyDown:o,postfix:i,prefix:s,type:c="text",...u}=e,d=ja(n),m=t.useRef(null),f=vr(m),g=t.useRef(null),v=vr(g,[i]),h=l(mr(e),{"pl-8":!!s,"pr-8":!!i},u.className);return t.createElement("div",{className:"relative inline-flex w-full","data-taco":"input-container",style:{opacity:.999}},t.createElement("input",Object.assign({},u,{className:h,"data-taco":"input",onKeyDown:e=>{if(1===e.key.length&&e.stopPropagation(),hr.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)},"aria-invalid":r,"data-highlighted":a,ref:d,style:{paddingLeft:f?f.width-1+"px":void 0,paddingRight:v?v.width-1+"px":void 0},type:c})),s?t.createElement(wr,{type:"prefix",children:s,disabled:u.disabled,ref:m}):null,i?t.createElement(wr,{type:"postfix",children:i,disabled:u.disabled,ref:g}):null)})),wr=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)}))),br=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(ga,{name:o}):o);return t.createElement(pr,Object.assign({},i,{postfix:null!==(a=i.postfix)&&void 0!==a?a:s,ref:n}))})),xr=(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}},Er=(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}}),yr=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))})),Rr=(e,t)=>`${e}_${t}`,Cr=(e,t,n)=>{const l=xr(e.key,t.length,n);if(l){if(l===n)return n;if(t[l]&&t[l].disabled)return Cr(e,t,l)}return l},zr=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:f=!1,value:g,multiselect:v,selectedIndexes:h=[],allOptionsSelected:p=!1,...w}=e,b=ja(n),x=t.useMemo(()=>a.map(()=>t.createRef()),[a]),{texts:E}=er(),{scrollTo:y}=Er(b,x);t.useEffect(()=>{var e,t;g&&null!==(e=x[g])&&void 0!==e&&e.current&&(null===(t=x[g].current)||void 0===t||t.scrollIntoView({block:"center"}))},[]),t.useEffect(()=>{y(g)},[g]);const R=e=>t=>{s(e),c&&(t.persist(),c(t,e))},C=(e,t)=>"#ALL-OPTIONS#"===e?p:!(!e||!h)&&-1!==h.findIndex(e=>e===t),z=a.map((e,t)=>{const n=e.path?e.path.split(".").length-1:0;return{"aria-selected":v?C(String(e.value),t):g===t,"data-focused":g===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:Rr(o,e.value),key:Rr(o,e.value),onClick:r||m?void 0:R(t),ref:x[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",mr(e),{"yt-list--multiselect":v,"pointer-events-none":r,"cursor-not-allowed":r||m},w.className),disabled:r,id:o,onFocus:r||m?void 0:e=>{f&&y(g),u&&(e.persist(),u(e))},onKeyDown:r||m?void 0:e=>{const t=Cr(e,a,g);void 0!==t&&t!==g&&(e.preventDefault(),y(t),s(t)),d&&(e.persist(),d(e,void 0!==t?t:g)),e.stopPropagation()},readOnly:m,ref:b,role:z.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(yr,{delay:0})),t.createElement("span",null,E.listbox.loading)):z.length?z.map(({children:e,icon:n,...l})=>t.createElement("li",Object.assign({},l),n,t.createElement("span",{className:"flex-grow truncate text-left"},e),v&&t.createElement(dr,{"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,E.listbox.empty)))})),Sr=e=>{let t;return"function"==typeof Event?t=new Event(e,{bubbles:!0}):(t=document.createEvent("Event"),t.initEvent(e,!0,!0)),t},Nr=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},Or=(e,t,n="change")=>{if(!e)return;const l=e.value;e.value=t||"";const a=e._valueTracker;a&&a.setValue(l),e.dispatchEvent(Sr(n))},Ir=e=>String(null!=e?e:""),Mr=(e,t,n="change")=>{Or(e,Ir(t),n)},kr=(e,t)=>{const n=e.findIndex(e=>Ir(e.value)===Ir(t));return n>-1?n:void 0},Lr=(e,t)=>"string"!=typeof t?[]:t.split(",").map(t=>e.findIndex(e=>String(e.value)===t)).filter(e=>-1!==e),Hr=(e,t)=>e.find(e=>Ir(e.value)===Ir(t)),Vr=(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=>Vr(e,t,n)):Vr(null===(r=e.props)||void 0===r?void 0:r.children,t,n):e.toString().toLowerCase()[n](String(t).toLowerCase())}catch{return!1}},Ar=(e,t,n,l=e.length)=>{const a=e.slice(n,l).findIndex(e=>!e.disabled&&Vr(e.text,t,"startsWith"));return a>-1?a+n:-1},jr=(e,t,n)=>void 0!==t&&e[t]?Rr(n,e[t].value):void 0,Dr=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]),Tr=e=>{if(e){const{...t}=e;return t}},Fr=(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,Tr(e.find(e=>e.path===t))))}return null},Pr=d(e=>e(),200),Br=e=>String(null!=e?e:""),_r=t.forwardRef((function(e,n){const{className:a,dialog:r,style:o,...i}=e,{combobox:s,button:d,input:m,popover:f,list:g}=(({"aria-labelledby":e,data:n=[],defaultValue:l,disabled:a,inline:r,onChange:o,onClick:i,onKeyDown:s,onSearch:u,readOnly:d,value:m,...f},g)=>{const v=ja(g),h=t.useRef(null),p=t.useRef(null),[w,b]=t.useState(!1),x=t.useMemo(()=>c.v4(),[]),[E,y]=t.useState(Br(m)),R=!u&&(!r||r&&E!==Br(m)),C=Dr(n),z=t.useMemo(()=>R?((e,t="")=>{if(""===t||null===t)return e;const n=new Set;return e.forEach(l=>{if((e=>!e.disabled&&Vr(e.text,String(t)))(l)){const t=Fr(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))})(C,E):C,[R,E,C]),[S,N]=t.useState(void 0!==E?kr(z,E):void 0),O=e=>{if(void 0!==e){const t=z[e];t&&!t.disabled&&Mr(v.current,t.value,"focusout")}},I=e=>{void 0!==e&&(z[e].value!==m?O(e):y(Br(m)))};return t.useEffect(()=>{l&&!m&&O(kr(z,l))},[z]),t.useEffect(()=>{void 0!==m&&m!==E&&y(Br(m))},[m]),t.useEffect(()=>{u&&Pr(()=>{u(E)})},[E]),t.useEffect(()=>{const e=null!=m&&E===String(m);E&&z.length&&!e?(N(0),w||b(!0)):b(!1)},[E,z]),t.useEffect(()=>{N(w?kr(z,E)||0:void 0)},[w]),{combobox:{"aria-expanded":w,"aria-owns":x,"aria-haspopup":"listbox",role:"combobox"},input:{...f,"aria-controls":x,"aria-autocomplete":"list","aria-activedescendant":void 0!==S&&z[S]?Rr(x,String(z[S].value)):void 0,"aria-labelledby":e,disabled:a,onBlur:a||d?void 0:e=>{if(e.persist(),e.relatedTarget!==p.current){if(o&&e.target.value!==m){const t=Hr(C,e.target.value);e.detail=Tr(t);const n=Fr(C,null==t?void 0:t.path);null!==n&&n.length>0&&(e.detail.parents=n),o(e)}f.onBlur&&f.onBlur(e)}else e.preventDefault()},onChange:a||d?void 0:e=>{y(e.target.value)},onClick:a||d?void 0:e=>{(r||!w&&E&&z.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(Br(m)),void b(!1);case"Tab":case"Enter":return"Tab"!==e.key&&e.preventDefault(),I(S),void b(!1);case"ArrowDown":w?e.preventDefault():!r&&h.current&&h.current.click();break;case"ArrowUp":case"Home":case"End":w&&e.preventDefault()}if(p.current&&p.current.dispatchEvent(Nr(e)),r&&!w&&("ArrowUp"===e.key||"ArrowDown"===e.key)){e.preventDefault();const t="ArrowUp"===e.key?z.length-1:0;N(void 0!==S?S:t),b(!0)}!e.isDefaultPrevented()&&s&&(e.persist(),s(e))},readOnly:d,ref:v,type:"text",value:null!=E?E:""},list:{"aria-labelledby":e,data:z,disabled:a,id:x,onChange:e=>{N(e)},onClick:(e,t)=>{e.preventDefault(),I(t),b(!1)},ref:p,scrollOnFocus:!1,tabIndex:-1,value:S},button:{ref:h},popover:{open:w,onOpenChange:b}}})(i,n),v=t.useRef(null),{texts:h}=er(),p=vr(v),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({},f),t.createElement(u.Anchor,{asChild:!0,ref:v},t.createElement("div",Object.assign({},s,{className:"inline w-full",ref:n}),t.createElement(br,Object.assign({},m,{autoComplete:"off",button:e.inline?t.createElement(Ja,{"aria-hidden":!0,appearance:"discrete",className:"!border-l-0 focus:!border-none focus:!shadow-none active:!border-none",icon:f.open?"chevron-up":"chevron-down",onClick:()=>{var e;f.onOpenChange(!0),null===(e=m.ref.current)||void 0===e||e.focus()},tabIndex:-1}):r?t.createElement(Ja,{"aria-label":h.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:h.combobox.tooltip}):void 0})))),t.createElement(u.Portal,null,t.createElement(u.Content,{align:"start",onOpenAutoFocus:e=>{e.preventDefault()},sideOffset:4},t.createElement(zr,Object.assign({},g,{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:f.open?0:-1}))))))})),qr=(e,t)=>e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDay()===t.getDay(),Kr=(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))},Gr=(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)},Wr=e=>{const t=new Date(e);return m.isValid(t)?Gr(Kr(new Date(e))):void 0},Ur=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"})))})),$r=t.createContext({props:{},ref:null}),Jr=t.forwardRef((function(e,n){return t.createElement(u.Anchor,Object.assign({},e,{asChild:!0,ref:n}))})),Xr=t.forwardRef((function(e,n){var l;const{ref:a,props:r}=t.useContext($r),o=ba([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)})),Yr=t.forwardRef((function({children:e,onClick:t},n){return e({close:()=>{t(new CustomEvent("hide"))},ref:n})})),Qr=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(Yr,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(Ur,{className:"text-white"})))})),Zr=t.forwardRef((e,n)=>t.createElement(u.Close,Object.assign({},e,{ref:n,asChild:!0}))),eo=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($r.Provider,{value:m},t.createElement(u.Root,{defaultOpen:r,modal:o,open:i,onOpenChange:s},l?t.createElement(Jr,null,l):null,c&&!l?t.createElement(Xr,null,c):null,a))}));eo.Anchor=Jr,eo.Trigger=Xr,eo.Content=Qr,eo.Close=Zr,eo.Portal=u.Portal;const to=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=ja(o),{formatting:s}=er(),[c,u]=t.useState(a&&m.isValid(a)?Kr(a,s.date):"");return t.useEffect(()=>{if(a&&m.isValid(a)){const e=Kr(a,s.date);e!==c&&u(e)}else u("")},[a]),{input:{...r,autoComplete:"off",onBlur:e=>{e.persist();const t=Gr(e.target.value),a=t&&Kr(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=>{Or(i.current,Kr(e,s.date),"focusout")},value:a}}})(c,n),{texts:f}=er(),g=l("inline-flex w-full text-black font-normal",a);return t.createElement("span",{className:g,"data-taco":"datepicker",style:o},t.createElement(br,Object.assign({},d,{button:t.createElement(Ja,{"aria-label":f.datepicker.expand,disabled:d.disabled||d.readOnly,icon:"calendar",tabIndex:-1,popover:e=>t.createElement(eo,Object.assign({},e),t.createElement(eo.Content,null,({close:e})=>t.createElement("div",{className:"-m-3 flex"},t.createElement(ir,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:f.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()}},f.datepicker.clear))))),tooltip:f.datepicker.calendar})})))}));to.displayName="Datepicker";const no=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"}),lo=()=>t.useContext(no),ao=t.forwardRef((function(e,n){const{ref:l,props:a}=lo(),r=ba([l,n]);return t.createElement(f.Trigger,Object.assign({},a,e,{ref:r,asChild:!0}))})),ro=e=>{const[t,l]=n.useState({x:0,y:0}),[a,r]=n.useState(!1),{moveProps:o}=g.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})}}},oo=t.forwardRef((function(e,n){const a=l("text-center",e.className);return t.createElement(f.Title,Object.assign({},e,{className:a,ref:n}))})),io=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)})),so=t.forwardRef((function(e,n){const l=lo();return t.createElement(f.Close,Object.assign({onClick:l.onClose},e,{ref:n,asChild:!0}))})),co=t.forwardRef((function({children:e,onClick:t,renderProps:n},l){return e({close:()=>{t(new CustomEvent("close"))},ref:l,...n})})),uo=t.forwardRef((function(e,n){const a=lo(),r=ja(n),{position:o,dragging:i,handleProps:s}=ro(r),{texts:c}=er(),u=l("relative bg-white animate-[fade-in_150ms] rounded","mt-16 mx-auto",za(a.size)),d=l("bg-white p-6 rounded relative z-10 shadow",{"rounded-b-none":!!a.elements.extra},e.className);let m;return m="function"==typeof e.children?t.createElement(so,null,t.createElement(co,{renderProps:{drawer:a.drawer}},e.children)):e.children,t.createElement(f.Portal,null,t.createElement(f.Overlay,{asChild:!0},t.createElement(Ca,null,t.createElement(f.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"})),a.showCloseButton?t.createElement(f.Close,{onClick:a.onClose,asChild:!0},t.createElement(Ja,{appearance:"discrete","aria-label":c.dialog.close,className:"absolute top-0 right-0 mt-2 mr-2",icon:"close"})):null),a.elements.drawer,a.elements.extra))))})),mo=t.forwardRef((function(e,n){var a,r;const o=lo(),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(v.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)}));mo.displayName="DialogDrawer";const fo=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}))}));fo.displayName="DialogExtra";const go=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,...g}=e,[v,h,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)===mo.displayName?l=e:(null===(r=e.type)||void 0===r?void 0:r.displayName)===fo.displayName?a=e:n.push(e)}),[n,l,a]},[e]))(l),[w,b]=t.useState(!1),x=t.useMemo(()=>({closeOnEscape:a,draggable:o,drawer:{open:w,toggle:()=>b(e=>!e)},elements:{drawer:h,extra:p},onClose:s,props:g,showCloseButton:u,size:d,ref:n}),[a,w,o,h,p,c,g,u]);return t.createElement(no.Provider,{value:x},t.createElement(f.Root,{defaultOpen:r,open:c,onOpenChange:i},m&&t.createElement(ao,null,m),v))}));go.Trigger=ao,go.Content=uo,go.Title=oo,go.Footer=io,go.Extra=fo,go.Drawer=mo,go.Close=so;const vo=t.forwardRef((function(e,n){const{as:a="span",orientation:r="horizontal",...o}=e,i=l("flex gap-2",{"flex-col ":"vertical"===r},e.className);return t.createElement(a,Object.assign({},o,{className:i,"data-taco":"group",ref:n}))})),ho=t.createContext(void 0),po=()=>t.useContext(ho),wo=t.createContext({closeOnEscape:!0,showCloseButton:!0,onClose:()=>{},onResize:()=>{},props:{},ref:null,size:"md",variant:"embedded"}),bo=()=>t.useContext(wo),xo=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}))},Eo=e=>n.createElement(p.Thumb,Object.assign({},e,{className:"flex-[1] rounded bg-black opacity-50"})),yo=e=>n.createElement(p.Corner,Object.assign({},e,{classname:"bg-grey-500"})),Ro=e=>{const{children:t,...a}=e;return n.createElement(p.Root,Object.assign({},a,{className:l("overflow-hidden",e.className)}),n.createElement(p.Viewport,{className:"h-full w-full"},t),n.createElement(xo,{orientation:"vertical"},n.createElement(Eo,null)),n.createElement(xo,{orientation:"horizontal"},n.createElement(Eo,null)),n.createElement(yo,null))};var Co;!function(e){e.Visible="visible",e.Hidden="hidden"}(Co||(Co={}));const zo=n.forwardRef((function({children:e,onClick:t,renderProps:n},l){return e({close:()=>{t(new CustomEvent("close"))},ref:l,...n})})),So=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(f.Title,Object.assign({className:i},o,{ref:t}),n.createElement("span",{className:"line-clamp-2 inline-block w-4/6 overflow-y-hidden"},r))})),No=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}))})),Oo=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(vo,Object.assign({},r,{className:o,ref:t}))})),Io=n.forwardRef((function(e,t){const{onClose:l}=bo();return n.createElement(f.Close,Object.assign({},e,{onClick:l,ref:t,asChild:!0}))})),Mo=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(Ro,{className:"w-full gap-y-0.5 p-4"},o):o)})),ko=e=>{const{children:t,...a}=e,{open:r=!1,variant:o,outlet:i}=bo(),s=n.useMemo(()=>(e=>l({block:e,hidden:!e}))(r),[r]);return i?n.createElement(f.Portal,Object.assign({},a,{container:null!=i?i:void 0}),"overlay"===o?n.createElement(f.Overlay,{forceMount:!0},n.createElement(Ca,{className:s})):null,t):null},Lo=n.forwardRef((function(e,t){const{onEscape:l,children:a,...r}=e;return Ba("Escape",l),n.createElement("div",Object.assign({},r,{ref:t}),n.createElement(h.FocusScope,{autoFocus:!0,restoreFocus:!0},a))})),Ho=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}=bo(),{className:g,style:v,children:h,...p}=e,{texts:w}=er(),b=ja(t),x=po();let E;x&&(E=()=>{x.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),g),[g]),{contentClassName:R,dragHandlerClassName:C}=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]),z=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(),O=n.useRef(null),{position:I,dragging:M,handleProps:k,resetPosition:L}=ro(ja(O)),H=n.useRef(null);n.useEffect(()=>{o&&o(I.x)},[I]),n.useEffect(()=>{var e;N(null===(e=H.current)||void 0===e?void 0:e.offsetWidth)},[H,i]);const V=n.useMemo(()=>{if(S)return Math.min(1e3,Math.max(360,S-I.x||0))},[S,I]);let A;n.useEffect(()=>{!M&&V&&(N(V),L())},[M]),A="function"==typeof h?n.createElement(Io,null,n.createElement(zo,null,h)):h;const j=n.createElement("div",{ref:H,"data-taco":"drawer",className:y},A,n.createElement("div",Object.assign({className:C},k,{"data-testid":"resize-handler",ref:O})),d?n.createElement(Io,null,n.createElement(Ja,{appearance:"discrete","aria-label":w.drawer.close,className:"absolute right-0 top-0 mr-2 mt-4",icon:"close"})):null),D={...v,width:V};return u?n.createElement(f.Content,Object.assign({forceMount:!0},p,{className:R,onEscapeKeyDown:z,onInteractOutside:"overlay"===c?void 0:e=>e.preventDefault(),onCloseAutoFocus:E,ref:b,style:D}),j):n.createElement(Lo,{onEscape:z,className:R,style:D,ref:b},j)})),Vo=n.forwardRef((function(e,t){const{children:l}=e;return n.createElement(ko,null,n.createElement(Ho,Object.assign({},e,{ref:t}),l))})),Ao=t.forwardRef((function(e,n){return t.createElement(f.Trigger,Object.assign({},e,{ref:n,asChild:!0}))})),jo=t.forwardRef((function(e,n){const a=l("h-full ml-auto overflow-hidden flex-shrink-0",e.className);return t.createElement("div",Object.assign({},e,{className:a,"data-taco":"drawer-outlet",ref:n}))}));let Do;const To=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:g=void 0===e.focusTrap&&"overlay"===e.variant||e.focusTrap,showCloseButton:v=!0,...h}=e,[p,b]=w.useControllableState({prop:l,defaultProp:a,onChange:r}),[x,E]=t.useState(),y=t.useMemo(()=>({closeOnEscape:i,onClose:c,onResize:s,props:h,size:u,ref:n,open:p,setOpen:b,variant:o,focusTrap:g,showCloseButton:v,outlet:x}),[i,p,b,h,o,s,c,u,g,v,x]),R=t.useCallback(()=>{b(!1),c&&c()},[]);return t.useEffect(()=>{var e;const t=null!==(e=document.querySelector('[data-taco="drawer-outlet"]'))&&void 0!==e?e:document.body;E(t)},[]),t.useEffect(()=>{p?(Do&&Do(),Do=R):Do===R&&(Do=void 0)},[p]),t.createElement(wo.Provider,{value:y},t.createElement(f.Root,{modal:"overlay"===o,open:p,onOpenChange:b},d&&t.createElement(Ao,null,d),m))}));To.Trigger=Ao,To.Content=Vo,To.InnerContent=Mo,To.Title=So,To.Footer=No,To.Close=Io,To.Actions=Oo,To.Outlet=jo;const Fo=t.forwardRef((function(e,n){const{disabled:a,children:r,invalid:o=!1,message:i,...s}=e,c=l("flex flex-col font-bold text-xs leading-loose pb-4 min-h-[theme(spacing.18)]",{"text-grey-300":a},e.className),u=l("h-4 text-xs text-left leading-normal font-normal truncate -mb-4",{"text-grey-700":!o,"text-red-500":o,"opacity-50":a});return t.createElement("label",Object.assign({},s,{className:c,"data-taco":"label",ref:n}),r,i&&t.createElement("span",{className:u,role:o?"alert":void 0},i))})),Po=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}))})),Bo=t.createContext({onClose:void 0,props:{},ref:null}),_o=t.forwardRef((function(e,n){var l;const{ref:a,props:r}=t.useContext(Bo),o=ba([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)})),qo=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}))})),Ko=t.forwardRef((function(e,n){const{placement:a}=e,r=t.useContext(Bo),{texts:o}=er(),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(Ur,{className:"text-blue-500"}),t.createElement(u.Close,{asChild:!0},t.createElement(Ja,{appearance:"primary","aria-label":o.hanger.close,className:"absolute top-0 right-0 ml-2 mr-2 mt-2 text-white",icon:"close",onClick:r.onClose}))))})),Go=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(Bo.Provider,{value:s},t.createElement(u.Root,{key:String(c),defaultOpen:c},l&&t.createElement(_o,null,l),a))}));Go.Anchor=_o,Go.Content=Ko,Go.Title=qo;const Wo=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"})))})),Uo=t.forwardRef((function(e,n){return t.createElement(b.Trigger,Object.assign({},e,{asChild:!0,ref:n}))})),$o=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(Wo,{className:"text-white"})))})),Jo=e=>t.createElement(b.Root,Object.assign({},e,{openDelay:300}));function Xo(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()})}}}Jo.Trigger=Uo,Jo.Content=$o;const Yo=({data:e,currentIndex:n})=>{const l=t.useRef(),a=Xo(1e3,()=>{l.current=void 0});return{getNextIndex:t=>{const r=(l.current?l.current+t:t).toLowerCase(),o=((e,t,n)=>{let l=Ar(e,t,void 0===n?0:n+1);return-1===l&&(l=Ar(e,t,0,n)),l})(e,r,n);return a.start(),l.current=r,o}}},Qo=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,...f},g)=>{const v=Dr(void 0!==a?[{text:"",value:a},...e]:e),h=t.useMemo(()=>r||c.v4(),[r]),p=ja(g),w=void 0!==m?kr(v,m):void 0,{getNextIndex:b}=Yo({data:v,currentIndex:w}),x=e=>{if(void 0!==e){const t=v[e];t&&!t.disabled&&Mr(p.current,t.value)}};return t.useEffect(()=>{if(v.length&&void 0===w)if(void 0!==n){const e=kr(v,n);void 0!==e&&x(e)}else x(0)},[v]),{list:{...f,"aria-activedescendant":jr(v,w,h),data:v,disabled:l,id:h,invalid:o,onChange:e=>{x(e)},onFocus:e=>{void 0===w&&v.length&&x(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&&x(e)}else d&&(e.persist(),d(e))},scrollOnFocus:!0,tabIndex:l?-1:f.tabIndex?f.tabIndex:0,value:w},input:{name:i,onChange:e=>{if(e.persist(),s){var t,n;const l=Hr(v,e.target.value);e.detail=Tr(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,Tr(v.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(zr,Object.assign({},o,{style:{...o.style,maxHeight:"calc(12rem + 2px)"}})),t.createElement("input",Object.assign({},i,{className:"hidden",type:"text"})))})),Zo=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},f)=>{const{texts:g}=er(),v=t.useMemo(()=>a||c.v4(),[a]),h=ja(f),p=t.useMemo(()=>[{text:g.listbox.allOption,value:"#ALL-OPTIONS#"},...e],[e]),[w,b]=t.useState(kr(p,d)||0),[x,E]=t.useState(!1),{getNextIndex:y}=Yo({data:p,currentIndex:w}),[R,C]=t.useState(Lr(p,d));t.useEffect(()=>{n&&!d&&Mr(h.current,n.toString())},[]),t.useEffect(()=>{const e=p.filter(e=>!e.disabled).length-1;E(e===R.length)},[R,p]);const z=e=>{if(void 0!==e){const n=p[e];if(n&&!n.disabled){var t;let e="";const l=null===(t=h.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?x?"":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,Mr(h.current,e)}}};return{list:{...m,"aria-activedescendant":jr(p,w,v),"aria-multiselectable":!0,data:p,disabled:l,id:v,onChange:()=>null,onClick:(e,t)=>{e.preventDefault(),p[t].disabled||(b(t),z(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(),z(t);break;case"Enter":z(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:R,multiselect:!0,allOptionsSelected:x},input:{name:r,onChange:e=>{if(e.persist(),C(Lr(p,e.target.value)),i){const t=[];e.target.value.split(",").forEach(e=>{const n=Hr(p,e);n&&t.push(n)}),e.detail=t,i(e)}},ref:h,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(zr,Object.assign({},o,{style:{...o.style,maxHeight:"calc(12rem + 2px + 2px)"}})),t.createElement("input",Object.assign({},i,{className:"hidden",type:"text"})))})),ei=t.forwardRef((function(e,n){const a=ja(n),r=po(),{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(Fa(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(x.Portal,null,t.createElement(x.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))})),ti=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}},ni=({keys:e,...t})=>{const a=l("inline-flex gap-0.5",t.className),r=(e=>{if(!e)return[];if("string"==typeof e)return[ti(e)];const t=[];return e.shift&&t.push(Pa()?"⇧":"Shift"),e.meta&&t.push(Pa()?"⌘":"Ctrl"),t.push(ti(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)))},li=({name:e})=>t.createElement("span",{className:"absolute left-0 ml-1"},t.createElement(ga,{className:"-ml-px -mt-px !h-5 !w-5",name:e})),ai=({disabled:e,indented:n,className:a})=>{const r=po();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)},ri=t.forwardRef((function(e,n){var l;const{dialog:a,icon:r,onClick:o,popover:i,shortcut:s,subMenu:c,...u}=e,d=po(),m=ai({disabled:e.disabled,indented:!!r,className:e.className});let f;if((null!==(l=e.disabled)&&void 0!==l?l:e["aria-disabled"])&&(f=e=>{e.preventDefault(),e.stopPropagation()}),c)return t.createElement(x.Sub,null,t.createElement(x.SubTrigger,Object.assign({},u,{className:m,onClick:f,ref:n}),r?t.createElement(li,{name:r}):null,e.children,t.createElement(ga,{className:"-mr-1.5 ml-auto !h-5 !w-5",name:"chevron-right"})),c());let g=t.createElement(x.Item,Object.assign({},u,{className:m,onClick:f,onSelect:t=>{o&&o(t),(e["aria-haspopup"]||"function"==typeof a||"function"==typeof i)&&t.preventDefault()},ref:n}),r?t.createElement(li,{name:r}):null,e.children,s?t.createElement("span",{className:"ml-auto pl-5"},t.createElement(ni,{keys:s,className:"text-grey-700"})):null);return"function"==typeof a?g=a({trigger:g,onClose:null==d?void 0:d.close}):"function"==typeof i&&(g=i({trigger:g})),g})),oi=t.forwardRef((function(e,n){const{href:l,icon:a,onClick:r,...o}=e,i=po(),s=ai({disabled:e.disabled,indented:!!a,className:e.className});return t.createElement(x.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(li,{name:a}),e.children))})),ii=t.forwardRef((function(e,n){const l=po(),a=ja(n);return t.useEffect(()=>{a.current&&(null==l||l.setMinWidth(a.current.getBoundingClientRect().width))},[a]),t.createElement(x.Trigger,Object.assign({},e,{asChild:!0,ref:a}))})),si=t.forwardRef((function(e,n){const{checked:l,children:a,onChange:r,...o}=e,i=ai({disabled:e.disabled,indented:!0,className:e.className});return t.createElement(x.CheckboxItem,Object.assign({},o,{checked:l,className:i,onCheckedChange:r,ref:n}),t.createElement(x.ItemIndicator,{className:"absolute left-0 ml-1.5"},t.createElement(ga,{name:"tick",className:"-ml-px !h-4 !w-4"})),a)})),ci=(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}),ui=e=>String(null!=e?e:""),di=(e,t)=>e.find(e=>ui(e)===t),mi=t.createContext({disabled:!1,invalid:!1}),fi=t.forwardRef((function(e,n){const a=t.useContext(mi),{children:r,value:o,...i}=e,s=a.disabled||e.disabled,c=l("self-start",ci(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(E.Item,Object.assign({},i,{className:c,disabled:s,ref:n,value:ui(o)}),t.createElement(E.Indicator,{className:"h-2 w-2 rounded-full bg-white"})),r)})),gi=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(di(u,e)),value:void 0!==s?ui(s):void 0}:{defaultValue:void 0!==l?ui(l):void 0},{context:d,props:{...c,...m,children:n,disabled:a,orientation:i}}},vi=t.forwardRef((function(e,n){const{context:a,props:r}=gi(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(mi.Provider,{value:a},t.createElement(E.Root,Object.assign({},r,{className:o,"data-taco":"radio-group",ref:n})))}));vi.Item=fi;const hi=t.createContext({disabled:!1}),pi=t.forwardRef((function(e,n){const{context:a,props:r}=gi(e),o=l("flex flex-col",e.className);return t.createElement(hi.Provider,{value:a},t.createElement(x.RadioGroup,Object.assign({},r,{className:o,ref:n})))}));pi.Item=e=>{const n=t.useContext(hi),{children:l,value:a,...r}=e,o=n.disabled||e.disabled,i=ai({disabled:o,indented:!0,className:e.className});return t.createElement(x.RadioItem,Object.assign({},r,{className:i,disabled:o,value:ui(a)}),t.createElement(x.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 wi=t.forwardRef((function(e,n){const a=po(),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(x.Label,Object.assign({},e,{className:r,ref:n}))})),bi=t.forwardRef((function(e,n){const a=ja(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(x.Portal,null,t.createElement(x.SubContent,Object.assign({},o,{className:i,"data-taco":"menu-submenu",sideOffset:4,ref:a}),r))})),xi=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),[f,g]=w.useControllableState({defaultProp:a,onChange:r,prop:o}),v=t.useMemo(()=>({indented:c,registerIndentation:()=>u(!0),minWidth:d,setMinWidth:e=>m(e),open:()=>g(!0),close:()=>g(!1)}),[c,d]);return t.createElement(ho.Provider,{value:v},t.createElement(x.Root,Object.assign({},s,{modal:!1,open:f,onOpenChange:g}),i&&t.createElement(ii,{ref:n},i),l))}));xi.Trigger=ii,xi.Content=ei,xi.Item=ri,xi.Link=oi,xi.Checkbox=si,xi.Separator=()=>t.createElement(x.Separator,{className:"bg-grey-300 my-1 h-px"}),xi.Header=wi,xi.RadioGroup=pi,xi.SubMenu=bi;const Ei=n.forwardRef((function(e,t){return n.createElement("a",Object.assign({},e,{ref:t}))})),yi=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 f=l("flex-col mb-0",{flex:d,hidden:!d}),g={...u,"aria-expanded":d,role:"treeitem",tabIndex:-1},v="function"==typeof r?r(d):r;return n.createElement("div",Object.assign({},g,{className:v,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:f},n.Children.toArray(a).filter(e=>!!e).map((e,t)=>n.createElement("li",{key:t,role:"none"},n.cloneElement(e,{role:"treeitem"})))))})),Ri=n.forwardRef((function(e,t){return n.createElement("div",Object.assign({},e,{ref:t,role:"tree"}))}));Ri.Group=yi,Ri.Item=Ei;const Ci=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]},zi=n.forwardRef((function(e,t){const{active:a,children:r,onDrop:o,postfix:i,prefix:s,role:c,...u}=e,d=ja(t),[m,f]=Ci(o),g="treeitem"===c,v=l("yt-navigation__item cursor-pointer",{"w-full mb-px py-1 px-3 flex items-center hover:bg-grey-300":g,"bg-white w-full h-10 px-3 flex-shrink-0 flex items-center justify-between cursor-pointer":!g,"yt-navigation__item--active":a&&!m,"bg-grey-300":g&&a&&!m,"yt-navigation__item--dropping bg-blue-500":m},e.className);return n.createElement("span",Object.assign({},f,{className:v,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))})),Si=n.forwardRef((function(e,t){return n.createElement("div",Object.assign({},e,{className:l("w-full bg-white p-3",e.className),ref:t}))})),Ni=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(Ri.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(ga,{name:t?"chevron-up":"chevron-down"}))},ref:t}))})),Oi=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(Ri,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))}));Oi.Group=Ni;const Ii=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)}));Ii.Menu=Oi,Ii.Item=zi,Ii.Panel=Si;const Mi=(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},ki=(e,t)=>{const l=e.props.to||e.props.href,a=l?xi.Link:xi.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))},Li=n.forwardRef((function(e,t){const{moreButton:a,...r}=e,o=ja(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(Ja,{icon:"more"}),d=Mi(o,i),m=n.Children.toArray(e.children),f=void 0!==d?m.slice(d):[],g=l("flex overflow-hidden",e.className);return n.createElement("div",Object.assign({},r,{className:g,"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})})),f.length?n.cloneElement(u,{className:l("sticky right-0 order-[99]",u.props.className),"data-observer-ignore":!0,menu:e=>n.createElement(xi,Object.assign({},e),n.createElement(xi.Content,null,f.map(ki))),ref:c}):null)})),Hi=({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}=er();return t.createElement(t.Fragment,null,a.map(l=>t.createElement(lr,{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)))},Vi=t.forwardRef((function(e,n){const{autoFocus:a,className:r,style:o,...i}=e,{button:s,listbox:d,popover:m,input:f,text:g,more:v=0}=(({"aria-label":e,"aria-labelledby":n,data:a=[],defaultValue:r,disabled:o,emptyValue:i,id:s,multiselect:u,onBlur:d,onChange:m,readOnly:f,tabIndex:g,value:v,...h},p)=>{const{texts:w}=er(),b=Dr(a),x=ja(p),[E,y]=t.useState(!1),R=t.useMemo(()=>s||"select_"+c.v4(),[s]),C=t.useRef(null),z=R+"-button",[S,N]=t.useState(v);t.useEffect(()=>{N(v)},[E]),t.useEffect(()=>{void 0===v?void 0!==r&&Hr(b,r)?Mr(C.current,r):void 0!==i?Mr(C.current,i):a.length>0&&Mr(C.current,a[0].value):u||Hr(b,v)||(void 0!==i?Mr(C.current,i):a.length>0&&Mr(C.current,a[0].value))},[]);let O="",I=0;if(void 0!==v)if(u){const e=(null==v?void 0:v.toString().split(","))||[];var M,k;e.length===b.filter(e=>!e.disabled).length?O=w.select.allOptionsSelected:(O=null!==(M=null===(k=Hr(b,e[0]))||void 0===k?void 0:k.text)&&void 0!==M?M:"",I=e.length>1?e.length-1:0)}else{const e=Hr(b,v);e&&(O=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} ${O}`:void 0,"aria-labelledby":n?`${n} ${z}`:void 0,disabled:o||f,id:z,onKeyDown:o||f?void 0:e=>{"ArrowUp"!==e.key&&"ArrowDown"!==e.key||(e.preventDefault(),y(!0))},tabIndex:g,type:"button"},listbox:{...h,"aria-label":e,"aria-labelledby":n,data:a,disabled:o,emptyValue:i,onBlur:d,onClick:e=>{e.preventDefault(),u||(y(!1),d&&d(Sr("blur")))},onChange:e=>{Mr(C.current,e.target.value)},onKeyDown:e=>{switch(e.key){case"Escape":e.preventDefault(),void 0!==S&&Mr(x.current,S),y(!1);break;case"Tab":case"Enter":"Tab"!==e.key&&e.preventDefault(),y(!1)}h.onKeyDown&&h.onKeyDown(e)},ref:x,value:v},input:{onChange:e=>{if(e.persist(),m){var t,n;const l=Hr(b,e.target.value);e.detail=Tr(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,Tr(b.find(e=>e.path===t))))}m(e)}},ref:C,value:String(null!=v?v:"")},popover:{open:E,onOpenChange:e=>{!e&&d&&d(Sr("blur")),y(e)}},text:O,more:I}})(i,n),h=t.useRef(null),p=vr(h),w=l("inline-flex relative w-full",{"yt-select--readonly":e.readOnly},r),b=l(mr(e),"h-8 text-left !pr-0",{"border-blue-500":m.open});t.useEffect(()=>{a&&h.current&&h.current.focus()},[]);const x={...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:h}),e.multiselect?t.createElement(t.Fragment,null,t.createElement("span",{className:"flex-grow truncate text-left"},g),v>0&&t.createElement(Aa,{className:"ml-2"},"+"+v)):t.createElement("span",{className:"flex-grow truncate text-left"},g),t.createElement("span",{className:"flex h-8 w-8 items-center justify-center"},t.createElement(ga,{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?Zo:Qo,Object.assign({},x)))),t.createElement("input",Object.assign({},f,{className:"hidden",type:"text"}))))})),Ai=t.forwardRef((function(e,n){const{editable:l,...a}=e;return l?t.createElement(_r,Object.assign({},a,{dialog:void 0,inline:!0,ref:n})):t.createElement(Vi,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:f=!0,dangerouslyHijackGlobalKeyboardNavigation:g=!1,...v}=e,{texts:h}=er(),p=Math.ceil(r/i)-1,w=g;(({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:g});const b=Math.ceil(r/i),x=o>0,E=o<b-1,y=l("inline-flex relative justify-between items-center",e.className);return t.createElement("div",Object.assign({},v,{className:y,"data-taco":"pagination",ref:a}),f&&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,h),t.createElement(Ai,{"aria-label":h.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(vo,{as:"nav","aria-label":h.pagination.label},t.createElement(Ja,{appearance:"default",disabled:!x,icon:"arrow-start",onClick:()=>c(0),"aria-label":w?h.pagination.actions.firstPageWithShortcut:h.pagination.actions.firstPage,tooltip:w?h.pagination.actions.firstPageWithShortcut:h.pagination.actions.firstPage}),t.createElement(Ja,{appearance:"default",disabled:!x,icon:"arrow-left",onClick:()=>c(o-1),"aria-label":w?h.pagination.actions.previousPageWithShortcut:h.pagination.actions.previousPage,tooltip:w?h.pagination.actions.previousPageWithShortcut:h.pagination.actions.previousPage}),m&&b>0&&t.createElement(Hi,{pageCount:b,currentPageIndex:o,onClick:c}),t.createElement(Ja,{appearance:"default",disabled:!E,icon:"arrow-right",onClick:()=>c(o+1),"aria-label":w?h.pagination.actions.nextPageWithShortcut:h.pagination.actions.nextPage,tooltip:w?h.pagination.actions.nextPageWithShortcut:h.pagination.actions.nextPage}),t.createElement(Ja,{appearance:"default",disabled:!E,icon:"arrow-end",onClick:()=>c(b-1),"aria-label":w?h.pagination.actions.lastPageWithShortcut:h.pagination.actions.lastPage,tooltip:w?h.pagination.actions.lastPageWithShortcut:h.pagination.actions.lastPage})))})),Di=({content:e,lastUpdated:t,onClose:a,options:r,...o})=>{const{texts:i}=er(),{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",{"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=Xo(s,a),m=v.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(v.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(va,{icon:"tick",color:"green"});case"error":return n.createElement(va,{icon:"close",color:"red"});case"warning":return n.createElement(va,{icon:"warning",color:"yellow"});case"information":return n.createElement(va,{icon:"info",color:"blue"});case"loading":return n.createElement(yr,{delay:0,className:"h-5 w-5"});default:return null}})()))(c),n.createElement("div",{className:"flex-grow"},e),n.createElement(Ja,{appearance:"discrete",className:"text-grey-700 -mr-2 cursor-pointer self-start !px-0",icon:"close","aria-label":i.toasts.dismiss,onClick:a}))},Ti=t.createContext({}),Fi=(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},Pi=({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=>Fi(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 Fi(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(Ti.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(v.AnimatePresence,{initial:!1},l.map(e=>t.createElement(v.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(Di,Object.assign({},e,{onClose:()=>r(e.id)})))))))},Bi=()=>t.useContext(Ti),_i=t.createContext({uniqueUserIdentifier:""}),qi=t.forwardRef((function({onSearch:e,...n},l){const a=ja(l),{texts:r}=er(),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(br,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(Ja,{"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:()=>{Or(a.current,"")},rounded:!0,tabIndex:-1,tooltip:r.searchInput.clear}),t.createElement(Ja,{"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"}))})),Ki=n.forwardRef((function(e,t){var a,r;const{findCurrent:o,findTotal:i,loading:s=!1,onChange:c,onClickFindNext:u,onClickFindPrevious:d,settingsContent:m,shortcut:f,value:g,...v}=e,h=ja(t),p=n.useRef(null),[w,b]=n.useState(!1),{texts:x}=er(),E=null==g?void 0:g.length,y=u&&d&&void 0!==o&&void 0!==i;Ba(f,e=>{var t;document.activeElement!==h.current&&(e.preventDefault(),null===(t=h.current)||void 0===t||t.focus())});const R=()=>{requestAnimationFrame(()=>{var e;return null===(e=h.current)||void 0===e?void 0:e.blur()}),c("")};let C;v.disabled||v.readOnly||!g&&!w?!f||w||g||(C=n.createElement(ni,{keys:f,onClickCapture:()=>{var e;return null===(e=h.current)||void 0===e?void 0:e.focus()}})):(g&&(C=n.createElement(Ja,{"aria-label":x.searchInput.clear,className:"scale-75 !bg-transparent hover:!bg-black/[0.08] [&>svg]:scale-125",icon:"close",onMouseDown:R,tabIndex:-1,tooltip:w?n.createElement(n.Fragment,null,x.searchInput.clear," ",n.createElement(ni,{keys:"Escape"})):x.searchInput.clear})),y&&E&&(C=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(yr,{className:"h-4 w-4"}):`${null!=o?o:0}/${null!=i?i:0}`),o?n.createElement(n.Fragment,null,n.createElement(Ja,{"aria-label":x.searchInput.findPrevious,className:"scale-75 !bg-transparent hover:!bg-black/[0.08] [&>svg]:scale-125",icon:"chevron-up",onMouseDown:d,tabIndex:-1,tooltip:w?n.createElement(n.Fragment,null,x.searchInput.findPrevious," ",n.createElement(ni,{keys:{shift:!0,key:"Enter"}})):x.searchInput.findPrevious}),n.createElement(Ja,{"aria-label":x.searchInput.findNext,className:"scale-75 !bg-transparent hover:!bg-black/[0.08] [&>svg]:scale-125",icon:"chevron-down",onMouseDown:u,tabIndex:-1,tooltip:w?n.createElement(n.Fragment,null,x.searchInput.findNext," ",n.createElement(ni,{keys:"Enter"})):x.searchInput.findNext})):null,C)));const z=l("!pl-7 group-focus-within:!w-72 group-focus-within:yt-focus",y?{"!w-48":!g,"!w-72":g}:"!w-48",{"!wcag-blue-100":E},e.className),S=n.createElement(br,Object.assign({},v,{"aria-label":null!==(a=v["aria-label"])&&void 0!==a?a:x.searchInput.placeholder,className:z,"data-taco":"search-input2",onBlur:e=>{var t,n;p.current&&(p.current===e.relatedTarget||null!==(t=p.current)&&void 0!==t&&t.contains(e.relatedTarget))||(b(!1),null===(n=v.onBlur)||void 0===n||n.call(v,e))},onChange:e=>c(e.target.value),onFocus:e=>{var t;b(!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(y&&E&&(t.shiftKey?null==d||d():null==u||u()))):void("Escape"!==t.key||R())},placeholder:null!==(r=v.placeholder)&&void 0!==r?r:x.searchInput.placeholder,prefix:n.createElement(ga,{"aria-label":x.searchInput.button,className:"-ml-0.5 scale-95",name:"search",onClickCapture:()=>{var e;return null===(e=h.current)||void 0===e?void 0:e.focus()}}),postfix:C,ref:h,value:null!=g?g:""}));if(m){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":w}),ref:p,style:{opacity:.999}},S,n.createElement("div",{className:e,onClickCapture:()=>{var e;return null===(e=h.current)||void 0===e?void 0:e.focus()},tabIndex:-1},m))}return S})),Gi=e=>"Enter"===e.key||" "===e.key||"Tab"===e.key,Wi=e=>"ArrowUp"===e.key||"ArrowDown"===e.key||"Home"===e.key||"End"===e.key,Ui=(e,t)=>e.querySelectorAll(t),$i=n.forwardRef((function(e,t){const{querySelector:l,tabIndex:a=0,...r}=e,o=ja(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=Ui(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=Ui(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=Ui(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=Ui(e.currentTarget,l);if(t)if(Wi(e)){e.preventDefault(),e.stopPropagation();const n=Ji(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(Nr(e))}},ref:o,tabIndex:a}))})),Ji=(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)&&Xi(t.item(a))){if(l){if(0===a)return Ji(new KeyboardEvent(e.type,{...e,key:"ArrowDown"}),t,a,!1);if(a===t.length-1)return Ji(new KeyboardEvent(e.type,{...e,key:"ArrowUp"}),t,a,!1)}return Ji(e,t,a,l)}}return a},Xi=e=>"presentation"===e.getAttribute("role")||!!e.hasAttribute("disabled")||!!e.getAttribute("aria-disabled")||!!e.getAttribute("aria-hidden");var Yi={__proto__:null,Root:$i};const Qi=n.createContext({}),Zi=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-"+ur(o),f=n.useMemo(()=>({disabled:r,readOnly:s,setValue:c,value:u}),[r,s,u]);return n.createElement(Qi.Provider,{value:f},n.createElement("div",{"data-taco":"listbox2"},n.createElement($i,Object.assign({},d,{"aria-multiselectable":!!i||void 0,id:m,querySelector:a?'[role="option"], '+a:'[role="option"]',ref:t,role:"listbox"}),l)))})),es=n.forwardRef((function(e,t){const{disabled:l,id:a,value:r,...o}=e,{disabled:i,readOnly:s,setValue:c,value:u}=n.useContext(Qi),d="option-"+ur(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():(Gi(t)&&c(r),"function"==typeof e.onKeyDown&&e.onKeyDown(t))},ref:t,role:"option"}))})),ts=n.forwardRef((function(e,t){const[l,a]=n.useState();return n.createElement(ns.Provider,{value:{setLabelledById:a}},n.createElement("div",Object.assign({},e,{"aria-labelledby":l,ref:t,role:"group"})))})),ns=n.createContext({}),ls=n.forwardRef((function(e,t){const{id:l,...a}=e,{setLabelledById:r}=n.useContext(ns),o=ur(l);return n.useEffect(()=>{r(o)},[o]),n.createElement("div",Object.assign({},a,{id:o,ref:t,role:"presentation"}))})),as=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},G(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(ga,{name:i,className:"mr-1 -ml-1 -mt-0.5 !h-5 !w-5"}):n.cloneElement(i,{className:"mr-1 -ml-1 -mt-0.5 !h-5 !w-5"}):null,a),c?n.createElement(ga,{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)}),rs=(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}),os=n.createContext({}),is=()=>n.useContext(os);function ss(e,t){try{var n=e()}catch(e){return t(e)}return n&&n.then?n.then(void 0,t):n}function cs(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)}"undefined"!=typeof Symbol&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator"))),"undefined"!=typeof Symbol&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));const us=e=>{const{color:t,text:a,value:r,...o}=e,i=n.useRef(null),{onDelete:s,onEdit:c,searchRef:u,ref:d}=is(),{texts:m}=er(),[f,g]=n.useState(a),[v,h]=n.useState(t),[p,w]=n.useState(),b=e=>{g(e.target.value),w(void 0)},x=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)}},E=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||f===a&&v===t)e();else{const t=ss((function(){return Promise.resolve(c(r,f,v)).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)}},R=e=>{"Escape"===e.key||"Tab"===e.key||"Tab"===e.key&&e.shiftKey||e.stopPropagation()};return n.createElement(eo,Object.assign({},o),n.createElement(eo.Content,{onCloseAutoFocus:e=>{var n,l;e.preventDefault(),g(a),h(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:()=>{g(a),h(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(Fo,{className:l("!min-h-fit",{"!pb-0":!p}),invalid:!!p,message:null==p?void 0:p.message},n.createElement(br,{invalid:!!p,onChange:b,onKeyDown:x(e),ref:i,value:f})),t?n.createElement(n.Fragment,null,n.createElement("h5",null,"Colours"),n.createElement(ds,{color:v,onChangeColor:h,onKeyDown:R})):null,n.createElement(vo,null,n.createElement(lr,{onClick:e},m.select2.cancel),n.createElement(lr,{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:E(e),onKeyDown:R},n.createElement(ga,{className:"!h-5 !w-5",name:"delete-permanently"})," ",m.select2.delete):null))))},ds=e=>{const{color:t,onChangeColor:a,onClick:r,onKeyDown:o}=e,{texts:i}=er();return n.createElement(E.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},_.map(e=>n.createElement(E.Item,{"aria-label":t,className:l("flex h-6 w-6 cursor-pointer items-center justify-center rounded",G(e)),key:e,onFocus:()=>a(e),value:e},n.createElement(E.Indicator,{asChild:!0},n.createElement(ga,{name:"tick",className:"!h-5 !w-5"})))))},ms=/iPhone|iPad|iPod|Android/i,fs=e=>!(null==e||!e.userAgent)&&ms.test(e.userAgent),gs=n.forwardRef((function(e,t){var a;const{children:r,color:o,description:i,icon:s,className:c,...u}=e,{onDelete:d,onEdit:m,listboxRef:f,multiple:g,ref:v,setOpen:h,shouldPauseHoverState:p,tags:w,value:b}=is(),x=l(rs(p),c),E=Array.isArray(b)?!!b.length:void 0!==b,y=w&&!!o,R=""!==r&&(m||d)?t=>{var l,a;return n.createElement(us,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(es,Object.assign({},u,{className:x,onClick:()=>{var e;g?null===(e=v.current)||void 0===e||e.focus():h(!1)},onKeyDown:e=>{Gi(e)&&(g&&"Tab"!==e.key||h(!1))},ref:t}),E?n.createElement(ga,{name:"tick",className:"pointer-events-none invisible -mx-0.5 !h-4 !w-4 group-aria-selected:visible"}):null,y?n.createElement(as,{className:"pointer-events-none my-1",color:o,icon:s},r):n.createElement(n.Fragment,null,s?"string"==typeof s?n.createElement(ga,{name:s}):s:null,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)),R?n.createElement(Ja,{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":fs(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:R,tabIndex:-1}):null)})),vs=n.forwardRef((function(e,t){const{children:a,heading:r,...o}=e,i=l("flex flex-col gap-px",e.className);return n.createElement(ts,Object.assign({},o,{className:i,ref:t}),n.createElement(ls,{className:"sticky top-0 bg-white px-2 font-bold leading-8"},r),a)})),hs=n.forwardRef((function(e,t){const a=l("flex items-center text-xs pl-2 h-8",e.className);return n.createElement(ls,Object.assign({},e,{className:a,ref:t}))})),ps=(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},ws=n.forwardRef((function(e,t){const{multiple:l,value:a}=is();if(Array.isArray(a)||l){const l=Array.isArray(a)?a:void 0!==a?[a]:void 0;return n.createElement(Es,Object.assign({},e,{ref:t,values:l}))}return n.createElement(xs,Object.assign({},e,{ref:t,value:a}))})),bs=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:f}=is(),g=l("cursor-pointer !px-1.5",mr({...e,disabled:c,highlighted:u,invalid:d,readOnly:f}).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":!!f||void 0,className:g,disabled:c,onClick:e=>{c||f?e.preventDefault():"function"==typeof o&&o(e)},ref:t,role:"combobox",tabIndex:c||f?-1:i,type:"button"}),r,n.createElement(ga,{name:m?"chevron-up":"chevron-down",className:"pointer-events-none -mr-1 ml-auto"}))})),xs=n.forwardRef((function(e,t){const{children:a,emptyValue:r,value:o,placeholder:i,...s}=e,{disabled:c,readOnly:u,tags:d}=is(),m=l("truncate items-center gap-1"),f=a.find(Rs(o));let g;return i&&void 0===f?g=n.createElement("div",{className:l({"text-grey-700":c,"text-grey-500":!c})},i):f&&(g=d&&void 0!==r&&r!==o?n.createElement(as,{className:"truncate",color:f.props.color,disabled:c,icon:f.props.icon,readOnly:u},f.props.children):n.createElement(n.Fragment,null,f.props.icon?"string"==typeof f.props.icon?n.createElement(ga,{name:f.props.icon}):f.props.icon:null,f.props.children)),n.createElement(bs,Object.assign({},s,{ref:t}),n.createElement("div",{className:m},g))})),Es=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:f}=is(),g=ja(t),v=o.map(e=>r.find(t=>t.props.value===e)).filter(e=>!!e);let h,{className:p}=s;return u?(p=l("!absolute z-20",s.className),h=n.createElement(Ro,{className:"my-1 flex max-h-[5.5rem] flex-col"},n.createElement("div",{className:"flex flex-wrap gap-1"},0===v.length?n.createElement("div",{className:l({"text-grey-700":c,"text-grey-500":!c})},i):v.map(e=>n.createElement(as,{key:String(e.props.value),className:"truncate",color:f?e.props.color:void 0,disabled:c,icon:e.props.icon,onDelete:t=>{null==t||t.stopPropagation(),null==t||t.preventDefault(),c||d||m(e.props.value)},readOnly:d},e.props.children))))):h=n.createElement(ys,{key:String(u),valuesAsChildren:v,placeholder:i}),n.createElement("div",{className:l("relative inline-flex flex-grow",{"h-8":u}),style:{width:u?null===(a=g.current)||void 0===a?void 0:a.offsetWidth:void 0}},n.createElement(bs,Object.assign({},s,{className:p,ref:g}),h))})),ys=({valuesAsChildren:e,placeholder:t})=>{const{disabled:a,open:r,readOnly:o,setValue:i,tags:s}=is(),[c,u]=n.useState(null),d=c?ps(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(as,{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.icon,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(qa,{key:String(e.props.value),title:String(e.props.children)},c):c})),null!=d&&d<e.length-1?n.createElement(qa,{title:e.slice(d+1).map(e=>e?String(e.props.children):"").join(", ")},n.createElement(Aa,{className:"flex-shrink-0"},"+",e.length-(d+1))):null)},Rs=e=>t=>Array.isArray(e)?e.includes(t.props.value):t.props.value===e,Cs=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"}}))},zs=n.forwardRef((function(e,t){const{...a}=e,{listboxRef:r,searchQuery:o,setSearchQuery:i,setValidationError:s,validationError:c,setOpen:u}=is();return n.createElement(Fo,{className:l("mx-1.5 mb-1.5 !min-h-fit ",{"!pb-0":!c}),invalid:!!c,message:null==c?void 0:c.message},n.createElement(br,Object.assign({},a,{"aria-hidden":!0,autoFocus:!0,invalid:!!c,onChange:e=>{c&&s(void 0),i(e.target.value)},onKeyDown:e=>{var t;if(" "!==e.key)if("Tab"!==e.key){if(Gi(e)||"ArrowDown"===e.key||"ArrowUp"===e.key)return e.preventDefault(),void(null==r||null===(t=r.current)||void 0===t||t.dispatchEvent(Nr(e)))}else u(!1)},ref:t,value:o})))})),Ss=e=>!!e.props.heading,Ns=(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())},Os=e=>{const{onCreate:t,options:a}=e,{multiple:r,searchQuery:o,setOpen:i,setSearchQuery:s,setValidationError:c,setValue:u}=is(),{texts:d}=er(),m=n.useMemo(()=>(e=>{let t={};_.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 f=l("!w-[calc(100%_-_theme(spacing.3))] ml-1.5",rs());return n.createElement("button",{className:f,onClick:function(){try{const e=ss((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=>{Gi(e)&&e.currentTarget.click()}},n.createElement("span",{className:"flex items-center gap-1.5"},d.select2.create,n.createElement(as,{color:m,className:"cursor-pointer"},o)))},Is=e=>{const{children:t}=e;return n.createElement(Ro,{className:"flex max-h-[11.5rem] w-full flex-col gap-y-0.5 px-1.5"},t)},Ms=()=>{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]},ks=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:f,onChange:g,onCreate:v,onDelete:h,onEdit:p,readOnly:b=!1,tags:x=!1,value:E,...y}=e,R=n.useMemo(()=>{if(void 0!==i&&!m)return n.createElement(gs,{key:"__empty",children:"",value:i,className:"h-8"})},[i,m]),C=n.useMemo(()=>R?[R,...a]:a,[R,a]),z=ja(t),S=n.useRef(null),N=n.useRef(null),{texts:O}=er(),I=vr(z),[M,k]=n.useState(!1),[L,H]=w.useControllableState({defaultProp:r,onChange:g,prop:E}),V=((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,H),[A,j]=n.useState(),[D,T]=Ms(),{flattenedChildren:F,filteredChildren:P,searchQuery:B,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=>Ss(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(Ss(e)){const t=e.props.children.filter(e=>Ns(e,i));return t.length?n.cloneElement(e,{},t):null}return Ns(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:V,value:L}),q={disabled:o,highlighted:c,invalid:d,listboxRef:S,multiple:m,onCreate:v,onDelete:h,onEdit:p,open:M,readOnly:b,ref:z,searchQuery:B,searchRef:N,setOpen:k,setSearchQuery:_,setValidationError:j,setValue:V,shouldPauseHoverState:D,setShouldPauseHoverState:T,tags:x,validationError:A,value:L};let K;y.onBlur&&(K=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=y.onBlur)||void 0===a||a.call(y,e)});const G=l("border-grey-300 rounded border bg-white py-1.5 shadow-md outline-none","flex flex-col gap-px");return n.createElement(os.Provider,{value:q},n.createElement(u.Root,{open:M,onOpenChange:k},n.createElement(Ls,{emptyValue:i,multiple:m||x,name:f,options:F.map(e=>e.props.value),parentRef:z,setValue:V,value:L}),n.createElement(u.Trigger,{asChild:!0,"data-taco":"Select2"},n.createElement(ws,Object.assign({},y,{"aria-haspopup":"listbox",emptyValue:i,onBlur:K,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=S.current)||void 0===t||t.dispatchEvent(Nr(e))},ref:z,placeholder:s}),F)),n.createElement(u.Portal,null,n.createElement(u.Content,{asChild:!0,align:"start",onOpenAutoFocus:()=>{var e;null===(e=z.current)||void 0===e||e.focus()},onCloseAutoFocus:e=>{var t;e.preventDefault(),e.stopPropagation(),null===(t=z.current)||void 0===t||t.focus()},sideOffset:4,tabIndex:-1},n.createElement("div",{className:G,style:{minWidth:null!=I&&I.width?I.width+"px":void 0}},F.length>0||v?n.createElement(zs,{placeholder:v?O.select2.searchOrCreate:O.select2.search,ref:N}):null,F.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(Zi,{className:"flex flex-col gap-0.5",customSelector:":scope > button",disabled:o,multiple:m,onKeyDown:e=>{Wi(e)&&T(!0)},readOnly:b,ref:S,setValue:V,tabIndex:-1,value:L},n.createElement(Is,null,""===B?C:P),v?n.createElement(Os,{onCreate:v,options:F}):null))))))}));ks.Option=gs,ks.Group=vs,ks.Title=hs;const Ls=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(Cs,{"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};ks.displayName="Select2";const Hs=t.forwardRef((function(e,n){const{label:a,onChange:r,...o}=e,i=ur(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}));Hs.displayName="Switch";const Vs=(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},As=(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}=As(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:Vs(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}},js=e=>null==e?void 0:e.map(e=>({id:e.accessor,desc:e.desc})),Ds=e=>{const t="string"==typeof e?new Date(e):e;return null!=t&&t.getTime?t.getTime():void 0},Ts=(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},Fs=e=>{if(e)return String(e).toLowerCase()},Ps=e=>"boolean"==typeof e?e:isNaN(e)?Fs(e):Number(e),Bs=(e,t)=>void 0!==e&&void 0===t?1:e===t?0:e>t?1:-1,_s=(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):Bs(e,t);function qs(e,t){if(t.type===R.actions.init)return{allowEditing:!0,editingRowUniqueId:null,...e};if(t.type===R.actions.resetRowEditing||t.type===R.actions.resetPage||t.type===R.actions.gotoPage)return{...e,editingRowUniqueId:null};if(t.type===R.actions.toggleRowEditing){const{id:n}=t;return{...e,editingRowUniqueId:n}}return t.type===R.actions.toggleEditing?{...e,allowEditing:!e.allowEditing}:e}function Ks(e){const{dispatch:t}=e,l=n.useCallback(()=>{t({type:R.actions.resetRowEditing})},[t]),a=n.useCallback(e=>{t({type:R.actions.toggleRowEditing,id:e})},[t]),r=n.useCallback(()=>{t({type:R.actions.toggleEditing})},[t]);Object.assign(e,{resetRowEditing:l,toggleRowEditing:a,toggleEditing:r})}R.actions.resetRowEditing="resetRowEditing",R.actions.toggleRowEditing="toggleRowEditing",R.actions.toggleEditing="toggleEditing";const Gs=(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]},Ws=(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)}}),Us=()=>(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(Ja,{appearance:"primary",icon:"tick",type:"submit",className:"mr-2"}),n.createElement(Ja,{appearance:"ghost",icon:"close",type:"reset"})));function $s(e,t){if(t.type===R.actions.init)return{draggingRowIndexPath:null,...e};if(t.type===R.actions.resetRowDragging)return{...e,draggingRowIndexPath:null};if(t.type===R.actions.toggleRowDragging){const{indexPath:n}=t;return{...e,draggingRowIndexPath:n}}return e}R.actions.resetRowDragging="resetRowDragging",R.actions.toggleRowDragging="toggleRowDragging";const Js=(e,{instance:t})=>{var n;e.toggleRowDragging=()=>{t.dispatch(t.state.draggingRowIndexPath===e.id?{type:R.actions.resetRowDragging}:{type:R.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]))},Xs=e=>[{id:"draggable",className:"yt-table__cell--draggable flex-col px-0",Cell:()=>n.createElement(ga,{name:"drag",className:"text-grey-700 invisible w-[20px] cursor-grab"}),flex:"0 0 20px"},...e],Ys=10,Qs=(e,t)=>{var l;const{children:a,data:r,onRowClick:o,onRowDrag:i,onSelectedRows:s,rowClassName:c,rowExpansionRenderer:u,rowHeight:d,selectedRows:m,disableSorting:f,manualSorting:g,onSort:v,sortRules:h,disablePagination:p=!0,length:b,onPaginate:x,pageSize:E=Ys,pageIndex:y=0,inlineEditingUniqueId:z,onRowCreate:S,actions:N,onRowEdit:O,onRowCopy:I,onRowDelete:M,onRowActive:k,windowed:L=!1,...H}=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:V,locale:A}=er(),{columns:j,sortRules:D}=n.useMemo(()=>As(a,u),[a,u]),T=!p&&!!x&&!!b,{headerGroups:F,rows:P,sortedRows:B,prepareRow:_,state:q,page:K,gotoPage:G,setPageSize:W,...U}=R.useTable({columns:j,data:r,initialState:{sortBy:js(h)||D,pageSize:p?void 0:E,pageIndex:p?void 0:y},manualPagination:T,pageCount:T&&b?Math.ceil(b/E):-1,manualSortBy:g,disableSortBy:f,autoResetExpanded:!1,autoResetSelectedRows:!1,autoResetSortBy:!1,autoResetPage:!1,sortTypes:n.useMemo(()=>(e=>({datetime:(e,t,n)=>{const l=Ds(e.values[n]),a=Ds(t.values[n]);return Bs(l,a)},string:(t,n,l)=>{const a=Fs(t.values[l]),r=Fs(n.values[l]);return _s(a,r,e)},number:(e,t,n)=>{const l=Ts(e.values[n]),a=Ts(t.values[n]);return Bs(l,a)},boolean:(e,t,n)=>Bs(!!e.values[n],!!t.values[n]),auto:(t,n,l)=>{const a=Ps(t.values[l]),r=Ps(n.values[l]);return"string"==typeof a&&"string"==typeof r?_s(a,r,e):Bs(a,r)}}))(A),[]),useControlledState:e=>n.useMemo(()=>({...e,selectedRowIds:m||[]}),[e,m])},R.useRowState,R.useSortBy,R.useExpanded,R.usePagination,(e=>{const t=t=>{if(R.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(dr,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(dr,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($s),t.prepareRow.push(Js),t.visibleColumns.push(Xs),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(Vs);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(qs),t.useInstance.push(Ks),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]=Gs(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(Us,null);const s=Vs(e,a),[c,u]=Gs(l,s),d=n.createElement(n.Fragment,null,t.onRowCreate&&n.createElement(Ja,{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(Ja,{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(Ja,{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(Ja,{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(Ja,Object.assign({},Ws(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(xi,null,n.createElement(xi.Trigger,null,n.createElement(Ja,{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(xi.Content,null,u.map((e,t)=>n.createElement(xi.Item,Object.assign({key:t,icon:"function"==typeof e.icon?e.icon(s):e.icon},Ws(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(C.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:S,onRowEdit:O,onRowCopy:I,onRowDelete:M},N,u,V,L));((e,t,l)=>{n.useEffect(()=>{!e&&t&&t(l.pageIndex,l.pageSize)},[l.pageIndex,l.pageSize])})(p,x,q),((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,v,!!g,q);const $=((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||T?P:K,[X,Y,Q,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=Vs(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=xr(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:S,onRowEdit:O,onRowCopy:I,onRowDelete:M,rowExpansionRenderer:u},t);((e,t,l,a)=>{n.useEffect(()=>{if(void 0!==e&&t.length&&a){const n=t[e];if(n){const e=Vs(n,l);a(e)}}},[e,t])})(X,P,u,k);const ee=n.useCallback((e,t)=>{_(e),e.setActive=()=>Y(t)},[_,Y]);return{rowProps:{activeIndex:X,setActiveIndex:Y,onRowClick:o,rowClassName:c,rowExpansionRenderer:u,rowHeight:d,inlineEditingUniqueId:z},tableProps:{...H,headerGroups:F,onFocus:Z,onKeyDown:Q,tabIndex:null!==(l=H.tabIndex)&&void 0!==l?l:0},state:q,pagination:p?null:{length:T&&b?b:r.length,pageIndex:q.pageIndex,pageSize:q.pageSize,setPageIndex:G,setPageSize:W},rows:J,prepareRow:ee,instance:$}},Zs=(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)},ec=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:f,inlineEditingUniqueId:g}=r,v=Vs(e,u),p={...e.getRowProps(),style:{...f,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(v):c),onClick:s?e=>{(e.target===e.currentTarget||e.target.classList.contains("yt-table__cell"))&&(e.preventDefault(),e.persist(),m(t),s(v))}:()=>{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(v,a)),x=n.useMemo(()=>n.createElement(n.Fragment,null,n.createElement(h.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[g]}),w.map(e=>Zs(e,v)))),b),[e.original._createKey]);return e.isEditing?x:n.createElement(n.Fragment,null,n.createElement("div",Object.assign({},p,{role:"row",ref:o}),w.map(e=>Zs(e,v))),b)})),tc=({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(ga,{name:e.isSortedDesc?"chevron-down-solid":"chevron-up-solid",className:"-mt-0.5"}):null)},nc=()=>null,lc=n.forwardRef((function(e,t){const a=ja(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-t-0 border-b-2 font-bold"},e.headers.map((e,t)=>n.createElement(tc,{key:t,index:t,cell:e}))))),n.createElement("div",{role:"rowgroup",className:"yt-table__body",ref:c},o))})),ac=n.forwardRef((function(e,t){const{emptyStateRenderer:l=nc,...a}=e,r=ja(t),{rowProps:o,tableProps:i,rows:s,prepareRow:c,pagination:u,instance:d}=Qs(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(lc,Object.assign({},i,{ref:r}),s.length?s.map((e,t)=>(c(e,t),n.createElement(ec,Object.assign({},o,{key:t,index:t,row:e,instance:d,headerGroups:i.headerGroups})))):l()),m)}));ac.Column=()=>null,ac.Group=()=>null;const rc=n.forwardRef((function(e,t){return n.createElement(ac,Object.assign({},e,{disablePagination:!1,ref:t}))}));rc.Column=()=>null,rc.Group=()=>null;const oc=n.memo(({data:e,index:t,style:{...l}})=>{const{texts:a}=er(),{rows:r,setRowHeight:o,rowProps:i,tableProps:s,instance:c,prepareRow:u,rowHeights:d}=e,m=r[t],f=n.useRef(null);return n.useEffect(()=>{null!=f&&f.current&&o(t,f.current.getBoundingClientRect().height)},[d[t]]),m?(u(m,t),n.createElement(ec,Object.assign({},i,{style:l,key:t,index:t,row:m,instance:c,headerGroups:s.headerGroups,setRowHeight:o,ref:f}))):n.createElement("div",{className:"yt-table__row",role:"row",style:l},n.createElement("div",{className:"yt-table__cell text-grey-300"},a.table.loading))},z.areEqual),ic=(e={})=>{const t=Object.keys(e);return t.reduce((t,n)=>t+e[n],0)/t.length},sc=n.forwardRef((function(e,t){const a=ja(t),{emptyStateRenderer:r=nc,length:o,loadMore:i,...s}=e,{rowProps:c,tableProps:u,rows:d,prepareRow:m,instance:f,state:g}=Qs({...s,windowed:!0},a),v=n.useRef(null),[h,p]=n.useState(null),w=vr(a),b=vr(v),x=w&&b?w.height-b.height:null,E=c.rowHeight||40,y=n.useRef({}),R=n.useCallback((e,t)=>{y.current[e]!==t&&(y.current={...y.current,[e]:t},h&&h.resetAfterIndex(0))},[]),C=n.useCallback(e=>y.current[e]||E,[]);n.useEffect(()=>{h&&void 0!==c.activeIndex&&h.scrollToItem(c.activeIndex,"start")},[h,c.activeIndex]),n.useEffect(()=>{y.current={},h&&h.resetAfterIndex(0)},[d.length]);const N=l(u.className,"yt-table--windowed",{"table-with-scrollbar":null!==x&&(E*e.data.length||0)>x});let O;if(x&&d.length){const e={height:x,itemData:{rows:d,setRowHeight:R,rowProps:c,tableProps:u,instance:f,prepareRow:m,state:g,rowHeights:y.current},estimatedItemSize:ic(y.current),itemSize:C,width:"100%"};O=i&&o?n.createElement(S,{isItemLoaded:e=>!!d[e],itemCount:o,loadMoreItems:i},({onItemsRendered:t,ref:l})=>n.createElement(z.VariableSizeList,Object.assign({},e,{itemCount:o,onItemsRendered:t,ref:e=>{l(e),p(e)}}),oc)):n.createElement(z.VariableSizeList,Object.assign({},e,{itemCount:d.length,ref:e=>{p(e)}}),oc)}return n.createElement(lc,Object.assign({},u,{className:N,headerRef:v,ref:a}),O||r())}));sc.Column=()=>null,sc.Group=()=>null;const cc=e=>{var t;return null!==(t=null==e?void 0:e.split(".").map(Number))&&void 0!==t?t:[]},uc=(e,t)=>{if(!t)return;const n=[...e],l=cc(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])}},dc=e=>{let t;if(e){const n=cc(e);n.pop(),n.length&&(t=n.join("."))}return t},mc=(e,t,n={})=>{const l=JSON.parse(JSON.stringify(e));let a;if(t){var r;const e=cc(t),o=uc(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),N(l,s,i),e.push(0),a=e.join(".")}else l.unshift(n),a="0";return[l,a]},fc=(e,t)=>{const n=JSON.parse(JSON.stringify(e)),l=cc(t),a=Number(l.shift());if(l.length){const e=l.map(e=>`subRows[${e}]`).join(".");O(n[a],e),l.pop();const t=l.length?l.map(e=>`subRows[${e}]`).join(".")+".subRows":"subRows";N(n[a],t,M(I(n[a],t)))}else k(n,a);return n},gc=n.createContext({isActive:!1,editMode:{validationErrors:null,setValidationErrors:()=>{},rowMoveReason:{},setRowMoveReason:()=>{}},rowIndex:void 0,isHovered:!1,setIsHovered:()=>{}}),vc=({isActiveRow:e,children:t,meta:l,rowIndex:a})=>{const[r,o]=n.useState(!1),[i,s]=n.useState(null),[c,u]=n.useState({});n.useEffect(()=>{var t;const n=null===(t=l.tableRef.current)||void 0===t?void 0:t.contains(document.activeElement);e&&n&&l.editMode.moveToFirstColumn(l.focussableColumnIndexes)},[l.editMode.isEditing,l.focussableColumnIndexes]);const d=n.useMemo(()=>({isActive:e,editMode:{validationErrors:i,setValidationErrors:s,rowMoveReason:c,setRowMoveReason:u},rowIndex:a,isHovered:r,setIsHovered:o}),[e,r,c,i,a]);return n.createElement(gc.Provider,{value:d},t)},hc=()=>n.useContext(gc),pc=e=>wc(e)&&"__actions"!==e,wc=e=>"__select"===e||"__expansion"===e||"__actions"===e||"__draggable"===e,bc=n.memo(({lastSelectedRowIndex:e,rowIndex:t,isSelected:l,table:a,tableRef:r,texts:o,toggleSelected:i})=>{const s=a.options.meta;return n.createElement(qa,{title:n.createElement(n.Fragment,null,l?o.table2.columns.select.deselect:o.table2.columns.select.select,n.createElement(ni,{className:"ml-2",keys:"Space"}))},n.createElement(dr,{"aria-label":l?o.table2.columns.select.select:o.table2.columns.select.deselect,className:"hover:border-blue !mt-0",checked:l,onClick:n=>{var l,o,c;if(n.stopPropagation(),n.shiftKey){const[n,l]=[(c=t)<(o=(null==e?void 0:e.current)||0)?c:o,c>o?c:o];a.getRowModel().rows.slice(n,l+1).forEach(e=>e.toggleSelected(!0))}else i();e.current=t,s.setActiveRowIndex(t),null===(l=r.current)||void 0===l||l.focus()},onChange:()=>!1,tabIndex:-1}))}),xc=n.memo(({expandedRowRenderer:e,isExpanded:t,row:l,texts:a})=>e(l.original)?n.createElement(qa,{title:n.createElement(n.Fragment,null,t?a.table2.columns.expansion.collapse:a.table2.columns.expansion.expand,n.createElement(ni,{className:"ml-2",keys:{key:t?"ArrowLeft":"ArrowRight",meta:!0}}))},n.createElement(Ja,{appearance:"discrete",icon:t?"chevron-down":"chevron-right",onClick:e=>{e.stopPropagation(),l.toggleExpanded()},tabIndex:-1})):null),Ec=n.memo(({row:e,actions:t,actionsLength:a,isEditing:r,shouldPauseHoverState:o,table:i,texts:s})=>{const{isActive:c,isHovered:u}=hc();if(!c&&(!u||o)||r)return null;const d=t.map(t=>t(e.original)).filter(e=>!!e),m=d.length===a?d:d.slice(0,a-1),f=d.slice(d.length===a?a:a-1),g=i.options.meta.activeRowIndex===e.index?0:-1;return n.createElement("span",{className:"-mb-2 -mt-2 flex justify-end text-right"},m.map((e,t)=>{var a,r;return n.cloneElement(e,{appearance:"discrete",className:l("group-hover/row:flex group-[[aria-current]]/row:flex hidden",e.props.className),key:t,tabIndex:g,tooltip:e.props.shortcut?n.createElement(n.Fragment,null,null!==(a=e.props.tooltip)&&void 0!==a?a:e.props["aria-label"],n.createElement(ni,{className:"ml-2",keys:e.props.shortcut})):null!==(r=e.props.tooltip)&&void 0!==r?r:e.props["aria-label"]})}),f.length?n.createElement(Ja,{appearance:"discrete","aria-label":s.table2.columns.actions.tooltip,icon:"more",tabIndex:g,menu:e=>n.createElement(xi,Object.assign({},e),n.createElement(xi.Content,null,f.map((e,t)=>n.createElement(xi.Item,Object.assign({key:t},e.props,{shortcut:e.props.shortcut}),e.props["aria-label"])))),tooltip:s.table2.columns.actions.tooltip}):null)});function yc(e,t){const n=e.filter(e=>{var t;return(null===(t=e.id)||void 0===t?void 0:t.startsWith("__"))&&"__actions"!==e.id}).map(e=>e.id),l=[],a=[];let r=e;Array.isArray(t)&&(r=e.slice().sort((e,n)=>(t.indexOf(e.id)>>>0)-(t.indexOf(n.id)>>>0))),r.forEach(e=>{var t,n;null!==(t=e.id)&&void 0!==t&&t.startsWith("__")||(null!==(n=e.meta)&&void 0!==n&&n.disableReordering?l.push(e.id):a.push(e.id))});const o=[...n,...l,...a];return e.findIndex(e=>"__actions"===e.id)>-1&&o.push("__actions"),o}const Rc=(e="normal",t=!1)=>l("min-h-0 flex items-start",((e,t=!1)=>{switch(e){case"compact":return t?"py-0":"py-1.5";case"comfortable":return t?"py-2":"py-3.5";case"spacious":return t?"py-3":"py-5";default:return t?"py-1":"py-2.5"}})(e,t),t?"px-[7px]":"px-4"),Cc=(e="left")=>({"justify-start text-left":"left"===e,"justify-end text-right":"right"===e,"justify-center text-center":"center"===e}),zc=["A","BUTTON","INPUT","TEXTAREA","SELECT","DETAILS"],Sc=n.forwardRef((function(e,t){var a;const{column:r,frozenColumnIds:o,scrolled:i,style:s,table:c,...u}=e,d=!!r.getIsPinned(),m=c.options.meta.columnOffsets[r.id],f=l("border-grey-300",Cc(null===(a=r.columnDef.meta)||void 0===a?void 0:a.align),((e,t,n)=>{const l=!!e.getIsPinned(),a=t.indexOf(e.id),r=l&&a===t.length-1;return{"shadow-[6px_0px_6px_rgb(0_0_0/8%),1px_0px_0px_theme(colors.grey.300)]":r&&n,"shadow-[1px_0px_0px_theme(colors.grey.300)]":r&&!n&&!(!n&&("__expansion"===e.id||"__select"===e.id))}})(r,o,i),{"cursor-pointer":!!u.onClick},u.className);return n.createElement("div",Object.assign({},u,{className:f,style:{...s,left:d&&Number.isInteger(m)?m:void 0},ref:t}))}));var Nc;!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.IsOneOf=7]="IsOneOf",e[e.IsNoneOf=8]="IsNoneOf",e[e.IsAllOf=9]="IsAllOf",e[e.IsEmpty=10]="IsEmpty",e[e.IsNotEmpty=11]="IsNotEmpty"}(Nc||(Nc={}));const Oc=e=>String(null!=e?e:"").toLocaleLowerCase(),Ic=(e,t)=>Oc(e).includes(Oc(t)),Mc=(e,t)=>Oc(e)===Oc(t),kc=(e,t)=>Ic(e,t),Lc=(e,t)=>{try{if(t.comparator===Nc.IsEmpty||t.comparator===Nc.IsNotEmpty){const n=null==e||""===e;return t.comparator===Nc.IsEmpty?n:!n}if(null==t.value||""===t.value)return!0;switch(t.comparator){case Nc.Contains:return Ic(e,t.value);case Nc.DoesNotContain:return!Ic(e,t.value);case Nc.IsEqualTo:return m.isDate(e)?m.isDate(t.value)&&qr(e,t.value):"boolean"==typeof t.value?e===t.value:Mc(e,t.value);case Nc.IsNotEqualTo:return m.isDate(e)?m.isDate(t.value)&&!1===qr(e,t.value):"boolean"==typeof t.value?e!==t.value:!Mc(e,t.value);case Nc.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 Nc.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 Nc.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 Nc.IsOneOf:return!!Array.isArray(t.value)&&t.value.includes(e);case Nc.IsNoneOf:return!!Array.isArray(t.value)&&!1===t.value.includes(e);case Nc.IsAllOf: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}};var Hc;!function(e){e[e.FIRST=0]="FIRST",e[e.LAST=1]="LAST",e[e.PREV=2]="PREV",e[e.NEXT=3]="NEXT"}(Hc||(Hc={}));const Vc=(e,t,n)=>{const l=n.indexOf(t);return-1===e?l-1>0?l-1:0:l+1<n.length?l+1:l};var Ac;!function(e){e.SEARCH="SEARCH",e.SORTING="SORTING",e.FILTER="FILTER"}(Ac||(Ac={}));const jc=({reason:e,columnName:t,mountNode:l,validationErrors:a})=>{const r=n.useMemo(()=>{const e=document.createElement("div");return e.className+="z-[3] 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}=er();switch(e){case Ac.FILTER:t=l.table2.editing.rowIndicator.rowWillBeHidden,n=l.table2.editing.rowIndicator.rowWillMoveReasonFilter;break;case Ac.SEARCH:t=l.table2.editing.rowIndicator.rowWillBeHidden,n=l.table2.editing.rowIndicator.rowWillMoveReasonSearch;break;case Ac.SORTING:t=l.table2.editing.rowIndicator.rowWillMove,n=l.table2.editing.rowIndicator.rowWillMoveReasonSorting}return{title:t,description:n}})(e);return n.useEffect(()=>(null==l||l.classList.add("relative"),null==l||l.appendChild(r),()=>{null==l||l.classList.remove("relative"),null==l||l.removeChild(r)}),[!!a]),H.createPortal(n.createElement(qa,{title:o.description.replace("[COLUMN]",t)},n.createElement("span",{className:"flex gap-1 hover:cursor-pointer"},n.createElement(ga,{name:"info",className:"!h-4 !w-4 rounded-full bg-white !p-0 text-blue-500"}),o.title)),r)},Dc=e=>null!==e&&e.offsetWidth<e.scrollWidth,Tc=(e,t=[])=>{const[l,a]=n.useState(Dc(e));return n.useEffect(()=>{a(Dc(e))},[e,...t]),{truncated:l}},Fc=({className:e,...t})=>{const a=n.useRef(null),{truncated:r}=Tc(a.current),o=n.createElement("span",Object.assign({className:l("truncate px-px text-xs font-normal leading-normal text-red-500",{"hover:cursor-pointer":r},e),ref:a,role:"alert"},t));return r?n.createElement(qa,{title:t.children},o):o},Pc=(e,t)=>m.isDate(e)&&m.isDate(t)?!qr(e,t):Array.isArray(e)?JSON.stringify(e)!==JSON.stringify(t):e!==t,Bc=["INPUT","BUTTON","A","SELECT","OPTION","LABEL","TEXTAREA","DETAILS"],_c=function(e){var t,a,r;const{cell:o,index:i,isLastRow:s,rowIndex:c,rows:u,scrollToIndex:d,scrollToOffset:m,table:f,tableRef:g,...v}=e,h=f.options.meta,{addFocussableColumnIndex:p,focussableColumnIndexes:w}=h,{editMode:{validationErrors:b,rowMoveReason:x},isHovered:E}=hc(),y=!!b,R=n.useRef(null),C=n.useRef(null),z=null===(t=o.column.columnDef.meta)||void 0===t?void 0:t.className,S=h.activeRowIndex===c,N=!!o.column.getIsPinned(),O=h.dragging[o.row.id],I=o.row.getIsSelected(),M=!wc(o.column.id),k=!(null===(a=o.column.columnDef.meta)||void 0===a||!a.control),H=f.getVisibleLeafColumns(),V=H.length>0?H.length-1:0,A=h.editMode.isEditing&&S,j=A&&M,D=j&&h.editMode.columnIndex===i,T=h.editMode.isEditing&&E&&!h.shouldPauseHoverState,F=Object.keys(x).length>0;n.useEffect(()=>{var e;return F&&s&&(null===(e=g.current)||void 0===e||e.classList.add("pb-4")),()=>{var e;return null===(e=g.current)||void 0===e?void 0:e.classList.remove("pb-4")}},[F,s]);const P=l('[&>[data-taco="tag"]]:-my-0.5','[[data-dragged-over="true"]_&]:bg-grey-100',{"border-b":!s,"sticky z-[1]":N,"bg-white":!S&&!I,"group-hover/row:bg-grey-100":!S&&!I&&!h.shouldPauseHoverState,"bg-grey-200 group-hover/row:bg-grey-200":S&&!I,"bg-blue-100":I,"!wcag-blue-500":O,"[&>*]:!grayscale [&_.bg-white]:!bg-grey-100":!A&&T,"!bg-red-100":y,"z-[1]":N&&S,"z-[3]":N&&S&&0===i,"border-blue !border-y-2 border-x-0":F,"border-l-2 rounded-l":F&&0===i,"border-r-2 rounded-r":F&&i===V},Rc(null===(r=f.options.meta)||void 0===r?void 0:r.rowDensity,(A||T)&&k),"function"==typeof z?z(o.row,f):z),B=e=>{if(0===e.button){const e=document.activeElement,t=null==e?void 0:e.closest('[role="cell"]'),n=h.activeRowIndex!==c;t&&n&&e.blur(),h.setActiveRowIndex(c),h.editMode.isEditing&&(w.includes(i)?h.editMode.setColumn(i):h.editMode.setColumn(w[0]))}},_={...v,column:o.column,table:f,className:P,"data-column-index":i,"data-row-index":c,onMouseDown:B,ref:R,role:"cell"},[q,K]=n.useState(!1);n.useEffect(()=>{h.editMode.columnIndex!==i&&K(!1)},[h.editMode.columnIndex]),n.useEffect(()=>{var e;A&&C.current&&zc.includes((e=C.current).nodeName)&&!e.hasAttribute("disabled")&&!e.hasAttribute("readonly")&&!e.getAttribute("aria-hidden")&&p(i)},[A,w,p,i]);const G=e=>{e===Hc.PREV?h.moveToPreviousRow(u,e=>d(e-1)):e===Hc.NEXT&&h.moveToNextRow(u,e=>d(e+2))};if(h.editMode.onSave&&k&&(j||T&&M)){if(_.onMouseDown=e=>{const t=e.target,n=null!==t&&"INPUT"===t.nodeName;e.currentTarget.contains(t)&&(B(e),n&&t!==document.activeElement?(e.preventDefault(),setTimeout(()=>{t.select()},1)):n&&t===document.activeElement&&0===e.button&&K(!0))},_.onBlur=()=>{K(!1)},j){var W,U;const e=null!==(W=w.at(0))&&void 0!==W?W:0,t=null!==(U=w.at(-1))&&void 0!==U?U:0;_.onKeyDown=n=>{const l=n.target;if("INPUT"===l.nodeName&&"true"===(null==l?void 0:l.getAttribute("data-inline-editing-component"))||!n.isDefaultPrevented()&&!n.isPropagationStopped()){if("INPUT"===l.tagName){if("Enter"===n.key){n.preventDefault();const e=l;var a,r,o,f;return q?null==e||null===(a=e.select)||void 0===a||a.call(e):null===(r=e.setSelectionRange)||void 0===r||r.call(e,null===(o=e.value)||void 0===o?void 0:o.length,null===(f=e.value)||void 0===f?void 0:f.length),void K(!q)}null!=l&&l.closest('[data-taco="datepicker"]')&&/^[a-z0-9]$/i.test(n.key)&&K(!0)}var v;if("Escape"===n.key&&n.currentTarget.contains(l))n.preventDefault(),q?K(!1):(h.editMode.toggleEditing(!1),null===(v=g.current)||void 0===v||v.focus());else if(!q&&"ArrowLeft"===n.key||"Tab"===n.key&&n.shiftKey){n.preventDefault();const t=0===c,a=i===e;n.ctrlKey||n.metaKey?a||(l.blur(),h.editMode.moveToFirstColumn(w)):t&&a||(l.blur(),h.editMode.moveToPreviousColumn(w,G))}else if(!q&&"ArrowRight"===n.key||"Tab"===n.key&&!n.shiftKey){n.preventDefault();const e=i===t;n.ctrlKey||n.metaKey?e||(l.blur(),h.editMode.moveToLastColumn(w)):s&&e||(l.blur(),h.editMode.moveToNextColumn(w,G))}else{if(!q&&"ArrowUp"===n.key){if(n.preventDefault(),0===c)return;return l.blur(),n.ctrlKey||n.metaKey?(h.setActiveRowIndex(0),m(0)):G(Hc.PREV),void h.setShouldPauseHoverState(!0)}if(!q&&"ArrowDown"===n.key){if(n.preventDefault(),c===u.length-1)return;return l.blur(),n.ctrlKey||n.metaKey?(h.setActiveRowIndex(u.length-1),d(u.length+20)):G(Hc.NEXT),void h.setShouldPauseHoverState(!0)}}}}}return n.createElement(Sc,Object.assign({},_),n.createElement(qc,{detailModeEditing:q,cell:o,cellRef:R,columnIndex:i,isEditingThisCell:D,onSave:h.editMode.onSave,rowIndex:c,table:f,tableRef:g,ref:C,rowValues:u[c].original,rowsLength:u.length,enableDetailModeEditing:()=>{q||K(!0)}}))}return h.onRowClick&&(_.onClick=e=>{const{target:t}=e;if(R.current&&t instanceof HTMLElement&&R.current.contains(t)){var n;if(Bc.includes(t.tagName)||t.closest(Bc.map(e=>"[role=row] "+e).join(",")))return;null===(n=h.onRowClick)||void 0===n||n.call(h,o.row.original)}}),n.createElement(Sc,Object.assign({},_),L.flexRender(o.column.columnDef.cell,o.getContext()))},qc=n.memo(n.forwardRef((e,t)=>{var a,r,o,i,s;const{cell:c,cellRef:u,columnIndex:d,detailModeEditing:m,isEditingThisCell:f=!1,onSave:g,rowIndex:v,rowValues:h,table:p,tableRef:w,enableDetailModeEditing:b}=e,{editMode:{validationErrors:x,setValidationErrors:E,rowMoveReason:y,setRowMoveReason:R},isHovered:C}=hc(),z=ja(t),S=c.column.id,N=null==x?void 0:x[S],O=c.getValue(),I=c.column.columnDef.header,M=p.options.meta,{globalFilter:k}=p.getState(),[L,H]=n.useState(O),V=!(M.editMode.isEditing&&M.activeRowIndex!==v&&C||!N),A=n.useRef(O),j=n.useRef(!1),D=function(e){try{let t=L;null!=e&&e.target||(t=e);const n=function(){if(Pc(O,t)){const e=ss((function(){const e={...c.row.original,[S]:t};return Promise.resolve(g(e,S)).then((function(){M.shouldPauseSortingAndFiltering&&(M.lastSortedOrFilteredRows.current=M.lastSortedOrFilteredRows.current.map(t=>(t.id===c.row.id&&(t.original=e),t))),E(null)}))}),(function(e){E({...x,...e})}));if(e&&e.then)return e.then((function(){}))}}();return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(e){return Promise.reject(e)}};n.useEffect(()=>{var e;const t=null===(e=M.tableRef.current)||void 0===e?void 0:e.contains(document.activeElement),n=document.body===document.activeElement;var l,a;f&&(t||n)&&(null===(l=z.current)||void 0===l||null===(a=l.focus)||void 0===a||a.call(l))},[f,z.current]);const T=n.useMemo(()=>{const e=p.getState().columnPinning.left;if(Array.isArray(e)&&e.length>0){const n=e[e.length-1],l=M.columnOffsets[n];var t;if(void 0!==l)return l+(null!==(t=p.getState().columnSizing[n])&&void 0!==t?t:0)}return 0},[M.columnOffsets,p.getState().columnSizing]);n.useEffect(()=>{var e;return Pc(A.current,L)?("INPUT"===(null===(e=z.current)||void 0===e?void 0:e.nodeName)&&b(),B()):_(),_},[L]),n.useEffect(()=>{var e,t;const n="INPUT"===(null===(e=z.current)||void 0===e?void 0:e.nodeName)&&"true"===(null===(t=z.current)||void 0===t?void 0:t.getAttribute("data-inline-editing-component"));var l;j.current&&n&&(null===(l=z.current)||void 0===l||l.select()),j.current=!1},[j.current]);const F=e=>{var t,n,l;M.editMode.setColumn(d),null!==(t=e.target)&&void 0!==t&&t.select&&(null===(l=e.target)||void 0===l||l.select());const a=null===(n=u.current)||void 0===n?void 0:n.getBoundingClientRect(),r=M.columnOffsets[S];var o;a&&r&&a.left<T&&(null===(o=w.current)||void 0===o||o.scrollTo(r-T,w.current.scrollTop))},P=e=>{const t=e.target;"INPUT"===t.nodeName&&"true"===(null==t?void 0:t.getAttribute("data-inline-editing-component"))&&"Escape"===e.key&&(H(A.current),j.current=!0)},B=()=>{var e;let t=null;Object.values({...h,[S]:L}).some(e=>kc(String(e),k?String(k):""))?c.column.getIsFiltered()&&!Lc(L,c.column.getFilterValue())?t=Ac.FILTER:!t&&c.column.getIsSorted()&&((e,t,n,l,a)=>{const r=[{...t.row,original:{...t.row.original,[t.column.id]:e}}];r[0].getValue=()=>e;let o=0;n>0&&(r.unshift(l[n-1]),o=1),n<l.length-1&&r.push(l[n+1]);let i=[...r].sort((e,n)=>t.column.getSortingFn()(e,n,t.column.id));return a&&(i=i.reverse()),i[o].id!==t.row.id})(L,c,v,p.getRowModel().rows,!(null===(e=p.getState().sorting.find(e=>e.id===c.column.id))||void 0===e||!e.desc))&&(t=Ac.SORTING):t=Ac.SEARCH,null!==t&&(M.setShouldPauseSortingAndFiltering(!0),R({[S]:t}))},_=()=>{R(e=>{const t={...e};return delete t[S],t})},q=null===(a=c.column.columnDef.meta)||void 0===a?void 0:a.control,K={"aria-label":I,onBlur:D,onFocus:F,ref:t,"data-inline-editing-component":"true"},G=l(Cc(null===(r=c.column.columnDef.meta)||void 0===r?void 0:r.align)),W=null===(o=u.current)||void 0===o||null===(i=o.parentElement)||void 0===i?void 0:i.querySelector(":first-child");let U;const $=l({"!yt-focus-dark":m});if(q)if("function"==typeof q)U=q({invalid:V,onBlur:D,onFocus:F,ref:z,setValue:H,value:L,"data-inline-editing-component":"true"},c.row.original);else switch(q){case"datepicker":U=n.createElement(to,Object.assign({},K,{className:l({"[&_input]:!shadow-[0_0_0_4px_rgba(0,99,255,0.25)]":m}),invalid:V,onBlur:e=>{D(e.detail)},onChange:e=>{H(e.detail)},ref:z,value:L}));break;case"switch":U=n.createElement(Hs,Object.assign({},K,{className:l("mx-2 mt-1.5",$),checked:Boolean(L),onChange:H,ref:z}));break;default:U=n.createElement(br,Object.assign({},K,{className:l(G,$),invalid:V,onChange:e=>{H(e.target.value)},ref:z,value:String(null!=L?L:""),onKeyDown:P}))}const J=null!==(s=y[S])&&void 0!==s?s:null;return n.createElement(n.Fragment,null,null!==J&&n.createElement(jc,{reason:J,columnName:String(c.column.columnDef.header),mountNode:W,validationErrors:x}),n.createElement("span",{className:"relative flex-grow"},U,V&&n.createElement(Fc,null,String(N))))})),Kc=function(e){var t,a,r,o,i,s,c,u,d;const{header:m,index:f,isLastColumn:g,table:v,tableRef:h,...p}=e,w=n.useRef(null),b=!!m.column.getIsPinned(),x=v.getState().columnSizingInfo.isResizingColumn&&v.getState().columnSizingInfo.isResizingColumn!==m.id,{enableColumnFreezing:E}=v.options.meta,y=l("group/header sticky top-0 bg-white border-b-2 relative font-bold z-[5] hover:z-[6]",{"z-[6]":m.column.getIsResizing(),"z-[7]":b,"cursor-pointer select-none":m.column.getCanSort(),"hover:bg-grey-100":m.column.getCanSort()||m.column.getCanResize()||(null===(t=m.column.columnDef.meta)||void 0===t?void 0:t.menu),"pointer-events-none":x},Rc("normal"),null===(a=m.column.columnDef.meta)||void 0===a?void 0:a.headerClassName,e.className),R=m.column.getCanSort()?e=>{var t;0===e.button&&(e.preventDefault(),v.resetRowSelection(),m.column.toggleSorting(),null===(t=h.current)||void 0===t||t.focus())}:void 0,C=e=>{e.stopPropagation(),m.getResizeHandler()(e)},z=n.createElement("div",{className:"truncate",ref:w},L.flexRender(m.column.columnDef.header,m.getContext())),{texts:S}=er();return n.createElement(Sc,Object.assign({},p,{column:m.column,table:v,"aria-sort":null!==(r={asc:"ascending",desc:"descending"}[m.column.getIsSorted()])&&void 0!==r?r:"none",className:y,onMouseDown:R,ref:e=>{if(e&&!v.getState().columnSizing[m.id]){const t=Math.ceil(e.getBoundingClientRect().width);v.setColumnSizing(e=>({...e,[m.id]:!pc(m.id)&&t<80?80:t}))}},role:"columnheader","data-column-index":f}),pc(m.id)?L.flexRender(m.column.columnDef.header,m.getContext()):n.createElement(n.Fragment,null,n.createElement("div",{className:l("flex flex-grow overflow-hidden",{"group-hover/header:-ml-2":!!m.column.getIsSorted()&&!(null===(o=m.column.columnDef.meta)||void 0===o||!o.menu)},Cc(null===(i=m.column.columnDef.meta)||void 0===i?void 0:i.align))},null!==(N=w.current)&&N.scrollWidth>N.offsetWidth?n.createElement(qa,{title:null!==(s=null===(c=m.column.columnDef.meta)||void 0===c?void 0:c.tooltip)&&void 0!==s?s:z,placement:"top"},z):z,null!==(u={asc:n.createElement(ga,{name:"chevron-up-solid",className:"pointer-events-none -my-0.5"}),desc:n.createElement(ga,{name:"chevron-down-solid",className:"pointer-events-none -my-0.5"})}[m.column.getIsSorted()])&&void 0!==u?u:null),!wc(m.column.id)&&(null!==(d=m.column.columnDef.meta)&&void 0!==d&&d.menu||E)?n.createElement(Gc,{header:m,table:v,columnIndex:f}):null),m.column.getCanResize()?n.createElement(qa,{placement:"top",title:S.table2.columns.resize.tooltip},n.createElement("div",{className:l("invisible absolute right-0 top-0 flex h-full cursor-col-resize touch-none select-none rounded py-0.5 group-hover/header:visible",{"-mr-2.5 w-5 justify-center":!g,"w-2":g,"!visible":m.column.getIsResizing()}),onDoubleClick:()=>{var e;const t=null===(e=m.column.columnDef.meta)||void 0===e?void 0:e.defaultWidth;v.setColumnSizing(e=>{const n={...e};return"grow"===t?n[m.id]="1fr":"number"==typeof t?n[m.id]=!pc(m.id)&&t<80?80:t:delete n[m.id],n})},onMouseDown:C,onTouchStart:C,onClick:e=>{e.stopPropagation(),e.preventDefault()}},n.createElement("div",{className:l("h-full w-1 rounded",{"!bg-blue-500":m.column.getIsResizing(),"bg-grey-500 hover:bg-grey-700":!m.column.getIsResizing()})}))):null);var N},Gc=({header:e,table:t,columnIndex:a})=>{var r;const[o,i]=n.useState(!1),{texts:s}=er(),c=null===(r=e.column.columnDef.meta)||void 0===r?void 0:r.menu,u=t.options.meta,{frozenColumnsCount:d,setFrozenColumnsCount:m}=u,f=t.getVisibleLeafColumns(),{columnVisibility:g,columnOrder:v}=t.getState(),h=n.useMemo(()=>f.filter(e=>pc(e.id)).length,[f]),p=l("-my-0.5 -mr-1 -ml-0.5 hidden !h-6 !min-h-[theme(spacing.6)] !w-6 !min-w-[theme(spacing.6)] flex-shrink-0 justify-end group-hover/header:flex",{"!flex":o}),w=[];if(t.options.enableHiding&&e.column.getCanHide()&&w.push(n.createElement(xi.Item,{icon:"eye-off",onClick:()=>setTimeout(()=>e.column.toggleVisibility(),1)},s.table2.columns.menu.hideColumn)),u.enableColumnFreezing){const e=a+1-h,t=0!==d,l=()=>{m(0)};w.push(n.createElement(xi.Item,{icon:"column-freeze",onClick:()=>{m(e)},key:"_freeze-columns_"},s.table2.columns.menu.freezeColumns(e))),t&&w.push(n.createElement(xi.Item,{icon:"column-unfreeze",onClick:l,key:"_unfreeze-columns_"},s.table2.columns.menu.unfreezeColumns))}n.useEffect(()=>{t.setColumnPinning({left:f.slice(0,h+d).map(e=>e.id),right:[]})},[d,g,v,h]);const b={trigger:n.createElement(Ja,{className:p,icon:"more"}),open:o,onChange:i};if(c){const e=c({trigger:void 0}),t=n.Children.toArray(e.props.children.props.children);t.length&&(w.length&&w.push(n.createElement(xi.Separator,null)),w.push(...t))}const x=n.createElement(xi,Object.assign({},b),n.createElement(xi.Content,null,w.map((e,t)=>n.cloneElement(e,{key:t}))));return x?n.createElement("div",{onMouseDown:e=>e.stopPropagation()},x):null},Wc=function(e){const{children:t,footer:a,index:r,table:o,...i}=e,s=!!a.column.getIsPinned(),c=l("group/header sticky bottom-0 bg-white border-t-2 relative z-[1]","flex items-center px-4 h-[calc(theme(spacing.10)+2px)]",{"!z-[2]":s,"!shadow-none":wc(a.id)},e.className);return n.createElement(Sc,Object.assign({},i,{column:a.column,table:o,className:c,role:"cell","data-column-index":r}),n.createElement("span",{className:"truncate"},t))},Uc=4,$c={compact:33,normal:41,comfortable:49,spacious:57},Jc=e=>{switch(e){case"compact":return"short";case"normal":return"medium";case"comfortable":return"tall";case"spacious":return"extra-tall"}},Xc=({table:e})=>{const{texts:t}=er(),l=e.options.meta;return n.createElement(Ja,{"aria-label":t.table2.rowDensity.tooltip,icon:"height-"+Jc(l.rowDensity),menu:e=>n.createElement(xi,Object.assign({},e),n.createElement(xi.Content,{align:"end"},n.createElement(xi.RadioGroup,{onChange:e=>l.setRowDensity(e),value:l.rowDensity},n.createElement(xi.RadioGroup.Item,{value:"compact"},t.table2.rowDensity.compact),n.createElement(xi.RadioGroup.Item,{value:"normal"},t.table2.rowDensity.normal),n.createElement(xi.RadioGroup.Item,{value:"comfortable"},t.table2.rowDensity.comfortable),n.createElement(xi.RadioGroup.Item,{value:"spacious"},t.table2.rowDensity.spacious)))),tooltip:t.table2.rowDensity.tooltip})};function Yc(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 Qc(e){const{children:t,reorder:l,move:a}=e;return n.createElement(A.DndContext,Object.assign({collisionDetection:A.closestCenter},e,{onDragOver:function(e){const{active:n,over:l}=e;if(null==n||!n.id||null==l||!l.id)return;const r=Yc(t,n.id),o=Yc(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=Yc(t,n.id),o=Yc(t,a.id);null!=r&&r.id&&null!=o&&o.id&&r.id===o.id&&l(n.id,a.id,o.id)}}),t)}function Zc(e){const{asChild:t,children:l,disabled:a=!1,id:r}=e,{attributes:o,listeners:i,setNodeRef:s,transform:c,transition:u}=j.useSortable({disabled:a,id:r}),d={transform:D.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 eu(e){const{children:t,id:l,...a}=e,{setNodeRef:r}=A.useDroppable({id:l}),o=n.Children.toArray(t).map(e=>e.props);return n.createElement(j.SortableContext,{id:l,items:o,strategy:j.verticalListSortingStrategy},n.createElement("div",Object.assign({},a,{ref:l?r:void 0}),t))}Qc.displayName="SortableContainer",Zc.displayName="SortableListItem",eu.displayName="SortableList";const tu=({tooltip:e,children:t})=>{const a=n.useRef(null),[r,o]=n.useState(!1),{truncated:i}=Tc(a.current,[r]);n.useEffect(()=>(o(!0),()=>o(!1)),[]);const s=n.cloneElement(n.Children.only(t),{ref:a,className:l(t.props.className,"truncate")});return i?n.createElement(qa,{title:e},s):s};function nu(e){var t,n,l;return null!==(t=null!==(n=null===(l=e.columnDef.header)||void 0===l?void 0:l.toString())&&void 0!==n?n:e.columnDef.id)&&void 0!==t?t:""}const lu=n.forwardRef((function(e,t){const{column:a,draggable:r=!1,isOrderingEnabled:o,...i}=e,s=a.getCanHide(),c=l("group/column flex items-center gap-x-2 rounded py-1 px-2",{"hover:bg-grey-200":s||r,"hover:cursor-pointer":s,"active:cursor-move active:bg-grey-300":r}),u=r?i:void 0,d=nu(a),m=a.getIsVisible();return n.createElement("div",Object.assign({},u,{key:a.id,className:c,onClick:()=>a.toggleVisibility(!m),ref:t}),r?n.createElement(ga,{name:"drag",className:"text-grey-500 group-hover/column:text-grey-700 -mx-2 !h-5"}):o?n.createElement("span",{className:"flex w-2"}):null,n.createElement(tu,{tooltip:d},n.createElement("span",{className:"flex-grow select-none"},d)),s?n.createElement(dr,{checked:m,onChange:()=>a.toggleVisibility(!m)}):null)}));function au(e){const{table:t}=e,{texts:l}=er(),[a,r]=n.useState(""),o=t.getAllLeafColumns(),i=t.options.meta,s=n.useMemo(()=>o.filter(e=>!wc(e.id)).filter(e=>null==a||!a.length||nu(e).toLowerCase().includes(a.toLowerCase())),[o,a]),c="flex max-h-64 flex-col gap-y-px overflow-auto",u=(e,n)=>{s.find(e=>{var t;return e.id===n&&(null===(t=e.columnDef.meta)||void 0===t?void 0:t.disableReordering)})||t.setColumnOrder(t=>yc(o,j.arrayMove(t,t.findIndex(t=>t===e),t.findIndex(e=>e===n))))};return n.createElement(lr,{popover:e=>n.createElement(eo,Object.assign({},e),n.createElement(eo.Content,{align:"end"},n.createElement("div",{className:"flex w-60 flex-col gap-2"},t.options.enableHiding?n.createElement(br,{onChange:e=>r(e.target.value),placeholder:l.table2.columnSettings.search,value:a}):null,!i.enableColumnReordering||!s.length||null!=a&&a.length?n.createElement("div",{className:c},s.length?s.map(e=>n.createElement(lu,{column:e,key:e.id})):l.table2.columnSettings.noResults):n.createElement(Qc,{reorder:u},n.createElement(eu,{id:"columns",className:c},s.map(e=>{var t,l;return n.createElement(Zc,{key:e.id,id:e.id,disabled:null===(t=e.columnDef.meta)||void 0===t?void 0:t.disableReordering,asChild:!0},n.createElement(lu,{column:e,draggable:!(null!==(l=e.columnDef.meta)&&void 0!==l&&l.disableReordering),isOrderingEnabled:!0}))})))))),tooltip:l.table2.columnSettings.tooltip},n.createElement(ga,{name:"columns"})," ",l.table2.columnSettings.button)}const ru=({index:e,setSize:t,...l})=>{const a=n.useRef(null);return n.useEffect(()=>{if(a.current){var n;const l=null===(n=a.current)||void 0===n?void 0:n.getBoundingClientRect().height;t(t=>{var n;return l!==t[e]?{...t,[e]:null===(n=a.current)||void 0===n?void 0:n.getBoundingClientRect().height}:t})}},[]),null==l.children?null:n.createElement("div",Object.assign({className:"border-grey-300 bg-grey-50 col-span-full border-b p-4"},l,{ref:a}))},ou=(e,t=[])=>{const[l,a]=n.useState(),r=vr(e,t);return n.useEffect(()=>{if(e.current){const t=ps(e.current);a(t)}},[e,null==r?void 0:r.width,...t]),l},iu=l(Ka(),"hover:bg-white/[0.08] disabled:opacity-50 disabled:cursor-not-allowed flex-shrink-0 rounded px-2");function su(e,t){return"function"==typeof e?e(t):e}function cu(e,t,l){return e.map((e,a)=>{const r=n.createElement("button",{className:iu,disabled:su(e.disabled,t),onClick:e.onClick?()=>e.onClick?e.onClick(t,l):void 0:void 0},e.icon?n.createElement(ga,{name:su(e.icon,t)}):null,su(e.text,t));return n.createElement(n.Fragment,{key:a},"function"==typeof e.dialog?e.dialog(t,l)({trigger:r}):r)})}function uu({actionsForTable:e=[],summary:t,table:a,...r}){const o=l("bg-blue-900 yt-shadow flex w-96 flex-col gap-2 divide-y divide-white/25 rounded p-2 text-white",r.className),i=n.useRef(null),s=ou(i,e),c=a.getSelectedRowModel().rows,u=c.map(e=>e.original),d=()=>a.toggleAllRowsSelected(!1),m=e.filter(e=>void 0===e.visible||("function"==typeof e.visible?e.visible(u):e.visible));let f;if(null!=s&&s<e.length){const e=m.slice(0,s),t=m.slice(s);f=n.createElement(n.Fragment,null,cu(e,u,d),t.length?n.createElement(xi,null,n.createElement(xi.Trigger,null,n.createElement("button",{className:l(iu,"ml-auto w-8")},n.createElement(ga,{name:"more",className:"m-0 p-0"}))),n.createElement(xi.Content,null,t.map((e,t)=>n.createElement(xi.Item,{key:t,dialog:e.dialog?e.dialog(u,d):void 0,disabled:su(e.disabled,u),icon:su(e.icon,u),onClick:e.onClick?()=>e.onClick?e.onClick(u,d):void 0:void 0},su(e.text,u))))):null)}else f=cu(m,u,d);return n.createElement("div",Object.assign({},r,{className:o,tabIndex:0}),n.createElement("div",{className:"flex items-center justify-between gap-2 px-2"},c.length," items selected ",t?" - "+t(u):void 0,n.createElement(qa,{title:"Reset selected",placement:"top"},n.createElement("button",{"aria-label":"Reset selected",className:"rounded hover:bg-white/[0.08]",onClick:d},n.createElement(ga,{name:"close"})))),n.createElement("div",{className:"flex w-full gap-px overflow-hidden px-1 pt-2",ref:i},f))}const du=({onRowDrop:e,row:t,rowIndex:l,table:a,...r})=>{const{setIsHovered:o}=hc(),i=a.options.meta,s=i.activeRowIndex===l,c=i.dragging[t.id],[u,d]=Ci(n=>e(n,t.original)),m={...r,..."function"==typeof e?d:void 0,"aria-current":!!s||void 0,"aria-grabbed":!!c||void 0,"data-row-index":l,"data-dragged-over":u,draggable:!!i.enableRowDragging||void 0,onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),role:"row"};return n.createElement("div",Object.assign({},m))},mu=e=>n.createElement(vc,{isActiveRow:e.table.options.meta.activeRowIndex===e.rowIndex,meta:e.table.options.meta,rowIndex:e.rowIndex},n.createElement(du,Object.assign({},e))),fu=({allColumns:e,column:t,index:l,table:a,...r})=>n.createElement(ks,Object.assign({},r,{autoFocus:!0,onChange:e=>{a.setColumnFilters(t=>{const n=[...t];return n[l].id=e,n[l].value={},n})},value:t.id}),e.map(e=>n.createElement(ks.Option,{key:e.id,disabled:!e.getCanFilter()||e.id!==t.id&&!!a.getState().columnFilters.find(t=>t.id===e.id),value:e.id},String(e.columnDef.header)))),gu=({column:e,comparator:t,validComparators:l,...a})=>{const{texts:r}=er();return n.useEffect(()=>{if(void 0===t){const t=l[0];e.setFilterValue(e=>({comparator:t,value:t!==Nc.IsBetween||Array.isArray(e.value)?e.value:[]}))}},[]),n.createElement(ks,Object.assign({},a,{onChange:t=>{e.setFilterValue(e=>({comparator:t,value:t===Nc.IsBetween?[]:e.value}))},value:t}),l.map(e=>n.createElement(ks.Option,{key:e,value:e},vu(e,r))))},vu=(e,t)=>{switch(e){case Nc.Contains:return t.table2.filters.comparators.contains;case Nc.DoesNotContain:return t.table2.filters.comparators.doesNotContain;case Nc.IsEqualTo:return t.table2.filters.comparators.isEqualTo;case Nc.IsNotEqualTo:return t.table2.filters.comparators.isNotEqualTo;case Nc.IsGreaterThan:return t.table2.filters.comparators.isGreaterThan;case Nc.IsLessThan:return t.table2.filters.comparators.isLessThan;case Nc.IsBetween:return t.table2.filters.comparators.isBetween;case Nc.IsOneOf:return t.table2.filters.comparators.isOneOf;case Nc.IsNoneOf:return t.table2.filters.comparators.isNoneOf;case Nc.IsAllOf:return t.table2.filters.comparators.isAllOf;case Nc.IsEmpty:return t.table2.filters.comparators.isEmpty;case Nc.IsNotEmpty:return t.table2.filters.comparators.isNotEmpty}},hu=({column:e,comparator:t,value:l})=>{var a,r;const o=e.columnDef.header;if(t===Nc.IsEmpty||t===Nc.IsNotEmpty)return null;if(t===Nc.IsBetween){var i;const t=Array.isArray(l)?l[0]:void 0,a=Array.isArray(l)?l[1]:void 0;return"datetime"===(null===(i=e.columnDef.meta)||void 0===i?void 0:i.dataType)?n.createElement("div",{className:"flex flex-grow items-center gap-2"},n.createElement(to,{"aria-label":o,onChange:t=>e.setFilterValue(e=>({...e,value:[t.detail,a]})),value:t}),n.createElement(to,{"aria-label":o,onChange:n=>e.setFilterValue(e=>({...e,value:[t,n.detail]})),value:a})):n.createElement("div",{className:"flex flex-grow items-center gap-2"},n.createElement(br,{"aria-label":o,className:"flex-grow",placeholder:"from",onChange:t=>{const n=parseInt(t.target.value);e.setFilterValue(e=>({...e,value:[isNaN(n)?void 0:n,a]}))},value:null!=t?t:""}),n.createElement(br,{className:"flex-grow",placeholder:"to",onChange:n=>{const l=parseInt(n.target.value);e.setFilterValue(e=>({...e,value:[t,isNaN(l)?void 0:l]}))},value:null!=a?a:""}))}return"datetime"===(null===(a=e.columnDef.meta)||void 0===a?void 0:a.dataType)?n.createElement(to,{"aria-label":o,onChange:t=>e.setFilterValue(e=>({...e,value:t.detail})),value:l}):"boolean"===(null===(r=e.columnDef.meta)||void 0===r?void 0:r.dataType)?n.createElement(Hs,{"aria-label":o,onChange:t=>e.setFilterValue(e=>({...e,value:t})),checked:l}):n.createElement(br,{"aria-label":o,className:"flex-grow",onChange:t=>e.setFilterValue(e=>({...e,value:t.target.value})),required:!0,value:null!=l?l:""})},pu=e=>{var t,l;const{allColumns:a,column:r,index:o,table:i,onRemove:s}=e,{comparator:c,value:u}=r.getFilterValue(),d=String(null!==(t=r.columnDef.header)&&void 0!==t?t:""),{texts:m}=er(),f=n.useRef(null);let g;const v=null===(l=r.columnDef.meta)||void 0===l?void 0:l.control;"function"==typeof v?g=v({onBlur:()=>Promise.resolve(),onFocus:()=>Promise.resolve(),ref:f,setValue:e=>r.setFilterValue(t=>({...t,value:e})),value:u,disabled:!1,readOnly:!1}):"input"===v?g=n.createElement(br,{"aria-label":d,onChange:e=>r.setFilterValue(t=>({...t,value:e.target.value})),value:String(null!=u?u:"")}):"datepicker"===v?g=n.createElement(to,{"aria-label":d,onChange:e=>r.setFilterValue(t=>({...t,value:e.detail})),value:u}):"switch"===v&&(g=n.createElement(Hs,{"aria-label":d,checked:Boolean(u),onChange:e=>r.setFilterValue(t=>({...t,value:e}))}));const h=wu(g,v);return n.createElement("div",{className:"flex gap-2"},n.createElement("div",{className:"flex w-14 flex-shrink-0 items-center justify-end pr-2 text-right"},0===o?m.table2.filters.conditions.where:m.table2.filters.conditions.and),n.createElement(fu,{className:"!w-32 flex-shrink-0",allColumns:a,column:r,index:o,table:i}),n.createElement(gu,{className:"!w-32 flex-shrink-0",column:r,comparator:c,validComparators:h}),void 0!==c?n.createElement("div",{className:"flex flex-grow items-center"},n.createElement(hu,{column:r,comparator:c,value:u})):null,n.createElement(Ja,{appearance:"discrete",icon:"close",onClick:()=>{r.setFilterValue(void 0),null==s||s()}}))},wu=(e,t)=>{if(n.isValidElement(e)){const{props:t,type:n}=e;if("Select2"===n.displayName)return t.multiple?[Nc.IsOneOf,Nc.IsNoneOf,Nc.IsAllOf]:[Nc.IsEqualTo,Nc.IsNotEqualTo]}switch(t){case"datepicker":return[Nc.IsEqualTo,Nc.IsNotEqualTo,Nc.IsGreaterThan,Nc.IsLessThan,Nc.IsBetween];case"switch":return[Nc.IsEqualTo];default:return[Nc.Contains,Nc.DoesNotContain,Nc.IsEqualTo,Nc.IsNotEqualTo,Nc.IsEmpty,Nc.IsNotEmpty,Nc.IsGreaterThan,Nc.IsLessThan,Nc.IsBetween]}},bu=e=>{const{texts:t}=er(),{onChange:l,onRemove:a,allColumns:r,table:o,index:i,filteredColumns:s,emptyFilterCount:c}=e;return n.createElement("div",{className:"flex gap-2"},n.createElement("div",{className:"flex w-14 flex-shrink-0 items-center justify-end pr-2 text-right"},s.length>0||0===s.length&&i>0?t.table2.filters.conditions.and:t.table2.filters.conditions.where),n.createElement(ks,{className:"!w-32 flex-shrink-0",emptyValue:null,autoFocus:!0,onChange:e=>{e&&(null==l||l(e))},value:null},r.map(e=>n.createElement(ks.Option,{key:e.id,value:e.id,disabled:!e.getCanFilter()||!!o.getState().columnFilters.find(t=>t.id===e.id)},String(e.columnDef.header)))),n.createElement(ks,{className:"!w-32 flex-shrink-0",value:1,autoFocus:!0,disabled:!0},n.createElement(ks.Option,{key:"condition1",value:1},t.table2.filters.emptyFilter.condition),n.createElement(ks.Option,{key:"condition2",value:2},"Condition2")),n.createElement(br,{"aria-label":"Value",className:"flex-grow items-center",disabled:!0,value:t.table2.filters.emptyFilter.value}),(c>1||s.length>0)&&n.createElement(Ja,{appearance:"discrete",icon:"close",onClick:a}))},xu=({length:e,table:t})=>{const{texts:a}=er(),r=n.useRef(null),o=t.getAllLeafColumns().filter(e=>!wc(e.id)).sort((e,t)=>{var n,l;return null===(n=e.columnDef)||void 0===n?void 0:n.header.localeCompare(null===(l=t.columnDef)||void 0===l?void 0:l.header)}),{shouldDisableTableActions:i}=t.options.meta,s=t.getState().columnFilters,c=s.reduce((e,t)=>{const n=o.find(e=>e.id===t.id);return n?[...e,n]:e},[]),[u,d]=n.useState(1),m=()=>d(u+1),f=()=>{t.resetColumnFilters(),d(1)};Ba({key:"f",meta:!0,shift:!0},e=>{var t;e.preventDefault(),null===(t=r.current)||void 0===t||t.click()});const g=()=>{1===c.length&&0===u&&d(1)},v=()=>{d(u-1)},h=()=>{d(0===c.length?1:0)},p=c.length>0&&c.filter(e=>{var t;const n=null===(t=e.columnDef.meta)||void 0===t?void 0:t.control,l=e.getFilterValue().value,a=e.getFilterValue().comparator;if(Array.isArray(l)){if(l.length>0&&l.find(e=>void 0!==e))return!0}else{if(l)return!0;if([Nc.IsEmpty,Nc.IsNotEmpty].includes(a)&&!n)return!0}return!1}),w=p&&p.length;return n.createElement(lr,{"aria-label":a.table2.filters.tooltip,appearance:w?"primary":"default",className:l({"!wcag-blue-100":w}),disabled:i,popover:l=>n.createElement(eo,Object.assign({},l,{onChange:h}),n.createElement(eo.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"},a.table2.filters.button),n.createElement("p",{className:"text-grey-700 mb-0 mr-auto mt-px inline-flex"},a.table2.filters.total.replace("[CURRENT]",String(t.getFilteredRowModel().rows.length)).replace("[TOTAL]",String(e)))),s.length||u>1?n.createElement(lr,{onClick:f},a.table2.filters.buttons.clearFilters):null),n.createElement("div",{className:"flex flex-col gap-2"},c.map((e,l)=>n.createElement(pu,{key:`${e.id}_${l}`,allColumns:o,index:l,column:e,table:t,onRemove:g})),[...Array(u)].map((e,l)=>n.createElement(bu,{key:"emptyFilter_"+l,index:l,allColumns:o,table:t,onChange:e=>(e=>{const t=o.find(t=>t.getCanFilter()&&t.id===e);t&&t.setFilterValue({comparator:void 0,value:void 0}),d(u-1)})(e),emptyFilterCount:u,filteredColumns:c,onRemove:v})),n.createElement("div",{className:"justify-start"},n.createElement(lr,{appearance:"discrete",onClick:m},"+ ",a.table2.filters.buttons.addNewFilter)))))),ref:r,tooltip:n.createElement(n.Fragment,null,a.table2.filters.tooltip,n.createElement(ni,{className:"ml-2",keys:{key:"f",meta:!0,shift:!0}}))},n.createElement(ga,{name:w?"filter-solid":"filter"}),a.table2.filters.button," ",w?`(${w})`:"")},Eu=e=>{const{value:t,...a}=e,{texts:r}=er(),o=n.useRef(null);Ba({key:"f",meta:!0,shift:!1},e=>{var t;document.activeElement!==o.current&&(e.preventDefault(),null===(t=o.current)||void 0===t||t.focus())});const i=l("w-48",{"!wcag-blue-100":!!t});return n.createElement(qi,Object.assign({},a,{className:i,onBlur:t=>{var n;null===(n=e.onSearch)||void 0===n||n.call(e,t.target.value)},onInput:t=>{var n;e.onInput&&e.onInput(t),t.isDefaultPrevented()||t.currentTarget.value||null===(n=e.onSearch)||void 0===n||n.call(e,"")},onKeyDown:t=>{var n;"Escape"===t.key&&(null===(n=e.onSearch)||void 0===n||n.call(e,""))},placeholder:r.table2.search.placeholder,ref:o}))},yu=n.forwardRef((function(e,t){const{scrollToIndex:a,table:r,tableRef:o}=e,{texts:i}=er(),s=ja(t),c=r.options.meta,{isEditing:u}=c.editMode,d=n.useCallback(e=>!!u&&(e.returnValue=!0,!0),[u]);Ba({key:"e",meta:!0},e=>{var t;e.preventDefault(),null===(t=s.current)||void 0===t||t.click()}),n.useEffect(()=>(window.addEventListener("beforeunload",d),()=>{window.removeEventListener("beforeunload",d)}),[d]);const m=()=>{var e;c.editMode.toggleEditing(),null===(e=o.current)||void 0===e||e.focus(),a(c.activeRowIndex+1)},f=n.useMemo(()=>{const e=r.getVisibleFlatColumns().some(e=>{var t;return void 0!==(null===(t=e.columnDef.meta)||void 0===t?void 0:t.control)});return!e&&u&&m(),e},[r.getState().columnVisibility]);return n.createElement(lr,{onClick:m,className:l({"!wcag-blue-100":c.editMode.isEditing}),disabled:!f,ref:s,tooltip:f?n.createElement(n.Fragment,null,i.table2.editing.tooltip,n.createElement(ni,{className:"ml-2",keys:{key:"e",meta:!0}})):i.table2.editing.tooltipDisabled},n.createElement(ga,{name:"edit"}),i.table2.editing.button)}));function Ru(e){return null}Ru.displayName="Table2Column";const Cu=n.forwardRef((function(e,t){const{emptyState:a,expandedRowRenderer:r,length:o=e.data.length,loadMore:i,onRowClick:s,onRowDrop:c,toolbarLeft:u,toolbarRight:d,_experimentalActionsForTable:m,_experimentalActionsForTableSummary:f}=e,g=ja(t),v=n.useRef(),h=n.useRef(0),{rows:p,table:w,footers:b}=function(e,t,a){var r,o,i,s,c;const{actionsForRow:u=[],actionsForRowLength:d=Uc,data:m,defaultActiveRowIndex:f,disableColumnFiltering:g=!1,disableColumnHiding:v=!1,disableColumnFreezing:h=!1,disableColumnReordering:p=!1,disableColumnResizing:w=!1,disableRowDensity:b=!1,disableRowExpansion:x=!1,disableRowSelection:E=!1,disableMultipleRowSelection:y=!1,disableSearch:R=!1,disableSorting:C=!1,expandedRowRenderer:z,manualColumnFiltering:S=!1,manualSearch:N=!1,manualSorting:O=!1,onChangeSettings:I,onRowClick:M,onRowDrag:k,onRowSelect:H,onSave:V,settings:A={},shortcuts:j,_experimentalActionsForTable:D}=t,T=!x&&!!z,F=!(E||!H&&(null==D||!D.length)),P=!y&&F,{columns:B,internalFrozenColumnCount:_,defaultColumnSizing:q,defaultSorting:K,defaultColumnVisibility:G,footers:W}=function(e,t,a){const{texts:r}=er(),o=n.useRef(),i=L.createColumnHelper();return n.useMemo(()=>{var s;let c=0;const u=[],d={},m={},f=[],g={};return n.Children.toArray(e).filter(e=>!!e).forEach(e=>{if(n.isValidElement(e)){var l;const o="grow"===e.props.defaultWidth?"1fr":e.props.defaultWidth;o&&(d[e.props.accessor]=o),e.props.defaultHidden&&t.enableColumnHiding&&(m[e.props.accessor]=!1),void 0!==e.props.sort&&f.push({id:e.props.accessor,desc:"desc"===e.props.sort}),e.props.footer&&(g[e.props.accessor]=e.props.footer),u.push({accessorKey:e.props.accessor,id:e.props.accessor,cell:t=>{var l;let a=t.getValue();return"function"==typeof e.props.renderer&&(a=e.props.renderer(a,t.row.original)),"string"==typeof a||"number"==typeof a?n.createElement("span",{className:"truncate"},a):null!==(l=a)&&void 0!==l?l:null},header:e.props.header,meta:{align:e.props.align,className:e.props.className,control:e.props.control,dataType:e.props.dataType,defaultWidth:o,disableReordering:e.props.disableReordering,menu:e.props.menu,tooltip:e.props.tooltip},enableHiding:!e.props.disableHiding,enableColumnFilter:!e.props.disableFiltering,filterFn:t.enableColumnFiltering&&!e.props.disableFiltering?"tacoFilter":void 0,enableResizing:!e.props.disableResizing,minSize:null!==(l=e.props.minWidth)&&void 0!==l?l:80,size:e.props.defaultWidth,enableSorting:!e.props.disableSorting,sortingFn:(a=e.props.dataType,r=e.props.sortFn,"function"==typeof r?(e,t,n)=>r(e.original,t.original,n):r||(a&&"boolean"!==a?a:"auto")),sortDescFirst:!1,sortUndefined:1})}var a,r}),t.enableRowExpansion&&t.expandedRowRenderer&&(u.unshift(i.display(function(e,t){return{id:"__expansion",header:({table:e})=>n.createElement(qa,{title:e.getIsSomeRowsExpanded()?t.table2.columns.expansion.collapseAll:t.table2.columns.expansion.expandAll},n.createElement(Ja,{appearance:"discrete",className:"-mb-2 -mt-1.5",icon:e.getIsSomeRowsExpanded()?"chevron-down-double":"chevron-right-double",onClick:t=>{t.stopPropagation(),e.toggleAllRowsExpanded(!e.getIsSomeRowsExpanded())},tabIndex:-1})),cell:({row:l})=>n.createElement(xc,{expandedRowRenderer:e,isExpanded:l.getIsExpanded(),row:l,texts:t}),footer:()=>n.createElement("span",null),meta:{align:"center",className:"items-center !p-0",headerClassName:"items-center hover:!bg-white !p-0"},enableResizing:!1,size:36}}(t.expandedRowRenderer,r))),c++),t.enableRowSelection&&(u.unshift(i.display(function(e,t,l,a,r){let o,i;return e?(o=({table:e})=>n.createElement(qa,{title:n.createElement(n.Fragment,null,e.getIsAllPageRowsSelected()?r.table2.columns.select.deselectAll:r.table2.columns.select.selectAll,n.createElement(ni,{className:"ml-2",keys:{key:"a",meta:!0}}))},n.createElement(dr,{"aria-label":e.getIsAllPageRowsSelected()?r.table2.columns.select.deselectAll:r.table2.columns.select.selectAll,className:"hover:border-blue !mt-0",checked:e.getIsAllPageRowsSelected(),indeterminate:e.getIsSomePageRowsSelected(),onChange:t=>e.toggleAllPageRowsSelected(t),onClick:()=>{var e;null===(e=a.current)||void 0===e||e.focus()},tabIndex:-1})),i=({row:e,table:l})=>n.createElement(bc,{lastSelectedRowIndex:t,rowIndex:e.index,isSelected:e.getIsSelected(),table:l,tableRef:a,texts:r,toggleSelected:e.toggleSelected})):i=({row:e,table:t})=>{const l=t.options.meta;return n.createElement("button",{className:"border-grey-300 focus:yt-focus flex h-5 w-5 mt-[0.45rem] flex-shrink-0 items-center justify-center self-start rounded-full border-2 bg-white hover:border-[5px] aria-checked:border-blue-500 aria-checked:bg-blue-500 hover:aria-checked:border-blue-300","aria-checked":e.getIsSelected(),onClick:t=>{var n;t.stopPropagation(),e.toggleSelected(),l.setActiveRowIndex(e.index),null===(n=a.current)||void 0===n||n.focus()},role:"radio",tabIndex:-1,type:"button"},e.getIsSelected()?n.createElement("span",{className:"h-2.5 w-2.5 rounded-full bg-white"}):null)},{id:"__select",header:o,cell:i,footer:()=>n.createElement("span",null),meta:{align:"center",className:l?"!pl-0 !pr-3":"!px-3",headerClassName:l?"!pl-0 !pr-3":"!px-3"},enableResizing:!1,size:46}}(t.enableMultipleRowSelection,o,t.onRowDrag,a,r))),c++),t.onRowDrag&&(u.unshift(i.display(function(e,t){return{id:"__draggable",cell:({row:l,table:a})=>{const r=a.options.meta;return n.createElement("div",{draggable:!0,onDragStart:t=>{const n=l.getIsSelected()?a.getSelectedRowModel().rows:[l,...a.getSelectedRowModel().rows];r.setDragging(n.reduce((e,t)=>({...e,[t.id]:!0}),{}));const o=n.map(e=>e.original);t.dataTransfer.setData("text",JSON.stringify(o)),e(o,e=>{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=e,document.body.appendChild(n),t.dataTransfer.setDragImage(n,0,0)},e=>t.dataTransfer.setData("text",e))},onDragEnd:()=>{var e;null===(e=document.getElementById("taco_table_dragging"))||void 0===e||e.remove(),r.setDragging({})}},n.createElement(ga,{"aria-label":t.table2.columns.drag.tooltip,name:"drag",className:"text-grey-darkest invisible w-[20px] cursor-grab active:cursor-grabbing group-hover/row:visible group-[[aria-grabbed]]/row:text-white"}))},footer:()=>n.createElement("span",null),meta:{align:"center",className:"items-center !px-0",headerClassName:"items-center !px-0"},enableResizing:!1,size:10}}(t.onRowDrag,r))),c++),null!==(s=t.actionsForRow)&&void 0!==s&&s.length&&u.push(i.display(function(e,t,a){return{id:"__actions",cell:({row:l,table:r})=>{var o,i;return n.createElement(Ec,{row:l,actions:e,actionsLength:t,texts:a,table:r,isEditing:!(null===(o=r.options.meta)||void 0===o||!o.editMode.isEditing),shouldPauseHoverState:!(null===(i=r.options.meta)||void 0===i||!i.shouldPauseHoverState)})},footer:()=>n.createElement("span",null),meta:{align:"right",className:(e,t)=>{var n;return l("items-center print:opacity-0 group-[[aria-current]]/row:sticky group-hover/row:sticky right-0 !px-1 z-[1]",{"group-[[aria-current]]/row:!shadow-[-6px_0px_6px_theme(colors.grey.200)]":!e.getIsSelected(),"group-hover/row:!shadow-[-6px_0px_6px_theme(colors.grey.100)]":!e.getIsSelected()&&(!(null!==(n=t.options.meta)&&void 0!==n&&n.shouldPauseHoverState)||t.options.meta.editMode.isEditing),"shadow-[-6px_0px_6px_theme(colors.blue.100)]":e.getIsSelected()})},headerClassName:"hover:!bg-white !px-1"},enableResizing:!1}}(t.actionsForRow,t.actionsForRowLength,r))),{columns:u,internalFrozenColumnCount:c,defaultColumnSizing:d,defaultColumnVisibility:m,defaultSorting:f,footers:g}},[e])}(e,{actionsForRow:u,actionsForRowLength:d,enableColumnFiltering:!g,enableColumnHiding:!v,enableColumnFreezing:!h,enableRowExpansion:T,enableRowSelection:F,enableMultipleRowSelection:P,expandedRowRenderer:z,onRowDrag:k},a),U=n.useRef(null),$=_+(null!==(r=null==A?void 0:A.frozenColumnCount)&&void 0!==r?r:0),J=B.slice(0,$).map(e=>e.id),X={columnOrder:yc(B,null==A?void 0:A.columnOrder),columnPinning:{left:J,right:[]},columnSizing:null!==(o=null==A?void 0:A.columnSizing)&&void 0!==o?o:q,columnVisibility:null!==(i=null==A?void 0:A.columnVisibility)&&void 0!==i?i:G},Y=[!!k,!!T,!!F].reduce((e,t)=>e+(t?1:0),0),Q=u.length?1:0,Z=((e=0)=>{const[t,l]=n.useState(e),a=(e,t,n)=>{l(l=>{const a=((e,t,n)=>-1===e?t-1>0?t-1:0:t+1<n?t+1:t)(e,l,t.length);return n&&n(a),a})};return{activeRowIndex:t,setActiveRowIndex:e=>l(e),moveToPreviousRow:(e,t)=>a(-1,e,t),moveToNextRow:(e,t)=>a(1,e,t)}})(f),[ee,te]=Ms(),ne=(e=>{const t=!!e,[l,a]=n.useState({enableEditMode:t,isEditing:!1,columnIndex:0});n.useEffect(()=>{a(e=>({...e,enableEditMode:t}))},[t]);const r=(e,t,n)=>{var r,o;const i=null!==(r=t.at(0))&&void 0!==r?r:0,s=null!==(o=t.at(-1))&&void 0!==o?o:0;l.enableEditMode&&a(({columnIndex:l,...a})=>{let r;switch(e){case Hc.FIRST:r=i;break;case Hc.LAST:r=s;break;case Hc.PREV:l===i?(null==n||n(Hc.PREV),r=s):r=t[Vc(-1,l,t)];break;case Hc.NEXT:l===s?(null==n||n(Hc.NEXT),r=i):r=t[Vc(1,l,t)]}return{...a,columnIndex:r}})};return{...l,onSave:e,toggleEditing:(e,t=0)=>{l.enableEditMode&&a(n=>({...n,isEditing:null!=e?e:!n.isEditing,columnIndex:t}))},moveToPreviousColumn:(e,t)=>r(Hc.PREV,e,t),moveToNextColumn:(e,t)=>r(Hc.NEXT,e,t),moveToFirstColumn:e=>r(Hc.FIRST,e),moveToLastColumn:e=>r(Hc.LAST,e),setColumn:e=>{l.enableEditMode&&a(t=>({...t,columnIndex:e}))}}})(V),[le,ae]=n.useState({}),[re,oe]=n.useState(null!==(s=null==A?void 0:A.rowDensity)&&void 0!==s?s:"normal"),[ie,se]=n.useState({}),[ce,ue]=n.useState(!1),[de,me]=n.useState(!1),[fe,ge]=n.useState($-_),ve=n.useRef([]),he={enableExpanding:T,enableColumnFilters:!g,enableColumnResizing:!w,enableGlobalFilter:!R,enableHiding:!v,enablePinning:!h,enableRowSelection:F,enableMultiRowSelection:P,enableSorting:!C};if(he.enableColumnResizing&&(he.columnResizeMode="onChange"),he.enableSorting){const e=e=>B.find(t=>t.id===e.id);X.sorting=null!=A&&A.sorting?null==A?void 0:A.sorting.filter(e):K,O?he.manualSorting=!0:he.getSortedRowModel=L.getSortedRowModel()}var pe;he.enableColumnFilters&&(X.columnFilters=null!==(pe=null==A?void 0:A.columnFilters)&&void 0!==pe?pe:[],S?he.manualFiltering=!0:(he.filterFns={tacoFilter:(e,t,n)=>Lc(e.getValue(t),n)},he.getFilteredRowModel=L.getFilteredRowModel())),he.enableGlobalFilter&&(N?he.manualFiltering=!0:(he.globalFilterFn=(e,t,n)=>kc(e.getValue(t),n),he.getFilteredRowModel=L.getFilteredRowModel()));const we=L.useReactTable({data:m,columns:B,getCoreRowModel:L.getCoreRowModel(),initialState:X,...he,meta:{...Z,editMode:ne,columnOffsets:le,enableRowDensity:!b,rowDensity:re,setRowDensity:oe,enableRowDragging:!!k,dragging:ie,setDragging:se,enableColumnFreezing:!h,enableColumnReordering:!p,enableColumnHiding:!v,shouldPauseHoverState:ee,setShouldPauseHoverState:te,frozenColumnsCount:fe,setFrozenColumnsCount:ge,shouldPauseSortingAndFiltering:ce,setShouldPauseSortingAndFiltering:ue,onRowClick:M,dataColumnStartOffset:Y,dataColumnEndOffset:Q,shouldDisableTableActions:de,setShouldDisableTableActions:me,focussableColumnIndexes:ve.current,addFocussableColumnIndex:e=>{ve.current.includes(e)||(ve.current=[...ve.current,e].sort((e,t)=>e-t))},resetFocussableColumnIndexes:()=>{ve.current=[]},tableRef:a,lastSortedOrFilteredRows:U}}),be=we.getRowModel().rows;ce||(U.current=be);const xe=ce?U.current:be;return((e,t,l)=>{const a=e.options.meta;n.useEffect(()=>{a.editMode.isEditing&&a.shouldPauseSortingAndFiltering&&a.setShouldPauseSortingAndFiltering(!1)},[l.activeRowIndex]),n.useEffect(()=>{l.activeRowIndex>t.length-1&&a.setActiveRowIndex(t.length?t.length-1:0)},[e.getState().columnFilters,t.length])})(we,xe,Z),((e,t)=>{const{columnOrder:l,columnSizing:a,columnSizingInfo:r,columnVisibility:o}=e.getState(),{frozenColumnsCount:i}=e.options.meta;n.useEffect(()=>{const n={};e.getVisibleLeafColumns().reduce((e,t)=>(n[t.id]=e,e+t.getSize()),0),t(n)},[l,a,r,o,i])})(we,ae),((e,t)=>{n.useEffect(()=>{t&&e.resetRowSelection()},[e.getState().columnFilters,e.getState().globalFilter])})(we,H),((e,t)=>{n.useEffect(()=>{if(t)if(e.options.enableMultiRowSelection){const n=e.getSelectedRowModel().rows.map(e=>e.original);t(n,e.getIsAllRowsSelected())}else{var n,l;t(null!==(n=null===(l=e.getSelectedRowModel().rows[0])||void 0===l?void 0:l.original)&&void 0!==n?n:void 0,!1)}},[e.getState().rowSelection])})(we,H),((e,t)=>{const l=e.options.meta,a=e.getState();n.useEffect(()=>{let e;return"function"==typeof t&&(e=setTimeout(()=>t({columnFilters:a.columnFilters,columnOrder:a.columnOrder,columnSizing:a.columnSizing,columnVisibility:a.columnVisibility,frozenColumnCount:l.frozenColumnsCount,globalFilter:a.globalFilter,rowDensity:l.rowDensity,sorting:a.sorting}),250)),()=>clearTimeout(e)},[a.columnFilters,a.columnOrder,l.frozenColumnsCount,a.columnSizing,a.columnVisibility,a.globalFilter,l.rowDensity,a.sorting])})(we,I),function(e,t){n.useEffect(()=>{const n=Object.keys(null!=e?e:{}),l=[];return e&&n.length&&n.forEach(n=>{const a=e[n];let r,o;"function"==typeof a?(r=a,o={key:n}):(r=a.handler,o={key:n,meta:a.meta,shift:a.shift}),l.push(Fa(o,e=>{e.preventDefault(),r(t)}))}),l.forEach(e=>{document.addEventListener("keydown",e)}),()=>{l.forEach(e=>{document.removeEventListener("keydown",e)})}},[e,t])}(j,null===(c=be[Z.activeRowIndex])||void 0===c?void 0:c.original),{rows:xe,table:we,footers:W}}(e.children,e,g),x=w.options.meta,{columnVisibility:E,columnOrder:y,globalFilter:R}=w.getState();n.useEffect(()=>{g.current&&(g.current.instance={resetFiltering:()=>w.resetColumnFilters(),resetRowExpansion:()=>w.resetExpanded(),resetRowSelection:()=>w.resetRowSelection(),resetSorting:()=>w.resetSorting(),toggleEditing:()=>x.editMode.toggleEditing()})},[w,g.current]),n.useEffect(()=>{x.resetFocussableColumnIndexes()},[E,y]),n.useEffect(()=>{x.editMode.isEditing||x.resetFocussableColumnIndexes()},[x.editMode.isEditing]),n.useEffect(()=>()=>clearTimeout(v.current),[]);const{virtualiser:C,virtualiserOffsets:z,setExpandedRowSizes:S}=(({rows:e,table:t},l)=>{var a,r,o,i;const[s,c]=n.useState({}),u=n.useMemo(()=>{const e=Object.values(s);return e.length?e.reduce((e,t)=>e+t,0)/e.length:0},[s]),d=t.options.meta,m=n.useCallback(e=>{var n;const l=d.rowDensity?$c[d.rowDensity]:$c.normal;var a,r;return!0===t.getState().expanded||null!==(n=t.getState().expanded)&&void 0!==n&&n[e]?l+(null!==(a=null!==(r=s[e])&&void 0!==r?r:u)&&void 0!==a?a:0):l},[d.rowDensity,s,t.getState().expanded]),f=V.useVirtual({parentRef:l,size:e.length,estimateSize:m});return{virtualiser:f,virtualiserOffsets:{top:f.virtualItems.length>0&&(null===(a=f.virtualItems)||void 0===a||null===(r=a[0])||void 0===r?void 0:r.start)||0,bottom:f.virtualItems.length>0?f.totalSize-((null===(o=f.virtualItems)||void 0===o||null===(i=o[f.virtualItems.length-1])||void 0===i?void 0:i.end)||0):0},setExpandedRowSizes:c}})({rows:p,table:w},g),N=(e=>{const t=e.getVisibleLeafColumns();return t.reduce((n,l,a)=>{let r;const o=a===t.length-1,i=e.getState().columnSizing[l.id];return r="__actions"===l.id?"minmax(max-content, auto)":wc(l.id)?l.getSize()+"px":i?"1fr"===i?"minmax(max-content, 1fr)":o?`minmax(${i}px, auto)`:l.columnDef.minSize&&i<l.columnDef.minSize?l.columnDef.minSize+"px":i+"px":l.getCanResize()?"minmax(max-content, auto)":"max-content",`${n} ${r}`},"")})(w),O=n.useRef(null);let I;x.editMode.isEditing&&(I=e=>{var t,n,l;let a=e.relatedTarget;if(void 0===a)return;const r=null===(t=a)||void 0===t||null===(n=t.closest("[data-radix-popper-content-wrapper] > :first-child"))||void 0===n?void 0:n.id;var o;r&&(a=null!==(o=e.currentTarget.querySelector(`[aria-controls="${r}"]`))&&void 0!==o?o:e.relatedTarget),null!==(l=e.currentTarget)&&void 0!==l&&l.contains(a)||a===O.current||(v.current=setTimeout(()=>{const t=e.target.closest('[role="row"]'),n=null==t?void 0:t.contains(document.activeElement);x.shouldPauseSortingAndFiltering&&!n&&x.setShouldPauseSortingAndFiltering(!1)}))});const[M,k]=n.useState(!1),H=n.useRef(!1);let A;x.shouldPauseHoverState&&(A=()=>x.setShouldPauseHoverState(!1));const j=l("bg-white border border-grey-300 focus:yt-focus focus:border-blue-500 grid auto-rows-max overflow-auto relative rounded group",e.className),D=w.options.enableHiding||x.enableColumnReordering,T=D||x.editMode.enableEditMode||w.options.enableColumnFilters||x.enableRowDensity||w.options.enableGlobalFilter,F=T||!!u||!d,P=w.getLeftVisibleLeafColumns().map(e=>e.id);return n.createElement("div",{className:"-m-0.5 flex h-full w-[calc(100%_+_0.25rem)] flex-col gap-4 overflow-hidden p-0.5"},F?n.createElement("div",{className:"flex flex-wrap gap-2"},u,T?n.createElement(vo,{className:"ml-auto flex-shrink-0 print:hidden"},x.editMode.enableEditMode?n.createElement(yu,{ref:O,table:w,tableRef:g,scrollToIndex:C.scrollToIndex}):null,w.options.enableColumnFilters?n.createElement(xu,{length:o,table:w}):null,d,x.enableRowDensity?n.createElement(Xc,{table:w}):null,D?n.createElement(au,{table:w}):null,w.options.enableGlobalFilter?n.createElement(Eu,{disabled:x.shouldDisableTableActions,onSearch:w.setGlobalFilter,value:R}):null):null):null,n.createElement("div",{className:j,"data-taco":"table2",onBlur:I,onKeyDown:e=>{if(document.activeElement===g.current){if("ArrowUp"===e.key)return e.preventDefault(),void(e.ctrlKey||e.metaKey?(x.setActiveRowIndex(0),C.scrollToOffset(0)):x.moveToPreviousRow(p,e=>{x.setShouldPauseHoverState(!0),C.scrollToIndex(e-1)}));if("ArrowDown"===e.key)return e.preventDefault(),void(e.ctrlKey||e.metaKey?(x.setActiveRowIndex(p.length-1),C.scrollToOffset(C.totalSize+1)):x.moveToNextRow(p,e=>{var t;x.setShouldPauseHoverState(!0),e===p.length-1?null===(t=g.current)||void 0===t||t.scrollTo(0,g.current.scrollHeight):C.scrollToIndex(e+2)}));const a=w.options.enableExpanding;var t,n,l;if("ArrowLeft"===e.key)return e.preventDefault(),void((e.ctrlKey||e.metaKey)&&a&&(null===(t=p[x.activeRowIndex])||void 0===t||t.toggleExpanded(!1)));if("ArrowRight"===e.key)return e.preventDefault(),void((e.ctrlKey||e.metaKey)&&a&&(null===(n=p[null==x?void 0:x.activeRowIndex])||void 0===n||n.toggleExpanded(!0)));if("Enter"===e.key)return e.preventDefault(),void(s&&s(p[null==x?void 0:x.activeRowIndex].original));if(" "===e.key)return e.preventDefault(),void(w.options.enableRowSelection&&(null===(l=p[x.activeRowIndex])||void 0===l||l.toggleSelected()));if(e.ctrlKey||e.metaKey)return void("a"===e.key&&w.options.enableRowSelection&&(e.preventDefault(),w.toggleAllRowsSelected()))}},onMouseLeave:A,onScroll:function(e){try{const t=function(){if(e.currentTarget.scrollLeft>0&&!M)k(!0);else{const t=function(){if(0===e.currentTarget.scrollLeft&&M)k(!1);else{const t=function(){if("function"==typeof i){const t=e.currentTarget.scrollTop,n=t>h.current;h.current=t;const l=Math.round(t/(e.currentTarget.scrollHeight-e.currentTarget.clientHeight)*100),a=function(){if(n&&!H.current&&l>=80){const e=cs((function(){return ss((function(){const e=w.getIsAllRowsSelected();return H.current=!0,Promise.resolve(i()).then((function(){e&&w.toggleAllRowsSelected(!0)}))}),(function(e){console.error(e)}))}),(function(e,t){if(H.current=!1,e)throw t;return t}));if(e&&e.then)return e.then((function(){}))}}();if(a&&a.then)return a.then((function(){}))}}();if(t&&t.then)return t.then((function(){}))}}();if(t&&t.then)return t.then((function(){}))}}();return Promise.resolve(t&&t.then?t.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},ref:g,role:"table",style:{gridTemplateColumns:N,gridTemplateRows:p.length?void 0:"40px",opacity:.999},tabIndex:0},n.createElement("div",{className:"contents","data-taco":"table2-header",role:"rowgroup"},w.getHeaderGroups().map(e=>n.createElement("div",{className:"contents",key:e.id,role:"row"},e.headers.map((t,l)=>n.createElement(Kc,{frozenColumnIds:P,key:t.id,header:t,index:l,isLastColumn:l===e.headers.length-1,scrolled:M,table:w,tableRef:g}))))),p.length?n.createElement("div",{className:"contents","data-taco":"table2-body",role:"rowgroup"},z.top?n.createElement("div",{style:{height:z.top},className:"col-span-full"}):null,C.virtualItems.map(e=>{var t;const l=p[e.index];return n.createElement(n.Fragment,{key:l.id},n.createElement(mu,{className:"group/row contents",onRowDrop:c,row:l,rowIndex:e.index,table:w},l.getVisibleCells().map((t,l)=>n.createElement(_c,{cell:t,frozenColumnIds:P,key:`${t.id}_${t.getValue()}`,index:l,isLastRow:e.index===p.length-1,rows:p,rowIndex:e.index,scrolled:M,scrollToIndex:C.scrollToIndex,scrollToOffset:C.scrollToOffset,table:w,tableRef:g}))),l.getIsExpanded()&&r?n.createElement(ru,{index:e.index,setSize:S},null===(t=r(l.original))||void 0===t?void 0:t()):null)}),z.bottom?n.createElement("div",{style:{height:z.bottom},className:"col-span-full"}):null):n.createElement("div",{className:"col-span-full min-h-[theme(spacing.8)]"},a?n.createElement(a,null):null),n.createElement("div",{className:"contents","data-taco":"table2-footer",role:"rowgroup"},n.createElement("div",{role:"row",className:"contents"},w.getFooterGroups().map(e=>e.headers.map((e,t)=>n.createElement(Wc,{key:e.id,footer:e,frozenColumnIds:P,index:t,scrolled:M,table:w},b[e.id]?b[e.id](p.map(t=>t.original[e.id])):null)))),n.createElement(zu,{length:null!=o?o:p.length,table:w}))),m&&w.options.enableRowSelection&&(w.getIsSomeRowsSelected()||w.getIsAllRowsSelected())?n.createElement(uu,{className:"fixed-center-x bottom-0 z-50 mb-4 print:hidden",actionsForTable:m,summary:f,table:w}):null)})),zu=({length:e,table:t})=>{const{texts:a}=er(),r=t.getIsAllRowsSelected()?e:t.getSelectedRowModel().rows.length,o=r>0?a.table2.footer.summary.selected:a.table2.footer.summary.records,i=r>0?r:e;return n.createElement("div",{className:l("sticky bottom-0 left-0 z-10 -mt-10 flex h-10 w-fit items-center whitespace-nowrap bg-white px-4 !pr-3 shadow-[6px_0px_6px_theme(colors.white)]")},o," ",n.createElement("strong",null,i))},Su=n.forwardRef((function(e,t){const l=n.useMemo(()=>String("tableKey_"+String(e.children)),[e.children]);return n.createElement(Cu,Object.assign({},e,{key:l,ref:t}))}));function Nu(e){const{onGoto:t,trigger:l,...a}=e,{texts:r}=er();return n.createElement(eo,Object.assign({},a,{anchor:l}),n.createElement(eo.Content,null,n.createElement(qi,{"aria-label":r.table3.columns.menu.gotoRow,name:"query",onSearch:e=>t(e),onKeyDown:e=>e.stopPropagation(),placeholder:r.table3.columns.menu.gotoRow+"..."})))}function Ou(e,t){return!Uu(t.id)&&!!(e.options.meta.rowGoto.isEnabled&&t.column.getCanSort()&&t.column.getIsSorted())}function Iu(e,t){var n;return!Uu(t.id)&&(!(null===(n=t.column.columnDef.meta)||void 0===n||!n.menu)||!!e.options.meta.columnFreezing.isEnabled||!!e.options.enableHiding&&!!t.column.getCanHide()||Ou(e,t))}function Mu(e){const{canFreeze:t,canHide:a,canSort:r,index:o,menu:i,onGoto:s,onHide:c,onSortToggle:u,scrollToIndex:d,sortDirection:m,table:f}=e,g=f.options.meta,{texts:v}=er(),[h,p]=n.useState(void 0),[w,b]=n.useState(m),x=e=>{b(e),u(e)};let E;if(h){const e=()=>p(void 0);switch(h){case"goto":if(s){const t=function(t){try{const n=cs((function(){return ss((function(){return Promise.resolve(s(t)).then((function(e){g.currentRow.setCurrentRowIndex(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)}};E=l=>n.createElement(Nu,Object.assign({},l,{open:!0,onChange:e,onGoto:t}))}}}const y=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":!!E},e.className),R=n.useMemo(()=>{const e=[];if(a&&e.push(n.createElement(xi.Item,{icon:"unreconciled",onClick:e=>setTimeout(()=>c(e),1)},v.table3.columns.menu.hideColumn)),r&&e.push(n.createElement(xi.Item,{icon:"sort-by",subMenu:()=>n.createElement(xi.SubMenu,null,n.createElement(xi.RadioGroup,{onChange:x,value:w},n.createElement(xi.RadioGroup.Item,{value:Au.ASC},v.table3.columns.menu.sortingOrder.ascending),n.createElement(xi.RadioGroup.Item,{value:Au.DESC},v.table3.columns.menu.sortingOrder.descending),n.createElement(xi.RadioGroup.Item,{value:!1},v.table3.columns.menu.sortingOrder.unsorted)))},v.table3.columns.menu.sorting)),s&&e.push(n.createElement(xi.Item,{icon:"move",onClick:()=>p("goto"),shortcut:"g"},v.table3.columns.menu.gotoRow,"...")),t){const t=o-g.columnFreezing.frozenInternalColumnCount;e.push(n.createElement(xi.Item,{icon:"column-freeze",onClick:()=>g.columnFreezing.setFrozenColumnIndex(t)},0===t?v.table3.columns.menu.freezeFirstColumn:v.table3.columns.menu.freezeUptoColumn.replace("[TOTAL]",String(t+1)))),void 0!==g.columnFreezing.frozenColumnIndex&&e.push(n.createElement(xi.Item,{icon:"column-unfreeze",onClick:()=>{g.columnFreezing.setFrozenColumnIndex(void 0)}},v.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(xi.Separator,null)),e.push(...l))}return e.map((e,t)=>n.cloneElement(e,{key:t}))},[i,o,t,a,r,s,u,m,g.columnFreezing.frozenColumnIndex]);return n.createElement(Ja,{className:y,icon:"more",menu:E?void 0:e=>n.createElement(xi,Object.assign({},e),n.createElement(xi.Content,null,R)),popover:E,onClickCapture:e=>e.preventDefault()})}function ku(e){const{isResizing:t,onResize:a}=e,{texts:r}=er(),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(qa,{placement:"top",title:r.table3.columns.resize.tooltip},o)}Su.Column=Ru;const Lu={asc:n.createElement(ga,{name:"chevron-up-solid",className:"pointer-events-none -my-0.5"}),desc:n.createElement(ga,{name:"chevron-down-solid",className:"pointer-events-none -my-0.5"})};function Hu(e){var t;return null!==(t=Lu[e.direction])&&void 0!==t?t:null}const Vu={asc:"ascending",desc:"descending"},Au={ASC:"asc",DESC:"desc"};function ju(e){const{children:t,column:l,header:a,scrollToIndex:r,table:o}=e,i=o.options.meta,s=n.useMemo(()=>l.columnDef.meta,[]),c=l.getCanSort(),u=Ou(o,a),d=n.useMemo(()=>a.column.getToggleVisibilityHandler(),[]),m=n.useMemo(()=>a.getResizeHandler(),[]),f=n.useMemo(()=>a.column.getToggleSortingHandler(),[]),g=n.useCallback(e=>{!1===e?a.column.clearSorting():a.column.toggleSorting(e===Au.DESC)},[]),v=o.getState().sorting,h=o.getState().columnFilters,p=o.getState().globalFilter,w=n.useMemo(()=>{if(u)return e=>i.rowGoto.handleGoto(a.id,e,v,h,p)},[u,JSON.stringify(v),JSON.stringify(h),p]),b={align:s.align,canFreeze:i.columnFreezing.isEnabled,canHide:l.getCanHide(),canResize:l.getCanResize(),canSort:c,children:null!=t?t:s.header,hasMenu:Iu(o,a),id:a.id,index:a.index,isFrozen:$u(a,o),isPrinting:i.isPrinting,isResizing:l.getIsResizing(),length:o.getRowModel().rows.length,meta:s,onGoto:w,onHide:d,onResize:m,onSort:f,onSortToggle:g,scrollToIndex:r,sortDirection:l.getIsSorted(),table:o};return n.createElement(Du,Object.assign({},b))}const Du=n.memo((function(e){var t;const{align:a,children:r,canFreeze:o,canHide:i,canResize:s,canSort:c,hasMenu:u,id:d,index:m,isFrozen:f,isPrinting:g,isResizing:v,length:h,meta:p,onGoto:w,onHide:b,onResize:x,onSort:E,onSortToggle:y,scrollToIndex:R,sortDirection:C,table:z}=e,S=l("sticky top-0 border-b-2 font-bold box-content group/column relative",'[[role="table"][data-resizing="true"]_&]:pointer-events-none',"px-[var(--table3-cell-padding-x)]",{"h-10 items-center":!g,"pb-2":g,"cursor-pointer select-none":c,"hover:bg-grey-100":c||s||u,"focus-within:bg-grey-100":u,"!pointer-events-all !bg-grey-100":v,"z-10 hover:z-20":!f&&!v,"z-20":!f&&v,"!z-30":f,"!z-40":f&&v},p.headerClassName),[N,O]=n.useState(null);return n.useLayoutEffect(()=>{if(N&&h){if(Uu(d))return;z.setColumnSizing(e=>({...e,[d]:N.getBoundingClientRect().width}))}},[N,h]),z.options.debugAll&&console.log("header render",d),n.createElement("div",Object.assign({},c?function(e,t){var n;return{"aria-sort":null!==(n=Vu[t])&&void 0!==n?n:"none",onClick:t=>{!t.isDefaultPrevented()&&t.currentTarget.contains(t.target)&&(t.preventDefault(),e(t))}}}(E,C):void 0,{className:S,"data-align":a,"data-column-index":m,role:"columnheader",ref:O}),Uu(d)?r:n.createElement(qa,{title:String(null!==(t=null==p?void 0:p.tooltip)&&void 0!==t?t:r),placement:"top"},n.createElement("span",{className:l({truncate:!g})},r)),c?n.createElement(Hu,{direction:C}):null,u?n.createElement(Mu,{canFreeze:o,canHide:i,canSort:c,className:l({"ml-auto":"right"!==a,"ml-2":"right"===a}),index:m,menu:p.menu,onGoto:w,onHide:b,onSortToggle:y,scrollToIndex:R,sortDirection:C,table:z}):null,s?n.createElement(ku,{isResizing:v,onResize:x}):null)})),Tu=n.createContext({isHovered:!1,setIsHovered:()=>{},rowIndex:0}),Fu=()=>n.useContext(Tu);function Pu(e){const{cell:t,className:a,column:r,getValue:o,index:i,row:s,table:c,tableRef:u}=e,d=n.useMemo(()=>r.columnDef.meta,[]),m=c.options.meta,{rowIndex:f}=n.useContext(Tu),g=o(),v=n.useMemo(()=>{var n,r,o,f;return{align:d.align,children:null!==(n=null!==(r=null!==(o=e.children)&&void 0!==o?o:null===(f=d.renderer)||void 0===f?void 0:f.call(d,g,s.original))&&void 0!==r?r:g)&&void 0!==n?n:null,className:l(a,"function"==typeof d.className?d.className(s.original):d.className),data:s.original,debug:c.options.debugAll,enableTruncate:d.enableTruncate,frozenColumnIndex:m.columnFreezing.frozenColumnIndex,id:t.id,index:i,tableRef:u}},[s.original,e.children,g,m.columnFreezing.frozenColumnIndex]),h=n.useMemo(()=>{var e;return!(!m.search.isHighlightingEnabled||!d.enableSearch)&&!(null===(e=m.search.query)||void 0===e||!e.length)&&function(e,t,n){return null!=t&&String(Xu(t,n)).toLocaleLowerCase().includes(e.toLocaleLowerCase())}(m.search.query,g,d.dataType)},[g,m.search.isHighlightingEnabled,m.search.excludeUnmatchedResults,m.search.query]),p=n.useMemo(()=>{if(!m.search.isHighlightingEnabled||!h||void 0===m.search.currentHighlightColumnIndex)return!1;const[e,t]=m.search.highlightedColumnIndexes[m.search.currentHighlightColumnIndex];return e===f&&t===i},[h,m.search.highlightedColumnIndexes.length,m.search.currentHighlightColumnIndex]);return n.createElement(Bu,Object.assign({},v,{highlighted:h,highlightedAsCurrent:p}))}const Bu=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:f}=e,g=l("py-[var(--table3-cell-padding-y)] px-[var(--table3-cell-padding-x)] focus:outline-none",r),v=c?void 0:g,h=i?n.createElement("span",{className:"truncate"},a):a;return o&&console.log("cell render",d),n.createElement("div",{className:v,"data-align":t,"data-column-index":m,"data-highlighted":c,role:"cell",tabIndex:-1},c?n.createElement(_u,{className:g,current:u,frozenColumnIndex:s,index:m,tableRef:f},h):h)})),_u=e=>{const{current:t,frozenColumnIndex:a,index:r,tableRef:o,...i}=e,s=n.useRef(null),c=l("h-full flex [justify-content:inherit] [text-align:inherit]",e.className,{"bg-blue-200/25":!t,"bg-blue-200/75":t});return n.useEffect(()=>{s.current&&t&&function(e,t,n,l){if(void 0!==t&&e>t){const e=Ju(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,s.current,o.current)},[t]),n.createElement("div",Object.assign({},i,{className:c,ref:s}))};function qu(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:$u(l,a),meta:r,table:a};return n.createElement(Ku,Object.assign({},o))}const Ku=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-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)})),Gu=n.memo((function(e){const{actions:t,actionsLength:a,fontSize:r,isCurrentRow:o,isEditing:i,isResizingColumn:s,isHoverStatePaused:c,row:u}=e,{isHovered:d}=n.useContext(Tu),{texts:m}=er(),f=n.useRef(null);let g;if(null!=t&&t.length&&!i&&(o||d&&!c&&!s)){const e=t.map(e=>e(u.original)).filter(e=>!!e),i=e.length===a?e:e.slice(0,a-1),s=e.slice(e.length===a?a:a-1),c=l("-mb-2 flex justify-end pl-2 text-right",{"-mt-2":"small"===r,"-mt-1.5":"small"!==r});g=n.createElement("span",{className:c,ref:f},i.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(ni,{className:"ml-2",keys:e.props.shortcut})):r})}),s.length?n.createElement(Ja,{appearance:"transparent","aria-label":m.table3.columns.actions.tooltip,icon:"more",tabIndex:o?0:-1,menu:e=>n.createElement(xi,Object.assign({},e),n.createElement(xi.Content,null,s.map((e,t)=>n.createElement(xi.Item,Object.assign({key:t},e.props,{shortcut:e.props.shortcut}),e.props["aria-label"]))))}):null)}return n.createElement(Pu,Object.assign({},e),g)}));function Wu(e){const{rowIndex:t}=n.useContext(Tu),l=e.table.options.meta;return n.createElement(Gu,Object.assign({},e,{actions:l.rowActions.actionsForRow,actionsLength:l.rowActions.actionsForRowLength,fontSize:l.fontSize.size,isCurrentRow:l.currentRow.currentRowIndex===t,isEditing:l.editing.isEditing,isResizingColumn:!!e.table.getState().columnSizingInfo.isResizingColumn,isHoverStatePaused:!!l.hoverState.isPaused}))}const Uu=e=>e.startsWith("__"),$u=(e,t)=>{var n;const l=t.options.meta;return!("__actions"===e.column.id||!Uu(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},Ju=(e,t)=>t.querySelector(`[data-current="true"] [data-column-index="${e}"`);function Xu(e,t){return null==e?"":m.isDate(e)?null!==(n=Kr(e))&&void 0!==n?n:"":"datetime"===t&&"string"==typeof e?null!==(l=Kr(Wr(e)))&&void 0!==l?l:"":String(e);var n,l}const Yu=(e="left")=>l({"justify-start text-left":"left"===e,"justify-end text-right":"right"===e,"justify-center text-center":"center"===e}),Qu=()=>l("[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none"),Zu={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},ed={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}};function td(e,t){const l=n.useRef(!1);n.useEffect(()=>{l.current?e():l.current=!0},t)}var nd;!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"}(nd||(nd={}));const ld=e=>String(null!=e?e:"").toLocaleLowerCase(),ad=(e,t)=>ld(e).includes(ld(t)),rd=(e,t)=>ld(e)===ld(t);function od(e,t){return ad(e,t)}function id(e,t){try{if(t.comparator===nd.IsEmpty||t.comparator===nd.IsNotEmpty){const n=null==e||""===e;return t.comparator===nd.IsEmpty?n:!n}if(null==t.value||""===t.value)return!0;switch(t.comparator){case nd.Contains:return ad(e,t.value);case nd.DoesNotContain:return!ad(e,t.value);case nd.IsEqualTo:return m.isDate(e)?m.isDate(t.value)&&qr(e,t.value):"boolean"==typeof t.value?e===t.value:rd(e,t.value);case nd.IsNotEqualTo:return m.isDate(e)?m.isDate(t.value)&&!1===qr(e,t.value):"boolean"==typeof t.value?e!==t.value:!rd(e,t.value);case nd.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 nd.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 nd.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 nd.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 nd.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 nd.HasAnyOf:return!(!Array.isArray(t.value)||!Array.isArray(e))&&t.value.some(t=>e.includes(t));case nd.HasNoneOf:return!(!Array.isArray(t.value)||!Array.isArray(e))&&t.value.every(t=>!1===e.includes(t));case nd.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}}var sd;!function(e){e.Saving="saving",e.Saved="saved",e.Error="error"}(sd||(sd={}));const cd=n.memo((function(e){const{isCurrentRow:t,isEditing:a,row:r,table:o}=e,i=o.options.meta,s=i.editing.savingStates&&i.editing.savingStates[r.id],[c,u]=n.useState(!1),d=(i.editing.changes?Object.keys(i.editing.changes):[]).indexOf(r.id)>=0,{texts:m}=er(),f=Xo(3e3,()=>{u(!1),i.editing.removeSavingState(r.id)});let g;return n.useEffect(()=>{s&&s.state===sd.Saved&&!c&&(u(!0),f.start())},[s]),s&&(s.state===sd.Saving?g=n.createElement(qa,{title:m.table3.editing.saving.progress},n.createElement(yr,{delay:0,className:"!text-grey-700 mr-1.5 !h-5 !w-5"})):c&&(g=n.createElement(qa,{title:m.table3.editing.saving.complete},n.createElement(ga,{name:"tick",className:"!text-grey-700 mr-1"})))),a&&t&&(g=n.createElement(n.Fragment,null,g,n.createElement(Ja,{appearance:"transparent","aria-label":m.table3.editing.actions.tooltip,icon:"more",menu:e=>n.createElement(xi,Object.assign({},e),n.createElement(xi.Content,null,n.createElement(xi.Item,{icon:"tick",disabled:!d,onClick:()=>i.editing.saveChangesIfNeeded()},m.table3.editing.actions.save),n.createElement(xi.Item,{icon:"close",disabled:!d,onClick:()=>i.editing.resetChange(r.id)},m.table3.editing.actions.clear),n.createElement(xi.Item,{icon:"undo",onClick:()=>i.editing.toggleEditing(!1)},m.table3.editing.actions.exit))),tabIndex:t?0:-1}))),n.createElement(Pu,Object.assign({},e,{className:l({"!sticky":!!g})}),g?n.createElement("span",{className:"-mb-2 -mt-2 flex items-center justify-end text-right"},g):void 0)}));function ud(e){const{rowIndex:t}=n.useContext(Tu),l=e.table.options.meta;return n.createElement(cd,Object.assign({},e,{isCurrentRow:l.currentRow.currentRowIndex===t,isEditing:l.editing.isEditing}))}function dd(e,t){const n=e.filter(e=>{var t;return(null===(t=e.id)||void 0===t?void 0:t.startsWith("__"))&&"__actions"!==e.id&&"__editing_actions"!==e.id}).map(e=>e.id),l=[],a=[];let r=e;Array.isArray(t)&&(r=e.slice().sort((e,n)=>(t.indexOf(e.id)>>>0)-(t.indexOf(n.id)>>>0))),r.forEach(e=>{var t,n;null!==(t=e.id)&&void 0!==t&&t.startsWith("__")||(null!==(n=e.meta)&&void 0!==n&&n.enableOrdering?a.push(e.id):l.push(e.id))});const o=[...n,...l,...a];return e.findIndex(e=>"__actions"===e.id||"__editing_actions"===e.id)>-1&&o.push("__actions"),o}var md;!function(e){e.SEARCH="SEARCH",e.SORTING="SORTING",e.FILTER="FILTER"}(md||(md={}));const fd=({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}=er();switch(e){case md.FILTER:t=l.table3.editing.rowIndicator.rowWillBeHidden,n=l.table3.editing.rowIndicator.rowWillMoveReasonFilter;break;case md.SEARCH:t=l.table3.editing.rowIndicator.rowWillBeHidden,n=l.table3.editing.rowIndicator.rowWillMoveReasonSearch;break;case md.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]),H.createPortal(n.createElement(qa,{title:o.description.replace("[COLUMN]",t)},n.createElement("span",{className:"flex gap-1 hover:cursor-pointer"},n.createElement(ga,{name:"info",className:"!h-4 !w-4 rounded-full bg-white !p-0 text-blue-500"}),o.title)),r)},gd=["A","BUTTON","INPUT","TEXTAREA","SELECT","DETAILS"].join(", "),vd=(e,t)=>m.isDate(e)&&m.isDate(t)?!qr(e,t):Array.isArray(e)?JSON.stringify(e)!==JSON.stringify(t):e!==t,hd=t.forwardRef((function(e,n){const{onKeyDown:a,...r}=e,o=l(mr(e),"py-1 min-h-[75px] disabled:resize-none",e.className);return t.createElement("textarea",Object.assign({},r,{className:o,"data-taco":"textarea",onKeyDown:e=>{if(1===e.key.length&&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}))})),pd={small:{min:24,max:86},medium:{min:34,max:100},large:{min:40,max:140}},wd=n.forwardRef((function(e,t){const{onKeyDown:a,onChange:r,column:o,isCellInDetailMode:i,align:s,isCurrentRow:c,value:u,fontSize:d,...m}=e,f=pd[d],g=o.columnDef.meta,v=ja(t);n.useEffect(()=>{null!=v&&v.current&&(null!=g&&g.enableTruncate?(null==v?void 0:v.current).style.height=f.min+"px":h(null==v?void 0:v.current))},[d]),n.useEffect(()=>{if(null!=v&&v.current&&null!=g&&g.enableTruncate){const e=null==v?void 0:v.current;i?h(e):e.style.height=f.min+"px"}},[i]);const h=e=>{const t=e.getBoundingClientRect();null!=g&&g.enableTruncate?t.height<f.max&&(e.style.height="inherit",e.style.height=Math.min(e.scrollHeight,f.max)+"px"):(e.style.height="inherit",e.style.height=e.scrollHeight+"px")},p=l("w-full",{"focus-within:absolute focus-within:left-0 focus-within:top-0 focus-within:z-20 focus-within:px-[var(--table3-cell-padding-x)] focus-within:pt-[var(--table3-cell-padding-y)]":null==g?void 0:g.enableTruncate});return n.createElement("div",{className:p,"data-taco":"input-container"},n.createElement(hd,Object.assign({},m,{onChange:e=>{r(e.target.value),h(e.target)},rows:1,onKeyDown:e=>{var t;(t=e).shiftKey&&"Enter"===t.key||a(t)},onBlur:e=>{null!=g&&g.enableTruncate&&(e.currentTarget.style.height=f.min+"px")},className:l(Yu(s),"z-20 h-fit resize-none",{[`!min-h-[${f.min}px]`]:null==g?void 0:g.enableTruncate,"!yt-focus-dark":i,[`h-[${f.min}px]`]:!i&&(null==g?void 0:g.enableTruncate),"focus:resize-y":c&&(null==g?void 0:g.enableTruncate)}),ref:v,value:String(null!=u?u:"")})))})),bd=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:f,...g}=e,v=u.options.meta,h=n.useRef(),p=ba([h,t]),w=o.columnDef.meta,b=null==w?void 0:w.control,x=v.editing.detailModeEditing&&(null==h||null===(a=h.current)||void 0===a?void 0:a.contains(document.activeElement)),E=e=>{if(Ta(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[f.row.id]:{},[f.column.id]:s};T.isEqual(f.row.original,e)?v.editing.resetChange(f.row.id):c(s)}}else v.editing.toggleEditing(!1),null===(l=d.current)||void 0===l||l.focus()},y="number"==typeof m,R=e=>{E(e),/^[a-z0-9]$/i.test(e.key)&&v.editing.setDetailModeEditing(!0)},C=e=>{const t=e.detail;vd(f.row.original[f.column.id],t)&&c(t)};if("function"==typeof b)return b({...g,ref:h,setValue:e=>{e!==m&&c(e)},value:m},i);if("datepicker"===b){const e=e=>{E(e),/^[a-z0-9]$/i.test(e.key)&&v.editing.setDetailModeEditing(!0)};return n.createElement(to,Object.assign({},g,{className:l({"[&_input]:!yt-focus-dark":x}),onChange:C,onKeyDown:e,ref:p,value:m}))}return"switch"===b?n.createElement(Hs,Object.assign({},g,{checked:Boolean(m),onChange:c,ref:p})):"textarea"===b?n.createElement(wd,Object.assign({},e,{isCellInDetailMode:x,onKeyDown:R,ref:p,fontSize:v.fontSize.size})):n.createElement(br,Object.assign({},g,{className:l(Qu(),Yu(r),{"!yt-focus-dark":x}),onChange:e=>{c(e.target.value)},onKeyDown:R,ref:p,type:y?"number":void 0,value:y?m:String(null!=m?m:"")}))}));function xd(e){const{isHovered:t}=Fu();return n.createElement(Ed,Object.assign({},e,{isHovered:t,tableMeta:e.table.options.meta}))}const Ed=n.memo((function(e){var t,a,r,o;const{cell:i,column:s,index:c,getValue:u,table:d,tableRef:m,row:f,isHovered:g,tableMeta:v}=e,h=s.columnDef.meta,p=n.useRef(null),w=n.useRef(null),b=null!==(t=v.editing.getCellValue(i))&&void 0!==t?t:u(),x=null!==(a=v.editing.rowMoveReason[i.column.id])&&void 0!==a?a:null,E=d.getRowModel().rows,y=v.currentRow.currentRowIndex,R=void 0!==y&&(null===(r=E[y])||void 0===r?void 0:r.id)===f.id,C=n.useMemo(()=>{var e,t;return x?null===(e=p.current)||void 0===e||null===(t=e.parentElement)||void 0===t?void 0:t.firstChild:null},[x,p]),z=()=>{v.editing.removeRowMoveReason(i.column.id)};n.useEffect(()=>{if(R){if(vd(u(),b)){const e=function(e,t,n,l,a){var r;let o=null;const{globalFilter:i}=e.getState();return Object.values({...n,[l.id]:a}).some(e=>od(String(e),i?String(i):""))?l.column.getIsFiltered()&&!id(a,l.column.getFilterValue())?o=md.FILTER:!o&&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===(r=e.getState().sorting.find(e=>e.id===l.column.id))||void 0===r||!r.desc))&&(o=md.SORTING):o=md.SEARCH,o}(d,f.index,f.original,i,b);v.editing.setRowMoveReason({[i.column.id]:e})}else z();return z}},[b]);const S=null===(o=s.columnDef.meta)||void 0===o?void 0:o.control,N=l("py-[calc(var(--table3-cell-padding-y)_-_0.06rem)]",{relative:(R||g)&&"textarea"===S,"z-[9]":R&&"textarea"===S},'[[role="row"][data-current="false"]:hover_&>*]:!grayscale [[role="row"][data-current="false"]:hover_&_.bg-white]:!bg-grey-100',"function"==typeof h.className?h.className(f.original):h.className);return n.createElement(n.Fragment,null,null!==x&&C&&n.createElement(fd,{reason:x,columnName:String(i.column.columnDef.header),mountNode:C,validationErrors:[]}),n.createElement("div",{className:N,"data-align":h.align,"data-column-index":c,"data-editable":!0,role:"cell",ref:p},n.createElement(bd,{align:h.align,column:i.column,data:i.row.original,initialValue:u(),onBlur:()=>{v.editing.setDetailModeEditing(!1)},onFocus:e=>{var t;const n=v.columnFreezing.frozenColumnIndex,l=m.current;if(l&&void 0!==n&&c>n){var a;const e=Ju(n,l),t=null===(a=p.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-45&&l.scrollTo(l.scrollLeft+45+10,l.scrollTop)}null!==(t=e.target)&&void 0!==t&&t.select&&requestAnimationFrame(()=>{e.target.select()})},onChange:e=>v.editing.setCellValue(i,e),ref:w,table:d,tableRef:m,value:b,cell:i,isCurrentRow:R})))}));function yd(e){var t;const{column:l,row:a,table:r}=e,{isHovered:o}=Fu(),i=r.getRowModel().rows,s=r.options.meta,c=s.currentRow.currentRowIndex,u=void 0!==c&&(null===(t=i[c])||void 0===t?void 0:t.id)===a.id;return n.createElement(s.editing.isEditing&&l.columnDef.meta.control&&(u||o&&!s.hoverState.isPaused)?xd:Pu,Object.assign({},e))}function Rd(e){const{texts:t}=er();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(ju,Object.assign({},e),n.createElement(qa,{title:r},n.createElement(dr,{"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(ju,Object.assign({},e))}const Cd=n.memo((function(e){const{texts:t}=er(),{rowIndex:a}=n.useContext(Tu),r=e.table.options.meta,o=r.currentRow.currentRowIndex===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(Pu,Object.assign({},e),n.createElement(qa,{title:n.createElement(n.Fragment,null,s,n.createElement(ni,{className:"ml-2",keys:"Space"}))},n.createElement(dr,{"aria-label":s,className:"!mt-0",checked:i,onClick:t,onChange:()=>!1,tabIndex:o?0:-1})))}{const t=l("!mt-0",ci()),o=t=>{t.stopPropagation(),e.row.toggleSelected(),r.rowSelection.lastSelectedRowIndex.current=a};return n.createElement(Pu,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.currentRow.currentRowIndex===e.table.options.meta.currentRow.currentRowIndex&&t.row.getIsSelected()!==e.row.getIsSelected()}));function zd(e){const{texts:t}=er(),l=e.table.getIsSomeRowsExpanded(),a=l?t.table3.columns.expansion.collapseAll:t.table3.columns.expansion.expandAll;return n.createElement(ju,Object.assign({},e),n.createElement(qa,{title:a},n.createElement(Ja,{appearance:"transparent",icon:l?"chevron-down-double":"chevron-right-double",onClick:t=>{t.stopPropagation(),e.table.toggleAllRowsExpanded(!l)},tabIndex:-1,title:a})))}const Sd=n.memo((function(e){const{expandedRowRenderer:t,isCurrentRow:l,isExpanded:a,row:r,table:o}=e,{texts:i}=er(),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(qa,{title:e},n.createElement(Ja,{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(Pu,Object.assign({},e),c)}));function Nd(e){const{expandedRowRenderer:t,...l}=e,{rowIndex:a}=n.useContext(Tu);return n.createElement(Sd,Object.assign({},l,{expandedRowRenderer:t,isCurrentRow:l.table.options.meta.currentRow.currentRowIndex===a,isExpanded:l.row.getIsExpanded()}))}const Od=n.memo((function(e){const{isSelected:t,onRowDrag:l,row:a,table:r}=e,{texts:o}=er(),i=r.options.meta;return n.createElement(Pu,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(ga,{"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 Id(e){var t,a,r,o;const i=function(e){var t,l,a,r,o,i,s,c,u,d,m,f,g,v,h,p,w,b;const x=e.preset?ed[e.preset]:Zu,E=null!==(t=e.enableRowExpansion)&&void 0!==t?t:x.enableRowExpansion,y=null!==(l=e.enableRowSelection)&&void 0!==l?l:x.enableRowSelection;return n.useEffect(()=>{E&&!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:x.enableColumnFreezing,enableColumnHiding:null!==(r=e.enableColumnHiding)&&void 0!==r?r:x.enableColumnHiding,enableColumnOrdering:null!==(o=e.enableColumnOrdering)&&void 0!==o?o:x.enableColumnOrdering,enableColumnResizing:null!==(i=e.enableColumnResizing)&&void 0!==i?i:x.enableColumnResizing,enableFontSize:null!==(s=e.enableFontSize)&&void 0!==s?s:x.enableFontSize,enableFooter:null!==(c=e.enableFooter)&&void 0!==c?c:x.enableFooter,enablePrinting:null!==(u=e.enablePrinting)&&void 0!==u?u:x.enablePrinting,enableRowDrag:(null!==(d=e.enableRowDrag)&&void 0!==d?d:x.enableRowDrag)&&!!e.onRowDrag,enableRowDrop:(null!==(m=e.enableRowDrop)&&void 0!==m?m:x.enableRowDrop)&&!!e.onRowDrop,enableRowExpansion:E&&!!e.expandedRowRenderer,enableRowGoto:(null!==(f=e.enableRowGoto)&&void 0!==f?f:x.enableRowGoto)&&!!e.onRowGoto,enableRowHeight:null!==(g=e.enableRowHeight)&&void 0!==g?g:x.enableRowHeight,enableRowSelection:y&&!!e.onRowSelect,enableRowSelectionSingle:(null!==(v=e.enableRowSelectionSingle)&&void 0!==v?v:x.enableRowSelectionSingle)&&y&&!!e.onRowSelect,enableEditing:null!==(h=e.enableEditing)&&void 0!==h?h:x.enableEditing,enableFiltering:null!==(p=e.enableFiltering)&&void 0!==p?p:x.enableFiltering,enableSearch:null!==(w=e.enableSearch)&&void 0!==w?w:x.enableSearch,enableSorting:null!==(b=e.enableSorting)&&void 0!==b?b:x.enableSorting}}(e),s={enableColumnFilters:i.enableFiltering,enableColumnResizing:i.enableColumnResizing,enableExpanding:i.enableRowExpansion,enableGlobalFilter:i.enableSearch,enableHiding:i.enableColumnHiding,enableRowSelection:i.enableRowSelection,enableMultiRowSelection:!i.enableRowSelectionSingle,enableSorting:i.enableSorting};s.enableColumnResizing&&(s.columnResizeMode="onChange"),s.enableColumnFilters&&(e.onFilter||(s.filterFns={tacoFilter:(e,t,n)=>id(e.getValue(t),n)},s.getFilteredRowModel=L.getFilteredRowModel())),s.enableGlobalFilter&&(s.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=Xu(e.original[t],null==a?void 0:a.dataType);if(void 0!==l)return od(l,n)}return!1}}catch{}return!1},s.getFilteredRowModel=L.getFilteredRowModel(),s.getColumnCanGlobalFilter=e=>{var t;return null===(t=e.columnDef.meta.enableSearch)||void 0===t||t}),i.enableSorting&&(e.onSort?s.manualSorting=!0:s.getSortedRowModel=L.getSortedRowModel());const[c,u]=function(e,t={},l){const a=(s=e,`taco.${n.useContext(_i).uniqueUserIdentifier}.table3.${s}.settings`),r=l?void 0:a,[o,i]=((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)}]})(r,t);var s;return n.useMemo(()=>l?[t,l]:[o,i],[])}(e.id,e.defaultSettings,e.onChangeSettings),d=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!==(t=null!==(a=c.columnFreezingIndex)&&void 0!==a?a:null==c?void 0:c.frozenColumnCount)&&void 0!==t?t:e.defaultColumnFreezingIndex,i),m=function(e){return{isEnabled:e.enableColumnOrdering}}(i),f=function(e){const[t,l]=n.useState(e),a=(e,t,n)=>l(l=>{const a=void 0!==l?((e,t,n)=>-1===e?t-1>0?t-1:0:t+1<n?t+1:t)(e,l,t):0;return n(-1===e?a:a+3),a}),r=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)},o=n.useCallback((e,t,n,o,i)=>{if(!e.defaultPrevented)if("ArrowUp"!==e.key)if("ArrowDown"!==e.key);else{if(e.preventDefault(),e.ctrlKey||e.metaKey){const e=t-1;l(e),n(e)}else((e,t)=>{a(1,e,t)})(t,n);o||r(i)}else{if(e.preventDefault(),e.ctrlKey||e.metaKey){const e=0;l(e),n(e)}else((e,t)=>{a(-1,e,t)})(t,n);o||r(i)}},[]),i=n.useCallback((e,n,a)=>{e.isDefaultPrevented()||void 0===t&&n>0&&setTimeout(()=>{l(0),a(0)},1)},[t,length]);return{currentRowIndex:t,setCurrentRowIndex:l,handleFocus:i,handleKeyDown:o}}(e.defaultCurrentRowIndex),g=function(e,t){const[l,a]=n.useState(!1),[r,o]=n.useState(null),[i,s]=n.useState(null),[c,u]=n.useState(!1),d=n.useCallback(e=>{e.defaultPrevented||(Ta(e,{key:"e",meta:!0,shift:!1})?a(e=>!e):Ta(e,{key:"s",meta:!0,shift:!1})&&(e.preventDefault(),f()))},[l]),m=n.useCallback(e=>{e.target===e.currentTarget&&f()},[]),f=function(){try{if(!i)return Promise.resolve();const e=Object.keys(i),n=function(){if(t&&e.length)return(()=>{const e=Object.keys(i||{}),t=T.reduce(e,(e,t)=>({...e,[t]:{state:sd.Saving}}),{});o({...r,...t})})(),Promise.resolve(Promise.allSettled(e.map(e=>t(i[e])))).then((function(t){s(n=>{const l={...n};return t.forEach((t,n)=>{"fulfilled"===t.status&&delete l[e[n]]}),l}),o(n=>{const l=n?{...n}:{};return t.forEach((t,n)=>{l[e[n]]="fulfilled"===t.status?{state:sd.Saved}:{state:sd.Error}}),l})}))}();return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},[g,v]=n.useState({}),h=n.useCallback(e=>!!(l&&i&&Object.keys(i).length>0)&&(e.returnValue=!0,!0),[l,i]);return n.useEffect(()=>(window.addEventListener("beforeunload",h),()=>{window.removeEventListener("beforeunload",h)}),[h]),{isEnabled:e,isEditing:l,toggleEditing:a,changes:i,getCellValue:function(e){var t;return i?null===(t=i[e.row.id])||void 0===t?void 0:t[e.column.id]:void 0},setCellValue:function(e,t){s(n=>{const l={...n};return l[e.row.id]?l[e.row.id][e.column.id]=t:l[e.row.id]={...e.row.original,[e.column.id]:t},l})},saveChangesIfNeeded:f,detailModeEditing:c,setDetailModeEditing:u,rowMoveReason:g,setRowMoveReason:v,removeRowMoveReason:e=>{v(t=>{const n={...t};return delete n[e],n})},handleKeyDown:d,handleBlur:m,resetChange:function(e){let t=i?{...i}:{};t&&delete t[e],0===Object.keys(t).length&&(t=null),s(t)},savingStates:r,removeSavingState:e=>{const t={...r};delete t[e],o(t)}}}(i.enableEditing,e.onSave),v=function(e,t="medium"){const[l,a]=n.useState(t);return{isEnabled:e,size:l,setSize:e?a:()=>{}}}(i.enableFontSize,c.fontSize),h=function(){const[e,t]=Ms(),l=n.useCallback(e=>{e.defaultPrevented||"ArrowUp"!==e.key&&"ArrowDown"!==e.key||t(!0)},[]);return{isPaused:e,pause:t,handleKeyDown:l}}(),p=function(e,t,l=!0){const[a,r]=n.useState(l);return{isEnabled:e,loadAll:t,printWarningDialogVisibility:a,setPrintWarningDialogVisibility:e?r:()=>{}}}(i.enablePrinting,e.loadAll,c.showWarningWhenPrintingLargeDataset),w=function(e,t=4){return{actionsForRow:e,actionsForRowLength:t}}(e.actionsForRow,e.actionsForRowLength),b={handleKeyDown:n.useCallback((e,t)=>{if("function"!=typeof x||e.defaultPrevented)return;const n=t.getRowModel().rows,l=t.options.meta;return"Enter"===e.key?(e.preventDefault(),void(x&&void 0!==l.currentRow.currentRowIndex&&x(n[l.currentRow.currentRowIndex].original))):void 0},[x=e.onRowClick]),handleClick:x};var x;const E=function(e){const[t,l]=n.useState({});return{isEnabled:e,dragging:t,setDragging:e?l:()=>{}}}(i.enableRowDrag),y=(C=e.onRowDrop,{isEnabled:R=i.enableRowDrop,handleDrop:R&&C?C:()=>{}});var R,C;const z=function(e,t){return{isEnabled:e,handleGoto:e&&t?t:()=>{}}}(i.enableRowGoto,e.onRowGoto),S=function(e,t="medium"){const[l,a]=n.useState(function(e){switch(e){case"compact":return"short";case"normal":return"medium";case"comfortable":return"tall";case"spacious":return"extra-tall";default:return e}}(t));return{isEnabled:e,height:l,setHeight:e?a:()=>{}}}(i.enableRowHeight,null!==(r=c.rowHeight)&&void 0!==r?r:null==c?void 0:c.rowDensity),N=function(){const e=n.useRef();return{handleKeyDown:n.useCallback((e,t)=>{if(!t.options.enableRowSelection||e.defaultPrevented)return;const n=t.getRowModel().rows,l=t.options.meta;if(" "!==e.key)return(e.ctrlKey||e.metaKey)&&"a"===e.key?(e.preventDefault(),void t.toggleAllRowsSelected()):void 0;{e.preventDefault();const t=l.currentRow.currentRowIndex;var a;void 0!==t&&(null===(a=n[t])||void 0===a||a.toggleSelected())}},[]),lastSelectedRowIndex:e}}(),O=function(e,t=!1,l){const[a,r]=n.useState(),[o,i]=n.useState(!0),[s,c]=n.useState(t),[u,d]=n.useState([]),[m,f]=n.useState(void 0);return{isEnabled:e,isHighlightingEnabled:o,toggleHighlighting:i,excludeUnmatchedResults:s,toggleExcludeUnmatchedResults:c,query:a,setQuery:e?r:()=>{},highlightedColumnIndexes:u,setHighlightedColumnIndexes:d,currentHighlightColumnIndex:m,setCurrentHighlightColumnIndex:f,loadAll:l}}(i.enableSearch,c.excludeUnmatchedRecordsInSearch,e.loadAll),{columns:I,defaultColumnSizing:M,defaultColumnVisibility:k,defaultSorting:H}=function(e,t,a){return n.useMemo(()=>{var r;const o=L.createColumnHelper(),i=[],s={},c={},u=[];var d,m;return n.Children.toArray(e.children).filter(e=>!!e).forEach(e=>{var l,a,r,o,d,m,f,g,v,h;n.isValidElement(e)&&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}),i.push({accessorKey:e.props.accessor,id:e.props.accessor,header:ju,cell:yd,footer:qu,minSize:80,enableResizing:null===(l=e.props.enableResizing)||void 0===l||l,enableColumnFilter:null===(a=e.props.enableFiltering)||void 0===a||a,filterFn:"tacoFilter",enableSorting:null===(r=e.props.enableSorting)||void 0===r||r,sortingFn:(v=e.props.dataType,h=e.props.sortFn,"function"==typeof h?(e,t,n)=>h(e.original,t.original,n):h||(v&&"boolean"!==v&&"number"!==v?v:"auto")),sortDescFirst:!1,sortUndefined:1,enableHiding:null===(o=e.props.enableHiding)||void 0===o||o,meta:{align:e.props.align,className:e.props.className,control:e.props.control,dataType:e.props.dataType,enableOrdering:null===(d=e.props.enableOrdering)||void 0===d||d,enablePrinting:null===(m=e.props.enablePrinting)||void 0===m||m,enableSearch:null===(f=e.props.enableSearch)||void 0===f||f,enableTruncate:null!==(g=e.props.enableTruncate)&&void 0!==g&&g,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}}))}),t.enableRowExpansion&&e.expandedRowRenderer&&i.unshift(o.display((d=e.expandedRowRenderer,{id:"__expansion",header:zd,cell:e=>n.createElement(Nd,Object.assign({},e,{expandedRowRenderer:d})),footer:qu,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&&i.unshift(o.display(function(e,t){const n=e&&t?22:40;return{id:"__select",header:Rd,cell:Cd,footer:qu,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&&i.unshift(o.display((m=e.onRowDrag,{id:"__drag",header:ju,cell:e=>n.createElement(Od,Object.assign({},e,{isSelected:e.row.getIsSelected(),onRowDrag:m})),footer:qu,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&&i.push(o.display({id:"__actions",header:ju,cell:Wu,footer:qu,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&&i.push(o.display({id:"__editing_actions",header:ju,cell:ud,footer:qu,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] [[role="table"][data-pause-hover="false"][data-editing="true"]_&]:group-hover/row:shadow-[-6px_0px_6px]','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:45,minSize:45})),{columns:i,defaultColumnSizing:s,defaultColumnVisibility:c,defaultSorting:u}},[])}(e,i,g),V=n.useMemo(()=>{var t,n,l,a;const r={columnOrder:dd(I,c.columnOrder),columnSizing:null!==(t=c.columnSizing)&&void 0!==t?t:M,columnVisibility:null!==(n=c.columnVisibility)&&void 0!==n?n:k,sorting:c.sorting?c.sorting.filter(e=>I.find(t=>t.id===e.id)):H};var o,i;return null!==(l=e.defaultSettings)&&void 0!==l&&l.columnFilters&&(r.columnFilters=null===(o=e.defaultSettings)||void 0===o?void 0:o.columnFilters),null!==(a=e.defaultSettings)&&void 0!==a&&a.globalFilter&&(r.globalFilter=null===(i=e.defaultSettings)||void 0===i?void 0:i.globalFilter),r},[]),A=L.useReactTable({data:e.data,columns:I,getCoreRowModel:L.getCoreRowModel(),initialState:V,...s,meta:{columnFreezing:d,columnOrdering:m,currentRow:f,editing:g,enableFooter:i.enableFooter,fontSize:v,getSettings:()=>{const e=A.getState();return{columnFreezingIndex:d.frozenColumnIndex,columnOrder:m.isEnabled?e.columnOrder:void 0,columnSizing:A.options.enableColumnResizing?e.columnSizing:void 0,columnVisibility:A.options.enableHiding?e.columnVisibility:void 0,excludeUnmatchedRecordsInSearch:O.excludeUnmatchedResults,fontSize:v.isEnabled?v.size:void 0,rowHeight:S.isEnabled?S.height:void 0,showWarningWhenPrintingLargeDataset:p.printWarningDialogVisibility,sorting:e.sorting}},hoverState:h,isPrinting:e.id.endsWith("_print"),isUsingServer:!!e.loadPage,printing:p,rowActions:w,rowClick:b,rowDrag:E,rowDrop:y,rowGoto:z,rowHeight:S,rowSelection:N,search:O}});return function(e){const t=e.options.meta,l=e.getRowModel().rows;n.useEffect(()=>{const e=t.currentRow.currentRowIndex;void 0!==e&&e>l.length&&t.currentRow.setCurrentRowIndex(0)},[l.length])}(A),function(e){const t=e.options.meta;n.useEffect(()=>{t.editing.isEnabled&&t.editing.isEditing&&requestAnimationFrame(()=>{t.editing.saveChangesIfNeeded()})},[t.currentRow.currentRowIndex]),n.useEffect(()=>{t.editing.isEnabled&&(t.editing.isEditing?void 0===t.currentRow.currentRowIndex&&t.currentRow.setCurrentRowIndex(0):requestAnimationFrame(()=>{t.editing.saveChangesIfNeeded()}))},[t.editing.isEditing])}(A),function(e,t){const n=e.getState().columnFilters;td(()=>{e.options.enableColumnFilters&&"function"==typeof t&&(t(n),e.options.enableRowSelection&&e.resetRowSelection())},[e.options.enableColumnFilters,n])}(A,e.onFilter),function(e,t){const n=e.getState().rowSelection;td(()=>{if(e.options.enableRowSelection&&"function"==typeof t){const a=e.getSelectedRowModel().rows;var n,l;t(e.options.enableMultiRowSelection?a.map(e=>e.original):null!==(n=[null===(l=a[0])||void 0===l?void 0:l.original])&&void 0!==n?n:[])}},[e.options.enableRowSelection,n])}(A,e.onRowSelect),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.printWarningDialogVisibility,a.sorting])}(A,u),function(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.currentRow.currentRowIndex){const r=a[l.currentRow.currentRowIndex];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(Fa(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.currentRow.currentRowIndex,a.length])}(A,e.shortcuts),function(e,t){const l=e.getState().sorting,a=e.getState().columnFilters,r=e.getState().globalFilter;n.useEffect(()=>{t&&t(0,l,a,r)},[])}(A,e.loadPage),function(e,t){const n=e.getState().sorting;td(()=>{e.resetRowSelection(),e.options.enableSorting&&"function"==typeof t&&t(n)},[e.options.enableSorting,n])}(A,e.onSort),{table:A,length:null!==(o=e.length)&&void 0!==o?o:e.data.length}}const Md={tabbable:!0};function kd(e){const t=h.useFocusManager(),l=e.table.options.meta,a=l.currentRow.currentRowIndex===e.index,r=l.rowDrag.dragging[e.row.id],o=0===e.index,[i,s]=n.useState(!1),c={"aria-grabbed":!!r||!l.rowDrag.isEnabled&&void 0,"data-current":a,"data-selected":e.row.getIsSelected(),draggable:l.rowDrag.isEnabled,index:e.index,onClick:l.rowClick.handleClick,onDrop:l.rowDrop.isEnabled?l.rowDrop.handleDrop:void 0,onKeyDown:n=>{if(!n.isDefaultPrevented()&&!n.isPropagationStopped()&&"Tab"===n.key){let a;l.hoverState.pause(!0),n.shiftKey?(a=t.focusPrevious(Md),a?n.preventDefault():o||(n.preventDefault(),l.currentRow.setCurrentRowIndex(e.index-1),setTimeout(()=>t.focusLast(Md),1))):(a=t.focusNext(Md),a?n.preventDefault():e.isLastRow||(n.preventDefault(),l.currentRow.setCurrentRowIndex(e.index+1),setTimeout(()=>t.focusFirst(Md),1)))}}};let u=n.createElement(Td,Object.assign({},e,c));l.editing.isEditing&&(a||i&&!l.hoverState.isPaused)&&(u=n.createElement(jd,Object.assign({},e,c,{isFirstRow:o,setCurrentRowIndex:l.currentRow.setCurrentRowIndex})));const d=n.useMemo(()=>({isHovered:i,setIsHovered:s,rowIndex:e.index}),[i,e.index]);return n.createElement(Tu.Provider,{value:d},u)}let Ld,Hd;function Vd(e){var t;return e?null===(t=e.closest("[role=cell]"))||void 0===t?void 0:t.getAttribute("data-column-index"):null}const Ad=e=>{if(void 0!==Hd){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="${Hd}"]`);null==l||l.dispatchEvent(n)}};function jd(e){const{isFirstRow:t,onKeyDown:l,...a}=e,r=h.useFocusManager(),o=e.table.options.meta;return n.useEffect(()=>{o.hoverState.isPaused&&Ad(e.tableRef)},[o.hoverState.isPaused]),n.useEffect(()=>{if(o.currentRow.currentRowIndex===e.index)if(void 0!==Ld){var t,n;const l=null===(t=e.tableRef.current)||void 0===t?void 0:t.querySelector(`[role="row"][data-current="true"] [data-column-index="${Ld}"]`);null==l||null===(n=l.querySelector(gd))||void 0===n||n.focus()}else r.focusFirst(Md)},[o.currentRow.currentRowIndex]),n.createElement(Td,Object.assign({},a,{onClickCapture:e=>{Ld=Vd(e.target)},onKeyDown:n=>{n.isDefaultPrevented()||n.isPropagationStopped()||o.editing.detailModeEditing||(l(n),(n=>{let l;"ArrowLeft"===n.key&&(n.stopPropagation(),n.preventDefault(),n.ctrlKey||n.metaKey?(n.target.blur(),l=r.focusFirst(Md),Ld=Vd(l)):(l=r.focusPrevious(Md),l?Ld=Vd(l):t||(n.preventDefault(),o.hoverState.pause(!0),o.currentRow.setCurrentRowIndex(e.index-1),setTimeout(()=>{r.focusLast(Md),Ld=Vd(l)},1))))})(n),(t=>{let n;"ArrowRight"===t.key&&(t.stopPropagation(),t.preventDefault(),t.ctrlKey||t.metaKey?(t.target.blur(),n=r.focusLast(Md),Ld=Vd(n)):(n=r.focusNext(Md),n?Ld=Vd(n):e.isLastRow||(t.preventDefault(),o.hoverState.pause(!0),o.currentRow.setCurrentRowIndex(e.index+1),setTimeout(()=>{r.focusFirst(Md),Ld=Vd(n)},1))))})(n))}}))}const Dd=["input","button","a","select","option","label","textarea"],Td=n.memo((function(e){const{index:t,measureRef:a,onClick:r,onClickCapture:o,onDrop:i,row:s,table:c,tableRef:u,...d}=e,m=n.useRef(null),f=c.options.meta,{setIsHovered:g}=Fu();n.useEffect(()=>{var e;const t=null===(e=m.current)||void 0===e?void 0:e.querySelector("[role=cell]:first-child");t&&a(t)},[m.current]);const[v,h]=Ci(e=>null==i?void 0:i(e,s.original)),p=l("group/row contents",'[[role="table"][data-resizing="true"]_&]:pointer-events-none',{"hover:cursor-pointer":"function"==typeof r});return n.createElement("div",Object.assign({},d,i?h:void 0,{className:p,"data-row-index":t,"data-dragged-over":v,onClick:e=>{if("function"==typeof r){var t;const n=e.target;if(null===(t=m.current)||void 0===t||!t.contains(e.target)||Dd.includes(n.tagName.toLowerCase())||n.closest(Dd.map(e=>"[role=row] "+e).join(",")))return;r(s.original)}},onClickCapture:e=>{"function"==typeof o&&o(e),requestAnimationFrame(()=>f.currentRow.setCurrentRowIndex(t))},onMouseEnter:()=>{void 0!==Hd?Hd!==t&&(Ad(u),Hd=t):Hd=t,g(!0)},onMouseLeave:()=>{Hd===t&&(Hd=void 0),g(!1)},role:"row",ref:m}))})),Fd=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})),Pd={short:33,medium:41,tall:49,"extra-tall":57};function Bd(e){const{loadPage:t,pageIndex:l,table:a}=e,{ref:r,inView:o}=C.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 _d(e){const{columns:t,...l}=e;return n.createElement("div",{className:"contents"},t.map(e=>n.createElement(Bd,Object.assign({key:e.id},l))))}function qd(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,f=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(_d,{key:o.id,columns:l.getVisibleLeafColumns(),loadPage:e.loadPage,pageIndex:t,table:l})}return n.createElement(n.Fragment,{key:o.id},n.createElement(kd,{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},L.flexRender(e.column.columnDef.cell,{...e.getContext(),index:t,tableRef:a})))),o.getIsExpanded()?n.createElement(Fd,{data:o.original,renderer:e.expandedRowRenderer,registerSize:f(r.index)}):null)}),m?n.createElement("div",{style:{height:m},className:"col-span-full"}):null)}return null}}var Kd;function Gd(e){const{scrollToIndex:t,table:l}=e,{texts:a}=er(),r=n.useRef(null),o=l.options.meta,[i,s]=n.useState(o.search.query),[c,u]=n.useState(Kd.Incomplete),d=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=Xu(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&&od(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.currentRow.setCurrentRowIndex(a),a}(o.search.isHighlightingEnabled,null===(e=r.current)||void 0===e?void 0:e.value,l);t&&d(t)},[o.search.query,o.search.excludeUnmatchedResults,l.getRowModel().rows.length,JSON.stringify(l.getState().sorting),JSON.stringify(l.getState().columnVisibility),c]),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 m=n.createElement(Hs,{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(Ki,{findCurrent:void 0!==o.search.currentHighlightColumnIndex?o.search.currentHighlightColumnIndex+1:null,findTotal:o.search.highlightedColumnIndexes?o.search.highlightedColumnIndexes.length:null,loading:c===Kd.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),d(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),d(o.search.highlightedColumnIndexes[e][0])},onChange:e=>{s(String(null!=e?e:""))},onFocus:function(){try{const e=function(){if(o.search.loadAll&&c===Kd.Incomplete)return u(Kd.Loading),Promise.resolve(o.search.loadAll(l.getState().sorting,l.getState().columnFilters,void 0)).then((function(){u(Kd.Completed)}))}();return Promise.resolve(e&&e.then?e.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},placeholder:a.table3.search.placeholder,settingsContent:m,ref:r,shortcut:{key:"f",meta:!0,shift:!1},value:i}))}function Wd(e){const{allColumns:t,filters:l,onChange:a,value:r=null,...o}=e;return n.createElement(ks,Object.assign({},o,{className:"!w-32 flex-shrink-0",emptyValue:null,onChange:a,value:r}),t.map(e=>{var t;return n.createElement(ks.Option,{key:e.id,value:e.id,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)}))}function Ud(e){const{column:t,onChange:l,value:a,...r}=e,{texts:o}=er(),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?[nd.HasAnyOf,nd.HasAllOf,nd.IsEqualTo,nd.HasNoneOf,nd.IsEmpty,nd.IsNotEmpty]:[nd.IsEqualTo,nd.IsNotEqualTo,nd.IsEmpty,nd.IsNotEmpty]}}return"number"===l.dataType?[nd.IsEqualTo,nd.IsNotEqualTo,nd.IsGreaterThan,nd.IsLessThan,nd.IsBetween,nd.IsEmpty,nd.IsNotEmpty]:"datepicker"===l.control||"datetime"===l.dataType?[nd.IsEqualTo,nd.IsNotEqualTo,nd.IsBetween,nd.IsLessThan,nd.IsGreaterThan,nd.IsEmpty,nd.IsNotEmpty,nd.IsLessThanOrEqualTo,nd.IsGreaterThanOrEqualTo]:"switch"===l.control?[nd.IsEqualTo]:[nd.Contains,nd.DoesNotContain,nd.IsEqualTo,nd.IsNotEqualTo,nd.IsEmpty,nd.IsNotEmpty]}(t);return n.useEffect(()=>{void 0!==a&&i.includes(a)||null==l||l(i[0])},[i]),n.createElement(ks,Object.assign({},r,{className:"!w-32 flex-shrink-0",disabled:!t,onChange:l,value:a}),i.map(e=>n.createElement(ks.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 nd.Contains:return t.table3.filters.comparators.contains;case nd.DoesNotContain:return t.table3.filters.comparators.doesNotContain;case nd.IsEqualTo:return t.table3.filters.comparators.isEqualTo;case nd.IsNotEqualTo:return t.table3.filters.comparators.isNotEqualTo;case nd.IsGreaterThan:return r?t.table3.filters.comparators.isAfter:t.table3.filters.comparators.isGreaterThan;case nd.IsLessThan:return r?t.table3.filters.comparators.isBefore:t.table3.filters.comparators.isLessThan;case nd.IsBetween:return t.table3.filters.comparators.isBetween;case nd.IsEmpty:return t.table3.filters.comparators.isEmpty;case nd.IsNotEmpty:return t.table3.filters.comparators.isNotEmpty;case nd.IsLessThanOrEqualTo:return r?t.table3.filters.comparators.isOnOrBefore:t.table3.filters.comparators.isLessThanOrEqualTo;case nd.IsGreaterThanOrEqualTo:return r?t.table3.filters.comparators.isOnOrAfter:t.table3.filters.comparators.isGreaterThanOrEqualTo;case nd.HasAnyOf:return t.table3.filters.comparators.hasAnyOf;case nd.HasAllOf:return t.table3.filters.comparators.hasAllOf;case nd.HasNoneOf:return t.table3.filters.comparators.hasNoneOf;default:return""}}(e,o,t))))}function $d(e){const{allColumns:t,filters:l,onCreate:a,onRemove:r,position:o}=e,{texts:i}=er();return n.createElement("div",{className:"flex gap-2"},n.createElement("div",{className:"flex 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(Wd,{allColumns:t,filters:l,onChange:a,value:null}),n.createElement(Ud,null),n.createElement(br,{"aria-label":i.table3.filters.emptyFilter.value,className:"flex-grow",disabled:!0,value:i.table3.filters.emptyFilter.value}),r?n.createElement(Ja,{appearance:"discrete",icon:"close",onClick:r}):null)}function Jd(e){const{column:t,comparator:l,onChange:a,value:r}=e,{texts:o}=er();if(l===nd.IsEmpty||l===nd.IsNotEmpty)return null;if(l===nd.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(br,{"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(Xd,{column:t,onChange:e=>a([e,l]),value:e}),n.createElement(Xd,{column:t,onChange:t=>a([e,t]),value:l})):n.createElement("div",{className:"flex flex-grow items-center gap-2"},n.createElement(Xd,{column:t,onChange:e=>a([isNaN(e)?void 0:e,l]),placeholder:"from",value:null!=e?e:""}),n.createElement(Xd,{column:t,onChange:t=>a([e,isNaN(t)?void 0:t]),placeholder:"to",value:null!=l?l:""}))}return n.createElement(Xd,{comparator:l,column:t,onChange:a,value:r})}function Xd(e){var a,r;const{column:o,onChange:i,value:s,...c}=e,u=null===(a=o.columnDef.meta)||void 0===a?void 0:a.control,d=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(to,Object.assign({},c,{onChange:e=>i(e.detail),value:s})):"switch"===u?n.createElement(Hs,Object.assign({},c,{className:"m-1.5",checked:Boolean(s),onChange:i})):n.createElement(br,Object.assign({},c,"input"!==u&&void 0!==u||"number"!==d?{className:"flex-grow",onChange:e=>i(e.target.value),value:String(null!=s?s:"")}:{className:l(Qu(),"flex-grow"),type:"number",onChange:e=>i(e.target.valueAsNumber),value:String(null!=s?s:"")}))}function Yd(e){const{allColumns:t,filter:l,filters:a,onChange:r,onRemove:o,position:i}=e,{texts:s}=er(),c=t.find(e=>e.id===l.id),{id:u,value:{comparator:d,value:m}}=l;return n.createElement("div",{className:"flex gap-2"},n.createElement("div",{className:"flex 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(Wd,{allColumns:t,filters:a,onChange:e=>{r(u,{id:e,value:l.value})},value:u}),n.createElement(Ud,{column:c,onChange:e=>{let t=l.value.value;e!==nd.IsEmpty&&e!==nd.IsNotEmpty||(t=void 0),r(u,{id:u,value:{comparator:e,value:t}})},value:d}),n.createElement(Jd,{column:c,comparator:d,onChange:e=>{r(u,{id:u,value:{...l.value,value:e}})},value:m}),n.createElement(Ja,{appearance:"discrete",className:"ml-auto",icon:"close",onClick:()=>o(u)}))}!function(e){e[e.Incomplete=0]="Incomplete",e[e.Loading=1]="Loading",e[e.Completed=2]="Completed"}(Kd||(Kd={}));const Qd=(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},Zd=()=>Qd("(min-width: 1024px)",window.innerWidth>1024);function em(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 tm(e){const{total:t,table:a}=e,{locale:r,texts:o}=er(),i=n.useRef(null),s=Zd(),c=a.getAllLeafColumns().filter(e=>!Uu(e.id)).sort(em),u=a.getState().columnFilters;Ba({key:"f",meta:!0,shift:!0},e=>{var t;e.preventDefault(),null===(t=i.current)||void 0===t||t.click()});const[d,m]=n.useState(a.getState().columnFilters),[f,g]=n.useState(1),v=(e,t)=>{m(n=>{const l=[...n],a=l.findIndex(t=>t.id===e);return l[a]=t,l})},h=e=>{1===d.length&&0===f&&g(e=>e+1),m(t=>t.filter(t=>t.id!==e))},p=e=>{m(t=>[...t,{id:e,value:{comparator:nd.Contains,value:void 0}}]),b()},w=()=>{g(e=>e+1)},b=()=>{g(e=>e-1)},x=()=>{a.setColumnFilters(d.filter(e=>{var t;const n=null===(t=c.find(t=>t.id===e.id).columnDef.meta)||void 0===t?void 0:t.control;return e.value.comparator===nd.IsEmpty||e.value.comparator===nd.IsNotEmpty||"switch"===n||!!e.value.value}))},E=()=>{a.resetColumnFilters(),m([]),g(1)},y={"aria-label":o.table3.filters.tooltip,className:l({"!wcag-blue-100":u.length}),popover:e=>n.createElement(eo,Object.assign({},e),n.createElement(eo.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(Yd,{key:"filter_"+t,allColumns:c,filter:e,filters:d,position:t,onChange:v,onRemove:h})),[...Array(f)].map((e,t)=>n.createElement($d,{key:"placeholder_"+t,allColumns:c,filters:d,position:d.length+t,onCreate:p,onRemove:f>1||d.length>0?b:void 0})),n.createElement("div",{className:"justify-start"},n.createElement(lr,{appearance:"discrete",onClick:w},"+ ",o.table3.filters.buttons.addFilter))),n.createElement(vo,{className:"ml-auto"},n.createElement(eo.Close,null,n.createElement(lr,null,"Cancel")),n.createElement(lr,{onClick:E},"Clear"),n.createElement(lr,{appearance:"primary",onClick:x},"Apply"))))),ref:i,tooltip:n.createElement(n.Fragment,null,o.table3.filters.tooltip,n.createElement(ni,{className:"ml-2",keys:{key:"f",meta:!0,shift:!0}}))};return s||u.length?n.createElement(lr,Object.assign({},y),n.createElement(ga,{className:l({"-mr-1.5":!s}),name:u.length?"filter-solid":"filter"}),s?o.table3.filters.button:"",u.length?`(${u.length})`:""):n.createElement(Ja,Object.assign({},y,{icon:"filter"}))}function nm(e){const{texts:t}=er(),a=e.table.options.meta,r=l({"!wcag-blue-100":a.editing.isEditing});return n.createElement(lr,{"aria-pressed":a.editing.isEditing,className:r,onClick:()=>a.editing.toggleEditing(!a.editing.isEditing),tooltip:n.createElement(n.Fragment,null,t.table3.editing.buttons.edit.tooltip,n.createElement(ni,{className:"ml-2",keys:{key:"e",meta:!0,shift:!1}}))},n.createElement(ga,{"aria-hidden":!0,name:"edit"}),t.table3.editing.buttons.edit.text)}function lm({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 [role="table"] [role="columnheader"] {\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 f;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===(f=r.parentNode)||void 0===f||f.insertBefore(m,r),r.remove()):l.body.append(m),o&&o.remove();let g=m.parentNode;for(;null!==g&&g!==l.body;){var v;null===(v=g)||void 0===v||v.classList.add("!h-fit"),g=g.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?H.createPortal(n.createElement(pm,Object.assign({},m)),o):null)}const am=({onAccept:e,onCancel:t,onClose:l,onVisibilityChange:a,...r})=>{const[o,i]=n.useState(!1),{texts:s}=er(),c=()=>{l(),null==a||a(!o)};return n.createElement(go,Object.assign({},r,{closeOnEscape:!0,onClose:c,showCloseButton:!1,size:"xs"}),n.createElement(go.Content,{"aria-label":s.table3.print.warningDialog.title},n.createElement(go.Title,{className:"text-center"},n.createElement(va,{icon:"warning",color:"yellow",className:"mr-2"}),s.table3.print.warningDialog.title),n.createElement("p",null,s.table3.print.warningDialog.description),n.createElement(go.Footer,{className:"flex items-center justify-between"},n.createElement(dr,{label:s.table3.print.warningDialog.checkboxVisibilityLabel,checked:o,onChange:i}),n.createElement(vo,null,n.createElement(lr,{onClick:()=>{c(),t()}},s.table3.print.warningDialog.cancelButtonText),n.createElement(lr,{appearance:"primary",autoFocus:!0,onClick:()=>{c(),e()}},s.table3.print.warningDialog.printButtonText)))))};function rm(e){const{table:t,tableProps:l}=e,{texts:a}=er(),r=Bi(),[o,i]=n.useState(!1),[s,c]=n.useState(!1),u=n.useRef(null),d=n.useRef(null),m=t.options.meta,f=t.getState(),{printWarningDialogVisibility:g}=m.printing,v=l.id+"_print",h=m.search.excludeUnmatchedResults,p=n.useMemo(()=>({columnFreezingIndex:m.columnFreezing.frozenColumnIndex,columnOrder:f.columnOrder,columnSizing:f.columnSizing,columnVisibility:f.columnVisibility,excludeUnmatchedRecordsInSearch:h,fontSize:m.fontSize.size,rowHeight:m.rowHeight.height,sorting:f.sorting,columnFilters:f.columnFilters,globalFilter:f.globalFilter}),[m.columnFreezing.frozenColumnIndex,f.columnOrder,f.columnSizing,f.columnVisibility,h,m.fontSize.size,m.rowHeight.height,f.sorting,f.columnFilters,f.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:v};Ba({key:"p",meta:!0,shift:!1},e=>{var t;e.preventDefault(),null===(t=d.current)||void 0===t||t.click()});const x=e=>{var t;const n=`${a.table3.print.error}: ${e}`;console.error(n),null===(t=u.current)||void 0===t||t.error(n)},E=function(){try{const e=ss((function(){var e,n;return Promise.resolve(null===(e=(n=m.printing).loadAll)||void 0===e?void 0:e.call(n,t.getState().sorting,t.getState().columnFilters,void 0)).then((function(){}))}),(function(e){x(e)}));return Promise.resolve(e&&e.then?e.then((function(){})):void 0)}catch(e){return Promise.reject(e)}};return n.createElement(n.Fragment,null,n.createElement(Ja,{disabled:o,icon:"print",onClick:function(){try{let n=!1;function e(e){if(n)return e;s&&g?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.printing.loadAll){const e=ss((function(){return Promise.resolve(m.printing.loadAll(t.getState().sorting,t.getState().columnFilters,h?m.search.query:void 0)).then((function(){const{data:e}=l,t=o(e);s=t>1e4}))}),(function(e){x(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:a.table3.print.tooltip,ref:d}),o&&null!==b.data&&n.createElement(lm,{onAfterPrint:function(){try{function e(){var e;i(!1),null===(e=u.current)||void 0===e||e.close()}const t=function(){if(m.printing.loadAll&&h)return Promise.resolve(E()).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(am,{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.printing.loadAll&&h)return Promise.resolve(E()).then((function(){}))}();return Promise.resolve(e&&e.then?e.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},onVisibilityChange:m.printing.setPrintWarningDialogVisibility}))}function om(e){const{texts:t}=er(),l=e.table.options.meta;return n.createElement(xi.SubMenu,null,n.createElement(xi.RadioGroup,{onChange:e=>{const t=e;l.rowHeight.setHeight(t),"short"===t&&"large"===l.fontSize.size&&l.fontSize.setSize("medium")},value:l.rowHeight.height},n.createElement(xi.RadioGroup.Item,{value:"short"},t.table3.rowHeight.sizes.short),n.createElement(xi.RadioGroup.Item,{value:"medium"},t.table3.rowHeight.sizes.medium),n.createElement(xi.RadioGroup.Item,{value:"tall"},t.table3.rowHeight.sizes.tall),n.createElement(xi.RadioGroup.Item,{value:"extra-tall"},t.table3.rowHeight.sizes.extraTall)))}const im=n.forwardRef((function(e,t){var a;const{column:r,draggable:o=!1,...i}=e,s=r.getCanHide(),c=l("group/column flex items-center gap-x-2 rounded py-1 px-2",{"hover:bg-grey-200":s||o,"hover:cursor-pointer":s,"active:cursor-move active:bg-grey-300":o}),u=o?i:void 0,d=r.getIsVisible();return n.createElement("div",Object.assign({},u,{key:r.id,className:c,onClick:()=>r.toggleVisibility(!d),ref:t}),o?n.createElement(ga,{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===(a=r.columnDef.meta)||void 0===a?void 0:a.header),s?n.createElement(dr,{checked:d,onChange:()=>r.toggleVisibility(!d)}):null)}));function sm(e){const{table:t,trigger:l,...a}=e,{texts:r}=er(),[o,i]=n.useState(""),s=t.getAllLeafColumns(),c=t.options.meta,u=n.useMemo(()=>s.filter(e=>!Uu(e.id)).filter(e=>{var t;return null==o||!o.length||(null===(t=e.columnDef.meta)||void 0===t?void 0:t.header.toLowerCase().includes(o.toLowerCase()))}),[s,o]),d="flex max-h-64 flex-col gap-y-px overflow-auto";return n.createElement(eo,Object.assign({},a,{anchor:l}),n.createElement(eo.Content,null,n.createElement("div",{className:"flex w-60 flex-col gap-2"},t.options.enableHiding?n.createElement(br,{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(im,{column:e,key:e.id})):r.table3.columnSettings.noResults):n.createElement(Qc,{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=>dd(s,j.arrayMove(t,t.findIndex(t=>t===e),t.findIndex(e=>e===n))))}},n.createElement(eu,{id:"columns",className:d},u.map(e=>{var t,l;return n.createElement(Zc,{key:e.id,id:e.id,disabled:!(null!==(t=e.columnDef.meta)&&void 0!==t&&t.enableOrdering),asChild:!0},n.createElement(im,{column:e,draggable:null===(l=e.columnDef.meta)||void 0===l?void 0:l.enableOrdering}))}))))))}function cm(e){const{texts:t}=er(),l=e.table.options.meta;return n.createElement(xi.SubMenu,null,n.createElement(xi.RadioGroup,{onChange:e=>l.fontSize.setSize(e),value:l.fontSize.size},n.createElement(xi.RadioGroup.Item,{value:"small"},t.table3.fontSize.sizes.small),n.createElement(xi.RadioGroup.Item,{value:"medium"},t.table3.fontSize.sizes.medium),n.createElement(xi.RadioGroup.Item,{disabled:"short"===l.rowHeight.height,value:"large"},t.table3.fontSize.sizes.large)))}function um(e){const{customSettings:t,table:l}=e,{texts:a}=er(),[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(sm,Object.assign({},t,{open:!0,onChange:e,table:l})))}}return n.createElement(Ja,{"aria-label":a.table3.otherOptions.tooltip,icon:"sliders",menu:c?void 0:e=>n.createElement(xi,Object.assign({},e),n.createElement(xi.Content,{align:"end"},l.options.enableHiding||i.columnOrdering.isEnabled?n.createElement(n.Fragment,null,n.createElement(xi.Item,{icon:"columns",onClick:()=>o("columnSettings")},a.table3.columnSettings.button),n.createElement(xi.Separator,null)):null,i.rowHeight.isEnabled?n.createElement(xi.Item,{icon:"height-"+i.rowHeight.height,subMenu:()=>n.createElement(om,{table:l})},a.table3.rowHeight.tooltip):null,i.fontSize.isEnabled?n.createElement(xi.Item,{icon:"font-size",subMenu:()=>n.createElement(cm,{table:l})},a.table3.fontSize.tooltip):null,t?n.createElement(n.Fragment,null,n.createElement(xi.Separator,null),t.map(e=>e(i.getSettings()))):null)),popover:c,onClickCapture:e=>e.preventDefault(),tooltip:a.table3.otherOptions.tooltip})}function dm(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","data-taco":"table3-toolbar"},l,n.createElement(vo,{className:"ml-auto flex-shrink-0 print:hidden"},c.editing.isEnabled?n.createElement(nm,{table:o}):null,o.options.enableColumnFilters?n.createElement(tm,{table:o,total:s}):null,a,c.printing.isEnabled?n.createElement(rm,{table:o,tableProps:i}):null,function(e){const{table:t}=e,n=t.options.meta;return n.fontSize.isEnabled||n.rowHeight.isEnabled}(e)?n.createElement(um,{table:o,customSettings:t}):null,c.search.isEnabled?n.createElement(Gd,{scrollToIndex:r,table:o}):null))}function mm(e){var t;const{currentLength:l,length:a,table:r}=e,o=r.options.meta,{locale:i,texts:s}=er();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 fm=(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"}}},gm=e=>{switch(e){case"small":return"8px";case"medium":return"12px";default:return"16px"}},vm=n.forwardRef,hm=vm((function(e,t){const{emptyState:a,customSettings:r,toolbarLeft:o,toolbarRight:i}=e,s=ja(t),{table:c,length:u}=Id(e);!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])}(c,s),n.useEffect(()=>{var t;e.autoFocus&&(null===(t=s.current)||void 0===t||t.focus())},[]);const{renderBody:d,scrollToIndex:m}=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?Pd[a.rowHeight.height]:Pd.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=V.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:qd(e,r,t,l,d,s),scrollToIndex:m}}(e,t,l)}(e,c,s),f=c.options.meta,g=c.getState(),v=n.useRef(null);n.useEffect(()=>{const e=e=>{const t=e.target,n=t.closest('[role="dialog"]');t.closest('[role="combobox"]')||n&&(null==n||!n.contains(s.current))||(f.hoverState.handleKeyDown(e),f.currentRow.handleKeyDown(e,c.getRowModel().rows.length,m,f.editing.isEditing,s),f.rowClick.handleKeyDown(e,c),f.rowSelection.handleKeyDown(e,c),f.editing.handleKeyDown(e))};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[m,f.editing.isEditing,s.current]);const p=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":"small"===f.fontSize.size,"text-sm":"medium"===f.fontSize.size,"text-base":"large"===f.fontSize.size}),{style:w}=((e,t=!1)=>{const l=e.getVisibleLeafColumns(),a=e.getState().columnSizing,r=e.getRowModel().rows.length+Object.keys(e.getState().expanded).length;return{style:{gridTemplateColumns:n.useMemo(()=>l.reduce((e,n,r)=>{let o;const i=r===l.length-1,s=a[n.id],c=Uu(n.id);return o=t?`minmax(20px, ${c?n.getSize()+"px":"1fr"})`:c?"__actions"===n.id?"minmax(max-content, auto)":n.getSize()+"px":void 0!==s?"1fr"===s?"minmax(max-content, 1fr)":i?`minmax(${s}px, auto)`:s<80?"80px":s+"px":"minmax(max-content, auto)",`${e} ${o}`.trim()},""),[l,a]),gridTemplateRows:n.useMemo(()=>`min-content repeat(${r}, min-content) 1fr min-content`,[r])}}})(c,f.isPrinting),{style:b}=(x=f.rowHeight.height,{style:{"--table3-cell-padding-x":gm(E=f.fontSize.size),"--table3-cell-padding-y":fm(x,E)}});var x,E;const y={...b,...w,opacity:.999},R=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=>!Uu(e.id));if(a.length&&a.every(e=>void 0===r[e.id]))return;const o={};l.reduce((e,t)=>{const n=t.id;return o[n]=e,Uu(n)?e+t.getSize():e+r[n]},0);const i=[Object.values(o).map((t,n)=>`#${e} [role="row"] > :nth-child(${n+1}) { left: ${t}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 }`],s=null===(n=l[c])||void 0===n?void 0:n.id;return s&&!Uu(s)&&i.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 }`),i.join("\n")}},[a,r,o,i,s.columnFreezing.isEnabled,c])}(e.id,c),C=f.isUsingServer&&void 0===e.length;return n.createElement(n.Fragment,null,R?n.createElement("style",{"data-taco":"table3-column-freezing-styles"},R):null,n.createElement(dm,{table:c,tableProps:e,total:u,left:o,right:i,customSettings:r,scrollToIndex:m}),n.createElement("div",{className:p,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.hoverState.isPaused,"data-resizing":!!g.columnSizingInfo.isResizingColumn,"data-taco":"table2",onBlur:e=>{f.editing.handleBlur(e)},onFocus:e=>{f.currentRow.handleFocus(e,c.getRowModel().rows.length,m)},onScroll:function(e){try{return f.columnFreezing.handleScroll(e),Promise.resolve()}catch(e){return Promise.reject(e)}},ref:s,role:"table",style:y,tabIndex:-1},C?null:n.createElement("div",{className:"group/header contents","data-taco":"table2-header",role:"rowgroup"},c.getHeaderGroups().map(e=>n.createElement("div",{className:"contents",key:e.id,role:"row"},e.headers.map(e=>n.createElement(n.Fragment,{key:e.id},L.flexRender(e.column.columnDef.header,{...e.getContext(),scrollToIndex:m})))))),c.getRowModel().rows.length?n.createElement(n.Fragment,null,n.createElement(h.FocusScope,{autoFocus:f.editing.isEditing},n.createElement("div",{className:"group/body contents","data-taco":"table2-body",role:"rowgroup",ref:v},d())),n.createElement("div",{className:"border-grey-300 col-span-full translate-y-px border-t"}),f.enableFooter?n.createElement("div",{className:"group/footer contents","data-taco":"table2-footer",role:"rowgroup"},c.getFooterGroups().map(e=>n.createElement("div",{className:"contents",key:e.id,role:"row"},e.headers.map(e=>n.createElement(n.Fragment,{key:e.id},L.flexRender(e.column.columnDef.footer,e.getContext()))))),u?n.createElement(mm,{currentLength:c.getRowModel().rows.length,length:u,table:c}):null):null):n.createElement("div",{className:"col-span-full min-h-[theme(spacing.8)]"},a?n.createElement(a,null):null)))})),pm=vm((function(e,t){const l=String(e.children),a=n.useMemo(()=>String("tableKey_"+l),[l]);return n.createElement(hm,Object.assign({},e,{key:a,ref:t}))}));pm.Column=function(e){return null};const wm=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(F.Root,Object.assign({},c,{className:u,"data-taco":"tabs",defaultValue:r,dir:"ltr",onValueChange:i,orientation:s,ref:n,value:a}),o)})),bm=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(F.List,Object.assign({},e,{className:a,ref:n}))})),xm=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(F.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(qa,{title:i},m):m})),Em=t.forwardRef((function(e,n){const{id:a,...r}=e,o=l('[&[data-orientation="vertical"]]:grow outline-none',e.className);return t.createElement(F.Content,Object.assign({},r,{className:o,ref:n,value:a}))}));wm.List=bm,wm.Trigger=xm,wm.Content=Em;const ym=({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(Ja,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(vo,{className:"mt-4 justify-end"},n>0&&t.createElement(lr,Object.assign({},r,{appearance:"discrete"}),u.back),t.createElement(lr,Object.assign({},o,{appearance:"primary"}),e?l?`${u.last} (${n+1}/${c})`:`${u.next} (${n+1}/${c})`:u.close)))},Rm=e=>null,Cm=e=>{const{texts:{tour:n}}=er(),{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]),f=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(B,Object.assign({},d,{run:l,steps:m,showProgress:!0,floaterProps:{disableAnimation:!0},tooltipComponent:e=>t.createElement(ym,Object.assign({},e,{locale:n,disableTourSkipOnEsc:s})),locale:n,spotlightPadding:8,spotlightClicks:i,disableScrollParentFix:c,callback:e=>{e.action===P.ACTIONS.SKIP&&e.lifecycle===P.LIFECYCLE.COMPLETE&&r&&r(f(e.step.target)),e.type===P.EVENTS.TOUR_END&&a&&a(),e.lifecycle===P.LIFECYCLE.READY&&o&&o(f(e.step.target))},scrollOffset:u,styles:{options:{primaryColor:"#6ba4ff"}},disableCloseOnEsc:!0}))};Cm.Step=Rm;const zm=n.forwardRef((function(e,t){const{...a}=e,r=l(Sm(),e.className);return n.createElement(Ja,Object.assign({},a,{appearance:"discrete",className:r,"data-taco":"header-button",ref:t}))})),Sm=(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}),Nm=n.forwardRef((function(e,t){const{children:a,icon:r,isNew:o,tooltip:i,...s}=e,{texts:c}=er(),u=l(Om(r),"relative",e.className),d=n.createElement("a",Object.assign({},s,{className:u,"data-taco":"header-link",ref:t,tabIndex:0}),r?n.createElement(ga,{name:r}):null,a,o?n.createElement(Aa,{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(qa,{title:i},d):d})),Om=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}),Im=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"})))})),Mm=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"}))))})),km=n.forwardRef((function(e,t){const{texts:a}=er(),r=ja(t),o=l("flex h-full w-full flex-grow items-center overflow-hidden active:outline-none relative",e.className),i=n.createElement(lr,{className:l(Om(),"!bg-transparent aria-expanded:!bg-white/[.08]")},a.header.more);return n.createElement("nav",Object.assign({},e,{className:o,ref:r}),n.createElement(Li,{className:"h-full flex-grow items-center gap-1 px-1",moreButton:i},e.children))})),Lm=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}))})),Hm=n.forwardRef((function(e,t){const a=l(Sm(!1),"mr-1 !bg-transparent hover:!bg-white/[.08] focus:!bg-white/[.08]] lg:hidden z-[2] !text-white");return n.createElement(Ja,Object.assign({},e,{className:a,"data-taco":"header-toggle-sidebar",icon:"menu",ref:t}))})),Vm=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}))})),Am=({agreement:e,...t})=>e.isAdministrator?n.createElement(Aa,Object.assign({},t,{color:"blue",small:!0}),"Admin"):e.isDeveloper?n.createElement(Aa,Object.assign({},t,{color:"blue",small:!0}),"Developer"):null,jm=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(Vm,{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(ga,{name:"secure-tick",className:"ml-1 mt-0.5 mb-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(Am,{agreement:o}))),t)},Dm=e=>{const{children:t,currentAgreement:a,fallbackImageSrc:r}=e;if(Qd("(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(jm,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(Vm,{fallbackSrc:r,src:a.imageSrc,title:`${a.name} - ${a.number} ${a.userId}`}),n.createElement(Am,{agreement:a,className:"absolute top-0 right-0 -mr-1 w-8 !justify-start"}))},Tm=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),Fm=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},Pm=(e,t)=>e.number===t.number&&e.userId===t.userId,Bm=(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(jm,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}))),_m=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}))}));_m.AgreementDisplay=function(e){const{currentAgreement:t,fallbackImageSrc:l}=e;return n.createElement(Tm,null,n.createElement(Dm,{currentAgreement:t,fallbackImageSrc:l}))},_m.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:f}=er(),g=n.useRef(null),[v,h]=w.useControllableState({onChange:m,prop:d}),[p,b]=n.useState("");n.useEffect(()=>{b("")},[v]);const x=e=>{s(e),h(!1)};return n.createElement(Tm,null,n.createElement(u.Root,{open:v,onOpenChange:h},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(Dm,{currentAgreement:l,fallbackImageSrc:a},t?n.createElement(ga,{className:"ml-auto hidden flex-shrink-0 flex-grow-0 text-white xl:flex",name:v?"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(qi,{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=g.current)||void 0===t||t.dispatchEvent(Nr(e)))},placeholder:f.header.search}),n.createElement($i,{querySelector:"button",className:"-my-1 flex w-full flex-grow flex-col gap-1 overflow-auto px-2 py-1 outline-none",ref:g,tabIndex:-1},null==t?void 0:t.filter(e=>r(e,Fm(p))).map(e=>{const t=Bm(e,a,x,Pm(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`},Fm(p)(e)?t:null,e.clients.filter(e=>o(e,p,Fm(p))).map(e=>Bm(e,a,x,Pm(e,l)))):t})),i?n.createElement(lr,{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},f.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},f.header.logout))))},_m.Button=zm,_m.Link=Nm,_m.Logo=Im,_m.LogoLegacy=Mm,_m.PrimaryNavigation=km,_m.SecondaryNavigation=Lm,_m.MenuButton=Hm;const qm=n.createContext({sidebarOpen:!1,setSidebarOpen:()=>{}}),Km=n.forwardRef((function(e,t){const a=l("flex-grow overflow-y-auto bg-white flex flex-shrink flex-col relative",e.className);return n.createElement("main",Object.assign({},e,{className:a,ref:t}))})),Gm=v.motion(Ca),Wm=n.forwardRef((function(e,t){const{children:a,...r}=e,{sidebarOpen:o,setSidebarOpen:i}=n.useContext(qm),s=Zd(),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,f]=n.useState(c),g=l("bg-grey-50 h-full w-64 flex-shrink-0 flex-grow-0",{"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(()=>{f(c)},1)},[c]);const h="function"==typeof a?a({isLargeScreen:s,open:o,toggleSidebar:()=>i(e=>!e)}):a;return h?n.createElement(n.Fragment,null,n.createElement("nav",Object.assign({},r,{"data-responsive":c,"aria-hidden":!u,className:g,ref:t}),h),n.createElement(v.AnimatePresence,null,d&&n.createElement(Gm,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"z-[1]",onClick:()=>i(!1)}))):null})),Um=n.forwardRef((function(e,t){const a=l("flex flex-grow overflow-hidden relative",e.className);return n.createElement("div",Object.assign({},e,{className:a,ref:t}))})),$m=n.forwardRef((function(e,t){const[a,r]=n.useState(!1),o=l("flex h-screen w-screen flex-col overflow-hidden relative",e.className);return n.createElement(qm.Provider,{value:{sidebarOpen:a,setSidebarOpen:r}},n.createElement("div",Object.assign({},e,{className:o,ref:t})))}));$m.Top=e=>{const{setSidebarOpen:t}=n.useContext(qm);return"function"==typeof e.children?e.children({toggleSidebar:()=>t(e=>!e)}):e.children},$m.Page=Um,$m.Sidebar=Wm,$m.Content=Km;const Jm=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(ga,{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))})),Xm=()=>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"),Ym=(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}),Qm=n.forwardRef((function(e,t){const{active:a,children:r,icon:o,menu:i,onDrop:s,total:c,...u}=e,[d,m]=Ci(s),f=l(Ym(d),u.className),g=l("[[role=menubar]>&]:px-3 border-grey-200",Xm(),{"[&>*]:pointer-events-none":d});return n.createElement("li",Object.assign({},m,{className:g,"data-taco":"navigation2-link-item",role:"none"}),n.createElement("a",Object.assign({},u,{"aria-current":a?"page":void 0,className:f,"data-taco":"navigation2-link",ref:t,role:"menuitem",tabIndex:0}),o?n.createElement(ga,{className:"mr-1.5 [[role=menu]>li>a>&]:mr-0.5 [[role=menu]>li>a>&]:-ml-1.5",name:o}):null,n.createElement("span",{className:"flex flex-grow items-center truncate"},r),i?n.createElement(Ja,{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(Aa,{className:l("flex-shrink-0 flex-grow-0 !font-normal",{'group-hover:hidden [[aria-expanded="true"]+&]:hidden ':i}),color:"transparent"},c):null))})),Zm=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",Xm(),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))})),ef=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",Xm(),e.className);return n.createElement("li",Object.assign({},r,{className:o,"data-taco":"navigation2-content",ref:t,role:"none"}),a)})),tf=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)}));tf.Group=Jm,tf.Link=Qm,tf.Section=Zm,tf.Content=ef,exports.Accordion=Ha,exports.Alert=pa,exports.AlertDialog=Oa,exports.Backdrop=Ca,exports.Badge=Aa,exports.BadgeIcon=va,exports.Banner=tr,exports.Base=$a,exports.Button=lr,exports.Calendar=ir,exports.Card=cr,exports.Checkbox=dr,exports.CollectionPrimitive=Yi,exports.Combobox=_r,exports.Datepicker=to,exports.Dialog=go,exports.Drawer=To,exports.Field=Fo,exports.Form=Po,exports.Group=vo,exports.Hanger=Go,exports.Header=_m,exports.HoverCard=Jo,exports.Icon=ga,exports.IconButton=Ja,exports.Input=br,exports.Layout=$m,exports.Listbox=Qo,exports.LocalizationContext=Qa,exports.LocalizationProvider=Za,exports.Menu=xi,exports.MultiListbox=Zo,exports.Navigation=Ii,exports.Navigation2=tf,exports.OverflowGroup=Li,exports.PaginatedTable=rc,exports.Pagination=ji,exports.Popover=eo,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(Za,{localization:l},t.createElement(_i.Provider,{value:r},t.createElement(o.Provider,null,t.createElement(Pi,null,n))))},exports.RadioGroup=vi,exports.SearchInput=qi,exports.SearchInput2=Ki,exports.Select=Ai,exports.Select2=ks,exports.Shortcut=ni,exports.Spinner=yr,exports.Switch=Hs,exports.Table=ac,exports.Table2=Su,exports.Table3=pm,exports.Tabs=wm,exports.TacoContext=_i,exports.Tag=as,exports.Textarea=hd,exports.Title=qo,exports.ToastProvider=Pi,exports.Tooltip=qa,exports.Tour=Cm,exports.TourStep=Rm,exports.Treeview=Ri,exports.VisuallyHidden=Va,exports.WindowedTable=sc,exports.convertRowIndexPathToNumberArray=cc,exports.createShortcutKeyDownHandler=Fa,exports.defaultLocalisationTexts=Xa,exports.defaultLocalizationContext=Ya,exports.findByValue=di,exports.fixedForwardRef=vm,exports.format=Kr,exports.getByRowIndexPath=uc,exports.getNavigationLinkClasses=Ym,exports.getNextIndexFromKey=xr,exports.getParentRowIndexPath=dc,exports.getRadioGroupItemValueAsString=ui,exports.icons=fa,exports.insertChildTableRow=mc,exports.isEventTriggeredOnInteractiveElement=Da,exports.isMacOs=Pa,exports.isWeakEqual=qr,exports.mergeRefs=ba,exports.parseFromCustomString=Gr,exports.parseFromISOString=Wr,exports.removeChildTableRow=fc,exports.setByRowIndexPath=(e,t,n)=>{const l=[...e],a=cc(t),r=a.shift();if(a.length){const e=a.map(e=>`subRows[${e}]`).join(".");N(l[r],e,n)}else l[r]=n;return l},exports.shouldTriggerShortcut=Ta,exports.useBoundaryOverflowDetection=ou,exports.useBoundingClientRectListener=vr,exports.useDropTarget=Ci,exports.useIntersectionObserver=Mi,exports.useIsLargeScreen=Zd,exports.useLazyEffect=td,exports.useListKeyboardNavigation=(e=0,t={direction:"vertical"})=>{const[l,a]=n.useState(t.initialIndex);return[l,a,n=>{const a=xr(n.key,e,l,t.direction);return void 0!==a&&n.preventDefault(),a}]},exports.useListScrollTo=Er,exports.useLocalization=er,exports.useMatchMedia=Qd,exports.useMergedRef=ja,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=gi,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),f=function(t,n,l,o){try{let f=!1;if((m.current||o!==d.current||JSON.stringify(n)!==JSON.stringify(c.current)||JSON.stringify(l)!==JSON.stringify(u.current))&&(s.current={},f=!0),s.current[t])return Promise.resolve();s.current[t]=!0,m.current=!1,c.current=n,u.current=l,d.current=o;const g=cs((function(){return ss((function(){return Promise.resolve(e(t,a,n,l,o)).then((function(e){i(n=>{let l;return f||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(g&&g.then?g.then((function(){})):void 0)}catch(e){return Promise.reject(e)}};return[{data:o,length:r.current,loadAll:function(e,n,l){try{const a=ss((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:f,onFilter:function(e){try{return f(0,c.current,e,d.current)}catch(e){return Promise.reject(e)}},onSort:function(e){try{return f(0,e,u.current,d.current)}catch(e){return Promise.reject(e)}},pageSize:a},function(){try{return m.current=!0,f(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=uc(l,r),i=dc(r),[s,c]=mc(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]=mc(l,e,{...n,_createKey:r});return o(s),a(i),null!=t&&t.current&&t.current.instance.toggleRowEditing(r),s},remove:e=>{const t=fc(l,e);a(t),o(void 0)},isCreating:void 0!==r}},exports.useToast=Bi;
|
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("classnames")),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"),f=require("@radix-ui/react-dialog"),g=require("@react-aria/interactions"),v=require("framer-motion"),h=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"),x=require("@radix-ui/react-dropdown-menu"),E=require("@radix-ui/react-radio-group"),y=require("@radix-ui/react-switch"),R=require("react-table"),C=require("react-intersection-observer"),z=require("react-window"),S=e(require("react-window-infinite-loader")),N=e(require("lodash/set")),O=e(require("lodash/unset")),I=e(require("lodash/get")),M=e(require("lodash/compact")),k=e(require("lodash/pullAt")),L=require("@tanstack/react-table"),H=e(require("react-dom")),V=require("react-virtual"),A=require("@dnd-kit/core"),j=require("@dnd-kit/sortable"),D=require("@dnd-kit/utilities"),T=e(require("lodash")),F=require("@radix-ui/react-tabs"),P=require("react-joyride"),B=e(P);const _=["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"}},K=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"}},G=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"}},W=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 U(e,n){return 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 $(e,n){return 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 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:"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 X(e,n){return 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 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:"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 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:"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 Z(e,n){return 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 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:"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 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:"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 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:"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 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.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 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:"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 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:"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 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:"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 ie(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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 Ee(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 ye(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 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",{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 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:"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 ze(e,n){return 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 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:"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 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:"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 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:"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 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 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 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:"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 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:"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 Ve(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 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:"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 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:"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 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:"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 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:"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 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",{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 Pe(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 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:"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 qe(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 Ke(e,n){return 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 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-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 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:"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 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:"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 $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:"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 Je(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 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:"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 Ye(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 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:"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 Ze(e,n){return 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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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.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 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:"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 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.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 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:"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 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:"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 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.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 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.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 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:"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 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.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 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:"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 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.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 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.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 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.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 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:"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 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:"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 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 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 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:"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 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:"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 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:"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 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:"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 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-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 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.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 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:"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 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:"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 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:"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 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:"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 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:"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 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.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 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:"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 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.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 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.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 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:"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 _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:"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 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:"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 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:"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 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:"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 Wt(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 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:"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 $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 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 Jt(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 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:"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 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:"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 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:"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 Zt(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 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:"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 tn(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 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:"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 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:"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 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:"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 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:"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 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:"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 sn(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 cn(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 un(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 dn(e,n){return 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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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.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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 Vn(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 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:"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 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:"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 Dn(e,n){return 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 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:"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 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:"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 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",{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 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:"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 _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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 $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:"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 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:"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 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:"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 Yn(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 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:"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 Zn(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 el(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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 dl(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 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:"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 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:"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 gl(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 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:"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 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 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 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:"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 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:"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 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:"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 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:"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 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:"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 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 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 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 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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 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:"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 _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:"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 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:"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 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:"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 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:"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 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:"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 $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:"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 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:"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 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:"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 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:"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 Ql(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 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:"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 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:"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 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("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 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:"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 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:"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 aa(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 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:"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 oa(e,n){return 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 ia(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 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:"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 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("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 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",{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 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:"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 ma(e,n){return 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 fa={"account-preview":t.forwardRef(U),"accounting-year-cancel":t.forwardRef($),"accounting-year":t.forwardRef(J),accounting:t.forwardRef(X),"arrow-bottom":t.forwardRef(Y),"arrow-down":t.forwardRef(Q),"arrow-end":t.forwardRef(Z),"arrow-left":t.forwardRef(ee),"arrow-right":t.forwardRef(te),"arrow-start":t.forwardRef(ne),"arrow-top":t.forwardRef(le),"arrow-up":t.forwardRef(ae),"attach-auto":t.forwardRef(re),"attach-cancel":t.forwardRef(oe),"attach-warning":t.forwardRef(ie),attach:t.forwardRef(se),"autotext-insert":t.forwardRef(ce),autotext:t.forwardRef(ue),"basic-tabs":t.forwardRef(de),basic:t.forwardRef(me),"bell-solid":t.forwardRef(fe),book:t.forwardRef(ge),booking:t.forwardRef(ve),budget:t.forwardRef(he),calendar:t.forwardRef(pe),"cash-account":t.forwardRef(we),"cash-reports":t.forwardRef(be),"chart-area":t.forwardRef(xe),"chart-bar":t.forwardRef(Ee),"chart-line":t.forwardRef(ye),"chart-pie":t.forwardRef(Re),"chart-table":t.forwardRef(Ce),"chat-solid":t.forwardRef(ze),chat:t.forwardRef(Se),"chevron-down-double":t.forwardRef(Ne),"chevron-down-solid":t.forwardRef(Oe),"chevron-down":t.forwardRef(Ie),"chevron-left-double":t.forwardRef(Me),"chevron-left-solid":t.forwardRef(ke),"chevron-left":t.forwardRef(Le),"chevron-right-double":t.forwardRef(He),"chevron-right-solid":t.forwardRef(Ve),"chevron-right":t.forwardRef(Ae),"chevron-up-double":t.forwardRef(je),"chevron-up-solid":t.forwardRef(De),"chevron-up":t.forwardRef(Te),"circle-close":t.forwardRef(Fe),"circle-information":t.forwardRef(Pe),"circle-minus":t.forwardRef(Be),"circle-plus":t.forwardRef(_e),"circle-questionmark":t.forwardRef(qe),"circle-tick":t.forwardRef(Ke),"circle-warning":t.forwardRef(Ge),"clamp-open":t.forwardRef(We),clamp:t.forwardRef(Ue),close:t.forwardRef($e),"column-freeze":t.forwardRef(Je),"column-unfreeze":t.forwardRef(Xe),columns:t.forwardRef(Ye),"connection-enable":t.forwardRef(Qe),"connection-revoke":t.forwardRef(Ze),contacts:t.forwardRef(et),copy:t.forwardRef(tt),courses:t.forwardRef(nt),credit:t.forwardRef(lt),"delete-permanently":t.forwardRef(at),delete:t.forwardRef(rt),depecriate:t.forwardRef(ot),developer:t.forwardRef(it),"distribution-template":t.forwardRef(st),"document-approve":t.forwardRef(ct),"document-create-entry":t.forwardRef(ut),"document-cut":t.forwardRef(dt),"document-error":t.forwardRef(mt),"document-isolate-page":t.forwardRef(ft),"document-merge":t.forwardRef(gt),"document-move":t.forwardRef(vt),"document-preview":t.forwardRef(ht),"document-received":t.forwardRef(pt),"document-rejected-request":t.forwardRef(wt),"document-split":t.forwardRef(bt),"document-time":t.forwardRef(xt),document:t.forwardRef(Et),download:t.forwardRef(yt),drag:t.forwardRef(Rt),"e-copedia":t.forwardRef(Ct),"e-signature":t.forwardRef(zt),edit:t.forwardRef(St),"ellipsis-horizontal":t.forwardRef(Nt),"ellipsis-vertical":t.forwardRef(Ot),"entries-on-account":t.forwardRef(It),"entries-open":t.forwardRef(Mt),"entries-warning":t.forwardRef(kt),"entry-type-customer-invoice":t.forwardRef(Lt),"entry-type-customer-payment":t.forwardRef(Ht),"entry-type-journal-entry":t.forwardRef(Vt),"entry-type-manual-customer-invoice":t.forwardRef(At),"entry-type-supplier-invoice":t.forwardRef(jt),"entry-type-supplier-payment":t.forwardRef(Dt),"envelope-approved":t.forwardRef(Tt),envelope:t.forwardRef(Ft),"expand-view":t.forwardRef(Pt),expenses:t.forwardRef(Bt),"export-to-excel":t.forwardRef(_t),"export-to-pdf":t.forwardRef(qt),export:t.forwardRef(Kt),"eye-off":t.forwardRef(Gt),"eye-on":t.forwardRef(Wt),"filter-solid":t.forwardRef(Ut),filter:t.forwardRef($t),"font-size":t.forwardRef(Jt),"graph-solid":t.forwardRef(Xt),hash:t.forwardRef(Yt),"height-extra-tall":t.forwardRef(Qt),"height-medium":t.forwardRef(Zt),"height-short":t.forwardRef(en),"height-tall":t.forwardRef(tn),home:t.forwardRef(nn),images:t.forwardRef(ln),import:t.forwardRef(an),"inbox-einvoicing":t.forwardRef(rn),"inbox-scanning":t.forwardRef(on),"inbox-smart":t.forwardRef(sn),inbox:t.forwardRef(cn),info:t.forwardRef(un),"inventory-matrix":t.forwardRef(dn),inventory:t.forwardRef(mn),"journal-pro":t.forwardRef(fn),"layout-both":t.forwardRef(gn),"layout-first":t.forwardRef(vn),"layout-last":t.forwardRef(hn),"layout-none":t.forwardRef(pn),layout:t.forwardRef(wn),"ledger-card-customer-reminder":t.forwardRef(bn),"ledger-card-manual-customer-invoice":t.forwardRef(xn),"ledger-card-obsolete-stock":t.forwardRef(En),"ledger-card-opening-entry":t.forwardRef(yn),"ledger-card-reserved-entry":t.forwardRef(Rn),"ledger-card-shrinkage-pilferage":t.forwardRef(Cn),"ledger-card-stock-adjustment":t.forwardRef(zn),"ledger-card-transferred-opening-entry":t.forwardRef(Sn),"ledger-card":t.forwardRef(Nn),lightbulb:t.forwardRef(On),line:t.forwardRef(In),"list-bulleted":t.forwardRef(Mn),"list-search":t.forwardRef(kn),list:t.forwardRef(Ln),"lock-open":t.forwardRef(Hn),lock:t.forwardRef(Vn),"log-out":t.forwardRef(An),log:t.forwardRef(jn),market:t.forwardRef(Dn),"match-amount":t.forwardRef(Tn),"match-entries":t.forwardRef(Fn),menu:t.forwardRef(Pn),mileage:t.forwardRef(Bn),"modal-resize":t.forwardRef(_n),"modal-shrink":t.forwardRef(qn),"more-solid":t.forwardRef(Kn),more:t.forwardRef(Gn),move:t.forwardRef(Wn),"navigation-list":t.forwardRef(Un),"note-follow-up":t.forwardRef($n),"note-read":t.forwardRef(Jn),note:t.forwardRef(Xn),numbers:t.forwardRef(Yn),"partner-api":t.forwardRef(Qn),"payment-paid":t.forwardRef(Zn),"payment-unpaid":t.forwardRef(el),period:t.forwardRef(tl),"person-change":t.forwardRef(nl),"person-minus":t.forwardRef(ll),"person-plus":t.forwardRef(al),"person-tick":t.forwardRef(rl),play:t.forwardRef(ol),"plus-minus":t.forwardRef(il),print:t.forwardRef(sl),"process-payment":t.forwardRef(cl),"product-ledger-card":t.forwardRef(ul),profile:t.forwardRef(dl),"project-cards":t.forwardRef(ml),projects:t.forwardRef(fl),"question-mark":t.forwardRef(gl),quicklinks:t.forwardRef(vl),"rating-bankruptcy":t.forwardRef(hl),"rating-payment-problems":t.forwardRef(pl),reconciled:t.forwardRef(wl),refresh:t.forwardRef(bl),"report-solid":t.forwardRef(xl),report:t.forwardRef(El),restore:t.forwardRef(yl),"rotate-left":t.forwardRef(Rl),"rotate-right":t.forwardRef(Cl),sales:t.forwardRef(zl),"search-bold":t.forwardRef(Sl),search:t.forwardRef(Nl),"secure-tick":t.forwardRef(Ol),secure:t.forwardRef(Il),"settings-solid":t.forwardRef(Ml),settings:t.forwardRef(kl),shortcuts:t.forwardRef(Ll),"show-all":t.forwardRef(Hl),"show-less":t.forwardRef(Vl),"show-more":t.forwardRef(Al),"show-template":t.forwardRef(jl),sliders:t.forwardRef(Dl),smartpay:t.forwardRef(Tl),"sort-by":t.forwardRef(Fl),"star-solid":t.forwardRef(Pl),star:t.forwardRef(Bl),subscriptions:t.forwardRef(_l),"system-entries":t.forwardRef(ql),tag:t.forwardRef(Kl),"template-override":t.forwardRef(Gl),templates:t.forwardRef(Wl),"thumb-both":t.forwardRef(Ul),"thumb-down-solid":t.forwardRef($l),"thumb-down":t.forwardRef(Jl),"thumb-up-solid":t.forwardRef(Xl),"thumb-up":t.forwardRef(Yl),"tick-bold":t.forwardRef(Ql),tick:t.forwardRef(Zl),time:t.forwardRef(ea),"transfer-cancel":t.forwardRef(ta),"transfer-locked":t.forwardRef(na),transfer:t.forwardRef(la),undo:t.forwardRef(aa),undock:t.forwardRef(ra),unreconciled:t.forwardRef(oa),warning:t.forwardRef(ia),webshop:t.forwardRef(sa),website:t.forwardRef(ca),"workflow-template-basic":t.forwardRef(ua),workflow:t.forwardRef(da),zoom:t.forwardRef(ma)},ga=n.forwardRef((function(e,t){var a;const{name:r,...o}=e,i=fa[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})),va=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},{[G(a)]:o,[W(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(ga,Object.assign({name:r},{strokeWidth:1,stroke:"currentColor"})))})),ha=e=>{switch(e){case"information":return"info";case"warning":return"warning";case"error":return"close";case"success":return"tick";default:return"question-mark"}},pa=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 "+G(q(o)),e.className);return n.createElement("div",Object.assign({},e,{ref:t,className:s,"data-taco":"alert",role:"alert"}),n.createElement(va,{className:"flex-none",icon:ha(o),color:q(o)}),n.createElement("div",{className:"grow text-sm"},r&&n.createElement("div",{className:"font-bold"},r),a),i&&n.createElement(ga,{className:"flex-none cursor-pointer",name:"close",onClick:i}))})),wa=n.createContext({props:{},ref:null});function ba(e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}const xa=t.forwardRef((function(e,l){const{ref:r,props:o}=n.useContext(wa),i=ba([r,l]);return t.createElement(a.Trigger,Object.assign({},o,e,{ref:i,asChild:!0}))})),Ea=t.forwardRef((function(e,n){return t.createElement("div",Object.assign({},e,{className:"flex justify-end gap-2",ref:n}),e.children)})),ya=t.forwardRef((function(e,n){return t.createElement(a.Cancel,Object.assign({},e,{ref:n,asChild:!0}))})),Ra=t.forwardRef((function(e,n){return t.createElement(a.Action,Object.assign({},e,{className:e.className,ref:n,asChild:!0}))})),Ca=t.forwardRef((function(e,n){const a=l("fixed inset-0 cursor-default overflow-y-auto bg-blue-900/[0.3] aria-hidden:invisible",e.className);return t.createElement("div",Object.assign({},e,{className:a,"data-taco":"backdrop",ref:n}))})),za=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"}},Sa=t.forwardRef((function(e,n){const r=l("text-center",e.className);return t.createElement(a.Title,Object.assign({},e,{className:r,ref:n}))})),Na=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)]",za("dialog"));return t.createElement(a.Portal,null,t.createElement(a.Overlay,{asChild:!0},t.createElement(Ca,null,t.createElement(a.Content,Object.assign({},e,{ref:n,className:r,onEscapeKeyDown:e=>e.preventDefault()}),e.children))))})),Oa=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(wa.Provider,{value:c},t.createElement(a.Root,Object.assign({},e,{defaultOpen:l,open:o,onOpenChange:r}),i&&t.createElement(xa,null,i),e.children))}));Oa.Trigger=xa,Oa.Content=Na,Oa.Title=Sa,Oa.Cancel=ya,Oa.Action=Ra,Oa.Footer=Ea;const Ia=n.createContext({as:"h2"}),Ma=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(ga,{name:a?"chevron-up":"chevron-down"}))})),ka=n.forwardRef((function(e,t){const{children:l}=e,{as:a}=n.useContext(Ia);return n.createElement(r.Header,{asChild:!0},n.createElement(a,{className:"my-3"},n.createElement(r.Trigger,{ref:t,asChild:!0},n.createElement(Ma,null,l))))})),La=n.forwardRef((function(e,t){return n.createElement(r.Content,Object.assign({},e,{ref:t}))})),Ha=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(Ia.Provider,{value:c},n.createElement(r.Root,Object.assign({},s,u,{"data-taco":"accordion",className:m,type:d})))};Ha.Item=e=>{const{id:t,...l}=e;return n.createElement(r.Item,Object.assign({},l,{value:t}))},Ha.Trigger=ka,Ha.Content=La;const Va=t.forwardRef((function(e,n){return t.createElement("span",Object.assign({},e,{className:"sr-only",ref:n}))})),Aa=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,f=l("rounded-full border overflow-hidden whitespace-nowrap inline-flex items-center justify-center",{["border "+K(u)]:o,["border-transparent font-normal "+G(u)]:s,["border-transparent "+W(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:f,"data-taco":"badge",ref:n,role:"status",title:e["aria-label"]}),r?t.createElement(Va,null,a):i?t.createElement(t.Fragment,null,t.createElement("div",{className:l("mr-1 h-2 w-2 rounded-full",W(u))}),a):a)})),ja=e=>{const t=n.useRef(null);return n.useEffect(()=>{e&&("function"==typeof e?e(t.current):e.current=t.current)},[e]),t};function Da(e){const t=e;return["A","BUTTON","INPUT","TEXTAREA","SELECT"].includes(t.tagName)&&!t.hidden&&!t.disabled&&!t.readOnly}function Ta(e,t){const n="string"==typeof t?{key:t,meta:!1,shift:!1}:t;return!(n.meta&&(Pa()?!e.metaKey:!e.ctrlKey)||!n.meta&&(Pa()?e.metaKey:e.ctrlKey)||n.shift&&!e.shiftKey||!1===n.shift&&e.shiftKey||e.key.toLowerCase()!==n.key.toLowerCase())}function Fa(e,t,n=!0){return function(l){var a;l.target!==l.currentTarget&&Da(l.target)||Ta(l,e)&&(n&&(l.stopPropagation(),null===(a=l.stopImmediatePropagation)||void 0===a||a.call(l)),t(l))}}const Pa=()=>{var e;return null===(e=window)||void 0===e?void 0:e.navigator.userAgent.includes("Mac")},Ba=(e,t)=>{n.useEffect(()=>{let n;return e&&(n=Fa(e,t,!1),document.addEventListener("keydown",n)),()=>{n&&document.removeEventListener("keydown",n)}},[e,t])},_a=t.forwardRef((function(e,n){const{disabled:l,shortcut:a,target:r,type:o="button",...i}=e,s=ja(n);Ba(a,()=>{var e;const t=document.querySelector('[role="dialog"]');(!t||null!=t&&t.contains(s.current))&&(null===(e=s.current)||void 0===e||e.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)})),qa=t.forwardRef((function(e,n){const{children:a,placement:r,title:i,...s}=e,c=l("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",s.className);return t.createElement(o.Root,{delayDuration:250},t.createElement(o.Trigger,{asChild:!0,ref:n},a),t.createElement(o.Portal,null,t.createElement(o.Content,Object.assign({},s,{className:c,"data-taco":"tooltip",side:r,sideOffset:3,style:{transformOrigin:"var(--radix-tooltip-content-transform-origin)"}}),t.createElement(o.Arrow,{className:"-mt-px fill-blue-900/90 stroke-blue-900/90"}),i)))})),Ka=()=>"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",Ga=(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"}},Wa=(e,t,l)=>{const{tooltip:a,...r}=e,o=n.createElement(_a,Object.assign({},r,{className:t,ref:l}));return a?n.createElement(qa,{title:a},o):o},Ua=(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},$a=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",Ga(o.appearance,!0),{"rounded-full":r,rounded:!r},e.className);return a?Wa({...o,children:t.createElement(ga,{name:a,className:"m-0 p-0"}),"data-taco":"icon-button"},i,n):null})),Ja=t.forwardRef((function(e,n){const{dialog:l,hanger:a,menu:r,popover:o,...i}=e,s=t.createElement($a,Object.assign({},i,{ref:n}));return Ua({dialog:l,hanger:a,menu:r,popover:o},s)})),Xa={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..."},table2:{columns:{resize:{tooltip:"Resize column"},actions:{tooltip:"Other actions"},drag:{tooltip:"Drag row"},expansion:{collapse:"Collapse row",collapseAll:"Collapse all rows",expand:"Expand row",expandAll:"Expand all rows"},select:{deselect:"Deselect row",deselectAll:"Deselect all rows",select:"Select row",selectAll:"Select all rows"},menu:{hideColumn:"Hide column",freezeColumns:(e=1)=>1===e?"Freeze the first column":`Freeze first ${e} columns`,unfreezeColumns:"Unfreeze all columns"}},columnSettings:{search:"Search column...",tooltip:"Column settings",button:"Columns",noResults:"No results"},editing:{button:"Edit",tooltip:"Edit",tooltipDisabled:"There are no visible columns that support editing",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"}},filters:{button:"Filters",buttons:{addNewFilter:"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"},conditions:{and:"And",where:"Where"},emptyFilter:{condition:"Condition",value:"Value"},tooltip:"Apply filters",total:"Viewing [CURRENT] of [TOTAL]"},footer:{summary:{records:"Records:",selected:"Records selected:"}},rowDensity:{tooltip:"Row density",compact:"compact",normal:"normal",comfortable:"comfortable",spacious:"spacious"},search:{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"}},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:{text:"Edit",tooltip:"Edit"}},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"}},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"},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"}},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"}},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"}},Ya={locale:"en-GB",texts:Xa,formatting:{date:"dd.mm.yy"}},Qa=t.createContext(Ya),Za=({localization:e,children:n})=>t.createElement(Qa.Provider,{value:null!=e?e:Ya},n),er=()=>t.useContext(Qa),tr=t.forwardRef((function(e,a){const{children:r,state:o,onClose:i}=e,{texts:s}=er(),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(va,{icon:"tick",color:"green"});case"error":return n.createElement(va,{icon:"close",color:"red"});case"warning":return n.createElement(va,{icon:"warning",color:"yellow"});case"information":return n.createElement(va,{icon:"info",color:"blue"});default:return null}})())),r,i?t.createElement(Ja,{"aria-label":s.banner.close,className:"ml-auto -mr-2 self-start",icon:"close",appearance:"discrete",onClick:i}):null);var u})),nr=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",Ga(n),"rounded px-3",{"w-full":a},e.className);return Wa({...r,"data-taco":"button"},o,t)})),lr=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(ga,{key:"chevron-down",name:"chevron-down"})]:[c,t.createElement(ga,{key:"chevron-down",name:"chevron-down"})]);const u=t.createElement(nr,Object.assign({},s,{ref:n}),c);return Ua({dialog:l,drawer:a,hanger:r,menu:o,popover:i},u)})),ar=(new Date).getFullYear(),rr=[];for(let e=ar-50;e<=ar+10;e+=1)rr.push(e);const or=t.memo(({onMonthChange:e,onNextClick:n,onPreviousClick:l,value:a=new Date})=>{const{texts:{calendar:{actions:r,months:o}}}=er(),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()},rr.map(e=>t.createElement("option",{key:e,value:e},String(e))))),t.createElement("div",null,t.createElement(qa,{title:r.previousMonth},t.createElement(Ja,{appearance:"discrete",icon:"chevron-left","aria-label":r.previousMonth,onClick:()=>l(),rounded:!0})),t.createElement(qa,{title:r.nextMonth},t.createElement(Ja,{appearance:"discrete",icon:"chevron-right","aria-label":r.nextMonth,onClick:()=>n(),rounded:!0}))))}),ir=t.forwardRef((function(e,n){const{onChange:a,value:r,disabledDays:o,...s}=e,{locale:c,texts:u}=er(),[d,m]=t.useState(null!=r?r:new Date);t.useEffect(()=>{d!==r&&m(null!=r?r:new Date)},[r]);const f=l("flex bg-white text-xs p-2",s.className);return t.createElement("div",{"data-taco":"calendar"},t.createElement(i,Object.assign({},s,{className:f,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(or,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})))})),sr=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}))})),cr=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",e.className);return t.createElement("div",{className:i,"data-taco":"card",ref:n},t.createElement("div",{className:"mx-4 mt-4 mb-2 flex"},a&&t.createElement("h4",{className:"mb-0 flex-grow text-left"},a),r?t.createElement(Ja,{icon:"ellipsis-horizontal",appearance:"discrete",menu:r,className:"-mt-[4px]"}):null),o)}));cr.Content=sr;const ur=e=>n.useMemo(()=>null!=e?e:c.v4(),[]),dr=t.forwardRef((function(e,n){const{checked:a,indeterminate:r,invalid:o,label:i,onChange:c,...u}=e,d=ur(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 f;c&&(f=e=>c("indeterminate"!==e&&e));let g=null;i&&(g={"aria-labelledby":d+"-label",id:d});const v=t.createElement(s.Root,Object.assign({},u,g,{"aria-invalid":o?"true":void 0,"data-taco":"checkbox",checked:r?"indeterminate":a,className:m,onCheckedChange:f,onKeyDown:e=>{"Enter"===e.key&&e.currentTarget.click()},ref:n}),t.createElement(s.Indicator,{className:"flex h-full w-full"},t.createElement(ga,{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"},v,t.createElement("label",{htmlFor:d,id:d+"-label"},i))}return v}));dr.displayName="Checkbox";const mr=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",{"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})},fr=(e,t)=>{let n;return function(...l){clearTimeout(n),n=setTimeout(()=>e.apply(this,l),t)}},gr=e=>Boolean(e&&(e.offsetWidth||e.offsetHeight||e.getClientRects().length)),vr=(e,n)=>{const[l,a]=t.useState(void 0),r=gr(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=fr(s,250);return window.addEventListener("resize",t),()=>{clearTimeout(e),window.removeEventListener("resize",t)}},[e.current,o]),t.useEffect(()=>{const t=gr(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},hr=["text","search","url","tel","password"],pr=t.forwardRef((function(e,n){const{highlighted:a,invalid:r,onKeyDown:o,postfix:i,prefix:s,type:c="text",...u}=e,d=ja(n),m=t.useRef(null),f=vr(m),g=t.useRef(null),v=vr(g,[i]),h=l(mr(e),{"pl-8":!!s,"pr-8":!!i},u.className);return t.createElement("div",{className:"relative inline-flex w-full","data-taco":"input-container",style:{opacity:.999}},t.createElement("input",Object.assign({},u,{className:h,"data-taco":"input",onKeyDown:e=>{if(1===e.key.length&&e.stopPropagation(),hr.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)},"aria-invalid":r,"data-highlighted":a,ref:d,style:{paddingLeft:f?f.width-1+"px":void 0,paddingRight:v?v.width-1+"px":void 0},type:c})),s?t.createElement(wr,{type:"prefix",children:s,disabled:u.disabled,ref:m}):null,i?t.createElement(wr,{type:"postfix",children:i,disabled:u.disabled,ref:g}):null)})),wr=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)}))),br=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(ga,{name:o}):o);return t.createElement(pr,Object.assign({},i,{postfix:null!==(a=i.postfix)&&void 0!==a?a:s,ref:n}))})),xr=(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}},Er=(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}}),yr=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))})),Rr=(e,t)=>`${e}_${t}`,Cr=(e,t,n)=>{const l=xr(e.key,t.length,n);if(l){if(l===n)return n;if(t[l]&&t[l].disabled)return Cr(e,t,l)}return l},zr=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:f=!1,value:g,multiselect:v,selectedIndexes:h=[],allOptionsSelected:p=!1,...w}=e,b=ja(n),x=t.useMemo(()=>a.map(()=>t.createRef()),[a]),{texts:E}=er(),{scrollTo:y}=Er(b,x);t.useEffect(()=>{var e,t;g&&null!==(e=x[g])&&void 0!==e&&e.current&&(null===(t=x[g].current)||void 0===t||t.scrollIntoView({block:"center"}))},[]),t.useEffect(()=>{y(g)},[g]);const R=e=>t=>{s(e),c&&(t.persist(),c(t,e))},C=(e,t)=>"#ALL-OPTIONS#"===e?p:!(!e||!h)&&-1!==h.findIndex(e=>e===t),z=a.map((e,t)=>{const n=e.path?e.path.split(".").length-1:0;return{"aria-selected":v?C(String(e.value),t):g===t,"data-focused":g===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:Rr(o,e.value),key:Rr(o,e.value),onClick:r||m?void 0:R(t),ref:x[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",mr(e),{"yt-list--multiselect":v,"pointer-events-none":r,"cursor-not-allowed":r||m},w.className),disabled:r,id:o,onFocus:r||m?void 0:e=>{f&&y(g),u&&(e.persist(),u(e))},onKeyDown:r||m?void 0:e=>{const t=Cr(e,a,g);void 0!==t&&t!==g&&(e.preventDefault(),y(t),s(t)),d&&(e.persist(),d(e,void 0!==t?t:g)),e.stopPropagation()},readOnly:m,ref:b,role:z.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(yr,{delay:0})),t.createElement("span",null,E.listbox.loading)):z.length?z.map(({children:e,icon:n,...l})=>t.createElement("li",Object.assign({},l),n,t.createElement("span",{className:"flex-grow truncate text-left"},e),v&&t.createElement(dr,{"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,E.listbox.empty)))})),Sr=e=>{let t;return"function"==typeof Event?t=new Event(e,{bubbles:!0}):(t=document.createEvent("Event"),t.initEvent(e,!0,!0)),t},Nr=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},Or=(e,t,n="change")=>{if(!e)return;const l=e.value;e.value=t||"";const a=e._valueTracker;a&&a.setValue(l),e.dispatchEvent(Sr(n))},Ir=e=>String(null!=e?e:""),Mr=(e,t,n="change")=>{Or(e,Ir(t),n)},kr=(e,t)=>{const n=e.findIndex(e=>Ir(e.value)===Ir(t));return n>-1?n:void 0},Lr=(e,t)=>"string"!=typeof t?[]:t.split(",").map(t=>e.findIndex(e=>String(e.value)===t)).filter(e=>-1!==e),Hr=(e,t)=>e.find(e=>Ir(e.value)===Ir(t)),Vr=(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=>Vr(e,t,n)):Vr(null===(r=e.props)||void 0===r?void 0:r.children,t,n):e.toString().toLowerCase()[n](String(t).toLowerCase())}catch{return!1}},Ar=(e,t,n,l=e.length)=>{const a=e.slice(n,l).findIndex(e=>!e.disabled&&Vr(e.text,t,"startsWith"));return a>-1?a+n:-1},jr=(e,t,n)=>void 0!==t&&e[t]?Rr(n,e[t].value):void 0,Dr=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]),Tr=e=>{if(e){const{...t}=e;return t}},Fr=(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,Tr(e.find(e=>e.path===t))))}return null},Pr=d(e=>e(),200),Br=e=>String(null!=e?e:""),_r=t.forwardRef((function(e,n){const{className:a,dialog:r,style:o,...i}=e,{combobox:s,button:d,input:m,popover:f,list:g}=(({"aria-labelledby":e,data:n=[],defaultValue:l,disabled:a,inline:r,onChange:o,onClick:i,onKeyDown:s,onSearch:u,readOnly:d,value:m,...f},g)=>{const v=ja(g),h=t.useRef(null),p=t.useRef(null),[w,b]=t.useState(!1),x=t.useMemo(()=>c.v4(),[]),[E,y]=t.useState(Br(m)),R=!u&&(!r||r&&E!==Br(m)),C=Dr(n),z=t.useMemo(()=>R?((e,t="")=>{if(""===t||null===t)return e;const n=new Set;return e.forEach(l=>{if((e=>!e.disabled&&Vr(e.text,String(t)))(l)){const t=Fr(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))})(C,E):C,[R,E,C]),[S,N]=t.useState(void 0!==E?kr(z,E):void 0),O=e=>{if(void 0!==e){const t=z[e];t&&!t.disabled&&Mr(v.current,t.value,"focusout")}},I=e=>{void 0!==e&&(z[e].value!==m?O(e):y(Br(m)))};return t.useEffect(()=>{l&&!m&&O(kr(z,l))},[z]),t.useEffect(()=>{void 0!==m&&m!==E&&y(Br(m))},[m]),t.useEffect(()=>{u&&Pr(()=>{u(E)})},[E]),t.useEffect(()=>{const e=null!=m&&E===String(m);E&&z.length&&!e?(N(0),w||b(!0)):b(!1)},[E,z]),t.useEffect(()=>{N(w?kr(z,E)||0:void 0)},[w]),{combobox:{"aria-expanded":w,"aria-owns":x,"aria-haspopup":"listbox",role:"combobox"},input:{...f,"aria-controls":x,"aria-autocomplete":"list","aria-activedescendant":void 0!==S&&z[S]?Rr(x,String(z[S].value)):void 0,"aria-labelledby":e,disabled:a,onBlur:a||d?void 0:e=>{if(e.persist(),e.relatedTarget!==p.current){if(o&&e.target.value!==m){const t=Hr(C,e.target.value);e.detail=Tr(t);const n=Fr(C,null==t?void 0:t.path);null!==n&&n.length>0&&(e.detail.parents=n),o(e)}f.onBlur&&f.onBlur(e)}else e.preventDefault()},onChange:a||d?void 0:e=>{y(e.target.value)},onClick:a||d?void 0:e=>{(r||!w&&E&&z.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(Br(m)),void b(!1);case"Tab":case"Enter":return"Tab"!==e.key&&e.preventDefault(),I(S),void b(!1);case"ArrowDown":w?e.preventDefault():!r&&h.current&&h.current.click();break;case"ArrowUp":case"Home":case"End":w&&e.preventDefault()}if(p.current&&p.current.dispatchEvent(Nr(e)),r&&!w&&("ArrowUp"===e.key||"ArrowDown"===e.key)){e.preventDefault();const t="ArrowUp"===e.key?z.length-1:0;N(void 0!==S?S:t),b(!0)}!e.isDefaultPrevented()&&s&&(e.persist(),s(e))},readOnly:d,ref:v,type:"text",value:null!=E?E:""},list:{"aria-labelledby":e,data:z,disabled:a,id:x,onChange:e=>{N(e)},onClick:(e,t)=>{e.preventDefault(),I(t),b(!1)},ref:p,scrollOnFocus:!1,tabIndex:-1,value:S},button:{ref:h},popover:{open:w,onOpenChange:b}}})(i,n),v=t.useRef(null),{texts:h}=er(),p=vr(v),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({},f),t.createElement(u.Anchor,{asChild:!0,ref:v},t.createElement("div",Object.assign({},s,{className:"inline w-full",ref:n}),t.createElement(br,Object.assign({},m,{autoComplete:"off",button:e.inline?t.createElement(Ja,{"aria-hidden":!0,appearance:"discrete",className:"!border-l-0 focus:!border-none focus:!shadow-none active:!border-none",icon:f.open?"chevron-up":"chevron-down",onClick:()=>{var e;f.onOpenChange(!0),null===(e=m.ref.current)||void 0===e||e.focus()},tabIndex:-1}):r?t.createElement(Ja,{"aria-label":h.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:h.combobox.tooltip}):void 0})))),t.createElement(u.Portal,null,t.createElement(u.Content,{align:"start",onOpenAutoFocus:e=>{e.preventDefault()},sideOffset:4},t.createElement(zr,Object.assign({},g,{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:f.open?0:-1}))))))})),qr=(e,t)=>e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDay()===t.getDay(),Kr=(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))},Gr=(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)},Wr=e=>{const t=new Date(e);return m.isValid(t)?Gr(Kr(new Date(e))):void 0},Ur=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"})))})),$r=t.createContext({props:{},ref:null}),Jr=t.forwardRef((function(e,n){return t.createElement(u.Anchor,Object.assign({},e,{asChild:!0,ref:n}))})),Xr=t.forwardRef((function(e,n){var l;const{ref:a,props:r}=t.useContext($r),o=ba([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)})),Yr=t.forwardRef((function({children:e,onClick:t},n){return e({close:()=>{t(new CustomEvent("hide"))},ref:n})})),Qr=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(Yr,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(Ur,{className:"text-white"})))})),Zr=t.forwardRef((e,n)=>t.createElement(u.Close,Object.assign({},e,{ref:n,asChild:!0}))),eo=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($r.Provider,{value:m},t.createElement(u.Root,{defaultOpen:r,modal:o,open:i,onOpenChange:s},l?t.createElement(Jr,null,l):null,c&&!l?t.createElement(Xr,null,c):null,a))}));eo.Anchor=Jr,eo.Trigger=Xr,eo.Content=Qr,eo.Close=Zr,eo.Portal=u.Portal;const to=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=ja(o),{formatting:s}=er(),[c,u]=t.useState(a&&m.isValid(a)?Kr(a,s.date):"");return t.useEffect(()=>{if(a&&m.isValid(a)){const e=Kr(a,s.date);e!==c&&u(e)}else u("")},[a]),{input:{...r,autoComplete:"off",onBlur:e=>{e.persist();const t=Gr(e.target.value),a=t&&Kr(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=>{Or(i.current,Kr(e,s.date),"focusout")},value:a}}})(c,n),{texts:f}=er(),g=l("inline-flex w-full text-black font-normal",a);return t.createElement("span",{className:g,"data-taco":"datepicker",style:o},t.createElement(br,Object.assign({},d,{button:t.createElement(Ja,{"aria-label":f.datepicker.expand,disabled:d.disabled||d.readOnly,icon:"calendar",tabIndex:-1,popover:e=>t.createElement(eo,Object.assign({},e),t.createElement(eo.Content,null,({close:e})=>t.createElement("div",{className:"-m-3 flex"},t.createElement(ir,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:f.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()}},f.datepicker.clear))))),tooltip:f.datepicker.calendar})})))}));to.displayName="Datepicker";const no=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"}),lo=()=>t.useContext(no),ao=t.forwardRef((function(e,n){const{ref:l,props:a}=lo(),r=ba([l,n]);return t.createElement(f.Trigger,Object.assign({},a,e,{ref:r,asChild:!0}))})),ro=e=>{const[t,l]=n.useState({x:0,y:0}),[a,r]=n.useState(!1),{moveProps:o}=g.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})}}},oo=t.forwardRef((function(e,n){const a=l("text-center",e.className);return t.createElement(f.Title,Object.assign({},e,{className:a,ref:n}))})),io=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)})),so=t.forwardRef((function(e,n){const l=lo();return t.createElement(f.Close,Object.assign({onClick:l.onClose},e,{ref:n,asChild:!0}))})),co=t.forwardRef((function({children:e,onClick:t,renderProps:n},l){return e({close:()=>{t(new CustomEvent("close"))},ref:l,...n})})),uo=t.forwardRef((function(e,n){const a=lo(),r=ja(n),{position:o,dragging:i,handleProps:s}=ro(r),{texts:c}=er(),u=l("relative bg-white animate-[fade-in_150ms] rounded","mt-16 mx-auto",za(a.size)),d=l("bg-white p-6 rounded relative z-10 shadow",{"rounded-b-none":!!a.elements.extra},e.className);let m;return m="function"==typeof e.children?t.createElement(so,null,t.createElement(co,{renderProps:{drawer:a.drawer}},e.children)):e.children,t.createElement(f.Portal,null,t.createElement(f.Overlay,{asChild:!0},t.createElement(Ca,null,t.createElement(f.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"})),a.showCloseButton?t.createElement(f.Close,{onClick:a.onClose,asChild:!0},t.createElement(Ja,{appearance:"discrete","aria-label":c.dialog.close,className:"absolute top-0 right-0 mt-2 mr-2",icon:"close"})):null),a.elements.drawer,a.elements.extra))))})),mo=t.forwardRef((function(e,n){var a,r;const o=lo(),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(v.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)}));mo.displayName="DialogDrawer";const fo=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}))}));fo.displayName="DialogExtra";const go=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,...g}=e,[v,h,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)===mo.displayName?l=e:(null===(r=e.type)||void 0===r?void 0:r.displayName)===fo.displayName?a=e:n.push(e)}),[n,l,a]},[e]))(l),[w,b]=t.useState(!1),x=t.useMemo(()=>({closeOnEscape:a,draggable:o,drawer:{open:w,toggle:()=>b(e=>!e)},elements:{drawer:h,extra:p},onClose:s,props:g,showCloseButton:u,size:d,ref:n}),[a,w,o,h,p,c,g,u]);return t.createElement(no.Provider,{value:x},t.createElement(f.Root,{defaultOpen:r,open:c,onOpenChange:i},m&&t.createElement(ao,null,m),v))}));go.Trigger=ao,go.Content=uo,go.Title=oo,go.Footer=io,go.Extra=fo,go.Drawer=mo,go.Close=so;const vo=t.forwardRef((function(e,n){const{as:a="span",orientation:r="horizontal",...o}=e,i=l("flex gap-2",{"flex-col ":"vertical"===r},e.className);return t.createElement(a,Object.assign({},o,{className:i,"data-taco":"group",ref:n}))})),ho=t.createContext(void 0),po=()=>t.useContext(ho),wo=t.createContext({closeOnEscape:!0,showCloseButton:!0,onClose:()=>{},onResize:()=>{},props:{},ref:null,size:"md",variant:"embedded"}),bo=()=>t.useContext(wo),xo=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}))},Eo=e=>n.createElement(p.Thumb,Object.assign({},e,{className:"flex-[1] rounded bg-black opacity-50"})),yo=e=>n.createElement(p.Corner,Object.assign({},e,{classname:"bg-grey-500"})),Ro=e=>{const{children:t,...a}=e;return n.createElement(p.Root,Object.assign({},a,{className:l("overflow-hidden",e.className)}),n.createElement(p.Viewport,{className:"h-full w-full"},t),n.createElement(xo,{orientation:"vertical"},n.createElement(Eo,null)),n.createElement(xo,{orientation:"horizontal"},n.createElement(Eo,null)),n.createElement(yo,null))};var Co;!function(e){e.Visible="visible",e.Hidden="hidden"}(Co||(Co={}));const zo=n.forwardRef((function({children:e,onClick:t,renderProps:n},l){return e({close:()=>{t(new CustomEvent("close"))},ref:l,...n})})),So=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(f.Title,Object.assign({className:i},o,{ref:t}),n.createElement("span",{className:"line-clamp-2 inline-block w-4/6 overflow-y-hidden"},r))})),No=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}))})),Oo=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(vo,Object.assign({},r,{className:o,ref:t}))})),Io=n.forwardRef((function(e,t){const{onClose:l}=bo();return n.createElement(f.Close,Object.assign({},e,{onClick:l,ref:t,asChild:!0}))})),Mo=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(Ro,{className:"w-full gap-y-0.5 p-4"},o):o)})),ko=e=>{const{children:t,...a}=e,{open:r=!1,variant:o,outlet:i}=bo(),s=n.useMemo(()=>(e=>l({block:e,hidden:!e}))(r),[r]);return i?n.createElement(f.Portal,Object.assign({},a,{container:null!=i?i:void 0}),"overlay"===o?n.createElement(f.Overlay,{forceMount:!0},n.createElement(Ca,{className:s})):null,t):null},Lo=n.forwardRef((function(e,t){const{onEscape:l,children:a,...r}=e;return Ba("Escape",l),n.createElement("div",Object.assign({},r,{ref:t}),n.createElement(h.FocusScope,{autoFocus:!0,restoreFocus:!0},a))})),Ho=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}=bo(),{className:g,style:v,children:h,...p}=e,{texts:w}=er(),b=ja(t),x=po();let E;x&&(E=()=>{x.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),g),[g]),{contentClassName:R,dragHandlerClassName:C}=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]),z=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(),O=n.useRef(null),{position:I,dragging:M,handleProps:k,resetPosition:L}=ro(ja(O)),H=n.useRef(null);n.useEffect(()=>{o&&o(I.x)},[I]),n.useEffect(()=>{var e;N(null===(e=H.current)||void 0===e?void 0:e.offsetWidth)},[H,i]);const V=n.useMemo(()=>{if(S)return Math.min(1e3,Math.max(360,S-I.x||0))},[S,I]);let A;n.useEffect(()=>{!M&&V&&(N(V),L())},[M]),A="function"==typeof h?n.createElement(Io,null,n.createElement(zo,null,h)):h;const j=n.createElement("div",{ref:H,"data-taco":"drawer",className:y},A,n.createElement("div",Object.assign({className:C},k,{"data-testid":"resize-handler",ref:O})),d?n.createElement(Io,null,n.createElement(Ja,{appearance:"discrete","aria-label":w.drawer.close,className:"absolute right-0 top-0 mr-2 mt-4",icon:"close"})):null),D={...v,width:V};return u?n.createElement(f.Content,Object.assign({forceMount:!0},p,{className:R,onEscapeKeyDown:z,onInteractOutside:"overlay"===c?void 0:e=>e.preventDefault(),onCloseAutoFocus:E,ref:b,style:D}),j):n.createElement(Lo,{onEscape:z,className:R,style:D,ref:b},j)})),Vo=n.forwardRef((function(e,t){const{children:l}=e;return n.createElement(ko,null,n.createElement(Ho,Object.assign({},e,{ref:t}),l))})),Ao=t.forwardRef((function(e,n){return t.createElement(f.Trigger,Object.assign({},e,{ref:n,asChild:!0}))})),jo=t.forwardRef((function(e,n){const a=l("h-full ml-auto overflow-hidden flex-shrink-0",e.className);return t.createElement("div",Object.assign({},e,{className:a,"data-taco":"drawer-outlet",ref:n}))}));let Do;const To=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:g=void 0===e.focusTrap&&"overlay"===e.variant||e.focusTrap,showCloseButton:v=!0,...h}=e,[p,b]=w.useControllableState({prop:l,defaultProp:a,onChange:r}),[x,E]=t.useState(),y=t.useMemo(()=>({closeOnEscape:i,onClose:c,onResize:s,props:h,size:u,ref:n,open:p,setOpen:b,variant:o,focusTrap:g,showCloseButton:v,outlet:x}),[i,p,b,h,o,s,c,u,g,v,x]),R=t.useCallback(()=>{b(!1),c&&c()},[]);return t.useEffect(()=>{var e;const t=null!==(e=document.querySelector('[data-taco="drawer-outlet"]'))&&void 0!==e?e:document.body;E(t)},[]),t.useEffect(()=>{p?(Do&&Do(),Do=R):Do===R&&(Do=void 0)},[p]),t.createElement(wo.Provider,{value:y},t.createElement(f.Root,{modal:"overlay"===o,open:p,onOpenChange:b},d&&t.createElement(Ao,null,d),m))}));To.Trigger=Ao,To.Content=Vo,To.InnerContent=Mo,To.Title=So,To.Footer=No,To.Close=Io,To.Actions=Oo,To.Outlet=jo;const Fo=t.forwardRef((function(e,n){const{disabled:a,children:r,invalid:o=!1,message:i,...s}=e,c=l("flex flex-col font-bold text-xs leading-loose pb-4 min-h-[theme(spacing.18)]",{"text-grey-300":a},e.className),u=l("h-4 text-xs text-left leading-normal font-normal truncate -mb-4",{"text-grey-700":!o,"text-red-500":o,"opacity-50":a});return t.createElement("label",Object.assign({},s,{className:c,"data-taco":"label",ref:n}),r,i&&t.createElement("span",{className:u,role:o?"alert":void 0},i))})),Po=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}))})),Bo=t.createContext({onClose:void 0,props:{},ref:null}),_o=t.forwardRef((function(e,n){var l;const{ref:a,props:r}=t.useContext(Bo),o=ba([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)})),qo=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}))})),Ko=t.forwardRef((function(e,n){const{placement:a}=e,r=t.useContext(Bo),{texts:o}=er(),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(Ur,{className:"text-blue-500"}),t.createElement(u.Close,{asChild:!0},t.createElement(Ja,{appearance:"primary","aria-label":o.hanger.close,className:"absolute top-0 right-0 ml-2 mr-2 mt-2 text-white",icon:"close",onClick:r.onClose}))))})),Go=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(Bo.Provider,{value:s},t.createElement(u.Root,{key:String(c),defaultOpen:c},l&&t.createElement(_o,null,l),a))}));Go.Anchor=_o,Go.Content=Ko,Go.Title=qo;const Wo=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"})))})),Uo=t.forwardRef((function(e,n){return t.createElement(b.Trigger,Object.assign({},e,{asChild:!0,ref:n}))})),$o=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(Wo,{className:"text-white"})))})),Jo=e=>t.createElement(b.Root,Object.assign({},e,{openDelay:300}));function Xo(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()})}}}Jo.Trigger=Uo,Jo.Content=$o;const Yo=({data:e,currentIndex:n})=>{const l=t.useRef(),a=Xo(1e3,()=>{l.current=void 0});return{getNextIndex:t=>{const r=(l.current?l.current+t:t).toLowerCase(),o=((e,t,n)=>{let l=Ar(e,t,void 0===n?0:n+1);return-1===l&&(l=Ar(e,t,0,n)),l})(e,r,n);return a.start(),l.current=r,o}}},Qo=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,...f},g)=>{const v=Dr(void 0!==a?[{text:"",value:a},...e]:e),h=t.useMemo(()=>r||c.v4(),[r]),p=ja(g),w=void 0!==m?kr(v,m):void 0,{getNextIndex:b}=Yo({data:v,currentIndex:w}),x=e=>{if(void 0!==e){const t=v[e];t&&!t.disabled&&Mr(p.current,t.value)}};return t.useEffect(()=>{if(v.length&&void 0===w)if(void 0!==n){const e=kr(v,n);void 0!==e&&x(e)}else x(0)},[v]),{list:{...f,"aria-activedescendant":jr(v,w,h),data:v,disabled:l,id:h,invalid:o,onChange:e=>{x(e)},onFocus:e=>{void 0===w&&v.length&&x(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&&x(e)}else d&&(e.persist(),d(e))},scrollOnFocus:!0,tabIndex:l?-1:f.tabIndex?f.tabIndex:0,value:w},input:{name:i,onChange:e=>{if(e.persist(),s){var t,n;const l=Hr(v,e.target.value);e.detail=Tr(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,Tr(v.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(zr,Object.assign({},o,{style:{...o.style,maxHeight:"calc(12rem + 2px)"}})),t.createElement("input",Object.assign({},i,{className:"hidden",type:"text"})))})),Zo=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},f)=>{const{texts:g}=er(),v=t.useMemo(()=>a||c.v4(),[a]),h=ja(f),p=t.useMemo(()=>[{text:g.listbox.allOption,value:"#ALL-OPTIONS#"},...e],[e]),[w,b]=t.useState(kr(p,d)||0),[x,E]=t.useState(!1),{getNextIndex:y}=Yo({data:p,currentIndex:w}),[R,C]=t.useState(Lr(p,d));t.useEffect(()=>{n&&!d&&Mr(h.current,n.toString())},[]),t.useEffect(()=>{const e=p.filter(e=>!e.disabled).length-1;E(e===R.length)},[R,p]);const z=e=>{if(void 0!==e){const n=p[e];if(n&&!n.disabled){var t;let e="";const l=null===(t=h.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?x?"":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,Mr(h.current,e)}}};return{list:{...m,"aria-activedescendant":jr(p,w,v),"aria-multiselectable":!0,data:p,disabled:l,id:v,onChange:()=>null,onClick:(e,t)=>{e.preventDefault(),p[t].disabled||(b(t),z(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(),z(t);break;case"Enter":z(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:R,multiselect:!0,allOptionsSelected:x},input:{name:r,onChange:e=>{if(e.persist(),C(Lr(p,e.target.value)),i){const t=[];e.target.value.split(",").forEach(e=>{const n=Hr(p,e);n&&t.push(n)}),e.detail=t,i(e)}},ref:h,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(zr,Object.assign({},o,{style:{...o.style,maxHeight:"calc(12rem + 2px + 2px)"}})),t.createElement("input",Object.assign({},i,{className:"hidden",type:"text"})))})),ei=t.forwardRef((function(e,n){const a=ja(n),r=po(),{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(Fa(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(x.Portal,null,t.createElement(x.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))})),ti=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}},ni=({keys:e,...t})=>{const a=l("inline-flex gap-0.5",t.className),r=(e=>{if(!e)return[];if("string"==typeof e)return[ti(e)];const t=[];return e.shift&&t.push(Pa()?"⇧":"Shift"),e.meta&&t.push(Pa()?"⌘":"Ctrl"),t.push(ti(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)))},li=({name:e})=>t.createElement("span",{className:"absolute left-0 ml-1"},t.createElement(ga,{className:"-ml-px -mt-px !h-5 !w-5",name:e})),ai=({disabled:e,indented:n,className:a})=>{const r=po();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)},ri=t.forwardRef((function(e,n){var l;const{dialog:a,icon:r,onClick:o,popover:i,shortcut:s,subMenu:c,...u}=e,d=po(),m=ai({disabled:e.disabled,indented:!!r,className:e.className});let f;if((null!==(l=e.disabled)&&void 0!==l?l:e["aria-disabled"])&&(f=e=>{e.preventDefault(),e.stopPropagation()}),c)return t.createElement(x.Sub,null,t.createElement(x.SubTrigger,Object.assign({},u,{className:m,onClick:f,ref:n}),r?t.createElement(li,{name:r}):null,e.children,t.createElement(ga,{className:"-mr-1.5 ml-auto !h-5 !w-5",name:"chevron-right"})),c());let g=t.createElement(x.Item,Object.assign({},u,{className:m,onClick:f,onSelect:t=>{o&&o(t),(e["aria-haspopup"]||"function"==typeof a||"function"==typeof i)&&t.preventDefault()},ref:n}),r?t.createElement(li,{name:r}):null,e.children,s?t.createElement("span",{className:"ml-auto pl-5"},t.createElement(ni,{keys:s,className:"text-grey-700"})):null);return"function"==typeof a?g=a({trigger:g,onClose:null==d?void 0:d.close}):"function"==typeof i&&(g=i({trigger:g})),g})),oi=t.forwardRef((function(e,n){const{href:l,icon:a,onClick:r,...o}=e,i=po(),s=ai({disabled:e.disabled,indented:!!a,className:e.className});return t.createElement(x.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(li,{name:a}),e.children))})),ii=t.forwardRef((function(e,n){const l=po(),a=ja(n);return t.useEffect(()=>{a.current&&(null==l||l.setMinWidth(a.current.getBoundingClientRect().width))},[a]),t.createElement(x.Trigger,Object.assign({},e,{asChild:!0,ref:a}))})),si=t.forwardRef((function(e,n){const{checked:l,children:a,onChange:r,...o}=e,i=ai({disabled:e.disabled,indented:!0,className:e.className});return t.createElement(x.CheckboxItem,Object.assign({},o,{checked:l,className:i,onCheckedChange:r,ref:n}),t.createElement(x.ItemIndicator,{className:"absolute left-0 ml-1.5"},t.createElement(ga,{name:"tick",className:"-ml-px !h-4 !w-4"})),a)})),ci=(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}),ui=e=>String(null!=e?e:""),di=(e,t)=>e.find(e=>ui(e)===t),mi=t.createContext({disabled:!1,invalid:!1}),fi=t.forwardRef((function(e,n){const a=t.useContext(mi),{children:r,value:o,...i}=e,s=a.disabled||e.disabled,c=l("self-start",ci(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(E.Item,Object.assign({},i,{className:c,disabled:s,ref:n,value:ui(o)}),t.createElement(E.Indicator,{className:"h-2 w-2 rounded-full bg-white"})),r)})),gi=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(di(u,e)),value:void 0!==s?ui(s):void 0}:{defaultValue:void 0!==l?ui(l):void 0},{context:d,props:{...c,...m,children:n,disabled:a,orientation:i}}},vi=t.forwardRef((function(e,n){const{context:a,props:r}=gi(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(mi.Provider,{value:a},t.createElement(E.Root,Object.assign({},r,{className:o,"data-taco":"radio-group",ref:n})))}));vi.Item=fi;const hi=t.createContext({disabled:!1}),pi=t.forwardRef((function(e,n){const{context:a,props:r}=gi(e),o=l("flex flex-col",e.className);return t.createElement(hi.Provider,{value:a},t.createElement(x.RadioGroup,Object.assign({},r,{className:o,ref:n})))}));pi.Item=e=>{const n=t.useContext(hi),{children:l,value:a,...r}=e,o=n.disabled||e.disabled,i=ai({disabled:o,indented:!0,className:e.className});return t.createElement(x.RadioItem,Object.assign({},r,{className:i,disabled:o,value:ui(a)}),t.createElement(x.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 wi=t.forwardRef((e,n)=>t.createElement(x.Separator,Object.assign({},e,{className:"bg-grey-300 my-1 h-px",ref:n}))),bi=t.forwardRef((function(e,n){const a=po(),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(x.Label,Object.assign({},e,{className:r,ref:n}))})),xi=t.forwardRef((function(e,n){const a=ja(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(x.Portal,null,t.createElement(x.SubContent,Object.assign({},o,{className:i,"data-taco":"menu-submenu",sideOffset:4,ref:a}),r))})),Ei=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),[f,g]=w.useControllableState({defaultProp:a,onChange:r,prop:o}),v=t.useMemo(()=>({indented:c,registerIndentation:()=>u(!0),minWidth:d,setMinWidth:e=>m(e),open:()=>g(!0),close:()=>g(!1)}),[c,d]);return t.createElement(ho.Provider,{value:v},t.createElement(x.Root,Object.assign({},s,{modal:!1,open:f,onOpenChange:g}),i&&t.createElement(ii,{ref:n},i),l))}));Ei.Trigger=ii,Ei.Content=ei,Ei.Item=ri,Ei.Link=oi,Ei.Checkbox=si,Ei.Separator=wi,Ei.Header=bi,Ei.RadioGroup=pi,Ei.SubMenu=xi;const yi=n.forwardRef((function(e,t){return n.createElement("a",Object.assign({},e,{ref:t}))})),Ri=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 f=l("flex-col mb-0",{flex:d,hidden:!d}),g={...u,"aria-expanded":d,role:"treeitem",tabIndex:-1},v="function"==typeof r?r(d):r;return n.createElement("div",Object.assign({},g,{className:v,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:f},n.Children.toArray(a).filter(e=>!!e).map((e,t)=>n.createElement("li",{key:t,role:"none"},n.cloneElement(e,{role:"treeitem"})))))})),Ci=n.forwardRef((function(e,t){return n.createElement("div",Object.assign({},e,{ref:t,role:"tree"}))}));Ci.Group=Ri,Ci.Item=yi;const zi=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]},Si=n.forwardRef((function(e,t){const{active:a,children:r,onDrop:o,postfix:i,prefix:s,role:c,...u}=e,d=ja(t),[m,f]=zi(o),g="treeitem"===c,v=l("yt-navigation__item cursor-pointer",{"w-full mb-px py-1 px-3 flex items-center hover:bg-grey-300":g,"bg-white w-full h-10 px-3 flex-shrink-0 flex items-center justify-between cursor-pointer":!g,"yt-navigation__item--active":a&&!m,"bg-grey-300":g&&a&&!m,"yt-navigation__item--dropping bg-blue-500":m},e.className);return n.createElement("span",Object.assign({},f,{className:v,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))})),Ni=n.forwardRef((function(e,t){return n.createElement("div",Object.assign({},e,{className:l("w-full bg-white p-3",e.className),ref:t}))})),Oi=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(Ci.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(ga,{name:t?"chevron-up":"chevron-down"}))},ref:t}))})),Ii=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(Ci,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))}));Ii.Group=Oi;const Mi=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)}));Mi.Menu=Ii,Mi.Item=Si,Mi.Panel=Ni;const ki=(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},Li=(e,t)=>{const l=e.props.to||e.props.href,a=l?Ei.Link:Ei.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))},Hi=n.forwardRef((function(e,t){const{moreButton:a,...r}=e,o=ja(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(Ja,{icon:"more"}),d=ki(o,i),m=n.Children.toArray(e.children),f=void 0!==d?m.slice(d):[],g=l("flex overflow-hidden",e.className);return n.createElement("div",Object.assign({},r,{className:g,"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})})),f.length?n.cloneElement(u,{className:l("sticky right-0 order-[99]",u.props.className),"data-observer-ignore":!0,menu:e=>n.createElement(Ei,Object.assign({},e),n.createElement(Ei.Content,null,f.map(Li))),ref:c}):null)})),Vi=({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}=er();return t.createElement(t.Fragment,null,a.map(l=>t.createElement(lr,{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)))},Ai=t.forwardRef((function(e,n){const{autoFocus:a,className:r,style:o,...i}=e,{button:s,listbox:d,popover:m,input:f,text:g,more:v=0}=(({"aria-label":e,"aria-labelledby":n,data:a=[],defaultValue:r,disabled:o,emptyValue:i,id:s,multiselect:u,onBlur:d,onChange:m,readOnly:f,tabIndex:g,value:v,...h},p)=>{const{texts:w}=er(),b=Dr(a),x=ja(p),[E,y]=t.useState(!1),R=t.useMemo(()=>s||"select_"+c.v4(),[s]),C=t.useRef(null),z=R+"-button",[S,N]=t.useState(v);t.useEffect(()=>{N(v)},[E]),t.useEffect(()=>{void 0===v?void 0!==r&&Hr(b,r)?Mr(C.current,r):void 0!==i?Mr(C.current,i):a.length>0&&Mr(C.current,a[0].value):u||Hr(b,v)||(void 0!==i?Mr(C.current,i):a.length>0&&Mr(C.current,a[0].value))},[]);let O="",I=0;if(void 0!==v)if(u){const e=(null==v?void 0:v.toString().split(","))||[];var M,k;e.length===b.filter(e=>!e.disabled).length?O=w.select.allOptionsSelected:(O=null!==(M=null===(k=Hr(b,e[0]))||void 0===k?void 0:k.text)&&void 0!==M?M:"",I=e.length>1?e.length-1:0)}else{const e=Hr(b,v);e&&(O=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} ${O}`:void 0,"aria-labelledby":n?`${n} ${z}`:void 0,disabled:o||f,id:z,onKeyDown:o||f?void 0:e=>{"ArrowUp"!==e.key&&"ArrowDown"!==e.key||(e.preventDefault(),y(!0))},tabIndex:g,type:"button"},listbox:{...h,"aria-label":e,"aria-labelledby":n,data:a,disabled:o,emptyValue:i,onBlur:d,onClick:e=>{e.preventDefault(),u||(y(!1),d&&d(Sr("blur")))},onChange:e=>{Mr(C.current,e.target.value)},onKeyDown:e=>{switch(e.key){case"Escape":e.preventDefault(),void 0!==S&&Mr(x.current,S),y(!1);break;case"Tab":case"Enter":"Tab"!==e.key&&e.preventDefault(),y(!1)}h.onKeyDown&&h.onKeyDown(e)},ref:x,value:v},input:{onChange:e=>{if(e.persist(),m){var t,n;const l=Hr(b,e.target.value);e.detail=Tr(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,Tr(b.find(e=>e.path===t))))}m(e)}},ref:C,value:String(null!=v?v:"")},popover:{open:E,onOpenChange:e=>{!e&&d&&d(Sr("blur")),y(e)}},text:O,more:I}})(i,n),h=t.useRef(null),p=vr(h),w=l("inline-flex relative w-full",{"yt-select--readonly":e.readOnly},r),b=l(mr(e),"h-8 text-left !pr-0",{"border-blue-500":m.open});t.useEffect(()=>{a&&h.current&&h.current.focus()},[]);const x={...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:h}),e.multiselect?t.createElement(t.Fragment,null,t.createElement("span",{className:"flex-grow truncate text-left"},g),v>0&&t.createElement(Aa,{className:"ml-2"},"+"+v)):t.createElement("span",{className:"flex-grow truncate text-left"},g),t.createElement("span",{className:"flex h-8 w-8 items-center justify-center"},t.createElement(ga,{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?Zo:Qo,Object.assign({},x)))),t.createElement("input",Object.assign({},f,{className:"hidden",type:"text"}))))})),ji=t.forwardRef((function(e,n){const{editable:l,...a}=e;return l?t.createElement(_r,Object.assign({},a,{dialog:void 0,inline:!0,ref:n})):t.createElement(Ai,Object.assign({},a,{ref:n}))})),Di=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:f=!0,dangerouslyHijackGlobalKeyboardNavigation:g=!1,...v}=e,{texts:h}=er(),p=Math.ceil(r/i)-1,w=g;(({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:g});const b=Math.ceil(r/i),x=o>0,E=o<b-1,y=l("inline-flex relative justify-between items-center",e.className);return t.createElement("div",Object.assign({},v,{className:y,"data-taco":"pagination",ref:a}),f&&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,h),t.createElement(ji,{"aria-label":h.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(vo,{as:"nav","aria-label":h.pagination.label},t.createElement(Ja,{appearance:"default",disabled:!x,icon:"arrow-start",onClick:()=>c(0),"aria-label":w?h.pagination.actions.firstPageWithShortcut:h.pagination.actions.firstPage,tooltip:w?h.pagination.actions.firstPageWithShortcut:h.pagination.actions.firstPage}),t.createElement(Ja,{appearance:"default",disabled:!x,icon:"arrow-left",onClick:()=>c(o-1),"aria-label":w?h.pagination.actions.previousPageWithShortcut:h.pagination.actions.previousPage,tooltip:w?h.pagination.actions.previousPageWithShortcut:h.pagination.actions.previousPage}),m&&b>0&&t.createElement(Vi,{pageCount:b,currentPageIndex:o,onClick:c}),t.createElement(Ja,{appearance:"default",disabled:!E,icon:"arrow-right",onClick:()=>c(o+1),"aria-label":w?h.pagination.actions.nextPageWithShortcut:h.pagination.actions.nextPage,tooltip:w?h.pagination.actions.nextPageWithShortcut:h.pagination.actions.nextPage}),t.createElement(Ja,{appearance:"default",disabled:!E,icon:"arrow-end",onClick:()=>c(b-1),"aria-label":w?h.pagination.actions.lastPageWithShortcut:h.pagination.actions.lastPage,tooltip:w?h.pagination.actions.lastPageWithShortcut:h.pagination.actions.lastPage})))})),Ti=({content:e,lastUpdated:t,onClose:a,options:r,...o})=>{const{texts:i}=er(),{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",{"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=Xo(s,a),m=v.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(v.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(va,{icon:"tick",color:"green"});case"error":return n.createElement(va,{icon:"close",color:"red"});case"warning":return n.createElement(va,{icon:"warning",color:"yellow"});case"information":return n.createElement(va,{icon:"info",color:"blue"});case"loading":return n.createElement(yr,{delay:0,className:"h-5 w-5"});default:return null}})()))(c),n.createElement("div",{className:"flex-grow"},e),n.createElement(Ja,{appearance:"discrete",className:"text-grey-700 -mr-2 cursor-pointer self-start !px-0",icon:"close","aria-label":i.toasts.dismiss,onClick:a}))},Fi=t.createContext({}),Pi=(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},Bi=({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=>Pi(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 Pi(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(Fi.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(v.AnimatePresence,{initial:!1},l.map(e=>t.createElement(v.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(Ti,Object.assign({},e,{onClose:()=>r(e.id)})))))))},_i=()=>t.useContext(Fi),qi=t.createContext({uniqueUserIdentifier:""}),Ki=t.forwardRef((function({onSearch:e,...n},l){const a=ja(l),{texts:r}=er(),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(br,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(Ja,{"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:()=>{Or(a.current,"")},rounded:!0,tabIndex:-1,tooltip:r.searchInput.clear}),t.createElement(Ja,{"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"}))})),Gi=n.forwardRef((function(e,t){var a,r;const{findCurrent:o,findTotal:i,loading:s=!1,onChange:c,onClickFindNext:u,onClickFindPrevious:d,settingsContent:m,shortcut:f,value:g,...v}=e,h=ja(t),p=n.useRef(null),[w,b]=n.useState(!1),{texts:x}=er(),E=null==g?void 0:g.length,y=u&&d&&void 0!==o&&void 0!==i;Ba(f,e=>{var t;document.activeElement!==h.current&&(e.preventDefault(),null===(t=h.current)||void 0===t||t.focus())});const R=()=>{requestAnimationFrame(()=>{var e;return null===(e=h.current)||void 0===e?void 0:e.blur()}),c("")};let C;v.disabled||v.readOnly||!g&&!w?!f||w||g||(C=n.createElement(ni,{keys:f,onClickCapture:()=>{var e;return null===(e=h.current)||void 0===e?void 0:e.focus()}})):(g&&(C=n.createElement(Ja,{"aria-label":x.searchInput.clear,className:"scale-75 !bg-transparent hover:!bg-black/[0.08] [&>svg]:scale-125",icon:"close",onMouseDown:R,tabIndex:-1,tooltip:w?n.createElement(n.Fragment,null,x.searchInput.clear," ",n.createElement(ni,{keys:"Escape"})):x.searchInput.clear})),y&&E&&(C=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(yr,{className:"h-4 w-4"}):`${null!=o?o:0}/${null!=i?i:0}`),o?n.createElement(n.Fragment,null,n.createElement(Ja,{"aria-label":x.searchInput.findPrevious,className:"scale-75 !bg-transparent hover:!bg-black/[0.08] [&>svg]:scale-125",icon:"chevron-up",onMouseDown:d,tabIndex:-1,tooltip:w?n.createElement(n.Fragment,null,x.searchInput.findPrevious," ",n.createElement(ni,{keys:{shift:!0,key:"Enter"}})):x.searchInput.findPrevious}),n.createElement(Ja,{"aria-label":x.searchInput.findNext,className:"scale-75 !bg-transparent hover:!bg-black/[0.08] [&>svg]:scale-125",icon:"chevron-down",onMouseDown:u,tabIndex:-1,tooltip:w?n.createElement(n.Fragment,null,x.searchInput.findNext," ",n.createElement(ni,{keys:"Enter"})):x.searchInput.findNext})):null,C)));const z=l("!pl-7 group-focus-within:!w-72 group-focus-within:yt-focus",y?{"!w-48":!g,"!w-72":g}:"!w-48",{"!wcag-blue-100":E},e.className),S=n.createElement(br,Object.assign({},v,{"aria-label":null!==(a=v["aria-label"])&&void 0!==a?a:x.searchInput.placeholder,className:z,"data-taco":"search-input2",onBlur:e=>{var t,n;p.current&&(p.current===e.relatedTarget||null!==(t=p.current)&&void 0!==t&&t.contains(e.relatedTarget))||(b(!1),null===(n=v.onBlur)||void 0===n||n.call(v,e))},onChange:e=>c(e.target.value),onFocus:e=>{var t;b(!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(y&&E&&(t.shiftKey?null==d||d():null==u||u()))):void("Escape"!==t.key||R())},placeholder:null!==(r=v.placeholder)&&void 0!==r?r:x.searchInput.placeholder,prefix:n.createElement(ga,{"aria-label":x.searchInput.button,className:"-ml-0.5 scale-95",name:"search",onClickCapture:()=>{var e;return null===(e=h.current)||void 0===e?void 0:e.focus()}}),postfix:C,ref:h,value:null!=g?g:""}));if(m){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":w}),ref:p,style:{opacity:.999}},S,n.createElement("div",{className:e,onClickCapture:()=>{var e;return null===(e=h.current)||void 0===e?void 0:e.focus()},tabIndex:-1},m))}return S})),Wi=e=>"Enter"===e.key||" "===e.key||"Tab"===e.key,Ui=e=>"ArrowUp"===e.key||"ArrowDown"===e.key||"Home"===e.key||"End"===e.key,$i=(e,t)=>e.querySelectorAll(t),Ji=n.forwardRef((function(e,t){const{querySelector:l,tabIndex:a=0,...r}=e,o=ja(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=$i(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=$i(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=$i(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=$i(e.currentTarget,l);if(t)if(Ui(e)){e.preventDefault(),e.stopPropagation();const n=Xi(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(Nr(e))}},ref:o,tabIndex:a}))})),Xi=(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)&&Yi(t.item(a))){if(l){if(0===a)return Xi(new KeyboardEvent(e.type,{...e,key:"ArrowDown"}),t,a,!1);if(a===t.length-1)return Xi(new KeyboardEvent(e.type,{...e,key:"ArrowUp"}),t,a,!1)}return Xi(e,t,a,l)}}return a},Yi=e=>"presentation"===e.getAttribute("role")||!!e.hasAttribute("disabled")||!!e.getAttribute("aria-disabled")||!!e.getAttribute("aria-hidden");var Qi={__proto__:null,Root:Ji};const Zi=n.createContext({}),es=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-"+ur(o),f=n.useMemo(()=>({disabled:r,readOnly:s,setValue:c,value:u}),[r,s,u]);return n.createElement(Zi.Provider,{value:f},n.createElement("div",{"data-taco":"listbox2"},n.createElement(Ji,Object.assign({},d,{"aria-multiselectable":!!i||void 0,id:m,querySelector:a?'[role="option"], '+a:'[role="option"]',ref:t,role:"listbox"}),l)))})),ts=n.forwardRef((function(e,t){const{disabled:l,id:a,value:r,...o}=e,{disabled:i,readOnly:s,setValue:c,value:u}=n.useContext(Zi),d="option-"+ur(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():(Wi(t)&&c(r),"function"==typeof e.onKeyDown&&e.onKeyDown(t))},ref:t,role:"option"}))})),ns=n.forwardRef((function(e,t){const[l,a]=n.useState();return n.createElement(ls.Provider,{value:{setLabelledById:a}},n.createElement("div",Object.assign({},e,{"aria-labelledby":l,ref:t,role:"group"})))})),ls=n.createContext({}),as=n.forwardRef((function(e,t){const{id:l,...a}=e,{setLabelledById:r}=n.useContext(ls),o=ur(l);return n.useEffect(()=>{r(o)},[o]),n.createElement("div",Object.assign({},a,{id:o,ref:t,role:"presentation"}))})),rs=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},G(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(ga,{name:i,className:"mr-1 -ml-1 -mt-0.5 !h-5 !w-5"}):n.cloneElement(i,{className:"mr-1 -ml-1 -mt-0.5 !h-5 !w-5"}):null,a),c?n.createElement(ga,{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)}),os=(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}),is=n.createContext({}),ss=()=>n.useContext(is);function cs(e,t){try{var n=e()}catch(e){return t(e)}return n&&n.then?n.then(void 0,t):n}function us(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)}"undefined"!=typeof Symbol&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator"))),"undefined"!=typeof Symbol&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));const ds=e=>{const{color:t,text:a,value:r,...o}=e,i=n.useRef(null),{onDelete:s,onEdit:c,searchRef:u,ref:d}=ss(),{texts:m}=er(),[f,g]=n.useState(a),[v,h]=n.useState(t),[p,w]=n.useState(),b=e=>{g(e.target.value),w(void 0)},x=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)}},E=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||f===a&&v===t)e();else{const t=cs((function(){return Promise.resolve(c(r,f,v)).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)}},R=e=>{"Escape"===e.key||"Tab"===e.key||"Tab"===e.key&&e.shiftKey||e.stopPropagation()};return n.createElement(eo,Object.assign({},o),n.createElement(eo.Content,{onCloseAutoFocus:e=>{var n,l;e.preventDefault(),g(a),h(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:()=>{g(a),h(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(Fo,{className:l("!min-h-fit",{"!pb-0":!p}),invalid:!!p,message:null==p?void 0:p.message},n.createElement(br,{invalid:!!p,onChange:b,onKeyDown:x(e),ref:i,value:f})),t?n.createElement(n.Fragment,null,n.createElement("h5",null,"Colours"),n.createElement(ms,{color:v,onChangeColor:h,onKeyDown:R})):null,n.createElement(vo,null,n.createElement(lr,{onClick:e},m.select2.cancel),n.createElement(lr,{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:E(e),onKeyDown:R},n.createElement(ga,{className:"!h-5 !w-5",name:"delete-permanently"})," ",m.select2.delete):null))))},ms=e=>{const{color:t,onChangeColor:a,onClick:r,onKeyDown:o}=e,{texts:i}=er();return n.createElement(E.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},_.map(e=>n.createElement(E.Item,{"aria-label":t,className:l("flex h-6 w-6 cursor-pointer items-center justify-center rounded",G(e)),key:e,onFocus:()=>a(e),value:e},n.createElement(E.Indicator,{asChild:!0},n.createElement(ga,{name:"tick",className:"!h-5 !w-5"})))))},fs=/iPhone|iPad|iPod|Android/i,gs=e=>!(null==e||!e.userAgent)&&fs.test(e.userAgent),vs=n.forwardRef((function(e,t){var a;const{children:r,color:o,description:i,icon:s,className:c,...u}=e,{onDelete:d,onEdit:m,listboxRef:f,multiple:g,ref:v,setOpen:h,shouldPauseHoverState:p,tags:w,value:b}=ss(),x=l(os(p),c),E=Array.isArray(b)?!!b.length:void 0!==b,y=w&&!!o,R=""!==r&&(m||d)?t=>{var l,a;return n.createElement(ds,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(ts,Object.assign({},u,{className:x,onClick:()=>{var e;g?null===(e=v.current)||void 0===e||e.focus():h(!1)},onKeyDown:e=>{Wi(e)&&(g&&"Tab"!==e.key||h(!1))},ref:t}),E?n.createElement(ga,{name:"tick",className:"pointer-events-none invisible -mx-0.5 !h-4 !w-4 group-aria-selected:visible"}):null,y?n.createElement(rs,{className:"pointer-events-none my-1",color:o,icon:s},r):n.createElement(n.Fragment,null,s?"string"==typeof s?n.createElement(ga,{name:s}):s:null,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)),R?n.createElement(Ja,{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":gs(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:R,tabIndex:-1}):null)})),hs=n.forwardRef((function(e,t){const{children:a,heading:r,...o}=e,i=l("flex flex-col gap-px",e.className);return n.createElement(ns,Object.assign({},o,{className:i,ref:t}),n.createElement(as,{className:"sticky top-0 bg-white px-2 font-bold leading-8"},r),a)})),ps=n.forwardRef((function(e,t){const a=l("flex items-center text-xs pl-2 h-8",e.className);return n.createElement(as,Object.assign({},e,{className:a,ref:t}))})),ws=(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},bs=n.forwardRef((function(e,t){const{multiple:l,value:a}=ss();if(Array.isArray(a)||l){const l=Array.isArray(a)?a:void 0!==a?[a]:void 0;return n.createElement(ys,Object.assign({},e,{ref:t,values:l}))}return n.createElement(Es,Object.assign({},e,{ref:t,value:a}))})),xs=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:f}=ss(),g=l("cursor-pointer !px-1.5",mr({...e,disabled:c,highlighted:u,invalid:d,readOnly:f}).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":!!f||void 0,className:g,disabled:c,onClick:e=>{c||f?e.preventDefault():"function"==typeof o&&o(e)},ref:t,role:"combobox",tabIndex:c||f?-1:i,type:"button"}),r,n.createElement(ga,{name:m?"chevron-up":"chevron-down",className:"pointer-events-none -mr-1 ml-auto"}))})),Es=n.forwardRef((function(e,t){const{children:a,emptyValue:r,value:o,placeholder:i,...s}=e,{disabled:c,readOnly:u,tags:d}=ss(),m=l("truncate items-center gap-1"),f=a.find(Cs(o));let g;return i&&void 0===f?g=n.createElement("div",{className:l({"text-grey-700":c,"text-grey-500":!c})},i):f&&(g=d&&void 0!==r&&r!==o?n.createElement(rs,{className:"truncate",color:f.props.color,disabled:c,icon:f.props.icon,readOnly:u},f.props.children):n.createElement(n.Fragment,null,f.props.icon?"string"==typeof f.props.icon?n.createElement(ga,{name:f.props.icon}):f.props.icon:null,f.props.children)),n.createElement(xs,Object.assign({},s,{ref:t}),n.createElement("div",{className:m},g))})),ys=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:f}=ss(),g=ja(t),v=o.map(e=>r.find(t=>t.props.value===e)).filter(e=>!!e);let h,{className:p}=s;return u?(p=l("!absolute z-20",s.className),h=n.createElement(Ro,{className:"my-1 flex max-h-[5.5rem] flex-col"},n.createElement("div",{className:"flex flex-wrap gap-1"},0===v.length?n.createElement("div",{className:l({"text-grey-700":c,"text-grey-500":!c})},i):v.map(e=>n.createElement(rs,{key:String(e.props.value),className:"truncate",color:f?e.props.color:void 0,disabled:c,icon:e.props.icon,onDelete:t=>{null==t||t.stopPropagation(),null==t||t.preventDefault(),c||d||m(e.props.value)},readOnly:d},e.props.children))))):h=n.createElement(Rs,{key:String(u),valuesAsChildren:v,placeholder:i}),n.createElement("div",{className:l("relative inline-flex flex-grow",{"h-8":u}),style:{width:u?null===(a=g.current)||void 0===a?void 0:a.offsetWidth:void 0}},n.createElement(xs,Object.assign({},s,{className:p,ref:g}),h))})),Rs=({valuesAsChildren:e,placeholder:t})=>{const{disabled:a,open:r,readOnly:o,setValue:i,tags:s}=ss(),[c,u]=n.useState(null),d=c?ws(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(rs,{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.icon,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(qa,{key:String(e.props.value),title:String(e.props.children)},c):c})),null!=d&&d<e.length-1?n.createElement(qa,{title:e.slice(d+1).map(e=>e?String(e.props.children):"").join(", ")},n.createElement(Aa,{className:"flex-shrink-0"},"+",e.length-(d+1))):null)},Cs=e=>t=>Array.isArray(e)?e.includes(t.props.value):t.props.value===e,zs=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"}}))},Ss=n.forwardRef((function(e,t){const{...a}=e,{listboxRef:r,searchQuery:o,setSearchQuery:i,setValidationError:s,validationError:c,setOpen:u}=ss();return n.createElement(Fo,{className:l("mx-1.5 mb-1.5 !min-h-fit ",{"!pb-0":!c}),invalid:!!c,message:null==c?void 0:c.message},n.createElement(br,Object.assign({},a,{"aria-hidden":!0,autoFocus:!0,invalid:!!c,onChange:e=>{c&&s(void 0),i(e.target.value)},onKeyDown:e=>{var t;if(" "!==e.key)if("Tab"!==e.key){if(Wi(e)||"ArrowDown"===e.key||"ArrowUp"===e.key)return e.preventDefault(),void(null==r||null===(t=r.current)||void 0===t||t.dispatchEvent(Nr(e)))}else u(!1)},ref:t,value:o})))})),Ns=e=>!!e.props.heading,Os=(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())},Is=e=>{const{onCreate:t,options:a}=e,{multiple:r,searchQuery:o,setOpen:i,setSearchQuery:s,setValidationError:c,setValue:u}=ss(),{texts:d}=er(),m=n.useMemo(()=>(e=>{let t={};_.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 f=l("!w-[calc(100%_-_theme(spacing.3))] ml-1.5",os());return n.createElement("button",{className:f,onClick:function(){try{const e=cs((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=>{Wi(e)&&e.currentTarget.click()}},n.createElement("span",{className:"flex items-center gap-1.5"},d.select2.create,n.createElement(rs,{color:m,className:"cursor-pointer"},o)))},Ms=e=>{const{children:t}=e;return n.createElement(Ro,{className:"flex max-h-[11.5rem] w-full flex-col gap-y-0.5 px-1.5"},t)},ks=()=>{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]},Ls=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:f,onChange:g,onCreate:v,onDelete:h,onEdit:p,readOnly:b=!1,tags:x=!1,value:E,...y}=e,R=n.useMemo(()=>{if(void 0!==i&&!m)return n.createElement(vs,{key:"__empty",children:"",value:i,className:"h-8"})},[i,m]),C=n.useMemo(()=>R?[R,...a]:a,[R,a]),z=ja(t),S=n.useRef(null),N=n.useRef(null),{texts:O}=er(),I=vr(z),[M,k]=n.useState(!1),[L,H]=w.useControllableState({defaultProp:r,onChange:g,prop:E}),V=((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,H),[A,j]=n.useState(),[D,T]=ks(),{flattenedChildren:F,filteredChildren:P,searchQuery:B,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=>Ns(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(Ns(e)){const t=e.props.children.filter(e=>Os(e,i));return t.length?n.cloneElement(e,{},t):null}return Os(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:V,value:L}),q={disabled:o,highlighted:c,invalid:d,listboxRef:S,multiple:m,onCreate:v,onDelete:h,onEdit:p,open:M,readOnly:b,ref:z,searchQuery:B,searchRef:N,setOpen:k,setSearchQuery:_,setValidationError:j,setValue:V,shouldPauseHoverState:D,setShouldPauseHoverState:T,tags:x,validationError:A,value:L};let K;y.onBlur&&(K=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=y.onBlur)||void 0===a||a.call(y,e)});const G=l("border-grey-300 rounded border bg-white py-1.5 shadow-md outline-none","flex flex-col gap-px");return n.createElement(is.Provider,{value:q},n.createElement(u.Root,{open:M,onOpenChange:k},n.createElement(Hs,{emptyValue:i,multiple:m||x,name:f,options:F.map(e=>e.props.value),parentRef:z,setValue:V,value:L}),n.createElement(u.Trigger,{asChild:!0,"data-taco":"Select2"},n.createElement(bs,Object.assign({},y,{"aria-haspopup":"listbox",emptyValue:i,onBlur:K,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=S.current)||void 0===t||t.dispatchEvent(Nr(e))},ref:z,placeholder:s}),F)),n.createElement(u.Portal,null,n.createElement(u.Content,{asChild:!0,align:"start",onOpenAutoFocus:()=>{var e;null===(e=z.current)||void 0===e||e.focus()},onCloseAutoFocus:e=>{var t;e.preventDefault(),e.stopPropagation(),null===(t=z.current)||void 0===t||t.focus()},sideOffset:4,tabIndex:-1},n.createElement("div",{className:G,style:{minWidth:null!=I&&I.width?I.width+"px":void 0}},F.length>0||v?n.createElement(Ss,{placeholder:v?O.select2.searchOrCreate:O.select2.search,ref:N}):null,F.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(es,{className:"flex flex-col gap-0.5",customSelector:":scope > button",disabled:o,multiple:m,onKeyDown:e=>{Ui(e)&&T(!0)},readOnly:b,ref:S,setValue:V,tabIndex:-1,value:L},n.createElement(Ms,null,""===B?C:P),v?n.createElement(Is,{onCreate:v,options:F}):null))))))}));Ls.Option=vs,Ls.Group=hs,Ls.Title=ps;const Hs=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(zs,{"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};Ls.displayName="Select2";const Vs=t.forwardRef((function(e,n){const{label:a,onChange:r,...o}=e,i=ur(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}));Vs.displayName="Switch";const As=(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},js=(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}=js(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:As(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}},Ds=e=>null==e?void 0:e.map(e=>({id:e.accessor,desc:e.desc})),Ts=e=>{const t="string"==typeof e?new Date(e):e;return null!=t&&t.getTime?t.getTime():void 0},Fs=(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},Ps=e=>{if(e)return String(e).toLowerCase()},Bs=e=>"boolean"==typeof e?e:isNaN(e)?Ps(e):Number(e),_s=(e,t)=>void 0!==e&&void 0===t?1:e===t?0:e>t?1:-1,qs=(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):_s(e,t);function Ks(e,t){if(t.type===R.actions.init)return{allowEditing:!0,editingRowUniqueId:null,...e};if(t.type===R.actions.resetRowEditing||t.type===R.actions.resetPage||t.type===R.actions.gotoPage)return{...e,editingRowUniqueId:null};if(t.type===R.actions.toggleRowEditing){const{id:n}=t;return{...e,editingRowUniqueId:n}}return t.type===R.actions.toggleEditing?{...e,allowEditing:!e.allowEditing}:e}function Gs(e){const{dispatch:t}=e,l=n.useCallback(()=>{t({type:R.actions.resetRowEditing})},[t]),a=n.useCallback(e=>{t({type:R.actions.toggleRowEditing,id:e})},[t]),r=n.useCallback(()=>{t({type:R.actions.toggleEditing})},[t]);Object.assign(e,{resetRowEditing:l,toggleRowEditing:a,toggleEditing:r})}R.actions.resetRowEditing="resetRowEditing",R.actions.toggleRowEditing="toggleRowEditing",R.actions.toggleEditing="toggleEditing";const Ws=(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]},Us=(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)}}),$s=()=>(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(Ja,{appearance:"primary",icon:"tick",type:"submit",className:"mr-2"}),n.createElement(Ja,{appearance:"ghost",icon:"close",type:"reset"})));function Js(e,t){if(t.type===R.actions.init)return{draggingRowIndexPath:null,...e};if(t.type===R.actions.resetRowDragging)return{...e,draggingRowIndexPath:null};if(t.type===R.actions.toggleRowDragging){const{indexPath:n}=t;return{...e,draggingRowIndexPath:n}}return e}R.actions.resetRowDragging="resetRowDragging",R.actions.toggleRowDragging="toggleRowDragging";const Xs=(e,{instance:t})=>{var n;e.toggleRowDragging=()=>{t.dispatch(t.state.draggingRowIndexPath===e.id?{type:R.actions.resetRowDragging}:{type:R.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]))},Ys=e=>[{id:"draggable",className:"yt-table__cell--draggable flex-col px-0",Cell:()=>n.createElement(ga,{name:"drag",className:"text-grey-700 invisible w-[20px] cursor-grab"}),flex:"0 0 20px"},...e],Qs=10,Zs=(e,t)=>{var l;const{children:a,data:r,onRowClick:o,onRowDrag:i,onSelectedRows:s,rowClassName:c,rowExpansionRenderer:u,rowHeight:d,selectedRows:m,disableSorting:f,manualSorting:g,onSort:v,sortRules:h,disablePagination:p=!0,length:b,onPaginate:x,pageSize:E=Qs,pageIndex:y=0,inlineEditingUniqueId:z,onRowCreate:S,actions:N,onRowEdit:O,onRowCopy:I,onRowDelete:M,onRowActive:k,windowed:L=!1,...H}=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:V,locale:A}=er(),{columns:j,sortRules:D}=n.useMemo(()=>js(a,u),[a,u]),T=!p&&!!x&&!!b,{headerGroups:F,rows:P,sortedRows:B,prepareRow:_,state:q,page:K,gotoPage:G,setPageSize:W,...U}=R.useTable({columns:j,data:r,initialState:{sortBy:Ds(h)||D,pageSize:p?void 0:E,pageIndex:p?void 0:y},manualPagination:T,pageCount:T&&b?Math.ceil(b/E):-1,manualSortBy:g,disableSortBy:f,autoResetExpanded:!1,autoResetSelectedRows:!1,autoResetSortBy:!1,autoResetPage:!1,sortTypes:n.useMemo(()=>(e=>({datetime:(e,t,n)=>{const l=Ts(e.values[n]),a=Ts(t.values[n]);return _s(l,a)},string:(t,n,l)=>{const a=Ps(t.values[l]),r=Ps(n.values[l]);return qs(a,r,e)},number:(e,t,n)=>{const l=Fs(e.values[n]),a=Fs(t.values[n]);return _s(l,a)},boolean:(e,t,n)=>_s(!!e.values[n],!!t.values[n]),auto:(t,n,l)=>{const a=Bs(t.values[l]),r=Bs(n.values[l]);return"string"==typeof a&&"string"==typeof r?qs(a,r,e):_s(a,r)}}))(A),[]),useControlledState:e=>n.useMemo(()=>({...e,selectedRowIds:m||[]}),[e,m])},R.useRowState,R.useSortBy,R.useExpanded,R.usePagination,(e=>{const t=t=>{if(R.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(dr,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(dr,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(Js),t.prepareRow.push(Xs),t.visibleColumns.push(Ys),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(As);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(Ks),t.useInstance.push(Gs),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]=Ws(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($s,null);const s=As(e,a),[c,u]=Ws(l,s),d=n.createElement(n.Fragment,null,t.onRowCreate&&n.createElement(Ja,{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(Ja,{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(Ja,{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(Ja,{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(Ja,Object.assign({},Us(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(Ei,null,n.createElement(Ei.Trigger,null,n.createElement(Ja,{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(Ei.Content,null,u.map((e,t)=>n.createElement(Ei.Item,Object.assign({key:t,icon:"function"==typeof e.icon?e.icon(s):e.icon},Us(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(C.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:S,onRowEdit:O,onRowCopy:I,onRowDelete:M},N,u,V,L));((e,t,l)=>{n.useEffect(()=>{!e&&t&&t(l.pageIndex,l.pageSize)},[l.pageIndex,l.pageSize])})(p,x,q),((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,v,!!g,q);const $=((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||T?P:K,[X,Y,Q,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=As(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=xr(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:S,onRowEdit:O,onRowCopy:I,onRowDelete:M,rowExpansionRenderer:u},t);((e,t,l,a)=>{n.useEffect(()=>{if(void 0!==e&&t.length&&a){const n=t[e];if(n){const e=As(n,l);a(e)}}},[e,t])})(X,P,u,k);const ee=n.useCallback((e,t)=>{_(e),e.setActive=()=>Y(t)},[_,Y]);return{rowProps:{activeIndex:X,setActiveIndex:Y,onRowClick:o,rowClassName:c,rowExpansionRenderer:u,rowHeight:d,inlineEditingUniqueId:z},tableProps:{...H,headerGroups:F,onFocus:Z,onKeyDown:Q,tabIndex:null!==(l=H.tabIndex)&&void 0!==l?l:0},state:q,pagination:p?null:{length:T&&b?b:r.length,pageIndex:q.pageIndex,pageSize:q.pageSize,setPageIndex:G,setPageSize:W},rows:J,prepareRow:ee,instance:$}},ec=(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)},tc=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:f,inlineEditingUniqueId:g}=r,v=As(e,u),p={...e.getRowProps(),style:{...f,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(v):c),onClick:s?e=>{(e.target===e.currentTarget||e.target.classList.contains("yt-table__cell"))&&(e.preventDefault(),e.persist(),m(t),s(v))}:()=>{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(v,a)),x=n.useMemo(()=>n.createElement(n.Fragment,null,n.createElement(h.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[g]}),w.map(e=>ec(e,v)))),b),[e.original._createKey]);return e.isEditing?x:n.createElement(n.Fragment,null,n.createElement("div",Object.assign({},p,{role:"row",ref:o}),w.map(e=>ec(e,v))),b)})),nc=({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(ga,{name:e.isSortedDesc?"chevron-down-solid":"chevron-up-solid",className:"-mt-0.5"}):null)},lc=()=>null,ac=n.forwardRef((function(e,t){const a=ja(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-t-0 border-b-2 font-bold"},e.headers.map((e,t)=>n.createElement(nc,{key:t,index:t,cell:e}))))),n.createElement("div",{role:"rowgroup",className:"yt-table__body",ref:c},o))})),rc=n.forwardRef((function(e,t){const{emptyStateRenderer:l=lc,...a}=e,r=ja(t),{rowProps:o,tableProps:i,rows:s,prepareRow:c,pagination:u,instance:d}=Zs(a,r);let m;return u&&(m=n.createElement(Di,{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(ac,Object.assign({},i,{ref:r}),s.length?s.map((e,t)=>(c(e,t),n.createElement(tc,Object.assign({},o,{key:t,index:t,row:e,instance:d,headerGroups:i.headerGroups})))):l()),m)}));rc.Column=()=>null,rc.Group=()=>null;const oc=n.forwardRef((function(e,t){return n.createElement(rc,Object.assign({},e,{disablePagination:!1,ref:t}))}));oc.Column=()=>null,oc.Group=()=>null;const ic=n.memo(({data:e,index:t,style:{...l}})=>{const{texts:a}=er(),{rows:r,setRowHeight:o,rowProps:i,tableProps:s,instance:c,prepareRow:u,rowHeights:d}=e,m=r[t],f=n.useRef(null);return n.useEffect(()=>{null!=f&&f.current&&o(t,f.current.getBoundingClientRect().height)},[d[t]]),m?(u(m,t),n.createElement(tc,Object.assign({},i,{style:l,key:t,index:t,row:m,instance:c,headerGroups:s.headerGroups,setRowHeight:o,ref:f}))):n.createElement("div",{className:"yt-table__row",role:"row",style:l},n.createElement("div",{className:"yt-table__cell text-grey-300"},a.table.loading))},z.areEqual),sc=(e={})=>{const t=Object.keys(e);return t.reduce((t,n)=>t+e[n],0)/t.length},cc=n.forwardRef((function(e,t){const a=ja(t),{emptyStateRenderer:r=lc,length:o,loadMore:i,...s}=e,{rowProps:c,tableProps:u,rows:d,prepareRow:m,instance:f,state:g}=Zs({...s,windowed:!0},a),v=n.useRef(null),[h,p]=n.useState(null),w=vr(a),b=vr(v),x=w&&b?w.height-b.height:null,E=c.rowHeight||40,y=n.useRef({}),R=n.useCallback((e,t)=>{y.current[e]!==t&&(y.current={...y.current,[e]:t},h&&h.resetAfterIndex(0))},[]),C=n.useCallback(e=>y.current[e]||E,[]);n.useEffect(()=>{h&&void 0!==c.activeIndex&&h.scrollToItem(c.activeIndex,"start")},[h,c.activeIndex]),n.useEffect(()=>{y.current={},h&&h.resetAfterIndex(0)},[d.length]);const N=l(u.className,"yt-table--windowed",{"table-with-scrollbar":null!==x&&(E*e.data.length||0)>x});let O;if(x&&d.length){const e={height:x,itemData:{rows:d,setRowHeight:R,rowProps:c,tableProps:u,instance:f,prepareRow:m,state:g,rowHeights:y.current},estimatedItemSize:sc(y.current),itemSize:C,width:"100%"};O=i&&o?n.createElement(S,{isItemLoaded:e=>!!d[e],itemCount:o,loadMoreItems:i},({onItemsRendered:t,ref:l})=>n.createElement(z.VariableSizeList,Object.assign({},e,{itemCount:o,onItemsRendered:t,ref:e=>{l(e),p(e)}}),ic)):n.createElement(z.VariableSizeList,Object.assign({},e,{itemCount:d.length,ref:e=>{p(e)}}),ic)}return n.createElement(ac,Object.assign({},u,{className:N,headerRef:v,ref:a}),O||r())}));cc.Column=()=>null,cc.Group=()=>null;const uc=e=>{var t;return null!==(t=null==e?void 0:e.split(".").map(Number))&&void 0!==t?t:[]},dc=(e,t)=>{if(!t)return;const n=[...e],l=uc(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])}},mc=e=>{let t;if(e){const n=uc(e);n.pop(),n.length&&(t=n.join("."))}return t},fc=(e,t,n={})=>{const l=JSON.parse(JSON.stringify(e));let a;if(t){var r;const e=uc(t),o=dc(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),N(l,s,i),e.push(0),a=e.join(".")}else l.unshift(n),a="0";return[l,a]},gc=(e,t)=>{const n=JSON.parse(JSON.stringify(e)),l=uc(t),a=Number(l.shift());if(l.length){const e=l.map(e=>`subRows[${e}]`).join(".");O(n[a],e),l.pop();const t=l.length?l.map(e=>`subRows[${e}]`).join(".")+".subRows":"subRows";N(n[a],t,M(I(n[a],t)))}else k(n,a);return n},vc=n.createContext({isActive:!1,editMode:{validationErrors:null,setValidationErrors:()=>{},rowMoveReason:{},setRowMoveReason:()=>{}},rowIndex:void 0,isHovered:!1,setIsHovered:()=>{}}),hc=({isActiveRow:e,children:t,meta:l,rowIndex:a})=>{const[r,o]=n.useState(!1),[i,s]=n.useState(null),[c,u]=n.useState({});n.useEffect(()=>{var t;const n=null===(t=l.tableRef.current)||void 0===t?void 0:t.contains(document.activeElement);e&&n&&l.editMode.moveToFirstColumn(l.focussableColumnIndexes)},[l.editMode.isEditing,l.focussableColumnIndexes]);const d=n.useMemo(()=>({isActive:e,editMode:{validationErrors:i,setValidationErrors:s,rowMoveReason:c,setRowMoveReason:u},rowIndex:a,isHovered:r,setIsHovered:o}),[e,r,c,i,a]);return n.createElement(vc.Provider,{value:d},t)},pc=()=>n.useContext(vc),wc=e=>bc(e)&&"__actions"!==e,bc=e=>"__select"===e||"__expansion"===e||"__actions"===e||"__draggable"===e,xc=n.memo(({lastSelectedRowIndex:e,rowIndex:t,isSelected:l,table:a,tableRef:r,texts:o,toggleSelected:i})=>{const s=a.options.meta;return n.createElement(qa,{title:n.createElement(n.Fragment,null,l?o.table2.columns.select.deselect:o.table2.columns.select.select,n.createElement(ni,{className:"ml-2",keys:"Space"}))},n.createElement(dr,{"aria-label":l?o.table2.columns.select.select:o.table2.columns.select.deselect,className:"hover:border-blue !mt-0",checked:l,onClick:n=>{var l,o,c;if(n.stopPropagation(),n.shiftKey){const[n,l]=[(c=t)<(o=(null==e?void 0:e.current)||0)?c:o,c>o?c:o];a.getRowModel().rows.slice(n,l+1).forEach(e=>e.toggleSelected(!0))}else i();e.current=t,s.setActiveRowIndex(t),null===(l=r.current)||void 0===l||l.focus()},onChange:()=>!1,tabIndex:-1}))}),Ec=n.memo(({expandedRowRenderer:e,isExpanded:t,row:l,texts:a})=>e(l.original)?n.createElement(qa,{title:n.createElement(n.Fragment,null,t?a.table2.columns.expansion.collapse:a.table2.columns.expansion.expand,n.createElement(ni,{className:"ml-2",keys:{key:t?"ArrowLeft":"ArrowRight",meta:!0}}))},n.createElement(Ja,{appearance:"discrete",icon:t?"chevron-down":"chevron-right",onClick:e=>{e.stopPropagation(),l.toggleExpanded()},tabIndex:-1})):null),yc=n.memo(({row:e,actions:t,actionsLength:a,isEditing:r,shouldPauseHoverState:o,table:i,texts:s})=>{const{isActive:c,isHovered:u}=pc();if(!c&&(!u||o)||r)return null;const d=t.map(t=>t(e.original)).filter(e=>!!e),m=d.length===a?d:d.slice(0,a-1),f=d.slice(d.length===a?a:a-1),g=i.options.meta.activeRowIndex===e.index?0:-1;return n.createElement("span",{className:"-mb-2 -mt-2 flex justify-end text-right"},m.map((e,t)=>{var a,r;return n.cloneElement(e,{appearance:"discrete",className:l("group-hover/row:flex group-[[aria-current]]/row:flex hidden",e.props.className),key:t,tabIndex:g,tooltip:e.props.shortcut?n.createElement(n.Fragment,null,null!==(a=e.props.tooltip)&&void 0!==a?a:e.props["aria-label"],n.createElement(ni,{className:"ml-2",keys:e.props.shortcut})):null!==(r=e.props.tooltip)&&void 0!==r?r:e.props["aria-label"]})}),f.length?n.createElement(Ja,{appearance:"discrete","aria-label":s.table2.columns.actions.tooltip,icon:"more",tabIndex:g,menu:e=>n.createElement(Ei,Object.assign({},e),n.createElement(Ei.Content,null,f.map((e,t)=>n.createElement(Ei.Item,Object.assign({key:t},e.props,{shortcut:e.props.shortcut}),e.props["aria-label"])))),tooltip:s.table2.columns.actions.tooltip}):null)});function Rc(e,t){const n=e.filter(e=>{var t;return(null===(t=e.id)||void 0===t?void 0:t.startsWith("__"))&&"__actions"!==e.id}).map(e=>e.id),l=[],a=[];let r=e;Array.isArray(t)&&(r=e.slice().sort((e,n)=>(t.indexOf(e.id)>>>0)-(t.indexOf(n.id)>>>0))),r.forEach(e=>{var t,n;null!==(t=e.id)&&void 0!==t&&t.startsWith("__")||(null!==(n=e.meta)&&void 0!==n&&n.disableReordering?l.push(e.id):a.push(e.id))});const o=[...n,...l,...a];return e.findIndex(e=>"__actions"===e.id)>-1&&o.push("__actions"),o}const Cc=(e="normal",t=!1)=>l("min-h-0 flex items-start",((e,t=!1)=>{switch(e){case"compact":return t?"py-0":"py-1.5";case"comfortable":return t?"py-2":"py-3.5";case"spacious":return t?"py-3":"py-5";default:return t?"py-1":"py-2.5"}})(e,t),t?"px-[7px]":"px-4"),zc=(e="left")=>({"justify-start text-left":"left"===e,"justify-end text-right":"right"===e,"justify-center text-center":"center"===e}),Sc=["A","BUTTON","INPUT","TEXTAREA","SELECT","DETAILS"],Nc=n.forwardRef((function(e,t){var a;const{column:r,frozenColumnIds:o,scrolled:i,style:s,table:c,...u}=e,d=!!r.getIsPinned(),m=c.options.meta.columnOffsets[r.id],f=l("border-grey-300",zc(null===(a=r.columnDef.meta)||void 0===a?void 0:a.align),((e,t,n)=>{const l=!!e.getIsPinned(),a=t.indexOf(e.id),r=l&&a===t.length-1;return{"shadow-[6px_0px_6px_rgb(0_0_0/8%),1px_0px_0px_theme(colors.grey.300)]":r&&n,"shadow-[1px_0px_0px_theme(colors.grey.300)]":r&&!n&&!(!n&&("__expansion"===e.id||"__select"===e.id))}})(r,o,i),{"cursor-pointer":!!u.onClick},u.className);return n.createElement("div",Object.assign({},u,{className:f,style:{...s,left:d&&Number.isInteger(m)?m:void 0},ref:t}))}));var Oc;!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.IsOneOf=7]="IsOneOf",e[e.IsNoneOf=8]="IsNoneOf",e[e.IsAllOf=9]="IsAllOf",e[e.IsEmpty=10]="IsEmpty",e[e.IsNotEmpty=11]="IsNotEmpty"}(Oc||(Oc={}));const Ic=e=>String(null!=e?e:"").toLocaleLowerCase(),Mc=(e,t)=>Ic(e).includes(Ic(t)),kc=(e,t)=>Ic(e)===Ic(t),Lc=(e,t)=>Mc(e,t),Hc=(e,t)=>{try{if(t.comparator===Oc.IsEmpty||t.comparator===Oc.IsNotEmpty){const n=null==e||""===e;return t.comparator===Oc.IsEmpty?n:!n}if(null==t.value||""===t.value)return!0;switch(t.comparator){case Oc.Contains:return Mc(e,t.value);case Oc.DoesNotContain:return!Mc(e,t.value);case Oc.IsEqualTo:return m.isDate(e)?m.isDate(t.value)&&qr(e,t.value):"boolean"==typeof t.value?e===t.value:kc(e,t.value);case Oc.IsNotEqualTo:return m.isDate(e)?m.isDate(t.value)&&!1===qr(e,t.value):"boolean"==typeof t.value?e!==t.value:!kc(e,t.value);case Oc.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 Oc.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 Oc.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 Oc.IsOneOf:return!!Array.isArray(t.value)&&t.value.includes(e);case Oc.IsNoneOf:return!!Array.isArray(t.value)&&!1===t.value.includes(e);case Oc.IsAllOf: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}};var Vc;!function(e){e[e.FIRST=0]="FIRST",e[e.LAST=1]="LAST",e[e.PREV=2]="PREV",e[e.NEXT=3]="NEXT"}(Vc||(Vc={}));const Ac=(e,t,n)=>{const l=n.indexOf(t);return-1===e?l-1>0?l-1:0:l+1<n.length?l+1:l};var jc;!function(e){e.SEARCH="SEARCH",e.SORTING="SORTING",e.FILTER="FILTER"}(jc||(jc={}));const Dc=({reason:e,columnName:t,mountNode:l,validationErrors:a})=>{const r=n.useMemo(()=>{const e=document.createElement("div");return e.className+="z-[3] 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}=er();switch(e){case jc.FILTER:t=l.table2.editing.rowIndicator.rowWillBeHidden,n=l.table2.editing.rowIndicator.rowWillMoveReasonFilter;break;case jc.SEARCH:t=l.table2.editing.rowIndicator.rowWillBeHidden,n=l.table2.editing.rowIndicator.rowWillMoveReasonSearch;break;case jc.SORTING:t=l.table2.editing.rowIndicator.rowWillMove,n=l.table2.editing.rowIndicator.rowWillMoveReasonSorting}return{title:t,description:n}})(e);return n.useEffect(()=>(null==l||l.classList.add("relative"),null==l||l.appendChild(r),()=>{null==l||l.classList.remove("relative"),null==l||l.removeChild(r)}),[!!a]),H.createPortal(n.createElement(qa,{title:o.description.replace("[COLUMN]",t)},n.createElement("span",{className:"flex gap-1 hover:cursor-pointer"},n.createElement(ga,{name:"info",className:"!h-4 !w-4 rounded-full bg-white !p-0 text-blue-500"}),o.title)),r)},Tc=e=>null!==e&&e.offsetWidth<e.scrollWidth,Fc=(e,t=[])=>{const[l,a]=n.useState(Tc(e));return n.useEffect(()=>{a(Tc(e))},[e,...t]),{truncated:l}},Pc=({className:e,...t})=>{const a=n.useRef(null),{truncated:r}=Fc(a.current),o=n.createElement("span",Object.assign({className:l("truncate px-px text-xs font-normal leading-normal text-red-500",{"hover:cursor-pointer":r},e),ref:a,role:"alert"},t));return r?n.createElement(qa,{title:t.children},o):o},Bc=(e,t)=>m.isDate(e)&&m.isDate(t)?!qr(e,t):Array.isArray(e)?JSON.stringify(e)!==JSON.stringify(t):e!==t,_c=["INPUT","BUTTON","A","SELECT","OPTION","LABEL","TEXTAREA","DETAILS"],qc=function(e){var t,a,r;const{cell:o,index:i,isLastRow:s,rowIndex:c,rows:u,scrollToIndex:d,scrollToOffset:m,table:f,tableRef:g,...v}=e,h=f.options.meta,{addFocussableColumnIndex:p,focussableColumnIndexes:w}=h,{editMode:{validationErrors:b,rowMoveReason:x},isHovered:E}=pc(),y=!!b,R=n.useRef(null),C=n.useRef(null),z=null===(t=o.column.columnDef.meta)||void 0===t?void 0:t.className,S=h.activeRowIndex===c,N=!!o.column.getIsPinned(),O=h.dragging[o.row.id],I=o.row.getIsSelected(),M=!bc(o.column.id),k=!(null===(a=o.column.columnDef.meta)||void 0===a||!a.control),H=f.getVisibleLeafColumns(),V=H.length>0?H.length-1:0,A=h.editMode.isEditing&&S,j=A&&M,D=j&&h.editMode.columnIndex===i,T=h.editMode.isEditing&&E&&!h.shouldPauseHoverState,F=Object.keys(x).length>0;n.useEffect(()=>{var e;return F&&s&&(null===(e=g.current)||void 0===e||e.classList.add("pb-4")),()=>{var e;return null===(e=g.current)||void 0===e?void 0:e.classList.remove("pb-4")}},[F,s]);const P=l('[&>[data-taco="tag"]]:-my-0.5','[[data-dragged-over="true"]_&]:bg-grey-100',{"border-b":!s,"sticky z-[1]":N,"bg-white":!S&&!I,"group-hover/row:bg-grey-100":!S&&!I&&!h.shouldPauseHoverState,"bg-grey-200 group-hover/row:bg-grey-200":S&&!I,"bg-blue-100":I,"!wcag-blue-500":O,"[&>*]:!grayscale [&_.bg-white]:!bg-grey-100":!A&&T,"!bg-red-100":y,"z-[1]":N&&S,"z-[3]":N&&S&&0===i,"border-blue !border-y-2 border-x-0":F,"border-l-2 rounded-l":F&&0===i,"border-r-2 rounded-r":F&&i===V},Cc(null===(r=f.options.meta)||void 0===r?void 0:r.rowDensity,(A||T)&&k),"function"==typeof z?z(o.row,f):z),B=e=>{if(0===e.button){const e=document.activeElement,t=null==e?void 0:e.closest('[role="cell"]'),n=h.activeRowIndex!==c;t&&n&&e.blur(),h.setActiveRowIndex(c),h.editMode.isEditing&&(w.includes(i)?h.editMode.setColumn(i):h.editMode.setColumn(w[0]))}},_={...v,column:o.column,table:f,className:P,"data-column-index":i,"data-row-index":c,onMouseDown:B,ref:R,role:"cell"},[q,K]=n.useState(!1);n.useEffect(()=>{h.editMode.columnIndex!==i&&K(!1)},[h.editMode.columnIndex]),n.useEffect(()=>{var e;A&&C.current&&Sc.includes((e=C.current).nodeName)&&!e.hasAttribute("disabled")&&!e.hasAttribute("readonly")&&!e.getAttribute("aria-hidden")&&p(i)},[A,w,p,i]);const G=e=>{e===Vc.PREV?h.moveToPreviousRow(u,e=>d(e-1)):e===Vc.NEXT&&h.moveToNextRow(u,e=>d(e+2))};if(h.editMode.onSave&&k&&(j||T&&M)){if(_.onMouseDown=e=>{const t=e.target,n=null!==t&&"INPUT"===t.nodeName;e.currentTarget.contains(t)&&(B(e),n&&t!==document.activeElement?(e.preventDefault(),setTimeout(()=>{t.select()},1)):n&&t===document.activeElement&&0===e.button&&K(!0))},_.onBlur=()=>{K(!1)},j){var W,U;const e=null!==(W=w.at(0))&&void 0!==W?W:0,t=null!==(U=w.at(-1))&&void 0!==U?U:0;_.onKeyDown=n=>{const l=n.target;if("INPUT"===l.nodeName&&"true"===(null==l?void 0:l.getAttribute("data-inline-editing-component"))||!n.isDefaultPrevented()&&!n.isPropagationStopped()){if("INPUT"===l.tagName){if("Enter"===n.key){n.preventDefault();const e=l;var a,r,o,f;return q?null==e||null===(a=e.select)||void 0===a||a.call(e):null===(r=e.setSelectionRange)||void 0===r||r.call(e,null===(o=e.value)||void 0===o?void 0:o.length,null===(f=e.value)||void 0===f?void 0:f.length),void K(!q)}null!=l&&l.closest('[data-taco="datepicker"]')&&/^[a-z0-9]$/i.test(n.key)&&K(!0)}var v;if("Escape"===n.key&&n.currentTarget.contains(l))n.preventDefault(),q?K(!1):(h.editMode.toggleEditing(!1),null===(v=g.current)||void 0===v||v.focus());else if(!q&&"ArrowLeft"===n.key||"Tab"===n.key&&n.shiftKey){n.preventDefault();const t=0===c,a=i===e;n.ctrlKey||n.metaKey?a||(l.blur(),h.editMode.moveToFirstColumn(w)):t&&a||(l.blur(),h.editMode.moveToPreviousColumn(w,G))}else if(!q&&"ArrowRight"===n.key||"Tab"===n.key&&!n.shiftKey){n.preventDefault();const e=i===t;n.ctrlKey||n.metaKey?e||(l.blur(),h.editMode.moveToLastColumn(w)):s&&e||(l.blur(),h.editMode.moveToNextColumn(w,G))}else{if(!q&&"ArrowUp"===n.key){if(n.preventDefault(),0===c)return;return l.blur(),n.ctrlKey||n.metaKey?(h.setActiveRowIndex(0),m(0)):G(Vc.PREV),void h.setShouldPauseHoverState(!0)}if(!q&&"ArrowDown"===n.key){if(n.preventDefault(),c===u.length-1)return;return l.blur(),n.ctrlKey||n.metaKey?(h.setActiveRowIndex(u.length-1),d(u.length+20)):G(Vc.NEXT),void h.setShouldPauseHoverState(!0)}}}}}return n.createElement(Nc,Object.assign({},_),n.createElement(Kc,{detailModeEditing:q,cell:o,cellRef:R,columnIndex:i,isEditingThisCell:D,onSave:h.editMode.onSave,rowIndex:c,table:f,tableRef:g,ref:C,rowValues:u[c].original,rowsLength:u.length,enableDetailModeEditing:()=>{q||K(!0)}}))}return h.onRowClick&&(_.onClick=e=>{const{target:t}=e;if(R.current&&t instanceof HTMLElement&&R.current.contains(t)){var n;if(_c.includes(t.tagName)||t.closest(_c.map(e=>"[role=row] "+e).join(",")))return;null===(n=h.onRowClick)||void 0===n||n.call(h,o.row.original)}}),n.createElement(Nc,Object.assign({},_),L.flexRender(o.column.columnDef.cell,o.getContext()))},Kc=n.memo(n.forwardRef((e,t)=>{var a,r,o,i,s;const{cell:c,cellRef:u,columnIndex:d,detailModeEditing:m,isEditingThisCell:f=!1,onSave:g,rowIndex:v,rowValues:h,table:p,tableRef:w,enableDetailModeEditing:b}=e,{editMode:{validationErrors:x,setValidationErrors:E,rowMoveReason:y,setRowMoveReason:R},isHovered:C}=pc(),z=ja(t),S=c.column.id,N=null==x?void 0:x[S],O=c.getValue(),I=c.column.columnDef.header,M=p.options.meta,{globalFilter:k}=p.getState(),[L,H]=n.useState(O),V=!(M.editMode.isEditing&&M.activeRowIndex!==v&&C||!N),A=n.useRef(O),j=n.useRef(!1),D=function(e){try{let t=L;null!=e&&e.target||(t=e);const n=function(){if(Bc(O,t)){const e=cs((function(){const e={...c.row.original,[S]:t};return Promise.resolve(g(e,S)).then((function(){M.shouldPauseSortingAndFiltering&&(M.lastSortedOrFilteredRows.current=M.lastSortedOrFilteredRows.current.map(t=>(t.id===c.row.id&&(t.original=e),t))),E(null)}))}),(function(e){E({...x,...e})}));if(e&&e.then)return e.then((function(){}))}}();return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(e){return Promise.reject(e)}};n.useEffect(()=>{var e;const t=null===(e=M.tableRef.current)||void 0===e?void 0:e.contains(document.activeElement),n=document.body===document.activeElement;var l,a;f&&(t||n)&&(null===(l=z.current)||void 0===l||null===(a=l.focus)||void 0===a||a.call(l))},[f,z.current]);const T=n.useMemo(()=>{const e=p.getState().columnPinning.left;if(Array.isArray(e)&&e.length>0){const n=e[e.length-1],l=M.columnOffsets[n];var t;if(void 0!==l)return l+(null!==(t=p.getState().columnSizing[n])&&void 0!==t?t:0)}return 0},[M.columnOffsets,p.getState().columnSizing]);n.useEffect(()=>{var e;return Bc(A.current,L)?("INPUT"===(null===(e=z.current)||void 0===e?void 0:e.nodeName)&&b(),B()):_(),_},[L]),n.useEffect(()=>{var e,t;const n="INPUT"===(null===(e=z.current)||void 0===e?void 0:e.nodeName)&&"true"===(null===(t=z.current)||void 0===t?void 0:t.getAttribute("data-inline-editing-component"));var l;j.current&&n&&(null===(l=z.current)||void 0===l||l.select()),j.current=!1},[j.current]);const F=e=>{var t,n,l;M.editMode.setColumn(d),null!==(t=e.target)&&void 0!==t&&t.select&&(null===(l=e.target)||void 0===l||l.select());const a=null===(n=u.current)||void 0===n?void 0:n.getBoundingClientRect(),r=M.columnOffsets[S];var o;a&&r&&a.left<T&&(null===(o=w.current)||void 0===o||o.scrollTo(r-T,w.current.scrollTop))},P=e=>{const t=e.target;"INPUT"===t.nodeName&&"true"===(null==t?void 0:t.getAttribute("data-inline-editing-component"))&&"Escape"===e.key&&(H(A.current),j.current=!0)},B=()=>{var e;let t=null;Object.values({...h,[S]:L}).some(e=>Lc(String(e),k?String(k):""))?c.column.getIsFiltered()&&!Hc(L,c.column.getFilterValue())?t=jc.FILTER:!t&&c.column.getIsSorted()&&((e,t,n,l,a)=>{const r=[{...t.row,original:{...t.row.original,[t.column.id]:e}}];r[0].getValue=()=>e;let o=0;n>0&&(r.unshift(l[n-1]),o=1),n<l.length-1&&r.push(l[n+1]);let i=[...r].sort((e,n)=>t.column.getSortingFn()(e,n,t.column.id));return a&&(i=i.reverse()),i[o].id!==t.row.id})(L,c,v,p.getRowModel().rows,!(null===(e=p.getState().sorting.find(e=>e.id===c.column.id))||void 0===e||!e.desc))&&(t=jc.SORTING):t=jc.SEARCH,null!==t&&(M.setShouldPauseSortingAndFiltering(!0),R({[S]:t}))},_=()=>{R(e=>{const t={...e};return delete t[S],t})},q=null===(a=c.column.columnDef.meta)||void 0===a?void 0:a.control,K={"aria-label":I,onBlur:D,onFocus:F,ref:t,"data-inline-editing-component":"true"},G=l(zc(null===(r=c.column.columnDef.meta)||void 0===r?void 0:r.align)),W=null===(o=u.current)||void 0===o||null===(i=o.parentElement)||void 0===i?void 0:i.querySelector(":first-child");let U;const $=l({"!yt-focus-dark":m});if(q)if("function"==typeof q)U=q({invalid:V,onBlur:D,onFocus:F,ref:z,setValue:H,value:L,"data-inline-editing-component":"true"},c.row.original);else switch(q){case"datepicker":U=n.createElement(to,Object.assign({},K,{className:l({"[&_input]:!shadow-[0_0_0_4px_rgba(0,99,255,0.25)]":m}),invalid:V,onBlur:e=>{D(e.detail)},onChange:e=>{H(e.detail)},ref:z,value:L}));break;case"switch":U=n.createElement(Vs,Object.assign({},K,{className:l("mx-2 mt-1.5",$),checked:Boolean(L),onChange:H,ref:z}));break;default:U=n.createElement(br,Object.assign({},K,{className:l(G,$),invalid:V,onChange:e=>{H(e.target.value)},ref:z,value:String(null!=L?L:""),onKeyDown:P}))}const J=null!==(s=y[S])&&void 0!==s?s:null;return n.createElement(n.Fragment,null,null!==J&&n.createElement(Dc,{reason:J,columnName:String(c.column.columnDef.header),mountNode:W,validationErrors:x}),n.createElement("span",{className:"relative flex-grow"},U,V&&n.createElement(Pc,null,String(N))))})),Gc=function(e){var t,a,r,o,i,s,c,u,d;const{header:m,index:f,isLastColumn:g,table:v,tableRef:h,...p}=e,w=n.useRef(null),b=!!m.column.getIsPinned(),x=v.getState().columnSizingInfo.isResizingColumn&&v.getState().columnSizingInfo.isResizingColumn!==m.id,{enableColumnFreezing:E}=v.options.meta,y=l("group/header sticky top-0 bg-white border-b-2 relative font-bold z-[5] hover:z-[6]",{"z-[6]":m.column.getIsResizing(),"z-[7]":b,"cursor-pointer select-none":m.column.getCanSort(),"hover:bg-grey-100":m.column.getCanSort()||m.column.getCanResize()||(null===(t=m.column.columnDef.meta)||void 0===t?void 0:t.menu),"pointer-events-none":x},Cc("normal"),null===(a=m.column.columnDef.meta)||void 0===a?void 0:a.headerClassName,e.className),R=m.column.getCanSort()?e=>{var t;0===e.button&&(e.preventDefault(),v.resetRowSelection(),m.column.toggleSorting(),null===(t=h.current)||void 0===t||t.focus())}:void 0,C=e=>{e.stopPropagation(),m.getResizeHandler()(e)},z=n.createElement("div",{className:"truncate",ref:w},L.flexRender(m.column.columnDef.header,m.getContext())),{texts:S}=er();return n.createElement(Nc,Object.assign({},p,{column:m.column,table:v,"aria-sort":null!==(r={asc:"ascending",desc:"descending"}[m.column.getIsSorted()])&&void 0!==r?r:"none",className:y,onMouseDown:R,ref:e=>{if(e&&!v.getState().columnSizing[m.id]){const t=Math.ceil(e.getBoundingClientRect().width);v.setColumnSizing(e=>({...e,[m.id]:!wc(m.id)&&t<80?80:t}))}},role:"columnheader","data-column-index":f}),wc(m.id)?L.flexRender(m.column.columnDef.header,m.getContext()):n.createElement(n.Fragment,null,n.createElement("div",{className:l("flex flex-grow overflow-hidden",{"group-hover/header:-ml-2":!!m.column.getIsSorted()&&!(null===(o=m.column.columnDef.meta)||void 0===o||!o.menu)},zc(null===(i=m.column.columnDef.meta)||void 0===i?void 0:i.align))},null!==(N=w.current)&&N.scrollWidth>N.offsetWidth?n.createElement(qa,{title:null!==(s=null===(c=m.column.columnDef.meta)||void 0===c?void 0:c.tooltip)&&void 0!==s?s:z,placement:"top"},z):z,null!==(u={asc:n.createElement(ga,{name:"chevron-up-solid",className:"pointer-events-none -my-0.5"}),desc:n.createElement(ga,{name:"chevron-down-solid",className:"pointer-events-none -my-0.5"})}[m.column.getIsSorted()])&&void 0!==u?u:null),!bc(m.column.id)&&(null!==(d=m.column.columnDef.meta)&&void 0!==d&&d.menu||E)?n.createElement(Wc,{header:m,table:v,columnIndex:f}):null),m.column.getCanResize()?n.createElement(qa,{placement:"top",title:S.table2.columns.resize.tooltip},n.createElement("div",{className:l("invisible absolute right-0 top-0 flex h-full cursor-col-resize touch-none select-none rounded py-0.5 group-hover/header:visible",{"-mr-2.5 w-5 justify-center":!g,"w-2":g,"!visible":m.column.getIsResizing()}),onDoubleClick:()=>{var e;const t=null===(e=m.column.columnDef.meta)||void 0===e?void 0:e.defaultWidth;v.setColumnSizing(e=>{const n={...e};return"grow"===t?n[m.id]="1fr":"number"==typeof t?n[m.id]=!wc(m.id)&&t<80?80:t:delete n[m.id],n})},onMouseDown:C,onTouchStart:C,onClick:e=>{e.stopPropagation(),e.preventDefault()}},n.createElement("div",{className:l("h-full w-1 rounded",{"!bg-blue-500":m.column.getIsResizing(),"bg-grey-500 hover:bg-grey-700":!m.column.getIsResizing()})}))):null);var N},Wc=({header:e,table:t,columnIndex:a})=>{var r;const[o,i]=n.useState(!1),{texts:s}=er(),c=null===(r=e.column.columnDef.meta)||void 0===r?void 0:r.menu,u=t.options.meta,{frozenColumnsCount:d,setFrozenColumnsCount:m}=u,f=t.getVisibleLeafColumns(),{columnVisibility:g,columnOrder:v}=t.getState(),h=n.useMemo(()=>f.filter(e=>wc(e.id)).length,[f]),p=l("-my-0.5 -mr-1 -ml-0.5 hidden !h-6 !min-h-[theme(spacing.6)] !w-6 !min-w-[theme(spacing.6)] flex-shrink-0 justify-end group-hover/header:flex",{"!flex":o}),w=[];if(t.options.enableHiding&&e.column.getCanHide()&&w.push(n.createElement(Ei.Item,{icon:"eye-off",onClick:()=>setTimeout(()=>e.column.toggleVisibility(),1)},s.table2.columns.menu.hideColumn)),u.enableColumnFreezing){const e=a+1-h,t=0!==d,l=()=>{m(0)};w.push(n.createElement(Ei.Item,{icon:"column-freeze",onClick:()=>{m(e)},key:"_freeze-columns_"},s.table2.columns.menu.freezeColumns(e))),t&&w.push(n.createElement(Ei.Item,{icon:"column-unfreeze",onClick:l,key:"_unfreeze-columns_"},s.table2.columns.menu.unfreezeColumns))}n.useEffect(()=>{t.setColumnPinning({left:f.slice(0,h+d).map(e=>e.id),right:[]})},[d,g,v,h]);const b={trigger:n.createElement(Ja,{className:p,icon:"more"}),open:o,onChange:i};if(c){const e=c({trigger:void 0}),t=n.Children.toArray(e.props.children.props.children);t.length&&(w.length&&w.push(n.createElement(Ei.Separator,null)),w.push(...t))}const x=n.createElement(Ei,Object.assign({},b),n.createElement(Ei.Content,null,w.map((e,t)=>n.cloneElement(e,{key:t}))));return x?n.createElement("div",{onMouseDown:e=>e.stopPropagation()},x):null},Uc=function(e){const{children:t,footer:a,index:r,table:o,...i}=e,s=!!a.column.getIsPinned(),c=l("group/header sticky bottom-0 bg-white border-t-2 relative z-[1]","flex items-center px-4 h-[calc(theme(spacing.10)+2px)]",{"!z-[2]":s,"!shadow-none":bc(a.id)},e.className);return n.createElement(Nc,Object.assign({},i,{column:a.column,table:o,className:c,role:"cell","data-column-index":r}),n.createElement("span",{className:"truncate"},t))},$c=4,Jc={compact:33,normal:41,comfortable:49,spacious:57},Xc=e=>{switch(e){case"compact":return"short";case"normal":return"medium";case"comfortable":return"tall";case"spacious":return"extra-tall"}},Yc=({table:e})=>{const{texts:t}=er(),l=e.options.meta;return n.createElement(Ja,{"aria-label":t.table2.rowDensity.tooltip,icon:"height-"+Xc(l.rowDensity),menu:e=>n.createElement(Ei,Object.assign({},e),n.createElement(Ei.Content,{align:"end"},n.createElement(Ei.RadioGroup,{onChange:e=>l.setRowDensity(e),value:l.rowDensity},n.createElement(Ei.RadioGroup.Item,{value:"compact"},t.table2.rowDensity.compact),n.createElement(Ei.RadioGroup.Item,{value:"normal"},t.table2.rowDensity.normal),n.createElement(Ei.RadioGroup.Item,{value:"comfortable"},t.table2.rowDensity.comfortable),n.createElement(Ei.RadioGroup.Item,{value:"spacious"},t.table2.rowDensity.spacious)))),tooltip:t.table2.rowDensity.tooltip})};function Qc(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 Zc(e){const{children:t,reorder:l,move:a}=e;return n.createElement(A.DndContext,Object.assign({collisionDetection:A.closestCenter},e,{onDragOver:function(e){const{active:n,over:l}=e;if(null==n||!n.id||null==l||!l.id)return;const r=Qc(t,n.id),o=Qc(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=Qc(t,n.id),o=Qc(t,a.id);null!=r&&r.id&&null!=o&&o.id&&r.id===o.id&&l(n.id,a.id,o.id)}}),t)}function eu(e){const{asChild:t,children:l,disabled:a=!1,id:r}=e,{attributes:o,listeners:i,setNodeRef:s,transform:c,transition:u}=j.useSortable({disabled:a,id:r}),d={transform:D.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 tu(e){const{children:t,id:l,...a}=e,{setNodeRef:r}=A.useDroppable({id:l}),o=n.Children.toArray(t).map(e=>e.props);return n.createElement(j.SortableContext,{id:l,items:o,strategy:j.verticalListSortingStrategy},n.createElement("div",Object.assign({},a,{ref:l?r:void 0}),t))}Zc.displayName="SortableContainer",eu.displayName="SortableListItem",tu.displayName="SortableList";const nu=({tooltip:e,children:t})=>{const a=n.useRef(null),[r,o]=n.useState(!1),{truncated:i}=Fc(a.current,[r]);n.useEffect(()=>(o(!0),()=>o(!1)),[]);const s=n.cloneElement(n.Children.only(t),{ref:a,className:l(t.props.className,"truncate")});return i?n.createElement(qa,{title:e},s):s};function lu(e){var t,n,l;return null!==(t=null!==(n=null===(l=e.columnDef.header)||void 0===l?void 0:l.toString())&&void 0!==n?n:e.columnDef.id)&&void 0!==t?t:""}const au=n.forwardRef((function(e,t){const{column:a,draggable:r=!1,isOrderingEnabled:o,...i}=e,s=a.getCanHide(),c=l("group/column flex items-center gap-x-2 rounded py-1 px-2",{"hover:bg-grey-200":s||r,"hover:cursor-pointer":s,"active:cursor-move active:bg-grey-300":r}),u=r?i:void 0,d=lu(a),m=a.getIsVisible();return n.createElement("div",Object.assign({},u,{key:a.id,className:c,onClick:()=>a.toggleVisibility(!m),ref:t}),r?n.createElement(ga,{name:"drag",className:"text-grey-500 group-hover/column:text-grey-700 -mx-2 !h-5"}):o?n.createElement("span",{className:"flex w-2"}):null,n.createElement(nu,{tooltip:d},n.createElement("span",{className:"flex-grow select-none"},d)),s?n.createElement(dr,{checked:m,onChange:()=>a.toggleVisibility(!m)}):null)}));function ru(e){const{table:t}=e,{texts:l}=er(),[a,r]=n.useState(""),o=t.getAllLeafColumns(),i=t.options.meta,s=n.useMemo(()=>o.filter(e=>!bc(e.id)).filter(e=>null==a||!a.length||lu(e).toLowerCase().includes(a.toLowerCase())),[o,a]),c="flex max-h-64 flex-col gap-y-px overflow-auto",u=(e,n)=>{s.find(e=>{var t;return e.id===n&&(null===(t=e.columnDef.meta)||void 0===t?void 0:t.disableReordering)})||t.setColumnOrder(t=>Rc(o,j.arrayMove(t,t.findIndex(t=>t===e),t.findIndex(e=>e===n))))};return n.createElement(lr,{popover:e=>n.createElement(eo,Object.assign({},e),n.createElement(eo.Content,{align:"end"},n.createElement("div",{className:"flex w-60 flex-col gap-2"},t.options.enableHiding?n.createElement(br,{onChange:e=>r(e.target.value),placeholder:l.table2.columnSettings.search,value:a}):null,!i.enableColumnReordering||!s.length||null!=a&&a.length?n.createElement("div",{className:c},s.length?s.map(e=>n.createElement(au,{column:e,key:e.id})):l.table2.columnSettings.noResults):n.createElement(Zc,{reorder:u},n.createElement(tu,{id:"columns",className:c},s.map(e=>{var t,l;return n.createElement(eu,{key:e.id,id:e.id,disabled:null===(t=e.columnDef.meta)||void 0===t?void 0:t.disableReordering,asChild:!0},n.createElement(au,{column:e,draggable:!(null!==(l=e.columnDef.meta)&&void 0!==l&&l.disableReordering),isOrderingEnabled:!0}))})))))),tooltip:l.table2.columnSettings.tooltip},n.createElement(ga,{name:"columns"})," ",l.table2.columnSettings.button)}const ou=({index:e,setSize:t,...l})=>{const a=n.useRef(null);return n.useEffect(()=>{if(a.current){var n;const l=null===(n=a.current)||void 0===n?void 0:n.getBoundingClientRect().height;t(t=>{var n;return l!==t[e]?{...t,[e]:null===(n=a.current)||void 0===n?void 0:n.getBoundingClientRect().height}:t})}},[]),null==l.children?null:n.createElement("div",Object.assign({className:"border-grey-300 bg-grey-50 col-span-full border-b p-4"},l,{ref:a}))},iu=(e,t=[])=>{const[l,a]=n.useState(),r=vr(e,t);return n.useEffect(()=>{if(e.current){const t=ws(e.current);a(t)}},[e,null==r?void 0:r.width,...t]),l},su=l(Ka(),"hover:bg-white/[0.08] disabled:opacity-50 disabled:cursor-not-allowed flex-shrink-0 rounded px-2");function cu(e,t){return"function"==typeof e?e(t):e}function uu(e,t,l){return e.map((e,a)=>{const r=n.createElement("button",{className:su,disabled:cu(e.disabled,t),onClick:e.onClick?()=>e.onClick?e.onClick(t,l):void 0:void 0},e.icon?n.createElement(ga,{name:cu(e.icon,t)}):null,cu(e.text,t));return n.createElement(n.Fragment,{key:a},"function"==typeof e.dialog?e.dialog(t,l)({trigger:r}):r)})}function du({actionsForTable:e=[],summary:t,table:a,...r}){const o=l("bg-blue-900 yt-shadow flex w-96 flex-col gap-2 divide-y divide-white/25 rounded p-2 text-white",r.className),i=n.useRef(null),s=iu(i,e),c=a.getSelectedRowModel().rows,u=c.map(e=>e.original),d=()=>a.toggleAllRowsSelected(!1),m=e.filter(e=>void 0===e.visible||("function"==typeof e.visible?e.visible(u):e.visible));let f;if(null!=s&&s<e.length){const e=m.slice(0,s),t=m.slice(s);f=n.createElement(n.Fragment,null,uu(e,u,d),t.length?n.createElement(Ei,null,n.createElement(Ei.Trigger,null,n.createElement("button",{className:l(su,"ml-auto w-8")},n.createElement(ga,{name:"more",className:"m-0 p-0"}))),n.createElement(Ei.Content,null,t.map((e,t)=>n.createElement(Ei.Item,{key:t,dialog:e.dialog?e.dialog(u,d):void 0,disabled:cu(e.disabled,u),icon:cu(e.icon,u),onClick:e.onClick?()=>e.onClick?e.onClick(u,d):void 0:void 0},cu(e.text,u))))):null)}else f=uu(m,u,d);return n.createElement("div",Object.assign({},r,{className:o,tabIndex:0}),n.createElement("div",{className:"flex items-center justify-between gap-2 px-2"},c.length," items selected ",t?" - "+t(u):void 0,n.createElement(qa,{title:"Reset selected",placement:"top"},n.createElement("button",{"aria-label":"Reset selected",className:"rounded hover:bg-white/[0.08]",onClick:d},n.createElement(ga,{name:"close"})))),n.createElement("div",{className:"flex w-full gap-px overflow-hidden px-1 pt-2",ref:i},f))}const mu=({onRowDrop:e,row:t,rowIndex:l,table:a,...r})=>{const{setIsHovered:o}=pc(),i=a.options.meta,s=i.activeRowIndex===l,c=i.dragging[t.id],[u,d]=zi(n=>e(n,t.original)),m={...r,..."function"==typeof e?d:void 0,"aria-current":!!s||void 0,"aria-grabbed":!!c||void 0,"data-row-index":l,"data-dragged-over":u,draggable:!!i.enableRowDragging||void 0,onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),role:"row"};return n.createElement("div",Object.assign({},m))},fu=e=>n.createElement(hc,{isActiveRow:e.table.options.meta.activeRowIndex===e.rowIndex,meta:e.table.options.meta,rowIndex:e.rowIndex},n.createElement(mu,Object.assign({},e))),gu=({allColumns:e,column:t,index:l,table:a,...r})=>n.createElement(Ls,Object.assign({},r,{autoFocus:!0,onChange:e=>{a.setColumnFilters(t=>{const n=[...t];return n[l].id=e,n[l].value={},n})},value:t.id}),e.map(e=>n.createElement(Ls.Option,{key:e.id,disabled:!e.getCanFilter()||e.id!==t.id&&!!a.getState().columnFilters.find(t=>t.id===e.id),value:e.id},String(e.columnDef.header)))),vu=({column:e,comparator:t,validComparators:l,...a})=>{const{texts:r}=er();return n.useEffect(()=>{if(void 0===t){const t=l[0];e.setFilterValue(e=>({comparator:t,value:t!==Oc.IsBetween||Array.isArray(e.value)?e.value:[]}))}},[]),n.createElement(Ls,Object.assign({},a,{onChange:t=>{e.setFilterValue(e=>({comparator:t,value:t===Oc.IsBetween?[]:e.value}))},value:t}),l.map(e=>n.createElement(Ls.Option,{key:e,value:e},hu(e,r))))},hu=(e,t)=>{switch(e){case Oc.Contains:return t.table2.filters.comparators.contains;case Oc.DoesNotContain:return t.table2.filters.comparators.doesNotContain;case Oc.IsEqualTo:return t.table2.filters.comparators.isEqualTo;case Oc.IsNotEqualTo:return t.table2.filters.comparators.isNotEqualTo;case Oc.IsGreaterThan:return t.table2.filters.comparators.isGreaterThan;case Oc.IsLessThan:return t.table2.filters.comparators.isLessThan;case Oc.IsBetween:return t.table2.filters.comparators.isBetween;case Oc.IsOneOf:return t.table2.filters.comparators.isOneOf;case Oc.IsNoneOf:return t.table2.filters.comparators.isNoneOf;case Oc.IsAllOf:return t.table2.filters.comparators.isAllOf;case Oc.IsEmpty:return t.table2.filters.comparators.isEmpty;case Oc.IsNotEmpty:return t.table2.filters.comparators.isNotEmpty}},pu=({column:e,comparator:t,value:l})=>{var a,r;const o=e.columnDef.header;if(t===Oc.IsEmpty||t===Oc.IsNotEmpty)return null;if(t===Oc.IsBetween){var i;const t=Array.isArray(l)?l[0]:void 0,a=Array.isArray(l)?l[1]:void 0;return"datetime"===(null===(i=e.columnDef.meta)||void 0===i?void 0:i.dataType)?n.createElement("div",{className:"flex flex-grow items-center gap-2"},n.createElement(to,{"aria-label":o,onChange:t=>e.setFilterValue(e=>({...e,value:[t.detail,a]})),value:t}),n.createElement(to,{"aria-label":o,onChange:n=>e.setFilterValue(e=>({...e,value:[t,n.detail]})),value:a})):n.createElement("div",{className:"flex flex-grow items-center gap-2"},n.createElement(br,{"aria-label":o,className:"flex-grow",placeholder:"from",onChange:t=>{const n=parseInt(t.target.value);e.setFilterValue(e=>({...e,value:[isNaN(n)?void 0:n,a]}))},value:null!=t?t:""}),n.createElement(br,{className:"flex-grow",placeholder:"to",onChange:n=>{const l=parseInt(n.target.value);e.setFilterValue(e=>({...e,value:[t,isNaN(l)?void 0:l]}))},value:null!=a?a:""}))}return"datetime"===(null===(a=e.columnDef.meta)||void 0===a?void 0:a.dataType)?n.createElement(to,{"aria-label":o,onChange:t=>e.setFilterValue(e=>({...e,value:t.detail})),value:l}):"boolean"===(null===(r=e.columnDef.meta)||void 0===r?void 0:r.dataType)?n.createElement(Vs,{"aria-label":o,onChange:t=>e.setFilterValue(e=>({...e,value:t})),checked:l}):n.createElement(br,{"aria-label":o,className:"flex-grow",onChange:t=>e.setFilterValue(e=>({...e,value:t.target.value})),required:!0,value:null!=l?l:""})},wu=e=>{var t,l;const{allColumns:a,column:r,index:o,table:i,onRemove:s}=e,{comparator:c,value:u}=r.getFilterValue(),d=String(null!==(t=r.columnDef.header)&&void 0!==t?t:""),{texts:m}=er(),f=n.useRef(null);let g;const v=null===(l=r.columnDef.meta)||void 0===l?void 0:l.control;"function"==typeof v?g=v({onBlur:()=>Promise.resolve(),onFocus:()=>Promise.resolve(),ref:f,setValue:e=>r.setFilterValue(t=>({...t,value:e})),value:u,disabled:!1,readOnly:!1}):"input"===v?g=n.createElement(br,{"aria-label":d,onChange:e=>r.setFilterValue(t=>({...t,value:e.target.value})),value:String(null!=u?u:"")}):"datepicker"===v?g=n.createElement(to,{"aria-label":d,onChange:e=>r.setFilterValue(t=>({...t,value:e.detail})),value:u}):"switch"===v&&(g=n.createElement(Vs,{"aria-label":d,checked:Boolean(u),onChange:e=>r.setFilterValue(t=>({...t,value:e}))}));const h=bu(g,v);return n.createElement("div",{className:"flex gap-2"},n.createElement("div",{className:"flex w-14 flex-shrink-0 items-center justify-end pr-2 text-right"},0===o?m.table2.filters.conditions.where:m.table2.filters.conditions.and),n.createElement(gu,{className:"!w-32 flex-shrink-0",allColumns:a,column:r,index:o,table:i}),n.createElement(vu,{className:"!w-32 flex-shrink-0",column:r,comparator:c,validComparators:h}),void 0!==c?n.createElement("div",{className:"flex flex-grow items-center"},n.createElement(pu,{column:r,comparator:c,value:u})):null,n.createElement(Ja,{appearance:"discrete",icon:"close",onClick:()=>{r.setFilterValue(void 0),null==s||s()}}))},bu=(e,t)=>{if(n.isValidElement(e)){const{props:t,type:n}=e;if("Select2"===n.displayName)return t.multiple?[Oc.IsOneOf,Oc.IsNoneOf,Oc.IsAllOf]:[Oc.IsEqualTo,Oc.IsNotEqualTo]}switch(t){case"datepicker":return[Oc.IsEqualTo,Oc.IsNotEqualTo,Oc.IsGreaterThan,Oc.IsLessThan,Oc.IsBetween];case"switch":return[Oc.IsEqualTo];default:return[Oc.Contains,Oc.DoesNotContain,Oc.IsEqualTo,Oc.IsNotEqualTo,Oc.IsEmpty,Oc.IsNotEmpty,Oc.IsGreaterThan,Oc.IsLessThan,Oc.IsBetween]}},xu=e=>{const{texts:t}=er(),{onChange:l,onRemove:a,allColumns:r,table:o,index:i,filteredColumns:s,emptyFilterCount:c}=e;return n.createElement("div",{className:"flex gap-2"},n.createElement("div",{className:"flex w-14 flex-shrink-0 items-center justify-end pr-2 text-right"},s.length>0||0===s.length&&i>0?t.table2.filters.conditions.and:t.table2.filters.conditions.where),n.createElement(Ls,{className:"!w-32 flex-shrink-0",emptyValue:null,autoFocus:!0,onChange:e=>{e&&(null==l||l(e))},value:null},r.map(e=>n.createElement(Ls.Option,{key:e.id,value:e.id,disabled:!e.getCanFilter()||!!o.getState().columnFilters.find(t=>t.id===e.id)},String(e.columnDef.header)))),n.createElement(Ls,{className:"!w-32 flex-shrink-0",value:1,autoFocus:!0,disabled:!0},n.createElement(Ls.Option,{key:"condition1",value:1},t.table2.filters.emptyFilter.condition),n.createElement(Ls.Option,{key:"condition2",value:2},"Condition2")),n.createElement(br,{"aria-label":"Value",className:"flex-grow items-center",disabled:!0,value:t.table2.filters.emptyFilter.value}),(c>1||s.length>0)&&n.createElement(Ja,{appearance:"discrete",icon:"close",onClick:a}))},Eu=({length:e,table:t})=>{const{texts:a}=er(),r=n.useRef(null),o=t.getAllLeafColumns().filter(e=>!bc(e.id)).sort((e,t)=>{var n,l;return null===(n=e.columnDef)||void 0===n?void 0:n.header.localeCompare(null===(l=t.columnDef)||void 0===l?void 0:l.header)}),{shouldDisableTableActions:i}=t.options.meta,s=t.getState().columnFilters,c=s.reduce((e,t)=>{const n=o.find(e=>e.id===t.id);return n?[...e,n]:e},[]),[u,d]=n.useState(1),m=()=>d(u+1),f=()=>{t.resetColumnFilters(),d(1)};Ba({key:"f",meta:!0,shift:!0},e=>{var t;e.preventDefault(),null===(t=r.current)||void 0===t||t.click()});const g=()=>{1===c.length&&0===u&&d(1)},v=()=>{d(u-1)},h=()=>{d(0===c.length?1:0)},p=c.length>0&&c.filter(e=>{var t;const n=null===(t=e.columnDef.meta)||void 0===t?void 0:t.control,l=e.getFilterValue().value,a=e.getFilterValue().comparator;if(Array.isArray(l)){if(l.length>0&&l.find(e=>void 0!==e))return!0}else{if(l)return!0;if([Oc.IsEmpty,Oc.IsNotEmpty].includes(a)&&!n)return!0}return!1}),w=p&&p.length;return n.createElement(lr,{"aria-label":a.table2.filters.tooltip,appearance:w?"primary":"default",className:l({"!wcag-blue-100":w}),disabled:i,popover:l=>n.createElement(eo,Object.assign({},l,{onChange:h}),n.createElement(eo.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"},a.table2.filters.button),n.createElement("p",{className:"text-grey-700 mb-0 mr-auto mt-px inline-flex"},a.table2.filters.total.replace("[CURRENT]",String(t.getFilteredRowModel().rows.length)).replace("[TOTAL]",String(e)))),s.length||u>1?n.createElement(lr,{onClick:f},a.table2.filters.buttons.clearFilters):null),n.createElement("div",{className:"flex flex-col gap-2"},c.map((e,l)=>n.createElement(wu,{key:`${e.id}_${l}`,allColumns:o,index:l,column:e,table:t,onRemove:g})),[...Array(u)].map((e,l)=>n.createElement(xu,{key:"emptyFilter_"+l,index:l,allColumns:o,table:t,onChange:e=>(e=>{const t=o.find(t=>t.getCanFilter()&&t.id===e);t&&t.setFilterValue({comparator:void 0,value:void 0}),d(u-1)})(e),emptyFilterCount:u,filteredColumns:c,onRemove:v})),n.createElement("div",{className:"justify-start"},n.createElement(lr,{appearance:"discrete",onClick:m},"+ ",a.table2.filters.buttons.addNewFilter)))))),ref:r,tooltip:n.createElement(n.Fragment,null,a.table2.filters.tooltip,n.createElement(ni,{className:"ml-2",keys:{key:"f",meta:!0,shift:!0}}))},n.createElement(ga,{name:w?"filter-solid":"filter"}),a.table2.filters.button," ",w?`(${w})`:"")},yu=e=>{const{value:t,...a}=e,{texts:r}=er(),o=n.useRef(null);Ba({key:"f",meta:!0,shift:!1},e=>{var t;document.activeElement!==o.current&&(e.preventDefault(),null===(t=o.current)||void 0===t||t.focus())});const i=l("w-48",{"!wcag-blue-100":!!t});return n.createElement(Ki,Object.assign({},a,{className:i,onBlur:t=>{var n;null===(n=e.onSearch)||void 0===n||n.call(e,t.target.value)},onInput:t=>{var n;e.onInput&&e.onInput(t),t.isDefaultPrevented()||t.currentTarget.value||null===(n=e.onSearch)||void 0===n||n.call(e,"")},onKeyDown:t=>{var n;"Escape"===t.key&&(null===(n=e.onSearch)||void 0===n||n.call(e,""))},placeholder:r.table2.search.placeholder,ref:o}))},Ru=n.forwardRef((function(e,t){const{scrollToIndex:a,table:r,tableRef:o}=e,{texts:i}=er(),s=ja(t),c=r.options.meta,{isEditing:u}=c.editMode,d=n.useCallback(e=>!!u&&(e.returnValue=!0,!0),[u]);Ba({key:"e",meta:!0},e=>{var t;e.preventDefault(),null===(t=s.current)||void 0===t||t.click()}),n.useEffect(()=>(window.addEventListener("beforeunload",d),()=>{window.removeEventListener("beforeunload",d)}),[d]);const m=()=>{var e;c.editMode.toggleEditing(),null===(e=o.current)||void 0===e||e.focus(),a(c.activeRowIndex+1)},f=n.useMemo(()=>{const e=r.getVisibleFlatColumns().some(e=>{var t;return void 0!==(null===(t=e.columnDef.meta)||void 0===t?void 0:t.control)});return!e&&u&&m(),e},[r.getState().columnVisibility]);return n.createElement(lr,{onClick:m,className:l({"!wcag-blue-100":c.editMode.isEditing}),disabled:!f,ref:s,tooltip:f?n.createElement(n.Fragment,null,i.table2.editing.tooltip,n.createElement(ni,{className:"ml-2",keys:{key:"e",meta:!0}})):i.table2.editing.tooltipDisabled},n.createElement(ga,{name:"edit"}),i.table2.editing.button)}));function Cu(e){return null}Cu.displayName="Table2Column";const zu=n.forwardRef((function(e,t){const{emptyState:a,expandedRowRenderer:r,length:o=e.data.length,loadMore:i,onRowClick:s,onRowDrop:c,toolbarLeft:u,toolbarRight:d,_experimentalActionsForTable:m,_experimentalActionsForTableSummary:f}=e,g=ja(t),v=n.useRef(),h=n.useRef(0),{rows:p,table:w,footers:b}=function(e,t,a){var r,o,i,s,c;const{actionsForRow:u=[],actionsForRowLength:d=$c,data:m,defaultActiveRowIndex:f,disableColumnFiltering:g=!1,disableColumnHiding:v=!1,disableColumnFreezing:h=!1,disableColumnReordering:p=!1,disableColumnResizing:w=!1,disableRowDensity:b=!1,disableRowExpansion:x=!1,disableRowSelection:E=!1,disableMultipleRowSelection:y=!1,disableSearch:R=!1,disableSorting:C=!1,expandedRowRenderer:z,manualColumnFiltering:S=!1,manualSearch:N=!1,manualSorting:O=!1,onChangeSettings:I,onRowClick:M,onRowDrag:k,onRowSelect:H,onSave:V,settings:A={},shortcuts:j,_experimentalActionsForTable:D}=t,T=!x&&!!z,F=!(E||!H&&(null==D||!D.length)),P=!y&&F,{columns:B,internalFrozenColumnCount:_,defaultColumnSizing:q,defaultSorting:K,defaultColumnVisibility:G,footers:W}=function(e,t,a){const{texts:r}=er(),o=n.useRef(),i=L.createColumnHelper();return n.useMemo(()=>{var s;let c=0;const u=[],d={},m={},f=[],g={};return n.Children.toArray(e).filter(e=>!!e).forEach(e=>{if(n.isValidElement(e)){var l;const o="grow"===e.props.defaultWidth?"1fr":e.props.defaultWidth;o&&(d[e.props.accessor]=o),e.props.defaultHidden&&t.enableColumnHiding&&(m[e.props.accessor]=!1),void 0!==e.props.sort&&f.push({id:e.props.accessor,desc:"desc"===e.props.sort}),e.props.footer&&(g[e.props.accessor]=e.props.footer),u.push({accessorKey:e.props.accessor,id:e.props.accessor,cell:t=>{var l;let a=t.getValue();return"function"==typeof e.props.renderer&&(a=e.props.renderer(a,t.row.original)),"string"==typeof a||"number"==typeof a?n.createElement("span",{className:"truncate"},a):null!==(l=a)&&void 0!==l?l:null},header:e.props.header,meta:{align:e.props.align,className:e.props.className,control:e.props.control,dataType:e.props.dataType,defaultWidth:o,disableReordering:e.props.disableReordering,menu:e.props.menu,tooltip:e.props.tooltip},enableHiding:!e.props.disableHiding,enableColumnFilter:!e.props.disableFiltering,filterFn:t.enableColumnFiltering&&!e.props.disableFiltering?"tacoFilter":void 0,enableResizing:!e.props.disableResizing,minSize:null!==(l=e.props.minWidth)&&void 0!==l?l:80,size:e.props.defaultWidth,enableSorting:!e.props.disableSorting,sortingFn:(a=e.props.dataType,r=e.props.sortFn,"function"==typeof r?(e,t,n)=>r(e.original,t.original,n):r||(a&&"boolean"!==a?a:"auto")),sortDescFirst:!1,sortUndefined:1})}var a,r}),t.enableRowExpansion&&t.expandedRowRenderer&&(u.unshift(i.display(function(e,t){return{id:"__expansion",header:({table:e})=>n.createElement(qa,{title:e.getIsSomeRowsExpanded()?t.table2.columns.expansion.collapseAll:t.table2.columns.expansion.expandAll},n.createElement(Ja,{appearance:"discrete",className:"-mb-2 -mt-1.5",icon:e.getIsSomeRowsExpanded()?"chevron-down-double":"chevron-right-double",onClick:t=>{t.stopPropagation(),e.toggleAllRowsExpanded(!e.getIsSomeRowsExpanded())},tabIndex:-1})),cell:({row:l})=>n.createElement(Ec,{expandedRowRenderer:e,isExpanded:l.getIsExpanded(),row:l,texts:t}),footer:()=>n.createElement("span",null),meta:{align:"center",className:"items-center !p-0",headerClassName:"items-center hover:!bg-white !p-0"},enableResizing:!1,size:36}}(t.expandedRowRenderer,r))),c++),t.enableRowSelection&&(u.unshift(i.display(function(e,t,l,a,r){let o,i;return e?(o=({table:e})=>n.createElement(qa,{title:n.createElement(n.Fragment,null,e.getIsAllPageRowsSelected()?r.table2.columns.select.deselectAll:r.table2.columns.select.selectAll,n.createElement(ni,{className:"ml-2",keys:{key:"a",meta:!0}}))},n.createElement(dr,{"aria-label":e.getIsAllPageRowsSelected()?r.table2.columns.select.deselectAll:r.table2.columns.select.selectAll,className:"hover:border-blue !mt-0",checked:e.getIsAllPageRowsSelected(),indeterminate:e.getIsSomePageRowsSelected(),onChange:t=>e.toggleAllPageRowsSelected(t),onClick:()=>{var e;null===(e=a.current)||void 0===e||e.focus()},tabIndex:-1})),i=({row:e,table:l})=>n.createElement(xc,{lastSelectedRowIndex:t,rowIndex:e.index,isSelected:e.getIsSelected(),table:l,tableRef:a,texts:r,toggleSelected:e.toggleSelected})):i=({row:e,table:t})=>{const l=t.options.meta;return n.createElement("button",{className:"border-grey-300 focus:yt-focus flex h-5 w-5 mt-[0.45rem] flex-shrink-0 items-center justify-center self-start rounded-full border-2 bg-white hover:border-[5px] aria-checked:border-blue-500 aria-checked:bg-blue-500 hover:aria-checked:border-blue-300","aria-checked":e.getIsSelected(),onClick:t=>{var n;t.stopPropagation(),e.toggleSelected(),l.setActiveRowIndex(e.index),null===(n=a.current)||void 0===n||n.focus()},role:"radio",tabIndex:-1,type:"button"},e.getIsSelected()?n.createElement("span",{className:"h-2.5 w-2.5 rounded-full bg-white"}):null)},{id:"__select",header:o,cell:i,footer:()=>n.createElement("span",null),meta:{align:"center",className:l?"!pl-0 !pr-3":"!px-3",headerClassName:l?"!pl-0 !pr-3":"!px-3"},enableResizing:!1,size:46}}(t.enableMultipleRowSelection,o,t.onRowDrag,a,r))),c++),t.onRowDrag&&(u.unshift(i.display(function(e,t){return{id:"__draggable",cell:({row:l,table:a})=>{const r=a.options.meta;return n.createElement("div",{draggable:!0,onDragStart:t=>{const n=l.getIsSelected()?a.getSelectedRowModel().rows:[l,...a.getSelectedRowModel().rows];r.setDragging(n.reduce((e,t)=>({...e,[t.id]:!0}),{}));const o=n.map(e=>e.original);t.dataTransfer.setData("text",JSON.stringify(o)),e(o,e=>{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=e,document.body.appendChild(n),t.dataTransfer.setDragImage(n,0,0)},e=>t.dataTransfer.setData("text",e))},onDragEnd:()=>{var e;null===(e=document.getElementById("taco_table_dragging"))||void 0===e||e.remove(),r.setDragging({})}},n.createElement(ga,{"aria-label":t.table2.columns.drag.tooltip,name:"drag",className:"text-grey-darkest invisible w-[20px] cursor-grab active:cursor-grabbing group-hover/row:visible group-[[aria-grabbed]]/row:text-white"}))},footer:()=>n.createElement("span",null),meta:{align:"center",className:"items-center !px-0",headerClassName:"items-center !px-0"},enableResizing:!1,size:10}}(t.onRowDrag,r))),c++),null!==(s=t.actionsForRow)&&void 0!==s&&s.length&&u.push(i.display(function(e,t,a){return{id:"__actions",cell:({row:l,table:r})=>{var o,i;return n.createElement(yc,{row:l,actions:e,actionsLength:t,texts:a,table:r,isEditing:!(null===(o=r.options.meta)||void 0===o||!o.editMode.isEditing),shouldPauseHoverState:!(null===(i=r.options.meta)||void 0===i||!i.shouldPauseHoverState)})},footer:()=>n.createElement("span",null),meta:{align:"right",className:(e,t)=>{var n;return l("items-center print:opacity-0 group-[[aria-current]]/row:sticky group-hover/row:sticky right-0 !px-1 z-[1]",{"group-[[aria-current]]/row:!shadow-[-6px_0px_6px_theme(colors.grey.200)]":!e.getIsSelected(),"group-hover/row:!shadow-[-6px_0px_6px_theme(colors.grey.100)]":!e.getIsSelected()&&(!(null!==(n=t.options.meta)&&void 0!==n&&n.shouldPauseHoverState)||t.options.meta.editMode.isEditing),"shadow-[-6px_0px_6px_theme(colors.blue.100)]":e.getIsSelected()})},headerClassName:"hover:!bg-white !px-1"},enableResizing:!1}}(t.actionsForRow,t.actionsForRowLength,r))),{columns:u,internalFrozenColumnCount:c,defaultColumnSizing:d,defaultColumnVisibility:m,defaultSorting:f,footers:g}},[e])}(e,{actionsForRow:u,actionsForRowLength:d,enableColumnFiltering:!g,enableColumnHiding:!v,enableColumnFreezing:!h,enableRowExpansion:T,enableRowSelection:F,enableMultipleRowSelection:P,expandedRowRenderer:z,onRowDrag:k},a),U=n.useRef(null),$=_+(null!==(r=null==A?void 0:A.frozenColumnCount)&&void 0!==r?r:0),J=B.slice(0,$).map(e=>e.id),X={columnOrder:Rc(B,null==A?void 0:A.columnOrder),columnPinning:{left:J,right:[]},columnSizing:null!==(o=null==A?void 0:A.columnSizing)&&void 0!==o?o:q,columnVisibility:null!==(i=null==A?void 0:A.columnVisibility)&&void 0!==i?i:G},Y=[!!k,!!T,!!F].reduce((e,t)=>e+(t?1:0),0),Q=u.length?1:0,Z=((e=0)=>{const[t,l]=n.useState(e),a=(e,t,n)=>{l(l=>{const a=((e,t,n)=>-1===e?t-1>0?t-1:0:t+1<n?t+1:t)(e,l,t.length);return n&&n(a),a})};return{activeRowIndex:t,setActiveRowIndex:e=>l(e),moveToPreviousRow:(e,t)=>a(-1,e,t),moveToNextRow:(e,t)=>a(1,e,t)}})(f),[ee,te]=ks(),ne=(e=>{const t=!!e,[l,a]=n.useState({enableEditMode:t,isEditing:!1,columnIndex:0});n.useEffect(()=>{a(e=>({...e,enableEditMode:t}))},[t]);const r=(e,t,n)=>{var r,o;const i=null!==(r=t.at(0))&&void 0!==r?r:0,s=null!==(o=t.at(-1))&&void 0!==o?o:0;l.enableEditMode&&a(({columnIndex:l,...a})=>{let r;switch(e){case Vc.FIRST:r=i;break;case Vc.LAST:r=s;break;case Vc.PREV:l===i?(null==n||n(Vc.PREV),r=s):r=t[Ac(-1,l,t)];break;case Vc.NEXT:l===s?(null==n||n(Vc.NEXT),r=i):r=t[Ac(1,l,t)]}return{...a,columnIndex:r}})};return{...l,onSave:e,toggleEditing:(e,t=0)=>{l.enableEditMode&&a(n=>({...n,isEditing:null!=e?e:!n.isEditing,columnIndex:t}))},moveToPreviousColumn:(e,t)=>r(Vc.PREV,e,t),moveToNextColumn:(e,t)=>r(Vc.NEXT,e,t),moveToFirstColumn:e=>r(Vc.FIRST,e),moveToLastColumn:e=>r(Vc.LAST,e),setColumn:e=>{l.enableEditMode&&a(t=>({...t,columnIndex:e}))}}})(V),[le,ae]=n.useState({}),[re,oe]=n.useState(null!==(s=null==A?void 0:A.rowDensity)&&void 0!==s?s:"normal"),[ie,se]=n.useState({}),[ce,ue]=n.useState(!1),[de,me]=n.useState(!1),[fe,ge]=n.useState($-_),ve=n.useRef([]),he={enableExpanding:T,enableColumnFilters:!g,enableColumnResizing:!w,enableGlobalFilter:!R,enableHiding:!v,enablePinning:!h,enableRowSelection:F,enableMultiRowSelection:P,enableSorting:!C};if(he.enableColumnResizing&&(he.columnResizeMode="onChange"),he.enableSorting){const e=e=>B.find(t=>t.id===e.id);X.sorting=null!=A&&A.sorting?null==A?void 0:A.sorting.filter(e):K,O?he.manualSorting=!0:he.getSortedRowModel=L.getSortedRowModel()}var pe;he.enableColumnFilters&&(X.columnFilters=null!==(pe=null==A?void 0:A.columnFilters)&&void 0!==pe?pe:[],S?he.manualFiltering=!0:(he.filterFns={tacoFilter:(e,t,n)=>Hc(e.getValue(t),n)},he.getFilteredRowModel=L.getFilteredRowModel())),he.enableGlobalFilter&&(N?he.manualFiltering=!0:(he.globalFilterFn=(e,t,n)=>Lc(e.getValue(t),n),he.getFilteredRowModel=L.getFilteredRowModel()));const we=L.useReactTable({data:m,columns:B,getCoreRowModel:L.getCoreRowModel(),initialState:X,...he,meta:{...Z,editMode:ne,columnOffsets:le,enableRowDensity:!b,rowDensity:re,setRowDensity:oe,enableRowDragging:!!k,dragging:ie,setDragging:se,enableColumnFreezing:!h,enableColumnReordering:!p,enableColumnHiding:!v,shouldPauseHoverState:ee,setShouldPauseHoverState:te,frozenColumnsCount:fe,setFrozenColumnsCount:ge,shouldPauseSortingAndFiltering:ce,setShouldPauseSortingAndFiltering:ue,onRowClick:M,dataColumnStartOffset:Y,dataColumnEndOffset:Q,shouldDisableTableActions:de,setShouldDisableTableActions:me,focussableColumnIndexes:ve.current,addFocussableColumnIndex:e=>{ve.current.includes(e)||(ve.current=[...ve.current,e].sort((e,t)=>e-t))},resetFocussableColumnIndexes:()=>{ve.current=[]},tableRef:a,lastSortedOrFilteredRows:U}}),be=we.getRowModel().rows;ce||(U.current=be);const xe=ce?U.current:be;return((e,t,l)=>{const a=e.options.meta;n.useEffect(()=>{a.editMode.isEditing&&a.shouldPauseSortingAndFiltering&&a.setShouldPauseSortingAndFiltering(!1)},[l.activeRowIndex]),n.useEffect(()=>{l.activeRowIndex>t.length-1&&a.setActiveRowIndex(t.length?t.length-1:0)},[e.getState().columnFilters,t.length])})(we,xe,Z),((e,t)=>{const{columnOrder:l,columnSizing:a,columnSizingInfo:r,columnVisibility:o}=e.getState(),{frozenColumnsCount:i}=e.options.meta;n.useEffect(()=>{const n={};e.getVisibleLeafColumns().reduce((e,t)=>(n[t.id]=e,e+t.getSize()),0),t(n)},[l,a,r,o,i])})(we,ae),((e,t)=>{n.useEffect(()=>{t&&e.resetRowSelection()},[e.getState().columnFilters,e.getState().globalFilter])})(we,H),((e,t)=>{n.useEffect(()=>{if(t)if(e.options.enableMultiRowSelection){const n=e.getSelectedRowModel().rows.map(e=>e.original);t(n,e.getIsAllRowsSelected())}else{var n,l;t(null!==(n=null===(l=e.getSelectedRowModel().rows[0])||void 0===l?void 0:l.original)&&void 0!==n?n:void 0,!1)}},[e.getState().rowSelection])})(we,H),((e,t)=>{const l=e.options.meta,a=e.getState();n.useEffect(()=>{let e;return"function"==typeof t&&(e=setTimeout(()=>t({columnFilters:a.columnFilters,columnOrder:a.columnOrder,columnSizing:a.columnSizing,columnVisibility:a.columnVisibility,frozenColumnCount:l.frozenColumnsCount,globalFilter:a.globalFilter,rowDensity:l.rowDensity,sorting:a.sorting}),250)),()=>clearTimeout(e)},[a.columnFilters,a.columnOrder,l.frozenColumnsCount,a.columnSizing,a.columnVisibility,a.globalFilter,l.rowDensity,a.sorting])})(we,I),function(e,t){n.useEffect(()=>{const n=Object.keys(null!=e?e:{}),l=[];return e&&n.length&&n.forEach(n=>{const a=e[n];let r,o;"function"==typeof a?(r=a,o={key:n}):(r=a.handler,o={key:n,meta:a.meta,shift:a.shift}),l.push(Fa(o,e=>{e.preventDefault(),r(t)}))}),l.forEach(e=>{document.addEventListener("keydown",e)}),()=>{l.forEach(e=>{document.removeEventListener("keydown",e)})}},[e,t])}(j,null===(c=be[Z.activeRowIndex])||void 0===c?void 0:c.original),{rows:xe,table:we,footers:W}}(e.children,e,g),x=w.options.meta,{columnVisibility:E,columnOrder:y,globalFilter:R}=w.getState();n.useEffect(()=>{g.current&&(g.current.instance={resetFiltering:()=>w.resetColumnFilters(),resetRowExpansion:()=>w.resetExpanded(),resetRowSelection:()=>w.resetRowSelection(),resetSorting:()=>w.resetSorting(),toggleEditing:()=>x.editMode.toggleEditing()})},[w,g.current]),n.useEffect(()=>{x.resetFocussableColumnIndexes()},[E,y]),n.useEffect(()=>{x.editMode.isEditing||x.resetFocussableColumnIndexes()},[x.editMode.isEditing]),n.useEffect(()=>()=>clearTimeout(v.current),[]);const{virtualiser:C,virtualiserOffsets:z,setExpandedRowSizes:S}=(({rows:e,table:t},l)=>{var a,r,o,i;const[s,c]=n.useState({}),u=n.useMemo(()=>{const e=Object.values(s);return e.length?e.reduce((e,t)=>e+t,0)/e.length:0},[s]),d=t.options.meta,m=n.useCallback(e=>{var n;const l=d.rowDensity?Jc[d.rowDensity]:Jc.normal;var a,r;return!0===t.getState().expanded||null!==(n=t.getState().expanded)&&void 0!==n&&n[e]?l+(null!==(a=null!==(r=s[e])&&void 0!==r?r:u)&&void 0!==a?a:0):l},[d.rowDensity,s,t.getState().expanded]),f=V.useVirtual({parentRef:l,size:e.length,estimateSize:m});return{virtualiser:f,virtualiserOffsets:{top:f.virtualItems.length>0&&(null===(a=f.virtualItems)||void 0===a||null===(r=a[0])||void 0===r?void 0:r.start)||0,bottom:f.virtualItems.length>0?f.totalSize-((null===(o=f.virtualItems)||void 0===o||null===(i=o[f.virtualItems.length-1])||void 0===i?void 0:i.end)||0):0},setExpandedRowSizes:c}})({rows:p,table:w},g),N=(e=>{const t=e.getVisibleLeafColumns();return t.reduce((n,l,a)=>{let r;const o=a===t.length-1,i=e.getState().columnSizing[l.id];return r="__actions"===l.id?"minmax(max-content, auto)":bc(l.id)?l.getSize()+"px":i?"1fr"===i?"minmax(max-content, 1fr)":o?`minmax(${i}px, auto)`:l.columnDef.minSize&&i<l.columnDef.minSize?l.columnDef.minSize+"px":i+"px":l.getCanResize()?"minmax(max-content, auto)":"max-content",`${n} ${r}`},"")})(w),O=n.useRef(null);let I;x.editMode.isEditing&&(I=e=>{var t,n,l;let a=e.relatedTarget;if(void 0===a)return;const r=null===(t=a)||void 0===t||null===(n=t.closest("[data-radix-popper-content-wrapper] > :first-child"))||void 0===n?void 0:n.id;var o;r&&(a=null!==(o=e.currentTarget.querySelector(`[aria-controls="${r}"]`))&&void 0!==o?o:e.relatedTarget),null!==(l=e.currentTarget)&&void 0!==l&&l.contains(a)||a===O.current||(v.current=setTimeout(()=>{const t=e.target.closest('[role="row"]'),n=null==t?void 0:t.contains(document.activeElement);x.shouldPauseSortingAndFiltering&&!n&&x.setShouldPauseSortingAndFiltering(!1)}))});const[M,k]=n.useState(!1),H=n.useRef(!1);let A;x.shouldPauseHoverState&&(A=()=>x.setShouldPauseHoverState(!1));const j=l("bg-white border border-grey-300 focus:yt-focus focus:border-blue-500 grid auto-rows-max overflow-auto relative rounded group",e.className),D=w.options.enableHiding||x.enableColumnReordering,T=D||x.editMode.enableEditMode||w.options.enableColumnFilters||x.enableRowDensity||w.options.enableGlobalFilter,F=T||!!u||!d,P=w.getLeftVisibleLeafColumns().map(e=>e.id);return n.createElement("div",{className:"-m-0.5 flex h-full w-[calc(100%_+_0.25rem)] flex-col gap-4 overflow-hidden p-0.5"},F?n.createElement("div",{className:"flex flex-wrap gap-2"},u,T?n.createElement(vo,{className:"ml-auto flex-shrink-0 print:hidden"},x.editMode.enableEditMode?n.createElement(Ru,{ref:O,table:w,tableRef:g,scrollToIndex:C.scrollToIndex}):null,w.options.enableColumnFilters?n.createElement(Eu,{length:o,table:w}):null,d,x.enableRowDensity?n.createElement(Yc,{table:w}):null,D?n.createElement(ru,{table:w}):null,w.options.enableGlobalFilter?n.createElement(yu,{disabled:x.shouldDisableTableActions,onSearch:w.setGlobalFilter,value:R}):null):null):null,n.createElement("div",{className:j,"data-taco":"table2",onBlur:I,onKeyDown:e=>{if(document.activeElement===g.current){if("ArrowUp"===e.key)return e.preventDefault(),void(e.ctrlKey||e.metaKey?(x.setActiveRowIndex(0),C.scrollToOffset(0)):x.moveToPreviousRow(p,e=>{x.setShouldPauseHoverState(!0),C.scrollToIndex(e-1)}));if("ArrowDown"===e.key)return e.preventDefault(),void(e.ctrlKey||e.metaKey?(x.setActiveRowIndex(p.length-1),C.scrollToOffset(C.totalSize+1)):x.moveToNextRow(p,e=>{var t;x.setShouldPauseHoverState(!0),e===p.length-1?null===(t=g.current)||void 0===t||t.scrollTo(0,g.current.scrollHeight):C.scrollToIndex(e+2)}));const a=w.options.enableExpanding;var t,n,l;if("ArrowLeft"===e.key)return e.preventDefault(),void((e.ctrlKey||e.metaKey)&&a&&(null===(t=p[x.activeRowIndex])||void 0===t||t.toggleExpanded(!1)));if("ArrowRight"===e.key)return e.preventDefault(),void((e.ctrlKey||e.metaKey)&&a&&(null===(n=p[null==x?void 0:x.activeRowIndex])||void 0===n||n.toggleExpanded(!0)));if("Enter"===e.key)return e.preventDefault(),void(s&&s(p[null==x?void 0:x.activeRowIndex].original));if(" "===e.key)return e.preventDefault(),void(w.options.enableRowSelection&&(null===(l=p[x.activeRowIndex])||void 0===l||l.toggleSelected()));if(e.ctrlKey||e.metaKey)return void("a"===e.key&&w.options.enableRowSelection&&(e.preventDefault(),w.toggleAllRowsSelected()))}},onMouseLeave:A,onScroll:function(e){try{const t=function(){if(e.currentTarget.scrollLeft>0&&!M)k(!0);else{const t=function(){if(0===e.currentTarget.scrollLeft&&M)k(!1);else{const t=function(){if("function"==typeof i){const t=e.currentTarget.scrollTop,n=t>h.current;h.current=t;const l=Math.round(t/(e.currentTarget.scrollHeight-e.currentTarget.clientHeight)*100),a=function(){if(n&&!H.current&&l>=80){const e=us((function(){return cs((function(){const e=w.getIsAllRowsSelected();return H.current=!0,Promise.resolve(i()).then((function(){e&&w.toggleAllRowsSelected(!0)}))}),(function(e){console.error(e)}))}),(function(e,t){if(H.current=!1,e)throw t;return t}));if(e&&e.then)return e.then((function(){}))}}();if(a&&a.then)return a.then((function(){}))}}();if(t&&t.then)return t.then((function(){}))}}();if(t&&t.then)return t.then((function(){}))}}();return Promise.resolve(t&&t.then?t.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},ref:g,role:"table",style:{gridTemplateColumns:N,gridTemplateRows:p.length?void 0:"40px",opacity:.999},tabIndex:0},n.createElement("div",{className:"contents","data-taco":"table2-header",role:"rowgroup"},w.getHeaderGroups().map(e=>n.createElement("div",{className:"contents",key:e.id,role:"row"},e.headers.map((t,l)=>n.createElement(Gc,{frozenColumnIds:P,key:t.id,header:t,index:l,isLastColumn:l===e.headers.length-1,scrolled:M,table:w,tableRef:g}))))),p.length?n.createElement("div",{className:"contents","data-taco":"table2-body",role:"rowgroup"},z.top?n.createElement("div",{style:{height:z.top},className:"col-span-full"}):null,C.virtualItems.map(e=>{var t;const l=p[e.index];return n.createElement(n.Fragment,{key:l.id},n.createElement(fu,{className:"group/row contents",onRowDrop:c,row:l,rowIndex:e.index,table:w},l.getVisibleCells().map((t,l)=>n.createElement(qc,{cell:t,frozenColumnIds:P,key:`${t.id}_${t.getValue()}`,index:l,isLastRow:e.index===p.length-1,rows:p,rowIndex:e.index,scrolled:M,scrollToIndex:C.scrollToIndex,scrollToOffset:C.scrollToOffset,table:w,tableRef:g}))),l.getIsExpanded()&&r?n.createElement(ou,{index:e.index,setSize:S},null===(t=r(l.original))||void 0===t?void 0:t()):null)}),z.bottom?n.createElement("div",{style:{height:z.bottom},className:"col-span-full"}):null):n.createElement("div",{className:"col-span-full min-h-[theme(spacing.8)]"},a?n.createElement(a,null):null),n.createElement("div",{className:"contents","data-taco":"table2-footer",role:"rowgroup"},n.createElement("div",{role:"row",className:"contents"},w.getFooterGroups().map(e=>e.headers.map((e,t)=>n.createElement(Uc,{key:e.id,footer:e,frozenColumnIds:P,index:t,scrolled:M,table:w},b[e.id]?b[e.id](p.map(t=>t.original[e.id])):null)))),n.createElement(Su,{length:null!=o?o:p.length,table:w}))),m&&w.options.enableRowSelection&&(w.getIsSomeRowsSelected()||w.getIsAllRowsSelected())?n.createElement(du,{className:"fixed-center-x bottom-0 z-50 mb-4 print:hidden",actionsForTable:m,summary:f,table:w}):null)})),Su=({length:e,table:t})=>{const{texts:a}=er(),r=t.getIsAllRowsSelected()?e:t.getSelectedRowModel().rows.length,o=r>0?a.table2.footer.summary.selected:a.table2.footer.summary.records,i=r>0?r:e;return n.createElement("div",{className:l("sticky bottom-0 left-0 z-10 -mt-10 flex h-10 w-fit items-center whitespace-nowrap bg-white px-4 !pr-3 shadow-[6px_0px_6px_theme(colors.white)]")},o," ",n.createElement("strong",null,i))},Nu=n.forwardRef((function(e,t){const l=n.useMemo(()=>String("tableKey_"+String(e.children)),[e.children]);return n.createElement(zu,Object.assign({},e,{key:l,ref:t}))}));function Ou(e){const{onGoto:t,trigger:l,...a}=e,{texts:r}=er();return n.createElement(eo,Object.assign({},a,{anchor:l}),n.createElement(eo.Content,null,n.createElement(Ki,{"aria-label":r.table3.columns.menu.gotoRow,name:"query",onSearch:e=>t(e),onKeyDown:e=>e.stopPropagation(),placeholder:r.table3.columns.menu.gotoRow+"..."})))}function Iu(e,t){return!$u(t.id)&&!!(e.options.meta.rowGoto.isEnabled&&t.column.getCanSort()&&t.column.getIsSorted())}function Mu(e,t){var n;return!$u(t.id)&&(!(null===(n=t.column.columnDef.meta)||void 0===n||!n.menu)||!!e.options.meta.columnFreezing.isEnabled||!!e.options.enableHiding&&!!t.column.getCanHide()||Iu(e,t))}function ku(e){const{canFreeze:t,canHide:a,canSort:r,index:o,menu:i,onGoto:s,onHide:c,onSortToggle:u,scrollToIndex:d,sortDirection:m,table:f}=e,g=f.options.meta,{texts:v}=er(),[h,p]=n.useState(void 0),[w,b]=n.useState(m),x=e=>{b(e),u(e)};let E;if(h){const e=()=>p(void 0);switch(h){case"goto":if(s){const t=function(t){try{const n=us((function(){return cs((function(){return Promise.resolve(s(t)).then((function(e){g.currentRow.setCurrentRowIndex(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)}};E=l=>n.createElement(Ou,Object.assign({},l,{open:!0,onChange:e,onGoto:t}))}}}const y=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":!!E},e.className),R=n.useMemo(()=>{const e=[];if(a&&e.push(n.createElement(Ei.Item,{icon:"unreconciled",onClick:e=>setTimeout(()=>c(e),1)},v.table3.columns.menu.hideColumn)),r&&e.push(n.createElement(Ei.Item,{icon:"sort-by",subMenu:()=>n.createElement(Ei.SubMenu,null,n.createElement(Ei.RadioGroup,{onChange:x,value:w},n.createElement(Ei.RadioGroup.Item,{value:ju.ASC},v.table3.columns.menu.sortingOrder.ascending),n.createElement(Ei.RadioGroup.Item,{value:ju.DESC},v.table3.columns.menu.sortingOrder.descending),n.createElement(Ei.RadioGroup.Item,{value:!1},v.table3.columns.menu.sortingOrder.unsorted)))},v.table3.columns.menu.sorting)),s&&e.push(n.createElement(Ei.Item,{icon:"move",onClick:()=>p("goto"),shortcut:"g"},v.table3.columns.menu.gotoRow,"...")),t){const t=o-g.columnFreezing.frozenInternalColumnCount;e.push(n.createElement(Ei.Item,{icon:"column-freeze",onClick:()=>g.columnFreezing.setFrozenColumnIndex(t)},0===t?v.table3.columns.menu.freezeFirstColumn:v.table3.columns.menu.freezeUptoColumn.replace("[TOTAL]",String(t+1)))),void 0!==g.columnFreezing.frozenColumnIndex&&e.push(n.createElement(Ei.Item,{icon:"column-unfreeze",onClick:()=>{g.columnFreezing.setFrozenColumnIndex(void 0)}},v.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(Ei.Separator,null)),e.push(...l))}return e.map((e,t)=>n.cloneElement(e,{key:t}))},[i,o,t,a,r,s,u,m,g.columnFreezing.frozenColumnIndex]);return n.createElement(Ja,{className:y,icon:"more",menu:E?void 0:e=>n.createElement(Ei,Object.assign({},e),n.createElement(Ei.Content,null,R)),popover:E,onClickCapture:e=>e.preventDefault()})}function Lu(e){const{isResizing:t,onResize:a}=e,{texts:r}=er(),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(qa,{placement:"top",title:r.table3.columns.resize.tooltip},o)}Nu.Column=Cu;const Hu={asc:n.createElement(ga,{name:"chevron-up-solid",className:"pointer-events-none -my-0.5"}),desc:n.createElement(ga,{name:"chevron-down-solid",className:"pointer-events-none -my-0.5"})};function Vu(e){var t;return null!==(t=Hu[e.direction])&&void 0!==t?t:null}const Au={asc:"ascending",desc:"descending"},ju={ASC:"asc",DESC:"desc"};function Du(e){const{children:t,column:l,header:a,scrollToIndex:r,table:o}=e,i=o.options.meta,s=n.useMemo(()=>l.columnDef.meta,[]),c=l.getCanSort(),u=Iu(o,a),d=n.useMemo(()=>a.column.getToggleVisibilityHandler(),[]),m=n.useMemo(()=>a.getResizeHandler(),[]),f=n.useMemo(()=>a.column.getToggleSortingHandler(),[]),g=n.useCallback(e=>{!1===e?a.column.clearSorting():a.column.toggleSorting(e===ju.DESC)},[]),v=o.getState().sorting,h=o.getState().columnFilters,p=o.getState().globalFilter,w=n.useMemo(()=>{if(u)return e=>i.rowGoto.handleGoto(a.id,e,v,h,p)},[u,JSON.stringify(v),JSON.stringify(h),p]),b={align:s.align,canFreeze:i.columnFreezing.isEnabled,canHide:l.getCanHide(),canResize:l.getCanResize(),canSort:c,children:null!=t?t:s.header,hasMenu:Mu(o,a),id:a.id,index:a.index,isFrozen:Ju(a,o),isPrinting:i.isPrinting,isResizing:l.getIsResizing(),length:o.getRowModel().rows.length,meta:s,onGoto:w,onHide:d,onResize:m,onSort:f,onSortToggle:g,scrollToIndex:r,sortDirection:l.getIsSorted(),table:o};return n.createElement(Tu,Object.assign({},b))}const Tu=n.memo((function(e){var t;const{align:a,children:r,canFreeze:o,canHide:i,canResize:s,canSort:c,hasMenu:u,id:d,index:m,isFrozen:f,isPrinting:g,isResizing:v,length:h,meta:p,onGoto:w,onHide:b,onResize:x,onSort:E,onSortToggle:y,scrollToIndex:R,sortDirection:C,table:z}=e,S=l("sticky top-0 border-b-2 font-bold box-content group/column relative",'[[role="table"][data-resizing="true"]_&]:pointer-events-none',"px-[var(--table3-cell-padding-x)]",{"h-10 items-center":!g,"pb-2":g,"cursor-pointer select-none":c,"hover:bg-grey-100":c||s||u,"focus-within:bg-grey-100":u,"!pointer-events-all !bg-grey-100":v,"z-10 hover:z-20":!f&&!v,"z-20":!f&&v,"!z-30":f,"!z-40":f&&v},p.headerClassName),[N,O]=n.useState(null);return n.useLayoutEffect(()=>{if(N&&h){if($u(d))return;z.setColumnSizing(e=>({...e,[d]:N.getBoundingClientRect().width}))}},[N,h]),z.options.debugAll&&console.log("header render",d),n.createElement("div",Object.assign({},c?function(e,t){var n;return{"aria-sort":null!==(n=Au[t])&&void 0!==n?n:"none",onClick:t=>{!t.isDefaultPrevented()&&t.currentTarget.contains(t.target)&&(t.preventDefault(),e(t))}}}(E,C):void 0,{className:S,"data-align":a,"data-column-index":m,role:"columnheader",ref:O}),$u(d)?r:n.createElement(qa,{title:String(null!==(t=null==p?void 0:p.tooltip)&&void 0!==t?t:r),placement:"top"},n.createElement("span",{className:l({truncate:!g})},r)),c?n.createElement(Vu,{direction:C}):null,u?n.createElement(ku,{canFreeze:o,canHide:i,canSort:c,className:l({"ml-auto":"right"!==a,"ml-2":"right"===a}),index:m,menu:p.menu,onGoto:w,onHide:b,onSortToggle:y,scrollToIndex:R,sortDirection:C,table:z}):null,s?n.createElement(Lu,{isResizing:v,onResize:x}):null)})),Fu=n.createContext({isHovered:!1,setIsHovered:()=>{},rowIndex:0}),Pu=()=>n.useContext(Fu);function Bu(e){const{cell:t,className:a,column:r,getValue:o,index:i,row:s,table:c,tableRef:u}=e,d=n.useMemo(()=>r.columnDef.meta,[]),m=c.options.meta,{rowIndex:f}=n.useContext(Fu),g=o(),v=n.useMemo(()=>{var n,r,o,f;return{align:d.align,children:null!==(n=null!==(r=null!==(o=e.children)&&void 0!==o?o:null===(f=d.renderer)||void 0===f?void 0:f.call(d,g,s.original))&&void 0!==r?r:g)&&void 0!==n?n:null,className:l(a,"function"==typeof d.className?d.className(s.original):d.className),data:s.original,debug:c.options.debugAll,enableTruncate:d.enableTruncate,frozenColumnIndex:m.columnFreezing.frozenColumnIndex,id:t.id,index:i,tableRef:u}},[s.original,e.children,g,m.columnFreezing.frozenColumnIndex]),h=n.useMemo(()=>{var e;return!(!m.search.isHighlightingEnabled||!d.enableSearch)&&!(null===(e=m.search.query)||void 0===e||!e.length)&&function(e,t,n){return null!=t&&String(Yu(t,n)).toLocaleLowerCase().includes(e.toLocaleLowerCase())}(m.search.query,g,d.dataType)},[g,m.search.isHighlightingEnabled,m.search.excludeUnmatchedResults,m.search.query]),p=n.useMemo(()=>{if(!m.search.isHighlightingEnabled||!h||void 0===m.search.currentHighlightColumnIndex)return!1;const[e,t]=m.search.highlightedColumnIndexes[m.search.currentHighlightColumnIndex];return e===f&&t===i},[h,m.search.highlightedColumnIndexes.length,m.search.currentHighlightColumnIndex]);return n.createElement(_u,Object.assign({},v,{highlighted:h,highlightedAsCurrent:p}))}const _u=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:f}=e,g=l("py-[var(--table3-cell-padding-y)] px-[var(--table3-cell-padding-x)] focus:outline-none",r),v=c?void 0:g,h=i?n.createElement("span",{className:"truncate"},a):a;return o&&console.log("cell render",d),n.createElement("div",{className:v,"data-align":t,"data-column-index":m,"data-highlighted":c,role:"cell",tabIndex:-1},c?n.createElement(qu,{className:g,current:u,frozenColumnIndex:s,index:m,tableRef:f},h):h)})),qu=e=>{const{current:t,frozenColumnIndex:a,index:r,tableRef:o,...i}=e,s=n.useRef(null),c=l("h-full flex [justify-content:inherit] [text-align:inherit]",e.className,{"bg-blue-200/25":!t,"bg-blue-200/75":t});return n.useEffect(()=>{s.current&&t&&function(e,t,n,l){if(void 0!==t&&e>t){const e=Xu(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,s.current,o.current)},[t]),n.createElement("div",Object.assign({},i,{className:c,ref:s}))};function Ku(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:Ju(l,a),meta:r,table:a};return n.createElement(Gu,Object.assign({},o))}const Gu=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-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)})),Wu=n.memo((function(e){const{actions:t,actionsLength:a,fontSize:r,isCurrentRow:o,isEditing:i,isResizingColumn:s,isHoverStatePaused:c,row:u}=e,{isHovered:d}=n.useContext(Fu),{texts:m}=er(),f=n.useRef(null);let g;if(null!=t&&t.length&&!i&&(o||d&&!c&&!s)){const e=t.map(e=>e(u.original)).filter(e=>!!e),i=e.length===a?e:e.slice(0,a-1),s=e.slice(e.length===a?a:a-1),c=l("-mb-2 flex justify-end pl-2 text-right",{"-mt-2":"small"===r,"-mt-1.5":"small"!==r});g=n.createElement("span",{className:c,ref:f},i.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(ni,{className:"ml-2",keys:e.props.shortcut})):r})}),s.length?n.createElement(Ja,{appearance:"transparent","aria-label":m.table3.columns.actions.tooltip,icon:"more",tabIndex:o?0:-1,menu:e=>n.createElement(Ei,Object.assign({},e),n.createElement(Ei.Content,null,s.map((e,t)=>n.createElement(Ei.Item,Object.assign({key:t},e.props,{shortcut:e.props.shortcut}),e.props["aria-label"]))))}):null)}return n.createElement(Bu,Object.assign({},e),g)}));function Uu(e){const{rowIndex:t}=n.useContext(Fu),l=e.table.options.meta;return n.createElement(Wu,Object.assign({},e,{actions:l.rowActions.actionsForRow,actionsLength:l.rowActions.actionsForRowLength,fontSize:l.fontSize.size,isCurrentRow:l.currentRow.currentRowIndex===t,isEditing:l.editing.isEditing,isResizingColumn:!!e.table.getState().columnSizingInfo.isResizingColumn,isHoverStatePaused:!!l.hoverState.isPaused}))}const $u=e=>e.startsWith("__"),Ju=(e,t)=>{var n;const l=t.options.meta;return!("__actions"===e.column.id||!$u(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},Xu=(e,t)=>t.querySelector(`[data-current="true"] [data-column-index="${e}"`);function Yu(e,t){return null==e?"":m.isDate(e)?null!==(n=Kr(e))&&void 0!==n?n:"":"datetime"===t&&"string"==typeof e?null!==(l=Kr(Wr(e)))&&void 0!==l?l:"":String(e);var n,l}const Qu=(e="left")=>l({"justify-start text-left":"left"===e,"justify-end text-right":"right"===e,"justify-center text-center":"center"===e}),Zu=()=>l("[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none"),ed={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},td={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}};function nd(e,t){const l=n.useRef(!1);n.useEffect(()=>{l.current?e():l.current=!0},t)}var ld;!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"}(ld||(ld={}));const ad=e=>String(null!=e?e:"").toLocaleLowerCase(),rd=(e,t)=>ad(e).includes(ad(t)),od=(e,t)=>ad(e)===ad(t);function id(e,t){return rd(e,t)}function sd(e,t){try{if(t.comparator===ld.IsEmpty||t.comparator===ld.IsNotEmpty){const n=null==e||""===e;return t.comparator===ld.IsEmpty?n:!n}if(null==t.value||""===t.value)return!0;switch(t.comparator){case ld.Contains:return rd(e,t.value);case ld.DoesNotContain:return!rd(e,t.value);case ld.IsEqualTo:return m.isDate(e)?m.isDate(t.value)&&qr(e,t.value):"boolean"==typeof t.value?e===t.value:od(e,t.value);case ld.IsNotEqualTo:return m.isDate(e)?m.isDate(t.value)&&!1===qr(e,t.value):"boolean"==typeof t.value?e!==t.value:!od(e,t.value);case ld.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 ld.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 ld.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 ld.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 ld.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 ld.HasAnyOf:return!(!Array.isArray(t.value)||!Array.isArray(e))&&t.value.some(t=>e.includes(t));case ld.HasNoneOf:return!(!Array.isArray(t.value)||!Array.isArray(e))&&t.value.every(t=>!1===e.includes(t));case ld.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}}var cd;!function(e){e.Saving="saving",e.Saved="saved",e.Error="error"}(cd||(cd={}));const ud=n.memo((function(e){const{isCurrentRow:t,isEditing:a,row:r,table:o}=e,i=o.options.meta,s=i.editing.savingStates&&i.editing.savingStates[r.id],[c,u]=n.useState(!1),d=(i.editing.changes?Object.keys(i.editing.changes):[]).indexOf(r.id)>=0,{texts:m}=er(),f=Xo(3e3,()=>{u(!1),i.editing.removeSavingState(r.id)});let g;return n.useEffect(()=>{s&&s.state===cd.Saved&&!c&&(u(!0),f.start())},[s]),s&&(s.state===cd.Saving?g=n.createElement(qa,{title:m.table3.editing.saving.progress},n.createElement(yr,{delay:0,className:"!text-grey-700 mr-1.5 !h-5 !w-5"})):c&&(g=n.createElement(qa,{title:m.table3.editing.saving.complete},n.createElement(ga,{name:"tick",className:"!text-grey-700 mr-1"})))),a&&t&&(g=n.createElement(n.Fragment,null,g,n.createElement(Ja,{appearance:"transparent","aria-label":m.table3.editing.actions.tooltip,icon:"more",menu:e=>n.createElement(Ei,Object.assign({},e),n.createElement(Ei.Content,null,n.createElement(Ei.Item,{icon:"tick",disabled:!d,onClick:()=>i.editing.saveChangesIfNeeded()},m.table3.editing.actions.save),n.createElement(Ei.Item,{icon:"close",disabled:!d,onClick:()=>i.editing.resetChange(r.id)},m.table3.editing.actions.clear),n.createElement(Ei.Item,{icon:"undo",onClick:()=>i.editing.toggleEditing(!1)},m.table3.editing.actions.exit))),tabIndex:t?0:-1}))),n.createElement(Bu,Object.assign({},e,{className:l({"!sticky":!!g})}),g?n.createElement("span",{className:"-mb-2 -mt-2 flex items-center justify-end text-right"},g):void 0)}));function dd(e){const{rowIndex:t}=n.useContext(Fu),l=e.table.options.meta;return n.createElement(ud,Object.assign({},e,{isCurrentRow:l.currentRow.currentRowIndex===t,isEditing:l.editing.isEditing}))}function md(e,t){const n=e.filter(e=>{var t;return(null===(t=e.id)||void 0===t?void 0:t.startsWith("__"))&&"__actions"!==e.id&&"__editing_actions"!==e.id}).map(e=>e.id),l=[],a=[];let r=e;Array.isArray(t)&&(r=e.slice().sort((e,n)=>(t.indexOf(e.id)>>>0)-(t.indexOf(n.id)>>>0))),r.forEach(e=>{var t,n;null!==(t=e.id)&&void 0!==t&&t.startsWith("__")||(null!==(n=e.meta)&&void 0!==n&&n.enableOrdering?a.push(e.id):l.push(e.id))});const o=[...n,...l,...a];return e.findIndex(e=>"__actions"===e.id||"__editing_actions"===e.id)>-1&&o.push("__actions"),o}var fd;!function(e){e.SEARCH="SEARCH",e.SORTING="SORTING",e.FILTER="FILTER"}(fd||(fd={}));const gd=({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}=er();switch(e){case fd.FILTER:t=l.table3.editing.rowIndicator.rowWillBeHidden,n=l.table3.editing.rowIndicator.rowWillMoveReasonFilter;break;case fd.SEARCH:t=l.table3.editing.rowIndicator.rowWillBeHidden,n=l.table3.editing.rowIndicator.rowWillMoveReasonSearch;break;case fd.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]),H.createPortal(n.createElement(qa,{title:o.description.replace("[COLUMN]",t)},n.createElement("span",{className:"flex gap-1 hover:cursor-pointer"},n.createElement(ga,{name:"info",className:"!h-4 !w-4 rounded-full bg-white !p-0 text-blue-500"}),o.title)),r)},vd=["A","BUTTON","INPUT","TEXTAREA","SELECT","DETAILS"].join(", "),hd=(e,t)=>m.isDate(e)&&m.isDate(t)?!qr(e,t):Array.isArray(e)?JSON.stringify(e)!==JSON.stringify(t):e!==t,pd=t.forwardRef((function(e,n){const{onKeyDown:a,...r}=e,o=l(mr(e),"py-1 min-h-[75px] disabled:resize-none",e.className);return t.createElement("textarea",Object.assign({},r,{className:o,"data-taco":"textarea",onKeyDown:e=>{if(1===e.key.length&&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}))})),wd={small:{min:24,max:86},medium:{min:34,max:100},large:{min:40,max:140}},bd=n.forwardRef((function(e,t){const{onKeyDown:a,onChange:r,column:o,isCellInDetailMode:i,align:s,isCurrentRow:c,value:u,fontSize:d,...m}=e,f=wd[d],g=o.columnDef.meta,v=ja(t);n.useEffect(()=>{null!=v&&v.current&&(null!=g&&g.enableTruncate?(null==v?void 0:v.current).style.height=f.min+"px":h(null==v?void 0:v.current))},[d]),n.useEffect(()=>{if(null!=v&&v.current&&null!=g&&g.enableTruncate){const e=null==v?void 0:v.current;i?h(e):e.style.height=f.min+"px"}},[i]);const h=e=>{const t=e.getBoundingClientRect();null!=g&&g.enableTruncate?t.height<f.max&&(e.style.height="inherit",e.style.height=Math.min(e.scrollHeight,f.max)+"px"):(e.style.height="inherit",e.style.height=e.scrollHeight+"px")},p=l("w-full",{"focus-within:absolute focus-within:left-0 focus-within:top-0 focus-within:z-20 focus-within:px-[var(--table3-cell-padding-x)] focus-within:pt-[var(--table3-cell-padding-y)]":null==g?void 0:g.enableTruncate});return n.createElement("div",{className:p,"data-taco":"input-container"},n.createElement(pd,Object.assign({},m,{onChange:e=>{r(e.target.value),h(e.target)},rows:1,onKeyDown:e=>{var t;(t=e).shiftKey&&"Enter"===t.key||a(t)},onBlur:e=>{null!=g&&g.enableTruncate&&(e.currentTarget.style.height=f.min+"px")},className:l(Qu(s),"z-20 h-fit resize-none",{[`!min-h-[${f.min}px]`]:null==g?void 0:g.enableTruncate,"!yt-focus-dark":i,[`h-[${f.min}px]`]:!i&&(null==g?void 0:g.enableTruncate),"focus:resize-y":c&&(null==g?void 0:g.enableTruncate)}),ref:v,value:String(null!=u?u:"")})))})),xd=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:f,...g}=e,v=u.options.meta,h=n.useRef(),p=ba([h,t]),w=o.columnDef.meta,b=null==w?void 0:w.control,x=v.editing.detailModeEditing&&(null==h||null===(a=h.current)||void 0===a?void 0:a.contains(document.activeElement)),E=e=>{if(Ta(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[f.row.id]:{},[f.column.id]:s};T.isEqual(f.row.original,e)?v.editing.resetChange(f.row.id):c(s)}}else v.editing.toggleEditing(!1),null===(l=d.current)||void 0===l||l.focus()},y="number"==typeof m,R=e=>{E(e),/^[a-z0-9]$/i.test(e.key)&&v.editing.setDetailModeEditing(!0)},C=e=>{const t=e.detail;hd(f.row.original[f.column.id],t)&&c(t)};if("function"==typeof b)return b({...g,ref:h,setValue:e=>{e!==m&&c(e)},value:m},i);if("datepicker"===b){const e=e=>{E(e),/^[a-z0-9]$/i.test(e.key)&&v.editing.setDetailModeEditing(!0)};return n.createElement(to,Object.assign({},g,{className:l({"[&_input]:!yt-focus-dark":x}),onChange:C,onKeyDown:e,ref:p,value:m}))}return"switch"===b?n.createElement(Vs,Object.assign({},g,{checked:Boolean(m),onChange:c,ref:p})):"textarea"===b?n.createElement(bd,Object.assign({},e,{isCellInDetailMode:x,onKeyDown:R,ref:p,fontSize:v.fontSize.size})):n.createElement(br,Object.assign({},g,{className:l(Zu(),Qu(r),{"!yt-focus-dark":x}),onChange:e=>{c(e.target.value)},onKeyDown:R,ref:p,type:y?"number":void 0,value:y?m:String(null!=m?m:"")}))}));function Ed(e){const{isHovered:t}=Pu();return n.createElement(yd,Object.assign({},e,{isHovered:t,tableMeta:e.table.options.meta}))}const yd=n.memo((function(e){var t,a,r,o;const{cell:i,column:s,index:c,getValue:u,table:d,tableRef:m,row:f,isHovered:g,tableMeta:v}=e,h=s.columnDef.meta,p=n.useRef(null),w=n.useRef(null),b=null!==(t=v.editing.getCellValue(i))&&void 0!==t?t:u(),x=null!==(a=v.editing.rowMoveReason[i.column.id])&&void 0!==a?a:null,E=d.getRowModel().rows,y=v.currentRow.currentRowIndex,R=void 0!==y&&(null===(r=E[y])||void 0===r?void 0:r.id)===f.id,C=n.useMemo(()=>{var e,t;return x?null===(e=p.current)||void 0===e||null===(t=e.parentElement)||void 0===t?void 0:t.firstChild:null},[x,p]),z=()=>{v.editing.removeRowMoveReason(i.column.id)};n.useEffect(()=>{if(R){if(hd(u(),b)){const e=function(e,t,n,l,a){var r;let o=null;const{globalFilter:i}=e.getState();return Object.values({...n,[l.id]:a}).some(e=>id(String(e),i?String(i):""))?l.column.getIsFiltered()&&!sd(a,l.column.getFilterValue())?o=fd.FILTER:!o&&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===(r=e.getState().sorting.find(e=>e.id===l.column.id))||void 0===r||!r.desc))&&(o=fd.SORTING):o=fd.SEARCH,o}(d,f.index,f.original,i,b);v.editing.setRowMoveReason({[i.column.id]:e})}else z();return z}},[b]);const S=null===(o=s.columnDef.meta)||void 0===o?void 0:o.control,N=l("py-[calc(var(--table3-cell-padding-y)_-_0.06rem)]",{relative:(R||g)&&"textarea"===S,"z-[9]":R&&"textarea"===S},'[[role="row"][data-current="false"]:hover_&>*]:!grayscale [[role="row"][data-current="false"]:hover_&_.bg-white]:!bg-grey-100',"function"==typeof h.className?h.className(f.original):h.className);return n.createElement(n.Fragment,null,null!==x&&C&&n.createElement(gd,{reason:x,columnName:String(i.column.columnDef.header),mountNode:C,validationErrors:[]}),n.createElement("div",{className:N,"data-align":h.align,"data-column-index":c,"data-editable":!0,role:"cell",ref:p},n.createElement(xd,{align:h.align,column:i.column,data:i.row.original,initialValue:u(),onBlur:()=>{v.editing.setDetailModeEditing(!1)},onFocus:e=>{var t;const n=v.columnFreezing.frozenColumnIndex,l=m.current;if(l&&void 0!==n&&c>n){var a;const e=Xu(n,l),t=null===(a=p.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-45&&l.scrollTo(l.scrollLeft+45+10,l.scrollTop)}null!==(t=e.target)&&void 0!==t&&t.select&&requestAnimationFrame(()=>{e.target.select()})},onChange:e=>v.editing.setCellValue(i,e),ref:w,table:d,tableRef:m,value:b,cell:i,isCurrentRow:R})))}));function Rd(e){var t;const{column:l,row:a,table:r}=e,{isHovered:o}=Pu(),i=r.getRowModel().rows,s=r.options.meta,c=s.currentRow.currentRowIndex,u=void 0!==c&&(null===(t=i[c])||void 0===t?void 0:t.id)===a.id;return n.createElement(s.editing.isEditing&&l.columnDef.meta.control&&(u||o&&!s.hoverState.isPaused)?Ed:Bu,Object.assign({},e))}function Cd(e){const{texts:t}=er();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(Du,Object.assign({},e),n.createElement(qa,{title:r},n.createElement(dr,{"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(Du,Object.assign({},e))}const zd=n.memo((function(e){const{texts:t}=er(),{rowIndex:a}=n.useContext(Fu),r=e.table.options.meta,o=r.currentRow.currentRowIndex===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(Bu,Object.assign({},e),n.createElement(qa,{title:n.createElement(n.Fragment,null,s,n.createElement(ni,{className:"ml-2",keys:"Space"}))},n.createElement(dr,{"aria-label":s,className:"!mt-0",checked:i,onClick:t,onChange:()=>!1,tabIndex:o?0:-1})))}{const t=l("!mt-0",ci()),o=t=>{t.stopPropagation(),e.row.toggleSelected(),r.rowSelection.lastSelectedRowIndex.current=a};return n.createElement(Bu,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.currentRow.currentRowIndex===e.table.options.meta.currentRow.currentRowIndex&&t.row.getIsSelected()!==e.row.getIsSelected()}));function Sd(e){const{texts:t}=er(),l=e.table.getIsSomeRowsExpanded(),a=l?t.table3.columns.expansion.collapseAll:t.table3.columns.expansion.expandAll;return n.createElement(Du,Object.assign({},e),n.createElement(qa,{title:a},n.createElement(Ja,{appearance:"transparent",icon:l?"chevron-down-double":"chevron-right-double",onClick:t=>{t.stopPropagation(),e.table.toggleAllRowsExpanded(!l)},tabIndex:-1,title:a})))}const Nd=n.memo((function(e){const{expandedRowRenderer:t,isCurrentRow:l,isExpanded:a,row:r,table:o}=e,{texts:i}=er(),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(qa,{title:e},n.createElement(Ja,{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(Bu,Object.assign({},e),c)}));function Od(e){const{expandedRowRenderer:t,...l}=e,{rowIndex:a}=n.useContext(Fu);return n.createElement(Nd,Object.assign({},l,{expandedRowRenderer:t,isCurrentRow:l.table.options.meta.currentRow.currentRowIndex===a,isExpanded:l.row.getIsExpanded()}))}const Id=n.memo((function(e){const{isSelected:t,onRowDrag:l,row:a,table:r}=e,{texts:o}=er(),i=r.options.meta;return n.createElement(Bu,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(ga,{"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 Md(e){var t,a,r,o;const i=function(e){var t,l,a,r,o,i,s,c,u,d,m,f,g,v,h,p,w,b;const x=e.preset?td[e.preset]:ed,E=null!==(t=e.enableRowExpansion)&&void 0!==t?t:x.enableRowExpansion,y=null!==(l=e.enableRowSelection)&&void 0!==l?l:x.enableRowSelection;return n.useEffect(()=>{E&&!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:x.enableColumnFreezing,enableColumnHiding:null!==(r=e.enableColumnHiding)&&void 0!==r?r:x.enableColumnHiding,enableColumnOrdering:null!==(o=e.enableColumnOrdering)&&void 0!==o?o:x.enableColumnOrdering,enableColumnResizing:null!==(i=e.enableColumnResizing)&&void 0!==i?i:x.enableColumnResizing,enableFontSize:null!==(s=e.enableFontSize)&&void 0!==s?s:x.enableFontSize,enableFooter:null!==(c=e.enableFooter)&&void 0!==c?c:x.enableFooter,enablePrinting:null!==(u=e.enablePrinting)&&void 0!==u?u:x.enablePrinting,enableRowDrag:(null!==(d=e.enableRowDrag)&&void 0!==d?d:x.enableRowDrag)&&!!e.onRowDrag,enableRowDrop:(null!==(m=e.enableRowDrop)&&void 0!==m?m:x.enableRowDrop)&&!!e.onRowDrop,enableRowExpansion:E&&!!e.expandedRowRenderer,enableRowGoto:(null!==(f=e.enableRowGoto)&&void 0!==f?f:x.enableRowGoto)&&!!e.onRowGoto,enableRowHeight:null!==(g=e.enableRowHeight)&&void 0!==g?g:x.enableRowHeight,enableRowSelection:y&&!!e.onRowSelect,enableRowSelectionSingle:(null!==(v=e.enableRowSelectionSingle)&&void 0!==v?v:x.enableRowSelectionSingle)&&y&&!!e.onRowSelect,enableEditing:null!==(h=e.enableEditing)&&void 0!==h?h:x.enableEditing,enableFiltering:null!==(p=e.enableFiltering)&&void 0!==p?p:x.enableFiltering,enableSearch:null!==(w=e.enableSearch)&&void 0!==w?w:x.enableSearch,enableSorting:null!==(b=e.enableSorting)&&void 0!==b?b:x.enableSorting}}(e),s={enableColumnFilters:i.enableFiltering,enableColumnResizing:i.enableColumnResizing,enableExpanding:i.enableRowExpansion,enableGlobalFilter:i.enableSearch,enableHiding:i.enableColumnHiding,enableRowSelection:i.enableRowSelection,enableMultiRowSelection:!i.enableRowSelectionSingle,enableSorting:i.enableSorting};s.enableColumnResizing&&(s.columnResizeMode="onChange"),s.enableColumnFilters&&(e.onFilter||(s.filterFns={tacoFilter:(e,t,n)=>sd(e.getValue(t),n)},s.getFilteredRowModel=L.getFilteredRowModel())),s.enableGlobalFilter&&(s.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=Yu(e.original[t],null==a?void 0:a.dataType);if(void 0!==l)return id(l,n)}return!1}}catch{}return!1},s.getFilteredRowModel=L.getFilteredRowModel(),s.getColumnCanGlobalFilter=e=>{var t;return null===(t=e.columnDef.meta.enableSearch)||void 0===t||t}),i.enableSorting&&(e.onSort?s.manualSorting=!0:s.getSortedRowModel=L.getSortedRowModel());const[c,u]=function(e,t={},l){const a=(s=e,`taco.${n.useContext(qi).uniqueUserIdentifier}.table3.${s}.settings`),r=l?void 0:a,[o,i]=((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)}]})(r,t);var s;return n.useMemo(()=>l?[t,l]:[o,i],[])}(e.id,e.defaultSettings,e.onChangeSettings),d=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!==(t=null!==(a=c.columnFreezingIndex)&&void 0!==a?a:null==c?void 0:c.frozenColumnCount)&&void 0!==t?t:e.defaultColumnFreezingIndex,i),m=function(e){return{isEnabled:e.enableColumnOrdering}}(i),f=function(e){const[t,l]=n.useState(e),a=(e,t,n)=>l(l=>{const a=void 0!==l?((e,t,n)=>-1===e?t-1>0?t-1:0:t+1<n?t+1:t)(e,l,t):0;return n(-1===e?a:a+3),a}),r=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)},o=n.useCallback((e,t,n,o,i)=>{if(!e.defaultPrevented)if("ArrowUp"!==e.key)if("ArrowDown"!==e.key);else{if(e.preventDefault(),e.ctrlKey||e.metaKey){const e=t-1;l(e),n(e)}else((e,t)=>{a(1,e,t)})(t,n);o||r(i)}else{if(e.preventDefault(),e.ctrlKey||e.metaKey){const e=0;l(e),n(e)}else((e,t)=>{a(-1,e,t)})(t,n);o||r(i)}},[]),i=n.useCallback((e,n,a)=>{e.isDefaultPrevented()||void 0===t&&n>0&&setTimeout(()=>{l(0),a(0)},1)},[t,length]);return{currentRowIndex:t,setCurrentRowIndex:l,handleFocus:i,handleKeyDown:o}}(e.defaultCurrentRowIndex),g=function(e,t){const[l,a]=n.useState(!1),[r,o]=n.useState(null),[i,s]=n.useState(null),[c,u]=n.useState(!1),d=n.useCallback(e=>{e.defaultPrevented||(Ta(e,{key:"e",meta:!0,shift:!1})?a(e=>!e):Ta(e,{key:"s",meta:!0,shift:!1})&&(e.preventDefault(),f()))},[l]),m=n.useCallback(e=>{e.target===e.currentTarget&&f()},[]),f=function(){try{if(!i)return Promise.resolve();const e=Object.keys(i),n=function(){if(t&&e.length)return(()=>{const e=Object.keys(i||{}),t=T.reduce(e,(e,t)=>({...e,[t]:{state:cd.Saving}}),{});o({...r,...t})})(),Promise.resolve(Promise.allSettled(e.map(e=>t(i[e])))).then((function(t){s(n=>{const l={...n};return t.forEach((t,n)=>{"fulfilled"===t.status&&delete l[e[n]]}),l}),o(n=>{const l=n?{...n}:{};return t.forEach((t,n)=>{l[e[n]]="fulfilled"===t.status?{state:cd.Saved}:{state:cd.Error}}),l})}))}();return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},[g,v]=n.useState({}),h=n.useCallback(e=>!!(l&&i&&Object.keys(i).length>0)&&(e.returnValue=!0,!0),[l,i]);return n.useEffect(()=>(window.addEventListener("beforeunload",h),()=>{window.removeEventListener("beforeunload",h)}),[h]),{isEnabled:e,isEditing:l,toggleEditing:a,changes:i,getCellValue:function(e){var t;return i?null===(t=i[e.row.id])||void 0===t?void 0:t[e.column.id]:void 0},setCellValue:function(e,t){s(n=>{const l={...n};return l[e.row.id]?l[e.row.id][e.column.id]=t:l[e.row.id]={...e.row.original,[e.column.id]:t},l})},saveChangesIfNeeded:f,detailModeEditing:c,setDetailModeEditing:u,rowMoveReason:g,setRowMoveReason:v,removeRowMoveReason:e=>{v(t=>{const n={...t};return delete n[e],n})},handleKeyDown:d,handleBlur:m,resetChange:function(e){let t=i?{...i}:{};t&&delete t[e],0===Object.keys(t).length&&(t=null),s(t)},savingStates:r,removeSavingState:e=>{const t={...r};delete t[e],o(t)}}}(i.enableEditing,e.onSave),v=function(e,t="medium"){const[l,a]=n.useState(t);return{isEnabled:e,size:l,setSize:e?a:()=>{}}}(i.enableFontSize,c.fontSize),h=function(){const[e,t]=ks(),l=n.useCallback(e=>{e.defaultPrevented||"ArrowUp"!==e.key&&"ArrowDown"!==e.key||t(!0)},[]);return{isPaused:e,pause:t,handleKeyDown:l}}(),p=function(e,t,l=!0){const[a,r]=n.useState(l);return{isEnabled:e,loadAll:t,printWarningDialogVisibility:a,setPrintWarningDialogVisibility:e?r:()=>{}}}(i.enablePrinting,e.loadAll,c.showWarningWhenPrintingLargeDataset),w=function(e,t=4){return{actionsForRow:e,actionsForRowLength:t}}(e.actionsForRow,e.actionsForRowLength),b={handleKeyDown:n.useCallback((e,t)=>{if("function"!=typeof x||e.defaultPrevented)return;const n=t.getRowModel().rows,l=t.options.meta;return"Enter"===e.key?(e.preventDefault(),void(x&&void 0!==l.currentRow.currentRowIndex&&x(n[l.currentRow.currentRowIndex].original))):void 0},[x=e.onRowClick]),handleClick:x};var x;const E=function(e){const[t,l]=n.useState({});return{isEnabled:e,dragging:t,setDragging:e?l:()=>{}}}(i.enableRowDrag),y=(C=e.onRowDrop,{isEnabled:R=i.enableRowDrop,handleDrop:R&&C?C:()=>{}});var R,C;const z=function(e,t){return{isEnabled:e,handleGoto:e&&t?t:()=>{}}}(i.enableRowGoto,e.onRowGoto),S=function(e,t="medium"){const[l,a]=n.useState(function(e){switch(e){case"compact":return"short";case"normal":return"medium";case"comfortable":return"tall";case"spacious":return"extra-tall";default:return e}}(t));return{isEnabled:e,height:l,setHeight:e?a:()=>{}}}(i.enableRowHeight,null!==(r=c.rowHeight)&&void 0!==r?r:null==c?void 0:c.rowDensity),N=function(){const e=n.useRef();return{handleKeyDown:n.useCallback((e,t)=>{if(!t.options.enableRowSelection||e.defaultPrevented)return;const n=t.getRowModel().rows,l=t.options.meta;if(" "!==e.key)return(e.ctrlKey||e.metaKey)&&"a"===e.key?(e.preventDefault(),void t.toggleAllRowsSelected()):void 0;{e.preventDefault();const t=l.currentRow.currentRowIndex;var a;void 0!==t&&(null===(a=n[t])||void 0===a||a.toggleSelected())}},[]),lastSelectedRowIndex:e}}(),O=function(e,t=!1,l){const[a,r]=n.useState(),[o,i]=n.useState(!0),[s,c]=n.useState(t),[u,d]=n.useState([]),[m,f]=n.useState(void 0);return{isEnabled:e,isHighlightingEnabled:o,toggleHighlighting:i,excludeUnmatchedResults:s,toggleExcludeUnmatchedResults:c,query:a,setQuery:e?r:()=>{},highlightedColumnIndexes:u,setHighlightedColumnIndexes:d,currentHighlightColumnIndex:m,setCurrentHighlightColumnIndex:f,loadAll:l}}(i.enableSearch,c.excludeUnmatchedRecordsInSearch,e.loadAll),{columns:I,defaultColumnSizing:M,defaultColumnVisibility:k,defaultSorting:H}=function(e,t,a){return n.useMemo(()=>{var r;const o=L.createColumnHelper(),i=[],s={},c={},u=[];var d,m;return n.Children.toArray(e.children).filter(e=>!!e).forEach(e=>{var l,a,r,o,d,m,f,g,v,h;n.isValidElement(e)&&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}),i.push({accessorKey:e.props.accessor,id:e.props.accessor,header:Du,cell:Rd,footer:Ku,minSize:80,enableResizing:null===(l=e.props.enableResizing)||void 0===l||l,enableColumnFilter:null===(a=e.props.enableFiltering)||void 0===a||a,filterFn:"tacoFilter",enableSorting:null===(r=e.props.enableSorting)||void 0===r||r,sortingFn:(v=e.props.dataType,h=e.props.sortFn,"function"==typeof h?(e,t,n)=>h(e.original,t.original,n):h||(v&&"boolean"!==v&&"number"!==v?v:"auto")),sortDescFirst:!1,sortUndefined:1,enableHiding:null===(o=e.props.enableHiding)||void 0===o||o,meta:{align:e.props.align,className:e.props.className,control:e.props.control,dataType:e.props.dataType,enableOrdering:null===(d=e.props.enableOrdering)||void 0===d||d,enablePrinting:null===(m=e.props.enablePrinting)||void 0===m||m,enableSearch:null===(f=e.props.enableSearch)||void 0===f||f,enableTruncate:null!==(g=e.props.enableTruncate)&&void 0!==g&&g,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}}))}),t.enableRowExpansion&&e.expandedRowRenderer&&i.unshift(o.display((d=e.expandedRowRenderer,{id:"__expansion",header:Sd,cell:e=>n.createElement(Od,Object.assign({},e,{expandedRowRenderer:d})),footer:Ku,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&&i.unshift(o.display(function(e,t){const n=e&&t?22:40;return{id:"__select",header:Cd,cell:zd,footer:Ku,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&&i.unshift(o.display((m=e.onRowDrag,{id:"__drag",header:Du,cell:e=>n.createElement(Id,Object.assign({},e,{isSelected:e.row.getIsSelected(),onRowDrag:m})),footer:Ku,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&&i.push(o.display({id:"__actions",header:Du,cell:Uu,footer:Ku,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&&i.push(o.display({id:"__editing_actions",header:Du,cell:dd,footer:Ku,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] [[role="table"][data-pause-hover="false"][data-editing="true"]_&]:group-hover/row:shadow-[-6px_0px_6px]','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:45,minSize:45})),{columns:i,defaultColumnSizing:s,defaultColumnVisibility:c,defaultSorting:u}},[])}(e,i,g),V=n.useMemo(()=>{var t,n,l,a;const r={columnOrder:md(I,c.columnOrder),columnSizing:null!==(t=c.columnSizing)&&void 0!==t?t:M,columnVisibility:null!==(n=c.columnVisibility)&&void 0!==n?n:k,sorting:c.sorting?c.sorting.filter(e=>I.find(t=>t.id===e.id)):H};var o,i;return null!==(l=e.defaultSettings)&&void 0!==l&&l.columnFilters&&(r.columnFilters=null===(o=e.defaultSettings)||void 0===o?void 0:o.columnFilters),null!==(a=e.defaultSettings)&&void 0!==a&&a.globalFilter&&(r.globalFilter=null===(i=e.defaultSettings)||void 0===i?void 0:i.globalFilter),r},[]),A=L.useReactTable({data:e.data,columns:I,getCoreRowModel:L.getCoreRowModel(),initialState:V,...s,meta:{columnFreezing:d,columnOrdering:m,currentRow:f,editing:g,enableFooter:i.enableFooter,fontSize:v,getSettings:()=>{const e=A.getState();return{columnFreezingIndex:d.frozenColumnIndex,columnOrder:m.isEnabled?e.columnOrder:void 0,columnSizing:A.options.enableColumnResizing?e.columnSizing:void 0,columnVisibility:A.options.enableHiding?e.columnVisibility:void 0,excludeUnmatchedRecordsInSearch:O.excludeUnmatchedResults,fontSize:v.isEnabled?v.size:void 0,rowHeight:S.isEnabled?S.height:void 0,showWarningWhenPrintingLargeDataset:p.printWarningDialogVisibility,sorting:e.sorting}},hoverState:h,isPrinting:e.id.endsWith("_print"),isUsingServer:!!e.loadPage,printing:p,rowActions:w,rowClick:b,rowDrag:E,rowDrop:y,rowGoto:z,rowHeight:S,rowSelection:N,search:O}});return function(e){const t=e.options.meta,l=e.getRowModel().rows;n.useEffect(()=>{const e=t.currentRow.currentRowIndex;void 0!==e&&e>l.length&&t.currentRow.setCurrentRowIndex(0)},[l.length])}(A),function(e){const t=e.options.meta;n.useEffect(()=>{t.editing.isEnabled&&t.editing.isEditing&&requestAnimationFrame(()=>{t.editing.saveChangesIfNeeded()})},[t.currentRow.currentRowIndex]),n.useEffect(()=>{t.editing.isEnabled&&(t.editing.isEditing?void 0===t.currentRow.currentRowIndex&&t.currentRow.setCurrentRowIndex(0):requestAnimationFrame(()=>{t.editing.saveChangesIfNeeded()}))},[t.editing.isEditing])}(A),function(e,t){const n=e.getState().columnFilters;nd(()=>{e.options.enableColumnFilters&&"function"==typeof t&&(t(n),e.options.enableRowSelection&&e.resetRowSelection())},[e.options.enableColumnFilters,n])}(A,e.onFilter),function(e,t){const n=e.getState().rowSelection;nd(()=>{if(e.options.enableRowSelection&&"function"==typeof t){const a=e.getSelectedRowModel().rows;var n,l;t(e.options.enableMultiRowSelection?a.map(e=>e.original):null!==(n=[null===(l=a[0])||void 0===l?void 0:l.original])&&void 0!==n?n:[])}},[e.options.enableRowSelection,n])}(A,e.onRowSelect),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.printWarningDialogVisibility,a.sorting])}(A,u),function(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.currentRow.currentRowIndex){const r=a[l.currentRow.currentRowIndex];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(Fa(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.currentRow.currentRowIndex,a.length])}(A,e.shortcuts),function(e,t){const l=e.getState().sorting,a=e.getState().columnFilters,r=e.getState().globalFilter;n.useEffect(()=>{t&&t(0,l,a,r)},[])}(A,e.loadPage),function(e,t){const n=e.getState().sorting;nd(()=>{e.resetRowSelection(),e.options.enableSorting&&"function"==typeof t&&t(n)},[e.options.enableSorting,n])}(A,e.onSort),{table:A,length:null!==(o=e.length)&&void 0!==o?o:e.data.length}}const kd={tabbable:!0};function Ld(e){const t=h.useFocusManager(),l=e.table.options.meta,a=l.currentRow.currentRowIndex===e.index,r=l.rowDrag.dragging[e.row.id],o=0===e.index,[i,s]=n.useState(!1),c={"aria-grabbed":!!r||!l.rowDrag.isEnabled&&void 0,"data-current":a,"data-selected":e.row.getIsSelected(),draggable:l.rowDrag.isEnabled,index:e.index,onClick:l.rowClick.handleClick,onDrop:l.rowDrop.isEnabled?l.rowDrop.handleDrop:void 0,onKeyDown:n=>{if(!n.isDefaultPrevented()&&!n.isPropagationStopped()&&"Tab"===n.key){let a;l.hoverState.pause(!0),n.shiftKey?(a=t.focusPrevious(kd),a?n.preventDefault():o||(n.preventDefault(),l.currentRow.setCurrentRowIndex(e.index-1),setTimeout(()=>t.focusLast(kd),1))):(a=t.focusNext(kd),a?n.preventDefault():e.isLastRow||(n.preventDefault(),l.currentRow.setCurrentRowIndex(e.index+1),setTimeout(()=>t.focusFirst(kd),1)))}}};let u=n.createElement(Fd,Object.assign({},e,c));l.editing.isEditing&&(a||i&&!l.hoverState.isPaused)&&(u=n.createElement(Dd,Object.assign({},e,c,{isFirstRow:o,setCurrentRowIndex:l.currentRow.setCurrentRowIndex})));const d=n.useMemo(()=>({isHovered:i,setIsHovered:s,rowIndex:e.index}),[i,e.index]);return n.createElement(Fu.Provider,{value:d},u)}let Hd,Vd;function Ad(e){var t;return e?null===(t=e.closest("[role=cell]"))||void 0===t?void 0:t.getAttribute("data-column-index"):null}const jd=e=>{if(void 0!==Vd){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="${Vd}"]`);null==l||l.dispatchEvent(n)}};function Dd(e){const{isFirstRow:t,onKeyDown:l,...a}=e,r=h.useFocusManager(),o=e.table.options.meta;return n.useEffect(()=>{o.hoverState.isPaused&&jd(e.tableRef)},[o.hoverState.isPaused]),n.useEffect(()=>{if(o.currentRow.currentRowIndex===e.index)if(void 0!==Hd){var t,n;const l=null===(t=e.tableRef.current)||void 0===t?void 0:t.querySelector(`[role="row"][data-current="true"] [data-column-index="${Hd}"]`);null==l||null===(n=l.querySelector(vd))||void 0===n||n.focus()}else r.focusFirst(kd)},[o.currentRow.currentRowIndex]),n.createElement(Fd,Object.assign({},a,{onClickCapture:e=>{Hd=Ad(e.target)},onKeyDown:n=>{n.isDefaultPrevented()||n.isPropagationStopped()||o.editing.detailModeEditing||(l(n),(n=>{let l;"ArrowLeft"===n.key&&(n.stopPropagation(),n.preventDefault(),n.ctrlKey||n.metaKey?(n.target.blur(),l=r.focusFirst(kd),Hd=Ad(l)):(l=r.focusPrevious(kd),l?Hd=Ad(l):t||(n.preventDefault(),o.hoverState.pause(!0),o.currentRow.setCurrentRowIndex(e.index-1),setTimeout(()=>{r.focusLast(kd),Hd=Ad(l)},1))))})(n),(t=>{let n;"ArrowRight"===t.key&&(t.stopPropagation(),t.preventDefault(),t.ctrlKey||t.metaKey?(t.target.blur(),n=r.focusLast(kd),Hd=Ad(n)):(n=r.focusNext(kd),n?Hd=Ad(n):e.isLastRow||(t.preventDefault(),o.hoverState.pause(!0),o.currentRow.setCurrentRowIndex(e.index+1),setTimeout(()=>{r.focusFirst(kd),Hd=Ad(n)},1))))})(n))}}))}const Td=["input","button","a","select","option","label","textarea"],Fd=n.memo((function(e){const{index:t,measureRef:a,onClick:r,onClickCapture:o,onDrop:i,row:s,table:c,tableRef:u,...d}=e,m=n.useRef(null),f=c.options.meta,{setIsHovered:g}=Pu();n.useEffect(()=>{var e;const t=null===(e=m.current)||void 0===e?void 0:e.querySelector("[role=cell]:first-child");t&&a(t)},[m.current]);const[v,h]=zi(e=>null==i?void 0:i(e,s.original)),p=l("group/row contents",'[[role="table"][data-resizing="true"]_&]:pointer-events-none',{"hover:cursor-pointer":"function"==typeof r});return n.createElement("div",Object.assign({},d,i?h:void 0,{className:p,"data-row-index":t,"data-dragged-over":v,onClick:e=>{if("function"==typeof r){var t;const n=e.target;if(null===(t=m.current)||void 0===t||!t.contains(e.target)||Td.includes(n.tagName.toLowerCase())||n.closest(Td.map(e=>"[role=row] "+e).join(",")))return;r(s.original)}},onClickCapture:e=>{"function"==typeof o&&o(e),requestAnimationFrame(()=>f.currentRow.setCurrentRowIndex(t))},onMouseEnter:()=>{void 0!==Vd?Vd!==t&&(jd(u),Vd=t):Vd=t,g(!0)},onMouseLeave:()=>{Vd===t&&(Vd=void 0),g(!1)},role:"row",ref:m}))})),Pd=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})),Bd={short:33,medium:41,tall:49,"extra-tall":57};function _d(e){const{loadPage:t,pageIndex:l,table:a}=e,{ref:r,inView:o}=C.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 qd(e){const{columns:t,...l}=e;return n.createElement("div",{className:"contents"},t.map(e=>n.createElement(_d,Object.assign({key:e.id},l))))}function Kd(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,f=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(qd,{key:o.id,columns:l.getVisibleLeafColumns(),loadPage:e.loadPage,pageIndex:t,table:l})}return n.createElement(n.Fragment,{key:o.id},n.createElement(Ld,{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},L.flexRender(e.column.columnDef.cell,{...e.getContext(),index:t,tableRef:a})))),o.getIsExpanded()?n.createElement(Pd,{data:o.original,renderer:e.expandedRowRenderer,registerSize:f(r.index)}):null)}),m?n.createElement("div",{style:{height:m},className:"col-span-full"}):null)}return null}}var Gd;function Wd(e){const{scrollToIndex:t,table:l}=e,{texts:a}=er(),r=n.useRef(null),o=l.options.meta,[i,s]=n.useState(o.search.query),[c,u]=n.useState(Gd.Incomplete),d=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=Yu(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&&id(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.currentRow.setCurrentRowIndex(a),a}(o.search.isHighlightingEnabled,null===(e=r.current)||void 0===e?void 0:e.value,l);t&&d(t)},[o.search.query,o.search.excludeUnmatchedResults,l.getRowModel().rows.length,JSON.stringify(l.getState().sorting),JSON.stringify(l.getState().columnVisibility),c]),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 m=n.createElement(Vs,{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(Gi,{findCurrent:void 0!==o.search.currentHighlightColumnIndex?o.search.currentHighlightColumnIndex+1:null,findTotal:o.search.highlightedColumnIndexes?o.search.highlightedColumnIndexes.length:null,loading:c===Gd.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),d(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),d(o.search.highlightedColumnIndexes[e][0])},onChange:e=>{s(String(null!=e?e:""))},onFocus:function(){try{const e=function(){if(o.search.loadAll&&c===Gd.Incomplete)return u(Gd.Loading),Promise.resolve(o.search.loadAll(l.getState().sorting,l.getState().columnFilters,void 0)).then((function(){u(Gd.Completed)}))}();return Promise.resolve(e&&e.then?e.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},placeholder:a.table3.search.placeholder,settingsContent:m,ref:r,shortcut:{key:"f",meta:!0,shift:!1},value:i}))}function Ud(e){const{allColumns:t,filters:l,onChange:a,value:r=null,...o}=e;return n.createElement(Ls,Object.assign({},o,{className:"!w-32 flex-shrink-0",emptyValue:null,onChange:a,value:r}),t.map(e=>{var t;return n.createElement(Ls.Option,{key:e.id,value:e.id,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)}))}function $d(e){const{column:t,onChange:l,value:a,...r}=e,{texts:o}=er(),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?[ld.HasAnyOf,ld.HasAllOf,ld.IsEqualTo,ld.HasNoneOf,ld.IsEmpty,ld.IsNotEmpty]:[ld.IsEqualTo,ld.IsNotEqualTo,ld.IsEmpty,ld.IsNotEmpty]}}return"number"===l.dataType?[ld.IsEqualTo,ld.IsNotEqualTo,ld.IsGreaterThan,ld.IsLessThan,ld.IsBetween,ld.IsEmpty,ld.IsNotEmpty]:"datepicker"===l.control||"datetime"===l.dataType?[ld.IsEqualTo,ld.IsNotEqualTo,ld.IsBetween,ld.IsLessThan,ld.IsGreaterThan,ld.IsEmpty,ld.IsNotEmpty,ld.IsLessThanOrEqualTo,ld.IsGreaterThanOrEqualTo]:"switch"===l.control?[ld.IsEqualTo]:[ld.Contains,ld.DoesNotContain,ld.IsEqualTo,ld.IsNotEqualTo,ld.IsEmpty,ld.IsNotEmpty]}(t);return n.useEffect(()=>{void 0!==a&&i.includes(a)||null==l||l(i[0])},[i]),n.createElement(Ls,Object.assign({},r,{className:"!w-32 flex-shrink-0",disabled:!t,onChange:l,value:a}),i.map(e=>n.createElement(Ls.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 ld.Contains:return t.table3.filters.comparators.contains;case ld.DoesNotContain:return t.table3.filters.comparators.doesNotContain;case ld.IsEqualTo:return t.table3.filters.comparators.isEqualTo;case ld.IsNotEqualTo:return t.table3.filters.comparators.isNotEqualTo;case ld.IsGreaterThan:return r?t.table3.filters.comparators.isAfter:t.table3.filters.comparators.isGreaterThan;case ld.IsLessThan:return r?t.table3.filters.comparators.isBefore:t.table3.filters.comparators.isLessThan;case ld.IsBetween:return t.table3.filters.comparators.isBetween;case ld.IsEmpty:return t.table3.filters.comparators.isEmpty;case ld.IsNotEmpty:return t.table3.filters.comparators.isNotEmpty;case ld.IsLessThanOrEqualTo:return r?t.table3.filters.comparators.isOnOrBefore:t.table3.filters.comparators.isLessThanOrEqualTo;case ld.IsGreaterThanOrEqualTo:return r?t.table3.filters.comparators.isOnOrAfter:t.table3.filters.comparators.isGreaterThanOrEqualTo;case ld.HasAnyOf:return t.table3.filters.comparators.hasAnyOf;case ld.HasAllOf:return t.table3.filters.comparators.hasAllOf;case ld.HasNoneOf:return t.table3.filters.comparators.hasNoneOf;default:return""}}(e,o,t))))}function Jd(e){const{allColumns:t,filters:l,onCreate:a,onRemove:r,position:o}=e,{texts:i}=er();return n.createElement("div",{className:"flex gap-2"},n.createElement("div",{className:"flex 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(Ud,{allColumns:t,filters:l,onChange:a,value:null}),n.createElement($d,null),n.createElement(br,{"aria-label":i.table3.filters.emptyFilter.value,className:"flex-grow",disabled:!0,value:i.table3.filters.emptyFilter.value}),r?n.createElement(Ja,{appearance:"discrete",icon:"close",onClick:r}):null)}function Xd(e){const{column:t,comparator:l,onChange:a,value:r}=e,{texts:o}=er();if(l===ld.IsEmpty||l===ld.IsNotEmpty)return null;if(l===ld.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(br,{"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(Yd,{column:t,onChange:e=>a([e,l]),value:e}),n.createElement(Yd,{column:t,onChange:t=>a([e,t]),value:l})):n.createElement("div",{className:"flex flex-grow items-center gap-2"},n.createElement(Yd,{column:t,onChange:e=>a([isNaN(e)?void 0:e,l]),placeholder:"from",value:null!=e?e:""}),n.createElement(Yd,{column:t,onChange:t=>a([e,isNaN(t)?void 0:t]),placeholder:"to",value:null!=l?l:""}))}return n.createElement(Yd,{comparator:l,column:t,onChange:a,value:r})}function Yd(e){var a,r;const{column:o,onChange:i,value:s,...c}=e,u=null===(a=o.columnDef.meta)||void 0===a?void 0:a.control,d=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(to,Object.assign({},c,{onChange:e=>i(e.detail),value:s})):"switch"===u?n.createElement(Vs,Object.assign({},c,{className:"m-1.5",checked:Boolean(s),onChange:i})):n.createElement(br,Object.assign({},c,"input"!==u&&void 0!==u||"number"!==d?{className:"flex-grow",onChange:e=>i(e.target.value),value:String(null!=s?s:"")}:{className:l(Zu(),"flex-grow"),type:"number",onChange:e=>i(e.target.valueAsNumber),value:String(null!=s?s:"")}))}function Qd(e){const{allColumns:t,filter:l,filters:a,onChange:r,onRemove:o,position:i}=e,{texts:s}=er(),c=t.find(e=>e.id===l.id),{id:u,value:{comparator:d,value:m}}=l;return n.createElement("div",{className:"flex gap-2"},n.createElement("div",{className:"flex 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(Ud,{allColumns:t,filters:a,onChange:e=>{r(u,{id:e,value:l.value})},value:u}),n.createElement($d,{column:c,onChange:e=>{let t=l.value.value;e!==ld.IsEmpty&&e!==ld.IsNotEmpty||(t=void 0),r(u,{id:u,value:{comparator:e,value:t}})},value:d}),n.createElement(Xd,{column:c,comparator:d,onChange:e=>{r(u,{id:u,value:{...l.value,value:e}})},value:m}),n.createElement(Ja,{appearance:"discrete",className:"ml-auto",icon:"close",onClick:()=>o(u)}))}!function(e){e[e.Incomplete=0]="Incomplete",e[e.Loading=1]="Loading",e[e.Completed=2]="Completed"}(Gd||(Gd={}));const Zd=(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},em=()=>Zd("(min-width: 1024px)",window.innerWidth>1024);function tm(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 nm(e){const{total:t,table:a}=e,{locale:r,texts:o}=er(),i=n.useRef(null),s=em(),c=a.getAllLeafColumns().filter(e=>!$u(e.id)).sort(tm),u=a.getState().columnFilters;Ba({key:"f",meta:!0,shift:!0},e=>{var t;e.preventDefault(),null===(t=i.current)||void 0===t||t.click()});const[d,m]=n.useState(a.getState().columnFilters),[f,g]=n.useState(1),v=(e,t)=>{m(n=>{const l=[...n],a=l.findIndex(t=>t.id===e);return l[a]=t,l})},h=e=>{1===d.length&&0===f&&g(e=>e+1),m(t=>t.filter(t=>t.id!==e))},p=e=>{m(t=>[...t,{id:e,value:{comparator:ld.Contains,value:void 0}}]),b()},w=()=>{g(e=>e+1)},b=()=>{g(e=>e-1)},x=()=>{a.setColumnFilters(d.filter(e=>{var t;const n=null===(t=c.find(t=>t.id===e.id).columnDef.meta)||void 0===t?void 0:t.control;return e.value.comparator===ld.IsEmpty||e.value.comparator===ld.IsNotEmpty||"switch"===n||!!e.value.value}))},E=()=>{a.resetColumnFilters(),m([]),g(1)},y={"aria-label":o.table3.filters.tooltip,className:l({"!wcag-blue-100":u.length}),popover:e=>n.createElement(eo,Object.assign({},e),n.createElement(eo.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(Qd,{key:"filter_"+t,allColumns:c,filter:e,filters:d,position:t,onChange:v,onRemove:h})),[...Array(f)].map((e,t)=>n.createElement(Jd,{key:"placeholder_"+t,allColumns:c,filters:d,position:d.length+t,onCreate:p,onRemove:f>1||d.length>0?b:void 0})),n.createElement("div",{className:"justify-start"},n.createElement(lr,{appearance:"discrete",onClick:w},"+ ",o.table3.filters.buttons.addFilter))),n.createElement(vo,{className:"ml-auto"},n.createElement(eo.Close,null,n.createElement(lr,null,"Cancel")),n.createElement(lr,{onClick:E},"Clear"),n.createElement(lr,{appearance:"primary",onClick:x},"Apply"))))),ref:i,tooltip:n.createElement(n.Fragment,null,o.table3.filters.tooltip,n.createElement(ni,{className:"ml-2",keys:{key:"f",meta:!0,shift:!0}}))};return s||u.length?n.createElement(lr,Object.assign({},y),n.createElement(ga,{className:l({"-mr-1.5":!s}),name:u.length?"filter-solid":"filter"}),s?o.table3.filters.button:"",u.length?`(${u.length})`:""):n.createElement(Ja,Object.assign({},y,{icon:"filter"}))}function lm(e){const{texts:t}=er(),a=e.table.options.meta,r=l({"!wcag-blue-100":a.editing.isEditing});return n.createElement(lr,{"aria-pressed":a.editing.isEditing,className:r,onClick:()=>a.editing.toggleEditing(!a.editing.isEditing),tooltip:n.createElement(n.Fragment,null,t.table3.editing.buttons.edit.tooltip,n.createElement(ni,{className:"ml-2",keys:{key:"e",meta:!0,shift:!1}}))},n.createElement(ga,{"aria-hidden":!0,name:"edit"}),t.table3.editing.buttons.edit.text)}function am({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 [role="table"] [role="columnheader"] {\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 f;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===(f=r.parentNode)||void 0===f||f.insertBefore(m,r),r.remove()):l.body.append(m),o&&o.remove();let g=m.parentNode;for(;null!==g&&g!==l.body;){var v;null===(v=g)||void 0===v||v.classList.add("!h-fit"),g=g.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?H.createPortal(n.createElement(wm,Object.assign({},m)),o):null)}const rm=({onAccept:e,onCancel:t,onClose:l,onVisibilityChange:a,...r})=>{const[o,i]=n.useState(!1),{texts:s}=er(),c=()=>{l(),null==a||a(!o)};return n.createElement(go,Object.assign({},r,{closeOnEscape:!0,onClose:c,showCloseButton:!1,size:"xs"}),n.createElement(go.Content,{"aria-label":s.table3.print.warningDialog.title},n.createElement(go.Title,{className:"text-center"},n.createElement(va,{icon:"warning",color:"yellow",className:"mr-2"}),s.table3.print.warningDialog.title),n.createElement("p",null,s.table3.print.warningDialog.description),n.createElement(go.Footer,{className:"flex items-center justify-between"},n.createElement(dr,{label:s.table3.print.warningDialog.checkboxVisibilityLabel,checked:o,onChange:i}),n.createElement(vo,null,n.createElement(lr,{onClick:()=>{c(),t()}},s.table3.print.warningDialog.cancelButtonText),n.createElement(lr,{appearance:"primary",autoFocus:!0,onClick:()=>{c(),e()}},s.table3.print.warningDialog.printButtonText)))))};function om(e){const{table:t,tableProps:l}=e,{texts:a}=er(),r=_i(),[o,i]=n.useState(!1),[s,c]=n.useState(!1),u=n.useRef(null),d=n.useRef(null),m=t.options.meta,f=t.getState(),{printWarningDialogVisibility:g}=m.printing,v=l.id+"_print",h=m.search.excludeUnmatchedResults,p=n.useMemo(()=>({columnFreezingIndex:m.columnFreezing.frozenColumnIndex,columnOrder:f.columnOrder,columnSizing:f.columnSizing,columnVisibility:f.columnVisibility,excludeUnmatchedRecordsInSearch:h,fontSize:m.fontSize.size,rowHeight:m.rowHeight.height,sorting:f.sorting,columnFilters:f.columnFilters,globalFilter:f.globalFilter}),[m.columnFreezing.frozenColumnIndex,f.columnOrder,f.columnSizing,f.columnVisibility,h,m.fontSize.size,m.rowHeight.height,f.sorting,f.columnFilters,f.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:v};Ba({key:"p",meta:!0,shift:!1},e=>{var t;e.preventDefault(),null===(t=d.current)||void 0===t||t.click()});const x=e=>{var t;const n=`${a.table3.print.error}: ${e}`;console.error(n),null===(t=u.current)||void 0===t||t.error(n)},E=function(){try{const e=cs((function(){var e,n;return Promise.resolve(null===(e=(n=m.printing).loadAll)||void 0===e?void 0:e.call(n,t.getState().sorting,t.getState().columnFilters,void 0)).then((function(){}))}),(function(e){x(e)}));return Promise.resolve(e&&e.then?e.then((function(){})):void 0)}catch(e){return Promise.reject(e)}};return n.createElement(n.Fragment,null,n.createElement(Ja,{disabled:o,icon:"print",onClick:function(){try{let n=!1;function e(e){if(n)return e;s&&g?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.printing.loadAll){const e=cs((function(){return Promise.resolve(m.printing.loadAll(t.getState().sorting,t.getState().columnFilters,h?m.search.query:void 0)).then((function(){const{data:e}=l,t=o(e);s=t>1e4}))}),(function(e){x(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:a.table3.print.tooltip,ref:d}),o&&null!==b.data&&n.createElement(am,{onAfterPrint:function(){try{function e(){var e;i(!1),null===(e=u.current)||void 0===e||e.close()}const t=function(){if(m.printing.loadAll&&h)return Promise.resolve(E()).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(rm,{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.printing.loadAll&&h)return Promise.resolve(E()).then((function(){}))}();return Promise.resolve(e&&e.then?e.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},onVisibilityChange:m.printing.setPrintWarningDialogVisibility}))}function im(e){const{texts:t}=er(),l=e.table.options.meta;return n.createElement(Ei.SubMenu,null,n.createElement(Ei.RadioGroup,{onChange:e=>{const t=e;l.rowHeight.setHeight(t),"short"===t&&"large"===l.fontSize.size&&l.fontSize.setSize("medium")},value:l.rowHeight.height},n.createElement(Ei.RadioGroup.Item,{value:"short"},t.table3.rowHeight.sizes.short),n.createElement(Ei.RadioGroup.Item,{value:"medium"},t.table3.rowHeight.sizes.medium),n.createElement(Ei.RadioGroup.Item,{value:"tall"},t.table3.rowHeight.sizes.tall),n.createElement(Ei.RadioGroup.Item,{value:"extra-tall"},t.table3.rowHeight.sizes.extraTall)))}const sm=n.forwardRef((function(e,t){var a;const{column:r,draggable:o=!1,...i}=e,s=r.getCanHide(),c=l("group/column flex items-center gap-x-2 rounded py-1 px-2",{"hover:bg-grey-200":s||o,"hover:cursor-pointer":s,"active:cursor-move active:bg-grey-300":o}),u=o?i:void 0,d=r.getIsVisible();return n.createElement("div",Object.assign({},u,{key:r.id,className:c,onClick:()=>r.toggleVisibility(!d),ref:t}),o?n.createElement(ga,{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===(a=r.columnDef.meta)||void 0===a?void 0:a.header),s?n.createElement(dr,{checked:d,onChange:()=>r.toggleVisibility(!d)}):null)}));function cm(e){const{table:t,trigger:l,...a}=e,{texts:r}=er(),[o,i]=n.useState(""),s=t.getAllLeafColumns(),c=t.options.meta,u=n.useMemo(()=>s.filter(e=>!$u(e.id)).filter(e=>{var t;return null==o||!o.length||(null===(t=e.columnDef.meta)||void 0===t?void 0:t.header.toLowerCase().includes(o.toLowerCase()))}),[s,o]),d="flex max-h-64 flex-col gap-y-px overflow-auto";return n.createElement(eo,Object.assign({},a,{anchor:l}),n.createElement(eo.Content,null,n.createElement("div",{className:"flex w-60 flex-col gap-2"},t.options.enableHiding?n.createElement(br,{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(sm,{column:e,key:e.id})):r.table3.columnSettings.noResults):n.createElement(Zc,{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=>md(s,j.arrayMove(t,t.findIndex(t=>t===e),t.findIndex(e=>e===n))))}},n.createElement(tu,{id:"columns",className:d},u.map(e=>{var t,l;return n.createElement(eu,{key:e.id,id:e.id,disabled:!(null!==(t=e.columnDef.meta)&&void 0!==t&&t.enableOrdering),asChild:!0},n.createElement(sm,{column:e,draggable:null===(l=e.columnDef.meta)||void 0===l?void 0:l.enableOrdering}))}))))))}function um(e){const{texts:t}=er(),l=e.table.options.meta;return n.createElement(Ei.SubMenu,null,n.createElement(Ei.RadioGroup,{onChange:e=>l.fontSize.setSize(e),value:l.fontSize.size},n.createElement(Ei.RadioGroup.Item,{value:"small"},t.table3.fontSize.sizes.small),n.createElement(Ei.RadioGroup.Item,{value:"medium"},t.table3.fontSize.sizes.medium),n.createElement(Ei.RadioGroup.Item,{disabled:"short"===l.rowHeight.height,value:"large"},t.table3.fontSize.sizes.large)))}function dm(e){const{customSettings:t,table:l}=e,{texts:a}=er(),[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(cm,Object.assign({},t,{open:!0,onChange:e,table:l})))}}return n.createElement(Ja,{"aria-label":a.table3.otherOptions.tooltip,icon:"sliders",menu:c?void 0:e=>n.createElement(Ei,Object.assign({},e),n.createElement(Ei.Content,{align:"end"},l.options.enableHiding||i.columnOrdering.isEnabled?n.createElement(n.Fragment,null,n.createElement(Ei.Item,{icon:"columns",onClick:()=>o("columnSettings")},a.table3.columnSettings.button),n.createElement(Ei.Separator,null)):null,i.rowHeight.isEnabled?n.createElement(Ei.Item,{icon:"height-"+i.rowHeight.height,subMenu:()=>n.createElement(im,{table:l})},a.table3.rowHeight.tooltip):null,i.fontSize.isEnabled?n.createElement(Ei.Item,{icon:"font-size",subMenu:()=>n.createElement(um,{table:l})},a.table3.fontSize.tooltip):null,t?n.createElement(n.Fragment,null,n.createElement(Ei.Separator,null),t.map(e=>e(i.getSettings()))):null)),popover:c,onClickCapture:e=>e.preventDefault(),tooltip:a.table3.otherOptions.tooltip})}function mm(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","data-taco":"table3-toolbar"},l,n.createElement(vo,{className:"ml-auto flex-shrink-0 print:hidden"},c.editing.isEnabled?n.createElement(lm,{table:o}):null,o.options.enableColumnFilters?n.createElement(nm,{table:o,total:s}):null,a,c.printing.isEnabled?n.createElement(om,{table:o,tableProps:i}):null,function(e){const{table:t}=e,n=t.options.meta;return n.fontSize.isEnabled||n.rowHeight.isEnabled}(e)?n.createElement(dm,{table:o,customSettings:t}):null,c.search.isEnabled?n.createElement(Wd,{scrollToIndex:r,table:o}):null))}function fm(e){var t;const{currentLength:l,length:a,table:r}=e,o=r.options.meta,{locale:i,texts:s}=er();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 gm=(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"}}},vm=e=>{switch(e){case"small":return"8px";case"medium":return"12px";default:return"16px"}},hm=n.forwardRef,pm=hm((function(e,t){const{emptyState:a,customSettings:r,toolbarLeft:o,toolbarRight:i}=e,s=ja(t),{table:c,length:u}=Md(e);!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])}(c,s),n.useEffect(()=>{var t;e.autoFocus&&(null===(t=s.current)||void 0===t||t.focus())},[]);const{renderBody:d,scrollToIndex:m}=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?Bd[a.rowHeight.height]:Bd.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=V.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:Kd(e,r,t,l,d,s),scrollToIndex:m}}(e,t,l)}(e,c,s),f=c.options.meta,g=c.getState(),v=n.useRef(null);n.useEffect(()=>{const e=e=>{const t=e.target,n=t.closest('[role="dialog"]');t.closest('[role="combobox"]')||n&&(null==n||!n.contains(s.current))||(f.hoverState.handleKeyDown(e),f.currentRow.handleKeyDown(e,c.getRowModel().rows.length,m,f.editing.isEditing,s),f.rowClick.handleKeyDown(e,c),f.rowSelection.handleKeyDown(e,c),f.editing.handleKeyDown(e))};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[m,f.editing.isEditing,s.current]);const p=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":"small"===f.fontSize.size,"text-sm":"medium"===f.fontSize.size,"text-base":"large"===f.fontSize.size}),{style:w}=((e,t=!1)=>{const l=e.getVisibleLeafColumns(),a=e.getState().columnSizing,r=e.getRowModel().rows.length+Object.keys(e.getState().expanded).length;return{style:{gridTemplateColumns:n.useMemo(()=>l.reduce((e,n,r)=>{let o;const i=r===l.length-1,s=a[n.id],c=$u(n.id);return o=t?`minmax(20px, ${c?n.getSize()+"px":"1fr"})`:c?"__actions"===n.id?"minmax(max-content, auto)":n.getSize()+"px":void 0!==s?"1fr"===s?"minmax(max-content, 1fr)":i?`minmax(${s}px, auto)`:s<80?"80px":s+"px":"minmax(max-content, auto)",`${e} ${o}`.trim()},""),[l,a]),gridTemplateRows:n.useMemo(()=>`min-content repeat(${r}, min-content) 1fr min-content`,[r])}}})(c,f.isPrinting),{style:b}=(x=f.rowHeight.height,{style:{"--table3-cell-padding-x":vm(E=f.fontSize.size),"--table3-cell-padding-y":gm(x,E)}});var x,E;const y={...b,...w,opacity:.999},R=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=>!$u(e.id));if(a.length&&a.every(e=>void 0===r[e.id]))return;const o={};l.reduce((e,t)=>{const n=t.id;return o[n]=e,$u(n)?e+t.getSize():e+r[n]},0);const i=[Object.values(o).map((t,n)=>`#${e} [role="row"] > :nth-child(${n+1}) { left: ${t}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 }`],s=null===(n=l[c])||void 0===n?void 0:n.id;return s&&!$u(s)&&i.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 }`),i.join("\n")}},[a,r,o,i,s.columnFreezing.isEnabled,c])}(e.id,c),C=f.isUsingServer&&void 0===e.length;return n.createElement(n.Fragment,null,R?n.createElement("style",{"data-taco":"table3-column-freezing-styles"},R):null,n.createElement(mm,{table:c,tableProps:e,total:u,left:o,right:i,customSettings:r,scrollToIndex:m}),n.createElement("div",{className:p,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.hoverState.isPaused,"data-resizing":!!g.columnSizingInfo.isResizingColumn,"data-taco":"table2",onBlur:e=>{f.editing.handleBlur(e)},onFocus:e=>{f.currentRow.handleFocus(e,c.getRowModel().rows.length,m)},onScroll:function(e){try{return f.columnFreezing.handleScroll(e),Promise.resolve()}catch(e){return Promise.reject(e)}},ref:s,role:"table",style:y,tabIndex:-1},C?null:n.createElement("div",{className:"group/header contents","data-taco":"table2-header",role:"rowgroup"},c.getHeaderGroups().map(e=>n.createElement("div",{className:"contents",key:e.id,role:"row"},e.headers.map(e=>n.createElement(n.Fragment,{key:e.id},L.flexRender(e.column.columnDef.header,{...e.getContext(),scrollToIndex:m})))))),c.getRowModel().rows.length?n.createElement(n.Fragment,null,n.createElement(h.FocusScope,{autoFocus:f.editing.isEditing},n.createElement("div",{className:"group/body contents","data-taco":"table2-body",role:"rowgroup",ref:v},d())),n.createElement("div",{className:"border-grey-300 col-span-full translate-y-px border-t"}),f.enableFooter?n.createElement("div",{className:"group/footer contents","data-taco":"table2-footer",role:"rowgroup"},c.getFooterGroups().map(e=>n.createElement("div",{className:"contents",key:e.id,role:"row"},e.headers.map(e=>n.createElement(n.Fragment,{key:e.id},L.flexRender(e.column.columnDef.footer,e.getContext()))))),u?n.createElement(fm,{currentLength:c.getRowModel().rows.length,length:u,table:c}):null):null):n.createElement("div",{className:"col-span-full min-h-[theme(spacing.8)]"},a?n.createElement(a,null):null)))})),wm=hm((function(e,t){const l=String(e.children),a=n.useMemo(()=>String("tableKey_"+l),[l]);return n.createElement(pm,Object.assign({},e,{key:a,ref:t}))}));wm.Column=function(e){return null};const bm=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(F.Root,Object.assign({},c,{className:u,"data-taco":"tabs",defaultValue:r,dir:"ltr",onValueChange:i,orientation:s,ref:n,value:a}),o)})),xm=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(F.List,Object.assign({},e,{className:a,ref:n}))})),Em=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(F.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(qa,{title:i},m):m})),ym=t.forwardRef((function(e,n){const{id:a,...r}=e,o=l('[&[data-orientation="vertical"]]:grow outline-none',e.className);return t.createElement(F.Content,Object.assign({},r,{className:o,ref:n,value:a}))}));bm.List=xm,bm.Trigger=Em,bm.Content=ym;const Rm=({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(Ja,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(vo,{className:"mt-4 justify-end"},n>0&&t.createElement(lr,Object.assign({},r,{appearance:"discrete"}),u.back),t.createElement(lr,Object.assign({},o,{appearance:"primary"}),e?l?`${u.last} (${n+1}/${c})`:`${u.next} (${n+1}/${c})`:u.close)))},Cm=e=>null,zm=e=>{const{texts:{tour:n}}=er(),{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]),f=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(B,Object.assign({},d,{run:l,steps:m,showProgress:!0,floaterProps:{disableAnimation:!0},tooltipComponent:e=>t.createElement(Rm,Object.assign({},e,{locale:n,disableTourSkipOnEsc:s})),locale:n,spotlightPadding:8,spotlightClicks:i,disableScrollParentFix:c,callback:e=>{e.action===P.ACTIONS.SKIP&&e.lifecycle===P.LIFECYCLE.COMPLETE&&r&&r(f(e.step.target)),e.type===P.EVENTS.TOUR_END&&a&&a(),e.lifecycle===P.LIFECYCLE.READY&&o&&o(f(e.step.target))},scrollOffset:u,styles:{options:{primaryColor:"#6ba4ff"}},disableCloseOnEsc:!0}))};zm.Step=Cm;const Sm=n.forwardRef((function(e,t){const{...a}=e,r=l(Nm(),e.className);return n.createElement(Ja,Object.assign({},a,{appearance:"discrete",className:r,"data-taco":"header-button",ref:t}))})),Nm=(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}),Om=n.forwardRef((function(e,t){const{children:a,icon:r,isNew:o,tooltip:i,...s}=e,{texts:c}=er(),u=l(Im(r),"relative",e.className),d=n.createElement("a",Object.assign({},s,{className:u,"data-taco":"header-link",ref:t,tabIndex:0}),r?n.createElement(ga,{name:r}):null,a,o?n.createElement(Aa,{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(qa,{title:i},d):d})),Im=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}),Mm=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"})))})),km=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"}))))})),Lm=n.forwardRef((function(e,t){const{texts:a}=er(),r=ja(t),o=l("flex h-full w-full flex-grow items-center overflow-hidden active:outline-none relative",e.className),i=n.createElement(lr,{className:l(Im(),"!bg-transparent aria-expanded:!bg-white/[.08]")},a.header.more);return n.createElement("nav",Object.assign({},e,{className:o,ref:r}),n.createElement(Hi,{className:"h-full flex-grow items-center gap-1 px-1",moreButton:i},e.children))})),Hm=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}))})),Vm=n.forwardRef((function(e,t){const a=l(Nm(!1),"mr-1 !bg-transparent hover:!bg-white/[.08] focus:!bg-white/[.08]] lg:hidden z-[2] !text-white");return n.createElement(Ja,Object.assign({},e,{className:a,"data-taco":"header-toggle-sidebar",icon:"menu",ref:t}))})),Am=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}))})),jm=({agreement:e,...t})=>e.isAdministrator?n.createElement(Aa,Object.assign({},t,{color:"blue",small:!0}),"Admin"):e.isDeveloper?n.createElement(Aa,Object.assign({},t,{color:"blue",small:!0}),"Developer"):null,Dm=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(Am,{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(ga,{name:"secure-tick",className:"ml-1 mt-0.5 mb-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(jm,{agreement:o}))),t)},Tm=e=>{const{children:t,currentAgreement:a,fallbackImageSrc:r}=e;if(Zd("(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(Dm,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(Am,{fallbackSrc:r,src:a.imageSrc,title:`${a.name} - ${a.number} ${a.userId}`}),n.createElement(jm,{agreement:a,className:"absolute top-0 right-0 -mr-1 w-8 !justify-start"}))},Fm=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),Pm=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},Bm=(e,t)=>e.number===t.number&&e.userId===t.userId,_m=(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(Dm,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}))),qm=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}))}));qm.AgreementDisplay=function(e){const{currentAgreement:t,fallbackImageSrc:l}=e;return n.createElement(Fm,null,n.createElement(Tm,{currentAgreement:t,fallbackImageSrc:l}))},qm.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:f}=er(),g=n.useRef(null),[v,h]=w.useControllableState({onChange:m,prop:d}),[p,b]=n.useState("");n.useEffect(()=>{b("")},[v]);const x=e=>{s(e),h(!1)};return n.createElement(Fm,null,n.createElement(u.Root,{open:v,onOpenChange:h},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(Tm,{currentAgreement:l,fallbackImageSrc:a},t?n.createElement(ga,{className:"ml-auto hidden flex-shrink-0 flex-grow-0 text-white xl:flex",name:v?"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(Ki,{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=g.current)||void 0===t||t.dispatchEvent(Nr(e)))},placeholder:f.header.search}),n.createElement(Ji,{querySelector:"button",className:"-my-1 flex w-full flex-grow flex-col gap-1 overflow-auto px-2 py-1 outline-none",ref:g,tabIndex:-1},null==t?void 0:t.filter(e=>r(e,Pm(p))).map(e=>{const t=_m(e,a,x,Bm(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`},Pm(p)(e)?t:null,e.clients.filter(e=>o(e,p,Pm(p))).map(e=>_m(e,a,x,Bm(e,l)))):t})),i?n.createElement(lr,{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},f.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},f.header.logout))))},qm.Button=Sm,qm.Link=Om,qm.Logo=Mm,qm.LogoLegacy=km,qm.PrimaryNavigation=Lm,qm.SecondaryNavigation=Hm,qm.MenuButton=Vm;const Km=n.createContext({sidebarOpen:!1,setSidebarOpen:()=>{}}),Gm=n.forwardRef((function(e,t){const a=l("flex-grow overflow-y-auto bg-white flex flex-shrink flex-col relative",e.className);return n.createElement("main",Object.assign({},e,{className:a,ref:t}))})),Wm=v.motion(Ca),Um=n.forwardRef((function(e,t){const{children:a,...r}=e,{sidebarOpen:o,setSidebarOpen:i}=n.useContext(Km),s=em(),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,f]=n.useState(c),g=l("bg-grey-50 h-full w-64 flex-shrink-0 flex-grow-0",{"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(()=>{f(c)},1)},[c]);const h="function"==typeof a?a({isLargeScreen:s,open:o,toggleSidebar:()=>i(e=>!e)}):a;return h?n.createElement(n.Fragment,null,n.createElement("nav",Object.assign({},r,{"data-responsive":c,"aria-hidden":!u,className:g,ref:t}),h),n.createElement(v.AnimatePresence,null,d&&n.createElement(Wm,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"z-[1]",onClick:()=>i(!1)}))):null})),$m=n.forwardRef((function(e,t){const a=l("flex flex-grow overflow-hidden relative",e.className);return n.createElement("div",Object.assign({},e,{className:a,ref:t}))})),Jm=n.forwardRef((function(e,t){const[a,r]=n.useState(!1),o=l("flex h-screen w-screen flex-col overflow-hidden relative",e.className);return n.createElement(Km.Provider,{value:{sidebarOpen:a,setSidebarOpen:r}},n.createElement("div",Object.assign({},e,{className:o,ref:t})))}));Jm.Top=e=>{const{setSidebarOpen:t}=n.useContext(Km);return"function"==typeof e.children?e.children({toggleSidebar:()=>t(e=>!e)}):e.children},Jm.Page=$m,Jm.Sidebar=Um,Jm.Content=Gm;const Xm=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(ga,{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))})),Ym=()=>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"),Qm=(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}),Zm=n.forwardRef((function(e,t){const{active:a,children:r,icon:o,menu:i,onDrop:s,total:c,...u}=e,[d,m]=zi(s),f=l(Qm(d),u.className),g=l("[[role=menubar]>&]:px-3 border-grey-200",Ym(),{"[&>*]:pointer-events-none":d});return n.createElement("li",Object.assign({},m,{className:g,"data-taco":"navigation2-link-item",role:"none"}),n.createElement("a",Object.assign({},u,{"aria-current":a?"page":void 0,className:f,"data-taco":"navigation2-link",ref:t,role:"menuitem",tabIndex:0}),o?n.createElement(ga,{className:"mr-1.5 [[role=menu]>li>a>&]:mr-0.5 [[role=menu]>li>a>&]:-ml-1.5",name:o}):null,n.createElement("span",{className:"flex flex-grow items-center truncate"},r),i?n.createElement(Ja,{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(Aa,{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",Ym(),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",Ym(),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=Xm,nf.Link=Zm,nf.Section=ef,nf.Content=tf,exports.Accordion=Ha,exports.Alert=pa,exports.AlertDialog=Oa,exports.Backdrop=Ca,exports.Badge=Aa,exports.BadgeIcon=va,exports.Banner=tr,exports.Base=$a,exports.Button=lr,exports.Calendar=ir,exports.Card=cr,exports.Checkbox=dr,exports.CollectionPrimitive=Qi,exports.Combobox=_r,exports.Datepicker=to,exports.Dialog=go,exports.Drawer=To,exports.Field=Fo,exports.Form=Po,exports.Group=vo,exports.Hanger=Go,exports.Header=qm,exports.HoverCard=Jo,exports.Icon=ga,exports.IconButton=Ja,exports.Input=br,exports.Layout=Jm,exports.Listbox=Qo,exports.LocalizationContext=Qa,exports.LocalizationProvider=Za,exports.Menu=Ei,exports.MultiListbox=Zo,exports.Navigation=Mi,exports.Navigation2=nf,exports.OverflowGroup=Hi,exports.PaginatedTable=oc,exports.Pagination=Di,exports.Popover=eo,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(Za,{localization:l},t.createElement(qi.Provider,{value:r},t.createElement(o.Provider,null,t.createElement(Bi,null,n))))},exports.RadioGroup=vi,exports.SearchInput=Ki,exports.SearchInput2=Gi,exports.Select=ji,exports.Select2=Ls,exports.Shortcut=ni,exports.Spinner=yr,exports.Switch=Vs,exports.Table=rc,exports.Table2=Nu,exports.Table3=wm,exports.Tabs=bm,exports.TacoContext=qi,exports.Tag=rs,exports.Textarea=pd,exports.Title=qo,exports.ToastProvider=Bi,exports.Tooltip=qa,exports.Tour=zm,exports.TourStep=Cm,exports.Treeview=Ci,exports.VisuallyHidden=Va,exports.WindowedTable=cc,exports.convertRowIndexPathToNumberArray=uc,exports.createShortcutKeyDownHandler=Fa,exports.defaultLocalisationTexts=Xa,exports.defaultLocalizationContext=Ya,exports.findByValue=di,exports.fixedForwardRef=hm,exports.format=Kr,exports.getByRowIndexPath=dc,exports.getNavigationLinkClasses=Qm,exports.getNextIndexFromKey=xr,exports.getParentRowIndexPath=mc,exports.getRadioGroupItemValueAsString=ui,exports.icons=fa,exports.insertChildTableRow=fc,exports.isEventTriggeredOnInteractiveElement=Da,exports.isMacOs=Pa,exports.isWeakEqual=qr,exports.mergeRefs=ba,exports.parseFromCustomString=Gr,exports.parseFromISOString=Wr,exports.removeChildTableRow=gc,exports.setByRowIndexPath=(e,t,n)=>{const l=[...e],a=uc(t),r=a.shift();if(a.length){const e=a.map(e=>`subRows[${e}]`).join(".");N(l[r],e,n)}else l[r]=n;return l},exports.shouldTriggerShortcut=Ta,exports.useBoundaryOverflowDetection=iu,exports.useBoundingClientRectListener=vr,exports.useDropTarget=zi,exports.useIntersectionObserver=ki,exports.useIsLargeScreen=em,exports.useLazyEffect=nd,exports.useListKeyboardNavigation=(e=0,t={direction:"vertical"})=>{const[l,a]=n.useState(t.initialIndex);return[l,a,n=>{const a=xr(n.key,e,l,t.direction);return void 0!==a&&n.preventDefault(),a}]},exports.useListScrollTo=Er,exports.useLocalization=er,exports.useMatchMedia=Zd,exports.useMergedRef=ja,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=gi,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),f=function(t,n,l,o){try{let f=!1;if((m.current||o!==d.current||JSON.stringify(n)!==JSON.stringify(c.current)||JSON.stringify(l)!==JSON.stringify(u.current))&&(s.current={},f=!0),s.current[t])return Promise.resolve();s.current[t]=!0,m.current=!1,c.current=n,u.current=l,d.current=o;const g=us((function(){return cs((function(){return Promise.resolve(e(t,a,n,l,o)).then((function(e){i(n=>{let l;return f||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(g&&g.then?g.then((function(){})):void 0)}catch(e){return Promise.reject(e)}};return[{data:o,length:r.current,loadAll:function(e,n,l){try{const a=cs((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:f,onFilter:function(e){try{return f(0,c.current,e,d.current)}catch(e){return Promise.reject(e)}},onSort:function(e){try{return f(0,e,u.current,d.current)}catch(e){return Promise.reject(e)}},pageSize:a},function(){try{return m.current=!0,f(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=dc(l,r),i=mc(r),[s,c]=fc(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]=fc(l,e,{...n,_createKey:r});return o(s),a(i),null!=t&&t.current&&t.current.instance.toggleRowEditing(r),s},remove:e=>{const t=gc(l,e);a(t),o(void 0)},isCreating:void 0!==r}},exports.useToast=_i;
|
2
2
|
//# sourceMappingURL=taco.cjs.production.min.js.map
|