/**
 * @copyright CEA
 * @author CEA
 * @license CECILL
 *
 * This software is a collaborative computer program whose purpose is to
 * generate and explore labeled data for computer vision applications.
 * This software is governed by the CeCILL-C license under French law and
 * abiding by the rules of distribution of free software. You can use,
 * modify and/ or redistribute the software under the terms of the CeCILL-C
 * license as circulated by CEA, CNRS and INRIA at the following URL
 *
 * http://www.cecill.info
 */async function De(){let e;try{const t=await fetch("/datasets");t.ok?e=await t.json():(e=[],console.log("api.getDatasets -",t.status,t.statusText,await t.text()))}catch(t){e=[],console.log("api.getDatasets -",t)}return e}async function We(e){let t;try{const r=await fetch(`/datasets/${e}`);r.ok?t=await r.json():(t={},console.log("api.getDataset -",r.status,r.statusText,await r.text()))}catch(r){t={},console.log("api.getDataset -",r)}return t}async function Be(e,t=1,r=100){let o;try{const n=await fetch(`/datasets/${e}/items?page=${t}&size=${r}`);n.ok?o=await n.json():(o={},console.log("api.getDatasetItems -",n.status,n.statusText,await n.text()))}catch(n){o={},console.log("api.getDatasetItems -",n)}return o}async function Ne(e,t,r=1,o=100){let n;try{const a=await fetch(`/datasets/${e}/search?page=${r}&size=${o}`,{headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(t),method:"POST"});a.ok?n=await a.json():(n={},console.log("api.searchDatasetItems -",a.status,a.statusText,await a.text()))}catch(a){n={},console.log("api.searchDatasetItems -",a)}return n}async function Ve(e,t){let r;try{const o=await fetch(`/datasets/${e}/items/${t}`);o.ok?r=await o.json():(r={},console.log("api.getDatasetItem -",o.status,o.statusText,await o.text()))}catch(o){r={},console.log("api.getDatasetItem -",o)}return r}async function _e(e,t,r){let o;try{const n=await fetch(`/datasets/${e}/items/${t}/embeddings/${r}`);n.ok?o=await n.json():(o={},console.log("api.getItemEmbeddings -",n.status,n.statusText,await n.text()))}catch(n){o={},console.log("api.getItemEmbeddings -",n)}return o}async function Ue(e,t){try{const r=await fetch(`/datasets/${e}/items/${t.id}`,{headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(t),method:"POST"});r.ok&&console.log("api.postDatasetItem -",r.status,r.statusText,await r.text())}catch(r){console.log("api.postDatasetItem -",r)}}async function Fe(){let e;try{const t=await fetch("/models");t.ok?e=await t.json():(e=[],console.log("api.getModels -",t.status,t.statusText,await t.text()))}catch(t){e=[],console.log("api.getModels -",t)}return e}function Y(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=Y(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function se(){for(var e,t,r=0,o="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=Y(e))&&(o&&(o+=" "),o+=t);return o}const N="-";function ae(e){const t=le(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;function n(s){const i=s.split(N);return i[0]===""&&i.length!==1&&i.shift(),ee(i,t)||ie(s)}function a(s,i){const c=r[s]||[];return i&&o[s]?[...c,...o[s]]:c}return{getClassGroupId:n,getConflictingClassGroupIds:a}}function ee(e,t){var s;if(e.length===0)return t.classGroupId;const r=e[0],o=t.nextPart.get(r),n=o?ee(e.slice(1),o):void 0;if(n)return n;if(t.validators.length===0)return;const a=e.join(N);return(s=t.validators.find(({validator:i})=>i(a)))==null?void 0:s.classGroupId}const K=/^\[(.+)\]$/;function ie(e){if(K.test(e)){const t=K.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}function le(e){const{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return de(Object.entries(e.classGroups),r).forEach(([a,s])=>{B(s,o,a,t)}),o}function B(e,t,r,o){e.forEach(n=>{if(typeof n=="string"){const a=n===""?t:Q(t,n);a.classGroupId=r;return}if(typeof n=="function"){if(ce(n)){B(n(o),t,r,o);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([a,s])=>{B(s,Q(t,a),r,o)})})}function Q(e,t){let r=e;return t.split(N).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r}function ce(e){return e.isThemeGetter}function de(e,t){return t?e.map(([r,o])=>{const n=o.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([s,i])=>[t+s,i])):a);return[r,n]}):e}function ue(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map;function n(a,s){r.set(a,s),t++,t>e&&(t=0,o=r,r=new Map)}return{get(a){let s=r.get(a);if(s!==void 0)return s;if((s=o.get(a))!==void 0)return n(a,s),s},set(a,s){r.has(a)?r.set(a,s):n(a,s)}}}const te="!";function pe(e){const t=e.separator,r=t.length===1,o=t[0],n=t.length;return function(s){const i=[];let c=0,u=0,f;for(let b=0;b<s.length;b++){let m=s[b];if(c===0){if(m===o&&(r||s.slice(b,b+n)===t)){i.push(s.slice(u,b)),u=b+n;continue}if(m==="/"){f=b;continue}}m==="["?c++:m==="]"&&c--}const g=i.length===0?s:s.substring(u),h=g.startsWith(te),y=h?g.substring(1):g,z=f&&f>u?f-u:void 0;return{modifiers:i,hasImportantModifier:h,baseClassName:y,maybePostfixModifierPosition:z}}}function fe(e){if(e.length<=1)return e;const t=[];let r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t}function ge(e){return{cache:ue(e.cacheSize),splitModifiers:pe(e),...ae(e)}}const be=/\s+/;function me(e,t){const{splitModifiers:r,getClassGroupId:o,getConflictingClassGroupIds:n}=t,a=new Set;return e.trim().split(be).map(s=>{const{modifiers:i,hasImportantModifier:c,baseClassName:u,maybePostfixModifierPosition:f}=r(s);let g=o(f?u.substring(0,f):u),h=!!f;if(!g){if(!f)return{isTailwindClass:!1,originalClassName:s};if(g=o(u),!g)return{isTailwindClass:!1,originalClassName:s};h=!1}const y=fe(i).join(":");return{isTailwindClass:!0,modifierId:c?y+te:y,classGroupId:g,originalClassName:s,hasPostfixModifier:h}}).reverse().filter(s=>{if(!s.isTailwindClass)return!0;const{modifierId:i,classGroupId:c,hasPostfixModifier:u}=s,f=i+c;return a.has(f)?!1:(a.add(f),n(c,u).forEach(g=>a.add(i+g)),!0)}).reverse().map(s=>s.originalClassName).join(" ")}function he(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=re(t))&&(o&&(o+=" "),o+=r);return o}function re(e){if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=re(e[o]))&&(r&&(r+=" "),r+=t);return r}function ye(e,...t){let r,o,n,a=s;function s(c){const u=t.reduce((f,g)=>g(f),e());return r=ge(u),o=r.cache.get,n=r.cache.set,a=i,i(c)}function i(c){const u=o(c);if(u)return u;const f=me(c,r);return n(c,f),f}return function(){return a(he.apply(null,arguments))}}function d(e){const t=r=>r[e]||[];return t.isThemeGetter=!0,t}const oe=/^\[(?:([a-z-]+):)?(.+)\]$/i,xe=/^\d+\/\d+$/,we=new Set(["px","full","screen"]),ve=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ke=/\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$/,Ce=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ze=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function w(e){return S(e)||we.has(e)||xe.test(e)}function k(e){return I(e,"length",Ge)}function S(e){return!!e&&!Number.isNaN(Number(e))}function P(e){return I(e,"number",S)}function T(e){return!!e&&Number.isInteger(Number(e))}function Se(e){return e.endsWith("%")&&S(e.slice(0,-1))}function l(e){return oe.test(e)}function C(e){return ve.test(e)}const Ie=new Set(["length","size","percentage"]);function Ae(e){return I(e,Ie,ne)}function Me(e){return I(e,"position",ne)}const Te=new Set(["image","url"]);function je(e){return I(e,Te,Pe)}function $e(e){return I(e,"",Re)}function j(){return!0}function I(e,t,r){const o=oe.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1}function Ge(e){return ke.test(e)}function ne(){return!1}function Re(e){return Ce.test(e)}function Pe(e){return ze.test(e)}function Ee(){const e=d("colors"),t=d("spacing"),r=d("blur"),o=d("brightness"),n=d("borderColor"),a=d("borderRadius"),s=d("borderSpacing"),i=d("borderWidth"),c=d("contrast"),u=d("grayscale"),f=d("hueRotate"),g=d("invert"),h=d("gap"),y=d("gradientColorStops"),z=d("gradientColorStopPositions"),b=d("inset"),m=d("margin"),v=d("opacity"),x=d("padding"),V=d("saturate"),E=d("scale"),_=d("sepia"),U=d("skew"),F=d("space"),J=d("translate"),O=()=>["auto","contain","none"],L=()=>["auto","hidden","clip","visible","scroll"],D=()=>["auto",l,t],p=()=>[l,t],q=()=>["",w,k],$=()=>["auto",S,l],X=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],G=()=>["solid","dashed","dotted","double","none"],Z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],W=()=>["start","end","center","between","around","evenly","stretch"],A=()=>["","0",l],H=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>[S,P],R=()=>[S,l];return{cacheSize:500,separator:":",theme:{colors:[j],spacing:[w,k],blur:["none","",C,l],brightness:M(),borderColor:[e],borderRadius:["none","","full",C,l],borderSpacing:p(),borderWidth:q(),contrast:M(),grayscale:A(),hueRotate:R(),invert:A(),gap:p(),gradientColorStops:[e],gradientColorStopPositions:[Se,k],inset:D(),margin:D(),opacity:M(),padding:p(),saturate:M(),scale:M(),sepia:A(),skew:R(),space:p(),translate:p()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[C]}],"break-after":[{"break-after":H()}],"break-before":[{"break-before":H()}],"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:[...X(),l]}],overflow:[{overflow:L()}],"overflow-x":[{"overflow-x":L()}],"overflow-y":[{"overflow-y":L()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",T,l]}],basis:[{basis:D()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:A()}],shrink:[{shrink:A()}],order:[{order:["first","last","none",T,l]}],"grid-cols":[{"grid-cols":[j]}],"col-start-end":[{col:["auto",{span:["full",T,l]},l]}],"col-start":[{"col-start":$()}],"col-end":[{"col-end":$()}],"grid-rows":[{"grid-rows":[j]}],"row-start-end":[{row:["auto",{span:[T,l]},l]}],"row-start":[{"row-start":$()}],"row-end":[{"row-end":$()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...W()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...W(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...W(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],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":[F]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[F]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[C]},C]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",C,k]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",P]}],"font-family":[{font:[j]}],"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",l]}],"line-clamp":[{"line-clamp":["none",S,P]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",w,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...G(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",w,k]}],"underline-offset":[{"underline-offset":["auto",w,l]}],"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:p()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],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",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...X(),Me]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ae]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},je]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[z]}],"gradient-via-pos":[{via:[z]}],"gradient-to-pos":[{to:[z]}],"gradient-from":[{from:[y]}],"gradient-via":[{via:[y]}],"gradient-to":[{to:[y]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...G(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:G()}],"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:["",...G()]}],"outline-offset":[{"outline-offset":[w,l]}],"outline-w":[{outline:[w,k]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[w,k]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",C,$e]}],"shadow-color":[{shadow:[j]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":Z()}],"bg-blend":[{"bg-blend":Z()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",C,l]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[g]}],saturate:[{saturate:[V]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[V]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:R()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:R()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[E]}],"scale-x":[{"scale-x":[E]}],"scale-y":[{"scale-y":[E]}],rotate:[{rotate:[T,l]}],"translate-x":[{"translate-x":[J]}],"translate-y":[{"translate-y":[J]}],"skew-x":[{"skew-x":[U]}],"skew-y":[{"skew-y":[U]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],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",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":p()}],"scroll-mx":[{"scroll-mx":p()}],"scroll-my":[{"scroll-my":p()}],"scroll-ms":[{"scroll-ms":p()}],"scroll-me":[{"scroll-me":p()}],"scroll-mt":[{"scroll-mt":p()}],"scroll-mr":[{"scroll-mr":p()}],"scroll-mb":[{"scroll-mb":p()}],"scroll-ml":[{"scroll-ml":p()}],"scroll-p":[{"scroll-p":p()}],"scroll-px":[{"scroll-px":p()}],"scroll-py":[{"scroll-py":p()}],"scroll-ps":[{"scroll-ps":p()}],"scroll-pe":[{"scroll-pe":p()}],"scroll-pt":[{"scroll-pt":p()}],"scroll-pr":[{"scroll-pr":p()}],"scroll-pb":[{"scroll-pb":p()}],"scroll-pl":[{"scroll-pl":p()}],"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",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[w,k,P]}],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"]}}}const Oe=ye(Ee);function Le(e){const t=e-1;return t*t*t+1}function Je(...e){return Oe(se(e))}const qe=(e,t={y:-8,x:0,start:.95,duration:150})=>{const r=getComputedStyle(e),o=r.transform==="none"?"":r.transform,n=(s,i,c)=>{const[u,f]=i,[g,h]=c;return(s-u)/(f-u)*(h-g)+g},a=s=>Object.keys(s).reduce((i,c)=>s[c]===void 0?i:i+`${c}:${s[c]};`,"");return{duration:t.duration??200,delay:0,css:s=>{const i=n(s,[0,1],[t.y??5,0]),c=n(s,[0,1],[t.x??0,0]),u=n(s,[0,1],[t.start??.95,1]);return a({transform:`${o} translate3d(${c}px, ${i}px, 0) scale(${u})`,opacity:s})},easing:Le}};export{Fe as a,De as b,Je as c,Be as d,_e as e,qe as f,We as g,Ve as h,Ue as p,Ne as s};
