@tetrascience-npm/tetrascience-react-ui 0.4.0-beta.6.1 → 0.4.0-beta.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js CHANGED
@@ -201,7 +201,7 @@
201
201
  ${e=>b[e.$size]}
202
202
  `,k=t.div`
203
203
  ${e=>b[e.$size]}
204
- `,j=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4.75C2 4.33579 2.33579 4 2.75 4H17.25C17.6642 4 18 4.33579 18 4.75C18 5.16421 17.6642 5.5 17.25 5.5H2.75C2.33579 5.5 2 5.16421 2 4.75ZM2 15.25C2 14.8358 2.33579 14.5 2.75 14.5H10.25C10.6642 14.5 11 14.8358 11 15.25C11 15.6642 10.6642 16 10.25 16H2.75C2.33579 16 2 15.6642 2 15.25Z",fill:t}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 10C2 9.58579 2.33579 9.25 2.75 9.25H17.25C17.6642 9.25 18 9.58579 18 10C18 10.4142 17.6642 10.75 17.25 10.75H2.75C2.33579 10.75 2 10.4142 2 10Z",fill:t})]}),M=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 16.5V3.5H3.75C3.55109 3.5 3.36032 3.42098 3.21967 3.28033C3.07902 3.13968 3 2.94891 3 2.75C3 2.55109 3.07902 2.36032 3.21967 2.21967C3.36032 2.07902 3.55109 2 3.75 2H16.25C16.4489 2 16.6397 2.07902 16.7803 2.21967C16.921 2.36032 17 2.55109 17 2.75C17 2.94891 16.921 3.13968 16.7803 3.28033C16.6397 3.42098 16.4489 3.5 16.25 3.5H16V16.5H16.25C16.4489 16.5 16.6397 16.579 16.7803 16.7197C16.921 16.8603 17 17.0511 17 17.25C17 17.4489 16.921 17.6397 16.7803 17.7803C16.6397 17.921 16.4489 18 16.25 18H12.75C12.5511 18 12.3603 17.921 12.2197 17.7803C12.079 17.6397 12 17.4489 12 17.25V14.75C12 14.5511 11.921 14.3603 11.7803 14.2197C11.6397 14.079 11.4489 14 11.25 14H8.75C8.55109 14 8.36032 14.079 8.21967 14.2197C8.07902 14.3603 8 14.5511 8 14.75V17.25C8 17.4489 7.92098 17.6397 7.78033 17.7803C7.63968 17.921 7.44891 18 7.25 18H3.75C3.55109 18 3.36032 17.921 3.21967 17.7803C3.07902 17.6397 3 17.4489 3 17.25C3 17.0511 3.07902 16.8603 3.21967 16.7197C3.36032 16.579 3.55109 16.5 3.75 16.5H4ZM7 5.5C7 5.36739 7.05268 5.24021 7.14645 5.14645C7.24021 5.05268 7.36739 5 7.5 5H8.5C8.63261 5 8.75979 5.05268 8.85355 5.14645C8.94732 5.24021 9 5.36739 9 5.5V6.5C9 6.63261 8.94732 6.75979 8.85355 6.85355C8.75979 6.94732 8.63261 7 8.5 7H7.5C7.36739 7 7.24021 6.94732 7.14645 6.85355C7.05268 6.75979 7 6.63261 7 6.5V5.5ZM7.5 9C7.36739 9 7.24021 9.05268 7.14645 9.14645C7.05268 9.24021 7 9.36739 7 9.5V10.5C7 10.6326 7.05268 10.7598 7.14645 10.8536C7.24021 10.9473 7.36739 11 7.5 11H8.5C8.63261 11 8.75979 10.9473 8.85355 10.8536C8.94732 10.7598 9 10.6326 9 10.5V9.5C9 9.36739 8.94732 9.24021 8.85355 9.14645C8.75979 9.05268 8.63261 9 8.5 9H7.5ZM11 5.5C11 5.36739 11.0527 5.24021 11.1464 5.14645C11.2402 5.05268 11.3674 5 11.5 5H12.5C12.6326 5 12.7598 5.05268 12.8536 5.14645C12.9473 5.24021 13 5.36739 13 5.5V6.5C13 6.63261 12.9473 6.75979 12.8536 6.85355C12.7598 6.94732 12.6326 7 12.5 7H11.5C11.3674 7 11.2402 6.94732 11.1464 6.85355C11.0527 6.75979 11 6.63261 11 6.5V5.5ZM11.5 9C11.3674 9 11.2402 9.05268 11.1464 9.14645C11.0527 9.24021 11 9.36739 11 9.5V10.5C11 10.6326 11.0527 10.7598 11.1464 10.8536C11.2402 10.9473 11.3674 11 11.5 11H12.5C12.6326 11 12.7598 10.9473 12.8536 10.8536C12.9473 10.7598 13 10.6326 13 10.5V9.5C13 9.36739 12.9473 9.24021 12.8536 9.14645C12.7598 9.05268 12.6326 9 12.5 9H11.5Z",fill:t})}),L=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.997 5.25C17.9972 4.69436 17.7917 4.15832 17.4202 3.74512C17.0488 3.33191 16.5375 3.07077 15.985 3.012C15.9262 2.45948 15.6651 1.94825 15.2519 1.57677C14.8387 1.20529 14.3026 0.999846 13.747 1H12.247C11.6914 0.999846 11.1553 1.20529 10.7421 1.57677C10.3289 1.94825 10.0678 2.45948 10.009 3.012C9.134 3.104 8.409 3.698 8.125 4.5H10.997C11.66 4.5 12.2959 4.76339 12.7648 5.23223C13.2336 5.70107 13.497 6.33696 13.497 7V14H15.747C16.3437 14 16.916 13.7629 17.338 13.341C17.7599 12.919 17.997 12.3467 17.997 11.75V5.25ZM12.247 2.5C12.0481 2.5 11.8573 2.57902 11.7167 2.71967C11.576 2.86032 11.497 3.05109 11.497 3.25V3.5H14.497V3.25C14.497 3.05109 14.418 2.86032 14.2773 2.71967C14.1367 2.57902 13.9459 2.5 13.747 2.5H12.247Z",fill:t}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 6C2.73478 6 2.48043 6.10536 2.29289 6.29289C2.10536 6.48043 2 6.73478 2 7V17C2 17.2652 2.10536 17.5196 2.29289 17.7071C2.48043 17.8946 2.73478 18 3 18H11C11.2652 18 11.5196 17.8946 11.7071 17.7071C11.8946 17.5196 12 17.2652 12 17V7C12 6.73478 11.8946 6.48043 11.7071 6.29289C11.5196 6.10536 11.2652 6 11 6H3ZM9.874 10.166C9.92992 10.0841 9.96904 9.99189 9.98909 9.89475C10.0091 9.79761 10.0097 9.69746 9.99081 9.6001C9.97189 9.50273 9.93385 9.41009 9.87889 9.32752C9.82392 9.24496 9.75313 9.17412 9.6706 9.1191C9.58807 9.06408 9.49545 9.02598 9.3981 9.007C9.30075 8.98802 9.2006 8.98854 9.10345 9.00852C9.0063 9.02851 8.91407 9.06757 8.83212 9.12344C8.75017 9.1793 8.68011 9.25087 8.626 9.334L6.133 13.073L5.28 12.22C5.13783 12.0875 4.94978 12.0154 4.75548 12.0188C4.56118 12.0223 4.37579 12.101 4.23838 12.2384C4.10097 12.3758 4.02225 12.5612 4.01883 12.7555C4.0154 12.9498 4.08752 13.1378 4.22 13.28L5.72 14.78C5.79844 14.8584 5.8933 14.9184 5.99773 14.9558C6.10217 14.9931 6.21359 15.0068 6.32396 14.9959C6.43434 14.985 6.54092 14.9498 6.63603 14.8927C6.73114 14.8357 6.81242 14.7582 6.874 14.666L9.874 10.166Z",fill:t})]}),E=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.7045 4.15347C17.034 4.4045 17.0976 4.87509 16.8466 5.20457L8.84657 15.7046C8.71541 15.8767 8.51627 15.9838 8.30033 15.9983C8.08439 16.0129 7.87271 15.9334 7.71967 15.7804L3.21967 11.2804C2.92678 10.9875 2.92678 10.5126 3.21967 10.2197C3.51256 9.92682 3.98744 9.92682 4.28033 10.2197L8.17351 14.1129L15.6534 4.29551C15.9045 3.96603 16.3751 3.90243 16.7045 4.15347Z",fill:t})}),I=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18ZM13.8566 8.19113C14.1002 7.85614 14.0261 7.38708 13.6911 7.14345C13.3561 6.89982 12.8871 6.97388 12.6434 7.30887L9.15969 12.099L7.28033 10.2197C6.98744 9.92678 6.51256 9.92678 6.21967 10.2197C5.92678 10.5126 5.92678 10.9874 6.21967 11.2803L8.71967 13.7803C8.87477 13.9354 9.08999 14.0149 9.30867 13.9977C9.52734 13.9805 9.72754 13.8685 9.85655 13.6911L13.8566 8.19113Z",fill:t})}),N=({fill:t="currentColor",width:r="16",height:o="16"})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 16 16",fill:"none",children:[e.jsx("path",{d:"M11.2016 1.59961H4.80156C3.03676 1.59961 1.60156 3.03481 1.60156 4.79961V11.1996C1.60156 12.9644 3.03676 14.3996 4.80156 14.3996H11.2016C12.9664 14.3996 14.4016 12.9644 14.4016 11.1996V4.79961C14.4016 3.03481 12.9664 1.59961 11.2016 1.59961Z",fill:t}),e.jsx("path",{d:"M7.63305 10.8968L11.4331 6.09685C11.7075 5.75045 11.6491 5.24725 11.3027 4.97285C10.9555 4.69925 10.4531 4.75845 10.1787 5.10405L6.96665 9.16085L5.80025 7.86485C5.50425 7.53685 4.99945 7.50965 4.67065 7.80565C4.34265 8.10085 4.31625 8.60645 4.61145 8.93525L6.41145 10.9352C6.56265 11.104 6.77945 11.2 7.00585 11.2H7.03065C7.26665 11.1928 7.48665 11.0816 7.63305 10.8968Z",fill:"white"})]}),A=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{width:r,height:o,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.21967 8.21967C5.51256 7.92678 5.98744 7.92678 6.28033 8.21967L10 11.9393L13.7197 8.21967C14.0126 7.92678 14.4874 7.92678 14.7803 8.21967C15.0732 8.51256 15.0732 8.98744 14.7803 9.28033L10.5303 13.5303C10.3897 13.671 10.1989 13.75 10 13.75C9.80109 13.75 9.61032 13.671 9.46967 13.5303L5.21967 9.28033C4.92678 8.98744 4.92678 8.51256 5.21967 8.21967Z",fill:t})}),_=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M3.75 3.75L16.25 16.25M16.25 3.75L3.75 16.25",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),$=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.25 2C3.65326 2 3.08097 2.23705 2.65901 2.65901C2.23705 3.08097 2 3.65326 2 4.25V15.75C2 16.3467 2.23705 16.919 2.65901 17.341C3.08097 17.7629 3.65326 18 4.25 18H15.75C16.3467 18 16.919 17.7629 17.341 17.341C17.7629 16.919 18 16.3467 18 15.75V4.25C18 3.65326 17.7629 3.08097 17.341 2.65901C16.919 2.23705 16.3467 2 15.75 2H4.25ZM8.28 8.28C8.41248 8.13783 8.4846 7.94978 8.48118 7.75548C8.47775 7.56118 8.39903 7.37579 8.26162 7.23838C8.12421 7.10097 7.93882 7.02225 7.74452 7.01883C7.55022 7.0154 7.36217 7.08752 7.22 7.22L4.97 9.47C4.82955 9.61063 4.75066 9.80125 4.75066 10C4.75066 10.1988 4.82955 10.3894 4.97 10.53L7.22 12.78C7.36217 12.9125 7.55022 12.9846 7.74452 12.9812C7.93882 12.9777 8.12421 12.899 8.26162 12.7616C8.39903 12.6242 8.47775 12.4388 8.48118 12.2445C8.4846 12.0502 8.41248 11.8622 8.28 11.72L6.56 10L8.28 8.28ZM12.78 7.22C12.7113 7.14631 12.6285 7.08721 12.5365 7.04622C12.4445 7.00523 12.3452 6.98319 12.2445 6.98141C12.1438 6.97963 12.0438 6.99816 11.9504 7.03588C11.857 7.0736 11.7722 7.12974 11.701 7.20096C11.6297 7.27218 11.5736 7.35701 11.5359 7.4504C11.4982 7.54379 11.4796 7.64382 11.4814 7.74452C11.4832 7.84523 11.5052 7.94454 11.5462 8.03654C11.5872 8.12854 11.6463 8.21134 11.72 8.28L13.44 10L11.72 11.72C11.6463 11.7887 11.5872 11.8715 11.5462 11.9635C11.5052 12.0555 11.4832 12.1548 11.4814 12.2555C11.4796 12.3562 11.4982 12.4562 11.5359 12.5496C11.5736 12.643 11.6297 12.7278 11.701 12.799C11.7722 12.8703 11.857 12.9264 11.9504 12.9641C12.0438 13.0018 12.1438 13.0204 12.2445 13.0186C12.3452 13.0168 12.4445 12.9948 12.5365 12.9538C12.6285 12.9128 12.7113 12.8537 12.78 12.78L15.03 10.53C15.1705 10.3894 15.2493 10.1988 15.2493 10C15.2493 9.80125 15.1705 9.61063 15.03 9.47L12.78 7.22Z",fill:t})}),R=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4.25C2 3.65326 2.23705 3.08097 2.65901 2.65901C3.08097 2.23705 3.65326 2 4.25 2H15.75C16.3467 2 16.919 2.23705 17.341 2.65901C17.7629 3.08097 18 3.65326 18 4.25V12.75C18 13.3467 17.7629 13.919 17.341 14.341C16.919 14.7629 16.3467 15 15.75 15H12.645C12.8403 15.6543 13.2226 16.2372 13.745 16.677C13.8625 16.7762 13.9467 16.9092 13.9861 17.0579C14.0255 17.2065 14.0182 17.3637 13.9653 17.5081C13.9123 17.6526 13.8163 17.7772 13.6901 17.8652C13.564 17.9532 13.4138 18.0002 13.26 18H6.74C6.58628 18 6.43627 17.9528 6.31027 17.8647C6.18427 17.7767 6.08838 17.652 6.03557 17.5077C5.98275 17.3633 5.97557 17.2062 6.015 17.0576C6.05443 16.9091 6.13856 16.7762 6.256 16.677C6.77799 16.2371 7.15999 15.6542 7.355 15H4.25C3.65326 15 3.08097 14.7629 2.65901 14.341C2.23705 13.919 2 13.3467 2 12.75V4.25ZM3.5 4.25C3.5 4.05109 3.57902 3.86032 3.71967 3.71967C3.86032 3.57902 4.05109 3.5 4.25 3.5H15.75C15.9489 3.5 16.1397 3.57902 16.2803 3.71967C16.421 3.86032 16.5 4.05109 16.5 4.25V11.75C16.5 11.9489 16.421 12.1397 16.2803 12.2803C16.1397 12.421 15.9489 12.5 15.75 12.5H4.25C4.05109 12.5 3.86032 12.421 3.71967 12.2803C3.57902 12.1397 3.5 11.9489 3.5 11.75V4.25Z",fill:t})}),T=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:[e.jsx("path",{d:"M2 4.25C2 3.00736 3.00736 2 4.25 2H10.75C11.9926 2 13 3.00736 13 4.25V5.5H9.25C7.17893 5.5 5.5 7.17893 5.5 9.25V13H4.25C3.00736 13 2 11.9926 2 10.75V4.25Z",fill:t}),e.jsx("path",{d:"M9.25 7C8.00736 7 7 8.00736 7 9.25V15.75C7 16.9926 8.00736 18 9.25 18H15.75C16.9926 18 18 16.9926 18 15.75V9.25C18 8.00736 16.9926 7 15.75 7H9.25Z",fill:t})]}),S=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M10.362 1.093C10.2511 1.0319 10.1266 0.999851 10 0.999851C9.87341 0.999851 9.74887 1.0319 9.638 1.093L2.523 5.018L10 9.143L17.477 5.018L10.362 1.093ZM18 6.443L10.75 10.443V18.693L17.612 14.907C17.7295 14.8422 17.8275 14.7471 17.8958 14.6315C17.964 14.516 18 14.3842 18 14.25V6.443ZM9.25 18.693V10.443L2 6.443V14.25C1.99997 14.3842 2.03596 14.516 2.10421 14.6315C2.17245 14.7471 2.27046 14.8422 2.388 14.907L9.25 18.693Z",fill:t})}),z=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 1C13.866 1 17 2.79 17 5C17 7.21 13.866 9 10 9C6.134 9 3 7.21 3 5C3 2.79 6.134 1 10 1ZM15.694 9.13C16.158 8.866 16.604 8.547 17 8.178V10C17 12.21 13.866 14 10 14C6.134 14 3 12.21 3 10V8.178C3.396 8.548 3.842 8.866 4.306 9.131C5.838 10.006 7.854 10.5 10 10.5C12.146 10.5 14.162 10.006 15.694 9.13ZM3 13.179V15C3 17.21 6.134 19 10 19C13.866 19 17 17.21 17 15V13.178C16.604 13.548 16.158 13.866 15.694 14.131C14.162 15.006 12.146 15.5 10 15.5C7.854 15.5 5.838 15.006 4.306 14.13C3.83547 13.8644 3.39722 13.5453 3 13.179Z",fill:t})}),B=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10ZM10 5C10.4142 5 10.75 5.33579 10.75 5.75V10.25C10.75 10.6642 10.4142 11 10 11C9.58579 11 9.25 10.6642 9.25 10.25V5.75C9.25 5.33579 9.58579 5 10 5ZM10 15C10.5523 15 11 14.5523 11 14C11 13.4477 10.5523 13 10 13C9.44771 13 9 13.4477 9 14C9 14.5523 9.44771 15 10 15Z",fill:t})}),H=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.4845 2.49499C9.15808 1.32833 10.842 1.32833 11.5156 2.495L17.7943 13.37C18.4678 14.5367 17.6259 15.995 16.2787 15.995H3.72136C2.37421 15.995 1.53224 14.5367 2.20582 13.37L8.4845 2.49499ZM10 5C10.4142 5 10.75 5.33579 10.75 5.75V9.25C10.75 9.66421 10.4142 10 10 10C9.58579 10 9.25 9.66421 9.25 9.25L9.25 5.75C9.25 5.33579 9.58579 5 10 5ZM10 14C10.5523 14 11 13.5523 11 13C11 12.4477 10.5523 12 10 12C9.44772 12 9 12.4477 9 13C9 13.5523 9.44772 14 10 14Z",fill:t})}),P=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.84288 1.804C7.88817 1.57739 8.01055 1.37346 8.18921 1.22689C8.36787 1.08031 8.59178 1.00014 8.82288 1H11.1829C11.414 1.00014 11.6379 1.08031 11.8165 1.22689C11.9952 1.37346 12.1176 1.57739 12.1629 1.804L12.4939 3.456C13.1923 3.72219 13.8436 4.09863 14.4229 4.571L16.0209 4.031C16.2398 3.95702 16.4775 3.96112 16.6937 4.04261C16.9099 4.1241 17.0913 4.27795 17.2069 4.478L18.3869 6.522C18.5025 6.72209 18.5453 6.95607 18.5079 7.18413C18.4706 7.4122 18.3553 7.62029 18.1819 7.773L16.9149 8.886C17.033 9.62397 17.033 10.376 16.9149 11.114L18.1819 12.227C18.3553 12.3795 18.4705 12.5874 18.5081 12.8152C18.5456 13.0431 18.5031 13.2769 18.3879 13.477L17.2079 15.522C17.0922 15.7223 16.9107 15.8763 16.6943 15.9578C16.4779 16.0393 16.2399 16.0432 16.0209 15.969L14.4229 15.429C13.8436 15.9014 13.1923 16.2778 12.4939 16.544L12.1639 18.196C12.1186 18.4226 11.9962 18.6265 11.8175 18.7731C11.6389 18.9197 11.415 18.9999 11.1839 19H8.82288C8.59178 18.9999 8.36787 18.9197 8.18921 18.7731C8.01055 18.6265 7.88817 18.4226 7.84288 18.196L7.51188 16.544C6.81342 16.2778 6.16215 15.9014 5.58288 15.429L3.98488 15.969C3.76598 16.043 3.52823 16.0389 3.31202 15.9574C3.09581 15.8759 2.91449 15.7221 2.79888 15.522L1.61888 13.478C1.50322 13.2779 1.46045 13.0439 1.49782 12.8159C1.53519 12.5878 1.65041 12.3797 1.82388 12.227L3.09088 11.113C2.97289 10.3754 2.97289 9.62364 3.09088 8.886L1.82388 7.773C1.65049 7.62047 1.53524 7.41264 1.49769 7.18478C1.46014 6.95693 1.5026 6.7231 1.61788 6.523L2.79788 4.478C2.91352 4.27773 3.09501 4.12373 3.31144 4.04223C3.52787 3.96073 3.76585 3.95676 3.98488 4.031L5.58288 4.571C6.16245 4.09852 6.81406 3.72207 7.51288 3.456L7.84288 1.804ZM10.0029 13C10.7985 13 11.5616 12.6839 12.1242 12.1213C12.6868 11.5587 13.0029 10.7956 13.0029 10C13.0029 9.20435 12.6868 8.44129 12.1242 7.87868C11.5616 7.31607 10.7985 7 10.0029 7C9.20723 7 8.44416 7.31607 7.88156 7.87868C7.31895 8.44129 7.00288 9.20435 7.00288 10C7.00288 10.7956 7.31895 11.5587 7.88156 12.1213C8.44416 12.6839 9.20723 13 10.0029 13Z",fill:t})}),O=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10ZM16.4969 10.2041C16.389 13.6995 13.5216 16.5 10 16.5C6.41015 16.5 3.5 13.5899 3.5 10C3.5 7.12656 5.36451 4.68861 7.94969 3.82998L6.92671 5.62019C6.60171 6.18894 6.69759 6.90485 7.16078 7.36805C7.6029 7.81017 8.27833 7.91977 8.83757 7.64015L9.0123 7.55279C9.08173 7.51807 9.15829 7.5 9.23591 7.5H9.38181C9.5712 7.5 9.74433 7.607 9.82902 7.77639C9.8994 7.91716 9.8994 8.08284 9.82902 8.22361L9.80123 8.27919C9.73357 8.41452 9.59525 8.5 9.44395 8.5H8.9418C8.18614 8.5 7.48048 8.87766 7.06131 9.50641L7.01751 9.57212C6.65828 10.111 6.56795 10.7855 6.77274 11.3998C6.98201 12.0276 7.47787 12.5197 8.10338 12.7282C8.33997 12.8071 8.49984 13.0292 8.49984 13.2749V14.3246C8.49984 14.9738 9.02608 15.5 9.67523 15.5C10.0323 15.5 10.37 15.3377 10.5931 15.0589L12.2044 13.0446C12.3957 12.8056 12.4998 12.5086 12.4998 12.2025C12.4998 11.8866 12.6279 11.5791 12.8531 11.3539C13.3088 10.8982 13.3864 10.1784 13.0257 9.63738L12.5617 8.94145C12.5214 8.88091 12.4998 8.80979 12.4998 8.73703C12.4998 8.43336 12.8465 8.26002 13.0895 8.44222L13.4322 8.69925C13.748 8.93609 14.1704 8.97373 14.523 8.79746C14.7488 8.68456 15.0216 8.72887 15.1996 8.90689L16.4969 10.2041Z",fill:t})}),V=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M13.3516 2.00712C13.7619 2.06371 14.0488 2.44249 13.9922 2.85282L13.5576 6.00028H16.6973C17.1115 6.00028 17.4473 6.33607 17.4473 6.75028C17.4473 7.16448 17.1115 7.50028 16.6973 7.50028H13.3516L12.6611 12.5003H15.8008C16.215 12.5003 16.5508 12.8361 16.5508 13.2503C16.5508 13.6645 16.215 14.0003 15.8008 14.0003H12.4551L11.9922 17.3528C11.9356 17.7631 11.5568 18.05 11.1465 17.9934C10.7362 17.9368 10.4493 17.558 10.5059 17.1477L10.9404 14.0003H7.95508L7.49219 17.3528C7.43556 17.7631 7.05679 18.05 6.64648 17.9934C6.23622 17.9368 5.94927 17.558 6.00586 17.1477L6.44043 14.0003H3.30078C2.88658 14.0003 2.5508 13.6645 2.55078 13.2503C2.55078 12.8361 2.88657 12.5003 3.30078 12.5003H6.64648L7.33691 7.50028H4.19727C3.78309 7.50024 3.44728 7.16446 3.44727 6.75028C3.44727 6.33609 3.78308 6.00032 4.19727 6.00028H7.54297L8.00586 2.64774C8.06245 2.23743 8.44125 1.95055 8.85156 2.00712C9.26189 2.06371 9.54878 2.44249 9.49219 2.85282L9.05762 6.00028H12.043L12.5059 2.64774C12.5625 2.23743 12.9413 1.95055 13.3516 2.00712ZM8.85156 7.50028L8.16113 12.5003H11.1465L11.8369 7.50028H8.85156Z",fill:t})}),D=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.29292 2.29289C9.68345 1.90237 10.3166 1.90237 10.7071 2.29289L17.7071 9.29289C17.9931 9.57889 18.0787 10.009 17.9239 10.3827C17.7691 10.7564 17.4045 11 17 11H16V17C16 17.5523 15.5523 18 15 18H13C12.4477 18 12 17.5523 12 17V14C12 13.4477 11.5523 13 11 13H9.00003C8.44774 13 8.00003 13.4477 8.00003 14V17C8.00003 17.5523 7.55231 18 7.00003 18H5.00003C4.44774 18 4.00003 17.5523 4.00003 17V11H3.00003C2.59557 11 2.23093 10.7564 2.07615 10.3827C1.92137 10.009 2.00692 9.57889 2.29292 9.29289L9.29292 2.29289Z",fill:t})}),U=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 40 40",fill:"none",children:e.jsx("path",{d:"M3.75 22.5H10.1824C11.6028 22.5 12.9013 23.3025 13.5365 24.5729L13.9635 25.4271C14.5987 26.6975 15.8972 27.5 17.3176 27.5H22.6824C24.1028 27.5 25.4013 26.6975 26.0365 25.4271L26.4635 24.5729C27.0987 23.3025 28.3972 22.5 29.8176 22.5H36.25M3.75 23.0639V30C3.75 32.0711 5.42893 33.75 7.5 33.75H32.5C34.5711 33.75 36.25 32.0711 36.25 30V23.0639C36.25 22.6901 36.1941 22.3183 36.0842 21.9611L32.0645 8.89718C31.5804 7.32371 30.1266 6.25 28.4803 6.25H11.5197C9.87339 6.25 8.41963 7.32371 7.93548 8.89718L3.91583 21.9611C3.80589 22.3183 3.75 22.6901 3.75 23.0639Z",stroke:t,strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})}),G=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M10 2C14.4183 2 18 5.58172 18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10C2 5.58172 5.58172 2 10 2ZM9 9C8.58579 9 8.25 9.33579 8.25 9.75C8.25 10.1642 8.58579 10.5 9 10.5H9.25293C9.41287 10.5 9.53176 10.6486 9.49707 10.8047L9.03809 12.8701C8.79522 13.963 9.62751 15 10.7471 15H11C11.4142 15 11.75 14.6642 11.75 14.25C11.75 13.8358 11.4142 13.5 11 13.5H10.7471C10.5871 13.5 10.4682 13.3514 10.5029 13.1953L10.9619 11.1299C11.2048 10.037 10.3725 9 9.25293 9H9ZM10 5C9.44771 5 9 5.44772 9 6C9 6.55228 9.44771 7 10 7C10.5523 7 11 6.55228 11 6C11 5.44772 10.5523 5 10 5Z",fill:t})}),K=({fill:t="currentColor",width:r="16",height:o="16"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 16 16",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1C11.866 1 15 4.13401 15 8ZM9 5C9 5.55228 8.55228 6 8 6C7.44772 6 7 5.55228 7 5C7 4.44772 7.44772 4 8 4C8.55228 4 9 4.44772 9 5ZM6.75 8C6.33579 8 6 8.33579 6 8.75C6 9.16421 6.33579 9.5 6.75 9.5H7.5V11.25C7.5 11.6642 7.83579 12 8.25 12C8.66421 12 9 11.6642 9 11.25V8.75C9 8.33579 8.66421 8 8.25 8H6.75Z",fill:t})}),Z=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M10.0001 1C8.76409 0.99999 7.55829 1.38167 6.54746 2.09287C5.53662 2.80407 4.77008 3.81008 4.35262 4.9734C3.93516 6.13672 3.88714 7.40058 4.21512 8.59222C4.54311 9.78387 5.2311 10.8451 6.18505 11.631C7.23705 12.5 8.00005 13.443 8.00005 14.456V15.1C7.99995 15.268 8.05628 15.4312 8.16 15.5634C8.26372 15.6956 8.40883 15.7891 8.57205 15.829C9.51025 16.0582 10.4899 16.0582 11.4281 15.829C11.5913 15.7891 11.7364 15.6956 11.8401 15.5634C11.9438 15.4312 12.0001 15.268 12.0001 15.1V14.456C12.0001 13.443 12.7621 12.499 13.8151 11.631C14.769 10.8451 15.457 9.78387 15.785 8.59222C16.113 7.40058 16.0649 6.13672 15.6475 4.9734C15.23 3.81008 14.4635 2.80407 13.4526 2.09287C12.4418 1.38167 11.236 0.99999 10.0001 1ZM8.86305 17.414C8.76568 17.3992 8.66633 17.4036 8.57069 17.4272C8.47505 17.4508 8.38498 17.4929 8.30563 17.5513C8.14538 17.6691 8.03852 17.8458 8.00855 18.0425C7.97858 18.2392 8.02796 18.4397 8.14583 18.5999C8.2637 18.7602 8.44039 18.867 8.63705 18.897C9.54052 19.0344 10.4596 19.0344 11.3631 18.897C11.5597 18.867 11.7364 18.7602 11.8543 18.5999C11.9721 18.4397 12.0215 18.2392 11.9916 18.0425C11.9616 17.8458 11.8547 17.6691 11.6945 17.5513C11.5342 17.4334 11.3337 17.384 11.1371 17.414C10.3834 17.5288 9.61671 17.5288 8.86305 17.414Z",fill:t})}),W=({fill:t="currentColor",width:r="16",height:o="16"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 16 16",fill:"none",children:e.jsx("path",{d:"M11.5 1C9.567 1 8 2.567 8 4.5V7H2.5C1.67157 7 1 7.67157 1 8.5V13.5C1 14.3284 1.67157 15 2.5 15H9.5C10.3284 15 11 14.3284 11 13.5V8.5C11 7.67157 10.3284 7 9.5 7V4.5C9.5 3.39543 10.3954 2.5 11.5 2.5C12.6046 2.5 13.5 3.39543 13.5 4.5V6.25C13.5 6.66421 13.8358 7 14.25 7C14.6642 7 15 6.66421 15 6.25V4.5C15 2.567 13.433 1 11.5 1Z",fill:t})}),Y=({fill:t="currentColor",width:r="16",height:o="16"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 16 16",fill:"none",children:e.jsx("path",{d:"M3.75 7.25C3.33579 7.25 3 7.58579 3 8C3 8.41421 3.33579 8.75 3.75 8.75L12.25 8.75C12.6642 8.75 13 8.41421 13 8C13 7.58579 12.6642 7.25 12.25 7.25H3.75Z",fill:t})}),F=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{width:r,height:o,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M3.10526 2.28868C2.85362 2.25302 2.60104 2.34722 2.43421 2.53895C2.26738 2.73068 2.209 2.99386 2.27911 3.23815L3.69276 8.16402C3.87733 8.80713 4.4655 9.25024 5.13456 9.25024H11.25C11.6642 9.25024 12 9.58603 12 10.0002C12 10.4145 11.6642 10.7502 11.25 10.7502H5.13457C4.4655 10.7502 3.87733 11.1934 3.69277 11.8365L2.27911 16.7624C2.209 17.0067 2.26738 17.2698 2.43421 17.4616C2.60104 17.6533 2.85362 17.7475 3.10526 17.7118C8.94303 16.8844 14.221 14.319 18.3983 10.5576C18.5563 10.4154 18.6465 10.2128 18.6465 10.0003C18.6465 9.7877 18.5563 9.58513 18.3983 9.4429C14.221 5.68154 8.94303 3.1161 3.10526 2.28868Z",fill:t})}),X=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M2.69533 14.7623L1.43355 17.9168C1.27028 18.3249 1.67532 18.73 2.08348 18.5667L5.23795 17.3049C5.74091 17.1037 6.19777 16.8025 6.58081 16.4194L17.5 5.50072C18.3284 4.67229 18.3284 3.32914 17.5 2.50072C16.6716 1.67229 15.3284 1.67229 14.5 2.50071L3.58081 13.4194C3.19777 13.8025 2.89652 14.2593 2.69533 14.7623Z",fill:t})}),q=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:[e.jsx("path",{d:"M12 8.99908C11.7348 8.99908 11.4804 8.89372 11.2929 8.70618C11.1054 8.51865 11 8.26429 11 7.99908V2.99908C11 2.44708 11.45 1.99208 11.997 2.06908C13.4939 2.28487 14.8808 2.97941 15.9502 4.04884C17.0197 5.11828 17.7142 6.50515 17.93 8.00208C18.008 8.54908 17.552 8.99908 17 8.99908H12Z",fill:t}),e.jsx("path",{d:"M8.003 4.07083C8.55 3.99483 9 4.44982 9 5.00082V10.0008C9 10.266 9.10536 10.5204 9.29289 10.7079C9.48043 10.8955 9.73478 11.0008 10 11.0008H15C15.552 11.0008 16.008 11.4508 15.93 11.9978C15.6769 13.7491 14.77 15.3396 13.3918 16.4494C12.0135 17.5591 10.2662 18.1058 8.5012 17.9795C6.73622 17.8532 5.08455 17.0632 3.87841 15.7685C2.67226 14.4737 2.00113 12.7703 2 11.0008C2.00009 9.31693 2.60701 7.68946 3.70953 6.41668C4.81205 5.1439 6.33633 4.31107 8.003 4.07083Z",fill:t})]}),Q=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.157 2.17646C7.78976 2.02451 7.37724 2.02451 7.01 2.17646L2.926 3.86646C2.65219 3.97987 2.41812 4.17185 2.25331 4.41817C2.08851 4.66448 2.00036 4.9541 2 5.25046V16.1275C1.99997 16.3742 2.06079 16.617 2.17705 16.8346C2.29332 17.0522 2.46146 17.2377 2.66656 17.3748C2.87167 17.5118 3.10741 17.5962 3.35291 17.6204C3.59841 17.6446 3.84609 17.6079 4.074 17.5135L7.584 16.0615L11.844 17.8235C12.2109 17.9751 12.6231 17.9751 12.99 17.8235L17.073 16.1335C17.3468 16.0203 17.581 15.8285 17.746 15.5824C17.911 15.3363 17.9994 15.0468 18 14.7505V3.87246C18 3.6259 17.9391 3.38315 17.8229 3.1657C17.7067 2.94824 17.5387 2.76278 17.3337 2.62574C17.1287 2.4887 16.8932 2.4043 16.6478 2.38001C16.4024 2.35571 16.1549 2.39228 15.927 2.48646L12.417 3.93846L8.157 2.17646ZM7.58 5.00046C7.77891 5.00046 7.96968 5.07948 8.11033 5.22013C8.25098 5.36079 8.33 5.55155 8.33 5.75046V12.2505C8.33 12.4494 8.25098 12.6401 8.11033 12.7808C7.96968 12.9214 7.77891 13.0005 7.58 13.0005C7.38109 13.0005 7.19032 12.9214 7.04967 12.7808C6.90902 12.6401 6.83 12.4494 6.83 12.2505V5.75046C6.83 5.55155 6.90902 5.36079 7.04967 5.22013C7.19032 5.07948 7.38109 5.00046 7.58 5.00046ZM13.17 7.75046C13.17 7.55155 13.091 7.36079 12.9503 7.22013C12.8097 7.07948 12.6189 7.00046 12.42 7.00046C12.2211 7.00046 12.0303 7.07948 11.8897 7.22013C11.749 7.36079 11.67 7.55155 11.67 7.75046V14.2505C11.67 14.4494 11.749 14.6401 11.8897 14.7808C12.0303 14.9214 12.2211 15.0005 12.42 15.0005C12.6189 15.0005 12.8097 14.9214 12.9503 14.7808C13.091 14.6401 13.17 14.4494 13.17 14.2505V7.75046Z",fill:t})}),J=({fill:t="currentColor",width:r="16",height:o="16"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 16 16",fill:"none",children:e.jsx("path",{d:"M8.75 3.75C8.75 3.33579 8.41421 3 8 3C7.58579 3 7.25 3.33579 7.25 3.75V7.25H3.75C3.33579 7.25 3 7.58579 3 8C3 8.41421 3.33579 8.75 3.75 8.75L7.25 8.75V12.25C7.25 12.6642 7.58579 13 8 13C8.41421 13 8.75 12.6642 8.75 12.25V8.75L12.25 8.75C12.6642 8.75 13 8.41421 13 8C13 7.58579 12.6642 7.25 12.25 7.25H8.75V3.75Z",fill:t})}),ee=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M10.0036 8C10.7993 8 11.5623 7.68393 12.1249 7.12132C12.6875 6.55871 13.0036 5.79565 13.0036 5C13.0036 4.20435 12.6875 3.44129 12.1249 2.87868C11.5623 2.31607 10.7993 2 10.0036 2C9.20797 2 8.44491 2.31607 7.8823 2.87868C7.31969 3.44129 7.00362 4.20435 7.00362 5C7.00362 5.79565 7.31969 6.55871 7.8823 7.12132C8.44491 7.68393 9.20797 8 10.0036 8ZM3.46862 14.493C3.37578 14.7411 3.36554 15.0126 3.43941 15.267C3.51329 15.5214 3.66733 15.7452 3.87862 15.905C5.62995 17.266 7.7856 18.0034 10.0036 18C12.3136 18 14.4416 17.216 16.1346 15.9C16.5646 15.567 16.7386 14.997 16.5426 14.49C16.0349 13.168 15.1382 12.0311 13.9709 11.2292C12.8037 10.4274 11.4207 9.99829 10.0046 9.99861C8.58845 9.99894 7.20569 10.4287 6.03881 11.231C4.87193 12.0334 3.97578 13.1708 3.46862 14.493Z",fill:t})}),te=({fill:t="currentColor",width:r="16",height:o="16"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 16 16",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1C11.866 1 15 4.13401 15 8ZM9 11.5C9 12.0523 8.55228 12.5 8 12.5C7.44772 12.5 7 12.0523 7 11.5C7 10.9477 7.44772 10.5 8 10.5C8.55228 10.5 9 10.9477 9 11.5ZM7.29303 5.29289C7.68355 4.90237 8.31671 4.90237 8.70724 5.29289C9.09776 5.68342 9.09776 6.31658 8.70724 6.70711C8.58354 6.83081 8.43743 6.91429 8.2827 6.95959C7.82404 7.09387 7.25013 7.52576 7.25013 8.25V8.50022C7.25013 8.91444 7.58592 9.25022 8.00013 9.25022C8.41435 9.25022 8.75013 8.91444 8.75013 8.50022V8.38522C9.12313 8.26818 9.47391 8.06176 9.7679 7.76777C10.7442 6.79146 10.7442 5.20854 9.7679 4.23223C8.79159 3.25592 7.20868 3.25592 6.23237 4.23223C5.93947 4.52513 5.93947 5 6.23237 5.29289C6.52526 5.58579 7.00013 5.58579 7.29303 5.29289Z",fill:t})}),re=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.60597 12.9691C4.85946 13.2967 4.79938 13.7678 4.47179 14.0213C3.87925 14.4798 3.5 15.1954 3.5 16C3.5 16.1569 3.51437 16.31 3.54177 16.4582C3.68996 16.4856 3.84307 16.5 4 16.5C4.80458 16.5 5.52023 16.1208 5.97873 15.5282C6.23222 15.2006 6.70328 15.1405 7.03087 15.394C7.35846 15.6475 7.41854 16.1186 7.16505 16.4462C6.4347 17.39 5.2884 18 4 18C3.54003 18 3.09667 17.9221 2.6834 17.778C2.46722 17.7027 2.29728 17.5328 2.22195 17.3166C2.07794 16.9033 2 16.46 2 16C2 14.7116 2.60997 13.5653 3.55383 12.835C3.88142 12.5815 4.35248 12.6415 4.60597 12.9691Z",fill:t}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.75236 12C6.40714 12.8376 7.16237 13.5929 8 14.2476V18.25C8 18.6642 8.33579 19 8.75 19C11.5114 19 13.75 16.7614 13.75 14C13.75 13.5097 13.6792 13.035 13.5471 12.5861C16.8467 10.2297 19 6.36651 19 2C19 1.91234 18.9991 1.82486 18.9974 1.73759C18.9894 1.33502 18.665 1.01058 18.2624 1.0026C18.1751 1.00087 18.0877 1 18 1C13.6335 1 9.77032 3.15331 7.41387 6.45291C6.96496 6.32078 6.49028 6.25 6 6.25C3.23858 6.25 1 8.48858 1 11.25C1 11.6642 1.33579 12 1.75 12H5.75236ZM13 9C14.1046 9 15 8.10457 15 7C15 5.89543 14.1046 5 13 5C11.8954 5 11 5.89543 11 7C11 8.10457 11.8954 9 13 9Z",fill:t})]}),oe=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsxs("svg",{width:r,height:o,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M9 16C12.866 16 16 12.866 16 9C16 5.13401 12.866 2 9 2C5.13401 2 2 5.13401 2 9C2 12.866 5.13401 16 9 16Z",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M18 18L14 14",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),ie=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:[e.jsx("path",{d:"M8 10C8 9.60218 8.15804 9.22064 8.43934 8.93934C8.72064 8.65804 9.10218 8.5 9.5 8.5C9.89782 8.5 10.2794 8.65804 10.5607 8.93934C10.842 9.22064 11 9.60218 11 10C11 10.3978 10.842 10.7794 10.5607 11.0607C10.2794 11.342 9.89782 11.5 9.5 11.5C9.10218 11.5 8.72064 11.342 8.43934 11.0607C8.15804 10.7794 8 10.3978 8 10Z",fill:t}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 2C4.10218 2 3.72064 2.15804 3.43934 2.43934C3.15804 2.72065 3 3.10218 3 3.5V16.5C3 16.8978 3.15804 17.2794 3.43934 17.5607C3.72064 17.842 4.10218 18 4.5 18H15.5C15.8978 18 16.2794 17.842 16.5607 17.5607C16.842 17.2794 17 16.8978 17 16.5V7.621C16.9997 7.22331 16.8414 6.84204 16.56 6.561L12.44 2.439C12.3005 2.29961 12.1349 2.1891 11.9527 2.11377C11.7705 2.03844 11.5752 1.99978 11.378 2H4.5ZM9.5 7C9.03881 7.00024 8.58388 7.10681 8.17056 7.31143C7.75725 7.51605 7.39667 7.8132 7.11685 8.17981C6.83703 8.54641 6.64551 8.9726 6.55715 9.42525C6.46879 9.8779 6.48598 10.3448 6.60739 10.7897C6.7288 11.2347 6.95116 11.6456 7.25718 11.9906C7.5632 12.3357 7.94466 12.6055 8.3719 12.7792C8.79915 12.9528 9.26068 13.0257 9.72064 12.992C10.1806 12.9583 10.6266 12.819 11.024 12.585L12.22 13.78C12.2887 13.8537 12.3715 13.9128 12.4635 13.9538C12.5555 13.9948 12.6548 14.0168 12.7555 14.0186C12.8562 14.0204 12.9562 14.0018 13.0496 13.9641C13.143 13.9264 13.2278 13.8703 13.299 13.799C13.3703 13.7278 13.4264 13.643 13.4641 13.5496C13.5018 13.4562 13.5204 13.3562 13.5186 13.2555C13.5168 13.1548 13.4948 13.0555 13.4538 12.9635C13.4128 12.8715 13.3537 12.7887 13.28 12.72L12.085 11.524C12.3538 11.0683 12.4972 10.5496 12.5009 10.0206C12.5045 9.49158 12.3682 8.97099 12.1057 8.51165C11.8432 8.0523 11.464 7.67053 11.0063 7.40506C10.5487 7.13958 10.029 6.99984 9.5 7Z",fill:t})]}),ne=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:[e.jsx("path",{d:"M6.5 9C6.5 8.33696 6.76339 7.70107 7.23223 7.23223C7.70107 6.76339 8.33696 6.5 9 6.5C9.66304 6.5 10.2989 6.76339 10.7678 7.23223C11.2366 7.70107 11.5 8.33696 11.5 9C11.5 9.66304 11.2366 10.2989 10.7678 10.7678C10.2989 11.2366 9.66304 11.5 9 11.5C8.33696 11.5 7.70107 11.2366 7.23223 10.7678C6.76339 10.2989 6.5 9.66304 6.5 9Z",fill:t}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 18C12.1217 18 14.1566 17.1571 15.6569 15.6569C17.1571 14.1566 18 12.1217 18 10C18 7.87827 17.1571 5.84344 15.6569 4.34315C14.1566 2.84285 12.1217 2 10 2C7.87827 2 5.84344 2.84285 4.34315 4.34315C2.84285 5.84344 2 7.87827 2 10C2 12.1217 2.84285 14.1566 4.34315 15.6569C5.84344 17.1571 7.87827 18 10 18ZM9 5C8.37415 5.0001 7.75705 5.14706 7.19833 5.42906C6.63961 5.71106 6.15485 6.12023 5.78304 6.62367C5.41124 7.12711 5.16275 7.71077 5.05756 8.32773C4.95238 8.94468 4.99343 9.5777 5.17741 10.1759C5.3614 10.7741 5.68319 11.3208 6.1169 11.772C6.55061 12.2232 7.08415 12.5663 7.67462 12.7738C8.26508 12.9813 8.89599 13.0473 9.51661 12.9666C10.1372 12.8859 10.7303 12.6606 11.248 12.309L12.72 13.78C12.7887 13.8537 12.8715 13.9128 12.9635 13.9538C13.0555 13.9948 13.1548 14.0168 13.2555 14.0186C13.3562 14.0204 13.4562 14.0018 13.5496 13.9641C13.643 13.9264 13.7278 13.8703 13.799 13.799C13.8703 13.7278 13.9264 13.643 13.9641 13.5496C14.0018 13.4562 14.0204 13.3562 14.0186 13.2555C14.0168 13.1548 13.9948 13.0555 13.9538 12.9635C13.9128 12.8715 13.8537 12.7887 13.78 12.72L12.309 11.248C12.7176 10.6467 12.9546 9.94532 12.9944 9.21939C13.0343 8.49346 12.8756 7.77039 12.5353 7.1279C12.195 6.48542 11.6861 5.94782 11.0632 5.5729C10.4403 5.19798 9.72702 4.99992 9 5Z",fill:t})]}),ae=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 14 16",fill:"none",children:[e.jsx("path",{d:"M7 5V8",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M3 11V9C3 8.4477 3.4477 8 4 8H10C10.5523 8 11 8.4477 11 9V11",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M7 5C8.10457 5 9 4.10457 9 3C9 1.89543 8.10457 1 7 1C5.89543 1 5 1.89543 5 3C5 4.10457 5.89543 5 7 5Z",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M3 15C4.10457 15 5 14.1046 5 13C5 11.8954 4.10457 11 3 11C1.89543 11 1 11.8954 1 13C1 14.1046 1.89543 15 3 15Z",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M11 15C12.1046 15 13 14.1046 13 13C13 11.8954 12.1046 11 11 11C9.89543 11 9 11.8954 9 13C9 14.1046 9.89543 15 11 15Z",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),se=({fill:t="currentColor",width:r="21",height:o="21"})=>e.jsxs("svg",{width:r,height:o,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M22.392 10.5705C21.693 5.4495 17.313 1.5 12 1.5C6.201 1.5 1.5 6.201 1.5 12C1.5 14.064 2.1045 15.9825 3.132 17.6055L1.5 22.5L6.3945 20.868C7.6395 21.657 9.06 22.188 10.584 22.3965",stroke:t,strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M17.625 12.75L18.75 16.5L22.5 17.625L18.75 18.75L17.625 22.5L16.5 18.75L12.75 17.625L16.5 16.5L17.625 12.75Z",fill:t,stroke:t,strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})]}),le=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 14 14",fill:"none",children:[e.jsx("path",{d:"M13 1H1",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M7 13V1",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),ce=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M11.2502 1C12.769 1 14.0002 2.23122 14.0002 3.75V4.19238C14.7954 4.26939 15.5841 4.3694 16.3655 4.49121C16.7747 4.555 17.0551 4.93847 16.9914 5.34766C16.9276 5.75685 16.5442 6.0373 16.135 5.97363C16.0856 5.96593 16.036 5.95771 15.9865 5.9502L15.1448 16.4697C15.0302 17.8987 13.8371 19 12.4035 19H7.5969C6.16331 19 4.97024 17.8987 4.85569 16.4697L4.01389 5.9502C3.96456 5.9577 3.91473 5.96595 3.86545 5.97363C3.45635 6.03717 3.07279 5.75678 3.00901 5.34766C2.94536 4.93848 3.2258 4.555 3.63499 4.49121C4.41637 4.3694 5.205 4.2694 6.00022 4.19238V3.75C6.00022 2.23122 7.23144 1 8.75022 1H11.2502ZM7.80002 7.00098C7.41217 7.01665 7.10455 7.32382 7.08127 7.70312V7.78027L7.38108 15.2803C7.39779 15.694 7.74659 16.0156 8.16038 15.999C8.57421 15.9824 8.89666 15.6336 8.8801 15.2197L8.57932 7.71973L8.57249 7.64355C8.51897 7.26722 8.18803 6.98546 7.80002 7.00098ZM12.2004 7.00098C11.7866 6.98443 11.4378 7.30599 11.4211 7.71973L11.1213 15.2197C11.1048 15.6335 11.4263 15.9823 11.8401 15.999C12.2538 16.0156 12.6026 15.694 12.6194 15.2803L12.9201 7.78027C12.9367 7.36644 12.6142 7.01761 12.2004 7.00098ZM8.75022 2.5C8.05986 2.5 7.50022 3.05964 7.50022 3.75V4.0752C8.32725 4.02543 9.16083 4 10.0002 4C10.8396 4 11.6732 4.02544 12.5002 4.0752V3.75C12.5002 3.05964 11.9406 2.5 11.2502 2.5H8.75022Z",fill:t})}),de=({fill:t="currentColor",width:r="16",height:o="16"})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 16 16",fill:"none",children:[e.jsx("path",{d:"M3.75 2C2.7835 2 2 2.7835 2 3.75V5.25C2 5.66421 2.33579 6 2.75 6C3.16421 6 3.5 5.66421 3.5 5.25V3.75C3.5 3.61193 3.61193 3.5 3.75 3.5H5.25C5.66421 3.5 6 3.16421 6 2.75C6 2.33579 5.66421 2 5.25 2H3.75Z",fill:t}),e.jsx("path",{d:"M10.75 2C10.3358 2 10 2.33579 10 2.75C10 3.16421 10.3358 3.5 10.75 3.5H12.25C12.3881 3.5 12.5 3.61193 12.5 3.75V5.25C12.5 5.66421 12.8358 6 13.25 6C13.6642 6 14 5.66421 14 5.25V3.75C14 2.7835 13.2165 2 12.25 2H10.75Z",fill:t}),e.jsx("path",{d:"M3.5 10.75C3.5 10.3358 3.16421 10 2.75 10C2.33579 10 2 10.3358 2 10.75V12.25C2 13.2165 2.7835 14 3.75 14H5.25C5.66421 14 6 13.6642 6 13.25C6 12.8358 5.66421 12.5 5.25 12.5H3.75C3.61193 12.5 3.5 12.3881 3.5 12.25V10.75Z",fill:t}),e.jsx("path",{d:"M14 10.75C14 10.3358 13.6642 10 13.25 10C12.8358 10 12.5 10.3358 12.5 10.75V12.25C12.5 12.3881 12.3881 12.5 12.25 12.5H10.75C10.3358 12.5 10 12.8358 10 13.25C10 13.6642 10.3358 14 10.75 14H12.25C13.2165 14 14 13.2165 14 12.25V10.75Z",fill:t}),e.jsx("path",{d:"M8 10C9.10457 10 10 9.10457 10 8C10 6.89543 9.10457 6 8 6C6.89543 6 6 6.89543 6 8C6 9.10457 6.89543 10 8 10Z",fill:t})]});var he;exports.IconName=void 0,(he=exports.IconName||(exports.IconName={})).BARS_3_BOTTOM_LEFT="bars-3-bottom-left",he.BUILDING="building",he.BULK_CHECK="bulk-check",he.CHECK="check",he.CHECK_CIRCLE="check-circle",he.CHECK_SQUARE="check-square",he.CHEVRON_DOWN="chevron-down",he.CLOSE="close",he.CODE="code",he.COMPUTER="computer",he.COPY="copy",he.CUBE="cube",he.DATABASE="database",he.EXCLAMATION_CIRCLE="exclamation-circle",he.EXCLAMATION_TRIANGLE="exclamation-triangle",he.GEAR="gear",he.GLobe="globe",he.HASHTAG="hashtag",he.HOME="home",he.INBOX="inbox",he.INFORMATION_CIRCLE="information-circle",he.INFORMATION_CIRCLE_MICRO="information-circle-micro",he.LAMP="lamp",he.LOCK_OPEN="lock-open",he.MINUS="minus",he.PAPER_PLANE="paper-plane",he.PENCIL="pencil",he.PIE_CHART="pie-chart",he.PIPELINE="pipeline",he.PLUS="plus",he.PROFILE="profile",he.QUESTION_CIRCLE="question-circle",he.ROCKET_LAUNCH="rocket-launch",he.SEARCH="search",he.SEARCH_DOCUMENT="search-document",he.SEARCH_SQL="search-sql",he.SITEMAP="sitemap",he.TETRASCIENCE_ICON="tetrascience-icon",he.TEXT="text",he.TRASH="trash",he.VIEWFINDER_CIRCLE="viewfinder-circle";const pe=t=>{let r=null;const{name:o}=t;switch(o){case exports.IconName.BARS_3_BOTTOM_LEFT:r=e.jsx(j,{...t});break;case exports.IconName.BUILDING:r=e.jsx(M,{...t});break;case exports.IconName.BULK_CHECK:r=e.jsx(L,{...t});break;case exports.IconName.CHECK:r=e.jsx(E,{...t});break;case exports.IconName.CHECK_CIRCLE:r=e.jsx(I,{...t});break;case exports.IconName.CHECK_SQUARE:r=e.jsx(N,{...t});break;case exports.IconName.CHEVRON_DOWN:r=e.jsx(A,{...t});break;case exports.IconName.CLOSE:r=e.jsx(_,{...t});break;case exports.IconName.CODE:r=e.jsx($,{...t});break;case exports.IconName.COMPUTER:r=e.jsx(R,{...t});break;case exports.IconName.COPY:r=e.jsx(T,{...t});break;case exports.IconName.CUBE:r=e.jsx(S,{...t});break;case exports.IconName.DATABASE:r=e.jsx(z,{...t});break;case exports.IconName.EXCLAMATION_CIRCLE:r=e.jsx(B,{...t});break;case exports.IconName.EXCLAMATION_TRIANGLE:r=e.jsx(H,{...t});break;case exports.IconName.GEAR:r=e.jsx(P,{...t});break;case exports.IconName.GLobe:r=e.jsx(O,{...t});break;case exports.IconName.HASHTAG:r=e.jsx(V,{...t});break;case exports.IconName.HOME:r=e.jsx(D,{...t});break;case exports.IconName.INBOX:r=e.jsx(U,{...t});break;case exports.IconName.INFORMATION_CIRCLE:r=e.jsx(G,{...t});break;case exports.IconName.INFORMATION_CIRCLE_MICRO:r=e.jsx(K,{...t});break;case exports.IconName.LAMP:r=e.jsx(Z,{...t});break;case exports.IconName.LOCK_OPEN:r=e.jsx(W,{...t});break;case exports.IconName.MINUS:r=e.jsx(Y,{...t});break;case exports.IconName.PAPER_PLANE:r=e.jsx(F,{...t});break;case exports.IconName.PENCIL:r=e.jsx(X,{...t});break;case exports.IconName.PIE_CHART:r=e.jsx(q,{...t});break;case exports.IconName.PIPELINE:r=e.jsx(Q,{...t});break;case exports.IconName.PLUS:r=e.jsx(J,{...t});break;case exports.IconName.PROFILE:r=e.jsx(ee,{...t});break;case exports.IconName.QUESTION_CIRCLE:r=e.jsx(te,{...t});break;case exports.IconName.ROCKET_LAUNCH:r=e.jsx(re,{...t});break;case exports.IconName.SEARCH:r=e.jsx(oe,{...t});break;case exports.IconName.SEARCH_DOCUMENT:r=e.jsx(ie,{...t});break;case exports.IconName.SEARCH_SQL:r=e.jsx(ne,{...t});break;case exports.IconName.SITEMAP:r=e.jsx(ae,{...t});break;case exports.IconName.TETRASCIENCE_ICON:r=e.jsx(se,{...t});break;case exports.IconName.TEXT:r=e.jsx(le,{...t});break;case exports.IconName.TRASH:r=e.jsx(ce,{...t});break;case exports.IconName.VIEWFINDER_CIRCLE:r=e.jsx(de,{...t});break;default:throw`[Icon] name "${o}" does not exist`}return e.jsx("div",{style:{display:"inline-flex"},children:r})},xe=t.label`
204
+ `,j=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4.75C2 4.33579 2.33579 4 2.75 4H17.25C17.6642 4 18 4.33579 18 4.75C18 5.16421 17.6642 5.5 17.25 5.5H2.75C2.33579 5.5 2 5.16421 2 4.75ZM2 15.25C2 14.8358 2.33579 14.5 2.75 14.5H10.25C10.6642 14.5 11 14.8358 11 15.25C11 15.6642 10.6642 16 10.25 16H2.75C2.33579 16 2 15.6642 2 15.25Z",fill:t}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 10C2 9.58579 2.33579 9.25 2.75 9.25H17.25C17.6642 9.25 18 9.58579 18 10C18 10.4142 17.6642 10.75 17.25 10.75H2.75C2.33579 10.75 2 10.4142 2 10Z",fill:t})]}),M=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 16.5V3.5H3.75C3.55109 3.5 3.36032 3.42098 3.21967 3.28033C3.07902 3.13968 3 2.94891 3 2.75C3 2.55109 3.07902 2.36032 3.21967 2.21967C3.36032 2.07902 3.55109 2 3.75 2H16.25C16.4489 2 16.6397 2.07902 16.7803 2.21967C16.921 2.36032 17 2.55109 17 2.75C17 2.94891 16.921 3.13968 16.7803 3.28033C16.6397 3.42098 16.4489 3.5 16.25 3.5H16V16.5H16.25C16.4489 16.5 16.6397 16.579 16.7803 16.7197C16.921 16.8603 17 17.0511 17 17.25C17 17.4489 16.921 17.6397 16.7803 17.7803C16.6397 17.921 16.4489 18 16.25 18H12.75C12.5511 18 12.3603 17.921 12.2197 17.7803C12.079 17.6397 12 17.4489 12 17.25V14.75C12 14.5511 11.921 14.3603 11.7803 14.2197C11.6397 14.079 11.4489 14 11.25 14H8.75C8.55109 14 8.36032 14.079 8.21967 14.2197C8.07902 14.3603 8 14.5511 8 14.75V17.25C8 17.4489 7.92098 17.6397 7.78033 17.7803C7.63968 17.921 7.44891 18 7.25 18H3.75C3.55109 18 3.36032 17.921 3.21967 17.7803C3.07902 17.6397 3 17.4489 3 17.25C3 17.0511 3.07902 16.8603 3.21967 16.7197C3.36032 16.579 3.55109 16.5 3.75 16.5H4ZM7 5.5C7 5.36739 7.05268 5.24021 7.14645 5.14645C7.24021 5.05268 7.36739 5 7.5 5H8.5C8.63261 5 8.75979 5.05268 8.85355 5.14645C8.94732 5.24021 9 5.36739 9 5.5V6.5C9 6.63261 8.94732 6.75979 8.85355 6.85355C8.75979 6.94732 8.63261 7 8.5 7H7.5C7.36739 7 7.24021 6.94732 7.14645 6.85355C7.05268 6.75979 7 6.63261 7 6.5V5.5ZM7.5 9C7.36739 9 7.24021 9.05268 7.14645 9.14645C7.05268 9.24021 7 9.36739 7 9.5V10.5C7 10.6326 7.05268 10.7598 7.14645 10.8536C7.24021 10.9473 7.36739 11 7.5 11H8.5C8.63261 11 8.75979 10.9473 8.85355 10.8536C8.94732 10.7598 9 10.6326 9 10.5V9.5C9 9.36739 8.94732 9.24021 8.85355 9.14645C8.75979 9.05268 8.63261 9 8.5 9H7.5ZM11 5.5C11 5.36739 11.0527 5.24021 11.1464 5.14645C11.2402 5.05268 11.3674 5 11.5 5H12.5C12.6326 5 12.7598 5.05268 12.8536 5.14645C12.9473 5.24021 13 5.36739 13 5.5V6.5C13 6.63261 12.9473 6.75979 12.8536 6.85355C12.7598 6.94732 12.6326 7 12.5 7H11.5C11.3674 7 11.2402 6.94732 11.1464 6.85355C11.0527 6.75979 11 6.63261 11 6.5V5.5ZM11.5 9C11.3674 9 11.2402 9.05268 11.1464 9.14645C11.0527 9.24021 11 9.36739 11 9.5V10.5C11 10.6326 11.0527 10.7598 11.1464 10.8536C11.2402 10.9473 11.3674 11 11.5 11H12.5C12.6326 11 12.7598 10.9473 12.8536 10.8536C12.9473 10.7598 13 10.6326 13 10.5V9.5C13 9.36739 12.9473 9.24021 12.8536 9.14645C12.7598 9.05268 12.6326 9 12.5 9H11.5Z",fill:t})}),L=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.997 5.25C17.9972 4.69436 17.7917 4.15832 17.4202 3.74512C17.0488 3.33191 16.5375 3.07077 15.985 3.012C15.9262 2.45948 15.6651 1.94825 15.2519 1.57677C14.8387 1.20529 14.3026 0.999846 13.747 1H12.247C11.6914 0.999846 11.1553 1.20529 10.7421 1.57677C10.3289 1.94825 10.0678 2.45948 10.009 3.012C9.134 3.104 8.409 3.698 8.125 4.5H10.997C11.66 4.5 12.2959 4.76339 12.7648 5.23223C13.2336 5.70107 13.497 6.33696 13.497 7V14H15.747C16.3437 14 16.916 13.7629 17.338 13.341C17.7599 12.919 17.997 12.3467 17.997 11.75V5.25ZM12.247 2.5C12.0481 2.5 11.8573 2.57902 11.7167 2.71967C11.576 2.86032 11.497 3.05109 11.497 3.25V3.5H14.497V3.25C14.497 3.05109 14.418 2.86032 14.2773 2.71967C14.1367 2.57902 13.9459 2.5 13.747 2.5H12.247Z",fill:t}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 6C2.73478 6 2.48043 6.10536 2.29289 6.29289C2.10536 6.48043 2 6.73478 2 7V17C2 17.2652 2.10536 17.5196 2.29289 17.7071C2.48043 17.8946 2.73478 18 3 18H11C11.2652 18 11.5196 17.8946 11.7071 17.7071C11.8946 17.5196 12 17.2652 12 17V7C12 6.73478 11.8946 6.48043 11.7071 6.29289C11.5196 6.10536 11.2652 6 11 6H3ZM9.874 10.166C9.92992 10.0841 9.96904 9.99189 9.98909 9.89475C10.0091 9.79761 10.0097 9.69746 9.99081 9.6001C9.97189 9.50273 9.93385 9.41009 9.87889 9.32752C9.82392 9.24496 9.75313 9.17412 9.6706 9.1191C9.58807 9.06408 9.49545 9.02598 9.3981 9.007C9.30075 8.98802 9.2006 8.98854 9.10345 9.00852C9.0063 9.02851 8.91407 9.06757 8.83212 9.12344C8.75017 9.1793 8.68011 9.25087 8.626 9.334L6.133 13.073L5.28 12.22C5.13783 12.0875 4.94978 12.0154 4.75548 12.0188C4.56118 12.0223 4.37579 12.101 4.23838 12.2384C4.10097 12.3758 4.02225 12.5612 4.01883 12.7555C4.0154 12.9498 4.08752 13.1378 4.22 13.28L5.72 14.78C5.79844 14.8584 5.8933 14.9184 5.99773 14.9558C6.10217 14.9931 6.21359 15.0068 6.32396 14.9959C6.43434 14.985 6.54092 14.9498 6.63603 14.8927C6.73114 14.8357 6.81242 14.7582 6.874 14.666L9.874 10.166Z",fill:t})]}),E=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.7045 4.15347C17.034 4.4045 17.0976 4.87509 16.8466 5.20457L8.84657 15.7046C8.71541 15.8767 8.51627 15.9838 8.30033 15.9983C8.08439 16.0129 7.87271 15.9334 7.71967 15.7804L3.21967 11.2804C2.92678 10.9875 2.92678 10.5126 3.21967 10.2197C3.51256 9.92682 3.98744 9.92682 4.28033 10.2197L8.17351 14.1129L15.6534 4.29551C15.9045 3.96603 16.3751 3.90243 16.7045 4.15347Z",fill:t})}),I=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18ZM13.8566 8.19113C14.1002 7.85614 14.0261 7.38708 13.6911 7.14345C13.3561 6.89982 12.8871 6.97388 12.6434 7.30887L9.15969 12.099L7.28033 10.2197C6.98744 9.92678 6.51256 9.92678 6.21967 10.2197C5.92678 10.5126 5.92678 10.9874 6.21967 11.2803L8.71967 13.7803C8.87477 13.9354 9.08999 14.0149 9.30867 13.9977C9.52734 13.9805 9.72754 13.8685 9.85655 13.6911L13.8566 8.19113Z",fill:t})}),N=({fill:t="currentColor",width:r="16",height:o="16"})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 16 16",fill:"none",children:[e.jsx("path",{d:"M11.2016 1.59961H4.80156C3.03676 1.59961 1.60156 3.03481 1.60156 4.79961V11.1996C1.60156 12.9644 3.03676 14.3996 4.80156 14.3996H11.2016C12.9664 14.3996 14.4016 12.9644 14.4016 11.1996V4.79961C14.4016 3.03481 12.9664 1.59961 11.2016 1.59961Z",fill:t}),e.jsx("path",{d:"M7.63305 10.8968L11.4331 6.09685C11.7075 5.75045 11.6491 5.24725 11.3027 4.97285C10.9555 4.69925 10.4531 4.75845 10.1787 5.10405L6.96665 9.16085L5.80025 7.86485C5.50425 7.53685 4.99945 7.50965 4.67065 7.80565C4.34265 8.10085 4.31625 8.60645 4.61145 8.93525L6.41145 10.9352C6.56265 11.104 6.77945 11.2 7.00585 11.2H7.03065C7.26665 11.1928 7.48665 11.0816 7.63305 10.8968Z",fill:"white"})]}),A=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{width:r,height:o,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.21967 8.21967C5.51256 7.92678 5.98744 7.92678 6.28033 8.21967L10 11.9393L13.7197 8.21967C14.0126 7.92678 14.4874 7.92678 14.7803 8.21967C15.0732 8.51256 15.0732 8.98744 14.7803 9.28033L10.5303 13.5303C10.3897 13.671 10.1989 13.75 10 13.75C9.80109 13.75 9.61032 13.671 9.46967 13.5303L5.21967 9.28033C4.92678 8.98744 4.92678 8.51256 5.21967 8.21967Z",fill:t})}),_=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M3.75 3.75L16.25 16.25M16.25 3.75L3.75 16.25",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),$=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.25 2C3.65326 2 3.08097 2.23705 2.65901 2.65901C2.23705 3.08097 2 3.65326 2 4.25V15.75C2 16.3467 2.23705 16.919 2.65901 17.341C3.08097 17.7629 3.65326 18 4.25 18H15.75C16.3467 18 16.919 17.7629 17.341 17.341C17.7629 16.919 18 16.3467 18 15.75V4.25C18 3.65326 17.7629 3.08097 17.341 2.65901C16.919 2.23705 16.3467 2 15.75 2H4.25ZM8.28 8.28C8.41248 8.13783 8.4846 7.94978 8.48118 7.75548C8.47775 7.56118 8.39903 7.37579 8.26162 7.23838C8.12421 7.10097 7.93882 7.02225 7.74452 7.01883C7.55022 7.0154 7.36217 7.08752 7.22 7.22L4.97 9.47C4.82955 9.61063 4.75066 9.80125 4.75066 10C4.75066 10.1988 4.82955 10.3894 4.97 10.53L7.22 12.78C7.36217 12.9125 7.55022 12.9846 7.74452 12.9812C7.93882 12.9777 8.12421 12.899 8.26162 12.7616C8.39903 12.6242 8.47775 12.4388 8.48118 12.2445C8.4846 12.0502 8.41248 11.8622 8.28 11.72L6.56 10L8.28 8.28ZM12.78 7.22C12.7113 7.14631 12.6285 7.08721 12.5365 7.04622C12.4445 7.00523 12.3452 6.98319 12.2445 6.98141C12.1438 6.97963 12.0438 6.99816 11.9504 7.03588C11.857 7.0736 11.7722 7.12974 11.701 7.20096C11.6297 7.27218 11.5736 7.35701 11.5359 7.4504C11.4982 7.54379 11.4796 7.64382 11.4814 7.74452C11.4832 7.84523 11.5052 7.94454 11.5462 8.03654C11.5872 8.12854 11.6463 8.21134 11.72 8.28L13.44 10L11.72 11.72C11.6463 11.7887 11.5872 11.8715 11.5462 11.9635C11.5052 12.0555 11.4832 12.1548 11.4814 12.2555C11.4796 12.3562 11.4982 12.4562 11.5359 12.5496C11.5736 12.643 11.6297 12.7278 11.701 12.799C11.7722 12.8703 11.857 12.9264 11.9504 12.9641C12.0438 13.0018 12.1438 13.0204 12.2445 13.0186C12.3452 13.0168 12.4445 12.9948 12.5365 12.9538C12.6285 12.9128 12.7113 12.8537 12.78 12.78L15.03 10.53C15.1705 10.3894 15.2493 10.1988 15.2493 10C15.2493 9.80125 15.1705 9.61063 15.03 9.47L12.78 7.22Z",fill:t})}),R=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4.25C2 3.65326 2.23705 3.08097 2.65901 2.65901C3.08097 2.23705 3.65326 2 4.25 2H15.75C16.3467 2 16.919 2.23705 17.341 2.65901C17.7629 3.08097 18 3.65326 18 4.25V12.75C18 13.3467 17.7629 13.919 17.341 14.341C16.919 14.7629 16.3467 15 15.75 15H12.645C12.8403 15.6543 13.2226 16.2372 13.745 16.677C13.8625 16.7762 13.9467 16.9092 13.9861 17.0579C14.0255 17.2065 14.0182 17.3637 13.9653 17.5081C13.9123 17.6526 13.8163 17.7772 13.6901 17.8652C13.564 17.9532 13.4138 18.0002 13.26 18H6.74C6.58628 18 6.43627 17.9528 6.31027 17.8647C6.18427 17.7767 6.08838 17.652 6.03557 17.5077C5.98275 17.3633 5.97557 17.2062 6.015 17.0576C6.05443 16.9091 6.13856 16.7762 6.256 16.677C6.77799 16.2371 7.15999 15.6542 7.355 15H4.25C3.65326 15 3.08097 14.7629 2.65901 14.341C2.23705 13.919 2 13.3467 2 12.75V4.25ZM3.5 4.25C3.5 4.05109 3.57902 3.86032 3.71967 3.71967C3.86032 3.57902 4.05109 3.5 4.25 3.5H15.75C15.9489 3.5 16.1397 3.57902 16.2803 3.71967C16.421 3.86032 16.5 4.05109 16.5 4.25V11.75C16.5 11.9489 16.421 12.1397 16.2803 12.2803C16.1397 12.421 15.9489 12.5 15.75 12.5H4.25C4.05109 12.5 3.86032 12.421 3.71967 12.2803C3.57902 12.1397 3.5 11.9489 3.5 11.75V4.25Z",fill:t})}),T=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:[e.jsx("path",{d:"M2 4.25C2 3.00736 3.00736 2 4.25 2H10.75C11.9926 2 13 3.00736 13 4.25V5.5H9.25C7.17893 5.5 5.5 7.17893 5.5 9.25V13H4.25C3.00736 13 2 11.9926 2 10.75V4.25Z",fill:t}),e.jsx("path",{d:"M9.25 7C8.00736 7 7 8.00736 7 9.25V15.75C7 16.9926 8.00736 18 9.25 18H15.75C16.9926 18 18 16.9926 18 15.75V9.25C18 8.00736 16.9926 7 15.75 7H9.25Z",fill:t})]}),S=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M10.362 1.093C10.2511 1.0319 10.1266 0.999851 10 0.999851C9.87341 0.999851 9.74887 1.0319 9.638 1.093L2.523 5.018L10 9.143L17.477 5.018L10.362 1.093ZM18 6.443L10.75 10.443V18.693L17.612 14.907C17.7295 14.8422 17.8275 14.7471 17.8958 14.6315C17.964 14.516 18 14.3842 18 14.25V6.443ZM9.25 18.693V10.443L2 6.443V14.25C1.99997 14.3842 2.03596 14.516 2.10421 14.6315C2.17245 14.7471 2.27046 14.8422 2.388 14.907L9.25 18.693Z",fill:t})}),z=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 1C13.866 1 17 2.79 17 5C17 7.21 13.866 9 10 9C6.134 9 3 7.21 3 5C3 2.79 6.134 1 10 1ZM15.694 9.13C16.158 8.866 16.604 8.547 17 8.178V10C17 12.21 13.866 14 10 14C6.134 14 3 12.21 3 10V8.178C3.396 8.548 3.842 8.866 4.306 9.131C5.838 10.006 7.854 10.5 10 10.5C12.146 10.5 14.162 10.006 15.694 9.13ZM3 13.179V15C3 17.21 6.134 19 10 19C13.866 19 17 17.21 17 15V13.178C16.604 13.548 16.158 13.866 15.694 14.131C14.162 15.006 12.146 15.5 10 15.5C7.854 15.5 5.838 15.006 4.306 14.13C3.83547 13.8644 3.39722 13.5453 3 13.179Z",fill:t})}),B=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10ZM10 5C10.4142 5 10.75 5.33579 10.75 5.75V10.25C10.75 10.6642 10.4142 11 10 11C9.58579 11 9.25 10.6642 9.25 10.25V5.75C9.25 5.33579 9.58579 5 10 5ZM10 15C10.5523 15 11 14.5523 11 14C11 13.4477 10.5523 13 10 13C9.44771 13 9 13.4477 9 14C9 14.5523 9.44771 15 10 15Z",fill:t})}),H=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.4845 2.49499C9.15808 1.32833 10.842 1.32833 11.5156 2.495L17.7943 13.37C18.4678 14.5367 17.6259 15.995 16.2787 15.995H3.72136C2.37421 15.995 1.53224 14.5367 2.20582 13.37L8.4845 2.49499ZM10 5C10.4142 5 10.75 5.33579 10.75 5.75V9.25C10.75 9.66421 10.4142 10 10 10C9.58579 10 9.25 9.66421 9.25 9.25L9.25 5.75C9.25 5.33579 9.58579 5 10 5ZM10 14C10.5523 14 11 13.5523 11 13C11 12.4477 10.5523 12 10 12C9.44772 12 9 12.4477 9 13C9 13.5523 9.44772 14 10 14Z",fill:t})}),P=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.84288 1.804C7.88817 1.57739 8.01055 1.37346 8.18921 1.22689C8.36787 1.08031 8.59178 1.00014 8.82288 1H11.1829C11.414 1.00014 11.6379 1.08031 11.8165 1.22689C11.9952 1.37346 12.1176 1.57739 12.1629 1.804L12.4939 3.456C13.1923 3.72219 13.8436 4.09863 14.4229 4.571L16.0209 4.031C16.2398 3.95702 16.4775 3.96112 16.6937 4.04261C16.9099 4.1241 17.0913 4.27795 17.2069 4.478L18.3869 6.522C18.5025 6.72209 18.5453 6.95607 18.5079 7.18413C18.4706 7.4122 18.3553 7.62029 18.1819 7.773L16.9149 8.886C17.033 9.62397 17.033 10.376 16.9149 11.114L18.1819 12.227C18.3553 12.3795 18.4705 12.5874 18.5081 12.8152C18.5456 13.0431 18.5031 13.2769 18.3879 13.477L17.2079 15.522C17.0922 15.7223 16.9107 15.8763 16.6943 15.9578C16.4779 16.0393 16.2399 16.0432 16.0209 15.969L14.4229 15.429C13.8436 15.9014 13.1923 16.2778 12.4939 16.544L12.1639 18.196C12.1186 18.4226 11.9962 18.6265 11.8175 18.7731C11.6389 18.9197 11.415 18.9999 11.1839 19H8.82288C8.59178 18.9999 8.36787 18.9197 8.18921 18.7731C8.01055 18.6265 7.88817 18.4226 7.84288 18.196L7.51188 16.544C6.81342 16.2778 6.16215 15.9014 5.58288 15.429L3.98488 15.969C3.76598 16.043 3.52823 16.0389 3.31202 15.9574C3.09581 15.8759 2.91449 15.7221 2.79888 15.522L1.61888 13.478C1.50322 13.2779 1.46045 13.0439 1.49782 12.8159C1.53519 12.5878 1.65041 12.3797 1.82388 12.227L3.09088 11.113C2.97289 10.3754 2.97289 9.62364 3.09088 8.886L1.82388 7.773C1.65049 7.62047 1.53524 7.41264 1.49769 7.18478C1.46014 6.95693 1.5026 6.7231 1.61788 6.523L2.79788 4.478C2.91352 4.27773 3.09501 4.12373 3.31144 4.04223C3.52787 3.96073 3.76585 3.95676 3.98488 4.031L5.58288 4.571C6.16245 4.09852 6.81406 3.72207 7.51288 3.456L7.84288 1.804ZM10.0029 13C10.7985 13 11.5616 12.6839 12.1242 12.1213C12.6868 11.5587 13.0029 10.7956 13.0029 10C13.0029 9.20435 12.6868 8.44129 12.1242 7.87868C11.5616 7.31607 10.7985 7 10.0029 7C9.20723 7 8.44416 7.31607 7.88156 7.87868C7.31895 8.44129 7.00288 9.20435 7.00288 10C7.00288 10.7956 7.31895 11.5587 7.88156 12.1213C8.44416 12.6839 9.20723 13 10.0029 13Z",fill:t})}),O=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10ZM16.4969 10.2041C16.389 13.6995 13.5216 16.5 10 16.5C6.41015 16.5 3.5 13.5899 3.5 10C3.5 7.12656 5.36451 4.68861 7.94969 3.82998L6.92671 5.62019C6.60171 6.18894 6.69759 6.90485 7.16078 7.36805C7.6029 7.81017 8.27833 7.91977 8.83757 7.64015L9.0123 7.55279C9.08173 7.51807 9.15829 7.5 9.23591 7.5H9.38181C9.5712 7.5 9.74433 7.607 9.82902 7.77639C9.8994 7.91716 9.8994 8.08284 9.82902 8.22361L9.80123 8.27919C9.73357 8.41452 9.59525 8.5 9.44395 8.5H8.9418C8.18614 8.5 7.48048 8.87766 7.06131 9.50641L7.01751 9.57212C6.65828 10.111 6.56795 10.7855 6.77274 11.3998C6.98201 12.0276 7.47787 12.5197 8.10338 12.7282C8.33997 12.8071 8.49984 13.0292 8.49984 13.2749V14.3246C8.49984 14.9738 9.02608 15.5 9.67523 15.5C10.0323 15.5 10.37 15.3377 10.5931 15.0589L12.2044 13.0446C12.3957 12.8056 12.4998 12.5086 12.4998 12.2025C12.4998 11.8866 12.6279 11.5791 12.8531 11.3539C13.3088 10.8982 13.3864 10.1784 13.0257 9.63738L12.5617 8.94145C12.5214 8.88091 12.4998 8.80979 12.4998 8.73703C12.4998 8.43336 12.8465 8.26002 13.0895 8.44222L13.4322 8.69925C13.748 8.93609 14.1704 8.97373 14.523 8.79746C14.7488 8.68456 15.0216 8.72887 15.1996 8.90689L16.4969 10.2041Z",fill:t})}),D=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M13.3516 2.00712C13.7619 2.06371 14.0488 2.44249 13.9922 2.85282L13.5576 6.00028H16.6973C17.1115 6.00028 17.4473 6.33607 17.4473 6.75028C17.4473 7.16448 17.1115 7.50028 16.6973 7.50028H13.3516L12.6611 12.5003H15.8008C16.215 12.5003 16.5508 12.8361 16.5508 13.2503C16.5508 13.6645 16.215 14.0003 15.8008 14.0003H12.4551L11.9922 17.3528C11.9356 17.7631 11.5568 18.05 11.1465 17.9934C10.7362 17.9368 10.4493 17.558 10.5059 17.1477L10.9404 14.0003H7.95508L7.49219 17.3528C7.43556 17.7631 7.05679 18.05 6.64648 17.9934C6.23622 17.9368 5.94927 17.558 6.00586 17.1477L6.44043 14.0003H3.30078C2.88658 14.0003 2.5508 13.6645 2.55078 13.2503C2.55078 12.8361 2.88657 12.5003 3.30078 12.5003H6.64648L7.33691 7.50028H4.19727C3.78309 7.50024 3.44728 7.16446 3.44727 6.75028C3.44727 6.33609 3.78308 6.00032 4.19727 6.00028H7.54297L8.00586 2.64774C8.06245 2.23743 8.44125 1.95055 8.85156 2.00712C9.26189 2.06371 9.54878 2.44249 9.49219 2.85282L9.05762 6.00028H12.043L12.5059 2.64774C12.5625 2.23743 12.9413 1.95055 13.3516 2.00712ZM8.85156 7.50028L8.16113 12.5003H11.1465L11.8369 7.50028H8.85156Z",fill:t})}),V=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.29292 2.29289C9.68345 1.90237 10.3166 1.90237 10.7071 2.29289L17.7071 9.29289C17.9931 9.57889 18.0787 10.009 17.9239 10.3827C17.7691 10.7564 17.4045 11 17 11H16V17C16 17.5523 15.5523 18 15 18H13C12.4477 18 12 17.5523 12 17V14C12 13.4477 11.5523 13 11 13H9.00003C8.44774 13 8.00003 13.4477 8.00003 14V17C8.00003 17.5523 7.55231 18 7.00003 18H5.00003C4.44774 18 4.00003 17.5523 4.00003 17V11H3.00003C2.59557 11 2.23093 10.7564 2.07615 10.3827C1.92137 10.009 2.00692 9.57889 2.29292 9.29289L9.29292 2.29289Z",fill:t})}),U=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 40 40",fill:"none",children:e.jsx("path",{d:"M3.75 22.5H10.1824C11.6028 22.5 12.9013 23.3025 13.5365 24.5729L13.9635 25.4271C14.5987 26.6975 15.8972 27.5 17.3176 27.5H22.6824C24.1028 27.5 25.4013 26.6975 26.0365 25.4271L26.4635 24.5729C27.0987 23.3025 28.3972 22.5 29.8176 22.5H36.25M3.75 23.0639V30C3.75 32.0711 5.42893 33.75 7.5 33.75H32.5C34.5711 33.75 36.25 32.0711 36.25 30V23.0639C36.25 22.6901 36.1941 22.3183 36.0842 21.9611L32.0645 8.89718C31.5804 7.32371 30.1266 6.25 28.4803 6.25H11.5197C9.87339 6.25 8.41963 7.32371 7.93548 8.89718L3.91583 21.9611C3.80589 22.3183 3.75 22.6901 3.75 23.0639Z",stroke:t,strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})}),G=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M10 2C14.4183 2 18 5.58172 18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10C2 5.58172 5.58172 2 10 2ZM9 9C8.58579 9 8.25 9.33579 8.25 9.75C8.25 10.1642 8.58579 10.5 9 10.5H9.25293C9.41287 10.5 9.53176 10.6486 9.49707 10.8047L9.03809 12.8701C8.79522 13.963 9.62751 15 10.7471 15H11C11.4142 15 11.75 14.6642 11.75 14.25C11.75 13.8358 11.4142 13.5 11 13.5H10.7471C10.5871 13.5 10.4682 13.3514 10.5029 13.1953L10.9619 11.1299C11.2048 10.037 10.3725 9 9.25293 9H9ZM10 5C9.44771 5 9 5.44772 9 6C9 6.55228 9.44771 7 10 7C10.5523 7 11 6.55228 11 6C11 5.44772 10.5523 5 10 5Z",fill:t})}),K=({fill:t="currentColor",width:r="16",height:o="16"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 16 16",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1C11.866 1 15 4.13401 15 8ZM9 5C9 5.55228 8.55228 6 8 6C7.44772 6 7 5.55228 7 5C7 4.44772 7.44772 4 8 4C8.55228 4 9 4.44772 9 5ZM6.75 8C6.33579 8 6 8.33579 6 8.75C6 9.16421 6.33579 9.5 6.75 9.5H7.5V11.25C7.5 11.6642 7.83579 12 8.25 12C8.66421 12 9 11.6642 9 11.25V8.75C9 8.33579 8.66421 8 8.25 8H6.75Z",fill:t})}),Z=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M10.0001 1C8.76409 0.99999 7.55829 1.38167 6.54746 2.09287C5.53662 2.80407 4.77008 3.81008 4.35262 4.9734C3.93516 6.13672 3.88714 7.40058 4.21512 8.59222C4.54311 9.78387 5.2311 10.8451 6.18505 11.631C7.23705 12.5 8.00005 13.443 8.00005 14.456V15.1C7.99995 15.268 8.05628 15.4312 8.16 15.5634C8.26372 15.6956 8.40883 15.7891 8.57205 15.829C9.51025 16.0582 10.4899 16.0582 11.4281 15.829C11.5913 15.7891 11.7364 15.6956 11.8401 15.5634C11.9438 15.4312 12.0001 15.268 12.0001 15.1V14.456C12.0001 13.443 12.7621 12.499 13.8151 11.631C14.769 10.8451 15.457 9.78387 15.785 8.59222C16.113 7.40058 16.0649 6.13672 15.6475 4.9734C15.23 3.81008 14.4635 2.80407 13.4526 2.09287C12.4418 1.38167 11.236 0.99999 10.0001 1ZM8.86305 17.414C8.76568 17.3992 8.66633 17.4036 8.57069 17.4272C8.47505 17.4508 8.38498 17.4929 8.30563 17.5513C8.14538 17.6691 8.03852 17.8458 8.00855 18.0425C7.97858 18.2392 8.02796 18.4397 8.14583 18.5999C8.2637 18.7602 8.44039 18.867 8.63705 18.897C9.54052 19.0344 10.4596 19.0344 11.3631 18.897C11.5597 18.867 11.7364 18.7602 11.8543 18.5999C11.9721 18.4397 12.0215 18.2392 11.9916 18.0425C11.9616 17.8458 11.8547 17.6691 11.6945 17.5513C11.5342 17.4334 11.3337 17.384 11.1371 17.414C10.3834 17.5288 9.61671 17.5288 8.86305 17.414Z",fill:t})}),W=({fill:t="currentColor",width:r="16",height:o="16"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 16 16",fill:"none",children:e.jsx("path",{d:"M11.5 1C9.567 1 8 2.567 8 4.5V7H2.5C1.67157 7 1 7.67157 1 8.5V13.5C1 14.3284 1.67157 15 2.5 15H9.5C10.3284 15 11 14.3284 11 13.5V8.5C11 7.67157 10.3284 7 9.5 7V4.5C9.5 3.39543 10.3954 2.5 11.5 2.5C12.6046 2.5 13.5 3.39543 13.5 4.5V6.25C13.5 6.66421 13.8358 7 14.25 7C14.6642 7 15 6.66421 15 6.25V4.5C15 2.567 13.433 1 11.5 1Z",fill:t})}),Y=({fill:t="currentColor",width:r="16",height:o="16"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 16 16",fill:"none",children:e.jsx("path",{d:"M3.75 7.25C3.33579 7.25 3 7.58579 3 8C3 8.41421 3.33579 8.75 3.75 8.75L12.25 8.75C12.6642 8.75 13 8.41421 13 8C13 7.58579 12.6642 7.25 12.25 7.25H3.75Z",fill:t})}),F=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{width:r,height:o,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M3.10526 2.28868C2.85362 2.25302 2.60104 2.34722 2.43421 2.53895C2.26738 2.73068 2.209 2.99386 2.27911 3.23815L3.69276 8.16402C3.87733 8.80713 4.4655 9.25024 5.13456 9.25024H11.25C11.6642 9.25024 12 9.58603 12 10.0002C12 10.4145 11.6642 10.7502 11.25 10.7502H5.13457C4.4655 10.7502 3.87733 11.1934 3.69277 11.8365L2.27911 16.7624C2.209 17.0067 2.26738 17.2698 2.43421 17.4616C2.60104 17.6533 2.85362 17.7475 3.10526 17.7118C8.94303 16.8844 14.221 14.319 18.3983 10.5576C18.5563 10.4154 18.6465 10.2128 18.6465 10.0003C18.6465 9.7877 18.5563 9.58513 18.3983 9.4429C14.221 5.68154 8.94303 3.1161 3.10526 2.28868Z",fill:t})}),X=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M2.69533 14.7623L1.43355 17.9168C1.27028 18.3249 1.67532 18.73 2.08348 18.5667L5.23795 17.3049C5.74091 17.1037 6.19777 16.8025 6.58081 16.4194L17.5 5.50072C18.3284 4.67229 18.3284 3.32914 17.5 2.50072C16.6716 1.67229 15.3284 1.67229 14.5 2.50071L3.58081 13.4194C3.19777 13.8025 2.89652 14.2593 2.69533 14.7623Z",fill:t})}),q=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:[e.jsx("path",{d:"M12 8.99908C11.7348 8.99908 11.4804 8.89372 11.2929 8.70618C11.1054 8.51865 11 8.26429 11 7.99908V2.99908C11 2.44708 11.45 1.99208 11.997 2.06908C13.4939 2.28487 14.8808 2.97941 15.9502 4.04884C17.0197 5.11828 17.7142 6.50515 17.93 8.00208C18.008 8.54908 17.552 8.99908 17 8.99908H12Z",fill:t}),e.jsx("path",{d:"M8.003 4.07083C8.55 3.99483 9 4.44982 9 5.00082V10.0008C9 10.266 9.10536 10.5204 9.29289 10.7079C9.48043 10.8955 9.73478 11.0008 10 11.0008H15C15.552 11.0008 16.008 11.4508 15.93 11.9978C15.6769 13.7491 14.77 15.3396 13.3918 16.4494C12.0135 17.5591 10.2662 18.1058 8.5012 17.9795C6.73622 17.8532 5.08455 17.0632 3.87841 15.7685C2.67226 14.4737 2.00113 12.7703 2 11.0008C2.00009 9.31693 2.60701 7.68946 3.70953 6.41668C4.81205 5.1439 6.33633 4.31107 8.003 4.07083Z",fill:t})]}),Q=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.157 2.17646C7.78976 2.02451 7.37724 2.02451 7.01 2.17646L2.926 3.86646C2.65219 3.97987 2.41812 4.17185 2.25331 4.41817C2.08851 4.66448 2.00036 4.9541 2 5.25046V16.1275C1.99997 16.3742 2.06079 16.617 2.17705 16.8346C2.29332 17.0522 2.46146 17.2377 2.66656 17.3748C2.87167 17.5118 3.10741 17.5962 3.35291 17.6204C3.59841 17.6446 3.84609 17.6079 4.074 17.5135L7.584 16.0615L11.844 17.8235C12.2109 17.9751 12.6231 17.9751 12.99 17.8235L17.073 16.1335C17.3468 16.0203 17.581 15.8285 17.746 15.5824C17.911 15.3363 17.9994 15.0468 18 14.7505V3.87246C18 3.6259 17.9391 3.38315 17.8229 3.1657C17.7067 2.94824 17.5387 2.76278 17.3337 2.62574C17.1287 2.4887 16.8932 2.4043 16.6478 2.38001C16.4024 2.35571 16.1549 2.39228 15.927 2.48646L12.417 3.93846L8.157 2.17646ZM7.58 5.00046C7.77891 5.00046 7.96968 5.07948 8.11033 5.22013C8.25098 5.36079 8.33 5.55155 8.33 5.75046V12.2505C8.33 12.4494 8.25098 12.6401 8.11033 12.7808C7.96968 12.9214 7.77891 13.0005 7.58 13.0005C7.38109 13.0005 7.19032 12.9214 7.04967 12.7808C6.90902 12.6401 6.83 12.4494 6.83 12.2505V5.75046C6.83 5.55155 6.90902 5.36079 7.04967 5.22013C7.19032 5.07948 7.38109 5.00046 7.58 5.00046ZM13.17 7.75046C13.17 7.55155 13.091 7.36079 12.9503 7.22013C12.8097 7.07948 12.6189 7.00046 12.42 7.00046C12.2211 7.00046 12.0303 7.07948 11.8897 7.22013C11.749 7.36079 11.67 7.55155 11.67 7.75046V14.2505C11.67 14.4494 11.749 14.6401 11.8897 14.7808C12.0303 14.9214 12.2211 15.0005 12.42 15.0005C12.6189 15.0005 12.8097 14.9214 12.9503 14.7808C13.091 14.6401 13.17 14.4494 13.17 14.2505V7.75046Z",fill:t})}),J=({fill:t="currentColor",width:r="16",height:o="16"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 16 16",fill:"none",children:e.jsx("path",{d:"M8.75 3.75C8.75 3.33579 8.41421 3 8 3C7.58579 3 7.25 3.33579 7.25 3.75V7.25H3.75C3.33579 7.25 3 7.58579 3 8C3 8.41421 3.33579 8.75 3.75 8.75L7.25 8.75V12.25C7.25 12.6642 7.58579 13 8 13C8.41421 13 8.75 12.6642 8.75 12.25V8.75L12.25 8.75C12.6642 8.75 13 8.41421 13 8C13 7.58579 12.6642 7.25 12.25 7.25H8.75V3.75Z",fill:t})}),ee=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M10.0036 8C10.7993 8 11.5623 7.68393 12.1249 7.12132C12.6875 6.55871 13.0036 5.79565 13.0036 5C13.0036 4.20435 12.6875 3.44129 12.1249 2.87868C11.5623 2.31607 10.7993 2 10.0036 2C9.20797 2 8.44491 2.31607 7.8823 2.87868C7.31969 3.44129 7.00362 4.20435 7.00362 5C7.00362 5.79565 7.31969 6.55871 7.8823 7.12132C8.44491 7.68393 9.20797 8 10.0036 8ZM3.46862 14.493C3.37578 14.7411 3.36554 15.0126 3.43941 15.267C3.51329 15.5214 3.66733 15.7452 3.87862 15.905C5.62995 17.266 7.7856 18.0034 10.0036 18C12.3136 18 14.4416 17.216 16.1346 15.9C16.5646 15.567 16.7386 14.997 16.5426 14.49C16.0349 13.168 15.1382 12.0311 13.9709 11.2292C12.8037 10.4274 11.4207 9.99829 10.0046 9.99861C8.58845 9.99894 7.20569 10.4287 6.03881 11.231C4.87193 12.0334 3.97578 13.1708 3.46862 14.493Z",fill:t})}),te=({fill:t="currentColor",width:r="16",height:o="16"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 16 16",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1C11.866 1 15 4.13401 15 8ZM9 11.5C9 12.0523 8.55228 12.5 8 12.5C7.44772 12.5 7 12.0523 7 11.5C7 10.9477 7.44772 10.5 8 10.5C8.55228 10.5 9 10.9477 9 11.5ZM7.29303 5.29289C7.68355 4.90237 8.31671 4.90237 8.70724 5.29289C9.09776 5.68342 9.09776 6.31658 8.70724 6.70711C8.58354 6.83081 8.43743 6.91429 8.2827 6.95959C7.82404 7.09387 7.25013 7.52576 7.25013 8.25V8.50022C7.25013 8.91444 7.58592 9.25022 8.00013 9.25022C8.41435 9.25022 8.75013 8.91444 8.75013 8.50022V8.38522C9.12313 8.26818 9.47391 8.06176 9.7679 7.76777C10.7442 6.79146 10.7442 5.20854 9.7679 4.23223C8.79159 3.25592 7.20868 3.25592 6.23237 4.23223C5.93947 4.52513 5.93947 5 6.23237 5.29289C6.52526 5.58579 7.00013 5.58579 7.29303 5.29289Z",fill:t})}),re=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.60597 12.9691C4.85946 13.2967 4.79938 13.7678 4.47179 14.0213C3.87925 14.4798 3.5 15.1954 3.5 16C3.5 16.1569 3.51437 16.31 3.54177 16.4582C3.68996 16.4856 3.84307 16.5 4 16.5C4.80458 16.5 5.52023 16.1208 5.97873 15.5282C6.23222 15.2006 6.70328 15.1405 7.03087 15.394C7.35846 15.6475 7.41854 16.1186 7.16505 16.4462C6.4347 17.39 5.2884 18 4 18C3.54003 18 3.09667 17.9221 2.6834 17.778C2.46722 17.7027 2.29728 17.5328 2.22195 17.3166C2.07794 16.9033 2 16.46 2 16C2 14.7116 2.60997 13.5653 3.55383 12.835C3.88142 12.5815 4.35248 12.6415 4.60597 12.9691Z",fill:t}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.75236 12C6.40714 12.8376 7.16237 13.5929 8 14.2476V18.25C8 18.6642 8.33579 19 8.75 19C11.5114 19 13.75 16.7614 13.75 14C13.75 13.5097 13.6792 13.035 13.5471 12.5861C16.8467 10.2297 19 6.36651 19 2C19 1.91234 18.9991 1.82486 18.9974 1.73759C18.9894 1.33502 18.665 1.01058 18.2624 1.0026C18.1751 1.00087 18.0877 1 18 1C13.6335 1 9.77032 3.15331 7.41387 6.45291C6.96496 6.32078 6.49028 6.25 6 6.25C3.23858 6.25 1 8.48858 1 11.25C1 11.6642 1.33579 12 1.75 12H5.75236ZM13 9C14.1046 9 15 8.10457 15 7C15 5.89543 14.1046 5 13 5C11.8954 5 11 5.89543 11 7C11 8.10457 11.8954 9 13 9Z",fill:t})]}),oe=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsxs("svg",{width:r,height:o,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M9 16C12.866 16 16 12.866 16 9C16 5.13401 12.866 2 9 2C5.13401 2 2 5.13401 2 9C2 12.866 5.13401 16 9 16Z",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M18 18L14 14",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),ie=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:[e.jsx("path",{d:"M8 10C8 9.60218 8.15804 9.22064 8.43934 8.93934C8.72064 8.65804 9.10218 8.5 9.5 8.5C9.89782 8.5 10.2794 8.65804 10.5607 8.93934C10.842 9.22064 11 9.60218 11 10C11 10.3978 10.842 10.7794 10.5607 11.0607C10.2794 11.342 9.89782 11.5 9.5 11.5C9.10218 11.5 8.72064 11.342 8.43934 11.0607C8.15804 10.7794 8 10.3978 8 10Z",fill:t}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 2C4.10218 2 3.72064 2.15804 3.43934 2.43934C3.15804 2.72065 3 3.10218 3 3.5V16.5C3 16.8978 3.15804 17.2794 3.43934 17.5607C3.72064 17.842 4.10218 18 4.5 18H15.5C15.8978 18 16.2794 17.842 16.5607 17.5607C16.842 17.2794 17 16.8978 17 16.5V7.621C16.9997 7.22331 16.8414 6.84204 16.56 6.561L12.44 2.439C12.3005 2.29961 12.1349 2.1891 11.9527 2.11377C11.7705 2.03844 11.5752 1.99978 11.378 2H4.5ZM9.5 7C9.03881 7.00024 8.58388 7.10681 8.17056 7.31143C7.75725 7.51605 7.39667 7.8132 7.11685 8.17981C6.83703 8.54641 6.64551 8.9726 6.55715 9.42525C6.46879 9.8779 6.48598 10.3448 6.60739 10.7897C6.7288 11.2347 6.95116 11.6456 7.25718 11.9906C7.5632 12.3357 7.94466 12.6055 8.3719 12.7792C8.79915 12.9528 9.26068 13.0257 9.72064 12.992C10.1806 12.9583 10.6266 12.819 11.024 12.585L12.22 13.78C12.2887 13.8537 12.3715 13.9128 12.4635 13.9538C12.5555 13.9948 12.6548 14.0168 12.7555 14.0186C12.8562 14.0204 12.9562 14.0018 13.0496 13.9641C13.143 13.9264 13.2278 13.8703 13.299 13.799C13.3703 13.7278 13.4264 13.643 13.4641 13.5496C13.5018 13.4562 13.5204 13.3562 13.5186 13.2555C13.5168 13.1548 13.4948 13.0555 13.4538 12.9635C13.4128 12.8715 13.3537 12.7887 13.28 12.72L12.085 11.524C12.3538 11.0683 12.4972 10.5496 12.5009 10.0206C12.5045 9.49158 12.3682 8.97099 12.1057 8.51165C11.8432 8.0523 11.464 7.67053 11.0063 7.40506C10.5487 7.13958 10.029 6.99984 9.5 7Z",fill:t})]}),ne=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:[e.jsx("path",{d:"M6.5 9C6.5 8.33696 6.76339 7.70107 7.23223 7.23223C7.70107 6.76339 8.33696 6.5 9 6.5C9.66304 6.5 10.2989 6.76339 10.7678 7.23223C11.2366 7.70107 11.5 8.33696 11.5 9C11.5 9.66304 11.2366 10.2989 10.7678 10.7678C10.2989 11.2366 9.66304 11.5 9 11.5C8.33696 11.5 7.70107 11.2366 7.23223 10.7678C6.76339 10.2989 6.5 9.66304 6.5 9Z",fill:t}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 18C12.1217 18 14.1566 17.1571 15.6569 15.6569C17.1571 14.1566 18 12.1217 18 10C18 7.87827 17.1571 5.84344 15.6569 4.34315C14.1566 2.84285 12.1217 2 10 2C7.87827 2 5.84344 2.84285 4.34315 4.34315C2.84285 5.84344 2 7.87827 2 10C2 12.1217 2.84285 14.1566 4.34315 15.6569C5.84344 17.1571 7.87827 18 10 18ZM9 5C8.37415 5.0001 7.75705 5.14706 7.19833 5.42906C6.63961 5.71106 6.15485 6.12023 5.78304 6.62367C5.41124 7.12711 5.16275 7.71077 5.05756 8.32773C4.95238 8.94468 4.99343 9.5777 5.17741 10.1759C5.3614 10.7741 5.68319 11.3208 6.1169 11.772C6.55061 12.2232 7.08415 12.5663 7.67462 12.7738C8.26508 12.9813 8.89599 13.0473 9.51661 12.9666C10.1372 12.8859 10.7303 12.6606 11.248 12.309L12.72 13.78C12.7887 13.8537 12.8715 13.9128 12.9635 13.9538C13.0555 13.9948 13.1548 14.0168 13.2555 14.0186C13.3562 14.0204 13.4562 14.0018 13.5496 13.9641C13.643 13.9264 13.7278 13.8703 13.799 13.799C13.8703 13.7278 13.9264 13.643 13.9641 13.5496C14.0018 13.4562 14.0204 13.3562 14.0186 13.2555C14.0168 13.1548 13.9948 13.0555 13.9538 12.9635C13.9128 12.8715 13.8537 12.7887 13.78 12.72L12.309 11.248C12.7176 10.6467 12.9546 9.94532 12.9944 9.21939C13.0343 8.49346 12.8756 7.77039 12.5353 7.1279C12.195 6.48542 11.6861 5.94782 11.0632 5.5729C10.4403 5.19798 9.72702 4.99992 9 5Z",fill:t})]}),ae=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 14 16",fill:"none",children:[e.jsx("path",{d:"M7 5V8",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M3 11V9C3 8.4477 3.4477 8 4 8H10C10.5523 8 11 8.4477 11 9V11",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M7 5C8.10457 5 9 4.10457 9 3C9 1.89543 8.10457 1 7 1C5.89543 1 5 1.89543 5 3C5 4.10457 5.89543 5 7 5Z",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M3 15C4.10457 15 5 14.1046 5 13C5 11.8954 4.10457 11 3 11C1.89543 11 1 11.8954 1 13C1 14.1046 1.89543 15 3 15Z",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M11 15C12.1046 15 13 14.1046 13 13C13 11.8954 12.1046 11 11 11C9.89543 11 9 11.8954 9 13C9 14.1046 9.89543 15 11 15Z",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),se=({fill:t="currentColor",width:r="21",height:o="21"})=>e.jsxs("svg",{width:r,height:o,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M22.392 10.5705C21.693 5.4495 17.313 1.5 12 1.5C6.201 1.5 1.5 6.201 1.5 12C1.5 14.064 2.1045 15.9825 3.132 17.6055L1.5 22.5L6.3945 20.868C7.6395 21.657 9.06 22.188 10.584 22.3965",stroke:t,strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M17.625 12.75L18.75 16.5L22.5 17.625L18.75 18.75L17.625 22.5L16.5 18.75L12.75 17.625L16.5 16.5L17.625 12.75Z",fill:t,stroke:t,strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})]}),le=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 14 14",fill:"none",children:[e.jsx("path",{d:"M13 1H1",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M7 13V1",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),ce=({fill:t="currentColor",width:r="20",height:o="20"})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M11.2502 1C12.769 1 14.0002 2.23122 14.0002 3.75V4.19238C14.7954 4.26939 15.5841 4.3694 16.3655 4.49121C16.7747 4.555 17.0551 4.93847 16.9914 5.34766C16.9276 5.75685 16.5442 6.0373 16.135 5.97363C16.0856 5.96593 16.036 5.95771 15.9865 5.9502L15.1448 16.4697C15.0302 17.8987 13.8371 19 12.4035 19H7.5969C6.16331 19 4.97024 17.8987 4.85569 16.4697L4.01389 5.9502C3.96456 5.9577 3.91473 5.96595 3.86545 5.97363C3.45635 6.03717 3.07279 5.75678 3.00901 5.34766C2.94536 4.93848 3.2258 4.555 3.63499 4.49121C4.41637 4.3694 5.205 4.2694 6.00022 4.19238V3.75C6.00022 2.23122 7.23144 1 8.75022 1H11.2502ZM7.80002 7.00098C7.41217 7.01665 7.10455 7.32382 7.08127 7.70312V7.78027L7.38108 15.2803C7.39779 15.694 7.74659 16.0156 8.16038 15.999C8.57421 15.9824 8.89666 15.6336 8.8801 15.2197L8.57932 7.71973L8.57249 7.64355C8.51897 7.26722 8.18803 6.98546 7.80002 7.00098ZM12.2004 7.00098C11.7866 6.98443 11.4378 7.30599 11.4211 7.71973L11.1213 15.2197C11.1048 15.6335 11.4263 15.9823 11.8401 15.999C12.2538 16.0156 12.6026 15.694 12.6194 15.2803L12.9201 7.78027C12.9367 7.36644 12.6142 7.01761 12.2004 7.00098ZM8.75022 2.5C8.05986 2.5 7.50022 3.05964 7.50022 3.75V4.0752C8.32725 4.02543 9.16083 4 10.0002 4C10.8396 4 11.6732 4.02544 12.5002 4.0752V3.75C12.5002 3.05964 11.9406 2.5 11.2502 2.5H8.75022Z",fill:t})}),de=({fill:t="currentColor",width:r="16",height:o="16"})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 16 16",fill:"none",children:[e.jsx("path",{d:"M3.75 2C2.7835 2 2 2.7835 2 3.75V5.25C2 5.66421 2.33579 6 2.75 6C3.16421 6 3.5 5.66421 3.5 5.25V3.75C3.5 3.61193 3.61193 3.5 3.75 3.5H5.25C5.66421 3.5 6 3.16421 6 2.75C6 2.33579 5.66421 2 5.25 2H3.75Z",fill:t}),e.jsx("path",{d:"M10.75 2C10.3358 2 10 2.33579 10 2.75C10 3.16421 10.3358 3.5 10.75 3.5H12.25C12.3881 3.5 12.5 3.61193 12.5 3.75V5.25C12.5 5.66421 12.8358 6 13.25 6C13.6642 6 14 5.66421 14 5.25V3.75C14 2.7835 13.2165 2 12.25 2H10.75Z",fill:t}),e.jsx("path",{d:"M3.5 10.75C3.5 10.3358 3.16421 10 2.75 10C2.33579 10 2 10.3358 2 10.75V12.25C2 13.2165 2.7835 14 3.75 14H5.25C5.66421 14 6 13.6642 6 13.25C6 12.8358 5.66421 12.5 5.25 12.5H3.75C3.61193 12.5 3.5 12.3881 3.5 12.25V10.75Z",fill:t}),e.jsx("path",{d:"M14 10.75C14 10.3358 13.6642 10 13.25 10C12.8358 10 12.5 10.3358 12.5 10.75V12.25C12.5 12.3881 12.3881 12.5 12.25 12.5H10.75C10.3358 12.5 10 12.8358 10 13.25C10 13.6642 10.3358 14 10.75 14H12.25C13.2165 14 14 13.2165 14 12.25V10.75Z",fill:t}),e.jsx("path",{d:"M8 10C9.10457 10 10 9.10457 10 8C10 6.89543 9.10457 6 8 6C6.89543 6 6 6.89543 6 8C6 9.10457 6.89543 10 8 10Z",fill:t})]});var he;exports.IconName=void 0,(he=exports.IconName||(exports.IconName={})).BARS_3_BOTTOM_LEFT="bars-3-bottom-left",he.BUILDING="building",he.BULK_CHECK="bulk-check",he.CHECK="check",he.CHECK_CIRCLE="check-circle",he.CHECK_SQUARE="check-square",he.CHEVRON_DOWN="chevron-down",he.CLOSE="close",he.CODE="code",he.COMPUTER="computer",he.COPY="copy",he.CUBE="cube",he.DATABASE="database",he.EXCLAMATION_CIRCLE="exclamation-circle",he.EXCLAMATION_TRIANGLE="exclamation-triangle",he.GEAR="gear",he.GLobe="globe",he.HASHTAG="hashtag",he.HOME="home",he.INBOX="inbox",he.INFORMATION_CIRCLE="information-circle",he.INFORMATION_CIRCLE_MICRO="information-circle-micro",he.LAMP="lamp",he.LOCK_OPEN="lock-open",he.MINUS="minus",he.PAPER_PLANE="paper-plane",he.PENCIL="pencil",he.PIE_CHART="pie-chart",he.PIPELINE="pipeline",he.PLUS="plus",he.PROFILE="profile",he.QUESTION_CIRCLE="question-circle",he.ROCKET_LAUNCH="rocket-launch",he.SEARCH="search",he.SEARCH_DOCUMENT="search-document",he.SEARCH_SQL="search-sql",he.SITEMAP="sitemap",he.TETRASCIENCE_ICON="tetrascience-icon",he.TEXT="text",he.TRASH="trash",he.VIEWFINDER_CIRCLE="viewfinder-circle";const pe=t=>{let r=null;const{name:o}=t;switch(o){case exports.IconName.BARS_3_BOTTOM_LEFT:r=e.jsx(j,{...t});break;case exports.IconName.BUILDING:r=e.jsx(M,{...t});break;case exports.IconName.BULK_CHECK:r=e.jsx(L,{...t});break;case exports.IconName.CHECK:r=e.jsx(E,{...t});break;case exports.IconName.CHECK_CIRCLE:r=e.jsx(I,{...t});break;case exports.IconName.CHECK_SQUARE:r=e.jsx(N,{...t});break;case exports.IconName.CHEVRON_DOWN:r=e.jsx(A,{...t});break;case exports.IconName.CLOSE:r=e.jsx(_,{...t});break;case exports.IconName.CODE:r=e.jsx($,{...t});break;case exports.IconName.COMPUTER:r=e.jsx(R,{...t});break;case exports.IconName.COPY:r=e.jsx(T,{...t});break;case exports.IconName.CUBE:r=e.jsx(S,{...t});break;case exports.IconName.DATABASE:r=e.jsx(z,{...t});break;case exports.IconName.EXCLAMATION_CIRCLE:r=e.jsx(B,{...t});break;case exports.IconName.EXCLAMATION_TRIANGLE:r=e.jsx(H,{...t});break;case exports.IconName.GEAR:r=e.jsx(P,{...t});break;case exports.IconName.GLobe:r=e.jsx(O,{...t});break;case exports.IconName.HASHTAG:r=e.jsx(D,{...t});break;case exports.IconName.HOME:r=e.jsx(V,{...t});break;case exports.IconName.INBOX:r=e.jsx(U,{...t});break;case exports.IconName.INFORMATION_CIRCLE:r=e.jsx(G,{...t});break;case exports.IconName.INFORMATION_CIRCLE_MICRO:r=e.jsx(K,{...t});break;case exports.IconName.LAMP:r=e.jsx(Z,{...t});break;case exports.IconName.LOCK_OPEN:r=e.jsx(W,{...t});break;case exports.IconName.MINUS:r=e.jsx(Y,{...t});break;case exports.IconName.PAPER_PLANE:r=e.jsx(F,{...t});break;case exports.IconName.PENCIL:r=e.jsx(X,{...t});break;case exports.IconName.PIE_CHART:r=e.jsx(q,{...t});break;case exports.IconName.PIPELINE:r=e.jsx(Q,{...t});break;case exports.IconName.PLUS:r=e.jsx(J,{...t});break;case exports.IconName.PROFILE:r=e.jsx(ee,{...t});break;case exports.IconName.QUESTION_CIRCLE:r=e.jsx(te,{...t});break;case exports.IconName.ROCKET_LAUNCH:r=e.jsx(re,{...t});break;case exports.IconName.SEARCH:r=e.jsx(oe,{...t});break;case exports.IconName.SEARCH_DOCUMENT:r=e.jsx(ie,{...t});break;case exports.IconName.SEARCH_SQL:r=e.jsx(ne,{...t});break;case exports.IconName.SITEMAP:r=e.jsx(ae,{...t});break;case exports.IconName.TETRASCIENCE_ICON:r=e.jsx(se,{...t});break;case exports.IconName.TEXT:r=e.jsx(le,{...t});break;case exports.IconName.TRASH:r=e.jsx(ce,{...t});break;case exports.IconName.VIEWFINDER_CIRCLE:r=e.jsx(de,{...t});break;default:throw`[Icon] name "${o}" does not exist`}return e.jsx("div",{style:{display:"inline-flex"},children:r})},xe=t.label`
205
205
  display: inline-flex;
206
206
  align-items: center;
207
207
  cursor: ${e=>e.disabled?"not-allowed":"pointer"};
@@ -481,13 +481,13 @@
481
481
  display: flex;
482
482
  justify-content: space-between;
483
483
  align-items: flex-start;
484
- `,Ve=t.div`
484
+ `,De=t.div`
485
485
  color: #ff4d4f;
486
486
  font-size: 18px;
487
487
  margin-right: 12px;
488
488
  display: flex;
489
489
  align-items: center;
490
- `,De=t.button`
490
+ `,Ve=t.button`
491
491
  background: none;
492
492
  border: none;
493
493
  font-size: 16px;
@@ -550,7 +550,7 @@
550
550
  padding: 10px;
551
551
  border-radius: 4px;
552
552
  margin: 0;
553
- `;function Qe(e){let t="Network/API Error",r=e.message,o=null,i=null;if(e.response){const{status:t,statusText:n,data:a}=e.response;r=`API Error: ${t} ${n}`;const s=function(e){if("string"==typeof e)return{description:e,details:null};if(e&&"object"==typeof e){const t=e.detail||e.message||e.error;return"string"==typeof t?{description:t,details:null}:{description:"Check details for response data.",details:JSON.stringify(e,null,2)}}return{description:null,details:null}}(a);o=s.description??`Request failed with status code ${t}.`,i=`URL: ${e.config?.method?.toUpperCase()} ${e.config?.url}\nStatus: ${t} ${n}\nResponse Data:\n${s.details??JSON.stringify(a,null,2)}`}else e.request?(t="Network Error",r="Network Error: Could not reach the server.",o="Please check your internet connection or contact support if the problem persists.",i=`URL: ${e.config?.method?.toUpperCase()} ${e.config?.url}\nError Message: ${e.message}`):r=`Request Setup Error: ${e.message}`;return e.code&&(t+=` (Code: ${e.code})`),{message:r,description:o,details:i,errorType:t}}function Je(e){return function(e){return"object"==typeof e&&null!==e&&"isAxiosError"in e&&!0===e.isAxiosError}(e)?Qe(e):e instanceof Error?function(e){return{message:e.message,description:null,details:e.stack??"No stack trace available.",errorType:e.name||"Error"}}(e):"string"==typeof e?{message:e,description:null,details:null,errorType:"Message"}:"object"==typeof e&&null!==e?function(e){const t=e.message||e.error||"An object was thrown as an error.";let r;try{r=JSON.stringify(e,null,2)}catch{r="Could not stringify the error object."}return{message:t,description:null,details:r,errorType:"Object Error"}}(e):{message:"An unexpected error occurred.",description:null,details:null,errorType:"Unknown Error"}}const et=({children:t,header:o,defaultExpanded:i=!1})=>{const[n,a]=r.useState(i);return e.jsxs("div",{children:[e.jsx(Fe,{$isActive:n,onClick:()=>a(!n),children:o}),e.jsx(Xe,{$isVisible:n,children:t})]})},tt=({error:t,title:r="An Error Occurred",onClose:o,showDetailsDefault:i=!1})=>{if(!t)return e.jsx(e.Fragment,{});const{message:n,description:a,details:s,errorType:l}=Je(t);return e.jsxs(Pe,{type:"error",children:[e.jsxs(Oe,{children:[e.jsxs(Ue,{children:[e.jsx(Ve,{children:"⚠️"}),r]}),o&&e.jsx(De,{onClick:o,children:"✕"})]}),e.jsxs(Ge,{children:[e.jsxs(Ke,{children:[e.jsxs(Ze,{$strong:!0,children:[l,":"]})," ",n]}),a&&e.jsx(Ke,{children:e.jsx(We,{children:a})}),s&&e.jsx(Ye,{children:e.jsx(et,{header:"Details",defaultExpanded:i,children:e.jsx(qe,{children:s})})})]})]})},rt={xsmall:t.css`
553
+ `;function Qe(e){let t="Network/API Error",r=e.message,o=null,i=null;if(e.response){const{status:t,statusText:n,data:a}=e.response;r=`API Error: ${t} ${n}`;const s=function(e){if("string"==typeof e)return{description:e,details:null};if(e&&"object"==typeof e){const t=e.detail||e.message||e.error;return"string"==typeof t?{description:t,details:null}:{description:"Check details for response data.",details:JSON.stringify(e,null,2)}}return{description:null,details:null}}(a);o=s.description??`Request failed with status code ${t}.`,i=`URL: ${e.config?.method?.toUpperCase()} ${e.config?.url}\nStatus: ${t} ${n}\nResponse Data:\n${s.details??JSON.stringify(a,null,2)}`}else e.request?(t="Network Error",r="Network Error: Could not reach the server.",o="Please check your internet connection or contact support if the problem persists.",i=`URL: ${e.config?.method?.toUpperCase()} ${e.config?.url}\nError Message: ${e.message}`):r=`Request Setup Error: ${e.message}`;return e.code&&(t+=` (Code: ${e.code})`),{message:r,description:o,details:i,errorType:t}}function Je(e){return function(e){return"object"==typeof e&&null!==e&&"isAxiosError"in e&&!0===e.isAxiosError}(e)?Qe(e):e instanceof Error?function(e){return{message:e.message,description:null,details:e.stack??"No stack trace available.",errorType:e.name||"Error"}}(e):"string"==typeof e?{message:e,description:null,details:null,errorType:"Message"}:"object"==typeof e&&null!==e?function(e){const t=e.message||e.error||"An object was thrown as an error.";let r;try{r=JSON.stringify(e,null,2)}catch{r="Could not stringify the error object."}return{message:t,description:null,details:r,errorType:"Object Error"}}(e):{message:"An unexpected error occurred.",description:null,details:null,errorType:"Unknown Error"}}const et=({children:t,header:o,defaultExpanded:i=!1})=>{const[n,a]=r.useState(i);return e.jsxs("div",{children:[e.jsx(Fe,{$isActive:n,onClick:()=>a(!n),children:o}),e.jsx(Xe,{$isVisible:n,children:t})]})},tt=({error:t,title:r="An Error Occurred",onClose:o,showDetailsDefault:i=!1})=>{if(!t)return e.jsx(e.Fragment,{});const{message:n,description:a,details:s,errorType:l}=Je(t);return e.jsxs(Pe,{type:"error",children:[e.jsxs(Oe,{children:[e.jsxs(Ue,{children:[e.jsx(De,{children:"⚠️"}),r]}),o&&e.jsx(Ve,{onClick:o,children:"✕"})]}),e.jsxs(Ge,{children:[e.jsxs(Ke,{children:[e.jsxs(Ze,{$strong:!0,children:[l,":"]})," ",n]}),a&&e.jsx(Ke,{children:e.jsx(We,{children:a})}),s&&e.jsx(Ye,{children:e.jsx(et,{header:"Details",defaultExpanded:i,children:e.jsx(qe,{children:s})})})]})]})},rt={xsmall:t.css`
554
554
  height: 32px;
555
555
  padding: ${e=>e.$hasIconLeft&&e.$hasIconRight?"0 32px 0 32px":e.$hasIconLeft?"0 10px 0 32px":e.$hasIconRight?"0 32px 0 10px":"0 10px"};
556
556
  `,small:t.css`
@@ -1030,7 +1030,7 @@
1030
1030
  font-style: normal;
1031
1031
  font-weight: 400;
1032
1032
  line-height: 18px;
1033
- `,Ot=()=>e.jsx(pe,{name:exports.IconName.CHECK_CIRCLE,fill:"var(--grey-600)"}),Vt=({children:t,showCheck:r=!1,className:o})=>e.jsxs(Pt,{className:o,children:[r&&e.jsx(Ot,{}),t]}),Dt={small:t.css`
1033
+ `,Ot=()=>e.jsx(pe,{name:exports.IconName.CHECK_CIRCLE,fill:"var(--grey-600)"}),Dt=({children:t,showCheck:r=!1,className:o})=>e.jsxs(Pt,{className:o,children:[r&&e.jsx(Ot,{}),t]}),Vt={small:t.css`
1034
1034
  font-family: "Inter", sans-serif;
1035
1035
  font-size: 14px;
1036
1036
  font-style: normal;
@@ -1052,7 +1052,7 @@
1052
1052
  border: none;
1053
1053
  outline: none;
1054
1054
  cursor: ${e=>e.disabled?"not-allowed":"pointer"};
1055
- ${e=>Dt[e.size]}
1055
+ ${e=>Vt[e.size]}
1056
1056
  color: ${e=>e.disabled?"var(--grey-400)":e.$active?"var(--blue-900)":"var(--grey-500)"};
1057
1057
  transition: all 0.2s ease;
1058
1058
 
@@ -1261,7 +1261,7 @@
1261
1261
  user-select: none;
1262
1262
  pointer-events: none;
1263
1263
  color: var(--grey-500);
1264
- `,Cr=({checked:t=!1,onChange:o,disabled:i=!1,label:n,className:a})=>{const[s,l]=r.useState(t);return e.jsxs(ur,{disabled:i,className:a,onClick:()=>{if(i)return;const e=!s;l(e),o?.(e)},children:[e.jsx(gr,{checked:s,disabled:i,children:e.jsx(fr,{checked:s})}),n&&e.jsx(mr,{children:n})]})},br=["/data-workspace","/data-apps","/pipelines","/pipeline-edit/","/pipeline-details/","/pipeline-processing/","/file/","/file-details/","/files","/search","/search-classic","/artifacts/","/admin","/settings","/agent-studio"];function vr(){if("undefined"==typeof document||!document.referrer)return null;try{const e=new URL(document.referrer),t=e.pathname;for(const r of br){const o=t.indexOf(r);if(-1!==o){const r=t.slice(0,o).replace(/\/$/u,"");return`${e.origin}${r}`}}return e.origin}catch{return null}}function wr(e,t){try{const r=t.startsWith("/")?t:`/${t}`,o=new URL(e);return o.pathname=`${o.pathname.replace(/\/$/u,"")}${r}`,o.href}catch{return null}}function yr(e,t={}){if(t.newTab)window.open(e,"_blank","noopener,noreferrer");else{if(window.parent!==window)try{window.parent.location.href}catch{try{const t=new URL(e),r=`${t.pathname}${t.search}${t.hash}`;return void window.parent.postMessage({type:"navigate",path:r},"*")}catch{}}window.location.href=e}}const kr=r.createContext(null);function jr(){const e=r.useContext(kr);if(!e)throw new Error("useTdpNavigationContext must be used within a TdpNavigationProvider. Wrap your app with <TdpNavigationProvider> or use the standalone useTdpNavigation() hook instead.");return e}const Mr=t.a`
1264
+ `,Cr=({checked:t=!1,onChange:o,disabled:i=!1,label:n,className:a})=>{const[s,l]=r.useState(t);return e.jsxs(ur,{disabled:i,className:a,onClick:()=>{if(i)return;const e=!s;l(e),o?.(e)},children:[e.jsx(gr,{checked:s,disabled:i,children:e.jsx(fr,{checked:s})}),n&&e.jsx(mr,{children:n})]})},br=["/data-workspace","/data-apps","/pipelines","/pipeline-edit/","/pipeline-details/","/pipeline-processing/","/file/","/file-details/","/files","/search","/search-classic","/artifacts/","/admin","/settings","/agent-studio"];function vr(){if("undefined"==typeof document||!document.referrer)return null;try{const e=new URL(document.referrer),t=e.pathname;for(const r of br){const o=t.indexOf(r);if(-1!==o){const r=t.slice(0,o).replace(/\/$/u,"");return`${e.origin}${r}`}}return e.origin}catch{return null}}function wr(e,t){try{const r=t.startsWith("/")?t:`/${t}`,o=new URL(e);return o.pathname=`${o.pathname.replace(/\/$/u,"")}${r}`,o.href}catch{return null}}function yr(e,t={}){if(t.newTab)window.open(e,"_blank","noopener,noreferrer");else{if(window.parent!==window)try{window.parent.location.href}catch{try{const t=new URL(e),r=`${t.pathname}${t.search}${t.hash}`;return void window.parent.postMessage({type:"navigate",path:r},"*")}catch{}}window.location.href=e}}const kr={fileDetails:e=>`/file/${e}`,pipelineEdit:e=>`/pipeline-edit/${e}`,pipelineDetails:e=>`/pipeline-details/${e}`,search:e=>e?`/search?q=${encodeURIComponent(e)}`:"/search",dataWorkspace:()=>"/data-workspace",dataApps:()=>"/data-apps",artifact:(e,t,r)=>`/artifacts/${e}/${t}/${r}`},jr=r.createContext(null);function Mr(){const e=r.useContext(jr);if(!e)throw new Error("useTdpNavigationContext must be used within a TdpNavigationProvider. Wrap your app with <TdpNavigationProvider> or use the standalone useTdpNavigation() hook instead.");return e}const Lr=t.a`
1265
1265
  color: var(--theme-primary, var(--blue-600));
1266
1266
  text-decoration: none;
1267
1267
  cursor: pointer;
@@ -1275,7 +1275,7 @@
1275
1275
  outline-offset: 2px;
1276
1276
  border-radius: 2px;
1277
1277
  }
1278
- `,Lr=t.div`
1278
+ `,Er=t.div`
1279
1279
  display: flex;
1280
1280
  align-items: center;
1281
1281
  justify-content: space-between;
@@ -1285,18 +1285,18 @@
1285
1285
  box-sizing: border-box;
1286
1286
  border-bottom: 1px solid var(--grey-200);
1287
1287
  background-color: var(--white-900);
1288
- `,Er=t.div`
1288
+ `,Ir=t.div`
1289
1289
  color: var(--black-900);
1290
1290
  font-family: "Inter", sans-serif;
1291
1291
  font-size: 18px;
1292
1292
  font-style: normal;
1293
1293
  font-weight: 500;
1294
1294
  line-height: 28px;
1295
- `,Ir=t.div`
1295
+ `,Nr=t.div`
1296
1296
  display: flex;
1297
1297
  align-items: center;
1298
1298
  gap: 12px;
1299
- `,Nr=t.div`
1299
+ `,Ar=t.div`
1300
1300
  display: flex;
1301
1301
  align-items: center;
1302
1302
  gap: 12px;
@@ -1306,7 +1306,7 @@
1306
1306
  &:hover {
1307
1307
  background-color: var(--grey-100);
1308
1308
  }
1309
- `,Ar=t.div`
1309
+ `,_r=t.div`
1310
1310
  width: 32px;
1311
1311
  height: 32px;
1312
1312
  border-radius: 50%;
@@ -1321,25 +1321,25 @@
1321
1321
  font-weight: 500;
1322
1322
  font-size: 14px;
1323
1323
  font-family: "Inter", sans-serif;
1324
- `,_r=t.div`
1324
+ `,$r=t.div`
1325
1325
  font-family: "Inter", sans-serif;
1326
1326
  color: var(--grey-400);
1327
1327
  font-size: 16px;
1328
1328
  font-style: normal;
1329
1329
  font-weight: 400;
1330
1330
  line-height: 24px;
1331
- `,$r=t(f)`
1331
+ `,Rr=t(f)`
1332
1332
  width: 32px;
1333
1333
  height: 32px;
1334
1334
  padding: 0;
1335
1335
  min-height: 0;
1336
1336
  border-radius: 4px;
1337
- `,Rr=t.div`
1337
+ `,Tr=t.div`
1338
1338
  height: 20px;
1339
1339
  width: 1px;
1340
1340
  background-color: var(--grey-200);
1341
1341
  margin: 0;
1342
- `,Tr=({hostname:t,userProfile:r,onHomeClick:o,onSettingsClick:i,onUserProfileClick:n})=>{return e.jsxs(Lr,{children:[e.jsx(Er,{children:t}),e.jsxs(Ir,{children:[e.jsx($r,{variant:"tertiary",size:"small",onClick:o,"aria-label":"Home",children:e.jsx(pe,{name:exports.IconName.HOME,width:"20",height:"20",fill:"var(--grey-600)"})}),e.jsx($r,{variant:"tertiary",size:"small",onClick:i,"aria-label":"Settings",children:e.jsx(pe,{name:exports.IconName.GEAR,width:"20",height:"20",fill:"var(--grey-600)"})}),e.jsx(Rr,{}),e.jsxs(Nr,{onClick:n,children:[e.jsx(Ar,{src:r.avatar,children:!r.avatar&&(a=r.name,a.split(" ").map(e=>e.charAt(0)).join("").toUpperCase().substring(0,2))}),e.jsx(_r,{children:r.name})]})]})]});var a},Sr=t.div`
1342
+ `,Sr=({hostname:t,userProfile:r,onHomeClick:o,onSettingsClick:i,onUserProfileClick:n})=>{return e.jsxs(Er,{children:[e.jsx(Ir,{children:t}),e.jsxs(Nr,{children:[e.jsx(Rr,{variant:"tertiary",size:"small",onClick:o,"aria-label":"Home",children:e.jsx(pe,{name:exports.IconName.HOME,width:"20",height:"20",fill:"var(--grey-600)"})}),e.jsx(Rr,{variant:"tertiary",size:"small",onClick:i,"aria-label":"Settings",children:e.jsx(pe,{name:exports.IconName.GEAR,width:"20",height:"20",fill:"var(--grey-600)"})}),e.jsx(Tr,{}),e.jsxs(Ar,{onClick:n,children:[e.jsx(_r,{src:r.avatar,children:!r.avatar&&(a=r.name,a.split(" ").map(e=>e.charAt(0)).join("").toUpperCase().substring(0,2))}),e.jsx($r,{children:r.name})]})]})]});var a},zr=t.div`
1343
1343
  position: fixed;
1344
1344
  top: 0;
1345
1345
  left: 0;
@@ -1350,7 +1350,7 @@
1350
1350
  display: flex;
1351
1351
  align-items: center;
1352
1352
  justify-content: center;
1353
- `,zr=t.div`
1353
+ `,Br=t.div`
1354
1354
  background: var(--white-900);
1355
1355
  border-radius: 20px;
1356
1356
  box-shadow: 0 2px 16px var(--black-100);
@@ -1360,19 +1360,19 @@
1360
1360
  padding: 0;
1361
1361
  display: flex;
1362
1362
  flex-direction: column;
1363
- `,Br=t.div`
1363
+ `,Hr=t.div`
1364
1364
  display: flex;
1365
1365
  align-items: center;
1366
1366
  justify-content: space-between;
1367
1367
  padding: 20px 24px 0 24px;
1368
- `,Hr=t.div`
1368
+ `,Pr=t.div`
1369
1369
  display: flex;
1370
1370
  align-items: center;
1371
1371
  gap: 8px;
1372
- `,Pr=t.span`
1372
+ `,Or=t.span`
1373
1373
  font-weight: 600;
1374
1374
  font-size: 20px;
1375
- `,Or=t.button`
1375
+ `,Dr=t.button`
1376
1376
  background: none;
1377
1377
  border: none;
1378
1378
  font-size: 20px;
@@ -1386,7 +1386,7 @@
1386
1386
  font-style: normal;
1387
1387
  font-weight: 400;
1388
1388
  line-height: 20px;
1389
- `,Dr=t.div`
1389
+ `,Ur=t.div`
1390
1390
  margin: 0 24px;
1391
1391
  background: var(--blue-900);
1392
1392
  color: var(--white-900);
@@ -1396,7 +1396,7 @@
1396
1396
  font-weight: 500;
1397
1397
  word-break: break-word;
1398
1398
  box-shadow: 0 1px 4px var(--black-50);
1399
- `,Ur=t.textarea`
1399
+ `,Gr=t.textarea`
1400
1400
  width: 100%;
1401
1401
  min-height: 48px;
1402
1402
  background: transparent;
@@ -1412,17 +1412,17 @@
1412
1412
  padding: 16px 20px;
1413
1413
  border-radius: 12px;
1414
1414
  box-sizing: border-box;
1415
- `,Gr=t.div`
1415
+ `,Kr=t.div`
1416
1416
  padding: 24px;
1417
1417
  padding-bottom: 0;
1418
1418
  flex: 1;
1419
- `,Kr=t.div`
1419
+ `,Zr=t.div`
1420
1420
  border-radius: 20px;
1421
1421
  overflow: hidden;
1422
1422
  background: var(--blue-900);
1423
1423
  min-height: 200px;
1424
1424
  position: relative;
1425
- `,Zr=t.div`
1425
+ `,Wr=t.div`
1426
1426
  display: flex;
1427
1427
  align-items: center;
1428
1428
  gap: 12px;
@@ -1431,12 +1431,12 @@
1431
1431
  background: var(--white-900);
1432
1432
  border-bottom-left-radius: 20px;
1433
1433
  border-bottom-right-radius: 20px;
1434
- `,Wr=t(f)`
1434
+ `,Yr=t(f)`
1435
1435
  min-width: 100px;
1436
1436
  display: flex;
1437
1437
  align-items: center;
1438
1438
  gap: 6px;
1439
- `,Yr=t.div`
1439
+ `,Fr=t.div`
1440
1440
  display: flex;
1441
1441
  flex-direction: ${e=>e.$vertical?"column":"row"};
1442
1442
  border-radius: 6px;
@@ -1448,7 +1448,7 @@
1448
1448
  }
1449
1449
 
1450
1450
  ${e=>e.$vertical&&"\n width: 40px;\n "}
1451
- `,Fr=t.div`
1451
+ `,Xr=t.div`
1452
1452
  &:first-child {
1453
1453
  button {
1454
1454
  ${e=>e.$vertical?"border-top-right-radius: 6px;border-top-left-radius: 6px;":"border-top-left-radius: 6px;border-bottom-left-radius: 6px;"}
@@ -1460,7 +1460,7 @@
1460
1460
  ${e=>e.$vertical?"border-bottom-right-radius: 6px;border-bottom-left-radius: 6px;":"border-top-right-radius: 6px;border-bottom-right-radius: 6px;"}
1461
1461
  }
1462
1462
  }
1463
- `,Xr=t.div`
1463
+ `,qr=t.div`
1464
1464
  padding: 20px 16px;
1465
1465
  border-radius: 8px;
1466
1466
  background-color: ${e=>(e=>{switch(e){case"active":return"var(--blue-100)";case"hover":return"var(--grey-100)";default:return"transparent"}})(e.status)};
@@ -1472,14 +1472,14 @@
1472
1472
  background-color: var(--grey-100);
1473
1473
  }
1474
1474
  `}
1475
- `,qr=t.h3`
1475
+ `,Qr=t.h3`
1476
1476
  margin: 0 0 4px 0;
1477
1477
  font-family: "Inter", sans-serif;
1478
1478
  font-size: 16px;
1479
1479
  font-weight: 600;
1480
1480
  line-height: 24px;
1481
1481
  color: ${e=>"disabled"===e.status?"var(--grey-400)":"var(--black-900)"};
1482
- `,Qr=t.p`
1482
+ `,Jr=t.p`
1483
1483
  margin: 0 0 16px 0;
1484
1484
  font-family: "Inter", sans-serif;
1485
1485
  font-size: 13px;
@@ -1488,13 +1488,13 @@
1488
1488
  line-height: 18px;
1489
1489
  line-height: 20px;
1490
1490
  color: ${e=>(e.status,"var(--grey-400)")};
1491
- `,Jr=t.div`
1491
+ `,eo=t.div`
1492
1492
  display: flex;
1493
1493
  align-items: center;
1494
1494
  gap: 16px;
1495
- `,eo=t(f)`
1495
+ `,to=t(f)`
1496
1496
  flex-shrink: 0;
1497
- `,to=t.a`
1497
+ `,ro=t.a`
1498
1498
  font-family: "Inter", sans-serif;
1499
1499
  font-size: 13px;
1500
1500
  font-style: normal;
@@ -1507,36 +1507,36 @@
1507
1507
  &:hover {
1508
1508
  text-decoration: ${e=>"disabled"===e.status?"none":"underline"};
1509
1509
  }
1510
- `,ro=({title:t,description:r,buttonText:o,linkText:i,status:n="default",onButtonClick:a,onLinkClick:s,className:l,ref:c})=>e.jsxs(Xr,{ref:c,status:n,className:l,children:[e.jsx(qr,{status:n,children:t}),r&&e.jsx(Qr,{status:n,children:r}),e.jsxs(Jr,{children:[o&&e.jsx(eo,{variant:"secondary",size:"small",disabled:"disabled"===n,onClick:e=>{e.stopPropagation(),"disabled"!==n&&a&&a()},leftIcon:e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("rect",{x:"3",y:"3",width:"10",height:"10",rx:"2",fill:"currentColor"})}),children:o}),i&&e.jsx(to,{status:n,onClick:e=>{e.stopPropagation(),"disabled"!==n&&s&&s()},href:"disabled"===n?void 0:"#",children:i})]})]}),oo=t.div`
1510
+ `,oo=({title:t,description:r,buttonText:o,linkText:i,status:n="default",onButtonClick:a,onLinkClick:s,className:l,ref:c})=>e.jsxs(qr,{ref:c,status:n,className:l,children:[e.jsx(Qr,{status:n,children:t}),r&&e.jsx(Jr,{status:n,children:r}),e.jsxs(eo,{children:[o&&e.jsx(to,{variant:"secondary",size:"small",disabled:"disabled"===n,onClick:e=>{e.stopPropagation(),"disabled"!==n&&a&&a()},leftIcon:e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("rect",{x:"3",y:"3",width:"10",height:"10",rx:"2",fill:"currentColor"})}),children:o}),i&&e.jsx(ro,{status:n,onClick:e=>{e.stopPropagation(),"disabled"!==n&&s&&s()},href:"disabled"===n?void 0:"#",children:i})]})]}),io=t.div`
1511
1511
  display: flex;
1512
1512
  align-items: center;
1513
1513
  flex-direction: row;
1514
1514
  gap: 16px;
1515
1515
  flex-wrap: wrap;
1516
1516
  width: 100%;
1517
- `,io=t.div`
1517
+ `,no=t.div`
1518
1518
  margin: 16px 0;
1519
- `,no=t.span`
1519
+ `,ao=t.span`
1520
1520
  font-size: 12px;
1521
1521
  color: var(--grey-400);
1522
- `,ao=t.div`
1522
+ `,so=t.div`
1523
1523
  & > button {
1524
1524
  height: 38px;
1525
1525
  }
1526
- `,so=t.div`
1526
+ `,lo=t.div`
1527
1527
  display: flex;
1528
1528
  flex-direction: column;
1529
1529
  gap: 6px;
1530
1530
  width: 100%;
1531
- `,lo=t(ht)`
1531
+ `,co=t(ht)`
1532
1532
  margin-bottom: 2px;
1533
- `,co=t.div``,ho=t.div`
1533
+ `,ho=t.div``,po=t.div`
1534
1534
  display: flex;
1535
1535
  align-items: center;
1536
1536
  justify-content: space-between;
1537
1537
  margin-bottom: 16px;
1538
1538
  background-color: var(--grey-100);
1539
- `,po=t.h1`
1539
+ `,xo=t.h1`
1540
1540
  color: var(--black-900);
1541
1541
  font-family: "Inter", sans-serif;
1542
1542
  font-size: 18px;
@@ -1544,23 +1544,23 @@
1544
1544
  font-weight: 600;
1545
1545
  line-height: 28px;
1546
1546
  margin: 0;
1547
- `,xo=t.div`
1547
+ `,uo=t.div`
1548
1548
  display: flex;
1549
1549
  align-items: center;
1550
1550
  gap: 16px;
1551
- `,uo=t.div`
1551
+ `,go=t.div`
1552
1552
  display: flex;
1553
1553
  align-items: center;
1554
- `,go=t.div`
1554
+ `,fo=t.div`
1555
1555
  width: 1px;
1556
1556
  height: 20px;
1557
1557
  background-color: var(--grey-200);
1558
- `,fo=t.div`
1558
+ `,mo=t.div`
1559
1559
  position: relative;
1560
1560
  width: 100%;
1561
1561
  max-width: 100%;
1562
1562
  margin-bottom: 16px;
1563
- `,mo=({initialCode:t="protocolSchema: v3\nname: v3\ndescription: No description\nconfig: {}\nsteps: []",onDeploy:o,versions:i=["v0.0.7","v0.0.6","v0.0.5"],currentVersion:n="v0.0.7",onVersionChange:a=()=>{}})=>{const[s,l]=r.useState(t),[c,d]=r.useState(!0),[h,p]=r.useState(!1),[x,u]=r.useState(!1),[g,m]=r.useState(!1),[C,b]=r.useState(!1);return e.jsxs(co,{children:[e.jsxs(ho,{children:[e.jsx(po,{children:"Launch"}),e.jsxs(xo,{children:[e.jsx(Cr,{checked:c,onChange:d,label:"Overwrite Mode",disabled:h}),e.jsx(go,{}),e.jsx(uo,{children:e.jsx(He,{options:i.map(e=>({label:e,value:e})),value:n,onChange:e=>a(e),width:"150px",size:"small",disabled:h})}),e.jsx(f,{variant:"primary",size:"medium",onClick:()=>{p(!0),u(!0),m(!1),b(!1),setTimeout(()=>{u(!1);Math.random()>.3?(m(!0),b(!1)):(m(!1),b(!0)),p(!1),o&&o(),setTimeout(()=>{m(!1),b(!1)},5e3)},3e3)},disabled:h,children:"Deploy"})]})]}),x&&e.jsx(fo,{children:e.jsx(xr,{type:"info",heading:"Building Protocol: Status=IN_PROGRESS, Phase=FINALIZING"})}),g&&e.jsx(fo,{children:e.jsx(xr,{type:"success",heading:`Pipeline visual-pipeline-builder-protocol-${n}-pipeline deployed successfully! Deployment complete`})}),C&&e.jsx(fo,{children:e.jsx(xr,{type:"danger",heading:`Failed to deploy pipeline visual-pipeline-builder-protocol-${n}-pipeline. Please try again.`})}),e.jsx(Ne,{value:s,onChange:e=>{void 0!==e&&l(e)},language:"yaml",theme:"light",width:"100%",onCopy:e=>{navigator.clipboard.writeText(e)},onLaunch:e=>{console.log("Launching code:",e)},disabled:!c})]})},Co=t.div`
1563
+ `,Co=({initialCode:t="protocolSchema: v3\nname: v3\ndescription: No description\nconfig: {}\nsteps: []",onDeploy:o,versions:i=["v0.0.7","v0.0.6","v0.0.5"],currentVersion:n="v0.0.7",onVersionChange:a=()=>{}})=>{const[s,l]=r.useState(t),[c,d]=r.useState(!0),[h,p]=r.useState(!1),[x,u]=r.useState(!1),[g,m]=r.useState(!1),[C,b]=r.useState(!1);return e.jsxs(ho,{children:[e.jsxs(po,{children:[e.jsx(xo,{children:"Launch"}),e.jsxs(uo,{children:[e.jsx(Cr,{checked:c,onChange:d,label:"Overwrite Mode",disabled:h}),e.jsx(fo,{}),e.jsx(go,{children:e.jsx(He,{options:i.map(e=>({label:e,value:e})),value:n,onChange:e=>a(e),width:"150px",size:"small",disabled:h})}),e.jsx(f,{variant:"primary",size:"medium",onClick:()=>{p(!0),u(!0),m(!1),b(!1),setTimeout(()=>{u(!1);Math.random()>.3?(m(!0),b(!1)):(m(!1),b(!0)),p(!1),o&&o(),setTimeout(()=>{m(!1),b(!1)},5e3)},3e3)},disabled:h,children:"Deploy"})]})]}),x&&e.jsx(mo,{children:e.jsx(xr,{type:"info",heading:"Building Protocol: Status=IN_PROGRESS, Phase=FINALIZING"})}),g&&e.jsx(mo,{children:e.jsx(xr,{type:"success",heading:`Pipeline visual-pipeline-builder-protocol-${n}-pipeline deployed successfully! Deployment complete`})}),C&&e.jsx(mo,{children:e.jsx(xr,{type:"danger",heading:`Failed to deploy pipeline visual-pipeline-builder-protocol-${n}-pipeline. Please try again.`})}),e.jsx(Ne,{value:s,onChange:e=>{void 0!==e&&l(e)},language:"yaml",theme:"light",width:"100%",onCopy:e=>{navigator.clipboard.writeText(e)},onLaunch:e=>{console.log("Launching code:",e)},disabled:!c})]})},bo=t.div`
1564
1564
  width: 100%;
1565
1565
  border-radius: 8px;
1566
1566
  overflow: hidden;
@@ -1568,7 +1568,7 @@
1568
1568
  0px 2px 4px -2px var(--black-100);
1569
1569
  background-color: var(--white-900);
1570
1570
  border: 1px solid var(--grey-200);
1571
- `,bo=t.div`
1571
+ `,vo=t.div`
1572
1572
  padding: 8px 16px;
1573
1573
  font-family: "Inter", sans-serif;
1574
1574
  font-size: 12px;
@@ -1577,10 +1577,10 @@
1577
1577
  line-height: 16px;
1578
1578
  color: var(--grey-600);
1579
1579
  border-bottom: 1px solid var(--grey-200);
1580
- `,vo=t.div`
1580
+ `,wo=t.div`
1581
1581
  display: flex;
1582
1582
  flex-direction: column;
1583
- `,wo=t.div`
1583
+ `,yo=t.div`
1584
1584
  display: flex;
1585
1585
  align-items: center;
1586
1586
  background-color: var(--blue-900);
@@ -1590,11 +1590,11 @@
1590
1590
  box-sizing: border-box;
1591
1591
  color: var(--white-900);
1592
1592
  gap: 40px;
1593
- `,yo=t.div`
1593
+ `,ko=t.div`
1594
1594
  display: flex;
1595
1595
  align-items: center;
1596
1596
  height: 100%;
1597
- `,ko=t.div`
1597
+ `,jo=t.div`
1598
1598
  text-transform: uppercase;
1599
1599
  margin-bottom: 2px;
1600
1600
  color: var(--white-900);
@@ -1604,49 +1604,49 @@
1604
1604
  line-height: 16px;
1605
1605
  letter-spacing: 0.2px;
1606
1606
  font-family: "Inter", sans-serif;
1607
- `,jo=t.div`
1607
+ `,Mo=t.div`
1608
1608
  font-size: 14px;
1609
1609
  font-style: normal;
1610
1610
  font-weight: 500;
1611
1611
  line-height: 22px;
1612
1612
  font-family: "Inter", sans-serif;
1613
- `,Mo=t.div`
1613
+ `,Lo=t.div`
1614
1614
  color: var(--grey-400);
1615
1615
  font-size: 12px;
1616
1616
  font-style: italic;
1617
1617
  font-weight: 500;
1618
1618
  line-height: 16px;
1619
1619
  font-family: "Inter", sans-serif;
1620
- `,Lo=t.div`
1620
+ `,Eo=t.div`
1621
1621
  display: flex;
1622
1622
  flex-direction: column;
1623
- `,Eo=t.div`
1623
+ `,Io=t.div`
1624
1624
  display: flex;
1625
1625
  align-items: center;
1626
1626
  justify-content: center;
1627
- `,Io=t.div`
1627
+ `,No=t.div`
1628
1628
  display: flex;
1629
1629
  align-items: center;
1630
1630
  padding: 6px 0;
1631
1631
  border-radius: 4px;
1632
1632
  gap: 8px;
1633
- `,No=t.div`
1633
+ `,Ao=t.div`
1634
1634
  font-family: "Inter", sans-serif;
1635
1635
  color: var(--grey-400);
1636
1636
  font-size: 14px;
1637
1637
  font-style: normal;
1638
1638
  font-weight: 500;
1639
1639
  line-height: 22px;
1640
- `,Ao=t.div`
1640
+ `,_o=t.div`
1641
1641
  display: flex;
1642
1642
  align-items: center;
1643
1643
  justify-content: center;
1644
- `,_o=t.div`
1644
+ `,$o=t.div`
1645
1645
  display: flex;
1646
1646
  align-items: center;
1647
1647
  gap: 8px;
1648
1648
  width: 320px;
1649
- `,$o=()=>e.jsx("div",{style:{borderRadius:"4px",display:"flex",alignItems:"center",justifyContent:"center"},children:e.jsx(pe,{name:exports.IconName.BUILDING,fill:"var(--white-900)",width:"20",height:"20"})}),Ro=()=>e.jsx(pe,{name:exports.IconName.LAMP,fill:"var(--white-900)",width:"20",height:"20"}),To=({organization:t})=>e.jsxs(wo,{children:[e.jsx(yo,{children:e.jsxs(Lo,{children:[e.jsx(ko,{children:"ORGANIZATION"}),e.jsxs(_o,{children:[e.jsx(Eo,{children:t.logo||e.jsx($o,{})}),e.jsxs("div",{children:[e.jsx(jo,{children:t.name}),t.subtext&&e.jsx(Mo,{children:t.subtext})]})]})]})}),e.jsx(yo,{children:e.jsxs(Lo,{children:[e.jsx(ko,{children:"PROJECT"}),e.jsxs(Io,{children:[e.jsx(Ao,{children:e.jsx(Ro,{})}),e.jsx(No,{children:"Not Selected"})]})]})})]}),So=t.div`
1649
+ `,Ro=()=>e.jsx("div",{style:{borderRadius:"4px",display:"flex",alignItems:"center",justifyContent:"center"},children:e.jsx(pe,{name:exports.IconName.BUILDING,fill:"var(--white-900)",width:"20",height:"20"})}),To=()=>e.jsx(pe,{name:exports.IconName.LAMP,fill:"var(--white-900)",width:"20",height:"20"}),So=({organization:t})=>e.jsxs(yo,{children:[e.jsx(ko,{children:e.jsxs(Eo,{children:[e.jsx(jo,{children:"ORGANIZATION"}),e.jsxs($o,{children:[e.jsx(Io,{children:t.logo||e.jsx(Ro,{})}),e.jsxs("div",{children:[e.jsx(Mo,{children:t.name}),t.subtext&&e.jsx(Lo,{children:t.subtext})]})]})]})}),e.jsx(ko,{children:e.jsxs(Eo,{children:[e.jsx(jo,{children:"PROJECT"}),e.jsxs(No,{children:[e.jsx(_o,{children:e.jsx(To,{})}),e.jsx(Ao,{children:"Not Selected"})]})]})})]}),zo=t.div`
1650
1650
  display: flex;
1651
1651
  align-items: center;
1652
1652
  justify-content: space-between;
@@ -1654,32 +1654,32 @@
1654
1654
  padding: 0 0 24px;
1655
1655
  border-top-left-radius: 24px;
1656
1656
  border-top-right-radius: 24px;
1657
- `,zo=t.h2`
1657
+ `,Bo=t.h2`
1658
1658
  color: var(--blue-900);
1659
1659
  font-family: "Inter", sans-serif;
1660
1660
  font-size: 20px;
1661
1661
  font-weight: 600;
1662
1662
  line-height: 28px;
1663
1663
  margin: 0;
1664
- `,Bo=t.div`
1664
+ `,Ho=t.div`
1665
1665
  display: flex;
1666
1666
  align-items: center;
1667
1667
  gap: 8px;
1668
1668
  color: var(--grey-600);
1669
1669
  font-size: 15px;
1670
1670
  font-weight: 500;
1671
- `,Ho=t.div`
1671
+ `,Po=t.div`
1672
1672
  background-color: var(--white-900);
1673
1673
  border-radius: 24px;
1674
1674
  border: 1px solid var(--grey-200);
1675
1675
  width: 100%;
1676
- `,Po=t.div`
1676
+ `,Oo=t.div`
1677
1677
  display: flex;
1678
1678
  align-items: center;
1679
1679
  border-bottom: 1px solid var(--grey-200);
1680
1680
  padding-bottom: 16px;
1681
1681
  padding: 12px 24px;
1682
- `,Oo=t.h3`
1682
+ `,Do=t.h3`
1683
1683
  color: var(--blue-900);
1684
1684
  font-family: "Inter", sans-serif;
1685
1685
  font-size: 20px;
@@ -1688,16 +1688,16 @@
1688
1688
  margin: 0;
1689
1689
  `,Vo=t.div`
1690
1690
  padding: 20px 24px 36px 24px;
1691
- `,Do=t.div`
1691
+ `,Uo=t.div`
1692
1692
  display: flex;
1693
1693
  flex-direction: column;
1694
1694
  align-items: flex-start;
1695
1695
  gap: 16px;
1696
- `,Uo=t.div`
1696
+ `,Go=t.div`
1697
1697
  color: var(--grey-400);
1698
1698
  font-size: 14px;
1699
1699
  font-weight: 500;
1700
- `,Go=({className:t})=>{const[o,i]=r.useState(!1);return e.jsxs("div",{className:t,children:[e.jsxs(So,{children:[e.jsx(zo,{children:"Protocol Configuration"}),e.jsx(Bo,{children:e.jsx(Cr,{label:"Edit Mode",checked:o,onChange:()=>i(e=>!e)})})]}),e.jsxs(Ho,{children:[e.jsx(Po,{children:e.jsx(Oo,{children:"Configuration"})}),e.jsx(Vo,{children:o?e.jsx(f,{variant:"secondary",size:"medium",leftIcon:e.jsx(pe,{name:exports.IconName.PLUS,width:"20",height:"20",fill:"var(--blue-600)"}),children:"Add Input"}):e.jsx(Do,{children:e.jsx(Uo,{children:"No values, Use the 'edit' button to add values"})})})]})]})},Ko=t.div`
1700
+ `,Ko=({className:t})=>{const[o,i]=r.useState(!1);return e.jsxs("div",{className:t,children:[e.jsxs(zo,{children:[e.jsx(Bo,{children:"Protocol Configuration"}),e.jsx(Ho,{children:e.jsx(Cr,{label:"Edit Mode",checked:o,onChange:()=>i(e=>!e)})})]}),e.jsxs(Po,{children:[e.jsx(Oo,{children:e.jsx(Do,{children:"Configuration"})}),e.jsx(Vo,{children:o?e.jsx(f,{variant:"secondary",size:"medium",leftIcon:e.jsx(pe,{name:exports.IconName.PLUS,width:"20",height:"20",fill:"var(--blue-600)"}),children:"Add Input"}):e.jsx(Uo,{children:e.jsx(Go,{children:"No values, Use the 'edit' button to add values"})})})]})]})},Zo=t.div`
1701
1701
  display: flex;
1702
1702
  flex-direction: column;
1703
1703
  align-items: flex-start;
@@ -1705,44 +1705,44 @@
1705
1705
  gap: 16px;
1706
1706
  width: 928px;
1707
1707
  background: transparent;
1708
- `,Zo=t.div`
1708
+ `,Wo=t.div`
1709
1709
  display: flex;
1710
1710
  flex-direction: row;
1711
1711
  justify-content: space-between;
1712
1712
  align-items: center;
1713
1713
  width: 928px;
1714
1714
  height: 36px;
1715
- `,Wo=t.span`
1715
+ `,Yo=t.span`
1716
1716
  font-family: "Inter", sans-serif;
1717
1717
  font-weight: 600;
1718
1718
  font-size: 18px;
1719
1719
  line-height: 28px;
1720
1720
  color: var(--black-900);
1721
- `,Yo=t.div`
1721
+ `,Fo=t.div`
1722
1722
  display: flex;
1723
1723
  flex-direction: row;
1724
1724
  align-items: center;
1725
1725
  gap: 16px;
1726
1726
  justify-content: flex-end;
1727
- `,Fo=t.div`
1727
+ `,Xo=t.div`
1728
1728
  width: 1px;
1729
1729
  height: 20px;
1730
1730
  background: var(--grey-200);
1731
- `,Xo=t.div`
1731
+ `,qo=t.div`
1732
1732
  width: 100%;
1733
- `,qo=t(Cr)`
1733
+ `,Qo=t(Cr)`
1734
1734
  min-width: 176px;
1735
- `,Qo=t(He)``,Jo=t.div`
1735
+ `,Jo=t(He)``,ei=t.div`
1736
1736
  padding: 12px 0;
1737
1737
  flex: 1;
1738
- `,ei=t.div`
1738
+ `,ti=t.div`
1739
1739
  display: flex;
1740
1740
  flex-direction: column;
1741
1741
  gap: 6px;
1742
1742
  width: 100%;
1743
- `,ti=t(ht)`
1743
+ `,ri=t(ht)`
1744
1744
  margin-bottom: 2px;
1745
- `,ri=t.div`
1745
+ `,oi=t.div`
1746
1746
  width: 104px;
1747
1747
  height: 100%;
1748
1748
  background-color: var(--blue-900);
@@ -1750,7 +1750,7 @@
1750
1750
  flex-direction: column;
1751
1751
  align-items: center;
1752
1752
  padding: 0;
1753
- `,oi=t.div`
1753
+ `,ii=t.div`
1754
1754
  width: 100%;
1755
1755
  display: inline-flex;
1756
1756
  flex-direction: column;
@@ -1763,13 +1763,13 @@
1763
1763
  &:hover {
1764
1764
  background-color: var(--white-50);
1765
1765
  }
1766
- `,ii=t.div`
1766
+ `,ni=t.div`
1767
1767
  display: flex;
1768
1768
  justify-content: center;
1769
1769
  align-items: center;
1770
1770
  margin-bottom: 10px;
1771
1771
  color: var(--white-900);
1772
- `,ni=t.div`
1772
+ `,ai=t.div`
1773
1773
  color: var(--white-900);
1774
1774
  text-align: center;
1775
1775
  font-family: "Inter", sans-serif;
@@ -1779,29 +1779,29 @@
1779
1779
  line-height: 16px;
1780
1780
  text-align: center;
1781
1781
  padding: 0 8px;
1782
- `,ai=({icon:t,label:r,active:o,onClick:i})=>e.jsxs(oi,{$active:o,onClick:i,children:[e.jsx(ii,{children:e.jsx(pe,{name:t,fill:"var(--white-900)",width:"20",height:"20"})}),e.jsx(ni,{children:r})]}),si=({items:t,activeItem:r,onItemClick:o})=>e.jsx(ri,{children:t.map(t=>e.jsx(ai,{icon:t.icon,label:t.label,active:r===t.label,onClick:()=>{return e=t.label,void(o&&o(e));var e}},t.label))}),li=t.div`
1782
+ `,si=({icon:t,label:r,active:o,onClick:i})=>e.jsxs(ii,{$active:o,onClick:i,children:[e.jsx(ni,{children:e.jsx(pe,{name:t,fill:"var(--white-900)",width:"20",height:"20"})}),e.jsx(ai,{children:r})]}),li=({items:t,activeItem:r,onItemClick:o})=>e.jsx(oi,{children:t.map(t=>e.jsx(si,{icon:t.icon,label:t.label,active:r===t.label,onClick:()=>{return e=t.label,void(o&&o(e));var e}},t.label))}),ci=t.div`
1783
1783
  width: 100%;
1784
1784
  border: 1px solid var(--grey-200);
1785
1785
  border-radius: 8px;
1786
1786
  overflow: visible;
1787
1787
  background-color: var(--white-900);
1788
- `,ci=t.table`
1788
+ `,di=t.table`
1789
1789
  width: 100%;
1790
1790
  border-collapse: collapse;
1791
1791
  border-spacing: 0;
1792
- `,di=t.tbody``,hi=t.tr`
1792
+ `,hi=t.tbody``,pi=t.tr`
1793
1793
  cursor: ${e=>e.$selectable?"pointer":"default"};
1794
1794
 
1795
1795
  &:hover {
1796
1796
  background-color: ${e=>e.$selectable?"var(--grey-50)":"transparent"};
1797
1797
  }
1798
- `,pi=t(Zt)`
1798
+ `,xi=t(Zt)`
1799
1799
  width: 40px;
1800
1800
  padding: 10px 12px;
1801
- `,xi=t(Qt)`
1801
+ `,ui=t(Qt)`
1802
1802
  width: 40px;
1803
1803
  padding: 8px 12px;
1804
- `,ui=t.div`
1804
+ `,gi=t.div`
1805
1805
  display: flex;
1806
1806
  align-items: center;
1807
1807
  justify-content: center;
@@ -1810,7 +1810,7 @@
1810
1810
  height: 40px;
1811
1811
  background-color: var(--grey-50);
1812
1812
  border-top: 1px solid var(--grey-200);
1813
- `,gi=t.button`
1813
+ `,fi=t.button`
1814
1814
  display: flex;
1815
1815
  align-items: center;
1816
1816
  justify-content: center;
@@ -1831,11 +1831,11 @@
1831
1831
  width: 20px;
1832
1832
  height: 20px;
1833
1833
  }
1834
- `,fi=t.div`
1834
+ `,mi=t.div`
1835
1835
  display: flex;
1836
1836
  align-items: center;
1837
1837
  gap: 0;
1838
- `,mi=t.button`
1838
+ `,Ci=t.button`
1839
1839
  display: flex;
1840
1840
  align-items: center;
1841
1841
  justify-content: center;
@@ -1855,7 +1855,7 @@
1855
1855
  &:hover:not(:disabled) {
1856
1856
  background-color: var(--grey-100);
1857
1857
  }
1858
- `;function Ci({columns:t,data:o,pageSize:i=10,rowKey:n,selectable:a=!1,onRowSelect:s,sortKey:l,sortDirection:c,onSort:d,currentPage:h,onPageChange:p,totalItems:x,selectedRows:u,className:g}){const[f,m]=r.useState(null),[C,b]=r.useState(null),[v,w]=r.useState(1),[y,k]=r.useState([]),[j,M]=r.useState({}),L=void 0!==l,E=void 0!==h,I=void 0!==u,N=L?l:f,A=L?c:C,_=E?h:v,$=I?u:y,R=r.useMemo(()=>{let e=[...o];return Object.entries(j).forEach(([t,r])=>{r&&(e=e.filter(e=>{const o=e[t];return o?.toString()===r}))}),e},[o,j]),T=r.useMemo(()=>N&&A?[...R].sort((e,t)=>{const r=e[N],o=t[N];if(r===o)return 0;let i=0;return i="number"==typeof r&&"number"==typeof o?r-o:String(r).localeCompare(String(o)),"asc"===A?i:-i}):R,[R,N,A]),S=-1===i?1:Math.ceil((x||T.length)/i),z=r.useMemo(()=>{if(void 0!==x)return T;if(-1===i)return T;const e=(_-1)*i;return T.slice(e,e+i)},[T,_,i,x]);r.useEffect(()=>{E||w(1)},[j,N,A,E]);const B=e=>{E&&p?p(e):w(e)},H=(e,t)=>n?"function"==typeof n?n(e):e[n]:t,P=(e,t)=>{const r=t?[...$,e]:$.filter(t=>t!==e);I&&s||k(r),s(r)},O=e=>$.some(t=>H(t,0)===H(e,0)),V=T.length>0&&T.every(e=>O(e));return e.jsxs(li,{className:g,children:[e.jsxs(ci,{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[a&&e.jsx(xi,{children:e.jsx(Ce,{checked:V,onChange:e=>{const t=e?[...T]:[];I&&s||k(t),s(t)},noPadding:!0})}),t.map(t=>e.jsx(Qt,{width:t.width,sortable:t.sortable,sortDirection:N===t.key&&A||null,onSort:t.sortable?()=>{return e=t.key,void(L&&d?d(e,N===e&&"asc"===A?"desc":"asc"):N===e?"asc"===A?b("desc"):(m(null),b(null)):(m(e),b("asc")));var e}:void 0,filterable:t.filterable,filterOptions:t.filterOptions,filterValue:j[t.key]||"",onFilterChange:t.filterable?e=>((e,t)=>{M(r=>({...r,[e]:t}))})(t.key,e):void 0,children:t.header},t.key))]})}),e.jsx(di,{children:z.map((r,o)=>e.jsxs(hi,{$selectable:a,onClick:a?()=>P(r,!O(r)):void 0,children:[a&&e.jsx(pi,{children:e.jsx(Ce,{checked:O(r),onChange:e=>P(r,e),noPadding:!0,onClick:e=>e.stopPropagation()})}),t.map(t=>{const i=r[t.key],n=t.render?t.render(i,r,o):i;return e.jsx(Zt,{align:t.align,children:n},t.key)})]},H(r,o)))})]}),-1!==i&&S>1&&e.jsxs(ui,{children:[e.jsx(gi,{disabled:1===_,onClick:()=>B(_-1),"aria-label":"Previous page",children:e.jsx("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M12.5 15L7.5 10L12.5 5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),e.jsx(fi,{children:(()=>{const e=[];if(S<=5)for(let t=1;t<=S;t++)e.push(t);else{e.push(1),_>3&&e.push("...");const t=Math.max(2,_-1),r=Math.min(S-1,_+1);for(let o=t;o<=r;o++)e.push(o);_<S-2&&e.push("..."),e.push(S)}return e})().map((t,r)=>e.jsx(mi,{$active:t===_,onClick:"number"==typeof t?()=>B(t):void 0,disabled:"number"!=typeof t,children:t},r))}),e.jsx(gi,{disabled:_===S,onClick:()=>B(_+1),"aria-label":"Next page",children:e.jsx("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M7.5 15L12.5 10L7.5 5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]})}Ci.displayName="Table";const bi=t.div`
1858
+ `;function bi({columns:t,data:o,pageSize:i=10,rowKey:n,selectable:a=!1,onRowSelect:s,sortKey:l,sortDirection:c,onSort:d,currentPage:h,onPageChange:p,totalItems:x,selectedRows:u,className:g}){const[f,m]=r.useState(null),[C,b]=r.useState(null),[v,w]=r.useState(1),[y,k]=r.useState([]),[j,M]=r.useState({}),L=void 0!==l,E=void 0!==h,I=void 0!==u,N=L?l:f,A=L?c:C,_=E?h:v,$=I?u:y,R=r.useMemo(()=>{let e=[...o];return Object.entries(j).forEach(([t,r])=>{r&&(e=e.filter(e=>{const o=e[t];return o?.toString()===r}))}),e},[o,j]),T=r.useMemo(()=>N&&A?[...R].sort((e,t)=>{const r=e[N],o=t[N];if(r===o)return 0;let i=0;return i="number"==typeof r&&"number"==typeof o?r-o:String(r).localeCompare(String(o)),"asc"===A?i:-i}):R,[R,N,A]),S=-1===i?1:Math.ceil((x||T.length)/i),z=r.useMemo(()=>{if(void 0!==x)return T;if(-1===i)return T;const e=(_-1)*i;return T.slice(e,e+i)},[T,_,i,x]);r.useEffect(()=>{E||w(1)},[j,N,A,E]);const B=e=>{E&&p?p(e):w(e)},H=(e,t)=>n?"function"==typeof n?n(e):e[n]:t,P=(e,t)=>{const r=t?[...$,e]:$.filter(t=>t!==e);I&&s||k(r),s(r)},O=e=>$.some(t=>H(t,0)===H(e,0)),D=T.length>0&&T.every(e=>O(e));return e.jsxs(ci,{className:g,children:[e.jsxs(di,{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[a&&e.jsx(ui,{children:e.jsx(Ce,{checked:D,onChange:e=>{const t=e?[...T]:[];I&&s||k(t),s(t)},noPadding:!0})}),t.map(t=>e.jsx(Qt,{width:t.width,sortable:t.sortable,sortDirection:N===t.key&&A||null,onSort:t.sortable?()=>{return e=t.key,void(L&&d?d(e,N===e&&"asc"===A?"desc":"asc"):N===e?"asc"===A?b("desc"):(m(null),b(null)):(m(e),b("asc")));var e}:void 0,filterable:t.filterable,filterOptions:t.filterOptions,filterValue:j[t.key]||"",onFilterChange:t.filterable?e=>((e,t)=>{M(r=>({...r,[e]:t}))})(t.key,e):void 0,children:t.header},t.key))]})}),e.jsx(hi,{children:z.map((r,o)=>e.jsxs(pi,{$selectable:a,onClick:a?()=>P(r,!O(r)):void 0,children:[a&&e.jsx(xi,{children:e.jsx(Ce,{checked:O(r),onChange:e=>P(r,e),noPadding:!0,onClick:e=>e.stopPropagation()})}),t.map(t=>{const i=r[t.key],n=t.render?t.render(i,r,o):i;return e.jsx(Zt,{align:t.align,children:n},t.key)})]},H(r,o)))})]}),-1!==i&&S>1&&e.jsxs(gi,{children:[e.jsx(fi,{disabled:1===_,onClick:()=>B(_-1),"aria-label":"Previous page",children:e.jsx("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M12.5 15L7.5 10L12.5 5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),e.jsx(mi,{children:(()=>{const e=[];if(S<=5)for(let t=1;t<=S;t++)e.push(t);else{e.push(1),_>3&&e.push("...");const t=Math.max(2,_-1),r=Math.min(S-1,_+1);for(let o=t;o<=r;o++)e.push(o);_<S-2&&e.push("..."),e.push(S)}return e})().map((t,r)=>e.jsx(Ci,{$active:t===_,onClick:"number"==typeof t?()=>B(t):void 0,disabled:"number"!=typeof t,children:t},r))}),e.jsx(fi,{disabled:_===S,onClick:()=>B(_+1),"aria-label":"Next page",children:e.jsx("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M7.5 15L12.5 10L7.5 5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]})}bi.displayName="Table";const vi=t.div`
1859
1859
  display: flex;
1860
1860
  align-items: center;
1861
1861
  border-bottom: 1px solid var(--grey-200);
@@ -1867,7 +1867,7 @@
1867
1867
 
1868
1868
  -ms-overflow-style: none;
1869
1869
  scrollbar-width: none;
1870
- `,vi=({tabs:t,activeTab:o,onChange:i,disabled:n=!1,size:a="medium"})=>{const[s,l]=r.useState(o||(t.length>0?t[0].id:""));return e.jsx(bi,{children:t.map(t=>e.jsx(Gt,{label:t.label,active:o?o===t.id:s===t.id,disabled:n||t.disabled,size:t.size||a,onClick:()=>{return e=t.id,void(n||(l(e),i?.(e)));var e}},t.id))})},wi=t.div`
1870
+ `,wi=({tabs:t,activeTab:o,onChange:i,disabled:n=!1,size:a="medium"})=>{const[s,l]=r.useState(o||(t.length>0?t[0].id:""));return e.jsx(vi,{children:t.map(t=>e.jsx(Gt,{label:t.label,active:o?o===t.id:s===t.id,disabled:n||t.disabled,size:t.size||a,onClick:()=>{return e=t.id,void(n||(l(e),i?.(e)));var e}},t.id))})},yi=t.div`
1871
1871
  position: fixed;
1872
1872
  ${e=>"top"===e.position?"top: 16px;":"bottom: 16px;"}
1873
1873
  left: 50%;
@@ -1879,7 +1879,7 @@
1879
1879
  flex-direction: column;
1880
1880
  gap: 8px;
1881
1881
  pointer-events: none;
1882
- `,yi=t.div`
1882
+ `,ki=t.div`
1883
1883
  opacity: 0;
1884
1884
  transform: translateY(
1885
1885
  ${e=>"top"===e.theme.position?"-10px":"10px"}
@@ -1901,52 +1901,52 @@
1901
1901
  transform: translateY(0);
1902
1902
  }
1903
1903
  }
1904
- `;r.createContext(void 0);let ki=[],ji=[];const Mi=(e,t)=>{if("undefined"!=typeof window){return getComputedStyle(document.documentElement).getPropertyValue("--"+e).trim()||t||""}return"var(--"+e+(t?", "+t:"")+")"},Li={BLACK_50:Mi("black-50","rgba(26, 26, 26, 0.05)"),BLACK_100:Mi("black-100","rgba(26, 26, 26, 0.1)"),BLACK_200:Mi("black-200","rgba(26, 26, 26, 0.2)"),BLACK_300:Mi("black-300","rgba(26, 26, 26, 0.3)"),BLACK_400:Mi("black-400","rgba(26, 26, 26, 0.4)"),BLACK_500:Mi("black-500","rgba(26, 26, 26, 0.5)"),BLACK_600:Mi("black-600","rgba(26, 26, 26, 0.6)"),BLACK_700:Mi("black-700","rgba(26, 26, 26, 0.7)"),BLACK_800:Mi("black-800","rgba(26, 26, 26, 0.8)"),BLACK_900:Mi("black-900","rgba(26, 26, 26, 1)"),BLACK:Mi("black-900","#1a1a1a"),BLACK_OPACITY_20:"rgba(26, 26, 26, 0.2)",WHITE_50:Mi("white-50","rgba(255, 255, 255, 0.05)"),WHITE_100:Mi("white-100","rgba(255, 255, 255, 0.1)"),WHITE_200:Mi("white-200","rgba(255, 255, 255, 0.2)"),WHITE_300:Mi("white-300","rgba(255, 255, 255, 0.3)"),WHITE_400:Mi("white-400","rgba(255, 255, 255, 0.4)"),WHITE_500:Mi("white-500","rgba(255, 255, 255, 0.5)"),WHITE_600:Mi("white-600","rgba(255, 255, 255, 0.6)"),WHITE_700:Mi("white-700","rgba(255, 255, 255, 0.7)"),WHITE_800:Mi("white-800","rgba(255, 255, 255, 0.8)"),WHITE_900:Mi("white-900","rgba(255, 255, 255, 1)"),WHITE:Mi("white-900","#ffffff"),BLUE_50:Mi("blue-50","rgba(240, 249, 255, 1)"),BLUE_100:Mi("blue-100","rgba(225, 243, 254, 1)"),BLUE_200:Mi("blue-200","rgba(185, 229, 252, 1)"),BLUE_300:Mi("blue-300","rgba(125, 211, 251, 1)"),BLUE_400:Mi("blue-400","rgba(58, 190, 247, 1)"),BLUE_500:Mi("blue-500","rgba(27, 173, 240, 1)"),BLUE_600:Mi("blue-600","rgba(64, 114, 210, 1)"),BLUE_700:Mi("blue-700","rgba(3, 105, 159, 1)"),BLUE_800:Mi("blue-800","rgba(5, 69, 103, 1)"),BLUE_900:Mi("blue-900","rgba(4, 38, 63, 1)"),BLUE:Mi("graph-primary-blue","#2D9CDB"),GREY_50:Mi("grey-50","rgba(248, 250, 252, 1)"),GREY_100:Mi("grey-100","rgba(241, 245, 249, 1)"),GREY_200:Mi("grey-200","rgba(225, 231, 239, 1)"),GREY_300:Mi("grey-300","rgba(200, 214, 229, 1)"),GREY_400:Mi("grey-400","rgba(158, 172, 192, 1)"),GREY_500:Mi("grey-500","rgba(100, 116, 139, 1)"),GREY_600:Mi("grey-600","rgba(72, 86, 106, 1)"),GREY_700:Mi("grey-700","rgba(51, 65, 86, 1)"),GREY_800:Mi("grey-800","rgba(29, 40, 57, 1)"),GREY_900:Mi("grey-900","rgba(20, 30, 53, 1)"),GREY:Mi("grey-400","#CCCCCC"),ORANGE:Mi("graph-primary-orange","#FFA62E"),RED:Mi("graph-primary-red","#FF5C64"),GREEN:Mi("graph-primary-green","#A5C34E"),YELLOW:Mi("graph-primary-yellow","#FBED53"),PURPLE:Mi("graph-primary-purple","#7A51AB"),GREEN_BG:Mi("green-bg","rgba(234, 254, 229, 1)"),GREEN_SUCCESS:Mi("green-success","rgba(8, 173, 55, 1)"),ORANGE_BG:Mi("orange-bg","rgba(254, 250, 229, 1)"),ORANGE_CAUTION:Mi("orange-caution","rgba(249, 173, 20, 1)"),RED_BG:Mi("red-bg","rgba(254, 234, 229, 1)"),RED_ERROR:Mi("red-error","rgba(216, 35, 44, 1)"),GRAPH_SECONDARY_BROWN:Mi("graph-secondary-brown","#AD7942"),GRAPH_SECONDARY_PINK:Mi("graph-secondary-pink","#FB90B4"),GRAPH_SECONDARY_TEAL:Mi("graph-secondary-teal","#3CCABA"),GRAPH_SECONDARY_DARK_BLUE:Mi("graph-secondary-dark-blue","#4072D2"),GRAPH_SECONDARY_BLACK:Mi("graph-secondary-black","#424E62"),GRAPH_SECONDARY_GREY:Mi("graph-secondary-grey","#B4B4B4")},Ei=[Li.ORANGE,Li.RED,Li.GREEN,Li.BLUE,Li.YELLOW,Li.PURPLE,Li.GRAPH_SECONDARY_BROWN,Li.GRAPH_SECONDARY_PINK,Li.GRAPH_SECONDARY_TEAL,Li.GRAPH_SECONDARY_DARK_BLUE,Li.GRAPH_SECONDARY_BLACK,Li.GRAPH_SECONDARY_GREY],Ii=70,Ni=30,Ai=60,_i=50,$i=30,Ri=5,Ti=11,Si=10,zi={default:{ax:0,ay:-35},overlap:[{ax:50,ay:-35},{ax:-60,ay:-35},{ax:70,ay:-55},{ax:-80,ay:-55},{ax:50,ay:-75},{ax:-60,ay:-75}]};function Bi(e,t,r){const o=-1===t,i=o?Li.GREY_500:Ei[t%Ei.length],n=o?Li.BLACK_900:i,a=e.text??(void 0===e._computed?.area?"":`Area: ${e._computed.area.toFixed(2)}`),s=o&&void 0!==e.ax?e.ax:r.ax,l=o&&void 0!==e.ay?e.ay:r.ay;return{x:e.x,y:e.y,text:a,showarrow:!0,arrowhead:2,arrowsize:1,arrowwidth:1,arrowcolor:i,ax:s,ay:l,font:{size:o?Ti:Si,color:n,family:"Inter, sans-serif"},bgcolor:Li.WHITE,borderpad:2,bordercolor:o?void 0:i,borderwidth:o?0:1}}function Hi(e){if(1===e.length){const{peak:t,seriesIndex:r}=e[0];return[Bi(t,r,zi.default)]}return[...e].sort((e,t)=>e.peak.y-t.peak.y).map(({peak:e,seriesIndex:t},r)=>Bi(e,t,zi.overlap[r%zi.overlap.length]))}function Pi(e,t,r,o){return"none"===r?[]:[{x:[e],y:[t],type:"scatter",mode:"markers",marker:{symbol:"diamond"===r?"diamond":"triangle-up",size:8,color:o},showlegend:!1,hoverinfo:"skip"}]}function Oi(e,t,r){let o=e[t],i=e[t];for(let i=t-1;i>=Math.max(0,t-r);i--)o=Math.min(o,e[i]);for(let o=t+1;o<Math.min(e.length,t+r);o++)i=Math.min(i,e[o]);return e[t]-Math.max(o,i)}function Vi(e,t){let r=t,o=t;for(let o=t-1;o>=0&&e[o]<=e[o+1];o--)r=o;for(let r=t+1;r<e.length&&e[r]<=e[r-1];r++)o=r;return{startIndex:r,endIndex:o}}function Di(e,t,r,o){const i=Math.min(t[r],t[o]);let n=0;for(let a=r;a<o;a++){const r=e[a+1]-e[a];n+=(t[a]-i+(t[a+1]-i))*r/2}return n}function Ui(e,t,r,o,i){const n=Math.min(t[o],t[i]),a=(t[r]+n)/2;let s=r,l=r;for(let e=r;e>=o;e--)if(t[e]<a){s=e;break}for(let e=r;e<=i;e++)if(t[e]<a){l=e;break}return e[l]-e[s]}function Gi(e,t,r={}){const{minHeight:o=.05,minDistance:i=5,prominence:n=.02,relativeThreshold:a=!0}=r;if(t.length<3)return[];const s=Math.max(...t),l=a?o*s:o,c=a?n*s:n,d=3*i,h=[];for(let r=1;r<t.length-1;r++){if(!(t[r]>t[r-1]&&t[r]>t[r+1]&&t[r]>=l))continue;if(Oi(t,r,d)<c)continue;const{startIndex:o,endIndex:i}=Vi(t,r),n=Di(e,t,o,i),a=Ui(e,t,r,o,i);h.push({x:e[r],y:t[r],_computed:{area:n,index:r,startIndex:o,endIndex:i,widthAtHalfMax:a}})}return function(e,t){const r=[];for(const o of e)r.some(e=>Math.abs((e._computed?.index??0)-(o._computed?.index??0))<t)?r.length>0&&o.y>r[r.length-1].y&&(r.pop(),r.push(o)):r.push(o);return r.sort((e,t)=>e.x-t.x)}(h,i)}function Ki(e,t){if(0===e.length)return 0;if(1===e.length)return 0;let r=0,o=e.length-1;for(;r<o;){const i=Math.floor((r+o)/2);e[i]<t?r=i+1:o=i}return r>0&&Math.abs(e[r-1]-t)<Math.abs(e[r]-t)?r-1:r}function Zi(e,t,r=50){if("none"===t||0===e.length)return e;if("linear"===t){if(1===e.length)return[0];const t=(e[e.length-1]-e[0])/(e.length-1);return e.map((r,o)=>r-(e[0]+t*o))}if("rolling"===t){const t=[],o=Math.floor(r/2);for(let r=0;r<e.length;r++){const i=Math.max(0,r-o),n=Math.min(e.length,r+o+1),a=e.slice(i,n);t.push(Math.min(...a))}return e.map((e,r)=>e-t[r])}return e}const Wi="96",Yi="384",Fi="1536",Xi={sample:"#4575b4",control:"#d73027",empty:"#f0f0f0"},qi={[Wi]:{rows:8,columns:12},[Yi]:{rows:16,columns:24},[Fi]:{rows:32,columns:48}},Qi=[[0,"#313695"],[.1,"#4575b4"],[.2,"#74add1"],[.3,"#abd9e9"],[.4,"#e0f3f8"],[.5,"#ffffbf"],[.6,"#fee090"],[.7,"#fdae61"],[.8,"#f46d43"],[.9,"#d73027"],[1,"#a50026"]],Ji="#333",en="#000",tn="#f0f0f0",rn={Viridis:[[0,"#440154"],[.25,"#414487"],[.5,"#2a788e"],[.75,"#22a884"],[1,"#7ad151"]],Blues:[[0,"#f7fbff"],[.25,"#c6dbef"],[.5,"#6baed6"],[.75,"#2171b5"],[1,"#08306b"]],RdBu:[[0,"#67001f"],[.25,"#d6604d"],[.5,"#f7f7f7"],[.75,"#4393c3"],[1,"#053061"]],Greens:[[0,"#f7fcf5"],[.25,"#c7e9c0"],[.5,"#74c476"],[.75,"#238b45"],[1,"#00441b"]],Reds:[[0,"#fff5f0"],[.25,"#fcbba1"],[.5,"#fb6a4a"],[.75,"#cb181d"],[1,"#67000d"]],Greys:[[0,"#ffffff"],[.25,"#d9d9d9"],[.5,"#969696"],[.75,"#525252"],[1,"#000000"]],Hot:[[0,"#000000"],[.33,"#e60000"],[.66,"#ffff00"],[1,"#ffffff"]],YlGnBu:[[0,"#ffffd9"],[.25,"#c7e9b4"],[.5,"#41b6c4"],[.75,"#225ea8"],[1,"#081d58"]],YlOrRd:[[0,"#ffffcc"],[.25,"#fed976"],[.5,"#fd8d3c"],[.75,"#e31a1c"],[1,"#800026"]],Plasma:[[0,"#0d0887"],[.25,"#7e03a8"],[.5,"#cc4778"],[.75,"#f89540"],[1,"#f0f921"]]},on=5e4,nn=.01,an=.99,sn=.001,ln=.575,cn=.425,dn=11,hn=-.5,pn=70,xn=50,un=40,gn=80,fn=130,mn=.15,Cn=.85;function bn(e){const t=e.match(/^([A-Z]{1,2})(\d{1,2})$/i);if(!t)return null;const r=t[1].toUpperCase();return{row:1===r.length?r.charCodeAt(0)-65:r.charCodeAt(1)-65+26,col:parseInt(t[2],10)-1}}function vn(e,t,r){if(!e)return!1;const{row:o,col:i}=e;return o>=0&&i>=0&&o<t&&i<r}function wn(e,t){if(!e)return null;const r=t??Object.keys(e)[0];return r?e[r]:null}function yn(e,t,r,o,i){"number"==typeof e?o[t][r]=e:"string"==typeof e&&(i[t][r]=e)}function kn(e,t){const r=function(e){const t=new Set;for(const r of e)r.values&&Object.keys(r.values).forEach(e=>t.add(e));return[...t]}(e);return r.map(r=>{const o=t?.find(e=>e.id===r),i=function(e,t){for(const r of e){const e=r.values?.[t];if("string"==typeof e)return!0}return!1}(e,r);return{id:r,name:o?.name??r,visualizationMode:o?.visualizationMode??(i?"categorical":void 0),colorScale:o?.colorScale,valueMin:o?.valueMin,valueMax:o?.valueMax,valueUnit:o?.valueUnit,categoryColors:o?.categoryColors}})}function jn(e,t,r){const o=e.match(/^([A-Z]{1,2})(\d{1,2}):([A-Z]{1,2})(\d{1,2})$/i);if(!o)return null;const i=bn(`${o[1]}${o[2]}`),n=bn(`${o[3]}${o[4]}`),a=Math.min(i.row,n.row),s=Math.max(i.row,n.row),l=Math.min(i.col,n.col),c=Math.max(i.col,n.col),d=t.length,h=r.length;return a>=d||s>=d||l>=h||c>=h?null:{minRow:a,maxRow:s,minCol:l,maxCol:c}}function Mn({wellId:e,value:t,allValues:r,tooltipExtra:o,activeLayerId:i,layerConfigMap:n,precision:a,valueUnit:s}){let l=`Well ${e}`;return l+=r?function(e,t,r,o){let i="";for(const[n,a]of Object.entries(e)){const e=n===t?"▶ ":"",s=r.get(n)?.valueUnit,l=s?` ${s}`:"";i+=null===a?`<br>${e}${n}: -`:"number"==typeof a?`<br>${e}${n}: ${a.toFixed(o)}${l}`:`<br>${e}${n}: ${a.charAt(0).toUpperCase()+a.slice(1)}`}return i}(r,i,n,a):null!==t?`<br>Value: ${t.toFixed(a)}${s}`:i?`<br>▶ ${i}: -`:"<br>No data",o&&(l+=function(e){let t="";for(const[r,o]of Object.entries(e))t+=`<br>${r}: ${String(o)}`;return t}(o)),l}function Ln(e,t,r){const o=r?{text:r}:void 0;switch(e){case"bottom":return{orientation:"h",thickness:20,len:.75,outlinewidth:0,ticksuffix:t,y:-.15,yanchor:"top",x:.5,xanchor:"center",title:o?{...o,side:"top"}:void 0};case"top":return{orientation:"h",thickness:20,len:.75,outlinewidth:0,ticksuffix:t,y:1.15,yanchor:"bottom",x:.5,xanchor:"center",title:o?{...o,side:"bottom"}:void 0};case"left":return{thickness:28,len:1,outlinewidth:0,ticksuffix:t,y:.5,yanchor:"middle",x:-.15,xanchor:"right",title:o?{...o,side:"right"}:void 0};default:return{thickness:20,len:.9,outlinewidth:0,ticksuffix:t,x:.88,xanchor:"left",y:.5,yanchor:"middle",title:o?{...o,side:"right"}:void 0}}}function En(e,t,r){const o=r?pn:xn;let i;return i=t?"top"===e?fn:100:"top"===e?pn:un,{l:"left"===e?o+xn:o,r:"right"===e?xn+xn:xn,b:"bottom"===e?gn:xn,t:i,pad:5}}function In(e){switch(e){case"left":return ln;case"right":return cn;default:return.5}}function Nn(e){switch(e){case"left":return[mn,1];case"right":return[0,Cn];default:return[0,1]}}const An=({data:t,layerConfigs:o,initialLayerId:i,onLayerChange:n,plateFormat:a="96",rows:s,columns:l,visualizationMode:d="heatmap",categoryColors:h,regions:p,title:x,xTitle:u,yTitle:g,xLabels:f,yLabels:m,colorScale:C=Qi,valueMin:b,valueMax:v,emptyWellColor:w=tn,showColorBar:y=!0,showLegend:k=!0,legendConfig:j,width:M=800,height:L=500,precision:E=0,markerShape:I="circle",onWellClick:N})=>{const A=r.useRef(null),_=r.useRef(N);_.current=N;const[$,R]=r.useState(i);let T,S;if("custom"===a)T=s??8,S=l??12;else{const e=qi[a];T=e.rows,S=e.columns}const z=r.useMemo(()=>{if(Array.isArray(t)&&t.length>0&&"wellId"in t[0]){const e=t;if(function(e){return e.some(e=>e.values&&Object.keys(e.values).length>0)}(e))return kn(e,o)}return null},[t,o]),B=r.useMemo(()=>z&&0!==z.length?$?z.find(e=>e.id===$)??z[0]:z[0]:null,[z,$]),H=B?.visualizationMode??d,P=B?.colorScale??C,O=B?.valueMin??b,V=B?.valueMax??v,D=B?.valueUnit?` ${B.valueUnit}`:"",U=r.useMemo(()=>({...Xi,...h,...B?.categoryColors}),[h,B?.categoryColors]),G=B?.id,{grid:K,categoriesGrid:Z,allValuesMap:W,tooltipDataMap:Y}=r.useMemo(()=>{let e,r=Array.from({length:T},()=>Array(S).fill(null)),o=new Map,i=new Map;if(Array.isArray(t)&&t.length>0){const n=function(e,t,r,o){const i=Array.from({length:t},()=>Array(r).fill(null)),n=Array.from({length:t},()=>Array(r).fill(null)),a=new Map,s=new Map;for(const l of e){const e=bn(l.wellId);if(!vn(e,t,r))continue;const c=l.wellId.toUpperCase();l.values&&a.set(c,l.values),l.tooltipData&&s.set(c,l.tooltipData),yn(wn(l.values,o),e.row,e.col,i,n)}return{grid:i,categories:n,allValues:a,tooltipData:s}}(t,T,S,G);e=n.grid,r=n.categories,o=n.allValues,i=n.tooltipData}else e=Array.from({length:T},()=>Array.from({length:S},()=>Math.random()*on));return{grid:e,categoriesGrid:r,allValuesMap:o,tooltipDataMap:i}},[t,T,S,G]),F=m??(X=T,Array.from({length:X},(e,t)=>t<26?String.fromCharCode(65+t):"A"+String.fromCharCode(t-26+65)));var X;const q=f??function(e){return Array.from({length:e},(e,t)=>t+1)}(S),Q=function(e){let t=1/0,r=-1/0;for(const o of e)for(const e of o)null!==e&&Number.isFinite(e)&&(t=Math.min(t,e),r=Math.max(r,e));return Number.isFinite(t)||(t=0),Number.isFinite(r)||(r=1),t===r&&(r=t+1),{min:t,max:r}}(K),J=O??Q.min,ee=V??Q.max,te=K.some(e=>e.includes(null)),re=J-(ee-J)*nn-1,oe=te?K.map(e=>e.map(e=>null===e?re:e)):K,ie=r.useMemo(()=>{if(!te)return P;let e;if("string"==typeof P){const t=rn[P];if(!t)return P;e=t}else e=P;const t=(J-re)/(ee-re),r=[[0,w],[t*an,w]];for(const[o,i]of e){const e=t+o*(1-t);r.push([e,i])}return r},[P,te,J,ee,re,w]),ne=te?re:J,ae=r.useMemo(()=>{const e=new Map;if(z)for(const t of z)e.set(t.id,t);return e},[z]),se=K.map((e,t)=>e.map((e,r)=>{const o=`${F[t]}${q[r]}`,i=String(o).toUpperCase();return Mn({wellId:o,value:e,allValues:W.get(i),tooltipExtra:Y.get(i),activeLayerId:B?.id,layerConfigMap:ae,precision:E,valueUnit:D})})),{categoricalGrid:le,categoricalColorScale:ce,uniqueTypes:de,catMax:he}=r.useMemo(()=>{if("categorical"!==H)return{categoricalGrid:null,categoricalColorScale:null,uniqueTypes:[],catMax:0};const e=new Set;let t=!1;for(const r of Z)for(const o of r)o?e.add(o):t=!0;t&&e.add("empty");const r=[...e].sort(),o=new Map;r.forEach((e,t)=>o.set(e,t));const i=Z.map(e=>e.map(e=>null===e?o.get("empty")??0:o.get(e)??o.get("empty")??0)),n=r.length,a=[];if(1===n){const e=U[r[0]]||w;a.push([0,e]),a.push([1,e])}else r.forEach((e,t)=>{const r=U[e]||w,o=t/(n-1),i=.5/(n-1),s=Math.max(0,o-i),l=Math.min(1,o+i-sn);a.push([s,r]),a.push([l,r])});return{categoricalGrid:i,categoricalColorScale:a,uniqueTypes:r,catMax:n-1}},[H,Z,U,w]),pe=r.useMemo(()=>{if(!p||0===p.length)return[];const e=[];for(const t of p){const r=jn(t.wells,F,q);if(!r)continue;const o=.49,i=r.minCol+1-o,n=r.maxCol+1+o,a=r.minRow-o,s=r.maxRow+o;e.push({type:"rect",xref:"x",yref:"y",x0:i,x1:n,y0:a,y1:s,line:{color:t.borderColor||Ji,width:t.borderWidth??2},fillcolor:t.fillColor||"transparent",layer:"above"})}return e},[p,F,q]);r.useEffect(()=>{const e=A.current;if(!e)return;const t="categorical"===H,r=t&&le?le:oe,o=t&&ce?ce:ie,i=t?0:ne,n=t?he||1:ee,a=!t&&y,{xData:s,yData:l,colorData:d,textData:h}=function(e,t,r,o,i,n){const a=[],s=[],l=[],c=[];for(let d=0;d<o;d++)for(let o=0;o<i;o++){a.push(o+1),s.push(t[d]);const i=e[d][o];l.push(i??n),c.push(r[d][o])}return{xData:a,yData:s,colorData:l,textData:c}}(r,F,se,T,S,i),p=function(e,t,r,o,i,n,a){const s=(e-(a?pn:xn)-100)/o,l=(t-(n?100:un)-xn)/r,c="square"===i?Math.max(s,l):Math.min(s,l),d="square"===i?1:.8;return Math.max(4,c*d)}(M,L,T,S,I,!!x,!!g),f=[{x:s,y:l,mode:"markers",type:"scatter",marker:{symbol:I,size:p,color:d,colorscale:o,cmin:i,cmax:n,showscale:a,colorbar:Ln(j?.position??"right",D,j?.title),line:{color:"var(--grey-400)",width:1}},hoverinfo:"text",text:h}],m=j?.position??"right",C={autosize:!1,title:x?{text:x,font:{family:"Inter, sans-serif",size:20,color:"var(--black-300)"},x:In(m),xanchor:"center",y:.98,yanchor:"top"}:void 0,width:M,height:L,margin:En(m,!!x,!!g),xaxis:{title:{text:u||"",font:{size:16,color:"var(--black-300)",family:"Inter, sans-serif"},standoff:15},side:"top",fixedrange:!0,dtick:1,range:[.5,S+.5],automargin:!1,tickmode:"array",tickvals:Array.from({length:S},(e,t)=>t+1),ticktext:q.map(String),tickangle:0,tickfont:{size:S>24?8:dn},domain:Nn(m)},yaxis:{title:{text:g||"",font:{size:16,color:"var(--black-300)",family:"Inter, sans-serif"},standoff:15},fixedrange:!0,dtick:1,range:[T+hn,hn],automargin:!1,tickmode:"array",tickvals:Array.from({length:T},(e,t)=>t),ticktext:F.map(String),tickfont:{size:T>16?8:dn}},paper_bgcolor:"var(--white-900)",plot_bgcolor:"var(--white-900)",font:{family:"Inter, sans-serif",color:"var(--grey-600)"},shapes:pe};return c.newPlot(e,f,C,{responsive:!0,displayModeBar:!1,displaylogo:!1}),e.on("plotly_click",e=>{if(!_.current)return;const t=e.points[0];if(t){const e=F,r=q,o=e.indexOf(t.y),i=r.indexOf(t.x);if(o>=0&&i>=0){const t=`${e[o]}${r[i]}`,n=String(t).toUpperCase(),a={wellId:t,values:W.get(n),tooltipData:Y.get(n)};_.current?.(a)}}}),()=>{e&&c.purge(e)}},[oe,q,F,ie,y,ne,ee,D,x,u,g,M,L,se,E,Y,W,K,H,le,ce,de.length,he,pe,T,S,j,I]);const xe=j?.position??"right",ue=j?.fontSize??12,ge=j?.itemSpacing??4,fe=j?.swatchSize??16,me=j?.title,Ce="top"===xe||"bottom"===xe,be=e.jsx("div",{ref:A,className:"platemap-plot",style:{width:M,height:L}}),ve=(()=>{const t="categorical"===H&&de.length>0,r=p&&p.length>0;if(!k||!t&&!r)return Ce?null:e.jsx("div",{className:"platemap-legend-placeholder",style:{width:120}});const o=["platemap-legend"];Ce?o.push("platemap-legend--horizontal"):"left"===xe?o.push("platemap-legend--left"):"right"===xe&&o.push("platemap-legend--right");const i={gap:`${ge}px`,width:Ce?void 0:120};return e.jsxs("div",{className:o.join(" "),style:i,children:[me&&e.jsx("div",{className:"platemap-legend__title"+(Ce?" platemap-legend__title--horizontal":""),style:{fontSize:`${ue}px`},children:me}),t&&de.map(t=>e.jsxs("div",{className:"platemap-legend__item",children:[e.jsx("div",{className:"platemap-legend__swatch",style:{width:`${fe}px`,height:`${fe}px`,backgroundColor:U[t]||w}}),e.jsx("span",{className:"platemap-legend__label platemap-legend__label--capitalize",style:{fontSize:`${ue}px`},children:t})]},t)),r&&p.map(t=>e.jsxs("div",{className:"platemap-legend__item",children:[e.jsx("div",{className:"platemap-legend__swatch platemap-legend__swatch--region",style:{width:`${fe}px`,height:`${fe}px`,backgroundColor:t.fillColor||"transparent",border:`${t.borderWidth||2}px solid ${t.borderColor||en}`}}),e.jsx("span",{className:"platemap-legend__label",style:{fontSize:`${ue}px`},children:t.name})]},t.id))]})})();return e.jsxs("div",{className:"platemap-container",style:{width:Ce?void 0:M},children:[!z||z.length<=1?null:e.jsx("div",{className:"platemap-layer-selector",children:z.map(t=>{const r=B?.id===t.id;return e.jsx("button",{type:"button",className:"platemap-layer-selector__button"+(r?" platemap-layer-selector__button--active":""),onClick:()=>{R(t.id),n?.(t.id)},children:t.name},t.id)})}),(()=>{switch(xe){case"left":return e.jsxs("div",{className:"platemap-plot-wrapper platemap-plot-wrapper--vertical",children:[ve,be]});case"top":return e.jsxs("div",{className:"platemap-plot-wrapper platemap-plot-wrapper--horizontal",children:[ve,be]});case"bottom":return e.jsxs("div",{className:"platemap-plot-wrapper platemap-plot-wrapper--horizontal",children:[be,ve]});default:return e.jsxs("div",{className:"platemap-plot-wrapper platemap-plot-wrapper--vertical",children:[be,ve]})}})()]})};const _n=t.div`
1904
+ `;r.createContext(void 0);let ji=[],Mi=[];const Li=(e,t)=>{if("undefined"!=typeof window){return getComputedStyle(document.documentElement).getPropertyValue("--"+e).trim()||t||""}return"var(--"+e+(t?", "+t:"")+")"},Ei={BLACK_50:Li("black-50","rgba(26, 26, 26, 0.05)"),BLACK_100:Li("black-100","rgba(26, 26, 26, 0.1)"),BLACK_200:Li("black-200","rgba(26, 26, 26, 0.2)"),BLACK_300:Li("black-300","rgba(26, 26, 26, 0.3)"),BLACK_400:Li("black-400","rgba(26, 26, 26, 0.4)"),BLACK_500:Li("black-500","rgba(26, 26, 26, 0.5)"),BLACK_600:Li("black-600","rgba(26, 26, 26, 0.6)"),BLACK_700:Li("black-700","rgba(26, 26, 26, 0.7)"),BLACK_800:Li("black-800","rgba(26, 26, 26, 0.8)"),BLACK_900:Li("black-900","rgba(26, 26, 26, 1)"),BLACK:Li("black-900","#1a1a1a"),BLACK_OPACITY_20:"rgba(26, 26, 26, 0.2)",WHITE_50:Li("white-50","rgba(255, 255, 255, 0.05)"),WHITE_100:Li("white-100","rgba(255, 255, 255, 0.1)"),WHITE_200:Li("white-200","rgba(255, 255, 255, 0.2)"),WHITE_300:Li("white-300","rgba(255, 255, 255, 0.3)"),WHITE_400:Li("white-400","rgba(255, 255, 255, 0.4)"),WHITE_500:Li("white-500","rgba(255, 255, 255, 0.5)"),WHITE_600:Li("white-600","rgba(255, 255, 255, 0.6)"),WHITE_700:Li("white-700","rgba(255, 255, 255, 0.7)"),WHITE_800:Li("white-800","rgba(255, 255, 255, 0.8)"),WHITE_900:Li("white-900","rgba(255, 255, 255, 1)"),WHITE:Li("white-900","#ffffff"),BLUE_50:Li("blue-50","rgba(240, 249, 255, 1)"),BLUE_100:Li("blue-100","rgba(225, 243, 254, 1)"),BLUE_200:Li("blue-200","rgba(185, 229, 252, 1)"),BLUE_300:Li("blue-300","rgba(125, 211, 251, 1)"),BLUE_400:Li("blue-400","rgba(58, 190, 247, 1)"),BLUE_500:Li("blue-500","rgba(27, 173, 240, 1)"),BLUE_600:Li("blue-600","rgba(64, 114, 210, 1)"),BLUE_700:Li("blue-700","rgba(3, 105, 159, 1)"),BLUE_800:Li("blue-800","rgba(5, 69, 103, 1)"),BLUE_900:Li("blue-900","rgba(4, 38, 63, 1)"),BLUE:Li("graph-primary-blue","#2D9CDB"),GREY_50:Li("grey-50","rgba(248, 250, 252, 1)"),GREY_100:Li("grey-100","rgba(241, 245, 249, 1)"),GREY_200:Li("grey-200","rgba(225, 231, 239, 1)"),GREY_300:Li("grey-300","rgba(200, 214, 229, 1)"),GREY_400:Li("grey-400","rgba(158, 172, 192, 1)"),GREY_500:Li("grey-500","rgba(100, 116, 139, 1)"),GREY_600:Li("grey-600","rgba(72, 86, 106, 1)"),GREY_700:Li("grey-700","rgba(51, 65, 86, 1)"),GREY_800:Li("grey-800","rgba(29, 40, 57, 1)"),GREY_900:Li("grey-900","rgba(20, 30, 53, 1)"),GREY:Li("grey-400","#CCCCCC"),ORANGE:Li("graph-primary-orange","#FFA62E"),RED:Li("graph-primary-red","#FF5C64"),GREEN:Li("graph-primary-green","#A5C34E"),YELLOW:Li("graph-primary-yellow","#FBED53"),PURPLE:Li("graph-primary-purple","#7A51AB"),GREEN_BG:Li("green-bg","rgba(234, 254, 229, 1)"),GREEN_SUCCESS:Li("green-success","rgba(8, 173, 55, 1)"),ORANGE_BG:Li("orange-bg","rgba(254, 250, 229, 1)"),ORANGE_CAUTION:Li("orange-caution","rgba(249, 173, 20, 1)"),RED_BG:Li("red-bg","rgba(254, 234, 229, 1)"),RED_ERROR:Li("red-error","rgba(216, 35, 44, 1)"),GRAPH_SECONDARY_BROWN:Li("graph-secondary-brown","#AD7942"),GRAPH_SECONDARY_PINK:Li("graph-secondary-pink","#FB90B4"),GRAPH_SECONDARY_TEAL:Li("graph-secondary-teal","#3CCABA"),GRAPH_SECONDARY_DARK_BLUE:Li("graph-secondary-dark-blue","#4072D2"),GRAPH_SECONDARY_BLACK:Li("graph-secondary-black","#424E62"),GRAPH_SECONDARY_GREY:Li("graph-secondary-grey","#B4B4B4")},Ii=[Ei.ORANGE,Ei.RED,Ei.GREEN,Ei.BLUE,Ei.YELLOW,Ei.PURPLE,Ei.GRAPH_SECONDARY_BROWN,Ei.GRAPH_SECONDARY_PINK,Ei.GRAPH_SECONDARY_TEAL,Ei.GRAPH_SECONDARY_DARK_BLUE,Ei.GRAPH_SECONDARY_BLACK,Ei.GRAPH_SECONDARY_GREY],Ni=70,Ai=30,_i=60,$i=50,Ri=30,Ti=5,Si=11,zi=10,Bi={default:{ax:0,ay:-35},overlap:[{ax:50,ay:-35},{ax:-60,ay:-35},{ax:70,ay:-55},{ax:-80,ay:-55},{ax:50,ay:-75},{ax:-60,ay:-75}]};function Hi(e,t,r){const o=-1===t,i=o?Ei.GREY_500:Ii[t%Ii.length],n=o?Ei.BLACK_900:i,a=e.text??(void 0===e._computed?.area?"":`Area: ${e._computed.area.toFixed(2)}`),s=o&&void 0!==e.ax?e.ax:r.ax,l=o&&void 0!==e.ay?e.ay:r.ay;return{x:e.x,y:e.y,text:a,showarrow:!0,arrowhead:2,arrowsize:1,arrowwidth:1,arrowcolor:i,ax:s,ay:l,font:{size:o?Si:zi,color:n,family:"Inter, sans-serif"},bgcolor:Ei.WHITE,borderpad:2,bordercolor:o?void 0:i,borderwidth:o?0:1}}function Pi(e){if(1===e.length){const{peak:t,seriesIndex:r}=e[0];return[Hi(t,r,Bi.default)]}return[...e].sort((e,t)=>e.peak.y-t.peak.y).map(({peak:e,seriesIndex:t},r)=>Hi(e,t,Bi.overlap[r%Bi.overlap.length]))}function Oi(e,t,r,o){return"none"===r?[]:[{x:[e],y:[t],type:"scatter",mode:"markers",marker:{symbol:"diamond"===r?"diamond":"triangle-up",size:8,color:o},showlegend:!1,hoverinfo:"skip"}]}function Di(e,t,r){let o=e[t],i=e[t];for(let i=t-1;i>=Math.max(0,t-r);i--)o=Math.min(o,e[i]);for(let o=t+1;o<Math.min(e.length,t+r);o++)i=Math.min(i,e[o]);return e[t]-Math.max(o,i)}function Vi(e,t){let r=t,o=t;for(let o=t-1;o>=0&&e[o]<=e[o+1];o--)r=o;for(let r=t+1;r<e.length&&e[r]<=e[r-1];r++)o=r;return{startIndex:r,endIndex:o}}function Ui(e,t,r,o){const i=Math.min(t[r],t[o]);let n=0;for(let a=r;a<o;a++){const r=e[a+1]-e[a];n+=(t[a]-i+(t[a+1]-i))*r/2}return n}function Gi(e,t,r,o,i){const n=Math.min(t[o],t[i]),a=(t[r]+n)/2;let s=r,l=r;for(let e=r;e>=o;e--)if(t[e]<a){s=e;break}for(let e=r;e<=i;e++)if(t[e]<a){l=e;break}return e[l]-e[s]}function Ki(e,t,r={}){const{minHeight:o=.05,minDistance:i=5,prominence:n=.02,relativeThreshold:a=!0}=r;if(t.length<3)return[];const s=Math.max(...t),l=a?o*s:o,c=a?n*s:n,d=3*i,h=[];for(let r=1;r<t.length-1;r++){if(!(t[r]>t[r-1]&&t[r]>t[r+1]&&t[r]>=l))continue;if(Di(t,r,d)<c)continue;const{startIndex:o,endIndex:i}=Vi(t,r),n=Ui(e,t,o,i),a=Gi(e,t,r,o,i);h.push({x:e[r],y:t[r],_computed:{area:n,index:r,startIndex:o,endIndex:i,widthAtHalfMax:a}})}return function(e,t){const r=[];for(const o of e)r.some(e=>Math.abs((e._computed?.index??0)-(o._computed?.index??0))<t)?r.length>0&&o.y>r[r.length-1].y&&(r.pop(),r.push(o)):r.push(o);return r.sort((e,t)=>e.x-t.x)}(h,i)}function Zi(e,t){if(0===e.length)return 0;if(1===e.length)return 0;let r=0,o=e.length-1;for(;r<o;){const i=Math.floor((r+o)/2);e[i]<t?r=i+1:o=i}return r>0&&Math.abs(e[r-1]-t)<Math.abs(e[r]-t)?r-1:r}function Wi(e,t,r=50){if("none"===t||0===e.length)return e;if("linear"===t){if(1===e.length)return[0];const t=(e[e.length-1]-e[0])/(e.length-1);return e.map((r,o)=>r-(e[0]+t*o))}if("rolling"===t){const t=[],o=Math.floor(r/2);for(let r=0;r<e.length;r++){const i=Math.max(0,r-o),n=Math.min(e.length,r+o+1),a=e.slice(i,n);t.push(Math.min(...a))}return e.map((e,r)=>e-t[r])}return e}const Yi="96",Fi="384",Xi="1536",qi={sample:"#4575b4",control:"#d73027",empty:"#f0f0f0"},Qi={[Yi]:{rows:8,columns:12},[Fi]:{rows:16,columns:24},[Xi]:{rows:32,columns:48}},Ji=[[0,"#313695"],[.1,"#4575b4"],[.2,"#74add1"],[.3,"#abd9e9"],[.4,"#e0f3f8"],[.5,"#ffffbf"],[.6,"#fee090"],[.7,"#fdae61"],[.8,"#f46d43"],[.9,"#d73027"],[1,"#a50026"]],en="#333",tn="#000",rn="#f0f0f0",on={Viridis:[[0,"#440154"],[.25,"#414487"],[.5,"#2a788e"],[.75,"#22a884"],[1,"#7ad151"]],Blues:[[0,"#f7fbff"],[.25,"#c6dbef"],[.5,"#6baed6"],[.75,"#2171b5"],[1,"#08306b"]],RdBu:[[0,"#67001f"],[.25,"#d6604d"],[.5,"#f7f7f7"],[.75,"#4393c3"],[1,"#053061"]],Greens:[[0,"#f7fcf5"],[.25,"#c7e9c0"],[.5,"#74c476"],[.75,"#238b45"],[1,"#00441b"]],Reds:[[0,"#fff5f0"],[.25,"#fcbba1"],[.5,"#fb6a4a"],[.75,"#cb181d"],[1,"#67000d"]],Greys:[[0,"#ffffff"],[.25,"#d9d9d9"],[.5,"#969696"],[.75,"#525252"],[1,"#000000"]],Hot:[[0,"#000000"],[.33,"#e60000"],[.66,"#ffff00"],[1,"#ffffff"]],YlGnBu:[[0,"#ffffd9"],[.25,"#c7e9b4"],[.5,"#41b6c4"],[.75,"#225ea8"],[1,"#081d58"]],YlOrRd:[[0,"#ffffcc"],[.25,"#fed976"],[.5,"#fd8d3c"],[.75,"#e31a1c"],[1,"#800026"]],Plasma:[[0,"#0d0887"],[.25,"#7e03a8"],[.5,"#cc4778"],[.75,"#f89540"],[1,"#f0f921"]]},nn=5e4,an=.01,sn=.99,ln=.001,cn=.575,dn=.425,hn=11,pn=-.5,xn=70,un=50,gn=40,fn=80,mn=130,Cn=.15,bn=.85;function vn(e){const t=e.match(/^([A-Z]{1,2})(\d{1,2})$/i);if(!t)return null;const r=t[1].toUpperCase();return{row:1===r.length?r.charCodeAt(0)-65:r.charCodeAt(1)-65+26,col:parseInt(t[2],10)-1}}function wn(e,t,r){if(!e)return!1;const{row:o,col:i}=e;return o>=0&&i>=0&&o<t&&i<r}function yn(e,t){if(!e)return null;const r=t??Object.keys(e)[0];return r?e[r]:null}function kn(e,t,r,o,i){"number"==typeof e?o[t][r]=e:"string"==typeof e&&(i[t][r]=e)}function jn(e,t){const r=function(e){const t=new Set;for(const r of e)r.values&&Object.keys(r.values).forEach(e=>t.add(e));return[...t]}(e);return r.map(r=>{const o=t?.find(e=>e.id===r),i=function(e,t){for(const r of e){const e=r.values?.[t];if("string"==typeof e)return!0}return!1}(e,r);return{id:r,name:o?.name??r,visualizationMode:o?.visualizationMode??(i?"categorical":void 0),colorScale:o?.colorScale,valueMin:o?.valueMin,valueMax:o?.valueMax,valueUnit:o?.valueUnit,categoryColors:o?.categoryColors}})}function Mn(e,t,r){const o=e.match(/^([A-Z]{1,2})(\d{1,2}):([A-Z]{1,2})(\d{1,2})$/i);if(!o)return null;const i=vn(`${o[1]}${o[2]}`),n=vn(`${o[3]}${o[4]}`),a=Math.min(i.row,n.row),s=Math.max(i.row,n.row),l=Math.min(i.col,n.col),c=Math.max(i.col,n.col),d=t.length,h=r.length;return a>=d||s>=d||l>=h||c>=h?null:{minRow:a,maxRow:s,minCol:l,maxCol:c}}function Ln({wellId:e,value:t,allValues:r,tooltipExtra:o,activeLayerId:i,layerConfigMap:n,precision:a,valueUnit:s}){let l=`Well ${e}`;return l+=r?function(e,t,r,o){let i="";for(const[n,a]of Object.entries(e)){const e=n===t?"▶ ":"",s=r.get(n)?.valueUnit,l=s?` ${s}`:"";i+=null===a?`<br>${e}${n}: -`:"number"==typeof a?`<br>${e}${n}: ${a.toFixed(o)}${l}`:`<br>${e}${n}: ${a.charAt(0).toUpperCase()+a.slice(1)}`}return i}(r,i,n,a):null!==t?`<br>Value: ${t.toFixed(a)}${s}`:i?`<br>▶ ${i}: -`:"<br>No data",o&&(l+=function(e){let t="";for(const[r,o]of Object.entries(e))t+=`<br>${r}: ${String(o)}`;return t}(o)),l}function En(e,t,r){const o=r?{text:r}:void 0;switch(e){case"bottom":return{orientation:"h",thickness:20,len:.75,outlinewidth:0,ticksuffix:t,y:-.15,yanchor:"top",x:.5,xanchor:"center",title:o?{...o,side:"top"}:void 0};case"top":return{orientation:"h",thickness:20,len:.75,outlinewidth:0,ticksuffix:t,y:1.15,yanchor:"bottom",x:.5,xanchor:"center",title:o?{...o,side:"bottom"}:void 0};case"left":return{thickness:28,len:1,outlinewidth:0,ticksuffix:t,y:.5,yanchor:"middle",x:-.15,xanchor:"right",title:o?{...o,side:"right"}:void 0};default:return{thickness:20,len:.9,outlinewidth:0,ticksuffix:t,x:.88,xanchor:"left",y:.5,yanchor:"middle",title:o?{...o,side:"right"}:void 0}}}function In(e,t,r){const o=r?xn:un;let i;return i=t?"top"===e?mn:100:"top"===e?xn:gn,{l:"left"===e?o+un:o,r:"right"===e?un+un:un,b:"bottom"===e?fn:un,t:i,pad:5}}function Nn(e){switch(e){case"left":return cn;case"right":return dn;default:return.5}}function An(e){switch(e){case"left":return[Cn,1];case"right":return[0,bn];default:return[0,1]}}const _n=({data:t,layerConfigs:o,initialLayerId:i,onLayerChange:n,plateFormat:a="96",rows:s,columns:l,visualizationMode:d="heatmap",categoryColors:h,regions:p,title:x,xTitle:u,yTitle:g,xLabels:f,yLabels:m,colorScale:C=Ji,valueMin:b,valueMax:v,emptyWellColor:w=rn,showColorBar:y=!0,showLegend:k=!0,legendConfig:j,width:M=800,height:L=500,precision:E=0,markerShape:I="circle",onWellClick:N})=>{const A=r.useRef(null),_=r.useRef(N);_.current=N;const[$,R]=r.useState(i);let T,S;if("custom"===a)T=s??8,S=l??12;else{const e=Qi[a];T=e.rows,S=e.columns}const z=r.useMemo(()=>{if(Array.isArray(t)&&t.length>0&&"wellId"in t[0]){const e=t;if(function(e){return e.some(e=>e.values&&Object.keys(e.values).length>0)}(e))return jn(e,o)}return null},[t,o]),B=r.useMemo(()=>z&&0!==z.length?$?z.find(e=>e.id===$)??z[0]:z[0]:null,[z,$]),H=B?.visualizationMode??d,P=B?.colorScale??C,O=B?.valueMin??b,D=B?.valueMax??v,V=B?.valueUnit?` ${B.valueUnit}`:"",U=r.useMemo(()=>({...qi,...h,...B?.categoryColors}),[h,B?.categoryColors]),G=B?.id,{grid:K,categoriesGrid:Z,allValuesMap:W,tooltipDataMap:Y}=r.useMemo(()=>{let e,r=Array.from({length:T},()=>Array(S).fill(null)),o=new Map,i=new Map;if(Array.isArray(t)&&t.length>0){const n=function(e,t,r,o){const i=Array.from({length:t},()=>Array(r).fill(null)),n=Array.from({length:t},()=>Array(r).fill(null)),a=new Map,s=new Map;for(const l of e){const e=vn(l.wellId);if(!wn(e,t,r))continue;const c=l.wellId.toUpperCase();l.values&&a.set(c,l.values),l.tooltipData&&s.set(c,l.tooltipData),kn(yn(l.values,o),e.row,e.col,i,n)}return{grid:i,categories:n,allValues:a,tooltipData:s}}(t,T,S,G);e=n.grid,r=n.categories,o=n.allValues,i=n.tooltipData}else e=Array.from({length:T},()=>Array.from({length:S},()=>Math.random()*nn));return{grid:e,categoriesGrid:r,allValuesMap:o,tooltipDataMap:i}},[t,T,S,G]),F=m??(X=T,Array.from({length:X},(e,t)=>t<26?String.fromCharCode(65+t):"A"+String.fromCharCode(t-26+65)));var X;const q=f??function(e){return Array.from({length:e},(e,t)=>t+1)}(S),Q=function(e){let t=1/0,r=-1/0;for(const o of e)for(const e of o)null!==e&&Number.isFinite(e)&&(t=Math.min(t,e),r=Math.max(r,e));return Number.isFinite(t)||(t=0),Number.isFinite(r)||(r=1),t===r&&(r=t+1),{min:t,max:r}}(K),J=O??Q.min,ee=D??Q.max,te=K.some(e=>e.includes(null)),re=J-(ee-J)*an-1,oe=te?K.map(e=>e.map(e=>null===e?re:e)):K,ie=r.useMemo(()=>{if(!te)return P;let e;if("string"==typeof P){const t=on[P];if(!t)return P;e=t}else e=P;const t=(J-re)/(ee-re),r=[[0,w],[t*sn,w]];for(const[o,i]of e){const e=t+o*(1-t);r.push([e,i])}return r},[P,te,J,ee,re,w]),ne=te?re:J,ae=r.useMemo(()=>{const e=new Map;if(z)for(const t of z)e.set(t.id,t);return e},[z]),se=K.map((e,t)=>e.map((e,r)=>{const o=`${F[t]}${q[r]}`,i=String(o).toUpperCase();return Ln({wellId:o,value:e,allValues:W.get(i),tooltipExtra:Y.get(i),activeLayerId:B?.id,layerConfigMap:ae,precision:E,valueUnit:V})})),{categoricalGrid:le,categoricalColorScale:ce,uniqueTypes:de,catMax:he}=r.useMemo(()=>{if("categorical"!==H)return{categoricalGrid:null,categoricalColorScale:null,uniqueTypes:[],catMax:0};const e=new Set;let t=!1;for(const r of Z)for(const o of r)o?e.add(o):t=!0;t&&e.add("empty");const r=[...e].sort(),o=new Map;r.forEach((e,t)=>o.set(e,t));const i=Z.map(e=>e.map(e=>null===e?o.get("empty")??0:o.get(e)??o.get("empty")??0)),n=r.length,a=[];if(1===n){const e=U[r[0]]||w;a.push([0,e]),a.push([1,e])}else r.forEach((e,t)=>{const r=U[e]||w,o=t/(n-1),i=.5/(n-1),s=Math.max(0,o-i),l=Math.min(1,o+i-ln);a.push([s,r]),a.push([l,r])});return{categoricalGrid:i,categoricalColorScale:a,uniqueTypes:r,catMax:n-1}},[H,Z,U,w]),pe=r.useMemo(()=>{if(!p||0===p.length)return[];const e=[];for(const t of p){const r=Mn(t.wells,F,q);if(!r)continue;const o=.49,i=r.minCol+1-o,n=r.maxCol+1+o,a=r.minRow-o,s=r.maxRow+o;e.push({type:"rect",xref:"x",yref:"y",x0:i,x1:n,y0:a,y1:s,line:{color:t.borderColor||en,width:t.borderWidth??2},fillcolor:t.fillColor||"transparent",layer:"above"})}return e},[p,F,q]);r.useEffect(()=>{const e=A.current;if(!e)return;const t="categorical"===H,r=t&&le?le:oe,o=t&&ce?ce:ie,i=t?0:ne,n=t?he||1:ee,a=!t&&y,{xData:s,yData:l,colorData:d,textData:h}=function(e,t,r,o,i,n){const a=[],s=[],l=[],c=[];for(let d=0;d<o;d++)for(let o=0;o<i;o++){a.push(o+1),s.push(t[d]);const i=e[d][o];l.push(i??n),c.push(r[d][o])}return{xData:a,yData:s,colorData:l,textData:c}}(r,F,se,T,S,i),p=function(e,t,r,o,i,n,a){const s=(e-(a?xn:un)-100)/o,l=(t-(n?100:gn)-un)/r,c="square"===i?Math.max(s,l):Math.min(s,l),d="square"===i?1:.8;return Math.max(4,c*d)}(M,L,T,S,I,!!x,!!g),f=[{x:s,y:l,mode:"markers",type:"scatter",marker:{symbol:I,size:p,color:d,colorscale:o,cmin:i,cmax:n,showscale:a,colorbar:En(j?.position??"right",V,j?.title),line:{color:"var(--grey-400)",width:1}},hoverinfo:"text",text:h}],m=j?.position??"right",C={autosize:!1,title:x?{text:x,font:{family:"Inter, sans-serif",size:20,color:"var(--black-300)"},x:Nn(m),xanchor:"center",y:.98,yanchor:"top"}:void 0,width:M,height:L,margin:In(m,!!x,!!g),xaxis:{title:{text:u||"",font:{size:16,color:"var(--black-300)",family:"Inter, sans-serif"},standoff:15},side:"top",fixedrange:!0,dtick:1,range:[.5,S+.5],automargin:!1,tickmode:"array",tickvals:Array.from({length:S},(e,t)=>t+1),ticktext:q.map(String),tickangle:0,tickfont:{size:S>24?8:hn},domain:An(m)},yaxis:{title:{text:g||"",font:{size:16,color:"var(--black-300)",family:"Inter, sans-serif"},standoff:15},fixedrange:!0,dtick:1,range:[T+pn,pn],automargin:!1,tickmode:"array",tickvals:Array.from({length:T},(e,t)=>t),ticktext:F.map(String),tickfont:{size:T>16?8:hn}},paper_bgcolor:"var(--white-900)",plot_bgcolor:"var(--white-900)",font:{family:"Inter, sans-serif",color:"var(--grey-600)"},shapes:pe};return c.newPlot(e,f,C,{responsive:!0,displayModeBar:!1,displaylogo:!1}),e.on("plotly_click",e=>{if(!_.current)return;const t=e.points[0];if(t){const e=F,r=q,o=e.indexOf(t.y),i=r.indexOf(t.x);if(o>=0&&i>=0){const t=`${e[o]}${r[i]}`,n=String(t).toUpperCase(),a={wellId:t,values:W.get(n),tooltipData:Y.get(n)};_.current?.(a)}}}),()=>{e&&c.purge(e)}},[oe,q,F,ie,y,ne,ee,V,x,u,g,M,L,se,E,Y,W,K,H,le,ce,de.length,he,pe,T,S,j,I]);const xe=j?.position??"right",ue=j?.fontSize??12,ge=j?.itemSpacing??4,fe=j?.swatchSize??16,me=j?.title,Ce="top"===xe||"bottom"===xe,be=e.jsx("div",{ref:A,className:"platemap-plot",style:{width:M,height:L}}),ve=(()=>{const t="categorical"===H&&de.length>0,r=p&&p.length>0;if(!k||!t&&!r)return Ce?null:e.jsx("div",{className:"platemap-legend-placeholder",style:{width:120}});const o=["platemap-legend"];Ce?o.push("platemap-legend--horizontal"):"left"===xe?o.push("platemap-legend--left"):"right"===xe&&o.push("platemap-legend--right");const i={gap:`${ge}px`,width:Ce?void 0:120};return e.jsxs("div",{className:o.join(" "),style:i,children:[me&&e.jsx("div",{className:"platemap-legend__title"+(Ce?" platemap-legend__title--horizontal":""),style:{fontSize:`${ue}px`},children:me}),t&&de.map(t=>e.jsxs("div",{className:"platemap-legend__item",children:[e.jsx("div",{className:"platemap-legend__swatch",style:{width:`${fe}px`,height:`${fe}px`,backgroundColor:U[t]||w}}),e.jsx("span",{className:"platemap-legend__label platemap-legend__label--capitalize",style:{fontSize:`${ue}px`},children:t})]},t)),r&&p.map(t=>e.jsxs("div",{className:"platemap-legend__item",children:[e.jsx("div",{className:"platemap-legend__swatch platemap-legend__swatch--region",style:{width:`${fe}px`,height:`${fe}px`,backgroundColor:t.fillColor||"transparent",border:`${t.borderWidth||2}px solid ${t.borderColor||tn}`}}),e.jsx("span",{className:"platemap-legend__label",style:{fontSize:`${ue}px`},children:t.name})]},t.id))]})})();return e.jsxs("div",{className:"platemap-container",style:{width:Ce?void 0:M},children:[!z||z.length<=1?null:e.jsx("div",{className:"platemap-layer-selector",children:z.map(t=>{const r=B?.id===t.id;return e.jsx("button",{type:"button",className:"platemap-layer-selector__button"+(r?" platemap-layer-selector__button--active":""),onClick:()=>{R(t.id),n?.(t.id)},children:t.name},t.id)})}),(()=>{switch(xe){case"left":return e.jsxs("div",{className:"platemap-plot-wrapper platemap-plot-wrapper--vertical",children:[ve,be]});case"top":return e.jsxs("div",{className:"platemap-plot-wrapper platemap-plot-wrapper--horizontal",children:[ve,be]});case"bottom":return e.jsxs("div",{className:"platemap-plot-wrapper platemap-plot-wrapper--horizontal",children:[be,ve]});default:return e.jsxs("div",{className:"platemap-plot-wrapper platemap-plot-wrapper--vertical",children:[be,ve]})}})()]})};const $n=t.div`
1905
1905
  display: flex;
1906
1906
  flex-direction: column;
1907
1907
  width: 100vw;
1908
1908
  height: 100vh;
1909
- `,$n=t.div`
1909
+ `,Rn=t.div`
1910
1910
  display: flex;
1911
1911
  flex: 1;
1912
1912
  overflow: hidden;
1913
- `,Rn=t.div`
1913
+ `,Tn=t.div`
1914
1914
  display: flex;
1915
1915
  flex-direction: column;
1916
1916
  flex: 1;
1917
1917
  overflow: hidden;
1918
- `,Tn=t.div`
1918
+ `,Sn=t.div`
1919
1919
  display: flex;
1920
1920
  flex-direction: column;
1921
1921
  background-color: var(--white-900);
1922
1922
  flex: 1;
1923
1923
  overflow: hidden;
1924
- `,Sn=t.div`
1924
+ `,zn=t.div`
1925
1925
  border-bottom: 1px solid var(--grey-200);
1926
1926
  display: flex;
1927
1927
  flex-direction: column;
1928
1928
  flex: 1;
1929
1929
  overflow: hidden;
1930
- `,zn=t.div`
1930
+ `,Bn=t.div`
1931
1931
  display: flex;
1932
1932
  justify-content: space-between;
1933
1933
  align-items: center;
1934
1934
  padding: 24px 0;
1935
1935
  background-color: var(--white-900);
1936
- `,Bn=t.h2`
1936
+ `,Hn=t.h2`
1937
1937
  font-family: "Inter", sans-serif;
1938
1938
  font-size: 20px;
1939
1939
  font-weight: 500;
1940
1940
  color: var(--black-900);
1941
1941
  margin: 0;
1942
- `,Hn=t.div`
1942
+ `,Pn=t.div`
1943
1943
  display: flex;
1944
1944
  gap: 8px;
1945
- `,Pn=t(f)`
1945
+ `,On=t(f)`
1946
1946
  border-radius: 4px;
1947
1947
  width: 32px;
1948
1948
  height: 32px;
1949
- `,On=t.div`
1949
+ `,Dn=t.div`
1950
1950
  width: 360px;
1951
1951
  height: 100%;
1952
1952
  display: flex;
@@ -1960,42 +1960,42 @@
1960
1960
  background-color: var(--grey-100);
1961
1961
  display: flex;
1962
1962
  flex-direction: column;
1963
- `,Dn=t.div`
1964
- padding: 16px 24px 0 24px;
1965
1963
  `,Un=t.div`
1964
+ padding: 16px 24px 0 24px;
1965
+ `,Gn=t.div`
1966
1966
  display: flex;
1967
1967
  flex-direction: column;
1968
1968
  overflow-y: auto;
1969
1969
  flex: 1;
1970
1970
  margin-top: 8px;
1971
1971
  max-height: calc(100vh - 240px);
1972
- `,Gn=t.div`
1972
+ `,Kn=t.div`
1973
1973
  display: flex;
1974
1974
  flex-direction: column;
1975
1975
  justify-content: center;
1976
1976
  align-items: center;
1977
1977
  gap: 16px;
1978
- `,Kn=t.div`
1978
+ `,Zn=t.div`
1979
1979
  color: var(--grey-400);
1980
1980
  font-size: 14px;
1981
1981
  font-weight: 500;
1982
- `,Zn=t.div`
1982
+ `,Wn=t.div`
1983
1983
  cursor: pointer;
1984
1984
 
1985
1985
  &:last-child {
1986
1986
  border-bottom: none;
1987
1987
  }
1988
- `,Wn=t(ro)``,Yn=t.div`
1988
+ `,Yn=t(oo)``,Fn=t.div`
1989
1989
  padding: 24px;
1990
1990
  margin-top: -1px;
1991
1991
  flex: 1;
1992
1992
  border-top: 1px solid var(--grey-200);
1993
- `,Fn=t.div`
1993
+ `,Xn=t.div`
1994
1994
  height: 100%;
1995
1995
  border: 1px solid var(--grey-200);
1996
1996
  border-radius: 8px;
1997
1997
  overflow: hidden;
1998
- `,Xn=[Li.BLUE,Li.GREEN,Li.ORANGE,Li.RED,Li.YELLOW,Li.PURPLE],qn=({filters:t,filterValues:r,onFilterChange:o})=>e.jsx("div",{className:"tdp-search__filters-row",children:t.map(t=>e.jsxs("div",{className:"tdp-search__filter-wrapper",children:[e.jsx("label",{className:"tdp-search__filter-label",children:t.label}),e.jsx(He,{options:t.options,value:r[t.key]||"",onChange:e=>o(t.key,e)})]},t.key))}),Qn=({results:t,total:r,currentPage:o,pageSize:i,columns:n,onPageChange:a,sortKey:s,sortDirection:l,onSort:c})=>e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"tdp-search__results-header",children:e.jsxs("div",{className:"tdp-search__results-count",children:["Showing ",(o-1)*i+1,"-",Math.min(o*i,r)," of ",r," results"]})}),e.jsx(Ci,{columns:n,data:t,pageSize:i,currentPage:o,totalItems:r,onPageChange:a,sortKey:s||void 0,sortDirection:l,onSort:c,rowKey:e=>e.id||Math.random().toString()})]}),Jn=({query:t,setQuery:r,onSearch:o,isLoading:i,placeholder:n})=>e.jsxs("div",{className:"tdp-search__search-bar",children:[e.jsx("div",{className:"tdp-search__search-input-wrapper",children:e.jsx(at,{value:t,onChange:e=>r(e.target.value),onKeyDown:e=>{"Enter"===e.key&&o()},placeholder:n,iconLeft:e.jsx(oe,{}),size:"small"})}),e.jsx(f,{variant:"primary",onClick:o,disabled:!t.trim()||i,children:i?"Searching...":"Search"})]}),ea="ts-auth-token",ta="x-org-slug",ra=(e,t,r)=>{const{searchTerm:o,sort:i,order:n,...a}=e,s={from:t,size:r};return void 0!==o&&""!==o&&(s.query={simple_query_string:{query:o,default_operator:"and"}}),void 0!==i&&""!==i&&(s.sort=n?[{[i]:n}]:[i]),Object.entries(a).forEach(([e,t])=>{void 0!==t&&(s[e]=t)}),s};function oa(e){const[t,o]=r.useState([]),[i,n]=r.useState(0),[a,s]=r.useState(1),[l,c]=r.useState(!1),[d,h]=r.useState(null);return{results:t,total:i,currentPage:a,isLoading:l,error:d,executeSearch:async(t,r=1)=>{c(!0),h(null);const{pageSize:i,standalone:a,baseUrl:l,apiEndpoint:d="/api/search",authToken:p,orgSlug:x}=e,u=(r-1)*i;let g,f;if(a){if(!l)throw new Error("baseUrl is required when standalone is true");g=`${l.replace(/\/$/,"")}/v1/datalake/searchEql`,f={method:"POST",headers:{"Content-Type":"application/json",...p&&{[ea]:p},...x&&{[ta]:x}},body:JSON.stringify(ra(t,u,i))}}else{const e={"Content-Type":"application/json"};p&&x&&(e[ea]=p,e[ta]=x),g=d,f={method:"POST",headers:e,credentials:"include",body:JSON.stringify({...t,size:i,from:u})}}try{const e=await fetch(g,f);if(!e.ok){const t=await e.json().catch(()=>({error:"Unknown error"})),r=a&&t.error?.message||t.error;throw new Error(r||`HTTP ${e.status}: ${e.statusText}`)}const t=await e.json(),i=(t.hits?.hits||[]).map(e=>({id:e._id,...e._source,_score:e._score})),l="number"==typeof t.hits?.total?t.hits.total:t.hits?.total?.value||0;return o(i),n(l),s(r),i}catch(e){return h(e.message||"An error occurred while searching"),o([]),n(0),[]}finally{c(!1)}}}}function ia(e){try{return localStorage.getItem(e)??void 0}catch{return}}function na(e){try{const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):void 0}catch{return}}const aa={colors:{primary:"var(--blue-900)",primaryHover:"var(--blue-800)",primaryActive:"var(--blue-800)",background:"var(--white-900)",text:"var(--black-900)",border:"var(--grey-200)",cardBackground:"var(--white-900)",cardBorder:"var(--grey-200)"},radius:{small:"4px",medium:"8px",large:"16px"},spacing:{small:"8px",medium:"16px",large:"24px"}},sa=t.div`
1998
+ `,qn=[Ei.BLUE,Ei.GREEN,Ei.ORANGE,Ei.RED,Ei.YELLOW,Ei.PURPLE],Qn=({filters:t,filterValues:r,onFilterChange:o})=>e.jsx("div",{className:"tdp-search__filters-row",children:t.map(t=>e.jsxs("div",{className:"tdp-search__filter-wrapper",children:[e.jsx("label",{className:"tdp-search__filter-label",children:t.label}),e.jsx(He,{options:t.options,value:r[t.key]||"",onChange:e=>o(t.key,e)})]},t.key))}),Jn=({results:t,total:r,currentPage:o,pageSize:i,columns:n,onPageChange:a,sortKey:s,sortDirection:l,onSort:c})=>e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"tdp-search__results-header",children:e.jsxs("div",{className:"tdp-search__results-count",children:["Showing ",(o-1)*i+1,"-",Math.min(o*i,r)," of ",r," results"]})}),e.jsx(bi,{columns:n,data:t,pageSize:i,currentPage:o,totalItems:r,onPageChange:a,sortKey:s||void 0,sortDirection:l,onSort:c,rowKey:e=>e.id||Math.random().toString()})]}),ea=({query:t,setQuery:r,onSearch:o,isLoading:i,placeholder:n})=>e.jsxs("div",{className:"tdp-search__search-bar",children:[e.jsx("div",{className:"tdp-search__search-input-wrapper",children:e.jsx(at,{value:t,onChange:e=>r(e.target.value),onKeyDown:e=>{"Enter"===e.key&&o()},placeholder:n,iconLeft:e.jsx(oe,{}),size:"small"})}),e.jsx(f,{variant:"primary",onClick:o,disabled:!t.trim()||i,children:i?"Searching...":"Search"})]}),ta="ts-auth-token",ra="x-org-slug",oa=(e,t,r)=>{const{searchTerm:o,sort:i,order:n,...a}=e,s={from:t,size:r};return void 0!==o&&""!==o&&(s.query={simple_query_string:{query:o,default_operator:"and"}}),void 0!==i&&""!==i&&(s.sort=n?[{[i]:n}]:[i]),Object.entries(a).forEach(([e,t])=>{void 0!==t&&(s[e]=t)}),s};function ia(e){const[t,o]=r.useState([]),[i,n]=r.useState(0),[a,s]=r.useState(1),[l,c]=r.useState(!1),[d,h]=r.useState(null);return{results:t,total:i,currentPage:a,isLoading:l,error:d,executeSearch:async(t,r=1)=>{c(!0),h(null);const{pageSize:i,standalone:a,baseUrl:l,apiEndpoint:d="/api/search",authToken:p,orgSlug:x}=e,u=(r-1)*i;let g,f;if(a){if(!l)throw new Error("baseUrl is required when standalone is true");g=`${l.replace(/\/$/,"")}/v1/datalake/searchEql`,f={method:"POST",headers:{"Content-Type":"application/json",...p&&{[ta]:p},...x&&{[ra]:x}},body:JSON.stringify(oa(t,u,i))}}else{const e={"Content-Type":"application/json"};p&&x&&(e[ta]=p,e[ra]=x),g=d,f={method:"POST",headers:e,credentials:"include",body:JSON.stringify({...t,size:i,from:u})}}try{const e=await fetch(g,f);if(!e.ok){const t=await e.json().catch(()=>({error:"Unknown error"})),r=a&&t.error?.message||t.error;throw new Error(r||`HTTP ${e.status}: ${e.statusText}`)}const t=await e.json(),i=(t.hits?.hits||[]).map(e=>({id:e._id,...e._source,_score:e._score})),l="number"==typeof t.hits?.total?t.hits.total:t.hits?.total?.value||0;return o(i),n(l),s(r),i}catch(e){return h(e.message||"An error occurred while searching"),o([]),n(0),[]}finally{c(!1)}}}}function na(e){try{return localStorage.getItem(e)??void 0}catch{return}}function aa(e){try{const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):void 0}catch{return}}const sa={colors:{primary:"var(--blue-900)",primaryHover:"var(--blue-800)",primaryActive:"var(--blue-800)",background:"var(--white-900)",text:"var(--black-900)",border:"var(--grey-200)",cardBackground:"var(--white-900)",cardBorder:"var(--grey-200)"},radius:{small:"4px",medium:"8px",large:"16px"},spacing:{small:"8px",medium:"16px",large:"24px"}},la=t.div`
1999
1999
  ${e=>Object.entries(e.$themeStyles).map(([e,t])=>`${e}: ${t};`).join("\n")}
2000
- `;exports.AppHeader=Tr,exports.AppLayout=({userProfile:t,hostname:o,organization:i,children:n})=>{const a=[{icon:exports.IconName.SEARCH_DOCUMENT,label:"Search"},{icon:exports.IconName.SEARCH_SQL,label:"SQL Search"},{icon:exports.IconName.LAMP,label:"Projects"},{icon:exports.IconName.PIPELINE,label:"Pipelines"},{icon:exports.IconName.COMPUTER,label:"Data & AI Workspace"},{icon:exports.IconName.CUBE,label:"Artifacts"},{icon:exports.IconName.DATABASE,label:"Data Sources"},{icon:exports.IconName.PIE_CHART,label:"Health Monitoring"},{icon:exports.IconName.BULK_CHECK,label:"Bulk Actions"},{icon:exports.IconName.CODE,label:"Attribute Management"},{icon:exports.IconName.GEAR,label:"Administration"}],[s,l]=r.useState("Pipelines");return e.jsxs("div",{className:"app-layout",children:[e.jsx(To,{organization:i}),e.jsxs("div",{className:"content-container",children:[e.jsx(si,{items:a,activeItem:s,onItemClick:e=>{l(e)}}),e.jsxs("div",{className:"main-content",children:[e.jsx(Tr,{hostname:o,userProfile:t,onHomeClick:()=>{console.log("Home clicked")},onSettingsClick:()=>{console.log("Settings clicked")},onUserProfileClick:()=>{console.log("User profile clicked")}}),e.jsx("div",{className:"main-layout",children:n})]})]})]})},exports.AreaGraph=({dataSeries:t,width:o=1e3,height:i=600,xRange:n,yRange:a,variant:s="normal",xTitle:l="Columns",yTitle:d="Rows",title:h="Area Graph"})=>{const p=r.useRef(null),{xMin:x,xMax:u,yMin:g,yMax:f}=r.useMemo(()=>{let e=Number.MAX_VALUE,r=Number.MIN_VALUE,o=Number.MAX_VALUE,i=Number.MIN_VALUE;t.forEach(t=>{t.x.forEach(t=>{e=Math.min(e,t),r=Math.max(r,t)}),t.y.forEach(e=>{o=Math.min(o,e),i=Math.max(i,e)})});const n=.1*(r-e),a=.1*(i-o);return{xMin:e-n,xMax:r+n,yMin:"stacked"===s?0:o-a,yMax:i+a}},[t,s]),m=r.useMemo(()=>n||[x,u],[n,x,u]),C=r.useMemo(()=>a||[g,f],[a,g,f]),b=r.useMemo(()=>{const e=m[1]-m[0];let t=Math.pow(10,Math.floor(Math.log10(e)));e/t>10&&(t*=2),e/t<4&&(t/=2);const r=[];let o=Math.ceil(m[0]/t)*t;for(;o<=m[1];)r.push(o),o+=t;return r},[m]),v=r.useMemo(()=>{const e=C[1]-C[0];let t=Math.pow(10,Math.floor(Math.log10(e)));e/t>10&&(t*=2),e/t<4&&(t/=2);const r=[];let o=Math.ceil(C[0]/t)*t;for(;o<=C[1];)r.push(o),o+=t;return r},[C]),w=r.useMemo(()=>({tickcolor:Li.GREY_200,ticklen:12,tickwidth:1,ticks:"outside",tickfont:{size:16,color:Li.BLACK_900,family:"Inter, sans-serif",weight:400},linecolor:Li.BLACK_900,linewidth:1,position:0,zeroline:!1}),[]),y=r.useMemo(()=>({text:h,x:.5,y:.95,xanchor:"center",yanchor:"top",font:{size:32,weight:600,family:"Inter, sans-serif",color:Li.BLACK_900,lineheight:1.2,standoff:30}}),[h]);return r.useEffect(()=>{if(!p.current)return;let e;if("stacked"===s){const r=new Array(t[0]?.x.length||0).fill(0);e=t.map((e,t)=>{const o=e.y.map((e,t)=>{const o=r[t]+e;return r[t]=o,o});return{x:e.x,y:o,type:"scatter",mode:"lines",name:e.name,fill:0===t?"tozeroy":"tonexty",fillcolor:e.color,line:{color:e.color,width:2}}})}else e=t.map(e=>({x:e.x,y:e.y,type:"scatter",mode:"lines",name:e.name,fill:e.fill||"tozeroy",fillcolor:e.color,line:{color:e.color,width:2}}));const r={width:o,height:i,title:y,margin:{l:80,r:40,b:80,t:80,pad:0},paper_bgcolor:Li.WHITE,plot_bgcolor:Li.WHITE,font:{family:"Inter, sans-serif"},dragmode:!1,xaxis:{title:{text:l,font:{size:16,color:Li.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:15},gridcolor:Li.GREY_200,range:n,autorange:!n,tickmode:"array",tickvals:b,showgrid:!0,...w},yaxis:{title:{text:d,font:{size:16,color:Li.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:15},gridcolor:Li.GREY_200,range:a,autorange:!a,tickmode:"array",tickvals:v,showgrid:!0,...w},legend:{x:.5,y:-.2,xanchor:"center",yanchor:"top",orientation:"h",font:{size:13,color:Li.BLUE_900,family:"Inter, sans-serif",weight:500,lineheight:18}},showlegend:!0};c.newPlot(p.current,e,r,{responsive:!0,displayModeBar:!1,displaylogo:!1});const h=p.current;return()=>{h&&c.purge(h)}},[t,o,i,n,a,m,C,s,l,d,y,w,b,v]),e.jsx("div",{className:"area-graph-container",children:e.jsx("div",{ref:p,style:{width:"100%",height:"100%"}})})},exports.AssistantModal=({open:t,title:o,prompt:i,initialCode:n="",userQuery:a="",onUserQueryChange:s,onCopy:l,onLaunch:c,onSend:d,onCancel:h})=>{const[p,x]=r.useState(n),[u,g]=r.useState(""),[f,m]=r.useState(a);return r.useEffect(()=>{m(a)},[a]),t?e.jsx(Sr,{children:e.jsxs(zr,{children:[e.jsxs(Br,{children:[e.jsxs(Hr,{children:[e.jsx(pe,{name:exports.IconName.TETRASCIENCE_ICON,fill:"var(--blue-600)"}),e.jsx(Pr,{children:o})]}),e.jsx(Or,{onClick:h,children:e.jsx(pe,{name:exports.IconName.CLOSE,width:"20",height:"20",fill:"var(--black-900)"})})]}),e.jsx(Vr,{children:i}),e.jsx(Dr,{children:e.jsx(Ur,{value:f,onChange:e=>{m(e.target.value),s&&s(e.target.value)},rows:2,placeholder:"Type your question here..."})}),e.jsx(Gr,{children:e.jsx(Kr,{children:e.jsx(Ne,{value:p,onChange:e=>x(e??""),language:"python",theme:"dark",height:200,onCopy:l,onLaunch:c})})}),e.jsxs(Zr,{children:[e.jsx(at,{value:u,onChange:e=>g(e.target.value),placeholder:"Ask us anything related to your work...",size:"small",onKeyDown:e=>{"Enter"===e.key&&d(u)}}),e.jsxs(Wr,{variant:"primary",onClick:()=>d(u),children:[e.jsx(pe,{name:exports.IconName.PAPER_PLANE}),"Send"]})]})]})}):null},exports.Badge=({children:t,size:r="medium",variant:o="default",disabled:i=!1,iconLeft:n,iconRight:a,className:s})=>e.jsxs(p,{$size:r,$variant:o,$disabled:i,className:s,children:[n&&n,t,a&&a]}),exports.BarGraph=({dataSeries:t,width:o=1e3,height:i=600,xRange:n,yRange:a,variant:s="group",xTitle:l="Columns",yTitle:d="Rows",title:h="Bar Graph",barWidth:p=24})=>{const x=r.useRef(null),{yMin:u,yMax:g}=r.useMemo(()=>{let e=Number.MAX_VALUE,r=Number.MIN_VALUE,o=Number.MAX_VALUE,i=Number.MIN_VALUE;t.forEach(t=>{t.x.forEach(t=>{e=Math.min(e,t),r=Math.max(r,t)}),t.y.forEach(e=>{o=Math.min(o,e),i=Math.max(i,e)})});const n=.1*(r-e),a=.1*(i-o);return{xMin:e-n,xMax:r+n,yMin:"stack"===s?0:o-a,yMax:i+a}},[t,s]),f=r.useMemo(()=>a||[u,g],[a,u,g]),m=r.useMemo(()=>[...new Set(t.flatMap(e=>e.x))],[t]),C=r.useMemo(()=>{const e=f[1]-f[0];let t=Math.pow(10,Math.floor(Math.log10(e)));e/t>10&&(t*=2),e/t<4&&(t/=2);const r=[];let o=Math.ceil(f[0]/t)*t;for(;o<=f[1];)r.push(o),o+=t;return r},[f]),b=r.useMemo(()=>{switch(s){case"stack":return"stack";case"overlay":return"overlay";default:return"group"}},[s]),v=r.useMemo(()=>({tickcolor:Li.GREY_200,ticklen:12,tickwidth:1,ticks:"outside",tickfont:{size:16,color:Li.BLACK_900,family:"Inter, sans-serif",weight:400},linecolor:Li.BLACK_900,linewidth:1,position:0,zeroline:!1}),[]);return r.useEffect(()=>{if(!x.current)return;const e=t.map(e=>({x:e.x,y:e.y,type:"bar",name:e.name,marker:{color:e.color},width:p,error_y:e.error_y})),r={title:{text:h,font:{size:32,family:"Inter, sans-serif",color:Li.BLACK_900}},width:o,height:i,margin:{l:80,r:30,b:80,t:60,pad:0},paper_bgcolor:Li.WHITE,plot_bgcolor:Li.WHITE,font:{family:"Inter, sans-serif"},barmode:b,bargap:.15,dragmode:!1,xaxis:{title:{text:l,font:{size:16,color:Li.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:32},gridcolor:Li.GREY_200,range:n,autorange:!n,tickmode:"array",tickvals:m,showgrid:!0,...v},yaxis:{title:{text:d,font:{size:16,color:Li.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:30},gridcolor:Li.GREY_200,range:a,autorange:!a,tickmode:"array",tickvals:C,showgrid:!0,...v},legend:{x:.5,y:-.2,xanchor:"center",yanchor:"top",orientation:"h",font:{size:16,color:Li.BLUE_900,family:"Inter, sans-serif",weight:500}},showlegend:t.length>1};c.newPlot(x.current,e,r,{responsive:!0,displayModeBar:!1,displaylogo:!1});const s=x.current;return()=>{s&&c.purge(s)}},[t,o,i,n,a,l,d,h,p,b,v,m,C]),e.jsx("div",{className:"bar-graph-container",children:e.jsx("div",{ref:x,style:{width:"100%",height:"100%"}})})},exports.Boxplot=({dataSeries:t,width:o=1e3,height:i=600,xRange:n,yRange:a,xTitle:s="Columns",yTitle:l="Rows",title:d="Boxplot",showPoints:h=!1})=>{const p=r.useRef(null),{yMin:x,yMax:u}=r.useMemo(()=>{let e=Number.MAX_VALUE,r=Number.MIN_VALUE;t.forEach(t=>{t.y.forEach(t=>{e=Math.min(e,t),r=Math.max(r,t)})});const o=.1*(r-e);return{yMin:e-o,yMax:r+o}},[t]),g=r.useMemo(()=>a||[x,u],[a,x,u]),f=r.useMemo(()=>{const e=g[1]-g[0];let t=Math.pow(10,Math.floor(Math.log10(e)));e/t>10&&(t*=2),e/t<4&&(t/=2);const r=[];let o=Math.ceil(g[0]/t)*t;for(;o<=g[1];)r.push(o),o+=t;return r},[g]),m=r.useMemo(()=>({tickcolor:Li.GREY_200,ticklen:12,tickwidth:1,ticks:"outside",tickfont:{size:16,color:Li.BLACK_900,family:"Inter, sans-serif",weight:400},linecolor:Li.BLACK_900,linewidth:1,position:0,zeroline:!1}),[]),C=r.useMemo(()=>({text:d,x:.5,y:.95,xanchor:"center",yanchor:"top",font:{size:32,weight:600,family:"Inter, sans-serif",color:Li.BLACK_900,lineheight:1.2,standoff:30}}),[d]);return r.useEffect(()=>{if(!p.current)return;const e=t.map(e=>({y:e.y,x:e.x,type:"box",name:e.name,marker:{color:e.color},line:{color:e.color},fillcolor:e.color+"40",boxpoints:!!h&&(e.boxpoints||"outliers"),jitter:e.jitter||.3,pointpos:e.pointpos||-1.8})),r={width:o,height:i,title:C,margin:{l:80,r:40,b:80,t:80,pad:0},paper_bgcolor:Li.WHITE,plot_bgcolor:Li.WHITE,font:{family:"Inter, sans-serif"},dragmode:!1,xaxis:{title:{text:s,font:{size:16,color:Li.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:15},gridcolor:Li.GREY_200,range:n,autorange:!n,showgrid:!0,...m},yaxis:{title:{text:l,font:{size:16,color:Li.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:15},gridcolor:Li.GREY_200,range:a,autorange:!a,tickmode:"array",tickvals:f,showgrid:!0,...m},legend:{x:.5,y:-.2,xanchor:"center",yanchor:"top",orientation:"h",font:{size:13,color:Li.BLUE_900,family:"Inter, sans-serif",weight:500,lineheight:18}},showlegend:!0};c.newPlot(p.current,e,r,{responsive:!0,displayModeBar:!1,displaylogo:!1});const d=p.current;return()=>{d&&c.purge(d)}},[t,o,i,n,a,g,s,l,h,C,m,f]),e.jsx("div",{className:"boxplot-container",children:e.jsx("div",{ref:p,style:{width:"100%",height:"100%"}})})},exports.Button=f,exports.ButtonControl=C,exports.ButtonControlGroup=({controls:t,selectedId:r,onChange:o,vertical:i=!0,disabled:n=!1})=>e.jsx(Yr,{$vertical:i,children:t.map(t=>e.jsx(Fr,{$vertical:i,children:e.jsx(C,{icon:t.icon,selected:r===t.id,disabled:n||t.disabled,onClick:()=>{return e=t.id,void(n||o?.(e));var e}})},t.id))}),exports.CHART_COLORS=Ei,exports.COLORS=Li,exports.Card=({children:t,title:r,size:o="medium",variant:i="default",className:n,fullWidth:a=!1,ref:s,...l})=>e.jsxs(w,{ref:s,$size:o,$variant:i,$fullWidth:a,className:n,...l,children:[r&&e.jsx(y,{$size:o,children:r}),e.jsx(k,{$size:o,children:t})]}),exports.CardSidebar=ro,exports.Checkbox=Ce,exports.Chromatogram=({data:t=[],width:o=900,height:i=600,positionInterval:n=10,colorA:a="#2D9CDB",colorT:s="#A1C63C",colorG:l="#FF5C64",colorC:d="#FFA62E"})=>{const h=r.useRef(null),p=r.useMemo(()=>t.map(e=>e.position),[t]),x=r.useMemo(()=>t.map(e=>(e=>{const t={A:e.peakA,T:e.peakT,G:e.peakG,C:e.peakC},r=Object.values(t);if(r.every(e=>e===r[0]))return"";let o="",i=0;return Object.entries(t).forEach(([e,t])=>{t>i&&(o=e,i=t)}),o})(e)),[t]),u=r.useMemo(()=>t.map(e=>e.peakA),[t]),g=r.useMemo(()=>t.map(e=>e.peakT),[t]),f=r.useMemo(()=>t.map(e=>e.peakG),[t]),m=r.useMemo(()=>t.map(e=>e.peakC),[t]),C=r.useMemo(()=>({x:p,y:u,type:"scatter",mode:"lines",name:"A",line:{color:a,width:2,shape:"spline"}}),[p,u,a]),b=r.useMemo(()=>({x:p,y:g,type:"scatter",mode:"lines",name:"T",line:{color:s,width:2,shape:"spline"}}),[p,g,s]),v=r.useMemo(()=>({x:p,y:f,type:"scatter",mode:"lines",name:"G",line:{color:l,width:2,shape:"spline"}}),[p,f,l]),w=r.useMemo(()=>({x:p,y:m,type:"scatter",mode:"lines",name:"C",line:{color:d,width:2,shape:"spline"}}),[p,m,d]),y=r.useMemo(()=>Math.max(...u,...g,...f,...m),[u,g,f,m]);if(r.useEffect(()=>{if(!h.current||0===t.length)return;const e=[C,b,v,w],r={width:o,height:i-75,margin:{l:0,r:0,b:20,t:10,pad:0},paper_bgcolor:"var(--white-900)",plot_bgcolor:"var(--white-900)",font:{family:"Inter, sans-serif"},showlegend:!1,xaxis:{showgrid:!1,zeroline:!1,showticklabels:!1,showline:!1,range:[Math.min(...p),Math.max(...p)],fixedrange:!0},yaxis:{showgrid:!1,zeroline:!1,showticklabels:!1,showline:!1,range:[0,1.05*y],fixedrange:!0}};c.newPlot(h.current,e,r,{responsive:!0,displayModeBar:!1,displaylogo:!1,fillFrame:!0});const n=h.current;return()=>{n&&c.purge(n)}},[t,o,i,C,b,v,w,y,p]),0===t.length)return e.jsx("div",{className:"chart-container",children:"No data available"});return e.jsxs("div",{className:"chromatogram-container",style:{width:o,height:i},children:[e.jsxs("div",{className:"sequence-header",children:[(()=>{const t=Math.min(...p),r=Math.max(...p),i=o;return e.jsx("div",{className:"sequence-letters-container",children:x.map((o,n)=>{const c=p[n],h="A"===o?a:"T"===o?s:"G"===o?l:"C"===o?d:"var(--black-900)",x=(c-t)/(r-t)*i;return e.jsx("span",{className:"sequence-letter",style:{left:`${x}px`,color:h},children:o},`base-${n}`)})})})(),(()=>{const t=Math.min(...p),r=Math.max(...p),i=o,a=[];for(let e=Math.ceil(t/n)*n;e<=r;e+=n)a.push({position:e,label:e.toString()});return e.jsx("div",{className:"position-numbers-container",children:a.map(o=>{const n=(o.position-t)/(r-t)*i;return e.jsx("span",{className:"position-number",style:{left:`${n}px`},children:o.label},`pos-${o.position}`)})})})()]}),e.jsx("div",{className:"chromatogram-chart",children:e.jsx("div",{ref:h,style:{width:"100%",height:"100%"}})})]})},exports.ChromatogramChart=({series:t,width:o=900,height:i=500,title:n,xAxisTitle:a="Retention Time (min)",yAxisTitle:s="Signal (mAU)",annotations:l=[],xRange:d,yRange:h,showLegend:p=!0,showGridX:x=!0,showGridY:u=!0,showMarkers:g=!1,markerSize:f=4,showCrosshairs:m=!1,baselineCorrection:C="none",baselineWindowSize:b=50,peakDetectionOptions:v,showPeakAreas:w=!1,boundaryMarkers:y="none",annotationOverlapThreshold:k=.4,showExportButton:j=!0})=>{const M=void 0!==v,L=r.useRef(null),E=r.useMemo(()=>t.map(e=>{const t=function(e,t){const r=Math.min(e.length,t.length),o=e.slice(0,r),i=t.slice(0,r).map(e=>Number.isFinite(e)?e:0);return{x:o.map(e=>Number.isFinite(e)?e:0),y:i}}(e.x,e.y);return{...e,x:t.x,y:Zi(t.y,C,b)}}),[t,C,b]),I=r.useMemo(()=>{if(0===l.length||0===E.length)return l;const{x:e,y:t}=E[0];return function(e,t,r){return e.map(e=>{if(void 0!==e.startX&&void 0!==e.endX){const o=Ki(t,e.startX),i=Ki(t,e.endX),n=Ki(t,e.x),a=e._computed?.area??Di(t,r,o,i);return{...e,_computed:{...e._computed,index:n,startIndex:o,endIndex:i,area:a}}}return e})}(l,e,t)},[l,E]),N=r.useMemo(()=>{const e=[];return M&&v&&E.forEach((t,r)=>{const o=Gi(t.x,t.y,v);o.length>0&&e.push({peaks:o,seriesIndex:r})}),e},[E,M,v]);return r.useEffect(()=>{const e=L.current;if(!e||0===t.length)return;const r=E.map((e,t)=>{const r=e.color||Ei[t%Ei.length],o=function(e,t){if(!t)return e;const r=[];for(const[e,o]of Object.entries(t))if(null!=o&&""!==o){const t=e.replace(/([A-Z])/g," $1").replace(/^./,e=>e.toUpperCase()).trim();r.push(`${t}: ${String(o)}`)}return r.length>0?`${e}<br>${r.join("<br>")}`:e}(e.name,e.metadata),i={x:e.x,y:e.y,type:"scatter",mode:g?"lines+markers":"lines",name:e.name,line:{color:r,width:1.5},hovertemplate:`%{x:.2f} ${a}<br>%{y:.2f} ${s}<extra>${o}</extra>`};return g&&(i.marker={size:f,color:r}),i});if("none"!==y){const e=function(e,t,r){const o=[];e.forEach(({peaks:e,seriesIndex:t})=>{o.push({peaks:e,seriesIndex:t,x:r[t].x,y:r[t].y})});const i=t.filter(e=>void 0!==e._computed?.startIndex&&void 0!==e._computed?.endIndex);return i.length>0&&r.length>0&&o.push({peaks:i,seriesIndex:0,x:r[0].x,y:r[0].y}),o}(N,I,E);if(e.length>0){const t=function(e){const t=[];for(const{peaks:r,seriesIndex:o,x:i}of e){const e=Ei[o%Ei.length],n=-16*o-5,a=-16*o-12;for(const o of r){const r=o._computed?.startIndex??0,s=o._computed?.endIndex??0,l=i[r],c=i[s],d=o.startMarker??"triangle",h=o.endMarker??"diamond";t.push(...Pi(l,n,d,e)),t.push(...Pi(c,a,h,e))}}return t}(e);r.push(...t)}}const l=[];I.forEach(e=>{l.push({peak:e,seriesIndex:-1})}),w&&M&&N.forEach(({peaks:e,seriesIndex:t})=>{e.forEach(e=>{l.push({peak:e,seriesIndex:t})})});const C=function(e,t){const r=[...e].sort((e,t)=>e.peak.x-t.peak.x),o=[];let i=[];for(const e of r){if(0===i.length){i.push(e);continue}const r=i[i.length-1];Math.abs(e.peak.x-r.peak.x)<t?i.push(e):(o.push(i),i=[e])}return i.length>0&&o.push(i),o}(l,k),b=[];for(const e of C)b.push(...Hi(e));const v={title:n?{text:n,font:{size:20,family:"Inter, sans-serif",color:Li.BLACK_900}}:void 0,width:o,height:i,margin:{l:Ii,r:Ni,b:Ai,t:n?_i:$i,pad:Ri},paper_bgcolor:Li.WHITE,plot_bgcolor:Li.WHITE,font:{family:"Inter, sans-serif"},hovermode:m?"x":"x unified",dragmode:"zoom",xaxis:{title:{text:a,font:{size:14,color:Li.BLACK_600,family:"Inter, sans-serif"},standoff:15},showgrid:x,gridcolor:Li.GREY_200,linecolor:Li.BLACK_900,linewidth:1,range:d,autorange:!d,zeroline:!1,tickfont:{size:12,color:Li.BLACK_900,family:"Inter, sans-serif"},showspikes:m,spikemode:"across",spikesnap:"cursor",spikecolor:Li.GREY_500,spikethickness:1,spikedash:"dot"},yaxis:{title:{text:s,font:{size:14,color:Li.BLACK_600,family:"Inter, sans-serif"},standoff:10},showgrid:u,gridcolor:Li.GREY_200,linecolor:Li.BLACK_900,linewidth:1,range:h,autorange:!h,zeroline:!1,tickfont:{size:12,color:Li.BLACK_900,family:"Inter, sans-serif"},showspikes:m,spikemode:"across",spikesnap:"cursor",spikecolor:Li.GREY_500,spikethickness:1,spikedash:"dot"},legend:{x:.5,y:-.15,xanchor:"center",yanchor:"top",orientation:"h",font:{size:12,color:Li.BLACK_900,family:"Inter, sans-serif"}},showlegend:p&&t.length>1,annotations:b},A={responsive:!0,displayModeBar:!0,displaylogo:!1,modeBarButtonsToRemove:["lasso2d","select2d",...j?[]:["toImage"]],...j&&{toImageButtonOptions:{format:"png",filename:"chromatogram",width:o,height:i}}};return c.newPlot(e,r,v,A),()=>{e&&c.purge(e)}},[E,N,t.length,o,i,n,a,s,I,d,h,p,x,u,g,f,m,M,v,w,y,k,j]),e.jsx("div",{className:"chromatogram-chart-container",children:e.jsx("div",{ref:L,style:{width:"100%",height:"100%"}})})},exports.CodeEditor=Ne,exports.CodeScriptEditorButton=({initialCode:t="",onCodeSave:o,language:i="python",buttonText:n="Edit Code",modalTitle:a="Edit Code",buttonProps:s,modalProps:l,disabled:c=!1})=>{const[d,h]=r.useState(!1),[p,x]=r.useState(t),u=p?p.split("\n").length:0,g=p.length,m=r.useCallback(()=>{x(t),h(!0)},[t]),C=r.useCallback(()=>{o&&o(p),h(!1)},[o,p]),b=r.useCallback(()=>{h(!1)},[]),v=r.useCallback(e=>{x(e||"")},[]);return e.jsxs(e.Fragment,{children:[e.jsxs(oo,{children:[e.jsx(ao,{children:e.jsx(f,{leftIcon:e.jsx(pe,{name:exports.IconName.PENCIL}),onClick:m,size:"small",variant:"tertiary",...s,disabled:c,children:n})}),e.jsxs(no,{title:`${u} lines, ${g} characters`,children:[u," lines / ",g," chars"]})]}),e.jsx($t,{isOpen:d,onClose:b,onConfirm:C,onCloseLabel:"Cancel",onConfirmLabel:"Save Code",title:a,width:"80%",...l,children:e.jsx(io,{children:e.jsx(Ne,{height:"400px",language:i,value:p,onChange:v,options:{minimap:{enabled:!1}}})})})]})},exports.DotPlot=({dataSeries:t,width:o=1e3,height:i=600,title:n="Dot Plot",xTitle:a="Columns",yTitle:s="Rows",variant:l="default",markerSize:d=8})=>{const h=r.useRef(null),p=r.useMemo(()=>Array.isArray(t)?t:[t],[t]),x=r.useMemo(()=>[Li.ORANGE,Li.RED,Li.GREEN,Li.BLUE,Li.YELLOW,Li.PURPLE],[]),u=r.useMemo(()=>["circle","square","diamond","triangle-up","triangle-down","star"],[]),g=r.useMemo(()=>p.map((e,t)=>"default"===l?{...e,color:e.color||x[0],symbol:"circle",size:e.size||d}:{...e,color:e.color||x[t%x.length],symbol:e.symbol||u[t%u.length],size:e.size||d}),[p,l,d,x,u]),f=Li.GREY_200,m=r.useMemo(()=>g.map(e=>({type:"scatter",x:e.x,y:e.y,mode:"markers",name:e.name,marker:{color:e.color,size:e.size,symbol:e.symbol,line:{color:Li.WHITE,width:1}},hovertemplate:`${a}: %{x}<br>${s}: %{y}<extra>${e.name}</extra>`})),[g,a,s]),C=r.useMemo(()=>({tickcolor:Li.GREY_200,ticklen:12,tickwidth:1,ticks:"outside",tickfont:{size:16,color:Li.BLACK_900,family:"Inter, sans-serif",weight:400},linecolor:Li.BLACK_900,linewidth:1,position:0,zeroline:!1}),[]),b=r.useMemo(()=>({text:n,x:.5,y:.95,xanchor:"center",yanchor:"top",font:{size:32,weight:600,family:"Inter, sans-serif",color:Li.BLACK_900,lineheight:1.2,standoff:30}}),[n]);return r.useEffect(()=>{if(!h.current)return;const e={width:o,height:i,font:{family:"Inter, sans-serif"},title:b,margin:{l:80,r:40,b:80,t:80,pad:0},showlegend:!0,legend:{x:.5,y:-.2,xanchor:"center",yanchor:"top",orientation:"h",font:{size:13,color:Li.BLUE_900,family:"Inter, sans-serif",weight:500,lineheight:18}},xaxis:{title:{text:a,font:{size:16,color:Li.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:15},gridcolor:f,...C},yaxis:{title:{text:s,font:{size:16,color:Li.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:15},gridcolor:f,...C},paper_bgcolor:Li.WHITE,plot_bgcolor:Li.WHITE};c.newPlot(h.current,m,e,{responsive:!0,displayModeBar:!1,displaylogo:!1});const t=h.current;return()=>{t&&c.purge(t)}},[o,i,a,s,m,b,C,f]),e.jsx("div",{className:"dotplot-container",style:{width:o},children:e.jsx("div",{ref:h,style:{width:"100%",height:"100%",margin:"0"}})})},exports.Dropdown=He,exports.ErrorAlert=tt,exports.FormField=({label:t,infoText:r,supportiveText:o,showSupportiveCheck:i=!1,className:n,ref:a,...s})=>e.jsxs(so,{className:n,children:[e.jsx(lo,{infoText:r,children:t}),e.jsx(at,{ref:a,...s}),o&&e.jsx(Vt,{showCheck:i,children:o})]}),exports.Heatmap=({data:t,xLabels:o,yLabels:i,title:n,xTitle:a,yTitle:s,colorscale:l,width:c=800,height:d=600,showScale:h=!0,precision:p=0,zmin:x,zmax:u,valueUnit:g=""})=>{const f=t?function(e){if(!e||0===e.length)return[];const t=Math.max(...e.map(e=>e.length));return e.map(e=>{if(e.length===t)return e;const r=[...e];for(;r.length<t;)r.push(0);return r})}(t):void 0,m=f?.length??i?.length??16,C=f?.[0]?.length??o?.length??24,b=r.useMemo(()=>{if(!f)return;const e=[];for(let t=0;t<f.length;t++)for(let r=0;r<f[t].length;r++){const n=`${i?.[t]?.toString()??"ABCDEFGHIJKLMNOPQRSTUVWXYZ"[t]??`R${t+1}`}${o?.[r]?.toString()??String(r+1)}`;e.push({wellId:n,values:{Value:f[t][r]}})}return e},[f,o,i]),v=l;return e.jsx(An,{data:b,plateFormat:"custom",rows:m,columns:C,title:n,xTitle:a,yTitle:s,xLabels:o,yLabels:i,colorScale:v,valueMin:x,valueMax:u,showColorBar:h,width:c,height:d,layerConfigs:[{id:"Value",valueUnit:g}],precision:p})},exports.Histogram=({dataSeries:t,width:o=480,height:i=480,title:n="Histogram",xTitle:a="X Axis",yTitle:s="Frequency",bargap:l=.2,showDistributionLine:d=!1})=>{const h=r.useRef(null),p=r.useMemo(()=>Array.isArray(t)?t:[t],[t]),x=r.useMemo(()=>p.length>1?"stack":void 0,[p.length]),u=r.useMemo(()=>[Li.ORANGE,Li.RED,Li.BLUE,Li.GREEN,Li.PURPLE,Li.YELLOW],[]),g=r.useMemo(()=>p.map((e,t)=>{const r=void 0===e.showDistributionLine?d:e.showDistributionLine;return{...e,color:e.color||u[t%u.length],opacity:r?.5:e.opacity||1,showDistributionLine:r,lineWidth:e.lineWidth||3}}),[p,d,u]),f=Li.GREY_200,m=r.useMemo(()=>g.map(e=>({type:"histogram",x:e.x,name:e.name,marker:{color:e.color,line:{color:Li.WHITE,width:1},opacity:e.opacity},autobinx:e.autobinx,xbins:e.xbins,hovertemplate:`${a}: %{x}<br>${s}: %{y}<extra>${e.name}</extra>`})),[g,a,s]),C=r.useMemo(()=>g.filter(e=>e.showDistributionLine).map(e=>{const t=(r=e.x).reduce((e,t)=>e+t,0)/r.length;var r;const o=((e,t)=>{const r=e.map(e=>Math.pow(e-t,2)).reduce((e,t)=>e+t,0)/e.length;return Math.sqrt(r)})(e.x,t),i=Math.min(...e.x),n=Math.max(...e.x),a=n-i,s=i-.1*a,l=n+.1*a,c=e.xbins||{start:s,end:l,size:a/10},d=((e,t,r,o,i=100)=>{const n=[],a=[],s=(o-r)/(i-1);for(let o=0;o<i;o++){const i=r+o*s;n.push(i);const l=-.5*Math.pow((i-e)/t,2),c=1/(t*Math.sqrt(2*Math.PI))*Math.exp(l);a.push(c)}return{x:n,y:a}})(t,o,s,l,100),h=((e,t,r)=>{const o=Math.ceil((r.end-r.start)/r.size),i=Array(o).fill(0);t.forEach(e=>{if(e>=r.start&&e<=r.end){const t=Math.floor((e-r.start)/r.size);i[t]++}});const n=Math.max(...i)/Math.max(...e);return e.map(e=>e*n)})(d.y,e.x,c);return{type:"scatter",x:d.x,y:h,mode:"lines",name:`${e.name} Distribution`,line:{color:e.color,width:e.lineWidth},hoverinfo:"none"}}),[g]),b=r.useMemo(()=>[...m,...C],[m,C]);r.useEffect(()=>{if(!h.current)return;const e={width:o,height:i,font:{family:"Inter, sans-serif"},showlegend:!1,margin:{l:90,r:40,b:80,t:40},xaxis:{title:{text:a,font:{size:16,color:Li.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:20},gridcolor:f,tickcolor:Li.GREY_200,ticklen:8,tickwidth:1,ticks:"outside",linecolor:Li.BLACK_900,linewidth:1,zeroline:!1},yaxis:{title:{text:s,font:{size:16,color:Li.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:20},gridcolor:f,tickcolor:Li.GREY_200,ticklen:8,tickwidth:1,ticks:"outside",linecolor:Li.BLACK_900,linewidth:1,zeroline:!1,rangemode:"tozero"},barmode:x,bargap:l,paper_bgcolor:Li.WHITE,plot_bgcolor:Li.WHITE};c.newPlot(h.current,b,e,{responsive:!0,displayModeBar:!1,displaylogo:!1});const t=h.current;return()=>{t&&c.purge(t)}},[o,i,a,s,l,b,x,f]);return e.jsx("div",{className:"histogram-container",style:{width:o},children:e.jsxs("div",{className:"chart-container",children:[n&&e.jsx("div",{className:"title-container",children:e.jsx("h2",{className:"title",children:n})}),e.jsx("div",{ref:h,style:{width:"100%",height:"100%",margin:"0"}}),e.jsx(({series:t})=>{const o=t.map((o,i)=>e.jsx(r.Fragment,{children:e.jsxs("div",{className:"legend-item",children:[e.jsx("span",{className:"color-box",style:{background:o.color}}),o.name,i<t.length-1&&e.jsx("span",{className:"divider"})]})},o.name)),i=[];for(let t=0;t<o.length;t+=6)i.push(e.jsx("div",{className:"legend-row",children:o.slice(t,t+6)},t));return e.jsx("div",{className:"legend-container",children:i})},{series:g})]})})},exports.Icon=pe,exports.Input=at,exports.Label=ht,exports.LaunchContent=mo,exports.LineGraph=({dataSeries:t,width:o=1e3,height:i=600,xRange:n,yRange:a,variant:s="lines",xTitle:l="Columns",yTitle:d="Rows",title:h="Line Graph"})=>{const p=r.useRef(null),{yMin:x,yMax:u}=r.useMemo(()=>{let e=Number.MAX_VALUE,r=Number.MIN_VALUE,o=Number.MAX_VALUE,i=Number.MIN_VALUE;t.forEach(t=>{t.x.forEach(t=>{e=Math.min(e,t),r=Math.max(r,t)}),t.y.forEach(e=>{o=Math.min(o,e),i=Math.max(i,e)})});const n=.1*(r-e),a=.1*(i-o);return{xMin:e-n,xMax:r+n,yMin:o-a,yMax:i+a}},[t]),g=r.useMemo(()=>a||[x,u],[a,x,u]),f=r.useMemo(()=>{const e=g[1]-g[0];let t=Math.pow(10,Math.floor(Math.log10(e)));e/t>10&&(t*=2),e/t<4&&(t/=2);const r=[];let o=Math.ceil(g[0]/t)*t;for(;o<=g[1];)r.push(o),o+=t;return r},[g]),m=r.useMemo(()=>[...new Set(t.flatMap(e=>e.x))],[t]),C=r.useMemo(()=>{switch(s){case"lines+markers":case"lines+markers+error_bars":return"lines+markers";default:return"lines"}},[s]),b=r.useMemo(()=>({tickcolor:Li.GREY_200,ticklen:12,tickwidth:1,ticks:"outside",tickfont:{size:16,color:Li.BLACK_900,family:"Inter, sans-serif",weight:400},linecolor:Li.BLACK_900,linewidth:1,position:0,zeroline:!1}),[]);return r.useEffect(()=>{if(!p.current)return;const e=t.map(e=>({x:e.x,y:e.y,type:"scatter",mode:C,name:e.name,line:{color:e.color,width:1.5},marker:"lines"===s?{opacity:0}:{color:e.color,size:8,symbol:e.symbol||"triangle-up"},error_y:"lines+markers+error_bars"===s?e.error_y||{type:"data",array:e.y.map(()=>10),visible:!0,color:e.color,thickness:1,width:5}:void 0})),r={title:{text:h,font:{size:32,family:"Inter, sans-serif",color:Li.BLACK_900}},width:o,height:i,margin:{l:80,r:30,b:80,t:60,pad:10},paper_bgcolor:Li.WHITE,plot_bgcolor:Li.WHITE,font:{family:"Inter, sans-serif"},dragmode:!1,xaxis:{title:{text:l,font:{size:16,color:Li.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:32},gridcolor:Li.GREY_200,range:n,autorange:!n,tickmode:"array",tickvals:m,ticktext:m.map(String),showgrid:!0,...b},yaxis:{title:{text:d,font:{size:16,color:Li.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:30},gridcolor:Li.GREY_200,range:a,autorange:!a,tickmode:"array",tickvals:f,showgrid:!0,...b},legend:{x:.5,y:-.2,xanchor:"center",yanchor:"top",orientation:"h",font:{size:16,color:Li.BLUE_900,family:"Inter, sans-serif",weight:500}},showlegend:!0};c.newPlot(p.current,e,r,{responsive:!0,displayModeBar:!1,displaylogo:!1});const x=p.current;return()=>{x&&c.purge(x)}},[t,o,i,n,a,l,d,h,C,b,m,f,g,s]),e.jsx("div",{className:"chart-container",children:e.jsx("div",{ref:p,style:{width:"100%",height:"100%"}})})},exports.Main=({userProfile:t,hostname:o,organization:i})=>{const n=[{icon:exports.IconName.SEARCH_DOCUMENT,label:"Search"},{icon:exports.IconName.SEARCH_SQL,label:"SQL Search"},{icon:exports.IconName.LAMP,label:"Projects"},{icon:exports.IconName.PIPELINE,label:"Pipelines"},{icon:exports.IconName.COMPUTER,label:"Data & AI Workspace"},{icon:exports.IconName.CUBE,label:"Artifacts"},{icon:exports.IconName.DATABASE,label:"Data Sources"},{icon:exports.IconName.PIE_CHART,label:"Health Monitoring"},{icon:exports.IconName.BULK_CHECK,label:"Bulk Actions"},{icon:exports.IconName.CODE,label:"Attribute Management"},{icon:exports.IconName.GEAR,label:"Administration"}],[a,s]=r.useState("Pipelines"),[l,c]=r.useState("templates"),[d,h]=r.useState("pipelineBuilder"),[p,x]=r.useState("1"),u=[{id:"1",title:"Tecan D300e and PerkinElmer EnVision to Dotmatics (v1)",description:"c901ejs",buttonText:"",linkText:""},{id:"2",title:"Bruker D8 Andvanced CRD Raw to IDS(Draft)",description:"c901ejs",buttonText:"",linkText:""},{id:"3",title:"Extract and Decorate(Draft)",description:"c901ejs",buttonText:"",linkText:""},{id:"4",title:"Intellict (Que3 Raw to IDS(Draft)",description:"c901ejs",buttonText:"",linkText:""},{id:"5",title:"Leica Aperio RAW to IDS(Draft)",description:"c901ejs",buttonText:"",linkText:""},{id:"6",title:"IDS to Benchling(Draft)",description:"c901ejs",buttonText:"",linkText:""},{id:"7",title:"Lorem Ipsum",description:"c901ejs",buttonText:"",linkText:""}],g=[],f=e=>{x(e===p?null:e)},m=e=>{console.log(`Using template: ${e}`)},C=e=>{console.log(`Viewing template: ${e}`)};return e.jsxs(_n,{children:[e.jsx(To,{organization:i}),e.jsxs($n,{children:[e.jsx(si,{items:n,activeItem:a,onItemClick:e=>{s(e)}}),e.jsxs(Rn,{children:[e.jsx(Tr,{hostname:o,userProfile:t,onHomeClick:()=>{console.log("Home clicked")},onSettingsClick:()=>{console.log("Settings clicked")},onUserProfileClick:()=>{console.log("User profile clicked")}}),e.jsx(Tn,{children:e.jsx(Sn,{children:e.jsxs("div",{style:{display:"flex",height:"100%"},children:[e.jsxs(On,{children:[e.jsx(vi,{tabs:[{id:"templates",label:"Templates"},{id:"protocol",label:"Protocol"},{id:"steps",label:"Steps"}],activeTab:l,onChange:e=>{c(e)}}),"templates"===l&&e.jsxs(e.Fragment,{children:[e.jsxs(zn,{children:[e.jsx(Bn,{children:"Templates"}),e.jsxs(Hn,{children:[e.jsx(Pn,{variant:"tertiary",size:"small","aria-label":"Delete",noPadding:!0,children:e.jsx(pe,{name:exports.IconName.TRASH,width:"20",height:"20",fill:"var(--red-error)"})}),e.jsx(Pn,{variant:"primary",size:"small","aria-label":"Add",noPadding:!0,children:e.jsx(pe,{name:exports.IconName.PLUS,width:"20",height:"20",fill:"var(--white-900)"})})]})]}),e.jsx(Un,{children:u.length>0?u.map(t=>e.jsx(Zn,{onClick:()=>f(t.id),children:e.jsx(Wn,{title:t.title,description:t.description,buttonText:t.buttonText,linkText:t.linkText,status:p===t.id?"active":"default",onButtonClick:()=>m(t.id),onLinkClick:()=>C(t.id)})},t.id)):e.jsxs(Gn,{children:[e.jsx(pe,{name:exports.IconName.INBOX,width:"40",height:"40",fill:"var(--grey-400)"}),e.jsx(Kn,{children:"No data"})]})})]}),"protocol"===l&&e.jsxs(e.Fragment,{children:[e.jsx(zn,{children:e.jsxs(Bn,{children:["Protocol (",g.length,")"]})}),e.jsx(Un,{children:g.length>0?g.map(t=>e.jsx(Zn,{onClick:()=>f(t.id),children:e.jsx(Wn,{title:t.title,description:t.description,status:p===t.id?"active":"default",onButtonClick:()=>m(t.id),onLinkClick:()=>C(t.id)})},t.id)):e.jsxs(Gn,{children:[e.jsx(pe,{name:exports.IconName.INBOX,width:"40",height:"40",fill:"var(--grey-400)"}),e.jsx(Kn,{children:"No data"})]})})]}),"steps"===l&&e.jsxs(e.Fragment,{children:[e.jsx(zn,{children:e.jsxs(Bn,{children:["Task Scripts (",0,")"]})}),e.jsx(Un,{children:g.length>0?g.map(t=>e.jsx(Zn,{onClick:()=>f(t.id),children:e.jsx(Wn,{title:t.title,description:t.description,status:p===t.id?"active":"default",onButtonClick:()=>m(t.id),onLinkClick:()=>C(t.id)})},t.id)):e.jsxs(Gn,{children:[e.jsx(pe,{name:exports.IconName.INBOX,width:"40",height:"40",fill:"var(--grey-400)"}),e.jsx(Kn,{children:"No data"})]})})]})]}),e.jsxs(Vn,{children:[e.jsx(Dn,{children:e.jsx(vi,{tabs:[{id:"pipelineBuilder",label:"Pipeline Builder"},{id:"configuration",label:"Configuration"},{id:"launch",label:"Launch"}],activeTab:d,onChange:e=>{h(e)}})}),e.jsxs(Yn,{children:["pipelineBuilder"===d&&e.jsx(Fn,{}),"configuration"===d&&e.jsx(Go,{}),"launch"===d&&e.jsx(mo,{})]})]})]})})})]})]})]})},exports.MarkdownDisplay=({markdown:t,codeRenderer:r})=>e.jsx(i,{remarkPlugins:[s],rehypePlugins:[a],components:{code:r||ut},children:t}),exports.Menu=({title:t,items:r,onItemClick:o,onItemCheckChange:i,activeItemId:n=null,className:a})=>e.jsxs(Co,{className:a,children:[t&&e.jsx(bo,{children:t}),e.jsx(vo,{children:r.map(t=>e.jsx(Ct,{label:t.label,checked:t.checked,showCheckbox:t.showCheckbox,active:n===t.id||t.active,onClick:()=>{return e=t.id,void(o&&o(e));var e},onCheckChange:e=>((e,t)=>{i&&i(e,t)})(t.id,e)},t.id))})]}),exports.MenuItem=Ct,exports.Modal=$t,exports.Navbar=To,exports.PieChart=({dataSeries:t,width:o=400,height:i=400,title:n="Pie Chart",textInfo:a="percent",hole:s=0,rotation:l=0})=>{const d=r.useRef(null),h=r.useMemo(()=>{if(t.colors&&t.colors.length>=t.labels.length)return t.colors;const e=[...t.colors||[]],r=t.labels.length-e.length;if(r<=0)return e;for(let t=0;t<r;t++)e.push(Xn[t%Xn.length]);return e},[t.colors,t.labels.length]);r.useEffect(()=>{if(!d.current)return;const e=[{type:"pie",labels:t.labels,values:t.values,name:t.name,marker:{colors:h},textinfo:a,hoverinfo:"label+text+value",insidetextfont:{size:0,family:"Inter, sans-serif",color:"transparent"},hole:s,rotation:l}],r={width:o,height:i,font:{family:"Inter, sans-serif"},showlegend:!1,margin:{l:40,r:40,b:40,t:40}};c.newPlot(d.current,e,r,{responsive:!0,displayModeBar:!1,displaylogo:!1});const n=d.current;return()=>{n&&c.purge(n)}},[h,t.labels,t.name,t.values,o,i,a,s,l]);return e.jsx("div",{className:"card-container",style:{width:o},children:e.jsxs("div",{className:"chart-container",children:[n&&e.jsx("div",{className:"title-container",children:e.jsx("h2",{className:"title",children:n})}),e.jsx("div",{ref:d,style:{width:"100%",height:"100%",margin:"0"}}),e.jsx(({labels:t,colors:o})=>{const i=t.map((i,n)=>e.jsx(r.Fragment,{children:e.jsxs("div",{className:"legend-item",children:[e.jsx("span",{className:"color-box",style:{background:o[n]}}),i,n<t.length-1&&e.jsx("span",{className:"divider"})]})},i)),n=[];for(let t=0;t<i.length;t+=6)n.push(e.jsx("div",{className:"legend-row",children:i.slice(t,t+6)},t));return e.jsx("div",{className:"legend-container",children:n})},{labels:t.labels,colors:h})]})})},exports.PlateMap=An,exports.PopConfirm=Ht,exports.ProtocolConfiguration=Go,exports.ProtocolYamlCard=({title:t,newVersionMode:r,onToggleNewVersionMode:o,versionOptions:i,selectedVersion:n,onVersionChange:a,onDeploy:s,yaml:l,onYamlChange:c})=>e.jsxs(Ko,{children:[e.jsxs(Zo,{children:[e.jsx(Wo,{children:t}),e.jsxs(Yo,{children:[e.jsx(qo,{checked:r,onChange:o,label:"New Version Mode"}),e.jsx(Fo,{}),e.jsx(Qo,{options:i,value:n,onChange:a,size:"small",width:"120px"}),e.jsx(f,{variant:"primary",size:"medium",onClick:s,children:"Deploy"})]})]}),e.jsx(Xo,{children:e.jsx(Ne,{value:l,onChange:e=>c(e??""),language:"yaml",theme:"light",onCopy:()=>{},onLaunch:()=>{}})})]}),exports.PythonEditorModal=({open:t,initialValue:o="",title:i="",onSave:n,onCancel:a})=>{const[s,l]=r.useState(o);return e.jsx($t,{isOpen:t,onClose:a,onCloseLabel:"Cancel",onConfirm:()=>{n(s)},onConfirmLabel:"Save Code",title:i,width:"600px",children:e.jsx(Jo,{children:e.jsx(Ne,{value:s,onChange:e=>l(e??""),language:"python",height:300,theme:"dark",onCopy:()=>{},onLaunch:()=>{}})})})},exports.ScatterGraph=({dataSeries:t,width:o=1e3,height:i=600,xRange:n,yRange:a,xTitle:s="Columns",yTitle:l="Rows",title:d="Scatter Plot"})=>{const h=r.useRef(null),{xMin:p,xMax:x,yMin:u,yMax:g}=r.useMemo(()=>{let e=Number.MAX_VALUE,r=Number.MIN_VALUE,o=Number.MAX_VALUE,i=Number.MIN_VALUE;t.forEach(t=>{t.x.forEach(t=>{e=Math.min(e,t),r=Math.max(r,t)}),t.y.forEach(e=>{o=Math.min(o,e),i=Math.max(i,e)})});const n=.1*(r-e),a=.1*(i-o);return{xMin:e-n,xMax:r+n,yMin:o-a,yMax:i+a}},[t]),f=r.useMemo(()=>n||[p,x],[n,p,x]),m=r.useMemo(()=>a||[u,g],[a,u,g]),C=r.useMemo(()=>{const e=f[1]-f[0];let t=Math.pow(10,Math.floor(Math.log10(e)));e/t>10&&(t*=2),e/t<4&&(t/=2);const r=[];let o=Math.ceil(f[0]/t)*t;for(;o<=f[1];)r.push(o),o+=t;return r},[f]),b=r.useMemo(()=>{const e=m[1]-m[0];let t=Math.pow(10,Math.floor(Math.log10(e)));e/t>10&&(t*=2),e/t<4&&(t/=2);const r=[];let o=Math.ceil(m[0]/t)*t;for(;o<=m[1];)r.push(o),o+=t;return r},[m]),v=r.useMemo(()=>({tickcolor:Li.GREY_200,ticklen:12,tickwidth:1,ticks:"outside",tickfont:{size:16,color:Li.BLACK_900,family:"Inter, sans-serif",weight:400},linecolor:Li.BLACK_900,linewidth:1,position:0,zeroline:!1}),[]),w=r.useMemo(()=>({showspikes:!0,spikemode:"across",spikedash:"solid",spikecolor:Li.BLACK_OPACITY_20,spikethickness:2}),[]);return r.useEffect(()=>{if(!h.current)return;const e=t.map(e=>({x:e.x,y:e.y,type:"scatter",mode:"markers",name:e.name,marker:{color:e.color,size:10,symbol:"circle"},hovertemplate:`${s}: %{x}<br>${l}: %{y}<extra>${e.name}</extra>`})),r={title:{text:d,font:{size:32,family:"Inter, sans-serif",color:Li.BLACK_900}},width:o,height:i,margin:{l:80,r:30,b:80,t:60,pad:10},paper_bgcolor:Li.WHITE,plot_bgcolor:Li.WHITE,font:{family:"Inter, sans-serif"},dragmode:!1,xaxis:{title:{text:s,font:{size:16,color:Li.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:32},gridcolor:Li.GREY_200,range:n,autorange:!n,tickmode:"array",tickvals:C,ticktext:C.map(String),showgrid:!0,...w,...v},yaxis:{title:{text:l,font:{size:16,color:Li.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:30},gridcolor:Li.GREY_200,range:a,autorange:!a,tickmode:"array",tickvals:b,showgrid:!0,...w,...v},legend:{x:.5,y:-.2,xanchor:"center",yanchor:"top",orientation:"h",font:{size:16,color:Li.BLUE_900,family:"Inter, sans-serif",weight:500}},showlegend:!0,hovermode:"closest"};c.newPlot(h.current,e,r,{responsive:!0,displayModeBar:!1,displaylogo:!1});const p=h.current;return()=>{p&&c.purge(p)}},[t,o,i,n,a,s,l,d,f,m,C,b,v,w]),e.jsx("div",{className:"chart-container",children:e.jsx("div",{ref:h,style:{width:"100%",height:"100%"}})})},exports.SelectField=({label:t,infoText:r,supportiveText:o,showSupportiveCheck:i=!1,className:n,ref:a,...s})=>e.jsxs(ei,{className:n,ref:a,children:[e.jsx(ti,{infoText:r,children:t}),e.jsx(He,{...s}),o&&e.jsx(Vt,{showCheck:i,children:o})]}),exports.Sidebar=si,exports.SupportiveText=Vt,exports.TDPLink=({path:t,navigationOptions:r={newTab:!0},children:o,onClick:i,...n})=>{const{getTdpUrl:a,navigateToTdp:s}=jr(),l=a(t);return e.jsx(Mr,{href:l??"#",target:r.newTab?"_blank":void 0,rel:r.newTab?"noopener noreferrer":void 0,onClick:e=>{e.metaKey||e.ctrlKey||e.shiftKey||(e.preventDefault(),i?.(e),s(t,r))},...n,children:o})},exports.Tab=Gt,exports.TabGroup=vi,exports.Table=Ci,exports.TableCell=Zt,exports.TableHeaderCell=Qt,exports.TdpNavigationContext=kr,exports.TdpNavigationProvider=({tdpBaseUrl:t,children:o})=>{const i=r.useMemo(()=>t?t.replace(/\/$/u,""):vr(),[t]),n=r.useMemo(()=>({tdpBaseUrl:i,getTdpUrl:e=>i?wr(i,e):null,navigateToTdp:(e,t)=>{if(!i)return void console.warn("[TdpNavigation] Cannot navigate: TDP base URL not resolved");const r=wr(i,e);r&&yr(r,t)}}),[i]);return e.jsx(kr.Provider,{value:n,children:o})},exports.TdpSearch=({defaultQuery:t="",columns:o,filters:i=[],defaultSort:n,advancedSearchParams:a,pageSize:s=10,searchPlaceholder:l="Enter search term...",className:c,onSearch:d,renderSearchBar:h,renderFilters:p,renderResults:x,...u})=>{const{authToken:g,orgSlug:f}=function(e,t){if(e&&t)return{authToken:e,orgSlug:t};const r=ia(ea),o=ia(ta);if(r&&o)return{authToken:r,orgSlug:o};const i=na(ea),n=na(ta);return i&&n?{authToken:i,orgSlug:n}:{authToken:e,orgSlug:t}}(u.authToken,u.orgSlug),{results:m,total:C,currentPage:b,isLoading:v,error:w,executeSearch:y}=oa({...u,authToken:g??"",orgSlug:f??"",pageSize:s}),[k,j]=r.useState(t),[M,L]=r.useState({}),[E,I]=r.useState(null),[N,A]=r.useState("asc"),[_,$]=r.useState(!1),R=async(e=1,t)=>{if(!k.trim())return;$(!0);const r=t?.sortKey??E??n?.field,o=null==t?E?N:n?.order??N:t.sortDirection,i=Object.entries(M).filter(([,e])=>""!==e).map(([e,t])=>({field:e,operator:"eq",value:t}));let l=a?.expression;i.length>0&&(l={g:"AND",e:l?[...i,l]:i});const c={searchTerm:k.trim(),sort:r??void 0,order:o,...a,...void 0!==l&&{expression:l}},h=await y(c,e);d&&d({...c,from:(e-1)*s,size:s},h)},T=e.jsxs("div",{className:"tdp-search__empty-state",children:[e.jsx("div",{className:"tdp-search__empty-state-icon",children:e.jsx(oe,{})}),e.jsx("div",{className:"tdp-search__empty-state-text",children:"No results found. Try adjusting your search query or filters."})]}),S={query:k,setQuery:j,onSearch:()=>{R(1)},isLoading:v,placeholder:l},z={filters:i,filterValues:M,onFilterChange:(e,t)=>{L(r=>({...r,[e]:t}))}},B={results:m,total:C,currentPage:b,pageSize:s,columns:o,onPageChange:e=>{R(e)},sortKey:E,sortDirection:N,onSort:(e,t)=>{I(e),A(t),R(1,{sortKey:e,sortDirection:t})}};return e.jsxs("div",{className:`tdp-search ${c||""}`,children:[h?h(S):e.jsx(Jn,{...S}),i.length>0&&(p?p(z):e.jsx(qn,{...z})),w&&e.jsxs(e.Fragment,{children:[e.jsx(tt,{error:w,onClose:()=>{}}),T]}),v&&e.jsx("div",{className:"tdp-search__loading-overlay",children:"Loading results..."}),!v&&!_&&e.jsxs("div",{className:"tdp-search__empty-state",children:[e.jsx("div",{className:"tdp-search__empty-state-icon",children:e.jsx(oe,{})}),e.jsx("div",{className:"tdp-search__empty-state-text",children:"Enter a search query and click Search to get started."})]}),!v&&!w&&_&&m.length>0&&(x?x(B):e.jsx(Qn,{...B})),!v&&!w&&_&&0===m.length&&T]})},exports.Textarea=({size:t="small",error:r=!1,disabled:o=!1,fullWidth:i=!1,rows:n,ref:a,...s})=>e.jsx(er,{$fullWidth:i,children:e.jsx(tr,{ref:a,size:t,$error:r,disabled:o,rows:n,...s})}),exports.ThemeProvider=({theme:o={},children:i})=>{const n=r.useMemo(()=>({colors:{...aa.colors,...o.colors},radius:{...aa.radius,...o.radius},spacing:{...aa.spacing,...o.spacing}}),[o]),a=r.useMemo(()=>{const e={};return n.colors&&Object.entries(n.colors).forEach(([t,r])=>{r&&(e[`--theme-${t}`]=r)}),n.radius&&Object.entries(n.radius).forEach(([t,r])=>{r&&(e[`--theme-radius-${t}`]=r)}),n.spacing&&Object.entries(n.spacing).forEach(([t,r])=>{r&&(e[`--theme-spacing-${t}`]=r)}),e},[n]);return e.jsx(t.ThemeProvider,{theme:n,children:e.jsx(sa,{$themeStyles:a,children:i})})},exports.Toast=xr,exports.ToastManager=({position:t="top"})=>{const[o,i]=r.useState([]),[n,a]=r.useState(!1);return r.useEffect(()=>{a(!0);const e=(t=i,ji.push(t),t(ki),()=>{ji=ji.filter(e=>e!==t)});var t;return()=>{e(),a(!1)}},[]),n?l.createPortal(e.jsx(wi,{position:t,children:o.map(r=>e.jsx(yi,{theme:{position:t},children:e.jsx(xr,{type:r.type,heading:r.heading,description:r.description})},r.id))}),document.body):null},exports.Toggle=Cr,exports.Tooltip=we,exports.defaultTheme=aa,exports.useSearch=oa,exports.useTdpNavigation=function(e={}){const{tdpBaseUrl:t}=e,o=r.useMemo(()=>t?t.replace(/\/$/u,""):vr(),[t]);return r.useMemo(()=>({tdpBaseUrl:o,getTdpUrl:e=>o?wr(o,e):null,navigateToTdp:(e,t)=>{if(!o)return void console.warn("[useTdpNavigation] Cannot navigate: TDP base URL not resolved");const r=wr(o,e);r&&yr(r,t)}}),[o])},exports.useTdpNavigationContext=jr;
2000
+ `;exports.AppHeader=Sr,exports.AppLayout=({userProfile:t,hostname:o,organization:i,children:n})=>{const a=[{icon:exports.IconName.SEARCH_DOCUMENT,label:"Search"},{icon:exports.IconName.SEARCH_SQL,label:"SQL Search"},{icon:exports.IconName.LAMP,label:"Projects"},{icon:exports.IconName.PIPELINE,label:"Pipelines"},{icon:exports.IconName.COMPUTER,label:"Data & AI Workspace"},{icon:exports.IconName.CUBE,label:"Artifacts"},{icon:exports.IconName.DATABASE,label:"Data Sources"},{icon:exports.IconName.PIE_CHART,label:"Health Monitoring"},{icon:exports.IconName.BULK_CHECK,label:"Bulk Actions"},{icon:exports.IconName.CODE,label:"Attribute Management"},{icon:exports.IconName.GEAR,label:"Administration"}],[s,l]=r.useState("Pipelines");return e.jsxs("div",{className:"app-layout",children:[e.jsx(So,{organization:i}),e.jsxs("div",{className:"content-container",children:[e.jsx(li,{items:a,activeItem:s,onItemClick:e=>{l(e)}}),e.jsxs("div",{className:"main-content",children:[e.jsx(Sr,{hostname:o,userProfile:t,onHomeClick:()=>{console.log("Home clicked")},onSettingsClick:()=>{console.log("Settings clicked")},onUserProfileClick:()=>{console.log("User profile clicked")}}),e.jsx("div",{className:"main-layout",children:n})]})]})]})},exports.AreaGraph=({dataSeries:t,width:o=1e3,height:i=600,xRange:n,yRange:a,variant:s="normal",xTitle:l="Columns",yTitle:d="Rows",title:h="Area Graph"})=>{const p=r.useRef(null),{xMin:x,xMax:u,yMin:g,yMax:f}=r.useMemo(()=>{let e=Number.MAX_VALUE,r=Number.MIN_VALUE,o=Number.MAX_VALUE,i=Number.MIN_VALUE;t.forEach(t=>{t.x.forEach(t=>{e=Math.min(e,t),r=Math.max(r,t)}),t.y.forEach(e=>{o=Math.min(o,e),i=Math.max(i,e)})});const n=.1*(r-e),a=.1*(i-o);return{xMin:e-n,xMax:r+n,yMin:"stacked"===s?0:o-a,yMax:i+a}},[t,s]),m=r.useMemo(()=>n||[x,u],[n,x,u]),C=r.useMemo(()=>a||[g,f],[a,g,f]),b=r.useMemo(()=>{const e=m[1]-m[0];let t=Math.pow(10,Math.floor(Math.log10(e)));e/t>10&&(t*=2),e/t<4&&(t/=2);const r=[];let o=Math.ceil(m[0]/t)*t;for(;o<=m[1];)r.push(o),o+=t;return r},[m]),v=r.useMemo(()=>{const e=C[1]-C[0];let t=Math.pow(10,Math.floor(Math.log10(e)));e/t>10&&(t*=2),e/t<4&&(t/=2);const r=[];let o=Math.ceil(C[0]/t)*t;for(;o<=C[1];)r.push(o),o+=t;return r},[C]),w=r.useMemo(()=>({tickcolor:Ei.GREY_200,ticklen:12,tickwidth:1,ticks:"outside",tickfont:{size:16,color:Ei.BLACK_900,family:"Inter, sans-serif",weight:400},linecolor:Ei.BLACK_900,linewidth:1,position:0,zeroline:!1}),[]),y=r.useMemo(()=>({text:h,x:.5,y:.95,xanchor:"center",yanchor:"top",font:{size:32,weight:600,family:"Inter, sans-serif",color:Ei.BLACK_900,lineheight:1.2,standoff:30}}),[h]);return r.useEffect(()=>{if(!p.current)return;let e;if("stacked"===s){const r=new Array(t[0]?.x.length||0).fill(0);e=t.map((e,t)=>{const o=e.y.map((e,t)=>{const o=r[t]+e;return r[t]=o,o});return{x:e.x,y:o,type:"scatter",mode:"lines",name:e.name,fill:0===t?"tozeroy":"tonexty",fillcolor:e.color,line:{color:e.color,width:2}}})}else e=t.map(e=>({x:e.x,y:e.y,type:"scatter",mode:"lines",name:e.name,fill:e.fill||"tozeroy",fillcolor:e.color,line:{color:e.color,width:2}}));const r={width:o,height:i,title:y,margin:{l:80,r:40,b:80,t:80,pad:0},paper_bgcolor:Ei.WHITE,plot_bgcolor:Ei.WHITE,font:{family:"Inter, sans-serif"},dragmode:!1,xaxis:{title:{text:l,font:{size:16,color:Ei.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:15},gridcolor:Ei.GREY_200,range:n,autorange:!n,tickmode:"array",tickvals:b,showgrid:!0,...w},yaxis:{title:{text:d,font:{size:16,color:Ei.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:15},gridcolor:Ei.GREY_200,range:a,autorange:!a,tickmode:"array",tickvals:v,showgrid:!0,...w},legend:{x:.5,y:-.2,xanchor:"center",yanchor:"top",orientation:"h",font:{size:13,color:Ei.BLUE_900,family:"Inter, sans-serif",weight:500,lineheight:18}},showlegend:!0};c.newPlot(p.current,e,r,{responsive:!0,displayModeBar:!1,displaylogo:!1});const h=p.current;return()=>{h&&c.purge(h)}},[t,o,i,n,a,m,C,s,l,d,y,w,b,v]),e.jsx("div",{className:"area-graph-container",children:e.jsx("div",{ref:p,style:{width:"100%",height:"100%"}})})},exports.AssistantModal=({open:t,title:o,prompt:i,initialCode:n="",userQuery:a="",onUserQueryChange:s,onCopy:l,onLaunch:c,onSend:d,onCancel:h})=>{const[p,x]=r.useState(n),[u,g]=r.useState(""),[f,m]=r.useState(a);return r.useEffect(()=>{m(a)},[a]),t?e.jsx(zr,{children:e.jsxs(Br,{children:[e.jsxs(Hr,{children:[e.jsxs(Pr,{children:[e.jsx(pe,{name:exports.IconName.TETRASCIENCE_ICON,fill:"var(--blue-600)"}),e.jsx(Or,{children:o})]}),e.jsx(Dr,{onClick:h,children:e.jsx(pe,{name:exports.IconName.CLOSE,width:"20",height:"20",fill:"var(--black-900)"})})]}),e.jsx(Vr,{children:i}),e.jsx(Ur,{children:e.jsx(Gr,{value:f,onChange:e=>{m(e.target.value),s&&s(e.target.value)},rows:2,placeholder:"Type your question here..."})}),e.jsx(Kr,{children:e.jsx(Zr,{children:e.jsx(Ne,{value:p,onChange:e=>x(e??""),language:"python",theme:"dark",height:200,onCopy:l,onLaunch:c})})}),e.jsxs(Wr,{children:[e.jsx(at,{value:u,onChange:e=>g(e.target.value),placeholder:"Ask us anything related to your work...",size:"small",onKeyDown:e=>{"Enter"===e.key&&d(u)}}),e.jsxs(Yr,{variant:"primary",onClick:()=>d(u),children:[e.jsx(pe,{name:exports.IconName.PAPER_PLANE}),"Send"]})]})]})}):null},exports.Badge=({children:t,size:r="medium",variant:o="default",disabled:i=!1,iconLeft:n,iconRight:a,className:s})=>e.jsxs(p,{$size:r,$variant:o,$disabled:i,className:s,children:[n&&n,t,a&&a]}),exports.BarGraph=({dataSeries:t,width:o=1e3,height:i=600,xRange:n,yRange:a,variant:s="group",xTitle:l="Columns",yTitle:d="Rows",title:h="Bar Graph",barWidth:p=24})=>{const x=r.useRef(null),{yMin:u,yMax:g}=r.useMemo(()=>{let e=Number.MAX_VALUE,r=Number.MIN_VALUE,o=Number.MAX_VALUE,i=Number.MIN_VALUE;t.forEach(t=>{t.x.forEach(t=>{e=Math.min(e,t),r=Math.max(r,t)}),t.y.forEach(e=>{o=Math.min(o,e),i=Math.max(i,e)})});const n=.1*(r-e),a=.1*(i-o);return{xMin:e-n,xMax:r+n,yMin:"stack"===s?0:o-a,yMax:i+a}},[t,s]),f=r.useMemo(()=>a||[u,g],[a,u,g]),m=r.useMemo(()=>[...new Set(t.flatMap(e=>e.x))],[t]),C=r.useMemo(()=>{const e=f[1]-f[0];let t=Math.pow(10,Math.floor(Math.log10(e)));e/t>10&&(t*=2),e/t<4&&(t/=2);const r=[];let o=Math.ceil(f[0]/t)*t;for(;o<=f[1];)r.push(o),o+=t;return r},[f]),b=r.useMemo(()=>{switch(s){case"stack":return"stack";case"overlay":return"overlay";default:return"group"}},[s]),v=r.useMemo(()=>({tickcolor:Ei.GREY_200,ticklen:12,tickwidth:1,ticks:"outside",tickfont:{size:16,color:Ei.BLACK_900,family:"Inter, sans-serif",weight:400},linecolor:Ei.BLACK_900,linewidth:1,position:0,zeroline:!1}),[]);return r.useEffect(()=>{if(!x.current)return;const e=t.map(e=>({x:e.x,y:e.y,type:"bar",name:e.name,marker:{color:e.color},width:p,error_y:e.error_y})),r={title:{text:h,font:{size:32,family:"Inter, sans-serif",color:Ei.BLACK_900}},width:o,height:i,margin:{l:80,r:30,b:80,t:60,pad:0},paper_bgcolor:Ei.WHITE,plot_bgcolor:Ei.WHITE,font:{family:"Inter, sans-serif"},barmode:b,bargap:.15,dragmode:!1,xaxis:{title:{text:l,font:{size:16,color:Ei.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:32},gridcolor:Ei.GREY_200,range:n,autorange:!n,tickmode:"array",tickvals:m,showgrid:!0,...v},yaxis:{title:{text:d,font:{size:16,color:Ei.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:30},gridcolor:Ei.GREY_200,range:a,autorange:!a,tickmode:"array",tickvals:C,showgrid:!0,...v},legend:{x:.5,y:-.2,xanchor:"center",yanchor:"top",orientation:"h",font:{size:16,color:Ei.BLUE_900,family:"Inter, sans-serif",weight:500}},showlegend:t.length>1};c.newPlot(x.current,e,r,{responsive:!0,displayModeBar:!1,displaylogo:!1});const s=x.current;return()=>{s&&c.purge(s)}},[t,o,i,n,a,l,d,h,p,b,v,m,C]),e.jsx("div",{className:"bar-graph-container",children:e.jsx("div",{ref:x,style:{width:"100%",height:"100%"}})})},exports.Boxplot=({dataSeries:t,width:o=1e3,height:i=600,xRange:n,yRange:a,xTitle:s="Columns",yTitle:l="Rows",title:d="Boxplot",showPoints:h=!1})=>{const p=r.useRef(null),{yMin:x,yMax:u}=r.useMemo(()=>{let e=Number.MAX_VALUE,r=Number.MIN_VALUE;t.forEach(t=>{t.y.forEach(t=>{e=Math.min(e,t),r=Math.max(r,t)})});const o=.1*(r-e);return{yMin:e-o,yMax:r+o}},[t]),g=r.useMemo(()=>a||[x,u],[a,x,u]),f=r.useMemo(()=>{const e=g[1]-g[0];let t=Math.pow(10,Math.floor(Math.log10(e)));e/t>10&&(t*=2),e/t<4&&(t/=2);const r=[];let o=Math.ceil(g[0]/t)*t;for(;o<=g[1];)r.push(o),o+=t;return r},[g]),m=r.useMemo(()=>({tickcolor:Ei.GREY_200,ticklen:12,tickwidth:1,ticks:"outside",tickfont:{size:16,color:Ei.BLACK_900,family:"Inter, sans-serif",weight:400},linecolor:Ei.BLACK_900,linewidth:1,position:0,zeroline:!1}),[]),C=r.useMemo(()=>({text:d,x:.5,y:.95,xanchor:"center",yanchor:"top",font:{size:32,weight:600,family:"Inter, sans-serif",color:Ei.BLACK_900,lineheight:1.2,standoff:30}}),[d]);return r.useEffect(()=>{if(!p.current)return;const e=t.map(e=>({y:e.y,x:e.x,type:"box",name:e.name,marker:{color:e.color},line:{color:e.color},fillcolor:e.color+"40",boxpoints:!!h&&(e.boxpoints||"outliers"),jitter:e.jitter||.3,pointpos:e.pointpos||-1.8})),r={width:o,height:i,title:C,margin:{l:80,r:40,b:80,t:80,pad:0},paper_bgcolor:Ei.WHITE,plot_bgcolor:Ei.WHITE,font:{family:"Inter, sans-serif"},dragmode:!1,xaxis:{title:{text:s,font:{size:16,color:Ei.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:15},gridcolor:Ei.GREY_200,range:n,autorange:!n,showgrid:!0,...m},yaxis:{title:{text:l,font:{size:16,color:Ei.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:15},gridcolor:Ei.GREY_200,range:a,autorange:!a,tickmode:"array",tickvals:f,showgrid:!0,...m},legend:{x:.5,y:-.2,xanchor:"center",yanchor:"top",orientation:"h",font:{size:13,color:Ei.BLUE_900,family:"Inter, sans-serif",weight:500,lineheight:18}},showlegend:!0};c.newPlot(p.current,e,r,{responsive:!0,displayModeBar:!1,displaylogo:!1});const d=p.current;return()=>{d&&c.purge(d)}},[t,o,i,n,a,g,s,l,h,C,m,f]),e.jsx("div",{className:"boxplot-container",children:e.jsx("div",{ref:p,style:{width:"100%",height:"100%"}})})},exports.Button=f,exports.ButtonControl=C,exports.ButtonControlGroup=({controls:t,selectedId:r,onChange:o,vertical:i=!0,disabled:n=!1})=>e.jsx(Fr,{$vertical:i,children:t.map(t=>e.jsx(Xr,{$vertical:i,children:e.jsx(C,{icon:t.icon,selected:r===t.id,disabled:n||t.disabled,onClick:()=>{return e=t.id,void(n||o?.(e));var e}})},t.id))}),exports.CHART_COLORS=Ii,exports.COLORS=Ei,exports.Card=({children:t,title:r,size:o="medium",variant:i="default",className:n,fullWidth:a=!1,ref:s,...l})=>e.jsxs(w,{ref:s,$size:o,$variant:i,$fullWidth:a,className:n,...l,children:[r&&e.jsx(y,{$size:o,children:r}),e.jsx(k,{$size:o,children:t})]}),exports.CardSidebar=oo,exports.Checkbox=Ce,exports.Chromatogram=({data:t=[],width:o=900,height:i=600,positionInterval:n=10,colorA:a="#2D9CDB",colorT:s="#A1C63C",colorG:l="#FF5C64",colorC:d="#FFA62E"})=>{const h=r.useRef(null),p=r.useMemo(()=>t.map(e=>e.position),[t]),x=r.useMemo(()=>t.map(e=>(e=>{const t={A:e.peakA,T:e.peakT,G:e.peakG,C:e.peakC},r=Object.values(t);if(r.every(e=>e===r[0]))return"";let o="",i=0;return Object.entries(t).forEach(([e,t])=>{t>i&&(o=e,i=t)}),o})(e)),[t]),u=r.useMemo(()=>t.map(e=>e.peakA),[t]),g=r.useMemo(()=>t.map(e=>e.peakT),[t]),f=r.useMemo(()=>t.map(e=>e.peakG),[t]),m=r.useMemo(()=>t.map(e=>e.peakC),[t]),C=r.useMemo(()=>({x:p,y:u,type:"scatter",mode:"lines",name:"A",line:{color:a,width:2,shape:"spline"}}),[p,u,a]),b=r.useMemo(()=>({x:p,y:g,type:"scatter",mode:"lines",name:"T",line:{color:s,width:2,shape:"spline"}}),[p,g,s]),v=r.useMemo(()=>({x:p,y:f,type:"scatter",mode:"lines",name:"G",line:{color:l,width:2,shape:"spline"}}),[p,f,l]),w=r.useMemo(()=>({x:p,y:m,type:"scatter",mode:"lines",name:"C",line:{color:d,width:2,shape:"spline"}}),[p,m,d]),y=r.useMemo(()=>Math.max(...u,...g,...f,...m),[u,g,f,m]);if(r.useEffect(()=>{if(!h.current||0===t.length)return;const e=[C,b,v,w],r={width:o,height:i-75,margin:{l:0,r:0,b:20,t:10,pad:0},paper_bgcolor:"var(--white-900)",plot_bgcolor:"var(--white-900)",font:{family:"Inter, sans-serif"},showlegend:!1,xaxis:{showgrid:!1,zeroline:!1,showticklabels:!1,showline:!1,range:[Math.min(...p),Math.max(...p)],fixedrange:!0},yaxis:{showgrid:!1,zeroline:!1,showticklabels:!1,showline:!1,range:[0,1.05*y],fixedrange:!0}};c.newPlot(h.current,e,r,{responsive:!0,displayModeBar:!1,displaylogo:!1,fillFrame:!0});const n=h.current;return()=>{n&&c.purge(n)}},[t,o,i,C,b,v,w,y,p]),0===t.length)return e.jsx("div",{className:"chart-container",children:"No data available"});return e.jsxs("div",{className:"chromatogram-container",style:{width:o,height:i},children:[e.jsxs("div",{className:"sequence-header",children:[(()=>{const t=Math.min(...p),r=Math.max(...p),i=o;return e.jsx("div",{className:"sequence-letters-container",children:x.map((o,n)=>{const c=p[n],h="A"===o?a:"T"===o?s:"G"===o?l:"C"===o?d:"var(--black-900)",x=(c-t)/(r-t)*i;return e.jsx("span",{className:"sequence-letter",style:{left:`${x}px`,color:h},children:o},`base-${n}`)})})})(),(()=>{const t=Math.min(...p),r=Math.max(...p),i=o,a=[];for(let e=Math.ceil(t/n)*n;e<=r;e+=n)a.push({position:e,label:e.toString()});return e.jsx("div",{className:"position-numbers-container",children:a.map(o=>{const n=(o.position-t)/(r-t)*i;return e.jsx("span",{className:"position-number",style:{left:`${n}px`},children:o.label},`pos-${o.position}`)})})})()]}),e.jsx("div",{className:"chromatogram-chart",children:e.jsx("div",{ref:h,style:{width:"100%",height:"100%"}})})]})},exports.ChromatogramChart=({series:t,width:o=900,height:i=500,title:n,xAxisTitle:a="Retention Time (min)",yAxisTitle:s="Signal (mAU)",annotations:l=[],xRange:d,yRange:h,showLegend:p=!0,showGridX:x=!0,showGridY:u=!0,showMarkers:g=!1,markerSize:f=4,showCrosshairs:m=!1,baselineCorrection:C="none",baselineWindowSize:b=50,peakDetectionOptions:v,showPeakAreas:w=!1,boundaryMarkers:y="none",annotationOverlapThreshold:k=.4,showExportButton:j=!0})=>{const M=void 0!==v,L=r.useRef(null),E=r.useMemo(()=>t.map(e=>{const t=function(e,t){const r=Math.min(e.length,t.length),o=e.slice(0,r),i=t.slice(0,r).map(e=>Number.isFinite(e)?e:0);return{x:o.map(e=>Number.isFinite(e)?e:0),y:i}}(e.x,e.y);return{...e,x:t.x,y:Wi(t.y,C,b)}}),[t,C,b]),I=r.useMemo(()=>{if(0===l.length||0===E.length)return l;const{x:e,y:t}=E[0];return function(e,t,r){return e.map(e=>{if(void 0!==e.startX&&void 0!==e.endX){const o=Zi(t,e.startX),i=Zi(t,e.endX),n=Zi(t,e.x),a=e._computed?.area??Ui(t,r,o,i);return{...e,_computed:{...e._computed,index:n,startIndex:o,endIndex:i,area:a}}}return e})}(l,e,t)},[l,E]),N=r.useMemo(()=>{const e=[];return M&&v&&E.forEach((t,r)=>{const o=Ki(t.x,t.y,v);o.length>0&&e.push({peaks:o,seriesIndex:r})}),e},[E,M,v]);return r.useEffect(()=>{const e=L.current;if(!e||0===t.length)return;const r=E.map((e,t)=>{const r=e.color||Ii[t%Ii.length],o=function(e,t){if(!t)return e;const r=[];for(const[e,o]of Object.entries(t))if(null!=o&&""!==o){const t=e.replace(/([A-Z])/g," $1").replace(/^./,e=>e.toUpperCase()).trim();r.push(`${t}: ${String(o)}`)}return r.length>0?`${e}<br>${r.join("<br>")}`:e}(e.name,e.metadata),i={x:e.x,y:e.y,type:"scatter",mode:g?"lines+markers":"lines",name:e.name,line:{color:r,width:1.5},hovertemplate:`%{x:.2f} ${a}<br>%{y:.2f} ${s}<extra>${o}</extra>`};return g&&(i.marker={size:f,color:r}),i});if("none"!==y){const e=function(e,t,r){const o=[];e.forEach(({peaks:e,seriesIndex:t})=>{o.push({peaks:e,seriesIndex:t,x:r[t].x,y:r[t].y})});const i=t.filter(e=>void 0!==e._computed?.startIndex&&void 0!==e._computed?.endIndex);return i.length>0&&r.length>0&&o.push({peaks:i,seriesIndex:0,x:r[0].x,y:r[0].y}),o}(N,I,E);if(e.length>0){const t=function(e){const t=[];for(const{peaks:r,seriesIndex:o,x:i}of e){const e=Ii[o%Ii.length],n=-16*o-5,a=-16*o-12;for(const o of r){const r=o._computed?.startIndex??0,s=o._computed?.endIndex??0,l=i[r],c=i[s],d=o.startMarker??"triangle",h=o.endMarker??"diamond";t.push(...Oi(l,n,d,e)),t.push(...Oi(c,a,h,e))}}return t}(e);r.push(...t)}}const l=[];I.forEach(e=>{l.push({peak:e,seriesIndex:-1})}),w&&M&&N.forEach(({peaks:e,seriesIndex:t})=>{e.forEach(e=>{l.push({peak:e,seriesIndex:t})})});const C=function(e,t){const r=[...e].sort((e,t)=>e.peak.x-t.peak.x),o=[];let i=[];for(const e of r){if(0===i.length){i.push(e);continue}const r=i[i.length-1];Math.abs(e.peak.x-r.peak.x)<t?i.push(e):(o.push(i),i=[e])}return i.length>0&&o.push(i),o}(l,k),b=[];for(const e of C)b.push(...Pi(e));const v={title:n?{text:n,font:{size:20,family:"Inter, sans-serif",color:Ei.BLACK_900}}:void 0,width:o,height:i,margin:{l:Ni,r:Ai,b:_i,t:n?$i:Ri,pad:Ti},paper_bgcolor:Ei.WHITE,plot_bgcolor:Ei.WHITE,font:{family:"Inter, sans-serif"},hovermode:m?"x":"x unified",dragmode:"zoom",xaxis:{title:{text:a,font:{size:14,color:Ei.BLACK_600,family:"Inter, sans-serif"},standoff:15},showgrid:x,gridcolor:Ei.GREY_200,linecolor:Ei.BLACK_900,linewidth:1,range:d,autorange:!d,zeroline:!1,tickfont:{size:12,color:Ei.BLACK_900,family:"Inter, sans-serif"},showspikes:m,spikemode:"across",spikesnap:"cursor",spikecolor:Ei.GREY_500,spikethickness:1,spikedash:"dot"},yaxis:{title:{text:s,font:{size:14,color:Ei.BLACK_600,family:"Inter, sans-serif"},standoff:10},showgrid:u,gridcolor:Ei.GREY_200,linecolor:Ei.BLACK_900,linewidth:1,range:h,autorange:!h,zeroline:!1,tickfont:{size:12,color:Ei.BLACK_900,family:"Inter, sans-serif"},showspikes:m,spikemode:"across",spikesnap:"cursor",spikecolor:Ei.GREY_500,spikethickness:1,spikedash:"dot"},legend:{x:.5,y:-.15,xanchor:"center",yanchor:"top",orientation:"h",font:{size:12,color:Ei.BLACK_900,family:"Inter, sans-serif"}},showlegend:p&&t.length>1,annotations:b},A={responsive:!0,displayModeBar:!0,displaylogo:!1,modeBarButtonsToRemove:["lasso2d","select2d",...j?[]:["toImage"]],...j&&{toImageButtonOptions:{format:"png",filename:"chromatogram",width:o,height:i}}};return c.newPlot(e,r,v,A),()=>{e&&c.purge(e)}},[E,N,t.length,o,i,n,a,s,I,d,h,p,x,u,g,f,m,M,v,w,y,k,j]),e.jsx("div",{className:"chromatogram-chart-container",children:e.jsx("div",{ref:L,style:{width:"100%",height:"100%"}})})},exports.CodeEditor=Ne,exports.CodeScriptEditorButton=({initialCode:t="",onCodeSave:o,language:i="python",buttonText:n="Edit Code",modalTitle:a="Edit Code",buttonProps:s,modalProps:l,disabled:c=!1})=>{const[d,h]=r.useState(!1),[p,x]=r.useState(t),u=p?p.split("\n").length:0,g=p.length,m=r.useCallback(()=>{x(t),h(!0)},[t]),C=r.useCallback(()=>{o&&o(p),h(!1)},[o,p]),b=r.useCallback(()=>{h(!1)},[]),v=r.useCallback(e=>{x(e||"")},[]);return e.jsxs(e.Fragment,{children:[e.jsxs(io,{children:[e.jsx(so,{children:e.jsx(f,{leftIcon:e.jsx(pe,{name:exports.IconName.PENCIL}),onClick:m,size:"small",variant:"tertiary",...s,disabled:c,children:n})}),e.jsxs(ao,{title:`${u} lines, ${g} characters`,children:[u," lines / ",g," chars"]})]}),e.jsx($t,{isOpen:d,onClose:b,onConfirm:C,onCloseLabel:"Cancel",onConfirmLabel:"Save Code",title:a,width:"80%",...l,children:e.jsx(no,{children:e.jsx(Ne,{height:"400px",language:i,value:p,onChange:v,options:{minimap:{enabled:!1}}})})})]})},exports.DotPlot=({dataSeries:t,width:o=1e3,height:i=600,title:n="Dot Plot",xTitle:a="Columns",yTitle:s="Rows",variant:l="default",markerSize:d=8})=>{const h=r.useRef(null),p=r.useMemo(()=>Array.isArray(t)?t:[t],[t]),x=r.useMemo(()=>[Ei.ORANGE,Ei.RED,Ei.GREEN,Ei.BLUE,Ei.YELLOW,Ei.PURPLE],[]),u=r.useMemo(()=>["circle","square","diamond","triangle-up","triangle-down","star"],[]),g=r.useMemo(()=>p.map((e,t)=>"default"===l?{...e,color:e.color||x[0],symbol:"circle",size:e.size||d}:{...e,color:e.color||x[t%x.length],symbol:e.symbol||u[t%u.length],size:e.size||d}),[p,l,d,x,u]),f=Ei.GREY_200,m=r.useMemo(()=>g.map(e=>({type:"scatter",x:e.x,y:e.y,mode:"markers",name:e.name,marker:{color:e.color,size:e.size,symbol:e.symbol,line:{color:Ei.WHITE,width:1}},hovertemplate:`${a}: %{x}<br>${s}: %{y}<extra>${e.name}</extra>`})),[g,a,s]),C=r.useMemo(()=>({tickcolor:Ei.GREY_200,ticklen:12,tickwidth:1,ticks:"outside",tickfont:{size:16,color:Ei.BLACK_900,family:"Inter, sans-serif",weight:400},linecolor:Ei.BLACK_900,linewidth:1,position:0,zeroline:!1}),[]),b=r.useMemo(()=>({text:n,x:.5,y:.95,xanchor:"center",yanchor:"top",font:{size:32,weight:600,family:"Inter, sans-serif",color:Ei.BLACK_900,lineheight:1.2,standoff:30}}),[n]);return r.useEffect(()=>{if(!h.current)return;const e={width:o,height:i,font:{family:"Inter, sans-serif"},title:b,margin:{l:80,r:40,b:80,t:80,pad:0},showlegend:!0,legend:{x:.5,y:-.2,xanchor:"center",yanchor:"top",orientation:"h",font:{size:13,color:Ei.BLUE_900,family:"Inter, sans-serif",weight:500,lineheight:18}},xaxis:{title:{text:a,font:{size:16,color:Ei.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:15},gridcolor:f,...C},yaxis:{title:{text:s,font:{size:16,color:Ei.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:15},gridcolor:f,...C},paper_bgcolor:Ei.WHITE,plot_bgcolor:Ei.WHITE};c.newPlot(h.current,m,e,{responsive:!0,displayModeBar:!1,displaylogo:!1});const t=h.current;return()=>{t&&c.purge(t)}},[o,i,a,s,m,b,C,f]),e.jsx("div",{className:"dotplot-container",style:{width:o},children:e.jsx("div",{ref:h,style:{width:"100%",height:"100%",margin:"0"}})})},exports.Dropdown=He,exports.ErrorAlert=tt,exports.FormField=({label:t,infoText:r,supportiveText:o,showSupportiveCheck:i=!1,className:n,ref:a,...s})=>e.jsxs(lo,{className:n,children:[e.jsx(co,{infoText:r,children:t}),e.jsx(at,{ref:a,...s}),o&&e.jsx(Dt,{showCheck:i,children:o})]}),exports.Heatmap=({data:t,xLabels:o,yLabels:i,title:n,xTitle:a,yTitle:s,colorscale:l,width:c=800,height:d=600,showScale:h=!0,precision:p=0,zmin:x,zmax:u,valueUnit:g=""})=>{const f=t?function(e){if(!e||0===e.length)return[];const t=Math.max(...e.map(e=>e.length));return e.map(e=>{if(e.length===t)return e;const r=[...e];for(;r.length<t;)r.push(0);return r})}(t):void 0,m=f?.length??i?.length??16,C=f?.[0]?.length??o?.length??24,b=r.useMemo(()=>{if(!f)return;const e=[];for(let t=0;t<f.length;t++)for(let r=0;r<f[t].length;r++){const n=`${i?.[t]?.toString()??"ABCDEFGHIJKLMNOPQRSTUVWXYZ"[t]??`R${t+1}`}${o?.[r]?.toString()??String(r+1)}`;e.push({wellId:n,values:{Value:f[t][r]}})}return e},[f,o,i]),v=l;return e.jsx(_n,{data:b,plateFormat:"custom",rows:m,columns:C,title:n,xTitle:a,yTitle:s,xLabels:o,yLabels:i,colorScale:v,valueMin:x,valueMax:u,showColorBar:h,width:c,height:d,layerConfigs:[{id:"Value",valueUnit:g}],precision:p})},exports.Histogram=({dataSeries:t,width:o=480,height:i=480,title:n="Histogram",xTitle:a="X Axis",yTitle:s="Frequency",bargap:l=.2,showDistributionLine:d=!1})=>{const h=r.useRef(null),p=r.useMemo(()=>Array.isArray(t)?t:[t],[t]),x=r.useMemo(()=>p.length>1?"stack":void 0,[p.length]),u=r.useMemo(()=>[Ei.ORANGE,Ei.RED,Ei.BLUE,Ei.GREEN,Ei.PURPLE,Ei.YELLOW],[]),g=r.useMemo(()=>p.map((e,t)=>{const r=void 0===e.showDistributionLine?d:e.showDistributionLine;return{...e,color:e.color||u[t%u.length],opacity:r?.5:e.opacity||1,showDistributionLine:r,lineWidth:e.lineWidth||3}}),[p,d,u]),f=Ei.GREY_200,m=r.useMemo(()=>g.map(e=>({type:"histogram",x:e.x,name:e.name,marker:{color:e.color,line:{color:Ei.WHITE,width:1},opacity:e.opacity},autobinx:e.autobinx,xbins:e.xbins,hovertemplate:`${a}: %{x}<br>${s}: %{y}<extra>${e.name}</extra>`})),[g,a,s]),C=r.useMemo(()=>g.filter(e=>e.showDistributionLine).map(e=>{const t=(r=e.x).reduce((e,t)=>e+t,0)/r.length;var r;const o=((e,t)=>{const r=e.map(e=>Math.pow(e-t,2)).reduce((e,t)=>e+t,0)/e.length;return Math.sqrt(r)})(e.x,t),i=Math.min(...e.x),n=Math.max(...e.x),a=n-i,s=i-.1*a,l=n+.1*a,c=e.xbins||{start:s,end:l,size:a/10},d=((e,t,r,o,i=100)=>{const n=[],a=[],s=(o-r)/(i-1);for(let o=0;o<i;o++){const i=r+o*s;n.push(i);const l=-.5*Math.pow((i-e)/t,2),c=1/(t*Math.sqrt(2*Math.PI))*Math.exp(l);a.push(c)}return{x:n,y:a}})(t,o,s,l,100),h=((e,t,r)=>{const o=Math.ceil((r.end-r.start)/r.size),i=Array(o).fill(0);t.forEach(e=>{if(e>=r.start&&e<=r.end){const t=Math.floor((e-r.start)/r.size);i[t]++}});const n=Math.max(...i)/Math.max(...e);return e.map(e=>e*n)})(d.y,e.x,c);return{type:"scatter",x:d.x,y:h,mode:"lines",name:`${e.name} Distribution`,line:{color:e.color,width:e.lineWidth},hoverinfo:"none"}}),[g]),b=r.useMemo(()=>[...m,...C],[m,C]);r.useEffect(()=>{if(!h.current)return;const e={width:o,height:i,font:{family:"Inter, sans-serif"},showlegend:!1,margin:{l:90,r:40,b:80,t:40},xaxis:{title:{text:a,font:{size:16,color:Ei.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:20},gridcolor:f,tickcolor:Ei.GREY_200,ticklen:8,tickwidth:1,ticks:"outside",linecolor:Ei.BLACK_900,linewidth:1,zeroline:!1},yaxis:{title:{text:s,font:{size:16,color:Ei.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:20},gridcolor:f,tickcolor:Ei.GREY_200,ticklen:8,tickwidth:1,ticks:"outside",linecolor:Ei.BLACK_900,linewidth:1,zeroline:!1,rangemode:"tozero"},barmode:x,bargap:l,paper_bgcolor:Ei.WHITE,plot_bgcolor:Ei.WHITE};c.newPlot(h.current,b,e,{responsive:!0,displayModeBar:!1,displaylogo:!1});const t=h.current;return()=>{t&&c.purge(t)}},[o,i,a,s,l,b,x,f]);return e.jsx("div",{className:"histogram-container",style:{width:o},children:e.jsxs("div",{className:"chart-container",children:[n&&e.jsx("div",{className:"title-container",children:e.jsx("h2",{className:"title",children:n})}),e.jsx("div",{ref:h,style:{width:"100%",height:"100%",margin:"0"}}),e.jsx(({series:t})=>{const o=t.map((o,i)=>e.jsx(r.Fragment,{children:e.jsxs("div",{className:"legend-item",children:[e.jsx("span",{className:"color-box",style:{background:o.color}}),o.name,i<t.length-1&&e.jsx("span",{className:"divider"})]})},o.name)),i=[];for(let t=0;t<o.length;t+=6)i.push(e.jsx("div",{className:"legend-row",children:o.slice(t,t+6)},t));return e.jsx("div",{className:"legend-container",children:i})},{series:g})]})})},exports.Icon=pe,exports.Input=at,exports.Label=ht,exports.LaunchContent=Co,exports.LineGraph=({dataSeries:t,width:o=1e3,height:i=600,xRange:n,yRange:a,variant:s="lines",xTitle:l="Columns",yTitle:d="Rows",title:h="Line Graph"})=>{const p=r.useRef(null),{yMin:x,yMax:u}=r.useMemo(()=>{let e=Number.MAX_VALUE,r=Number.MIN_VALUE,o=Number.MAX_VALUE,i=Number.MIN_VALUE;t.forEach(t=>{t.x.forEach(t=>{e=Math.min(e,t),r=Math.max(r,t)}),t.y.forEach(e=>{o=Math.min(o,e),i=Math.max(i,e)})});const n=.1*(r-e),a=.1*(i-o);return{xMin:e-n,xMax:r+n,yMin:o-a,yMax:i+a}},[t]),g=r.useMemo(()=>a||[x,u],[a,x,u]),f=r.useMemo(()=>{const e=g[1]-g[0];let t=Math.pow(10,Math.floor(Math.log10(e)));e/t>10&&(t*=2),e/t<4&&(t/=2);const r=[];let o=Math.ceil(g[0]/t)*t;for(;o<=g[1];)r.push(o),o+=t;return r},[g]),m=r.useMemo(()=>[...new Set(t.flatMap(e=>e.x))],[t]),C=r.useMemo(()=>{switch(s){case"lines+markers":case"lines+markers+error_bars":return"lines+markers";default:return"lines"}},[s]),b=r.useMemo(()=>({tickcolor:Ei.GREY_200,ticklen:12,tickwidth:1,ticks:"outside",tickfont:{size:16,color:Ei.BLACK_900,family:"Inter, sans-serif",weight:400},linecolor:Ei.BLACK_900,linewidth:1,position:0,zeroline:!1}),[]);return r.useEffect(()=>{if(!p.current)return;const e=t.map(e=>({x:e.x,y:e.y,type:"scatter",mode:C,name:e.name,line:{color:e.color,width:1.5},marker:"lines"===s?{opacity:0}:{color:e.color,size:8,symbol:e.symbol||"triangle-up"},error_y:"lines+markers+error_bars"===s?e.error_y||{type:"data",array:e.y.map(()=>10),visible:!0,color:e.color,thickness:1,width:5}:void 0})),r={title:{text:h,font:{size:32,family:"Inter, sans-serif",color:Ei.BLACK_900}},width:o,height:i,margin:{l:80,r:30,b:80,t:60,pad:10},paper_bgcolor:Ei.WHITE,plot_bgcolor:Ei.WHITE,font:{family:"Inter, sans-serif"},dragmode:!1,xaxis:{title:{text:l,font:{size:16,color:Ei.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:32},gridcolor:Ei.GREY_200,range:n,autorange:!n,tickmode:"array",tickvals:m,ticktext:m.map(String),showgrid:!0,...b},yaxis:{title:{text:d,font:{size:16,color:Ei.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:30},gridcolor:Ei.GREY_200,range:a,autorange:!a,tickmode:"array",tickvals:f,showgrid:!0,...b},legend:{x:.5,y:-.2,xanchor:"center",yanchor:"top",orientation:"h",font:{size:16,color:Ei.BLUE_900,family:"Inter, sans-serif",weight:500}},showlegend:!0};c.newPlot(p.current,e,r,{responsive:!0,displayModeBar:!1,displaylogo:!1});const x=p.current;return()=>{x&&c.purge(x)}},[t,o,i,n,a,l,d,h,C,b,m,f,g,s]),e.jsx("div",{className:"chart-container",children:e.jsx("div",{ref:p,style:{width:"100%",height:"100%"}})})},exports.Main=({userProfile:t,hostname:o,organization:i})=>{const n=[{icon:exports.IconName.SEARCH_DOCUMENT,label:"Search"},{icon:exports.IconName.SEARCH_SQL,label:"SQL Search"},{icon:exports.IconName.LAMP,label:"Projects"},{icon:exports.IconName.PIPELINE,label:"Pipelines"},{icon:exports.IconName.COMPUTER,label:"Data & AI Workspace"},{icon:exports.IconName.CUBE,label:"Artifacts"},{icon:exports.IconName.DATABASE,label:"Data Sources"},{icon:exports.IconName.PIE_CHART,label:"Health Monitoring"},{icon:exports.IconName.BULK_CHECK,label:"Bulk Actions"},{icon:exports.IconName.CODE,label:"Attribute Management"},{icon:exports.IconName.GEAR,label:"Administration"}],[a,s]=r.useState("Pipelines"),[l,c]=r.useState("templates"),[d,h]=r.useState("pipelineBuilder"),[p,x]=r.useState("1"),u=[{id:"1",title:"Tecan D300e and PerkinElmer EnVision to Dotmatics (v1)",description:"c901ejs",buttonText:"",linkText:""},{id:"2",title:"Bruker D8 Andvanced CRD Raw to IDS(Draft)",description:"c901ejs",buttonText:"",linkText:""},{id:"3",title:"Extract and Decorate(Draft)",description:"c901ejs",buttonText:"",linkText:""},{id:"4",title:"Intellict (Que3 Raw to IDS(Draft)",description:"c901ejs",buttonText:"",linkText:""},{id:"5",title:"Leica Aperio RAW to IDS(Draft)",description:"c901ejs",buttonText:"",linkText:""},{id:"6",title:"IDS to Benchling(Draft)",description:"c901ejs",buttonText:"",linkText:""},{id:"7",title:"Lorem Ipsum",description:"c901ejs",buttonText:"",linkText:""}],g=[],f=e=>{x(e===p?null:e)},m=e=>{console.log(`Using template: ${e}`)},C=e=>{console.log(`Viewing template: ${e}`)};return e.jsxs($n,{children:[e.jsx(So,{organization:i}),e.jsxs(Rn,{children:[e.jsx(li,{items:n,activeItem:a,onItemClick:e=>{s(e)}}),e.jsxs(Tn,{children:[e.jsx(Sr,{hostname:o,userProfile:t,onHomeClick:()=>{console.log("Home clicked")},onSettingsClick:()=>{console.log("Settings clicked")},onUserProfileClick:()=>{console.log("User profile clicked")}}),e.jsx(Sn,{children:e.jsx(zn,{children:e.jsxs("div",{style:{display:"flex",height:"100%"},children:[e.jsxs(Dn,{children:[e.jsx(wi,{tabs:[{id:"templates",label:"Templates"},{id:"protocol",label:"Protocol"},{id:"steps",label:"Steps"}],activeTab:l,onChange:e=>{c(e)}}),"templates"===l&&e.jsxs(e.Fragment,{children:[e.jsxs(Bn,{children:[e.jsx(Hn,{children:"Templates"}),e.jsxs(Pn,{children:[e.jsx(On,{variant:"tertiary",size:"small","aria-label":"Delete",noPadding:!0,children:e.jsx(pe,{name:exports.IconName.TRASH,width:"20",height:"20",fill:"var(--red-error)"})}),e.jsx(On,{variant:"primary",size:"small","aria-label":"Add",noPadding:!0,children:e.jsx(pe,{name:exports.IconName.PLUS,width:"20",height:"20",fill:"var(--white-900)"})})]})]}),e.jsx(Gn,{children:u.length>0?u.map(t=>e.jsx(Wn,{onClick:()=>f(t.id),children:e.jsx(Yn,{title:t.title,description:t.description,buttonText:t.buttonText,linkText:t.linkText,status:p===t.id?"active":"default",onButtonClick:()=>m(t.id),onLinkClick:()=>C(t.id)})},t.id)):e.jsxs(Kn,{children:[e.jsx(pe,{name:exports.IconName.INBOX,width:"40",height:"40",fill:"var(--grey-400)"}),e.jsx(Zn,{children:"No data"})]})})]}),"protocol"===l&&e.jsxs(e.Fragment,{children:[e.jsx(Bn,{children:e.jsxs(Hn,{children:["Protocol (",g.length,")"]})}),e.jsx(Gn,{children:g.length>0?g.map(t=>e.jsx(Wn,{onClick:()=>f(t.id),children:e.jsx(Yn,{title:t.title,description:t.description,status:p===t.id?"active":"default",onButtonClick:()=>m(t.id),onLinkClick:()=>C(t.id)})},t.id)):e.jsxs(Kn,{children:[e.jsx(pe,{name:exports.IconName.INBOX,width:"40",height:"40",fill:"var(--grey-400)"}),e.jsx(Zn,{children:"No data"})]})})]}),"steps"===l&&e.jsxs(e.Fragment,{children:[e.jsx(Bn,{children:e.jsxs(Hn,{children:["Task Scripts (",0,")"]})}),e.jsx(Gn,{children:g.length>0?g.map(t=>e.jsx(Wn,{onClick:()=>f(t.id),children:e.jsx(Yn,{title:t.title,description:t.description,status:p===t.id?"active":"default",onButtonClick:()=>m(t.id),onLinkClick:()=>C(t.id)})},t.id)):e.jsxs(Kn,{children:[e.jsx(pe,{name:exports.IconName.INBOX,width:"40",height:"40",fill:"var(--grey-400)"}),e.jsx(Zn,{children:"No data"})]})})]})]}),e.jsxs(Vn,{children:[e.jsx(Un,{children:e.jsx(wi,{tabs:[{id:"pipelineBuilder",label:"Pipeline Builder"},{id:"configuration",label:"Configuration"},{id:"launch",label:"Launch"}],activeTab:d,onChange:e=>{h(e)}})}),e.jsxs(Fn,{children:["pipelineBuilder"===d&&e.jsx(Xn,{}),"configuration"===d&&e.jsx(Ko,{}),"launch"===d&&e.jsx(Co,{})]})]})]})})})]})]})]})},exports.MarkdownDisplay=({markdown:t,codeRenderer:r})=>e.jsx(i,{remarkPlugins:[s],rehypePlugins:[a],components:{code:r||ut},children:t}),exports.Menu=({title:t,items:r,onItemClick:o,onItemCheckChange:i,activeItemId:n=null,className:a})=>e.jsxs(bo,{className:a,children:[t&&e.jsx(vo,{children:t}),e.jsx(wo,{children:r.map(t=>e.jsx(Ct,{label:t.label,checked:t.checked,showCheckbox:t.showCheckbox,active:n===t.id||t.active,onClick:()=>{return e=t.id,void(o&&o(e));var e},onCheckChange:e=>((e,t)=>{i&&i(e,t)})(t.id,e)},t.id))})]}),exports.MenuItem=Ct,exports.Modal=$t,exports.Navbar=So,exports.PieChart=({dataSeries:t,width:o=400,height:i=400,title:n="Pie Chart",textInfo:a="percent",hole:s=0,rotation:l=0})=>{const d=r.useRef(null),h=r.useMemo(()=>{if(t.colors&&t.colors.length>=t.labels.length)return t.colors;const e=[...t.colors||[]],r=t.labels.length-e.length;if(r<=0)return e;for(let t=0;t<r;t++)e.push(qn[t%qn.length]);return e},[t.colors,t.labels.length]);r.useEffect(()=>{if(!d.current)return;const e=[{type:"pie",labels:t.labels,values:t.values,name:t.name,marker:{colors:h},textinfo:a,hoverinfo:"label+text+value",insidetextfont:{size:0,family:"Inter, sans-serif",color:"transparent"},hole:s,rotation:l}],r={width:o,height:i,font:{family:"Inter, sans-serif"},showlegend:!1,margin:{l:40,r:40,b:40,t:40}};c.newPlot(d.current,e,r,{responsive:!0,displayModeBar:!1,displaylogo:!1});const n=d.current;return()=>{n&&c.purge(n)}},[h,t.labels,t.name,t.values,o,i,a,s,l]);return e.jsx("div",{className:"card-container",style:{width:o},children:e.jsxs("div",{className:"chart-container",children:[n&&e.jsx("div",{className:"title-container",children:e.jsx("h2",{className:"title",children:n})}),e.jsx("div",{ref:d,style:{width:"100%",height:"100%",margin:"0"}}),e.jsx(({labels:t,colors:o})=>{const i=t.map((i,n)=>e.jsx(r.Fragment,{children:e.jsxs("div",{className:"legend-item",children:[e.jsx("span",{className:"color-box",style:{background:o[n]}}),i,n<t.length-1&&e.jsx("span",{className:"divider"})]})},i)),n=[];for(let t=0;t<i.length;t+=6)n.push(e.jsx("div",{className:"legend-row",children:i.slice(t,t+6)},t));return e.jsx("div",{className:"legend-container",children:n})},{labels:t.labels,colors:h})]})})},exports.PlateMap=_n,exports.PopConfirm=Ht,exports.ProtocolConfiguration=Ko,exports.ProtocolYamlCard=({title:t,newVersionMode:r,onToggleNewVersionMode:o,versionOptions:i,selectedVersion:n,onVersionChange:a,onDeploy:s,yaml:l,onYamlChange:c})=>e.jsxs(Zo,{children:[e.jsxs(Wo,{children:[e.jsx(Yo,{children:t}),e.jsxs(Fo,{children:[e.jsx(Qo,{checked:r,onChange:o,label:"New Version Mode"}),e.jsx(Xo,{}),e.jsx(Jo,{options:i,value:n,onChange:a,size:"small",width:"120px"}),e.jsx(f,{variant:"primary",size:"medium",onClick:s,children:"Deploy"})]})]}),e.jsx(qo,{children:e.jsx(Ne,{value:l,onChange:e=>c(e??""),language:"yaml",theme:"light",onCopy:()=>{},onLaunch:()=>{}})})]}),exports.PythonEditorModal=({open:t,initialValue:o="",title:i="",onSave:n,onCancel:a})=>{const[s,l]=r.useState(o);return e.jsx($t,{isOpen:t,onClose:a,onCloseLabel:"Cancel",onConfirm:()=>{n(s)},onConfirmLabel:"Save Code",title:i,width:"600px",children:e.jsx(ei,{children:e.jsx(Ne,{value:s,onChange:e=>l(e??""),language:"python",height:300,theme:"dark",onCopy:()=>{},onLaunch:()=>{}})})})},exports.ScatterGraph=({dataSeries:t,width:o=1e3,height:i=600,xRange:n,yRange:a,xTitle:s="Columns",yTitle:l="Rows",title:d="Scatter Plot"})=>{const h=r.useRef(null),{xMin:p,xMax:x,yMin:u,yMax:g}=r.useMemo(()=>{let e=Number.MAX_VALUE,r=Number.MIN_VALUE,o=Number.MAX_VALUE,i=Number.MIN_VALUE;t.forEach(t=>{t.x.forEach(t=>{e=Math.min(e,t),r=Math.max(r,t)}),t.y.forEach(e=>{o=Math.min(o,e),i=Math.max(i,e)})});const n=.1*(r-e),a=.1*(i-o);return{xMin:e-n,xMax:r+n,yMin:o-a,yMax:i+a}},[t]),f=r.useMemo(()=>n||[p,x],[n,p,x]),m=r.useMemo(()=>a||[u,g],[a,u,g]),C=r.useMemo(()=>{const e=f[1]-f[0];let t=Math.pow(10,Math.floor(Math.log10(e)));e/t>10&&(t*=2),e/t<4&&(t/=2);const r=[];let o=Math.ceil(f[0]/t)*t;for(;o<=f[1];)r.push(o),o+=t;return r},[f]),b=r.useMemo(()=>{const e=m[1]-m[0];let t=Math.pow(10,Math.floor(Math.log10(e)));e/t>10&&(t*=2),e/t<4&&(t/=2);const r=[];let o=Math.ceil(m[0]/t)*t;for(;o<=m[1];)r.push(o),o+=t;return r},[m]),v=r.useMemo(()=>({tickcolor:Ei.GREY_200,ticklen:12,tickwidth:1,ticks:"outside",tickfont:{size:16,color:Ei.BLACK_900,family:"Inter, sans-serif",weight:400},linecolor:Ei.BLACK_900,linewidth:1,position:0,zeroline:!1}),[]),w=r.useMemo(()=>({showspikes:!0,spikemode:"across",spikedash:"solid",spikecolor:Ei.BLACK_OPACITY_20,spikethickness:2}),[]);return r.useEffect(()=>{if(!h.current)return;const e=t.map(e=>({x:e.x,y:e.y,type:"scatter",mode:"markers",name:e.name,marker:{color:e.color,size:10,symbol:"circle"},hovertemplate:`${s}: %{x}<br>${l}: %{y}<extra>${e.name}</extra>`})),r={title:{text:d,font:{size:32,family:"Inter, sans-serif",color:Ei.BLACK_900}},width:o,height:i,margin:{l:80,r:30,b:80,t:60,pad:10},paper_bgcolor:Ei.WHITE,plot_bgcolor:Ei.WHITE,font:{family:"Inter, sans-serif"},dragmode:!1,xaxis:{title:{text:s,font:{size:16,color:Ei.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:32},gridcolor:Ei.GREY_200,range:n,autorange:!n,tickmode:"array",tickvals:C,ticktext:C.map(String),showgrid:!0,...w,...v},yaxis:{title:{text:l,font:{size:16,color:Ei.BLACK_600,family:"Inter, sans-serif",weight:400},standoff:30},gridcolor:Ei.GREY_200,range:a,autorange:!a,tickmode:"array",tickvals:b,showgrid:!0,...w,...v},legend:{x:.5,y:-.2,xanchor:"center",yanchor:"top",orientation:"h",font:{size:16,color:Ei.BLUE_900,family:"Inter, sans-serif",weight:500}},showlegend:!0,hovermode:"closest"};c.newPlot(h.current,e,r,{responsive:!0,displayModeBar:!1,displaylogo:!1});const p=h.current;return()=>{p&&c.purge(p)}},[t,o,i,n,a,s,l,d,f,m,C,b,v,w]),e.jsx("div",{className:"chart-container",children:e.jsx("div",{ref:h,style:{width:"100%",height:"100%"}})})},exports.SelectField=({label:t,infoText:r,supportiveText:o,showSupportiveCheck:i=!1,className:n,ref:a,...s})=>e.jsxs(ti,{className:n,ref:a,children:[e.jsx(ri,{infoText:r,children:t}),e.jsx(He,{...s}),o&&e.jsx(Dt,{showCheck:i,children:o})]}),exports.Sidebar=li,exports.SupportiveText=Dt,exports.TDPLink=({path:t,navigationOptions:r={newTab:!0},children:o,onClick:i,...n})=>{const{getTdpUrl:a,navigateToTdp:s}=Mr(),l=a(t);return e.jsx(Lr,{href:l??"#",target:r.newTab?"_blank":void 0,rel:r.newTab?"noopener noreferrer":void 0,onClick:e=>{e.metaKey||e.ctrlKey||e.shiftKey||(e.preventDefault(),i?.(e),s(t,r))},...n,children:o})},exports.Tab=Gt,exports.TabGroup=wi,exports.Table=bi,exports.TableCell=Zt,exports.TableHeaderCell=Qt,exports.TdpNavigationContext=jr,exports.TdpNavigationProvider=({tdpBaseUrl:t,children:o})=>{const i=r.useMemo(()=>t?t.replace(/\/$/u,""):vr(),[t]),n=r.useMemo(()=>({tdpBaseUrl:i,getTdpUrl:e=>i?wr(i,e):null,navigateToTdp:(e,t)=>{if(!i)return void console.warn("[TdpNavigation] Cannot navigate: TDP base URL not resolved");const r=wr(i,e);r&&yr(r,t)}}),[i]);return e.jsx(jr.Provider,{value:n,children:o})},exports.TdpSearch=({defaultQuery:t="",columns:o,filters:i=[],defaultSort:n,advancedSearchParams:a,pageSize:s=10,searchPlaceholder:l="Enter search term...",className:c,onSearch:d,renderSearchBar:h,renderFilters:p,renderResults:x,...u})=>{const{authToken:g,orgSlug:f}=function(e,t){if(e&&t)return{authToken:e,orgSlug:t};const r=na(ta),o=na(ra);if(r&&o)return{authToken:r,orgSlug:o};const i=aa(ta),n=aa(ra);return i&&n?{authToken:i,orgSlug:n}:{authToken:e,orgSlug:t}}(u.authToken,u.orgSlug),{results:m,total:C,currentPage:b,isLoading:v,error:w,executeSearch:y}=ia({...u,authToken:g??"",orgSlug:f??"",pageSize:s}),[k,j]=r.useState(t),[M,L]=r.useState({}),[E,I]=r.useState(null),[N,A]=r.useState("asc"),[_,$]=r.useState(!1),R=async(e=1,t)=>{if(!k.trim())return;$(!0);const r=t?.sortKey??E??n?.field,o=null==t?E?N:n?.order??N:t.sortDirection,i=Object.entries(M).filter(([,e])=>""!==e).map(([e,t])=>({field:e,operator:"eq",value:t}));let l=a?.expression;i.length>0&&(l={g:"AND",e:l?[...i,l]:i});const c={searchTerm:k.trim(),sort:r??void 0,order:o,...a,...void 0!==l&&{expression:l}},h=await y(c,e);d&&d({...c,from:(e-1)*s,size:s},h)},T=e.jsxs("div",{className:"tdp-search__empty-state",children:[e.jsx("div",{className:"tdp-search__empty-state-icon",children:e.jsx(oe,{})}),e.jsx("div",{className:"tdp-search__empty-state-text",children:"No results found. Try adjusting your search query or filters."})]}),S={query:k,setQuery:j,onSearch:()=>{R(1)},isLoading:v,placeholder:l},z={filters:i,filterValues:M,onFilterChange:(e,t)=>{L(r=>({...r,[e]:t}))}},B={results:m,total:C,currentPage:b,pageSize:s,columns:o,onPageChange:e=>{R(e)},sortKey:E,sortDirection:N,onSort:(e,t)=>{I(e),A(t),R(1,{sortKey:e,sortDirection:t})}};return e.jsxs("div",{className:`tdp-search ${c||""}`,children:[h?h(S):e.jsx(ea,{...S}),i.length>0&&(p?p(z):e.jsx(Qn,{...z})),w&&e.jsxs(e.Fragment,{children:[e.jsx(tt,{error:w,onClose:()=>{}}),T]}),v&&e.jsx("div",{className:"tdp-search__loading-overlay",children:"Loading results..."}),!v&&!_&&e.jsxs("div",{className:"tdp-search__empty-state",children:[e.jsx("div",{className:"tdp-search__empty-state-icon",children:e.jsx(oe,{})}),e.jsx("div",{className:"tdp-search__empty-state-text",children:"Enter a search query and click Search to get started."})]}),!v&&!w&&_&&m.length>0&&(x?x(B):e.jsx(Jn,{...B})),!v&&!w&&_&&0===m.length&&T]})},exports.Textarea=({size:t="small",error:r=!1,disabled:o=!1,fullWidth:i=!1,rows:n,ref:a,...s})=>e.jsx(er,{$fullWidth:i,children:e.jsx(tr,{ref:a,size:t,$error:r,disabled:o,rows:n,...s})}),exports.ThemeProvider=({theme:o={},children:i})=>{const n=r.useMemo(()=>({colors:{...sa.colors,...o.colors},radius:{...sa.radius,...o.radius},spacing:{...sa.spacing,...o.spacing}}),[o]),a=r.useMemo(()=>{const e={};return n.colors&&Object.entries(n.colors).forEach(([t,r])=>{r&&(e[`--theme-${t}`]=r)}),n.radius&&Object.entries(n.radius).forEach(([t,r])=>{r&&(e[`--theme-radius-${t}`]=r)}),n.spacing&&Object.entries(n.spacing).forEach(([t,r])=>{r&&(e[`--theme-spacing-${t}`]=r)}),e},[n]);return e.jsx(t.ThemeProvider,{theme:n,children:e.jsx(la,{$themeStyles:a,children:i})})},exports.Toast=xr,exports.ToastManager=({position:t="top"})=>{const[o,i]=r.useState([]),[n,a]=r.useState(!1);return r.useEffect(()=>{a(!0);const e=(t=i,Mi.push(t),t(ji),()=>{Mi=Mi.filter(e=>e!==t)});var t;return()=>{e(),a(!1)}},[]),n?l.createPortal(e.jsx(yi,{position:t,children:o.map(r=>e.jsx(ki,{theme:{position:t},children:e.jsx(xr,{type:r.type,heading:r.heading,description:r.description})},r.id))}),document.body):null},exports.Toggle=Cr,exports.Tooltip=we,exports.buildTdpUrl=wr,exports.defaultTheme=sa,exports.getTdpBaseUrlFromReferrer=vr,exports.navigateToTdpUrl=yr,exports.tdpPaths=kr,exports.useSearch=ia,exports.useTdpNavigation=function(e={}){const{tdpBaseUrl:t}=e,o=r.useMemo(()=>t?t.replace(/\/$/u,""):vr(),[t]);return r.useMemo(()=>({tdpBaseUrl:o,getTdpUrl:e=>o?wr(o,e):null,navigateToTdp:(e,t)=>{if(!o)return void console.warn("[useTdpNavigation] Cannot navigate: TDP base URL not resolved");const r=wr(o,e);r&&yr(r,t)}}),[o])},exports.useTdpNavigationContext=Mr;
2001
2001
  //# sourceMappingURL=index.js.map