sodtrack-web-ui 0.98.1 → 0.98.2

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.
@@ -1,2 +1,2 @@
1
- import {c}from'./chunk-XPR5NR6A.js';import {a as a$2}from'./chunk-PBEZIMRZ.js';import {c as c$2}from'./chunk-WQPZV6HK.js';import {c as c$1}from'./chunk-55Z77FLU.js';import {a}from'./chunk-UZ3SBSKA.js';import {e,w}from'./chunk-QNQELNVU.js';import {a as a$1}from'./chunk-OBZIYJO7.js';import {FileUpload}from'@ark-ui/react';import {getDefaultOptions}from'date-fns';import {jsxs,jsx,Fragment}from'react/jsx-runtime';var I='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.8 9H9.2a.8.8 0 0 0-.8.8v5.6a.8.8 0 0 0 .8.8h5.6a.8.8 0 0 0 .8-.8V9.8a.8.8 0 0 0-.8-.8Z"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m15.6 13.8-2-2-4.4 4.4M10.6 11.8a.6.6 0 1 0 0-1.2.6.6 0 0 0 0 1.2Z"/></svg>';var j='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><g stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" clip-path="url(%23b)"><path d="M12 16.6a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z"/><path d="m11.2 11 2.4 1.6-2.4 1.6V11Z"/></g><defs><clipPath id="b"><path fill="%23fff" d="M7.2 7.8h9.6v9.6H7.2z"/></clipPath></defs></svg>';var z='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M9.6 16.2a1.2 1.2 0 1 0 0-2.4 1.2 1.2 0 0 0 0 2.4Z"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M10.8 15V9.8l4.8-.8v5.2"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.4 15.4a1.2 1.2 0 1 0 0-2.4 1.2 1.2 0 0 0 0 2.4Z"/></svg>';var L='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%2301A797" d="M15.045 13.178c-.599 0-1.348.105-1.594.141-1.014-1.06-1.303-1.662-1.368-1.822a7.115 7.115 0 0 0 .438-2.189c.021-.552-.096-.965-.347-1.226a.913.913 0 0 0-.643-.282c-.306 0-.818.155-.818 1.19 0 .899.418 1.852.534 2.098-.61 1.776-1.265 2.992-1.404 3.242C7.392 15.253 7.2 16.146 7.2 16.4c0 .454.324.725.866.725 1.317 0 2.52-2.211 2.718-2.595.936-.373 2.188-.604 2.506-.659.913.87 1.97 1.102 2.408 1.102.33 0 1.102 0 1.102-.794 0-.738-.945-1-1.755-1Zm-.064.522c.712 0 .9.235.9.36 0 .077-.03.332-.411.332-.342 0-.933-.197-1.513-.626.242-.032.6-.066 1.024-.066Zm-3.487-5.394c.065 0 .107.02.143.07.204.283.04 1.211-.162 1.937-.193-.623-.339-1.578-.134-1.914.04-.065.086-.093.153-.093Zm-.346 5.557c.258-.52.547-1.279.704-1.708.315.527.738 1.016.983 1.281-.763.16-1.34.321-1.687.427Zm-3.436 2.605c-.017-.02-.02-.063-.007-.113.027-.107.232-.636 1.714-1.3-.212.335-.544.813-.908 1.17-.257.24-.457.361-.594.361-.05 0-.117-.013-.205-.118Z"/></svg>';var P='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14 15H8.4M15.6 13.4H8.4M14 11.8H8.4M15.6 10.2H8.4"/></svg>';var N='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M8.4 12.6h7.2m-7.2 0V9.8a.8.8 0 0 1 .8-.8h5.6a.8.8 0 0 1 .8.8v2.8H8.4Zm0 0v2.8a.8.8 0 0 0 .8.8h5.6a.8.8 0 0 0 .8-.8v-2.8H8.4Z"/></svg>';var k='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><g clip-path="url(%23b)"><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16 15.4a.8.8 0 0 1-.8.8H8.8a.8.8 0 0 1-.8-.8V9.8a.8.8 0 0 1 .8-.8h2l.8 1.2h3.6a.8.8 0 0 1 .8.8v4.4Z"/></g><defs><clipPath id="b"><path fill="%23fff" d="M7.2 7.8h9.6v9.6H7.2z"/></clipPath></defs></svg>';var H='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/></svg>';var S='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h12.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.95 19.067c-.144 0-.282-.017-.413-.053a2.51 2.51 0 0 1-.37-.13v-.782c.113.08.213.148.303.202a.5.5 0 0 0 .26.082c.12 0 .218-.03.292-.092.077-.064.115-.166.115-.307v-2.189h.874v2.228c0 .198-.032.364-.096.499a.836.836 0 0 1-.245.321.873.873 0 0 1-.34.168 1.39 1.39 0 0 1-.38.053Zm2.584-1.08V19h-.869v-3.202h1.503c.377 0 .675.085.893.255.22.17.33.437.33.801 0 .362-.11.642-.33.84-.218.196-.516.293-.893.293h-.634Zm0-.662h.528c.061 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865Zm3.81 1.742a1.96 1.96 0 0 1-.825-.163 1.2 1.2 0 0 1-.557-.528c-.131-.246-.197-.571-.197-.974 0-.394.066-.714.197-.96.135-.25.32-.432.557-.548.237-.115.51-.172.82-.172.209 0 .41.02.605.062.199.042.39.1.572.173v.782a4.255 4.255 0 0 0-.552-.254 1.382 1.382 0 0 0-.51-.096c-.165 0-.31.03-.431.091a.58.58 0 0 0-.274.307c-.064.144-.096.347-.096.61 0 .256.034.459.101.61a.64.64 0 0 0 .269.311.81.81 0 0 0 .384.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662h1.349v1.516a2.84 2.84 0 0 1-.643.274 2.52 2.52 0 0 1-.672.091Z"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/></svg>';var R='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h15.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.023 19.067c-.144 0-.282-.017-.413-.053a2.51 2.51 0 0 1-.37-.13v-.782c.112.08.213.148.303.202a.5.5 0 0 0 .259.082c.121 0 .219-.03.293-.092.076-.064.115-.166.115-.307v-2.189h.873v2.228c0 .198-.032.364-.096.499a.836.836 0 0 1-.244.321.873.873 0 0 1-.341.168 1.39 1.39 0 0 1-.38.053Zm2.584-1.08V19h-.869v-3.202H7.24c.378 0 .676.085.893.255.221.17.331.437.331.801 0 .362-.11.642-.33.84-.218.196-.516.293-.894.293h-.633Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM8.977 19v-3.202h2.232v.663H9.851v.605h1.17v.662H9.847v.61h1.363V19H8.977Zm4.295.067a1.96 1.96 0 0 1-.826-.163 1.2 1.2 0 0 1-.557-.528c-.13-.246-.196-.571-.196-.974 0-.394.065-.714.196-.96.135-.25.32-.432.557-.548.237-.115.51-.172.82-.172.209 0 .41.02.606.062.198.042.389.1.57.173v.782a4.255 4.255 0 0 0-.551-.254 1.382 1.382 0 0 0-.509-.096c-.166 0-.31.03-.432.091a.58.58 0 0 0-.273.307c-.064.144-.096.347-.096.61 0 .256.033.459.1.61a.64.64 0 0 0 .27.311.81.81 0 0 0 .383.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662h1.349v1.516a2.84 2.84 0 0 1-.643.274 2.52 2.52 0 0 1-.672.091Z"/></svg>';var $='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.633 17.987V19h-.87v-3.202h1.503c.378 0 .675.085.893.255.22.17.331.437.331.801 0 .362-.11.642-.331.84-.218.196-.515.293-.893.293h-.633Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM7.003 19v-3.202h.72l1.574 2.088-.264.557v-2.645h.797V19h-.634l-1.584-2.035.183-.394V19h-.792Zm4.918.067a1.96 1.96 0 0 1-.826-.163 1.2 1.2 0 0 1-.556-.528c-.132-.246-.197-.571-.197-.974 0-.394.065-.714.197-.96.134-.25.32-.432.556-.548.237-.115.51-.172.821-.172.208 0 .41.02.605.062.198.042.389.1.571.173v.782a4.255 4.255 0 0 0-.552-.254 1.382 1.382 0 0 0-.509-.096c-.166 0-.31.03-.432.091a.58.58 0 0 0-.273.307c-.064.144-.096.347-.096.61 0 .256.033.459.1.61a.64.64 0 0 0 .27.311.81.81 0 0 0 .383.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662h1.35v1.516a2.84 2.84 0 0 1-.644.274 2.52 2.52 0 0 1-.672.091Z"/></svg>';var U='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h18.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="m4.37 19-.868-3.202h.95l.485 2.4h-.13l.687-2.4h.658l.69 2.43h-.138l.484-2.43h.956L7.274 19h-.858l-.663-2.194h.149L5.225 19h-.854Zm4.218 0v-3.202h2.232v.663H9.462v.605h1.17v.662H9.458v.61h1.363V19H8.588Zm2.855 0v-3.202h1.42c.225 0 .423.03.596.087a.82.82 0 0 1 .417.278c.106.128.159.304.159.528a.578.578 0 0 1-.116.365.88.88 0 0 1-.278.23 2.274 2.274 0 0 1-.297.13l-.101-.197c.195.007.363.043.504.11.14.065.25.156.326.274.08.115.12.255.12.418 0 .224-.056.41-.168.557a.972.972 0 0 1-.437.321c-.179.067-.376.101-.59.101h-1.555Zm.873-.662h.61a.475.475 0 0 0 .182-.034.27.27 0 0 0 .135-.11.373.373 0 0 0 .053-.207.32.32 0 0 0-.034-.153.248.248 0 0 0-.082-.106.323.323 0 0 0-.12-.058.575.575 0 0 0-.149-.019h-.595v.687Zm-.005-1.306h.586c.045 0 .085-.01.12-.029a.29.29 0 0 0 .096-.091.278.278 0 0 0 .039-.149c0-.112-.03-.19-.092-.235a.347.347 0 0 0-.21-.067h-.538v.571Zm3.263.955V19h-.869v-3.202h1.503c.377 0 .675.085.892.255.221.17.332.437.332.801 0 .362-.11.642-.332.84-.217.196-.515.293-.892.293h-.634Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865Z"/></svg>';var q='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h11.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.915 19.067a1.96 1.96 0 0 1-.825-.163 1.2 1.2 0 0 1-.557-.528c-.131-.246-.197-.571-.197-.974 0-.394.066-.714.197-.96.135-.25.32-.432.557-.548.237-.115.51-.172.82-.172.209 0 .41.02.606.062.198.042.388.1.57.173v.782a4.255 4.255 0 0 0-.551-.254 1.382 1.382 0 0 0-.51-.096c-.166 0-.31.03-.431.091a.58.58 0 0 0-.274.307c-.064.144-.096.347-.096.61 0 .256.034.459.101.61a.64.64 0 0 0 .269.311.81.81 0 0 0 .384.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662H6.23v1.516a2.84 2.84 0 0 1-.643.274 2.52 2.52 0 0 1-.673.091ZM6.883 19v-3.202h.874V19h-.874Zm1.528 0v-3.202h2.223v.663H9.28v.686h1.167v.667H9.28V19h-.869Z"/></svg>';var _='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%233749A2" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12 16.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m11.1 10.2 2.7 1.8-2.7 1.8v-3.6Z"/><path fill="%234B61D1" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.67 19v-3.202h.878l1.08 1.47-.456.009 1.114-1.479h.854V19h-.868v-2.563l.148.297-1.041 1.373-1.056-1.406.173-.106V19H3.67Zm4.994-1.013V19h-.869v-3.202h1.502c.378 0 .676.085.893.255.221.17.331.437.331.801 0 .362-.11.642-.33.84-.218.196-.516.293-.894.293h-.633Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM12.234 19v-.84h-1.34v-.59l1.417-1.772h.797v1.719h.398v.643h-.398V19h-.874Zm-.62-1.483h.62v-.773l-.62.773Z"/></svg>';var O='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%233749A2" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12 16.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m11.1 10.2 2.7 1.8-2.7 1.8v-3.6Z"/><path fill="%234B61D1" d="M.6 13.2h17.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.513 19v-3.202h.878l1.08 1.47-.456.009 1.114-1.479h.854V19h-.868v-2.563l.148.297-1.041 1.373-1.056-1.406.173-.106V19h-.826Zm4.994-1.013V19h-.869v-3.202H9.14c.378 0 .676.085.893.255.221.17.331.437.331.801 0 .362-.11.642-.33.84-.218.196-.516.293-.894.293h-.633Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM10.877 19v-3.202h2.232v.663h-1.358v.605h1.17v.662h-1.175v.61h1.363V19h-2.232Zm4.295.067a1.96 1.96 0 0 1-.826-.163 1.2 1.2 0 0 1-.557-.528c-.13-.246-.197-.571-.197-.974 0-.394.066-.714.197-.96.135-.25.32-.432.557-.548.237-.115.51-.172.82-.172.209 0 .41.02.606.062.198.042.388.1.57.173v.782a4.255 4.255 0 0 0-.551-.254 1.382 1.382 0 0 0-.509-.096c-.166 0-.31.03-.432.091a.58.58 0 0 0-.274.307c-.064.144-.096.347-.096.61 0 .256.034.459.101.61a.64.64 0 0 0 .27.311.81.81 0 0 0 .383.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662h1.349v1.516a2.84 2.84 0 0 1-.643.274 2.52 2.52 0 0 1-.672.091Z"/></svg>';var G='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%233749A2" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12 16.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m11.1 10.2 2.7 1.8-2.7 1.8v-3.6Z"/><path fill="%234B61D1" d="M.6 13.2h12.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="m3.552 19 1.195-3.202h.955L6.806 19h-.892L4.91 15.947l.447-.038L4.358 19h-.806Zm.706-.629.163-.619h1.43l.082.62H4.258Zm3.47.629-1.185-3.202H7.55l.864 2.684h-.279l.86-2.684h.926L8.659 19h-.93Zm2.576 0v-3.202h.873V19h-.873Z"/></svg>';var Y='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%233749A2" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12 16.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m11.1 10.2 2.7 1.8-2.7 1.8v-3.6Z"/><path fill="%234B61D1" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.351 19v-3.202h.879l1.08 1.47-.456.009 1.113-1.479h.855V19h-.869v-2.563l.149.297-1.042 1.373-1.056-1.406.173-.106V19h-.826Zm4.96-.95-.316-.504 1.219-1.748h1.094L8.312 18.05Zm-.835.95v-3.202h.874V19h-.874Zm1.565-2.02L10.4 19H9.32l-.95-1.469.671-.552ZM11.726 19l-1.186-3.202h1.008l.864 2.684h-.278l.86-2.684h.926L12.657 19h-.931Z"/></svg>';var W='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23593AD1" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.5 15.45a1.35 1.35 0 1 0 0-2.7 1.35 1.35 0 0 0 0 2.7Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M8.85 14.1V8.25l5.4-.9v5.85"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12.9 14.55a1.35 1.35 0 1 0 0-2.7 1.35 1.35 0 0 0 0 2.7Z"/><path fill="%238161FF" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.712 19v-3.202h.879l1.08 1.47-.456.009 1.113-1.479h.855V19h-.87v-2.563l.15.297-1.042 1.373-1.056-1.406.173-.106V19h-.826Zm4.994-1.013V19h-.869v-3.202H9.34c.377 0 .675.085.892.255.221.17.332.437.332.801 0 .362-.11.642-.332.84-.217.196-.515.293-.892.293h-.634Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865Zm3.335 1.713c-.173 0-.34-.025-.504-.076a3.162 3.162 0 0 1-.451-.183v-.725c.15.09.3.17.446.24.15.07.31.106.476.106a.753.753 0 0 0 .388-.086.279.279 0 0 0 .144-.255.36.36 0 0 0-.115-.278c-.077-.074-.22-.11-.432-.11h-.5v-.634h.51c.137 0 .236-.03.297-.091a.283.283 0 0 0 .096-.212c0-.086-.022-.152-.067-.196a.381.381 0 0 0-.178-.096.91.91 0 0 0-.23-.03c-.105 0-.216.014-.331.04a1.926 1.926 0 0 0-.442.162v-.643c.122-.064.256-.115.404-.153a1.651 1.651 0 0 1 .854-.015c.137.029.262.079.374.149a.761.761 0 0 1 .326.917.694.694 0 0 1-.278.326.442.442 0 0 1-.163.067c.08.023.157.06.23.11.074.049.14.108.197.178a.81.81 0 0 1 .197.552c0 .18-.037.33-.11.452a.828.828 0 0 1-.293.283c-.122.07-.256.121-.403.153a2.03 2.03 0 0 1-.442.048Z"/></svg>';var K='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 5.7h-4.5a1.2 1.2 0 0 1-1.2-1.2h5.7v1.2Zm-4.5 0a1.2 1.2 0 0 1-1.2-1.2V.6h1.2v5.7ZM20.1.6v5.1V.6Z" mask="url(%23a)"/><path fill="%23593AD1" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.5 15.45a1.35 1.35 0 1 0 0-2.7 1.35 1.35 0 0 0 0 2.7Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M8.85 14.1V8.25l5.4-.9v5.85"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12.9 14.55a1.35 1.35 0 1 0 0-2.7 1.35 1.35 0 0 0 0 2.7Z"/><path fill="%238161FF" d="M.6 13.2h15.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="m4.488 19-.869-3.202h.95l.485 2.4h-.13l.687-2.4h.658l.691 2.43h-.14l.486-2.43h.955L7.392 19h-.86l-.662-2.194h.15L5.341 19h-.854Zm3.588 0 1.195-3.202h.955L11.33 19h-.893l-1.003-3.053.446-.038L8.882 19h-.806Zm.705-.629.163-.619h1.43l.082.62H8.781Zm3.47.629-1.185-3.202h1.008l.864 2.684h-.278l.859-2.684h.926L13.183 19h-.931Z"/></svg>';var J='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23730D0D" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.25 14.7h-6.3M16.05 12.9h-8.1M14.25 11.1h-6.3M16.05 9.3h-8.1"/><path fill="%23BB3939" d="M.6 13.2h13.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.463 17.987V19h-.869v-3.202h1.503c.377 0 .675.085.892.255.221.17.332.437.332.801 0 .362-.11.642-.332.84-.217.196-.515.293-.892.293h-.634Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM6.833 19v-3.202h1.344c.554 0 .959.136 1.215.408.259.272.389.67.389 1.196 0 .521-.13.918-.39 1.19-.255.272-.66.408-1.214.408H6.833Zm.87-.662h.369c.265 0 .467-.074.605-.221.14-.15.21-.389.21-.715 0-.33-.07-.568-.21-.716-.138-.15-.34-.225-.605-.225h-.37v1.877Zm2.59.662v-3.202h2.222v.663h-1.354v.686h1.167v.667h-1.166V19h-.87Z"/></svg>';var X='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23074856" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.25 14.7h-6.3M16.05 12.9h-8.1M14.25 11.1h-6.3M16.05 9.3h-8.1"/><path fill="%232D9AB2" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.806 19v-3.202H5.15c.554 0 .958.136 1.214.408.26.272.39.67.39 1.196 0 .521-.13.918-.39 1.19-.256.272-.66.408-1.214.408H3.806Zm.869-.662h.37c.265 0 .467-.074.604-.221.141-.15.211-.389.211-.715 0-.33-.07-.568-.21-.716-.138-.15-.34-.225-.606-.225h-.37v1.877Zm4.04.73c-.317 0-.595-.06-.835-.178a1.276 1.276 0 0 1-.557-.548c-.131-.246-.197-.56-.197-.94 0-.55.14-.967.418-1.248.281-.282.672-.423 1.17-.423.318 0 .595.06.831.178.24.118.426.3.557.547.134.243.202.557.202.94 0 .551-.14.967-.418 1.249-.278.281-.669.422-1.171.422Zm0-.702c.144 0 .267-.03.37-.09a.576.576 0 0 0 .235-.303c.057-.144.086-.338.086-.581 0-.24-.029-.43-.086-.571a.552.552 0 0 0-.235-.298.711.711 0 0 0-.37-.091.683.683 0 0 0-.37.096.6.6 0 0 0-.24.302c-.054.141-.081.333-.081.576 0 .24.027.43.081.572a.6.6 0 0 0 .24.297c.103.061.226.091.37.091Zm3.539.701c-.519 0-.915-.134-1.19-.403-.273-.269-.409-.69-.409-1.262 0-.554.13-.972.39-1.253.261-.285.665-.427 1.209-.427.17 0 .34.02.513.062.176.042.348.1.514.173v.749a1.94 1.94 0 0 0-.49-.245 1.334 1.334 0 0 0-.417-.077.938.938 0 0 0-.442.096.619.619 0 0 0-.283.312c-.064.147-.096.352-.096.614 0 .253.033.453.1.6a.613.613 0 0 0 .289.312c.128.058.284.087.47.087.109 0 .237-.024.384-.072.15-.048.312-.128.485-.24v.749a1.759 1.759 0 0 1-.307.12 3.057 3.057 0 0 1-.365.076 2.34 2.34 0 0 1-.355.03Z"/></svg>';var Q='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23074856" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.25 14.7h-6.3M16.05 12.9h-8.1M14.25 11.1h-6.3M16.05 9.3h-8.1"/><path fill="%232D9AB2" d="M.6 13.2h17.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.628 19v-3.202h1.344c.553 0 .958.136 1.214.408.26.272.389.67.389 1.196 0 .521-.13.918-.389 1.19-.256.272-.66.408-1.214.408H3.628Zm.869-.662h.37c.265 0 .466-.074.604-.221.14-.15.211-.389.211-.715 0-.33-.07-.568-.211-.716-.138-.15-.34-.225-.605-.225h-.37v1.877Zm4.04.73c-.317 0-.595-.06-.835-.178a1.276 1.276 0 0 1-.557-.548c-.131-.246-.197-.56-.197-.94 0-.55.14-.967.418-1.248.281-.282.672-.423 1.17-.423.318 0 .594.06.831.178.24.118.426.3.557.547.134.243.202.557.202.94 0 .551-.14.967-.418 1.249-.278.281-.669.422-1.171.422Zm0-.702c.144 0 .267-.03.37-.09a.576.576 0 0 0 .235-.303c.057-.144.086-.338.086-.581 0-.24-.029-.43-.086-.571a.552.552 0 0 0-.236-.298.711.711 0 0 0-.37-.091.683.683 0 0 0-.369.096.6.6 0 0 0-.24.302c-.054.141-.081.333-.081.576 0 .24.027.43.081.572a.6.6 0 0 0 .24.297c.103.061.226.091.37.091Zm3.538.701c-.518 0-.915-.134-1.19-.403-.272-.269-.408-.69-.408-1.262 0-.554.13-.972.389-1.253.262-.285.665-.427 1.21-.427.17 0 .34.02.513.062.176.042.347.1.514.173v.749a1.94 1.94 0 0 0-.49-.245 1.334 1.334 0 0 0-.418-.077.938.938 0 0 0-.441.096.619.619 0 0 0-.283.312c-.064.147-.096.352-.096.614 0 .253.033.453.1.6a.613.613 0 0 0 .289.312c.128.058.284.087.47.087.109 0 .237-.024.384-.072.15-.048.312-.128.485-.24v.749a1.759 1.759 0 0 1-.307.12 3.057 3.057 0 0 1-.365.076 2.34 2.34 0 0 1-.355.03Zm4.57-.067H15.56l-2.165-3.202h1.085L16.645 19Zm-1.633-2.05.649-1.152h.945l-1.147 1.79-.447-.638Zm.125.735L14.38 19h-.936l1.262-1.92.432.605Z"/></svg>';var e1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23124E46" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.25 14.7h-6.3M16.05 12.9h-8.1M14.25 11.1h-6.3M16.05 9.3h-8.1"/><path fill="%2301756A" d="M.6 13.2h12.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.974 19v-2.54H3.12v-.662h2.587v.663h-.869V19h-.864Zm5.15 0H8.04l-2.164-3.202h1.084L9.124 19Zm-1.632-2.05.648-1.152h.946l-1.147 1.79-.447-.638Zm.125.735L6.86 19h-.936l1.262-1.92.432.605ZM10.147 19v-2.54h-.854v-.662h2.588v.663h-.87V19h-.863Z"/></svg>';var a1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23793304" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path fill="%23E1E7E6" d="M15.1 8.9H8.3v4.25a.425.425 0 0 0 .425.425h5.95a.425.425 0 0 0 .425-.425V8.9Zm.85 4.25a1.275 1.275 0 0 1-1.275 1.275h-1.949l1.4 1.4a.425.425 0 1 1-.601.6L11.7 14.601l-1.824 1.824a.425.425 0 1 1-.601-.6l1.399-1.4H8.725A1.275 1.275 0 0 1 7.45 13.15V8.9a.425.425 0 0 1 0-.85h8.5a.425.425 0 0 1 0 .85v4.25Z"/></g><path fill="%23C66727" d="M.6 13.2h13.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.547 17.987V19H3.68v-3.202H5.18c.378 0 .675.085.893.255.22.17.331.437.331.801 0 .362-.11.642-.331.84-.218.196-.515.293-.893.293h-.634Zm0-.662h.528c.061 0 .116-.008.164-.024a.314.314 0 0 0 .124-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.124-.09.436.436 0 0 0-.164-.03h-.528v.865Zm3.24.662V19h-.87v-3.202H8.42c.378 0 .675.085.893.255.22.17.331.437.331.801 0 .362-.11.642-.331.84-.218.196-.515.293-.893.293h-.634Zm0-.662h.527c.061 0 .116-.008.164-.024a.314.314 0 0 0 .124-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.124-.09.436.436 0 0 0-.164-.03h-.528v.865ZM10.8 19v-2.54h-.854v-.662h2.587v.663h-.87V19H10.8Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 7.2h10.2v10.2H6.6z"/></clipPath></defs></svg>';var t1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23793304" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path fill="%23E1E7E6" d="M15.1 8.9H8.3v4.25a.425.425 0 0 0 .425.425h5.95a.425.425 0 0 0 .425-.425V8.9Zm.85 4.25a1.275 1.275 0 0 1-1.275 1.275h-1.949l1.4 1.4a.425.425 0 1 1-.601.6L11.7 14.601l-1.824 1.824a.425.425 0 1 1-.601-.6l1.399-1.4H8.725A1.275 1.275 0 0 1 7.45 13.15V8.9a.425.425 0 0 1 0-.85h8.5a.425.425 0 0 1 0 .85v4.25Z"/></g><path fill="%23C66727" d="M.6 13.2h16.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.37 17.987V19H3.5v-3.202h1.503c.377 0 .675.085.893.255.22.17.33.437.33.801 0 .362-.11.642-.33.84-.218.196-.516.293-.893.293h-.634Zm0-.662h.527c.061 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.124-.09.436.436 0 0 0-.164-.03H4.37v.865Zm3.238.662V19H6.74v-3.202h1.502c.378 0 .675.085.893.255.22.17.331.437.331.801 0 .362-.11.642-.331.84-.218.196-.515.293-.893.293h-.634Zm0-.662h.528c.061 0 .116-.008.164-.024a.314.314 0 0 0 .124-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.124-.09.436.436 0 0 0-.164-.03h-.528v.865ZM10.622 19v-2.54h-.855v-.662h2.588v.663h-.87V19h-.863Zm5.15 0h-1.085l-2.165-3.202h1.085L15.772 19Zm-1.632-2.05.648-1.152h.945l-1.147 1.79-.446-.638Zm.125.735L13.506 19h-.936l1.263-1.92.432.605Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 7.2h10.2v10.2H6.6z"/></clipPath></defs></svg>';var l1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%232B8B51" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.95 11.4h8.1m-8.1 0V8.25a.9.9 0 0 1 .9-.9h6.3a.9.9 0 0 1 .9.9v3.15h-8.1Zm0 0v3.15a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9V11.4h-8.1Z"/></g><path fill="%2331A15E" d="M.6 13.2h13.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M5.107 19.067c-.519 0-.915-.134-1.19-.403-.273-.269-.409-.69-.409-1.262 0-.554.13-.972.39-1.253.262-.285.665-.427 1.209-.427.17 0 .34.02.513.062.176.042.348.1.514.173v.749a1.94 1.94 0 0 0-.49-.245 1.334 1.334 0 0 0-.417-.077.938.938 0 0 0-.442.096.619.619 0 0 0-.283.312c-.064.147-.096.352-.096.614 0 .253.034.453.1.6a.613.613 0 0 0 .289.312c.128.058.285.087.47.087.109 0 .237-.024.384-.072.15-.048.312-.128.485-.24v.749a1.759 1.759 0 0 1-.307.12 3.057 3.057 0 0 1-.365.076 2.34 2.34 0 0 1-.355.03Zm2.702 0c-.16 0-.31-.006-.447-.019a2.674 2.674 0 0 1-.384-.062 1.96 1.96 0 0 1-.331-.125v-.816c.16.125.334.217.523.278.189.058.36.087.514.087.121 0 .219-.023.293-.068.073-.044.11-.121.11-.23 0-.074-.037-.133-.11-.178a1.019 1.019 0 0 0-.288-.124 29.641 29.641 0 0 1-.404-.135 2.128 2.128 0 0 1-.264-.115.963.963 0 0 1-.225-.168.768.768 0 0 1-.163-.25.93.93 0 0 1-.063-.36c0-.14.026-.275.077-.403a1.002 1.002 0 0 1 .643-.571c.163-.058.354-.086.571-.086.132 0 .25.008.356.024.105.012.204.035.297.067a2.2 2.2 0 0 1 .288.12v.825a1.89 1.89 0 0 0-.542-.312 1.06 1.06 0 0 0-.307-.067.872.872 0 0 0-.245.024.38.38 0 0 0-.183.091.246.246 0 0 0-.067.183c0 .08.026.144.077.192a.71.71 0 0 0 .22.115c.097.029.202.06.318.091.134.039.256.082.364.13.112.048.208.107.288.177a.73.73 0 0 1 .188.26c.044.099.067.22.067.364 0 .205-.048.388-.144.548-.096.16-.232.286-.408.379a1.33 1.33 0 0 1-.62.134ZM10.406 19 9.22 15.798h1.008l.864 2.684h-.278l.859-2.684h.926L11.337 19h-.931Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 16.8V6h10.8v10.8z"/></clipPath></defs></svg>';var i1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%232B8B51" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.95 11.4h8.1m-8.1 0V8.25a.9.9 0 0 1 .9-.9h6.3a.9.9 0 0 1 .9.9v3.15h-8.1Zm0 0v3.15a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9V11.4h-8.1Z"/></g><path fill="%2331A15E" d="M.6 13.2h12.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M6.384 19H5.3l-2.165-3.202H4.22L6.384 19Zm-1.632-2.05.648-1.152h.946l-1.147 1.79-.447-.638Zm.125.735L4.12 19h-.936l1.262-1.92.432.605ZM6.765 19v-3.202h.873v2.535h1.335V19H6.765Zm3.799.067c-.16 0-.309-.006-.446-.019a2.674 2.674 0 0 1-.384-.062 1.96 1.96 0 0 1-.332-.125v-.816c.16.125.335.217.524.278.188.058.36.087.513.087.122 0 .22-.023.293-.068.074-.044.11-.121.11-.23 0-.074-.036-.133-.11-.178a1.019 1.019 0 0 0-.288-.124 29.641 29.641 0 0 1-.403-.135 2.127 2.127 0 0 1-.264-.115.963.963 0 0 1-.226-.168.768.768 0 0 1-.163-.25.93.93 0 0 1-.062-.36c0-.14.025-.275.076-.403a1.002 1.002 0 0 1 .644-.571c.163-.058.353-.086.57-.086.132 0 .25.008.356.024.106.012.205.035.298.067a2.2 2.2 0 0 1 .288.12v.825a1.89 1.89 0 0 0-.542-.312 1.06 1.06 0 0 0-.308-.067.872.872 0 0 0-.245.024.38.38 0 0 0-.182.091.246.246 0 0 0-.067.183c0 .08.025.144.076.192a.71.71 0 0 0 .221.115c.096.029.202.06.317.091.134.039.256.082.365.13.112.048.208.107.288.177a.73.73 0 0 1 .187.26c.045.099.067.22.067.364 0 .205-.048.388-.144.548-.096.16-.232.286-.408.379a1.33 1.33 0 0 1-.619.134Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 16.8V6h10.8v10.8z"/></clipPath></defs></svg>';var h1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%232B8B51" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.95 11.4h8.1m-8.1 0V8.25a.9.9 0 0 1 .9-.9h6.3a.9.9 0 0 1 .9.9v3.15h-8.1Zm0 0v3.15a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9V11.4h-8.1Z"/></g><path fill="%2331A15E" d="M.6 13.2h15.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M6.232 19h-.965l-2.184-3.202h.965L6.232 19Zm-1.589-2.016.696-1.186h.86L5.045 17.56l-.403-.576Zm.13.677L3.962 19h-.84l1.243-1.872.408.533ZM6.624 19v-3.202h.778v2.592h1.392V19h-2.17Zm3.738.067c-.163 0-.31-.008-.442-.024a2.375 2.375 0 0 1-.364-.072 2.017 2.017 0 0 1-.327-.125v-.739c.147.119.314.208.5.269.185.06.361.091.527.091.148 0 .26-.027.336-.081.08-.058.12-.144.12-.26a.24.24 0 0 0-.11-.206.934.934 0 0 0-.283-.14c-.119-.04-.251-.087-.399-.138a1.812 1.812 0 0 1-.273-.11.784.784 0 0 1-.408-.422.944.944 0 0 1-.063-.366c0-.131.024-.258.072-.38a.923.923 0 0 1 .221-.326c.103-.096.232-.17.389-.225a1.6 1.6 0 0 1 .552-.087c.131 0 .246.008.346.024.102.016.2.04.292.072.093.03.188.068.284.116v.748a1.617 1.617 0 0 0-.25-.168 1.53 1.53 0 0 0-.283-.134 1.016 1.016 0 0 0-.576-.029.376.376 0 0 0-.187.11.263.263 0 0 0-.068.188c0 .09.028.16.082.211.054.051.13.094.226.13l.321.105c.131.039.251.082.36.13.112.045.21.102.293.173.083.07.147.156.192.259a.919.919 0 0 1 .067.37c0 .191-.045.367-.134.527a.975.975 0 0 1-.389.375c-.17.09-.378.134-.624.134Zm4.56-.067h-.964l-2.184-3.202h.965L14.923 19Zm-1.588-2.016.696-1.186h.86l-1.153 1.762-.403-.576Zm.13.677L12.652 19h-.84l1.244-1.872.408.533Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 16.8V6h10.8v10.8z"/></clipPath></defs></svg>';var G1=["image","video","audio","pdf","text","spreadsheet","all"],M5=["extended","compact"],Y1={image:I,video:j,audio:z,pdf:L,text:P,spreadsheet:N,all:k},u={jpg:{fileType:"image",mimeType:"image/jpeg",badge:S},jpeg:{fileType:"image",mimeType:"image/jpeg",badge:R},png:{fileType:"image",mimeType:"image/png",badge:$},webp:{fileType:"image",mimeType:"image/webp",badge:U},gif:{fileType:"image",mimeType:"image/gif",badge:q},mp4:{fileType:"video",mimeType:"video/mp4",badge:_},mpeg:{fileType:"video",mimeType:"video/mpeg",badge:O},avi:{fileType:"video",mimeType:"video/x-msvideo",badge:G},mkv:{fileType:"video",mimeType:"video/x-matroska",badge:Y},mp3:{fileType:"audio",mimeType:"audio/mpeg",badge:W},wav:{fileType:"audio",mimeType:"audio/wav",badge:K},pdf:{fileType:"pdf",mimeType:"application/pdf",badge:J},doc:{fileType:"text",mimeType:"application/msword",badge:X},docx:{fileType:"text",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",badge:Q},txt:{fileType:"text",mimeType:"text/plain",badge:e1},ppt:{fileType:"text",mimeType:"application/vnd.ms-powerpoint",badge:a1},pptx:{fileType:"text",mimeType:"application/vnd.openxmlformats-officedocument.presentationml.presentation",badge:t1},csv:{fileType:"spreadsheet",mimeType:"text/csv",badge:l1},xls:{fileType:"spreadsheet",mimeType:"application/vnd.ms-excel",badge:i1},xlsx:{fileType:"spreadsheet",mimeType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",badge:h1}},o1=G1.reduce((a,e)=>{let l=Object.values(u).filter(o=>o.fileType===e).map(o=>o.mimeType);return a[e]={mimeTypes:Array.from(new Set(l)),icon:Y1[e]},a},{}),W1=a=>a in u,K1=a=>[...a].sort((o,w)=>o.extension.localeCompare(w.extension))[0]?.badge||H,J1=Object.entries(u).reduce((a,[e,l])=>{let o=l.mimeType.toLowerCase();return a[o]=[...a[o]||[],{extension:e.toLowerCase(),badge:l.badge}],a},{}),X1=Object.entries(J1).reduce((a,[e,l])=>(a[e]=K1(l),a),{}),Q1=a=>{let e=a.lastIndexOf(".");return e<=0||e===a.length-1?"":a.slice(e+1).toLowerCase()},e0=a=>{let e=Q1(a.name),l=W1(e)?u[e].badge:"",o=a.type?X1[a.type.toLowerCase()]:"";return {extension:e,badgeIcon:l||o||H}},a0=a=>a?.startsWith("es")?{loading:"Cargando..",dragText:"Arrastra tus archivos hasta aqu\xED",selectText:"O selecciona desde tu dispositivo",selectButton:"Seleccionar",maxFilesTitle:"L\xEDmite de archivos alcanzado",maxFilesDescription:"Has alcanzado el m\xE1ximo permitido. Elimina un archivo para continuar cargando",maxImagesTitle:"L\xEDmite de im\xE1genes alcanzado",maxImagesDescription:"Has alcanzado el m\xE1ximo permitido. Elimina una imagen para continuar cargando",maxFilesAllowed:e=>`M\xE1ximo permitido: ${e} ${e===1?"archivo":"archivos"}`,maxImagesAllowed:e=>`M\xE1ximo permitido: ${e} ${e===1?"imagen":"im\xE1genes"}`,dragSpreadsheetText:e=>e===1?"Arrastra tu hoja de c\xE1lculo hasta aqu\xED":"Arrastra tus hojas de c\xE1lculo hasta aqu\xED",dragImageText:e=>e===1?"Arrastra tu imagen hasta aqu\xED":"Arrastra tus im\xE1genes hasta aqu\xED"}:a?.startsWith("pt")?{loading:"Carregando..",dragText:"Arraste seus arquivos at\xE9 aqui",selectText:"Ou selecione do seu dispositivo",selectButton:"Selecionar",maxFilesTitle:"Limite de arquivos atingido",maxFilesDescription:"Voc\xEA atingiu o m\xE1ximo permitido. Exclua um arquivo para continuar carregando",maxImagesTitle:"Limite de imagens atingido",maxImagesDescription:"Voc\xEA atingiu o m\xE1ximo permitido. Exclua uma imagem para continuar carregando",maxFilesAllowed:e=>`M\xE1ximo permitido: ${e} ${e===1?"arquivo":"arquivos"}`,maxImagesAllowed:e=>`M\xE1ximo permitido: ${e} ${e===1?"imagem":"imagens"}`,dragSpreadsheetText:e=>e===1?"Arraste sua planilha at\xE9 aqui":"Arraste suas planilhas at\xE9 aqui",dragImageText:e=>e===1?"Arraste sua imagem at\xE9 aqui":"Arraste suas imagens at\xE9 aqui"}:{loading:"Loading..",dragText:"Drag your files here",selectText:"Or select from your device",selectButton:"Select",maxFilesTitle:"File limit reached",maxFilesDescription:"You have reached the maximum allowed. Delete a file to continue uploading",maxImagesTitle:"Maximum images reached",maxImagesDescription:"You have reached the maximum allowed. Delete an image to continue uploading",maxFilesAllowed:e=>`Maximum allowed: ${e} ${e===1?"file":"files"}`,maxImagesAllowed:e=>`Maximum allowed: ${e} ${e===1?"image":"images"}`,dragSpreadsheetText:e=>e===1?"Drag your spreadsheet here":"Drag your spreadsheets here",dragImageText:e=>e===1?"Drag your image here":"Drag your images here"},t0=a=>Array.isArray(a)?a:[a],D=a=>a.length===1?a[0]:null,l0=(a,e)=>D(a)===e,i0=a=>a.flatMap(e=>o1[e]?.mimeTypes||[]),h0=a=>{let e=D(a);return e?o1[e]?.icon||k:k},o0=(a,e,l)=>{let o=D(a);return o==="image"?e.dragImageText(l):o==="spreadsheet"?e.dragSpreadsheetText(l):e.dragText},V5=({acceptedFileTypes:a$3,acceptedFiles:e$1,maxFiles:l=5,maxFileSize:o=15728640,minFileSize:w$1,isLoading:f=false,isDisabled:r1=false,hasError:m=false,label:T,size:p="compact",tooltip:s1,required:d1=false,onFileAccept:n1,onFileReject:m1,onFileChange:p1,className:f1})=>{let v1=Array.isArray(a$3)&&a$3.length===0,Z=t0(a$3),c$3=l0(Z,"image"),b=i0(Z),c1=h0(Z),{locale:g1}=getDefaultOptions(),s=a0(g1?.code),Z1=o0(Z,s,l);return jsxs(FileUpload.Root,{acceptedFiles:e$1,maxFiles:l,maxFileSize:o,minFileSize:w$1,disabled:r1||f,accept:b.length>0?b.join(", "):void 0,validate:v1?()=>["FILE_INVALID_TYPE"]:void 0,onFileAccept:n1,onFileReject:m1,onFileChange:p1,className:f1,children:[T&&jsx(a,{as:FileUpload.Label,label:T,tooltip:s1,required:d1}),jsx(FileUpload.Context,{children:({dragging:v,disabled:r,acceptedFiles:g})=>{let M=g.length>=l,h=r||M;return jsxs(Fragment,{children:[jsxs(FileUpload.Dropzone,{disableClick:h,className:a$1("flex w-full items-center justify-center rounded-lg border border-dashed transition-colors",{"h-52 flex-col px-10":p==="extended","items-center px-4 py-4":p==="compact","border-neutral-500 bg-neutral-100":f,"border-danger-300 bg-danger-50 border-2":!f&&m,"bg-primary-100 ring-primary-400 border-transparent ring-2 ring-inset":!f&&!m&&v&&!h,"cursor-not-allowed border border-neutral-600 bg-neutral-100":!f&&!m&&!v&&h,"pointer-events-none":h,"hover:border-primary-400 hover:bg-primary-50 border-neutral-600 bg-neutral-100":!f&&!m&&!v&&!h}),children:[f&&jsxs("div",{className:a$1("flex items-center gap-3",{"flex-col":p==="extended"}),children:[jsx(c,{size:"lg"}),jsx("span",{className:"text-sm leading-[143%] font-medium text-neutral-800",children:s.loading})]}),!f&&jsxs(Fragment,{children:[jsx("div",{className:a$1("shrink-0 rounded-full p-2 ring ring-inset",{"bg-neutral-200 ring-neutral-300":h,"bg-primary-100 ring-primary-200":!h,"bg-danger-100 ring-danger-200":m}),children:m?jsx(e,{className:"text-danger-600 size-5.5"}):jsx("img",{src:c1,alt:"file type",className:a$1("size-6",h&&"grayscale")})}),jsxs("div",{className:a$1("flex flex-col gap-0.5",{"mt-3":p==="extended","ml-3":p==="compact"}),children:[jsx("span",{className:a$1("font-inter text-sm leading-[143%] font-semibold",{"text-neutral-500":h,"text-neutral-800":!h,"text-neutral-900":m,"text-center":p==="extended"}),children:Z1}),jsx("span",{className:a$1("font-inter text-xs leading-[133%]",{"text-neutral-500":h,"text-neutral-700":!h,"text-neutral-900":m,"text-center":p==="extended"}),children:s.selectText})]}),jsx(c$1,{variant:m?"outlined":"secondary",className:a$1({"mx-auto mt-4":p==="extended","ml-auto":p==="compact"}),size:"sm",disabled:h,children:s.selectButton})]})]}),l>0&&Number.isFinite(l)&&jsx("p",{className:"text-2xs mt-2 leading-[133%] font-medium text-neutral-600",children:c$3?s.maxImagesAllowed(l):s.maxFilesAllowed(l)})]})}}),jsx(FileUpload.Context,{children:({acceptedFiles:v})=>v.length<l?null:jsx(a$2,{hasCloseButton:false,variant:"warning",title:c$3?s.maxImagesTitle:s.maxFilesTitle,description:c$3?s.maxImagesDescription:s.maxFilesDescription,className:"mt-3"})}),jsx(FileUpload.ItemGroup,{className:a$1("mt-3 flex empty:hidden",{"flex-wrap gap-3":c$3,"flex-col gap-3":!c$3}),children:jsx(FileUpload.Context,{children:({acceptedFiles:v})=>jsxs(Fragment,{children:[!c$3&&v.map((r,g)=>{let{badgeIcon:M,extension:h}=e0(r);return jsxs(FileUpload.Item,{file:r,className:"flex h-13 shrink-0 items-center rounded-md bg-neutral-50 pr-2 pl-4 ring ring-neutral-300 ring-inset",children:[jsx(FileUpload.ItemPreview,{type:".*",children:jsx("img",{src:M,alt:h?`${h} file`:"unknown file",className:"size-6"})}),jsxs("div",{className:"mr-6 ml-2 flex flex-col gap-0.5",children:[jsx(FileUpload.ItemName,{className:"font-inter line-clamp-1 text-xs leading-[133%] font-medium text-neutral-900"}),jsx(FileUpload.ItemSizeText,{className:"text-2xs font-inter leading-[133%] text-neutral-700"})]}),jsx(FileUpload.ItemDeleteTrigger,{asChild:true,className:"ml-auto",children:jsx(c$2,{Icon:w,variant:"standard",size:"sm"})})]},`${r.name}-${r.size}-${r.lastModified}-${g}`)}),c$3&&v.map((r,g)=>jsx(FileUpload.Item,{file:r,className:"aspect-square size-16",children:jsxs(FileUpload.ItemPreview,{type:"image",className:"relative h-full w-full",children:[jsx(FileUpload.ItemPreviewImage,{className:"h-full w-full rounded-lg object-cover"}),jsx(FileUpload.ItemDeleteTrigger,{asChild:true,className:"absolute -top-1 -right-1",children:jsx(c$2,{Icon:w,variant:"white",size:"sm"})})]})},`${r.name}-${r.size}-${r.lastModified}-${g}`))]})})}),jsx(FileUpload.HiddenInput,{})]})};
1
+ import {c}from'./chunk-XPR5NR6A.js';import {a}from'./chunk-UZ3SBSKA.js';import {a as a$2}from'./chunk-PBEZIMRZ.js';import {c as c$2}from'./chunk-WQPZV6HK.js';import {c as c$1}from'./chunk-55Z77FLU.js';import {e,w}from'./chunk-QNQELNVU.js';import {a as a$1}from'./chunk-OBZIYJO7.js';import {FileUpload}from'@ark-ui/react';import {getDefaultOptions}from'date-fns';import {jsxs,jsx,Fragment}from'react/jsx-runtime';var I='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.8 9H9.2a.8.8 0 0 0-.8.8v5.6a.8.8 0 0 0 .8.8h5.6a.8.8 0 0 0 .8-.8V9.8a.8.8 0 0 0-.8-.8Z"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m15.6 13.8-2-2-4.4 4.4M10.6 11.8a.6.6 0 1 0 0-1.2.6.6 0 0 0 0 1.2Z"/></svg>';var j='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><g stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" clip-path="url(%23b)"><path d="M12 16.6a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z"/><path d="m11.2 11 2.4 1.6-2.4 1.6V11Z"/></g><defs><clipPath id="b"><path fill="%23fff" d="M7.2 7.8h9.6v9.6H7.2z"/></clipPath></defs></svg>';var z='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M9.6 16.2a1.2 1.2 0 1 0 0-2.4 1.2 1.2 0 0 0 0 2.4Z"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M10.8 15V9.8l4.8-.8v5.2"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.4 15.4a1.2 1.2 0 1 0 0-2.4 1.2 1.2 0 0 0 0 2.4Z"/></svg>';var L='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%2301A797" d="M15.045 13.178c-.599 0-1.348.105-1.594.141-1.014-1.06-1.303-1.662-1.368-1.822a7.115 7.115 0 0 0 .438-2.189c.021-.552-.096-.965-.347-1.226a.913.913 0 0 0-.643-.282c-.306 0-.818.155-.818 1.19 0 .899.418 1.852.534 2.098-.61 1.776-1.265 2.992-1.404 3.242C7.392 15.253 7.2 16.146 7.2 16.4c0 .454.324.725.866.725 1.317 0 2.52-2.211 2.718-2.595.936-.373 2.188-.604 2.506-.659.913.87 1.97 1.102 2.408 1.102.33 0 1.102 0 1.102-.794 0-.738-.945-1-1.755-1Zm-.064.522c.712 0 .9.235.9.36 0 .077-.03.332-.411.332-.342 0-.933-.197-1.513-.626.242-.032.6-.066 1.024-.066Zm-3.487-5.394c.065 0 .107.02.143.07.204.283.04 1.211-.162 1.937-.193-.623-.339-1.578-.134-1.914.04-.065.086-.093.153-.093Zm-.346 5.557c.258-.52.547-1.279.704-1.708.315.527.738 1.016.983 1.281-.763.16-1.34.321-1.687.427Zm-3.436 2.605c-.017-.02-.02-.063-.007-.113.027-.107.232-.636 1.714-1.3-.212.335-.544.813-.908 1.17-.257.24-.457.361-.594.361-.05 0-.117-.013-.205-.118Z"/></svg>';var P='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14 15H8.4M15.6 13.4H8.4M14 11.8H8.4M15.6 10.2H8.4"/></svg>';var N='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M8.4 12.6h7.2m-7.2 0V9.8a.8.8 0 0 1 .8-.8h5.6a.8.8 0 0 1 .8.8v2.8H8.4Zm0 0v2.8a.8.8 0 0 0 .8.8h5.6a.8.8 0 0 0 .8-.8v-2.8H8.4Z"/></svg>';var k='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%2301756A" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%2301756A" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><g clip-path="url(%23b)"><path stroke="%2301A797" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16 15.4a.8.8 0 0 1-.8.8H8.8a.8.8 0 0 1-.8-.8V9.8a.8.8 0 0 1 .8-.8h2l.8 1.2h3.6a.8.8 0 0 1 .8.8v4.4Z"/></g><defs><clipPath id="b"><path fill="%23fff" d="M7.2 7.8h9.6v9.6H7.2z"/></clipPath></defs></svg>';var H='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/></svg>';var S='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h12.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.95 19.067c-.144 0-.282-.017-.413-.053a2.51 2.51 0 0 1-.37-.13v-.782c.113.08.213.148.303.202a.5.5 0 0 0 .26.082c.12 0 .218-.03.292-.092.077-.064.115-.166.115-.307v-2.189h.874v2.228c0 .198-.032.364-.096.499a.836.836 0 0 1-.245.321.873.873 0 0 1-.34.168 1.39 1.39 0 0 1-.38.053Zm2.584-1.08V19h-.869v-3.202h1.503c.377 0 .675.085.893.255.22.17.33.437.33.801 0 .362-.11.642-.33.84-.218.196-.516.293-.893.293h-.634Zm0-.662h.528c.061 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865Zm3.81 1.742a1.96 1.96 0 0 1-.825-.163 1.2 1.2 0 0 1-.557-.528c-.131-.246-.197-.571-.197-.974 0-.394.066-.714.197-.96.135-.25.32-.432.557-.548.237-.115.51-.172.82-.172.209 0 .41.02.605.062.199.042.39.1.572.173v.782a4.255 4.255 0 0 0-.552-.254 1.382 1.382 0 0 0-.51-.096c-.165 0-.31.03-.431.091a.58.58 0 0 0-.274.307c-.064.144-.096.347-.096.61 0 .256.034.459.101.61a.64.64 0 0 0 .269.311.81.81 0 0 0 .384.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662h1.349v1.516a2.84 2.84 0 0 1-.643.274 2.52 2.52 0 0 1-.672.091Z"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/></svg>';var R='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h15.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.023 19.067c-.144 0-.282-.017-.413-.053a2.51 2.51 0 0 1-.37-.13v-.782c.112.08.213.148.303.202a.5.5 0 0 0 .259.082c.121 0 .219-.03.293-.092.076-.064.115-.166.115-.307v-2.189h.873v2.228c0 .198-.032.364-.096.499a.836.836 0 0 1-.244.321.873.873 0 0 1-.341.168 1.39 1.39 0 0 1-.38.053Zm2.584-1.08V19h-.869v-3.202H7.24c.378 0 .676.085.893.255.221.17.331.437.331.801 0 .362-.11.642-.33.84-.218.196-.516.293-.894.293h-.633Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM8.977 19v-3.202h2.232v.663H9.851v.605h1.17v.662H9.847v.61h1.363V19H8.977Zm4.295.067a1.96 1.96 0 0 1-.826-.163 1.2 1.2 0 0 1-.557-.528c-.13-.246-.196-.571-.196-.974 0-.394.065-.714.196-.96.135-.25.32-.432.557-.548.237-.115.51-.172.82-.172.209 0 .41.02.606.062.198.042.389.1.57.173v.782a4.255 4.255 0 0 0-.551-.254 1.382 1.382 0 0 0-.509-.096c-.166 0-.31.03-.432.091a.58.58 0 0 0-.273.307c-.064.144-.096.347-.096.61 0 .256.033.459.1.61a.64.64 0 0 0 .27.311.81.81 0 0 0 .383.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662h1.349v1.516a2.84 2.84 0 0 1-.643.274 2.52 2.52 0 0 1-.672.091Z"/></svg>';var $='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.633 17.987V19h-.87v-3.202h1.503c.378 0 .675.085.893.255.22.17.331.437.331.801 0 .362-.11.642-.331.84-.218.196-.515.293-.893.293h-.633Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM7.003 19v-3.202h.72l1.574 2.088-.264.557v-2.645h.797V19h-.634l-1.584-2.035.183-.394V19h-.792Zm4.918.067a1.96 1.96 0 0 1-.826-.163 1.2 1.2 0 0 1-.556-.528c-.132-.246-.197-.571-.197-.974 0-.394.065-.714.197-.96.134-.25.32-.432.556-.548.237-.115.51-.172.821-.172.208 0 .41.02.605.062.198.042.389.1.571.173v.782a4.255 4.255 0 0 0-.552-.254 1.382 1.382 0 0 0-.509-.096c-.166 0-.31.03-.432.091a.58.58 0 0 0-.273.307c-.064.144-.096.347-.096.61 0 .256.033.459.1.61a.64.64 0 0 0 .27.311.81.81 0 0 0 .383.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662h1.35v1.516a2.84 2.84 0 0 1-.644.274 2.52 2.52 0 0 1-.672.091Z"/></svg>';var U='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h18.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="m4.37 19-.868-3.202h.95l.485 2.4h-.13l.687-2.4h.658l.69 2.43h-.138l.484-2.43h.956L7.274 19h-.858l-.663-2.194h.149L5.225 19h-.854Zm4.218 0v-3.202h2.232v.663H9.462v.605h1.17v.662H9.458v.61h1.363V19H8.588Zm2.855 0v-3.202h1.42c.225 0 .423.03.596.087a.82.82 0 0 1 .417.278c.106.128.159.304.159.528a.578.578 0 0 1-.116.365.88.88 0 0 1-.278.23 2.274 2.274 0 0 1-.297.13l-.101-.197c.195.007.363.043.504.11.14.065.25.156.326.274.08.115.12.255.12.418 0 .224-.056.41-.168.557a.972.972 0 0 1-.437.321c-.179.067-.376.101-.59.101h-1.555Zm.873-.662h.61a.475.475 0 0 0 .182-.034.27.27 0 0 0 .135-.11.373.373 0 0 0 .053-.207.32.32 0 0 0-.034-.153.248.248 0 0 0-.082-.106.323.323 0 0 0-.12-.058.575.575 0 0 0-.149-.019h-.595v.687Zm-.005-1.306h.586c.045 0 .085-.01.12-.029a.29.29 0 0 0 .096-.091.278.278 0 0 0 .039-.149c0-.112-.03-.19-.092-.235a.347.347 0 0 0-.21-.067h-.538v.571Zm3.263.955V19h-.869v-3.202h1.503c.377 0 .675.085.892.255.221.17.332.437.332.801 0 .362-.11.642-.332.84-.217.196-.515.293-.892.293h-.634Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865Z"/></svg>';var q='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23511D59" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M15.15 7.95h-6.3a.9.9 0 0 0-.9.9v6.3a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9v-6.3a.9.9 0 0 0-.9-.9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M16.05 13.35 13.8 11.1l-4.95 4.95M10.425 11.1a.675.675 0 1 0 0-1.35.675.675 0 0 0 0 1.35Z"/><path fill="%23A750B4" d="M.6 13.2h11.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.915 19.067a1.96 1.96 0 0 1-.825-.163 1.2 1.2 0 0 1-.557-.528c-.131-.246-.197-.571-.197-.974 0-.394.066-.714.197-.96.135-.25.32-.432.557-.548.237-.115.51-.172.82-.172.209 0 .41.02.606.062.198.042.388.1.57.173v.782a4.255 4.255 0 0 0-.551-.254 1.382 1.382 0 0 0-.51-.096c-.166 0-.31.03-.431.091a.58.58 0 0 0-.274.307c-.064.144-.096.347-.096.61 0 .256.034.459.101.61a.64.64 0 0 0 .269.311.81.81 0 0 0 .384.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662H6.23v1.516a2.84 2.84 0 0 1-.643.274 2.52 2.52 0 0 1-.673.091ZM6.883 19v-3.202h.874V19h-.874Zm1.528 0v-3.202h2.223v.663H9.28v.686h1.167v.667H9.28V19h-.869Z"/></svg>';var _='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%233749A2" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12 16.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m11.1 10.2 2.7 1.8-2.7 1.8v-3.6Z"/><path fill="%234B61D1" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.67 19v-3.202h.878l1.08 1.47-.456.009 1.114-1.479h.854V19h-.868v-2.563l.148.297-1.041 1.373-1.056-1.406.173-.106V19H3.67Zm4.994-1.013V19h-.869v-3.202h1.502c.378 0 .676.085.893.255.221.17.331.437.331.801 0 .362-.11.642-.33.84-.218.196-.516.293-.894.293h-.633Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM12.234 19v-.84h-1.34v-.59l1.417-1.772h.797v1.719h.398v.643h-.398V19h-.874Zm-.62-1.483h.62v-.773l-.62.773Z"/></svg>';var O='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%233749A2" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12 16.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m11.1 10.2 2.7 1.8-2.7 1.8v-3.6Z"/><path fill="%234B61D1" d="M.6 13.2h17.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.513 19v-3.202h.878l1.08 1.47-.456.009 1.114-1.479h.854V19h-.868v-2.563l.148.297-1.041 1.373-1.056-1.406.173-.106V19h-.826Zm4.994-1.013V19h-.869v-3.202H9.14c.378 0 .676.085.893.255.221.17.331.437.331.801 0 .362-.11.642-.33.84-.218.196-.516.293-.894.293h-.633Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM10.877 19v-3.202h2.232v.663h-1.358v.605h1.17v.662h-1.175v.61h1.363V19h-2.232Zm4.295.067a1.96 1.96 0 0 1-.826-.163 1.2 1.2 0 0 1-.557-.528c-.13-.246-.197-.571-.197-.974 0-.394.066-.714.197-.96.135-.25.32-.432.557-.548.237-.115.51-.172.82-.172.209 0 .41.02.606.062.198.042.388.1.57.173v.782a4.255 4.255 0 0 0-.551-.254 1.382 1.382 0 0 0-.509-.096c-.166 0-.31.03-.432.091a.58.58 0 0 0-.274.307c-.064.144-.096.347-.096.61 0 .256.034.459.101.61a.64.64 0 0 0 .27.311.81.81 0 0 0 .383.092c.08 0 .152-.005.216-.015a.65.65 0 0 0 .168-.053v-.494h-.48v-.662h1.349v1.516a2.84 2.84 0 0 1-.643.274 2.52 2.52 0 0 1-.672.091Z"/></svg>';var G='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%233749A2" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12 16.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m11.1 10.2 2.7 1.8-2.7 1.8v-3.6Z"/><path fill="%234B61D1" d="M.6 13.2h12.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="m3.552 19 1.195-3.202h.955L6.806 19h-.892L4.91 15.947l.447-.038L4.358 19h-.806Zm.706-.629.163-.619h1.43l.082.62H4.258Zm3.47.629-1.185-3.202H7.55l.864 2.684h-.279l.86-2.684h.926L8.659 19h-.93Zm2.576 0v-3.202h.873V19h-.873Z"/></svg>';var Y='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%233749A2" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12 16.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="m11.1 10.2 2.7 1.8-2.7 1.8v-3.6Z"/><path fill="%234B61D1" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.351 19v-3.202h.879l1.08 1.47-.456.009 1.113-1.479h.855V19h-.869v-2.563l.149.297-1.042 1.373-1.056-1.406.173-.106V19h-.826Zm4.96-.95-.316-.504 1.219-1.748h1.094L8.312 18.05Zm-.835.95v-3.202h.874V19h-.874Zm1.565-2.02L10.4 19H9.32l-.95-1.469.671-.552ZM11.726 19l-1.186-3.202h1.008l.864 2.684h-.278l.86-2.684h.926L12.657 19h-.931Z"/></svg>';var W='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23593AD1" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.5 15.45a1.35 1.35 0 1 0 0-2.7 1.35 1.35 0 0 0 0 2.7Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M8.85 14.1V8.25l5.4-.9v5.85"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12.9 14.55a1.35 1.35 0 1 0 0-2.7 1.35 1.35 0 0 0 0 2.7Z"/><path fill="%238161FF" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.712 19v-3.202h.879l1.08 1.47-.456.009 1.113-1.479h.855V19h-.87v-2.563l.15.297-1.042 1.373-1.056-1.406.173-.106V19h-.826Zm4.994-1.013V19h-.869v-3.202H9.34c.377 0 .675.085.892.255.221.17.332.437.332.801 0 .362-.11.642-.332.84-.217.196-.515.293-.892.293h-.634Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865Zm3.335 1.713c-.173 0-.34-.025-.504-.076a3.162 3.162 0 0 1-.451-.183v-.725c.15.09.3.17.446.24.15.07.31.106.476.106a.753.753 0 0 0 .388-.086.279.279 0 0 0 .144-.255.36.36 0 0 0-.115-.278c-.077-.074-.22-.11-.432-.11h-.5v-.634h.51c.137 0 .236-.03.297-.091a.283.283 0 0 0 .096-.212c0-.086-.022-.152-.067-.196a.381.381 0 0 0-.178-.096.91.91 0 0 0-.23-.03c-.105 0-.216.014-.331.04a1.926 1.926 0 0 0-.442.162v-.643c.122-.064.256-.115.404-.153a1.651 1.651 0 0 1 .854-.015c.137.029.262.079.374.149a.761.761 0 0 1 .326.917.694.694 0 0 1-.278.326.442.442 0 0 1-.163.067c.08.023.157.06.23.11.074.049.14.108.197.178a.81.81 0 0 1 .197.552c0 .18-.037.33-.11.452a.828.828 0 0 1-.293.283c-.122.07-.256.121-.403.153a2.03 2.03 0 0 1-.442.048Z"/></svg>';var K='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 5.7h-4.5a1.2 1.2 0 0 1-1.2-1.2h5.7v1.2Zm-4.5 0a1.2 1.2 0 0 1-1.2-1.2V.6h1.2v5.7ZM20.1.6v5.1V.6Z" mask="url(%23a)"/><path fill="%23593AD1" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.5 15.45a1.35 1.35 0 1 0 0-2.7 1.35 1.35 0 0 0 0 2.7Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M8.85 14.1V8.25l5.4-.9v5.85"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M12.9 14.55a1.35 1.35 0 1 0 0-2.7 1.35 1.35 0 0 0 0 2.7Z"/><path fill="%238161FF" d="M.6 13.2h15.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="m4.488 19-.869-3.202h.95l.485 2.4h-.13l.687-2.4h.658l.691 2.43h-.14l.486-2.43h.955L7.392 19h-.86l-.662-2.194h.15L5.341 19h-.854Zm3.588 0 1.195-3.202h.955L11.33 19h-.893l-1.003-3.053.446-.038L8.882 19h-.806Zm.705-.629.163-.619h1.43l.082.62H8.781Zm3.47.629-1.185-3.202h1.008l.864 2.684h-.278l.859-2.684h.926L13.183 19h-.931Z"/></svg>';var J='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23730D0D" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.25 14.7h-6.3M16.05 12.9h-8.1M14.25 11.1h-6.3M16.05 9.3h-8.1"/><path fill="%23BB3939" d="M.6 13.2h13.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.463 17.987V19h-.869v-3.202h1.503c.377 0 .675.085.892.255.221.17.332.437.332.801 0 .362-.11.642-.332.84-.217.196-.515.293-.892.293h-.634Zm0-.662h.528c.06 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.125-.09.436.436 0 0 0-.163-.03h-.528v.865ZM6.833 19v-3.202h1.344c.554 0 .959.136 1.215.408.259.272.389.67.389 1.196 0 .521-.13.918-.39 1.19-.255.272-.66.408-1.214.408H6.833Zm.87-.662h.369c.265 0 .467-.074.605-.221.14-.15.21-.389.21-.715 0-.33-.07-.568-.21-.716-.138-.15-.34-.225-.605-.225h-.37v1.877Zm2.59.662v-3.202h2.222v.663h-1.354v.686h1.167v.667h-1.166V19h-.87Z"/></svg>';var X='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23074856" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.25 14.7h-6.3M16.05 12.9h-8.1M14.25 11.1h-6.3M16.05 9.3h-8.1"/><path fill="%232D9AB2" d="M.6 13.2h14.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.806 19v-3.202H5.15c.554 0 .958.136 1.214.408.26.272.39.67.39 1.196 0 .521-.13.918-.39 1.19-.256.272-.66.408-1.214.408H3.806Zm.869-.662h.37c.265 0 .467-.074.604-.221.141-.15.211-.389.211-.715 0-.33-.07-.568-.21-.716-.138-.15-.34-.225-.606-.225h-.37v1.877Zm4.04.73c-.317 0-.595-.06-.835-.178a1.276 1.276 0 0 1-.557-.548c-.131-.246-.197-.56-.197-.94 0-.55.14-.967.418-1.248.281-.282.672-.423 1.17-.423.318 0 .595.06.831.178.24.118.426.3.557.547.134.243.202.557.202.94 0 .551-.14.967-.418 1.249-.278.281-.669.422-1.171.422Zm0-.702c.144 0 .267-.03.37-.09a.576.576 0 0 0 .235-.303c.057-.144.086-.338.086-.581 0-.24-.029-.43-.086-.571a.552.552 0 0 0-.235-.298.711.711 0 0 0-.37-.091.683.683 0 0 0-.37.096.6.6 0 0 0-.24.302c-.054.141-.081.333-.081.576 0 .24.027.43.081.572a.6.6 0 0 0 .24.297c.103.061.226.091.37.091Zm3.539.701c-.519 0-.915-.134-1.19-.403-.273-.269-.409-.69-.409-1.262 0-.554.13-.972.39-1.253.261-.285.665-.427 1.209-.427.17 0 .34.02.513.062.176.042.348.1.514.173v.749a1.94 1.94 0 0 0-.49-.245 1.334 1.334 0 0 0-.417-.077.938.938 0 0 0-.442.096.619.619 0 0 0-.283.312c-.064.147-.096.352-.096.614 0 .253.033.453.1.6a.613.613 0 0 0 .289.312c.128.058.284.087.47.087.109 0 .237-.024.384-.072.15-.048.312-.128.485-.24v.749a1.759 1.759 0 0 1-.307.12 3.057 3.057 0 0 1-.365.076 2.34 2.34 0 0 1-.355.03Z"/></svg>';var Q='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23074856" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.25 14.7h-6.3M16.05 12.9h-8.1M14.25 11.1h-6.3M16.05 9.3h-8.1"/><path fill="%232D9AB2" d="M.6 13.2h17.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.628 19v-3.202h1.344c.553 0 .958.136 1.214.408.26.272.389.67.389 1.196 0 .521-.13.918-.389 1.19-.256.272-.66.408-1.214.408H3.628Zm.869-.662h.37c.265 0 .466-.074.604-.221.14-.15.211-.389.211-.715 0-.33-.07-.568-.211-.716-.138-.15-.34-.225-.605-.225h-.37v1.877Zm4.04.73c-.317 0-.595-.06-.835-.178a1.276 1.276 0 0 1-.557-.548c-.131-.246-.197-.56-.197-.94 0-.55.14-.967.418-1.248.281-.282.672-.423 1.17-.423.318 0 .594.06.831.178.24.118.426.3.557.547.134.243.202.557.202.94 0 .551-.14.967-.418 1.249-.278.281-.669.422-1.171.422Zm0-.702c.144 0 .267-.03.37-.09a.576.576 0 0 0 .235-.303c.057-.144.086-.338.086-.581 0-.24-.029-.43-.086-.571a.552.552 0 0 0-.236-.298.711.711 0 0 0-.37-.091.683.683 0 0 0-.369.096.6.6 0 0 0-.24.302c-.054.141-.081.333-.081.576 0 .24.027.43.081.572a.6.6 0 0 0 .24.297c.103.061.226.091.37.091Zm3.538.701c-.518 0-.915-.134-1.19-.403-.272-.269-.408-.69-.408-1.262 0-.554.13-.972.389-1.253.262-.285.665-.427 1.21-.427.17 0 .34.02.513.062.176.042.347.1.514.173v.749a1.94 1.94 0 0 0-.49-.245 1.334 1.334 0 0 0-.418-.077.938.938 0 0 0-.441.096.619.619 0 0 0-.283.312c-.064.147-.096.352-.096.614 0 .253.033.453.1.6a.613.613 0 0 0 .289.312c.128.058.284.087.47.087.109 0 .237-.024.384-.072.15-.048.312-.128.485-.24v.749a1.759 1.759 0 0 1-.307.12 3.057 3.057 0 0 1-.365.076 2.34 2.34 0 0 1-.355.03Zm4.57-.067H15.56l-2.165-3.202h1.085L16.645 19Zm-1.633-2.05.649-1.152h.945l-1.147 1.79-.447-.638Zm.125.735L14.38 19h-.936l1.262-1.92.432.605Z"/></svg>';var e1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23124E46" d="M3 11.7.6 13.2H3v-1.5Z"/><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M14.25 14.7h-6.3M16.05 12.9h-8.1M14.25 11.1h-6.3M16.05 9.3h-8.1"/><path fill="%2301756A" d="M.6 13.2h12.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M3.974 19v-2.54H3.12v-.662h2.587v.663h-.869V19h-.864Zm5.15 0H8.04l-2.164-3.202h1.084L9.124 19Zm-1.632-2.05.648-1.152h.946l-1.147 1.79-.447-.638Zm.125.735L6.86 19h-.936l1.262-1.92.432.605ZM10.147 19v-2.54h-.854v-.662h2.588v.663h-.87V19h-.863Z"/></svg>';var a1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23793304" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path fill="%23E1E7E6" d="M15.1 8.9H8.3v4.25a.425.425 0 0 0 .425.425h5.95a.425.425 0 0 0 .425-.425V8.9Zm.85 4.25a1.275 1.275 0 0 1-1.275 1.275h-1.949l1.4 1.4a.425.425 0 1 1-.601.6L11.7 14.601l-1.824 1.824a.425.425 0 1 1-.601-.6l1.399-1.4H8.725A1.275 1.275 0 0 1 7.45 13.15V8.9a.425.425 0 0 1 0-.85h8.5a.425.425 0 0 1 0 .85v4.25Z"/></g><path fill="%23C66727" d="M.6 13.2h13.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.547 17.987V19H3.68v-3.202H5.18c.378 0 .675.085.893.255.22.17.331.437.331.801 0 .362-.11.642-.331.84-.218.196-.515.293-.893.293h-.634Zm0-.662h.528c.061 0 .116-.008.164-.024a.314.314 0 0 0 .124-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.124-.09.436.436 0 0 0-.164-.03h-.528v.865Zm3.24.662V19h-.87v-3.202H8.42c.378 0 .675.085.893.255.22.17.331.437.331.801 0 .362-.11.642-.331.84-.218.196-.515.293-.893.293h-.634Zm0-.662h.527c.061 0 .116-.008.164-.024a.314.314 0 0 0 .124-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.124-.09.436.436 0 0 0-.164-.03h-.528v.865ZM10.8 19v-2.54h-.854v-.662h2.587v.663h-.87V19H10.8Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 7.2h10.2v10.2H6.6z"/></clipPath></defs></svg>';var t1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%23793304" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path fill="%23E1E7E6" d="M15.1 8.9H8.3v4.25a.425.425 0 0 0 .425.425h5.95a.425.425 0 0 0 .425-.425V8.9Zm.85 4.25a1.275 1.275 0 0 1-1.275 1.275h-1.949l1.4 1.4a.425.425 0 1 1-.601.6L11.7 14.601l-1.824 1.824a.425.425 0 1 1-.601-.6l1.399-1.4H8.725A1.275 1.275 0 0 1 7.45 13.15V8.9a.425.425 0 0 1 0-.85h8.5a.425.425 0 0 1 0 .85v4.25Z"/></g><path fill="%23C66727" d="M.6 13.2h16.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M4.37 17.987V19H3.5v-3.202h1.503c.377 0 .675.085.893.255.22.17.33.437.33.801 0 .362-.11.642-.33.84-.218.196-.516.293-.893.293h-.634Zm0-.662h.527c.061 0 .115-.008.163-.024a.314.314 0 0 0 .125-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.124-.09.436.436 0 0 0-.164-.03H4.37v.865Zm3.238.662V19H6.74v-3.202h1.502c.378 0 .675.085.893.255.22.17.331.437.331.801 0 .362-.11.642-.331.84-.218.196-.515.293-.893.293h-.634Zm0-.662h.528c.061 0 .116-.008.164-.024a.314.314 0 0 0 .124-.082.49.49 0 0 0 .1-.307.577.577 0 0 0-.028-.192.383.383 0 0 0-.072-.14.276.276 0 0 0-.124-.09.436.436 0 0 0-.164-.03h-.528v.865ZM10.622 19v-2.54h-.855v-.662h2.588v.663h-.87V19h-.863Zm5.15 0h-1.085l-2.165-3.202h1.085L15.772 19Zm-1.632-2.05.648-1.152h.945l-1.147 1.79-.446-.638Zm.125.735L13.506 19h-.936l1.263-1.92.432.605Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 7.2h10.2v10.2H6.6z"/></clipPath></defs></svg>';var l1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%232B8B51" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.95 11.4h8.1m-8.1 0V8.25a.9.9 0 0 1 .9-.9h6.3a.9.9 0 0 1 .9.9v3.15h-8.1Zm0 0v3.15a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9V11.4h-8.1Z"/></g><path fill="%2331A15E" d="M.6 13.2h13.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M5.107 19.067c-.519 0-.915-.134-1.19-.403-.273-.269-.409-.69-.409-1.262 0-.554.13-.972.39-1.253.262-.285.665-.427 1.209-.427.17 0 .34.02.513.062.176.042.348.1.514.173v.749a1.94 1.94 0 0 0-.49-.245 1.334 1.334 0 0 0-.417-.077.938.938 0 0 0-.442.096.619.619 0 0 0-.283.312c-.064.147-.096.352-.096.614 0 .253.034.453.1.6a.613.613 0 0 0 .289.312c.128.058.285.087.47.087.109 0 .237-.024.384-.072.15-.048.312-.128.485-.24v.749a1.759 1.759 0 0 1-.307.12 3.057 3.057 0 0 1-.365.076 2.34 2.34 0 0 1-.355.03Zm2.702 0c-.16 0-.31-.006-.447-.019a2.674 2.674 0 0 1-.384-.062 1.96 1.96 0 0 1-.331-.125v-.816c.16.125.334.217.523.278.189.058.36.087.514.087.121 0 .219-.023.293-.068.073-.044.11-.121.11-.23 0-.074-.037-.133-.11-.178a1.019 1.019 0 0 0-.288-.124 29.641 29.641 0 0 1-.404-.135 2.128 2.128 0 0 1-.264-.115.963.963 0 0 1-.225-.168.768.768 0 0 1-.163-.25.93.93 0 0 1-.063-.36c0-.14.026-.275.077-.403a1.002 1.002 0 0 1 .643-.571c.163-.058.354-.086.571-.086.132 0 .25.008.356.024.105.012.204.035.297.067a2.2 2.2 0 0 1 .288.12v.825a1.89 1.89 0 0 0-.542-.312 1.06 1.06 0 0 0-.307-.067.872.872 0 0 0-.245.024.38.38 0 0 0-.183.091.246.246 0 0 0-.067.183c0 .08.026.144.077.192a.71.71 0 0 0 .22.115c.097.029.202.06.318.091.134.039.256.082.364.13.112.048.208.107.288.177a.73.73 0 0 1 .188.26c.044.099.067.22.067.364 0 .205-.048.388-.144.548-.096.16-.232.286-.408.379a1.33 1.33 0 0 1-.62.134ZM10.406 19 9.22 15.798h1.008l.864 2.684h-.278l.859-2.684h.926L11.337 19h-.931Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 16.8V6h10.8v10.8z"/></clipPath></defs></svg>';var i1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%232B8B51" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.95 11.4h8.1m-8.1 0V8.25a.9.9 0 0 1 .9-.9h6.3a.9.9 0 0 1 .9.9v3.15h-8.1Zm0 0v3.15a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9V11.4h-8.1Z"/></g><path fill="%2331A15E" d="M.6 13.2h12.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M6.384 19H5.3l-2.165-3.202H4.22L6.384 19Zm-1.632-2.05.648-1.152h.946l-1.147 1.79-.447-.638Zm.125.735L4.12 19h-.936l1.262-1.92.432.605ZM6.765 19v-3.202h.873v2.535h1.335V19H6.765Zm3.799.067c-.16 0-.309-.006-.446-.019a2.674 2.674 0 0 1-.384-.062 1.96 1.96 0 0 1-.332-.125v-.816c.16.125.335.217.524.278.188.058.36.087.513.087.122 0 .22-.023.293-.068.074-.044.11-.121.11-.23 0-.074-.036-.133-.11-.178a1.019 1.019 0 0 0-.288-.124 29.641 29.641 0 0 1-.403-.135 2.127 2.127 0 0 1-.264-.115.963.963 0 0 1-.226-.168.768.768 0 0 1-.163-.25.93.93 0 0 1-.062-.36c0-.14.025-.275.076-.403a1.002 1.002 0 0 1 .644-.571c.163-.058.353-.086.57-.086.132 0 .25.008.356.024.106.012.205.035.298.067a2.2 2.2 0 0 1 .288.12v.825a1.89 1.89 0 0 0-.542-.312 1.06 1.06 0 0 0-.308-.067.872.872 0 0 0-.245.024.38.38 0 0 0-.182.091.246.246 0 0 0-.067.183c0 .08.025.144.076.192a.71.71 0 0 0 .221.115c.096.029.202.06.317.091.134.039.256.082.365.13.112.048.208.107.288.177a.73.73 0 0 1 .187.26c.045.099.067.22.067.364 0 .205-.048.388-.144.548-.096.16-.232.286-.408.379a1.33 1.33 0 0 1-.619.134Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 16.8V6h10.8v10.8z"/></clipPath></defs></svg>';var h1='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%23fff" stroke="%23BDCBC9" stroke-width=".9" d="M5.4.45h10.228l4.922 4.522V21.6a1.95 1.95 0 0 1-1.95 1.95H5.4a1.95 1.95 0 0 1-1.95-1.95V2.4A1.95 1.95 0 0 1 5.4.45Z"/><mask id="a" fill="%23fff"><path d="M15 .6h5.1v5.1h-4.5a.6.6 0 0 1-.6-.6V.6Z"/></mask><path fill="%23BDCBC9" d="M15 .6h5.1H15Zm5.1 6h-4.5a1.5 1.5 0 0 1-1.5-1.5l1.8-.3h4.2v1.8Zm-4.5 0a1.5 1.5 0 0 1-1.5-1.5V.6h1.8v4.2l-.3 1.8Zm4.5-6v5.1V.6Z" mask="url(%23a)"/><path fill="%232B8B51" d="M3 11.7.6 13.2H3v-1.5Z"/><g clip-path="url(%23b)"><path stroke="%23E1E7E6" stroke-linecap="round" stroke-linejoin="round" stroke-width=".8" d="M7.95 11.4h8.1m-8.1 0V8.25a.9.9 0 0 1 .9-.9h6.3a.9.9 0 0 1 .9.9v3.15h-8.1Zm0 0v3.15a.9.9 0 0 0 .9.9h6.3a.9.9 0 0 0 .9-.9V11.4h-8.1Z"/></g><path fill="%2331A15E" d="M.6 13.2h15.6a1.2 1.2 0 0 1 1.2 1.2v7.4H1.8a1.2 1.2 0 0 1-1.2-1.2v-7.4Z"/><path fill="%23fff" d="M6.232 19h-.965l-2.184-3.202h.965L6.232 19Zm-1.589-2.016.696-1.186h.86L5.045 17.56l-.403-.576Zm.13.677L3.962 19h-.84l1.243-1.872.408.533ZM6.624 19v-3.202h.778v2.592h1.392V19h-2.17Zm3.738.067c-.163 0-.31-.008-.442-.024a2.375 2.375 0 0 1-.364-.072 2.017 2.017 0 0 1-.327-.125v-.739c.147.119.314.208.5.269.185.06.361.091.527.091.148 0 .26-.027.336-.081.08-.058.12-.144.12-.26a.24.24 0 0 0-.11-.206.934.934 0 0 0-.283-.14c-.119-.04-.251-.087-.399-.138a1.812 1.812 0 0 1-.273-.11.784.784 0 0 1-.408-.422.944.944 0 0 1-.063-.366c0-.131.024-.258.072-.38a.923.923 0 0 1 .221-.326c.103-.096.232-.17.389-.225a1.6 1.6 0 0 1 .552-.087c.131 0 .246.008.346.024.102.016.2.04.292.072.093.03.188.068.284.116v.748a1.617 1.617 0 0 0-.25-.168 1.53 1.53 0 0 0-.283-.134 1.016 1.016 0 0 0-.576-.029.376.376 0 0 0-.187.11.263.263 0 0 0-.068.188c0 .09.028.16.082.211.054.051.13.094.226.13l.321.105c.131.039.251.082.36.13.112.045.21.102.293.173.083.07.147.156.192.259a.919.919 0 0 1 .067.37c0 .191-.045.367-.134.527a.975.975 0 0 1-.389.375c-.17.09-.378.134-.624.134Zm4.56-.067h-.964l-2.184-3.202h.965L14.923 19Zm-1.588-2.016.696-1.186h.86l-1.153 1.762-.403-.576Zm.13.677L12.652 19h-.84l1.244-1.872.408.533Z"/><defs><clipPath id="b"><path fill="%23fff" d="M6.6 16.8V6h10.8v10.8z"/></clipPath></defs></svg>';var G1=["image","video","audio","pdf","text","spreadsheet","all"],M5=["extended","compact"],Y1={image:I,video:j,audio:z,pdf:L,text:P,spreadsheet:N,all:k},u={jpg:{fileType:"image",mimeType:"image/jpeg",badge:S},jpeg:{fileType:"image",mimeType:"image/jpeg",badge:R},png:{fileType:"image",mimeType:"image/png",badge:$},webp:{fileType:"image",mimeType:"image/webp",badge:U},gif:{fileType:"image",mimeType:"image/gif",badge:q},mp4:{fileType:"video",mimeType:"video/mp4",badge:_},mpeg:{fileType:"video",mimeType:"video/mpeg",badge:O},avi:{fileType:"video",mimeType:"video/x-msvideo",badge:G},mkv:{fileType:"video",mimeType:"video/x-matroska",badge:Y},mp3:{fileType:"audio",mimeType:"audio/mpeg",badge:W},wav:{fileType:"audio",mimeType:"audio/wav",badge:K},pdf:{fileType:"pdf",mimeType:"application/pdf",badge:J},doc:{fileType:"text",mimeType:"application/msword",badge:X},docx:{fileType:"text",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",badge:Q},txt:{fileType:"text",mimeType:"text/plain",badge:e1},ppt:{fileType:"text",mimeType:"application/vnd.ms-powerpoint",badge:a1},pptx:{fileType:"text",mimeType:"application/vnd.openxmlformats-officedocument.presentationml.presentation",badge:t1},csv:{fileType:"spreadsheet",mimeType:"text/csv",badge:l1},xls:{fileType:"spreadsheet",mimeType:"application/vnd.ms-excel",badge:i1},xlsx:{fileType:"spreadsheet",mimeType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",badge:h1}},o1=G1.reduce((a,e)=>{let l=Object.values(u).filter(o=>o.fileType===e).map(o=>o.mimeType);return a[e]={mimeTypes:Array.from(new Set(l)),icon:Y1[e]},a},{}),W1=a=>a in u,K1=a=>[...a].sort((o,w)=>o.extension.localeCompare(w.extension))[0]?.badge||H,J1=Object.entries(u).reduce((a,[e,l])=>{let o=l.mimeType.toLowerCase();return a[o]=[...a[o]||[],{extension:e.toLowerCase(),badge:l.badge}],a},{}),X1=Object.entries(J1).reduce((a,[e,l])=>(a[e]=K1(l),a),{}),Q1=a=>{let e=a.lastIndexOf(".");return e<=0||e===a.length-1?"":a.slice(e+1).toLowerCase()},e0=a=>{let e=Q1(a.name),l=W1(e)?u[e].badge:"",o=a.type?X1[a.type.toLowerCase()]:"";return {extension:e,badgeIcon:l||o||H}},a0=a=>a?.startsWith("es")?{loading:"Cargando..",dragText:"Arrastra tus archivos hasta aqu\xED",selectText:"O selecciona desde tu dispositivo",selectButton:"Seleccionar",maxFilesTitle:"L\xEDmite de archivos alcanzado",maxFilesDescription:"Has alcanzado el m\xE1ximo permitido. Elimina un archivo para continuar cargando",maxImagesTitle:"L\xEDmite de im\xE1genes alcanzado",maxImagesDescription:"Has alcanzado el m\xE1ximo permitido. Elimina una imagen para continuar cargando",maxFilesAllowed:e=>`M\xE1ximo permitido: ${e} ${e===1?"archivo":"archivos"}`,maxImagesAllowed:e=>`M\xE1ximo permitido: ${e} ${e===1?"imagen":"im\xE1genes"}`,dragSpreadsheetText:e=>e===1?"Arrastra tu hoja de c\xE1lculo hasta aqu\xED":"Arrastra tus hojas de c\xE1lculo hasta aqu\xED",dragImageText:e=>e===1?"Arrastra tu imagen hasta aqu\xED":"Arrastra tus im\xE1genes hasta aqu\xED"}:a?.startsWith("pt")?{loading:"Carregando..",dragText:"Arraste seus arquivos at\xE9 aqui",selectText:"Ou selecione do seu dispositivo",selectButton:"Selecionar",maxFilesTitle:"Limite de arquivos atingido",maxFilesDescription:"Voc\xEA atingiu o m\xE1ximo permitido. Exclua um arquivo para continuar carregando",maxImagesTitle:"Limite de imagens atingido",maxImagesDescription:"Voc\xEA atingiu o m\xE1ximo permitido. Exclua uma imagem para continuar carregando",maxFilesAllowed:e=>`M\xE1ximo permitido: ${e} ${e===1?"arquivo":"arquivos"}`,maxImagesAllowed:e=>`M\xE1ximo permitido: ${e} ${e===1?"imagem":"imagens"}`,dragSpreadsheetText:e=>e===1?"Arraste sua planilha at\xE9 aqui":"Arraste suas planilhas at\xE9 aqui",dragImageText:e=>e===1?"Arraste sua imagem at\xE9 aqui":"Arraste suas imagens at\xE9 aqui"}:{loading:"Loading..",dragText:"Drag your files here",selectText:"Or select from your device",selectButton:"Select",maxFilesTitle:"File limit reached",maxFilesDescription:"You have reached the maximum allowed. Delete a file to continue uploading",maxImagesTitle:"Maximum images reached",maxImagesDescription:"You have reached the maximum allowed. Delete an image to continue uploading",maxFilesAllowed:e=>`Maximum allowed: ${e} ${e===1?"file":"files"}`,maxImagesAllowed:e=>`Maximum allowed: ${e} ${e===1?"image":"images"}`,dragSpreadsheetText:e=>e===1?"Drag your spreadsheet here":"Drag your spreadsheets here",dragImageText:e=>e===1?"Drag your image here":"Drag your images here"},t0=a=>Array.isArray(a)?a:[a],D=a=>a.length===1?a[0]:null,l0=(a,e)=>D(a)===e,i0=a=>a.flatMap(e=>o1[e]?.mimeTypes||[]),h0=a=>{let e=D(a);return e?o1[e]?.icon||k:k},o0=(a,e,l)=>{let o=D(a);return o==="image"?e.dragImageText(l):o==="spreadsheet"?e.dragSpreadsheetText(l):e.dragText},V5=({acceptedFileTypes:a$3,acceptedFiles:e$1,maxFiles:l=5,maxFileSize:o=15728640,minFileSize:w$1,isLoading:f=false,isDisabled:r1=false,hasError:m=false,label:T,size:p="compact",tooltip:s1,required:d1=false,onFileAccept:n1,onFileReject:m1,onFileChange:p1,className:f1})=>{let v1=Array.isArray(a$3)&&a$3.length===0,Z=t0(a$3),c$3=l0(Z,"image"),b=i0(Z),c1=h0(Z),{locale:g1}=getDefaultOptions(),s=a0(g1?.code),Z1=o0(Z,s,l);return jsxs(FileUpload.Root,{acceptedFiles:e$1,maxFiles:l,maxFileSize:o,minFileSize:w$1,disabled:r1||f,accept:b.length>0?b.join(", "):void 0,validate:v1?()=>["FILE_INVALID_TYPE"]:void 0,onFileAccept:n1,onFileReject:m1,onFileChange:p1,className:f1,children:[T&&jsx(a,{as:FileUpload.Label,label:T,tooltip:s1,required:d1}),jsx(FileUpload.Context,{children:({dragging:v,disabled:r,acceptedFiles:g})=>{let M=g.length>=l,h=r||M;return jsxs(Fragment,{children:[jsxs(FileUpload.Dropzone,{disableClick:h,className:a$1("flex w-full items-center justify-center rounded-lg border border-dashed transition-colors",{"h-52 flex-col px-10":p==="extended","items-center px-4 py-4":p==="compact","border-neutral-500 bg-neutral-100":f,"border-danger-300 bg-danger-50 border-2":!f&&m,"bg-primary-100 ring-primary-400 border-transparent ring-2 ring-inset":!f&&!m&&v&&!h,"cursor-not-allowed border border-neutral-600 bg-neutral-100":!f&&!m&&!v&&h,"pointer-events-none":h,"hover:border-primary-400 hover:bg-primary-50 border-neutral-600 bg-neutral-100":!f&&!m&&!v&&!h}),children:[f&&jsxs("div",{className:a$1("flex items-center gap-3",{"flex-col":p==="extended"}),children:[jsx(c,{size:"lg"}),jsx("span",{className:"text-sm leading-[143%] font-medium text-neutral-800",children:s.loading})]}),!f&&jsxs(Fragment,{children:[jsx("div",{className:a$1("shrink-0 rounded-full p-2 ring ring-inset",{"bg-neutral-200 ring-neutral-300":h,"bg-primary-100 ring-primary-200":!h,"bg-danger-100 ring-danger-200":m}),children:m?jsx(e,{className:"text-danger-600 size-5.5"}):jsx("img",{src:c1,alt:"file type",className:a$1("size-6",h&&"grayscale")})}),jsxs("div",{className:a$1("flex flex-col gap-0.5",{"mt-3":p==="extended","ml-3":p==="compact"}),children:[jsx("span",{className:a$1("font-inter text-sm leading-[143%] font-semibold",{"text-neutral-500":h,"text-neutral-800":!h,"text-neutral-900":m,"text-center":p==="extended"}),children:Z1}),jsx("span",{className:a$1("font-inter text-xs leading-[133%]",{"text-neutral-500":h,"text-neutral-700":!h,"text-neutral-900":m,"text-center":p==="extended"}),children:s.selectText})]}),jsx(c$1,{variant:m?"outlined":"secondary",className:a$1({"mx-auto mt-4":p==="extended","ml-auto":p==="compact"}),size:"sm",disabled:h,children:s.selectButton})]})]}),l>0&&Number.isFinite(l)&&jsx("p",{className:"text-2xs mt-2 leading-[133%] font-medium text-neutral-600",children:c$3?s.maxImagesAllowed(l):s.maxFilesAllowed(l)})]})}}),jsx(FileUpload.Context,{children:({acceptedFiles:v})=>v.length<l?null:jsx(a$2,{hasCloseButton:false,variant:"warning",title:c$3?s.maxImagesTitle:s.maxFilesTitle,description:c$3?s.maxImagesDescription:s.maxFilesDescription,className:"mt-3"})}),jsx(FileUpload.ItemGroup,{className:a$1("mt-3 flex empty:hidden",{"flex-wrap gap-3":c$3,"flex-col gap-3":!c$3}),children:jsx(FileUpload.Context,{children:({acceptedFiles:v})=>jsxs(Fragment,{children:[!c$3&&v.map((r,g)=>{let{badgeIcon:M,extension:h}=e0(r);return jsxs(FileUpload.Item,{file:r,className:"flex h-13 shrink-0 items-center rounded-md bg-neutral-50 pr-2 pl-4 ring ring-neutral-300 ring-inset",children:[jsx(FileUpload.ItemPreview,{type:".*",children:jsx("img",{src:M,alt:h?`${h} file`:"unknown file",className:"size-6"})}),jsxs("div",{className:"mr-6 ml-2 flex flex-col gap-0.5",children:[jsx(FileUpload.ItemName,{className:"font-inter line-clamp-1 text-xs leading-[133%] font-medium text-neutral-900"}),jsx(FileUpload.ItemSizeText,{className:"text-2xs font-inter leading-[133%] text-neutral-700"})]}),jsx(FileUpload.ItemDeleteTrigger,{asChild:true,className:"ml-auto",children:jsx(c$2,{Icon:w,variant:"standard",size:"sm"})})]},`${r.name}-${r.size}-${r.lastModified}-${g}`)}),c$3&&v.map((r,g)=>jsx(FileUpload.Item,{file:r,className:"aspect-square size-16",children:jsxs(FileUpload.ItemPreview,{type:"image",className:"relative h-full w-full",children:[jsx(FileUpload.ItemPreviewImage,{className:"h-full w-full rounded-lg object-cover"}),jsx(FileUpload.ItemDeleteTrigger,{asChild:true,className:"absolute -top-1 -right-1",children:jsx(c$2,{Icon:w,variant:"white",size:"sm"})})]})},`${r.name}-${r.size}-${r.lastModified}-${g}`))]})})}),jsx(FileUpload.HiddenInput,{})]})};
2
2
  export{G1 as a,M5 as b,V5 as c};
@@ -1 +1 @@
1
- import {a as a$5}from'./chunk-LU2N5UJD.js';import {a as a$8}from'./chunk-GFVJRSZI.js';import {a as a$4}from'./chunk-VFP3D5WF.js';import {c as c$5}from'./chunk-XPR5NR6A.js';import {d}from'./chunk-3Q4SUKIS.js';import {c as c$4}from'./chunk-JYNJHAGL.js';import {b}from'./chunk-JB6QLQCK.js';import {a as a$9}from'./chunk-SKMTTF6M.js';import {a as a$6}from'./chunk-UIZFLYFP.js';import {d as d$1}from'./chunk-MP4CHZ2K.js';import {a as a$3}from'./chunk-R6NIURLZ.js';import {a as a$1}from'./chunk-4CM257A2.js';import {c as c$2}from'./chunk-WQPZV6HK.js';import {c}from'./chunk-55Z77FLU.js';import {c as c$3,a as a$7}from'./chunk-5EP3PIED.js';import {a}from'./chunk-2IBP2IXU.js';import {c as c$1,s,t,h,g}from'./chunk-QNQELNVU.js';import {a as a$2}from'./chunk-OBZIYJO7.js';import Be,{createContext,useMemo,useCallback,forwardRef,useRef,useContext,useEffect,useId,useState}from'react';import*as dt from'@radix-ui/react-portal';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {LexicalComposer}from'@lexical/react/LexicalComposer';import {RichTextPlugin}from'@lexical/react/LexicalRichTextPlugin';import {ContentEditable}from'@lexical/react/LexicalContentEditable';import {HistoryPlugin}from'@lexical/react/LexicalHistoryPlugin';import {ListPlugin}from'@lexical/react/LexicalListPlugin';import {AutoFocusPlugin}from'@lexical/react/LexicalAutoFocusPlugin';import {OnChangePlugin}from'@lexical/react/LexicalOnChangePlugin';import {LexicalErrorBoundary}from'@lexical/react/LexicalErrorBoundary';import {HeadingNode,$isHeadingNode,$createHeadingNode}from'@lexical/rich-text';import {ListNode,ListItemNode,$isListNode,REMOVE_LIST_COMMAND,INSERT_UNORDERED_LIST_COMMAND,INSERT_ORDERED_LIST_COMMAND}from'@lexical/list';import {useLexicalComposerContext}from'@lexical/react/LexicalComposerContext';import {$generateHtmlFromNodes,$generateNodesFromDOM}from'@lexical/html';import {$getSelection,$isRangeSelection,$isElementNode,SELECTION_CHANGE_COMMAND,CAN_UNDO_COMMAND,CAN_REDO_COMMAND,UNDO_COMMAND,REDO_COMMAND,OUTDENT_CONTENT_COMMAND,INDENT_CONTENT_COMMAND,FORMAT_ELEMENT_COMMAND,$createParagraphNode,FORMAT_TEXT_COMMAND,$getRoot,$insertNodes}from'lexical';import {$setBlocksType}from'@lexical/selection';import {$findMatchingParent,mergeRegister}from'@lexical/utils';import {AlignJustifyIcon,AlignRightIcon,AlignCenterIcon,AlignLeftIcon,UnderlineIcon,ItalicIcon,BoldIcon,UndoIcon,RedoIcon,ListIcon,ListOrderedIcon,IndentDecreaseIcon,IndentIncreaseIcon}from'lucide-react';import {Collapsible}from'@ark-ui/react/collapsible';import {MenuRoot,MenuTrigger,MenuPositioner,MenuContent,MenuItem}from'@ark-ui/react/menu';import {Portal}from'@ark-ui/react/portal';import {tv,cn}from'tailwind-variants';var Yt=Be.memo(({handleSelect:e,NoResultsIcon:t,noResultsLabel:o,noResultsDescription:n,noResultsDescriptionLines:i,noResultsAsColumn:r,noResultsButtonOnClick:s,optionDescriptionLines:a$3,noResultsButtonLabel:l,filteredOptions:m,inputRect:c$1,inputRef:d,popoverPosition:f,optionsListRef:u,selectedOption:h,options:L,setFilteredOptions:T})=>jsx(dt.Root,{asChild:true,children:jsxs("div",{ref:u,className:"elevation-8 pointer-events-auto fixed z-50 mb-2 hidden max-h-[336px] w-full flex-col overflow-y-auto rounded-lg bg-neutral-50",style:c$1?{width:`${c$1.width}px`,left:c$1.left,top:f==="bottom"?`${c$1.bottom}px`:void 0,bottom:f==="top"?`${window.innerHeight-c$1.top}px`:void 0}:void 0,children:[m.length===0&&jsxs("div",{className:"elevation-8 flex max-h-88 flex-1 flex-col justify-center rounded-lg bg-neutral-50",children:[jsx(a,{title:o,description:n,Icon:t,iconAsColumn:r,descriptionLines:i}),s&&jsxs(Fragment,{children:[jsx(a$1,{}),jsx(c,{variant:"ghost",className:"my-3 w-fit self-center",onClick:()=>{u.current.style.display="none",d.current.value="",T(L),s();},children:l})]})]}),m.map(v=>jsx(re,{title:v.label,disabled:v.disabled,description:v.description,descriptionLines:a$3,onClick:()=>e(v),className:a$2(h?.value===v.value&&"bg-primary-200")},v.key??v.value))]})})),ft=Yt;var Zt=336,ni=({options:e,defaultSelectedOption:t,onSelect:o,onClick:n,onInputChange:i,error:r,helperText:s,label:a,placeholder:l,value:m,size:c="md",optionDescriptionLines:d=1,noResultsLabel:f,noResultsIcon:u,noResultsDescription:h,noResultsDescriptionLines:L,noResultsAsColumn:T,noResultsButtonOnClick:v,noResultsButtonLabel:E,className:M,disabled:O})=>{let[x,R]=useState(t??null),k=useRef(null),C=useRef(null),[Q,H]=useState(),[ee,F]=useState([]),[b,N]=useState("bottom"),[y,z]=useState(),V=Zt,U=useCallback(I=>{k.current.style.display="none",C.current.value=I.label,R(I),o?.(I);},[o]),P=useCallback(()=>{if(!C?.current)return;let I=C.current.getBoundingClientRect();H(I);let $=y?y.height:V,_=window.innerHeight-I.bottom>$,Ce=I.top>$;N(_?"bottom":Ce?"top":"bottom");},[y?.height]),X=useCallback(()=>{let I=e.filter($=>$.label.toLowerCase().includes(C?.current?.value.toLowerCase()??""));if(F(I),k?.current){let $=k.current.getBoundingClientRect();z($);}},[e]);return useEffect(()=>{F(e);},[e]),useEffect(()=>{if(!m){R(null),C.current&&(C.current.value="");return}(!C.current?.value||x?.value!==m.value)&&(R(m),C.current.value=m.label);},[m]),a$8(k,()=>{k.current.style.display="none",x&&C.current&&(C.current.value=x.label);}),useEffect(()=>{if(C?.current)return P(),C.current.addEventListener("mousedown",P),C.current.addEventListener("input",X),window.addEventListener("scroll",P,true),window.addEventListener("resize",P),()=>{C.current?.removeEventListener("mousedown",P),C.current?.removeEventListener("input",X),window.removeEventListener("scroll",P,true),window.removeEventListener("resize",P);}},[P,X]),jsxs("div",{className:a$2("relative",M),children:[jsx(a$4,{ref:C,autoComplete:"off",list:"",selectMode:true,onChange:I=>{I.target.value||(R(null),o?.(null)),i?.(I);},onClean:()=>{R(null),F(e),o?.(null);},onClick:I=>{k.current.style.display="flex",n?.(I);},onBlur:()=>{x&&C.current&&(C.current.value=x.label);},label:a,helperText:s,placeholder:l,size:c,error:r,disabled:O}),jsx(ft,{handleSelect:U,noResultsLabel:f,NoResultsIcon:u,optionDescriptionLines:d,noResultsAsColumn:T,noResultsButtonLabel:E,noResultsButtonOnClick:v,noResultsDescription:h,noResultsDescriptionLines:L,filteredOptions:ee,inputRect:Q,inputRef:C,popoverPosition:b,optionsListRef:k,selectedOption:x,options:e,setFilteredOptions:F})]})};var to=({children:e,title:t,titleLines:o,description:n="",descriptionLines:i,disabled:r=false,className:s,...a})=>jsxs("div",{className:a$2("flex w-full flex-col gap-1",s),...a,children:[jsx("p",{className:a$2("text-sm leading-[130%] break-all",!!n&&"font-medium"),style:o?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:o}:void 0,children:t}),n&&jsx("p",{className:a$2("text-xs leading-[130%]",r?"text-neutral-400":"text-neutral-700"),style:i?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:i}:void 0,children:n})]}),Z=to;var re=({children:e,title:t,titleLines:o,description:n="",descriptionLines:i,startIcon:r,endIcon:s,hasDivider:a=false,disabled:l=false,isSelected:m=false,className:c,...d})=>jsxs(W,{hasDescription:!!n,disabled:l,hasDivider:a,className:c,isSelected:m,...d,children:[r&&Be.cloneElement(r,{className:"shrink-0 mr-2 h-4.5 w-4.5"}),jsx(Z,{title:t,titleLines:o,description:n,descriptionLines:i,disabled:l}),s&&Be.cloneElement(s,{className:"min-h-4.5 min-w-4.5 self-center ml-4"})]});var Lt=({children:e,title:t,titleLines:o=1,description:n="",descriptionLines:i,startIcon:r,hasDivider:s=false,disabled:a=false,checked:l,onCheckedChange:m,className:c,...d})=>jsxs(W,{hasDescription:!!n,disabled:a,hasDivider:s,...d,className:a$2("pr-6",c),children:[r&&Be.cloneElement(r,{className:"shrink-0 w-4.5 h-4.5 mr-2"}),jsx(Z,{title:t,titleLines:o,description:n,descriptionLines:i,disabled:a}),jsx(b,{checked:l,onCheckedChange:m,className:"ml-4 self-center",disabled:a})]});var j=336,Tt=createContext({inputRef:null,optionsListRef:null,autocompleteId:"",inputRect:void 0,showChips:false,filteredOptions:[],currentFocus:-1,popoverPosition:"bottom",setFilteredOptions:()=>{},setCurrentFocus:()=>{},setShowChips:()=>{},setPopoverPosition:()=>{},setInputRect:()=>{},optionsListHeight:j,setOptionsListHeight:()=>{},optionsListRect:void 0,setOptionsListRect:()=>{}}),G=()=>{let e=useContext(Tt);if(e===null)throw new Error("useAutocompleteMultipleContext must be used within a AutocompleteMultipleProvider");return e},Mt=({children:e})=>{let t=useRef(null),o=useRef(null),n=useId(),[i,r]=useState(),[s,a]=useState(true),[l,m]=useState([]),[c,d]=useState(-1),[f,u]=useState("bottom"),[h,L]=useState(),[T,v]=useState(j);return jsx(Tt.Provider,{value:{optionsListRef:t,inputRef:o,autocompleteId:n,inputRect:i,showChips:s,filteredOptions:l,currentFocus:c,popoverPosition:f,setFilteredOptions:m,setCurrentFocus:d,setShowChips:a,setPopoverPosition:u,setInputRect:r,optionsListHeight:T,optionsListRect:h,setOptionsListRect:L,setOptionsListHeight:v},children:e})};var fo=({option:e,onMountWidth:t,size:o})=>{let n=useRef(null);return useEffect(()=>{n.current&&t?.(n.current.clientWidth);},[]),jsx(d,{type:"fill",variant:"standard",ref:n,className:"shrink-0",size:o==="md"?"xs":"sm",hasCloseIcon:false,children:e.label})},Rt=fo;var xo=150,vo=Be.memo(({selectedOptions:e,error:t,onCleanSelectedOptions:o,disabled:n,size:i})=>{let{autocompleteId:r,inputRect:s,inputRef:a,optionsListRef:l}=G(),m=Be.useRef(null),[c,d]=Be.useState(new Map),f=useMemo(()=>{if(!s?.width)return [];let h=0,L=s.width-xo,T=0;for(let v=0;v<e.length&&(T+=c.get(v)??0,!(T>L));v++)h++;return e.slice(0,h)},[s?.width,e,c]),u=useCallback(()=>{n||(a?.current?.focus(),l.current.style.display="flex");},[n]);return jsxs("div",{onClick:u,className:a$2("absolute top-0 z-30 flex w-full cursor-pointer flex-nowrap items-center gap-2 pr-12 pl-3",n&&"cursor-not-allowed"),style:{maxWidth:s?.width?s?.width:void 0,height:s?.height?s?.height:void 0},children:[jsx("div",{className:"flex flex-1 gap-1 overflow-hidden",ref:m,children:f.map((h,L)=>jsx(Rt,{option:h,onMountWidth:T=>d(v=>new Map(v).set(L,T)),size:i},`chip-input-${r}-${h.value}`))}),e.length>f.length&&jsx("span",{className:"text-base",children:"..."}),e.length>0&&!t&&jsx(a$3,{content:String(e.length),size:i}),t&&e.length>0&&jsx(c$1,{className:"text-error-700 h-6 w-6",onClick:h=>{h.stopPropagation(),o();}})]})}),yt=vo;var To=Be.memo(({option:e,index:t,onPressOption:o,isSelected:n,optionDescriptionLines:i})=>{let{currentFocus:r,inputRef:s}=G();return jsx(Lt,{title:e.label,checked:n,disabled:e.disabled,className:r===t?"bg-primary-200":void 0,onMouseDown:a=>{e.disabled||(s?.current?.value&&a.preventDefault(),o?.(e,a));},description:e.description,descriptionLines:i})}),Fe=To;var Ao=Be.memo(({selectedOptions:e,handleSelect:t,NoResultsIcon:o,noResultsLabel:n,noResultsDescription:i,noResultsDescriptionLines:r,noResultsAsColumn:s,noResultsButtonOnClick:a$2,optionDescriptionLines:l,noResultsButtonLabel:m})=>{let{popoverPosition:c$1,optionsListRef:d,filteredOptions:f,inputRect:u,autocompleteId:h,inputRef:L,optionsListHeight:T}=G(),v=useCallback(M=>e.some(O=>O.value===M.value),[e]),E=useMemo(()=>e.filter(M=>M.label.toLowerCase().includes(L?.current?.value.toLowerCase()??"")),[e,L?.current?.value]);return jsx(dt.Root,{asChild:true,children:jsxs("div",{ref:d,className:"elevation-8 pointer-events-auto fixed z-50 mb-2 hidden w-full flex-col overflow-y-auto rounded-lg bg-neutral-50",style:u?{width:`${u.width}px`,left:u.left,top:c$1==="bottom"?`${u.bottom}px`:void 0,bottom:c$1==="top"?`${window.innerHeight-u.top}px`:void 0,maxHeight:T+"px"}:void 0,children:[f.length===0&&jsxs("div",{className:"elevation-8 flex max-h-88 flex-1 flex-col justify-center rounded-lg bg-neutral-50",children:[jsx(a,{title:n,description:i,Icon:o,iconAsColumn:s,descriptionLines:r}),a$2&&jsxs(Fragment,{children:[jsx(a$1,{}),jsx(c,{variant:"ghost",className:"my-3 w-fit self-center",onClick:()=>{d.current.style.display="none",L.current.value="",a$2();},children:m})]})]}),E.map((M,O)=>jsx(Fe,{option:M,index:O,onPressOption:x=>t(x),isSelected:v(M),optionDescriptionLines:l},`autocomplete-option-${h}-${M.key??M.value}`)),f.map((M,O)=>!e.some(x=>x.value===M.value)&&jsx(Fe,{option:M,index:O,onPressOption:x=>t(x),isSelected:v(M),optionDescriptionLines:l},`autocomplete-option-${h}-${M.key??M.value}`))]})})}),At=Ao;var Oo=Be.memo(({selectedOptions:e,onSelect:t,error:o,helperText:n,label:i,placeholder:r,options:s,onInputChange:a,size:l,disabled:m})=>{let{setCurrentFocus:c,setFilteredOptions:d,optionsListRef:f,inputRef:u}=G();return jsx(a$4,{ref:u,autoComplete:"off",list:"",disabled:m,selectMode:true,onChange:h=>{c(-1),a?.(h.target.value);},onClean:()=>{c(-1),d(s),t?.(null,e);},onClick:()=>{m||(f.current.style.display="flex");},error:o,helperText:n,label:i,placeholder:r,fixedTopLabel:e.length>0,size:l})}),Et=Oo;var Nt=({options:e,defaultSelectedOptions:t,onSelect:o,error:n,helperText:i,label:r,placeholder:s,noResultsLabel:a,noResultsIcon:l,noResultsDescription:m,noResultsDescriptionLines:c,noResultsAsColumn:d,noResultsButtonOnClick:f,noResultsButtonLabel:u,className:h,onInputChange:L,value:T,loading:v,size:E="md",optionDescriptionLines:M=1,disabled:O})=>{let{inputRef:x,optionsListRef:R,setFilteredOptions:k,setShowChips:C,setInputRect:Q,setPopoverPosition:H,setCurrentFocus:ee,showChips:F,setOptionsListRect:b,optionsListRect:N,setOptionsListHeight:y}=G(),z=useRef(false),[V,U]=useState(t??[]),P=useCallback(S=>{U(q=>{let Y,pe=q.findIndex(Kt=>Kt.value===S.value);return pe===-1?(Y=q.concat(S),o?.(S,Y),Y):(Y=q.toSpliced(pe,1),o?.(S,Y),Y)});},[o]),X=useCallback(()=>{U([]),k(e),o?.(null,[]);},[]),I=useCallback(()=>{C(false);},[]),$=useCallback(()=>{C(true);},[]),_=useCallback(()=>{if(!x?.current)return;let S=x.current.getBoundingClientRect();Q(S);let q=N?N.height>j?j:N.height:j,Y=window.innerHeight-S.bottom>q,pe=S.top>q;H(Y?"bottom":pe?"top":"bottom"),y(pe?j:window.innerHeight-S.bottom>j?j:window.innerHeight-S.bottom);},[N?.height]),Ce=useCallback(()=>{let S=e.filter(q=>q.label.toLowerCase().includes(x?.current?.value.toLowerCase()??""));if(k(S),R?.current){let q=R.current.getBoundingClientRect();b(q);}},[e,R?.current]);return useEffect(()=>{k(e);},[e]),a$8(R,()=>{R.current.style.display="none",ee(-1);}),useEffect(()=>{if(x?.current)return _(),x.current.addEventListener("mousedown",_),x.current.addEventListener("input",Ce),x.current.addEventListener("focusin",I),x.current.addEventListener("focusout",$),window.addEventListener("scroll",_,true),window.addEventListener("resize",_),()=>{x.current?.removeEventListener("mousedown",_),x.current?.removeEventListener("input",_),x.current?.removeEventListener("focusout",$),x.current?.removeEventListener("focusin",I),window.removeEventListener("scroll",_,true),window.removeEventListener("resize",_);}},[_,$,I,Ce]),useEffect(()=>{T&&(U(T),C(true));},[T]),useEffect(()=>{v||t&&t.length&&!z.current&&(U(t),z.current=true,C(true));},[t,v]),jsxs("div",{className:a$2("relative",h),children:[jsx(Et,{selectedOptions:V,onSelect:o,error:n,helperText:i,label:r,placeholder:s,handleSelect:P,options:e,onInputChange:L,size:E,disabled:O}),F&&jsx(yt,{selectedOptions:V,disabled:O,error:n,onCleanSelectedOptions:X,size:E}),jsx(At,{handleSelect:P,selectedOptions:V,noResultsLabel:a,NoResultsIcon:l,optionDescriptionLines:M,noResultsAsColumn:d,noResultsButtonLabel:u,noResultsButtonOnClick:f,noResultsDescription:m,noResultsDescriptionLines:c})]})};var ys=e=>jsx(Mt,{children:jsx(Nt,{...e})});var Hs=({children:e,title:t,titleLines:o=1,description:n,descriptionLines:i=1,StartIcon:r,hasDivider:s=false,disabled:a=false,actionButton:l,isSelected:m=false,className:c$1,...d})=>jsxs(W,{hasDescription:!!n,disabled:a,hasDivider:s,isSelected:m,...d,className:c$1,children:[r&&jsx(r,{className:"mr-2 h-4.5 w-4.5 shrink-0 grow-0"}),jsx(Z,{title:t,titleLines:o,description:n,descriptionLines:i,disabled:a}),l&&jsx(Fragment,{children:l.isIcon?jsx(c$2,{...l,className:"ml-4 self-center",variant:"ghost",size:"sm",disabled:a??l.disabled}):jsx(c,{...l,className:"ml-4 self-center",size:"sm",variant:"ghost",disabled:a??l.disabled})})]});var Ws=({title:e,description:t="",descriptionLines:o,hasDivider:n=false,disabled:i=false,checked:r,onCheckedChange:s,className:a,chipStatus:l,chipExpandable:m,...c})=>jsxs(W,{hasDescription:!!t,disabled:i,hasDivider:n,...c,className:a$2("pr-6",a),children:[jsx(b,{checked:r,onCheckedChange:s,className:"mr-4 self-center",disabled:i}),jsxs("div",{className:"flex-1",children:[jsxs("div",{className:"flex items-center justify-between gap-2",children:[jsx("p",{className:a$2("line-clamp-1 text-sm leading-[130%] break-all",!!t&&"font-medium"),children:e}),m&&jsx("div",{className:"ml-auto flex min-w-0 flex-shrink-0 items-center justify-end",children:jsx(c$4,{...m})}),l&&jsx("div",{className:"ml-4 flex shrink-0 items-center gap-1",children:jsx(d$1,{...l,size:"xs",className:"shrink-0"})})]}),t&&jsx("p",{className:a$2("text-xs leading-[130%]",i?"text-neutral-400":"text-neutral-700",{"line-clamp-1":o===1,"line-clamp-2":o===2,"line-clamp-3":o===3,"line-clamp-4":o===4}),children:t})]})]});var Ue={paragraph:"m-0",ltr:"text-left",rtl:"text-right",heading:{h1:"mb-2 text-2xl leading-[130%] font-semibold text-neutral-900",h2:"mb-2 text-xl leading-[130%] font-semibold text-neutral-900",h3:"mb-2 text-lg leading-[130%] font-semibold text-neutral-900",h4:"mb-2 text-base leading-[130%] font-semibold text-neutral-900",h5:"mb-2 text-sm leading-[130%] font-semibold text-neutral-900",h6:"mb-2 text-xs leading-[130%] font-semibold text-neutral-900"},list:{ul:"my-2 list-disc pl-5",ol:"my-2 list-decimal pl-5",listitem:"my-1",nested:{listitem:"my-1"}},text:{bold:"font-semibold",italic:"italic",underline:"underline",strikethrough:"line-through",code:"rounded bg-neutral-100 px-1 py-0.5 font-mono text-xs"},code:"rounded bg-neutral-100 p-2 font-mono text-xs",quote:"border-l-2 border-neutral-300 pl-3 italic text-neutral-700",link:"text-primary-700 underline hover:text-primary-800"},$e={headings:["h1","h2","h3"],textFormat:["bold","italic","underline"],lists:true,indent:true,alignment:["left","center","right","justify"],undoRedo:true};var qe=({readOnly:e})=>{let[t]=useLexicalComposerContext();return useEffect(()=>{t.setEditable(!e);},[t,e]),null};var We=({editorRef:e})=>{let[t]=useLexicalComposerContext();return useEffect(()=>(e.current=t,()=>{e.current===t&&(e.current=null);}),[t,e]),null};var Vo={"ql-align-left":"left","ql-align-center":"center","ql-align-right":"right","ql-align-justify":"justify"},Uo={center:"ql-align-center",right:"ql-align-right",justify:"ql-align-justify"},$o=()=>typeof window<"u"&&typeof window.DOMParser<"u",kt=e=>$o()?new DOMParser().parseFromString(e,"text/html"):null,qo=e=>(e??"").replace(/\s+/g," ").trim(),Qe=e=>{let t=0;for(let o of Array.from(e.classList)){let n=o.match(/^ql-indent-(\d+)$/);if(!n)continue;let i=Number.parseInt(n[1],10);Number.isFinite(i)&&(t=Math.max(t,i)),e.classList.remove(o);}return t},Wo=e=>{let t=e.querySelectorAll("[class*='ql-align-']");for(let o of Array.from(t))for(let n of Array.from(o.classList)){let i=Vo[n];i&&(i!=="left"&&(o.style.textAlign=i),o.classList.remove(n));}},Go=e=>{let t=e.querySelectorAll("[class*='ql-indent-']");for(let o of Array.from(t)){if(o.tagName==="LI")continue;let n=Qe(o);n>0&&(o.style.paddingInlineStart=`${n*3}em`);}},Qo=(e,t)=>{let o=e.getAttribute("data-list");return o==="bullet"?"ul":o==="ordered"?"ol":t},jo=e=>{let t=e.cloneNode(true);return t.removeAttribute("data-list"),t.removeAttribute("data-checked"),t.removeAttribute("data-indent"),Qe(t),t},Ge=(e,t)=>e.createElement(t),Ko=(e,t)=>{let o=Array.from(e.children).filter(l=>l.tagName==="LI");if(o.length===0||!o.some(l=>l.hasAttribute("data-list")?true:Array.from(l.classList).some(m=>/^ql-indent-\d+$/.test(m))))return;let i=[],r=[],s=e.tagName==="UL"?"ul":"ol";for(let l of o){let m=Qe(l),c=Qo(l,s),d=jo(l);for(;r.length>0&&r[r.length-1].level>m;)r.pop();if(r.length===0){let u=Ge(t,c);i.push(u),r.push({level:0,kind:c,listElement:u});}let f=r[r.length-1];for(;f.level<m;){let u=f.listElement.lastElementChild;if(!u||u.tagName!=="LI")break;let h=Ge(t,c);u.appendChild(h),f={level:f.level+1,kind:c,listElement:h},r.push(f);}if(f=r[r.length-1],f.kind!==c){let u=Ge(t,c);if(r.length===1)i.push(u),r[0]={level:0,kind:c,listElement:u};else {let L=r[r.length-2].listElement.lastElementChild;L&&L.tagName==="LI"?(L.appendChild(u),r[r.length-1]={level:f.level,kind:c,listElement:u}):(i.push(u),r.length=1,r[0]={level:0,kind:c,listElement:u});}f=r[r.length-1];}f.listElement.appendChild(d);}if(i.length===0)return;let a=t.createDocumentFragment();for(let l of i)a.appendChild(l);e.replaceWith(a);},Xo=(e,t)=>{let o=Array.from(e.querySelectorAll("ol, ul"));for(let n of o)Ko(n,t);},Pt=(e,t)=>{let o=e.tagName==="UL"?"bullet":"ordered",n=Array.from(e.children).filter(i=>i.tagName==="LI");for(let i of n){i.setAttribute("data-list",o);for(let s of Array.from(i.classList))/^ql-indent-\d+$/.test(s)&&i.classList.remove(s);t>0&&i.classList.add(`ql-indent-${t}`);let r=Array.from(i.children).filter(s=>s.tagName==="UL"||s.tagName==="OL");for(let s of r)Pt(s,t+1);}},Yo=e=>{let t=e.querySelectorAll("p, h1, h2, h3, h4, h5, h6, li");for(let o of Array.from(t)){let n=o;for(let s of Array.from(n.classList))s.startsWith("ql-align-")&&n.classList.remove(s);let i=n.style.textAlign.trim().toLowerCase(),r=Uo[i];r&&n.classList.add(r);}},le=e=>qo(e).replace(/>\s+</g,"><").replace(/&nbsp;/g," "),je=e=>{let t=e??"";if(!t.trim())return "";let o=kt(t);if(!o)return t;let{body:n}=o;return Wo(n),Go(n),Xo(n,o),n.innerHTML},Ke=e=>{if(!e.trim())return "";let t=kt(e);if(!t)return e;let{body:o}=t,n=Array.from(o.querySelectorAll("ul, ol"));for(let i of n)Pt(i,0);return Yo(o),o.innerHTML};var Oe=e=>{let t="";return e.getEditorState().read(()=>{t=$generateHtmlFromNodes(e,null);}),Ke(t)},sn=(e,t)=>{let o=je(t);e.update(()=>{let n=$getRoot();if(n.clear(),!o.trim()){n.append($createParagraphNode());return}let r=new DOMParser().parseFromString(o,"text/html"),s=$generateNodesFromDOM(e,r);if(s.length===0){n.append($createParagraphNode());return}n.select(),$insertNodes(s);});},Xe=({value:e,isSyncingRef:t})=>{let[o]=useLexicalComposerContext(),n=useRef(null);return useEffect(()=>{let i=e??"";if(n.current!==null&&le(i)===le(n.current))return;let r=Oe(o);le(r)!==le(i)&&(t.current=true,sn(o,i),queueMicrotask(()=>{t.current=false;})),n.current=i;},[o,t,e]),null};var Ht=["left","center","right","justify"];var St=["bold","italic","underline","strikethrough","code"];var Un={bold:"bold",italic:"italic",underline:"underline",strikethrough:"strikethrough",code:"code"},$n={left:jsx(AlignLeftIcon,{className:"size-4"}),center:jsx(AlignCenterIcon,{className:"size-4"}),right:jsx(AlignRightIcon,{className:"size-4"}),justify:jsx(AlignJustifyIcon,{className:"size-4"})},qn={left:"Align left",center:"Align center",right:"Align right",justify:"Align justify"},he={bold:jsx(BoldIcon,{className:"size-4"}),italic:jsx(ItalicIcon,{className:"size-4"}),underline:jsx(UnderlineIcon,{className:"size-4"}),strikethrough:jsx("span",{className:"text-xs font-semibold",children:"S"}),code:jsx("span",{className:"font-mono text-xs",children:"</>"})},xe={bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",code:"Inline code"},Wn=e=>{let t=e.textFormat;return t===false?[]:Array.isArray(t)?St.filter(o=>t.includes(o)):["bold","italic","underline"]},Gn=e=>{let t=e.alignment;return t===false?[]:Array.isArray(t)?Ht.filter(o=>t.includes(o)):["left","center","right","justify"]},Qn=e=>{if(e.headings===false)return [];let t=Array.isArray(e.headings)?e.headings:["h1","h2","h3"];return [{value:"paragraph",label:"Normal"},...t.map(o=>({value:o,label:o.toUpperCase()}))]},ve=()=>jsx("div",{className:"mx-1 h-5 w-px bg-neutral-300"}),D=({label:e,onClick:t,icon:o,active:n=false,disabled:i=false})=>jsx("button",{type:"button","aria-label":e,title:e,disabled:i,onClick:t,className:a$2("inline-flex size-8 items-center justify-center rounded-md border border-transparent text-neutral-700 transition-colors","focus-visible:ring-primary-800 hover:bg-neutral-200 focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:outline-none","disabled:cursor-not-allowed disabled:opacity-40",n&&"border-neutral-300 bg-neutral-200 text-neutral-900"),children:o}),Ze=({config:e,className:t})=>{let[o]=useLexicalComposerContext(),n=useId(),[i,r]=useState(false),[s,a]=useState(false),[l,m]=useState(false),[c,d]=useState(false),[f,u]=useState(false),[h,L]=useState(false),[T,v]=useState(false),[E,M]=useState("paragraph"),[O,x]=useState("left"),R=useMemo(()=>Wn(e),[e]),k=useMemo(()=>Gn(e),[e]),C=useMemo(()=>Qn(e),[e]),Q=useCallback(()=>{let b=$getSelection();if(!$isRangeSelection(b))return;m(b.hasFormat("bold")),d(b.hasFormat("italic")),u(b.hasFormat("underline")),L(b.hasFormat("strikethrough")),v(b.hasFormat("code"));let N=b.anchor.getNode(),y=N.getKey()==="root"?N:N.getTopLevelElementOrThrow();if($isListNode(y))M(y.getListType()==="number"?"ol":"ul");else {let V=$findMatchingParent(y,U=>$isListNode(U));$isListNode(V)?M(V.getListType()==="number"?"ol":"ul"):M($isHeadingNode(y)?y.getTag():y.getType());}let z=$isElementNode(y)?y.getFormatType():"";x(z==="center"||z==="right"||z==="justify"?z:"left");},[]);useEffect(()=>mergeRegister(o.registerUpdateListener(({editorState:b})=>{b.read(()=>{Q();});}),o.registerCommand(SELECTION_CHANGE_COMMAND,()=>(Q(),false),1),o.registerCommand(CAN_UNDO_COMMAND,b=>(r(b),false),1),o.registerCommand(CAN_REDO_COMMAND,b=>(a(b),false),1)),[o,Q]);let H=b=>{o.dispatchCommand(FORMAT_TEXT_COMMAND,Un[b]);},ee=b=>{o.update(()=>{let N=$getSelection();if($isRangeSelection(N)){if(b==="paragraph"){$setBlocksType(N,()=>$createParagraphNode());return}$setBlocksType(N,()=>$createHeadingNode(b));}});},F=b=>{if(E===(b==="bullet"?"ul":"ol")){o.dispatchCommand(REMOVE_LIST_COMMAND,void 0);return}o.dispatchCommand(b==="bullet"?INSERT_UNORDERED_LIST_COMMAND:INSERT_ORDERED_LIST_COMMAND,void 0);};return jsxs("div",{className:a$2("flex flex-wrap items-center gap-1 border-b border-neutral-300 bg-neutral-100 px-2 py-1.5",t),children:[e.undoRedo!==false&&jsxs(Fragment,{children:[jsx(D,{label:"Undo",onClick:()=>o.dispatchCommand(UNDO_COMMAND,void 0),disabled:!i,icon:jsx(UndoIcon,{className:"size-4"})}),jsx(D,{label:"Redo",onClick:()=>o.dispatchCommand(REDO_COMMAND,void 0),disabled:!s,icon:jsx(RedoIcon,{className:"size-4"})}),jsx(ve,{})]}),C.length>0&&jsxs(Fragment,{children:[jsx("label",{className:"sr-only",htmlFor:n,children:"Text style"}),jsx("select",{id:n,value:E.startsWith("h")?E:"paragraph",onChange:b=>ee(b.target.value),className:a$2("h-8 rounded-md border border-neutral-300 bg-white px-2 text-xs font-medium text-neutral-800","focus-visible:ring-primary-800 focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:outline-none"),children:C.map(b=>jsx("option",{value:b.value,children:b.label},b.value))}),jsx(ve,{})]}),R.length>0&&jsxs(Fragment,{children:[R.includes("bold")&&jsx(D,{label:xe.bold,onClick:()=>H("bold"),icon:he.bold,active:l}),R.includes("italic")&&jsx(D,{label:xe.italic,onClick:()=>H("italic"),icon:he.italic,active:c}),R.includes("underline")&&jsx(D,{label:xe.underline,onClick:()=>H("underline"),icon:he.underline,active:f}),R.includes("strikethrough")&&jsx(D,{label:xe.strikethrough,onClick:()=>H("strikethrough"),icon:he.strikethrough,active:h}),R.includes("code")&&jsx(D,{label:xe.code,onClick:()=>H("code"),icon:he.code,active:T}),jsx(ve,{})]}),e.lists!==false&&jsxs(Fragment,{children:[jsx(D,{label:"Bulleted list",onClick:()=>F("bullet"),icon:jsx(ListIcon,{className:"size-4"}),active:E==="ul"}),jsx(D,{label:"Numbered list",onClick:()=>F("number"),icon:jsx(ListOrderedIcon,{className:"size-4"}),active:E==="ol"}),jsx(ve,{})]}),e.indent!==false&&jsxs(Fragment,{children:[jsx(D,{label:"Decrease indent",onClick:()=>o.dispatchCommand(OUTDENT_CONTENT_COMMAND,void 0),icon:jsx(IndentDecreaseIcon,{className:"size-4"})}),jsx(D,{label:"Increase indent",onClick:()=>o.dispatchCommand(INDENT_CONTENT_COMMAND,void 0),icon:jsx(IndentIncreaseIcon,{className:"size-4"})}),jsx(ve,{})]}),k.length>0&&jsx(Fragment,{children:k.map(b=>jsx(D,{label:qn[b],onClick:()=>o.dispatchCommand(FORMAT_ELEMENT_COMMAND,b),icon:$n[b],active:O===b},b))})]})};var zt=e=>{if(e!==void 0)return typeof e=="number"?`${e}px`:e},ar=forwardRef(({value:e,onChange:t,onBlur:o,onError:n,placeholder:i="Write your content...",readOnly:r=false,showToolbar:s=true,toolbarConfig:a=$e,className:l,editorClassName:m,toolbarClassName:c,autoFocus:d=false,minHeight:f=160,maxHeight:u,error:h=false,errorMessage:L,editorRef:T},v)=>{let E=useRef(false),M=useMemo(()=>({namespace:"SodtrackRichTextEditor",theme:Ue,onError:(x,R)=>{if(n){n(x,R);return}console.error("RichTextEditor error",x);},nodes:[HeadingNode,ListNode,ListItemNode]}),[n]),O={minHeight:zt(f),maxHeight:zt(u),overflowY:u?"auto":void 0};return jsx(LexicalComposer,{initialConfig:M,children:jsxs("div",{className:"w-full",children:[jsxs("div",{ref:v,className:a$2("group flex w-full flex-col overflow-hidden rounded-lg border bg-white transition-colors","focus-within:ring-primary-800 focus-within:ring-2 focus-within:ring-offset-0",h?"border-error-500 focus-within:border-error-500 focus-within:ring-error-500":"border-neutral-500",r&&"border-neutral-300 bg-neutral-50 focus-within:ring-0",l),"data-error":h,"data-readonly":r,children:[s&&!r&&jsx(Ze,{config:a,className:c}),jsx(RichTextPlugin,{contentEditable:jsx(ContentEditable,{className:a$2("relative w-full px-4 py-3 text-sm leading-[142%] text-neutral-900 outline-none","[&_h1]:mt-2 [&_h1]:mb-2 [&_h2]:mt-2 [&_h2]:mb-2 [&_h3]:mt-2 [&_h3]:mb-2","[&_li]:my-1 [&_ol]:my-2 [&_ul]:my-2","[&_a]:text-primary-700 [&_a]:underline",r&&"cursor-default",m),style:O,onBlur:o,"aria-invalid":h}),placeholder:r?null:jsx("div",{className:"pointer-events-none absolute top-3 left-4 text-sm text-neutral-500",children:i}),ErrorBoundary:LexicalErrorBoundary}),jsx(HistoryPlugin,{}),jsx(ListPlugin,{}),jsx(qe,{readOnly:r}),jsx(Xe,{value:e,isSyncingRef:E}),d&&!r&&jsx(AutoFocusPlugin,{}),T&&jsx(We,{editorRef:T}),jsx(OnChangePlugin,{ignoreSelectionChange:true,onChange:(x,R)=>{!t||E.current||t(Oe(R),x);}})]}),h&&L&&jsx("p",{className:"text-error-500 mt-1 text-xs leading-[133%]",children:L})]})})});ar.displayName="RichTextEditor";var ke="data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0 data-[state=open]:duration-150 data-[state=closed]:duration-100 data-[state=open]:ease-out data-[state=closed]:ease-in data-[state=open]:data-[side=bottom]:slide-in-from-top-1 data-[state=closed]:data-[side=bottom]:slide-out-to-top-1 data-[state=open]:data-[side=top]:slide-in-from-bottom-1 data-[state=closed]:data-[side=top]:slide-out-to-bottom-1 data-[state=open]:data-[side=left]:slide-in-from-right-1 data-[state=closed]:data-[side=left]:slide-out-to-right-1 data-[state=open]:data-[side=right]:slide-in-from-left-1 data-[state=closed]:data-[side=right]:slide-out-to-left-1 motion-reduce:data-[state=open]:animate-none motion-reduce:data-[state=closed]:animate-none";var ea=["sm","md","lg"],ta=a$7,gr={lg:"h-10 gap-2 px-4 text-sm leading-[142%] rounded-md",md:"h-8 gap-1 px-3 text-sm leading-[142%] rounded-md",sm:"h-6 gap-1 px-3 text-xs leading-[142%] rounded-sm"},hr={lg:"size-4.5",md:"size-3.5",sm:"size-3"},Ut=({label:e,options:t,onSelect:o,variant:n="contained",size:i="md",disabled:r=false,className:s,...a})=>{let l=useCallback(c=>{o?.(c.value);},[o]),{root:m}=c$3({variant:n,disabled:r});return jsxs(MenuRoot,{unmountOnExit:true,lazyMount:true,onSelect:l,positioning:{placement:"bottom-start",flip:["bottom-end"]},...a,children:[jsxs(MenuTrigger,{disabled:r,className:a$2(m(),"group data-[state=open]:ring-primary-800 ease-linear outline-none data-[state=open]:ring-3 data-[state=open]:ring-inset",gr[i],s),children:[e,jsx(g,{className:a$2(hr[i],"transition-transform duration-150 group-data-[state=open]:rotate-180")})]}),jsx(Portal,{children:jsx(MenuPositioner,{className:"z-(--z-button-active-options)",children:jsx(MenuContent,{className:a$2("elevation-9 max-h-67.5 max-w-[calc(100vw-1rem)] min-w-max overflow-y-auto rounded-lg bg-neutral-50 py-1 outline-none",ke),children:t.map(({label:c,value:d,description:f,startIcon:u,endIcon:h,hasDivider:L,disabled:T,onClick:v})=>jsx(MenuItem,{value:d,disabled:T,onSelect:v,asChild:true,children:jsx(re,{title:c,description:f,startIcon:u,endIcon:h,disabled:T,hasDivider:L,className:"data-highlighted:bg-primary-100 outline-none [&_p]:break-normal"})},d))})})})]})};var qt=createContext(null),Tr=()=>{let e=useContext(qt);if(!e)throw new Error("TrackerItem components must be used within TrackerItem");return e},Mr=({state:e,children:t})=>jsxs("div",{className:"relative",children:[jsx("div",{className:a$2("absolute top-1/2 z-10 h-[70%] w-0.5 -translate-y-1/2 rounded-sm",e==="active"&&"bg-primary-400",e==="success"&&"bg-success-500",e==="wait"&&"bg-neutral-400")}),t]}),Rr=forwardRef(({label:e,badgeStatus:t$1,details:o,className:n,...i},r)=>{let{state:s$1,stepNumber:a,expandable:l,onHeaderButtonClick:m}=Tr();return jsxs("div",{ref:r,className:a$2("flex min-h-10 items-center gap-3 py-2 pr-1 pl-3",n),...i,children:[jsxs("div",{className:a$2("flex flex-1 gap-2",!t$1&&(!o||o.length===0)&&"self-center"),children:[jsx(a$5,{state:s$1,stepNumber:a}),jsxs("div",{className:"mt-0.5 flex min-w-0 flex-1 flex-col gap-1",children:[jsx("span",{className:a$2("font-jakarta text-xs leading-snug font-medium",s$1==="wait"?"text-neutral-500":"text-neutral-900"),children:e}),t$1&&t$1.visible!==false&&(()=>{let{visible:c,...d}=t$1;return jsx(a$6,{...d})})(),o&&jsx("div",{className:"text-2xs flex flex-col gap-1.5 text-neutral-700",children:o.map(({Icon:c,text:d},f)=>jsxs("div",{className:"flex items-center gap-1.5",children:[jsx(c,{className:"size-3 shrink-0"}),jsx("span",{className:"font-inter",children:d})]},f))})]})]}),l&&jsx(Collapsible.Context,{children:({open:c})=>jsx(Collapsible.Trigger,{asChild:true,children:jsx(c$2,{Icon:c?s:t,size:"sm",variant:"standard"})})}),!l&&m&&jsx(c$2,{Icon:h,size:"sm",variant:"standard",onClick:m})]})});Rr.displayName="TrackerItemHeader";var yr=forwardRef(({children:e,className:t,...o},n)=>jsx(Collapsible.Content,{className:"data-[state=open]:animate-accordion-down data-[state=closed]:animate-accordion-up overflow-hidden",children:jsx("div",{ref:n,className:a$2("border-t border-neutral-300 px-3 py-2",t),...o,children:e})}));yr.displayName="TrackerItemExpandableContent";var Ir=forwardRef(({buttons:e=[],className:t,...o},n)=>jsx("div",{ref:n,className:a$2("flex justify-end gap-2 border-t border-neutral-300 px-3 py-2",t),...o,children:e.map((i,r)=>{if(i.visible===false)return null;let{visible:s,...a}=i;return "options"in a?jsx(Ut,{...a,size:"sm"},r):jsx(c,{...a,size:"sm"},r)})}));Ir.displayName="TrackerItemFooter";var $t="overflow-hidden rounded-sm border border-neutral-300 bg-neutral-50",Ar=forwardRef(({state:e,stepNumber:t,expandable:o=false,defaultExpanded:n,onExpandedChange:i,onHeaderButtonClick:r,className:s,children:a,...l},m)=>{let c=useMemo(()=>({state:e,stepNumber:t,expandable:o,onHeaderButtonClick:r}),[e,t,o,r]),d=useCallback(f=>{i?.(f.open);},[i]);return jsx(qt.Provider,{value:c,children:jsx(Mr,{state:e,children:o?jsx(Collapsible.Root,{ref:m,defaultOpen:n??false,onOpenChange:d,className:a$2($t,s),...l,children:a}):jsx("div",{ref:m,className:a$2($t,s),...l,children:a})})})});Ar.displayName="TrackerItem";var wa=["sm","md","lg"],Ha=["semibold","medium"],Sa=["primary","neutral"],Dr=tv({slots:{root:"group relative inline-flex cursor-pointer items-center justify-center overflow-clip border border-solid bg-transparent transition-colors outline-none",label:"font-inter relative overflow-hidden text-center leading-[0] text-ellipsis whitespace-nowrap",icon:"mr-1.5 shrink-0",chevron:"ml-1.5 shrink-0 transition-transform duration-150 group-data-[state=open]:rotate-180",trailing:"ml-2 flex shrink-0 items-center justify-center"},variants:{size:{lg:{root:"h-10 min-h-10 rounded-md px-2 py-2",label:"text-sm leading-[142%]",icon:"size-4",chevron:"size-4"},md:{root:"h-8 min-h-8 rounded-md px-2 py-1",label:"text-sm leading-[142%]",icon:"size-4",chevron:"size-4"},sm:{root:"h-6 max-h-6 rounded-sm px-2 py-1",label:"text-xs leading-[134%]",icon:"size-3",chevron:"size-3"}},weight:{semibold:{label:"font-semibold"},medium:{label:"font-medium"}},tone:{primary:{root:"border-primary-600 text-primary-600 hover:bg-primary-100 focus-visible:ring-primary-800 aria-[pressed=true]:border-primary-700 aria-[pressed=true]:bg-primary-200 aria-[pressed=true]:text-primary-700 data-[state=open]:border-primary-700 data-[state=open]:bg-primary-200 data-[state=open]:text-primary-700 focus-visible:ring-3 focus-visible:ring-inset disabled:cursor-not-allowed disabled:border-neutral-600 disabled:bg-transparent disabled:text-neutral-600"},neutral:{root:"hover:bg-primary-100 aria-[pressed=true]:border-primary-700 aria-[pressed=true]:bg-primary-200 data-[state=open]:border-primary-700 data-[state=open]:bg-primary-200 border-neutral-800 text-neutral-800 focus-visible:ring-3 focus-visible:ring-neutral-800 focus-visible:ring-inset disabled:cursor-not-allowed disabled:border-neutral-500 disabled:bg-transparent disabled:text-neutral-500"}},loading:{true:{root:"!cursor-wait !border-neutral-600 !text-neutral-600"},false:{}}},defaultVariants:{size:"lg",weight:"semibold",tone:"primary",loading:false}}),Da=({className:e,label:t,badgeText:o="00",StartIcon:n,options:i,onSelect:r,isSelected:s=false,isLoading:a=false,isDisabled:l=false,hasTrailingBadge:m=false,size:c="lg",weight:d="semibold",tone:f="primary",type:u="button",...h})=>{let L=l||a,T=i.filter(({isHidden:y})=>!y),v=T.length>0,E=a,M=!!n&&!a,O=!a&&m,x=v&&!L,R=useCallback(y=>{r?.(y.value);},[r]),k=useCallback(y=>{y?.();},[]),{root:C,label:Q,icon:H,chevron:ee,trailing:F}=Dr({size:c,weight:d,tone:f,loading:E}),b=c,N=jsxs(Fragment,{children:[E&&jsx(c$5,{size:"sm",variant:"black",className:H()}),M&&n&&jsx(n,{className:H()}),jsx("span",{className:Q(),children:t}),O&&jsx(a$9,{type:"square",variant:"primary",size:b,text:o,className:F()}),x&&jsx(g,{className:ee()})]});return v?jsxs(MenuRoot,{onSelect:R,lazyMount:true,positioning:{placement:"bottom-start",flip:["bottom-end"]},children:[jsx(MenuTrigger,{...h,type:u,disabled:L,"aria-pressed":s,className:C({className:e}),children:N}),jsx(Portal,{children:jsx(MenuPositioner,{className:"z-(--z-button-active-options)",children:jsx(MenuContent,{className:cn("elevation-9 max-h-67.5 max-w-[calc(100vw-1rem)] min-w-max overflow-y-auto rounded-lg bg-neutral-50 py-1 outline-none",ke),children:T.map(({label:y,description:z,startIcon:V,endIcon:U,hasDivider:P,isDisabled:X,onClick:I})=>jsx(MenuItem,{value:y,disabled:X,onSelect:()=>k(I),asChild:true,className:"flex items-center",children:jsx(re,{title:y,description:z,startIcon:V,endIcon:U,disabled:X,hasDivider:P,className:"data-highlighted:bg-primary-100 outline-none [&_p]:break-normal"})},y))})})})]}):jsx("button",{...h,type:u,disabled:L,"aria-pressed":s,className:C({className:e}),children:N})};var Fr=({children:e,hasDescription:t=false,disabled:o=false,hasDivider:n=false,className:i,isSelected:r,onClick:s,...a})=>jsxs(Fragment,{children:[jsx("div",{className:a$2("flex flex-row px-3 py-4 text-neutral-900 transition-colors",t?"py-3":"py-3.5",o?"cursor-not-allowed text-neutral-400":a$2("hover:bg-primary-100 focus:bg-primary-200",!!s?"cursor-pointer":"cursor-default"),r&&"bg-primary-200",i),onClick:m=>{o||s?.(m);},...a,children:e}),n&&jsx(a$1,{})]}),W=Fr;var hm=({children:e,title:t,titleLines:o,description:n="",descriptionLines:i,startIcon:r,badgeContent:s,hasDivider:a=false,disabled:l=false,onSelect:m,className:c,...d})=>jsxs(W,{hasDescription:!!n,disabled:l,onClick:m,hasDivider:a,className:a$2(!l&&"cursor-pointer",c),...d,children:[r&&Be.cloneElement(r,{className:"shrink-0 mr-2 h-4.5 w-4.5"}),jsx(Z,{title:t,titleLines:o,description:n,descriptionLines:i,disabled:l}),jsxs("div",{className:"ml-4 flex gap-2",children:[s&&jsx(a$3,{content:s,size:"lg",variant:"alert",className:a$2("self-center",l&&"bg-neutral-400")}),jsx(h,{className:"h-4.5 w-4.5 self-center"})]})]});export{ni as a,hm as b,Lt as c,ys as d,Hs as e,Ws as f,Ue as g,$e as h,le as i,je as j,Ke as k,ar as l,Tr as m,Rr as n,yr as o,Ir as p,Ar as q,wa as r,Ha as s,Sa as t,Da as u,re as v,ea as w,ta as x,Ut as y};
1
+ import {a as a$5}from'./chunk-LU2N5UJD.js';import {c as c$5}from'./chunk-XPR5NR6A.js';import {d}from'./chunk-3Q4SUKIS.js';import {a as a$8}from'./chunk-GFVJRSZI.js';import {a as a$4}from'./chunk-VFP3D5WF.js';import {b}from'./chunk-JB6QLQCK.js';import {c as c$4}from'./chunk-JYNJHAGL.js';import {a as a$6}from'./chunk-UIZFLYFP.js';import {a}from'./chunk-2IBP2IXU.js';import {a as a$9}from'./chunk-SKMTTF6M.js';import {d as d$1}from'./chunk-MP4CHZ2K.js';import {a as a$3}from'./chunk-R6NIURLZ.js';import {a as a$1}from'./chunk-4CM257A2.js';import {c as c$2}from'./chunk-WQPZV6HK.js';import {c}from'./chunk-55Z77FLU.js';import {c as c$3,a as a$7}from'./chunk-5EP3PIED.js';import {c as c$1,s,t,h,g}from'./chunk-QNQELNVU.js';import {a as a$2}from'./chunk-OBZIYJO7.js';import Be,{createContext,useMemo,useCallback,forwardRef,useRef,useContext,useEffect,useId,useState}from'react';import*as dt from'@radix-ui/react-portal';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {LexicalComposer}from'@lexical/react/LexicalComposer';import {RichTextPlugin}from'@lexical/react/LexicalRichTextPlugin';import {ContentEditable}from'@lexical/react/LexicalContentEditable';import {HistoryPlugin}from'@lexical/react/LexicalHistoryPlugin';import {ListPlugin}from'@lexical/react/LexicalListPlugin';import {AutoFocusPlugin}from'@lexical/react/LexicalAutoFocusPlugin';import {OnChangePlugin}from'@lexical/react/LexicalOnChangePlugin';import {LexicalErrorBoundary}from'@lexical/react/LexicalErrorBoundary';import {HeadingNode,$isHeadingNode,$createHeadingNode}from'@lexical/rich-text';import {ListNode,ListItemNode,$isListNode,REMOVE_LIST_COMMAND,INSERT_UNORDERED_LIST_COMMAND,INSERT_ORDERED_LIST_COMMAND}from'@lexical/list';import {useLexicalComposerContext}from'@lexical/react/LexicalComposerContext';import {$generateHtmlFromNodes,$generateNodesFromDOM}from'@lexical/html';import {$getSelection,$isRangeSelection,$isElementNode,SELECTION_CHANGE_COMMAND,CAN_UNDO_COMMAND,CAN_REDO_COMMAND,UNDO_COMMAND,REDO_COMMAND,OUTDENT_CONTENT_COMMAND,INDENT_CONTENT_COMMAND,FORMAT_ELEMENT_COMMAND,$createParagraphNode,FORMAT_TEXT_COMMAND,$getRoot,$insertNodes}from'lexical';import {$setBlocksType}from'@lexical/selection';import {$findMatchingParent,mergeRegister}from'@lexical/utils';import {AlignJustifyIcon,AlignRightIcon,AlignCenterIcon,AlignLeftIcon,UnderlineIcon,ItalicIcon,BoldIcon,UndoIcon,RedoIcon,ListIcon,ListOrderedIcon,IndentDecreaseIcon,IndentIncreaseIcon}from'lucide-react';import {Collapsible}from'@ark-ui/react/collapsible';import {MenuRoot,MenuTrigger,MenuPositioner,MenuContent,MenuItem}from'@ark-ui/react/menu';import {Portal}from'@ark-ui/react/portal';import {tv,cn}from'tailwind-variants';var Yt=Be.memo(({handleSelect:e,NoResultsIcon:t,noResultsLabel:o,noResultsDescription:n,noResultsDescriptionLines:i,noResultsAsColumn:r,noResultsButtonOnClick:s,optionDescriptionLines:a$3,noResultsButtonLabel:l,filteredOptions:m,inputRect:c$1,inputRef:d,popoverPosition:f,optionsListRef:u,selectedOption:h,options:L,setFilteredOptions:T})=>jsx(dt.Root,{asChild:true,children:jsxs("div",{ref:u,className:"elevation-8 pointer-events-auto fixed z-50 mb-2 hidden max-h-[336px] w-full flex-col overflow-y-auto rounded-lg bg-neutral-50",style:c$1?{width:`${c$1.width}px`,left:c$1.left,top:f==="bottom"?`${c$1.bottom}px`:void 0,bottom:f==="top"?`${window.innerHeight-c$1.top}px`:void 0}:void 0,children:[m.length===0&&jsxs("div",{className:"elevation-8 flex max-h-88 flex-1 flex-col justify-center rounded-lg bg-neutral-50",children:[jsx(a,{title:o,description:n,Icon:t,iconAsColumn:r,descriptionLines:i}),s&&jsxs(Fragment,{children:[jsx(a$1,{}),jsx(c,{variant:"ghost",className:"my-3 w-fit self-center",onClick:()=>{u.current.style.display="none",d.current.value="",T(L),s();},children:l})]})]}),m.map(v=>jsx(re,{title:v.label,disabled:v.disabled,description:v.description,descriptionLines:a$3,onClick:()=>e(v),className:a$2(h?.value===v.value&&"bg-primary-200")},v.key??v.value))]})})),ft=Yt;var Zt=336,ni=({options:e,defaultSelectedOption:t,onSelect:o,onClick:n,onInputChange:i,error:r,helperText:s,label:a,placeholder:l,value:m,size:c="md",optionDescriptionLines:d=1,noResultsLabel:f,noResultsIcon:u,noResultsDescription:h,noResultsDescriptionLines:L,noResultsAsColumn:T,noResultsButtonOnClick:v,noResultsButtonLabel:E,className:M,disabled:O})=>{let[x,R]=useState(t??null),k=useRef(null),C=useRef(null),[Q,H]=useState(),[ee,F]=useState([]),[b,N]=useState("bottom"),[y,z]=useState(),V=Zt,U=useCallback(I=>{k.current.style.display="none",C.current.value=I.label,R(I),o?.(I);},[o]),P=useCallback(()=>{if(!C?.current)return;let I=C.current.getBoundingClientRect();H(I);let $=y?y.height:V,_=window.innerHeight-I.bottom>$,Ce=I.top>$;N(_?"bottom":Ce?"top":"bottom");},[y?.height]),X=useCallback(()=>{let I=e.filter($=>$.label.toLowerCase().includes(C?.current?.value.toLowerCase()??""));if(F(I),k?.current){let $=k.current.getBoundingClientRect();z($);}},[e]);return useEffect(()=>{F(e);},[e]),useEffect(()=>{if(!m){R(null),C.current&&(C.current.value="");return}(!C.current?.value||x?.value!==m.value)&&(R(m),C.current.value=m.label);},[m]),a$8(k,()=>{k.current.style.display="none",x&&C.current&&(C.current.value=x.label);}),useEffect(()=>{if(C?.current)return P(),C.current.addEventListener("mousedown",P),C.current.addEventListener("input",X),window.addEventListener("scroll",P,true),window.addEventListener("resize",P),()=>{C.current?.removeEventListener("mousedown",P),C.current?.removeEventListener("input",X),window.removeEventListener("scroll",P,true),window.removeEventListener("resize",P);}},[P,X]),jsxs("div",{className:a$2("relative",M),children:[jsx(a$4,{ref:C,autoComplete:"off",list:"",selectMode:true,onChange:I=>{I.target.value||(R(null),o?.(null)),i?.(I);},onClean:()=>{R(null),F(e),o?.(null);},onClick:I=>{k.current.style.display="flex",n?.(I);},onBlur:()=>{x&&C.current&&(C.current.value=x.label);},label:a,helperText:s,placeholder:l,size:c,error:r,disabled:O}),jsx(ft,{handleSelect:U,noResultsLabel:f,NoResultsIcon:u,optionDescriptionLines:d,noResultsAsColumn:T,noResultsButtonLabel:E,noResultsButtonOnClick:v,noResultsDescription:h,noResultsDescriptionLines:L,filteredOptions:ee,inputRect:Q,inputRef:C,popoverPosition:b,optionsListRef:k,selectedOption:x,options:e,setFilteredOptions:F})]})};var to=({children:e,title:t,titleLines:o,description:n="",descriptionLines:i,disabled:r=false,className:s,...a})=>jsxs("div",{className:a$2("flex w-full flex-col gap-1",s),...a,children:[jsx("p",{className:a$2("text-sm leading-[130%] break-all",!!n&&"font-medium"),style:o?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:o}:void 0,children:t}),n&&jsx("p",{className:a$2("text-xs leading-[130%]",r?"text-neutral-400":"text-neutral-700"),style:i?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:i}:void 0,children:n})]}),Z=to;var re=({children:e,title:t,titleLines:o,description:n="",descriptionLines:i,startIcon:r,endIcon:s,hasDivider:a=false,disabled:l=false,isSelected:m=false,className:c,...d})=>jsxs(W,{hasDescription:!!n,disabled:l,hasDivider:a,className:c,isSelected:m,...d,children:[r&&Be.cloneElement(r,{className:"shrink-0 mr-2 h-4.5 w-4.5"}),jsx(Z,{title:t,titleLines:o,description:n,descriptionLines:i,disabled:l}),s&&Be.cloneElement(s,{className:"min-h-4.5 min-w-4.5 self-center ml-4"})]});var Lt=({children:e,title:t,titleLines:o=1,description:n="",descriptionLines:i,startIcon:r,hasDivider:s=false,disabled:a=false,checked:l,onCheckedChange:m,className:c,...d})=>jsxs(W,{hasDescription:!!n,disabled:a,hasDivider:s,...d,className:a$2("pr-6",c),children:[r&&Be.cloneElement(r,{className:"shrink-0 w-4.5 h-4.5 mr-2"}),jsx(Z,{title:t,titleLines:o,description:n,descriptionLines:i,disabled:a}),jsx(b,{checked:l,onCheckedChange:m,className:"ml-4 self-center",disabled:a})]});var j=336,Tt=createContext({inputRef:null,optionsListRef:null,autocompleteId:"",inputRect:void 0,showChips:false,filteredOptions:[],currentFocus:-1,popoverPosition:"bottom",setFilteredOptions:()=>{},setCurrentFocus:()=>{},setShowChips:()=>{},setPopoverPosition:()=>{},setInputRect:()=>{},optionsListHeight:j,setOptionsListHeight:()=>{},optionsListRect:void 0,setOptionsListRect:()=>{}}),G=()=>{let e=useContext(Tt);if(e===null)throw new Error("useAutocompleteMultipleContext must be used within a AutocompleteMultipleProvider");return e},Mt=({children:e})=>{let t=useRef(null),o=useRef(null),n=useId(),[i,r]=useState(),[s,a]=useState(true),[l,m]=useState([]),[c,d]=useState(-1),[f,u]=useState("bottom"),[h,L]=useState(),[T,v]=useState(j);return jsx(Tt.Provider,{value:{optionsListRef:t,inputRef:o,autocompleteId:n,inputRect:i,showChips:s,filteredOptions:l,currentFocus:c,popoverPosition:f,setFilteredOptions:m,setCurrentFocus:d,setShowChips:a,setPopoverPosition:u,setInputRect:r,optionsListHeight:T,optionsListRect:h,setOptionsListRect:L,setOptionsListHeight:v},children:e})};var fo=({option:e,onMountWidth:t,size:o})=>{let n=useRef(null);return useEffect(()=>{n.current&&t?.(n.current.clientWidth);},[]),jsx(d,{type:"fill",variant:"standard",ref:n,className:"shrink-0",size:o==="md"?"xs":"sm",hasCloseIcon:false,children:e.label})},Rt=fo;var xo=150,vo=Be.memo(({selectedOptions:e,error:t,onCleanSelectedOptions:o,disabled:n,size:i})=>{let{autocompleteId:r,inputRect:s,inputRef:a,optionsListRef:l}=G(),m=Be.useRef(null),[c,d]=Be.useState(new Map),f=useMemo(()=>{if(!s?.width)return [];let h=0,L=s.width-xo,T=0;for(let v=0;v<e.length&&(T+=c.get(v)??0,!(T>L));v++)h++;return e.slice(0,h)},[s?.width,e,c]),u=useCallback(()=>{n||(a?.current?.focus(),l.current.style.display="flex");},[n]);return jsxs("div",{onClick:u,className:a$2("absolute top-0 z-30 flex w-full cursor-pointer flex-nowrap items-center gap-2 pr-12 pl-3",n&&"cursor-not-allowed"),style:{maxWidth:s?.width?s?.width:void 0,height:s?.height?s?.height:void 0},children:[jsx("div",{className:"flex flex-1 gap-1 overflow-hidden",ref:m,children:f.map((h,L)=>jsx(Rt,{option:h,onMountWidth:T=>d(v=>new Map(v).set(L,T)),size:i},`chip-input-${r}-${h.value}`))}),e.length>f.length&&jsx("span",{className:"text-base",children:"..."}),e.length>0&&!t&&jsx(a$3,{content:String(e.length),size:i}),t&&e.length>0&&jsx(c$1,{className:"text-error-700 h-6 w-6",onClick:h=>{h.stopPropagation(),o();}})]})}),yt=vo;var To=Be.memo(({option:e,index:t,onPressOption:o,isSelected:n,optionDescriptionLines:i})=>{let{currentFocus:r,inputRef:s}=G();return jsx(Lt,{title:e.label,checked:n,disabled:e.disabled,className:r===t?"bg-primary-200":void 0,onMouseDown:a=>{e.disabled||(s?.current?.value&&a.preventDefault(),o?.(e,a));},description:e.description,descriptionLines:i})}),Fe=To;var Ao=Be.memo(({selectedOptions:e,handleSelect:t,NoResultsIcon:o,noResultsLabel:n,noResultsDescription:i,noResultsDescriptionLines:r,noResultsAsColumn:s,noResultsButtonOnClick:a$2,optionDescriptionLines:l,noResultsButtonLabel:m})=>{let{popoverPosition:c$1,optionsListRef:d,filteredOptions:f,inputRect:u,autocompleteId:h,inputRef:L,optionsListHeight:T}=G(),v=useCallback(M=>e.some(O=>O.value===M.value),[e]),E=useMemo(()=>e.filter(M=>M.label.toLowerCase().includes(L?.current?.value.toLowerCase()??"")),[e,L?.current?.value]);return jsx(dt.Root,{asChild:true,children:jsxs("div",{ref:d,className:"elevation-8 pointer-events-auto fixed z-50 mb-2 hidden w-full flex-col overflow-y-auto rounded-lg bg-neutral-50",style:u?{width:`${u.width}px`,left:u.left,top:c$1==="bottom"?`${u.bottom}px`:void 0,bottom:c$1==="top"?`${window.innerHeight-u.top}px`:void 0,maxHeight:T+"px"}:void 0,children:[f.length===0&&jsxs("div",{className:"elevation-8 flex max-h-88 flex-1 flex-col justify-center rounded-lg bg-neutral-50",children:[jsx(a,{title:n,description:i,Icon:o,iconAsColumn:s,descriptionLines:r}),a$2&&jsxs(Fragment,{children:[jsx(a$1,{}),jsx(c,{variant:"ghost",className:"my-3 w-fit self-center",onClick:()=>{d.current.style.display="none",L.current.value="",a$2();},children:m})]})]}),E.map((M,O)=>jsx(Fe,{option:M,index:O,onPressOption:x=>t(x),isSelected:v(M),optionDescriptionLines:l},`autocomplete-option-${h}-${M.key??M.value}`)),f.map((M,O)=>!e.some(x=>x.value===M.value)&&jsx(Fe,{option:M,index:O,onPressOption:x=>t(x),isSelected:v(M),optionDescriptionLines:l},`autocomplete-option-${h}-${M.key??M.value}`))]})})}),At=Ao;var Oo=Be.memo(({selectedOptions:e,onSelect:t,error:o,helperText:n,label:i,placeholder:r,options:s,onInputChange:a,size:l,disabled:m})=>{let{setCurrentFocus:c,setFilteredOptions:d,optionsListRef:f,inputRef:u}=G();return jsx(a$4,{ref:u,autoComplete:"off",list:"",disabled:m,selectMode:true,onChange:h=>{c(-1),a?.(h.target.value);},onClean:()=>{c(-1),d(s),t?.(null,e);},onClick:()=>{m||(f.current.style.display="flex");},error:o,helperText:n,label:i,placeholder:r,fixedTopLabel:e.length>0,size:l})}),Et=Oo;var Nt=({options:e,defaultSelectedOptions:t,onSelect:o,error:n,helperText:i,label:r,placeholder:s,noResultsLabel:a,noResultsIcon:l,noResultsDescription:m,noResultsDescriptionLines:c,noResultsAsColumn:d,noResultsButtonOnClick:f,noResultsButtonLabel:u,className:h,onInputChange:L,value:T,loading:v,size:E="md",optionDescriptionLines:M=1,disabled:O})=>{let{inputRef:x,optionsListRef:R,setFilteredOptions:k,setShowChips:C,setInputRect:Q,setPopoverPosition:H,setCurrentFocus:ee,showChips:F,setOptionsListRect:b,optionsListRect:N,setOptionsListHeight:y}=G(),z=useRef(false),[V,U]=useState(t??[]),P=useCallback(S=>{U(q=>{let Y,pe=q.findIndex(Kt=>Kt.value===S.value);return pe===-1?(Y=q.concat(S),o?.(S,Y),Y):(Y=q.toSpliced(pe,1),o?.(S,Y),Y)});},[o]),X=useCallback(()=>{U([]),k(e),o?.(null,[]);},[]),I=useCallback(()=>{C(false);},[]),$=useCallback(()=>{C(true);},[]),_=useCallback(()=>{if(!x?.current)return;let S=x.current.getBoundingClientRect();Q(S);let q=N?N.height>j?j:N.height:j,Y=window.innerHeight-S.bottom>q,pe=S.top>q;H(Y?"bottom":pe?"top":"bottom"),y(pe?j:window.innerHeight-S.bottom>j?j:window.innerHeight-S.bottom);},[N?.height]),Ce=useCallback(()=>{let S=e.filter(q=>q.label.toLowerCase().includes(x?.current?.value.toLowerCase()??""));if(k(S),R?.current){let q=R.current.getBoundingClientRect();b(q);}},[e,R?.current]);return useEffect(()=>{k(e);},[e]),a$8(R,()=>{R.current.style.display="none",ee(-1);}),useEffect(()=>{if(x?.current)return _(),x.current.addEventListener("mousedown",_),x.current.addEventListener("input",Ce),x.current.addEventListener("focusin",I),x.current.addEventListener("focusout",$),window.addEventListener("scroll",_,true),window.addEventListener("resize",_),()=>{x.current?.removeEventListener("mousedown",_),x.current?.removeEventListener("input",_),x.current?.removeEventListener("focusout",$),x.current?.removeEventListener("focusin",I),window.removeEventListener("scroll",_,true),window.removeEventListener("resize",_);}},[_,$,I,Ce]),useEffect(()=>{T&&(U(T),C(true));},[T]),useEffect(()=>{v||t&&t.length&&!z.current&&(U(t),z.current=true,C(true));},[t,v]),jsxs("div",{className:a$2("relative",h),children:[jsx(Et,{selectedOptions:V,onSelect:o,error:n,helperText:i,label:r,placeholder:s,handleSelect:P,options:e,onInputChange:L,size:E,disabled:O}),F&&jsx(yt,{selectedOptions:V,disabled:O,error:n,onCleanSelectedOptions:X,size:E}),jsx(At,{handleSelect:P,selectedOptions:V,noResultsLabel:a,NoResultsIcon:l,optionDescriptionLines:M,noResultsAsColumn:d,noResultsButtonLabel:u,noResultsButtonOnClick:f,noResultsDescription:m,noResultsDescriptionLines:c})]})};var ys=e=>jsx(Mt,{children:jsx(Nt,{...e})});var Hs=({children:e,title:t,titleLines:o=1,description:n,descriptionLines:i=1,StartIcon:r,hasDivider:s=false,disabled:a=false,actionButton:l,isSelected:m=false,className:c$1,...d})=>jsxs(W,{hasDescription:!!n,disabled:a,hasDivider:s,isSelected:m,...d,className:c$1,children:[r&&jsx(r,{className:"mr-2 h-4.5 w-4.5 shrink-0 grow-0"}),jsx(Z,{title:t,titleLines:o,description:n,descriptionLines:i,disabled:a}),l&&jsx(Fragment,{children:l.isIcon?jsx(c$2,{...l,className:"ml-4 self-center",variant:"ghost",size:"sm",disabled:a??l.disabled}):jsx(c,{...l,className:"ml-4 self-center",size:"sm",variant:"ghost",disabled:a??l.disabled})})]});var Ws=({title:e,description:t="",descriptionLines:o,hasDivider:n=false,disabled:i=false,checked:r,onCheckedChange:s,className:a,chipStatus:l,chipExpandable:m,...c})=>jsxs(W,{hasDescription:!!t,disabled:i,hasDivider:n,...c,className:a$2("pr-6",a),children:[jsx(b,{checked:r,onCheckedChange:s,className:"mr-4 self-center",disabled:i}),jsxs("div",{className:"flex-1",children:[jsxs("div",{className:"flex items-center justify-between gap-2",children:[jsx("p",{className:a$2("line-clamp-1 text-sm leading-[130%] break-all",!!t&&"font-medium"),children:e}),m&&jsx("div",{className:"ml-auto flex min-w-0 flex-shrink-0 items-center justify-end",children:jsx(c$4,{...m})}),l&&jsx("div",{className:"ml-4 flex shrink-0 items-center gap-1",children:jsx(d$1,{...l,size:"xs",className:"shrink-0"})})]}),t&&jsx("p",{className:a$2("text-xs leading-[130%]",i?"text-neutral-400":"text-neutral-700",{"line-clamp-1":o===1,"line-clamp-2":o===2,"line-clamp-3":o===3,"line-clamp-4":o===4}),children:t})]})]});var Ue={paragraph:"m-0",ltr:"text-left",rtl:"text-right",heading:{h1:"mb-2 text-2xl leading-[130%] font-semibold text-neutral-900",h2:"mb-2 text-xl leading-[130%] font-semibold text-neutral-900",h3:"mb-2 text-lg leading-[130%] font-semibold text-neutral-900",h4:"mb-2 text-base leading-[130%] font-semibold text-neutral-900",h5:"mb-2 text-sm leading-[130%] font-semibold text-neutral-900",h6:"mb-2 text-xs leading-[130%] font-semibold text-neutral-900"},list:{ul:"my-2 list-disc pl-5",ol:"my-2 list-decimal pl-5",listitem:"my-1",nested:{listitem:"my-1"}},text:{bold:"font-semibold",italic:"italic",underline:"underline",strikethrough:"line-through",code:"rounded bg-neutral-100 px-1 py-0.5 font-mono text-xs"},code:"rounded bg-neutral-100 p-2 font-mono text-xs",quote:"border-l-2 border-neutral-300 pl-3 italic text-neutral-700",link:"text-primary-700 underline hover:text-primary-800"},$e={headings:["h1","h2","h3"],textFormat:["bold","italic","underline"],lists:true,indent:true,alignment:["left","center","right","justify"],undoRedo:true};var qe=({readOnly:e})=>{let[t]=useLexicalComposerContext();return useEffect(()=>{t.setEditable(!e);},[t,e]),null};var We=({editorRef:e})=>{let[t]=useLexicalComposerContext();return useEffect(()=>(e.current=t,()=>{e.current===t&&(e.current=null);}),[t,e]),null};var Vo={"ql-align-left":"left","ql-align-center":"center","ql-align-right":"right","ql-align-justify":"justify"},Uo={center:"ql-align-center",right:"ql-align-right",justify:"ql-align-justify"},$o=()=>typeof window<"u"&&typeof window.DOMParser<"u",kt=e=>$o()?new DOMParser().parseFromString(e,"text/html"):null,qo=e=>(e??"").replace(/\s+/g," ").trim(),Qe=e=>{let t=0;for(let o of Array.from(e.classList)){let n=o.match(/^ql-indent-(\d+)$/);if(!n)continue;let i=Number.parseInt(n[1],10);Number.isFinite(i)&&(t=Math.max(t,i)),e.classList.remove(o);}return t},Wo=e=>{let t=e.querySelectorAll("[class*='ql-align-']");for(let o of Array.from(t))for(let n of Array.from(o.classList)){let i=Vo[n];i&&(i!=="left"&&(o.style.textAlign=i),o.classList.remove(n));}},Go=e=>{let t=e.querySelectorAll("[class*='ql-indent-']");for(let o of Array.from(t)){if(o.tagName==="LI")continue;let n=Qe(o);n>0&&(o.style.paddingInlineStart=`${n*3}em`);}},Qo=(e,t)=>{let o=e.getAttribute("data-list");return o==="bullet"?"ul":o==="ordered"?"ol":t},jo=e=>{let t=e.cloneNode(true);return t.removeAttribute("data-list"),t.removeAttribute("data-checked"),t.removeAttribute("data-indent"),Qe(t),t},Ge=(e,t)=>e.createElement(t),Ko=(e,t)=>{let o=Array.from(e.children).filter(l=>l.tagName==="LI");if(o.length===0||!o.some(l=>l.hasAttribute("data-list")?true:Array.from(l.classList).some(m=>/^ql-indent-\d+$/.test(m))))return;let i=[],r=[],s=e.tagName==="UL"?"ul":"ol";for(let l of o){let m=Qe(l),c=Qo(l,s),d=jo(l);for(;r.length>0&&r[r.length-1].level>m;)r.pop();if(r.length===0){let u=Ge(t,c);i.push(u),r.push({level:0,kind:c,listElement:u});}let f=r[r.length-1];for(;f.level<m;){let u=f.listElement.lastElementChild;if(!u||u.tagName!=="LI")break;let h=Ge(t,c);u.appendChild(h),f={level:f.level+1,kind:c,listElement:h},r.push(f);}if(f=r[r.length-1],f.kind!==c){let u=Ge(t,c);if(r.length===1)i.push(u),r[0]={level:0,kind:c,listElement:u};else {let L=r[r.length-2].listElement.lastElementChild;L&&L.tagName==="LI"?(L.appendChild(u),r[r.length-1]={level:f.level,kind:c,listElement:u}):(i.push(u),r.length=1,r[0]={level:0,kind:c,listElement:u});}f=r[r.length-1];}f.listElement.appendChild(d);}if(i.length===0)return;let a=t.createDocumentFragment();for(let l of i)a.appendChild(l);e.replaceWith(a);},Xo=(e,t)=>{let o=Array.from(e.querySelectorAll("ol, ul"));for(let n of o)Ko(n,t);},Pt=(e,t)=>{let o=e.tagName==="UL"?"bullet":"ordered",n=Array.from(e.children).filter(i=>i.tagName==="LI");for(let i of n){i.setAttribute("data-list",o);for(let s of Array.from(i.classList))/^ql-indent-\d+$/.test(s)&&i.classList.remove(s);t>0&&i.classList.add(`ql-indent-${t}`);let r=Array.from(i.children).filter(s=>s.tagName==="UL"||s.tagName==="OL");for(let s of r)Pt(s,t+1);}},Yo=e=>{let t=e.querySelectorAll("p, h1, h2, h3, h4, h5, h6, li");for(let o of Array.from(t)){let n=o;for(let s of Array.from(n.classList))s.startsWith("ql-align-")&&n.classList.remove(s);let i=n.style.textAlign.trim().toLowerCase(),r=Uo[i];r&&n.classList.add(r);}},le=e=>qo(e).replace(/>\s+</g,"><").replace(/&nbsp;/g," "),je=e=>{let t=e??"";if(!t.trim())return "";let o=kt(t);if(!o)return t;let{body:n}=o;return Wo(n),Go(n),Xo(n,o),n.innerHTML},Ke=e=>{if(!e.trim())return "";let t=kt(e);if(!t)return e;let{body:o}=t,n=Array.from(o.querySelectorAll("ul, ol"));for(let i of n)Pt(i,0);return Yo(o),o.innerHTML};var Oe=e=>{let t="";return e.getEditorState().read(()=>{t=$generateHtmlFromNodes(e,null);}),Ke(t)},sn=(e,t)=>{let o=je(t);e.update(()=>{let n=$getRoot();if(n.clear(),!o.trim()){n.append($createParagraphNode());return}let r=new DOMParser().parseFromString(o,"text/html"),s=$generateNodesFromDOM(e,r);if(s.length===0){n.append($createParagraphNode());return}n.select(),$insertNodes(s);});},Xe=({value:e,isSyncingRef:t})=>{let[o]=useLexicalComposerContext(),n=useRef(null);return useEffect(()=>{let i=e??"";if(n.current!==null&&le(i)===le(n.current))return;let r=Oe(o);le(r)!==le(i)&&(t.current=true,sn(o,i),queueMicrotask(()=>{t.current=false;})),n.current=i;},[o,t,e]),null};var Ht=["left","center","right","justify"];var St=["bold","italic","underline","strikethrough","code"];var Un={bold:"bold",italic:"italic",underline:"underline",strikethrough:"strikethrough",code:"code"},$n={left:jsx(AlignLeftIcon,{className:"size-4"}),center:jsx(AlignCenterIcon,{className:"size-4"}),right:jsx(AlignRightIcon,{className:"size-4"}),justify:jsx(AlignJustifyIcon,{className:"size-4"})},qn={left:"Align left",center:"Align center",right:"Align right",justify:"Align justify"},he={bold:jsx(BoldIcon,{className:"size-4"}),italic:jsx(ItalicIcon,{className:"size-4"}),underline:jsx(UnderlineIcon,{className:"size-4"}),strikethrough:jsx("span",{className:"text-xs font-semibold",children:"S"}),code:jsx("span",{className:"font-mono text-xs",children:"</>"})},xe={bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",code:"Inline code"},Wn=e=>{let t=e.textFormat;return t===false?[]:Array.isArray(t)?St.filter(o=>t.includes(o)):["bold","italic","underline"]},Gn=e=>{let t=e.alignment;return t===false?[]:Array.isArray(t)?Ht.filter(o=>t.includes(o)):["left","center","right","justify"]},Qn=e=>{if(e.headings===false)return [];let t=Array.isArray(e.headings)?e.headings:["h1","h2","h3"];return [{value:"paragraph",label:"Normal"},...t.map(o=>({value:o,label:o.toUpperCase()}))]},ve=()=>jsx("div",{className:"mx-1 h-5 w-px bg-neutral-300"}),D=({label:e,onClick:t,icon:o,active:n=false,disabled:i=false})=>jsx("button",{type:"button","aria-label":e,title:e,disabled:i,onClick:t,className:a$2("inline-flex size-8 items-center justify-center rounded-md border border-transparent text-neutral-700 transition-colors","focus-visible:ring-primary-800 hover:bg-neutral-200 focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:outline-none","disabled:cursor-not-allowed disabled:opacity-40",n&&"border-neutral-300 bg-neutral-200 text-neutral-900"),children:o}),Ze=({config:e,className:t})=>{let[o]=useLexicalComposerContext(),n=useId(),[i,r]=useState(false),[s,a]=useState(false),[l,m]=useState(false),[c,d]=useState(false),[f,u]=useState(false),[h,L]=useState(false),[T,v]=useState(false),[E,M]=useState("paragraph"),[O,x]=useState("left"),R=useMemo(()=>Wn(e),[e]),k=useMemo(()=>Gn(e),[e]),C=useMemo(()=>Qn(e),[e]),Q=useCallback(()=>{let b=$getSelection();if(!$isRangeSelection(b))return;m(b.hasFormat("bold")),d(b.hasFormat("italic")),u(b.hasFormat("underline")),L(b.hasFormat("strikethrough")),v(b.hasFormat("code"));let N=b.anchor.getNode(),y=N.getKey()==="root"?N:N.getTopLevelElementOrThrow();if($isListNode(y))M(y.getListType()==="number"?"ol":"ul");else {let V=$findMatchingParent(y,U=>$isListNode(U));$isListNode(V)?M(V.getListType()==="number"?"ol":"ul"):M($isHeadingNode(y)?y.getTag():y.getType());}let z=$isElementNode(y)?y.getFormatType():"";x(z==="center"||z==="right"||z==="justify"?z:"left");},[]);useEffect(()=>mergeRegister(o.registerUpdateListener(({editorState:b})=>{b.read(()=>{Q();});}),o.registerCommand(SELECTION_CHANGE_COMMAND,()=>(Q(),false),1),o.registerCommand(CAN_UNDO_COMMAND,b=>(r(b),false),1),o.registerCommand(CAN_REDO_COMMAND,b=>(a(b),false),1)),[o,Q]);let H=b=>{o.dispatchCommand(FORMAT_TEXT_COMMAND,Un[b]);},ee=b=>{o.update(()=>{let N=$getSelection();if($isRangeSelection(N)){if(b==="paragraph"){$setBlocksType(N,()=>$createParagraphNode());return}$setBlocksType(N,()=>$createHeadingNode(b));}});},F=b=>{if(E===(b==="bullet"?"ul":"ol")){o.dispatchCommand(REMOVE_LIST_COMMAND,void 0);return}o.dispatchCommand(b==="bullet"?INSERT_UNORDERED_LIST_COMMAND:INSERT_ORDERED_LIST_COMMAND,void 0);};return jsxs("div",{className:a$2("flex flex-wrap items-center gap-1 border-b border-neutral-300 bg-neutral-100 px-2 py-1.5",t),children:[e.undoRedo!==false&&jsxs(Fragment,{children:[jsx(D,{label:"Undo",onClick:()=>o.dispatchCommand(UNDO_COMMAND,void 0),disabled:!i,icon:jsx(UndoIcon,{className:"size-4"})}),jsx(D,{label:"Redo",onClick:()=>o.dispatchCommand(REDO_COMMAND,void 0),disabled:!s,icon:jsx(RedoIcon,{className:"size-4"})}),jsx(ve,{})]}),C.length>0&&jsxs(Fragment,{children:[jsx("label",{className:"sr-only",htmlFor:n,children:"Text style"}),jsx("select",{id:n,value:E.startsWith("h")?E:"paragraph",onChange:b=>ee(b.target.value),className:a$2("h-8 rounded-md border border-neutral-300 bg-white px-2 text-xs font-medium text-neutral-800","focus-visible:ring-primary-800 focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:outline-none"),children:C.map(b=>jsx("option",{value:b.value,children:b.label},b.value))}),jsx(ve,{})]}),R.length>0&&jsxs(Fragment,{children:[R.includes("bold")&&jsx(D,{label:xe.bold,onClick:()=>H("bold"),icon:he.bold,active:l}),R.includes("italic")&&jsx(D,{label:xe.italic,onClick:()=>H("italic"),icon:he.italic,active:c}),R.includes("underline")&&jsx(D,{label:xe.underline,onClick:()=>H("underline"),icon:he.underline,active:f}),R.includes("strikethrough")&&jsx(D,{label:xe.strikethrough,onClick:()=>H("strikethrough"),icon:he.strikethrough,active:h}),R.includes("code")&&jsx(D,{label:xe.code,onClick:()=>H("code"),icon:he.code,active:T}),jsx(ve,{})]}),e.lists!==false&&jsxs(Fragment,{children:[jsx(D,{label:"Bulleted list",onClick:()=>F("bullet"),icon:jsx(ListIcon,{className:"size-4"}),active:E==="ul"}),jsx(D,{label:"Numbered list",onClick:()=>F("number"),icon:jsx(ListOrderedIcon,{className:"size-4"}),active:E==="ol"}),jsx(ve,{})]}),e.indent!==false&&jsxs(Fragment,{children:[jsx(D,{label:"Decrease indent",onClick:()=>o.dispatchCommand(OUTDENT_CONTENT_COMMAND,void 0),icon:jsx(IndentDecreaseIcon,{className:"size-4"})}),jsx(D,{label:"Increase indent",onClick:()=>o.dispatchCommand(INDENT_CONTENT_COMMAND,void 0),icon:jsx(IndentIncreaseIcon,{className:"size-4"})}),jsx(ve,{})]}),k.length>0&&jsx(Fragment,{children:k.map(b=>jsx(D,{label:qn[b],onClick:()=>o.dispatchCommand(FORMAT_ELEMENT_COMMAND,b),icon:$n[b],active:O===b},b))})]})};var zt=e=>{if(e!==void 0)return typeof e=="number"?`${e}px`:e},ar=forwardRef(({value:e,onChange:t,onBlur:o,onError:n,placeholder:i="Write your content...",readOnly:r=false,showToolbar:s=true,toolbarConfig:a=$e,className:l,editorClassName:m,toolbarClassName:c,autoFocus:d=false,minHeight:f=160,maxHeight:u,error:h=false,errorMessage:L,editorRef:T},v)=>{let E=useRef(false),M=useMemo(()=>({namespace:"SodtrackRichTextEditor",theme:Ue,onError:(x,R)=>{if(n){n(x,R);return}console.error("RichTextEditor error",x);},nodes:[HeadingNode,ListNode,ListItemNode]}),[n]),O={minHeight:zt(f),maxHeight:zt(u),overflowY:u?"auto":void 0};return jsx(LexicalComposer,{initialConfig:M,children:jsxs("div",{className:"w-full",children:[jsxs("div",{ref:v,className:a$2("group flex w-full flex-col overflow-hidden rounded-lg border bg-white transition-colors","focus-within:ring-primary-800 focus-within:ring-2 focus-within:ring-offset-0",h?"border-error-500 focus-within:border-error-500 focus-within:ring-error-500":"border-neutral-500",r&&"border-neutral-300 bg-neutral-50 focus-within:ring-0",l),"data-error":h,"data-readonly":r,children:[s&&!r&&jsx(Ze,{config:a,className:c}),jsx(RichTextPlugin,{contentEditable:jsx(ContentEditable,{className:a$2("relative w-full px-4 py-3 text-sm leading-[142%] text-neutral-900 outline-none","[&_h1]:mt-2 [&_h1]:mb-2 [&_h2]:mt-2 [&_h2]:mb-2 [&_h3]:mt-2 [&_h3]:mb-2","[&_li]:my-1 [&_ol]:my-2 [&_ul]:my-2","[&_a]:text-primary-700 [&_a]:underline",r&&"cursor-default",m),style:O,onBlur:o,"aria-invalid":h}),placeholder:r?null:jsx("div",{className:"pointer-events-none absolute top-3 left-4 text-sm text-neutral-500",children:i}),ErrorBoundary:LexicalErrorBoundary}),jsx(HistoryPlugin,{}),jsx(ListPlugin,{}),jsx(qe,{readOnly:r}),jsx(Xe,{value:e,isSyncingRef:E}),d&&!r&&jsx(AutoFocusPlugin,{}),T&&jsx(We,{editorRef:T}),jsx(OnChangePlugin,{ignoreSelectionChange:true,onChange:(x,R)=>{!t||E.current||t(Oe(R),x);}})]}),h&&L&&jsx("p",{className:"text-error-500 mt-1 text-xs leading-[133%]",children:L})]})})});ar.displayName="RichTextEditor";var ke="data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0 data-[state=open]:duration-150 data-[state=closed]:duration-100 data-[state=open]:ease-out data-[state=closed]:ease-in data-[state=open]:data-[side=bottom]:slide-in-from-top-1 data-[state=closed]:data-[side=bottom]:slide-out-to-top-1 data-[state=open]:data-[side=top]:slide-in-from-bottom-1 data-[state=closed]:data-[side=top]:slide-out-to-bottom-1 data-[state=open]:data-[side=left]:slide-in-from-right-1 data-[state=closed]:data-[side=left]:slide-out-to-right-1 data-[state=open]:data-[side=right]:slide-in-from-left-1 data-[state=closed]:data-[side=right]:slide-out-to-left-1 motion-reduce:data-[state=open]:animate-none motion-reduce:data-[state=closed]:animate-none";var ea=["sm","md","lg"],ta=a$7,gr={lg:"h-10 gap-2 px-4 text-sm leading-[142%] rounded-md",md:"h-8 gap-1 px-3 text-sm leading-[142%] rounded-md",sm:"h-6 gap-1 px-3 text-xs leading-[142%] rounded-sm"},hr={lg:"size-4.5",md:"size-3.5",sm:"size-3"},Ut=({label:e,options:t,onSelect:o,variant:n="contained",size:i="md",disabled:r=false,className:s,...a})=>{let l=useCallback(c=>{o?.(c.value);},[o]),{root:m}=c$3({variant:n,disabled:r});return jsxs(MenuRoot,{unmountOnExit:true,lazyMount:true,onSelect:l,positioning:{placement:"bottom-start",flip:["bottom-end"]},...a,children:[jsxs(MenuTrigger,{disabled:r,className:a$2(m(),"group data-[state=open]:ring-primary-800 ease-linear outline-none data-[state=open]:ring-3 data-[state=open]:ring-inset",gr[i],s),children:[e,jsx(g,{className:a$2(hr[i],"transition-transform duration-150 group-data-[state=open]:rotate-180")})]}),jsx(Portal,{children:jsx(MenuPositioner,{className:"z-(--z-button-active-options)",children:jsx(MenuContent,{className:a$2("elevation-9 max-h-67.5 max-w-[calc(100vw-1rem)] min-w-max overflow-y-auto rounded-lg bg-neutral-50 py-1 outline-none",ke),children:t.map(({label:c,value:d,description:f,startIcon:u,endIcon:h,hasDivider:L,disabled:T,onClick:v})=>jsx(MenuItem,{value:d,disabled:T,onSelect:v,asChild:true,children:jsx(re,{title:c,description:f,startIcon:u,endIcon:h,disabled:T,hasDivider:L,className:"data-highlighted:bg-primary-100 outline-none [&_p]:break-normal"})},d))})})})]})};var qt=createContext(null),Tr=()=>{let e=useContext(qt);if(!e)throw new Error("TrackerItem components must be used within TrackerItem");return e},Mr=({state:e,children:t})=>jsxs("div",{className:"relative",children:[jsx("div",{className:a$2("absolute top-1/2 z-10 h-[70%] w-0.5 -translate-y-1/2 rounded-sm",e==="active"&&"bg-primary-400",e==="success"&&"bg-success-500",e==="wait"&&"bg-neutral-400")}),t]}),Rr=forwardRef(({label:e,badgeStatus:t$1,details:o,className:n,...i},r)=>{let{state:s$1,stepNumber:a,expandable:l,onHeaderButtonClick:m}=Tr();return jsxs("div",{ref:r,className:a$2("flex min-h-10 items-center gap-3 py-2 pr-1 pl-3",n),...i,children:[jsxs("div",{className:a$2("flex flex-1 gap-2",!t$1&&(!o||o.length===0)&&"self-center"),children:[jsx(a$5,{state:s$1,stepNumber:a}),jsxs("div",{className:"mt-0.5 flex min-w-0 flex-1 flex-col gap-1",children:[jsx("span",{className:a$2("font-jakarta text-xs leading-snug font-medium",s$1==="wait"?"text-neutral-500":"text-neutral-900"),children:e}),t$1&&t$1.visible!==false&&(()=>{let{visible:c,...d}=t$1;return jsx(a$6,{...d})})(),o&&jsx("div",{className:"text-2xs flex flex-col gap-1.5 text-neutral-700",children:o.map(({Icon:c,text:d},f)=>jsxs("div",{className:"flex items-center gap-1.5",children:[jsx(c,{className:"size-3 shrink-0"}),jsx("span",{className:"font-inter",children:d})]},f))})]})]}),l&&jsx(Collapsible.Context,{children:({open:c})=>jsx(Collapsible.Trigger,{asChild:true,children:jsx(c$2,{Icon:c?s:t,size:"sm",variant:"standard"})})}),!l&&m&&jsx(c$2,{Icon:h,size:"sm",variant:"standard",onClick:m})]})});Rr.displayName="TrackerItemHeader";var yr=forwardRef(({children:e,className:t,...o},n)=>jsx(Collapsible.Content,{className:"data-[state=open]:animate-accordion-down data-[state=closed]:animate-accordion-up overflow-hidden",children:jsx("div",{ref:n,className:a$2("border-t border-neutral-300 px-3 py-2",t),...o,children:e})}));yr.displayName="TrackerItemExpandableContent";var Ir=forwardRef(({buttons:e=[],className:t,...o},n)=>jsx("div",{ref:n,className:a$2("flex justify-end gap-2 border-t border-neutral-300 px-3 py-2",t),...o,children:e.map((i,r)=>{if(i.visible===false)return null;let{visible:s,...a}=i;return "options"in a?jsx(Ut,{...a,size:"sm"},r):jsx(c,{...a,size:"sm"},r)})}));Ir.displayName="TrackerItemFooter";var $t="overflow-hidden rounded-sm border border-neutral-300 bg-neutral-50",Ar=forwardRef(({state:e,stepNumber:t,expandable:o=false,defaultExpanded:n,onExpandedChange:i,onHeaderButtonClick:r,className:s,children:a,...l},m)=>{let c=useMemo(()=>({state:e,stepNumber:t,expandable:o,onHeaderButtonClick:r}),[e,t,o,r]),d=useCallback(f=>{i?.(f.open);},[i]);return jsx(qt.Provider,{value:c,children:jsx(Mr,{state:e,children:o?jsx(Collapsible.Root,{ref:m,defaultOpen:n??false,onOpenChange:d,className:a$2($t,s),...l,children:a}):jsx("div",{ref:m,className:a$2($t,s),...l,children:a})})})});Ar.displayName="TrackerItem";var wa=["sm","md","lg"],Ha=["semibold","medium"],Sa=["primary","neutral"],Dr=tv({slots:{root:"group relative inline-flex cursor-pointer items-center justify-center overflow-clip border border-solid bg-transparent transition-colors outline-none",label:"font-inter relative overflow-hidden text-center leading-[0] text-ellipsis whitespace-nowrap",icon:"mr-1.5 shrink-0",chevron:"ml-1.5 shrink-0 transition-transform duration-150 group-data-[state=open]:rotate-180",trailing:"ml-2 flex shrink-0 items-center justify-center"},variants:{size:{lg:{root:"h-10 min-h-10 rounded-md px-2 py-2",label:"text-sm leading-[142%]",icon:"size-4",chevron:"size-4"},md:{root:"h-8 min-h-8 rounded-md px-2 py-1",label:"text-sm leading-[142%]",icon:"size-4",chevron:"size-4"},sm:{root:"h-6 max-h-6 rounded-sm px-2 py-1",label:"text-xs leading-[134%]",icon:"size-3",chevron:"size-3"}},weight:{semibold:{label:"font-semibold"},medium:{label:"font-medium"}},tone:{primary:{root:"border-primary-600 text-primary-600 hover:bg-primary-100 focus-visible:ring-primary-800 aria-[pressed=true]:border-primary-700 aria-[pressed=true]:bg-primary-200 aria-[pressed=true]:text-primary-700 data-[state=open]:border-primary-700 data-[state=open]:bg-primary-200 data-[state=open]:text-primary-700 focus-visible:ring-3 focus-visible:ring-inset disabled:cursor-not-allowed disabled:border-neutral-600 disabled:bg-transparent disabled:text-neutral-600"},neutral:{root:"hover:bg-primary-100 aria-[pressed=true]:border-primary-700 aria-[pressed=true]:bg-primary-200 data-[state=open]:border-primary-700 data-[state=open]:bg-primary-200 border-neutral-800 text-neutral-800 focus-visible:ring-3 focus-visible:ring-neutral-800 focus-visible:ring-inset disabled:cursor-not-allowed disabled:border-neutral-500 disabled:bg-transparent disabled:text-neutral-500"}},loading:{true:{root:"!cursor-wait !border-neutral-600 !text-neutral-600"},false:{}}},defaultVariants:{size:"lg",weight:"semibold",tone:"primary",loading:false}}),Da=({className:e,label:t,badgeText:o="00",StartIcon:n,options:i,onSelect:r,isSelected:s=false,isLoading:a=false,isDisabled:l=false,hasTrailingBadge:m=false,size:c="lg",weight:d="semibold",tone:f="primary",type:u="button",...h})=>{let L=l||a,T=i.filter(({isHidden:y})=>!y),v=T.length>0,E=a,M=!!n&&!a,O=!a&&m,x=v&&!L,R=useCallback(y=>{r?.(y.value);},[r]),k=useCallback(y=>{y?.();},[]),{root:C,label:Q,icon:H,chevron:ee,trailing:F}=Dr({size:c,weight:d,tone:f,loading:E}),b=c,N=jsxs(Fragment,{children:[E&&jsx(c$5,{size:"sm",variant:"black",className:H()}),M&&n&&jsx(n,{className:H()}),jsx("span",{className:Q(),children:t}),O&&jsx(a$9,{type:"square",variant:"primary",size:b,text:o,className:F()}),x&&jsx(g,{className:ee()})]});return v?jsxs(MenuRoot,{onSelect:R,lazyMount:true,positioning:{placement:"bottom-start",flip:["bottom-end"]},children:[jsx(MenuTrigger,{...h,type:u,disabled:L,"aria-pressed":s,className:C({className:e}),children:N}),jsx(Portal,{children:jsx(MenuPositioner,{className:"z-(--z-button-active-options)",children:jsx(MenuContent,{className:cn("elevation-9 max-h-67.5 max-w-[calc(100vw-1rem)] min-w-max overflow-y-auto rounded-lg bg-neutral-50 py-1 outline-none",ke),children:T.map(({label:y,description:z,startIcon:V,endIcon:U,hasDivider:P,isDisabled:X,onClick:I})=>jsx(MenuItem,{value:y,disabled:X,onSelect:()=>k(I),asChild:true,className:"flex items-center",children:jsx(re,{title:y,description:z,startIcon:V,endIcon:U,disabled:X,hasDivider:P,className:"data-highlighted:bg-primary-100 outline-none [&_p]:break-normal"})},y))})})})]}):jsx("button",{...h,type:u,disabled:L,"aria-pressed":s,className:C({className:e}),children:N})};var Fr=({children:e,hasDescription:t=false,disabled:o=false,hasDivider:n=false,className:i,isSelected:r,onClick:s,...a})=>jsxs(Fragment,{children:[jsx("div",{className:a$2("flex flex-row px-3 py-4 text-neutral-900 transition-colors",t?"py-3":"py-3.5",o?"cursor-not-allowed text-neutral-400":a$2("hover:bg-primary-100 focus:bg-primary-200",!!s?"cursor-pointer":"cursor-default"),r&&"bg-primary-200",i),onClick:m=>{o||s?.(m);},...a,children:e}),n&&jsx(a$1,{})]}),W=Fr;var hm=({children:e,title:t,titleLines:o,description:n="",descriptionLines:i,startIcon:r,badgeContent:s,hasDivider:a=false,disabled:l=false,onSelect:m,className:c,...d})=>jsxs(W,{hasDescription:!!n,disabled:l,onClick:m,hasDivider:a,className:a$2(!l&&"cursor-pointer",c),...d,children:[r&&Be.cloneElement(r,{className:"shrink-0 mr-2 h-4.5 w-4.5"}),jsx(Z,{title:t,titleLines:o,description:n,descriptionLines:i,disabled:l}),jsxs("div",{className:"ml-4 flex gap-2",children:[s&&jsx(a$3,{content:s,size:"lg",variant:"alert",className:a$2("self-center",l&&"bg-neutral-400")}),jsx(h,{className:"h-4.5 w-4.5 self-center"})]})]});export{ni as a,hm as b,Lt as c,ys as d,Hs as e,Ws as f,Ue as g,$e as h,le as i,je as j,Ke as k,ar as l,Tr as m,Rr as n,yr as o,Ir as p,Ar as q,wa as r,Ha as s,Sa as t,Da as u,re as v,ea as w,ta as x,Ut as y};
@@ -0,0 +1 @@
1
+ import {e,i,f,a as a$1,b,c,g,h,d,j}from'./chunk-NVYSWZZC.js';import {a as a$4,b as b$2,c as c$2}from'./chunk-PLA5QILP.js';import {b as b$1}from'./chunk-JB6QLQCK.js';import {a as a$2}from'./chunk-CM6ALMTT.js';import {a as a$3}from'./chunk-KTD2GEB6.js';import {c as c$1}from'./chunk-WQPZV6HK.js';import {c as c$3}from'./chunk-55Z77FLU.js';import {e as e$1}from'./chunk-QNQELNVU.js';import {a}from'./chunk-OBZIYJO7.js';import {memo,useMemo,useState,useCallback,useRef,useEffect}from'react';import {flexRender,useReactTable,getCoreRowModel}from'@tanstack/react-table';import {Component,KeyRound,MailWarning,MapPinOff,TriangleAlert,Siren,Plus}from'lucide-react';import {jsx,jsxs}from'react/jsx-runtime';var ke=["siren","warning","map-pin-off","email-alert","key-round","component"],ie={siren:{Icon:Siren,bgClassName:"bg-orange-50",iconClassName:"text-orange-700"},warning:{Icon:TriangleAlert,bgClassName:"bg-warning-100",iconClassName:"text-warning-900"},"map-pin-off":{Icon:MapPinOff,bgClassName:"bg-coral-50",iconClassName:"text-coral-700"},"email-alert":{Icon:MailWarning,bgClassName:"bg-danger-100",iconClassName:"text-danger-700"},"key-round":{Icon:KeyRound,bgClassName:"bg-orchid-100",iconClassName:"text-orchid-700"},component:{Icon:Component,bgClassName:"bg-aqua-100",iconClassName:"text-aqua-800"}},dt=o=>({id:"__select__",size:54,enableResizing:false,header:({table:i})=>{let u=i.getRowModel().rows.some(s=>s.getCanSelect()),r=i.getIsAllPageRowsSelected()?true:i.getIsSomePageRowsSelected()?"indeterminate":false;return jsx(b$1,{checked:r,disabled:!u,className:"ml-1",onCheckedChange:s=>i.toggleAllPageRowsSelected(s===true)})},cell:({row:i})=>{let u=i.getCanSelect(),r=u?i.getIsSelected():typeof o.setDisabledRowState=="function"?o.setDisabledRowState(i.original):o.setDisabledRowState??false,s=jsx(b$1,{checked:r,onCheckedChange:R=>i.toggleSelected(R===true),disabled:!u}),c=o.rowSelectionTooltip?.content(i.original);return c?jsx(a$2,{className:"w-fit",content:c,positioning:o.rowSelectionTooltip?.positioning??{placement:"right"},children:s}):s},enableSorting:false}),q=["w-3/4","w-1/2","w-2/3","w-5/6","w-3/5"],Me=({columns:o,rows:i$1,hasSelection:u,hasRowActions:r,hasPagination:s,className:c$1,...R})=>jsxs(a$1,{className:c$1,...R,children:[jsxs(b,{children:[jsx(c,{children:jsxs(g,{children:[u&&jsx(h,{className:"w-13.5",children:jsx(a$3,{className:"bg-primary-300 m-0.5 ml-1.5 size-4.5 rounded-sm"})}),r&&jsx(h,{className:"w-[30px] max-w-[30px] min-w-[30px] p-0 px-0",style:{width:"30px",minWidth:"30px",maxWidth:"30px"}}),Array.from({length:o},(b,y)=>jsx(h,{children:jsx(a$3,{className:"bg-primary-300 h-3 w-16"})},y))]})}),jsx(d,{className:"[&>tr:not(:last-child)>td]:shadow-[inset_0_-1px_0_0_var(--color-primary-200)]",children:Array.from({length:i$1},(b,y)=>jsxs(e,{children:[u&&jsx(i,{className:"align-middle",children:jsx(a$3,{className:"m-0.5 size-4.5 rounded-sm"})}),r&&jsx(i,{className:"!bg-primary-50 w-[30px] max-w-[30px] min-w-[30px] p-0 align-middle",style:{width:"30px",minWidth:"30px",maxWidth:"30px"},children:jsxs("div",{className:"grid h-full w-full grid-rows-3",children:[jsx(a$3,{className:"h-full w-full rounded-none"}),jsx(a$3,{className:"h-full w-full rounded-none"}),jsx(a$3,{className:"h-full w-full rounded-none"})]})}),Array.from({length:o},(x,d)=>jsx(i,{children:jsx(a$3,{className:a("h-4",q[(y+d)%q.length])})},d))]},y))})]}),s&&jsxs("div",{className:"border-t-primary-200 grid min-h-12 grid-cols-3 items-center gap-6 border-t px-4.5",children:[jsx(a$3,{className:"h-3.5 w-20"}),jsxs("div",{className:"flex items-center justify-center gap-2",children:[jsx(a$3,{className:"size-8 rounded-lg"}),jsx(a$3,{className:"size-8 rounded-lg"})]}),jsx("div",{className:"flex justify-end",children:jsx(a$3,{className:"h-3.5 w-28"})})]})]});Me.displayName="DataTableFullSkeleton";var ut={neutral:"bg-neutral-100",success:"bg-success-20",orange:"bg-orange-20",warning:"bg-warning-20",danger:"bg-danger-20",default:"bg-neutral-50"},N="__row_actions__",_e="!bg-transparent hover:!bg-transparent focus:!bg-transparent active:!bg-transparent !h-[30px] !max-h-[30px] !min-h-[30px] !w-[30px] !max-w-[30px] !min-w-[30px] !rounded-none",mt=(o,i)=>typeof o=="function"?o(i):o??false,gt=({row:o,rowActions:i})=>{let[u,r]=useState(false),s=o.original,c=i(s).filter(d=>d.isActive===void 0?true:mt(d.isActive,s)).sort((d,h)=>ke.indexOf(d.name)-ke.indexOf(h.name));if(c.length===0)return null;let R=c.length>3,b=R?c.slice(0,2):c,y=(d,h)=>{let l=ie[d.name];return jsx(c$1,{Icon:l.Icon,"aria-label":d.label,variant:"ghost",size:"sm",iconClassName:l.iconClassName,className:_e,onClick:m=>{m.stopPropagation(),d.onClick(s);},type:"button"},`${d.name}-${h}`)},x=R?3:b.length;return jsxs("div",{className:"grid h-full w-full justify-start overflow-hidden",style:{gridTemplateRows:`repeat(${x}, minmax(0, 1fr))`},children:[b.map((d,h)=>jsx("div",{className:a("flex h-full w-full items-center justify-center",ie[d.name].bgClassName),children:y(d,h)},`${d.name}-${h}`)),R&&jsx("div",{className:"bg-primary-300 flex h-full w-full items-center justify-center",children:jsxs(a$4,{open:u,onOpenChange:r,modal:false,positioning:{placement:"right-start"},children:[jsx(b$2,{asChild:true,children:jsx(c$1,{Icon:Plus,"aria-label":"More actions",variant:"ghost",size:"sm",iconClassName:"text-primary-700",className:_e,type:"button",onClick:d=>{d.stopPropagation();}})}),jsx(c$2,{className:"min-w-48 overflow-hidden rounded-sm p-0",children:jsx("div",{className:"flex flex-col",children:c.map((d,h)=>{let l=ie[d.name];return jsx(c$3,{variant:"ghost",size:"md",StartIcon:l.Icon,className:"!h-auto !min-h-0 w-full justify-start !gap-2 !px-3 !py-4 !text-neutral-900 hover:!text-neutral-900 disabled:!text-neutral-900",onClick:m=>{m.stopPropagation(),d.onClick(s),r(false);},type:"button",children:d.label},`${d.name}-${h}`)})})})]})})]})},ft=({rowActions:o})=>({id:N,header:()=>jsx("span",{className:"sr-only",children:"Actions"}),size:30,minSize:30,maxSize:30,enableResizing:false,cell:({row:i})=>o?jsx(gt,{row:i,rowActions:o}):null}),We=memo(({row:o,isSelected:i$1,resizable:u,type:r})=>jsx(e,{"data-state":i$1&&"selected",className:a(r&&r!=="default"&&ut[r]),style:r&&r!=="default"?{"--color-primary-200":`var(--color-${r}-100)`}:void 0,children:o.getVisibleCells().map(s=>jsx(i,{className:s.column.id===N?"p-0 align-middle":void 0,style:s.column.id===N?{width:"30px",minWidth:"30px",maxWidth:"30px"}:u?{width:`calc(var(--col-${s.column.id}-size) * 1px)`,minWidth:`calc(var(--col-${s.column.id}-size) * 1px)`,maxWidth:`calc(var(--col-${s.column.id}-size) * 1px)`}:void 0,children:flexRender(s.column.columnDef.cell,s.getContext())},s.id))}),(o,i)=>o.isSelected===i.isSelected&&o.row.original===i.row.original&&o.resizable===i.resizable&&o.type===i.type);We.displayName="DataTableRow";var $e="dt-col-ratios-",pt=o=>{try{let i=localStorage.getItem(`${$e}${o}`);return i?JSON.parse(i):{}}catch{return {}}},bt=(o,i)=>{try{localStorage.setItem(`${$e}${o}`,JSON.stringify(i));}catch{}},Oe=(o,i,u)=>{let r={},s=i,c=[];for(let l of o)l.canResize?c.push(l):(r[l.id]=l.defaultSize,s-=l.defaultSize);if(c.length===0||s<=0)return r;let R=new Set(c.map(l=>l.id)),b={};for(let[l,m]of Object.entries(u))R.has(l)&&(b[l]=m);let y=c.filter(l=>!(l.id in b)),x={};if(Object.keys(b).length===0){let l=c.reduce((m,P)=>m+P.defaultSize,0);for(let m of c)x[m.id]=m.defaultSize/l;}else if(y.length===0){let l=Object.values(b).reduce((m,P)=>m+P,0);for(let m of c)x[m.id]=b[m.id]/l;}else {let l=c.reduce((S,v)=>S+v.defaultSize,0),P=y.reduce((S,v)=>S+v.defaultSize,0)/l,k=Object.values(b).reduce((S,v)=>S+v,0),B=(1-P)/k;for(let S of c)S.id in b?x[S.id]=b[S.id]*B:x[S.id]=S.defaultSize/l;}for(let l of c)r[l.id]=Math.max(Math.round(x[l.id]*s),l.defaultSize);let h=c.reduce((l,m)=>l+r[m.id],0)-s;if(h!==0&&c.length>0){let l=c[c.length-1];r[l.id]=Math.max(r[l.id]-h,l.defaultSize);}return r},Ie=(o,i)=>{let u=0;for(let s of i)u+=o[s]??0;if(u===0)return {};let r={};for(let s of i)o[s]!=null&&(r[s]=o[s]/u);return r};function Vt({columns:o,data:i$1,rowsCount:u,pagination:r,onPaginationChange:s,noResults:c$1,onNextPageClick:R,onPreviousPageClick:b$1,disableNextPage:y,disablePreviousPage:x,className:d$1,onRowsPerPageChange:h$1,columnOrder:l,columnVisibility:m,rowsPerPageOptions:P,enableRowSelection:k=false,rowSelection:B,onRowSelectionChange:S,getRowId:v,rowSelectionTooltip:se,setDisabledRowState:re,tableId:w,isLoading:H,isInitialLoading:ce,skeletonRowCount:He,skeletonColumns:Le=6,getRowType:de,rowActions:O,...ue}){let I=typeof k=="function"||k===true,me=useMemo(()=>{if(!l)return;let t=[I?"__select__":null,O?N:null].filter(a=>a!=null),n=new Set(t);return [...t,...l.filter(a=>!n.has(a))]},[l,I,O]),Ee=useMemo(()=>{let t=I?[dt({rowSelectionTooltip:se,setDisabledRowState:re}),...o]:o;if(!O)return t;let n=ft({rowActions:O});return I?[t[0],n,...t.slice(1)]:[n,...t]},[I,o,se,re,O]),[j$1,Be]=useState(null),je=useCallback(t=>Be(t),[]),L=useRef({}),J=useRef(null),[V,X]=useState({}),Ve=t=>{X(n=>{let a=typeof t=="function"?t(n):t,p=J.current;if(!p)return a;let C=p.getState().columnSizingInfo.isResizingColumn;if(!C)return a;let z=p.getVisibleLeafColumns(),D=z.findIndex(A=>A.id===C);if(D===-1)return a;let _=null;for(let A=D+1;A<z.length;A++)if(z[A].getCanResize()){_=z[A];break}if(!_)return a;let F=z[D].columnDef,Ue=F.size??150,qe=F.minSize??80,Y=n[C]??Ue,Je=a[C]??Y,be=Math.max(Je,qe),Ce=be-Y;if(Ce===0)return {...a,[C]:be};let Te=_.id,Xe=_.columnDef.size??150,Ye=_.columnDef.minSize??80,he=n[Te]??Xe,Se=Math.max(he-Ce,Ye),Ge=he-Se,Qe=Y+Ge;return {...a,[C]:Qe,[Te]:Se}});},g$1=useReactTable({data:i$1,columns:Ee,rowCount:u,state:{pagination:r,...me!==void 0&&{columnOrder:me},columnVisibility:m,...B!==void 0&&{rowSelection:B},...w&&{columnSizing:V}},onPaginationChange:s,onRowSelectionChange:S,...w&&{columnResizeMode:"onChange",onColumnSizingChange:Ve,defaultColumn:{minSize:80}},manualPagination:true,getCoreRowModel:getCoreRowModel(),enableRowSelection:typeof k=="function"?t=>k(t.original):k,getRowId:v?t=>v(t):void 0});J.current=g$1;let Fe=g$1.getVisibleLeafColumns().map(t=>t.id).join(","),Ke=()=>g$1.getVisibleLeafColumns().map(t=>({id:t.id,defaultSize:t.columnDef.size??150,canResize:t.getCanResize()})),ge=()=>new Set(g$1.getVisibleLeafColumns().filter(t=>t.getCanResize()).map(t=>t.id));useEffect(()=>{if(!w||!j$1)return;(a=>{let p=Object.keys(L.current).length>0?L.current:pt(w),C=Ke(),z=Oe(C,a,p);L.current=Ie(z,ge()),X(z);})(j$1.clientWidth);let n=new ResizeObserver(([a])=>{if(!a)return;let p=J.current;if(!p||p.getState().columnSizingInfo.isResizingColumn)return;let C=p.getVisibleLeafColumns().map(D=>({id:D.id,defaultSize:D.columnDef.size??150,canResize:D.getCanResize()})),z=Oe(C,a.contentRect.width,L.current);X(z);});return n.observe(j$1),()=>n.disconnect()},[w,Fe,j$1]);let E=useMemo(()=>{if(!w||Object.keys(V).length===0)return;let t=g$1.getFlatHeaders(),n={};for(let a of t)n[`--header-${a.id}-size`]=a.getSize(),n[`--col-${a.column.id}-size`]=a.column.getSize();return n},[w,g$1.getState().columnSizingInfo,g$1.getState().columnSizing]),fe=g$1.getState().columnSizingInfo.isResizingColumn;useEffect(()=>{if(w&&!fe&&Object.keys(V).length>0){let t=ge(),n=Ie(V,t);L.current=n,bt(w,n);}},[w,fe]);let pe=He??r?.pageSize??10;return ce?jsx(Me,{columns:Le,rows:pe,hasSelection:I,hasRowActions:!!O,hasPagination:!!r,className:d$1,...ue}):!H&&!ce&&!g$1.getRowModel().rows?.length?jsx(f,{...c$1}):jsxs(a$1,{ref:je,className:d$1,...ue,children:[jsxs(b,{style:E?{...E,width:g$1.getTotalSize(),tableLayout:"fixed"}:{tableLayout:"fixed"},children:[!E&&jsx("colgroup",{children:(()=>{let t=g$1.getHeaderGroups()[0].headers,n=t.reduce((a,p)=>a+p.getSize(),0);return t.map(a=>jsx("col",{span:1,style:{width:`${a.column.getSize()/n*100}%`,minWidth:`${a.column.getSize()}px`}},a.id))})()}),jsx(c,{children:g$1.getHeaderGroups().map(t=>jsx(g,{children:t.headers.map(n=>{if(n.isPlaceholder)return jsx(h,{style:E?{width:`calc(var(--header-${n.id}-size) * 1px)`,minWidth:`calc(var(--header-${n.id}-size) * 1px)`,maxWidth:`calc(var(--header-${n.id}-size) * 1px)`}:void 0},n.id);let a$1=n.column.columnDef,p=flexRender(a$1.header,n.getContext()),C=n.column.id!=="__select__"&&a$1.headerTooltip!==false,z=a$1.headerTooltip&&typeof a$1.headerTooltip!="boolean"?a$1.headerTooltip:p,D=jsx("span",{className:"font-inter line-clamp-1 text-xs leading-[133%] text-neutral-900 uppercase",children:p});return jsxs(h,{className:n.column.id===N?"p-0 px-0":w?"group/resize relative overflow-clip":void 0,style:n.column.id===N?{width:"30px",minWidth:"30px",maxWidth:"30px"}:E?{width:`calc(var(--header-${n.id}-size) * 1px)`,minWidth:`calc(var(--header-${n.id}-size) * 1px)`,maxWidth:`calc(var(--header-${n.id}-size) * 1px)`}:void 0,children:[jsxs("div",{className:"flex items-center",children:[C?jsx(a$2,{content:z,contentClassName:"font-normal normal-case",children:D}):D,a$1.headerInfoTooltip&&jsx(a$2,{content:a$1.headerInfoTooltip,contentClassName:"font-normal normal-case",children:jsx(e$1,{className:"ml-1 w-[0.875rem] shrink-0"})})]}),w&&n.column.getCanResize()&&t.headers.some((_,F)=>F>t.headers.indexOf(n)&&_.column.getCanResize())&&jsx("div",{onMouseDown:n.getResizeHandler(),onTouchStart:n.getResizeHandler(),className:a("absolute top-0 right-0 h-full w-1 cursor-col-resize touch-none select-none","bg-primary-400 opacity-0 transition-opacity group-hover/resize:opacity-100",n.column.getIsResizing()&&"bg-primary-600 opacity-100")})]},n.id)})},t.id))}),jsx(d,{className:"[&>tr:not(:last-child)>td]:shadow-[inset_0_-1px_0_0_var(--color-primary-200)]",children:H?Array.from({length:pe},(t,n)=>jsx(e,{children:g$1.getVisibleLeafColumns().map((a$1,p)=>{let C=a$1.columnDef;return jsx(i,{className:a$1.id==="__select__"?"align-middle":a$1.id===N?"!bg-primary-50 p-0 align-middle":void 0,style:a$1.id===N?{width:"30px",minWidth:"30px",maxWidth:"30px"}:void 0,children:a$1.id==="__select__"?jsx(a$3,{className:"m-0.5 size-4.5 rounded-sm"}):a$1.id===N?jsxs("div",{className:"grid h-full w-full grid-rows-3",children:[jsx(a$3,{className:"h-full w-full rounded-none"}),jsx(a$3,{className:"h-full w-full rounded-none"}),jsx(a$3,{className:"h-full w-full rounded-none"})]}):C.skeleton!=null?C.skeleton:jsx(a$3,{className:a("h-4",q[(n+p)%q.length])})},a$1.id)})},n)):g$1.getRowModel().rows.map(t=>jsx(We,{row:t,isSelected:t.getIsSelected(),resizable:!!w,type:de?de(t.original):"default"},t.id))})]}),r&&s&&(i$1.length>0||H)&&jsx(j,{rowsPerPageOptions:P,rowsCount:u,pagination:r,onPageSizeChange:t=>{g$1.setPagination({pageIndex:0,pageSize:t}),h$1?.(t);},onPreviousPageClick:b$1,onNextPageClick:R,isDisableNextPageButton:H||y||!!u&&!g$1.getCanNextPage(),isDisablePreviousPageButton:H||x||!!u&&!g$1.getCanPreviousPage(),onPageChange:t=>{g$1.setPageIndex(t-1);}})]})}export{Vt as a};