revotech-ui-kit 0.0.12 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/icons/arrows.icon.d.ts +1 -0
- package/dist/assets/icons/index.d.ts +3 -0
- package/dist/assets/icons/search.icon.d.ts +1 -0
- package/dist/assets/icons/tick.icon.d.ts +1 -0
- package/dist/components/atoms/alert/alert-description.d.ts +6 -0
- package/dist/components/atoms/alert/alert-title.d.ts +6 -0
- package/dist/components/atoms/alert/alert.atom.d.ts +23 -0
- package/dist/components/atoms/alert/alert.stories.d.ts +6 -0
- package/dist/components/atoms/alert/alert.styles.d.ts +4 -0
- package/dist/components/atoms/alert/alert.types.d.ts +1 -0
- package/dist/components/atoms/badge/badge.atom.d.ts +17 -0
- package/dist/components/atoms/badge/badge.stories.d.ts +6 -0
- package/dist/components/atoms/badge/badge.style.d.ts +3 -0
- package/dist/components/atoms/badge/badge.type.d.ts +1 -0
- package/dist/components/atoms/button/button.atom.d.ts +23 -0
- package/dist/components/atoms/button/button.stories.d.ts +6 -0
- package/dist/components/atoms/button/button.style.d.ts +4 -0
- package/dist/components/atoms/button/button.type.d.ts +3 -0
- package/dist/components/atoms/card/card-content.d.ts +6 -0
- package/dist/components/atoms/card/card-description.d.ts +6 -0
- package/dist/components/atoms/card/card-footer.d.ts +6 -0
- package/dist/components/atoms/card/card-header.d.ts +6 -0
- package/dist/components/atoms/card/card-title.d.ts +6 -0
- package/dist/components/atoms/card/card.atom.d.ts +22 -0
- package/dist/components/atoms/card/card.stories.d.ts +6 -0
- package/dist/components/atoms/checkbox/checkbox.atom.d.ts +19 -0
- package/dist/components/atoms/checkbox/checkbox.stories.d.ts +7 -0
- package/dist/components/atoms/checkbox/checkbox.style.d.ts +2 -0
- package/dist/components/atoms/checkbox/checkbox.type.d.ts +21 -0
- package/dist/components/atoms/combo-box/combo-box-input.d.ts +9 -0
- package/dist/components/atoms/combo-box/combo-box-item.d.ts +13 -0
- package/dist/components/atoms/combo-box/combo-box-list.d.ts +10 -0
- package/dist/components/atoms/combo-box/combo-box.atom.d.ts +27 -0
- package/dist/components/atoms/combo-box/combo-box.stories.d.ts +6 -0
- package/dist/components/atoms/command/command-empty.atom.d.ts +10 -0
- package/dist/components/atoms/command/command-group.atom.d.ts +11 -0
- package/dist/components/atoms/command/command-input.atom.d.ts +11 -0
- package/dist/components/atoms/command/command-item.atom.d.ts +13 -0
- package/dist/components/atoms/command/command-list.atom.d.ts +7 -0
- package/dist/components/atoms/command/command-separator.atom.d.ts +10 -0
- package/dist/components/atoms/command/command.atom.d.ts +7 -0
- package/dist/components/atoms/command/command.stories.d.ts +5 -0
- package/dist/components/atoms/dialog/dialog-close.d.ts +13 -0
- package/dist/components/atoms/dialog/dialog-content.d.ts +9 -0
- package/dist/components/atoms/dialog/dialog-footer.d.ts +6 -0
- package/dist/components/atoms/dialog/dialog-header.d.ts +8 -0
- package/dist/components/atoms/dialog/dialog-overly.d.ts +6 -0
- package/dist/components/atoms/dialog/dialog-trigger.d.ts +9 -0
- package/dist/components/atoms/dialog/dialog.atom.d.ts +25 -0
- package/dist/components/atoms/dialog/dialog.stories.d.ts +7 -0
- package/dist/components/atoms/dropdownMenu/dropdown-menu-checkbox-Item.d.ts +16 -0
- package/dist/components/atoms/dropdownMenu/dropdown-menu-content.d.ts +14 -0
- package/dist/components/atoms/dropdownMenu/dropdown-menu-group.d.ts +11 -0
- package/dist/components/atoms/dropdownMenu/dropdown-menu-item.d.ts +13 -0
- package/dist/components/atoms/dropdownMenu/dropdown-menu-radio-item.d.ts +16 -0
- package/dist/components/atoms/dropdownMenu/dropdown-menu-seperator.d.ts +10 -0
- package/dist/components/atoms/dropdownMenu/dropdown-menu-shortcut.d.ts +6 -0
- package/dist/components/atoms/dropdownMenu/dropdown-menu.atom.d.ts +31 -0
- package/dist/components/atoms/dropdownMenu/dropdownMenu.stories.d.ts +7 -0
- package/dist/components/atoms/dropdownMenu/dropdownMenu.style.d.ts +2 -0
- package/dist/components/atoms/index.d.ts +19 -0
- package/dist/components/atoms/input/input.atom.d.ts +22 -0
- package/dist/components/atoms/input/input.stories.d.ts +6 -0
- package/dist/components/atoms/input/input.styles.d.ts +1 -0
- package/dist/components/atoms/input/input.type.d.ts +21 -0
- package/dist/components/atoms/label/label.atom.d.ts +17 -0
- package/dist/components/atoms/label/label.stories.d.ts +6 -0
- package/dist/components/atoms/label/label.style.d.ts +1 -0
- package/dist/components/atoms/popover/popover-content.d.ts +12 -0
- package/dist/components/atoms/popover/popover-trigger.d.ts +10 -0
- package/dist/components/atoms/popover/popover.atom.d.ts +19 -0
- package/dist/components/atoms/popover/popover.stories.d.ts +5 -0
- package/dist/components/atoms/popover/popover.style.d.ts +5 -0
- package/dist/components/atoms/popover/popover.types.d.ts +2 -0
- package/dist/components/atoms/textarea/textarea.atom.d.ts +17 -0
- package/dist/components/atoms/textarea/textarea.stories.d.ts +5 -0
- package/dist/components/atoms/textarea/textarea.styles.d.ts +1 -0
- package/dist/components/atoms/textarea/textarea.type.d.ts +11 -0
- package/dist/components/atoms/toggle/defs.d.ts +27 -0
- package/dist/components/atoms/toggle/toggle.atom.d.ts +20 -0
- package/dist/components/atoms/toggle/toggle.stories.d.ts +6 -0
- package/dist/components/atoms/toggle/toggle.style.d.ts +4 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/molecules/breadCrumb/Breadcrumb-link.d.ts +8 -0
- package/dist/components/molecules/breadCrumb/breadCrumb.stories.d.ts +5 -0
- package/dist/components/molecules/breadCrumb/breadcrumb-ellipsis.d.ts +7 -0
- package/dist/components/molecules/breadCrumb/breadcrumb-item.d.ts +7 -0
- package/dist/components/molecules/breadCrumb/breadcrumb-list.d.ts +7 -0
- package/dist/components/molecules/breadCrumb/breadcrumb-separator.d.ts +7 -0
- package/dist/components/molecules/breadCrumb/breadcrumb-text.d.ts +7 -0
- package/dist/components/molecules/breadCrumb/breadcrumb.molecules.d.ts +7 -0
- package/dist/components/molecules/breadCrumb/breadcrumb.styles.d.ts +6 -0
- package/dist/components/molecules/dropdownMenu/dropdownMenu.molecules.d.ts +0 -0
- package/dist/components/molecules/index.d.ts +7 -0
- package/dist/components/molecules/toggle-group/defs.d.ts +37 -0
- package/dist/components/molecules/toggle-group/toggle-group-item.d.ts +18 -0
- package/dist/components/molecules/toggle-group/toggle-group.molecules.d.ts +19 -0
- package/dist/components/molecules/toggle-group/toggle-group.stories.d.ts +5 -0
- package/dist/components/molecules/toggle-group/toggle-group.style.d.ts +4 -0
- package/dist/helpers/base-element.d.ts +11 -0
- package/dist/helpers/index.d.ts +3 -0
- package/dist/helpers/mouse-conroller.helper.d.ts +15 -0
- package/dist/helpers/style.helpers.d.ts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/interfaces/actionable.interface.d.ts +6 -0
- package/dist/interfaces/atomic.interface.d.ts +6 -0
- package/dist/interfaces/changeable.interface.d.ts +8 -0
- package/dist/interfaces/child-support-atomic.interface.d.ts +5 -0
- package/dist/interfaces/index.d.ts +6 -0
- package/dist/interfaces/intractable.interface.d.ts +6 -0
- package/dist/interfaces/variant.interface.d.ts +3 -0
- package/dist/lib/index.d.ts +0 -0
- package/dist/lib/next/next.lib.d.ts +0 -0
- package/dist/lib/react/react.lib.d.ts +3 -0
- package/dist/lib/tw-styles.d.ts +1 -0
- package/dist/revotech-ui-kit.js +7135 -0
- package/dist/revotech-ui-kit.umd.cjs +2977 -0
- package/dist/src/assets/icons/arrows.icon.d.ts +1 -1
- package/dist/src/assets/icons/search.icon.d.ts +1 -1
- package/dist/src/assets/icons/tick.icon.d.ts +1 -1
- package/dist/src/components/atoms/alert/alert-description.d.ts +3 -2
- package/dist/src/components/atoms/alert/alert-title.d.ts +3 -2
- package/dist/src/components/atoms/alert/alert.atom.d.ts +4 -3
- package/dist/src/components/atoms/alert/alert.stories.d.ts +1 -1
- package/dist/src/components/atoms/alert/alert.styles.d.ts +1 -1
- package/dist/src/components/atoms/badge/badge.atom.d.ts +4 -3
- package/dist/src/components/atoms/badge/badge.stories.d.ts +2 -2
- package/dist/src/components/atoms/badge/badge.style.d.ts +1 -1
- package/dist/src/components/atoms/button/button.atom.d.ts +4 -3
- package/dist/src/components/atoms/button/button.stories.d.ts +2 -2
- package/dist/src/components/atoms/button/button.style.d.ts +1 -1
- package/dist/src/components/atoms/card/card-content.d.ts +3 -2
- package/dist/src/components/atoms/card/card-description.d.ts +3 -2
- package/dist/src/components/atoms/card/card-footer.d.ts +3 -2
- package/dist/src/components/atoms/card/card-header.d.ts +3 -2
- package/dist/src/components/atoms/card/card-title.d.ts +3 -2
- package/dist/src/components/atoms/card/card.atom.d.ts +3 -2
- package/dist/src/components/atoms/card/card.stories.d.ts +2 -2
- package/dist/src/components/atoms/checkbox/checkbox.atom.d.ts +3 -2
- package/dist/src/components/atoms/checkbox/checkbox.stories.d.ts +2 -3
- package/dist/src/components/atoms/combo-box/combo-box-input.d.ts +3 -2
- package/dist/src/components/atoms/combo-box/combo-box-item.d.ts +3 -2
- package/dist/src/components/atoms/combo-box/combo-box-list.d.ts +3 -2
- package/dist/src/components/atoms/combo-box/combo-box.atom.d.ts +3 -4
- package/dist/src/components/atoms/combo-box/combo-box.stories.d.ts +2 -4
- package/dist/src/components/atoms/command/command-empty.atom.d.ts +3 -2
- package/dist/src/components/atoms/command/command-group.atom.d.ts +3 -2
- package/dist/src/components/atoms/command/command-input.atom.d.ts +3 -2
- package/dist/src/components/atoms/command/command-item.atom.d.ts +3 -2
- package/dist/src/components/atoms/command/command-list.atom.d.ts +3 -2
- package/dist/src/components/atoms/command/command-separator.atom.d.ts +3 -2
- package/dist/src/components/atoms/command/command.atom.d.ts +3 -2
- package/dist/src/components/atoms/command/command.stories.d.ts +2 -8
- package/dist/src/components/atoms/dialog/dialog-close.d.ts +3 -2
- package/dist/src/components/atoms/dialog/dialog-content.d.ts +3 -2
- package/dist/src/components/atoms/dialog/dialog-footer.d.ts +3 -2
- package/dist/src/components/atoms/dialog/dialog-header.d.ts +3 -2
- package/dist/src/components/atoms/dialog/dialog-overly.d.ts +3 -2
- package/dist/src/components/atoms/dialog/dialog-trigger.d.ts +3 -2
- package/dist/src/components/atoms/dialog/dialog.atom.d.ts +3 -2
- package/dist/src/components/atoms/dialog/dialog.stories.d.ts +1 -10
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-checkbox-Item.d.ts +3 -2
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-content.d.ts +3 -2
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-group.d.ts +3 -2
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-item.d.ts +3 -2
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-radio-item.d.ts +3 -2
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-seperator.d.ts +3 -2
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-shortcut.d.ts +3 -2
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu.atom.d.ts +3 -2
- package/dist/src/components/atoms/dropdownMenu/dropdownMenu.stories.d.ts +1 -10
- package/dist/src/components/atoms/dropdownMenu/dropdownMenu.style.d.ts +2 -2
- package/dist/src/components/atoms/input/input.atom.d.ts +4 -3
- package/dist/src/components/atoms/input/input.stories.d.ts +1 -3
- package/dist/src/components/atoms/label/label.atom.d.ts +4 -3
- package/dist/src/components/atoms/label/label.stories.d.ts +1 -1
- package/dist/src/components/atoms/label/label.style.d.ts +1 -1
- package/dist/src/components/atoms/popover/popover-content.d.ts +3 -2
- package/dist/src/components/atoms/popover/popover-trigger.d.ts +3 -2
- package/dist/src/components/atoms/popover/popover.atom.d.ts +3 -2
- package/dist/src/components/atoms/popover/popover.stories.d.ts +1 -6
- package/dist/src/components/atoms/popover/popover.style.d.ts +2 -2
- package/dist/src/components/atoms/textarea/textarea.atom.d.ts +3 -2
- package/dist/src/components/atoms/textarea/textarea.stories.d.ts +1 -3
- package/dist/src/components/atoms/toggle/toggle.atom.d.ts +4 -3
- package/dist/src/components/atoms/toggle/toggle.stories.d.ts +2 -1
- package/dist/src/components/atoms/toggle/toggle.style.d.ts +1 -1
- package/dist/src/components/molecules/breadCrumb/Breadcrumb-link.d.ts +3 -2
- package/dist/src/components/molecules/breadCrumb/breadCrumb.stories.d.ts +2 -13
- package/dist/src/components/molecules/breadCrumb/breadcrumb-ellipsis.d.ts +3 -2
- package/dist/src/components/molecules/breadCrumb/breadcrumb-item.d.ts +3 -2
- package/dist/src/components/molecules/breadCrumb/breadcrumb-list.d.ts +3 -2
- package/dist/src/components/molecules/breadCrumb/breadcrumb-separator.d.ts +3 -2
- package/dist/src/components/molecules/breadCrumb/breadcrumb-text.d.ts +3 -2
- package/dist/src/components/molecules/breadCrumb/breadcrumb.molecules.d.ts +3 -2
- package/dist/src/components/molecules/toggle-group/toggle-group-item.d.ts +4 -3
- package/dist/src/components/molecules/toggle-group/toggle-group.molecules.d.ts +3 -3
- package/dist/src/components/molecules/toggle-group/toggle-group.stories.d.ts +2 -2
- package/dist/src/components/molecules/toggle-group/toggle-group.style.d.ts +1 -1
- package/dist/src/helpers/base-element.d.ts +1 -0
- package/dist/src/helpers/mouse-conroller.helper.d.ts +1 -0
- package/dist/src/helpers/style.helpers.d.ts +2 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/interfaces/actionable.interface.d.ts +2 -1
- package/dist/src/interfaces/changeable.interface.d.ts +2 -1
- package/dist/src/interfaces/child-support-atomic.interface.d.ts +1 -0
- package/dist/src/lib/react/react.lib.d.ts +4 -4
- package/dist/src/lib/tw-styles.d.ts +1 -1
- package/dist/src/styles/tw.styles.d.ts +1 -1
- package/dist/src/wc-ui-app.d.ts +3 -2
- package/dist/styles/index.d.ts +1 -0
- package/dist/styles/tw.styles.d.ts +1 -0
- package/dist/wc-ui-app.d.ts +7 -0
- package/package.json +4 -4
- package/dist/tsconfig.tsbuildinfo +0 -1
@@ -0,0 +1,2977 @@
|
|
1
|
+
(function(a,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("lit"),require("lit/decorators.js"),require("lit/html.js"),require("lit/directive.js"),require("lit/async-directive.js"),require("lit-element")):typeof define=="function"&&define.amd?define(["exports","lit","lit/decorators.js","lit/html.js","lit/directive.js","lit/async-directive.js","lit-element"],l):(a=typeof globalThis<"u"?globalThis:a||self,l(a["revotech-ui-kit"]={},a.lit,a.decorators_js,a.html_js,a.directive_js,a.asyncDirective_js,a.litElement))})(this,function(a,l,d,gt,he,mt,ft){"use strict";function Le(n){var e,r,o="";if(typeof n=="string"||typeof n=="number")o+=n;else if(typeof n=="object")if(Array.isArray(n)){var t=n.length;for(e=0;e<t;e++)n[e]&&(r=Le(n[e]))&&(o&&(o+=" "),o+=r)}else for(r in n)n[r]&&(o&&(o+=" "),o+=r);return o}function bt(){for(var n,e,r=0,o="",t=arguments.length;r<t;r++)(n=arguments[r])&&(e=Le(n))&&(o&&(o+=" "),o+=e);return o}const ge="-",vt=n=>{const e=yt(n),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=n;return{getClassGroupId:s=>{const c=s.split(ge);return c[0]===""&&c.length!==1&&c.shift(),Te(c,e)||wt(s)},getConflictingClassGroupIds:(s,c)=>{const b=r[s]||[];return c&&o[s]?[...b,...o[s]]:b}}},Te=(n,e)=>{var s;if(n.length===0)return e.classGroupId;const r=n[0],o=e.nextPart.get(r),t=o?Te(n.slice(1),o):void 0;if(t)return t;if(e.validators.length===0)return;const i=n.join(ge);return(s=e.validators.find(({validator:c})=>c(i)))==null?void 0:s.classGroupId},Be=/^\[(.+)\]$/,wt=n=>{if(Be.test(n)){const e=Be.exec(n)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},yt=n=>{const{theme:e,prefix:r}=n,o={nextPart:new Map,validators:[]};return $t(Object.entries(n.classGroups),r).forEach(([i,s])=>{me(s,o,i,e)}),o},me=(n,e,r,o)=>{n.forEach(t=>{if(typeof t=="string"){const i=t===""?e:Re(e,t);i.classGroupId=r;return}if(typeof t=="function"){if(xt(t)){me(t(o),e,r,o);return}e.validators.push({validator:t,classGroupId:r});return}Object.entries(t).forEach(([i,s])=>{me(s,Re(e,i),r,o)})})},Re=(n,e)=>{let r=n;return e.split(ge).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},xt=n=>n.isThemeGetter,$t=(n,e)=>e?n.map(([r,o])=>{const t=o.map(i=>typeof i=="string"?e+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,c])=>[e+s,c])):i);return[r,t]}):n,_t=n=>{if(n<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,o=new Map;const t=(i,s)=>{r.set(i,s),e++,e>n&&(e=0,o=r,r=new Map)};return{get(i){let s=r.get(i);if(s!==void 0)return s;if((s=o.get(i))!==void 0)return t(i,s),s},set(i,s){r.has(i)?r.set(i,s):t(i,s)}}},Ne="!",Ct=n=>{const{separator:e,experimentalParseClassName:r}=n,o=e.length===1,t=e[0],i=e.length,s=c=>{const b=[];let g=0,m=0,x;for(let v=0;v<c.length;v++){let _=c[v];if(g===0){if(_===t&&(o||c.slice(v,v+i)===e)){b.push(c.slice(m,v)),m=v+i;continue}if(_==="/"){x=v;continue}}_==="["?g++:_==="]"&&g--}const $=b.length===0?c:c.substring(m),P=$.startsWith(Ne),k=P?$.substring(1):$,y=x&&x>m?x-m:void 0;return{modifiers:b,hasImportantModifier:P,baseClassName:k,maybePostfixModifierPosition:y}};return r?c=>r({className:c,parseClassName:s}):s},Ot=n=>{if(n.length<=1)return n;const e=[];let r=[];return n.forEach(o=>{o[0]==="["?(e.push(...r.sort(),o),r=[]):r.push(o)}),e.push(...r.sort()),e},kt=n=>({cache:_t(n.cacheSize),parseClassName:Ct(n),...vt(n)}),Dt=/\s+/,Pt=(n,e)=>{const{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:t}=e,i=[],s=n.trim().split(Dt);let c="";for(let b=s.length-1;b>=0;b-=1){const g=s[b],{modifiers:m,hasImportantModifier:x,baseClassName:$,maybePostfixModifierPosition:P}=r(g);let k=!!P,y=o(k?$.substring(0,P):$);if(!y){if(!k){c=g+(c.length>0?" "+c:c);continue}if(y=o($),!y){c=g+(c.length>0?" "+c:c);continue}k=!1}const v=Ot(m).join(":"),_=x?v+Ne:v,D=_+y;if(i.includes(D))continue;i.push(D);const oe=t(y,k);for(let j=0;j<oe.length;++j){const ce=oe[j];i.push(_+ce)}c=g+(c.length>0?" "+c:c)}return c};function Et(){let n=0,e,r,o="";for(;n<arguments.length;)(e=arguments[n++])&&(r=qe(e))&&(o&&(o+=" "),o+=r);return o}const qe=n=>{if(typeof n=="string")return n;let e,r="";for(let o=0;o<n.length;o++)n[o]&&(e=qe(n[o]))&&(r&&(r+=" "),r+=e);return r};function St(n,...e){let r,o,t,i=s;function s(b){const g=e.reduce((m,x)=>x(m),n());return r=kt(g),o=r.cache.get,t=r.cache.set,i=c,c(b)}function c(b){const g=o(b);if(g)return g;const m=Pt(b,r);return t(b,m),m}return function(){return i(Et.apply(null,arguments))}}const f=n=>{const e=r=>r[n]||[];return e.isThemeGetter=!0,e},Fe=/^\[(?:([a-z-]+):)?(.+)\]$/i,Mt=/^\d+\/\d+$/,zt=new Set(["px","full","screen"]),At=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,It=/\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$/,Lt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Tt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Bt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=n=>G(n)||zt.has(n)||Mt.test(n),I=n=>V(n,"length",Ut),G=n=>!!n&&!Number.isNaN(Number(n)),fe=n=>V(n,"number",G),Z=n=>!!n&&Number.isInteger(Number(n)),Rt=n=>n.endsWith("%")&&G(n.slice(0,-1)),u=n=>Fe.test(n),L=n=>At.test(n),Nt=new Set(["length","size","percentage"]),qt=n=>V(n,Nt,je),Ft=n=>V(n,"position",je),jt=new Set(["image","url"]),Gt=n=>V(n,jt,Xt),Vt=n=>V(n,"",Ht),Q=()=>!0,V=(n,e,r)=>{const o=Fe.exec(n);return o?o[1]?typeof e=="string"?o[1]===e:e.has(o[1]):r(o[2]):!1},Ut=n=>It.test(n)&&!Lt.test(n),je=()=>!1,Ht=n=>Tt.test(n),Xt=n=>Bt.test(n),Yt=St(()=>{const n=f("colors"),e=f("spacing"),r=f("blur"),o=f("brightness"),t=f("borderColor"),i=f("borderRadius"),s=f("borderSpacing"),c=f("borderWidth"),b=f("contrast"),g=f("grayscale"),m=f("hueRotate"),x=f("invert"),$=f("gap"),P=f("gradientColorStops"),k=f("gradientColorStopPositions"),y=f("inset"),v=f("margin"),_=f("opacity"),D=f("padding"),oe=f("saturate"),j=f("scale"),ce=f("sepia"),at=f("skew"),lt=f("space"),dt=f("translate"),Me=()=>["auto","contain","none"],ze=()=>["auto","hidden","clip","visible","scroll"],Ae=()=>["auto",u,e],w=()=>[u,e],ct=()=>["",M,I],pe=()=>["auto",G,u],pt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ue=()=>["solid","dashed","dotted","double","none"],ut=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ie=()=>["start","end","center","between","around","evenly","stretch"],ne=()=>["","0",u],ht=()=>["auto","avoid","all","avoid-page","page","left","right","column"],A=()=>[G,u];return{cacheSize:500,separator:":",theme:{colors:[Q],spacing:[M,I],blur:["none","",L,u],brightness:A(),borderColor:[n],borderRadius:["none","","full",L,u],borderSpacing:w(),borderWidth:ct(),contrast:A(),grayscale:ne(),hueRotate:A(),invert:ne(),gap:w(),gradientColorStops:[n],gradientColorStopPositions:[Rt,I],inset:Ae(),margin:Ae(),opacity:A(),padding:w(),saturate:A(),scale:A(),sepia:ne(),skew:A(),space:w(),translate:w()},classGroups:{aspect:[{aspect:["auto","square","video",u]}],container:["container"],columns:[{columns:[L]}],"break-after":[{"break-after":ht()}],"break-before":[{"break-before":ht()}],"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:[...pt(),u]}],overflow:[{overflow:ze()}],"overflow-x":[{"overflow-x":ze()}],"overflow-y":[{"overflow-y":ze()}],overscroll:[{overscroll:Me()}],"overscroll-x":[{"overscroll-x":Me()}],"overscroll-y":[{"overscroll-y":Me()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Z,u]}],basis:[{basis:Ae()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",u]}],grow:[{grow:ne()}],shrink:[{shrink:ne()}],order:[{order:["first","last","none",Z,u]}],"grid-cols":[{"grid-cols":[Q]}],"col-start-end":[{col:["auto",{span:["full",Z,u]},u]}],"col-start":[{"col-start":pe()}],"col-end":[{"col-end":pe()}],"grid-rows":[{"grid-rows":[Q]}],"row-start-end":[{row:["auto",{span:[Z,u]},u]}],"row-start":[{"row-start":pe()}],"row-end":[{"row-end":pe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",u]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",u]}],gap:[{gap:[$]}],"gap-x":[{"gap-x":[$]}],"gap-y":[{"gap-y":[$]}],"justify-content":[{justify:["normal",...Ie()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Ie(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Ie(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[D]}],px:[{px:[D]}],py:[{py:[D]}],ps:[{ps:[D]}],pe:[{pe:[D]}],pt:[{pt:[D]}],pr:[{pr:[D]}],pb:[{pb:[D]}],pl:[{pl:[D]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[lt]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[lt]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",u,e]}],"min-w":[{"min-w":[u,e,"min","max","fit"]}],"max-w":[{"max-w":[u,e,"none","full","min","max","fit","prose",{screen:[L]},L]}],h:[{h:[u,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[u,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[u,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[u,e,"auto","min","max","fit"]}],"font-size":[{text:["base",L,I]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",fe]}],"font-family":[{font:[Q]}],"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",u]}],"line-clamp":[{"line-clamp":["none",G,fe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,u]}],"list-image":[{"list-image":["none",u]}],"list-style-type":[{list:["none","disc","decimal",u]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[n]}],"placeholder-opacity":[{"placeholder-opacity":[_]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[n]}],"text-opacity":[{"text-opacity":[_]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ue(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,I]}],"underline-offset":[{"underline-offset":["auto",M,u]}],"text-decoration-color":[{decoration:[n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",u]}],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",u]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[_]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...pt(),Ft]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",qt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Gt]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[P]}],"gradient-via":[{via:[P]}],"gradient-to":[{to:[P]}],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:[c]}],"border-w-x":[{"border-x":[c]}],"border-w-y":[{"border-y":[c]}],"border-w-s":[{"border-s":[c]}],"border-w-e":[{"border-e":[c]}],"border-w-t":[{"border-t":[c]}],"border-w-r":[{"border-r":[c]}],"border-w-b":[{"border-b":[c]}],"border-w-l":[{"border-l":[c]}],"border-opacity":[{"border-opacity":[_]}],"border-style":[{border:[...ue(),"hidden"]}],"divide-x":[{"divide-x":[c]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[c]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[_]}],"divide-style":[{divide:ue()}],"border-color":[{border:[t]}],"border-color-x":[{"border-x":[t]}],"border-color-y":[{"border-y":[t]}],"border-color-t":[{"border-t":[t]}],"border-color-r":[{"border-r":[t]}],"border-color-b":[{"border-b":[t]}],"border-color-l":[{"border-l":[t]}],"divide-color":[{divide:[t]}],"outline-style":[{outline:["",...ue()]}],"outline-offset":[{"outline-offset":[M,u]}],"outline-w":[{outline:[M,I]}],"outline-color":[{outline:[n]}],"ring-w":[{ring:ct()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[n]}],"ring-opacity":[{"ring-opacity":[_]}],"ring-offset-w":[{"ring-offset":[M,I]}],"ring-offset-color":[{"ring-offset":[n]}],shadow:[{shadow:["","inner","none",L,Vt]}],"shadow-color":[{shadow:[Q]}],opacity:[{opacity:[_]}],"mix-blend":[{"mix-blend":[...ut(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ut()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[b]}],"drop-shadow":[{"drop-shadow":["","none",L,u]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[x]}],saturate:[{saturate:[oe]}],sepia:[{sepia:[ce]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[b]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[_]}],"backdrop-saturate":[{"backdrop-saturate":[oe]}],"backdrop-sepia":[{"backdrop-sepia":[ce]}],"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",u]}],duration:[{duration:A()}],ease:[{ease:["linear","in","out","in-out",u]}],delay:[{delay:A()}],animate:[{animate:["none","spin","ping","pulse","bounce",u]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[j]}],"scale-x":[{"scale-x":[j]}],"scale-y":[{"scale-y":[j]}],rotate:[{rotate:[Z,u]}],"translate-x":[{"translate-x":[dt]}],"translate-y":[{"translate-y":[dt]}],"skew-x":[{"skew-x":[at]}],"skew-y":[{"skew-y":[at]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",u]}],accent:[{accent:["auto",n]}],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",u]}],"caret-color":[{caret:[n]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"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",u]}],fill:[{fill:[n,"none"]}],"stroke-w":[{stroke:[M,I,fe]}],stroke:[{stroke:[n,"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 h(...n){return Yt(bt(n))}class C extends l.LitElement{constructor(){super()}getFilteredAttributes(){const e={};return Array.from(this.attributes).forEach(r=>{this.getAttributesToExclude().includes(r.name)||(e[r.name]=r.value??"")}),e}isCustomPropertySet(e){const r=getComputedStyle(this).getPropertyValue(e).trim();return r!=="inherit"&&r.length>0}applyCustomClass(e,r,o=""){var i,s;let t="";e.some(c=>this.isCustomPropertySet(c))&&(t=o),t&&((s=(i=this.shadowRoot)==null?void 0:i.querySelector(r))==null||s.classList.add(t))}}function Ge(n){var e,r,o="";if(typeof n=="string"||typeof n=="number")o+=n;else if(typeof n=="object")if(Array.isArray(n))for(e=0;e<n.length;e++)n[e]&&(r=Ge(n[e]))&&(o&&(o+=" "),o+=r);else for(e in n)n[e]&&(o&&(o+=" "),o+=e);return o}function Wt(){for(var n,e,r=0,o="";r<arguments.length;)(n=arguments[r++])&&(e=Ge(n))&&(o&&(o+=" "),o+=e);return o}const Ve=n=>typeof n=="boolean"?"".concat(n):n===0?"0":n,Ue=Wt,U=(n,e)=>r=>{var o;if((e==null?void 0:e.variants)==null)return Ue(n,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:t,defaultVariants:i}=e,s=Object.keys(t).map(g=>{const m=r==null?void 0:r[g],x=i==null?void 0:i[g];if(m===null)return null;const $=Ve(m)||Ve(x);return t[g][$]}),c=r&&Object.entries(r).reduce((g,m)=>{let[x,$]=m;return $===void 0||(g[x]=$),g},{}),b=e==null||(o=e.compoundVariants)===null||o===void 0?void 0:o.reduce((g,m)=>{let{class:x,className:$,...P}=m;return Object.entries(P).every(k=>{let[y,v]=k;return Array.isArray(v)?v.includes({...i,...c}[y]):{...i,...c}[y]===v})?[...g,x,$]:g},[]);return Ue(n,s,b,r==null?void 0:r.class,r==null?void 0:r.className)},Kt=U("inline-flex items-center justify-center whitespace-nowrap rounded-sm text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-8 px-4 py-2",sm:"h-7 rounded-sm px-3 text-xs",lg:"h-9 rounded-sm px-8",icon:"h-8 w-8"}},defaultVariants:{variant:"default",size:"default"}}),p=l.css` @font-face {
|
2
|
+
font-family: 'GeistSans';
|
3
|
+
|
4
|
+
src: url('assets/fonts/Geist/Geist-Regular.woff2') format('woff2');
|
5
|
+
}
|
6
|
+
|
7
|
+
/*
|
8
|
+
! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com
|
9
|
+
*/
|
10
|
+
|
11
|
+
/*
|
12
|
+
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
13
|
+
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
|
14
|
+
*/
|
15
|
+
|
16
|
+
*,
|
17
|
+
::before,
|
18
|
+
::after {
|
19
|
+
box-sizing: border-box;
|
20
|
+
/* 1 */
|
21
|
+
border-width: 0;
|
22
|
+
/* 2 */
|
23
|
+
border-style: solid;
|
24
|
+
/* 2 */
|
25
|
+
border-color: #e5e7eb;
|
26
|
+
/* 2 */
|
27
|
+
}
|
28
|
+
|
29
|
+
::before,
|
30
|
+
::after {
|
31
|
+
--tw-content: '';
|
32
|
+
}
|
33
|
+
|
34
|
+
/*
|
35
|
+
1. Use a consistent sensible line-height in all browsers.
|
36
|
+
2. Prevent adjustments of font size after orientation changes in iOS.
|
37
|
+
3. Use a more readable tab size.
|
38
|
+
4. Use the user's configured sans font-family by default.
|
39
|
+
5. Use the user's configured sans font-feature-settings by default.
|
40
|
+
6. Use the user's configured sans font-variation-settings by default.
|
41
|
+
7. Disable tap highlights on iOS
|
42
|
+
*/
|
43
|
+
|
44
|
+
html,
|
45
|
+
:host {
|
46
|
+
line-height: 1.5;
|
47
|
+
/* 1 */
|
48
|
+
-webkit-text-size-adjust: 100%;
|
49
|
+
/* 2 */
|
50
|
+
-moz-tab-size: 4;
|
51
|
+
/* 3 */
|
52
|
+
-o-tab-size: 4;
|
53
|
+
tab-size: 4;
|
54
|
+
/* 3 */
|
55
|
+
font-family: var(--font-sans), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
56
|
+
/* 4 */
|
57
|
+
font-feature-settings: normal;
|
58
|
+
/* 5 */
|
59
|
+
font-variation-settings: normal;
|
60
|
+
/* 6 */
|
61
|
+
-webkit-tap-highlight-color: transparent;
|
62
|
+
/* 7 */
|
63
|
+
}
|
64
|
+
|
65
|
+
/*
|
66
|
+
1. Remove the margin in all browsers.
|
67
|
+
2. Inherit line-height from html so users can set them as a class directly on the html element.
|
68
|
+
*/
|
69
|
+
|
70
|
+
body {
|
71
|
+
margin: 0;
|
72
|
+
/* 1 */
|
73
|
+
line-height: inherit;
|
74
|
+
/* 2 */
|
75
|
+
}
|
76
|
+
|
77
|
+
/*
|
78
|
+
1. Add the correct height in Firefox.
|
79
|
+
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
80
|
+
3. Ensure horizontal rules are visible by default.
|
81
|
+
*/
|
82
|
+
|
83
|
+
hr {
|
84
|
+
height: 0;
|
85
|
+
/* 1 */
|
86
|
+
color: inherit;
|
87
|
+
/* 2 */
|
88
|
+
border-top-width: 1px;
|
89
|
+
/* 3 */
|
90
|
+
}
|
91
|
+
|
92
|
+
/*
|
93
|
+
Add the correct text decoration in Chrome, Edge, and Safari.
|
94
|
+
*/
|
95
|
+
|
96
|
+
abbr:where([title]) {
|
97
|
+
-webkit-text-decoration: underline dotted;
|
98
|
+
text-decoration: underline dotted;
|
99
|
+
}
|
100
|
+
|
101
|
+
/*
|
102
|
+
Remove the default font size and weight for headings.
|
103
|
+
*/
|
104
|
+
|
105
|
+
h1,
|
106
|
+
h2,
|
107
|
+
h3,
|
108
|
+
h4,
|
109
|
+
h5,
|
110
|
+
h6 {
|
111
|
+
font-size: inherit;
|
112
|
+
font-weight: inherit;
|
113
|
+
}
|
114
|
+
|
115
|
+
/*
|
116
|
+
Reset links to optimize for opt-in styling instead of opt-out.
|
117
|
+
*/
|
118
|
+
|
119
|
+
a {
|
120
|
+
color: inherit;
|
121
|
+
text-decoration: inherit;
|
122
|
+
}
|
123
|
+
|
124
|
+
/*
|
125
|
+
Add the correct font weight in Edge and Safari.
|
126
|
+
*/
|
127
|
+
|
128
|
+
b,
|
129
|
+
strong {
|
130
|
+
font-weight: bolder;
|
131
|
+
}
|
132
|
+
|
133
|
+
/*
|
134
|
+
1. Use the user's configured mono font-family by default.
|
135
|
+
2. Use the user's configured mono font-feature-settings by default.
|
136
|
+
3. Use the user's configured mono font-variation-settings by default.
|
137
|
+
4. Correct the odd em font sizing in all browsers.
|
138
|
+
*/
|
139
|
+
|
140
|
+
code,
|
141
|
+
kbd,
|
142
|
+
samp,
|
143
|
+
pre {
|
144
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
145
|
+
/* 1 */
|
146
|
+
font-feature-settings: normal;
|
147
|
+
/* 2 */
|
148
|
+
font-variation-settings: normal;
|
149
|
+
/* 3 */
|
150
|
+
font-size: 1em;
|
151
|
+
/* 4 */
|
152
|
+
}
|
153
|
+
|
154
|
+
/*
|
155
|
+
Add the correct font size in all browsers.
|
156
|
+
*/
|
157
|
+
|
158
|
+
small {
|
159
|
+
font-size: 80%;
|
160
|
+
}
|
161
|
+
|
162
|
+
/*
|
163
|
+
Prevent sub and sup elements from affecting the line height in all browsers.
|
164
|
+
*/
|
165
|
+
|
166
|
+
sub,
|
167
|
+
sup {
|
168
|
+
font-size: 75%;
|
169
|
+
line-height: 0;
|
170
|
+
position: relative;
|
171
|
+
vertical-align: baseline;
|
172
|
+
}
|
173
|
+
|
174
|
+
sub {
|
175
|
+
bottom: -0.25em;
|
176
|
+
}
|
177
|
+
|
178
|
+
sup {
|
179
|
+
top: -0.5em;
|
180
|
+
}
|
181
|
+
|
182
|
+
/*
|
183
|
+
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
|
184
|
+
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
185
|
+
3. Remove gaps between table borders by default.
|
186
|
+
*/
|
187
|
+
|
188
|
+
table {
|
189
|
+
text-indent: 0;
|
190
|
+
/* 1 */
|
191
|
+
border-color: inherit;
|
192
|
+
/* 2 */
|
193
|
+
border-collapse: collapse;
|
194
|
+
/* 3 */
|
195
|
+
}
|
196
|
+
|
197
|
+
/*
|
198
|
+
1. Change the font styles in all browsers.
|
199
|
+
2. Remove the margin in Firefox and Safari.
|
200
|
+
3. Remove default padding in all browsers.
|
201
|
+
*/
|
202
|
+
|
203
|
+
button,
|
204
|
+
input,
|
205
|
+
optgroup,
|
206
|
+
select,
|
207
|
+
textarea {
|
208
|
+
font-family: inherit;
|
209
|
+
/* 1 */
|
210
|
+
font-feature-settings: inherit;
|
211
|
+
/* 1 */
|
212
|
+
font-variation-settings: inherit;
|
213
|
+
/* 1 */
|
214
|
+
font-size: 100%;
|
215
|
+
/* 1 */
|
216
|
+
font-weight: inherit;
|
217
|
+
/* 1 */
|
218
|
+
line-height: inherit;
|
219
|
+
/* 1 */
|
220
|
+
letter-spacing: inherit;
|
221
|
+
/* 1 */
|
222
|
+
color: inherit;
|
223
|
+
/* 1 */
|
224
|
+
margin: 0;
|
225
|
+
/* 2 */
|
226
|
+
padding: 0;
|
227
|
+
/* 3 */
|
228
|
+
}
|
229
|
+
|
230
|
+
/*
|
231
|
+
Remove the inheritance of text transform in Edge and Firefox.
|
232
|
+
*/
|
233
|
+
|
234
|
+
button,
|
235
|
+
select {
|
236
|
+
text-transform: none;
|
237
|
+
}
|
238
|
+
|
239
|
+
/*
|
240
|
+
1. Correct the inability to style clickable types in iOS and Safari.
|
241
|
+
2. Remove default button styles.
|
242
|
+
*/
|
243
|
+
|
244
|
+
button,
|
245
|
+
input:where([type='button']),
|
246
|
+
input:where([type='reset']),
|
247
|
+
input:where([type='submit']) {
|
248
|
+
-webkit-appearance: button;
|
249
|
+
/* 1 */
|
250
|
+
background-color: transparent;
|
251
|
+
/* 2 */
|
252
|
+
background-image: none;
|
253
|
+
/* 2 */
|
254
|
+
}
|
255
|
+
|
256
|
+
/*
|
257
|
+
Use the modern Firefox focus style for all focusable elements.
|
258
|
+
*/
|
259
|
+
|
260
|
+
:-moz-focusring {
|
261
|
+
outline: auto;
|
262
|
+
}
|
263
|
+
|
264
|
+
/*
|
265
|
+
Remove the additional :invalid styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
|
266
|
+
*/
|
267
|
+
|
268
|
+
:-moz-ui-invalid {
|
269
|
+
box-shadow: none;
|
270
|
+
}
|
271
|
+
|
272
|
+
/*
|
273
|
+
Add the correct vertical alignment in Chrome and Firefox.
|
274
|
+
*/
|
275
|
+
|
276
|
+
progress {
|
277
|
+
vertical-align: baseline;
|
278
|
+
}
|
279
|
+
|
280
|
+
/*
|
281
|
+
Correct the cursor style of increment and decrement buttons in Safari.
|
282
|
+
*/
|
283
|
+
|
284
|
+
::-webkit-inner-spin-button,
|
285
|
+
::-webkit-outer-spin-button {
|
286
|
+
height: auto;
|
287
|
+
}
|
288
|
+
|
289
|
+
/*
|
290
|
+
1. Correct the odd appearance in Chrome and Safari.
|
291
|
+
2. Correct the outline style in Safari.
|
292
|
+
*/
|
293
|
+
|
294
|
+
[type='search'] {
|
295
|
+
-webkit-appearance: textfield;
|
296
|
+
/* 1 */
|
297
|
+
outline-offset: -2px;
|
298
|
+
/* 2 */
|
299
|
+
}
|
300
|
+
|
301
|
+
/*
|
302
|
+
Remove the inner padding in Chrome and Safari on macOS.
|
303
|
+
*/
|
304
|
+
|
305
|
+
::-webkit-search-decoration {
|
306
|
+
-webkit-appearance: none;
|
307
|
+
}
|
308
|
+
|
309
|
+
/*
|
310
|
+
1. Correct the inability to style clickable types in iOS and Safari.
|
311
|
+
2. Change font properties to inherit in Safari.
|
312
|
+
*/
|
313
|
+
|
314
|
+
::-webkit-file-upload-button {
|
315
|
+
-webkit-appearance: button;
|
316
|
+
/* 1 */
|
317
|
+
font: inherit;
|
318
|
+
/* 2 */
|
319
|
+
}
|
320
|
+
|
321
|
+
/*
|
322
|
+
Add the correct display in Chrome and Safari.
|
323
|
+
*/
|
324
|
+
|
325
|
+
summary {
|
326
|
+
display: list-item;
|
327
|
+
}
|
328
|
+
|
329
|
+
/*
|
330
|
+
Removes the default spacing and border for appropriate elements.
|
331
|
+
*/
|
332
|
+
|
333
|
+
blockquote,
|
334
|
+
dl,
|
335
|
+
dd,
|
336
|
+
h1,
|
337
|
+
h2,
|
338
|
+
h3,
|
339
|
+
h4,
|
340
|
+
h5,
|
341
|
+
h6,
|
342
|
+
hr,
|
343
|
+
figure,
|
344
|
+
p,
|
345
|
+
pre {
|
346
|
+
margin: 0;
|
347
|
+
}
|
348
|
+
|
349
|
+
fieldset {
|
350
|
+
margin: 0;
|
351
|
+
padding: 0;
|
352
|
+
}
|
353
|
+
|
354
|
+
legend {
|
355
|
+
padding: 0;
|
356
|
+
}
|
357
|
+
|
358
|
+
ol,
|
359
|
+
ul,
|
360
|
+
menu {
|
361
|
+
list-style: none;
|
362
|
+
margin: 0;
|
363
|
+
padding: 0;
|
364
|
+
}
|
365
|
+
|
366
|
+
/*
|
367
|
+
Reset default styling for dialogs.
|
368
|
+
*/
|
369
|
+
|
370
|
+
dialog {
|
371
|
+
padding: 0;
|
372
|
+
}
|
373
|
+
|
374
|
+
/*
|
375
|
+
Prevent resizing textareas horizontally by default.
|
376
|
+
*/
|
377
|
+
|
378
|
+
textarea {
|
379
|
+
resize: vertical;
|
380
|
+
}
|
381
|
+
|
382
|
+
/*
|
383
|
+
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
|
384
|
+
2. Set the default placeholder color to the user's configured gray 400 color.
|
385
|
+
*/
|
386
|
+
|
387
|
+
input::-moz-placeholder, textarea::-moz-placeholder {
|
388
|
+
opacity: 1;
|
389
|
+
/* 1 */
|
390
|
+
color: #9ca3af;
|
391
|
+
/* 2 */
|
392
|
+
}
|
393
|
+
|
394
|
+
input::placeholder,
|
395
|
+
textarea::placeholder {
|
396
|
+
opacity: 1;
|
397
|
+
/* 1 */
|
398
|
+
color: #9ca3af;
|
399
|
+
/* 2 */
|
400
|
+
}
|
401
|
+
|
402
|
+
/*
|
403
|
+
Set the default cursor for buttons.
|
404
|
+
*/
|
405
|
+
|
406
|
+
button,
|
407
|
+
[role="button"] {
|
408
|
+
cursor: pointer;
|
409
|
+
}
|
410
|
+
|
411
|
+
/*
|
412
|
+
Make sure disabled buttons don't get the pointer cursor.
|
413
|
+
*/
|
414
|
+
|
415
|
+
:disabled {
|
416
|
+
cursor: default;
|
417
|
+
}
|
418
|
+
|
419
|
+
/*
|
420
|
+
1. Make replaced elements display: block by default. (https://github.com/mozdevs/cssremedy/issues/14)
|
421
|
+
2. Add vertical-align: middle to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
422
|
+
This can trigger a poorly considered lint error in some tools but is included by design.
|
423
|
+
*/
|
424
|
+
|
425
|
+
img,
|
426
|
+
svg,
|
427
|
+
video,
|
428
|
+
canvas,
|
429
|
+
audio,
|
430
|
+
iframe,
|
431
|
+
embed,
|
432
|
+
object {
|
433
|
+
display: block;
|
434
|
+
/* 1 */
|
435
|
+
vertical-align: middle;
|
436
|
+
/* 2 */
|
437
|
+
}
|
438
|
+
|
439
|
+
/*
|
440
|
+
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
|
441
|
+
*/
|
442
|
+
|
443
|
+
img,
|
444
|
+
video {
|
445
|
+
max-width: 100%;
|
446
|
+
height: auto;
|
447
|
+
}
|
448
|
+
|
449
|
+
/* Make elements with the HTML hidden attribute stay hidden by default */
|
450
|
+
|
451
|
+
[hidden] {
|
452
|
+
display: none;
|
453
|
+
}
|
454
|
+
|
455
|
+
:root {
|
456
|
+
--background: 0 0% 100%;
|
457
|
+
--foreground: 240 10% 3.9%;
|
458
|
+
--card: 0 0% 100%;
|
459
|
+
--card-foreground: 240 10% 3.9%;
|
460
|
+
--popover: 0 0% 100%;
|
461
|
+
--popover-foreground: 240 10% 3.9%;
|
462
|
+
--primary: 240 5.9% 10%;
|
463
|
+
--primary-foreground: 0 0% 98%;
|
464
|
+
--secondary: 240 4.8% 95.9%;
|
465
|
+
--secondary-foreground: 240 5.9% 10%;
|
466
|
+
--muted: 240 4.8% 95.9%;
|
467
|
+
--muted-foreground: 240 3.8% 46.1%;
|
468
|
+
--accent: 240 4.8% 95.9%;
|
469
|
+
--accent-foreground: 240 5.9% 10%;
|
470
|
+
--destructive: 0 84.2% 60.2%;
|
471
|
+
--destructive-foreground: 0 0% 98%;
|
472
|
+
--border: 240 5.9% 90%;
|
473
|
+
--input: 240 5.9% 90%;
|
474
|
+
--ring: 240 5.9% 10%;
|
475
|
+
--radius: 0.5rem;
|
476
|
+
--green-100: #d4f8e8;
|
477
|
+
--green-200: #bbf7d0;
|
478
|
+
--green-800: #166534;
|
479
|
+
--red-100: #fddddd;
|
480
|
+
--red-200: #fecaca;
|
481
|
+
--red-800: #991b1b;
|
482
|
+
--yellow-100: #fef4d9;
|
483
|
+
--yellow-200: #fef08a;
|
484
|
+
--yellow-800: #854d0e;
|
485
|
+
--blue-100: #dbeafe;
|
486
|
+
--blue-200: #bfdbfe;
|
487
|
+
--blue-800: #1e40af;
|
488
|
+
}
|
489
|
+
|
490
|
+
.dark {
|
491
|
+
--background: 240 10% 3.9%;
|
492
|
+
--foreground: 0 0% 98%;
|
493
|
+
--card: 240 10% 3.9%;
|
494
|
+
--card-foreground: 0 0% 98%;
|
495
|
+
--popover: 240 10% 3.9%;
|
496
|
+
--popover-foreground: 0 0% 98%;
|
497
|
+
--primary: 0 0% 98%;
|
498
|
+
--primary-foreground: 240 5.9% 10%;
|
499
|
+
--secondary: 240 3.7% 15.9%;
|
500
|
+
--secondary-foreground: 0 0% 98%;
|
501
|
+
--muted: 240 3.7% 15.9%;
|
502
|
+
--muted-foreground: 240 5% 64.9%;
|
503
|
+
--accent: 240 3.7% 15.9%;
|
504
|
+
--accent-foreground: 0 0% 98%;
|
505
|
+
--destructive: 0 62.8% 30.6%;
|
506
|
+
--destructive-foreground: 0 0% 98%;
|
507
|
+
--border: 240 3.7% 15.9%;
|
508
|
+
--input: 240 3.7% 15.9%;
|
509
|
+
--ring: 240 4.9% 83.9%;
|
510
|
+
--green-100: #d4f8e8;
|
511
|
+
--green-200: #bbf7d0;
|
512
|
+
--green-800: #166534;
|
513
|
+
--red-100: #fddddd;
|
514
|
+
--red-200: #fecaca;
|
515
|
+
--red-800: #991b1b;
|
516
|
+
--yellow-100: #fef4d9;
|
517
|
+
--yellow-200: #fef08a;
|
518
|
+
--yellow-800: #854d0e;
|
519
|
+
--blue-100: #dbeafe;
|
520
|
+
--blue-200: #bfdbfe;
|
521
|
+
--blue-800: #1e40af;
|
522
|
+
}
|
523
|
+
|
524
|
+
* {
|
525
|
+
border-color: hsl(var(--border));
|
526
|
+
font-family: GeistSans, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
527
|
+
}
|
528
|
+
|
529
|
+
body {
|
530
|
+
background-color: hsl(var(--background));
|
531
|
+
color: hsl(var(--foreground));
|
532
|
+
font-synthesis-weight: none;
|
533
|
+
text-rendering: optimizeLegibility;
|
534
|
+
}
|
535
|
+
|
536
|
+
/* p {
|
537
|
+
margin-top: 6px;
|
538
|
+
margin-block-start: 6px;
|
539
|
+
} */
|
540
|
+
|
541
|
+
*, ::before, ::after {
|
542
|
+
--tw-border-spacing-x: 0;
|
543
|
+
--tw-border-spacing-y: 0;
|
544
|
+
--tw-translate-x: 0;
|
545
|
+
--tw-translate-y: 0;
|
546
|
+
--tw-rotate: 0;
|
547
|
+
--tw-skew-x: 0;
|
548
|
+
--tw-skew-y: 0;
|
549
|
+
--tw-scale-x: 1;
|
550
|
+
--tw-scale-y: 1;
|
551
|
+
--tw-pan-x: ;
|
552
|
+
--tw-pan-y: ;
|
553
|
+
--tw-pinch-zoom: ;
|
554
|
+
--tw-scroll-snap-strictness: proximity;
|
555
|
+
--tw-gradient-from-position: ;
|
556
|
+
--tw-gradient-via-position: ;
|
557
|
+
--tw-gradient-to-position: ;
|
558
|
+
--tw-ordinal: ;
|
559
|
+
--tw-slashed-zero: ;
|
560
|
+
--tw-numeric-figure: ;
|
561
|
+
--tw-numeric-spacing: ;
|
562
|
+
--tw-numeric-fraction: ;
|
563
|
+
--tw-ring-inset: ;
|
564
|
+
--tw-ring-offset-width: 0px;
|
565
|
+
--tw-ring-offset-color: #fff;
|
566
|
+
--tw-ring-color: rgb(59 130 246 / 0.5);
|
567
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
568
|
+
--tw-ring-shadow: 0 0 #0000;
|
569
|
+
--tw-shadow: 0 0 #0000;
|
570
|
+
--tw-shadow-colored: 0 0 #0000;
|
571
|
+
--tw-blur: ;
|
572
|
+
--tw-brightness: ;
|
573
|
+
--tw-contrast: ;
|
574
|
+
--tw-grayscale: ;
|
575
|
+
--tw-hue-rotate: ;
|
576
|
+
--tw-invert: ;
|
577
|
+
--tw-saturate: ;
|
578
|
+
--tw-sepia: ;
|
579
|
+
--tw-drop-shadow: ;
|
580
|
+
--tw-backdrop-blur: ;
|
581
|
+
--tw-backdrop-brightness: ;
|
582
|
+
--tw-backdrop-contrast: ;
|
583
|
+
--tw-backdrop-grayscale: ;
|
584
|
+
--tw-backdrop-hue-rotate: ;
|
585
|
+
--tw-backdrop-invert: ;
|
586
|
+
--tw-backdrop-opacity: ;
|
587
|
+
--tw-backdrop-saturate: ;
|
588
|
+
--tw-backdrop-sepia: ;
|
589
|
+
--tw-contain-size: ;
|
590
|
+
--tw-contain-layout: ;
|
591
|
+
--tw-contain-paint: ;
|
592
|
+
--tw-contain-style: ;
|
593
|
+
}
|
594
|
+
|
595
|
+
::backdrop {
|
596
|
+
--tw-border-spacing-x: 0;
|
597
|
+
--tw-border-spacing-y: 0;
|
598
|
+
--tw-translate-x: 0;
|
599
|
+
--tw-translate-y: 0;
|
600
|
+
--tw-rotate: 0;
|
601
|
+
--tw-skew-x: 0;
|
602
|
+
--tw-skew-y: 0;
|
603
|
+
--tw-scale-x: 1;
|
604
|
+
--tw-scale-y: 1;
|
605
|
+
--tw-pan-x: ;
|
606
|
+
--tw-pan-y: ;
|
607
|
+
--tw-pinch-zoom: ;
|
608
|
+
--tw-scroll-snap-strictness: proximity;
|
609
|
+
--tw-gradient-from-position: ;
|
610
|
+
--tw-gradient-via-position: ;
|
611
|
+
--tw-gradient-to-position: ;
|
612
|
+
--tw-ordinal: ;
|
613
|
+
--tw-slashed-zero: ;
|
614
|
+
--tw-numeric-figure: ;
|
615
|
+
--tw-numeric-spacing: ;
|
616
|
+
--tw-numeric-fraction: ;
|
617
|
+
--tw-ring-inset: ;
|
618
|
+
--tw-ring-offset-width: 0px;
|
619
|
+
--tw-ring-offset-color: #fff;
|
620
|
+
--tw-ring-color: rgb(59 130 246 / 0.5);
|
621
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
622
|
+
--tw-ring-shadow: 0 0 #0000;
|
623
|
+
--tw-shadow: 0 0 #0000;
|
624
|
+
--tw-shadow-colored: 0 0 #0000;
|
625
|
+
--tw-blur: ;
|
626
|
+
--tw-brightness: ;
|
627
|
+
--tw-contrast: ;
|
628
|
+
--tw-grayscale: ;
|
629
|
+
--tw-hue-rotate: ;
|
630
|
+
--tw-invert: ;
|
631
|
+
--tw-saturate: ;
|
632
|
+
--tw-sepia: ;
|
633
|
+
--tw-drop-shadow: ;
|
634
|
+
--tw-backdrop-blur: ;
|
635
|
+
--tw-backdrop-brightness: ;
|
636
|
+
--tw-backdrop-contrast: ;
|
637
|
+
--tw-backdrop-grayscale: ;
|
638
|
+
--tw-backdrop-hue-rotate: ;
|
639
|
+
--tw-backdrop-invert: ;
|
640
|
+
--tw-backdrop-opacity: ;
|
641
|
+
--tw-backdrop-saturate: ;
|
642
|
+
--tw-backdrop-sepia: ;
|
643
|
+
--tw-contain-size: ;
|
644
|
+
--tw-contain-layout: ;
|
645
|
+
--tw-contain-paint: ;
|
646
|
+
--tw-contain-style: ;
|
647
|
+
}
|
648
|
+
|
649
|
+
.container {
|
650
|
+
width: 100%;
|
651
|
+
margin-right: auto;
|
652
|
+
margin-left: auto;
|
653
|
+
padding-right: 2rem;
|
654
|
+
padding-left: 2rem;
|
655
|
+
}
|
656
|
+
|
657
|
+
@media (min-width: 1400px) {
|
658
|
+
.container {
|
659
|
+
max-width: 1400px;
|
660
|
+
}
|
661
|
+
}
|
662
|
+
|
663
|
+
.sr-only {
|
664
|
+
position: absolute;
|
665
|
+
width: 1px;
|
666
|
+
height: 1px;
|
667
|
+
padding: 0;
|
668
|
+
margin: -1px;
|
669
|
+
overflow: hidden;
|
670
|
+
clip: rect(0, 0, 0, 0);
|
671
|
+
white-space: nowrap;
|
672
|
+
border-width: 0;
|
673
|
+
}
|
674
|
+
|
675
|
+
.pointer-events-none {
|
676
|
+
pointer-events: none;
|
677
|
+
}
|
678
|
+
|
679
|
+
.visible {
|
680
|
+
visibility: visible;
|
681
|
+
}
|
682
|
+
|
683
|
+
.invisible {
|
684
|
+
visibility: hidden;
|
685
|
+
}
|
686
|
+
|
687
|
+
.collapse {
|
688
|
+
visibility: collapse;
|
689
|
+
}
|
690
|
+
|
691
|
+
.static {
|
692
|
+
position: static;
|
693
|
+
}
|
694
|
+
|
695
|
+
.fixed {
|
696
|
+
position: fixed;
|
697
|
+
}
|
698
|
+
|
699
|
+
.absolute {
|
700
|
+
position: absolute;
|
701
|
+
}
|
702
|
+
|
703
|
+
.relative {
|
704
|
+
position: relative;
|
705
|
+
}
|
706
|
+
|
707
|
+
.inset-0 {
|
708
|
+
inset: 0px;
|
709
|
+
}
|
710
|
+
|
711
|
+
.end-3 {
|
712
|
+
inset-inline-end: 0.75rem;
|
713
|
+
}
|
714
|
+
|
715
|
+
.left-2 {
|
716
|
+
left: 0.5rem;
|
717
|
+
}
|
718
|
+
|
719
|
+
.left-\\[50\\%\\] {
|
720
|
+
left: 50%;
|
721
|
+
}
|
722
|
+
|
723
|
+
.right-4 {
|
724
|
+
right: 1rem;
|
725
|
+
}
|
726
|
+
|
727
|
+
.top-1 {
|
728
|
+
top: 0.25rem;
|
729
|
+
}
|
730
|
+
|
731
|
+
.top-1\\/2 {
|
732
|
+
top: 50%;
|
733
|
+
}
|
734
|
+
|
735
|
+
.top-4 {
|
736
|
+
top: 1rem;
|
737
|
+
}
|
738
|
+
|
739
|
+
.top-\\[50\\%\\] {
|
740
|
+
top: 50%;
|
741
|
+
}
|
742
|
+
|
743
|
+
.z-50 {
|
744
|
+
z-index: 50;
|
745
|
+
}
|
746
|
+
|
747
|
+
.col-span-2 {
|
748
|
+
grid-column: span 2 / span 2;
|
749
|
+
}
|
750
|
+
|
751
|
+
.col-span-3 {
|
752
|
+
grid-column: span 3 / span 3;
|
753
|
+
}
|
754
|
+
|
755
|
+
.m-auto {
|
756
|
+
margin: auto;
|
757
|
+
}
|
758
|
+
|
759
|
+
.-mx-1 {
|
760
|
+
margin-left: -0.25rem;
|
761
|
+
margin-right: -0.25rem;
|
762
|
+
}
|
763
|
+
|
764
|
+
.mx-2 {
|
765
|
+
margin-left: 0.5rem;
|
766
|
+
margin-right: 0.5rem;
|
767
|
+
}
|
768
|
+
|
769
|
+
.mx-3 {
|
770
|
+
margin-left: 0.75rem;
|
771
|
+
margin-right: 0.75rem;
|
772
|
+
}
|
773
|
+
|
774
|
+
.mx-auto {
|
775
|
+
margin-left: auto;
|
776
|
+
margin-right: auto;
|
777
|
+
}
|
778
|
+
|
779
|
+
.my-10 {
|
780
|
+
margin-top: 2.5rem;
|
781
|
+
margin-bottom: 2.5rem;
|
782
|
+
}
|
783
|
+
|
784
|
+
.my-4 {
|
785
|
+
margin-top: 1rem;
|
786
|
+
margin-bottom: 1rem;
|
787
|
+
}
|
788
|
+
|
789
|
+
.my-6 {
|
790
|
+
margin-top: 1.5rem;
|
791
|
+
margin-bottom: 1.5rem;
|
792
|
+
}
|
793
|
+
|
794
|
+
.mb-1 {
|
795
|
+
margin-bottom: 0.25rem;
|
796
|
+
}
|
797
|
+
|
798
|
+
.mb-2 {
|
799
|
+
margin-bottom: 0.5rem;
|
800
|
+
}
|
801
|
+
|
802
|
+
.ml-auto {
|
803
|
+
margin-left: auto;
|
804
|
+
}
|
805
|
+
|
806
|
+
.mr-10 {
|
807
|
+
margin-right: 2.5rem;
|
808
|
+
}
|
809
|
+
|
810
|
+
.mr-2 {
|
811
|
+
margin-right: 0.5rem;
|
812
|
+
}
|
813
|
+
|
814
|
+
.mt-2 {
|
815
|
+
margin-top: 0.5rem;
|
816
|
+
}
|
817
|
+
|
818
|
+
.block {
|
819
|
+
display: block;
|
820
|
+
}
|
821
|
+
|
822
|
+
.flex {
|
823
|
+
display: flex;
|
824
|
+
}
|
825
|
+
|
826
|
+
.inline-flex {
|
827
|
+
display: inline-flex;
|
828
|
+
}
|
829
|
+
|
830
|
+
.table {
|
831
|
+
display: table;
|
832
|
+
}
|
833
|
+
|
834
|
+
.grid {
|
835
|
+
display: grid;
|
836
|
+
}
|
837
|
+
|
838
|
+
.contents {
|
839
|
+
display: contents;
|
840
|
+
}
|
841
|
+
|
842
|
+
.hidden {
|
843
|
+
display: none;
|
844
|
+
}
|
845
|
+
|
846
|
+
.size-24 {
|
847
|
+
width: 6rem;
|
848
|
+
height: 6rem;
|
849
|
+
}
|
850
|
+
|
851
|
+
.size-3 {
|
852
|
+
width: 0.75rem;
|
853
|
+
height: 0.75rem;
|
854
|
+
}
|
855
|
+
|
856
|
+
.size-3\\.5 {
|
857
|
+
width: 0.875rem;
|
858
|
+
height: 0.875rem;
|
859
|
+
}
|
860
|
+
|
861
|
+
.size-max {
|
862
|
+
width: -moz-max-content;
|
863
|
+
width: max-content;
|
864
|
+
height: -moz-max-content;
|
865
|
+
height: max-content;
|
866
|
+
}
|
867
|
+
|
868
|
+
.h-1 {
|
869
|
+
height: 0.25rem;
|
870
|
+
}
|
871
|
+
|
872
|
+
.h-10 {
|
873
|
+
height: 2.5rem;
|
874
|
+
}
|
875
|
+
|
876
|
+
.h-11 {
|
877
|
+
height: 2.75rem;
|
878
|
+
}
|
879
|
+
|
880
|
+
.h-2 {
|
881
|
+
height: 0.5rem;
|
882
|
+
}
|
883
|
+
|
884
|
+
.h-3 {
|
885
|
+
height: 0.75rem;
|
886
|
+
}
|
887
|
+
|
888
|
+
.h-4 {
|
889
|
+
height: 1rem;
|
890
|
+
}
|
891
|
+
|
892
|
+
.h-5 {
|
893
|
+
height: 1.25rem;
|
894
|
+
}
|
895
|
+
|
896
|
+
.h-7 {
|
897
|
+
height: 1.75rem;
|
898
|
+
}
|
899
|
+
|
900
|
+
.h-8 {
|
901
|
+
height: 2rem;
|
902
|
+
}
|
903
|
+
|
904
|
+
.h-9 {
|
905
|
+
height: 2.25rem;
|
906
|
+
}
|
907
|
+
|
908
|
+
.h-\\[400px\\] {
|
909
|
+
height: 400px;
|
910
|
+
}
|
911
|
+
|
912
|
+
.h-full {
|
913
|
+
height: 100%;
|
914
|
+
}
|
915
|
+
|
916
|
+
.h-px {
|
917
|
+
height: 1px;
|
918
|
+
}
|
919
|
+
|
920
|
+
.max-h-72 {
|
921
|
+
max-height: 18rem;
|
922
|
+
}
|
923
|
+
|
924
|
+
.max-h-\\[300px\\] {
|
925
|
+
max-height: 300px;
|
926
|
+
}
|
927
|
+
|
928
|
+
.w-1 {
|
929
|
+
width: 0.25rem;
|
930
|
+
}
|
931
|
+
|
932
|
+
.w-10 {
|
933
|
+
width: 2.5rem;
|
934
|
+
}
|
935
|
+
|
936
|
+
.w-2 {
|
937
|
+
width: 0.5rem;
|
938
|
+
}
|
939
|
+
|
940
|
+
.w-3 {
|
941
|
+
width: 0.75rem;
|
942
|
+
}
|
943
|
+
|
944
|
+
.w-32 {
|
945
|
+
width: 8rem;
|
946
|
+
}
|
947
|
+
|
948
|
+
.w-4 {
|
949
|
+
width: 1rem;
|
950
|
+
}
|
951
|
+
|
952
|
+
.w-5 {
|
953
|
+
width: 1.25rem;
|
954
|
+
}
|
955
|
+
|
956
|
+
.w-72 {
|
957
|
+
width: 18rem;
|
958
|
+
}
|
959
|
+
|
960
|
+
.w-8 {
|
961
|
+
width: 2rem;
|
962
|
+
}
|
963
|
+
|
964
|
+
.w-80 {
|
965
|
+
width: 20rem;
|
966
|
+
}
|
967
|
+
|
968
|
+
.w-9 {
|
969
|
+
width: 2.25rem;
|
970
|
+
}
|
971
|
+
|
972
|
+
.w-auto {
|
973
|
+
width: auto;
|
974
|
+
}
|
975
|
+
|
976
|
+
.w-full {
|
977
|
+
width: 100%;
|
978
|
+
}
|
979
|
+
|
980
|
+
.w-max {
|
981
|
+
width: -moz-max-content;
|
982
|
+
width: max-content;
|
983
|
+
}
|
984
|
+
|
985
|
+
.w-min {
|
986
|
+
width: -moz-min-content;
|
987
|
+
width: min-content;
|
988
|
+
}
|
989
|
+
|
990
|
+
.min-w-60 {
|
991
|
+
min-width: 15rem;
|
992
|
+
}
|
993
|
+
|
994
|
+
.min-w-80 {
|
995
|
+
min-width: 20rem;
|
996
|
+
}
|
997
|
+
|
998
|
+
.max-w-lg {
|
999
|
+
max-width: 32rem;
|
1000
|
+
}
|
1001
|
+
|
1002
|
+
.max-w-md {
|
1003
|
+
max-width: 28rem;
|
1004
|
+
}
|
1005
|
+
|
1006
|
+
.max-w-sm {
|
1007
|
+
max-width: 24rem;
|
1008
|
+
}
|
1009
|
+
|
1010
|
+
.flex-auto {
|
1011
|
+
flex: 1 1 auto;
|
1012
|
+
}
|
1013
|
+
|
1014
|
+
.flex-shrink {
|
1015
|
+
flex-shrink: 1;
|
1016
|
+
}
|
1017
|
+
|
1018
|
+
.shrink-0 {
|
1019
|
+
flex-shrink: 0;
|
1020
|
+
}
|
1021
|
+
|
1022
|
+
.flex-grow {
|
1023
|
+
flex-grow: 1;
|
1024
|
+
}
|
1025
|
+
|
1026
|
+
.border-collapse {
|
1027
|
+
border-collapse: collapse;
|
1028
|
+
}
|
1029
|
+
|
1030
|
+
.border-spacing-2 {
|
1031
|
+
--tw-border-spacing-x: 0.5rem;
|
1032
|
+
--tw-border-spacing-y: 0.5rem;
|
1033
|
+
border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y);
|
1034
|
+
}
|
1035
|
+
|
1036
|
+
.border-spacing-6 {
|
1037
|
+
--tw-border-spacing-x: 1.5rem;
|
1038
|
+
--tw-border-spacing-y: 1.5rem;
|
1039
|
+
border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y);
|
1040
|
+
}
|
1041
|
+
|
1042
|
+
.-translate-y-1 {
|
1043
|
+
--tw-translate-y: -0.25rem;
|
1044
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
1045
|
+
}
|
1046
|
+
|
1047
|
+
.-translate-y-1\\/2 {
|
1048
|
+
--tw-translate-y: -50%;
|
1049
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
1050
|
+
}
|
1051
|
+
|
1052
|
+
.translate-x-0 {
|
1053
|
+
--tw-translate-x: 0px;
|
1054
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
1055
|
+
}
|
1056
|
+
|
1057
|
+
.translate-x-\\[-50\\%\\] {
|
1058
|
+
--tw-translate-x: -50%;
|
1059
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
1060
|
+
}
|
1061
|
+
|
1062
|
+
.translate-y-0 {
|
1063
|
+
--tw-translate-y: 0px;
|
1064
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
1065
|
+
}
|
1066
|
+
|
1067
|
+
.translate-y-\\[-50\\%\\] {
|
1068
|
+
--tw-translate-y: -50%;
|
1069
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
1070
|
+
}
|
1071
|
+
|
1072
|
+
.scale-100 {
|
1073
|
+
--tw-scale-x: 1;
|
1074
|
+
--tw-scale-y: 1;
|
1075
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
1076
|
+
}
|
1077
|
+
|
1078
|
+
.scale-95 {
|
1079
|
+
--tw-scale-x: .95;
|
1080
|
+
--tw-scale-y: .95;
|
1081
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
1082
|
+
}
|
1083
|
+
|
1084
|
+
.transform {
|
1085
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
1086
|
+
}
|
1087
|
+
|
1088
|
+
@keyframes spin {
|
1089
|
+
to {
|
1090
|
+
transform: rotate(360deg);
|
1091
|
+
}
|
1092
|
+
}
|
1093
|
+
|
1094
|
+
.animate-spin {
|
1095
|
+
animation: spin 1s linear infinite;
|
1096
|
+
}
|
1097
|
+
|
1098
|
+
.cursor-default {
|
1099
|
+
cursor: default;
|
1100
|
+
}
|
1101
|
+
|
1102
|
+
.cursor-not-allowed {
|
1103
|
+
cursor: not-allowed;
|
1104
|
+
}
|
1105
|
+
|
1106
|
+
.cursor-pointer {
|
1107
|
+
cursor: pointer;
|
1108
|
+
}
|
1109
|
+
|
1110
|
+
.select-none {
|
1111
|
+
-webkit-user-select: none;
|
1112
|
+
-moz-user-select: none;
|
1113
|
+
user-select: none;
|
1114
|
+
}
|
1115
|
+
|
1116
|
+
.resize {
|
1117
|
+
resize: both;
|
1118
|
+
}
|
1119
|
+
|
1120
|
+
.grid-cols-3 {
|
1121
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
1122
|
+
}
|
1123
|
+
|
1124
|
+
.grid-cols-4 {
|
1125
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
1126
|
+
}
|
1127
|
+
|
1128
|
+
.flex-row {
|
1129
|
+
flex-direction: row;
|
1130
|
+
}
|
1131
|
+
|
1132
|
+
.flex-col {
|
1133
|
+
flex-direction: column;
|
1134
|
+
}
|
1135
|
+
|
1136
|
+
.flex-col-reverse {
|
1137
|
+
flex-direction: column-reverse;
|
1138
|
+
}
|
1139
|
+
|
1140
|
+
.flex-wrap {
|
1141
|
+
flex-wrap: wrap;
|
1142
|
+
}
|
1143
|
+
|
1144
|
+
.flex-nowrap {
|
1145
|
+
flex-wrap: nowrap;
|
1146
|
+
}
|
1147
|
+
|
1148
|
+
.items-center {
|
1149
|
+
align-items: center;
|
1150
|
+
}
|
1151
|
+
|
1152
|
+
.items-stretch {
|
1153
|
+
align-items: stretch;
|
1154
|
+
}
|
1155
|
+
|
1156
|
+
.justify-end {
|
1157
|
+
justify-content: flex-end;
|
1158
|
+
}
|
1159
|
+
|
1160
|
+
.justify-center {
|
1161
|
+
justify-content: center;
|
1162
|
+
}
|
1163
|
+
|
1164
|
+
.justify-between {
|
1165
|
+
justify-content: space-between;
|
1166
|
+
}
|
1167
|
+
|
1168
|
+
.justify-stretch {
|
1169
|
+
justify-content: stretch;
|
1170
|
+
}
|
1171
|
+
|
1172
|
+
.gap-1 {
|
1173
|
+
gap: 0.25rem;
|
1174
|
+
}
|
1175
|
+
|
1176
|
+
.gap-1\\.5 {
|
1177
|
+
gap: 0.375rem;
|
1178
|
+
}
|
1179
|
+
|
1180
|
+
.gap-10 {
|
1181
|
+
gap: 2.5rem;
|
1182
|
+
}
|
1183
|
+
|
1184
|
+
.gap-2 {
|
1185
|
+
gap: 0.5rem;
|
1186
|
+
}
|
1187
|
+
|
1188
|
+
.gap-20 {
|
1189
|
+
gap: 5rem;
|
1190
|
+
}
|
1191
|
+
|
1192
|
+
.gap-4 {
|
1193
|
+
gap: 1rem;
|
1194
|
+
}
|
1195
|
+
|
1196
|
+
.gap-5 {
|
1197
|
+
gap: 1.25rem;
|
1198
|
+
}
|
1199
|
+
|
1200
|
+
.space-x-1 > :not([hidden]) ~ :not([hidden]) {
|
1201
|
+
--tw-space-x-reverse: 0;
|
1202
|
+
margin-right: calc(0.25rem * var(--tw-space-x-reverse));
|
1203
|
+
margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse)));
|
1204
|
+
}
|
1205
|
+
|
1206
|
+
.space-x-2 > :not([hidden]) ~ :not([hidden]) {
|
1207
|
+
--tw-space-x-reverse: 0;
|
1208
|
+
margin-right: calc(0.5rem * var(--tw-space-x-reverse));
|
1209
|
+
margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
|
1210
|
+
}
|
1211
|
+
|
1212
|
+
.space-x-4 > :not([hidden]) ~ :not([hidden]) {
|
1213
|
+
--tw-space-x-reverse: 0;
|
1214
|
+
margin-right: calc(1rem * var(--tw-space-x-reverse));
|
1215
|
+
margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
|
1216
|
+
}
|
1217
|
+
|
1218
|
+
.space-y-1 > :not([hidden]) ~ :not([hidden]) {
|
1219
|
+
--tw-space-y-reverse: 0;
|
1220
|
+
margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
|
1221
|
+
margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
|
1222
|
+
}
|
1223
|
+
|
1224
|
+
.space-y-1\\.5 > :not([hidden]) ~ :not([hidden]) {
|
1225
|
+
--tw-space-y-reverse: 0;
|
1226
|
+
margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
|
1227
|
+
margin-bottom: calc(0.375rem * var(--tw-space-y-reverse));
|
1228
|
+
}
|
1229
|
+
|
1230
|
+
.space-y-10 > :not([hidden]) ~ :not([hidden]) {
|
1231
|
+
--tw-space-y-reverse: 0;
|
1232
|
+
margin-top: calc(2.5rem * calc(1 - var(--tw-space-y-reverse)));
|
1233
|
+
margin-bottom: calc(2.5rem * var(--tw-space-y-reverse));
|
1234
|
+
}
|
1235
|
+
|
1236
|
+
.space-y-2 > :not([hidden]) ~ :not([hidden]) {
|
1237
|
+
--tw-space-y-reverse: 0;
|
1238
|
+
margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
|
1239
|
+
margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
|
1240
|
+
}
|
1241
|
+
|
1242
|
+
.space-y-4 > :not([hidden]) ~ :not([hidden]) {
|
1243
|
+
--tw-space-y-reverse: 0;
|
1244
|
+
margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
|
1245
|
+
margin-bottom: calc(1rem * var(--tw-space-y-reverse));
|
1246
|
+
}
|
1247
|
+
|
1248
|
+
.space-y-5 > :not([hidden]) ~ :not([hidden]) {
|
1249
|
+
--tw-space-y-reverse: 0;
|
1250
|
+
margin-top: calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));
|
1251
|
+
margin-bottom: calc(1.25rem * var(--tw-space-y-reverse));
|
1252
|
+
}
|
1253
|
+
|
1254
|
+
.overflow-hidden {
|
1255
|
+
overflow: hidden;
|
1256
|
+
}
|
1257
|
+
|
1258
|
+
.overflow-y-auto {
|
1259
|
+
overflow-y: auto;
|
1260
|
+
}
|
1261
|
+
|
1262
|
+
.overflow-x-hidden {
|
1263
|
+
overflow-x: hidden;
|
1264
|
+
}
|
1265
|
+
|
1266
|
+
.whitespace-nowrap {
|
1267
|
+
white-space: nowrap;
|
1268
|
+
}
|
1269
|
+
|
1270
|
+
.break-words {
|
1271
|
+
overflow-wrap: break-word;
|
1272
|
+
}
|
1273
|
+
|
1274
|
+
.rounded {
|
1275
|
+
border-radius: 0.25rem;
|
1276
|
+
}
|
1277
|
+
|
1278
|
+
.rounded-full {
|
1279
|
+
border-radius: 9999px;
|
1280
|
+
}
|
1281
|
+
|
1282
|
+
.rounded-lg {
|
1283
|
+
border-radius: var(--radius);
|
1284
|
+
}
|
1285
|
+
|
1286
|
+
.rounded-md {
|
1287
|
+
border-radius: calc(var(--radius) - 2px);
|
1288
|
+
}
|
1289
|
+
|
1290
|
+
.rounded-sm {
|
1291
|
+
border-radius: calc(var(--radius) - 4px);
|
1292
|
+
}
|
1293
|
+
|
1294
|
+
.border {
|
1295
|
+
border-width: 1px;
|
1296
|
+
}
|
1297
|
+
|
1298
|
+
.border-0 {
|
1299
|
+
border-width: 0px;
|
1300
|
+
}
|
1301
|
+
|
1302
|
+
.border-2 {
|
1303
|
+
border-width: 2px;
|
1304
|
+
}
|
1305
|
+
|
1306
|
+
.border-4 {
|
1307
|
+
border-width: 4px;
|
1308
|
+
}
|
1309
|
+
|
1310
|
+
.border-b {
|
1311
|
+
border-bottom-width: 1px;
|
1312
|
+
}
|
1313
|
+
|
1314
|
+
.border-blue-200 {
|
1315
|
+
border-color: var(--blue-200);
|
1316
|
+
}
|
1317
|
+
|
1318
|
+
.border-gray-200 {
|
1319
|
+
--tw-border-opacity: 1;
|
1320
|
+
border-color: rgb(229 231 235 / var(--tw-border-opacity));
|
1321
|
+
}
|
1322
|
+
|
1323
|
+
.border-gray-300 {
|
1324
|
+
--tw-border-opacity: 1;
|
1325
|
+
border-color: rgb(209 213 219 / var(--tw-border-opacity));
|
1326
|
+
}
|
1327
|
+
|
1328
|
+
.border-green-200 {
|
1329
|
+
border-color: var(--green-200);
|
1330
|
+
}
|
1331
|
+
|
1332
|
+
.border-input {
|
1333
|
+
border-color: hsl(var(--input));
|
1334
|
+
}
|
1335
|
+
|
1336
|
+
.border-primary {
|
1337
|
+
border-color: hsl(var(--primary));
|
1338
|
+
}
|
1339
|
+
|
1340
|
+
.border-red-200 {
|
1341
|
+
border-color: var(--red-200);
|
1342
|
+
}
|
1343
|
+
|
1344
|
+
.border-slate-50 {
|
1345
|
+
--tw-border-opacity: 1;
|
1346
|
+
border-color: rgb(248 250 252 / var(--tw-border-opacity));
|
1347
|
+
}
|
1348
|
+
|
1349
|
+
.border-slate-500 {
|
1350
|
+
--tw-border-opacity: 1;
|
1351
|
+
border-color: rgb(100 116 139 / var(--tw-border-opacity));
|
1352
|
+
}
|
1353
|
+
|
1354
|
+
.border-transparent {
|
1355
|
+
border-color: transparent;
|
1356
|
+
}
|
1357
|
+
|
1358
|
+
.border-yellow-200 {
|
1359
|
+
border-color: var(--yellow-200);
|
1360
|
+
}
|
1361
|
+
|
1362
|
+
.bg-accent {
|
1363
|
+
background-color: hsl(var(--accent));
|
1364
|
+
}
|
1365
|
+
|
1366
|
+
.bg-background {
|
1367
|
+
background-color: hsl(var(--background));
|
1368
|
+
}
|
1369
|
+
|
1370
|
+
.bg-black {
|
1371
|
+
--tw-bg-opacity: 1;
|
1372
|
+
background-color: rgb(0 0 0 / var(--tw-bg-opacity));
|
1373
|
+
}
|
1374
|
+
|
1375
|
+
.bg-black\\/80 {
|
1376
|
+
background-color: rgb(0 0 0 / 0.8);
|
1377
|
+
}
|
1378
|
+
|
1379
|
+
.bg-blue-100 {
|
1380
|
+
background-color: var(--blue-100);
|
1381
|
+
}
|
1382
|
+
|
1383
|
+
.bg-blue-500 {
|
1384
|
+
--tw-bg-opacity: 1;
|
1385
|
+
background-color: rgb(59 130 246 / var(--tw-bg-opacity));
|
1386
|
+
}
|
1387
|
+
|
1388
|
+
.bg-border {
|
1389
|
+
background-color: hsl(var(--border));
|
1390
|
+
}
|
1391
|
+
|
1392
|
+
.bg-card {
|
1393
|
+
background-color: hsl(var(--card));
|
1394
|
+
}
|
1395
|
+
|
1396
|
+
.bg-destructive {
|
1397
|
+
background-color: hsl(var(--destructive));
|
1398
|
+
}
|
1399
|
+
|
1400
|
+
.bg-gray-100 {
|
1401
|
+
--tw-bg-opacity: 1;
|
1402
|
+
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
|
1403
|
+
}
|
1404
|
+
|
1405
|
+
.bg-green-100 {
|
1406
|
+
background-color: var(--green-100);
|
1407
|
+
}
|
1408
|
+
|
1409
|
+
.bg-popover {
|
1410
|
+
background-color: hsl(var(--popover));
|
1411
|
+
}
|
1412
|
+
|
1413
|
+
.bg-primary {
|
1414
|
+
background-color: hsl(var(--primary));
|
1415
|
+
}
|
1416
|
+
|
1417
|
+
.bg-red-100 {
|
1418
|
+
background-color: var(--red-100);
|
1419
|
+
}
|
1420
|
+
|
1421
|
+
.bg-red-400 {
|
1422
|
+
--tw-bg-opacity: 1;
|
1423
|
+
background-color: rgb(248 113 113 / var(--tw-bg-opacity));
|
1424
|
+
}
|
1425
|
+
|
1426
|
+
.bg-red-500 {
|
1427
|
+
--tw-bg-opacity: 1;
|
1428
|
+
background-color: rgb(239 68 68 / var(--tw-bg-opacity));
|
1429
|
+
}
|
1430
|
+
|
1431
|
+
.bg-red-600 {
|
1432
|
+
--tw-bg-opacity: 1;
|
1433
|
+
background-color: rgb(220 38 38 / var(--tw-bg-opacity));
|
1434
|
+
}
|
1435
|
+
|
1436
|
+
.bg-secondary {
|
1437
|
+
background-color: hsl(var(--secondary));
|
1438
|
+
}
|
1439
|
+
|
1440
|
+
.bg-transparent {
|
1441
|
+
background-color: transparent;
|
1442
|
+
}
|
1443
|
+
|
1444
|
+
.bg-white {
|
1445
|
+
--tw-bg-opacity: 1;
|
1446
|
+
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
1447
|
+
}
|
1448
|
+
|
1449
|
+
.bg-yellow-100 {
|
1450
|
+
background-color: var(--yellow-100);
|
1451
|
+
}
|
1452
|
+
|
1453
|
+
.p-1 {
|
1454
|
+
padding: 0.25rem;
|
1455
|
+
}
|
1456
|
+
|
1457
|
+
.p-4 {
|
1458
|
+
padding: 1rem;
|
1459
|
+
}
|
1460
|
+
|
1461
|
+
.p-6 {
|
1462
|
+
padding: 1.5rem;
|
1463
|
+
}
|
1464
|
+
|
1465
|
+
.px-2 {
|
1466
|
+
padding-left: 0.5rem;
|
1467
|
+
padding-right: 0.5rem;
|
1468
|
+
}
|
1469
|
+
|
1470
|
+
.px-2\\.5 {
|
1471
|
+
padding-left: 0.625rem;
|
1472
|
+
padding-right: 0.625rem;
|
1473
|
+
}
|
1474
|
+
|
1475
|
+
.px-3 {
|
1476
|
+
padding-left: 0.75rem;
|
1477
|
+
padding-right: 0.75rem;
|
1478
|
+
}
|
1479
|
+
|
1480
|
+
.px-4 {
|
1481
|
+
padding-left: 1rem;
|
1482
|
+
padding-right: 1rem;
|
1483
|
+
}
|
1484
|
+
|
1485
|
+
.px-5 {
|
1486
|
+
padding-left: 1.25rem;
|
1487
|
+
padding-right: 1.25rem;
|
1488
|
+
}
|
1489
|
+
|
1490
|
+
.px-8 {
|
1491
|
+
padding-left: 2rem;
|
1492
|
+
padding-right: 2rem;
|
1493
|
+
}
|
1494
|
+
|
1495
|
+
.py-0 {
|
1496
|
+
padding-top: 0;
|
1497
|
+
padding-bottom: 0;
|
1498
|
+
}
|
1499
|
+
|
1500
|
+
.py-0\\.5 {
|
1501
|
+
padding-top: 0.125rem;
|
1502
|
+
padding-bottom: 0.125rem;
|
1503
|
+
}
|
1504
|
+
|
1505
|
+
.py-1 {
|
1506
|
+
padding-top: 0.25rem;
|
1507
|
+
padding-bottom: 0.25rem;
|
1508
|
+
}
|
1509
|
+
|
1510
|
+
.py-1\\.5 {
|
1511
|
+
padding-top: 0.375rem;
|
1512
|
+
padding-bottom: 0.375rem;
|
1513
|
+
}
|
1514
|
+
|
1515
|
+
.py-2 {
|
1516
|
+
padding-top: 0.5rem;
|
1517
|
+
padding-bottom: 0.5rem;
|
1518
|
+
}
|
1519
|
+
|
1520
|
+
.py-3 {
|
1521
|
+
padding-top: 0.75rem;
|
1522
|
+
padding-bottom: 0.75rem;
|
1523
|
+
}
|
1524
|
+
|
1525
|
+
.py-4 {
|
1526
|
+
padding-top: 1rem;
|
1527
|
+
padding-bottom: 1rem;
|
1528
|
+
}
|
1529
|
+
|
1530
|
+
.py-6 {
|
1531
|
+
padding-top: 1.5rem;
|
1532
|
+
padding-bottom: 1.5rem;
|
1533
|
+
}
|
1534
|
+
|
1535
|
+
.pe-9 {
|
1536
|
+
padding-inline-end: 2.25rem;
|
1537
|
+
}
|
1538
|
+
|
1539
|
+
.ps-4 {
|
1540
|
+
padding-inline-start: 1rem;
|
1541
|
+
}
|
1542
|
+
|
1543
|
+
.pt-0 {
|
1544
|
+
padding-top: 0;
|
1545
|
+
}
|
1546
|
+
|
1547
|
+
.pt-1 {
|
1548
|
+
padding-top: 0.25rem;
|
1549
|
+
}
|
1550
|
+
|
1551
|
+
.pt-2 {
|
1552
|
+
padding-top: 0.5rem;
|
1553
|
+
}
|
1554
|
+
|
1555
|
+
.pt-3 {
|
1556
|
+
padding-top: 0.75rem;
|
1557
|
+
}
|
1558
|
+
|
1559
|
+
.pt-4 {
|
1560
|
+
padding-top: 1rem;
|
1561
|
+
}
|
1562
|
+
|
1563
|
+
.pt-6 {
|
1564
|
+
padding-top: 1.5rem;
|
1565
|
+
}
|
1566
|
+
|
1567
|
+
.text-left {
|
1568
|
+
text-align: left;
|
1569
|
+
}
|
1570
|
+
|
1571
|
+
.text-center {
|
1572
|
+
text-align: center;
|
1573
|
+
}
|
1574
|
+
|
1575
|
+
.text-right {
|
1576
|
+
text-align: right;
|
1577
|
+
}
|
1578
|
+
|
1579
|
+
.align-baseline {
|
1580
|
+
vertical-align: baseline;
|
1581
|
+
}
|
1582
|
+
|
1583
|
+
.align-top {
|
1584
|
+
vertical-align: top;
|
1585
|
+
}
|
1586
|
+
|
1587
|
+
.align-middle {
|
1588
|
+
vertical-align: middle;
|
1589
|
+
}
|
1590
|
+
|
1591
|
+
.align-bottom {
|
1592
|
+
vertical-align: bottom;
|
1593
|
+
}
|
1594
|
+
|
1595
|
+
.font-geist {
|
1596
|
+
font-family: GeistSans, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
1597
|
+
}
|
1598
|
+
|
1599
|
+
.text-2xl {
|
1600
|
+
font-size: 1.5rem;
|
1601
|
+
line-height: 2rem;
|
1602
|
+
}
|
1603
|
+
|
1604
|
+
.text-3xl {
|
1605
|
+
font-size: 1.875rem;
|
1606
|
+
line-height: 2.25rem;
|
1607
|
+
}
|
1608
|
+
|
1609
|
+
.text-4xl {
|
1610
|
+
font-size: 2.25rem;
|
1611
|
+
line-height: 2.5rem;
|
1612
|
+
}
|
1613
|
+
|
1614
|
+
.text-base {
|
1615
|
+
font-size: 1rem;
|
1616
|
+
line-height: 1.5rem;
|
1617
|
+
}
|
1618
|
+
|
1619
|
+
.text-lg {
|
1620
|
+
font-size: 1.125rem;
|
1621
|
+
line-height: 1.75rem;
|
1622
|
+
}
|
1623
|
+
|
1624
|
+
.text-sm {
|
1625
|
+
font-size: 0.875rem;
|
1626
|
+
line-height: 1.25rem;
|
1627
|
+
}
|
1628
|
+
|
1629
|
+
.text-xl {
|
1630
|
+
font-size: 1.25rem;
|
1631
|
+
line-height: 1.75rem;
|
1632
|
+
}
|
1633
|
+
|
1634
|
+
.text-xs {
|
1635
|
+
font-size: 0.75rem;
|
1636
|
+
line-height: 1rem;
|
1637
|
+
}
|
1638
|
+
|
1639
|
+
.font-bold {
|
1640
|
+
font-weight: 700;
|
1641
|
+
}
|
1642
|
+
|
1643
|
+
.font-medium {
|
1644
|
+
font-weight: 500;
|
1645
|
+
}
|
1646
|
+
|
1647
|
+
.font-normal {
|
1648
|
+
font-weight: 400;
|
1649
|
+
}
|
1650
|
+
|
1651
|
+
.font-semibold {
|
1652
|
+
font-weight: 600;
|
1653
|
+
}
|
1654
|
+
|
1655
|
+
.leading-none {
|
1656
|
+
line-height: 1;
|
1657
|
+
}
|
1658
|
+
|
1659
|
+
.tracking-tight {
|
1660
|
+
letter-spacing: -0.025em;
|
1661
|
+
}
|
1662
|
+
|
1663
|
+
.tracking-widest {
|
1664
|
+
letter-spacing: 0.1em;
|
1665
|
+
}
|
1666
|
+
|
1667
|
+
.text-accent-foreground {
|
1668
|
+
color: hsl(var(--accent-foreground));
|
1669
|
+
}
|
1670
|
+
|
1671
|
+
.text-blue-600 {
|
1672
|
+
--tw-text-opacity: 1;
|
1673
|
+
color: rgb(37 99 235 / var(--tw-text-opacity));
|
1674
|
+
}
|
1675
|
+
|
1676
|
+
.text-blue-700 {
|
1677
|
+
--tw-text-opacity: 1;
|
1678
|
+
color: rgb(29 78 216 / var(--tw-text-opacity));
|
1679
|
+
}
|
1680
|
+
|
1681
|
+
.text-blue-800 {
|
1682
|
+
color: var(--blue-800);
|
1683
|
+
}
|
1684
|
+
|
1685
|
+
.text-card-foreground {
|
1686
|
+
color: hsl(var(--card-foreground));
|
1687
|
+
}
|
1688
|
+
|
1689
|
+
.text-current {
|
1690
|
+
color: currentColor;
|
1691
|
+
}
|
1692
|
+
|
1693
|
+
.text-destructive-foreground {
|
1694
|
+
color: hsl(var(--destructive-foreground));
|
1695
|
+
}
|
1696
|
+
|
1697
|
+
.text-foreground {
|
1698
|
+
color: hsl(var(--foreground));
|
1699
|
+
}
|
1700
|
+
|
1701
|
+
.text-gray-500 {
|
1702
|
+
--tw-text-opacity: 1;
|
1703
|
+
color: rgb(107 114 128 / var(--tw-text-opacity));
|
1704
|
+
}
|
1705
|
+
|
1706
|
+
.text-gray-800 {
|
1707
|
+
--tw-text-opacity: 1;
|
1708
|
+
color: rgb(31 41 55 / var(--tw-text-opacity));
|
1709
|
+
}
|
1710
|
+
|
1711
|
+
.text-green-800 {
|
1712
|
+
color: var(--green-800);
|
1713
|
+
}
|
1714
|
+
|
1715
|
+
.text-muted {
|
1716
|
+
color: hsl(var(--muted));
|
1717
|
+
}
|
1718
|
+
|
1719
|
+
.text-muted-foreground {
|
1720
|
+
color: hsl(var(--muted-foreground));
|
1721
|
+
}
|
1722
|
+
|
1723
|
+
.text-popover-foreground {
|
1724
|
+
color: hsl(var(--popover-foreground));
|
1725
|
+
}
|
1726
|
+
|
1727
|
+
.text-primary {
|
1728
|
+
color: hsl(var(--primary));
|
1729
|
+
}
|
1730
|
+
|
1731
|
+
.text-primary-foreground {
|
1732
|
+
color: hsl(var(--primary-foreground));
|
1733
|
+
}
|
1734
|
+
|
1735
|
+
.text-red-800 {
|
1736
|
+
color: var(--red-800);
|
1737
|
+
}
|
1738
|
+
|
1739
|
+
.text-secondary-foreground {
|
1740
|
+
color: hsl(var(--secondary-foreground));
|
1741
|
+
}
|
1742
|
+
|
1743
|
+
.text-yellow-800 {
|
1744
|
+
color: var(--yellow-800);
|
1745
|
+
}
|
1746
|
+
|
1747
|
+
.underline {
|
1748
|
+
text-decoration-line: underline;
|
1749
|
+
}
|
1750
|
+
|
1751
|
+
.underline-offset-4 {
|
1752
|
+
text-underline-offset: 4px;
|
1753
|
+
}
|
1754
|
+
|
1755
|
+
.opacity-0 {
|
1756
|
+
opacity: 0;
|
1757
|
+
}
|
1758
|
+
|
1759
|
+
.opacity-100 {
|
1760
|
+
opacity: 1;
|
1761
|
+
}
|
1762
|
+
|
1763
|
+
.opacity-50 {
|
1764
|
+
opacity: 0.5;
|
1765
|
+
}
|
1766
|
+
|
1767
|
+
.opacity-70 {
|
1768
|
+
opacity: 0.7;
|
1769
|
+
}
|
1770
|
+
|
1771
|
+
.shadow {
|
1772
|
+
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
1773
|
+
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
1774
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
1775
|
+
}
|
1776
|
+
|
1777
|
+
.shadow-lg {
|
1778
|
+
--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
1779
|
+
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
|
1780
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
1781
|
+
}
|
1782
|
+
|
1783
|
+
.shadow-md {
|
1784
|
+
--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
1785
|
+
--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
|
1786
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
1787
|
+
}
|
1788
|
+
|
1789
|
+
.shadow-sm {
|
1790
|
+
--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
1791
|
+
--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
|
1792
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
1793
|
+
}
|
1794
|
+
|
1795
|
+
.outline-none {
|
1796
|
+
outline: 2px solid transparent;
|
1797
|
+
outline-offset: 2px;
|
1798
|
+
}
|
1799
|
+
|
1800
|
+
.outline {
|
1801
|
+
outline-style: solid;
|
1802
|
+
}
|
1803
|
+
|
1804
|
+
.ring-offset-background {
|
1805
|
+
--tw-ring-offset-color: hsl(var(--background));
|
1806
|
+
}
|
1807
|
+
|
1808
|
+
.filter {
|
1809
|
+
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
1810
|
+
}
|
1811
|
+
|
1812
|
+
.transition {
|
1813
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
|
1814
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
1815
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
|
1816
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
1817
|
+
transition-duration: 150ms;
|
1818
|
+
}
|
1819
|
+
|
1820
|
+
.transition-colors {
|
1821
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
|
1822
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
1823
|
+
transition-duration: 150ms;
|
1824
|
+
}
|
1825
|
+
|
1826
|
+
.transition-opacity {
|
1827
|
+
transition-property: opacity;
|
1828
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
1829
|
+
transition-duration: 150ms;
|
1830
|
+
}
|
1831
|
+
|
1832
|
+
.transition-transform {
|
1833
|
+
transition-property: transform;
|
1834
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
1835
|
+
transition-duration: 150ms;
|
1836
|
+
}
|
1837
|
+
|
1838
|
+
.duration-200 {
|
1839
|
+
transition-duration: 200ms;
|
1840
|
+
}
|
1841
|
+
|
1842
|
+
.duration-500 {
|
1843
|
+
transition-duration: 500ms;
|
1844
|
+
}
|
1845
|
+
|
1846
|
+
@keyframes enter {
|
1847
|
+
from {
|
1848
|
+
opacity: var(--tw-enter-opacity, 1);
|
1849
|
+
transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0));
|
1850
|
+
}
|
1851
|
+
}
|
1852
|
+
|
1853
|
+
@keyframes exit {
|
1854
|
+
to {
|
1855
|
+
opacity: var(--tw-exit-opacity, 1);
|
1856
|
+
transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0));
|
1857
|
+
}
|
1858
|
+
}
|
1859
|
+
|
1860
|
+
.slide-in-from-left-1 {
|
1861
|
+
--tw-enter-translate-x: -0.25rem;
|
1862
|
+
}
|
1863
|
+
|
1864
|
+
.slide-out-to-left-1 {
|
1865
|
+
--tw-exit-translate-x: -0.25rem;
|
1866
|
+
}
|
1867
|
+
|
1868
|
+
.duration-200 {
|
1869
|
+
animation-duration: 200ms;
|
1870
|
+
}
|
1871
|
+
|
1872
|
+
.duration-500 {
|
1873
|
+
animation-duration: 500ms;
|
1874
|
+
}
|
1875
|
+
|
1876
|
+
@media (max-width: 640px) {
|
1877
|
+
.container {
|
1878
|
+
padding-left: 1rem;
|
1879
|
+
padding-right: 1rem;
|
1880
|
+
}
|
1881
|
+
}
|
1882
|
+
|
1883
|
+
.file\\:border-0::file-selector-button {
|
1884
|
+
border-width: 0px;
|
1885
|
+
}
|
1886
|
+
|
1887
|
+
.file\\:bg-transparent::file-selector-button {
|
1888
|
+
background-color: transparent;
|
1889
|
+
}
|
1890
|
+
|
1891
|
+
.file\\:text-sm::file-selector-button {
|
1892
|
+
font-size: 0.875rem;
|
1893
|
+
line-height: 1.25rem;
|
1894
|
+
}
|
1895
|
+
|
1896
|
+
.file\\:font-medium::file-selector-button {
|
1897
|
+
font-weight: 500;
|
1898
|
+
}
|
1899
|
+
|
1900
|
+
.file\\:text-foreground::file-selector-button {
|
1901
|
+
color: hsl(var(--foreground));
|
1902
|
+
}
|
1903
|
+
|
1904
|
+
.placeholder\\:text-muted-foreground::-moz-placeholder {
|
1905
|
+
color: hsl(var(--muted-foreground));
|
1906
|
+
}
|
1907
|
+
|
1908
|
+
.placeholder\\:text-muted-foreground::placeholder {
|
1909
|
+
color: hsl(var(--muted-foreground));
|
1910
|
+
}
|
1911
|
+
|
1912
|
+
.hover\\:bg-accent:hover {
|
1913
|
+
background-color: hsl(var(--accent));
|
1914
|
+
}
|
1915
|
+
|
1916
|
+
.hover\\:bg-destructive\\/90:hover {
|
1917
|
+
background-color: hsl(var(--destructive) / 0.9);
|
1918
|
+
}
|
1919
|
+
|
1920
|
+
.hover\\:bg-gray-100:hover {
|
1921
|
+
--tw-bg-opacity: 1;
|
1922
|
+
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
|
1923
|
+
}
|
1924
|
+
|
1925
|
+
.hover\\:bg-muted:hover {
|
1926
|
+
background-color: hsl(var(--muted));
|
1927
|
+
}
|
1928
|
+
|
1929
|
+
.hover\\:bg-primary\\/90:hover {
|
1930
|
+
background-color: hsl(var(--primary) / 0.9);
|
1931
|
+
}
|
1932
|
+
|
1933
|
+
.hover\\:bg-secondary\\/80:hover {
|
1934
|
+
background-color: hsl(var(--secondary) / 0.8);
|
1935
|
+
}
|
1936
|
+
|
1937
|
+
.hover\\:text-accent-foreground:hover {
|
1938
|
+
color: hsl(var(--accent-foreground));
|
1939
|
+
}
|
1940
|
+
|
1941
|
+
.hover\\:text-foreground:hover {
|
1942
|
+
color: hsl(var(--foreground));
|
1943
|
+
}
|
1944
|
+
|
1945
|
+
.hover\\:text-muted-foreground:hover {
|
1946
|
+
color: hsl(var(--muted-foreground));
|
1947
|
+
}
|
1948
|
+
|
1949
|
+
.hover\\:underline:hover {
|
1950
|
+
text-decoration-line: underline;
|
1951
|
+
}
|
1952
|
+
|
1953
|
+
.hover\\:opacity-100:hover {
|
1954
|
+
opacity: 1;
|
1955
|
+
}
|
1956
|
+
|
1957
|
+
.focus\\:bg-gray-100:focus {
|
1958
|
+
--tw-bg-opacity: 1;
|
1959
|
+
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
|
1960
|
+
}
|
1961
|
+
|
1962
|
+
.focus\\:outline-none:focus {
|
1963
|
+
outline: 2px solid transparent;
|
1964
|
+
outline-offset: 2px;
|
1965
|
+
}
|
1966
|
+
|
1967
|
+
.focus\\:ring-2:focus {
|
1968
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
1969
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
1970
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
1971
|
+
}
|
1972
|
+
|
1973
|
+
.focus\\:ring-ring:focus {
|
1974
|
+
--tw-ring-color: hsl(var(--ring));
|
1975
|
+
}
|
1976
|
+
|
1977
|
+
.focus\\:ring-offset-2:focus {
|
1978
|
+
--tw-ring-offset-width: 2px;
|
1979
|
+
}
|
1980
|
+
|
1981
|
+
.focus-visible\\:outline-none:focus-visible {
|
1982
|
+
outline: 2px solid transparent;
|
1983
|
+
outline-offset: 2px;
|
1984
|
+
}
|
1985
|
+
|
1986
|
+
.focus-visible\\:ring-1:focus-visible {
|
1987
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
1988
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
1989
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
1990
|
+
}
|
1991
|
+
|
1992
|
+
.focus-visible\\:ring-2:focus-visible {
|
1993
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
1994
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
1995
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
1996
|
+
}
|
1997
|
+
|
1998
|
+
.focus-visible\\:ring-ring:focus-visible {
|
1999
|
+
--tw-ring-color: hsl(var(--ring));
|
2000
|
+
}
|
2001
|
+
|
2002
|
+
.focus-visible\\:ring-offset-2:focus-visible {
|
2003
|
+
--tw-ring-offset-width: 2px;
|
2004
|
+
}
|
2005
|
+
|
2006
|
+
.disabled\\:pointer-events-none:disabled {
|
2007
|
+
pointer-events: none;
|
2008
|
+
}
|
2009
|
+
|
2010
|
+
.disabled\\:cursor-not-allowed:disabled {
|
2011
|
+
cursor: not-allowed;
|
2012
|
+
}
|
2013
|
+
|
2014
|
+
.disabled\\:opacity-50:disabled {
|
2015
|
+
opacity: 0.5;
|
2016
|
+
}
|
2017
|
+
|
2018
|
+
.peer:disabled ~ .peer-disabled\\:cursor-not-allowed {
|
2019
|
+
cursor: not-allowed;
|
2020
|
+
}
|
2021
|
+
|
2022
|
+
.peer:disabled ~ .peer-disabled\\:opacity-70 {
|
2023
|
+
opacity: 0.7;
|
2024
|
+
}
|
2025
|
+
|
2026
|
+
.aria-selected\\:bg-accent[aria-selected="true"] {
|
2027
|
+
background-color: hsl(var(--accent));
|
2028
|
+
}
|
2029
|
+
|
2030
|
+
.aria-selected\\:text-accent-foreground[aria-selected="true"] {
|
2031
|
+
color: hsl(var(--accent-foreground));
|
2032
|
+
}
|
2033
|
+
|
2034
|
+
.data-\\[disabled\\]\\:pointer-events-none[data-disabled] {
|
2035
|
+
pointer-events: none;
|
2036
|
+
}
|
2037
|
+
|
2038
|
+
.data-\\[state\\=checked\\]\\:bg-primary[data-state="checked"] {
|
2039
|
+
background-color: hsl(var(--primary));
|
2040
|
+
}
|
2041
|
+
|
2042
|
+
.data-\\[state\\=on\\]\\:bg-accent[data-state="on"] {
|
2043
|
+
background-color: hsl(var(--accent));
|
2044
|
+
}
|
2045
|
+
|
2046
|
+
.data-\\[state\\=open\\]\\:bg-accent[data-state="open"] {
|
2047
|
+
background-color: hsl(var(--accent));
|
2048
|
+
}
|
2049
|
+
|
2050
|
+
.data-\\[state\\=checked\\]\\:text-primary-foreground[data-state="checked"] {
|
2051
|
+
color: hsl(var(--primary-foreground));
|
2052
|
+
}
|
2053
|
+
|
2054
|
+
.data-\\[state\\=on\\]\\:text-accent-foreground[data-state="on"] {
|
2055
|
+
color: hsl(var(--accent-foreground));
|
2056
|
+
}
|
2057
|
+
|
2058
|
+
.data-\\[state\\=open\\]\\:text-muted-foreground[data-state="open"] {
|
2059
|
+
color: hsl(var(--muted-foreground));
|
2060
|
+
}
|
2061
|
+
|
2062
|
+
.data-\\[disabled\\]\\:opacity-50[data-disabled] {
|
2063
|
+
opacity: 0.5;
|
2064
|
+
}
|
2065
|
+
|
2066
|
+
.data-\\[state\\=open\\]\\:animate-in[data-state="open"] {
|
2067
|
+
animation-name: enter;
|
2068
|
+
animation-duration: 150ms;
|
2069
|
+
--tw-enter-opacity: initial;
|
2070
|
+
--tw-enter-scale: initial;
|
2071
|
+
--tw-enter-rotate: initial;
|
2072
|
+
--tw-enter-translate-x: initial;
|
2073
|
+
--tw-enter-translate-y: initial;
|
2074
|
+
}
|
2075
|
+
|
2076
|
+
.data-\\[state\\=closed\\]\\:animate-out[data-state="closed"] {
|
2077
|
+
animation-name: exit;
|
2078
|
+
animation-duration: 150ms;
|
2079
|
+
--tw-exit-opacity: initial;
|
2080
|
+
--tw-exit-scale: initial;
|
2081
|
+
--tw-exit-rotate: initial;
|
2082
|
+
--tw-exit-translate-x: initial;
|
2083
|
+
--tw-exit-translate-y: initial;
|
2084
|
+
}
|
2085
|
+
|
2086
|
+
.data-\\[state\\=closed\\]\\:fade-out-0[data-state="closed"] {
|
2087
|
+
--tw-exit-opacity: 0;
|
2088
|
+
}
|
2089
|
+
|
2090
|
+
.data-\\[state\\=open\\]\\:fade-in-0[data-state="open"] {
|
2091
|
+
--tw-enter-opacity: 0;
|
2092
|
+
}
|
2093
|
+
|
2094
|
+
.data-\\[state\\=closed\\]\\:zoom-out-95[data-state="closed"] {
|
2095
|
+
--tw-exit-scale: .95;
|
2096
|
+
}
|
2097
|
+
|
2098
|
+
.data-\\[state\\=open\\]\\:zoom-in-95[data-state="open"] {
|
2099
|
+
--tw-enter-scale: .95;
|
2100
|
+
}
|
2101
|
+
|
2102
|
+
.data-\\[state\\=closed\\]\\:slide-out-to-left-1\\/2[data-state="closed"] {
|
2103
|
+
--tw-exit-translate-x: -50%;
|
2104
|
+
}
|
2105
|
+
|
2106
|
+
.data-\\[state\\=closed\\]\\:slide-out-to-top-\\[48\\%\\][data-state="closed"] {
|
2107
|
+
--tw-exit-translate-y: -48%;
|
2108
|
+
}
|
2109
|
+
|
2110
|
+
.data-\\[state\\=open\\]\\:slide-in-from-left-1\\/2[data-state="open"] {
|
2111
|
+
--tw-enter-translate-x: -50%;
|
2112
|
+
}
|
2113
|
+
|
2114
|
+
.data-\\[state\\=open\\]\\:slide-in-from-top-\\[48\\%\\][data-state="open"] {
|
2115
|
+
--tw-enter-translate-y: -48%;
|
2116
|
+
}
|
2117
|
+
|
2118
|
+
.dark\\:border-neutral-700:is(.dark *) {
|
2119
|
+
--tw-border-opacity: 1;
|
2120
|
+
border-color: rgb(64 64 64 / var(--tw-border-opacity));
|
2121
|
+
}
|
2122
|
+
|
2123
|
+
.dark\\:bg-neutral-900:is(.dark *) {
|
2124
|
+
--tw-bg-opacity: 1;
|
2125
|
+
background-color: rgb(23 23 23 / var(--tw-bg-opacity));
|
2126
|
+
}
|
2127
|
+
|
2128
|
+
.dark\\:text-blue-500:is(.dark *) {
|
2129
|
+
--tw-text-opacity: 1;
|
2130
|
+
color: rgb(59 130 246 / var(--tw-text-opacity));
|
2131
|
+
}
|
2132
|
+
|
2133
|
+
.dark\\:text-neutral-200:is(.dark *) {
|
2134
|
+
--tw-text-opacity: 1;
|
2135
|
+
color: rgb(229 229 229 / var(--tw-text-opacity));
|
2136
|
+
}
|
2137
|
+
|
2138
|
+
.dark\\:text-neutral-500:is(.dark *) {
|
2139
|
+
--tw-text-opacity: 1;
|
2140
|
+
color: rgb(115 115 115 / var(--tw-text-opacity));
|
2141
|
+
}
|
2142
|
+
|
2143
|
+
.dark\\:hover\\:bg-neutral-800:hover:is(.dark *) {
|
2144
|
+
--tw-bg-opacity: 1;
|
2145
|
+
background-color: rgb(38 38 38 / var(--tw-bg-opacity));
|
2146
|
+
}
|
2147
|
+
|
2148
|
+
.dark\\:focus\\:bg-neutral-800:focus:is(.dark *) {
|
2149
|
+
--tw-bg-opacity: 1;
|
2150
|
+
background-color: rgb(38 38 38 / var(--tw-bg-opacity));
|
2151
|
+
}
|
2152
|
+
|
2153
|
+
@media (min-width: 640px) {
|
2154
|
+
.sm\\:w-min {
|
2155
|
+
width: -moz-min-content;
|
2156
|
+
width: min-content;
|
2157
|
+
}
|
2158
|
+
|
2159
|
+
.sm\\:max-w-\\[425px\\] {
|
2160
|
+
max-width: 425px;
|
2161
|
+
}
|
2162
|
+
|
2163
|
+
.sm\\:flex-row {
|
2164
|
+
flex-direction: row;
|
2165
|
+
}
|
2166
|
+
|
2167
|
+
.sm\\:justify-end {
|
2168
|
+
justify-content: flex-end;
|
2169
|
+
}
|
2170
|
+
|
2171
|
+
.sm\\:gap-2\\.5 {
|
2172
|
+
gap: 0.625rem;
|
2173
|
+
}
|
2174
|
+
|
2175
|
+
.sm\\:space-x-2 > :not([hidden]) ~ :not([hidden]) {
|
2176
|
+
--tw-space-x-reverse: 0;
|
2177
|
+
margin-right: calc(0.5rem * var(--tw-space-x-reverse));
|
2178
|
+
margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
|
2179
|
+
}
|
2180
|
+
|
2181
|
+
.sm\\:rounded-lg {
|
2182
|
+
border-radius: var(--radius);
|
2183
|
+
}
|
2184
|
+
|
2185
|
+
.sm\\:text-left {
|
2186
|
+
text-align: left;
|
2187
|
+
}
|
2188
|
+
}
|
2189
|
+
|
2190
|
+
.\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:rounded-full::-webkit-scrollbar-thumb {
|
2191
|
+
border-radius: 9999px;
|
2192
|
+
}
|
2193
|
+
|
2194
|
+
.\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:bg-gray-300::-webkit-scrollbar-thumb {
|
2195
|
+
--tw-bg-opacity: 1;
|
2196
|
+
background-color: rgb(209 213 219 / var(--tw-bg-opacity));
|
2197
|
+
}
|
2198
|
+
|
2199
|
+
.dark\\:\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:bg-neutral-500:is(.dark *)::-webkit-scrollbar-thumb {
|
2200
|
+
--tw-bg-opacity: 1;
|
2201
|
+
background-color: rgb(115 115 115 / var(--tw-bg-opacity));
|
2202
|
+
}
|
2203
|
+
|
2204
|
+
.\\[\\&\\:\\:-webkit-scrollbar-track\\]\\:bg-gray-100::-webkit-scrollbar-track {
|
2205
|
+
--tw-bg-opacity: 1;
|
2206
|
+
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
|
2207
|
+
}
|
2208
|
+
|
2209
|
+
.dark\\:\\[\\&\\:\\:-webkit-scrollbar-track\\]\\:bg-neutral-700:is(.dark *)::-webkit-scrollbar-track {
|
2210
|
+
--tw-bg-opacity: 1;
|
2211
|
+
background-color: rgb(64 64 64 / var(--tw-bg-opacity));
|
2212
|
+
}
|
2213
|
+
|
2214
|
+
.\\[\\&\\:\\:-webkit-scrollbar\\]\\:w-2::-webkit-scrollbar {
|
2215
|
+
width: 0.5rem;
|
2216
|
+
}
|
2217
|
+
|
2218
|
+
.\\[\\&\\>svg\\]\\:size-3\\.5>svg {
|
2219
|
+
width: 0.875rem;
|
2220
|
+
height: 0.875rem;
|
2221
|
+
}
|
2222
|
+
|
2223
|
+
.\\[\\&_\\[rtgcmd-group-heading\\]\\]\\:px-2 [rtgcmd-group-heading] {
|
2224
|
+
padding-left: 0.5rem;
|
2225
|
+
padding-right: 0.5rem;
|
2226
|
+
}
|
2227
|
+
|
2228
|
+
.\\[\\&_\\[rtgcmd-group-heading\\]\\]\\:py-1\\.5 [rtgcmd-group-heading] {
|
2229
|
+
padding-top: 0.375rem;
|
2230
|
+
padding-bottom: 0.375rem;
|
2231
|
+
}
|
2232
|
+
|
2233
|
+
.\\[\\&_\\[rtgcmd-group-heading\\]\\]\\:text-xs [rtgcmd-group-heading] {
|
2234
|
+
font-size: 0.75rem;
|
2235
|
+
line-height: 1rem;
|
2236
|
+
}
|
2237
|
+
|
2238
|
+
.\\[\\&_\\[rtgcmd-group-heading\\]\\]\\:font-medium [rtgcmd-group-heading] {
|
2239
|
+
font-weight: 500;
|
2240
|
+
}
|
2241
|
+
|
2242
|
+
.\\[\\&_\\[rtgcmd-group-heading\\]\\]\\:text-muted-foreground [rtgcmd-group-heading] {
|
2243
|
+
color: hsl(var(--muted-foreground));
|
2244
|
+
}
|
2245
|
+
`;class He extends mt.AsyncDirective{constructor(){super(...arguments),this.prevData={}}render(e){return gt.nothing}update(e,[r]){var o;this.element!==e.element&&(this.element=e.element),this.host=((o=e.options)===null||o===void 0?void 0:o.host)||this.element,this.apply(r),this.groom(r),this.prevData={...r}}apply(e){if(!e)return;const{prevData:r,element:o}=this;for(const t in e){const i=e[t];i!==r[t]&&(o[t]=i)}}groom(e){const{prevData:r,element:o}=this;if(r)for(const t in r)(!e||!(t in e)&&o[t]===r[t])&&(o[t]=void 0)}}he.directive(He);class Xe extends He{constructor(){super(...arguments),this.eventData={}}apply(e){if(e)for(const r in e){const o=e[r];o!==this.eventData[r]&&this.applyEvent(r,o)}}applyEvent(e,r){const{prevData:o,element:t}=this;this.eventData[e]=r,o[e]&&t.removeEventListener(e,this,r),t.addEventListener(e,this,r)}groom(e){const{prevData:r,element:o}=this;if(r)for(const t in r)(!e||!(t in e)&&o[t]===r[t])&&this.groomEvent(t,r[t])}groomEvent(e,r){const{element:o}=this;delete this.eventData[e],o.removeEventListener(e,this,r)}handleEvent(e){const r=this.eventData[e.type];typeof r=="function"?r.call(this.host,e):r.handleEvent(e)}disconnected(){const{eventData:e,element:r}=this;for(const o in e){const t=o.slice(1),i=e[o];r.removeEventListener(t,this,i)}}reconnected(){const{eventData:e,element:r}=this;for(const o in e){const t=o.slice(1),i=e[o];r.addEventListener(t,this,i)}}}he.directive(Xe);class Jt extends Xe{apply(e){if(!e)return;const{prevData:r,element:o}=this;for(const t in e){const i=e[t];if(i===r[t])continue;const s=t.slice(1);switch(t[0]){case"@":this.eventData[s]=i,this.applyEvent(s,i);break;case".":o[s]=i;break;case"?":i?o.setAttribute(s,""):o.removeAttribute(s);break;default:i!=null?o.setAttribute(t,String(i)):o.removeAttribute(t);break}}}groom(e){const{prevData:r,element:o}=this;if(r)for(const t in r){const i=t.slice(1);if(!e||!(t in e)&&o[i]===r[t])switch(t[0]){case"@":this.groomEvent(i,r[t]);break;case".":o[i]=void 0;break;case"?":o.removeAttribute(i);break;default:o.removeAttribute(t);break}}}}const O=he.directive(Jt);var Zt=Object.defineProperty,Qt=Object.getOwnPropertyDescriptor,H=(n,e,r,o)=>{for(var t=o>1?void 0:o?Qt(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Zt(e,r,t),t};a.Button=class extends C{constructor(){super(...arguments),this.click=()=>{},this.disabled=!1,this.type="button",this.variant="default",this.size="default"}handleClick(e){this.disabled||this.click()}getAttributesToExclude(){return["click","disabled","type","variant","size","data-testid"]}render(){const e=this.getFilteredAttributes();return l.html`
|
2246
|
+
<button
|
2247
|
+
type="${this.type}"
|
2248
|
+
?disabled="${this.disabled}"
|
2249
|
+
class="${h(a.Button.buttonVariants({variant:this.variant,size:this.size,className:this.className}))}"
|
2250
|
+
@click="${this.handleClick}"
|
2251
|
+
${O(e)}
|
2252
|
+
>
|
2253
|
+
<slot></slot>
|
2254
|
+
</button>
|
2255
|
+
`}},a.Button.buttonVariants=Kt,a.Button.styles=[l.css``,p],H([d.property({type:Function})],a.Button.prototype,"click",2),H([d.property({type:Boolean})],a.Button.prototype,"disabled",2),H([d.property({type:String})],a.Button.prototype,"type",2),H([d.property({type:String})],a.Button.prototype,"variant",2),H([d.property({type:String})],a.Button.prototype,"size",2),a.Button=H([d.customElement("rtg-button")],a.Button);const er="peer h-4 w-4 align-middle shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",tr="flex items-center justify-center text-current pointer-events-none";var rr=Object.defineProperty,or=Object.getOwnPropertyDescriptor,X=(n,e,r,o)=>{for(var t=o>1?void 0:o?or(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&rr(e,r,t),t};a.Checkbox=class extends l.LitElement{constructor(){super(...arguments),this.disabled=!1,this.checked=!1,this.type="text",this.value="",this.required=!1}_onClick(e){e.defaultPrevented||(this.checked=!this.checked,this.required=!this.required,this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}click(){this.checked=!this.checked,this.required=!this.required}render(){const e={...this.dataset};return l.html`
|
2256
|
+
<button
|
2257
|
+
data-testid="checkbox-atom"
|
2258
|
+
type="button"
|
2259
|
+
role="checkbox"
|
2260
|
+
aria-checked="${this.checked||this.value==="on"}"
|
2261
|
+
data-state="${this.checked||this.value==="on"?"checked":"unchecked"}"
|
2262
|
+
value="${this.value}"
|
2263
|
+
?required=${this.required}
|
2264
|
+
?disabled=${this.disabled}
|
2265
|
+
@click="${this._onClick}"
|
2266
|
+
class="${h(er,this.className)}"
|
2267
|
+
${Object.entries(e).map(([r,o])=>l.html` ${r}="${o}" `)}
|
2268
|
+
>
|
2269
|
+
${this.checked||this.value==="on"?l.html`<span data-state="checked" class="${tr}"
|
2270
|
+
><svg
|
2271
|
+
xmlns="http://www.w3.org/2000/svg"
|
2272
|
+
width="24"
|
2273
|
+
height="24"
|
2274
|
+
viewBox="0 0 24 24"
|
2275
|
+
fill="none"
|
2276
|
+
stroke="currentColor"
|
2277
|
+
stroke-width="3"
|
2278
|
+
stroke-linecap="round"
|
2279
|
+
stroke-linejoin="round"
|
2280
|
+
class="h-4 w-4"
|
2281
|
+
>
|
2282
|
+
<polyline points="20 6 9 17 4 12"></polyline></svg
|
2283
|
+
></span>`:l.nothing}
|
2284
|
+
</button>
|
2285
|
+
`}},a.Checkbox.styles=[l.css``,p],X([d.property({type:Boolean})],a.Checkbox.prototype,"disabled",2),X([d.property({type:Boolean})],a.Checkbox.prototype,"checked",2),X([d.property({type:String})],a.Checkbox.prototype,"type",2),X([d.property({type:String})],a.Checkbox.prototype,"value",2),X([d.property({type:Boolean})],a.Checkbox.prototype,"required",2),a.Checkbox=X([d.customElement("rtg-checkbox")],a.Checkbox);var nr=Object.defineProperty,ir=Object.getOwnPropertyDescriptor,Ye=(n,e,r,o)=>{for(var t=o>1?void 0:o?ir(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&nr(e,r,t),t};const sr="open",We="closed";a.DialogContent=class extends l.LitElement{constructor(){super(...arguments),this.state=We,this.handleCloseButtonClick=()=>{const e=this._dialog;e&&(e.dataset.state=We)}}get _dialog(){let e=this.parentElement;for(;e;){if(e instanceof a.Dialog)return e;e=e.parentElement}return e}render(){return l.html`${this.state===sr?l.html`
|
2286
|
+
<div
|
2287
|
+
class="${h("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",this.className)}"
|
2288
|
+
rtgdlg-content
|
2289
|
+
>
|
2290
|
+
<slot></slot>
|
2291
|
+
<button
|
2292
|
+
type="button"
|
2293
|
+
@click="${this.handleCloseButtonClick}"
|
2294
|
+
class="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"
|
2295
|
+
>
|
2296
|
+
<svg
|
2297
|
+
xmlns="http://www.w3.org/2000/svg"
|
2298
|
+
width="24"
|
2299
|
+
height="24"
|
2300
|
+
viewBox="0 0 24 24"
|
2301
|
+
fill="none"
|
2302
|
+
stroke="currentColor"
|
2303
|
+
stroke-width="2"
|
2304
|
+
stroke-linecap="round"
|
2305
|
+
stroke-linejoin="round"
|
2306
|
+
class="h-4 w-4"
|
2307
|
+
>
|
2308
|
+
<path d="M18 6 6 18"></path>
|
2309
|
+
<path d="m6 6 12 12"></path></svg
|
2310
|
+
><span class="sr-only">Close</span>
|
2311
|
+
</button>
|
2312
|
+
</div>
|
2313
|
+
`:l.nothing}`}},a.DialogContent.styles=[l.css``,p],Ye([d.property({attribute:"data-state",type:String})],a.DialogContent.prototype,"state",2),a.DialogContent=Ye([d.customElement("rtg-dialog-content")],a.DialogContent);var ar=Object.defineProperty,lr=Object.getOwnPropertyDescriptor,dr=(n,e,r,o)=>{for(var t=o>1?void 0:o?lr(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&ar(e,r,t),t};const cr="closed";a.DialogClose=class extends l.LitElement{get _dialog(){let e=this.parentElement;for(;e;){if(e instanceof a.Dialog)return e;e=e.parentElement}return e}firstUpdated(e){var t;super.firstUpdated(e);const r=(t=this.shadowRoot)==null?void 0:t.querySelector("slot"),o=r==null?void 0:r.assignedElements();o&&o.length>0&&o[0].addEventListener("click",()=>{const s=this._dialog;s&&(s.dataset.state=cr)})}render(){return l.html`
|
2314
|
+
<div>
|
2315
|
+
<slot></slot>
|
2316
|
+
</div>
|
2317
|
+
`}},a.DialogClose.styles=[l.css``,p],a.DialogClose=dr([d.customElement("rtg-dialog-close")],a.DialogClose);var pr=Object.defineProperty,ur=Object.getOwnPropertyDescriptor,hr=(n,e,r,o)=>{for(var t=o>1?void 0:o?ur(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&pr(e,r,t),t};a.DialogFooter=class extends l.LitElement{render(){return l.html`
|
2318
|
+
<div
|
2319
|
+
class="${h("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",this.className)}"
|
2320
|
+
>
|
2321
|
+
<slot></slot>
|
2322
|
+
</div>
|
2323
|
+
`}},a.DialogFooter.styles=[l.css``,p],a.DialogFooter=hr([d.customElement("rtg-dialog-footer")],a.DialogFooter);var gr=Object.defineProperty,mr=Object.getOwnPropertyDescriptor,be=(n,e,r,o)=>{for(var t=o>1?void 0:o?mr(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&gr(e,r,t),t};a.DialogHeader=class extends l.LitElement{constructor(){super(...arguments),this._title="",this.description=""}render(){return l.html`
|
2324
|
+
<div
|
2325
|
+
class="${h("flex flex-col space-y-1.5 text-center sm:text-left",this.className)}"
|
2326
|
+
>
|
2327
|
+
<h2
|
2328
|
+
class="${h("text-lg font-semibold leading-none tracking-tight",this.className)}"
|
2329
|
+
>
|
2330
|
+
${this._title}
|
2331
|
+
</h2>
|
2332
|
+
<p class="${h("text-sm text-muted-foreground",this.className)}">
|
2333
|
+
${this.description}
|
2334
|
+
</p>
|
2335
|
+
</div>
|
2336
|
+
`}},a.DialogHeader.styles=[l.css``,p],be([d.property({attribute:"title",type:String})],a.DialogHeader.prototype,"_title",2),be([d.property({type:String})],a.DialogHeader.prototype,"description",2),a.DialogHeader=be([d.customElement("rtg-dialog-header")],a.DialogHeader);var fr=Object.defineProperty,br=Object.getOwnPropertyDescriptor,vr=(n,e,r,o)=>{for(var t=o>1?void 0:o?br(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&fr(e,r,t),t};a.DialogOverlay=class extends l.LitElement{render(){return l.html`
|
2337
|
+
<div
|
2338
|
+
class="${h("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",this.className)}"
|
2339
|
+
></div>
|
2340
|
+
`}},a.DialogOverlay.styles=[l.css``,p],a.DialogOverlay=vr([d.customElement("rtg-dialog-overlay")],a.DialogOverlay);var wr=Object.defineProperty,yr=Object.getOwnPropertyDescriptor,Ke=(n,e,r,o)=>{for(var t=o>1?void 0:o?yr(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&wr(e,r,t),t};const xr="open",$r="closed";a.Dialog=class extends l.LitElement{constructor(){super(...arguments),this.state=$r}get _content(){var o;const e=(o=this.shadowRoot)==null?void 0:o.querySelector("slot"),r=e==null?void 0:e.assignedElements();if(r){for(let t=0;t<r.length;t++)if(r[t]instanceof a.DialogContent)return r[t]}return null}updated(e){super.updated(e);const r=this._content;r&&(r.dataset.state=this.state)}render(){return l.html`
|
2341
|
+
<div rtgdlg-root>
|
2342
|
+
${this.state===xr?l.html` <rtg-dialog-overlay></rtg-dialog-overlay>`:l.nothing}
|
2343
|
+
<slot></slot>
|
2344
|
+
</div>
|
2345
|
+
`}},a.Dialog.styles=[l.css``,p],Ke([d.property({attribute:"data-state",type:String})],a.Dialog.prototype,"state",2),a.Dialog=Ke([d.customElement("rtg-dialog")],a.Dialog);const _r="flex h-8 w-full rounded-sm border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:opacity-50 input-base";var Cr=Object.defineProperty,Or=Object.getOwnPropertyDescriptor,Y=(n,e,r,o)=>{for(var t=o>1?void 0:o?Or(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Cr(e,r,t),t};a.Input=class extends C{constructor(){super(),this.disabled=!1,this.type="text",this.placeholder="",this.defaultValue="",this.value="",this.attachShadow({mode:"open"}),this.value=this.value||this.defaultValue}firstUpdated(e){const r=["--input-border-radius","--input-padding"];this.applyCustomClass(r,"input","input-base"),this.type!=="file"&&this.defaultValue&&(this.value=this.defaultValue)}handleInputChange(e){const r=e.target;r.type==="file"?this.value=r.files?r.files[0].name:"":this.value=r.value}getAttributesToExclude(){return["disabled","type","placeholder","value","data-testid"]}render(){const e=this.getFilteredAttributes();return l.html`
|
2346
|
+
<input
|
2347
|
+
type="${this.type}"
|
2348
|
+
placeholder="${this.placeholder}"
|
2349
|
+
?disabled=${this.disabled}
|
2350
|
+
class="${h(_r,this.className)}"
|
2351
|
+
.value=${this.type!=="file"?this.value:""}
|
2352
|
+
@change="${this.handleInputChange}"
|
2353
|
+
${O(e)}
|
2354
|
+
/>
|
2355
|
+
`}},a.Input.styles=[l.css`
|
2356
|
+
:root {
|
2357
|
+
--input-border-radius: inherit;
|
2358
|
+
--input-padding: inherit;
|
2359
|
+
}
|
2360
|
+
.input-base {
|
2361
|
+
border-radius: var(--input-border-radius) !important;
|
2362
|
+
padding-top: var(--input-padding) !important;
|
2363
|
+
padding-bottom: var(--input-padding) !important;
|
2364
|
+
}
|
2365
|
+
`,p],Y([d.property({type:Boolean})],a.Input.prototype,"disabled",2),Y([d.property({type:String})],a.Input.prototype,"type",2),Y([d.property({type:String})],a.Input.prototype,"placeholder",2),Y([d.property({type:String})],a.Input.prototype,"defaultValue",2),Y([d.property({type:String})],a.Input.prototype,"value",2),a.Input=Y([d.customElement("rtg-input")],a.Input);const kr=U("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70");var Dr=Object.defineProperty,Pr=Object.getOwnPropertyDescriptor,Je=(n,e,r,o)=>{for(var t=o>1?void 0:o?Pr(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Dr(e,r,t),t};let W=class extends C{constructor(){super(...arguments),this.for=""}firstUpdated(n){const e=["--label-text-color,--label-padding"];this.applyCustomClass(e,"label","label-base")}_onClick(n){var r;if(n.defaultPrevented)return;const e=(r=this.shadowRoot)==null?void 0:r.getElementById(this.for);e&&e.click()}getAttributesToExclude(){return["for","data-testid"]}render(){const n=this.getFilteredAttributes();return l.html`
|
2366
|
+
<label
|
2367
|
+
for="${this.for}"
|
2368
|
+
@click="${this._onClick}"
|
2369
|
+
@keydown="${this._onClick}"
|
2370
|
+
class="${h(W.labelVariants({className:this.className}))}"
|
2371
|
+
${O(n)}
|
2372
|
+
>
|
2373
|
+
<slot></slot>
|
2374
|
+
</label>
|
2375
|
+
`}};W.labelVariants=kr,W.styles=[l.css`
|
2376
|
+
:root {
|
2377
|
+
--label-text-color: inherit;
|
2378
|
+
--label-padding: inherit;
|
2379
|
+
}
|
2380
|
+
.label-base {
|
2381
|
+
color: var(--label-text-color) !important;
|
2382
|
+
padding: var(--label-padding) !important;
|
2383
|
+
}
|
2384
|
+
`,p],Je([d.property({type:String})],W.prototype,"for",2),W=Je([d.customElement("rtg-label")],W);var Er=Object.defineProperty,Sr=Object.getOwnPropertyDescriptor,Ze=(n,e,r,o)=>{for(var t=o>1?void 0:o?Sr(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Er(e,r,t),t};let ie=class extends l.LitElement{render(){return l.html`
|
2385
|
+
<div
|
2386
|
+
class="${h("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground border shadow-md",this.className)}"
|
2387
|
+
id="rtgcmdr1"
|
2388
|
+
rtgcmd-root
|
2389
|
+
>
|
2390
|
+
<slot></slot>
|
2391
|
+
</div>
|
2392
|
+
`}};ie.styles=[l.css``,p],Ze([d.queryAssignedElements({selector:"input[rtgcmd-input]"})],ie.prototype,"_input",2),ie=Ze([d.customElement("rtg-command")],ie);var Mr=Object.defineProperty,zr=Object.getOwnPropertyDescriptor,ve=(n,e,r,o)=>{for(var t=o>1?void 0:o?zr(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Mr(e,r,t),t};let T=class extends l.LitElement{constructor(){super(...arguments),this._id="",this._hidden="true"}get identifier(){var e,r;if(this._id!=="")return this._id;const n=(r=(e=this.parentElement)==null?void 0:e.shadowRoot)==null?void 0:r.querySelector("div[rtgcmd-list]");return n?this._id=`${n.getAttribute("id")}e${T._counter++}`:this._id=`rtgcmdrxlxe${T._counter++}`,this._id}render(){return l.html`${this._hidden==="true"?l.nothing:l.html`
|
2393
|
+
<div
|
2394
|
+
class="${h("py-6 text-center text-sm",this.className)}"
|
2395
|
+
rtgcmd-empty
|
2396
|
+
role="presentation"
|
2397
|
+
id="${this.identifier}"
|
2398
|
+
>
|
2399
|
+
<slot></slot>
|
2400
|
+
</div>
|
2401
|
+
`}`}};T._counter=0,T.styles=[l.css``,p],ve([d.property({type:String})],T.prototype,"_id",2),ve([d.property({attribute:"aria-hidden",type:String})],T.prototype,"_hidden",2),T=ve([d.customElement("rtg-command-empty")],T);var Ar=Object.defineProperty,Ir=Object.getOwnPropertyDescriptor,se=(n,e,r,o)=>{for(var t=o>1?void 0:o?Ir(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Ar(e,r,t),t};let z=class extends l.LitElement{constructor(){super(...arguments),this.heading="",this._id="",this._hidden=""}get identifier(){var e,r;if(this._id!=="")return this._id;const n=(r=(e=this.parentElement)==null?void 0:e.shadowRoot)==null?void 0:r.querySelector("div[rtgcmd-list]");return n?this._id=`${n.getAttribute("id")}g${z._counter++}`:this._id=`rtgcmdrxlxg${z._counter++}`,this._id}render(){const n="overflow-hidden p-1 text-foreground [&_[rtgcmd-group-heading]]:px-2 [&_[rtgcmd-group-heading]]:py-1.5 [&_[rtgcmd-group-heading]]:text-xs [&_[rtgcmd-group-heading]]:font-medium [&_[rtgcmd-group-heading]]:text-muted-foreground";return l.html`${this._hidden==="true"?l.nothing:l.html`
|
2402
|
+
<div
|
2403
|
+
class="${n}"
|
2404
|
+
rtgcmd-group
|
2405
|
+
role="presentation"
|
2406
|
+
id="${this.identifier}"
|
2407
|
+
>
|
2408
|
+
<div
|
2409
|
+
rtgcmd-group-heading
|
2410
|
+
aria-hidden="true"
|
2411
|
+
id="${this.identifier}h"
|
2412
|
+
>
|
2413
|
+
${this.heading}
|
2414
|
+
</div>
|
2415
|
+
<div
|
2416
|
+
rtgcmd-group-items
|
2417
|
+
role="group"
|
2418
|
+
aria-labelledby="${this.identifier}h"
|
2419
|
+
>
|
2420
|
+
<slot></slot>
|
2421
|
+
</div>
|
2422
|
+
</div>
|
2423
|
+
`}`}};z._counter=0,z.styles=[l.css``,p],se([d.property({type:String})],z.prototype,"heading",2),se([d.property({attribute:"id",type:String})],z.prototype,"_id",2),se([d.property({attribute:"aria-hidden",type:String})],z.prototype,"_hidden",2),z=se([d.customElement("rtg-command-group")],z);var Lr=Object.defineProperty,Tr=Object.getOwnPropertyDescriptor,we=(n,e,r,o)=>{for(var t=o>1?void 0:o?Tr(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Lr(e,r,t),t};let ee=class extends l.LitElement{constructor(){super(...arguments),this.placeholder="Type a command or search...",this._value=""}get identifier(){var e,r;const n=(r=(e=this.parentElement)==null?void 0:e.shadowRoot)==null?void 0:r.querySelector("div[rtgcmd-root]");return n?`${n.getAttribute("id")}i`:"rtgcmdrxi"}filterItems(){const n=this.parentElement;if(n){let e=!0;const r=n.querySelectorAll("rtg-command-list > rtg-command-group");r&&r.forEach(t=>{var b,g;let i=!0;const s=t.querySelectorAll("rtg-command-item");s&&s.forEach(m=>{((m==null?void 0:m.value)||"").toLowerCase().includes(this._value.toLowerCase())?(i=!1,e=!1,m.setAttribute("aria-hidden","false")):m.setAttribute("aria-hidden","true")}),t.setAttribute("aria-hidden",i?"true":"false");let c=t.previousElementSibling;c&&c.setAttribute("aria-hidden",i||((b=c.previousElementSibling)==null?void 0:b.getAttribute("aria-hidden"))==="true"?"true":"false"),c=t.nextElementSibling,c&&c.setAttribute("aria-hidden",i||((g=c.nextElementSibling)==null?void 0:g.getAttribute("aria-hidden"))==="true"?"true":"false")});const o=n.querySelector("rtg-command-empty");o&&o.setAttribute("aria-hidden",e?"false":"true")}}handleChange(n){const e=n.target;e&&(this._value=e.value,this.filterItems())}render(){return l.html`
|
2424
|
+
<div
|
2425
|
+
class="${h("flex items-center border-b px-3",this.className)}"
|
2426
|
+
name="rtgcmd-input-container"
|
2427
|
+
>
|
2428
|
+
<svg
|
2429
|
+
xmlns="http://www.w3.org/2000/svg"
|
2430
|
+
width="24"
|
2431
|
+
height="24"
|
2432
|
+
viewBox="0 0 24 24"
|
2433
|
+
fill="none"
|
2434
|
+
stroke="currentColor"
|
2435
|
+
stroke-width="2"
|
2436
|
+
stroke-linecap="round"
|
2437
|
+
stroke-linejoin="round"
|
2438
|
+
class="mr-2 h-4 w-4 shrink-0 opacity-50"
|
2439
|
+
>
|
2440
|
+
<circle cx="11" cy="11" r="8"></circle>
|
2441
|
+
<path d="m21 21-4.3-4.3"></path>
|
2442
|
+
</svg>
|
2443
|
+
<input
|
2444
|
+
class="flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50"
|
2445
|
+
placeholder="${this.placeholder}"
|
2446
|
+
rtgcmd-input
|
2447
|
+
@input="${this.handleChange}"
|
2448
|
+
autocomplete="off"
|
2449
|
+
autocorrect="off"
|
2450
|
+
spellcheck="false"
|
2451
|
+
aria-autocomplete="list"
|
2452
|
+
role="combobox"
|
2453
|
+
aria-expanded="true"
|
2454
|
+
aria-controls=":r1oe:"
|
2455
|
+
aria-labelledby=":r1of:"
|
2456
|
+
id="${this.identifier}"
|
2457
|
+
type="text"
|
2458
|
+
data-value="${this._value}"
|
2459
|
+
/>
|
2460
|
+
</div>
|
2461
|
+
`}};ee.styles=[l.css``,p],we([d.property({type:String})],ee.prototype,"placeholder",2),we([d.property({attribute:"value",type:String})],ee.prototype,"_value",2),ee=we([d.customElement("rtg-command-input")],ee);var Br=Object.defineProperty,Rr=Object.getOwnPropertyDescriptor,te=(n,e,r,o)=>{for(var t=o>1?void 0:o?Rr(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Br(e,r,t),t};let E=class extends l.LitElement{constructor(){super(...arguments),this._id="",this._hidden="",this.selected=!1}get identifier(){var e,r;if(this._id!=="")return this._id;const n=(r=(e=this.parentElement)==null?void 0:e.shadowRoot)==null?void 0:r.querySelector("div[rtgcmd-group]");return n?this._id=`${n.getAttribute("id")}li${E._counter++}`:this._id=`rtgcmdrxgxli${E._counter++}`,this._id}get value(){var n;return((n=this.textContent)==null?void 0:n.trim())||""}handleMouseEvent(n){(n.type==="mouseover"||n.type==="focus")&&(this.selected=!0),n.type==="mouseleave"&&(this.selected=!1)}render(){return l.html` ${this._hidden==="true"?l.nothing:l.html`
|
2462
|
+
<div
|
2463
|
+
class="${h("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",this.className)}"
|
2464
|
+
@mouseover="${this.handleMouseEvent}"
|
2465
|
+
@mouseleave="${this.handleMouseEvent}"
|
2466
|
+
@focus="${this.handleMouseEvent}"
|
2467
|
+
rtgcmd-item
|
2468
|
+
role="option"
|
2469
|
+
aria-selected="${this.selected}"
|
2470
|
+
data-selected="${this.selected}"
|
2471
|
+
data-value="${this.value}"
|
2472
|
+
id="${this.identifier}"
|
2473
|
+
aria-hidden="${this.hidden}"
|
2474
|
+
>
|
2475
|
+
<slot></slot>
|
2476
|
+
</div>
|
2477
|
+
`}`}};E._counter=0,E.styles=[l.css``,p],te([d.property({type:String})],E.prototype,"_id",2),te([d.property({attribute:"aria-hidden",type:String})],E.prototype,"_hidden",2),te([d.property({attribute:"data-value",type:String})],E.prototype,"value",1),te([d.property({type:Boolean})],E.prototype,"selected",2),E=te([d.customElement("rtg-command-item")],E);var Nr=Object.defineProperty,qr=Object.getOwnPropertyDescriptor,Fr=(n,e,r,o)=>{for(var t=o>1?void 0:o?qr(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Nr(e,r,t),t};let ye=class extends l.LitElement{get identifier(){var e,r;const n=(r=(e=this.parentElement)==null?void 0:e.shadowRoot)==null?void 0:r.querySelector("div[rtgcmd-root]");return n?`${n.getAttribute("id")}l`:"rtgcmdrxl"}render(){return l.html`
|
2478
|
+
<div
|
2479
|
+
class="${h("max-h-[300px] overflow-y-auto overflow-x-hidden",this.className)}"
|
2480
|
+
role="listbox"
|
2481
|
+
id="${this.identifier}"
|
2482
|
+
style="--rtgcmd-list-height: 265.0px;"
|
2483
|
+
rtgcmd-list
|
2484
|
+
>
|
2485
|
+
<div>
|
2486
|
+
<slot></slot>
|
2487
|
+
</div>
|
2488
|
+
</div>
|
2489
|
+
`}};ye.styles=[l.css``,p],ye=Fr([d.customElement("rtg-command-list")],ye);var jr=Object.defineProperty,Gr=Object.getOwnPropertyDescriptor,xe=(n,e,r,o)=>{for(var t=o>1?void 0:o?Gr(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&jr(e,r,t),t};let B=class extends l.LitElement{constructor(){super(...arguments),this._id="",this._hidden=""}get identifier(){var e,r;if(this._id!=="")return this._id;const n=(r=(e=this.parentElement)==null?void 0:e.shadowRoot)==null?void 0:r.querySelector("div[rtgcmd-list]");return n?this._id=`${n.getAttribute("id")}s${B._counter++}`:this._id=`rtgcmdrxlxs${B._counter++}`,this._id}render(){return l.html`${this._hidden==="true"?l.nothing:l.html`
|
2490
|
+
<div
|
2491
|
+
class="${h("-mx-1 h-px bg-border",this.className)}"
|
2492
|
+
rtgcmd-separator
|
2493
|
+
role="separator"
|
2494
|
+
id="${this.identifier}"
|
2495
|
+
></div>
|
2496
|
+
`}`}};B._counter=0,B.styles=[l.css``,p],xe([d.property({type:String})],B.prototype,"_id",2),xe([d.property({attribute:"aria-hidden",type:String})],B.prototype,"_hidden",2),B=xe([d.customElement("rtg-command-separator")],B);var Vr=Object.defineProperty,Ur=Object.getOwnPropertyDescriptor,Hr=(n,e,r,o)=>{for(var t=o>1?void 0:o?Ur(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Vr(e,r,t),t};a.CardTitle=class extends l.LitElement{render(){return l.html`
|
2497
|
+
<slot></slot>
|
2498
|
+
`}},a.CardTitle.styles=[l.css``,p],a.CardTitle=Hr([d.customElement("rtg-card-title")],a.CardTitle);var Xr=Object.defineProperty,Yr=Object.getOwnPropertyDescriptor,Wr=(n,e,r,o)=>{for(var t=o>1?void 0:o?Yr(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Xr(e,r,t),t};a.CardHeader=class extends l.LitElement{render(){return l.html`
|
2499
|
+
<slot></slot>
|
2500
|
+
`}},a.CardHeader.styles=[l.css``,p],a.CardHeader=Wr([d.customElement("rtg-card-header")],a.CardHeader);var Kr=Object.defineProperty,Jr=Object.getOwnPropertyDescriptor,Zr=(n,e,r,o)=>{for(var t=o>1?void 0:o?Jr(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Kr(e,r,t),t};a.CardFooter=class extends l.LitElement{render(){return l.html`
|
2501
|
+
<slot></slot>
|
2502
|
+
`}},a.CardFooter.styles=[l.css``,p],a.CardFooter=Zr([d.customElement("rtg-card-footer")],a.CardFooter);var Qr=Object.defineProperty,eo=Object.getOwnPropertyDescriptor,to=(n,e,r,o)=>{for(var t=o>1?void 0:o?eo(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Qr(e,r,t),t};a.CardDescription=class extends l.LitElement{render(){return l.html`
|
2503
|
+
<slot></slot>
|
2504
|
+
`}},a.CardDescription.styles=[l.css``,p],a.CardDescription=to([d.customElement("rtg-card-description")],a.CardDescription);var ro=Object.defineProperty,oo=Object.getOwnPropertyDescriptor,no=(n,e,r,o)=>{for(var t=o>1?void 0:o?oo(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&ro(e,r,t),t};a.CardContent=class extends l.LitElement{render(){return l.html`
|
2505
|
+
<slot></slot>
|
2506
|
+
`}},a.CardContent.styles=[l.css``,p],a.CardContent=no([d.customElement("rtg-card-content")],a.CardContent);var io=Object.defineProperty,so=Object.getOwnPropertyDescriptor,ao=(n,e,r,o)=>{for(var t=o>1?void 0:o?so(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&io(e,r,t),t};a.Card=class extends l.LitElement{render(){return l.html`<div
|
2507
|
+
class="rounded-lg border bg-card text-card-foreground shadow-sm p-6"
|
2508
|
+
id="rtg-card-id"
|
2509
|
+
>
|
2510
|
+
<slot></slot>
|
2511
|
+
</div>`}},a.Card.styles=[l.css``,p],a.Card=ao([d.customElement("rtg-card")],a.Card);const lo=U("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none transition-transform transition-opacity",{variants:{state:{open:"opacity-100 scale-100 duration-500",closed:"opacity-0 scale-95 duration-500"},side:{bottom:"translate-y-0",left:"translate-x-0",right:"translate-x-0",top:"translate-y-0"}},defaultVariants:{state:"closed",side:"bottom"}});var co=Object.defineProperty,po=Object.getOwnPropertyDescriptor,Qe=(n,e,r,o)=>{for(var t=o>1?void 0:o?po(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&co(e,r,t),t};a.PopoverContent=class extends l.LitElement{constructor(){super(...arguments),this.side="bottom"}get _popover(){let e=this.parentElement;for(;e&&!(e instanceof a.Popover);)e=e.parentElement;return e}handleClickOutside(e){var o,t;const r=(o=this.shadowRoot)==null?void 0:o.querySelector("slot");if(r){const i=r.assignedElements({flatten:!0});if(console.log(i[0]),!((t=i[0])!=null&&t.contains(e.target))){const s=this._popover;s.isOpen=!1}}}firstUpdated(e){window.addEventListener("click",this.handleClickOutside.bind(this))}updated(e){var r;(r=this._popover)!=null&&r.isOpen||window.removeEventListener("click",this.handleClickOutside.bind(this))}render(){const e=lo({state:"open",side:this.side});return l.html`
|
2512
|
+
<div class="${h(e)}">
|
2513
|
+
<slot></slot>
|
2514
|
+
</div>
|
2515
|
+
`}},a.PopoverContent.styles=[l.css``,p],Qe([d.property({type:String})],a.PopoverContent.prototype,"side",2),a.PopoverContent=Qe([d.customElement("rtg-popover-content")],a.PopoverContent);var uo=Object.defineProperty,ho=Object.getOwnPropertyDescriptor,go=(n,e,r,o)=>{for(var t=o>1?void 0:o?ho(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&uo(e,r,t),t};a.PopoverTrigger=class extends l.LitElement{constructor(){super(...arguments),this.handleClick=()=>{const e=this._popover;e&&(e.isOpen=!e.isOpen)}}firstUpdated(e){var t,i;super.firstUpdated(e);const r=(t=this.shadowRoot)==null?void 0:t.querySelector('slot[name="trigger-button"]'),o=r==null?void 0:r.assignedElements({flatten:!0});o&&o.length>0&&(o[0].click=this.handleClick),(i=this.shadowRoot)==null||i.addEventListener("click",s=>{s.stopPropagation()})}get _popover(){let e=this.parentElement;for(;e&&!(e instanceof a.Popover);)e=e.parentElement;return e}render(){return l.html`
|
2516
|
+
<div style="width: fit-content;">
|
2517
|
+
<slot name="trigger-button"></slot>
|
2518
|
+
</div>
|
2519
|
+
`}},a.PopoverTrigger.styles=[l.css``,p],a.PopoverTrigger=go([d.customElement("rtg-popover-trigger")],a.PopoverTrigger);var mo=Object.defineProperty,fo=Object.getOwnPropertyDescriptor,et=(n,e,r,o)=>{for(var t=o>1?void 0:o?fo(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&mo(e,r,t),t};a.Popover=class extends l.LitElement{constructor(){super(...arguments),this.isOpen=!1}firstUpdated(e){super.firstUpdated(e)}updated(e){super.updated(e)}render(){return l.html`
|
2520
|
+
<div>
|
2521
|
+
<slot
|
2522
|
+
name="trigger"
|
2523
|
+
@click="${()=>this.isOpen=!this.isOpen}"
|
2524
|
+
></slot>
|
2525
|
+
<div data-testid="popover-content-holder" ?hidden="${!this.isOpen}">
|
2526
|
+
<slot name="content"></slot>
|
2527
|
+
</div>
|
2528
|
+
</div>
|
2529
|
+
`}},a.Popover.styles=[l.css``,p],et([d.state()],a.Popover.prototype,"isOpen",2),a.Popover=et([d.customElement("rtg-popover")],a.Popover);const tt=U("p-4 rounded-sm text-sm font-medium",{variants:{variant:{success:"bg-green-100 text-green-800 border-green-200",error:"bg-red-100 text-red-800 border-red-200",warning:"bg-yellow-100 text-yellow-800 border-yellow-200",info:"bg-blue-100 text-blue-800 border-blue-200"},size:{small:"text-sm",default:"text-base",large:"text-xl"}},defaultVariants:{variant:"info",size:"default"}});var bo=Object.defineProperty,vo=Object.getOwnPropertyDescriptor,wo=(n,e,r,o)=>{for(var t=o>1?void 0:o?vo(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&bo(e,r,t),t};a.AlertTitle=class extends l.LitElement{render(){return l.html`<slot></slot>`}},a.AlertTitle.styles=l.css`
|
2530
|
+
:host {
|
2531
|
+
display: block;
|
2532
|
+
font-weight: bold;
|
2533
|
+
margin-bottom: 0.5rem;
|
2534
|
+
}
|
2535
|
+
`,a.AlertTitle=wo([d.customElement("rtg-alert-title")],a.AlertTitle);var yo=Object.defineProperty,xo=Object.getOwnPropertyDescriptor,$o=(n,e,r,o)=>{for(var t=o>1?void 0:o?xo(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&yo(e,r,t),t};a.AlertDescription=class extends l.LitElement{render(){return l.html`<slot></slot>`}},a.AlertDescription.styles=l.css`
|
2536
|
+
:host {
|
2537
|
+
display: block;
|
2538
|
+
}
|
2539
|
+
`,a.AlertDescription=$o([d.customElement("rtg-alert-description")],a.AlertDescription);var _o=Object.defineProperty,Co=Object.getOwnPropertyDescriptor,$e=(n,e,r,o)=>{for(var t=o>1?void 0:o?Co(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&_o(e,r,t),t};a.Alert=class extends l.LitElement{constructor(){super(...arguments),this.variant="info",this.size="default"}get alertClasses(){return tt({variant:this.variant,size:this.size})}render(){return l.html`
|
2540
|
+
<div class="alert ${this.alertClasses}">
|
2541
|
+
<slot name="title"></slot>
|
2542
|
+
<slot name="description"></slot>
|
2543
|
+
</div>
|
2544
|
+
`}},a.Alert.styles=[l.css`
|
2545
|
+
:host {
|
2546
|
+
display: block;
|
2547
|
+
margin-bottom: 1rem;
|
2548
|
+
}
|
2549
|
+
.alert {
|
2550
|
+
border: 1px solid transparent;
|
2551
|
+
border-radius: 0.375rem;
|
2552
|
+
}
|
2553
|
+
.title {
|
2554
|
+
font-weight: bold;
|
2555
|
+
margin-bottom: 0.5rem;
|
2556
|
+
}
|
2557
|
+
`,p],a.Alert.alertVairants=tt,$e([d.property({type:String})],a.Alert.prototype,"variant",2),$e([d.property({type:String})],a.Alert.prototype,"size",2),a.Alert=$e([d.customElement("rtg-alert")],a.Alert);const Oo=U("inline-flex items-center border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 border-transparent rounded-full",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});var ko=Object.defineProperty,Do=Object.getOwnPropertyDescriptor,rt=(n,e,r,o)=>{for(var t=o>1?void 0:o?Do(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&ko(e,r,t),t};a.Badge=class extends C{constructor(){super(...arguments),this.variant="default"}getAttributesToExclude(){return["variant"]}render(){const e=this.getFilteredAttributes();return l.html`
|
2558
|
+
<div
|
2559
|
+
id="rtg-badge-id"
|
2560
|
+
class="
|
2561
|
+
${h(a.Badge.badgeVariants({variant:this.variant,className:this.className}))}"
|
2562
|
+
${O(e)}
|
2563
|
+
>
|
2564
|
+
<slot></slot>
|
2565
|
+
</div>
|
2566
|
+
`}},a.Badge.badgeVariants=Oo,a.Badge.styles=[l.css``,p],rt([d.property({type:String})],a.Badge.prototype,"variant",2),a.Badge=rt([d.customElement("rtg-badge")],a.Badge);function Po(){return l.svg` <svg
|
2567
|
+
class="shrink-0 size-3.5 text-gray-500 dark:text-neutral-500"
|
2568
|
+
xmlns="http://www.w3.org/2000/svg"
|
2569
|
+
width="24"
|
2570
|
+
height="24"
|
2571
|
+
viewBox="0 0 24 24"
|
2572
|
+
fill="none"
|
2573
|
+
stroke="currentColor"
|
2574
|
+
stroke-width="2"
|
2575
|
+
stroke-linecap="round"
|
2576
|
+
stroke-linejoin="round"
|
2577
|
+
>
|
2578
|
+
<path d="m7 15 5 5 5-5"></path>
|
2579
|
+
<path d="m7 9 5-5 5 5"></path>
|
2580
|
+
</svg>
|
2581
|
+
`}function Eo(){return l.svg`
|
2582
|
+
<svg
|
2583
|
+
class="shrink-0 size-3.5 text-blue-600 dark:text-blue-500"
|
2584
|
+
xmlns="http://www.w3.org/2000/svg"
|
2585
|
+
width="24"
|
2586
|
+
height="24"
|
2587
|
+
viewBox="0 0 24 24"
|
2588
|
+
fill="none"
|
2589
|
+
stroke="currentColor"
|
2590
|
+
stroke-width="2"
|
2591
|
+
stroke-linecap="round"
|
2592
|
+
stroke-linejoin="round"
|
2593
|
+
>
|
2594
|
+
<path d="M20 6 9 17l-5-5"></path>
|
2595
|
+
</svg>
|
2596
|
+
`}function So(){return l.svg` <svg
|
2597
|
+
xmlns="http://www.w3.org/2000/svg"
|
2598
|
+
width = "24"
|
2599
|
+
height = "24"
|
2600
|
+
viewBox = "0 0 24 24"
|
2601
|
+
fill = "none"
|
2602
|
+
stroke = "currentColor"
|
2603
|
+
stroke-width="2"
|
2604
|
+
stroke-linecap="round"
|
2605
|
+
stroke-linejoin="round"
|
2606
|
+
class="lucide lucide-search h-4 w-4 shrink-0 opacity-50" >
|
2607
|
+
<circle cx="11" cy = "11" r = "8" > </circle>
|
2608
|
+
<path d="m21 21-4.3-4.3"></path >
|
2609
|
+
</svg>
|
2610
|
+
`}var Mo=Object.defineProperty,zo=Object.getOwnPropertyDescriptor,ae=(n,e,r,o)=>{for(var t=o>1?void 0:o?zo(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Mo(e,r,t),t};let K=class extends l.LitElement{constructor(){super(...arguments),this.value="",this.handleClick=()=>{},this.handleKeyDown=()=>{}}render(){return l.html`
|
2611
|
+
<input
|
2612
|
+
class="inline-flex justify-between items-center w-full h-10 px-4 py-2 whitespace-nowrap rounded-md
|
2613
|
+
text-sm font-medium border border-input cursor-pointer
|
2614
|
+
ring-offset-background
|
2615
|
+
transition-colors disabled:pointer-events-none
|
2616
|
+
disabled:opacity-50
|
2617
|
+
bg-background hover:bg-accent
|
2618
|
+
hover:text-accent-foreground
|
2619
|
+
outline-none"
|
2620
|
+
role="combobox"
|
2621
|
+
aria-expanded="false"
|
2622
|
+
readonly="true"
|
2623
|
+
.value=${this.value}
|
2624
|
+
@click=${this.handleClick}
|
2625
|
+
@keydown=${this.handleKeyDown}
|
2626
|
+
/>
|
2627
|
+
`}};K.styles=[l.css``,p],ae([d.property({type:String})],K.prototype,"value",2),ae([d.property({type:Function})],K.prototype,"handleClick",2),ae([d.property({type:Function})],K.prototype,"handleKeyDown",2),K=ae([d.customElement("combo-box-input")],K);var Ao=Object.defineProperty,Io=Object.getOwnPropertyDescriptor,R=(n,e,r,o)=>{for(var t=o>1?void 0:o?Io(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Ao(e,r,t),t};let S=class extends l.LitElement{constructor(){super(...arguments),this.key="",this.searchText="",this.value="",this.tabindex=0,this.isSelected=!1,this.class="",this.onSelect=()=>{}}render(){return console.log("this",this.class),l.html`
|
2628
|
+
<div
|
2629
|
+
key="${this.key}"
|
2630
|
+
class="flex items-center cursor-pointer py-2 px-4 w-full text-sm text-gray-800
|
2631
|
+
rounded-lg
|
2632
|
+
hover:bg-gray-100
|
2633
|
+
focus:outline-none
|
2634
|
+
focus:bg-gray-100
|
2635
|
+
dark:bg-neutral-900
|
2636
|
+
dark:hover:bg-neutral-800
|
2637
|
+
dark:text-neutral-200
|
2638
|
+
dark:focus:bg-neutral-800
|
2639
|
+
${this.class}
|
2640
|
+
"
|
2641
|
+
tabindex="${this.tabindex}"
|
2642
|
+
aria-selected="${this.isSelected}"
|
2643
|
+
data-selected="${this.isSelected}"
|
2644
|
+
data-hs-combo-box-output-item=""
|
2645
|
+
role="option"
|
2646
|
+
@click="${this.onSelect}"
|
2647
|
+
>
|
2648
|
+
<span
|
2649
|
+
class="${this.isSelected?"visible":"invisible"} hs-combo-box-selected:block mr-2"
|
2650
|
+
>
|
2651
|
+
${Eo()}
|
2652
|
+
</span>
|
2653
|
+
<div class="flex justify-between items-center w-full">
|
2654
|
+
<span
|
2655
|
+
data-hs-combo-box-search-text="${this.searchText}"
|
2656
|
+
data-hs-combo-box-value="${this.value}"
|
2657
|
+
>
|
2658
|
+
${this.searchText}
|
2659
|
+
</span>
|
2660
|
+
</div>
|
2661
|
+
</div>
|
2662
|
+
`}};S.styles=[l.css``,p],R([d.property({type:String})],S.prototype,"key",2),R([d.property({type:String})],S.prototype,"searchText",2),R([d.property({type:String})],S.prototype,"value",2),R([d.property({type:Number})],S.prototype,"tabindex",2),R([d.property({type:Boolean})],S.prototype,"isSelected",2),R([d.property({type:String})],S.prototype,"class",2),R([d.property({type:Function})],S.prototype,"onSelect",2),S=R([d.customElement("combo-box-item")],S);var Lo=Object.defineProperty,To=Object.getOwnPropertyDescriptor,N=(n,e,r,o)=>{for(var t=o>1?void 0:o?To(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Lo(e,r,t),t};a.ComboBox=class extends l.LitElement{constructor(){super(...arguments),this.isOpen=!1,this.selectedValue="",this.searchTerm="",this.focusedIndex=-1,this.filteredItems=[],this.label="Select an item",this.items=[]}firstUpdated(e){this.items&&this.items.length>0&&(this.filteredItems=this.items.filter(r=>r.toLowerCase().includes(this.searchTerm)))}toggleDropdown(){this.isOpen=!this.isOpen,this.focusedIndex=-1}selectItem(e){const r=e.target;if(r instanceof HTMLElement){const o=r.closest("combo-box-item");o?(this.selectedValue=o.getAttribute("data-hs-combo-box-value")||"",this.isOpen=!1):console.log("No valid combo-box-item found")}else console.log("Event target is not an HTMLElement")}handleInputClick(){this.toggleDropdown()}handleSearch(e){const r=e.target;this.searchTerm=r.value,this.filteredItems=this.items.filter(o=>(console.log("item",o.toLowerCase()),o.toLowerCase().includes(this.searchTerm.toLowerCase())))}handleKeyDown(e){const r=this.filteredItems.length;switch(e.key){case"ArrowDown":e.preventDefault(),this.focusedIndex=(this.focusedIndex+1)%r;break;case"ArrowUp":e.preventDefault(),this.focusedIndex=(this.focusedIndex-1+r)%r;break;case"Enter":this.focusedIndex>=0&&this.focusedIndex<r&&(this.selectedValue=this.filteredItems[this.focusedIndex],this.isOpen=!1);break}}handleMouseOver(e,r){e.preventDefault(),this.focusedIndex=r}updateFocus(){if(!this.shadowRoot)return;this.shadowRoot.querySelectorAll("combo-box-item").forEach((r,o)=>{o===this.focusedIndex?r.classList.add("bg-gray-100"):r.classList.remove("bg-gray-100")})}render(){return l.html`
|
2663
|
+
<div class="relative" data-hs-combo-box="">
|
2664
|
+
<div class="relative">
|
2665
|
+
<input
|
2666
|
+
class="inline-flex justify-between items-center w-full h-10 px-4 py-2 whitespace-nowrap rounded-md
|
2667
|
+
text-sm font-medium border border-input cursor-pointer
|
2668
|
+
ring-offset-background
|
2669
|
+
transition-colors disabled:pointer-events-none
|
2670
|
+
disabled:opacity-50
|
2671
|
+
bg-background hover:bg-accent
|
2672
|
+
hover:text-accent-foreground
|
2673
|
+
outline-none"
|
2674
|
+
role="combobox"
|
2675
|
+
aria-expanded=${this.isOpen}
|
2676
|
+
readonly
|
2677
|
+
.value=${this.selectedValue||this.label}
|
2678
|
+
@click="${this.handleInputClick}"
|
2679
|
+
@keydown="${this.handleKeyDown}"
|
2680
|
+
/>
|
2681
|
+
<div
|
2682
|
+
class="absolute top-1/2 end-3 -translate-y-1/2 cursor-pointer"
|
2683
|
+
aria-expanded=${this.isOpen}
|
2684
|
+
data-hs-combo-box-toggle=""
|
2685
|
+
@click="${this.toggleDropdown}"
|
2686
|
+
>
|
2687
|
+
${Po()}
|
2688
|
+
</div>
|
2689
|
+
</div>
|
2690
|
+
<div
|
2691
|
+
class="absolute z-50 w-full max-h-72 p-1 bg-white border border-gray-200 rounded-lg overflow-hidden overflow-y-auto [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500 dark:bg-neutral-900 dark:border-neutral-700"
|
2692
|
+
style="display: ${this.isOpen?"block":"none"}; top:115%"
|
2693
|
+
data-hs-combo-box-output=""
|
2694
|
+
@keydown="${this.handleKeyDown}"
|
2695
|
+
>
|
2696
|
+
<div
|
2697
|
+
class="flex items-center justify-center px-3 border-b border-gray-300 mb-1"
|
2698
|
+
>
|
2699
|
+
${So()}
|
2700
|
+
<input
|
2701
|
+
type="text"
|
2702
|
+
class="w-full px-2 py-2 rounded focus:outline-none"
|
2703
|
+
placeholder="Search..."
|
2704
|
+
autocomplete="off"
|
2705
|
+
autocorrect="off"
|
2706
|
+
spellcheck="false"
|
2707
|
+
aria-autocomplete="list"
|
2708
|
+
role="combobox"
|
2709
|
+
@input="${this.handleSearch}"
|
2710
|
+
@keydown="${this.handleKeyDown}"
|
2711
|
+
/>
|
2712
|
+
</div>
|
2713
|
+
${this.filteredItems.length===0?l.html`
|
2714
|
+
<div
|
2715
|
+
class="py-6 text-center text-sm"
|
2716
|
+
cmdk-empty=""
|
2717
|
+
role="presentation"
|
2718
|
+
>
|
2719
|
+
No item found.
|
2720
|
+
</div>
|
2721
|
+
`:l.html`
|
2722
|
+
${this.filteredItems.map((e,r)=>l.html`
|
2723
|
+
<combo-box-item
|
2724
|
+
.searchText=${e}
|
2725
|
+
.value=${e}
|
2726
|
+
data-hs-combo-box-value=${e}
|
2727
|
+
tabIndex=${r}
|
2728
|
+
@click="${o=>this.selectItem(o)}"
|
2729
|
+
@mouseover="${o=>this.handleMouseOver(o,r)}"
|
2730
|
+
?isSelected=${e===this.selectedValue}
|
2731
|
+
></combo-box-item>
|
2732
|
+
`)}
|
2733
|
+
`}
|
2734
|
+
</div>
|
2735
|
+
</div>
|
2736
|
+
`}},a.ComboBox.styles=[l.css``,p],N([d.state()],a.ComboBox.prototype,"isOpen",2),N([d.state()],a.ComboBox.prototype,"selectedValue",2),N([d.state()],a.ComboBox.prototype,"searchTerm",2),N([d.state()],a.ComboBox.prototype,"focusedIndex",2),N([d.state()],a.ComboBox.prototype,"filteredItems",2),N([d.property({type:String})],a.ComboBox.prototype,"label",2),N([d.property({type:Array})],a.ComboBox.prototype,"items",2),a.ComboBox=N([d.customElement("rtg-combo-box")],a.ComboBox);const Bo="closed";var Ro=Object.defineProperty,No=Object.getOwnPropertyDescriptor,_e=(n,e,r,o)=>{for(var t=o>1?void 0:o?No(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Ro(e,r,t),t};a.DropdownMenuContent=class extends l.LitElement{constructor(){super(...arguments),this.state=Bo,this.isOpen=!1}get _dropdownMenu(){let e=this.parentElement;for(;e&&!(e instanceof a.DropdownMenu);)e=e.parentElement;return e}connectedCallback(){super.connectedCallback(),this.isOpen&&document.addEventListener("mousedown",this.handleClickOutside)}disconnectedCallback(){document.removeEventListener("mousedown",this.handleClickOutside),super.disconnectedCallback()}updated(e){super.updated(e),this.state==="open"?this.isOpen=!0:this.isOpen=!1,e.has("isOpen")&&(this.isOpen?document.addEventListener("mousedown",this.handleClickOutside):document.removeEventListener("mousedown",this.handleClickOutside))}handleClickOutside(e){var t,i;const r=(t=this.shadowRoot)==null?void 0:t.querySelector("rtg-dropdown-menu-content"),o=(i=this.shadowRoot)==null?void 0:i.querySelector("button");r&&!r.contains(e.target)&&!(o!=null&&o.contains(e.target))&&(this.isOpen=!1)}render(){return l.html`
|
2737
|
+
<div
|
2738
|
+
class="flex h-full flex-col max-h-[300px] overflow-y-auto overflow-x-hidden rounded-md bg-popover text-popover-foreground border shadow-md"
|
2739
|
+
style="display: ${this.isOpen?"block":"none"};width:260px"
|
2740
|
+
>
|
2741
|
+
<slot></slot>
|
2742
|
+
</div>
|
2743
|
+
`}},a.DropdownMenuContent.styles=[l.css``,p],_e([d.property({attribute:"data-state",type:String})],a.DropdownMenuContent.prototype,"state",2),_e([d.state()],a.DropdownMenuContent.prototype,"isOpen",2),a.DropdownMenuContent=_e([d.customElement("rtg-dropdown-menu-content")],a.DropdownMenuContent);var qo=Object.defineProperty,Fo=Object.getOwnPropertyDescriptor,re=(n,e,r,o)=>{for(var t=o>1?void 0:o?Fo(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&qo(e,r,t),t};a.DropdownMenuItem=class extends l.LitElement{constructor(){super(...arguments),this._id="",this._hidden="",this.selected=!1}get identifier(){var r,o;if(this._id!=="")return this._id;const e=(o=(r=this.parentElement)==null?void 0:r.shadowRoot)==null?void 0:o.querySelector("div[rtgcmd-group]");return e?this._id=`${e.getAttribute("id")}li${a.DropdownMenuItem._counter++}`:this._id=`rtgcmdrxgxli${a.DropdownMenuItem._counter++}`,this._id}get value(){var e;return((e=this.textContent)==null?void 0:e.trim())||""}handleMouseEvent(e){(e.type==="mouseover"||e.type==="focus")&&(this.selected=!0),e.type==="mouseleave"&&(this.selected=!1)}render(){return l.html` ${this._hidden==="true"?l.nothing:l.html`
|
2744
|
+
<div
|
2745
|
+
class="${h("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",this.className)}"
|
2746
|
+
@mouseover="${this.handleMouseEvent}"
|
2747
|
+
@mouseleave="${this.handleMouseEvent}"
|
2748
|
+
@focus="${this.handleMouseEvent}"
|
2749
|
+
rtgcmd-item
|
2750
|
+
role="option"
|
2751
|
+
aria-selected="${this.selected}"
|
2752
|
+
data-selected="${this.selected}"
|
2753
|
+
data-value="${this.value}"
|
2754
|
+
id="${this.identifier}"
|
2755
|
+
aria-hidden="${this.hidden}"
|
2756
|
+
>
|
2757
|
+
<slot></slot>
|
2758
|
+
</div>
|
2759
|
+
`}`}},a.DropdownMenuItem._counter=0,a.DropdownMenuItem.styles=[l.css``,p],re([d.property({type:String})],a.DropdownMenuItem.prototype,"_id",2),re([d.property({attribute:"aria-hidden",type:String})],a.DropdownMenuItem.prototype,"_hidden",2),re([d.property({attribute:"data-value",type:String})],a.DropdownMenuItem.prototype,"value",1),re([d.property({type:Boolean})],a.DropdownMenuItem.prototype,"selected",2),a.DropdownMenuItem=re([d.customElement("rtg-dropdown-menu-item")],a.DropdownMenuItem);var jo=Object.defineProperty,Go=Object.getOwnPropertyDescriptor,q=(n,e,r,o)=>{for(var t=o>1?void 0:o?Go(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&jo(e,r,t),t};a.DropdownMenuRadioItem=class extends l.LitElement{constructor(){super(...arguments),this._id="",this._hidden="",this.selected=!1,this.checked=!1,this.disabled=!1}get identifier(){var r,o;if(this._id!=="")return this._id;const e=(o=(r=this.parentElement)==null?void 0:r.shadowRoot)==null?void 0:o.querySelector("div[rtgcmd-group]");return e?this._id=`${e.getAttribute("id")}li${a.DropdownMenuRadioItem._counter++}`:this._id=`rtgcmdrxgxli${a.DropdownMenuRadioItem._counter++}`,this._id}get value(){var e;return((e=this.textContent)==null?void 0:e.trim())||""}handleMouseEvent(e){(e.type==="mouseover"||e.type==="focus")&&(this.selected=!0),e.type==="mouseleave"&&(this.selected=!1)}toggleChecked(){this.checked=!this.checked}render(){return l.html`
|
2760
|
+
<div
|
2761
|
+
class="${h("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground",this.disabled?"pointer-events-none opacity-50":"",this.className)}"
|
2762
|
+
@click=${this.toggleChecked}
|
2763
|
+
@mouseover="${this.handleMouseEvent}"
|
2764
|
+
@mouseleave="${this.handleMouseEvent}"
|
2765
|
+
@focus="${this.handleMouseEvent}"
|
2766
|
+
rtgcmd-item
|
2767
|
+
role="option"
|
2768
|
+
aria-selected="${this.selected}"
|
2769
|
+
data-selected="${this.selected}"
|
2770
|
+
data-value="${this.value}"
|
2771
|
+
id="${this.identifier}"
|
2772
|
+
aria-hidden="${this.hidden}"
|
2773
|
+
>
|
2774
|
+
<span
|
2775
|
+
class="icon-space absolute left-2 flex items-center justify-center"
|
2776
|
+
>
|
2777
|
+
${this.checked?l.html`
|
2778
|
+
<svg
|
2779
|
+
xmlns="http://www.w3.org/2000/svg"
|
2780
|
+
width="24"
|
2781
|
+
height="24"
|
2782
|
+
viewBox="0 0 15 15"
|
2783
|
+
>
|
2784
|
+
<path
|
2785
|
+
fill="currentColor"
|
2786
|
+
d="M9.875 7.5a2.375 2.375 0 1 1-4.75 0a2.375 2.375 0 0 1 4.75 0"
|
2787
|
+
/>
|
2788
|
+
</svg>
|
2789
|
+
`:l.nothing}
|
2790
|
+
</span>
|
2791
|
+
<slot></slot>
|
2792
|
+
</div>
|
2793
|
+
`}},a.DropdownMenuRadioItem._counter=0,a.DropdownMenuRadioItem.styles=[l.css`
|
2794
|
+
.icon-space {
|
2795
|
+
width: 16px; /* Fixed width to reserve space for the check icon */
|
2796
|
+
height: 16px;
|
2797
|
+
display: inline-block;
|
2798
|
+
}
|
2799
|
+
`,p],q([d.property({type:String})],a.DropdownMenuRadioItem.prototype,"_id",2),q([d.property({attribute:"aria-hidden",type:String})],a.DropdownMenuRadioItem.prototype,"_hidden",2),q([d.property({attribute:"data-value",type:String})],a.DropdownMenuRadioItem.prototype,"value",1),q([d.property({type:Boolean})],a.DropdownMenuRadioItem.prototype,"selected",2),q([d.property({type:Boolean})],a.DropdownMenuRadioItem.prototype,"checked",2),q([d.property({type:Boolean})],a.DropdownMenuRadioItem.prototype,"disabled",2),a.DropdownMenuRadioItem=q([d.customElement("rtg-dropdown-menu-radio-item")],a.DropdownMenuRadioItem);var Vo=Object.defineProperty,Uo=Object.getOwnPropertyDescriptor,Ce=(n,e,r,o)=>{for(var t=o>1?void 0:o?Uo(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Vo(e,r,t),t};a.DropdownMenuSeparator=class extends l.LitElement{constructor(){super(...arguments),this._id="",this._hidden=""}get identifier(){var r,o;if(this._id!=="")return this._id;const e=(o=(r=this.parentElement)==null?void 0:r.shadowRoot)==null?void 0:o.querySelector("div[rtgcmd-list]");return e?this._id=`${e.getAttribute("id")}s${a.DropdownMenuSeparator._counter++}`:this._id=`rtgcmdrxlxs${a.DropdownMenuSeparator._counter++}`,this._id}render(){return l.html`${this._hidden==="true"?l.nothing:l.html`
|
2800
|
+
<div
|
2801
|
+
class="${h("-mx-1 h-px bg-border",this.className)}"
|
2802
|
+
rtgcmd-separator
|
2803
|
+
role="separator"
|
2804
|
+
id="${this.identifier}"
|
2805
|
+
></div>
|
2806
|
+
`}`}},a.DropdownMenuSeparator._counter=0,a.DropdownMenuSeparator.styles=[l.css``,p],Ce([d.property({type:String})],a.DropdownMenuSeparator.prototype,"_id",2),Ce([d.property({attribute:"aria-hidden",type:String})],a.DropdownMenuSeparator.prototype,"_hidden",2),a.DropdownMenuSeparator=Ce([d.customElement("rtg-dropdown-menu-separator")],a.DropdownMenuSeparator);var Ho=Object.defineProperty,Xo=Object.getOwnPropertyDescriptor,F=(n,e,r,o)=>{for(var t=o>1?void 0:o?Xo(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Ho(e,r,t),t};a.DropdownMenuCheckboxItem=class extends l.LitElement{constructor(){super(...arguments),this._id="",this._hidden="",this.selected=!1,this.checked=!1,this.disabled=!1}get identifier(){var r,o;if(this._id!=="")return this._id;const e=(o=(r=this.parentElement)==null?void 0:r.shadowRoot)==null?void 0:o.querySelector("div[rtgcmd-group]");return e?this._id=`${e.getAttribute("id")}li${a.DropdownMenuCheckboxItem._counter++}`:this._id=`rtgcmdrxgxli${a.DropdownMenuCheckboxItem._counter++}`,this._id}get value(){var e;return((e=this.textContent)==null?void 0:e.trim())||""}handleMouseEvent(e){(e.type==="mouseover"||e.type==="focus")&&(this.selected=!0),e.type==="mouseleave"&&(this.selected=!1)}toggleChecked(){this.checked=!this.checked}render(){return l.html`
|
2807
|
+
<div
|
2808
|
+
class="${h("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground",this.disabled?"pointer-events-none opacity-50":"",this.className)}"
|
2809
|
+
@click=${this.toggleChecked}
|
2810
|
+
@mouseover="${this.handleMouseEvent}"
|
2811
|
+
@mouseleave="${this.handleMouseEvent}"
|
2812
|
+
@focus="${this.handleMouseEvent}"
|
2813
|
+
rtgcmd-item
|
2814
|
+
role="option"
|
2815
|
+
aria-selected="${this.selected}"
|
2816
|
+
data-selected="${this.selected}"
|
2817
|
+
data-value="${this.value}"
|
2818
|
+
id="${this.identifier}"
|
2819
|
+
aria-hidden="${this.hidden}"
|
2820
|
+
>
|
2821
|
+
<span
|
2822
|
+
class="icon-space absolute left-2 flex items-center justify-center"
|
2823
|
+
>
|
2824
|
+
${this.checked?l.html`
|
2825
|
+
<svg
|
2826
|
+
xmlns="http://www.w3.org/2000/svg"
|
2827
|
+
viewBox="0 0 24 24"
|
2828
|
+
width="16px"
|
2829
|
+
height="16px"
|
2830
|
+
>
|
2831
|
+
<path
|
2832
|
+
d="M 19.28125 5.28125 L 9 15.5625 L 4.71875 11.28125 L 3.28125 12.71875 L 8.28125 17.71875 L 9 18.40625 L 9.71875 17.71875 L 20.71875 6.71875 Z"
|
2833
|
+
/>
|
2834
|
+
</svg>
|
2835
|
+
`:l.nothing}
|
2836
|
+
</span>
|
2837
|
+
<slot></slot>
|
2838
|
+
</div>
|
2839
|
+
`}},a.DropdownMenuCheckboxItem._counter=0,a.DropdownMenuCheckboxItem.styles=[l.css`
|
2840
|
+
.icon-space {
|
2841
|
+
width: 16px; /* Fixed width to reserve space for the check icon */
|
2842
|
+
height: 16px;
|
2843
|
+
display: inline-block;
|
2844
|
+
}
|
2845
|
+
`,p],F([d.property({type:String})],a.DropdownMenuCheckboxItem.prototype,"_id",2),F([d.property({attribute:"aria-hidden",type:String})],a.DropdownMenuCheckboxItem.prototype,"_hidden",2),F([d.property({attribute:"data-value",type:String})],a.DropdownMenuCheckboxItem.prototype,"value",1),F([d.property({type:Boolean})],a.DropdownMenuCheckboxItem.prototype,"selected",2),F([d.property({type:Boolean})],a.DropdownMenuCheckboxItem.prototype,"checked",2),F([d.property({type:Boolean})],a.DropdownMenuCheckboxItem.prototype,"disabled",2),a.DropdownMenuCheckboxItem=F([d.customElement("rtg-dropdown-menu-checkbox-item")],a.DropdownMenuCheckboxItem);var Yo=Object.defineProperty,Wo=Object.getOwnPropertyDescriptor,le=(n,e,r,o)=>{for(var t=o>1?void 0:o?Wo(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Yo(e,r,t),t};a.DropdownMenuGroup=class extends l.LitElement{constructor(){super(...arguments),this.heading="",this._id="",this._hidden=""}get identifier(){var r,o;if(this._id!=="")return this._id;const e=(o=(r=this.parentElement)==null?void 0:r.shadowRoot)==null?void 0:o.querySelector("div[rtgcmd-list]");return e?this._id=`${e.getAttribute("id")}g${a.DropdownMenuGroup._counter++}`:this._id=`rtgcmdrxlxg${a.DropdownMenuGroup._counter++}`,this._id}render(){const e="overflow-hidden p-1 text-foreground [&_[rtgcmd-group-heading]]:px-2 [&_[rtgcmd-group-heading]]:py-1.5 [&_[rtgcmd-group-heading]]:text-xs [&_[rtgcmd-group-heading]]:font-medium [&_[rtgcmd-group-heading]]:text-muted-foreground";return l.html`${this._hidden==="true"?l.nothing:l.html`
|
2846
|
+
<div
|
2847
|
+
class="${e}"
|
2848
|
+
rtgcmd-group
|
2849
|
+
role="presentation"
|
2850
|
+
id="${this.identifier}"
|
2851
|
+
>
|
2852
|
+
<div
|
2853
|
+
rtgcmd-group-heading
|
2854
|
+
aria-hidden="true"
|
2855
|
+
id="${this.identifier}h"
|
2856
|
+
>
|
2857
|
+
${this.heading}
|
2858
|
+
</div>
|
2859
|
+
<div
|
2860
|
+
rtgcmd-group-items
|
2861
|
+
role="group"
|
2862
|
+
aria-labelledby="${this.identifier}h"
|
2863
|
+
>
|
2864
|
+
<slot></slot>
|
2865
|
+
</div>
|
2866
|
+
</div>
|
2867
|
+
`}`}},a.DropdownMenuGroup._counter=0,a.DropdownMenuGroup.styles=[l.css``,p],le([d.property({type:String})],a.DropdownMenuGroup.prototype,"heading",2),le([d.property({attribute:"id",type:String})],a.DropdownMenuGroup.prototype,"_id",2),le([d.property({attribute:"aria-hidden",type:String})],a.DropdownMenuGroup.prototype,"_hidden",2),a.DropdownMenuGroup=le([d.customElement("rtg-dropdown-menu-group")],a.DropdownMenuGroup);var Ko=Object.defineProperty,Jo=Object.getOwnPropertyDescriptor,ot=(n,e,r,o)=>{for(var t=o>1?void 0:o?Jo(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Ko(e,r,t),t};a.DropdownMenu=class extends l.LitElement{constructor(){super(...arguments),this.isOpen=!1,this.handleClickOutside=e=>{var o;const r=e.target;(o=this.shadowRoot)!=null&&o.contains(r)||(this.isOpen=!1)}}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.handleClickOutside)}disconnectedCallback(){document.removeEventListener("click",this.handleClickOutside),super.disconnectedCallback()}toggleDropdown(e){e.stopPropagation(),this.isOpen=!this.isOpen}get _content(){var o;const e=(o=this.shadowRoot)==null?void 0:o.querySelector("slot"),r=e==null?void 0:e.assignedElements();if(r){for(let t=0;t<r.length;t++)if(r[t]instanceof a.DropdownMenuContent)return r[t]}return null}updated(e){super.updated(e);const r=this._content;r&&(r.dataset.state=this.isOpen?"open":"close")}render(){return l.html`
|
2868
|
+
<div>
|
2869
|
+
<div>
|
2870
|
+
<slot @click="${this.toggleDropdown}"></slot>
|
2871
|
+
</div>
|
2872
|
+
<div>
|
2873
|
+
<slot></slot>
|
2874
|
+
</div>
|
2875
|
+
</div>
|
2876
|
+
`}},a.DropdownMenu.styles=[l.css``,p],ot([d.state()],a.DropdownMenu.prototype,"isOpen",2),a.DropdownMenu=ot([d.customElement("rtg-dropdown-menu")],a.DropdownMenu);var nt=(n=>(n.SMALL="sm",n.MEDIUM="md",n.LARGE="lg",n))(nt||{}),it=(n=>(n.DEFAULT="default",n.OUTLINE="outline",n))(it||{});const Zo=U("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground bg-transparent h-10 px-3",{variants:{variant:{default:" hover:bg-muted hover:text-muted-foreground",outline:" border border-input hover:bg-accent hover:text-accent-foreground"},size:{sm:"h-9 px-2.5",md:"h-10 px-3",lg:"h-11 px-5"}},defaultVariants:{variant:"default",size:"sm"}});var Qo=Object.defineProperty,en=Object.getOwnPropertyDescriptor,J=(n,e,r,o)=>{for(var t=o>1?void 0:o?en(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Qo(e,r,t),t};a.Toggle=class extends C{constructor(){super(...arguments),this.disabled=!1,this.checked=!1,this.required=!1,this.variant=it.DEFAULT,this.size=nt.SMALL}getAttributesToExclude(){return["disabled","checked","variant","size","required"]}toggle(){this.disabled||(this.checked=!this.checked)}render(){const e=this.getFilteredAttributes();return ft.html`
|
2877
|
+
<button
|
2878
|
+
type="button"
|
2879
|
+
class="${h(a.Toggle.toggleVariants({variant:this.variant,size:this.size,className:this.className}))}"
|
2880
|
+
aria-pressed=${this.checked}
|
2881
|
+
data-state="${this.checked?"on":"off"}"
|
2882
|
+
aria-label="Toggle bold"
|
2883
|
+
@click=${this.toggle}
|
2884
|
+
?required=${this.required}
|
2885
|
+
?disabled=${this.disabled}
|
2886
|
+
${O(e)}
|
2887
|
+
>
|
2888
|
+
<slot></slot>
|
2889
|
+
</button>
|
2890
|
+
`}},a.Toggle.styles=[p],a.Toggle.toggleVariants=Zo,J([d.property({type:Boolean})],a.Toggle.prototype,"disabled",2),J([d.property({attribute:!0,type:Boolean,reflect:!0})],a.Toggle.prototype,"checked",2),J([d.property({attribute:!0,type:Boolean,reflect:!0})],a.Toggle.prototype,"required",2),J([d.property({attribute:!0,type:String})],a.Toggle.prototype,"variant",2),J([d.property({attribute:!0,type:String})],a.Toggle.prototype,"size",2),a.Toggle=J([d.customElement("rtg-toggle")],a.Toggle);const tn="inline-flex items-center gap-1.5",rn="transition-colors hover:text-foreground",on="font-normal text-foreground",nn="[&>svg]:size-3.5",sn="flex h-9 w-9 items-center justify-center",an="flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5";var ln=Object.defineProperty,dn=Object.getOwnPropertyDescriptor,st=(n,e,r,o)=>{for(var t=o>1?void 0:o?dn(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&ln(e,r,t),t};let de=class extends C{constructor(){super(...arguments),this.href="/"}getAttributesToExclude(){return[""]}render(){const n=this.getFilteredAttributes();return l.html`
|
2891
|
+
<a
|
2892
|
+
id="rtg-bread-crumb-link"
|
2893
|
+
class="${h(rn,this.className)}"
|
2894
|
+
${O(n)}
|
2895
|
+
href="${this.href}"
|
2896
|
+
>
|
2897
|
+
<slot></slot>
|
2898
|
+
</a>
|
2899
|
+
`}};de.styles=[l.css``,p],st([d.property({type:String})],de.prototype,"href",2),de=st([d.customElement("rtg-bread-crumb-link")],de);var cn=Object.defineProperty,pn=Object.getOwnPropertyDescriptor,un=(n,e,r,o)=>{for(var t=o>1?void 0:o?pn(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&cn(e,r,t),t};let Oe=class extends C{getAttributesToExclude(){return[""]}render(){const n=this.getFilteredAttributes();return l.html`
|
2900
|
+
<span
|
2901
|
+
id="rtg-bread-crumb-ellipsis"
|
2902
|
+
role="presentation"
|
2903
|
+
aria-hidden="true"
|
2904
|
+
class="${h(sn,this.className)}"
|
2905
|
+
${O(n)}
|
2906
|
+
>
|
2907
|
+
<svg
|
2908
|
+
fill="#000000"
|
2909
|
+
width="16px"
|
2910
|
+
height="16px"
|
2911
|
+
viewBox="0 0 256 256"
|
2912
|
+
id="Flat"
|
2913
|
+
xmlns="http://www.w3.org/2000/svg"
|
2914
|
+
>
|
2915
|
+
<path
|
2916
|
+
d="M156,128a28,28,0,1,1-28-28A28.02769,28.02769,0,0,1,156,128ZM48,100a28,28,0,1,0,28,28A28.02769,28.02769,0,0,0,48,100Zm160,0a28,28,0,1,0,28,28A28.02769,28.02769,0,0,0,208,100Z"
|
2917
|
+
/>
|
2918
|
+
</svg>
|
2919
|
+
</span>
|
2920
|
+
`}};Oe.styles=[l.css``,p],Oe=un([d.customElement("rtg-bread-crumb-ellipsis")],Oe);var hn=Object.defineProperty,gn=Object.getOwnPropertyDescriptor,mn=(n,e,r,o)=>{for(var t=o>1?void 0:o?gn(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&hn(e,r,t),t};let ke=class extends C{getAttributesToExclude(){return["variant"]}render(){const n=this.getFilteredAttributes();return l.html`
|
2921
|
+
<li
|
2922
|
+
id="rtg-bread-crumb-item"
|
2923
|
+
class="${h(tn,this.className)}"
|
2924
|
+
${O(n)}
|
2925
|
+
>
|
2926
|
+
<slot></slot>
|
2927
|
+
</li>
|
2928
|
+
`}};ke.styles=[l.css``,p],ke=mn([d.customElement("rtg-bread-crumb-item")],ke);var fn=Object.defineProperty,bn=Object.getOwnPropertyDescriptor,vn=(n,e,r,o)=>{for(var t=o>1?void 0:o?bn(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&fn(e,r,t),t};let De=class extends C{getAttributesToExclude(){return["variant"]}render(){const n=this.getFilteredAttributes();return l.html`
|
2929
|
+
<ol
|
2930
|
+
id="rtg-bread-crumb-list"
|
2931
|
+
class="${h(an,this.className)}"
|
2932
|
+
${O(n)}
|
2933
|
+
>
|
2934
|
+
<slot></slot>
|
2935
|
+
</ol>
|
2936
|
+
`}};De.styles=[l.css``,p],De=vn([d.customElement("rtg-bread-crumb-list")],De);var wn=Object.defineProperty,yn=Object.getOwnPropertyDescriptor,xn=(n,e,r,o)=>{for(var t=o>1?void 0:o?yn(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&wn(e,r,t),t};let Pe=class extends C{getAttributesToExclude(){return[""]}render(){const n=this.getFilteredAttributes();return l.html`
|
2937
|
+
<li
|
2938
|
+
id="rtg-bread-crumb-separator"
|
2939
|
+
role="presentation"
|
2940
|
+
aria-hidden="true"
|
2941
|
+
class="${h(nn,this.className)}"
|
2942
|
+
${O(n)}
|
2943
|
+
>
|
2944
|
+
<svg
|
2945
|
+
xmlns="http://www.w3.org/2000/svg"
|
2946
|
+
width="24"
|
2947
|
+
height="24"
|
2948
|
+
viewBox="0 0 24 24"
|
2949
|
+
fill="none"
|
2950
|
+
stroke="currentColor"
|
2951
|
+
stroke-width="2"
|
2952
|
+
stroke-linecap="round"
|
2953
|
+
stroke-linejoin="round"
|
2954
|
+
class="lucide lucide-slash "
|
2955
|
+
>
|
2956
|
+
<path d="M22 2 2 22"></path>
|
2957
|
+
</svg>
|
2958
|
+
</div>
|
2959
|
+
`}};Pe.styles=[l.css``,p],Pe=xn([d.customElement("rtg-bread-crumb-separator")],Pe);var $n=Object.defineProperty,_n=Object.getOwnPropertyDescriptor,Cn=(n,e,r,o)=>{for(var t=o>1?void 0:o?_n(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&$n(e,r,t),t};let Ee=class extends C{getAttributesToExclude(){return[""]}render(){const n=this.getFilteredAttributes();return l.html`
|
2960
|
+
<nav
|
2961
|
+
class="${h(this.className)}"
|
2962
|
+
aria-label="breadcrumb"
|
2963
|
+
${O(n)}
|
2964
|
+
>
|
2965
|
+
<slot></slot>
|
2966
|
+
</nav>
|
2967
|
+
`}};Ee.styles=[l.css``,p],Ee=Cn([d.customElement("rtg-bread-crumb")],Ee);var On=Object.defineProperty,kn=Object.getOwnPropertyDescriptor,Dn=(n,e,r,o)=>{for(var t=o>1?void 0:o?kn(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&On(e,r,t),t};let Se=class extends C{getAttributesToExclude(){return[""]}render(){const n=this.getFilteredAttributes();return l.html`
|
2968
|
+
<span
|
2969
|
+
id="rtg-bread-crumb-text"
|
2970
|
+
aria-disabled="true"
|
2971
|
+
aria-current="page"
|
2972
|
+
class="${h(on,this.className)}"
|
2973
|
+
${O(n)}
|
2974
|
+
>
|
2975
|
+
<slot></slot>
|
2976
|
+
</span>
|
2977
|
+
`}};Se.styles=[l.css``,p],Se=Dn([d.customElement("rtg-bread-crumb-text")],Se),Object.defineProperty(a,Symbol.toStringTag,{value:"Module"})});
|