@teppen/react-ui 0.0.11 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("react/jsx-runtime");!function(e,t){void 0===t&&(t={});var r=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===r&&o.firstChild?o.insertBefore(n,o.firstChild):o.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}}('/*! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.table{display:table}.w-96{width:24rem}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.table-auto{table-layout:auto}.cursor-default{cursor:default}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.p-2{padding:.5rem}.text-left{text-align:left}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.hover\\:cursor-pointer:hover{cursor:pointer}.hover\\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}',{insertAt:"top"});var t=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,r=e=>!e||"object"!=typeof e||0===Object.keys(e).length;function o(e,t){e.forEach((function(e){Array.isArray(e)?o(e,t):t.push(e)}))}function n(e){let t=[];return o(e,t),t}var i=(...e)=>n(e).filter(Boolean),a=(e,t)=>{let r={},o=Object.keys(e),n=Object.keys(t);for(let s of o)if(n.includes(s)){let o=e[s],n=t[s];"object"==typeof o&&"object"==typeof n?r[s]=a(o,n):Array.isArray(o)||Array.isArray(n)?r[s]=i(n,o):r[s]=n+" "+o}else r[s]=e[s];for(let e of n)o.includes(e)||(r[e]=t[e]);return r},s=e=>e&&"string"==typeof e?e.replace(/\s+/g," ").trim():e;const l="-";function c(e){const t=function(e){const{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]},n=function(e,t){if(!t)return e;return e.map((([e,r])=>[e,r.map((e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,r])=>[t+e,r]))):e))]))}(Object.entries(e.classGroups),r);return n.forEach((([e,r])=>{p(r,o,e,t)})),o}(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:function(e){const r=e.split(l);return""===r[0]&&1!==r.length&&r.shift(),d(r,t)||function(e){if(u.test(e)){const t=u.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}(e)},getConflictingClassGroupIds:function(e,t){const n=r[e]||[];return t&&o[e]?[...n,...o[e]]:n}}}function d(e,t){if(0===e.length)return t.classGroupId;const r=e[0],o=t.nextPart.get(r),n=o?d(e.slice(1),o):void 0;if(n)return n;if(0===t.validators.length)return;const i=e.join(l);return t.validators.find((({validator:e})=>e(i)))?.classGroupId}const u=/^\[(.+)\]$/;function p(e,t,r,o){e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return e.isThemeGetter?void p(e(o),t,r,o):void t.validators.push({validator:e,classGroupId:r});Object.entries(e).forEach((([e,n])=>{p(n,f(t,e),r,o)}))}else{(""===e?t:f(t,e)).classGroupId=r}}))}function f(e,t){let r=e;return t.split(l).forEach((e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)})),r}function b(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map;function n(n,i){r.set(n,i),t++,t>e&&(t=0,o=r,r=new Map)}return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=o.get(e))?(n(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):n(e,t)}}}const g="!";function m(e){const t=e.separator,r=1===t.length,o=t[0],n=t.length;return function(e){const i=[];let a,s=0,l=0;for(let c=0;c<e.length;c++){let d=e[c];if(0===s){if(d===o&&(r||e.slice(c,c+n)===t)){i.push(e.slice(l,c)),l=c+n;continue}if("/"===d){a=c;continue}}"["===d?s++:"]"===d&&s--}const c=0===i.length?e:e.substring(l),d=c.startsWith(g);return{modifiers:i,hasImportantModifier:d,baseClassName:d?c.substring(1):c,maybePostfixModifierPosition:a&&a>l?a-l:void 0}}}const h=/\s+/;function w(){let e,t,r=0,o="";for(;r<arguments.length;)(e=arguments[r++])&&(t=y(e))&&(o&&(o+=" "),o+=t);return o}function y(e){if("string"==typeof e)return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=y(e[o]))&&(r&&(r+=" "),r+=t);return r}function v(e,...t){let r,o,n,i=function(s){const l=t.reduce(((e,t)=>t(e)),e());return r=function(e){return{cache:b(e.cacheSize),splitModifiers:m(e),...c(e)}}(l),o=r.cache.get,n=r.cache.set,i=a,a(s)};function a(e){const t=o(e);if(t)return t;const i=function(e,t){const{splitModifiers:r,getClassGroupId:o,getConflictingClassGroupIds:n}=t,i=new Set;return e.trim().split(h).map((e=>{const{modifiers:t,hasImportantModifier:n,baseClassName:i,maybePostfixModifierPosition:a}=r(e);let s=o(a?i.substring(0,a):i),l=Boolean(a);if(!s){if(!a)return{isTailwindClass:!1,originalClassName:e};if(s=o(i),!s)return{isTailwindClass:!1,originalClassName:e};l=!1}const c=function(e){if(e.length<=1)return e;const t=[];let r=[];return e.forEach((e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)})),t.push(...r.sort()),t}(t).join(":");return{isTailwindClass:!0,modifierId:n?c+g:c,classGroupId:s,originalClassName:e,hasPostfixModifier:l}})).reverse().filter((e=>{if(!e.isTailwindClass)return!0;const{modifierId:t,classGroupId:r,hasPostfixModifier:o}=e,a=t+r;return!i.has(a)&&(i.add(a),n(r,o).forEach((e=>i.add(t+e))),!0)})).reverse().map((e=>e.originalClassName)).join(" ")}(e,r);return n(e,i),i}return function(){return i(w.apply(null,arguments))}}function x(e){const t=t=>t[e]||[];return t.isThemeGetter=!0,t}const k=/^\[(?:([a-z-]+):)?(.+)\]$/i,z=/^\d+\/\d+$/,j=new Set(["px","full","screen"]),C=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,A=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,M=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,N=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,S=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function G(e){return I(e)||j.has(e)||z.test(e)}function O(e){return D(e,"length",F)}function I(e){return Boolean(e)&&!Number.isNaN(Number(e))}function $(e){return D(e,"number",I)}function P(e){return Boolean(e)&&Number.isInteger(Number(e))}function E(e){return e.endsWith("%")&&I(e.slice(0,-1))}function T(e){return k.test(e)}function V(e){return C.test(e)}const B=new Set(["length","size","percentage"]);function R(e){return D(e,B,K)}function q(e){return D(e,"position",K)}const W=new Set(["image","url"]);function J(e){return D(e,W,H)}function L(e){return D(e,"",_)}function U(){return!0}function D(e,t,r){const o=k.exec(e);return!!o&&(o[1]?"string"==typeof t?o[1]===t:t.has(o[1]):r(o[2]))}function F(e){return A.test(e)&&!M.test(e)}function K(){return!1}function _(e){return N.test(e)}function H(e){return S.test(e)}function Q(){const e=x("colors"),t=x("spacing"),r=x("blur"),o=x("brightness"),n=x("borderColor"),i=x("borderRadius"),a=x("borderSpacing"),s=x("borderWidth"),l=x("contrast"),c=x("grayscale"),d=x("hueRotate"),u=x("invert"),p=x("gap"),f=x("gradientColorStops"),b=x("gradientColorStopPositions"),g=x("inset"),m=x("margin"),h=x("opacity"),w=x("padding"),y=x("saturate"),v=x("scale"),k=x("sepia"),z=x("skew"),j=x("space"),C=x("translate"),A=()=>["auto",T,t],M=()=>[T,t],N=()=>["",G,O],S=()=>["auto",I,T],B=()=>["","0",T],W=()=>[I,$],D=()=>[I,T];return{cacheSize:500,separator:":",theme:{colors:[U],spacing:[G,O],blur:["none","",V,T],brightness:W(),borderColor:[e],borderRadius:["none","","full",V,T],borderSpacing:M(),borderWidth:N(),contrast:W(),grayscale:B(),hueRotate:D(),invert:B(),gap:M(),gradientColorStops:[e],gradientColorStopPositions:[E,O],inset:A(),margin:A(),opacity:W(),padding:M(),saturate:W(),scale:W(),sepia:B(),skew:D(),space:M(),translate:M()},classGroups:{aspect:[{aspect:["auto","square","video",T]}],container:["container"],columns:[{columns:[V]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",T]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",P,T]}],basis:[{basis:A()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",T]}],grow:[{grow:B()}],shrink:[{shrink:B()}],order:[{order:["first","last","none",P,T]}],"grid-cols":[{"grid-cols":[U]}],"col-start-end":[{col:["auto",{span:["full",P,T]},T]}],"col-start":[{"col-start":S()}],"col-end":[{"col-end":S()}],"grid-rows":[{"grid-rows":[U]}],"row-start-end":[{row:["auto",{span:[P,T]},T]}],"row-start":[{"row-start":S()}],"row-end":[{"row-end":S()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",T]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",T]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",T,t]}],"min-w":[{"min-w":[T,t,"min","max","fit"]}],"max-w":[{"max-w":[T,t,"none","full","min","max","fit","prose",{screen:[V]},V]}],h:[{h:[T,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[T,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[T,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[T,t,"auto","min","max","fit"]}],"font-size":[{text:["base",V,O]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",$]}],"font-family":[{font:[U]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",T]}],"line-clamp":[{"line-clamp":["none",I,$]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",G,T]}],"list-image":[{"list-image":["none",T]}],"list-style-type":[{list:["none","disc","decimal",T]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",G,O]}],"underline-offset":[{"underline-offset":["auto",G,T]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:M()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",T]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",T]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",q]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",R]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},J]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[G,T]}],"outline-w":[{outline:[G,O]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:N()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[G,O]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",V,L]}],"shadow-color":[{shadow:[U]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",V,T]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[u]}],saturate:[{saturate:[y]}],sepia:[{sepia:[k]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[k]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",T]}],duration:[{duration:D()}],ease:[{ease:["linear","in","out","in-out",T]}],delay:[{delay:D()}],animate:[{animate:["none","spin","ping","pulse","bounce",T]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[v]}],"scale-x":[{"scale-x":[v]}],"scale-y":[{"scale-y":[v]}],rotate:[{rotate:[P,T]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[z]}],"skew-y":[{"skew-y":[z]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",T]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",T]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":M()}],"scroll-mx":[{"scroll-mx":M()}],"scroll-my":[{"scroll-my":M()}],"scroll-ms":[{"scroll-ms":M()}],"scroll-me":[{"scroll-me":M()}],"scroll-mt":[{"scroll-mt":M()}],"scroll-mr":[{"scroll-mr":M()}],"scroll-mb":[{"scroll-mb":M()}],"scroll-ml":[{"scroll-ml":M()}],"scroll-p":[{"scroll-p":M()}],"scroll-px":[{"scroll-px":M()}],"scroll-py":[{"scroll-py":M()}],"scroll-ps":[{"scroll-ps":M()}],"scroll-pe":[{"scroll-pe":M()}],"scroll-pt":[{"scroll-pt":M()}],"scroll-pr":[{"scroll-pr":M()}],"scroll-pb":[{"scroll-pb":M()}],"scroll-pl":[{"scroll-pl":M()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",T]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[G,O,$]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}function X(e,t,r){void 0!==r&&(e[t]=r)}function Y(e,t){if(t)for(const r in t)X(e,r,t[r])}function Z(e,t){if(t)for(const r in t){const o=t[r];void 0!==o&&(e[r]=(e[r]||[]).concat(o))}}function ee(e,...t){return"function"==typeof e?v(Q,e,...t):v((()=>function(e,{cacheSize:t,prefix:r,separator:o,extend:n={},override:i={}}){X(e,"cacheSize",t),X(e,"prefix",r),X(e,"separator",o);for(const t in i)Y(e[t],i[t]);for(const t in n)Z(e[t],n[t]);return e}(Q(),e)),...t)}const te=v(Q);var re={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},oe=e=>e||void 0,ne=(...e)=>oe(n(e).filter(Boolean).join(" ")),ie=null,ae={},se=!1,le=(...e)=>t=>t.twMerge?((!ie||se)&&(se=!1,ie=r(ae)?te:ee({...ae,extend:{theme:ae.theme,classGroups:ae.classGroups,conflictingClassGroupModifiers:ae.conflictingClassGroupModifiers,conflictingClassGroups:ae.conflictingClassGroups,...ae.extend}})),oe(ie(ne(e)))):ne(e),ce=(e,t)=>{for(let r in t)e.hasOwnProperty(r)?e[r]=ne(e[r],t[r]):e[r]=t[r];return e},de=((e,o)=>{let{extend:n=null,slots:l={},variants:c={},compoundVariants:d=[],compoundSlots:u=[],defaultVariants:p={}}=e,f={...re,...o},b=null!=n&&n.base?ne(n.base,null==e?void 0:e.base):null==e?void 0:e.base,g=null!=n&&n.variants&&!r(n.variants)?a(c,n.variants):c,m=null!=n&&n.defaultVariants&&!r(n.defaultVariants)?{...n.defaultVariants,...p}:p;!r(f.twMergeConfig)&&!((e,t)=>JSON.stringify(e)===JSON.stringify(t))(f.twMergeConfig,ae)&&(se=!0,ae=f.twMergeConfig);let h=r(null==n?void 0:n.slots),w=r(l)?{}:{base:ne(null==e?void 0:e.base,h&&(null==n?void 0:n.base)),...l},y=h?w:ce({...null==n?void 0:n.slots},r(w)?{base:null==e?void 0:e.base}:w),v=e=>{if(r(g)&&r(l)&&h)return le(b,null==e?void 0:e.class,null==e?void 0:e.className)(f);if(d&&!Array.isArray(d))throw new TypeError('The "compoundVariants" prop must be an array. Received: '+typeof d);if(u&&!Array.isArray(u))throw new TypeError('The "compoundSlots" prop must be an array. Received: '+typeof u);let o=(e,t,r=[],o)=>{let n=r;if("string"==typeof t)n=n.concat(s(t).split(" ").map((t=>`${e}:${t}`)));else if(Array.isArray(t))n=n.concat(t.reduce(((t,r)=>t.concat(`${e}:${r}`)),[]));else if("object"==typeof t&&"string"==typeof o)for(let r in t)if(t.hasOwnProperty(r)&&r===o){let i=t[r];if(i&&"string"==typeof i){let t=s(i);n[o]?n[o]=n[o].concat(t.split(" ").map((t=>`${e}:${t}`))):n[o]=t.split(" ").map((t=>`${e}:${t}`))}else Array.isArray(i)&&i.length>0&&(n[o]=i.reduce(((t,r)=>t.concat(`${e}:${r}`)),[]))}return n},a=(n,i=g,a=null,s=null)=>{var l;let c=i[n];if(!c||r(c))return null;let d=null!=(l=null==s?void 0:s[n])?l:null==e?void 0:e[n];if(null===d)return null;let u=t(d),p=Array.isArray(f.responsiveVariants)&&f.responsiveVariants.length>0||!0===f.responsiveVariants,b=null==m?void 0:m[n],h=[];if("object"==typeof u&&p)for(let[e,t]of Object.entries(u)){let r=c[t];"initial"!==e?Array.isArray(f.responsiveVariants)&&!f.responsiveVariants.includes(e)||(h=o(e,r,h,a)):b=t}let w=c[null!=u&&"object"!=typeof u?u:t(b)]||c.false;return"object"==typeof h&&"string"==typeof a&&h[a]?ce(h,w):h.length>0?(h.push(w),h):w},c=(e,t)=>{if(!g||"object"!=typeof g)return null;let r=new Array;for(let o in g){let n=a(o,g,e,t),i="base"===e&&"string"==typeof n?n:n&&n[e];i&&(r[r.length]=i)}return r},p={};for(let t in e)void 0!==e[t]&&(p[t]=e[t]);let w=(t,r)=>{var o;let n="object"==typeof(null==e?void 0:e[t])?{[t]:null==(o=e[t])?void 0:o.initial}:{};return{...m,...p,...n,...r}},v=(e=[],t)=>{let r=[];for(let{class:o,className:n,...i}of e){let e=!0;for(let[r,o]of Object.entries(i)){let n=w(r,t);if(Array.isArray(o)){if(!o.includes(n[r])){e=!1;break}}else if(n[r]!==o){e=!1;break}}e&&(o&&r.push(o),n&&r.push(n))}return r},x=e=>{let t=v(d,e),r=v(null==n?void 0:n.compoundVariants,e);return i(r,t)},k=e=>{let t=x(e);if(!Array.isArray(t))return t;let r={};for(let e of t)if("string"==typeof e&&(r.base=le(r.base,e)(f)),"object"==typeof e)for(let[t,o]of Object.entries(e))r[t]=le(r[t],o)(f);return r},z=e=>{if(u.length<1)return null;let t={};for(let{slots:o=[],class:n,className:i,...a}of u){if(!r(a)){let t=!0;for(let r of Object.keys(a)){let o=w(r,e)[r];if(void 0===o||(Array.isArray(a[r])?!a[r].includes(o):a[r]!==o)){t=!1;break}}if(!t)continue}for(let e of o)t[e]=t[e]||[],t[e].push([n,i])}return t};if(!r(l)||!h){let e={};if("object"==typeof y&&!r(y))for(let t of Object.keys(y))e[t]=e=>{var r,o;return le(y[t],c(t,e),(null!=(r=k(e))?r:[])[t],(null!=(o=z(e))?o:[])[t],null==e?void 0:e.class,null==e?void 0:e.className)(f)};return e}return le(b,g?Object.keys(g).map((e=>a(e,g))):null,x(),null==e?void 0:e.class,null==e?void 0:e.className)(f)};return v.variantKeys=(()=>{if(g&&"object"==typeof g)return Object.keys(g)})(),v.extend=n,v.base=b,v.slots=y,v.variants=g,v.defaultVariants=m,v.compoundSlots=u,v.compoundVariants=d,v})({slots:{frame:"table table-auto w-full",header:"bg-gray-200 text-gray-600",row:"hover:bg-gray-100",cell:"p-2 w-fit text-left cursor-default"},variants:{hover:{true:{row:"hover:cursor-pointer"}}}});exports.BaseTable=function(t){var r,o=t.cols,n=t.rows,i=de({hover:!!(null===(r=n[0])||void 0===r?void 0:r.onClick)}),a=i.frame,s=i.cell,l=i.row,c=i.header;return e.jsxs("table",{className:a(),children:[e.jsx("thead",{className:c(),children:e.jsx("tr",{children:o.map((function(t){return e.jsx("th",{className:s(),children:t.label},t.key)}))})}),e.jsx("tbody",{children:n.map((function(t){return e.jsx("tr",{className:l(),onClick:t.onClick,"data-testid":t.id,children:o.map((function(r){return e.jsx("td",{children:e.jsx("div",{className:s(),onClick:function(e){e.preventDefault(),e.stopPropagation()},children:t[r.key]})},r.key)}))},t.id)}))})]})};
1
+ "use strict";var e=require("react/jsx-runtime"),t=require("react");!function(e,t){void 0===t&&(t={});var r=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===r&&o.firstChild?o.insertBefore(n,o.firstChild):o.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}}('/*! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.table{display:table}.w-96{width:24rem}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.table-auto{table-layout:auto}.cursor-default{cursor:default}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.p-2{padding:.5rem}.text-left{text-align:left}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.hover\\:cursor-pointer:hover{cursor:pointer}.hover\\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}',{insertAt:"top"});var r=function(){return r=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},r.apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var o=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,n=e=>!e||"object"!=typeof e||0===Object.keys(e).length;function i(e,t){e.forEach((function(e){Array.isArray(e)?i(e,t):t.push(e)}))}function a(e){let t=[];return i(e,t),t}var s=(...e)=>a(e).filter(Boolean),l=(e,t)=>{let r={},o=Object.keys(e),n=Object.keys(t);for(let i of o)if(n.includes(i)){let o=e[i],n=t[i];"object"==typeof o&&"object"==typeof n?r[i]=l(o,n):Array.isArray(o)||Array.isArray(n)?r[i]=s(n,o):r[i]=n+" "+o}else r[i]=e[i];for(let e of n)o.includes(e)||(r[e]=t[e]);return r},c=e=>e&&"string"==typeof e?e.replace(/\s+/g," ").trim():e;const d="-";function u(e){const t=function(e){const{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]},n=function(e,t){if(!t)return e;return e.map((([e,r])=>[e,r.map((e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,r])=>[t+e,r]))):e))]))}(Object.entries(e.classGroups),r);return n.forEach((([e,r])=>{b(r,o,e,t)})),o}(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:function(e){const r=e.split(d);return""===r[0]&&1!==r.length&&r.shift(),p(r,t)||function(e){if(f.test(e)){const t=f.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}(e)},getConflictingClassGroupIds:function(e,t){const n=r[e]||[];return t&&o[e]?[...n,...o[e]]:n}}}function p(e,t){if(0===e.length)return t.classGroupId;const r=e[0],o=t.nextPart.get(r),n=o?p(e.slice(1),o):void 0;if(n)return n;if(0===t.validators.length)return;const i=e.join(d);return t.validators.find((({validator:e})=>e(i)))?.classGroupId}const f=/^\[(.+)\]$/;function b(e,t,r,o){e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return e.isThemeGetter?void b(e(o),t,r,o):void t.validators.push({validator:e,classGroupId:r});Object.entries(e).forEach((([e,n])=>{b(n,g(t,e),r,o)}))}else{(""===e?t:g(t,e)).classGroupId=r}}))}function g(e,t){let r=e;return t.split(d).forEach((e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)})),r}function h(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map;function n(n,i){r.set(n,i),t++,t>e&&(t=0,o=r,r=new Map)}return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=o.get(e))?(n(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):n(e,t)}}}const m="!";function w(e){const t=e.separator,r=1===t.length,o=t[0],n=t.length;return function(e){const i=[];let a,s=0,l=0;for(let c=0;c<e.length;c++){let d=e[c];if(0===s){if(d===o&&(r||e.slice(c,c+n)===t)){i.push(e.slice(l,c)),l=c+n;continue}if("/"===d){a=c;continue}}"["===d?s++:"]"===d&&s--}const c=0===i.length?e:e.substring(l),d=c.startsWith(m);return{modifiers:i,hasImportantModifier:d,baseClassName:d?c.substring(1):c,maybePostfixModifierPosition:a&&a>l?a-l:void 0}}}const y=/\s+/;function v(){let e,t,r=0,o="";for(;r<arguments.length;)(e=arguments[r++])&&(t=x(e))&&(o&&(o+=" "),o+=t);return o}function x(e){if("string"==typeof e)return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=x(e[o]))&&(r&&(r+=" "),r+=t);return r}function k(e,...t){let r,o,n,i=function(s){const l=t.reduce(((e,t)=>t(e)),e());return r=function(e){return{cache:h(e.cacheSize),splitModifiers:w(e),...u(e)}}(l),o=r.cache.get,n=r.cache.set,i=a,a(s)};function a(e){const t=o(e);if(t)return t;const i=function(e,t){const{splitModifiers:r,getClassGroupId:o,getConflictingClassGroupIds:n}=t,i=new Set;return e.trim().split(y).map((e=>{const{modifiers:t,hasImportantModifier:n,baseClassName:i,maybePostfixModifierPosition:a}=r(e);let s=o(a?i.substring(0,a):i),l=Boolean(a);if(!s){if(!a)return{isTailwindClass:!1,originalClassName:e};if(s=o(i),!s)return{isTailwindClass:!1,originalClassName:e};l=!1}const c=function(e){if(e.length<=1)return e;const t=[];let r=[];return e.forEach((e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)})),t.push(...r.sort()),t}(t).join(":");return{isTailwindClass:!0,modifierId:n?c+m:c,classGroupId:s,originalClassName:e,hasPostfixModifier:l}})).reverse().filter((e=>{if(!e.isTailwindClass)return!0;const{modifierId:t,classGroupId:r,hasPostfixModifier:o}=e,a=t+r;return!i.has(a)&&(i.add(a),n(r,o).forEach((e=>i.add(t+e))),!0)})).reverse().map((e=>e.originalClassName)).join(" ")}(e,r);return n(e,i),i}return function(){return i(v.apply(null,arguments))}}function z(e){const t=t=>t[e]||[];return t.isThemeGetter=!0,t}const j=/^\[(?:([a-z-]+):)?(.+)\]$/i,C=/^\d+\/\d+$/,A=new Set(["px","full","screen"]),S=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,M=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,N=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,G=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,O=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function E(e){return P(e)||A.has(e)||C.test(e)}function I(e){return F(e,"length",_)}function P(e){return Boolean(e)&&!Number.isNaN(Number(e))}function $(e){return F(e,"number",P)}function T(e){return Boolean(e)&&Number.isInteger(Number(e))}function V(e){return e.endsWith("%")&&P(e.slice(0,-1))}function B(e){return j.test(e)}function R(e){return S.test(e)}const q=new Set(["length","size","percentage"]);function W(e){return F(e,q,H)}function D(e){return F(e,"position",H)}const K=new Set(["image","url"]);function J(e){return F(e,K,X)}function L(e){return F(e,"",Q)}function U(){return!0}function F(e,t,r){const o=j.exec(e);return!!o&&(o[1]?"string"==typeof t?o[1]===t:t.has(o[1]):r(o[2]))}function _(e){return M.test(e)&&!N.test(e)}function H(){return!1}function Q(e){return G.test(e)}function X(e){return O.test(e)}function Y(){const e=z("colors"),t=z("spacing"),r=z("blur"),o=z("brightness"),n=z("borderColor"),i=z("borderRadius"),a=z("borderSpacing"),s=z("borderWidth"),l=z("contrast"),c=z("grayscale"),d=z("hueRotate"),u=z("invert"),p=z("gap"),f=z("gradientColorStops"),b=z("gradientColorStopPositions"),g=z("inset"),h=z("margin"),m=z("opacity"),w=z("padding"),y=z("saturate"),v=z("scale"),x=z("sepia"),k=z("skew"),j=z("space"),C=z("translate"),A=()=>["auto",B,t],S=()=>[B,t],M=()=>["",E,I],N=()=>["auto",P,B],G=()=>["","0",B],O=()=>[P,$],q=()=>[P,B];return{cacheSize:500,separator:":",theme:{colors:[U],spacing:[E,I],blur:["none","",R,B],brightness:O(),borderColor:[e],borderRadius:["none","","full",R,B],borderSpacing:S(),borderWidth:M(),contrast:O(),grayscale:G(),hueRotate:q(),invert:G(),gap:S(),gradientColorStops:[e],gradientColorStopPositions:[V,I],inset:A(),margin:A(),opacity:O(),padding:S(),saturate:O(),scale:O(),sepia:G(),skew:q(),space:S(),translate:S()},classGroups:{aspect:[{aspect:["auto","square","video",B]}],container:["container"],columns:[{columns:[R]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",B]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",T,B]}],basis:[{basis:A()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",B]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",T,B]}],"grid-cols":[{"grid-cols":[U]}],"col-start-end":[{col:["auto",{span:["full",T,B]},B]}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":[U]}],"row-start-end":[{row:["auto",{span:[T,B]},B]}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",B]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",B]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",B,t]}],"min-w":[{"min-w":[B,t,"min","max","fit"]}],"max-w":[{"max-w":[B,t,"none","full","min","max","fit","prose",{screen:[R]},R]}],h:[{h:[B,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[B,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[B,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[B,t,"auto","min","max","fit"]}],"font-size":[{text:["base",R,I]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",$]}],"font-family":[{font:[U]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",B]}],"line-clamp":[{"line-clamp":["none",P,$]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",E,B]}],"list-image":[{"list-image":["none",B]}],"list-style-type":[{list:["none","disc","decimal",B]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",E,I]}],"underline-offset":[{"underline-offset":["auto",E,B]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:S()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",B]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",B]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",D]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",W]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},J]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[E,B]}],"outline-w":[{outline:[E,I]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:M()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[E,I]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",R,L]}],"shadow-color":[{shadow:[U]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",R,B]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[u]}],saturate:[{saturate:[y]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",B]}],duration:[{duration:q()}],ease:[{ease:["linear","in","out","in-out",B]}],delay:[{delay:q()}],animate:[{animate:["none","spin","ping","pulse","bounce",B]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[v]}],"scale-x":[{"scale-x":[v]}],"scale-y":[{"scale-y":[v]}],rotate:[{rotate:[T,B]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[k]}],"skew-y":[{"skew-y":[k]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",B]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",B]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",B]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[E,I,$]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}function Z(e,t,r){void 0!==r&&(e[t]=r)}function ee(e,t){if(t)for(const r in t)Z(e,r,t[r])}function te(e,t){if(t)for(const r in t){const o=t[r];void 0!==o&&(e[r]=(e[r]||[]).concat(o))}}function re(e,...t){return"function"==typeof e?k(Y,e,...t):k((()=>function(e,{cacheSize:t,prefix:r,separator:o,extend:n={},override:i={}}){Z(e,"cacheSize",t),Z(e,"prefix",r),Z(e,"separator",o);for(const t in i)ee(e[t],i[t]);for(const t in n)te(e[t],n[t]);return e}(Y(),e)),...t)}const oe=k(Y);var ne={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},ie=e=>e||void 0,ae=(...e)=>ie(a(e).filter(Boolean).join(" ")),se=null,le={},ce=!1,de=(...e)=>t=>t.twMerge?((!se||ce)&&(ce=!1,se=n(le)?oe:re({...le,extend:{theme:le.theme,classGroups:le.classGroups,conflictingClassGroupModifiers:le.conflictingClassGroupModifiers,conflictingClassGroups:le.conflictingClassGroups,...le.extend}})),ie(se(ae(e)))):ae(e),ue=(e,t)=>{for(let r in t)e.hasOwnProperty(r)?e[r]=ae(e[r],t[r]):e[r]=t[r];return e},pe=((e,t)=>{let{extend:r=null,slots:i={},variants:a={},compoundVariants:d=[],compoundSlots:u=[],defaultVariants:p={}}=e,f={...ne,...t},b=null!=r&&r.base?ae(r.base,null==e?void 0:e.base):null==e?void 0:e.base,g=null!=r&&r.variants&&!n(r.variants)?l(a,r.variants):a,h=null!=r&&r.defaultVariants&&!n(r.defaultVariants)?{...r.defaultVariants,...p}:p;!n(f.twMergeConfig)&&!((e,t)=>JSON.stringify(e)===JSON.stringify(t))(f.twMergeConfig,le)&&(ce=!0,le=f.twMergeConfig);let m=n(null==r?void 0:r.slots),w=n(i)?{}:{base:ae(null==e?void 0:e.base,m&&(null==r?void 0:r.base)),...i},y=m?w:ue({...null==r?void 0:r.slots},n(w)?{base:null==e?void 0:e.base}:w),v=e=>{if(n(g)&&n(i)&&m)return de(b,null==e?void 0:e.class,null==e?void 0:e.className)(f);if(d&&!Array.isArray(d))throw new TypeError('The "compoundVariants" prop must be an array. Received: '+typeof d);if(u&&!Array.isArray(u))throw new TypeError('The "compoundSlots" prop must be an array. Received: '+typeof u);let t=(e,t,r=[],o)=>{let n=r;if("string"==typeof t)n=n.concat(c(t).split(" ").map((t=>`${e}:${t}`)));else if(Array.isArray(t))n=n.concat(t.reduce(((t,r)=>t.concat(`${e}:${r}`)),[]));else if("object"==typeof t&&"string"==typeof o)for(let r in t)if(t.hasOwnProperty(r)&&r===o){let i=t[r];if(i&&"string"==typeof i){let t=c(i);n[o]?n[o]=n[o].concat(t.split(" ").map((t=>`${e}:${t}`))):n[o]=t.split(" ").map((t=>`${e}:${t}`))}else Array.isArray(i)&&i.length>0&&(n[o]=i.reduce(((t,r)=>t.concat(`${e}:${r}`)),[]))}return n},a=(r,i=g,a=null,s=null)=>{var l;let c=i[r];if(!c||n(c))return null;let d=null!=(l=null==s?void 0:s[r])?l:null==e?void 0:e[r];if(null===d)return null;let u=o(d),p=Array.isArray(f.responsiveVariants)&&f.responsiveVariants.length>0||!0===f.responsiveVariants,b=null==h?void 0:h[r],m=[];if("object"==typeof u&&p)for(let[e,r]of Object.entries(u)){let o=c[r];"initial"!==e?Array.isArray(f.responsiveVariants)&&!f.responsiveVariants.includes(e)||(m=t(e,o,m,a)):b=r}let w=c[null!=u&&"object"!=typeof u?u:o(b)]||c.false;return"object"==typeof m&&"string"==typeof a&&m[a]?ue(m,w):m.length>0?(m.push(w),m):w},l=(e,t)=>{if(!g||"object"!=typeof g)return null;let r=new Array;for(let o in g){let n=a(o,g,e,t),i="base"===e&&"string"==typeof n?n:n&&n[e];i&&(r[r.length]=i)}return r},p={};for(let t in e)void 0!==e[t]&&(p[t]=e[t]);let w=(t,r)=>{var o;let n="object"==typeof(null==e?void 0:e[t])?{[t]:null==(o=e[t])?void 0:o.initial}:{};return{...h,...p,...n,...r}},v=(e=[],t)=>{let r=[];for(let{class:o,className:n,...i}of e){let e=!0;for(let[r,o]of Object.entries(i)){let n=w(r,t);if(Array.isArray(o)){if(!o.includes(n[r])){e=!1;break}}else if(n[r]!==o){e=!1;break}}e&&(o&&r.push(o),n&&r.push(n))}return r},x=e=>{let t=v(d,e),o=v(null==r?void 0:r.compoundVariants,e);return s(o,t)},k=e=>{let t=x(e);if(!Array.isArray(t))return t;let r={};for(let e of t)if("string"==typeof e&&(r.base=de(r.base,e)(f)),"object"==typeof e)for(let[t,o]of Object.entries(e))r[t]=de(r[t],o)(f);return r},z=e=>{if(u.length<1)return null;let t={};for(let{slots:r=[],class:o,className:i,...a}of u){if(!n(a)){let t=!0;for(let r of Object.keys(a)){let o=w(r,e)[r];if(void 0===o||(Array.isArray(a[r])?!a[r].includes(o):a[r]!==o)){t=!1;break}}if(!t)continue}for(let e of r)t[e]=t[e]||[],t[e].push([o,i])}return t};if(!n(i)||!m){let e={};if("object"==typeof y&&!n(y))for(let t of Object.keys(y))e[t]=e=>{var r,o;return de(y[t],l(t,e),(null!=(r=k(e))?r:[])[t],(null!=(o=z(e))?o:[])[t],null==e?void 0:e.class,null==e?void 0:e.className)(f)};return e}return de(b,g?Object.keys(g).map((e=>a(e,g))):null,x(),null==e?void 0:e.class,null==e?void 0:e.className)(f)};return v.variantKeys=(()=>{if(g&&"object"==typeof g)return Object.keys(g)})(),v.extend=r,v.base=b,v.slots=y,v.variants=g,v.defaultVariants=h,v.compoundSlots=u,v.compoundVariants=d,v})({slots:{frame:"table table-auto w-full",header:"bg-gray-200 text-gray-600",row:"hover:bg-gray-100",cell:"p-2 w-fit text-left cursor-default"},variants:{hover:{true:{row:"hover:cursor-pointer"}}}});function fe(e){var o=t.useState({key:"id",order:"ASC"}),n=o[0],i=o[1],a=e.cols,s=function(e,t,r){if(r||2===arguments.length)for(var o,n=0,i=t.length;n<i;n++)!o&&n in t||(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}([],e.rows,!0).sort((function(e,t){return e[n.key]<t[n.key]?"ASC"===n.order?-1:1:e[n.key]>t[n.key]?"ASC"===n.order?1:-1:0}));return{cols:a.map((function(e){return r(r({},e),{onClick:function(t){t.preventDefault(),n.key===e.key?i({key:e.key,order:"ASC"===n.order?"DESC":"ASC"}):i({key:e.key,order:"ASC"})}})})),rows:s,sortKey:n.key,sortOrder:n.order}}exports.BaseTable=function(t){var r,o=fe(t),n=o.cols,i=o.rows,a=o.sortKey,s=o.sortOrder,l=pe({hover:!!(null===(r=i[0])||void 0===r?void 0:r.onClick)}),c=l.frame,d=l.cell,u=l.row,p=l.header;return e.jsxs("table",{className:c(),children:[e.jsx("thead",{className:p(),children:e.jsx("tr",{children:n.map((function(t){return e.jsxs("th",{className:d(),children:[t.label,e.jsx("button",{onClick:t.onClick,children:a===t.key?"ASC"===s?"▲":"▼":"△"})]},t.key)}))})}),e.jsx("tbody",{children:i.map((function(t){return e.jsx("tr",{className:u(),onClick:t.onClick,"data-testid":t.id,children:n.map((function(r){return e.jsx("td",{children:e.jsx("div",{className:d(),onClick:function(e){e.preventDefault(),e.stopPropagation()},children:t[r.key]})},r.key)}))},t.id)}))})]})};
2
2
  //# sourceMappingURL=index.js.map