@krit-llc/krit-ui 0.0.0-stage → 0.0.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/README.md +153 -2
  2. package/dist/assets/index.d.ts +204 -0
  3. package/dist/components/ui/attachmentsSection.d.ts +54 -0
  4. package/dist/components/ui/badge.d.ts +32 -0
  5. package/dist/components/ui/badgeVariants.d.ts +6 -0
  6. package/dist/components/ui/banner.d.ts +60 -0
  7. package/dist/components/ui/bottom-menu.d.ts +41 -0
  8. package/dist/components/ui/button.d.ts +27 -0
  9. package/dist/components/ui/buttonVariants.d.ts +4 -0
  10. package/dist/components/ui/calendar.d.ts +18 -0
  11. package/dist/components/ui/card.d.ts +87 -0
  12. package/dist/components/ui/carousel.d.ts +52 -0
  13. package/dist/components/ui/checkbox.d.ts +30 -0
  14. package/dist/components/ui/collapsible-section.d.ts +37 -0
  15. package/dist/components/ui/collapsible.d.ts +18 -0
  16. package/dist/components/ui/command.d.ts +102 -0
  17. package/dist/components/ui/confirm-modal.d.ts +33 -0
  18. package/dist/components/ui/data-table.d.ts +94 -0
  19. package/dist/components/ui/date-picker.d.ts +58 -0
  20. package/dist/components/ui/dialog.d.ts +66 -0
  21. package/dist/components/ui/dot.d.ts +10 -0
  22. package/dist/components/ui/dropdown-menu.d.ts +67 -0
  23. package/dist/components/ui/file-input.d.ts +36 -0
  24. package/dist/components/ui/filters-column-header.d.ts +48 -0
  25. package/dist/components/ui/form.d.ts +86 -0
  26. package/dist/components/ui/form.lib.d.ts +23 -0
  27. package/dist/components/ui/header.d.ts +39 -0
  28. package/dist/components/ui/input.d.ts +30 -0
  29. package/dist/components/ui/label.d.ts +23 -0
  30. package/dist/components/ui/multi-select.d.ts +100 -0
  31. package/dist/components/ui/nav-panel.d.ts +52 -0
  32. package/dist/components/ui/nav.d.ts +52 -0
  33. package/dist/components/ui/network-error-message.d.ts +46 -0
  34. package/dist/components/ui/notification.d.ts +34 -0
  35. package/dist/components/ui/notificationVariants.d.ts +4 -0
  36. package/dist/components/ui/number-input.d.ts +149 -0
  37. package/dist/components/ui/page-layout.d.ts +28 -0
  38. package/dist/components/ui/page-view-mode-toggle.d.ts +22 -0
  39. package/dist/components/ui/pagination.d.ts +122 -0
  40. package/dist/components/ui/popover.d.ts +29 -0
  41. package/dist/components/ui/post-card.d.ts +273 -0
  42. package/dist/components/ui/preloader.d.ts +23 -0
  43. package/dist/components/ui/previewFull.d.ts +40 -0
  44. package/dist/components/ui/previews.d.ts +69 -0
  45. package/dist/components/ui/previewsCompactList.d.ts +18 -0
  46. package/dist/components/ui/previewsShared.d.ts +8 -0
  47. package/dist/components/ui/profile.d.ts +41 -0
  48. package/dist/components/ui/radio-group.d.ts +48 -0
  49. package/dist/components/ui/radix-dialog-dismiss.lib.d.ts +14 -0
  50. package/dist/components/ui/radix-popover-container.lib.d.ts +7 -0
  51. package/dist/components/ui/resizable.d.ts +65 -0
  52. package/dist/components/ui/scroll-area.d.ts +5 -0
  53. package/dist/components/ui/secondary-panel-section.d.ts +20 -0
  54. package/dist/components/ui/segmented-control.d.ts +35 -0
  55. package/dist/components/ui/select-header-filter.d.ts +37 -0
  56. package/dist/components/ui/select.d.ts +91 -0
  57. package/dist/components/ui/separator.d.ts +34 -0
  58. package/dist/components/ui/sheet.d.ts +118 -0
  59. package/dist/components/ui/skeleton.d.ts +24 -0
  60. package/dist/components/ui/sort-component.d.ts +35 -0
  61. package/dist/components/ui/sortable-header.d.ts +25 -0
  62. package/dist/components/ui/switch.d.ts +25 -0
  63. package/dist/components/ui/table-column-resize-handle.d.ts +8 -0
  64. package/dist/components/ui/table-filter-editor.d.ts +11 -0
  65. package/dist/components/ui/table.d.ts +104 -0
  66. package/dist/components/ui/tabs.d.ts +52 -0
  67. package/dist/components/ui/tabsVariants.d.ts +6 -0
  68. package/dist/components/ui/text-area.d.ts +37 -0
  69. package/dist/components/ui/theme-provider.d.ts +205 -0
  70. package/dist/components/ui/time-picker.d.ts +31 -0
  71. package/dist/components/ui/time-picker.lib.d.ts +6 -0
  72. package/dist/components/ui/toast.d.ts +80 -0
  73. package/dist/components/ui/toaster.d.ts +22 -0
  74. package/dist/components/ui/tooltip.d.ts +65 -0
  75. package/dist/components/ui/tree-view.d.ts +96 -0
  76. package/dist/components/ui/widget-plan-fact.d.ts +86 -0
  77. package/dist/date.d.ts +8 -0
  78. package/dist/hooks/useColumnFilters.d.ts +6 -0
  79. package/dist/hooks/useColumnSizing.d.ts +20 -0
  80. package/dist/hooks/useCombinedRefs.d.ts +1 -0
  81. package/dist/hooks/useConfirm.d.ts +49 -0
  82. package/dist/hooks/useNotify.d.ts +28 -0
  83. package/dist/hooks/usePreviewsFilePicker.d.ts +40 -0
  84. package/dist/hooks/useSidebar.d.ts +10 -0
  85. package/dist/hooks/useStoredExpand.d.ts +18 -0
  86. package/dist/hooks/useStoredFields.d.ts +4 -0
  87. package/dist/hooks/useStoredTabs.d.ts +4 -0
  88. package/dist/hooks/useTableStates.d.ts +26 -0
  89. package/dist/hooks/useTheme.d.ts +1 -0
  90. package/dist/hooks/useToast.d.ts +44 -0
  91. package/dist/hooks/useTranslation.d.ts +4 -0
  92. package/dist/krit-ui.d.ts +2 -0
  93. package/dist/krit-ui.js +29694 -0
  94. package/dist/krit-ui.umd.cjs +137 -0
  95. package/dist/lib/attachments.d.ts +245 -0
  96. package/dist/lib/cookies.d.ts +1 -0
  97. package/dist/lib/file.d.ts +52 -0
  98. package/dist/lib/infinite-scroll.d.ts +13 -0
  99. package/dist/lib/selectUtils.d.ts +14 -0
  100. package/dist/lib/table-filter.d.ts +35 -0
  101. package/dist/lib/text.d.ts +1 -0
  102. package/dist/lib/zod.d.ts +27 -0
  103. package/dist/main.d.ts +88 -0
  104. package/dist/style.css +1 -0
  105. package/dist/utils.d.ts +2 -0
  106. package/docs/table-filters.md +481 -0
  107. package/package.json +125 -4
  108. package/tailwind.config.cjs +273 -0
@@ -0,0 +1,137 @@
1
+ (function(x,u){typeof exports=="object"&&typeof module<"u"?u(exports,require("react/jsx-runtime"),require("react"),require("react-dom"),require("react-hook-form"),require("zod"),require("zod-i18n-map"),require("@hookform/resolvers")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom","react-hook-form","zod","zod-i18n-map","@hookform/resolvers"],u):(x=typeof globalThis<"u"?globalThis:x||self,u(x["krit-ui"]={},x["react/jsx-runtime"],x.React,x.ReactDOM,x.reactHookForm,x.zod,x.zodI18nMap,x.resolvers))})(this,function(x,u,k,Cs,fr,Se,rf,m1){"use strict";var ET=Object.defineProperty;var LT=(x,u,k)=>u in x?ET(x,u,{enumerable:!0,configurable:!0,writable:!0,value:k}):x[u]=k;var ce=(x,u,k)=>LT(x,typeof u!="symbol"?u+"":u,k);function c2(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const c=c2(k),eo=c2(Cs);function u2(e){var n,t,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(n=0;n<o;n++)e[n]&&(t=u2(e[n]))&&(r&&(r+=" "),r+=t)}else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function d2(){for(var e,n,t=0,r="",o=arguments.length;t<o;t++)(e=arguments[t])&&(n=u2(e))&&(r&&(r+=" "),r+=n);return r}const ms="-",of=e=>{const n=sf(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const i=s.split(ms);return i[0]===""&&i.length!==1&&i.shift(),f2(i,n)||af(s)},getConflictingClassGroupIds:(s,i)=>{const l=t[s]||[];return i&&r[s]?[...l,...r[s]]:l}}},f2=(e,n)=>{var s;if(e.length===0)return n.classGroupId;const t=e[0],r=n.nextPart.get(t),o=r?f2(e.slice(1),r):void 0;if(o)return o;if(n.validators.length===0)return;const a=e.join(ms);return(s=n.validators.find(({validator:i})=>i(a)))==null?void 0:s.classGroupId},h2=/^\[(.+)\]$/,af=e=>{if(h2.test(e)){const n=h2.exec(e)[1],t=n==null?void 0:n.substring(0,n.indexOf(":"));if(t)return"arbitrary.."+t}},sf=e=>{const{theme:n,prefix:t}=e,r={nextPart:new Map,validators:[]};return cf(Object.entries(e.classGroups),t).forEach(([a,s])=>{vs(s,r,a,n)}),r},vs=(e,n,t,r)=>{e.forEach(o=>{if(typeof o=="string"){const a=o===""?n:g2(n,o);a.classGroupId=t;return}if(typeof o=="function"){if(lf(o)){vs(o(r),n,t,r);return}n.validators.push({validator:o,classGroupId:t});return}Object.entries(o).forEach(([a,s])=>{vs(s,g2(n,a),t,r)})})},g2=(e,n)=>{let t=e;return n.split(ms).forEach(r=>{t.nextPart.has(r)||t.nextPart.set(r,{nextPart:new Map,validators:[]}),t=t.nextPart.get(r)}),t},lf=e=>e.isThemeGetter,cf=(e,n)=>n?e.map(([t,r])=>{const o=r.map(a=>typeof a=="string"?n+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([s,i])=>[n+s,i])):a);return[t,o]}):e,uf=e=>{if(e<1)return{get:()=>{},set:()=>{}};let n=0,t=new Map,r=new Map;const o=(a,s)=>{t.set(a,s),n++,n>e&&(n=0,r=t,t=new Map)};return{get(a){let s=t.get(a);if(s!==void 0)return s;if((s=r.get(a))!==void 0)return o(a,s),s},set(a,s){t.has(a)?t.set(a,s):o(a,s)}}},p2="!",df=e=>{const{separator:n,experimentalParseClassName:t}=e,r=n.length===1,o=n[0],a=n.length,s=i=>{const l=[];let d=0,f=0,h;for(let m=0;m<i.length;m++){let w=i[m];if(d===0){if(w===o&&(r||i.slice(m,m+a)===n)){l.push(i.slice(f,m)),f=m+a;continue}if(w==="/"){h=m;continue}}w==="["?d++:w==="]"&&d--}const g=l.length===0?i:i.substring(f),C=g.startsWith(p2),v=C?g.substring(1):g,p=h&&h>f?h-f:void 0;return{modifiers:l,hasImportantModifier:C,baseClassName:v,maybePostfixModifierPosition:p}};return t?i=>t({className:i,parseClassName:s}):s},ff=e=>{if(e.length<=1)return e;const n=[];let t=[];return e.forEach(r=>{r[0]==="["?(n.push(...t.sort(),r),t=[]):t.push(r)}),n.push(...t.sort()),n},hf=e=>({cache:uf(e.cacheSize),parseClassName:df(e),...of(e)}),gf=/\s+/,pf=(e,n)=>{const{parseClassName:t,getClassGroupId:r,getConflictingClassGroupIds:o}=n,a=[],s=e.trim().split(gf);let i="";for(let l=s.length-1;l>=0;l-=1){const d=s[l],{modifiers:f,hasImportantModifier:h,baseClassName:g,maybePostfixModifierPosition:C}=t(d);let v=!!C,p=r(v?g.substring(0,C):g);if(!p){if(!v){i=d+(i.length>0?" "+i:i);continue}if(p=r(g),!p){i=d+(i.length>0?" "+i:i);continue}v=!1}const m=ff(f).join(":"),w=h?m+p2:m,y=w+p;if(a.includes(y))continue;a.push(y);const b=o(p,v);for(let S=0;S<b.length;++S){const E=b[S];a.push(w+E)}i=d+(i.length>0?" "+i:i)}return i};function Cf(){let e=0,n,t,r="";for(;e<arguments.length;)(n=arguments[e++])&&(t=C2(n))&&(r&&(r+=" "),r+=t);return r}const C2=e=>{if(typeof e=="string")return e;let n,t="";for(let r=0;r<e.length;r++)e[r]&&(n=C2(e[r]))&&(t&&(t+=" "),t+=n);return t};function mf(e,...n){let t,r,o,a=s;function s(l){const d=n.reduce((f,h)=>h(f),e());return t=hf(d),r=t.cache.get,o=t.cache.set,a=i,i(l)}function i(l){const d=r(l);if(d)return d;const f=pf(l,t);return o(l,f),f}return function(){return a(Cf.apply(null,arguments))}}const $e=e=>{const n=t=>t[e]||[];return n.isThemeGetter=!0,n},m2=/^\[(?:([a-z-]+):)?(.+)\]$/i,vf=/^\d+\/\d+$/,wf=new Set(["px","full","screen"]),yf=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,bf=/\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$/,xf=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Sf=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Mf=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,on=e=>hr(e)||wf.has(e)||vf.test(e),vn=e=>gr(e,"length",Tf),hr=e=>!!e&&!Number.isNaN(Number(e)),ws=e=>gr(e,"number",hr),to=e=>!!e&&Number.isInteger(Number(e)),Ef=e=>e.endsWith("%")&&hr(e.slice(0,-1)),be=e=>m2.test(e),wn=e=>yf.test(e),Lf=new Set(["length","size","percentage"]),Nf=e=>gr(e,Lf,v2),kf=e=>gr(e,"position",v2),Pf=new Set(["image","url"]),If=e=>gr(e,Pf,_f),Of=e=>gr(e,"",Df),no=()=>!0,gr=(e,n,t)=>{const r=m2.exec(e);return r?r[1]?typeof n=="string"?r[1]===n:n.has(r[1]):t(r[2]):!1},Tf=e=>bf.test(e)&&!xf.test(e),v2=()=>!1,Df=e=>Sf.test(e),_f=e=>Mf.test(e),Vf=mf(()=>{const e=$e("colors"),n=$e("spacing"),t=$e("blur"),r=$e("brightness"),o=$e("borderColor"),a=$e("borderRadius"),s=$e("borderSpacing"),i=$e("borderWidth"),l=$e("contrast"),d=$e("grayscale"),f=$e("hueRotate"),h=$e("invert"),g=$e("gap"),C=$e("gradientColorStops"),v=$e("gradientColorStopPositions"),p=$e("inset"),m=$e("margin"),w=$e("opacity"),y=$e("padding"),b=$e("saturate"),S=$e("scale"),E=$e("sepia"),M=$e("skew"),L=$e("space"),I=$e("translate"),O=()=>["auto","contain","none"],_=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto",be,n],$=()=>[be,n],j=()=>["",on,vn],F=()=>["auto",hr,be],R=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Z=()=>["solid","dashed","dotted","double","none"],K=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],q=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",be],oe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[hr,be];return{cacheSize:500,separator:":",theme:{colors:[no],spacing:[on,vn],blur:["none","",wn,be],brightness:U(),borderColor:[e],borderRadius:["none","","full",wn,be],borderSpacing:$(),borderWidth:j(),contrast:U(),grayscale:G(),hueRotate:U(),invert:G(),gap:$(),gradientColorStops:[e],gradientColorStopPositions:[Ef,vn],inset:V(),margin:V(),opacity:U(),padding:$(),saturate:U(),scale:U(),sepia:G(),skew:U(),space:$(),translate:$()},classGroups:{aspect:[{aspect:["auto","square","video",be]}],container:["container"],columns:[{columns:[wn]}],"break-after":[{"break-after":oe()}],"break-before":[{"break-before":oe()}],"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:[...R(),be]}],overflow:[{overflow:_()}],"overflow-x":[{"overflow-x":_()}],"overflow-y":[{"overflow-y":_()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[p]}],"inset-x":[{"inset-x":[p]}],"inset-y":[{"inset-y":[p]}],start:[{start:[p]}],end:[{end:[p]}],top:[{top:[p]}],right:[{right:[p]}],bottom:[{bottom:[p]}],left:[{left:[p]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",to,be]}],basis:[{basis:V()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",be]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",to,be]}],"grid-cols":[{"grid-cols":[no]}],"col-start-end":[{col:["auto",{span:["full",to,be]},be]}],"col-start":[{"col-start":F()}],"col-end":[{"col-end":F()}],"grid-rows":[{"grid-rows":[no]}],"row-start-end":[{row:["auto",{span:[to,be]},be]}],"row-start":[{"row-start":F()}],"row-end":[{"row-end":F()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",be]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",be]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[L]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[L]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",be,n]}],"min-w":[{"min-w":[be,n,"min","max","fit"]}],"max-w":[{"max-w":[be,n,"none","full","min","max","fit","prose",{screen:[wn]},wn]}],h:[{h:[be,n,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[be,n,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[be,n,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[be,n,"auto","min","max","fit"]}],"font-size":[{text:["base",wn,vn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ws]}],"font-family":[{font:[no]}],"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-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",be]}],"line-clamp":[{"line-clamp":["none",hr,ws]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",on,be]}],"list-image":[{"list-image":["none",be]}],"list-style-type":[{list:["none","disc","decimal",be]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",on,vn]}],"underline-offset":[{"underline-offset":["auto",on,be]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:$()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",be]}],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",be]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...R(),kf]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Nf]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},If]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...Z(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:Z()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...Z()]}],"outline-offset":[{"outline-offset":[on,be]}],"outline-w":[{outline:[on,vn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:j()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[on,vn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",wn,Of]}],"shadow-color":[{shadow:[no]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...K(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":K()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",wn,be]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[h]}],saturate:[{saturate:[b]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"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",be]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",be]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",be]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[to,be]}],"translate-x":[{"translate-x":[I]}],"translate-y":[{"translate-y":[I]}],"skew-x":[{"skew-x":[M]}],"skew-y":[{"skew-y":[M]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",be]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",be]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":$()}],"scroll-mx":[{"scroll-mx":$()}],"scroll-my":[{"scroll-my":$()}],"scroll-ms":[{"scroll-ms":$()}],"scroll-me":[{"scroll-me":$()}],"scroll-mt":[{"scroll-mt":$()}],"scroll-mr":[{"scroll-mr":$()}],"scroll-mb":[{"scroll-mb":$()}],"scroll-ml":[{"scroll-ml":$()}],"scroll-p":[{"scroll-p":$()}],"scroll-px":[{"scroll-px":$()}],"scroll-py":[{"scroll-py":$()}],"scroll-ps":[{"scroll-ps":$()}],"scroll-pe":[{"scroll-pe":$()}],"scroll-pt":[{"scroll-pt":$()}],"scroll-pr":[{"scroll-pr":$()}],"scroll-pb":[{"scroll-pb":$()}],"scroll-pl":[{"scroll-pl":$()}],"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",be]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[on,vn,ws]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","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 P(...e){return Vf(d2(e))}const w2=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,y2=d2,yn=(e,n)=>t=>{var r;if((n==null?void 0:n.variants)==null)return y2(e,t==null?void 0:t.class,t==null?void 0:t.className);const{variants:o,defaultVariants:a}=n,s=Object.keys(o).map(d=>{const f=t==null?void 0:t[d],h=a==null?void 0:a[d];if(f===null)return null;const g=w2(f)||w2(h);return o[d][g]}),i=t&&Object.entries(t).reduce((d,f)=>{let[h,g]=f;return g===void 0||(d[h]=g),d},{}),l=n==null||(r=n.compoundVariants)===null||r===void 0?void 0:r.reduce((d,f)=>{let{class:h,className:g,...C}=f;return Object.entries(C).every(v=>{let[p,m]=v;return Array.isArray(m)?m.includes({...a,...i}[p]):{...a,...i}[p]===m})?[...d,h,g]:d},[]);return y2(e,s,l,t==null?void 0:t.class,t==null?void 0:t.className)},b2=yn("items-center w-fit gap-1 cursor-default select-none text-nowrap rounded-sm px-2 py-0.5 leading-4 text-sm transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-0 bg-background text-foreground hover:bg-background-primary/80",gradient:"leading-3 border-0 bg-background-theme text-foreground-on-contrast hover:bg-background-theme/80",secondary:"border-0 bg-background-secondary text-foreground hover:bg-foreground/5","secondary-contrast":"bg-background-secondary/60 text-foreground hover:bg-background-secondary/80",accent:"bg-background-theme border-line-theme/10 text-[white] hover:bg-background-theme/80",theme:"bg-background-theme border-line-theme/10 text-[white] hover:bg-background-theme/80","theme-fade":"bg-background-theme-fade text-foreground-theme hover:bg-background-theme-fade_hover",pale:"bg-background-warning border-line-warning text-foreground-on-contrast hover:bg-background-warning/80","pale-primary":"bg-pale-foreground text-primary-foreground hover:bg-pale-foreground/80",destructive:"bg-background-error border-line-error text-[white] hover:bg-background-error/80","destructive-fade":"bg-background-error-fade text-foreground-error hover:bg-background-error-fade-hover","destructive-primary":"bg-destructive-foreground text-primary-foreground hover:bg-destructive-foreground/80",success:"bg-background-success text-[white] hover:bg-background-success/80","success-fade":"bg-background-success-fade text-foreground-success hover:bg-background-success-fade-hover","success-primary":"bg-success-foreground text-primary-foreground hover:bg-success-foreground/80",grey:"bg-background-contrast-fade text-foreground hover:bg-background-contrast-fade/80","grey-primary":"bg-grey-foreground text-primary-foreground hover:bg-grey-foreground/80",outline:"bg-background border border-line-primary text-foreground","outline-success":"bg-background border border-line-success text-foreground-success",warning:"bg-background-warning text-foreground-on-contrast hover:bg-background-warning_hover","warning-fade":"bg-background-warning-fade text-foreground-warning hover:bg-background-warning-fade-hover",contrast:"bg-background-contrast text-foreground-on-contrast hover:bg-background-contrast/80"},size:{sm:"h-[24px]",default:"h-7",lg:"h-7"},iconVariant:{default:"[&_svg]:text-icon",black:"[&_svg]:text-foreground",secondary:"[&_svg]:text-icon-secondary"},layout:{default:"inline-flex",truncate:"text-ellipsis line-clamp-1"}},defaultVariants:{layout:"default",variant:"default",size:"default"}});function Hf({className:e,variant:n,size:t,icon:r,iconRight:o,iconVariant:a,layout:s,children:i,...l}){return u.jsxs("div",{className:P(b2({variant:n,size:t,iconVariant:n==="secondary"?a:void 0,layout:s}),l.onClick?"cursor-pointer":"cursor-default pointer-events-none",e),title:typeof i=="string"?i:l.title,...l,children:[r&&u.jsx("div",{className:i?"ml-[-4px]":"",children:r}),i,o&&u.jsx("div",{className:i?"mr-[-4px]":"",children:o})]})}function x2(e,n){if(typeof e=="function")return e(n);e!=null&&(e.current=n)}function an(...e){return n=>{let t=!1;const r=e.map(o=>{const a=x2(o,n);return!t&&typeof a=="function"&&(t=!0),a});if(t)return()=>{for(let o=0;o<r.length;o++){const a=r[o];typeof a=="function"?a():x2(e[o],null)}}}}function ye(...e){return c.useCallback(an(...e),e)}function bn(e){const n=Af(e),t=c.forwardRef((r,o)=>{const{children:a,...s}=r,i=c.Children.toArray(a),l=i.find($f);if(l){const d=l.props.children,f=i.map(h=>h===l?c.Children.count(d)>1?c.Children.only(null):c.isValidElement(d)?d.props.children:null:h);return u.jsx(n,{...s,ref:o,children:c.isValidElement(d)?c.cloneElement(d,void 0,f):null})}return u.jsx(n,{...s,ref:o,children:a})});return t.displayName=`${e}.Slot`,t}var S2=bn("Slot");function Af(e){const n=c.forwardRef((t,r)=>{const{children:o,...a}=t;if(c.isValidElement(o)){const s=Zf(o),i=zf(a,o.props);return o.type!==c.Fragment&&(i.ref=r?an(r,s):s),c.cloneElement(o,i)}return c.Children.count(o)>1?c.Children.only(null):null});return n.displayName=`${e}.SlotClone`,n}var M2=Symbol("radix.slottable");function Ff(e){const n=({children:t})=>u.jsx(u.Fragment,{children:t});return n.displayName=`${e}.Slottable`,n.__radixId=M2,n}function $f(e){return c.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===M2}function zf(e,n){const t={...n};for(const r in n){const o=e[r],a=n[r];/^on[A-Z]/.test(r)?o&&a?t[r]=(...i)=>{const l=a(...i);return o(...i),l}:o&&(t[r]=o):r==="style"?t[r]={...o,...a}:r==="className"&&(t[r]=[o,a].filter(Boolean).join(" "))}return{...e,...t}}function Zf(e){var r,o;let n=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,t=n&&"isReactWarning"in n&&n.isReactWarning;return t?e.ref:(n=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,t=n&&"isReactWarning"in n&&n.isReactWarning,t?e.props.ref:e.props.ref||e.ref)}const pr=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M7 9.5L12 14.5L17 9.5H7Z"})),xn=yn("tracking-[0.15px] inline-flex select-none gap-1 items-center justify-center whitespace-nowrap rounded-lg text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none disabled:pointer-events-none disabled:opacity-80",{variants:{variant:{"fade-contrast-filled":"bg-background-contrast-fade text-foreground-primary hover:bg-background-contrast-fade-hover disabled:bg-background-contrast-fade-disabled disabled:text-foreground-primary-disabled [&_svg]:text-icon-contrast disabled:[&_svg]:text-icon-contrast-disabled","fade-contrast-outlined":"border border-line-primary bg-transparent text-foreground-primary hover:bg-background-primary-hover hover:border-line-primary disabled:border-line-primary-disabled disabled:text-foreground-primary-disabled [&_svg]:text-icon-contrast disabled:[&_svg]:text-icon-contrast-disabled","fade-contrast-transparent":"bg-transparent text-foreground-primary hover:bg-background-primary-hover disabled:text-foreground-primary-disabled [&_svg]:text-icon-contrast disabled:[&_svg]:text-icon-contrast-disabled","theme-filled":"bg-background-theme text-foreground-on-contrast hover:bg-background-theme-hover disabled:bg-background-contrast-fade-disabled disabled:text-foreground-primary-disabled [&_svg]:text-icon-on-contrast disabled:[&_svg]:text-icon-contrast-disabled","warning-filled":"bg-background-error text-foreground-on-contrast hover:bg-background-error-hover disabled:bg-background-contrast-fade-disabled disabled:text-foreground-primary-disabled [&_svg]:text-icon-on-contrast disabled:[&_svg]:text-icon-contrast-disabled","nav-item":"font-normal hover:bg-background-contrast-fade-selected/30 text-foreground-tertiary hover:text-foreground-white","nav-item-selected":"font-normal bg-background-contrast-fade-selected/30 text-foreground-sidebar-active"},size:{default:"h-9 px-4 py-2",xs:"h-[30px] text-sm font-semibold px-3",sm:"h-9 px-3 py-2",lg:"h-10 px-8",xl:"h-12 px-8",xxl:"h-16 px-8",xxxl:"h-20 px-8 font-medium",icon:"h-9 w-9"}},defaultVariants:{variant:"fade-contrast-filled",size:"default"}}),_e=c.forwardRef(({className:e,variant:n,size:t,asChild:r=!1,asDropdown:o,icon:a,children:s,...i},l)=>{const d=r?S2:"button";return r?u.jsx(d,{className:P(xn({variant:n,size:t,className:e})),ref:l,...i,children:s}):u.jsxs(d,{className:P(xn({variant:n,size:t,className:e})),ref:l,...i,children:[a&&u.jsx("span",{className:"w-6 h-6 flex items-center justify-center",children:a}),s,o&&u.jsx(pr,{className:"w-6 h-6"})]})});_e.displayName="Button";function Bf(e,n,t="long"){return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:e,timeZoneName:t}).format(n).split(/\s/g).slice(2).join(" ")}const ys={},ro={};function sn(e,n){try{const r=(ys[e]||(ys[e]=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format))(n).split("GMT")[1];return r in ro?ro[r]:E2(r,r.split(":"))}catch{if(e in ro)return ro[e];const t=e==null?void 0:e.match(Wf);return t?E2(e,t.slice(1)):NaN}}const Wf=/([+-]\d\d):?(\d\d)?/;function E2(e,n){const t=+(n[0]||0),r=+(n[1]||0),o=+(n[2]||0)/60;return ro[e]=t*60+r>0?t*60+r+o:t*60-r-o}class Bt extends Date{constructor(...n){super(),n.length>1&&typeof n[n.length-1]=="string"&&(this.timeZone=n.pop()),this.internal=new Date,isNaN(sn(this.timeZone,this))?this.setTime(NaN):n.length?typeof n[0]=="number"&&(n.length===1||n.length===2&&typeof n[1]!="number")?this.setTime(n[0]):typeof n[0]=="string"?this.setTime(+new Date(n[0])):n[0]instanceof Date?this.setTime(+n[0]):(this.setTime(+new Date(...n)),N2(this,n)):this.setTime(Date.now())}static tz(n,...t){return t.length?new Bt(...t,n):new Bt(Date.now(),n)}withTimeZone(n){return new Bt(+this,n)}getTimezoneOffset(){const n=-sn(this.timeZone,this);return n>0?Math.floor(n):Math.ceil(n)}setTime(n){return Date.prototype.setTime.apply(this,arguments),v1(this),+this}[Symbol.for("constructDateFrom")](n){return new Bt(+new Date(n),this.timeZone)}}const L2=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!L2.test(e))return;const n=e.replace(L2,"$1UTC");Bt.prototype[n]&&(e.startsWith("get")?Bt.prototype[e]=function(){return this.internal[n]()}:(Bt.prototype[e]=function(){return Date.prototype[n].apply(this.internal,arguments),Gf(this),+this},Bt.prototype[n]=function(){return Date.prototype[n].apply(this,arguments),v1(this),+this}))});function v1(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-sn(e.timeZone,e)*60))}function Gf(e){Date.prototype.setFullYear.call(e,e.internal.getUTCFullYear(),e.internal.getUTCMonth(),e.internal.getUTCDate()),Date.prototype.setHours.call(e,e.internal.getUTCHours(),e.internal.getUTCMinutes(),e.internal.getUTCSeconds(),e.internal.getUTCMilliseconds()),N2(e)}function N2(e,n){const t=Array.isArray(n)?Rf(n):+e.internal,r=sn(e.timeZone,e),o=r>0?Math.floor(r):Math.ceil(r),a=new Date(+e);a.setUTCHours(a.getUTCHours()-1);const s=-new Date(+e).getTimezoneOffset(),i=-new Date(+a).getTimezoneOffset(),l=s-i;let d=s;if(l&&s!==o){const O=Date.prototype.getHours.apply(e),_=Array.isArray(n)?n[3]||0:e.internal.getUTCHours();if(O!==_){const V=new Date(+e),$=s-o;$&&V.setUTCMinutes(V.getUTCMinutes()+$);const j=sn(e.timeZone,V);(j>0?Math.floor(j):Math.ceil(j))===o&&(d=i)}}const f=d-o;f&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+f);const h=new Date(+e);h.setUTCSeconds(0);const g=s>0?h.getSeconds():(h.getSeconds()-60)%60,C=Math.round(-(sn(e.timeZone,e)*60))%60;(C||g)&&Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+C+g);const v=sn(e.timeZone,e),p=v>0?Math.floor(v):Math.ceil(v),w=-new Date(+e).getTimezoneOffset()-p,y=p!==o,b=w-f,S=p-o,E=t-p*60*1e3,M=S>0&&k2(e)-t===S*60*1e3&&k2(e,E)!==t;if(y&&b&&!M){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+b);const O=sn(e.timeZone,e),_=O>0?Math.floor(O):Math.ceil(O),V=p-_;V&&b<0&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+V)}v1(e);const I=(n?t:t+C*1e3)-+e.internal;I&&Math.abs(I)<30*60*1e3&&(Date.prototype.setTime.call(e,+e+I),v1(e))}function Rf(e){return Date.UTC(e[0],e.length>1?e[1]:0,e.length>2?e[2]:1,...e.slice(3))}function k2(e,n){const t=new Date(n??+e);return t.setUTCSeconds(t.getUTCSeconds()-Math.round(-sn(e.timeZone,t)*60)),+t}class dt extends Bt{static tz(n,...t){return t.length?new dt(...t,n):new dt(Date.now(),n)}toISOString(){const[n,t,r]=this.tzComponents(),o=`${n}${t}:${r}`;return this.internal.toISOString().slice(0,-1)+o}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){const[n,t,r,o]=this.internal.toUTCString().split(" ");return`${n==null?void 0:n.slice(0,-1)} ${r} ${t} ${o}`}toTimeString(){const n=this.internal.toUTCString().split(" ")[4],[t,r,o]=this.tzComponents();return`${n} GMT${t}${r}${o} (${Bf(this.timeZone,this)})`}toLocaleString(n,t){return Date.prototype.toLocaleString.call(this,n,{...t,timeZone:(t==null?void 0:t.timeZone)||this.timeZone})}toLocaleDateString(n,t){return Date.prototype.toLocaleDateString.call(this,n,{...t,timeZone:(t==null?void 0:t.timeZone)||this.timeZone})}toLocaleTimeString(n,t){return Date.prototype.toLocaleTimeString.call(this,n,{...t,timeZone:(t==null?void 0:t.timeZone)||this.timeZone})}tzComponents(){const n=this.getTimezoneOffset(),t=n>0?"-":"+",r=String(Math.floor(Math.abs(n)/60)).padStart(2,"0"),o=String(Math.abs(n)%60).padStart(2,"0");return[t,r,o]}withTimeZone(n){return new dt(+this,n)}[Symbol.for("constructDateFrom")](n){return new dt(+new Date(n),this.timeZone)}}const P2=6048e5,jf=864e5,I2=Symbol.for("constructDateFrom");function Je(e,n){return typeof e=="function"?e(n):e&&typeof e=="object"&&I2 in e?e[I2](n):e instanceof Date?new e.constructor(n):new Date(n)}function Ve(e,n){return Je(n||e,e)}function O2(e,n,t){const r=Ve(e,t==null?void 0:t.in);return isNaN(n)?Je(e,NaN):(n&&r.setDate(r.getDate()+n),r)}function T2(e,n,t){const r=Ve(e,t==null?void 0:t.in);if(isNaN(n))return Je(e,NaN);if(!n)return r;const o=r.getDate(),a=Je(e,r.getTime());a.setMonth(r.getMonth()+n+1,0);const s=a.getDate();return o>=s?a:(r.setFullYear(a.getFullYear(),a.getMonth(),o),r)}let Yf={};function oo(){return Yf}function Cr(e,n){var i,l,d,f;const t=oo(),r=(n==null?void 0:n.weekStartsOn)??((l=(i=n==null?void 0:n.locale)==null?void 0:i.options)==null?void 0:l.weekStartsOn)??t.weekStartsOn??((f=(d=t.locale)==null?void 0:d.options)==null?void 0:f.weekStartsOn)??0,o=Ve(e,n==null?void 0:n.in),a=o.getDay(),s=(a<r?7:0)+a-r;return o.setDate(o.getDate()-s),o.setHours(0,0,0,0),o}function ao(e,n){return Cr(e,{...n,weekStartsOn:1})}function D2(e,n){const t=Ve(e,n==null?void 0:n.in),r=t.getFullYear(),o=Je(t,0);o.setFullYear(r+1,0,4),o.setHours(0,0,0,0);const a=ao(o),s=Je(t,0);s.setFullYear(r,0,4),s.setHours(0,0,0,0);const i=ao(s);return t.getTime()>=a.getTime()?r+1:t.getTime()>=i.getTime()?r:r-1}function _2(e){const n=Ve(e),t=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()));return t.setUTCFullYear(n.getFullYear()),+e-+t}function mr(e,...n){const t=Je.bind(null,n.find(r=>typeof r=="object"));return n.map(t)}function so(e,n){const t=Ve(e,n==null?void 0:n.in);return t.setHours(0,0,0,0),t}function bs(e,n,t){const[r,o]=mr(t==null?void 0:t.in,e,n),a=so(r),s=so(o),i=+a-_2(a),l=+s-_2(s);return Math.round((i-l)/jf)}function qf(e,n){const t=D2(e,n),r=Je(e,0);return r.setFullYear(t,0,4),r.setHours(0,0,0,0),ao(r)}function Uf(e,n,t){return O2(e,n*7,t)}function Xf(e,n,t){return T2(e,n*12,t)}function Kf(e,n){let t,r=n==null?void 0:n.in;return e.forEach(o=>{!r&&typeof o=="object"&&(r=Je.bind(null,o));const a=Ve(o,r);(!t||t<a||isNaN(+a))&&(t=a)}),Je(r,t||NaN)}function Qf(e,n){let t,r=n==null?void 0:n.in;return e.forEach(o=>{!r&&typeof o=="object"&&(r=Je.bind(null,o));const a=Ve(o,r);(!t||t>a||isNaN(+a))&&(t=a)}),Je(r,t||NaN)}function Jf(e,n,t){const[r,o]=mr(t==null?void 0:t.in,e,n);return+so(r)==+so(o)}function V2(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function eh(e){return!(!V2(e)&&typeof e!="number"||isNaN(+Ve(e)))}function H2(e,n,t){const[r,o]=mr(t==null?void 0:t.in,e,n),a=r.getFullYear()-o.getFullYear(),s=r.getMonth()-o.getMonth();return a*12+s}function th(e,n){const t=Ve(e,n==null?void 0:n.in),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(23,59,59,999),t}function A2(e,n){const[t,r]=mr(e,n.start,n.end);return{start:t,end:r}}function nh(e,n){const{start:t,end:r}=A2(n==null?void 0:n.in,e);let o=+t>+r;const a=o?+t:+r,s=o?r:t;s.setHours(0,0,0,0),s.setDate(1);let i=1;const l=[];for(;+s<=a;)l.push(Je(t,s)),s.setMonth(s.getMonth()+i);return o?l.reverse():l}function rh(e,n){const t=Ve(e,n==null?void 0:n.in);return t.setDate(1),t.setHours(0,0,0,0),t}function oh(e,n){const t=Ve(e,n==null?void 0:n.in),r=t.getFullYear();return t.setFullYear(r+1,0,0),t.setHours(23,59,59,999),t}function F2(e,n){const t=Ve(e,n==null?void 0:n.in);return t.setFullYear(t.getFullYear(),0,1),t.setHours(0,0,0,0),t}function ah(e,n){const{start:t,end:r}=A2(n==null?void 0:n.in,e);let o=+t>+r;const a=o?+t:+r,s=o?r:t;s.setHours(0,0,0,0),s.setMonth(0,1);let i=1;const l=[];for(;+s<=a;)l.push(Je(t,s)),s.setFullYear(s.getFullYear()+i);return o?l.reverse():l}function $2(e,n){var i,l,d,f;const t=oo(),r=(n==null?void 0:n.weekStartsOn)??((l=(i=n==null?void 0:n.locale)==null?void 0:i.options)==null?void 0:l.weekStartsOn)??t.weekStartsOn??((f=(d=t.locale)==null?void 0:d.options)==null?void 0:f.weekStartsOn)??0,o=Ve(e,n==null?void 0:n.in),a=o.getDay(),s=(a<r?-7:0)+6-(a-r);return o.setDate(o.getDate()+s),o.setHours(23,59,59,999),o}function sh(e,n){return $2(e,{...n,weekStartsOn:1})}const ih={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},lh=(e,n,t)=>{let r;const o=ih[e];return typeof o=="string"?r=o:n===1?r=o.one:r=o.other.replace("{{count}}",n.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in "+r:r+" ago":r};function xs(e){return(n={})=>{const t=n.width?String(n.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}const ch={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},uh={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dh={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},fh={date:xs({formats:ch,defaultWidth:"full"}),time:xs({formats:uh,defaultWidth:"full"}),dateTime:xs({formats:dh,defaultWidth:"full"})},hh={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},gh=(e,n,t,r)=>hh[e];function io(e){return(n,t)=>{const r=t!=null&&t.context?String(t.context):"standalone";let o;if(r==="formatting"&&e.formattingValues){const s=e.defaultFormattingWidth||e.defaultWidth,i=t!=null&&t.width?String(t.width):s;o=e.formattingValues[i]||e.formattingValues[s]}else{const s=e.defaultWidth,i=t!=null&&t.width?String(t.width):e.defaultWidth;o=e.values[i]||e.values[s]}const a=e.argumentCallback?e.argumentCallback(n):n;return o[a]}}const ph={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Ch={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},mh={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},vh={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},wh={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},yh={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},bh={ordinalNumber:(e,n)=>{const t=Number(e),r=t%100;if(r>20||r<10)switch(r%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},era:io({values:ph,defaultWidth:"wide"}),quarter:io({values:Ch,defaultWidth:"wide",argumentCallback:e=>e-1}),month:io({values:mh,defaultWidth:"wide"}),day:io({values:vh,defaultWidth:"wide"}),dayPeriod:io({values:wh,defaultWidth:"wide",formattingValues:yh,defaultFormattingWidth:"wide"})};function lo(e){return(n,t={})=>{const r=t.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=n.match(o);if(!a)return null;const s=a[0],i=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(i)?Sh(i,h=>h.test(s)):xh(i,h=>h.test(s));let d;d=e.valueCallback?e.valueCallback(l):l,d=t.valueCallback?t.valueCallback(d):d;const f=n.slice(s.length);return{value:d,rest:f}}}function xh(e,n){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&n(e[t]))return t}function Sh(e,n){for(let t=0;t<e.length;t++)if(n(e[t]))return t}function Mh(e){return(n,t={})=>{const r=n.match(e.matchPattern);if(!r)return null;const o=r[0],a=n.match(e.parsePattern);if(!a)return null;let s=e.valueCallback?e.valueCallback(a[0]):a[0];s=t.valueCallback?t.valueCallback(s):s;const i=n.slice(o.length);return{value:s,rest:i}}}const Eh=/^(\d+)(th|st|nd|rd)?/i,Lh=/\d+/i,Nh={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},kh={any:[/^b/i,/^(a|c)/i]},Ph={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Ih={any:[/1/i,/2/i,/3/i,/4/i]},Oh={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Th={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Dh={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},_h={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Vh={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Hh={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Ah={ordinalNumber:Mh({matchPattern:Eh,parsePattern:Lh,valueCallback:e=>parseInt(e,10)}),era:lo({matchPatterns:Nh,defaultMatchWidth:"wide",parsePatterns:kh,defaultParseWidth:"any"}),quarter:lo({matchPatterns:Ph,defaultMatchWidth:"wide",parsePatterns:Ih,defaultParseWidth:"any",valueCallback:e=>e+1}),month:lo({matchPatterns:Oh,defaultMatchWidth:"wide",parsePatterns:Th,defaultParseWidth:"any"}),day:lo({matchPatterns:Dh,defaultMatchWidth:"wide",parsePatterns:_h,defaultParseWidth:"any"}),dayPeriod:lo({matchPatterns:Vh,defaultMatchWidth:"any",parsePatterns:Hh,defaultParseWidth:"any"})},vr={code:"en-US",formatDistance:lh,formatLong:fh,formatRelative:gh,localize:bh,match:Ah,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Fh(e,n){const t=Ve(e,n==null?void 0:n.in);return bs(t,F2(t))+1}function Ss(e,n){const t=Ve(e,n==null?void 0:n.in),r=+ao(t)-+qf(t);return Math.round(r/P2)+1}function z2(e,n){var f,h,g,C;const t=Ve(e,n==null?void 0:n.in),r=t.getFullYear(),o=oo(),a=(n==null?void 0:n.firstWeekContainsDate)??((h=(f=n==null?void 0:n.locale)==null?void 0:f.options)==null?void 0:h.firstWeekContainsDate)??o.firstWeekContainsDate??((C=(g=o.locale)==null?void 0:g.options)==null?void 0:C.firstWeekContainsDate)??1,s=Je((n==null?void 0:n.in)||e,0);s.setFullYear(r+1,0,a),s.setHours(0,0,0,0);const i=Cr(s,n),l=Je((n==null?void 0:n.in)||e,0);l.setFullYear(r,0,a),l.setHours(0,0,0,0);const d=Cr(l,n);return+t>=+i?r+1:+t>=+d?r:r-1}function $h(e,n){var i,l,d,f;const t=oo(),r=(n==null?void 0:n.firstWeekContainsDate)??((l=(i=n==null?void 0:n.locale)==null?void 0:i.options)==null?void 0:l.firstWeekContainsDate)??t.firstWeekContainsDate??((f=(d=t.locale)==null?void 0:d.options)==null?void 0:f.firstWeekContainsDate)??1,o=z2(e,n),a=Je((n==null?void 0:n.in)||e,0);return a.setFullYear(o,0,r),a.setHours(0,0,0,0),Cr(a,n)}function Ms(e,n){const t=Ve(e,n==null?void 0:n.in),r=+Cr(t,n)-+$h(t,n);return Math.round(r/P2)+1}function Te(e,n){const t=e<0?"-":"",r=Math.abs(e).toString().padStart(n,"0");return t+r}const Sn={y(e,n){const t=e.getFullYear(),r=t>0?t:1-t;return Te(n==="yy"?r%100:r,n.length)},M(e,n){const t=e.getMonth();return n==="M"?String(t+1):Te(t+1,2)},d(e,n){return Te(e.getDate(),n.length)},a(e,n){const t=e.getHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return t.toUpperCase();case"aaa":return t;case"aaaaa":return t[0];case"aaaa":default:return t==="am"?"a.m.":"p.m."}},h(e,n){return Te(e.getHours()%12||12,n.length)},H(e,n){return Te(e.getHours(),n.length)},m(e,n){return Te(e.getMinutes(),n.length)},s(e,n){return Te(e.getSeconds(),n.length)},S(e,n){const t=n.length,r=e.getMilliseconds(),o=Math.trunc(r*Math.pow(10,t-3));return Te(o,n.length)}},wr={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Z2={G:function(e,n,t){const r=e.getFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return t.era(r,{width:"abbreviated"});case"GGGGG":return t.era(r,{width:"narrow"});case"GGGG":default:return t.era(r,{width:"wide"})}},y:function(e,n,t){if(n==="yo"){const r=e.getFullYear(),o=r>0?r:1-r;return t.ordinalNumber(o,{unit:"year"})}return Sn.y(e,n)},Y:function(e,n,t,r){const o=z2(e,r),a=o>0?o:1-o;if(n==="YY"){const s=a%100;return Te(s,2)}return n==="Yo"?t.ordinalNumber(a,{unit:"year"}):Te(a,n.length)},R:function(e,n){const t=D2(e);return Te(t,n.length)},u:function(e,n){const t=e.getFullYear();return Te(t,n.length)},Q:function(e,n,t){const r=Math.ceil((e.getMonth()+1)/3);switch(n){case"Q":return String(r);case"QQ":return Te(r,2);case"Qo":return t.ordinalNumber(r,{unit:"quarter"});case"QQQ":return t.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return t.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return t.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,n,t){const r=Math.ceil((e.getMonth()+1)/3);switch(n){case"q":return String(r);case"qq":return Te(r,2);case"qo":return t.ordinalNumber(r,{unit:"quarter"});case"qqq":return t.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return t.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return t.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,n,t){const r=e.getMonth();switch(n){case"M":case"MM":return Sn.M(e,n);case"Mo":return t.ordinalNumber(r+1,{unit:"month"});case"MMM":return t.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return t.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return t.month(r,{width:"wide",context:"formatting"})}},L:function(e,n,t){const r=e.getMonth();switch(n){case"L":return String(r+1);case"LL":return Te(r+1,2);case"Lo":return t.ordinalNumber(r+1,{unit:"month"});case"LLL":return t.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return t.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return t.month(r,{width:"wide",context:"standalone"})}},w:function(e,n,t,r){const o=Ms(e,r);return n==="wo"?t.ordinalNumber(o,{unit:"week"}):Te(o,n.length)},I:function(e,n,t){const r=Ss(e);return n==="Io"?t.ordinalNumber(r,{unit:"week"}):Te(r,n.length)},d:function(e,n,t){return n==="do"?t.ordinalNumber(e.getDate(),{unit:"date"}):Sn.d(e,n)},D:function(e,n,t){const r=Fh(e);return n==="Do"?t.ordinalNumber(r,{unit:"dayOfYear"}):Te(r,n.length)},E:function(e,n,t){const r=e.getDay();switch(n){case"E":case"EE":case"EEE":return t.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return t.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(r,{width:"short",context:"formatting"});case"EEEE":default:return t.day(r,{width:"wide",context:"formatting"})}},e:function(e,n,t,r){const o=e.getDay(),a=(o-r.weekStartsOn+8)%7||7;switch(n){case"e":return String(a);case"ee":return Te(a,2);case"eo":return t.ordinalNumber(a,{unit:"day"});case"eee":return t.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return t.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(o,{width:"short",context:"formatting"});case"eeee":default:return t.day(o,{width:"wide",context:"formatting"})}},c:function(e,n,t,r){const o=e.getDay(),a=(o-r.weekStartsOn+8)%7||7;switch(n){case"c":return String(a);case"cc":return Te(a,n.length);case"co":return t.ordinalNumber(a,{unit:"day"});case"ccc":return t.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return t.day(o,{width:"narrow",context:"standalone"});case"cccccc":return t.day(o,{width:"short",context:"standalone"});case"cccc":default:return t.day(o,{width:"wide",context:"standalone"})}},i:function(e,n,t){const r=e.getDay(),o=r===0?7:r;switch(n){case"i":return String(o);case"ii":return Te(o,n.length);case"io":return t.ordinalNumber(o,{unit:"day"});case"iii":return t.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return t.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return t.day(r,{width:"short",context:"formatting"});case"iiii":default:return t.day(r,{width:"wide",context:"formatting"})}},a:function(e,n,t){const o=e.getHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return t.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return t.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,n,t){const r=e.getHours();let o;switch(r===12?o=wr.noon:r===0?o=wr.midnight:o=r/12>=1?"pm":"am",n){case"b":case"bb":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return t.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return t.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,n,t){const r=e.getHours();let o;switch(r>=17?o=wr.evening:r>=12?o=wr.afternoon:r>=4?o=wr.morning:o=wr.night,n){case"B":case"BB":case"BBB":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return t.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return t.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,n,t){if(n==="ho"){let r=e.getHours()%12;return r===0&&(r=12),t.ordinalNumber(r,{unit:"hour"})}return Sn.h(e,n)},H:function(e,n,t){return n==="Ho"?t.ordinalNumber(e.getHours(),{unit:"hour"}):Sn.H(e,n)},K:function(e,n,t){const r=e.getHours()%12;return n==="Ko"?t.ordinalNumber(r,{unit:"hour"}):Te(r,n.length)},k:function(e,n,t){let r=e.getHours();return r===0&&(r=24),n==="ko"?t.ordinalNumber(r,{unit:"hour"}):Te(r,n.length)},m:function(e,n,t){return n==="mo"?t.ordinalNumber(e.getMinutes(),{unit:"minute"}):Sn.m(e,n)},s:function(e,n,t){return n==="so"?t.ordinalNumber(e.getSeconds(),{unit:"second"}):Sn.s(e,n)},S:function(e,n){return Sn.S(e,n)},X:function(e,n,t){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(n){case"X":return W2(r);case"XXXX":case"XX":return Rn(r);case"XXXXX":case"XXX":default:return Rn(r,":")}},x:function(e,n,t){const r=e.getTimezoneOffset();switch(n){case"x":return W2(r);case"xxxx":case"xx":return Rn(r);case"xxxxx":case"xxx":default:return Rn(r,":")}},O:function(e,n,t){const r=e.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+B2(r,":");case"OOOO":default:return"GMT"+Rn(r,":")}},z:function(e,n,t){const r=e.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+B2(r,":");case"zzzz":default:return"GMT"+Rn(r,":")}},t:function(e,n,t){const r=Math.trunc(+e/1e3);return Te(r,n.length)},T:function(e,n,t){return Te(+e,n.length)}};function B2(e,n=""){const t=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),a=r%60;return a===0?t+String(o):t+String(o)+n+Te(a,2)}function W2(e,n){return e%60===0?(e>0?"-":"+")+Te(Math.abs(e)/60,2):Rn(e,n)}function Rn(e,n=""){const t=e>0?"-":"+",r=Math.abs(e),o=Te(Math.trunc(r/60),2),a=Te(r%60,2);return t+o+n+a}const G2=(e,n)=>{switch(e){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},R2=(e,n)=>{switch(e){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},zh={p:R2,P:(e,n)=>{const t=e.match(/(P+)(p+)?/)||[],r=t[1],o=t[2];if(!o)return G2(e,n);let a;switch(r){case"P":a=n.dateTime({width:"short"});break;case"PP":a=n.dateTime({width:"medium"});break;case"PPP":a=n.dateTime({width:"long"});break;case"PPPP":default:a=n.dateTime({width:"full"});break}return a.replace("{{date}}",G2(r,n)).replace("{{time}}",R2(o,n))}},Zh=/^D+$/,Bh=/^Y+$/,Wh=["D","DD","YY","YYYY"];function Gh(e){return Zh.test(e)}function Rh(e){return Bh.test(e)}function jh(e,n,t){const r=Yh(e,n,t);if(console.warn(r),Wh.includes(e))throw new RangeError(r)}function Yh(e,n,t){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${n}\`) for formatting ${r} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const qh=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Uh=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Xh=/^'([^]*?)'?$/,Kh=/''/g,Qh=/[a-zA-Z]/;function co(e,n,t){var f,h,g,C,v,p,m,w;const r=oo(),o=(t==null?void 0:t.locale)??r.locale??vr,a=(t==null?void 0:t.firstWeekContainsDate)??((h=(f=t==null?void 0:t.locale)==null?void 0:f.options)==null?void 0:h.firstWeekContainsDate)??r.firstWeekContainsDate??((C=(g=r.locale)==null?void 0:g.options)==null?void 0:C.firstWeekContainsDate)??1,s=(t==null?void 0:t.weekStartsOn)??((p=(v=t==null?void 0:t.locale)==null?void 0:v.options)==null?void 0:p.weekStartsOn)??r.weekStartsOn??((w=(m=r.locale)==null?void 0:m.options)==null?void 0:w.weekStartsOn)??0,i=Ve(e,t==null?void 0:t.in);if(!eh(i))throw new RangeError("Invalid time value");let l=n.match(Uh).map(y=>{const b=y[0];if(b==="p"||b==="P"){const S=zh[b];return S(y,o.formatLong)}return y}).join("").match(qh).map(y=>{if(y==="''")return{isToken:!1,value:"'"};const b=y[0];if(b==="'")return{isToken:!1,value:Jh(y)};if(Z2[b])return{isToken:!0,value:y};if(b.match(Qh))throw new RangeError("Format string contains an unescaped latin alphabet character `"+b+"`");return{isToken:!1,value:y}});o.localize.preprocessor&&(l=o.localize.preprocessor(i,l));const d={firstWeekContainsDate:a,weekStartsOn:s,locale:o};return l.map(y=>{if(!y.isToken)return y.value;const b=y.value;(!(t!=null&&t.useAdditionalWeekYearTokens)&&Rh(b)||!(t!=null&&t.useAdditionalDayOfYearTokens)&&Gh(b))&&jh(b,n,String(e));const S=Z2[b[0]];return S(i,b,o.localize,d)}).join("")}function Jh(e){const n=e.match(Xh);return n?n[1].replace(Kh,"'"):e}function eg(e,n){const t=Ve(e,n==null?void 0:n.in),r=t.getFullYear(),o=t.getMonth(),a=Je(t,0);return a.setFullYear(r,o+1,0),a.setHours(0,0,0,0),a.getDate()}function tg(e,n){return Ve(e,n==null?void 0:n.in).getMonth()}function ng(e,n){return Ve(e,n==null?void 0:n.in).getFullYear()}function rg(e,n){return+Ve(e)>+Ve(n)}function og(e,n){return+Ve(e)<+Ve(n)}function ag(e,n,t){const[r,o]=mr(t==null?void 0:t.in,e,n);return r.getFullYear()===o.getFullYear()&&r.getMonth()===o.getMonth()}function sg(e,n,t){const[r,o]=mr(t==null?void 0:t.in,e,n);return r.getFullYear()===o.getFullYear()}function ig(e,n,t){const r=Ve(e,t==null?void 0:t.in),o=r.getFullYear(),a=r.getDate(),s=Je(e,0);s.setFullYear(o,n,15),s.setHours(0,0,0,0);const i=eg(s);return r.setMonth(n,Math.min(a,i)),r}function lg(e,n,t){const r=Ve(e,t==null?void 0:t.in);return isNaN(+r)?Je(e,NaN):(r.setFullYear(n),r)}const j2=5,cg=4;function ug(e,n){const t=n.startOfMonth(e),r=t.getDay()>0?t.getDay():7,o=n.addDays(e,-r+1),a=n.addDays(o,j2*7-1);return n.getMonth(e)===n.getMonth(a)?j2:cg}function Y2(e,n){const t=n.startOfMonth(e),r=t.getDay();return r===1?t:r===0?n.addDays(t,-1*6):n.addDays(t,-1*(r-1))}function dg(e,n){const t=Y2(e,n),r=ug(e,n);return n.addDays(t,r*7-1)}const q2={...vr,labels:{labelDayButton:(e,n,t,r)=>{let o;r&&typeof r.format=="function"?o=r.format.bind(r):o=(s,i)=>co(s,i,{locale:vr,...t});let a=o(e,"PPPP");return n.today&&(a=`Today, ${a}`),n.selected&&(a=`${a}, selected`),a},labelMonthDropdown:"Choose the Month",labelNext:"Go to the Next Month",labelPrevious:"Go to the Previous Month",labelWeekNumber:e=>`Week ${e}`,labelYearDropdown:"Choose the Year",labelGrid:(e,n,t)=>{let r;return t&&typeof t.format=="function"?r=t.format.bind(t):r=(o,a)=>co(o,a,{locale:vr,...n}),r(e,"LLLL yyyy")},labelGridcell:(e,n,t,r)=>{let o;r&&typeof r.format=="function"?o=r.format.bind(r):o=(s,i)=>co(s,i,{locale:vr,...t});let a=o(e,"PPPP");return n!=null&&n.today&&(a=`Today, ${a}`),a},labelNav:"Navigation bar",labelWeekNumberHeader:"Week Number",labelWeekday:(e,n,t)=>{let r;return t&&typeof t.format=="function"?r=t.format.bind(t):r=(o,a)=>co(o,a,{locale:vr,...n}),r(e,"cccc")}}};class bt{constructor(n,t){this.Date=Date,this.today=()=>{var r;return(r=this.overrides)!=null&&r.today?this.overrides.today():this.options.timeZone?dt.tz(this.options.timeZone):new this.Date},this.newDate=(r,o,a)=>{var s;return(s=this.overrides)!=null&&s.newDate?this.overrides.newDate(r,o,a):this.options.timeZone?new dt(r,o,a,this.options.timeZone):new Date(r,o,a)},this.addDays=(r,o)=>{var a;return(a=this.overrides)!=null&&a.addDays?this.overrides.addDays(r,o):O2(r,o)},this.addMonths=(r,o)=>{var a;return(a=this.overrides)!=null&&a.addMonths?this.overrides.addMonths(r,o):T2(r,o)},this.addWeeks=(r,o)=>{var a;return(a=this.overrides)!=null&&a.addWeeks?this.overrides.addWeeks(r,o):Uf(r,o)},this.addYears=(r,o)=>{var a;return(a=this.overrides)!=null&&a.addYears?this.overrides.addYears(r,o):Xf(r,o)},this.differenceInCalendarDays=(r,o)=>{var a;return(a=this.overrides)!=null&&a.differenceInCalendarDays?this.overrides.differenceInCalendarDays(r,o):bs(r,o)},this.differenceInCalendarMonths=(r,o)=>{var a;return(a=this.overrides)!=null&&a.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(r,o):H2(r,o)},this.eachMonthOfInterval=r=>{var o;return(o=this.overrides)!=null&&o.eachMonthOfInterval?this.overrides.eachMonthOfInterval(r):nh(r)},this.eachYearOfInterval=r=>{var i;const o=(i=this.overrides)!=null&&i.eachYearOfInterval?this.overrides.eachYearOfInterval(r):ah(r),a=new Set(o.map(l=>this.getYear(l)));if(a.size===o.length)return o;const s=[];return a.forEach(l=>{s.push(new Date(l,0,1))}),s},this.endOfBroadcastWeek=r=>{var o;return(o=this.overrides)!=null&&o.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(r):dg(r,this)},this.endOfISOWeek=r=>{var o;return(o=this.overrides)!=null&&o.endOfISOWeek?this.overrides.endOfISOWeek(r):sh(r)},this.endOfMonth=r=>{var o;return(o=this.overrides)!=null&&o.endOfMonth?this.overrides.endOfMonth(r):th(r)},this.endOfWeek=(r,o)=>{var a;return(a=this.overrides)!=null&&a.endOfWeek?this.overrides.endOfWeek(r,o):$2(r,this.options)},this.endOfYear=r=>{var o;return(o=this.overrides)!=null&&o.endOfYear?this.overrides.endOfYear(r):oh(r)},this.format=(r,o,a)=>{var i;const s=(i=this.overrides)!=null&&i.format?this.overrides.format(r,o,this.options):co(r,o,this.options);return this.options.numerals&&this.options.numerals!=="latn"?this.replaceDigits(s):s},this.getISOWeek=r=>{var o;return(o=this.overrides)!=null&&o.getISOWeek?this.overrides.getISOWeek(r):Ss(r)},this.getMonth=(r,o)=>{var a;return(a=this.overrides)!=null&&a.getMonth?this.overrides.getMonth(r,this.options):tg(r,this.options)},this.getYear=(r,o)=>{var a;return(a=this.overrides)!=null&&a.getYear?this.overrides.getYear(r,this.options):ng(r,this.options)},this.getWeek=(r,o)=>{var a;return(a=this.overrides)!=null&&a.getWeek?this.overrides.getWeek(r,this.options):Ms(r,this.options)},this.isAfter=(r,o)=>{var a;return(a=this.overrides)!=null&&a.isAfter?this.overrides.isAfter(r,o):rg(r,o)},this.isBefore=(r,o)=>{var a;return(a=this.overrides)!=null&&a.isBefore?this.overrides.isBefore(r,o):og(r,o)},this.isDate=r=>{var o;return(o=this.overrides)!=null&&o.isDate?this.overrides.isDate(r):V2(r)},this.isSameDay=(r,o)=>{var a;return(a=this.overrides)!=null&&a.isSameDay?this.overrides.isSameDay(r,o):Jf(r,o)},this.isSameMonth=(r,o)=>{var a;return(a=this.overrides)!=null&&a.isSameMonth?this.overrides.isSameMonth(r,o):ag(r,o)},this.isSameYear=(r,o)=>{var a;return(a=this.overrides)!=null&&a.isSameYear?this.overrides.isSameYear(r,o):sg(r,o)},this.max=r=>{var o;return(o=this.overrides)!=null&&o.max?this.overrides.max(r):Kf(r)},this.min=r=>{var o;return(o=this.overrides)!=null&&o.min?this.overrides.min(r):Qf(r)},this.setMonth=(r,o)=>{var a;return(a=this.overrides)!=null&&a.setMonth?this.overrides.setMonth(r,o):ig(r,o)},this.setYear=(r,o)=>{var a;return(a=this.overrides)!=null&&a.setYear?this.overrides.setYear(r,o):lg(r,o)},this.startOfBroadcastWeek=(r,o)=>{var a;return(a=this.overrides)!=null&&a.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(r,this):Y2(r,this)},this.startOfDay=r=>{var o;return(o=this.overrides)!=null&&o.startOfDay?this.overrides.startOfDay(r):so(r)},this.startOfISOWeek=r=>{var o;return(o=this.overrides)!=null&&o.startOfISOWeek?this.overrides.startOfISOWeek(r):ao(r)},this.startOfMonth=r=>{var o;return(o=this.overrides)!=null&&o.startOfMonth?this.overrides.startOfMonth(r):rh(r)},this.startOfWeek=(r,o)=>{var a;return(a=this.overrides)!=null&&a.startOfWeek?this.overrides.startOfWeek(r,this.options):Cr(r,this.options)},this.startOfYear=r=>{var o;return(o=this.overrides)!=null&&o.startOfYear?this.overrides.startOfYear(r):F2(r)},this.options={locale:q2,...n},this.overrides=t}getDigitMap(){const{numerals:n="latn"}=this.options,t=new Intl.NumberFormat("en-US",{numberingSystem:n}),r={};for(let o=0;o<10;o++)r[o.toString()]=t.format(o);return r}replaceDigits(n){const t=this.getDigitMap();return n.replace(/\d/g,r=>t[r]||r)}formatNumber(n){return this.replaceDigits(n.toString())}getMonthYearOrder(){var t;const n=(t=this.options.locale)==null?void 0:t.code;return n&&bt.yearFirstLocales.has(n)?"year-first":"month-first"}formatMonthYear(n){const{locale:t,timeZone:r,numerals:o}=this.options,a=t==null?void 0:t.code;if(a&&bt.yearFirstLocales.has(a))try{return new Intl.DateTimeFormat(a,{month:"long",year:"numeric",timeZone:r,numberingSystem:o}).format(n)}catch{}const s=this.getMonthYearOrder()==="year-first"?"y LLLL":"LLLL y";return this.format(n,s)}}bt.yearFirstLocales=new Set(["eu","hu","ja","ja-Hira","ja-JP","ko","ko-KR","lt","lt-LT","lv","lv-LV","mn","mn-MN","zh","zh-CN","zh-HK","zh-TW"]);const Wt=new bt;class U2{constructor(n,t,r=Wt){this.date=n,this.displayMonth=t,this.outside=!!(t&&!r.isSameMonth(n,t)),this.dateLib=r,this.isoDate=r.format(n,"yyyy-MM-dd"),this.displayMonthId=r.format(t,"yyyy-MM"),this.dateMonthId=r.format(n,"yyyy-MM")}isEqualTo(n){return this.dateLib.isSameDay(n.date,this.date)&&this.dateLib.isSameMonth(n.displayMonth,this.displayMonth)}}class fg{constructor(n,t){this.date=n,this.weeks=t}}class hg{constructor(n,t){this.days=t,this.weekNumber=n}}function gg(e){return k.createElement("button",{...e})}function pg(e){return k.createElement("span",{...e})}function Cg(e){const{size:n=24,orientation:t="left",className:r}=e;return k.createElement("svg",{className:r,width:n,height:n,viewBox:"0 0 24 24"},t==="up"&&k.createElement("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),t==="down"&&k.createElement("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),t==="left"&&k.createElement("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),t==="right"&&k.createElement("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))}function mg(e){const{day:n,modifiers:t,...r}=e;return k.createElement("td",{...r})}function vg(e){const{day:n,modifiers:t,...r}=e,o=k.useRef(null);return k.useEffect(()=>{var a;t.focused&&((a=o.current)==null||a.focus())},[t.focused]),k.createElement("button",{ref:o,...r})}var fe;(function(e){e.Root="root",e.Chevron="chevron",e.Day="day",e.DayButton="day_button",e.CaptionLabel="caption_label",e.Dropdowns="dropdowns",e.Dropdown="dropdown",e.DropdownRoot="dropdown_root",e.Footer="footer",e.MonthGrid="month_grid",e.MonthCaption="month_caption",e.MonthsDropdown="months_dropdown",e.Month="month",e.Months="months",e.Nav="nav",e.NextMonthButton="button_next",e.PreviousMonthButton="button_previous",e.Week="week",e.Weeks="weeks",e.Weekday="weekday",e.Weekdays="weekdays",e.WeekNumber="week_number",e.WeekNumberHeader="week_number_header",e.YearsDropdown="years_dropdown"})(fe||(fe={}));var Ze;(function(e){e.disabled="disabled",e.hidden="hidden",e.outside="outside",e.focused="focused",e.today="today"})(Ze||(Ze={}));var It;(function(e){e.range_end="range_end",e.range_middle="range_middle",e.range_start="range_start",e.selected="selected"})(It||(It={}));var xt;(function(e){e.weeks_before_enter="weeks_before_enter",e.weeks_before_exit="weeks_before_exit",e.weeks_after_enter="weeks_after_enter",e.weeks_after_exit="weeks_after_exit",e.caption_after_enter="caption_after_enter",e.caption_after_exit="caption_after_exit",e.caption_before_enter="caption_before_enter",e.caption_before_exit="caption_before_exit"})(xt||(xt={}));function wg(e){const{options:n,className:t,components:r,classNames:o,...a}=e,s=[o[fe.Dropdown],t].join(" "),i=n==null?void 0:n.find(({value:l})=>l===a.value);return k.createElement("span",{"data-disabled":a.disabled,className:o[fe.DropdownRoot]},k.createElement(r.Select,{className:s,...a},n==null?void 0:n.map(({value:l,label:d,disabled:f})=>k.createElement(r.Option,{key:l,value:l,disabled:f},d))),k.createElement("span",{className:o[fe.CaptionLabel],"aria-hidden":!0},i==null?void 0:i.label,k.createElement(r.Chevron,{orientation:"down",size:18,className:o[fe.Chevron]})))}function yg(e){return k.createElement("div",{...e})}function bg(e){return k.createElement("div",{...e})}function xg(e){const{calendarMonth:n,displayIndex:t,...r}=e;return k.createElement("div",{...r},e.children)}function Sg(e){const{calendarMonth:n,displayIndex:t,...r}=e;return k.createElement("div",{...r})}function Mg(e){return k.createElement("table",{...e})}function Eg(e){return k.createElement("div",{...e})}const X2=k.createContext(void 0);function uo(){const e=k.useContext(X2);if(e===void 0)throw new Error("useDayPicker() must be used within a custom component.");return e}function Lg(e){const{components:n}=uo();return k.createElement(n.Dropdown,{...e})}function Ng(e){const{onPreviousClick:n,onNextClick:t,previousMonth:r,nextMonth:o,...a}=e,{components:s,classNames:i,labels:{labelPrevious:l,labelNext:d}}=uo(),f=k.useCallback(g=>{o&&(t==null||t(g))},[o,t]),h=k.useCallback(g=>{r&&(n==null||n(g))},[r,n]);return k.createElement("nav",{...a},k.createElement(s.PreviousMonthButton,{type:"button",className:i[fe.PreviousMonthButton],tabIndex:r?void 0:-1,"aria-disabled":r?void 0:!0,"aria-label":l(r),onClick:h},k.createElement(s.Chevron,{disabled:r?void 0:!0,className:i[fe.Chevron],orientation:"left"})),k.createElement(s.NextMonthButton,{type:"button",className:i[fe.NextMonthButton],tabIndex:o?void 0:-1,"aria-disabled":o?void 0:!0,"aria-label":d(o),onClick:f},k.createElement(s.Chevron,{disabled:o?void 0:!0,orientation:"right",className:i[fe.Chevron]})))}function kg(e){const{components:n}=uo();return k.createElement(n.Button,{...e})}function Pg(e){return k.createElement("option",{...e})}function Ig(e){const{components:n}=uo();return k.createElement(n.Button,{...e})}function Og(e){const{rootRef:n,...t}=e;return k.createElement("div",{...t,ref:n})}function Tg(e){return k.createElement("select",{...e})}function Dg(e){const{week:n,...t}=e;return k.createElement("tr",{...t})}function _g(e){return k.createElement("th",{...e})}function Vg(e){return k.createElement("thead",{"aria-hidden":!0},k.createElement("tr",{...e}))}function Hg(e){const{week:n,...t}=e;return k.createElement("th",{...t})}function Ag(e){return k.createElement("th",{...e})}function Fg(e){return k.createElement("tbody",{...e})}function $g(e){const{components:n}=uo();return k.createElement(n.Dropdown,{...e})}const zg=Object.freeze(Object.defineProperty({__proto__:null,Button:gg,CaptionLabel:pg,Chevron:Cg,Day:mg,DayButton:vg,Dropdown:wg,DropdownNav:yg,Footer:bg,Month:xg,MonthCaption:Sg,MonthGrid:Mg,Months:Eg,MonthsDropdown:Lg,Nav:Ng,NextMonthButton:kg,Option:Pg,PreviousMonthButton:Ig,Root:Og,Select:Tg,Week:Dg,WeekNumber:Hg,WeekNumberHeader:Ag,Weekday:_g,Weekdays:Vg,Weeks:Fg,YearsDropdown:$g},Symbol.toStringTag,{value:"Module"}));function ln(e,n,t=!1,r=Wt){let{from:o,to:a}=e;const{differenceInCalendarDays:s,isSameDay:i}=r;return o&&a?(s(a,o)<0&&([o,a]=[a,o]),s(n,o)>=(t?1:0)&&s(a,n)>=(t?1:0)):!t&&a?i(a,n):!t&&o?i(o,n):!1}function Es(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function w1(e){return!!(e&&typeof e=="object"&&"from"in e)}function Ls(e){return!!(e&&typeof e=="object"&&"after"in e)}function Ns(e){return!!(e&&typeof e=="object"&&"before"in e)}function K2(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function Q2(e,n){return Array.isArray(e)&&e.every(n.isDate)}function cn(e,n,t=Wt){const r=Array.isArray(n)?n:[n],{isSameDay:o,differenceInCalendarDays:a,isAfter:s}=t;return r.some(i=>{if(typeof i=="boolean")return i;if(t.isDate(i))return o(e,i);if(Q2(i,t))return i.some(l=>o(e,l));if(w1(i))return ln(i,e,!1,t);if(K2(i))return Array.isArray(i.dayOfWeek)?i.dayOfWeek.includes(e.getDay()):i.dayOfWeek===e.getDay();if(Es(i)){const l=a(i.before,e),d=a(i.after,e),f=l>0,h=d<0;return s(i.before,i.after)?h&&f:f||h}return Ls(i)?a(e,i.after)>0:Ns(i)?a(i.before,e)>0:typeof i=="function"?i(e):!1})}function Zg(e,n,t,r,o){const{disabled:a,hidden:s,modifiers:i,showOutsideDays:l,broadcastCalendar:d,today:f=o.today()}=n,{isSameDay:h,isSameMonth:g,startOfMonth:C,isBefore:v,endOfMonth:p,isAfter:m}=o,w=t&&C(t),y=r&&p(r),b={[Ze.focused]:[],[Ze.outside]:[],[Ze.disabled]:[],[Ze.hidden]:[],[Ze.today]:[]},S={};for(const E of e){const{date:M,displayMonth:L}=E,I=!!(L&&!g(M,L)),O=!!(w&&v(M,w)),_=!!(y&&m(M,y)),V=!!(a&&cn(M,a,o)),$=!!(s&&cn(M,s,o))||O||_||!d&&!l&&I||d&&l===!1&&I,j=h(M,f);I&&b.outside.push(E),V&&b.disabled.push(E),$&&b.hidden.push(E),j&&b.today.push(E),i&&Object.keys(i).forEach(F=>{const R=i==null?void 0:i[F];R&&cn(M,R,o)&&(S[F]?S[F].push(E):S[F]=[E])})}return E=>{const M={[Ze.focused]:!1,[Ze.disabled]:!1,[Ze.hidden]:!1,[Ze.outside]:!1,[Ze.today]:!1},L={};for(const I in b){const O=b[I];M[I]=O.some(_=>_===E)}for(const I in S)L[I]=S[I].some(O=>O===E);return{...M,...L}}}function Bg(e,n,t={}){return Object.entries(e).filter(([,o])=>o===!0).reduce((o,[a])=>(t[a]?o.push(t[a]):n[Ze[a]]?o.push(n[Ze[a]]):n[It[a]]&&o.push(n[It[a]]),o),[n[fe.Day]])}function Wg(e){return{...zg,...e}}function Gg(e){const n={"data-mode":e.mode??void 0,"data-required":"required"in e?e.required:void 0,"data-multiple-months":e.numberOfMonths&&e.numberOfMonths>1||void 0,"data-week-numbers":e.showWeekNumber||void 0,"data-broadcast-calendar":e.broadcastCalendar||void 0,"data-nav-layout":e.navLayout||void 0};return Object.entries(e).forEach(([t,r])=>{t.startsWith("data-")&&(n[t]=r)}),n}function Rg(){const e={};for(const n in fe)e[fe[n]]=`rdp-${fe[n]}`;for(const n in Ze)e[Ze[n]]=`rdp-${Ze[n]}`;for(const n in It)e[It[n]]=`rdp-${It[n]}`;for(const n in xt)e[xt[n]]=`rdp-${xt[n]}`;return e}function J2(e,n,t){return(t??new bt(n)).formatMonthYear(e)}const jg=J2;function Yg(e,n,t){return(t??new bt(n)).format(e,"d")}function qg(e,n=Wt){return n.format(e,"LLLL")}function Ug(e,n,t){return(t??new bt(n)).format(e,"cccccc")}function Xg(e,n=Wt){return e<10?n.formatNumber(`0${e.toLocaleString()}`):n.formatNumber(`${e.toLocaleString()}`)}function Kg(){return""}function eu(e,n=Wt){return n.format(e,"yyyy")}const Qg=Object.freeze(Object.defineProperty({__proto__:null,formatCaption:J2,formatDay:Yg,formatMonthCaption:jg,formatMonthDropdown:qg,formatWeekNumber:Xg,formatWeekNumberHeader:Kg,formatWeekdayName:Ug,formatYearCaption:eu,formatYearDropdown:eu},Symbol.toStringTag,{value:"Module"}));function Jg(e){return e!=null&&e.formatMonthCaption&&!e.formatCaption&&(e.formatCaption=e.formatMonthCaption),e!=null&&e.formatYearCaption&&!e.formatYearDropdown&&(e.formatYearDropdown=e.formatYearCaption),{...Qg,...e}}function ks(e,n,t,r){let o=(r??new bt(t)).format(e,"PPPP");return n.today&&(o=`Today, ${o}`),n.selected&&(o=`${o}, selected`),o}const ep=ks;function Ps(e,n,t){return(t??new bt(n)).formatMonthYear(e)}const tp=Ps;function tu(e,n,t,r){let o=(r??new bt(t)).format(e,"PPPP");return n!=null&&n.today&&(o=`Today, ${o}`),o}function nu(e){return"Choose the Month"}function ru(){return""}const np="Go to the Next Month";function ou(e,n){return np}function au(e){return"Go to the Previous Month"}function su(e,n,t){return(t??new bt(n)).format(e,"cccc")}function iu(e,n){return`Week ${e}`}function lu(e){return"Week Number"}function cu(e){return"Choose the Year"}const rp=Object.freeze(Object.defineProperty({__proto__:null,labelCaption:tp,labelDay:ep,labelDayButton:ks,labelGrid:Ps,labelGridcell:tu,labelMonthDropdown:nu,labelNav:ru,labelNext:ou,labelPrevious:au,labelWeekNumber:iu,labelWeekNumberHeader:lu,labelWeekday:su,labelYearDropdown:cu},Symbol.toStringTag,{value:"Module"})),Ot=(e,n,t)=>n||(t?typeof t=="function"?t:(...r)=>t:e);function op(e,n){var r;const t=((r=n.locale)==null?void 0:r.labels)??{};return{...rp,...e??{},labelDayButton:Ot(ks,e==null?void 0:e.labelDayButton,t.labelDayButton),labelMonthDropdown:Ot(nu,e==null?void 0:e.labelMonthDropdown,t.labelMonthDropdown),labelNext:Ot(ou,e==null?void 0:e.labelNext,t.labelNext),labelPrevious:Ot(au,e==null?void 0:e.labelPrevious,t.labelPrevious),labelWeekNumber:Ot(iu,e==null?void 0:e.labelWeekNumber,t.labelWeekNumber),labelYearDropdown:Ot(cu,e==null?void 0:e.labelYearDropdown,t.labelYearDropdown),labelGrid:Ot(Ps,e==null?void 0:e.labelGrid,t.labelGrid),labelGridcell:Ot(tu,e==null?void 0:e.labelGridcell,t.labelGridcell),labelNav:Ot(ru,e==null?void 0:e.labelNav,t.labelNav),labelWeekNumberHeader:Ot(lu,e==null?void 0:e.labelWeekNumberHeader,t.labelWeekNumberHeader),labelWeekday:Ot(su,e==null?void 0:e.labelWeekday,t.labelWeekday)}}function ap(e,n,t,r,o){const{startOfMonth:a,startOfYear:s,endOfYear:i,eachMonthOfInterval:l,getMonth:d}=o;return l({start:s(e),end:i(e)}).map(g=>{const C=r.formatMonthDropdown(g,o),v=d(g),p=n&&g<a(n)||t&&g>a(t)||!1;return{value:v,label:C,disabled:p}})}function sp(e,n={},t={}){let r={...n==null?void 0:n[fe.Day]};return Object.entries(e).filter(([,o])=>o===!0).forEach(([o])=>{r={...r,...t==null?void 0:t[o]}}),r}function ip(e,n,t,r){const o=r??e.today(),a=t?e.startOfBroadcastWeek(o,e):n?e.startOfISOWeek(o):e.startOfWeek(o),s=[];for(let i=0;i<7;i++){const l=e.addDays(a,i);s.push(l)}return s}function lp(e,n,t,r,o=!1){if(!e||!n)return;const{startOfYear:a,endOfYear:s,eachYearOfInterval:i,getYear:l}=r,d=a(e),f=s(n),h=i({start:d,end:f});return o&&h.reverse(),h.map(g=>{const C=t.formatYearDropdown(g,r);return{value:l(g),label:C,disabled:!1}})}function cp(e,n={}){var i;const{weekStartsOn:t,locale:r}=n,o=t??((i=r==null?void 0:r.options)==null?void 0:i.weekStartsOn)??0,a=l=>{const d=typeof l=="number"||typeof l=="string"?new Date(l):l;return new dt(d.getFullYear(),d.getMonth(),d.getDate(),12,0,0,e)},s=l=>{const d=a(l);return new Date(d.getFullYear(),d.getMonth(),d.getDate(),0,0,0,0)};return{today:()=>a(dt.tz(e)),newDate:(l,d,f)=>new dt(l,d,f,12,0,0,e),startOfDay:l=>a(l),startOfWeek:(l,d)=>{const f=a(l),h=(d==null?void 0:d.weekStartsOn)??o,g=(f.getDay()-h+7)%7;return f.setDate(f.getDate()-g),f},startOfISOWeek:l=>{const d=a(l),f=(d.getDay()-1+7)%7;return d.setDate(d.getDate()-f),d},startOfMonth:l=>{const d=a(l);return d.setDate(1),d},startOfYear:l=>{const d=a(l);return d.setMonth(0,1),d},endOfWeek:(l,d)=>{const f=a(l),C=((((d==null?void 0:d.weekStartsOn)??o)+6)%7-f.getDay()+7)%7;return f.setDate(f.getDate()+C),f},endOfISOWeek:l=>{const d=a(l),f=(7-d.getDay())%7;return d.setDate(d.getDate()+f),d},endOfMonth:l=>{const d=a(l);return d.setMonth(d.getMonth()+1,0),d},endOfYear:l=>{const d=a(l);return d.setMonth(11,31),d},eachMonthOfInterval:l=>{const d=a(l.start),f=a(l.end),h=[],g=new dt(d.getFullYear(),d.getMonth(),1,12,0,0,e),C=f.getFullYear()*12+f.getMonth();for(;g.getFullYear()*12+g.getMonth()<=C;)h.push(new dt(g,e)),g.setMonth(g.getMonth()+1,1);return h},addDays:(l,d)=>{const f=a(l);return f.setDate(f.getDate()+d),f},addWeeks:(l,d)=>{const f=a(l);return f.setDate(f.getDate()+d*7),f},addMonths:(l,d)=>{const f=a(l);return f.setMonth(f.getMonth()+d),f},addYears:(l,d)=>{const f=a(l);return f.setFullYear(f.getFullYear()+d),f},eachYearOfInterval:l=>{const d=a(l.start),f=a(l.end),h=[],g=new dt(d.getFullYear(),0,1,12,0,0,e);for(;g.getFullYear()<=f.getFullYear();)h.push(new dt(g,e)),g.setFullYear(g.getFullYear()+1,0,1);return h},getWeek:(l,d)=>{var h;const f=s(l);return Ms(f,{weekStartsOn:(d==null?void 0:d.weekStartsOn)??o,firstWeekContainsDate:(d==null?void 0:d.firstWeekContainsDate)??((h=r==null?void 0:r.options)==null?void 0:h.firstWeekContainsDate)??1})},getISOWeek:l=>{const d=s(l);return Ss(d)},differenceInCalendarDays:(l,d)=>{const f=s(l),h=s(d);return bs(f,h)},differenceInCalendarMonths:(l,d)=>{const f=s(l),h=s(d);return H2(f,h)}}}const fo=e=>e instanceof HTMLElement?e:null,Is=e=>[...e.querySelectorAll("[data-animated-month]")??[]],up=e=>fo(e.querySelector("[data-animated-month]")),Os=e=>fo(e.querySelector("[data-animated-caption]")),Ts=e=>fo(e.querySelector("[data-animated-weeks]")),dp=e=>fo(e.querySelector("[data-animated-nav]")),fp=e=>fo(e.querySelector("[data-animated-weekdays]"));function hp(e,n,{classNames:t,months:r,focused:o,dateLib:a}){const s=k.useRef(null),i=k.useRef(r),l=k.useRef(!1);k.useLayoutEffect(()=>{const d=i.current;if(i.current=r,!n||!e.current||!(e.current instanceof HTMLElement)||r.length===0||d.length===0||r.length!==d.length)return;const f=a.isSameMonth(r[0].date,d[0].date),h=a.isAfter(r[0].date,d[0].date),g=h?t[xt.caption_after_enter]:t[xt.caption_before_enter],C=h?t[xt.weeks_after_enter]:t[xt.weeks_before_enter],v=s.current,p=e.current.cloneNode(!0);if(p instanceof HTMLElement?(Is(p).forEach(b=>{if(!(b instanceof HTMLElement))return;const S=up(b);S&&b.contains(S)&&b.removeChild(S);const E=Os(b);E&&E.classList.remove(g);const M=Ts(b);M&&M.classList.remove(C)}),s.current=p):s.current=null,l.current||f||o)return;const m=v instanceof HTMLElement?Is(v):[],w=Is(e.current);if(w!=null&&w.every(y=>y instanceof HTMLElement)&&m&&m.every(y=>y instanceof HTMLElement)){l.current=!0,e.current.style.isolation="isolate";const y=dp(e.current);y&&(y.style.zIndex="1"),w.forEach((b,S)=>{const E=m[S];if(!E)return;b.style.position="relative",b.style.overflow="hidden";const M=Os(b);M&&M.classList.add(g);const L=Ts(b);L&&L.classList.add(C);const I=()=>{l.current=!1,e.current&&(e.current.style.isolation=""),y&&(y.style.zIndex=""),M&&M.classList.remove(g),L&&L.classList.remove(C),b.style.position="",b.style.overflow="",b.contains(E)&&b.removeChild(E)};E.style.pointerEvents="none",E.style.position="absolute",E.style.overflow="hidden",E.setAttribute("aria-hidden","true");const O=fp(E);O&&(O.style.opacity="0");const _=Os(E);_&&(_.classList.add(h?t[xt.caption_before_exit]:t[xt.caption_after_exit]),_.addEventListener("animationend",I));const V=Ts(E);V&&V.classList.add(h?t[xt.weeks_before_exit]:t[xt.weeks_after_exit]),b.insertBefore(E,b.firstChild)})}})}function gp(e,n,t,r){const o=e[0],a=e[e.length-1],{ISOWeek:s,fixedWeeks:i,broadcastCalendar:l}=t??{},{addDays:d,differenceInCalendarDays:f,differenceInCalendarMonths:h,endOfBroadcastWeek:g,endOfISOWeek:C,endOfMonth:v,endOfWeek:p,isAfter:m,startOfBroadcastWeek:w,startOfISOWeek:y,startOfWeek:b}=r,S=l?w(o,r):s?y(o):b(o),E=l?g(a):s?C(v(a)):p(v(a)),M=n&&(l?g(n):s?C(n):p(n)),L=M&&m(E,M)?M:E,I=f(L,S),O=h(a,o)+1,_=[];for(let j=0;j<=I;j++){const F=d(S,j);_.push(F)}const $=(l?35:42)*O;if(i&&_.length<$){const j=$-_.length;for(let F=0;F<j;F++){const R=d(_[_.length-1],1);_.push(R)}}return _}function pp(e){const n=[];return e.reduce((t,r)=>{const o=r.weeks.reduce((a,s)=>a.concat(s.days.slice()),n.slice());return t.concat(o.slice())},n.slice())}function Cp(e,n,t,r){const{numberOfMonths:o=1}=t,a=[];for(let s=0;s<o;s++){const i=r.addMonths(e,s);if(n&&i>n)break;a.push(i)}return a}function uu(e,n,t,r){const{month:o,defaultMonth:a,today:s=r.today(),numberOfMonths:i=1}=e;let l=o||a||s;const{differenceInCalendarMonths:d,addMonths:f,startOfMonth:h}=r;if(t&&d(t,l)<i-1){const g=-1*(i-1);l=f(t,g)}return n&&d(l,n)<0&&(l=n),h(l)}function mp(e,n,t,r){const{addDays:o,endOfBroadcastWeek:a,endOfISOWeek:s,endOfMonth:i,endOfWeek:l,getISOWeek:d,getWeek:f,startOfBroadcastWeek:h,startOfISOWeek:g,startOfWeek:C}=r,v=e.reduce((p,m)=>{const w=t.broadcastCalendar?h(m,r):t.ISOWeek?g(m):C(m),y=t.broadcastCalendar?a(m):t.ISOWeek?s(i(m)):l(i(m)),b=n.filter(L=>L>=w&&L<=y),S=t.broadcastCalendar?35:42;if(t.fixedWeeks&&b.length<S){const L=n.filter(I=>{const O=S-b.length;return I>y&&I<=o(y,O)});b.push(...L)}const E=b.reduce((L,I)=>{const O=t.ISOWeek?d(I):f(I),_=L.find($=>$.weekNumber===O),V=new U2(I,m,r);return _?_.days.push(V):L.push(new hg(O,[V])),L},[]),M=new fg(m,E);return p.push(M),p},[]);return t.reverseMonths?v.reverse():v}function vp(e,n){let{startMonth:t,endMonth:r}=e;const{startOfYear:o,startOfDay:a,startOfMonth:s,endOfMonth:i,addYears:l,endOfYear:d,newDate:f,today:h}=n,{fromYear:g,toYear:C,fromMonth:v,toMonth:p}=e;!t&&v&&(t=v),!t&&g&&(t=n.newDate(g,0,1)),!r&&p&&(r=p),!r&&C&&(r=f(C,11,31));const m=e.captionLayout==="dropdown"||e.captionLayout==="dropdown-years";return t?t=s(t):g?t=f(g,0,1):!t&&m&&(t=o(l(e.today??h(),-100))),r?r=i(r):C?r=f(C,11,31):!r&&m&&(r=d(e.today??h())),[t&&a(t),r&&a(r)]}function wp(e,n,t,r){if(t.disableNavigation)return;const{pagedNavigation:o,numberOfMonths:a=1}=t,{startOfMonth:s,addMonths:i,differenceInCalendarMonths:l}=r,d=o?a:1,f=s(e);if(!n)return i(f,d);if(!(l(n,e)<a))return i(f,d)}function yp(e,n,t,r){if(t.disableNavigation)return;const{pagedNavigation:o,numberOfMonths:a}=t,{startOfMonth:s,addMonths:i,differenceInCalendarMonths:l}=r,d=o?a??1:1,f=s(e);if(!n)return i(f,-d);if(!(l(f,n)<=0))return i(f,-d)}function bp(e){const n=[];return e.reduce((t,r)=>t.concat(r.weeks.slice()),n.slice())}function y1(e,n){const[t,r]=k.useState(e);return[n===void 0?t:n,r]}function xp(e,n){var S;const[t,r]=vp(e,n),{startOfMonth:o,endOfMonth:a}=n,s=uu(e,t,r,n),[i,l]=y1(s,e.month?s:void 0);k.useEffect(()=>{const E=uu(e,t,r,n);l(E)},[e.timeZone]);const{months:d,weeks:f,days:h,previousMonth:g,nextMonth:C}=k.useMemo(()=>{const E=Cp(i,r,{numberOfMonths:e.numberOfMonths},n),M=gp(E,e.endMonth?a(e.endMonth):void 0,{ISOWeek:e.ISOWeek,fixedWeeks:e.fixedWeeks,broadcastCalendar:e.broadcastCalendar},n),L=mp(E,M,{broadcastCalendar:e.broadcastCalendar,fixedWeeks:e.fixedWeeks,ISOWeek:e.ISOWeek,reverseMonths:e.reverseMonths},n),I=bp(L),O=pp(L),_=yp(i,t,e,n),V=wp(i,r,e,n);return{months:L,weeks:I,days:O,previousMonth:_,nextMonth:V}},[n,i.getTime(),r==null?void 0:r.getTime(),t==null?void 0:t.getTime(),e.disableNavigation,e.broadcastCalendar,(S=e.endMonth)==null?void 0:S.getTime(),e.fixedWeeks,e.ISOWeek,e.numberOfMonths,e.pagedNavigation,e.reverseMonths]),{disableNavigation:v,onMonthChange:p}=e,m=E=>f.some(M=>M.days.some(L=>L.isEqualTo(E))),w=E=>{if(v)return;let M=o(E);t&&M<o(t)&&(M=o(t)),r&&M>o(r)&&(M=o(r)),l(M),p==null||p(M)};return{months:d,weeks:f,days:h,navStart:t,navEnd:r,previousMonth:g,nextMonth:C,goToMonth:w,goToDay:E=>{m(E)||w(E.date)}}}var Gt;(function(e){e[e.Today=0]="Today",e[e.Selected=1]="Selected",e[e.LastFocused=2]="LastFocused",e[e.FocusedModifier=3]="FocusedModifier"})(Gt||(Gt={}));function du(e){return!e[Ze.disabled]&&!e[Ze.hidden]&&!e[Ze.outside]}function Sp(e,n,t,r){let o,a=-1;for(const s of e){const i=n(s);du(i)&&(i[Ze.focused]&&a<Gt.FocusedModifier?(o=s,a=Gt.FocusedModifier):r!=null&&r.isEqualTo(s)&&a<Gt.LastFocused?(o=s,a=Gt.LastFocused):t(s.date)&&a<Gt.Selected?(o=s,a=Gt.Selected):i[Ze.today]&&a<Gt.Today&&(o=s,a=Gt.Today))}return o||(o=e.find(s=>du(n(s)))),o}function Mp(e,n,t,r,o,a,s){const{ISOWeek:i,broadcastCalendar:l}=a,{addDays:d,addMonths:f,addWeeks:h,addYears:g,endOfBroadcastWeek:C,endOfISOWeek:v,endOfWeek:p,max:m,min:w,startOfBroadcastWeek:y,startOfISOWeek:b,startOfWeek:S}=s;let M={day:d,week:h,month:f,year:g,startOfWeek:L=>l?y(L,s):i?b(L):S(L),endOfWeek:L=>l?C(L):i?v(L):p(L)}[e](t,n==="after"?1:-1);return n==="before"&&r?M=m([r,M]):n==="after"&&o&&(M=w([o,M])),M}function fu(e,n,t,r,o,a,s,i=0){if(i>365)return;const l=Mp(e,n,t.date,r,o,a,s),d=!!(a.disabled&&cn(l,a.disabled,s)),f=!!(a.hidden&&cn(l,a.hidden,s)),h=l,g=new U2(l,h,s);return!d&&!f?g:fu(e,n,g,r,o,a,s,i+1)}function Ep(e,n,t,r,o){const{autoFocus:a}=e,[s,i]=k.useState(),l=Sp(n.days,t,r||(()=>!1),s),[d,f]=k.useState(a?l:void 0);return{isFocusTarget:p=>!!(l!=null&&l.isEqualTo(p)),setFocused:f,focused:d,blur:()=>{i(d),f(void 0)},moveFocus:(p,m)=>{if(!d)return;const w=fu(p,m,d,n.navStart,n.navEnd,e,o);w&&(e.disableNavigation&&!n.days.some(b=>b.isEqualTo(w))||(n.goToDay(w),f(w)))}}}function Lp(e,n){const{selected:t,required:r,onSelect:o}=e,[a,s]=y1(t,o?t:void 0),i=o?t:a,{isSameDay:l}=n,d=C=>(i==null?void 0:i.some(v=>l(v,C)))??!1,{min:f,max:h}=e;return{selected:i,select:(C,v,p)=>{let m=[...i??[]];if(d(C)){if((i==null?void 0:i.length)===f||r&&(i==null?void 0:i.length)===1)return;m=i==null?void 0:i.filter(w=>!l(w,C))}else(i==null?void 0:i.length)===h?m=[C]:m=[...m,C];return o||s(m),o==null||o(m,C,v,p),m},isSelected:d}}function Np(e,n,t=0,r=0,o=!1,a=Wt){const{from:s,to:i}=n||{},{isSameDay:l,isAfter:d,isBefore:f}=a;let h;if(!s&&!i)h={from:e,to:t>0?void 0:e};else if(s&&!i)l(s,e)?t===0?h={from:s,to:e}:o?h={from:s,to:void 0}:h=void 0:f(e,s)?h={from:e,to:s}:h={from:s,to:e};else if(s&&i)if(l(s,e)&&l(i,e))o?h={from:s,to:i}:h=void 0;else if(l(s,e))h={from:s,to:t>0?void 0:e};else if(l(i,e))h={from:e,to:t>0?void 0:e};else if(f(e,s))h={from:e,to:i};else if(d(e,s))h={from:s,to:e};else if(d(e,i))h={from:s,to:e};else throw new Error("Invalid range");if(h!=null&&h.from&&(h!=null&&h.to)){const g=a.differenceInCalendarDays(h.to,h.from);r>0&&g>r?h={from:e,to:void 0}:t>1&&g<t&&(h={from:e,to:void 0})}return h}function kp(e,n,t=Wt){const r=Array.isArray(n)?n:[n];let o=e.from;const a=t.differenceInCalendarDays(e.to,e.from),s=Math.min(a,6);for(let i=0;i<=s;i++){if(r.includes(o.getDay()))return!0;o=t.addDays(o,1)}return!1}function hu(e,n,t=Wt){return ln(e,n.from,!1,t)||ln(e,n.to,!1,t)||ln(n,e.from,!1,t)||ln(n,e.to,!1,t)}function Pp(e,n,t=Wt){const r=Array.isArray(n)?n:[n];if(r.filter(i=>typeof i!="function").some(i=>typeof i=="boolean"?i:t.isDate(i)?ln(e,i,!1,t):Q2(i,t)?i.some(l=>ln(e,l,!1,t)):w1(i)?i.from&&i.to?hu(e,{from:i.from,to:i.to},t):!1:K2(i)?kp(e,i.dayOfWeek,t):Es(i)?t.isAfter(i.before,i.after)?hu(e,{from:t.addDays(i.after,1),to:t.addDays(i.before,-1)},t):cn(e.from,i,t)||cn(e.to,i,t):Ls(i)||Ns(i)?cn(e.from,i,t)||cn(e.to,i,t):!1))return!0;const s=r.filter(i=>typeof i=="function");if(s.length){let i=e.from;const l=t.differenceInCalendarDays(e.to,e.from);for(let d=0;d<=l;d++){if(s.some(f=>f(i)))return!0;i=t.addDays(i,1)}}return!1}function Ip(e,n){const{disabled:t,excludeDisabled:r,resetOnSelect:o,selected:a,required:s,onSelect:i}=e,[l,d]=y1(a,i?a:void 0),f=i?a:l;return{selected:f,select:(C,v,p)=>{const{min:m,max:w}=e;let y;if(C){const b=f==null?void 0:f.from,S=f==null?void 0:f.to,E=!!b&&!!S,M=!!b&&!!S&&n.isSameDay(b,S)&&n.isSameDay(C,b);o&&(E||!(f!=null&&f.from))?!s&&M?y=void 0:y={from:C,to:void 0}:y=Np(C,f,m,w,s,n)}return r&&t&&(y!=null&&y.from)&&y.to&&Pp({from:y.from,to:y.to},t,n)&&(y.from=C,y.to=void 0),i||d(y),i==null||i(y,C,v,p),y},isSelected:C=>f&&ln(f,C,!1,n)}}function Op(e,n){const{selected:t,required:r,onSelect:o}=e,[a,s]=y1(t,o?t:void 0),i=o?t:a,{isSameDay:l}=n;return{selected:i,select:(h,g,C)=>{let v=h;return!r&&i&&i&&l(h,i)&&(v=void 0),o||s(v),o==null||o(v,h,g,C),v},isSelected:h=>i?l(i,h):!1}}function Tp(e,n){const t=Op(e,n),r=Lp(e,n),o=Ip(e,n);switch(e.mode){case"single":return t;case"multiple":return r;case"range":return o;default:return}}function Nt(e,n){return e instanceof dt&&e.timeZone===n?e:new dt(e,n)}function yr(e,n,t){return Nt(e,n)}function gu(e,n,t){return typeof e=="boolean"||typeof e=="function"?e:e instanceof Date?yr(e,n):Array.isArray(e)?e.map(r=>r instanceof Date?yr(r,n):r):w1(e)?{...e,from:e.from?Nt(e.from,n):e.from,to:e.to?Nt(e.to,n):e.to}:Es(e)?{before:yr(e.before,n),after:yr(e.after,n)}:Ls(e)?{after:yr(e.after,n)}:Ns(e)?{before:yr(e.before,n)}:e}function Ds(e,n,t){return e&&(Array.isArray(e)?e.map(r=>gu(r,n)):gu(e,n))}function Dp(e){var ct;let n=e;const t=n.timeZone;if(t&&(n={...e,timeZone:t},n.today&&(n.today=Nt(n.today,t)),n.month&&(n.month=Nt(n.month,t)),n.defaultMonth&&(n.defaultMonth=Nt(n.defaultMonth,t)),n.startMonth&&(n.startMonth=Nt(n.startMonth,t)),n.endMonth&&(n.endMonth=Nt(n.endMonth,t)),n.mode==="single"&&n.selected?n.selected=Nt(n.selected,t):n.mode==="multiple"&&n.selected?n.selected=(ct=n.selected)==null?void 0:ct.map(Ce=>Nt(Ce,t)):n.mode==="range"&&n.selected&&(n.selected={from:n.selected.from?Nt(n.selected.from,t):n.selected.from,to:n.selected.to?Nt(n.selected.to,t):n.selected.to}),n.disabled!==void 0&&(n.disabled=Ds(n.disabled,t)),n.hidden!==void 0&&(n.hidden=Ds(n.hidden,t)),n.modifiers)){const Ce={};Object.keys(n.modifiers).forEach(xe=>{var z;Ce[xe]=Ds((z=n.modifiers)==null?void 0:z[xe],t)}),n.modifiers=Ce}const{components:r,formatters:o,labels:a,dateLib:s,locale:i,classNames:l}=k.useMemo(()=>{const Ce={...q2,...n.locale},xe=n.broadcastCalendar?1:n.weekStartsOn,z=n.noonSafe&&n.timeZone?cp(n.timeZone,{weekStartsOn:xe,locale:Ce}):void 0,re=n.dateLib&&z?{...z,...n.dateLib}:n.dateLib??z,Ee=new bt({locale:Ce,weekStartsOn:xe,firstWeekContainsDate:n.firstWeekContainsDate,useAdditionalWeekYearTokens:n.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:n.useAdditionalDayOfYearTokens,timeZone:n.timeZone,numerals:n.numerals},re);return{dateLib:Ee,components:Wg(n.components),formatters:Jg(n.formatters),labels:op(n.labels,Ee.options),locale:Ce,classNames:{...Rg(),...n.classNames}}},[n.locale,n.broadcastCalendar,n.weekStartsOn,n.firstWeekContainsDate,n.useAdditionalWeekYearTokens,n.useAdditionalDayOfYearTokens,n.timeZone,n.numerals,n.dateLib,n.noonSafe,n.components,n.formatters,n.labels,n.classNames]);n.today||(n={...n,today:s.today()});const{captionLayout:d,mode:f,navLayout:h,numberOfMonths:g=1,onDayBlur:C,onDayClick:v,onDayFocus:p,onDayKeyDown:m,onDayMouseEnter:w,onDayMouseLeave:y,onNextClick:b,onPrevClick:S,showWeekNumber:E,styles:M}=n,{formatCaption:L,formatDay:I,formatMonthDropdown:O,formatWeekNumber:_,formatWeekNumberHeader:V,formatWeekdayName:$,formatYearDropdown:j}=o,F=xp(n,s),{days:R,months:Z,navStart:K,navEnd:q,previousMonth:G,nextMonth:oe,goToMonth:U}=F,D=Zg(R,n,K,q,s),{isSelected:T,select:N,selected:H}=Tp(n,s)??{},{blur:W,focused:A,isFocusTarget:Y,moveFocus:X,setFocused:J}=Ep(n,F,D,T??(()=>!1),s),{labelDayButton:te,labelGridcell:B,labelGrid:ae,labelMonthDropdown:ne,labelNav:se,labelPrevious:ge,labelNext:de,labelWeekday:pe,labelWeekNumber:Le,labelWeekNumberHeader:Fe,labelYearDropdown:Ae}=a,Ie=k.useMemo(()=>ip(s,n.ISOWeek,n.broadcastCalendar,n.today),[s,n.ISOWeek,n.broadcastCalendar,n.today]),Q=f!==void 0||v!==void 0,le=k.useCallback(()=>{G&&(U(G),S==null||S(G))},[G,U,S]),we=k.useCallback(()=>{oe&&(U(oe),b==null||b(oe))},[U,oe,b]),he=k.useCallback((Ce,xe)=>z=>{z.preventDefault(),z.stopPropagation(),J(Ce),!xe.disabled&&(N==null||N(Ce.date,xe,z),v==null||v(Ce.date,xe,z))},[N,v,J]),ke=k.useCallback((Ce,xe)=>z=>{J(Ce),p==null||p(Ce.date,xe,z)},[p,J]),Ne=k.useCallback((Ce,xe)=>z=>{W(),C==null||C(Ce.date,xe,z)},[W,C]),ze=k.useCallback((Ce,xe)=>z=>{const re={ArrowLeft:[z.shiftKey?"month":"day",n.dir==="rtl"?"after":"before"],ArrowRight:[z.shiftKey?"month":"day",n.dir==="rtl"?"before":"after"],ArrowDown:[z.shiftKey?"year":"week","after"],ArrowUp:[z.shiftKey?"year":"week","before"],PageUp:[z.shiftKey?"year":"month","before"],PageDown:[z.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(re[z.key]){z.preventDefault(),z.stopPropagation();const[Ee,ue]=re[z.key];X(Ee,ue)}m==null||m(Ce.date,xe,z)},[X,m,n.dir]),Pe=k.useCallback((Ce,xe)=>z=>{w==null||w(Ce.date,xe,z)},[w]),Qe=k.useCallback((Ce,xe)=>z=>{y==null||y(Ce.date,xe,z)},[y]),nt=k.useCallback(Ce=>xe=>{const z=Number(xe.target.value),re=s.setMonth(s.startOfMonth(Ce),z);U(re)},[s,U]),rt=k.useCallback(Ce=>xe=>{const z=Number(xe.target.value),re=s.setYear(s.startOfMonth(Ce),z);U(re)},[s,U]),{className:Ct,style:lt}=k.useMemo(()=>({className:[l[fe.Root],n.className].filter(Boolean).join(" "),style:{...M==null?void 0:M[fe.Root],...n.style}}),[l,n.className,n.style,M]),mt=Gg(n),st=k.useRef(null);hp(st,!!n.animate,{classNames:l,months:Z,focused:A,dateLib:s});const gt={dayPickerProps:n,selected:H,select:N,isSelected:T,months:Z,nextMonth:oe,previousMonth:G,goToMonth:U,getModifiers:D,components:r,classNames:l,styles:M,labels:a,formatters:o};return k.createElement(X2.Provider,{value:gt},k.createElement(r.Root,{rootRef:n.animate?st:void 0,className:Ct,style:lt,dir:n.dir,id:n.id,lang:n.lang??i.code,nonce:n.nonce,title:n.title,role:n.role,"aria-label":n["aria-label"],"aria-labelledby":n["aria-labelledby"],...mt},k.createElement(r.Months,{className:l[fe.Months],style:M==null?void 0:M[fe.Months]},!n.hideNavigation&&!h&&k.createElement(r.Nav,{"data-animated-nav":n.animate?"true":void 0,className:l[fe.Nav],style:M==null?void 0:M[fe.Nav],"aria-label":se(),onPreviousClick:le,onNextClick:we,previousMonth:G,nextMonth:oe}),Z.map((Ce,xe)=>k.createElement(r.Month,{"data-animated-month":n.animate?"true":void 0,className:l[fe.Month],style:M==null?void 0:M[fe.Month],key:xe,displayIndex:xe,calendarMonth:Ce},h==="around"&&!n.hideNavigation&&xe===0&&k.createElement(r.PreviousMonthButton,{type:"button",className:l[fe.PreviousMonthButton],tabIndex:G?void 0:-1,"aria-disabled":G?void 0:!0,"aria-label":ge(G),onClick:le,"data-animated-button":n.animate?"true":void 0},k.createElement(r.Chevron,{disabled:G?void 0:!0,className:l[fe.Chevron],orientation:n.dir==="rtl"?"right":"left"})),k.createElement(r.MonthCaption,{"data-animated-caption":n.animate?"true":void 0,className:l[fe.MonthCaption],style:M==null?void 0:M[fe.MonthCaption],calendarMonth:Ce,displayIndex:xe},d!=null&&d.startsWith("dropdown")?k.createElement(r.DropdownNav,{className:l[fe.Dropdowns],style:M==null?void 0:M[fe.Dropdowns]},(()=>{const z=d==="dropdown"||d==="dropdown-months"?k.createElement(r.MonthsDropdown,{key:"month",className:l[fe.MonthsDropdown],"aria-label":ne(),classNames:l,components:r,disabled:!!n.disableNavigation,onChange:nt(Ce.date),options:ap(Ce.date,K,q,o,s),style:M==null?void 0:M[fe.Dropdown],value:s.getMonth(Ce.date)}):k.createElement("span",{key:"month"},O(Ce.date,s)),re=d==="dropdown"||d==="dropdown-years"?k.createElement(r.YearsDropdown,{key:"year",className:l[fe.YearsDropdown],"aria-label":Ae(s.options),classNames:l,components:r,disabled:!!n.disableNavigation,onChange:rt(Ce.date),options:lp(K,q,o,s,!!n.reverseYears),style:M==null?void 0:M[fe.Dropdown],value:s.getYear(Ce.date)}):k.createElement("span",{key:"year"},j(Ce.date,s));return s.getMonthYearOrder()==="year-first"?[re,z]:[z,re]})(),k.createElement("span",{role:"status","aria-live":"polite",style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},L(Ce.date,s.options,s))):k.createElement(r.CaptionLabel,{className:l[fe.CaptionLabel],role:"status","aria-live":"polite"},L(Ce.date,s.options,s))),h==="around"&&!n.hideNavigation&&xe===g-1&&k.createElement(r.NextMonthButton,{type:"button",className:l[fe.NextMonthButton],tabIndex:oe?void 0:-1,"aria-disabled":oe?void 0:!0,"aria-label":de(oe),onClick:we,"data-animated-button":n.animate?"true":void 0},k.createElement(r.Chevron,{disabled:oe?void 0:!0,className:l[fe.Chevron],orientation:n.dir==="rtl"?"left":"right"})),xe===g-1&&h==="after"&&!n.hideNavigation&&k.createElement(r.Nav,{"data-animated-nav":n.animate?"true":void 0,className:l[fe.Nav],style:M==null?void 0:M[fe.Nav],"aria-label":se(),onPreviousClick:le,onNextClick:we,previousMonth:G,nextMonth:oe}),k.createElement(r.MonthGrid,{role:"grid","aria-multiselectable":f==="multiple"||f==="range","aria-label":ae(Ce.date,s.options,s)||void 0,className:l[fe.MonthGrid],style:M==null?void 0:M[fe.MonthGrid]},!n.hideWeekdays&&k.createElement(r.Weekdays,{"data-animated-weekdays":n.animate?"true":void 0,className:l[fe.Weekdays],style:M==null?void 0:M[fe.Weekdays]},E&&k.createElement(r.WeekNumberHeader,{"aria-label":Fe(s.options),className:l[fe.WeekNumberHeader],style:M==null?void 0:M[fe.WeekNumberHeader],scope:"col"},V()),Ie.map(z=>k.createElement(r.Weekday,{"aria-label":pe(z,s.options,s),className:l[fe.Weekday],key:String(z),style:M==null?void 0:M[fe.Weekday],scope:"col"},$(z,s.options,s)))),k.createElement(r.Weeks,{"data-animated-weeks":n.animate?"true":void 0,className:l[fe.Weeks],style:M==null?void 0:M[fe.Weeks]},Ce.weeks.map(z=>k.createElement(r.Week,{className:l[fe.Week],key:z.weekNumber,style:M==null?void 0:M[fe.Week],week:z},E&&k.createElement(r.WeekNumber,{week:z,style:M==null?void 0:M[fe.WeekNumber],"aria-label":Le(z.weekNumber,{locale:i}),className:l[fe.WeekNumber],scope:"row",role:"rowheader"},_(z.weekNumber,s)),z.days.map(re=>{const{date:Ee}=re,ue=D(re);if(ue[Ze.focused]=!ue.hidden&&!!(A!=null&&A.isEqualTo(re)),ue[It.selected]=(T==null?void 0:T(Ee))||ue.selected,w1(H)){const{from:vt,to:Zt}=H;ue[It.range_start]=!!(vt&&Zt&&s.isSameDay(Ee,vt)),ue[It.range_end]=!!(vt&&Zt&&s.isSameDay(Ee,Zt)),ue[It.range_middle]=ln(H,Ee,!0,s)}const He=sp(ue,M,n.modifiersStyles),et=Bg(ue,l,n.modifiersClassNames),ut=!Q&&!ue.hidden?B(Ee,ue,s.options,s):void 0;return k.createElement(r.Day,{key:`${re.isoDate}_${re.displayMonthId}`,day:re,modifiers:ue,className:et.join(" "),style:He,role:"gridcell","aria-selected":ue.selected||void 0,"aria-label":ut,"data-day":re.isoDate,"data-month":re.outside?re.dateMonthId:void 0,"data-selected":ue.selected||void 0,"data-disabled":ue.disabled||void 0,"data-hidden":ue.hidden||void 0,"data-outside":re.outside||void 0,"data-focused":ue.focused||void 0,"data-today":ue.today||void 0},!ue.hidden&&Q?k.createElement(r.DayButton,{className:l[fe.DayButton],style:M==null?void 0:M[fe.DayButton],type:"button",day:re,modifiers:ue,disabled:!ue.focused&&ue.disabled||void 0,"aria-disabled":ue.focused&&ue.disabled||void 0,tabIndex:Y(re)?0:-1,"aria-label":te(Ee,ue,s.options,s),onClick:he(re,ue),onBlur:Ne(re,ue),onFocus:ke(re,ue),onKeyDown:ze(re,ue),onMouseEnter:Pe(re,ue),onMouseLeave:Qe(re,ue)},I(Ee,s.options,s)):!ue.hidden&&I(re.date,s.options,s))})))))))),n.footer&&k.createElement(r.Footer,{className:l[fe.Footer],style:M==null?void 0:M[fe.Footer],role:"status","aria-live":"polite"},n.footer)))}function _s(e,[n,t]){return Math.min(t,Math.max(n,e))}function ee(e,n,{checkForDefaultPrevented:t=!0}={}){return function(o){if(e==null||e(o),t===!1||!o.defaultPrevented)return n==null?void 0:n(o)}}function _p(e,n){const t=c.createContext(n),r=a=>{const{children:s,...i}=a,l=c.useMemo(()=>i,Object.values(i));return u.jsx(t.Provider,{value:l,children:s})};r.displayName=e+"Provider";function o(a){const s=c.useContext(t);if(s)return s;if(n!==void 0)return n;throw new Error(`\`${a}\` must be used within \`${e}\``)}return[r,o]}function it(e,n=[]){let t=[];function r(a,s){const i=c.createContext(s),l=t.length;t=[...t,s];const d=h=>{var w;const{scope:g,children:C,...v}=h,p=((w=g==null?void 0:g[e])==null?void 0:w[l])||i,m=c.useMemo(()=>v,Object.values(v));return u.jsx(p.Provider,{value:m,children:C})};d.displayName=a+"Provider";function f(h,g){var p;const C=((p=g==null?void 0:g[e])==null?void 0:p[l])||i,v=c.useContext(C);if(v)return v;if(s!==void 0)return s;throw new Error(`\`${h}\` must be used within \`${a}\``)}return[d,f]}const o=()=>{const a=t.map(s=>c.createContext(s));return function(i){const l=(i==null?void 0:i[e])||a;return c.useMemo(()=>({[`__scope${e}`]:{...i,[e]:l}}),[i,l])}};return o.scopeName=e,[r,Vp(o,...n)]}function Vp(...e){const n=e[0];if(e.length===1)return n;const t=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){const s=r.reduce((i,{useScope:l,scopeName:d})=>{const h=l(a)[`__scope${d}`];return{...i,...h}},{});return c.useMemo(()=>({[`__scope${n.scopeName}`]:s}),[s])}};return t.scopeName=n.scopeName,t}function b1(e){const n=e+"CollectionProvider",[t,r]=it(n),[o,a]=t(n,{collectionRef:{current:null},itemMap:new Map}),s=p=>{const{scope:m,children:w}=p,y=k.useRef(null),b=k.useRef(new Map).current;return u.jsx(o,{scope:m,itemMap:b,collectionRef:y,children:w})};s.displayName=n;const i=e+"CollectionSlot",l=bn(i),d=k.forwardRef((p,m)=>{const{scope:w,children:y}=p,b=a(i,w),S=ye(m,b.collectionRef);return u.jsx(l,{ref:S,children:y})});d.displayName=i;const f=e+"CollectionItemSlot",h="data-radix-collection-item",g=bn(f),C=k.forwardRef((p,m)=>{const{scope:w,children:y,...b}=p,S=k.useRef(null),E=ye(m,S),M=a(f,w);return k.useEffect(()=>(M.itemMap.set(S,{ref:S,...b}),()=>void M.itemMap.delete(S))),u.jsx(g,{[h]:"",ref:E,children:y})});C.displayName=f;function v(p){const m=a(e+"CollectionConsumer",p);return k.useCallback(()=>{const y=m.collectionRef.current;if(!y)return[];const b=Array.from(y.querySelectorAll(`[${h}]`));return Array.from(m.itemMap.values()).sort((M,L)=>b.indexOf(M.ref.current)-b.indexOf(L.ref.current))},[m.collectionRef,m.itemMap])}return[{Provider:s,Slot:d,ItemSlot:C},v,r]}var Hp=c.createContext(void 0);function br(e){const n=c.useContext(Hp);return e||n||"ltr"}var Ap=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ie=Ap.reduce((e,n)=>{const t=bn(`Primitive.${n}`),r=c.forwardRef((o,a)=>{const{asChild:s,...i}=o,l=s?t:n;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),u.jsx(l,{...i,ref:a})});return r.displayName=`Primitive.${n}`,{...e,[n]:r}},{});function Vs(e,n){e&&eo.flushSync(()=>e.dispatchEvent(n))}function Ge(e){const n=c.useRef(e);return c.useEffect(()=>{n.current=e}),c.useMemo(()=>(...t)=>{var r;return(r=n.current)==null?void 0:r.call(n,...t)},[])}function Fp(e,n=globalThis==null?void 0:globalThis.document){const t=Ge(e);c.useEffect(()=>{const r=o=>{o.key==="Escape"&&t(o)};return n.addEventListener("keydown",r,{capture:!0}),()=>n.removeEventListener("keydown",r,{capture:!0})},[t,n])}var $p="DismissableLayer",Hs="dismissableLayer.update",zp="dismissableLayer.pointerDownOutside",Zp="dismissableLayer.focusOutside",pu,Cu=c.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),jn=c.forwardRef((e,n)=>{const{disableOutsidePointerEvents:t=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:s,onDismiss:i,...l}=e,d=c.useContext(Cu),[f,h]=c.useState(null),g=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,C]=c.useState({}),v=ye(n,L=>h(L)),p=Array.from(d.layers),[m]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),w=p.indexOf(m),y=f?p.indexOf(f):-1,b=d.layersWithOutsidePointerEventsDisabled.size>0,S=y>=w,E=Wp(L=>{const I=L.target,O=[...d.branches].some(_=>_.contains(I));!S||O||(o==null||o(L),s==null||s(L),L.defaultPrevented||i==null||i())},g),M=Gp(L=>{const I=L.target;[...d.branches].some(_=>_.contains(I))||(a==null||a(L),s==null||s(L),L.defaultPrevented||i==null||i())},g);return Fp(L=>{y===d.layers.size-1&&(r==null||r(L),!L.defaultPrevented&&i&&(L.preventDefault(),i()))},g),c.useEffect(()=>{if(f)return t&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(pu=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),vu(),()=>{t&&d.layersWithOutsidePointerEventsDisabled.size===1&&(g.body.style.pointerEvents=pu)}},[f,g,t,d]),c.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),vu())},[f,d]),c.useEffect(()=>{const L=()=>C({});return document.addEventListener(Hs,L),()=>document.removeEventListener(Hs,L)},[]),u.jsx(ie.div,{...l,ref:v,style:{pointerEvents:b?S?"auto":"none":void 0,...e.style},onFocusCapture:ee(e.onFocusCapture,M.onFocusCapture),onBlurCapture:ee(e.onBlurCapture,M.onBlurCapture),onPointerDownCapture:ee(e.onPointerDownCapture,E.onPointerDownCapture)})});jn.displayName=$p;var Bp="DismissableLayerBranch",mu=c.forwardRef((e,n)=>{const t=c.useContext(Cu),r=c.useRef(null),o=ye(n,r);return c.useEffect(()=>{const a=r.current;if(a)return t.branches.add(a),()=>{t.branches.delete(a)}},[t.branches]),u.jsx(ie.div,{...e,ref:o})});mu.displayName=Bp;function Wp(e,n=globalThis==null?void 0:globalThis.document){const t=Ge(e),r=c.useRef(!1),o=c.useRef(()=>{});return c.useEffect(()=>{const a=i=>{if(i.target&&!r.current){let l=function(){wu(zp,t,d,{discrete:!0})};const d={originalEvent:i};i.pointerType==="touch"?(n.removeEventListener("click",o.current),o.current=l,n.addEventListener("click",o.current,{once:!0})):l()}else n.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{n.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(s),n.removeEventListener("pointerdown",a),n.removeEventListener("click",o.current)}},[n,t]),{onPointerDownCapture:()=>r.current=!0}}function Gp(e,n=globalThis==null?void 0:globalThis.document){const t=Ge(e),r=c.useRef(!1);return c.useEffect(()=>{const o=a=>{a.target&&!r.current&&wu(Zp,t,{originalEvent:a},{discrete:!1})};return n.addEventListener("focusin",o),()=>n.removeEventListener("focusin",o)},[n,t]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function vu(){const e=new CustomEvent(Hs);document.dispatchEvent(e)}function wu(e,n,t,{discrete:r}){const o=t.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:t});n&&o.addEventListener(e,n,{once:!0}),r?Vs(o,a):o.dispatchEvent(a)}var Rp=jn,jp=mu,As=0;function x1(){c.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??yu()),document.body.insertAdjacentElement("beforeend",e[1]??yu()),As++,()=>{As===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),As--}},[])}function yu(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Fs="focusScope.autoFocusOnMount",$s="focusScope.autoFocusOnUnmount",bu={bubbles:!1,cancelable:!0},Yp="FocusScope",ho=c.forwardRef((e,n)=>{const{loop:t=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...s}=e,[i,l]=c.useState(null),d=Ge(o),f=Ge(a),h=c.useRef(null),g=ye(n,p=>l(p)),C=c.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;c.useEffect(()=>{if(r){let p=function(b){if(C.paused||!i)return;const S=b.target;i.contains(S)?h.current=S:Mn(h.current,{select:!0})},m=function(b){if(C.paused||!i)return;const S=b.relatedTarget;S!==null&&(i.contains(S)||Mn(h.current,{select:!0}))},w=function(b){if(document.activeElement===document.body)for(const E of b)E.removedNodes.length>0&&Mn(i)};document.addEventListener("focusin",p),document.addEventListener("focusout",m);const y=new MutationObserver(w);return i&&y.observe(i,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",m),y.disconnect()}}},[r,i,C.paused]),c.useEffect(()=>{if(i){Mu.add(C);const p=document.activeElement;if(!i.contains(p)){const w=new CustomEvent(Fs,bu);i.addEventListener(Fs,d),i.dispatchEvent(w),w.defaultPrevented||(qp(Jp(xu(i)),{select:!0}),document.activeElement===p&&Mn(i))}return()=>{i.removeEventListener(Fs,d),setTimeout(()=>{const w=new CustomEvent($s,bu);i.addEventListener($s,f),i.dispatchEvent(w),w.defaultPrevented||Mn(p??document.body,{select:!0}),i.removeEventListener($s,f),Mu.remove(C)},0)}}},[i,d,f,C]);const v=c.useCallback(p=>{if(!t&&!r||C.paused)return;const m=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,w=document.activeElement;if(m&&w){const y=p.currentTarget,[b,S]=Up(y);b&&S?!p.shiftKey&&w===S?(p.preventDefault(),t&&Mn(b,{select:!0})):p.shiftKey&&w===b&&(p.preventDefault(),t&&Mn(S,{select:!0})):w===y&&p.preventDefault()}},[t,r,C.paused]);return u.jsx(ie.div,{tabIndex:-1,...s,ref:g,onKeyDown:v})});ho.displayName=Yp;function qp(e,{select:n=!1}={}){const t=document.activeElement;for(const r of e)if(Mn(r,{select:n}),document.activeElement!==t)return}function Up(e){const n=xu(e),t=Su(n,e),r=Su(n.reverse(),e);return[t,r]}function xu(e){const n=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)n.push(t.currentNode);return n}function Su(e,n){for(const t of e)if(!Xp(t,{upTo:n}))return t}function Xp(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n!==void 0&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Kp(e){return e instanceof HTMLInputElement&&"select"in e}function Mn(e,{select:n=!1}={}){if(e&&e.focus){const t=document.activeElement;e.focus({preventScroll:!0}),e!==t&&Kp(e)&&n&&e.select()}}var Mu=Qp();function Qp(){let e=[];return{add(n){const t=e[0];n!==t&&(t==null||t.pause()),e=Eu(e,n),e.unshift(n)},remove(n){var t;e=Eu(e,n),(t=e[0])==null||t.resume()}}}function Eu(e,n){const t=[...e],r=t.indexOf(n);return r!==-1&&t.splice(r,1),t}function Jp(e){return e.filter(n=>n.tagName!=="A")}var tt=globalThis!=null&&globalThis.document?c.useLayoutEffect:()=>{},eC=c[" useId ".trim().toString()]||(()=>{}),tC=0;function Ye(e){const[n,t]=c.useState(eC());return tt(()=>{t(r=>r??String(tC++))},[e]),e||(n?`radix-${n}`:"")}const nC=["top","right","bottom","left"],En=Math.min,St=Math.max,S1=Math.round,M1=Math.floor,Rt=e=>({x:e,y:e}),rC={left:"right",right:"left",bottom:"top",top:"bottom"};function zs(e,n,t){return St(e,En(n,t))}function un(e,n){return typeof e=="function"?e(n):e}function dn(e){return e.split("-")[0]}function xr(e){return e.split("-")[1]}function Zs(e){return e==="x"?"y":"x"}function Bs(e){return e==="y"?"height":"width"}function jt(e){const n=e[0];return n==="t"||n==="b"?"y":"x"}function Ws(e){return Zs(jt(e))}function oC(e,n,t){t===void 0&&(t=!1);const r=xr(e),o=Ws(e),a=Bs(o);let s=o==="x"?r===(t?"end":"start")?"right":"left":r==="start"?"bottom":"top";return n.reference[a]>n.floating[a]&&(s=E1(s)),[s,E1(s)]}function aC(e){const n=E1(e);return[Gs(e),n,Gs(n)]}function Gs(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Lu=["left","right"],Nu=["right","left"],sC=["top","bottom"],iC=["bottom","top"];function lC(e,n,t){switch(e){case"top":case"bottom":return t?n?Nu:Lu:n?Lu:Nu;case"left":case"right":return n?sC:iC;default:return[]}}function cC(e,n,t,r){const o=xr(e);let a=lC(dn(e),t==="start",r);return o&&(a=a.map(s=>s+"-"+o),n&&(a=a.concat(a.map(Gs)))),a}function E1(e){const n=dn(e);return rC[n]+e.slice(n.length)}function uC(e){return{top:0,right:0,bottom:0,left:0,...e}}function ku(e){return typeof e!="number"?uC(e):{top:e,right:e,bottom:e,left:e}}function L1(e){const{x:n,y:t,width:r,height:o}=e;return{width:r,height:o,top:t,left:n,right:n+r,bottom:t+o,x:n,y:t}}function Pu(e,n,t){let{reference:r,floating:o}=e;const a=jt(n),s=Ws(n),i=Bs(s),l=dn(n),d=a==="y",f=r.x+r.width/2-o.width/2,h=r.y+r.height/2-o.height/2,g=r[i]/2-o[i]/2;let C;switch(l){case"top":C={x:f,y:r.y-o.height};break;case"bottom":C={x:f,y:r.y+r.height};break;case"right":C={x:r.x+r.width,y:h};break;case"left":C={x:r.x-o.width,y:h};break;default:C={x:r.x,y:r.y}}switch(xr(n)){case"start":C[s]-=g*(t&&d?-1:1);break;case"end":C[s]+=g*(t&&d?-1:1);break}return C}async function dC(e,n){var t;n===void 0&&(n={});const{x:r,y:o,platform:a,rects:s,elements:i,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:g=!1,padding:C=0}=un(n,e),v=ku(C),m=i[g?h==="floating"?"reference":"floating":h],w=L1(await a.getClippingRect({element:(t=await(a.isElement==null?void 0:a.isElement(m)))==null||t?m:m.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(i.floating)),boundary:d,rootBoundary:f,strategy:l})),y=h==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,b=await(a.getOffsetParent==null?void 0:a.getOffsetParent(i.floating)),S=await(a.isElement==null?void 0:a.isElement(b))?await(a.getScale==null?void 0:a.getScale(b))||{x:1,y:1}:{x:1,y:1},E=L1(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:y,offsetParent:b,strategy:l}):y);return{top:(w.top-E.top+v.top)/S.y,bottom:(E.bottom-w.bottom+v.bottom)/S.y,left:(w.left-E.left+v.left)/S.x,right:(E.right-w.right+v.right)/S.x}}const fC=50,hC=async(e,n,t)=>{const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:s}=t,i=s.detectOverflow?s:{...s,detectOverflow:dC},l=await(s.isRTL==null?void 0:s.isRTL(n));let d=await s.getElementRects({reference:e,floating:n,strategy:o}),{x:f,y:h}=Pu(d,r,l),g=r,C=0;const v={};for(let p=0;p<a.length;p++){const m=a[p];if(!m)continue;const{name:w,fn:y}=m,{x:b,y:S,data:E,reset:M}=await y({x:f,y:h,initialPlacement:r,placement:g,strategy:o,middlewareData:v,rects:d,platform:i,elements:{reference:e,floating:n}});f=b??f,h=S??h,v[w]={...v[w],...E},M&&C<fC&&(C++,typeof M=="object"&&(M.placement&&(g=M.placement),M.rects&&(d=M.rects===!0?await s.getElementRects({reference:e,floating:n,strategy:o}):M.rects),{x:f,y:h}=Pu(d,g,l)),p=-1)}return{x:f,y:h,placement:g,strategy:o,middlewareData:v}},gC=e=>({name:"arrow",options:e,async fn(n){const{x:t,y:r,placement:o,rects:a,platform:s,elements:i,middlewareData:l}=n,{element:d,padding:f=0}=un(e,n)||{};if(d==null)return{};const h=ku(f),g={x:t,y:r},C=Ws(o),v=Bs(C),p=await s.getDimensions(d),m=C==="y",w=m?"top":"left",y=m?"bottom":"right",b=m?"clientHeight":"clientWidth",S=a.reference[v]+a.reference[C]-g[C]-a.floating[v],E=g[C]-a.reference[C],M=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d));let L=M?M[b]:0;(!L||!await(s.isElement==null?void 0:s.isElement(M)))&&(L=i.floating[b]||a.floating[v]);const I=S/2-E/2,O=L/2-p[v]/2-1,_=En(h[w],O),V=En(h[y],O),$=_,j=L-p[v]-V,F=L/2-p[v]/2+I,R=zs($,F,j),Z=!l.arrow&&xr(o)!=null&&F!==R&&a.reference[v]/2-(F<$?_:V)-p[v]/2<0,K=Z?F<$?F-$:F-j:0;return{[C]:g[C]+K,data:{[C]:R,centerOffset:F-R-K,...Z&&{alignmentOffset:K}},reset:Z}}}),pC=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(n){var t,r;const{placement:o,middlewareData:a,rects:s,initialPlacement:i,platform:l,elements:d}=n,{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:g,fallbackStrategy:C="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:p=!0,...m}=un(e,n);if((t=a.arrow)!=null&&t.alignmentOffset)return{};const w=dn(o),y=jt(i),b=dn(i)===i,S=await(l.isRTL==null?void 0:l.isRTL(d.floating)),E=g||(b||!p?[E1(i)]:aC(i)),M=v!=="none";!g&&M&&E.push(...cC(i,p,v,S));const L=[i,...E],I=await l.detectOverflow(n,m),O=[];let _=((r=a.flip)==null?void 0:r.overflows)||[];if(f&&O.push(I[w]),h){const F=oC(o,s,S);O.push(I[F[0]],I[F[1]])}if(_=[..._,{placement:o,overflows:O}],!O.every(F=>F<=0)){var V,$;const F=(((V=a.flip)==null?void 0:V.index)||0)+1,R=L[F];if(R&&(!(h==="alignment"?y!==jt(R):!1)||_.every(q=>jt(q.placement)===y?q.overflows[0]>0:!0)))return{data:{index:F,overflows:_},reset:{placement:R}};let Z=($=_.filter(K=>K.overflows[0]<=0).sort((K,q)=>K.overflows[1]-q.overflows[1])[0])==null?void 0:$.placement;if(!Z)switch(C){case"bestFit":{var j;const K=(j=_.filter(q=>{if(M){const G=jt(q.placement);return G===y||G==="y"}return!0}).map(q=>[q.placement,q.overflows.filter(G=>G>0).reduce((G,oe)=>G+oe,0)]).sort((q,G)=>q[1]-G[1])[0])==null?void 0:j[0];K&&(Z=K);break}case"initialPlacement":Z=i;break}if(o!==Z)return{reset:{placement:Z}}}return{}}}};function Iu(e,n){return{top:e.top-n.height,right:e.right-n.width,bottom:e.bottom-n.height,left:e.left-n.width}}function Ou(e){return nC.some(n=>e[n]>=0)}const CC=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(n){const{rects:t,platform:r}=n,{strategy:o="referenceHidden",...a}=un(e,n);switch(o){case"referenceHidden":{const s=await r.detectOverflow(n,{...a,elementContext:"reference"}),i=Iu(s,t.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:Ou(i)}}}case"escaped":{const s=await r.detectOverflow(n,{...a,altBoundary:!0}),i=Iu(s,t.floating);return{data:{escapedOffsets:i,escaped:Ou(i)}}}default:return{}}}}},Tu=new Set(["left","top"]);async function mC(e,n){const{placement:t,platform:r,elements:o}=e,a=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=dn(t),i=xr(t),l=jt(t)==="y",d=Tu.has(s)?-1:1,f=a&&l?-1:1,h=un(n,e);let{mainAxis:g,crossAxis:C,alignmentAxis:v}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return i&&typeof v=="number"&&(C=i==="end"?v*-1:v),l?{x:C*f,y:g*d}:{x:g*d,y:C*f}}const vC=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(n){var t,r;const{x:o,y:a,placement:s,middlewareData:i}=n,l=await mC(n,e);return s===((t=i.offset)==null?void 0:t.placement)&&(r=i.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:a+l.y,data:{...l,placement:s}}}}},wC=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(n){const{x:t,y:r,placement:o,platform:a}=n,{mainAxis:s=!0,crossAxis:i=!1,limiter:l={fn:w=>{let{x:y,y:b}=w;return{x:y,y:b}}},...d}=un(e,n),f={x:t,y:r},h=await a.detectOverflow(n,d),g=jt(dn(o)),C=Zs(g);let v=f[C],p=f[g];if(s){const w=C==="y"?"top":"left",y=C==="y"?"bottom":"right",b=v+h[w],S=v-h[y];v=zs(b,v,S)}if(i){const w=g==="y"?"top":"left",y=g==="y"?"bottom":"right",b=p+h[w],S=p-h[y];p=zs(b,p,S)}const m=l.fn({...n,[C]:v,[g]:p});return{...m,data:{x:m.x-t,y:m.y-r,enabled:{[C]:s,[g]:i}}}}}},yC=function(e){return e===void 0&&(e={}),{options:e,fn(n){const{x:t,y:r,placement:o,rects:a,middlewareData:s}=n,{offset:i=0,mainAxis:l=!0,crossAxis:d=!0}=un(e,n),f={x:t,y:r},h=jt(o),g=Zs(h);let C=f[g],v=f[h];const p=un(i,n),m=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(l){const b=g==="y"?"height":"width",S=a.reference[g]-a.floating[b]+m.mainAxis,E=a.reference[g]+a.reference[b]-m.mainAxis;C<S?C=S:C>E&&(C=E)}if(d){var w,y;const b=g==="y"?"width":"height",S=Tu.has(dn(o)),E=a.reference[h]-a.floating[b]+(S&&((w=s.offset)==null?void 0:w[h])||0)+(S?0:m.crossAxis),M=a.reference[h]+a.reference[b]+(S?0:((y=s.offset)==null?void 0:y[h])||0)-(S?m.crossAxis:0);v<E?v=E:v>M&&(v=M)}return{[g]:C,[h]:v}}}},bC=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(n){var t,r;const{placement:o,rects:a,platform:s,elements:i}=n,{apply:l=()=>{},...d}=un(e,n),f=await s.detectOverflow(n,d),h=dn(o),g=xr(o),C=jt(o)==="y",{width:v,height:p}=a.floating;let m,w;h==="top"||h==="bottom"?(m=h,w=g===(await(s.isRTL==null?void 0:s.isRTL(i.floating))?"start":"end")?"left":"right"):(w=h,m=g==="end"?"top":"bottom");const y=p-f.top-f.bottom,b=v-f.left-f.right,S=En(p-f[m],y),E=En(v-f[w],b),M=!n.middlewareData.shift;let L=S,I=E;if((t=n.middlewareData.shift)!=null&&t.enabled.x&&(I=b),(r=n.middlewareData.shift)!=null&&r.enabled.y&&(L=y),M&&!g){const _=St(f.left,0),V=St(f.right,0),$=St(f.top,0),j=St(f.bottom,0);C?I=v-2*(_!==0||V!==0?_+V:St(f.left,f.right)):L=p-2*($!==0||j!==0?$+j:St(f.top,f.bottom))}await l({...n,availableWidth:I,availableHeight:L});const O=await s.getDimensions(i.floating);return v!==O.width||p!==O.height?{reset:{rects:!0}}:{}}}};function N1(){return typeof window<"u"}function Sr(e){return Du(e)?(e.nodeName||"").toLowerCase():"#document"}function Mt(e){var n;return(e==null||(n=e.ownerDocument)==null?void 0:n.defaultView)||window}function Yt(e){var n;return(n=(Du(e)?e.ownerDocument:e.document)||window.document)==null?void 0:n.documentElement}function Du(e){return N1()?e instanceof Node||e instanceof Mt(e).Node:!1}function Tt(e){return N1()?e instanceof Element||e instanceof Mt(e).Element:!1}function fn(e){return N1()?e instanceof HTMLElement||e instanceof Mt(e).HTMLElement:!1}function _u(e){return!N1()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Mt(e).ShadowRoot}function go(e){const{overflow:n,overflowX:t,overflowY:r,display:o}=Dt(e);return/auto|scroll|overlay|hidden|clip/.test(n+r+t)&&o!=="inline"&&o!=="contents"}function xC(e){return/^(table|td|th)$/.test(Sr(e))}function k1(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const SC=/transform|translate|scale|rotate|perspective|filter/,MC=/paint|layout|strict|content/,Yn=e=>!!e&&e!=="none";let Rs;function js(e){const n=Tt(e)?Dt(e):e;return Yn(n.transform)||Yn(n.translate)||Yn(n.scale)||Yn(n.rotate)||Yn(n.perspective)||!Ys()&&(Yn(n.backdropFilter)||Yn(n.filter))||SC.test(n.willChange||"")||MC.test(n.contain||"")}function EC(e){let n=Ln(e);for(;fn(n)&&!Mr(n);){if(js(n))return n;if(k1(n))return null;n=Ln(n)}return null}function Ys(){return Rs==null&&(Rs=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Rs}function Mr(e){return/^(html|body|#document)$/.test(Sr(e))}function Dt(e){return Mt(e).getComputedStyle(e)}function P1(e){return Tt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ln(e){if(Sr(e)==="html")return e;const n=e.assignedSlot||e.parentNode||_u(e)&&e.host||Yt(e);return _u(n)?n.host:n}function Vu(e){const n=Ln(e);return Mr(n)?e.ownerDocument?e.ownerDocument.body:e.body:fn(n)&&go(n)?n:Vu(n)}function po(e,n,t){var r;n===void 0&&(n=[]),t===void 0&&(t=!0);const o=Vu(e),a=o===((r=e.ownerDocument)==null?void 0:r.body),s=Mt(o);if(a){const i=qs(s);return n.concat(s,s.visualViewport||[],go(o)?o:[],i&&t?po(i):[])}else return n.concat(o,po(o,[],t))}function qs(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Hu(e){const n=Dt(e);let t=parseFloat(n.width)||0,r=parseFloat(n.height)||0;const o=fn(e),a=o?e.offsetWidth:t,s=o?e.offsetHeight:r,i=S1(t)!==a||S1(r)!==s;return i&&(t=a,r=s),{width:t,height:r,$:i}}function Us(e){return Tt(e)?e:e.contextElement}function Er(e){const n=Us(e);if(!fn(n))return Rt(1);const t=n.getBoundingClientRect(),{width:r,height:o,$:a}=Hu(n);let s=(a?S1(t.width):t.width)/r,i=(a?S1(t.height):t.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!i||!Number.isFinite(i))&&(i=1),{x:s,y:i}}const LC=Rt(0);function Au(e){const n=Mt(e);return!Ys()||!n.visualViewport?LC:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function NC(e,n,t){return n===void 0&&(n=!1),!t||n&&t!==Mt(e)?!1:n}function qn(e,n,t,r){n===void 0&&(n=!1),t===void 0&&(t=!1);const o=e.getBoundingClientRect(),a=Us(e);let s=Rt(1);n&&(r?Tt(r)&&(s=Er(r)):s=Er(e));const i=NC(a,t,r)?Au(a):Rt(0);let l=(o.left+i.x)/s.x,d=(o.top+i.y)/s.y,f=o.width/s.x,h=o.height/s.y;if(a){const g=Mt(a),C=r&&Tt(r)?Mt(r):r;let v=g,p=qs(v);for(;p&&r&&C!==v;){const m=Er(p),w=p.getBoundingClientRect(),y=Dt(p),b=w.left+(p.clientLeft+parseFloat(y.paddingLeft))*m.x,S=w.top+(p.clientTop+parseFloat(y.paddingTop))*m.y;l*=m.x,d*=m.y,f*=m.x,h*=m.y,l+=b,d+=S,v=Mt(p),p=qs(v)}}return L1({width:f,height:h,x:l,y:d})}function I1(e,n){const t=P1(e).scrollLeft;return n?n.left+t:qn(Yt(e)).left+t}function Fu(e,n){const t=e.getBoundingClientRect(),r=t.left+n.scrollLeft-I1(e,t),o=t.top+n.scrollTop;return{x:r,y:o}}function kC(e){let{elements:n,rect:t,offsetParent:r,strategy:o}=e;const a=o==="fixed",s=Yt(r),i=n?k1(n.floating):!1;if(r===s||i&&a)return t;let l={scrollLeft:0,scrollTop:0},d=Rt(1);const f=Rt(0),h=fn(r);if((h||!h&&!a)&&((Sr(r)!=="body"||go(s))&&(l=P1(r)),h)){const C=qn(r);d=Er(r),f.x=C.x+r.clientLeft,f.y=C.y+r.clientTop}const g=s&&!h&&!a?Fu(s,l):Rt(0);return{width:t.width*d.x,height:t.height*d.y,x:t.x*d.x-l.scrollLeft*d.x+f.x+g.x,y:t.y*d.y-l.scrollTop*d.y+f.y+g.y}}function PC(e){return Array.from(e.getClientRects())}function IC(e){const n=Yt(e),t=P1(e),r=e.ownerDocument.body,o=St(n.scrollWidth,n.clientWidth,r.scrollWidth,r.clientWidth),a=St(n.scrollHeight,n.clientHeight,r.scrollHeight,r.clientHeight);let s=-t.scrollLeft+I1(e);const i=-t.scrollTop;return Dt(r).direction==="rtl"&&(s+=St(n.clientWidth,r.clientWidth)-o),{width:o,height:a,x:s,y:i}}const $u=25;function OC(e,n){const t=Mt(e),r=Yt(e),o=t.visualViewport;let a=r.clientWidth,s=r.clientHeight,i=0,l=0;if(o){a=o.width,s=o.height;const f=Ys();(!f||f&&n==="fixed")&&(i=o.offsetLeft,l=o.offsetTop)}const d=I1(r);if(d<=0){const f=r.ownerDocument,h=f.body,g=getComputedStyle(h),C=f.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,v=Math.abs(r.clientWidth-h.clientWidth-C);v<=$u&&(a-=v)}else d<=$u&&(a+=d);return{width:a,height:s,x:i,y:l}}function TC(e,n){const t=qn(e,!0,n==="fixed"),r=t.top+e.clientTop,o=t.left+e.clientLeft,a=fn(e)?Er(e):Rt(1),s=e.clientWidth*a.x,i=e.clientHeight*a.y,l=o*a.x,d=r*a.y;return{width:s,height:i,x:l,y:d}}function zu(e,n,t){let r;if(n==="viewport")r=OC(e,t);else if(n==="document")r=IC(Yt(e));else if(Tt(n))r=TC(n,t);else{const o=Au(e);r={x:n.x-o.x,y:n.y-o.y,width:n.width,height:n.height}}return L1(r)}function Zu(e,n){const t=Ln(e);return t===n||!Tt(t)||Mr(t)?!1:Dt(t).position==="fixed"||Zu(t,n)}function DC(e,n){const t=n.get(e);if(t)return t;let r=po(e,[],!1).filter(i=>Tt(i)&&Sr(i)!=="body"),o=null;const a=Dt(e).position==="fixed";let s=a?Ln(e):e;for(;Tt(s)&&!Mr(s);){const i=Dt(s),l=js(s);!l&&i.position==="fixed"&&(o=null),(a?!l&&!o:!l&&i.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||go(s)&&!l&&Zu(e,s))?r=r.filter(f=>f!==s):o=i,s=Ln(s)}return n.set(e,r),r}function _C(e){let{element:n,boundary:t,rootBoundary:r,strategy:o}=e;const s=[...t==="clippingAncestors"?k1(n)?[]:DC(n,this._c):[].concat(t),r],i=zu(n,s[0],o);let l=i.top,d=i.right,f=i.bottom,h=i.left;for(let g=1;g<s.length;g++){const C=zu(n,s[g],o);l=St(C.top,l),d=En(C.right,d),f=En(C.bottom,f),h=St(C.left,h)}return{width:d-h,height:f-l,x:h,y:l}}function VC(e){const{width:n,height:t}=Hu(e);return{width:n,height:t}}function HC(e,n,t){const r=fn(n),o=Yt(n),a=t==="fixed",s=qn(e,!0,a,n);let i={scrollLeft:0,scrollTop:0};const l=Rt(0);function d(){l.x=I1(o)}if(r||!r&&!a)if((Sr(n)!=="body"||go(o))&&(i=P1(n)),r){const C=qn(n,!0,a,n);l.x=C.x+n.clientLeft,l.y=C.y+n.clientTop}else o&&d();a&&!r&&o&&d();const f=o&&!r&&!a?Fu(o,i):Rt(0),h=s.left+i.scrollLeft-l.x-f.x,g=s.top+i.scrollTop-l.y-f.y;return{x:h,y:g,width:s.width,height:s.height}}function Xs(e){return Dt(e).position==="static"}function Bu(e,n){if(!fn(e)||Dt(e).position==="fixed")return null;if(n)return n(e);let t=e.offsetParent;return Yt(e)===t&&(t=t.ownerDocument.body),t}function Wu(e,n){const t=Mt(e);if(k1(e))return t;if(!fn(e)){let o=Ln(e);for(;o&&!Mr(o);){if(Tt(o)&&!Xs(o))return o;o=Ln(o)}return t}let r=Bu(e,n);for(;r&&xC(r)&&Xs(r);)r=Bu(r,n);return r&&Mr(r)&&Xs(r)&&!js(r)?t:r||EC(e)||t}const AC=async function(e){const n=this.getOffsetParent||Wu,t=this.getDimensions,r=await t(e.floating);return{reference:HC(e.reference,await n(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function FC(e){return Dt(e).direction==="rtl"}const $C={convertOffsetParentRelativeRectToViewportRelativeRect:kC,getDocumentElement:Yt,getClippingRect:_C,getOffsetParent:Wu,getElementRects:AC,getClientRects:PC,getDimensions:VC,getScale:Er,isElement:Tt,isRTL:FC};function Gu(e,n){return e.x===n.x&&e.y===n.y&&e.width===n.width&&e.height===n.height}function zC(e,n){let t=null,r;const o=Yt(e);function a(){var i;clearTimeout(r),(i=t)==null||i.disconnect(),t=null}function s(i,l){i===void 0&&(i=!1),l===void 0&&(l=1),a();const d=e.getBoundingClientRect(),{left:f,top:h,width:g,height:C}=d;if(i||n(),!g||!C)return;const v=M1(h),p=M1(o.clientWidth-(f+g)),m=M1(o.clientHeight-(h+C)),w=M1(f),b={rootMargin:-v+"px "+-p+"px "+-m+"px "+-w+"px",threshold:St(0,En(1,l))||1};let S=!0;function E(M){const L=M[0].intersectionRatio;if(L!==l){if(!S)return s();L?s(!1,L):r=setTimeout(()=>{s(!1,1e-7)},1e3)}L===1&&!Gu(d,e.getBoundingClientRect())&&s(),S=!1}try{t=new IntersectionObserver(E,{...b,root:o.ownerDocument})}catch{t=new IntersectionObserver(E,b)}t.observe(e)}return s(!0),a}function ZC(e,n,t,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,d=Us(e),f=o||a?[...d?po(d):[],...n?po(n):[]]:[];f.forEach(w=>{o&&w.addEventListener("scroll",t,{passive:!0}),a&&w.addEventListener("resize",t)});const h=d&&i?zC(d,t):null;let g=-1,C=null;s&&(C=new ResizeObserver(w=>{let[y]=w;y&&y.target===d&&C&&n&&(C.unobserve(n),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var b;(b=C)==null||b.observe(n)})),t()}),d&&!l&&C.observe(d),n&&C.observe(n));let v,p=l?qn(e):null;l&&m();function m(){const w=qn(e);p&&!Gu(p,w)&&t(),p=w,v=requestAnimationFrame(m)}return t(),()=>{var w;f.forEach(y=>{o&&y.removeEventListener("scroll",t),a&&y.removeEventListener("resize",t)}),h==null||h(),(w=C)==null||w.disconnect(),C=null,l&&cancelAnimationFrame(v)}}const BC=vC,WC=wC,GC=pC,RC=bC,jC=CC,Ru=gC,YC=yC,qC=(e,n,t)=>{const r=new Map,o={platform:$C,...t},a={...o.platform,_c:r};return hC(e,n,{...o,platform:a})};var UC=typeof document<"u",XC=function(){},O1=UC?k.useLayoutEffect:XC;function T1(e,n){if(e===n)return!0;if(typeof e!=typeof n)return!1;if(typeof e=="function"&&e.toString()===n.toString())return!0;let t,r,o;if(e&&n&&typeof e=="object"){if(Array.isArray(e)){if(t=e.length,t!==n.length)return!1;for(r=t;r--!==0;)if(!T1(e[r],n[r]))return!1;return!0}if(o=Object.keys(e),t=o.length,t!==Object.keys(n).length)return!1;for(r=t;r--!==0;)if(!{}.hasOwnProperty.call(n,o[r]))return!1;for(r=t;r--!==0;){const a=o[r];if(!(a==="_owner"&&e.$$typeof)&&!T1(e[a],n[a]))return!1}return!0}return e!==e&&n!==n}function ju(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Yu(e,n){const t=ju(e);return Math.round(n*t)/t}function Ks(e){const n=c.useRef(e);return O1(()=>{n.current=e}),n}function KC(e){e===void 0&&(e={});const{placement:n="bottom",strategy:t="absolute",middleware:r=[],platform:o,elements:{reference:a,floating:s}={},transform:i=!0,whileElementsMounted:l,open:d}=e,[f,h]=c.useState({x:0,y:0,strategy:t,placement:n,middlewareData:{},isPositioned:!1}),[g,C]=c.useState(r);T1(g,r)||C(r);const[v,p]=c.useState(null),[m,w]=c.useState(null),y=c.useCallback(q=>{q!==M.current&&(M.current=q,p(q))},[]),b=c.useCallback(q=>{q!==L.current&&(L.current=q,w(q))},[]),S=a||v,E=s||m,M=c.useRef(null),L=c.useRef(null),I=c.useRef(f),O=l!=null,_=Ks(l),V=Ks(o),$=Ks(d),j=c.useCallback(()=>{if(!M.current||!L.current)return;const q={placement:n,strategy:t,middleware:g};V.current&&(q.platform=V.current),qC(M.current,L.current,q).then(G=>{const oe={...G,isPositioned:$.current!==!1};F.current&&!T1(I.current,oe)&&(I.current=oe,eo.flushSync(()=>{h(oe)}))})},[g,n,t,V,$]);O1(()=>{d===!1&&I.current.isPositioned&&(I.current.isPositioned=!1,h(q=>({...q,isPositioned:!1})))},[d]);const F=c.useRef(!1);O1(()=>(F.current=!0,()=>{F.current=!1}),[]),O1(()=>{if(S&&(M.current=S),E&&(L.current=E),S&&E){if(_.current)return _.current(S,E,j);j()}},[S,E,j,_,O]);const R=c.useMemo(()=>({reference:M,floating:L,setReference:y,setFloating:b}),[y,b]),Z=c.useMemo(()=>({reference:S,floating:E}),[S,E]),K=c.useMemo(()=>{const q={position:t,left:0,top:0};if(!Z.floating)return q;const G=Yu(Z.floating,f.x),oe=Yu(Z.floating,f.y);return i?{...q,transform:"translate("+G+"px, "+oe+"px)",...ju(Z.floating)>=1.5&&{willChange:"transform"}}:{position:t,left:G,top:oe}},[t,i,Z.floating,f.x,f.y]);return c.useMemo(()=>({...f,update:j,refs:R,elements:Z,floatingStyles:K}),[f,j,R,Z,K])}const QC=e=>{function n(t){return{}.hasOwnProperty.call(t,"current")}return{name:"arrow",options:e,fn(t){const{element:r,padding:o}=typeof e=="function"?e(t):e;return r&&n(r)?r.current!=null?Ru({element:r.current,padding:o}).fn(t):{}:r?Ru({element:r,padding:o}).fn(t):{}}}},JC=(e,n)=>{const t=BC(e);return{name:t.name,fn:t.fn,options:[e,n]}},em=(e,n)=>{const t=WC(e);return{name:t.name,fn:t.fn,options:[e,n]}},tm=(e,n)=>({fn:YC(e).fn,options:[e,n]}),nm=(e,n)=>{const t=GC(e);return{name:t.name,fn:t.fn,options:[e,n]}},rm=(e,n)=>{const t=RC(e);return{name:t.name,fn:t.fn,options:[e,n]}},om=(e,n)=>{const t=jC(e);return{name:t.name,fn:t.fn,options:[e,n]}},am=(e,n)=>{const t=QC(e);return{name:t.name,fn:t.fn,options:[e,n]}};var sm="Arrow",qu=c.forwardRef((e,n)=>{const{children:t,width:r=10,height:o=5,...a}=e;return u.jsx(ie.svg,{...a,ref:n,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?t:u.jsx("polygon",{points:"0,0 30,0 15,10"})})});qu.displayName=sm;var im=qu;function D1(e){const[n,t]=c.useState(void 0);return tt(()=>{if(e){t({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const a=o[0];let s,i;if("borderBoxSize"in a){const l=a.borderBoxSize,d=Array.isArray(l)?l[0]:l;s=d.inlineSize,i=d.blockSize}else s=e.offsetWidth,i=e.offsetHeight;t({width:s,height:i})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else t(void 0)},[e]),n}var Qs="Popper",[Uu,Nn]=it(Qs),[lm,Xu]=Uu(Qs),Ku=e=>{const{__scopePopper:n,children:t}=e,[r,o]=c.useState(null);return u.jsx(lm,{scope:n,anchor:r,onAnchorChange:o,children:t})};Ku.displayName=Qs;var Qu="PopperAnchor",Ju=c.forwardRef((e,n)=>{const{__scopePopper:t,virtualRef:r,...o}=e,a=Xu(Qu,t),s=c.useRef(null),i=ye(n,s),l=c.useRef(null);return c.useEffect(()=>{const d=l.current;l.current=(r==null?void 0:r.current)||s.current,d!==l.current&&a.onAnchorChange(l.current)}),r?null:u.jsx(ie.div,{...o,ref:i})});Ju.displayName=Qu;var Js="PopperContent",[cm,um]=Uu(Js),ed=c.forwardRef((e,n)=>{var A,Y,X,J,te,B;const{__scopePopper:t,side:r="bottom",sideOffset:o=0,align:a="center",alignOffset:s=0,arrowPadding:i=0,avoidCollisions:l=!0,collisionBoundary:d=[],collisionPadding:f=0,sticky:h="partial",hideWhenDetached:g=!1,updatePositionStrategy:C="optimized",onPlaced:v,...p}=e,m=Xu(Js,t),[w,y]=c.useState(null),b=ye(n,ae=>y(ae)),[S,E]=c.useState(null),M=D1(S),L=(M==null?void 0:M.width)??0,I=(M==null?void 0:M.height)??0,O=r+(a!=="center"?"-"+a:""),_=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},V=Array.isArray(d)?d:[d],$=V.length>0,j={padding:_,boundary:V.filter(fm),altBoundary:$},{refs:F,floatingStyles:R,placement:Z,isPositioned:K,middlewareData:q}=KC({strategy:"fixed",placement:O,whileElementsMounted:(...ae)=>ZC(...ae,{animationFrame:C==="always"}),elements:{reference:m.anchor},middleware:[JC({mainAxis:o+I,alignmentAxis:s}),l&&em({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?tm():void 0,...j}),l&&nm({...j}),rm({...j,apply:({elements:ae,rects:ne,availableWidth:se,availableHeight:ge})=>{const{width:de,height:pe}=ne.reference,Le=ae.floating.style;Le.setProperty("--radix-popper-available-width",`${se}px`),Le.setProperty("--radix-popper-available-height",`${ge}px`),Le.setProperty("--radix-popper-anchor-width",`${de}px`),Le.setProperty("--radix-popper-anchor-height",`${pe}px`)}}),S&&am({element:S,padding:i}),hm({arrowWidth:L,arrowHeight:I}),g&&om({strategy:"referenceHidden",...j})]}),[G,oe]=rd(Z),U=Ge(v);tt(()=>{K&&(U==null||U())},[K,U]);const D=(A=q.arrow)==null?void 0:A.x,T=(Y=q.arrow)==null?void 0:Y.y,N=((X=q.arrow)==null?void 0:X.centerOffset)!==0,[H,W]=c.useState();return tt(()=>{w&&W(window.getComputedStyle(w).zIndex)},[w]),u.jsx("div",{ref:F.setFloating,"data-radix-popper-content-wrapper":"",style:{...R,transform:K?R.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:H,"--radix-popper-transform-origin":[(J=q.transformOrigin)==null?void 0:J.x,(te=q.transformOrigin)==null?void 0:te.y].join(" "),...((B=q.hide)==null?void 0:B.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:u.jsx(cm,{scope:t,placedSide:G,onArrowChange:E,arrowX:D,arrowY:T,shouldHideArrow:N,children:u.jsx(ie.div,{"data-side":G,"data-align":oe,...p,ref:b,style:{...p.style,animation:K?void 0:"none"}})})})});ed.displayName=Js;var td="PopperArrow",dm={top:"bottom",right:"left",bottom:"top",left:"right"},nd=c.forwardRef(function(n,t){const{__scopePopper:r,...o}=n,a=um(td,r),s=dm[a.placedSide];return u.jsx("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:u.jsx(im,{...o,ref:t,style:{...o.style,display:"block"}})})});nd.displayName=td;function fm(e){return e!==null}var hm=e=>({name:"transformOrigin",options:e,fn(n){var m,w,y;const{placement:t,rects:r,middlewareData:o}=n,s=((m=o.arrow)==null?void 0:m.centerOffset)!==0,i=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[d,f]=rd(t),h={start:"0%",center:"50%",end:"100%"}[f],g=(((w=o.arrow)==null?void 0:w.x)??0)+i/2,C=(((y=o.arrow)==null?void 0:y.y)??0)+l/2;let v="",p="";return d==="bottom"?(v=s?h:`${g}px`,p=`${-l}px`):d==="top"?(v=s?h:`${g}px`,p=`${r.floating.height+l}px`):d==="right"?(v=`${-l}px`,p=s?h:`${C}px`):d==="left"&&(v=`${r.floating.width+l}px`,p=s?h:`${C}px`),{data:{x:v,y:p}}}});function rd(e){const[n,t="center"]=e.split("-");return[n,t]}var Co=Ku,mo=Ju,_1=ed,V1=nd,gm="Portal",kn=c.forwardRef((e,n)=>{var i;const{container:t,...r}=e,[o,a]=c.useState(!1);tt(()=>a(!0),[]);const s=t||o&&((i=globalThis==null?void 0:globalThis.document)==null?void 0:i.body);return s?Cs.createPortal(u.jsx(ie.div,{...r,ref:n}),s):null});kn.displayName=gm;var pm=kn,Cm=c[" useInsertionEffect ".trim().toString()]||tt;function wt({prop:e,defaultProp:n,onChange:t=()=>{},caller:r}){const[o,a,s]=mm({defaultProp:n,onChange:t}),i=e!==void 0,l=i?e:o;{const f=c.useRef(e!==void 0);c.useEffect(()=>{const h=f.current;h!==i&&console.warn(`${r} is changing from ${h?"controlled":"uncontrolled"} to ${i?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),f.current=i},[i,r])}const d=c.useCallback(f=>{var h;if(i){const g=vm(f)?f(e):f;g!==e&&((h=s.current)==null||h.call(s,g))}else a(f)},[i,e,a,s]);return[l,d]}function mm({defaultProp:e,onChange:n}){const[t,r]=c.useState(e),o=c.useRef(t),a=c.useRef(n);return Cm(()=>{a.current=n},[n]),c.useEffect(()=>{var s;o.current!==t&&((s=a.current)==null||s.call(a,t),o.current=t)},[t,o]),[t,r,a]}function vm(e){return typeof e=="function"}function H1(e){const n=c.useRef({value:e,previous:e});return c.useMemo(()=>(n.current.value!==e&&(n.current.previous=n.current.value,n.current.value=e),n.current.previous),[e])}var od=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),wm="VisuallyHidden",A1=c.forwardRef((e,n)=>u.jsx(ie.span,{...e,ref:n,style:{...od,...e.style}}));A1.displayName=wm;var ym=A1,bm=function(e){if(typeof document>"u")return null;var n=Array.isArray(e)?e[0]:e;return n.ownerDocument.body},Lr=new WeakMap,F1=new WeakMap,$1={},ei=0,ad=function(e){return e&&(e.host||ad(e.parentNode))},xm=function(e,n){return n.map(function(t){if(e.contains(t))return t;var r=ad(t);return r&&e.contains(r)?r:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(t){return!!t})},Sm=function(e,n,t,r){var o=xm(n,Array.isArray(e)?e:[e]);$1[t]||($1[t]=new WeakMap);var a=$1[t],s=[],i=new Set,l=new Set(o),d=function(h){!h||i.has(h)||(i.add(h),d(h.parentNode))};o.forEach(d);var f=function(h){!h||l.has(h)||Array.prototype.forEach.call(h.children,function(g){if(i.has(g))f(g);else try{var C=g.getAttribute(r),v=C!==null&&C!=="false",p=(Lr.get(g)||0)+1,m=(a.get(g)||0)+1;Lr.set(g,p),a.set(g,m),s.push(g),p===1&&v&&F1.set(g,!0),m===1&&g.setAttribute(t,"true"),v||g.setAttribute(r,"true")}catch(w){console.error("aria-hidden: cannot operate on ",g,w)}})};return f(n),i.clear(),ei++,function(){s.forEach(function(h){var g=Lr.get(h)-1,C=a.get(h)-1;Lr.set(h,g),a.set(h,C),g||(F1.has(h)||h.removeAttribute(r),F1.delete(h)),C||h.removeAttribute(t)}),ei--,ei||(Lr=new WeakMap,Lr=new WeakMap,F1=new WeakMap,$1={})}},z1=function(e,n,t){t===void 0&&(t="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=bm(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),Sm(r,o,t,"aria-hidden")):function(){return null}},qt=function(){return qt=Object.assign||function(n){for(var t,r=1,o=arguments.length;r<o;r++){t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(n[a]=t[a])}return n},qt.apply(this,arguments)};function sd(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)n.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t}function Mm(e,n,t){if(t||arguments.length===2)for(var r=0,o=n.length,a;r<o;r++)(a||!(r in n))&&(a||(a=Array.prototype.slice.call(n,0,r)),a[r]=n[r]);return e.concat(a||Array.prototype.slice.call(n))}typeof SuppressedError=="function"&&SuppressedError;var Z1="right-scroll-bar-position",B1="width-before-scroll-bar",Em="with-scroll-bars-hidden",Lm="--removed-body-scroll-bar-size";function ti(e,n){return typeof e=="function"?e(n):e&&(e.current=n),e}function Nm(e,n){var t=k.useState(function(){return{value:e,callback:n,facade:{get current(){return t.value},set current(r){var o=t.value;o!==r&&(t.value=r,t.callback(r,o))}}}})[0];return t.callback=n,t.facade}var km=typeof window<"u"?c.useLayoutEffect:c.useEffect,id=new WeakMap;function Pm(e,n){var t=Nm(null,function(r){return e.forEach(function(o){return ti(o,r)})});return km(function(){var r=id.get(t);if(r){var o=new Set(r),a=new Set(e),s=t.current;o.forEach(function(i){a.has(i)||ti(i,null)}),a.forEach(function(i){o.has(i)||ti(i,s)})}id.set(t,e)},[e]),t}function Im(e){return e}function Om(e,n){n===void 0&&(n=Im);var t=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return t.length?t[t.length-1]:e},useMedium:function(a){var s=n(a,r);return t.push(s),function(){t=t.filter(function(i){return i!==s})}},assignSyncMedium:function(a){for(r=!0;t.length;){var s=t;t=[],s.forEach(a)}t={push:function(i){return a(i)},filter:function(){return t}}},assignMedium:function(a){r=!0;var s=[];if(t.length){var i=t;t=[],i.forEach(a),s=t}var l=function(){var f=s;s=[],f.forEach(a)},d=function(){return Promise.resolve().then(l)};d(),t={push:function(f){s.push(f),d()},filter:function(f){return s=s.filter(f),t}}}};return o}function Tm(e){e===void 0&&(e={});var n=Om(null);return n.options=qt({async:!0,ssr:!1},e),n}var ld=function(e){var n=e.sideCar,t=sd(e,["sideCar"]);if(!n)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=n.read();if(!r)throw new Error("Sidecar medium not found");return c.createElement(r,qt({},t))};ld.isSideCarExport=!0;function Dm(e,n){return e.useMedium(n),ld}var cd=Tm(),ni=function(){},W1=c.forwardRef(function(e,n){var t=c.useRef(null),r=c.useState({onScrollCapture:ni,onWheelCapture:ni,onTouchMoveCapture:ni}),o=r[0],a=r[1],s=e.forwardProps,i=e.children,l=e.className,d=e.removeScrollBar,f=e.enabled,h=e.shards,g=e.sideCar,C=e.noRelative,v=e.noIsolation,p=e.inert,m=e.allowPinchZoom,w=e.as,y=w===void 0?"div":w,b=e.gapMode,S=sd(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=g,M=Pm([t,n]),L=qt(qt({},S),o);return c.createElement(c.Fragment,null,f&&c.createElement(E,{sideCar:cd,removeScrollBar:d,shards:h,noRelative:C,noIsolation:v,inert:p,setCallbacks:a,allowPinchZoom:!!m,lockRef:t,gapMode:b}),s?c.cloneElement(c.Children.only(i),qt(qt({},L),{ref:M})):c.createElement(y,qt({},L,{className:l,ref:M}),i))});W1.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},W1.classNames={fullWidth:B1,zeroRight:Z1};var _m=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Vm(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var n=_m();return n&&e.setAttribute("nonce",n),e}function Hm(e,n){e.styleSheet?e.styleSheet.cssText=n:e.appendChild(document.createTextNode(n))}function Am(e){var n=document.head||document.getElementsByTagName("head")[0];n.appendChild(e)}var Fm=function(){var e=0,n=null;return{add:function(t){e==0&&(n=Vm())&&(Hm(n,t),Am(n)),e++},remove:function(){e--,!e&&n&&(n.parentNode&&n.parentNode.removeChild(n),n=null)}}},$m=function(){var e=Fm();return function(n,t){c.useEffect(function(){return e.add(n),function(){e.remove()}},[n&&t])}},ud=function(){var e=$m(),n=function(t){var r=t.styles,o=t.dynamic;return e(r,o),null};return n},zm={left:0,top:0,right:0,gap:0},ri=function(e){return parseInt(e||"",10)||0},Zm=function(e){var n=window.getComputedStyle(document.body),t=n[e==="padding"?"paddingLeft":"marginLeft"],r=n[e==="padding"?"paddingTop":"marginTop"],o=n[e==="padding"?"paddingRight":"marginRight"];return[ri(t),ri(r),ri(o)]},Bm=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return zm;var n=Zm(e),t=document.documentElement.clientWidth,r=window.innerWidth;return{left:n[0],top:n[1],right:n[2],gap:Math.max(0,r-t+n[2]-n[0])}},Wm=ud(),Nr="data-scroll-locked",Gm=function(e,n,t,r){var o=e.left,a=e.top,s=e.right,i=e.gap;return t===void 0&&(t="margin"),`
2
+ .`.concat(Em,` {
3
+ overflow: hidden `).concat(r,`;
4
+ padding-right: `).concat(i,"px ").concat(r,`;
5
+ }
6
+ body[`).concat(Nr,`] {
7
+ overflow: hidden `).concat(r,`;
8
+ overscroll-behavior: contain;
9
+ `).concat([n&&"position: relative ".concat(r,";"),t==="margin"&&`
10
+ padding-left: `.concat(o,`px;
11
+ padding-top: `).concat(a,`px;
12
+ padding-right: `).concat(s,`px;
13
+ margin-left:0;
14
+ margin-top:0;
15
+ margin-right: `).concat(i,"px ").concat(r,`;
16
+ `),t==="padding"&&"padding-right: ".concat(i,"px ").concat(r,";")].filter(Boolean).join(""),`
17
+ }
18
+
19
+ .`).concat(Z1,` {
20
+ right: `).concat(i,"px ").concat(r,`;
21
+ }
22
+
23
+ .`).concat(B1,` {
24
+ margin-right: `).concat(i,"px ").concat(r,`;
25
+ }
26
+
27
+ .`).concat(Z1," .").concat(Z1,` {
28
+ right: 0 `).concat(r,`;
29
+ }
30
+
31
+ .`).concat(B1," .").concat(B1,` {
32
+ margin-right: 0 `).concat(r,`;
33
+ }
34
+
35
+ body[`).concat(Nr,`] {
36
+ `).concat(Lm,": ").concat(i,`px;
37
+ }
38
+ `)},dd=function(){var e=parseInt(document.body.getAttribute(Nr)||"0",10);return isFinite(e)?e:0},Rm=function(){c.useEffect(function(){return document.body.setAttribute(Nr,(dd()+1).toString()),function(){var e=dd()-1;e<=0?document.body.removeAttribute(Nr):document.body.setAttribute(Nr,e.toString())}},[])},jm=function(e){var n=e.noRelative,t=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;Rm();var a=c.useMemo(function(){return Bm(o)},[o]);return c.createElement(Wm,{styles:Gm(a,!n,o,t?"":"!important")})},oi=!1;if(typeof window<"u")try{var G1=Object.defineProperty({},"passive",{get:function(){return oi=!0,!0}});window.addEventListener("test",G1,G1),window.removeEventListener("test",G1,G1)}catch{oi=!1}var kr=oi?{passive:!1}:!1,Ym=function(e){return e.tagName==="TEXTAREA"},fd=function(e,n){if(!(e instanceof Element))return!1;var t=window.getComputedStyle(e);return t[n]!=="hidden"&&!(t.overflowY===t.overflowX&&!Ym(e)&&t[n]==="visible")},qm=function(e){return fd(e,"overflowY")},Um=function(e){return fd(e,"overflowX")},hd=function(e,n){var t=n.ownerDocument,r=n;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=gd(e,r);if(o){var a=pd(e,r),s=a[1],i=a[2];if(s>i)return!0}r=r.parentNode}while(r&&r!==t.body);return!1},Xm=function(e){var n=e.scrollTop,t=e.scrollHeight,r=e.clientHeight;return[n,t,r]},Km=function(e){var n=e.scrollLeft,t=e.scrollWidth,r=e.clientWidth;return[n,t,r]},gd=function(e,n){return e==="v"?qm(n):Um(n)},pd=function(e,n){return e==="v"?Xm(n):Km(n)},Qm=function(e,n){return e==="h"&&n==="rtl"?-1:1},Jm=function(e,n,t,r,o){var a=Qm(e,window.getComputedStyle(n).direction),s=a*r,i=t.target,l=n.contains(i),d=!1,f=s>0,h=0,g=0;do{if(!i)break;var C=pd(e,i),v=C[0],p=C[1],m=C[2],w=p-m-a*v;(v||w)&&gd(e,i)&&(h+=w,g+=v);var y=i.parentNode;i=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!l&&i!==document.body||l&&(n.contains(i)||n===i));return(f&&Math.abs(h)<1||!f&&Math.abs(g)<1)&&(d=!0),d},R1=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Cd=function(e){return[e.deltaX,e.deltaY]},md=function(e){return e&&"current"in e?e.current:e},ev=function(e,n){return e[0]===n[0]&&e[1]===n[1]},tv=function(e){return`
39
+ .block-interactivity-`.concat(e,` {pointer-events: none;}
40
+ .allow-interactivity-`).concat(e,` {pointer-events: all;}
41
+ `)},nv=0,Pr=[];function rv(e){var n=c.useRef([]),t=c.useRef([0,0]),r=c.useRef(),o=c.useState(nv++)[0],a=c.useState(ud)[0],s=c.useRef(e);c.useEffect(function(){s.current=e},[e]),c.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var p=Mm([e.lockRef.current],(e.shards||[]).map(md),!0).filter(Boolean);return p.forEach(function(m){return m.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),p.forEach(function(m){return m.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var i=c.useCallback(function(p,m){if("touches"in p&&p.touches.length===2||p.type==="wheel"&&p.ctrlKey)return!s.current.allowPinchZoom;var w=R1(p),y=t.current,b="deltaX"in p?p.deltaX:y[0]-w[0],S="deltaY"in p?p.deltaY:y[1]-w[1],E,M=p.target,L=Math.abs(b)>Math.abs(S)?"h":"v";if("touches"in p&&L==="h"&&M.type==="range")return!1;var I=window.getSelection(),O=I&&I.anchorNode,_=O?O===M||O.contains(M):!1;if(_)return!1;var V=hd(L,M);if(!V)return!0;if(V?E=L:(E=L==="v"?"h":"v",V=hd(L,M)),!V)return!1;if(!r.current&&"changedTouches"in p&&(b||S)&&(r.current=E),!E)return!0;var $=r.current||E;return Jm($,m,p,$==="h"?b:S)},[]),l=c.useCallback(function(p){var m=p;if(!(!Pr.length||Pr[Pr.length-1]!==a)){var w="deltaY"in m?Cd(m):R1(m),y=n.current.filter(function(E){return E.name===m.type&&(E.target===m.target||m.target===E.shadowParent)&&ev(E.delta,w)})[0];if(y&&y.should){m.cancelable&&m.preventDefault();return}if(!y){var b=(s.current.shards||[]).map(md).filter(Boolean).filter(function(E){return E.contains(m.target)}),S=b.length>0?i(m,b[0]):!s.current.noIsolation;S&&m.cancelable&&m.preventDefault()}}},[]),d=c.useCallback(function(p,m,w,y){var b={name:p,delta:m,target:w,should:y,shadowParent:ov(w)};n.current.push(b),setTimeout(function(){n.current=n.current.filter(function(S){return S!==b})},1)},[]),f=c.useCallback(function(p){t.current=R1(p),r.current=void 0},[]),h=c.useCallback(function(p){d(p.type,Cd(p),p.target,i(p,e.lockRef.current))},[]),g=c.useCallback(function(p){d(p.type,R1(p),p.target,i(p,e.lockRef.current))},[]);c.useEffect(function(){return Pr.push(a),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:g}),document.addEventListener("wheel",l,kr),document.addEventListener("touchmove",l,kr),document.addEventListener("touchstart",f,kr),function(){Pr=Pr.filter(function(p){return p!==a}),document.removeEventListener("wheel",l,kr),document.removeEventListener("touchmove",l,kr),document.removeEventListener("touchstart",f,kr)}},[]);var C=e.removeScrollBar,v=e.inert;return c.createElement(c.Fragment,null,v?c.createElement(a,{styles:tv(o)}):null,C?c.createElement(jm,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function ov(e){for(var n=null;e!==null;)e instanceof ShadowRoot&&(n=e.host,e=e.host),e=e.parentNode;return n}const av=Dm(cd,rv);var vo=c.forwardRef(function(e,n){return c.createElement(W1,qt({},e,{ref:n,sideCar:av}))});vo.classNames=W1.classNames;var sv=[" ","Enter","ArrowUp","ArrowDown"],iv=[" ","Enter"],Un="Select",[j1,Y1,lv]=b1(Un),[Ir]=it(Un,[lv,Nn]),q1=Nn(),[cv,Pn]=Ir(Un),[uv,dv]=Ir(Un),vd=e=>{const{__scopeSelect:n,children:t,open:r,defaultOpen:o,onOpenChange:a,value:s,defaultValue:i,onValueChange:l,dir:d,name:f,autoComplete:h,disabled:g,required:C,form:v}=e,p=q1(n),[m,w]=c.useState(null),[y,b]=c.useState(null),[S,E]=c.useState(!1),M=br(d),[L,I]=wt({prop:r,defaultProp:o??!1,onChange:a,caller:Un}),[O,_]=wt({prop:s,defaultProp:i,onChange:l,caller:Un}),V=c.useRef(null),$=m?v||!!m.closest("form"):!0,[j,F]=c.useState(new Set),R=Array.from(j).map(Z=>Z.props.value).join(";");return u.jsx(Co,{...p,children:u.jsxs(cv,{required:C,scope:n,trigger:m,onTriggerChange:w,valueNode:y,onValueNodeChange:b,valueNodeHasChildren:S,onValueNodeHasChildrenChange:E,contentId:Ye(),value:O,onValueChange:_,open:L,onOpenChange:I,dir:M,triggerPointerDownPosRef:V,disabled:g,children:[u.jsx(j1.Provider,{scope:n,children:u.jsx(uv,{scope:e.__scopeSelect,onNativeOptionAdd:c.useCallback(Z=>{F(K=>new Set(K).add(Z))},[]),onNativeOptionRemove:c.useCallback(Z=>{F(K=>{const q=new Set(K);return q.delete(Z),q})},[]),children:t})}),$?u.jsxs(zd,{"aria-hidden":!0,required:C,tabIndex:-1,name:f,autoComplete:h,value:O,onChange:Z=>_(Z.target.value),disabled:g,form:v,children:[O===void 0?u.jsx("option",{value:""}):null,Array.from(j)]},R):null]})})};vd.displayName=Un;var wd="SelectTrigger",yd=c.forwardRef((e,n)=>{const{__scopeSelect:t,disabled:r=!1,...o}=e,a=q1(t),s=Pn(wd,t),i=s.disabled||r,l=ye(n,s.onTriggerChange),d=Y1(t),f=c.useRef("touch"),[h,g,C]=Bd(p=>{const m=d().filter(b=>!b.disabled),w=m.find(b=>b.value===s.value),y=Wd(m,p,w);y!==void 0&&s.onValueChange(y.value)}),v=p=>{i||(s.onOpenChange(!0),C()),p&&(s.triggerPointerDownPosRef.current={x:Math.round(p.pageX),y:Math.round(p.pageY)})};return u.jsx(mo,{asChild:!0,...a,children:u.jsx(ie.button,{type:"button",role:"combobox","aria-controls":s.contentId,"aria-expanded":s.open,"aria-required":s.required,"aria-autocomplete":"none",dir:s.dir,"data-state":s.open?"open":"closed",disabled:i,"data-disabled":i?"":void 0,"data-placeholder":Zd(s.value)?"":void 0,...o,ref:l,onClick:ee(o.onClick,p=>{p.currentTarget.focus(),f.current!=="mouse"&&v(p)}),onPointerDown:ee(o.onPointerDown,p=>{f.current=p.pointerType;const m=p.target;m.hasPointerCapture(p.pointerId)&&m.releasePointerCapture(p.pointerId),p.button===0&&p.ctrlKey===!1&&p.pointerType==="mouse"&&(v(p),p.preventDefault())}),onKeyDown:ee(o.onKeyDown,p=>{const m=h.current!=="";!(p.ctrlKey||p.altKey||p.metaKey)&&p.key.length===1&&g(p.key),!(m&&p.key===" ")&&sv.includes(p.key)&&(v(),p.preventDefault())})})})});yd.displayName=wd;var bd="SelectValue",xd=c.forwardRef((e,n)=>{const{__scopeSelect:t,className:r,style:o,children:a,placeholder:s="",...i}=e,l=Pn(bd,t),{onValueNodeHasChildrenChange:d}=l,f=a!==void 0,h=ye(n,l.onValueNodeChange);return tt(()=>{d(f)},[d,f]),u.jsx(ie.span,{...i,ref:h,style:{pointerEvents:"none"},children:Zd(l.value)?u.jsx(u.Fragment,{children:s}):a})});xd.displayName=bd;var fv="SelectIcon",Sd=c.forwardRef((e,n)=>{const{__scopeSelect:t,children:r,...o}=e;return u.jsx(ie.span,{"aria-hidden":!0,...o,ref:n,children:r||"▼"})});Sd.displayName=fv;var hv="SelectPortal",Md=e=>u.jsx(kn,{asChild:!0,...e});Md.displayName=hv;var Xn="SelectContent",Ed=c.forwardRef((e,n)=>{const t=Pn(Xn,e.__scopeSelect),[r,o]=c.useState();if(tt(()=>{o(new DocumentFragment)},[]),!t.open){const a=r;return a?eo.createPortal(u.jsx(Ld,{scope:e.__scopeSelect,children:u.jsx(j1.Slot,{scope:e.__scopeSelect,children:u.jsx("div",{children:e.children})})}),a):null}return u.jsx(Nd,{...e,ref:n})});Ed.displayName=Xn;var _t=10,[Ld,In]=Ir(Xn),gv="SelectContentImpl",pv=bn("SelectContent.RemoveScroll"),Nd=c.forwardRef((e,n)=>{const{__scopeSelect:t,position:r="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:a,onPointerDownOutside:s,side:i,sideOffset:l,align:d,alignOffset:f,arrowPadding:h,collisionBoundary:g,collisionPadding:C,sticky:v,hideWhenDetached:p,avoidCollisions:m,...w}=e,y=Pn(Xn,t),[b,S]=c.useState(null),[E,M]=c.useState(null),L=ye(n,A=>S(A)),[I,O]=c.useState(null),[_,V]=c.useState(null),$=Y1(t),[j,F]=c.useState(!1),R=c.useRef(!1);c.useEffect(()=>{if(b)return z1(b)},[b]),x1();const Z=c.useCallback(A=>{const[Y,...X]=$().map(B=>B.ref.current),[J]=X.slice(-1),te=document.activeElement;for(const B of A)if(B===te||(B==null||B.scrollIntoView({block:"nearest"}),B===Y&&E&&(E.scrollTop=0),B===J&&E&&(E.scrollTop=E.scrollHeight),B==null||B.focus(),document.activeElement!==te))return},[$,E]),K=c.useCallback(()=>Z([I,b]),[Z,I,b]);c.useEffect(()=>{j&&K()},[j,K]);const{onOpenChange:q,triggerPointerDownPosRef:G}=y;c.useEffect(()=>{if(b){let A={x:0,y:0};const Y=J=>{var te,B;A={x:Math.abs(Math.round(J.pageX)-(((te=G.current)==null?void 0:te.x)??0)),y:Math.abs(Math.round(J.pageY)-(((B=G.current)==null?void 0:B.y)??0))}},X=J=>{A.x<=10&&A.y<=10?J.preventDefault():b.contains(J.target)||q(!1),document.removeEventListener("pointermove",Y),G.current=null};return G.current!==null&&(document.addEventListener("pointermove",Y),document.addEventListener("pointerup",X,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Y),document.removeEventListener("pointerup",X,{capture:!0})}}},[b,q,G]),c.useEffect(()=>{const A=()=>q(!1);return window.addEventListener("blur",A),window.addEventListener("resize",A),()=>{window.removeEventListener("blur",A),window.removeEventListener("resize",A)}},[q]);const[oe,U]=Bd(A=>{const Y=$().filter(te=>!te.disabled),X=Y.find(te=>te.ref.current===document.activeElement),J=Wd(Y,A,X);J&&setTimeout(()=>J.ref.current.focus())}),D=c.useCallback((A,Y,X)=>{const J=!R.current&&!X;(y.value!==void 0&&y.value===Y||J)&&(O(A),J&&(R.current=!0))},[y.value]),T=c.useCallback(()=>b==null?void 0:b.focus(),[b]),N=c.useCallback((A,Y,X)=>{const J=!R.current&&!X;(y.value!==void 0&&y.value===Y||J)&&V(A)},[y.value]),H=r==="popper"?ai:kd,W=H===ai?{side:i,sideOffset:l,align:d,alignOffset:f,arrowPadding:h,collisionBoundary:g,collisionPadding:C,sticky:v,hideWhenDetached:p,avoidCollisions:m}:{};return u.jsx(Ld,{scope:t,content:b,viewport:E,onViewportChange:M,itemRefCallback:D,selectedItem:I,onItemLeave:T,itemTextRefCallback:N,focusSelectedItem:K,selectedItemText:_,position:r,isPositioned:j,searchRef:oe,children:u.jsx(vo,{as:pv,allowPinchZoom:!0,children:u.jsx(ho,{asChild:!0,trapped:y.open,onMountAutoFocus:A=>{A.preventDefault()},onUnmountAutoFocus:ee(o,A=>{var Y;(Y=y.trigger)==null||Y.focus({preventScroll:!0}),A.preventDefault()}),children:u.jsx(jn,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:A=>A.preventDefault(),onDismiss:()=>y.onOpenChange(!1),children:u.jsx(H,{role:"listbox",id:y.contentId,"data-state":y.open?"open":"closed",dir:y.dir,onContextMenu:A=>A.preventDefault(),...w,...W,onPlaced:()=>F(!0),ref:L,style:{display:"flex",flexDirection:"column",outline:"none",...w.style},onKeyDown:ee(w.onKeyDown,A=>{const Y=A.ctrlKey||A.altKey||A.metaKey;if(A.key==="Tab"&&A.preventDefault(),!Y&&A.key.length===1&&U(A.key),["ArrowUp","ArrowDown","Home","End"].includes(A.key)){let J=$().filter(te=>!te.disabled).map(te=>te.ref.current);if(["ArrowUp","End"].includes(A.key)&&(J=J.slice().reverse()),["ArrowUp","ArrowDown"].includes(A.key)){const te=A.target,B=J.indexOf(te);J=J.slice(B+1)}setTimeout(()=>Z(J)),A.preventDefault()}})})})})})})});Nd.displayName=gv;var Cv="SelectItemAlignedPosition",kd=c.forwardRef((e,n)=>{const{__scopeSelect:t,onPlaced:r,...o}=e,a=Pn(Xn,t),s=In(Xn,t),[i,l]=c.useState(null),[d,f]=c.useState(null),h=ye(n,L=>f(L)),g=Y1(t),C=c.useRef(!1),v=c.useRef(!0),{viewport:p,selectedItem:m,selectedItemText:w,focusSelectedItem:y}=s,b=c.useCallback(()=>{if(a.trigger&&a.valueNode&&i&&d&&p&&m&&w){const L=a.trigger.getBoundingClientRect(),I=d.getBoundingClientRect(),O=a.valueNode.getBoundingClientRect(),_=w.getBoundingClientRect();if(a.dir!=="rtl"){const te=_.left-I.left,B=O.left-te,ae=L.left-B,ne=L.width+ae,se=Math.max(ne,I.width),ge=window.innerWidth-_t,de=_s(B,[_t,Math.max(_t,ge-se)]);i.style.minWidth=ne+"px",i.style.left=de+"px"}else{const te=I.right-_.right,B=window.innerWidth-O.right-te,ae=window.innerWidth-L.right-B,ne=L.width+ae,se=Math.max(ne,I.width),ge=window.innerWidth-_t,de=_s(B,[_t,Math.max(_t,ge-se)]);i.style.minWidth=ne+"px",i.style.right=de+"px"}const V=g(),$=window.innerHeight-_t*2,j=p.scrollHeight,F=window.getComputedStyle(d),R=parseInt(F.borderTopWidth,10),Z=parseInt(F.paddingTop,10),K=parseInt(F.borderBottomWidth,10),q=parseInt(F.paddingBottom,10),G=R+Z+j+q+K,oe=Math.min(m.offsetHeight*5,G),U=window.getComputedStyle(p),D=parseInt(U.paddingTop,10),T=parseInt(U.paddingBottom,10),N=L.top+L.height/2-_t,H=$-N,W=m.offsetHeight/2,A=m.offsetTop+W,Y=R+Z+A,X=G-Y;if(Y<=N){const te=V.length>0&&m===V[V.length-1].ref.current;i.style.bottom="0px";const B=d.clientHeight-p.offsetTop-p.offsetHeight,ae=Math.max(H,W+(te?T:0)+B+K),ne=Y+ae;i.style.height=ne+"px"}else{const te=V.length>0&&m===V[0].ref.current;i.style.top="0px";const ae=Math.max(N,R+p.offsetTop+(te?D:0)+W)+X;i.style.height=ae+"px",p.scrollTop=Y-N+p.offsetTop}i.style.margin=`${_t}px 0`,i.style.minHeight=oe+"px",i.style.maxHeight=$+"px",r==null||r(),requestAnimationFrame(()=>C.current=!0)}},[g,a.trigger,a.valueNode,i,d,p,m,w,a.dir,r]);tt(()=>b(),[b]);const[S,E]=c.useState();tt(()=>{d&&E(window.getComputedStyle(d).zIndex)},[d]);const M=c.useCallback(L=>{L&&v.current===!0&&(b(),y==null||y(),v.current=!1)},[b,y]);return u.jsx(vv,{scope:t,contentWrapper:i,shouldExpandOnScrollRef:C,onScrollButtonChange:M,children:u.jsx("div",{ref:l,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:S},children:u.jsx(ie.div,{...o,ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});kd.displayName=Cv;var mv="SelectPopperPosition",ai=c.forwardRef((e,n)=>{const{__scopeSelect:t,align:r="start",collisionPadding:o=_t,...a}=e,s=q1(t);return u.jsx(_1,{...s,...a,ref:n,align:r,collisionPadding:o,style:{boxSizing:"border-box",...a.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});ai.displayName=mv;var[vv,si]=Ir(Xn,{}),ii="SelectViewport",Pd=c.forwardRef((e,n)=>{const{__scopeSelect:t,nonce:r,...o}=e,a=In(ii,t),s=si(ii,t),i=ye(n,a.onViewportChange),l=c.useRef(0);return u.jsxs(u.Fragment,{children:[u.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),u.jsx(j1.Slot,{scope:t,children:u.jsx(ie.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:i,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:ee(o.onScroll,d=>{const f=d.currentTarget,{contentWrapper:h,shouldExpandOnScrollRef:g}=s;if(g!=null&&g.current&&h){const C=Math.abs(l.current-f.scrollTop);if(C>0){const v=window.innerHeight-_t*2,p=parseFloat(h.style.minHeight),m=parseFloat(h.style.height),w=Math.max(p,m);if(w<v){const y=w+C,b=Math.min(v,y),S=y-b;h.style.height=b+"px",h.style.bottom==="0px"&&(f.scrollTop=S>0?S:0,h.style.justifyContent="flex-end")}}}l.current=f.scrollTop})})})]})});Pd.displayName=ii;var Id="SelectGroup",[wv,yv]=Ir(Id),bv=c.forwardRef((e,n)=>{const{__scopeSelect:t,...r}=e,o=Ye();return u.jsx(wv,{scope:t,id:o,children:u.jsx(ie.div,{role:"group","aria-labelledby":o,...r,ref:n})})});bv.displayName=Id;var Od="SelectLabel",Td=c.forwardRef((e,n)=>{const{__scopeSelect:t,...r}=e,o=yv(Od,t);return u.jsx(ie.div,{id:o.id,...r,ref:n})});Td.displayName=Od;var U1="SelectItem",[xv,Dd]=Ir(U1),_d=c.forwardRef((e,n)=>{const{__scopeSelect:t,value:r,disabled:o=!1,textValue:a,...s}=e,i=Pn(U1,t),l=In(U1,t),d=i.value===r,[f,h]=c.useState(a??""),[g,C]=c.useState(!1),v=ye(n,y=>{var b;return(b=l.itemRefCallback)==null?void 0:b.call(l,y,r,o)}),p=Ye(),m=c.useRef("touch"),w=()=>{o||(i.onValueChange(r),i.onOpenChange(!1))};if(r==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return u.jsx(xv,{scope:t,value:r,disabled:o,textId:p,isSelected:d,onItemTextChange:c.useCallback(y=>{h(b=>b||((y==null?void 0:y.textContent)??"").trim())},[]),children:u.jsx(j1.ItemSlot,{scope:t,value:r,disabled:o,textValue:f,children:u.jsx(ie.div,{role:"option","aria-labelledby":p,"data-highlighted":g?"":void 0,"aria-selected":d&&g,"data-state":d?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...s,ref:v,onFocus:ee(s.onFocus,()=>C(!0)),onBlur:ee(s.onBlur,()=>C(!1)),onClick:ee(s.onClick,()=>{m.current!=="mouse"&&w()}),onPointerUp:ee(s.onPointerUp,()=>{m.current==="mouse"&&w()}),onPointerDown:ee(s.onPointerDown,y=>{m.current=y.pointerType}),onPointerMove:ee(s.onPointerMove,y=>{var b;m.current=y.pointerType,o?(b=l.onItemLeave)==null||b.call(l):m.current==="mouse"&&y.currentTarget.focus({preventScroll:!0})}),onPointerLeave:ee(s.onPointerLeave,y=>{var b;y.currentTarget===document.activeElement&&((b=l.onItemLeave)==null||b.call(l))}),onKeyDown:ee(s.onKeyDown,y=>{var S;((S=l.searchRef)==null?void 0:S.current)!==""&&y.key===" "||(iv.includes(y.key)&&w(),y.key===" "&&y.preventDefault())})})})})});_d.displayName=U1;var wo="SelectItemText",Vd=c.forwardRef((e,n)=>{const{__scopeSelect:t,className:r,style:o,...a}=e,s=Pn(wo,t),i=In(wo,t),l=Dd(wo,t),d=dv(wo,t),[f,h]=c.useState(null),g=ye(n,w=>h(w),l.onItemTextChange,w=>{var y;return(y=i.itemTextRefCallback)==null?void 0:y.call(i,w,l.value,l.disabled)}),C=f==null?void 0:f.textContent,v=c.useMemo(()=>u.jsx("option",{value:l.value,disabled:l.disabled,children:C},l.value),[l.disabled,l.value,C]),{onNativeOptionAdd:p,onNativeOptionRemove:m}=d;return tt(()=>(p(v),()=>m(v)),[p,m,v]),u.jsxs(u.Fragment,{children:[u.jsx(ie.span,{id:l.textId,...a,ref:g}),l.isSelected&&s.valueNode&&!s.valueNodeHasChildren?eo.createPortal(a.children,s.valueNode):null]})});Vd.displayName=wo;var Hd="SelectItemIndicator",Ad=c.forwardRef((e,n)=>{const{__scopeSelect:t,...r}=e;return Dd(Hd,t).isSelected?u.jsx(ie.span,{"aria-hidden":!0,...r,ref:n}):null});Ad.displayName=Hd;var li="SelectScrollUpButton",Sv=c.forwardRef((e,n)=>{const t=In(li,e.__scopeSelect),r=si(li,e.__scopeSelect),[o,a]=c.useState(!1),s=ye(n,r.onScrollButtonChange);return tt(()=>{if(t.viewport&&t.isPositioned){let i=function(){const d=l.scrollTop>0;a(d)};const l=t.viewport;return i(),l.addEventListener("scroll",i),()=>l.removeEventListener("scroll",i)}},[t.viewport,t.isPositioned]),o?u.jsx(Fd,{...e,ref:s,onAutoScroll:()=>{const{viewport:i,selectedItem:l}=t;i&&l&&(i.scrollTop=i.scrollTop-l.offsetHeight)}}):null});Sv.displayName=li;var ci="SelectScrollDownButton",Mv=c.forwardRef((e,n)=>{const t=In(ci,e.__scopeSelect),r=si(ci,e.__scopeSelect),[o,a]=c.useState(!1),s=ye(n,r.onScrollButtonChange);return tt(()=>{if(t.viewport&&t.isPositioned){let i=function(){const d=l.scrollHeight-l.clientHeight,f=Math.ceil(l.scrollTop)<d;a(f)};const l=t.viewport;return i(),l.addEventListener("scroll",i),()=>l.removeEventListener("scroll",i)}},[t.viewport,t.isPositioned]),o?u.jsx(Fd,{...e,ref:s,onAutoScroll:()=>{const{viewport:i,selectedItem:l}=t;i&&l&&(i.scrollTop=i.scrollTop+l.offsetHeight)}}):null});Mv.displayName=ci;var Fd=c.forwardRef((e,n)=>{const{__scopeSelect:t,onAutoScroll:r,...o}=e,a=In("SelectScrollButton",t),s=c.useRef(null),i=Y1(t),l=c.useCallback(()=>{s.current!==null&&(window.clearInterval(s.current),s.current=null)},[]);return c.useEffect(()=>()=>l(),[l]),tt(()=>{var f;const d=i().find(h=>h.ref.current===document.activeElement);(f=d==null?void 0:d.ref.current)==null||f.scrollIntoView({block:"nearest"})},[i]),u.jsx(ie.div,{"aria-hidden":!0,...o,ref:n,style:{flexShrink:0,...o.style},onPointerDown:ee(o.onPointerDown,()=>{s.current===null&&(s.current=window.setInterval(r,50))}),onPointerMove:ee(o.onPointerMove,()=>{var d;(d=a.onItemLeave)==null||d.call(a),s.current===null&&(s.current=window.setInterval(r,50))}),onPointerLeave:ee(o.onPointerLeave,()=>{l()})})}),Ev="SelectSeparator",$d=c.forwardRef((e,n)=>{const{__scopeSelect:t,...r}=e;return u.jsx(ie.div,{"aria-hidden":!0,...r,ref:n})});$d.displayName=Ev;var ui="SelectArrow",Lv=c.forwardRef((e,n)=>{const{__scopeSelect:t,...r}=e,o=q1(t),a=Pn(ui,t),s=In(ui,t);return a.open&&s.position==="popper"?u.jsx(V1,{...o,...r,ref:n}):null});Lv.displayName=ui;var Nv="SelectBubbleInput",zd=c.forwardRef(({__scopeSelect:e,value:n,...t},r)=>{const o=c.useRef(null),a=ye(r,o),s=H1(n);return c.useEffect(()=>{const i=o.current;if(!i)return;const l=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(l,"value").set;if(s!==n&&f){const h=new Event("change",{bubbles:!0});f.call(i,n),i.dispatchEvent(h)}},[s,n]),u.jsx(ie.select,{...t,style:{...od,...t.style},ref:a,defaultValue:n})});zd.displayName=Nv;function Zd(e){return e===""||e===void 0}function Bd(e){const n=Ge(e),t=c.useRef(""),r=c.useRef(0),o=c.useCallback(s=>{const i=t.current+s;n(i),function l(d){t.current=d,window.clearTimeout(r.current),d!==""&&(r.current=window.setTimeout(()=>l(""),1e3))}(i)},[n]),a=c.useCallback(()=>{t.current="",window.clearTimeout(r.current)},[]);return c.useEffect(()=>()=>window.clearTimeout(r.current),[]),[t,o,a]}function Wd(e,n,t){const o=n.length>1&&Array.from(n).every(d=>d===n[0])?n[0]:n,a=t?e.indexOf(t):-1;let s=kv(e,Math.max(a,0));o.length===1&&(s=s.filter(d=>d!==t));const l=s.find(d=>d.textValue.toLowerCase().startsWith(o.toLowerCase()));return l!==t?l:void 0}function kv(e,n){return e.map((t,r)=>e[(n+r)%e.length])}var Gd=vd,Pv=yd,Iv=xd,Ov=Sd,Tv=Md,Dv=Ed,_v=Pd,Vv=Td,Hv=_d,Av=Vd,Fv=Ad,$v=$d;const Rd=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M8.41421 12L15.7071 19.2929C16.0976 19.6834 16.0976 20.3166 15.7071 20.7071C15.3166 21.0976 14.6834 21.0976 14.2929 20.7071L6.29289 12.7071C5.90237 12.3166 5.90237 11.6834 6.29289 11.2929L14.2929 3.29289C14.6834 2.90237 15.3166 2.90237 15.7071 3.29289C16.0976 3.68342 16.0976 4.31658 15.7071 4.70711L8.41421 12Z",fill:"currentColor"})),jd=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M15.5858 12L8.29289 4.70711C7.90237 4.31658 7.90237 3.68342 8.29289 3.29289C8.68342 2.90237 9.31658 2.90237 9.70711 3.29289L17.7071 11.2929C18.0976 11.6834 18.0976 12.3166 17.7071 12.7071L9.70711 20.7071C9.31658 21.0976 8.68342 21.0976 8.29289 20.7071C7.90237 20.3166 7.90237 19.6834 8.29289 19.2929L15.5858 12Z",fill:"currentColor"}));function di(){return di=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},di.apply(null,arguments)}function Yd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fi(e,n){return fi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},fi(e,n)}function zv(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,fi(e,n)}var qd=Number.isNaN||function(n){return typeof n=="number"&&n!==n};function Zv(e,n){return!!(e===n||qd(e)&&qd(n))}function Bv(e,n){if(e.length!==n.length)return!1;for(var t=0;t<e.length;t++)if(!Zv(e[t],n[t]))return!1;return!0}function hi(e,n){n===void 0&&(n=Bv);var t,r=[],o,a=!1;function s(){for(var i=[],l=0;l<arguments.length;l++)i[l]=arguments[l];return a&&t===this&&n(i,r)||(o=e.apply(this,i),a=!0,t=this,r=i),o}return s}var Wv=typeof performance=="object"&&typeof performance.now=="function",Ud=Wv?function(){return performance.now()}:function(){return Date.now()};function Xd(e){cancelAnimationFrame(e.id)}function Gv(e,n){var t=Ud();function r(){Ud()-t>=n?e.call(null):o.id=requestAnimationFrame(r)}var o={id:requestAnimationFrame(r)};return o}var gi=-1;function Kd(e){if(e===void 0&&(e=!1),gi===-1||e){var n=document.createElement("div"),t=n.style;t.width="50px",t.height="50px",t.overflow="scroll",document.body.appendChild(n),gi=n.offsetWidth-n.clientWidth,document.body.removeChild(n)}return gi}var Or=null;function Qd(e){if(e===void 0&&(e=!1),Or===null||e){var n=document.createElement("div"),t=n.style;t.width="50px",t.height="50px",t.overflow="scroll",t.direction="rtl";var r=document.createElement("div"),o=r.style;return o.width="100px",o.height="100px",n.appendChild(r),document.body.appendChild(n),n.scrollLeft>0?Or="positive-descending":(n.scrollLeft=1,n.scrollLeft===0?Or="negative":Or="positive-ascending"),document.body.removeChild(n),Or}return Or}process.env.NODE_ENV;var Rv=150,jv=function(n,t){return n},X1=null,K1=null;process.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof window.WeakSet<"u"&&(X1=new WeakSet,K1=new WeakSet);function Yv(e){var n,t=e.getItemOffset,r=e.getEstimatedTotalSize,o=e.getItemSize,a=e.getOffsetForIndexAndAlignment,s=e.getStartIndexForOffset,i=e.getStopIndexForStartIndex,l=e.initInstanceProps,d=e.shouldResetStyleCacheOnItemSizeChange,f=e.validateProps;return n=function(h){zv(g,h);function g(v){var p;return p=h.call(this,v)||this,p._instanceProps=l(p.props,Yd(p)),p._outerRef=void 0,p._resetIsScrollingTimeoutId=null,p.state={instance:Yd(p),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof p.props.initialScrollOffset=="number"?p.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},p._callOnItemsRendered=void 0,p._callOnItemsRendered=hi(function(m,w,y,b){return p.props.onItemsRendered({overscanStartIndex:m,overscanStopIndex:w,visibleStartIndex:y,visibleStopIndex:b})}),p._callOnScroll=void 0,p._callOnScroll=hi(function(m,w,y){return p.props.onScroll({scrollDirection:m,scrollOffset:w,scrollUpdateWasRequested:y})}),p._getItemStyle=void 0,p._getItemStyle=function(m){var w=p.props,y=w.direction,b=w.itemSize,S=w.layout,E=p._getItemStyleCache(d&&b,d&&S,d&&y),M;if(E.hasOwnProperty(m))M=E[m];else{var L=t(p.props,m,p._instanceProps),I=o(p.props,m,p._instanceProps),O=y==="horizontal"||S==="horizontal",_=y==="rtl",V=O?L:0;E[m]=M={position:"absolute",left:_?void 0:V,right:_?V:void 0,top:O?0:L,height:O?"100%":I,width:O?I:"100%"}}return M},p._getItemStyleCache=void 0,p._getItemStyleCache=hi(function(m,w,y){return{}}),p._onScrollHorizontal=function(m){var w=m.currentTarget,y=w.clientWidth,b=w.scrollLeft,S=w.scrollWidth;p.setState(function(E){if(E.scrollOffset===b)return null;var M=p.props.direction,L=b;if(M==="rtl")switch(Qd()){case"negative":L=-b;break;case"positive-descending":L=S-y-b;break}return L=Math.max(0,Math.min(L,S-y)),{isScrolling:!0,scrollDirection:E.scrollOffset<L?"forward":"backward",scrollOffset:L,scrollUpdateWasRequested:!1}},p._resetIsScrollingDebounced)},p._onScrollVertical=function(m){var w=m.currentTarget,y=w.clientHeight,b=w.scrollHeight,S=w.scrollTop;p.setState(function(E){if(E.scrollOffset===S)return null;var M=Math.max(0,Math.min(S,b-y));return{isScrolling:!0,scrollDirection:E.scrollOffset<M?"forward":"backward",scrollOffset:M,scrollUpdateWasRequested:!1}},p._resetIsScrollingDebounced)},p._outerRefSetter=function(m){var w=p.props.outerRef;p._outerRef=m,typeof w=="function"?w(m):w!=null&&typeof w=="object"&&w.hasOwnProperty("current")&&(w.current=m)},p._resetIsScrollingDebounced=function(){p._resetIsScrollingTimeoutId!==null&&Xd(p._resetIsScrollingTimeoutId),p._resetIsScrollingTimeoutId=Gv(p._resetIsScrolling,Rv)},p._resetIsScrolling=function(){p._resetIsScrollingTimeoutId=null,p.setState({isScrolling:!1},function(){p._getItemStyleCache(-1,null)})},p}g.getDerivedStateFromProps=function(p,m){return qv(p,m),f(p),null};var C=g.prototype;return C.scrollTo=function(p){p=Math.max(0,p),this.setState(function(m){return m.scrollOffset===p?null:{scrollDirection:m.scrollOffset<p?"forward":"backward",scrollOffset:p,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},C.scrollToItem=function(p,m){m===void 0&&(m="auto");var w=this.props,y=w.itemCount,b=w.layout,S=this.state.scrollOffset;p=Math.max(0,Math.min(p,y-1));var E=0;if(this._outerRef){var M=this._outerRef;b==="vertical"?E=M.scrollWidth>M.clientWidth?Kd():0:E=M.scrollHeight>M.clientHeight?Kd():0}this.scrollTo(a(this.props,p,m,S,this._instanceProps,E))},C.componentDidMount=function(){var p=this.props,m=p.direction,w=p.initialScrollOffset,y=p.layout;if(typeof w=="number"&&this._outerRef!=null){var b=this._outerRef;m==="horizontal"||y==="horizontal"?b.scrollLeft=w:b.scrollTop=w}this._callPropsCallbacks()},C.componentDidUpdate=function(){var p=this.props,m=p.direction,w=p.layout,y=this.state,b=y.scrollOffset,S=y.scrollUpdateWasRequested;if(S&&this._outerRef!=null){var E=this._outerRef;if(m==="horizontal"||w==="horizontal")if(m==="rtl")switch(Qd()){case"negative":E.scrollLeft=-b;break;case"positive-ascending":E.scrollLeft=b;break;default:var M=E.clientWidth,L=E.scrollWidth;E.scrollLeft=L-M-b;break}else E.scrollLeft=b;else E.scrollTop=b}this._callPropsCallbacks()},C.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&Xd(this._resetIsScrollingTimeoutId)},C.render=function(){var p=this.props,m=p.children,w=p.className,y=p.direction,b=p.height,S=p.innerRef,E=p.innerElementType,M=p.innerTagName,L=p.itemCount,I=p.itemData,O=p.itemKey,_=O===void 0?jv:O,V=p.layout,$=p.outerElementType,j=p.outerTagName,F=p.style,R=p.useIsScrolling,Z=p.width,K=this.state.isScrolling,q=y==="horizontal"||V==="horizontal",G=q?this._onScrollHorizontal:this._onScrollVertical,oe=this._getRangeToRender(),U=oe[0],D=oe[1],T=[];if(L>0)for(var N=U;N<=D;N++)T.push(k.createElement(m,{data:I,key:_(N,I),index:N,isScrolling:R?K:void 0,style:this._getItemStyle(N)}));var H=r(this.props,this._instanceProps);return k.createElement($||j||"div",{className:w,onScroll:G,ref:this._outerRefSetter,style:di({position:"relative",height:b,width:Z,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:y},F)},k.createElement(E||M||"div",{children:T,ref:S,style:{height:q?"100%":H,pointerEvents:K?"none":void 0,width:q?H:"100%"}}))},C._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var p=this.props.itemCount;if(p>0){var m=this._getRangeToRender(),w=m[0],y=m[1],b=m[2],S=m[3];this._callOnItemsRendered(w,y,b,S)}}if(typeof this.props.onScroll=="function"){var E=this.state,M=E.scrollDirection,L=E.scrollOffset,I=E.scrollUpdateWasRequested;this._callOnScroll(M,L,I)}},C._getRangeToRender=function(){var p=this.props,m=p.itemCount,w=p.overscanCount,y=this.state,b=y.isScrolling,S=y.scrollDirection,E=y.scrollOffset;if(m===0)return[0,0,0,0];var M=s(this.props,E,this._instanceProps),L=i(this.props,M,E,this._instanceProps),I=!b||S==="backward"?Math.max(1,w):1,O=!b||S==="forward"?Math.max(1,w):1;return[Math.max(0,M-I),Math.max(0,Math.min(m-1,L+O)),M,L]},g}(k.PureComponent),n.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},n}var qv=function(n,t){var r=n.children,o=n.direction,a=n.height,s=n.layout,i=n.innerTagName,l=n.outerTagName,d=n.width,f=t.instance;if(process.env.NODE_ENV!=="production"){(i!=null||l!=null)&&K1&&!K1.has(f)&&(K1.add(f),console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead."));var h=o==="horizontal"||s==="horizontal";switch(o){case"horizontal":case"vertical":X1&&!X1.has(f)&&(X1.add(f),console.warn('The direction prop should be either "ltr" (default) or "rtl". Please use the layout prop to specify "vertical" (default) or "horizontal" orientation.'));break;case"ltr":case"rtl":break;default:throw Error('An invalid "direction" prop has been specified. Value should be either "ltr" or "rtl". '+('"'+o+'" was specified.'))}switch(s){case"horizontal":case"vertical":break;default:throw Error('An invalid "layout" prop has been specified. Value should be either "horizontal" or "vertical". '+('"'+s+'" was specified.'))}if(r==null)throw Error('An invalid "children" prop has been specified. Value should be a React component. '+('"'+(r===null?"null":typeof r)+'" was specified.'));if(h&&typeof d!="number")throw Error('An invalid "width" prop has been specified. Horizontal lists must specify a number for width. '+('"'+(d===null?"null":typeof d)+'" was specified.'));if(!h&&typeof a!="number")throw Error('An invalid "height" prop has been specified. Vertical lists must specify a number for height. '+('"'+(a===null?"null":typeof a)+'" was specified.'))}},Jd=Yv({getItemOffset:function(n,t){var r=n.itemSize;return t*r},getItemSize:function(n,t){var r=n.itemSize;return r},getEstimatedTotalSize:function(n){var t=n.itemCount,r=n.itemSize;return r*t},getOffsetForIndexAndAlignment:function(n,t,r,o,a,s){var i=n.direction,l=n.height,d=n.itemCount,f=n.itemSize,h=n.layout,g=n.width,C=i==="horizontal"||h==="horizontal",v=C?g:l,p=Math.max(0,d*f-v),m=Math.min(p,t*f),w=Math.max(0,t*f-v+f+s);switch(r==="smart"&&(o>=w-v&&o<=m+v?r="auto":r="center"),r){case"start":return m;case"end":return w;case"center":{var y=Math.round(w+(m-w)/2);return y<Math.ceil(v/2)?0:y>p+Math.floor(v/2)?p:y}case"auto":default:return o>=w&&o<=m?o:o<w?w:m}},getStartIndexForOffset:function(n,t){var r=n.itemCount,o=n.itemSize;return Math.max(0,Math.min(r-1,Math.floor(t/o)))},getStopIndexForStartIndex:function(n,t,r){var o=n.direction,a=n.height,s=n.itemCount,i=n.itemSize,l=n.layout,d=n.width,f=o==="horizontal"||l==="horizontal",h=t*i,g=f?d:a,C=Math.ceil((g+r-h)/i);return Math.max(0,Math.min(s-1,t+C-1))},initInstanceProps:function(n){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(n){var t=n.itemSize;if(process.env.NODE_ENV!=="production"&&typeof t!="number")throw Error('An invalid "itemSize" prop has been specified. Value should be a number. '+('"'+(t===null?"null":typeof t)+'" was specified.'))}});/**
42
+ * @license lucide-react v0.463.0 - ISC
43
+ *
44
+ * This source code is licensed under the ISC license.
45
+ * See the LICENSE file in the root directory of this source tree.
46
+ */const Uv=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),e5=(...e)=>e.filter((n,t,r)=>!!n&&n.trim()!==""&&r.indexOf(n)===t).join(" ").trim();/**
47
+ * @license lucide-react v0.463.0 - ISC
48
+ *
49
+ * This source code is licensed under the ISC license.
50
+ * See the LICENSE file in the root directory of this source tree.
51
+ */var Xv={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
52
+ * @license lucide-react v0.463.0 - ISC
53
+ *
54
+ * This source code is licensed under the ISC license.
55
+ * See the LICENSE file in the root directory of this source tree.
56
+ */const Kv=k.forwardRef(({color:e="currentColor",size:n=24,strokeWidth:t=2,absoluteStrokeWidth:r,className:o="",children:a,iconNode:s,...i},l)=>k.createElement("svg",{ref:l,...Xv,width:n,height:n,stroke:e,strokeWidth:r?Number(t)*24/Number(n):t,className:e5("lucide",o),...i},[...s.map(([d,f])=>k.createElement(d,f)),...Array.isArray(a)?a:[a]]));/**
57
+ * @license lucide-react v0.463.0 - ISC
58
+ *
59
+ * This source code is licensed under the ISC license.
60
+ * See the LICENSE file in the root directory of this source tree.
61
+ */const On=(e,n)=>{const t=k.forwardRef(({className:r,...o},a)=>k.createElement(Kv,{ref:a,iconNode:n,className:e5(`lucide-${Uv(e)}`,r),...o}));return t.displayName=`${e}`,t};/**
62
+ * @license lucide-react v0.463.0 - ISC
63
+ *
64
+ * This source code is licensed under the ISC license.
65
+ * See the LICENSE file in the root directory of this source tree.
66
+ */const pi=On("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
67
+ * @license lucide-react v0.463.0 - ISC
68
+ *
69
+ * This source code is licensed under the ISC license.
70
+ * See the LICENSE file in the root directory of this source tree.
71
+ */const t5=On("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
72
+ * @license lucide-react v0.463.0 - ISC
73
+ *
74
+ * This source code is licensed under the ISC license.
75
+ * See the LICENSE file in the root directory of this source tree.
76
+ */const n5=On("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
77
+ * @license lucide-react v0.463.0 - ISC
78
+ *
79
+ * This source code is licensed under the ISC license.
80
+ * See the LICENSE file in the root directory of this source tree.
81
+ */const Qv=On("GripVertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]);/**
82
+ * @license lucide-react v0.463.0 - ISC
83
+ *
84
+ * This source code is licensed under the ISC license.
85
+ * See the LICENSE file in the root directory of this source tree.
86
+ */const Jv=On("ListFilter",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M7 12h10",key:"b7w52i"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
87
+ * @license lucide-react v0.463.0 - ISC
88
+ *
89
+ * This source code is licensed under the ISC license.
90
+ * See the LICENSE file in the root directory of this source tree.
91
+ */const Tr=On("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
92
+ * @license lucide-react v0.463.0 - ISC
93
+ *
94
+ * This source code is licensed under the ISC license.
95
+ * See the LICENSE file in the root directory of this source tree.
96
+ */const ew=On("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
97
+ * @license lucide-react v0.463.0 - ISC
98
+ *
99
+ * This source code is licensed under the ISC license.
100
+ * See the LICENSE file in the root directory of this source tree.
101
+ */const Q1=On("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),J1=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("g",{clipPath:"url(#clip0_2378_50984)"},c.createElement("path",{d:"M9.17162 7.75736L7.7574 9.17157L10.5858 12L7.7574 14.8284L9.17162 16.2426L12 13.4142L14.8285 16.2426L16.2427 14.8284L13.4143 12L16.2427 9.17157L14.8285 7.75736L12 10.5858L9.17162 7.75736ZM4.92898 4.92893C1.02575 8.83216 1.02575 15.1678 4.92898 19.0711C8.83221 22.9743 15.1679 22.9743 19.0711 19.0711C22.9743 15.1678 22.9743 8.83216 19.0711 4.92893C15.1679 1.0257 8.83221 1.0257 4.92898 4.92893ZM17.6569 17.6569C14.5386 20.7752 9.46153 20.7752 6.34319 17.6569C3.22485 14.5385 3.22485 9.46149 6.34319 6.34315C9.46153 3.22481 14.5386 3.22481 17.6569 6.34315C20.7752 9.46149 20.7752 14.5385 17.6569 17.6569Z",fill:"currentColor"})),c.createElement("defs",null,c.createElement("clipPath",{id:"clip0_2378_50984"},c.createElement("rect",{width:24,height:24,fill:"white"})))),tw={...{expand:"Expand",empty:"Empty",confirmAction:"Confirm action",warning:"Warning",maxNChars:"Max charts",cancellation:"Cancel",displayBy:"Display by",selected:"Selected",all:"All",of:"of",selectDate:"Select date",search:"Search...",notFound:"Not found",networkError:"Network error",refetch:"Refetch",attachFile:"Attach file",errorOccurred:"Error occurred",noMediaFiles:"No media files",networkErrorDescription:"Network error description",confirmDeleteMedia:"Are you sure you want to delete the file?",delete:"Delete",imageSizeLimitMB:"Image size limit",audioSizeLimitMB:"Audio size limit",pdfSizeLimitMB:"PDF size limit",videoSizeLimitMB:"Video size limit",maxSizeOfFilesMB:"Max size of files",mb:"Mb",apply:"Apply",showAll:"Show all",chooseAll:"Choose all",withoutSort:"Without sort",listView:"List view",tableView:"Table view"},sorting:"Sorting",direction:"Direction",ascending:"Ascending",descending:"Descending",filterContains:"Contains",filterEquals:"Equals",filterIn:"In list",filterNotIn:"Not in list",filterBetween:"Between",filterIsNull:"Is empty",filterIsNotNull:"Is not empty",filterOperator:"Operator",filterValue:"Value",filterValues:"Values",filterFrom:"From",filterTo:"To",filterAnd:"AND",filterAddCondition:"Add condition",filterRemoveCondition:"Remove condition",filterRemoveValue:"Remove value",filterOnePerLine:"One value per line",filterInvalid:"Check the values, range and selection limit",filterLoading:"Loading…",filterLoadMore:"Load more",filterRetry:"Retry",filterReset:"Clear filter",filterTitle:"Filter",sortReset:"Clear sorting"},r5={theme:"system",setTheme:()=>null,toggleTheme:()=>null,translations:tw},ea=k.createContext(r5);function nw({children:e,defaultTheme:n="system",storageKey:t="app-ui-theme",themeVersion:r="Krit",...o}){const[a,s]=k.useState(()=>localStorage.getItem(t)||n);k.useEffect(()=>{const l=window.document.documentElement;Array.from(l.classList).filter(f=>f.startsWith("light")||f.startsWith("dark")).forEach(f=>l.classList.remove(f));const d=a==="system"?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":a;a==="system"&&s(d),l.classList.add(d),r&&l.classList.add(`${d}${r}`)},[a,r]);const i={theme:a,setTheme:l=>{localStorage.setItem(t,l),s(l)},toggleTheme:()=>{const l=a==="light"?"dark":"light";i.setTheme(l)},translations:{...r5.translations,...o.translations}};return u.jsx(ea.Provider,{...o,value:i,children:e})}const ot=()=>{const e=k.useContext(ea);return{t:t=>{var r;return e.translations?((r=e.translations)==null?void 0:r[t])===void 0?(console.warn(`KRIT-UI: Translation for key ${t} not found`),t):e.translations[t]:(console.warn("KRIT-UI: Translations not found"),t)}}},Dr=({style:e,className:n})=>u.jsx("div",{style:e,className:P("h-full w-full flex items-center justify-center",n),children:u.jsx(Tr,{className:"h-8 w-8 animate-spin text-foreground-theme"})}),ta=({className:e,textSize:n="base",isLoading:t,isError:r,center:o,inline:a,onRefetch:s})=>{const{t:i}=ot();return!t&&!r?null:u.jsxs("div",{className:P("flex gap-2 text-base select-none",`text-${n}`,o&&"items-center",a?"ml-2 inline-flex":"mt-3 flex-col",e),children:[t&&u.jsx(Dr,{className:n==="base"?"w-7":"w-5"}),r&&u.jsxs(u.Fragment,{children:[u.jsx("span",{className:"text-icon",children:i("networkError")}),s&&u.jsx("span",{className:"text-primary cursor-pointer",onClick:s,children:i("refetch")})]})]})},yo=c.forwardRef(({triggerClassName:e,clearable:n,borderless:t,isLoading:r,isError:o,error:a,readOnly:s,autoSelectSingleOption:i,renderValue:l=w=>w.label,renderOption:d=w=>w.label,onRefetch:f,onChange:h,onValueChange:g,onClick:C,onOpenChange:v,...p},m)=>{const[w,y]=c.useState(p.value||""),b=c.useRef(!1),S=c.useCallback(E=>{var M;p.options.length&&(y(E),g?g(E):h==null||h(E,((M=p.options.find(L=>L.value===E))==null?void 0:M.label)||""))},[p.options,g,h]);return c.useEffect(()=>{y(p.value||"")},[p.value]),c.useEffect(()=>{if(i&&p.options.length===1&&!w&&!b.current){const E=p.options[0];S(E.value),b.current=!0}},[i,p.options,w,S]),u.jsxs(Gd,{...p,value:w,onValueChange:S,onOpenChange:C||v,children:[u.jsxs(ra,{ref:m,className:P(t&&"bg-background-secondary border-line-primary text-base",a?"border-line-error focus-visible:border-line-error":"",s&&"cursor-not-allowed pointer-events-none opacity-95",e),children:[u.jsx(na,{placeholder:p.placeholder,children:l(p.options.find(E=>E.value===w)??{label:"",value:""})}),n&&w?u.jsx("div",{className:P("flex items-center justify-center w-6 h-6 shrink-0 cursor-pointer ml-auto pointer-events-auto z-10",s&&"cursor-not-allowed pointer-events-none opacity-95"),onMouseDown:E=>{E.stopPropagation(),E.preventDefault(),s||(b.current=!0,S==null||S(""))},onClick:E=>{E.stopPropagation(),E.preventDefault(),s||(b.current=!0,S==null||S(""))},children:u.jsx(J1,{className:"w-6 h-6 text-icon-fade-contrast pointer-events-none"})}):u.jsx(Ov,{asChild:!0,children:u.jsx(pr,{className:"min-h-6 min-w-6 text-icon-fade-contrast ml-auto"})})]}),u.jsxs(oa,{className:P(r&&"min-h-16",o&&"min-h-20"),children:[u.jsx(ta,{isLoading:r,isError:o,textSize:"sm",center:!0,onRefetch:f}),p.options.length>100?u.jsx(Jd,{height:384,itemCount:p.options.length,itemSize:36,width:"100%",children:({index:E,style:M})=>u.jsx(bo,{value:p.options[E].value,disabled:p.options[E].disabled,style:M,children:d(p.options[E])})}):p.options.map(E=>u.jsx(bo,{value:E.value,disabled:E.disabled,children:d(E)},E.value))]})]})});yo.displayName="Select";const na=c.forwardRef(({className:e,...n},t)=>u.jsx(Iv,{ref:t,className:P("text-sm text-foreground-primary font-normal",e),...n}));na.displayName="SelectValue";const ra=c.forwardRef(({className:e,children:n,...t},r)=>u.jsx(Pv,{ref:r,className:P("relative flex h-9 w-full items-center gap-1 rounded-lg border border-line-primary bg-[transparent] px-3 py-2 text-sm font-normal tracking-[0.1px] truncate leading-5 text-left text-foreground ring-offset-background transition-colors duration-300 ease-in-out data-[placeholder]:text-foreground-secondary hover:bg-background-contrast-fade/20 focus:outline-none focus:border-line-focused disabled:cursor-not-allowed disabled:opacity-50 [&>span]:pr-3 [&>span]:truncate [&>span]:mr-auto",e),...t,children:n}));ra.displayName="SelectTrigger";const oa=c.forwardRef(({className:e,children:n,position:t="popper",...r},o)=>u.jsx(Tv,{children:u.jsx(Dv,{ref:o,className:P("relative z-50 min-w-[8rem] overflow-hidden rounded-lg border border-line-primary bg-background text-popover-foreground shadow-base 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t==="popper"?"max-h-[min(24rem,var(--radix-select-content-available-height))]":"max-h-96",e),position:t,sideOffset:4,...r,children:u.jsx(_v,{className:P("py-1",t==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:n})})}));oa.displayName="SelectContent";const o5=c.forwardRef(({className:e,...n},t)=>u.jsx(Vv,{ref:t,className:P("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...n}));o5.displayName="SelectLabel";const bo=c.forwardRef(({className:e,children:n,...t},r)=>u.jsxs(Hv,{ref:r,className:P("relative flex w-full cursor-default select-none items-center py-2 pl-3 pr-8 text-sm outline-none data-[highlighted]:bg-background-theme-fade data-[disabled]:pointer-events-none data-[disabled]:opacity-50","[&[data-state=checked]>span:first-child]:pr-2",e),...t,children:[u.jsx(Av,{asChild:!0,children:u.jsx("span",{className:"truncate block",title:typeof n=="string"?n:void 0,children:n})}),u.jsx("span",{className:"absolute right-4 flex h-3.5 w-3.5 items-center justify-center text-foreground-secondary",children:u.jsx(Fv,{children:u.jsx(pi,{className:"h-4 w-4"})})})]}));bo.displayName="SelectItem";const a5=c.forwardRef(({className:e,...n},t)=>u.jsx($v,{ref:t,className:P("-mx-1 my-1 h-px bg-muted",e),...n}));a5.displayName="SelectSeparator";const rw=e=>{if(!e)return;const{day_today:n,day_selected:t,day_range_start:r,day_range_end:o,day_range_middle:a,day_outside:s,day_disabled:i,day_hidden:l,...d}=e;return{...d,...n&&{today:P(d.today,n)},...t&&{selected:P(d.selected,t)},...r&&{range_start:P(d.range_start,r)},...o&&{range_end:P(d.range_end,o)},...a&&{range_middle:P(d.range_middle,a)},...s&&{outside:P(d.outside,s)},...i&&{disabled:P(d.disabled,i)},...l&&{hidden:P(d.hidden,l)}}};function aa({className:e,classNames:n,showOutsideDays:t=!0,...r}){const o=rw(n);return u.jsx(Dp,{showOutsideDays:t,captionLayout:"dropdown",navLayout:"around",startMonth:new Date(new Date().getFullYear()-6,0),endMonth:new Date(new Date().getFullYear()+6,11),className:P("relative w-fit p-3",e),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"relative",dropdowns:"flex items-center justify-center gap-2 text-[15px] capitalize font-medium max-w-[calc(100%-3.5rem)] mx-auto",months_dropdown:"flex [&>select:focus-visible]:outline-none [&>select]:capitalize",years_dropdown:"flex [&>select:focus-visible]:outline-none",month_caption:"relative flex h-7 w-full items-center justify-center",caption_label:"hidden",button_previous:P(xn({variant:"fade-contrast-outlined"}),"absolute left-0 top-0 z-30 h-7 w-7 shrink-0 bg-[transparent] border-none text-primary p-0 hover:bg-[transparent] hover:text-primary/80"),button_next:P(xn({variant:"fade-contrast-outlined"}),"absolute right-0 top-0 z-30 h-7 w-7 shrink-0 bg-[transparent] border-none text-primary p-0 hover:bg-[transparent] hover:text-primary/80"),month_grid:"mt-4 w-full border-collapse space-y-1",weekdays:"flex",weekday:"text-foreground-secondary rounded-md w-9 font-normal text-[0.8rem]",week:"flex w-full mt-2",day:P("h-9 w-9 p-0 text-center relative focus-within:relative focus-within:z-20","[&.day-range-start]:rounded-l-md [&.day-range-end]:rounded-r-md","[&.day-range-middle]:bg-background-tertiary","[&.day-range-start_button]:rounded-md [&.day-range-end_button]:rounded-md"),day_button:P(xn({variant:"fade-contrast-transparent"}),"h-9 w-9 p-0 text-sm font-normal transition-all hover:bg-background-success-fade hover:text-foreground","[td[aria-selected=true]_&]:opacity-100"),range_start:"day-range-start rounded-l-md [&_button]:!rounded-md [&_button]:!bg-background-theme [&_button]:!text-foreground-on-contrast [&_button]:!opacity-100 [&_button]:hover:!bg-background-theme/80",range_end:"day-range-end rounded-r-md [&_button]:!rounded-md [&_button]:!bg-background-theme [&_button]:!text-foreground-on-contrast [&_button]:!opacity-100 [&_button]:hover:!bg-background-theme/80",selected:"[&:not(.day-range-middle)_button]:bg-background-theme [&:not(.day-range-middle)_button]:text-foreground-on-contrast [&:not(.day-range-middle)_button]:hover:bg-background-theme/80 [&:not(.day-range-middle)_button]:hover:text-foreground-on-contrast [&:not(.day-range-middle)_button]:focus:bg-background-theme [&:not(.day-range-middle)_button]:focus:text-foreground-on-contrast",today:"day-today !font-bold [&_button]:!font-bold [&:not(.day-range-start):not(.day-range-end)_button]:bg-background-tertiary [&:not(.day-range-start):not(.day-range-end)_button]:text-foreground-theme [&:not(.day-range-start):not(.day-range-end)_button]:hover:bg-background-tertiary [&[aria-selected=true]:not(.day-range-start):not(.day-range-end):not(.day-range-middle)_button]:!bg-background-theme [&[aria-selected=true]:not(.day-range-start):not(.day-range-end):not(.day-range-middle)_button]:!text-foreground-on-contrast [&[aria-selected=true]:not(.day-range-start):not(.day-range-end):not(.day-range-middle)_button]:hover:!bg-background-theme/80",outside:"day-outside [&_button]:text-foreground-secondary [&_button]:opacity-50 [&_button]:hover:text-foreground/90 [&[aria-selected=true]_button]:!opacity-100 [&[aria-selected=true]_button]:!text-foreground-on-contrast",disabled:"[&_button]:text-foreground-secondary [&_button]:opacity-50",range_middle:"day-range-middle bg-background-tertiary [&_button]:!bg-transparent [&_button]:!font-normal [&_button]:text-foreground [&_button]:rounded-none [&_button]:hover:!bg-transparent [&_button]:hover:text-foreground",hidden:"invisible",...o},components:{Chevron:({orientation:a})=>a==="left"?u.jsx(Rd,{}):u.jsx(jd,{}),Dropdown:({options:a,...s})=>{var i;return u.jsxs(Gd,{name:s.name,value:(i=s.value)==null?void 0:i.toString(),onValueChange:l=>{var d;return(d=s.onChange)==null?void 0:d.call(s,{target:{value:l}})},children:[u.jsx(ra,{className:P(s.className,"w-auto shrink-0 overflow-visible text-clip bg-[transparent] border-none shadow-none p-0 gap-0 h-auto hover:bg-[transparent] focus:border-none focus-visible:border-none data-[state=open]:bg-[transparent] capitalize font-bold [&>svg]:ml-1 [&>span]:pr-1 [&>span]:overflow-visible [&>span]:text-clip"),children:u.jsx(na,{placeholder:s["aria-label"]})}),u.jsx(oa,{children:a==null?void 0:a.map(l=>u.jsx(bo,{value:l.value.toString(),disabled:l.disabled,children:l.label},l.value))})]})}},...r})}aa.displayName="Calendar";const Kn=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M9.70492 6L8.29492 7.41L12.8749 12L8.29492 16.59L9.70492 18L15.7049 12L9.70492 6Z",fill:"currentColor"})),Ci=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M6 19C6 20.1 6.9 21 8 21H16C17.1 21 18 20.1 18 19V9C18 7.9 17.1 7 16 7H8C6.9 7 6 7.9 6 9V19ZM18 4H15.5L14.79 3.29C14.61 3.11 14.35 3 14.09 3H9.91C9.65 3 9.39 3.11 9.21 3.29L8.5 4H6C5.45 4 5 4.45 5 5C5 5.55 5.45 6 6 6H18C18.55 6 19 5.55 19 5C19 4.45 18.55 4 18 4Z",fill:"currentColor"})),s5=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.43597 5.18404C3 6.03969 3 7.15979 3 9.4V14.6C3 16.8402 3 17.9603 3.43597 18.816C3.81947 19.5686 4.43139 20.1805 5.18404 20.564C6.03969 21 7.15979 21 9.4 21H14.6C16.8402 21 17.9603 21 18.816 20.564C19.5686 20.1805 20.1805 19.5686 20.564 18.816C21 17.9603 21 16.8402 21 14.6V10.151C21 9.1726 21 8.68342 20.8895 8.22307C20.7915 7.81493 20.6299 7.42475 20.4106 7.06686C20.1632 6.6632 19.8173 6.3173 19.1255 5.6255L18.3745 4.87452C17.6827 4.18271 17.3368 3.83681 16.9331 3.58944C16.5753 3.37012 16.1851 3.20851 15.7769 3.11052C15.3166 3 14.8274 3 13.849 3H9.4C7.15979 3 6.03969 3 5.18404 3.43597C4.43139 3.81947 3.81947 4.43139 3.43597 5.18404ZM5 9.4V14.6C5 15.7531 5.00156 16.4977 5.04785 17.0643C5.09225 17.6077 5.1676 17.8091 5.21799 17.908C5.40973 18.2843 5.71569 18.5903 6.09202 18.782C6.19091 18.8324 6.39235 18.9078 6.93567 18.9521C6.95686 18.9539 6.9783 18.9555 7 18.9572V15C7 13.3431 8.34315 12 10 12H14C15.6569 12 17 13.3431 17 15V18.9572C17.0217 18.9555 17.0431 18.9539 17.0643 18.9521C17.6077 18.9078 17.8091 18.8324 17.908 18.782C18.2843 18.5903 18.5903 18.2843 18.782 17.908C18.8324 17.8091 18.9078 17.6077 18.9521 17.0643C18.9984 16.4977 19 15.7531 19 14.6V10.151C19 9.07741 18.9871 8.8666 18.9447 8.68996C18.8957 8.48589 18.8149 8.2908 18.7053 8.11186C18.6104 7.95697 18.4704 7.79882 17.7113 7.0397L16.9603 6.28873C16.2012 5.52961 16.043 5.38963 15.8881 5.29472C15.7092 5.18506 15.5141 5.10425 15.31 5.05526C15.2345 5.03713 15.1528 5.0244 15 5.01577V7C15 8.10457 14.1046 9 13 9H9C7.89543 9 7 8.10457 7 7V5.04285L6.93567 5.04785C6.39235 5.09225 6.19091 5.1676 6.09202 5.21799C5.71569 5.40973 5.40973 5.71569 5.21799 6.09202C5.1676 6.19091 5.09225 6.39235 5.04785 6.93567C5.00156 7.50235 5 8.24689 5 9.4ZM15 18.9999V15C15 14.4477 14.5523 14 14 14H10C9.44771 14 9 14.4477 9 15V18.9999C9.12765 19 9.26085 19 9.4 19H14.6C14.7391 19 14.8723 19 15 18.9999ZM13 5V7H9V5.00014L13 5Z",fill:"currentColor"}));function ow(e,n){return c.useReducer((t,r)=>n[t][r]??t,e)}var qe=e=>{const{present:n,children:t}=e,r=aw(n),o=typeof t=="function"?t({present:r.isPresent}):c.Children.only(t),a=ye(r.ref,sw(o));return typeof t=="function"||r.isPresent?c.cloneElement(o,{ref:a}):null};qe.displayName="Presence";function aw(e){const[n,t]=c.useState(),r=c.useRef(null),o=c.useRef(e),a=c.useRef("none"),s=e?"mounted":"unmounted",[i,l]=ow(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return c.useEffect(()=>{const d=sa(r.current);a.current=i==="mounted"?d:"none"},[i]),tt(()=>{const d=r.current,f=o.current;if(f!==e){const g=a.current,C=sa(d);e?l("MOUNT"):C==="none"||(d==null?void 0:d.display)==="none"?l("UNMOUNT"):l(f&&g!==C?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),tt(()=>{if(n){let d;const f=n.ownerDocument.defaultView??window,h=C=>{const p=sa(r.current).includes(CSS.escape(C.animationName));if(C.target===n&&p&&(l("ANIMATION_END"),!o.current)){const m=n.style.animationFillMode;n.style.animationFillMode="forwards",d=f.setTimeout(()=>{n.style.animationFillMode==="forwards"&&(n.style.animationFillMode=m)})}},g=C=>{C.target===n&&(a.current=sa(r.current))};return n.addEventListener("animationstart",g),n.addEventListener("animationcancel",h),n.addEventListener("animationend",h),()=>{f.clearTimeout(d),n.removeEventListener("animationstart",g),n.removeEventListener("animationcancel",h),n.removeEventListener("animationend",h)}}else l("ANIMATION_END")},[n,l]),{isPresent:["mounted","unmountSuspended"].includes(i),ref:c.useCallback(d=>{r.current=d?getComputedStyle(d):null,t(d)},[])}}function sa(e){return(e==null?void 0:e.animationName)||"none"}function sw(e){var r,o;let n=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,t=n&&"isReactWarning"in n&&n.isReactWarning;return t?e.ref:(n=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,t=n&&"isReactWarning"in n&&n.isReactWarning,t?e.props.ref:e.props.ref||e.ref)}var ia="Checkbox",[iw]=it(ia),[lw,mi]=iw(ia);function cw(e){const{__scopeCheckbox:n,checked:t,children:r,defaultChecked:o,disabled:a,form:s,name:i,onCheckedChange:l,required:d,value:f="on",internal_do_not_use_render:h}=e,[g,C]=wt({prop:t,defaultProp:o??!1,onChange:l,caller:ia}),[v,p]=c.useState(null),[m,w]=c.useState(null),y=c.useRef(!1),b=v?!!s||!!v.closest("form"):!0,S={checked:g,disabled:a,setChecked:C,control:v,setControl:p,name:i,form:s,value:f,hasConsumerStoppedPropagationRef:y,required:d,defaultChecked:Tn(o)?!1:o,isFormControl:b,bubbleInput:m,setBubbleInput:w};return u.jsx(lw,{scope:n,...S,children:uw(h)?h(S):r})}var i5="CheckboxTrigger",l5=c.forwardRef(({__scopeCheckbox:e,onKeyDown:n,onClick:t,...r},o)=>{const{control:a,value:s,disabled:i,checked:l,required:d,setControl:f,setChecked:h,hasConsumerStoppedPropagationRef:g,isFormControl:C,bubbleInput:v}=mi(i5,e),p=ye(o,f),m=c.useRef(l);return c.useEffect(()=>{const w=a==null?void 0:a.form;if(w){const y=()=>h(m.current);return w.addEventListener("reset",y),()=>w.removeEventListener("reset",y)}},[a,h]),u.jsx(ie.button,{type:"button",role:"checkbox","aria-checked":Tn(l)?"mixed":l,"aria-required":d,"data-state":h5(l),"data-disabled":i?"":void 0,disabled:i,value:s,...r,ref:p,onKeyDown:ee(n,w=>{w.key==="Enter"&&w.preventDefault()}),onClick:ee(t,w=>{h(y=>Tn(y)?!0:!y),v&&C&&(g.current=w.isPropagationStopped(),g.current||w.stopPropagation())})})});l5.displayName=i5;var vi=c.forwardRef((e,n)=>{const{__scopeCheckbox:t,name:r,checked:o,defaultChecked:a,required:s,disabled:i,value:l,onCheckedChange:d,form:f,...h}=e;return u.jsx(cw,{__scopeCheckbox:t,checked:o,defaultChecked:a,disabled:i,required:s,onCheckedChange:d,name:r,form:f,value:l,internal_do_not_use_render:({isFormControl:g})=>u.jsxs(u.Fragment,{children:[u.jsx(l5,{...h,ref:n,__scopeCheckbox:t}),g&&u.jsx(f5,{__scopeCheckbox:t})]})})});vi.displayName=ia;var c5="CheckboxIndicator",u5=c.forwardRef((e,n)=>{const{__scopeCheckbox:t,forceMount:r,...o}=e,a=mi(c5,t);return u.jsx(qe,{present:r||Tn(a.checked)||a.checked===!0,children:u.jsx(ie.span,{"data-state":h5(a.checked),"data-disabled":a.disabled?"":void 0,...o,ref:n,style:{pointerEvents:"none",...e.style}})})});u5.displayName=c5;var d5="CheckboxBubbleInput",f5=c.forwardRef(({__scopeCheckbox:e,...n},t)=>{const{control:r,hasConsumerStoppedPropagationRef:o,checked:a,defaultChecked:s,required:i,disabled:l,name:d,value:f,form:h,bubbleInput:g,setBubbleInput:C}=mi(d5,e),v=ye(t,C),p=H1(a),m=D1(r);c.useEffect(()=>{const y=g;if(!y)return;const b=window.HTMLInputElement.prototype,E=Object.getOwnPropertyDescriptor(b,"checked").set,M=!o.current;if(p!==a&&E){const L=new Event("click",{bubbles:M});y.indeterminate=Tn(a),E.call(y,Tn(a)?!1:a),y.dispatchEvent(L)}},[g,p,a,o]);const w=c.useRef(Tn(a)?!1:a);return u.jsx(ie.input,{type:"checkbox","aria-hidden":!0,defaultChecked:s??w.current,required:i,disabled:l,name:d,value:f,form:h,...n,tabIndex:-1,ref:v,style:{...n.style,...m,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});f5.displayName=d5;function uw(e){return typeof e=="function"}function Tn(e){return e==="indeterminate"}function h5(e){return Tn(e)?"indeterminate":e?"checked":"unchecked"}const Dn=c.forwardRef(({className:e,...n},t)=>u.jsxs("span",{className:"flex items-center space-x-1",children:[u.jsx(vi,{ref:t,className:P("peer h-[14px] w-[14px] shrink-0 rounded-sm border border-line-theme ring-offset-background transition-colors hover:border-line-theme/80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-background-theme data-[state=checked]:text-foreground-on-contrast data-[state=checked]:hover:bg-background-theme/80",e),...n,children:u.jsx(u5,{className:P("flex items-center justify-center text-current"),children:u.jsx(pi,{className:"h-2.5 w-2.5 text-foreground-on-contrast",strokeWidth:2})})}),n.children&&u.jsx("label",{htmlFor:n.id,className:"text-sm leading-none cursor-default peer-disabled:cursor-not-allowed peer-disabled:opacity-70 hover:opacity-90",children:n.children})]}));Dn.displayName=vi.displayName;const dw=c.forwardRef((e,n)=>u.jsxs(u.Fragment,{children:[u.jsx(Dn,{ref:n,...e}),u.jsx("label",{className:P("text-primary font-medium text-base -ml-1",e.disabled?"cursor-default opacity-50 pointer-events-none":"cursor-pointer"),onClick:()=>{var t;return(t=e.onCheckedChange)==null?void 0:t.call(e,!e.checked)},children:e.children})]})),wi=({className:e})=>u.jsx("span",{className:P("text-neutral-400 text-opacity-75 text-[19px] mb-[1px]",e),children:"•"}),g5=c.forwardRef(({className:e,showArrow:n,checked:t,onSelect:r,onClick:o,...a},s)=>u.jsxs("div",{ref:s,className:P("flex flex-col gap-1 px-5 py-3 relative rounded-lg border border-line-primary transition duration-100 ease-in-out",o&&"cursor-pointer",t&&"ring-[3px] ring-primary bg-background-primary-selected border-b-line-secondary",e),onClick:t?()=>r==null?void 0:r(!1):o,...a,children:[a.children,u.jsx("div",{className:"text-foreground/50 absolute top-1/2 right-5 transform -translate-y-1/2",children:n&&u.jsx(Kn,{})})]}));g5.displayName="Card";const p5=c.forwardRef(({className:e,children:n,checked:t,right:r,onSelect:o,...a},s)=>u.jsx("div",{ref:s,className:P("flex flex-col space-y-1.5 pb-1 text-sm font-normal",e),...a,children:u.jsxs("div",{className:"flex items-center gap-2",children:[o&&u.jsx(Dn,{checked:t,onClick:i=>i.stopPropagation(),onCheckedChange:i=>o(!!i)}),u.jsxs("div",{className:"w-full flex justify-between items-center",children:[u.jsx("div",{className:"flex gap-3 text-foreground/50 items-center",children:c.Children.toArray(n).filter(Boolean).map((i,l)=>u.jsx(c.Fragment,{children:i},l))}),u.jsx("div",{children:r})]})]})}));p5.displayName="CardHeader";const C5=c.forwardRef(({className:e,leftOffset:n=!1,children:t,...r},o)=>u.jsx("h3",{ref:o,className:P("pr-10 text-sm flex gap-2 font-normal leading-6",n&&"ml-8",e),...r,children:u.jsx("div",{className:"w-full flex justify-between items-center",children:u.jsx("div",{className:"w-full break-words inline-block",children:t})})}));C5.displayName="CardTitle";const m5=c.forwardRef(({className:e,leftOffset:n,showArrow:t,children:r,...o},a)=>u.jsx("div",{ref:a,className:P("pr-10 pt-0 text-sm font-normal text-foreground/60",n&&"ml-8",e),...o,children:u.jsxs("div",{className:"flex justify-between items-center",children:[u.jsx("div",{className:"w-full",children:r}),u.jsx("div",{className:"text-foreground/50",children:t&&u.jsx(Kn,{})})]})}));m5.displayName="CardDescription";const v5=c.forwardRef(({className:e,leftOffset:n,children:t,...r},o)=>u.jsx("div",{ref:o,className:P("pt-0 text-sm font-normal",n&&"ml-8",e),...r,children:u.jsx("div",{className:"flex justify-between items-center",children:u.jsx("div",{children:t})})}));v5.displayName="CardContent";const w5=c.forwardRef(({className:e,leftOffset:n,children:t,...r},o)=>u.jsx("div",{ref:o,className:P("flex items-center pt-1 pb-3",n&&"ml-8",e),...r,children:u.jsx("div",{className:"flex gap-3 text-sm text-foreground-secondary items-center",children:c.Children.toArray(t).filter(Boolean).map((a,s,i)=>u.jsxs(c.Fragment,{children:[a,i.length-1!==s&&u.jsx(wi,{})]},s))})}));w5.displayName="CardFooter";const fw=({onSave:e,onRemove:n})=>{const[t,r]=c.useState(!1),[o,a]=c.useState(!1),s=async l=>{r(!0);try{await(e==null?void 0:e(l))}finally{r(!1)}},i=async l=>{a(!0);try{await(n==null?void 0:n(l))}finally{a(!1)}};return u.jsxs("div",{className:"absolute right-1 top-1 flex gap-3",children:[e&&u.jsx(s5,{className:P("w-6 h-6 text-primary",t?"opacity-20 pointer-events-none":"cursor-pointer"),onClick:s}),n&&u.jsx(Ci,{className:P("w-6 h-6 text-foreground-error",o?"opacity-20 pointer-events-none":"cursor-pointer"),onClick:i})]})},y5=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M12 3.42859C12.4734 3.42859 12.8571 3.81234 12.8571 4.28573V11.1429H19.7143C20.1877 11.1429 20.5714 11.5266 20.5714 12C20.5714 12.4734 20.1877 12.8572 19.7143 12.8572H12.8571V19.7143C12.8571 20.1877 12.4734 20.5714 12 20.5714C11.5266 20.5714 11.1428 20.1877 11.1428 19.7143V12.8572H4.2857C3.81231 12.8572 3.42856 12.4734 3.42856 12C3.42856 11.5266 3.81231 11.1429 4.2857 11.1429H11.1428V4.28573C11.1428 3.81234 11.5266 3.42859 12 3.42859Z",fill:"currentColor"})),yi=e=>c.createElement("svg",{width:24,height:25,viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M12 10.8017L6.64018 15.2682C6.2159 15.6218 5.58534 15.5645 5.23177 15.1402C4.87821 14.7159 4.93553 14.0853 5.35981 13.7318L11.3598 8.73178C11.7307 8.42274 12.2693 8.42274 12.6402 8.73178L18.6402 13.7318C19.0645 14.0853 19.1218 14.7159 18.7682 15.1402C18.4147 15.5645 17.7841 15.6218 17.3598 15.2682L12 10.8017Z",fill:"currentColor"}));var la="Collapsible",[hw]=it(la),[gw,bi]=hw(la),b5=c.forwardRef((e,n)=>{const{__scopeCollapsible:t,open:r,defaultOpen:o,disabled:a,onOpenChange:s,...i}=e,[l,d]=wt({prop:r,defaultProp:o??!1,onChange:s,caller:la});return u.jsx(gw,{scope:t,disabled:a,contentId:Ye(),open:l,onOpenToggle:c.useCallback(()=>d(f=>!f),[d]),children:u.jsx(ie.div,{"data-state":Si(l),"data-disabled":a?"":void 0,...i,ref:n})})});b5.displayName=la;var x5="CollapsibleTrigger",S5=c.forwardRef((e,n)=>{const{__scopeCollapsible:t,...r}=e,o=bi(x5,t);return u.jsx(ie.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":Si(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:n,onClick:ee(e.onClick,o.onOpenToggle)})});S5.displayName=x5;var xi="CollapsibleContent",M5=c.forwardRef((e,n)=>{const{forceMount:t,...r}=e,o=bi(xi,e.__scopeCollapsible);return u.jsx(qe,{present:t||o.open,children:({present:a})=>u.jsx(pw,{...r,ref:n,present:a})})});M5.displayName=xi;var pw=c.forwardRef((e,n)=>{const{__scopeCollapsible:t,present:r,children:o,...a}=e,s=bi(xi,t),[i,l]=c.useState(r),d=c.useRef(null),f=ye(n,d),h=c.useRef(0),g=h.current,C=c.useRef(0),v=C.current,p=s.open||i,m=c.useRef(p),w=c.useRef(void 0);return c.useEffect(()=>{const y=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(y)},[]),tt(()=>{const y=d.current;if(y){w.current=w.current||{transitionDuration:y.style.transitionDuration,animationName:y.style.animationName},y.style.transitionDuration="0s",y.style.animationName="none";const b=y.getBoundingClientRect();h.current=b.height,C.current=b.width,m.current||(y.style.transitionDuration=w.current.transitionDuration,y.style.animationName=w.current.animationName),l(r)}},[s.open,r]),u.jsx(ie.div,{"data-state":Si(s.open),"data-disabled":s.disabled?"":void 0,id:s.contentId,hidden:!p,...a,ref:f,style:{"--radix-collapsible-content-height":g?`${g}px`:void 0,"--radix-collapsible-content-width":v?`${v}px`:void 0,...e.style},children:p&&o})});function Si(e){return e?"open":"closed"}var Cw=b5;const E5=Cw,L5=S5,N5=M5,mw=e=>{const{title:n,icon:t,defaultExpanded:r,showExpanderButton:o,expandOnAdd:a=!0,count:s,placeholder:i,right:l,children:d,isLoading:f,isError:h,onRefetch:g,onAdd:C}=e,{t:v}=ot(),[p,m]=k.useState(r??!1);return k.useEffect(()=>{r!==void 0&&m(r)},[r]),u.jsxs(E5,{open:h||p,onOpenChange:m,children:[u.jsxs("div",{className:"flex justify-between text-base w-full",children:[t&&u.jsx("span",{className:"text-primary",children:t}),u.jsx("span",{children:n}),s?u.jsx("div",{className:"h-6 px-2 rounded-full bg-icon-tertiary flex justify-center items-center text-background text-[15px] font-medium pb-[1px]",children:u.jsx("span",{children:s})}):null,u.jsx(L5,{className:"focus:outline-none",children:f?u.jsx(Dr,{className:"w-[25px] h-[25px]"}):u.jsx(yi,{className:P("text-icon-tertiary cursor-pointer transition-transform duration-300",{"rotate-180":!p})})}),u.jsxs("div",{className:"ml-auto flex gap-2",children:[l,u.jsx("div",{className:"text-primary cursor-pointer",children:C&&u.jsx(y5,{onClick:()=>{C==null||C(),a&&m(!0)}})})]})]}),o&&!p&&u.jsxs("div",{className:"w-full flex bg-background-secondary/80 cursor-pointer rounded-lg items-center justify-center gap-1 text-muted-foreground font-medium py-1 mt-4 transition-colors hover:bg-background-secondary/70",onClick:()=>m(!0),children:[u.jsx("span",{children:v("expand")}),u.jsx(yi,{className:P("rotate-180")})]}),u.jsxs(N5,{children:[u.jsx(ta,{isError:h,onRefetch:g}),!h&&!f&&!s&&u.jsx("div",{className:"p-6 flex justify-center text-secondary-foreground tracking-[0.1px] select-none",children:i||v("empty")}),!!s&&u.jsx("div",{className:"flex flex-col gap-3 mt-3",children:d})]})]})};var k5=1,vw=.9,ww=.8,yw=.17,Mi=.1,Ei=.999,bw=.9999,xw=.99,Sw=/[\\\/_+.#"@\[\(\{&]/,Mw=/[\\\/_+.#"@\[\(\{&]/g,Ew=/[\s-]/,P5=/[\s-]/g;function Li(e,n,t,r,o,a,s){if(a===n.length)return o===e.length?k5:xw;var i=`${o},${a}`;if(s[i]!==void 0)return s[i];for(var l=r.charAt(a),d=t.indexOf(l,o),f=0,h,g,C,v;d>=0;)h=Li(e,n,t,r,d+1,a+1,s),h>f&&(d===o?h*=k5:Sw.test(e.charAt(d-1))?(h*=ww,C=e.slice(o,d-1).match(Mw),C&&o>0&&(h*=Math.pow(Ei,C.length))):Ew.test(e.charAt(d-1))?(h*=vw,v=e.slice(o,d-1).match(P5),v&&o>0&&(h*=Math.pow(Ei,v.length))):(h*=yw,o>0&&(h*=Math.pow(Ei,d-o))),e.charAt(d)!==n.charAt(a)&&(h*=bw)),(h<Mi&&t.charAt(d-1)===r.charAt(a+1)||r.charAt(a+1)===r.charAt(a)&&t.charAt(d-1)!==r.charAt(a))&&(g=Li(e,n,t,r,d+1,a+2,s),g*Mi>h&&(h=g*Mi)),h>f&&(f=h),d=t.indexOf(l,d+1);return s[i]=f,f}function I5(e){return e.toLowerCase().replace(P5," ")}function Lw(e,n,t){return e=t&&t.length>0?`${e+" "+t.join(" ")}`:e,Li(e,n,I5(e),I5(n),0,0,{})}var ca="Dialog",[O5]=it(ca),[Nw,Vt]=O5(ca),T5=e=>{const{__scopeDialog:n,children:t,open:r,defaultOpen:o,onOpenChange:a,modal:s=!0}=e,i=c.useRef(null),l=c.useRef(null),[d,f]=wt({prop:r,defaultProp:o??!1,onChange:a,caller:ca});return u.jsx(Nw,{scope:n,triggerRef:i,contentRef:l,contentId:Ye(),titleId:Ye(),descriptionId:Ye(),open:d,onOpenChange:f,onOpenToggle:c.useCallback(()=>f(h=>!h),[f]),modal:s,children:t})};T5.displayName=ca;var D5="DialogTrigger",_5=c.forwardRef((e,n)=>{const{__scopeDialog:t,...r}=e,o=Vt(D5,t),a=ye(n,o.triggerRef);return u.jsx(ie.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Pi(o.open),...r,ref:a,onClick:ee(e.onClick,o.onOpenToggle)})});_5.displayName=D5;var Ni="DialogPortal",[kw,V5]=O5(Ni,{forceMount:void 0}),H5=e=>{const{__scopeDialog:n,forceMount:t,children:r,container:o}=e,a=Vt(Ni,n);return u.jsx(kw,{scope:n,forceMount:t,children:c.Children.map(r,s=>u.jsx(qe,{present:t||a.open,children:u.jsx(kn,{asChild:!0,container:o,children:s})}))})};H5.displayName=Ni;var ua="DialogOverlay",A5=c.forwardRef((e,n)=>{const t=V5(ua,e.__scopeDialog),{forceMount:r=t.forceMount,...o}=e,a=Vt(ua,e.__scopeDialog);return a.modal?u.jsx(qe,{present:r||a.open,children:u.jsx(Iw,{...o,ref:n})}):null});A5.displayName=ua;var Pw=bn("DialogOverlay.RemoveScroll"),Iw=c.forwardRef((e,n)=>{const{__scopeDialog:t,...r}=e,o=Vt(ua,t);return u.jsx(vo,{as:Pw,allowPinchZoom:!0,shards:[o.contentRef],children:u.jsx(ie.div,{"data-state":Pi(o.open),...r,ref:n,style:{pointerEvents:"auto",...r.style}})})}),Qn="DialogContent",F5=c.forwardRef((e,n)=>{const t=V5(Qn,e.__scopeDialog),{forceMount:r=t.forceMount,...o}=e,a=Vt(Qn,e.__scopeDialog);return u.jsx(qe,{present:r||a.open,children:a.modal?u.jsx(Ow,{...o,ref:n}):u.jsx(Tw,{...o,ref:n})})});F5.displayName=Qn;var Ow=c.forwardRef((e,n)=>{const t=Vt(Qn,e.__scopeDialog),r=c.useRef(null),o=ye(n,t.contentRef,r);return c.useEffect(()=>{const a=r.current;if(a)return z1(a)},[]),u.jsx($5,{...e,ref:o,trapFocus:t.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ee(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),(s=t.triggerRef.current)==null||s.focus()}),onPointerDownOutside:ee(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,i=s.button===0&&s.ctrlKey===!0;(s.button===2||i)&&a.preventDefault()}),onFocusOutside:ee(e.onFocusOutside,a=>a.preventDefault())})}),Tw=c.forwardRef((e,n)=>{const t=Vt(Qn,e.__scopeDialog),r=c.useRef(!1),o=c.useRef(!1);return u.jsx($5,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var s,i;(s=e.onCloseAutoFocus)==null||s.call(e,a),a.defaultPrevented||(r.current||(i=t.triggerRef.current)==null||i.focus(),a.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:a=>{var l,d;(l=e.onInteractOutside)==null||l.call(e,a),a.defaultPrevented||(r.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const s=a.target;((d=t.triggerRef.current)==null?void 0:d.contains(s))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()}})}),$5=c.forwardRef((e,n)=>{const{__scopeDialog:t,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,...s}=e,i=Vt(Qn,t),l=c.useRef(null),d=ye(n,l);return x1(),u.jsxs(u.Fragment,{children:[u.jsx(ho,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a,children:u.jsx(jn,{role:"dialog",id:i.contentId,"aria-describedby":i.descriptionId,"aria-labelledby":i.titleId,"data-state":Pi(i.open),...s,ref:d,onDismiss:()=>i.onOpenChange(!1)})}),u.jsxs(u.Fragment,{children:[u.jsx(Dw,{titleId:i.titleId}),u.jsx(Vw,{contentRef:l,descriptionId:i.descriptionId})]})]})}),ki="DialogTitle",z5=c.forwardRef((e,n)=>{const{__scopeDialog:t,...r}=e,o=Vt(ki,t);return u.jsx(ie.h2,{id:o.titleId,...r,ref:n})});z5.displayName=ki;var Z5="DialogDescription",B5=c.forwardRef((e,n)=>{const{__scopeDialog:t,...r}=e,o=Vt(Z5,t);return u.jsx(ie.p,{id:o.descriptionId,...r,ref:n})});B5.displayName=Z5;var W5="DialogClose",G5=c.forwardRef((e,n)=>{const{__scopeDialog:t,...r}=e,o=Vt(W5,t);return u.jsx(ie.button,{type:"button",...r,ref:n,onClick:ee(e.onClick,()=>o.onOpenChange(!1))})});G5.displayName=W5;function Pi(e){return e?"open":"closed"}var R5="DialogTitleWarning",[TT,j5]=_p(R5,{contentName:Qn,titleName:ki,docsSlug:"dialog"}),Dw=({titleId:e})=>{const n=j5(R5),t=`\`${n.contentName}\` requires a \`${n.titleName}\` for the component to be accessible for screen reader users.
102
+
103
+ If you want to hide the \`${n.titleName}\`, you can wrap it with our VisuallyHidden component.
104
+
105
+ For more information, see https://radix-ui.com/primitives/docs/components/${n.docsSlug}`;return c.useEffect(()=>{e&&(document.getElementById(e)||console.error(t))},[t,e]),null},_w="DialogDescriptionWarning",Vw=({contentRef:e,descriptionId:n})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${j5(_w).contentName}}.`;return c.useEffect(()=>{var a;const o=(a=e.current)==null?void 0:a.getAttribute("aria-describedby");n&&o&&(document.getElementById(n)||console.warn(r))},[r,e,n]),null},Ii=T5,Y5=_5,Oi=H5,xo=A5,So=F5,da=z5,fa=B5,ha=G5,Mo='[cmdk-group=""]',Ti='[cmdk-group-items=""]',Hw='[cmdk-group-heading=""]',q5='[cmdk-item=""]',U5=`${q5}:not([aria-disabled="true"])`,Di="cmdk-item-select",_r="data-value",Aw=(e,n,t)=>Lw(e,n,t),X5=c.createContext(void 0),Eo=()=>c.useContext(X5),K5=c.createContext(void 0),_i=()=>c.useContext(K5),Q5=c.createContext(void 0),J5=c.forwardRef((e,n)=>{let t=Vr(()=>{var D,T;return{search:"",value:(T=(D=e.value)!=null?D:e.defaultValue)!=null?T:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),r=Vr(()=>new Set),o=Vr(()=>new Map),a=Vr(()=>new Map),s=Vr(()=>new Set),i=e0(e),{label:l,children:d,value:f,onValueChange:h,filter:g,shouldFilter:C,loop:v,disablePointerSelection:p=!1,vimBindings:m=!0,...w}=e,y=Ye(),b=Ye(),S=Ye(),E=c.useRef(null),M=qw();Jn(()=>{if(f!==void 0){let D=f.trim();t.current.value=D,L.emit()}},[f]),Jn(()=>{M(6,j)},[]);let L=c.useMemo(()=>({subscribe:D=>(s.current.add(D),()=>s.current.delete(D)),snapshot:()=>t.current,setState:(D,T,N)=>{var H,W,A,Y;if(!Object.is(t.current[D],T)){if(t.current[D]=T,D==="search")$(),_(),M(1,V);else if(D==="value"){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let X=document.getElementById(S);X?X.focus():(H=document.getElementById(y))==null||H.focus()}if(M(7,()=>{var X;t.current.selectedItemId=(X=F())==null?void 0:X.id,L.emit()}),N||M(5,j),((W=i.current)==null?void 0:W.value)!==void 0){let X=T??"";(Y=(A=i.current).onValueChange)==null||Y.call(A,X);return}}L.emit()}},emit:()=>{s.current.forEach(D=>D())}}),[]),I=c.useMemo(()=>({value:(D,T,N)=>{var H;T!==((H=a.current.get(D))==null?void 0:H.value)&&(a.current.set(D,{value:T,keywords:N}),t.current.filtered.items.set(D,O(T,N)),M(2,()=>{_(),L.emit()}))},item:(D,T)=>(r.current.add(D),T&&(o.current.has(T)?o.current.get(T).add(D):o.current.set(T,new Set([D]))),M(3,()=>{$(),_(),t.current.value||V(),L.emit()}),()=>{a.current.delete(D),r.current.delete(D),t.current.filtered.items.delete(D);let N=F();M(4,()=>{$(),(N==null?void 0:N.getAttribute("id"))===D&&V(),L.emit()})}),group:D=>(o.current.has(D)||o.current.set(D,new Set),()=>{a.current.delete(D),o.current.delete(D)}),filter:()=>i.current.shouldFilter,label:l||e["aria-label"],getDisablePointerSelection:()=>i.current.disablePointerSelection,listId:y,inputId:S,labelId:b,listInnerRef:E}),[]);function O(D,T){var N,H;let W=(H=(N=i.current)==null?void 0:N.filter)!=null?H:Aw;return D?W(D,t.current.search,T):0}function _(){if(!t.current.search||i.current.shouldFilter===!1)return;let D=t.current.filtered.items,T=[];t.current.filtered.groups.forEach(H=>{let W=o.current.get(H),A=0;W.forEach(Y=>{let X=D.get(Y);A=Math.max(X,A)}),T.push([H,A])});let N=E.current;R().sort((H,W)=>{var A,Y;let X=H.getAttribute("id"),J=W.getAttribute("id");return((A=D.get(J))!=null?A:0)-((Y=D.get(X))!=null?Y:0)}).forEach(H=>{let W=H.closest(Ti);W?W.appendChild(H.parentElement===W?H:H.closest(`${Ti} > *`)):N.appendChild(H.parentElement===N?H:H.closest(`${Ti} > *`))}),T.sort((H,W)=>W[1]-H[1]).forEach(H=>{var W;let A=(W=E.current)==null?void 0:W.querySelector(`${Mo}[${_r}="${encodeURIComponent(H[0])}"]`);A==null||A.parentElement.appendChild(A)})}function V(){let D=R().find(N=>N.getAttribute("aria-disabled")!=="true"),T=D==null?void 0:D.getAttribute(_r);L.setState("value",T||void 0)}function $(){var D,T,N,H;if(!t.current.search||i.current.shouldFilter===!1){t.current.filtered.count=r.current.size;return}t.current.filtered.groups=new Set;let W=0;for(let A of r.current){let Y=(T=(D=a.current.get(A))==null?void 0:D.value)!=null?T:"",X=(H=(N=a.current.get(A))==null?void 0:N.keywords)!=null?H:[],J=O(Y,X);t.current.filtered.items.set(A,J),J>0&&W++}for(let[A,Y]of o.current)for(let X of Y)if(t.current.filtered.items.get(X)>0){t.current.filtered.groups.add(A);break}t.current.filtered.count=W}function j(){var D,T,N;let H=F();H&&(((D=H.parentElement)==null?void 0:D.firstChild)===H&&((N=(T=H.closest(Mo))==null?void 0:T.querySelector(Hw))==null||N.scrollIntoView({block:"nearest"})),H.scrollIntoView({block:"nearest"}))}function F(){var D;return(D=E.current)==null?void 0:D.querySelector(`${q5}[aria-selected="true"]`)}function R(){var D;return Array.from(((D=E.current)==null?void 0:D.querySelectorAll(U5))||[])}function Z(D){let T=R()[D];T&&L.setState("value",T.getAttribute(_r))}function K(D){var T;let N=F(),H=R(),W=H.findIndex(Y=>Y===N),A=H[W+D];(T=i.current)!=null&&T.loop&&(A=W+D<0?H[H.length-1]:W+D===H.length?H[0]:H[W+D]),A&&L.setState("value",A.getAttribute(_r))}function q(D){let T=F(),N=T==null?void 0:T.closest(Mo),H;for(;N&&!H;)N=D>0?jw(N,Mo):Yw(N,Mo),H=N==null?void 0:N.querySelector(U5);H?L.setState("value",H.getAttribute(_r)):K(D)}let G=()=>Z(R().length-1),oe=D=>{D.preventDefault(),D.metaKey?G():D.altKey?q(1):K(1)},U=D=>{D.preventDefault(),D.metaKey?Z(0):D.altKey?q(-1):K(-1)};return c.createElement(ie.div,{ref:n,tabIndex:-1,...w,"cmdk-root":"",onKeyDown:D=>{var T;(T=w.onKeyDown)==null||T.call(w,D);let N=D.nativeEvent.isComposing||D.keyCode===229;if(!(D.defaultPrevented||N))switch(D.key){case"n":case"j":{m&&D.ctrlKey&&oe(D);break}case"ArrowDown":{oe(D);break}case"p":case"k":{m&&D.ctrlKey&&U(D);break}case"ArrowUp":{U(D);break}case"Home":{D.preventDefault(),Z(0);break}case"End":{D.preventDefault(),G();break}case"Enter":{D.preventDefault();let H=F();if(H){let W=new Event(Di);H.dispatchEvent(W)}}}}},c.createElement("label",{"cmdk-label":"",htmlFor:I.inputId,id:I.labelId,style:Xw},l),ga(e,D=>c.createElement(K5.Provider,{value:L},c.createElement(X5.Provider,{value:I},D))))}),Fw=c.forwardRef((e,n)=>{var t,r;let o=Ye(),a=c.useRef(null),s=c.useContext(Q5),i=Eo(),l=e0(e),d=(r=(t=l.current)==null?void 0:t.forceMount)!=null?r:s==null?void 0:s.forceMount;Jn(()=>{if(!d)return i.item(o,s==null?void 0:s.id)},[d]);let f=t0(o,a,[e.value,e.children,a],e.keywords),h=_i(),g=_n(M=>M.value&&M.value===f.current),C=_n(M=>d||i.filter()===!1?!0:M.search?M.filtered.items.get(o)>0:!0);c.useEffect(()=>{let M=a.current;if(!(!M||e.disabled))return M.addEventListener(Di,v),()=>M.removeEventListener(Di,v)},[C,e.onSelect,e.disabled]);function v(){var M,L;p(),(L=(M=l.current).onSelect)==null||L.call(M,f.current)}function p(){h.setState("value",f.current,!0)}if(!C)return null;let{disabled:m,value:w,onSelect:y,forceMount:b,keywords:S,...E}=e;return c.createElement(ie.div,{ref:an(a,n),...E,id:o,"cmdk-item":"",role:"option","aria-disabled":!!m,"aria-selected":!!g,"data-disabled":!!m,"data-selected":!!g,onPointerMove:m||i.getDisablePointerSelection()?void 0:p,onClick:m?void 0:v},e.children)}),$w=c.forwardRef((e,n)=>{let{heading:t,children:r,forceMount:o,...a}=e,s=Ye(),i=c.useRef(null),l=c.useRef(null),d=Ye(),f=Eo(),h=_n(C=>o||f.filter()===!1?!0:C.search?C.filtered.groups.has(s):!0);Jn(()=>f.group(s),[]),t0(s,i,[e.value,e.heading,l]);let g=c.useMemo(()=>({id:s,forceMount:o}),[o]);return c.createElement(ie.div,{ref:an(i,n),...a,"cmdk-group":"",role:"presentation",hidden:h?void 0:!0},t&&c.createElement("div",{ref:l,"cmdk-group-heading":"","aria-hidden":!0,id:d},t),ga(e,C=>c.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":t?d:void 0},c.createElement(Q5.Provider,{value:g},C))))}),zw=c.forwardRef((e,n)=>{let{alwaysRender:t,...r}=e,o=c.useRef(null),a=_n(s=>!s.search);return!t&&!a?null:c.createElement(ie.div,{ref:an(o,n),...r,"cmdk-separator":"",role:"separator"})}),Zw=c.forwardRef((e,n)=>{let{onValueChange:t,...r}=e,o=e.value!=null,a=_i(),s=_n(d=>d.search),i=_n(d=>d.selectedItemId),l=Eo();return c.useEffect(()=>{e.value!=null&&a.setState("search",e.value)},[e.value]),c.createElement(ie.input,{ref:n,...r,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":l.listId,"aria-labelledby":l.labelId,"aria-activedescendant":i,id:l.inputId,type:"text",value:o?e.value:s,onChange:d=>{o||a.setState("search",d.target.value),t==null||t(d.target.value)}})}),Bw=c.forwardRef((e,n)=>{let{children:t,label:r="Suggestions",...o}=e,a=c.useRef(null),s=c.useRef(null),i=_n(d=>d.selectedItemId),l=Eo();return c.useEffect(()=>{if(s.current&&a.current){let d=s.current,f=a.current,h,g=new ResizeObserver(()=>{h=requestAnimationFrame(()=>{let C=d.offsetHeight;f.style.setProperty("--cmdk-list-height",C.toFixed(1)+"px")})});return g.observe(d),()=>{cancelAnimationFrame(h),g.unobserve(d)}}},[]),c.createElement(ie.div,{ref:an(a,n),...o,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":i,"aria-label":r,id:l.listId},ga(e,d=>c.createElement("div",{ref:an(s,l.listInnerRef),"cmdk-list-sizer":""},d)))}),Ww=c.forwardRef((e,n)=>{let{open:t,onOpenChange:r,overlayClassName:o,contentClassName:a,container:s,...i}=e;return c.createElement(Ii,{open:t,onOpenChange:r},c.createElement(Oi,{container:s},c.createElement(xo,{"cmdk-overlay":"",className:o}),c.createElement(So,{"aria-label":e.label,"cmdk-dialog":"",className:a},c.createElement(J5,{ref:n,...i}))))}),Gw=c.forwardRef((e,n)=>_n(t=>t.filtered.count===0)?c.createElement(ie.div,{ref:n,...e,"cmdk-empty":"",role:"presentation"}):null),Rw=c.forwardRef((e,n)=>{let{progress:t,children:r,label:o="Loading...",...a}=e;return c.createElement(ie.div,{ref:n,...a,"cmdk-loading":"",role:"progressbar","aria-valuenow":t,"aria-valuemin":0,"aria-valuemax":100,"aria-label":o},ga(e,s=>c.createElement("div",{"aria-hidden":!0},s)))}),yt=Object.assign(J5,{List:Bw,Item:Fw,Input:Zw,Group:$w,Separator:zw,Dialog:Ww,Empty:Gw,Loading:Rw});function jw(e,n){let t=e.nextElementSibling;for(;t;){if(t.matches(n))return t;t=t.nextElementSibling}}function Yw(e,n){let t=e.previousElementSibling;for(;t;){if(t.matches(n))return t;t=t.previousElementSibling}}function e0(e){let n=c.useRef(e);return Jn(()=>{n.current=e}),n}var Jn=typeof window>"u"?c.useEffect:c.useLayoutEffect;function Vr(e){let n=c.useRef();return n.current===void 0&&(n.current=e()),n}function _n(e){let n=_i(),t=()=>e(n.snapshot());return c.useSyncExternalStore(n.subscribe,t,t)}function t0(e,n,t,r=[]){let o=c.useRef(),a=Eo();return Jn(()=>{var s;let i=(()=>{var d;for(let f of t){if(typeof f=="string")return f.trim();if(typeof f=="object"&&"current"in f)return f.current?(d=f.current.textContent)==null?void 0:d.trim():o.current}})(),l=r.map(d=>d.trim());a.value(e,i,l),(s=n.current)==null||s.setAttribute(_r,i),o.current=i}),o}var qw=()=>{let[e,n]=c.useState(),t=Vr(()=>new Map);return Jn(()=>{t.current.forEach(r=>r()),t.current=new Map},[e]),(r,o)=>{t.current.set(r,o),n({})}};function Uw(e){let n=e.type;return typeof n=="function"?n(e.props):"render"in n?n.render(e.props):e}function ga({asChild:e,children:n},t){return e&&c.isValidElement(n)?c.cloneElement(Uw(n),{ref:n.ref},t(n.props.children)):t(n)}var Xw={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};const Kw=["[data-krit-ui-ignore-dialog-dismiss]","[data-krit-ui-toast]","[data-krit-ui-toast-viewport]","[data-sonner-toast]","[data-sonner-toaster]"].join(","),Qw=e=>e instanceof Element&&!!e.closest(Kw),Jw=e=>{var n,t;return((t=(n=e.detail)==null?void 0:n.originalEvent)==null?void 0:t.target)??e.target},n0=e=>n=>{e==null||e(n),!n.defaultPrevented&&Qw(Jw(n))&&n.preventDefault()},ey=e=>({onPointerDownOutside:n0(e.onPointerDownOutside),onInteractOutside:n0(e.onInteractOutside)}),r0=e=>ey(e),pa=Ii,Vi=Y5,o0=Oi,a0=ha,Hi=c.forwardRef(({className:e,...n},t)=>u.jsx(xo,{ref:t,className:P("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...n}));Hi.displayName=xo.displayName;const Lo=c.forwardRef(({className:e,children:n,aside:t,scrollableSection:r,onPointerDownOutside:o,onInteractOutside:a,...s},i)=>{const{onPointerDownOutside:l,onInteractOutside:d}=r0({onPointerDownOutside:o,onInteractOutside:a}),f=c.Children.map(n,h=>c.isValidElement(h)&&(h.type.displayName==="DialogSection"||h.type.name==="DialogSection")?c.cloneElement(h,{scrollableSection:r}):h);return u.jsxs(o0,{children:[u.jsx(Hi,{className:"bg-background-overlay/80"}),u.jsx(So,{className:P("fixed z-50 duration-200 focus:outline-none 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%]",!t&&"max-h-[90vh] left-[50%] translate-x-[-50%] top-[8%] max-w-fit w-full",t&&"right-[0] top-0 translate-x-0, h-[100vh]"),"aria-describedby":void 0,onPointerDownOutside:l,onInteractOutside:d,...s,children:u.jsx("div",{ref:i,className:P("pointer-events-auto flex flex-col gap-[1px] bg-line-primary shadow-lg min-w-[460px] max-w-[80vw]",!t&&"max-h-[90vh] rounded-lg",t&&"h-[100vh]",r&&"overflow-hidden",!r&&"scroll-smooth overflow-y-auto overflow-x-hidden dialog-scrollbar",e),children:f})})]})});Lo.displayName=So.displayName;const Ai=({className:e,hideCloseButton:n,...t})=>u.jsxs("div",{className:P("flex flex-col bg-background p-5 relative text-xl font-medium space-y-4 text-center sm:text-left",e),...t,children:[t.children,!n&&u.jsxs(ha,{className:"absolute right-3 top-0 p-1 w-8 h-8 pointer-events-auto text-foreground transition-all hover:opacity-100 focus:outline-none disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-foreground-secondary",children:[u.jsx(Q1,{className:"h-6 w-6"}),u.jsx("span",{className:"sr-only",children:"Close"})]})]});Ai.displayName="DialogHeader";const Fi=({className:e,align:n="end",...t})=>u.jsx("div",{className:P("flex flex-col-reverse bg-background py-4 px-5 sm:justify-start sm:!flex-row sm:space-x-4 sticky bottom-0",e,{"sm:justify-end":n==="end"}),...t});Fi.displayName="DialogFooter";const Ca=c.forwardRef(({className:e,...n},t)=>u.jsx(da,{ref:t,className:P("flex items-center gap-2 text-xl font-medium leading-none",e),...n}));Ca.displayName=da.displayName;const $i=c.forwardRef(({className:e,...n},t)=>u.jsx(fa,{ref:t,className:P("text-sm text-foreground tracking-[0.25px]",e),...n}));$i.displayName=fa.displayName;const zi=({className:e,scrollableSection:n,...t})=>u.jsx("div",{className:P("flex flex-col space-y-4 bg-background p-5",n&&"overflow-y-auto overflow-x-hidden dialog-scrollbar flex-1",e),...t});zi.displayName="DialogSection";const ma=c.forwardRef(({className:e,...n},t)=>u.jsx(yt,{ref:t,className:P("flex h-full w-full flex-col overflow-hidden rounded-md bg-background text-foreground",e),...n}));ma.displayName=yt.displayName;const ty=({children:e,...n})=>u.jsx(pa,{...n,children:u.jsx(Lo,{className:"overflow-hidden p-0 shadow-lg",children:u.jsx(ma,{className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:e})})}),Zi=c.forwardRef(({className:e,...n},t)=>u.jsxs("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[u.jsx(ew,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),u.jsx(yt.Input,{ref:t,className:P("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",e),...n})]}));Zi.displayName=yt.Input.displayName;const Bi=c.forwardRef(({className:e,...n},t)=>u.jsx(yt.List,{ref:t,className:P("max-h-[300px] overflow-y-auto overflow-x-hidden",e),...n}));Bi.displayName=yt.List.displayName;const s0=c.forwardRef((e,n)=>u.jsx(yt.Empty,{ref:n,className:"py-6 text-center text-sm",...e}));s0.displayName=yt.Empty.displayName;const i0=c.forwardRef(({className:e,...n},t)=>u.jsx(yt.Group,{ref:t,className:P("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...n}));i0.displayName=yt.Group.displayName;const l0=c.forwardRef(({className:e,...n},t)=>u.jsx(yt.Separator,{ref:t,className:P("-mx-1 h-px bg-border",e),...n}));l0.displayName=yt.Separator.displayName;const Wi=c.forwardRef(({className:e,...n},t)=>u.jsx(yt.Item,{ref:t,className:P("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",e),...n}));Wi.displayName=yt.Item.displayName;const c0=({className:e,...n})=>u.jsx("span",{className:P("ml-auto text-xs tracking-widest text-muted-foreground",e),...n});c0.displayName="CommandShortcut";/**
106
+ * table-core
107
+ *
108
+ * Copyright (c) TanStack
109
+ *
110
+ * This source code is licensed under the MIT license found in the
111
+ * LICENSE.md file in the root directory of this source tree.
112
+ *
113
+ * @license MIT
114
+ */function Vn(e,n){return typeof e=="function"?e(n):e}function Et(e,n){return t=>{n.setState(r=>({...r,[e]:Vn(t,r[e])}))}}function va(e){return e instanceof Function}function ny(e){return Array.isArray(e)&&e.every(n=>typeof n=="number")}function ry(e,n){const t=[],r=o=>{o.forEach(a=>{t.push(a);const s=n(a);s!=null&&s.length&&r(s)})};return r(e),t}function me(e,n,t){let r=[],o;return a=>{let s;t.key&&t.debug&&(s=Date.now());const i=e(a);if(!(i.length!==r.length||i.some((f,h)=>r[h]!==f)))return o;r=i;let d;if(t.key&&t.debug&&(d=Date.now()),o=n(...i),t==null||t.onChange==null||t.onChange(o),t.key&&t.debug&&t!=null&&t.debug()){const f=Math.round((Date.now()-s)*100)/100,h=Math.round((Date.now()-d)*100)/100,g=h/16,C=(v,p)=>{for(v=String(v);v.length<p;)v=" "+v;return v};console.info(`%c⏱ ${C(h,5)} /${C(f,5)} ms`,`
115
+ font-size: .6rem;
116
+ font-weight: bold;
117
+ color: hsl(${Math.max(0,Math.min(120-120*g,120))}deg 100% 31%);`,t==null?void 0:t.key)}return o}}function ve(e,n,t,r){return{debug:()=>{var o;return(o=e==null?void 0:e.debugAll)!=null?o:e[n]},key:process.env.NODE_ENV==="development"&&t,onChange:r}}function oy(e,n,t,r){const o=()=>{var s;return(s=a.getValue())!=null?s:e.options.renderFallbackValue},a={id:`${n.id}_${t.id}`,row:n,column:t,getValue:()=>n.getValue(r),renderValue:o,getContext:me(()=>[e,t,n,a],(s,i,l,d)=>({table:s,column:i,row:l,cell:d,getValue:d.getValue,renderValue:d.renderValue}),ve(e.options,"debugCells","cell.getContext"))};return e._features.forEach(s=>{s.createCell==null||s.createCell(a,t,n,e)},{}),a}function ay(e,n,t,r){var o,a;const i={...e._getDefaultColumnDef(),...n},l=i.accessorKey;let d=(o=(a=i.id)!=null?a:l?typeof String.prototype.replaceAll=="function"?l.replaceAll(".","_"):l.replace(/\./g,"_"):void 0)!=null?o:typeof i.header=="string"?i.header:void 0,f;if(i.accessorFn?f=i.accessorFn:l&&(l.includes(".")?f=g=>{let C=g;for(const p of l.split(".")){var v;C=(v=C)==null?void 0:v[p],process.env.NODE_ENV!=="production"&&C===void 0&&console.warn(`"${p}" in deeply nested key "${l}" returned undefined.`)}return C}:f=g=>g[i.accessorKey]),!d)throw process.env.NODE_ENV!=="production"?new Error(i.accessorFn?"Columns require an id when using an accessorFn":"Columns require an id when using a non-string header"):new Error;let h={id:`${String(d)}`,accessorFn:f,parent:r,depth:t,columnDef:i,columns:[],getFlatColumns:me(()=>[!0],()=>{var g;return[h,...(g=h.columns)==null?void 0:g.flatMap(C=>C.getFlatColumns())]},ve(e.options,"debugColumns","column.getFlatColumns")),getLeafColumns:me(()=>[e._getOrderColumnsFn()],g=>{var C;if((C=h.columns)!=null&&C.length){let v=h.columns.flatMap(p=>p.getLeafColumns());return g(v)}return[h]},ve(e.options,"debugColumns","column.getLeafColumns"))};for(const g of e._features)g.createColumn==null||g.createColumn(h,e);return h}const ft="debugHeaders";function u0(e,n,t){var r;let a={id:(r=t.id)!=null?r:n.id,column:n,index:t.index,isPlaceholder:!!t.isPlaceholder,placeholderId:t.placeholderId,depth:t.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const s=[],i=l=>{l.subHeaders&&l.subHeaders.length&&l.subHeaders.map(i),s.push(l)};return i(a),s},getContext:()=>({table:e,header:a,column:n})};return e._features.forEach(s=>{s.createHeader==null||s.createHeader(a,e)}),a}const sy={createTable:e=>{e.getHeaderGroups=me(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(n,t,r,o)=>{var a,s;const i=(a=r==null?void 0:r.map(h=>t.find(g=>g.id===h)).filter(Boolean))!=null?a:[],l=(s=o==null?void 0:o.map(h=>t.find(g=>g.id===h)).filter(Boolean))!=null?s:[],d=t.filter(h=>!(r!=null&&r.includes(h.id))&&!(o!=null&&o.includes(h.id)));return wa(n,[...i,...d,...l],e)},ve(e.options,ft,"getHeaderGroups")),e.getCenterHeaderGroups=me(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(n,t,r,o)=>(t=t.filter(a=>!(r!=null&&r.includes(a.id))&&!(o!=null&&o.includes(a.id))),wa(n,t,e,"center")),ve(e.options,ft,"getCenterHeaderGroups")),e.getLeftHeaderGroups=me(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(n,t,r)=>{var o;const a=(o=r==null?void 0:r.map(s=>t.find(i=>i.id===s)).filter(Boolean))!=null?o:[];return wa(n,a,e,"left")},ve(e.options,ft,"getLeftHeaderGroups")),e.getRightHeaderGroups=me(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(n,t,r)=>{var o;const a=(o=r==null?void 0:r.map(s=>t.find(i=>i.id===s)).filter(Boolean))!=null?o:[];return wa(n,a,e,"right")},ve(e.options,ft,"getRightHeaderGroups")),e.getFooterGroups=me(()=>[e.getHeaderGroups()],n=>[...n].reverse(),ve(e.options,ft,"getFooterGroups")),e.getLeftFooterGroups=me(()=>[e.getLeftHeaderGroups()],n=>[...n].reverse(),ve(e.options,ft,"getLeftFooterGroups")),e.getCenterFooterGroups=me(()=>[e.getCenterHeaderGroups()],n=>[...n].reverse(),ve(e.options,ft,"getCenterFooterGroups")),e.getRightFooterGroups=me(()=>[e.getRightHeaderGroups()],n=>[...n].reverse(),ve(e.options,ft,"getRightFooterGroups")),e.getFlatHeaders=me(()=>[e.getHeaderGroups()],n=>n.map(t=>t.headers).flat(),ve(e.options,ft,"getFlatHeaders")),e.getLeftFlatHeaders=me(()=>[e.getLeftHeaderGroups()],n=>n.map(t=>t.headers).flat(),ve(e.options,ft,"getLeftFlatHeaders")),e.getCenterFlatHeaders=me(()=>[e.getCenterHeaderGroups()],n=>n.map(t=>t.headers).flat(),ve(e.options,ft,"getCenterFlatHeaders")),e.getRightFlatHeaders=me(()=>[e.getRightHeaderGroups()],n=>n.map(t=>t.headers).flat(),ve(e.options,ft,"getRightFlatHeaders")),e.getCenterLeafHeaders=me(()=>[e.getCenterFlatHeaders()],n=>n.filter(t=>{var r;return!((r=t.subHeaders)!=null&&r.length)}),ve(e.options,ft,"getCenterLeafHeaders")),e.getLeftLeafHeaders=me(()=>[e.getLeftFlatHeaders()],n=>n.filter(t=>{var r;return!((r=t.subHeaders)!=null&&r.length)}),ve(e.options,ft,"getLeftLeafHeaders")),e.getRightLeafHeaders=me(()=>[e.getRightFlatHeaders()],n=>n.filter(t=>{var r;return!((r=t.subHeaders)!=null&&r.length)}),ve(e.options,ft,"getRightLeafHeaders")),e.getLeafHeaders=me(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(n,t,r)=>{var o,a,s,i,l,d;return[...(o=(a=n[0])==null?void 0:a.headers)!=null?o:[],...(s=(i=t[0])==null?void 0:i.headers)!=null?s:[],...(l=(d=r[0])==null?void 0:d.headers)!=null?l:[]].map(f=>f.getLeafHeaders()).flat()},ve(e.options,ft,"getLeafHeaders"))}};function wa(e,n,t,r){var o,a;let s=0;const i=function(g,C){C===void 0&&(C=1),s=Math.max(s,C),g.filter(v=>v.getIsVisible()).forEach(v=>{var p;(p=v.columns)!=null&&p.length&&i(v.columns,C+1)},0)};i(e);let l=[];const d=(g,C)=>{const v={depth:C,id:[r,`${C}`].filter(Boolean).join("_"),headers:[]},p=[];g.forEach(m=>{const w=[...p].reverse()[0],y=m.column.depth===v.depth;let b,S=!1;if(y&&m.column.parent?b=m.column.parent:(b=m.column,S=!0),w&&(w==null?void 0:w.column)===b)w.subHeaders.push(m);else{const E=u0(t,b,{id:[r,C,b.id,m==null?void 0:m.id].filter(Boolean).join("_"),isPlaceholder:S,placeholderId:S?`${p.filter(M=>M.column===b).length}`:void 0,depth:C,index:p.length});E.subHeaders.push(m),p.push(E)}v.headers.push(m),m.headerGroup=v}),l.push(v),C>0&&d(p,C-1)},f=n.map((g,C)=>u0(t,g,{depth:s,index:C}));d(f,s-1),l.reverse();const h=g=>g.filter(v=>v.column.getIsVisible()).map(v=>{let p=0,m=0,w=[0];v.subHeaders&&v.subHeaders.length?(w=[],h(v.subHeaders).forEach(b=>{let{colSpan:S,rowSpan:E}=b;p+=S,w.push(E)})):p=1;const y=Math.min(...w);return m=m+y,v.colSpan=p,v.rowSpan=m,{colSpan:p,rowSpan:m}});return h((o=(a=l[0])==null?void 0:a.headers)!=null?o:[]),l}const iy=(e,n,t,r,o,a,s)=>{let i={id:n,index:r,original:t,depth:o,parentId:s,_valuesCache:{},_uniqueValuesCache:{},getValue:l=>{if(i._valuesCache.hasOwnProperty(l))return i._valuesCache[l];const d=e.getColumn(l);if(d!=null&&d.accessorFn)return i._valuesCache[l]=d.accessorFn(i.original,r),i._valuesCache[l]},getUniqueValues:l=>{if(i._uniqueValuesCache.hasOwnProperty(l))return i._uniqueValuesCache[l];const d=e.getColumn(l);if(d!=null&&d.accessorFn)return d.columnDef.getUniqueValues?(i._uniqueValuesCache[l]=d.columnDef.getUniqueValues(i.original,r),i._uniqueValuesCache[l]):(i._uniqueValuesCache[l]=[i.getValue(l)],i._uniqueValuesCache[l])},renderValue:l=>{var d;return(d=i.getValue(l))!=null?d:e.options.renderFallbackValue},subRows:[],getLeafRows:()=>ry(i.subRows,l=>l.subRows),getParentRow:()=>i.parentId?e.getRow(i.parentId,!0):void 0,getParentRows:()=>{let l=[],d=i;for(;;){const f=d.getParentRow();if(!f)break;l.push(f),d=f}return l.reverse()},getAllCells:me(()=>[e.getAllLeafColumns()],l=>l.map(d=>oy(e,i,d,d.id)),ve(e.options,"debugRows","getAllCells")),_getAllCellsByColumnId:me(()=>[i.getAllCells()],l=>l.reduce((d,f)=>(d[f.column.id]=f,d),{}),ve(e.options,"debugRows","getAllCellsByColumnId"))};for(let l=0;l<e._features.length;l++){const d=e._features[l];d==null||d.createRow==null||d.createRow(i,e)}return i},ly={createColumn:(e,n)=>{e._getFacetedRowModel=n.options.getFacetedRowModel&&n.options.getFacetedRowModel(n,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():n.getPreFilteredRowModel(),e._getFacetedUniqueValues=n.options.getFacetedUniqueValues&&n.options.getFacetedUniqueValues(n,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=n.options.getFacetedMinMaxValues&&n.options.getFacetedMinMaxValues(n,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},d0=(e,n,t)=>{var r,o;const a=t==null||(r=t.toString())==null?void 0:r.toLowerCase();return!!(!((o=e.getValue(n))==null||(o=o.toString())==null||(o=o.toLowerCase())==null)&&o.includes(a))};d0.autoRemove=e=>Ht(e);const f0=(e,n,t)=>{var r;return!!(!((r=e.getValue(n))==null||(r=r.toString())==null)&&r.includes(t))};f0.autoRemove=e=>Ht(e);const h0=(e,n,t)=>{var r;return((r=e.getValue(n))==null||(r=r.toString())==null?void 0:r.toLowerCase())===(t==null?void 0:t.toLowerCase())};h0.autoRemove=e=>Ht(e);const g0=(e,n,t)=>{var r;return(r=e.getValue(n))==null?void 0:r.includes(t)};g0.autoRemove=e=>Ht(e);const p0=(e,n,t)=>!t.some(r=>{var o;return!((o=e.getValue(n))!=null&&o.includes(r))});p0.autoRemove=e=>Ht(e)||!(e!=null&&e.length);const C0=(e,n,t)=>t.some(r=>{var o;return(o=e.getValue(n))==null?void 0:o.includes(r)});C0.autoRemove=e=>Ht(e)||!(e!=null&&e.length);const m0=(e,n,t)=>e.getValue(n)===t;m0.autoRemove=e=>Ht(e);const v0=(e,n,t)=>e.getValue(n)==t;v0.autoRemove=e=>Ht(e);const Gi=(e,n,t)=>{let[r,o]=t;const a=e.getValue(n);return a>=r&&a<=o};Gi.resolveFilterValue=e=>{let[n,t]=e,r=typeof n!="number"?parseFloat(n):n,o=typeof t!="number"?parseFloat(t):t,a=n===null||Number.isNaN(r)?-1/0:r,s=t===null||Number.isNaN(o)?1/0:o;if(a>s){const i=a;a=s,s=i}return[a,s]},Gi.autoRemove=e=>Ht(e)||Ht(e[0])&&Ht(e[1]);const hn={includesString:d0,includesStringSensitive:f0,equalsString:h0,arrIncludes:g0,arrIncludesAll:p0,arrIncludesSome:C0,equals:m0,weakEquals:v0,inNumberRange:Gi};function Ht(e){return e==null||e===""}const cy={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:Et("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,n)=>{e.getAutoFilterFn=()=>{const t=n.getCoreRowModel().flatRows[0],r=t==null?void 0:t.getValue(e.id);return typeof r=="string"?hn.includesString:typeof r=="number"?hn.inNumberRange:typeof r=="boolean"||r!==null&&typeof r=="object"?hn.equals:Array.isArray(r)?hn.arrIncludes:hn.weakEquals},e.getFilterFn=()=>{var t,r;return va(e.columnDef.filterFn)?e.columnDef.filterFn:e.columnDef.filterFn==="auto"?e.getAutoFilterFn():(t=(r=n.options.filterFns)==null?void 0:r[e.columnDef.filterFn])!=null?t:hn[e.columnDef.filterFn]},e.getCanFilter=()=>{var t,r,o;return((t=e.columnDef.enableColumnFilter)!=null?t:!0)&&((r=n.options.enableColumnFilters)!=null?r:!0)&&((o=n.options.enableFilters)!=null?o:!0)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var t;return(t=n.getState().columnFilters)==null||(t=t.find(r=>r.id===e.id))==null?void 0:t.value},e.getFilterIndex=()=>{var t,r;return(t=(r=n.getState().columnFilters)==null?void 0:r.findIndex(o=>o.id===e.id))!=null?t:-1},e.setFilterValue=t=>{n.setColumnFilters(r=>{const o=e.getFilterFn(),a=r==null?void 0:r.find(f=>f.id===e.id),s=Vn(t,a?a.value:void 0);if(w0(o,s,e)){var i;return(i=r==null?void 0:r.filter(f=>f.id!==e.id))!=null?i:[]}const l={id:e.id,value:s};if(a){var d;return(d=r==null?void 0:r.map(f=>f.id===e.id?l:f))!=null?d:[]}return r!=null&&r.length?[...r,l]:[l]})}},createRow:(e,n)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=n=>{const t=e.getAllLeafColumns(),r=o=>{var a;return(a=Vn(n,o))==null?void 0:a.filter(s=>{const i=t.find(l=>l.id===s.id);if(i){const l=i.getFilterFn();if(w0(l,s.value,i))return!1}return!0})};e.options.onColumnFiltersChange==null||e.options.onColumnFiltersChange(r)},e.resetColumnFilters=n=>{var t,r;e.setColumnFilters(n?[]:(t=(r=e.initialState)==null?void 0:r.columnFilters)!=null?t:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function w0(e,n,t){return(e&&e.autoRemove?e.autoRemove(n,t):!1)||typeof n>"u"||typeof n=="string"&&!n}const Ri={sum:(e,n,t)=>t.reduce((r,o)=>{const a=o.getValue(e);return r+(typeof a=="number"?a:0)},0),min:(e,n,t)=>{let r;return t.forEach(o=>{const a=o.getValue(e);a!=null&&(r>a||r===void 0&&a>=a)&&(r=a)}),r},max:(e,n,t)=>{let r;return t.forEach(o=>{const a=o.getValue(e);a!=null&&(r<a||r===void 0&&a>=a)&&(r=a)}),r},extent:(e,n,t)=>{let r,o;return t.forEach(a=>{const s=a.getValue(e);s!=null&&(r===void 0?s>=s&&(r=o=s):(r>s&&(r=s),o<s&&(o=s)))}),[r,o]},mean:(e,n)=>{let t=0,r=0;if(n.forEach(o=>{let a=o.getValue(e);a!=null&&(a=+a)>=a&&(++t,r+=a)}),t)return r/t},median:(e,n)=>{if(!n.length)return;const t=n.map(a=>a.getValue(e));if(!ny(t))return;if(t.length===1)return t[0];const r=Math.floor(t.length/2),o=t.sort((a,s)=>a-s);return t.length%2!==0?o[r]:(o[r-1]+o[r])/2},unique:(e,n)=>Array.from(new Set(n.map(t=>t.getValue(e))).values()),uniqueCount:(e,n)=>new Set(n.map(t=>t.getValue(e))).size,count:(e,n)=>n.length},uy={getDefaultColumnDef:()=>({aggregatedCell:e=>{var n,t;return(n=(t=e.getValue())==null||t.toString==null?void 0:t.toString())!=null?n:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:Et("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,n)=>{e.toggleGrouping=()=>{n.setGrouping(t=>t!=null&&t.includes(e.id)?t.filter(r=>r!==e.id):[...t??[],e.id])},e.getCanGroup=()=>{var t,r;return((t=e.columnDef.enableGrouping)!=null?t:!0)&&((r=n.options.enableGrouping)!=null?r:!0)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var t;return(t=n.getState().grouping)==null?void 0:t.includes(e.id)},e.getGroupedIndex=()=>{var t;return(t=n.getState().grouping)==null?void 0:t.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const t=e.getCanGroup();return()=>{t&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const t=n.getCoreRowModel().flatRows[0],r=t==null?void 0:t.getValue(e.id);if(typeof r=="number")return Ri.sum;if(Object.prototype.toString.call(r)==="[object Date]")return Ri.extent},e.getAggregationFn=()=>{var t,r;if(!e)throw new Error;return va(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:e.columnDef.aggregationFn==="auto"?e.getAutoAggregationFn():(t=(r=n.options.aggregationFns)==null?void 0:r[e.columnDef.aggregationFn])!=null?t:Ri[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=n=>e.options.onGroupingChange==null?void 0:e.options.onGroupingChange(n),e.resetGrouping=n=>{var t,r;e.setGrouping(n?[]:(t=(r=e.initialState)==null?void 0:r.grouping)!=null?t:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,n)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=t=>{if(e._groupingValuesCache.hasOwnProperty(t))return e._groupingValuesCache[t];const r=n.getColumn(t);return r!=null&&r.columnDef.getGroupingValue?(e._groupingValuesCache[t]=r.columnDef.getGroupingValue(e.original),e._groupingValuesCache[t]):e.getValue(t)},e._groupingValuesCache={}},createCell:(e,n,t,r)=>{e.getIsGrouped=()=>n.getIsGrouped()&&n.id===t.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&n.getIsGrouped(),e.getIsAggregated=()=>{var o;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!!((o=t.subRows)!=null&&o.length)}}};function dy(e,n,t){if(!(n!=null&&n.length)||!t)return e;const r=e.filter(a=>!n.includes(a.id));return t==="remove"?r:[...n.map(a=>e.find(s=>s.id===a)).filter(Boolean),...r]}const fy={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:Et("columnOrder",e)}),createColumn:(e,n)=>{e.getIndex=me(t=>[No(n,t)],t=>t.findIndex(r=>r.id===e.id),ve(n.options,"debugColumns","getIndex")),e.getIsFirstColumn=t=>{var r;return((r=No(n,t)[0])==null?void 0:r.id)===e.id},e.getIsLastColumn=t=>{var r;const o=No(n,t);return((r=o[o.length-1])==null?void 0:r.id)===e.id}},createTable:e=>{e.setColumnOrder=n=>e.options.onColumnOrderChange==null?void 0:e.options.onColumnOrderChange(n),e.resetColumnOrder=n=>{var t;e.setColumnOrder(n?[]:(t=e.initialState.columnOrder)!=null?t:[])},e._getOrderColumnsFn=me(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(n,t,r)=>o=>{let a=[];if(!(n!=null&&n.length))a=o;else{const s=[...n],i=[...o];for(;i.length&&s.length;){const l=s.shift(),d=i.findIndex(f=>f.id===l);d>-1&&a.push(i.splice(d,1)[0])}a=[...a,...i]}return dy(a,t,r)},ve(e.options,"debugTable","_getOrderColumnsFn"))}},ji=()=>({left:[],right:[]}),hy={getInitialState:e=>({columnPinning:ji(),...e}),getDefaultOptions:e=>({onColumnPinningChange:Et("columnPinning",e)}),createColumn:(e,n)=>{e.pin=t=>{const r=e.getLeafColumns().map(o=>o.id).filter(Boolean);n.setColumnPinning(o=>{var a,s;if(t==="right"){var i,l;return{left:((i=o==null?void 0:o.left)!=null?i:[]).filter(h=>!(r!=null&&r.includes(h))),right:[...((l=o==null?void 0:o.right)!=null?l:[]).filter(h=>!(r!=null&&r.includes(h))),...r]}}if(t==="left"){var d,f;return{left:[...((d=o==null?void 0:o.left)!=null?d:[]).filter(h=>!(r!=null&&r.includes(h))),...r],right:((f=o==null?void 0:o.right)!=null?f:[]).filter(h=>!(r!=null&&r.includes(h)))}}return{left:((a=o==null?void 0:o.left)!=null?a:[]).filter(h=>!(r!=null&&r.includes(h))),right:((s=o==null?void 0:o.right)!=null?s:[]).filter(h=>!(r!=null&&r.includes(h)))}})},e.getCanPin=()=>e.getLeafColumns().some(r=>{var o,a,s;return((o=r.columnDef.enablePinning)!=null?o:!0)&&((a=(s=n.options.enableColumnPinning)!=null?s:n.options.enablePinning)!=null?a:!0)}),e.getIsPinned=()=>{const t=e.getLeafColumns().map(i=>i.id),{left:r,right:o}=n.getState().columnPinning,a=t.some(i=>r==null?void 0:r.includes(i)),s=t.some(i=>o==null?void 0:o.includes(i));return a?"left":s?"right":!1},e.getPinnedIndex=()=>{var t,r;const o=e.getIsPinned();return o?(t=(r=n.getState().columnPinning)==null||(r=r[o])==null?void 0:r.indexOf(e.id))!=null?t:-1:0}},createRow:(e,n)=>{e.getCenterVisibleCells=me(()=>[e._getAllVisibleCells(),n.getState().columnPinning.left,n.getState().columnPinning.right],(t,r,o)=>{const a=[...r??[],...o??[]];return t.filter(s=>!a.includes(s.column.id))},ve(n.options,"debugRows","getCenterVisibleCells")),e.getLeftVisibleCells=me(()=>[e._getAllVisibleCells(),n.getState().columnPinning.left],(t,r)=>(r??[]).map(a=>t.find(s=>s.column.id===a)).filter(Boolean).map(a=>({...a,position:"left"})),ve(n.options,"debugRows","getLeftVisibleCells")),e.getRightVisibleCells=me(()=>[e._getAllVisibleCells(),n.getState().columnPinning.right],(t,r)=>(r??[]).map(a=>t.find(s=>s.column.id===a)).filter(Boolean).map(a=>({...a,position:"right"})),ve(n.options,"debugRows","getRightVisibleCells"))},createTable:e=>{e.setColumnPinning=n=>e.options.onColumnPinningChange==null?void 0:e.options.onColumnPinningChange(n),e.resetColumnPinning=n=>{var t,r;return e.setColumnPinning(n?ji():(t=(r=e.initialState)==null?void 0:r.columnPinning)!=null?t:ji())},e.getIsSomeColumnsPinned=n=>{var t;const r=e.getState().columnPinning;if(!n){var o,a;return!!((o=r.left)!=null&&o.length||(a=r.right)!=null&&a.length)}return!!((t=r[n])!=null&&t.length)},e.getLeftLeafColumns=me(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(n,t)=>(t??[]).map(r=>n.find(o=>o.id===r)).filter(Boolean),ve(e.options,"debugColumns","getLeftLeafColumns")),e.getRightLeafColumns=me(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(n,t)=>(t??[]).map(r=>n.find(o=>o.id===r)).filter(Boolean),ve(e.options,"debugColumns","getRightLeafColumns")),e.getCenterLeafColumns=me(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(n,t,r)=>{const o=[...t??[],...r??[]];return n.filter(a=>!o.includes(a.id))},ve(e.options,"debugColumns","getCenterLeafColumns"))}};function gy(e){return e||(typeof document<"u"?document:null)}const ya={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},Yi=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),py={getDefaultColumnDef:()=>ya,getInitialState:e=>({columnSizing:{},columnSizingInfo:Yi(),...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:Et("columnSizing",e),onColumnSizingInfoChange:Et("columnSizingInfo",e)}),createColumn:(e,n)=>{e.getSize=()=>{var t,r,o;const a=n.getState().columnSizing[e.id];return Math.min(Math.max((t=e.columnDef.minSize)!=null?t:ya.minSize,(r=a??e.columnDef.size)!=null?r:ya.size),(o=e.columnDef.maxSize)!=null?o:ya.maxSize)},e.getStart=me(t=>[t,No(n,t),n.getState().columnSizing],(t,r)=>r.slice(0,e.getIndex(t)).reduce((o,a)=>o+a.getSize(),0),ve(n.options,"debugColumns","getStart")),e.getAfter=me(t=>[t,No(n,t),n.getState().columnSizing],(t,r)=>r.slice(e.getIndex(t)+1).reduce((o,a)=>o+a.getSize(),0),ve(n.options,"debugColumns","getAfter")),e.resetSize=()=>{n.setColumnSizing(t=>{let{[e.id]:r,...o}=t;return o})},e.getCanResize=()=>{var t,r;return((t=e.columnDef.enableResizing)!=null?t:!0)&&((r=n.options.enableColumnResizing)!=null?r:!0)},e.getIsResizing=()=>n.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,n)=>{e.getSize=()=>{let t=0;const r=o=>{if(o.subHeaders.length)o.subHeaders.forEach(r);else{var a;t+=(a=o.column.getSize())!=null?a:0}};return r(e),t},e.getStart=()=>{if(e.index>0){const t=e.headerGroup.headers[e.index-1];return t.getStart()+t.getSize()}return 0},e.getResizeHandler=t=>{const r=n.getColumn(e.column.id),o=r==null?void 0:r.getCanResize();return a=>{if(!r||!o||(a.persist==null||a.persist(),qi(a)&&a.touches&&a.touches.length>1))return;const s=e.getSize(),i=e?e.getLeafHeaders().map(w=>[w.column.id,w.column.getSize()]):[[r.id,r.getSize()]],l=qi(a)?Math.round(a.touches[0].clientX):a.clientX,d={},f=(w,y)=>{typeof y=="number"&&(n.setColumnSizingInfo(b=>{var S,E;const M=n.options.columnResizeDirection==="rtl"?-1:1,L=(y-((S=b==null?void 0:b.startOffset)!=null?S:0))*M,I=Math.max(L/((E=b==null?void 0:b.startSize)!=null?E:0),-.999999);return b.columnSizingStart.forEach(O=>{let[_,V]=O;d[_]=Math.round(Math.max(V+V*I,0)*100)/100}),{...b,deltaOffset:L,deltaPercentage:I}}),(n.options.columnResizeMode==="onChange"||w==="end")&&n.setColumnSizing(b=>({...b,...d})))},h=w=>f("move",w),g=w=>{f("end",w),n.setColumnSizingInfo(y=>({...y,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},C=gy(t),v={moveHandler:w=>h(w.clientX),upHandler:w=>{C==null||C.removeEventListener("mousemove",v.moveHandler),C==null||C.removeEventListener("mouseup",v.upHandler),g(w.clientX)}},p={moveHandler:w=>(w.cancelable&&(w.preventDefault(),w.stopPropagation()),h(w.touches[0].clientX),!1),upHandler:w=>{var y;C==null||C.removeEventListener("touchmove",p.moveHandler),C==null||C.removeEventListener("touchend",p.upHandler),w.cancelable&&(w.preventDefault(),w.stopPropagation()),g((y=w.touches[0])==null?void 0:y.clientX)}},m=Cy()?{passive:!1}:!1;qi(a)?(C==null||C.addEventListener("touchmove",p.moveHandler,m),C==null||C.addEventListener("touchend",p.upHandler,m)):(C==null||C.addEventListener("mousemove",v.moveHandler,m),C==null||C.addEventListener("mouseup",v.upHandler,m)),n.setColumnSizingInfo(w=>({...w,startOffset:l,startSize:s,deltaOffset:0,deltaPercentage:0,columnSizingStart:i,isResizingColumn:r.id}))}}},createTable:e=>{e.setColumnSizing=n=>e.options.onColumnSizingChange==null?void 0:e.options.onColumnSizingChange(n),e.setColumnSizingInfo=n=>e.options.onColumnSizingInfoChange==null?void 0:e.options.onColumnSizingInfoChange(n),e.resetColumnSizing=n=>{var t;e.setColumnSizing(n?{}:(t=e.initialState.columnSizing)!=null?t:{})},e.resetHeaderSizeInfo=n=>{var t;e.setColumnSizingInfo(n?Yi():(t=e.initialState.columnSizingInfo)!=null?t:Yi())},e.getTotalSize=()=>{var n,t;return(n=(t=e.getHeaderGroups()[0])==null?void 0:t.headers.reduce((r,o)=>r+o.getSize(),0))!=null?n:0},e.getLeftTotalSize=()=>{var n,t;return(n=(t=e.getLeftHeaderGroups()[0])==null?void 0:t.headers.reduce((r,o)=>r+o.getSize(),0))!=null?n:0},e.getCenterTotalSize=()=>{var n,t;return(n=(t=e.getCenterHeaderGroups()[0])==null?void 0:t.headers.reduce((r,o)=>r+o.getSize(),0))!=null?n:0},e.getRightTotalSize=()=>{var n,t;return(n=(t=e.getRightHeaderGroups()[0])==null?void 0:t.headers.reduce((r,o)=>r+o.getSize(),0))!=null?n:0}}};let ba=null;function Cy(){if(typeof ba=="boolean")return ba;let e=!1;try{const n={get passive(){return e=!0,!1}},t=()=>{};window.addEventListener("test",t,n),window.removeEventListener("test",t)}catch{e=!1}return ba=e,ba}function qi(e){return e.type==="touchstart"}const my={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:Et("columnVisibility",e)}),createColumn:(e,n)=>{e.toggleVisibility=t=>{e.getCanHide()&&n.setColumnVisibility(r=>({...r,[e.id]:t??!e.getIsVisible()}))},e.getIsVisible=()=>{var t,r;const o=e.columns;return(t=o.length?o.some(a=>a.getIsVisible()):(r=n.getState().columnVisibility)==null?void 0:r[e.id])!=null?t:!0},e.getCanHide=()=>{var t,r;return((t=e.columnDef.enableHiding)!=null?t:!0)&&((r=n.options.enableHiding)!=null?r:!0)},e.getToggleVisibilityHandler=()=>t=>{e.toggleVisibility==null||e.toggleVisibility(t.target.checked)}},createRow:(e,n)=>{e._getAllVisibleCells=me(()=>[e.getAllCells(),n.getState().columnVisibility],t=>t.filter(r=>r.column.getIsVisible()),ve(n.options,"debugRows","_getAllVisibleCells")),e.getVisibleCells=me(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(t,r,o)=>[...t,...r,...o],ve(n.options,"debugRows","getVisibleCells"))},createTable:e=>{const n=(t,r)=>me(()=>[r(),r().filter(o=>o.getIsVisible()).map(o=>o.id).join("_")],o=>o.filter(a=>a.getIsVisible==null?void 0:a.getIsVisible()),ve(e.options,"debugColumns",t));e.getVisibleFlatColumns=n("getVisibleFlatColumns",()=>e.getAllFlatColumns()),e.getVisibleLeafColumns=n("getVisibleLeafColumns",()=>e.getAllLeafColumns()),e.getLeftVisibleLeafColumns=n("getLeftVisibleLeafColumns",()=>e.getLeftLeafColumns()),e.getRightVisibleLeafColumns=n("getRightVisibleLeafColumns",()=>e.getRightLeafColumns()),e.getCenterVisibleLeafColumns=n("getCenterVisibleLeafColumns",()=>e.getCenterLeafColumns()),e.setColumnVisibility=t=>e.options.onColumnVisibilityChange==null?void 0:e.options.onColumnVisibilityChange(t),e.resetColumnVisibility=t=>{var r;e.setColumnVisibility(t?{}:(r=e.initialState.columnVisibility)!=null?r:{})},e.toggleAllColumnsVisible=t=>{var r;t=(r=t)!=null?r:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((o,a)=>({...o,[a.id]:t||!(a.getCanHide!=null&&a.getCanHide())}),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some(t=>!(t.getIsVisible!=null&&t.getIsVisible())),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some(t=>t.getIsVisible==null?void 0:t.getIsVisible()),e.getToggleAllColumnsVisibilityHandler=()=>t=>{var r;e.toggleAllColumnsVisible((r=t.target)==null?void 0:r.checked)}}};function No(e,n){return n?n==="center"?e.getCenterVisibleLeafColumns():n==="left"?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const vy={createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},wy={getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:Et("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:n=>{var t;const r=(t=e.getCoreRowModel().flatRows[0])==null||(t=t._getAllCellsByColumnId()[n.id])==null?void 0:t.getValue();return typeof r=="string"||typeof r=="number"}}),createColumn:(e,n)=>{e.getCanGlobalFilter=()=>{var t,r,o,a;return((t=e.columnDef.enableGlobalFilter)!=null?t:!0)&&((r=n.options.enableGlobalFilter)!=null?r:!0)&&((o=n.options.enableFilters)!=null?o:!0)&&((a=n.options.getColumnCanGlobalFilter==null?void 0:n.options.getColumnCanGlobalFilter(e))!=null?a:!0)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>hn.includesString,e.getGlobalFilterFn=()=>{var n,t;const{globalFilterFn:r}=e.options;return va(r)?r:r==="auto"?e.getGlobalAutoFilterFn():(n=(t=e.options.filterFns)==null?void 0:t[r])!=null?n:hn[r]},e.setGlobalFilter=n=>{e.options.onGlobalFilterChange==null||e.options.onGlobalFilterChange(n)},e.resetGlobalFilter=n=>{e.setGlobalFilter(n?void 0:e.initialState.globalFilter)}}},yy={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:Et("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let n=!1,t=!1;e._autoResetExpanded=()=>{var r,o;if(!n){e._queue(()=>{n=!0});return}if((r=(o=e.options.autoResetAll)!=null?o:e.options.autoResetExpanded)!=null?r:!e.options.manualExpanding){if(t)return;t=!0,e._queue(()=>{e.resetExpanded(),t=!1})}},e.setExpanded=r=>e.options.onExpandedChange==null?void 0:e.options.onExpandedChange(r),e.toggleAllRowsExpanded=r=>{r??!e.getIsAllRowsExpanded()?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=r=>{var o,a;e.setExpanded(r?{}:(o=(a=e.initialState)==null?void 0:a.expanded)!=null?o:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some(r=>r.getCanExpand()),e.getToggleAllRowsExpandedHandler=()=>r=>{r.persist==null||r.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const r=e.getState().expanded;return r===!0||Object.values(r).some(Boolean)},e.getIsAllRowsExpanded=()=>{const r=e.getState().expanded;return typeof r=="boolean"?r===!0:!(!Object.keys(r).length||e.getRowModel().flatRows.some(o=>!o.getIsExpanded()))},e.getExpandedDepth=()=>{let r=0;return(e.getState().expanded===!0?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach(a=>{const s=a.split(".");r=Math.max(r,s.length)}),r},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,n)=>{e.toggleExpanded=t=>{n.setExpanded(r=>{var o;const a=r===!0?!0:!!(r!=null&&r[e.id]);let s={};if(r===!0?Object.keys(n.getRowModel().rowsById).forEach(i=>{s[i]=!0}):s=r,t=(o=t)!=null?o:!a,!a&&t)return{...s,[e.id]:!0};if(a&&!t){const{[e.id]:i,...l}=s;return l}return r})},e.getIsExpanded=()=>{var t;const r=n.getState().expanded;return!!((t=n.options.getIsRowExpanded==null?void 0:n.options.getIsRowExpanded(e))!=null?t:r===!0||r!=null&&r[e.id])},e.getCanExpand=()=>{var t,r,o;return(t=n.options.getRowCanExpand==null?void 0:n.options.getRowCanExpand(e))!=null?t:((r=n.options.enableExpanding)!=null?r:!0)&&!!((o=e.subRows)!=null&&o.length)},e.getIsAllParentsExpanded=()=>{let t=!0,r=e;for(;t&&r.parentId;)r=n.getRow(r.parentId,!0),t=r.getIsExpanded();return t},e.getToggleExpandedHandler=()=>{const t=e.getCanExpand();return()=>{t&&e.toggleExpanded()}}}},Ui=0,Xi=10,Ki=()=>({pageIndex:Ui,pageSize:Xi}),by={getInitialState:e=>({...e,pagination:{...Ki(),...e==null?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:Et("pagination",e)}),createTable:e=>{let n=!1,t=!1;e._autoResetPageIndex=()=>{var r,o;if(!n){e._queue(()=>{n=!0});return}if((r=(o=e.options.autoResetAll)!=null?o:e.options.autoResetPageIndex)!=null?r:!e.options.manualPagination){if(t)return;t=!0,e._queue(()=>{e.resetPageIndex(),t=!1})}},e.setPagination=r=>{const o=a=>Vn(r,a);return e.options.onPaginationChange==null?void 0:e.options.onPaginationChange(o)},e.resetPagination=r=>{var o;e.setPagination(r?Ki():(o=e.initialState.pagination)!=null?o:Ki())},e.setPageIndex=r=>{e.setPagination(o=>{let a=Vn(r,o.pageIndex);const s=typeof e.options.pageCount>"u"||e.options.pageCount===-1?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return a=Math.max(0,Math.min(a,s)),{...o,pageIndex:a}})},e.resetPageIndex=r=>{var o,a;e.setPageIndex(r?Ui:(o=(a=e.initialState)==null||(a=a.pagination)==null?void 0:a.pageIndex)!=null?o:Ui)},e.resetPageSize=r=>{var o,a;e.setPageSize(r?Xi:(o=(a=e.initialState)==null||(a=a.pagination)==null?void 0:a.pageSize)!=null?o:Xi)},e.setPageSize=r=>{e.setPagination(o=>{const a=Math.max(1,Vn(r,o.pageSize)),s=o.pageSize*o.pageIndex,i=Math.floor(s/a);return{...o,pageIndex:i,pageSize:a}})},e.setPageCount=r=>e.setPagination(o=>{var a;let s=Vn(r,(a=e.options.pageCount)!=null?a:-1);return typeof s=="number"&&(s=Math.max(-1,s)),{...o,pageCount:s}}),e.getPageOptions=me(()=>[e.getPageCount()],r=>{let o=[];return r&&r>0&&(o=[...new Array(r)].fill(null).map((a,s)=>s)),o},ve(e.options,"debugTable","getPageOptions")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:r}=e.getState().pagination,o=e.getPageCount();return o===-1?!0:o===0?!1:r<o-1},e.previousPage=()=>e.setPageIndex(r=>r-1),e.nextPage=()=>e.setPageIndex(r=>r+1),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var r;return(r=e.options.pageCount)!=null?r:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var r;return(r=e.options.rowCount)!=null?r:e.getPrePaginationRowModel().rows.length}}},Qi=()=>({top:[],bottom:[]}),xy={getInitialState:e=>({rowPinning:Qi(),...e}),getDefaultOptions:e=>({onRowPinningChange:Et("rowPinning",e)}),createRow:(e,n)=>{e.pin=(t,r,o)=>{const a=r?e.getLeafRows().map(l=>{let{id:d}=l;return d}):[],s=o?e.getParentRows().map(l=>{let{id:d}=l;return d}):[],i=new Set([...s,e.id,...a]);n.setRowPinning(l=>{var d,f;if(t==="bottom"){var h,g;return{top:((h=l==null?void 0:l.top)!=null?h:[]).filter(p=>!(i!=null&&i.has(p))),bottom:[...((g=l==null?void 0:l.bottom)!=null?g:[]).filter(p=>!(i!=null&&i.has(p))),...Array.from(i)]}}if(t==="top"){var C,v;return{top:[...((C=l==null?void 0:l.top)!=null?C:[]).filter(p=>!(i!=null&&i.has(p))),...Array.from(i)],bottom:((v=l==null?void 0:l.bottom)!=null?v:[]).filter(p=>!(i!=null&&i.has(p)))}}return{top:((d=l==null?void 0:l.top)!=null?d:[]).filter(p=>!(i!=null&&i.has(p))),bottom:((f=l==null?void 0:l.bottom)!=null?f:[]).filter(p=>!(i!=null&&i.has(p)))}})},e.getCanPin=()=>{var t;const{enableRowPinning:r,enablePinning:o}=n.options;return typeof r=="function"?r(e):(t=r??o)!=null?t:!0},e.getIsPinned=()=>{const t=[e.id],{top:r,bottom:o}=n.getState().rowPinning,a=t.some(i=>r==null?void 0:r.includes(i)),s=t.some(i=>o==null?void 0:o.includes(i));return a?"top":s?"bottom":!1},e.getPinnedIndex=()=>{var t,r;const o=e.getIsPinned();if(!o)return-1;const a=(t=o==="top"?n.getTopRows():n.getBottomRows())==null?void 0:t.map(s=>{let{id:i}=s;return i});return(r=a==null?void 0:a.indexOf(e.id))!=null?r:-1}},createTable:e=>{e.setRowPinning=n=>e.options.onRowPinningChange==null?void 0:e.options.onRowPinningChange(n),e.resetRowPinning=n=>{var t,r;return e.setRowPinning(n?Qi():(t=(r=e.initialState)==null?void 0:r.rowPinning)!=null?t:Qi())},e.getIsSomeRowsPinned=n=>{var t;const r=e.getState().rowPinning;if(!n){var o,a;return!!((o=r.top)!=null&&o.length||(a=r.bottom)!=null&&a.length)}return!!((t=r[n])!=null&&t.length)},e._getPinnedRows=(n,t,r)=>{var o;return((o=e.options.keepPinnedRows)==null||o?(t??[]).map(s=>{const i=e.getRow(s,!0);return i.getIsAllParentsExpanded()?i:null}):(t??[]).map(s=>n.find(i=>i.id===s))).filter(Boolean).map(s=>({...s,position:r}))},e.getTopRows=me(()=>[e.getRowModel().rows,e.getState().rowPinning.top],(n,t)=>e._getPinnedRows(n,t,"top"),ve(e.options,"debugRows","getTopRows")),e.getBottomRows=me(()=>[e.getRowModel().rows,e.getState().rowPinning.bottom],(n,t)=>e._getPinnedRows(n,t,"bottom"),ve(e.options,"debugRows","getBottomRows")),e.getCenterRows=me(()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom],(n,t,r)=>{const o=new Set([...t??[],...r??[]]);return n.filter(a=>!o.has(a.id))},ve(e.options,"debugRows","getCenterRows"))}},Sy={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:Et("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=n=>e.options.onRowSelectionChange==null?void 0:e.options.onRowSelectionChange(n),e.resetRowSelection=n=>{var t;return e.setRowSelection(n?{}:(t=e.initialState.rowSelection)!=null?t:{})},e.toggleAllRowsSelected=n=>{e.setRowSelection(t=>{n=typeof n<"u"?n:!e.getIsAllRowsSelected();const r={...t},o=e.getPreGroupedRowModel().flatRows;return n?o.forEach(a=>{a.getCanSelect()&&(r[a.id]=!0)}):o.forEach(a=>{delete r[a.id]}),r})},e.toggleAllPageRowsSelected=n=>e.setRowSelection(t=>{const r=typeof n<"u"?n:!e.getIsAllPageRowsSelected(),o={...t};return e.getRowModel().rows.forEach(a=>{Ji(o,a.id,r,!0,e)}),o}),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=me(()=>[e.getState().rowSelection,e.getCoreRowModel()],(n,t)=>Object.keys(n).length?el(e,t):{rows:[],flatRows:[],rowsById:{}},ve(e.options,"debugTable","getSelectedRowModel")),e.getFilteredSelectedRowModel=me(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(n,t)=>Object.keys(n).length?el(e,t):{rows:[],flatRows:[],rowsById:{}},ve(e.options,"debugTable","getFilteredSelectedRowModel")),e.getGroupedSelectedRowModel=me(()=>[e.getState().rowSelection,e.getSortedRowModel()],(n,t)=>Object.keys(n).length?el(e,t):{rows:[],flatRows:[],rowsById:{}},ve(e.options,"debugTable","getGroupedSelectedRowModel")),e.getIsAllRowsSelected=()=>{const n=e.getFilteredRowModel().flatRows,{rowSelection:t}=e.getState();let r=!!(n.length&&Object.keys(t).length);return r&&n.some(o=>o.getCanSelect()&&!t[o.id])&&(r=!1),r},e.getIsAllPageRowsSelected=()=>{const n=e.getPaginationRowModel().flatRows.filter(o=>o.getCanSelect()),{rowSelection:t}=e.getState();let r=!!n.length;return r&&n.some(o=>!t[o.id])&&(r=!1),r},e.getIsSomeRowsSelected=()=>{var n;const t=Object.keys((n=e.getState().rowSelection)!=null?n:{}).length;return t>0&&t<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{const n=e.getPaginationRowModel().flatRows;return e.getIsAllPageRowsSelected()?!1:n.filter(t=>t.getCanSelect()).some(t=>t.getIsSelected()||t.getIsSomeSelected())},e.getToggleAllRowsSelectedHandler=()=>n=>{e.toggleAllRowsSelected(n.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>n=>{e.toggleAllPageRowsSelected(n.target.checked)}},createRow:(e,n)=>{e.toggleSelected=(t,r)=>{const o=e.getIsSelected();n.setRowSelection(a=>{var s;if(t=typeof t<"u"?t:!o,e.getCanSelect()&&o===t)return a;const i={...a};return Ji(i,e.id,t,(s=r==null?void 0:r.selectChildren)!=null?s:!0,n),i})},e.getIsSelected=()=>{const{rowSelection:t}=n.getState();return tl(e,t)},e.getIsSomeSelected=()=>{const{rowSelection:t}=n.getState();return nl(e,t)==="some"},e.getIsAllSubRowsSelected=()=>{const{rowSelection:t}=n.getState();return nl(e,t)==="all"},e.getCanSelect=()=>{var t;return typeof n.options.enableRowSelection=="function"?n.options.enableRowSelection(e):(t=n.options.enableRowSelection)!=null?t:!0},e.getCanSelectSubRows=()=>{var t;return typeof n.options.enableSubRowSelection=="function"?n.options.enableSubRowSelection(e):(t=n.options.enableSubRowSelection)!=null?t:!0},e.getCanMultiSelect=()=>{var t;return typeof n.options.enableMultiRowSelection=="function"?n.options.enableMultiRowSelection(e):(t=n.options.enableMultiRowSelection)!=null?t:!0},e.getToggleSelectedHandler=()=>{const t=e.getCanSelect();return r=>{var o;t&&e.toggleSelected((o=r.target)==null?void 0:o.checked)}}}},Ji=(e,n,t,r,o)=>{var a;const s=o.getRow(n,!0);t?(s.getCanMultiSelect()||Object.keys(e).forEach(i=>delete e[i]),s.getCanSelect()&&(e[n]=!0)):delete e[n],r&&(a=s.subRows)!=null&&a.length&&s.getCanSelectSubRows()&&s.subRows.forEach(i=>Ji(e,i.id,t,r,o))};function el(e,n){const t=e.getState().rowSelection,r=[],o={},a=function(s,i){return s.map(l=>{var d;const f=tl(l,t);if(f&&(r.push(l),o[l.id]=l),(d=l.subRows)!=null&&d.length&&(l={...l,subRows:a(l.subRows)}),f)return l}).filter(Boolean)};return{rows:a(n.rows),flatRows:r,rowsById:o}}function tl(e,n){var t;return(t=n[e.id])!=null?t:!1}function nl(e,n,t){var r;if(!((r=e.subRows)!=null&&r.length))return!1;let o=!0,a=!1;return e.subRows.forEach(s=>{if(!(a&&!o)&&(s.getCanSelect()&&(tl(s,n)?a=!0:o=!1),s.subRows&&s.subRows.length)){const i=nl(s,n);i==="all"?a=!0:(i==="some"&&(a=!0),o=!1)}}),o?"all":a?"some":!1}const rl=/([0-9]+)/gm,My=(e,n,t)=>y0(Hn(e.getValue(t)).toLowerCase(),Hn(n.getValue(t)).toLowerCase()),Ey=(e,n,t)=>y0(Hn(e.getValue(t)),Hn(n.getValue(t))),Ly=(e,n,t)=>ol(Hn(e.getValue(t)).toLowerCase(),Hn(n.getValue(t)).toLowerCase()),Ny=(e,n,t)=>ol(Hn(e.getValue(t)),Hn(n.getValue(t))),ky=(e,n,t)=>{const r=e.getValue(t),o=n.getValue(t);return r>o?1:r<o?-1:0},Py=(e,n,t)=>ol(e.getValue(t),n.getValue(t));function ol(e,n){return e===n?0:e>n?1:-1}function Hn(e){return typeof e=="number"?isNaN(e)||e===1/0||e===-1/0?"":String(e):typeof e=="string"?e:""}function y0(e,n){const t=e.split(rl).filter(Boolean),r=n.split(rl).filter(Boolean);for(;t.length&&r.length;){const o=t.shift(),a=r.shift(),s=parseInt(o,10),i=parseInt(a,10),l=[s,i].sort();if(isNaN(l[0])){if(o>a)return 1;if(a>o)return-1;continue}if(isNaN(l[1]))return isNaN(s)?-1:1;if(s>i)return 1;if(i>s)return-1}return t.length-r.length}const ko={alphanumeric:My,alphanumericCaseSensitive:Ey,text:Ly,textCaseSensitive:Ny,datetime:ky,basic:Py},Iy=[sy,my,fy,hy,ly,cy,vy,wy,{getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:Et("sorting",e),isMultiSortEvent:n=>n.shiftKey}),createColumn:(e,n)=>{e.getAutoSortingFn=()=>{const t=n.getFilteredRowModel().flatRows.slice(10);let r=!1;for(const o of t){const a=o==null?void 0:o.getValue(e.id);if(Object.prototype.toString.call(a)==="[object Date]")return ko.datetime;if(typeof a=="string"&&(r=!0,a.split(rl).length>1))return ko.alphanumeric}return r?ko.text:ko.basic},e.getAutoSortDir=()=>{const t=n.getFilteredRowModel().flatRows[0];return typeof(t==null?void 0:t.getValue(e.id))=="string"?"asc":"desc"},e.getSortingFn=()=>{var t,r;if(!e)throw new Error;return va(e.columnDef.sortingFn)?e.columnDef.sortingFn:e.columnDef.sortingFn==="auto"?e.getAutoSortingFn():(t=(r=n.options.sortingFns)==null?void 0:r[e.columnDef.sortingFn])!=null?t:ko[e.columnDef.sortingFn]},e.toggleSorting=(t,r)=>{const o=e.getNextSortingOrder(),a=typeof t<"u"&&t!==null;n.setSorting(s=>{const i=s==null?void 0:s.find(C=>C.id===e.id),l=s==null?void 0:s.findIndex(C=>C.id===e.id);let d=[],f,h=a?t:o==="desc";if(s!=null&&s.length&&e.getCanMultiSort()&&r?i?f="toggle":f="add":s!=null&&s.length&&l!==s.length-1?f="replace":i?f="toggle":f="replace",f==="toggle"&&(a||o||(f="remove")),f==="add"){var g;d=[...s,{id:e.id,desc:h}],d.splice(0,d.length-((g=n.options.maxMultiSortColCount)!=null?g:Number.MAX_SAFE_INTEGER))}else f==="toggle"?d=s.map(C=>C.id===e.id?{...C,desc:h}:C):f==="remove"?d=s.filter(C=>C.id!==e.id):d=[{id:e.id,desc:h}];return d})},e.getFirstSortDir=()=>{var t,r;return((t=(r=e.columnDef.sortDescFirst)!=null?r:n.options.sortDescFirst)!=null?t:e.getAutoSortDir()==="desc")?"desc":"asc"},e.getNextSortingOrder=t=>{var r,o;const a=e.getFirstSortDir(),s=e.getIsSorted();return s?s!==a&&((r=n.options.enableSortingRemoval)==null||r)&&(!(t&&(o=n.options.enableMultiRemove)!=null)||o)?!1:s==="desc"?"asc":"desc":a},e.getCanSort=()=>{var t,r;return((t=e.columnDef.enableSorting)!=null?t:!0)&&((r=n.options.enableSorting)!=null?r:!0)&&!!e.accessorFn},e.getCanMultiSort=()=>{var t,r;return(t=(r=e.columnDef.enableMultiSort)!=null?r:n.options.enableMultiSort)!=null?t:!!e.accessorFn},e.getIsSorted=()=>{var t;const r=(t=n.getState().sorting)==null?void 0:t.find(o=>o.id===e.id);return r?r.desc?"desc":"asc":!1},e.getSortIndex=()=>{var t,r;return(t=(r=n.getState().sorting)==null?void 0:r.findIndex(o=>o.id===e.id))!=null?t:-1},e.clearSorting=()=>{n.setSorting(t=>t!=null&&t.length?t.filter(r=>r.id!==e.id):[])},e.getToggleSortingHandler=()=>{const t=e.getCanSort();return r=>{t&&(r.persist==null||r.persist(),e.toggleSorting==null||e.toggleSorting(void 0,e.getCanMultiSort()?n.options.isMultiSortEvent==null?void 0:n.options.isMultiSortEvent(r):!1))}}},createTable:e=>{e.setSorting=n=>e.options.onSortingChange==null?void 0:e.options.onSortingChange(n),e.resetSorting=n=>{var t,r;e.setSorting(n?[]:(t=(r=e.initialState)==null?void 0:r.sorting)!=null?t:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},uy,yy,by,xy,Sy,py];function Oy(e){var n,t;process.env.NODE_ENV!=="production"&&(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...");const r=[...Iy,...(n=e._features)!=null?n:[]];let o={_features:r};const a=o._features.reduce((g,C)=>Object.assign(g,C.getDefaultOptions==null?void 0:C.getDefaultOptions(o)),{}),s=g=>o.options.mergeOptions?o.options.mergeOptions(a,g):{...a,...g};let l={...{},...(t=e.initialState)!=null?t:{}};o._features.forEach(g=>{var C;l=(C=g.getInitialState==null?void 0:g.getInitialState(l))!=null?C:l});const d=[];let f=!1;const h={_features:r,options:{...a,...e},initialState:l,_queue:g=>{d.push(g),f||(f=!0,Promise.resolve().then(()=>{for(;d.length;)d.shift()();f=!1}).catch(C=>setTimeout(()=>{throw C})))},reset:()=>{o.setState(o.initialState)},setOptions:g=>{const C=Vn(g,o.options);o.options=s(C)},getState:()=>o.options.state,setState:g=>{o.options.onStateChange==null||o.options.onStateChange(g)},_getRowId:(g,C,v)=>{var p;return(p=o.options.getRowId==null?void 0:o.options.getRowId(g,C,v))!=null?p:`${v?[v.id,C].join("."):C}`},getCoreRowModel:()=>(o._getCoreRowModel||(o._getCoreRowModel=o.options.getCoreRowModel(o)),o._getCoreRowModel()),getRowModel:()=>o.getPaginationRowModel(),getRow:(g,C)=>{let v=(C?o.getPrePaginationRowModel():o.getRowModel()).rowsById[g];if(!v&&(v=o.getCoreRowModel().rowsById[g],!v))throw process.env.NODE_ENV!=="production"?new Error(`getRow could not find row with ID: ${g}`):new Error;return v},_getDefaultColumnDef:me(()=>[o.options.defaultColumn],g=>{var C;return g=(C=g)!=null?C:{},{header:v=>{const p=v.header.column.columnDef;return p.accessorKey?p.accessorKey:p.accessorFn?p.id:null},cell:v=>{var p,m;return(p=(m=v.renderValue())==null||m.toString==null?void 0:m.toString())!=null?p:null},...o._features.reduce((v,p)=>Object.assign(v,p.getDefaultColumnDef==null?void 0:p.getDefaultColumnDef()),{}),...g}},ve(e,"debugColumns","_getDefaultColumnDef")),_getColumnDefs:()=>o.options.columns,getAllColumns:me(()=>[o._getColumnDefs()],g=>{const C=function(v,p,m){return m===void 0&&(m=0),v.map(w=>{const y=ay(o,w,m,p),b=w;return y.columns=b.columns?C(b.columns,y,m+1):[],y})};return C(g)},ve(e,"debugColumns","getAllColumns")),getAllFlatColumns:me(()=>[o.getAllColumns()],g=>g.flatMap(C=>C.getFlatColumns()),ve(e,"debugColumns","getAllFlatColumns")),_getAllFlatColumnsById:me(()=>[o.getAllFlatColumns()],g=>g.reduce((C,v)=>(C[v.id]=v,C),{}),ve(e,"debugColumns","getAllFlatColumnsById")),getAllLeafColumns:me(()=>[o.getAllColumns(),o._getOrderColumnsFn()],(g,C)=>{let v=g.flatMap(p=>p.getLeafColumns());return C(v)},ve(e,"debugColumns","getAllLeafColumns")),getColumn:g=>{const C=o._getAllFlatColumnsById()[g];return process.env.NODE_ENV!=="production"&&!C&&console.error(`[Table] Column with id '${g}' does not exist.`),C}};Object.assign(o,h);for(let g=0;g<o._features.length;g++){const C=o._features[g];C==null||C.createTable==null||C.createTable(o)}return o}function Ty(){return e=>me(()=>[e.options.data],n=>{const t={rows:[],flatRows:[],rowsById:{}},r=function(o,a,s){a===void 0&&(a=0);const i=[];for(let d=0;d<o.length;d++){const f=iy(e,e._getRowId(o[d],d,s),o[d],d,a,void 0,s==null?void 0:s.id);if(t.flatRows.push(f),t.rowsById[f.id]=f,i.push(f),e.options.getSubRows){var l;f.originalSubRows=e.options.getSubRows(o[d],d),(l=f.originalSubRows)!=null&&l.length&&(f.subRows=r(f.originalSubRows,a+1,f))}}return i};return t.rows=r(n),t},ve(e.options,"debugTable","getRowModel",()=>e._autoResetPageIndex()))}function Dy(){return e=>me(()=>[e.getState().expanded,e.getPreExpandedRowModel(),e.options.paginateExpandedRows],(n,t,r)=>!t.rows.length||n!==!0&&!Object.keys(n??{}).length||!r?t:_y(t),ve(e.options,"debugTable","getExpandedRowModel"))}function _y(e){const n=[],t=r=>{var o;n.push(r),(o=r.subRows)!=null&&o.length&&r.getIsExpanded()&&r.subRows.forEach(t)};return e.rows.forEach(t),{rows:n,flatRows:e.flatRows,rowsById:e.rowsById}}/**
118
+ * react-table
119
+ *
120
+ * Copyright (c) TanStack
121
+ *
122
+ * This source code is licensed under the MIT license found in the
123
+ * LICENSE.md file in the root directory of this source tree.
124
+ *
125
+ * @license MIT
126
+ */function b0(e,n){return e?Vy(e)?c.createElement(e,n):e:null}function Vy(e){return Hy(e)||typeof e=="function"||Ay(e)}function Hy(e){return typeof e=="function"&&(()=>{const n=Object.getPrototypeOf(e);return n.prototype&&n.prototype.isReactComponent})()}function Ay(e){return typeof e=="object"&&typeof e.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}function Fy(e){const n={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[t]=c.useState(()=>({current:Oy(n)})),[r,o]=c.useState(()=>t.current.initialState);return t.current.setOptions(a=>({...a,...e,state:{...r,...e.state},onStateChange:s=>{o(s),e.onStateChange==null||e.onStateChange(s)}})),t.current}const x0="data-table-column-sizing:";function S0(e,n={}){const t=()=>{if(!e)return n;try{const s=localStorage.getItem(x0+e);return s?JSON.parse(s):n}catch{return n}},[r,o]=k.useState(()=>t());return{columnSizing:r,onColumnSizingChange:s=>{o(i=>{const l=typeof s=="function"?s(i):s;if(e)try{localStorage.setItem(x0+e,JSON.stringify(l))}catch{}return l})}}}const Po=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M15.7049 7.41L14.2949 6L8.29492 12L14.2949 18L15.7049 16.59L11.1249 12L15.7049 7.41Z",fill:"currentColor"})),al=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M6.29104 8.11L10.181 12L6.29104 15.89C5.90104 16.28 5.90104 16.91 6.29104 17.3C6.68104 17.69 7.31104 17.69 7.70104 17.3L12.291 12.71C12.681 12.32 12.681 11.69 12.291 11.3L7.70104 6.7C7.31104 6.31 6.68104 6.31 6.29104 6.7C5.91104 7.09 5.91104 7.73 6.29104 8.11ZM17.001 6C17.551 6 18.001 6.45 18.001 7V17C18.001 17.55 17.551 18 17.001 18C16.451 18 16.001 17.55 16.001 17V7C16.001 6.45 16.451 6 17.001 6Z",fill:"currentColor"})),M0=[10,20,30,40,50];function xa({active:e,children:n,onClick:t}){return u.jsx(_e,{variant:"fade-contrast-transparent",className:P("h-6 w-6 p-0 lg:flex rounded-full",{"bg-background-theme-fade":e}),disabled:e,onClick:t,children:n})}function E0({horizontalPadding:e,className:n,pageSize:t,pageCount:r=0,pageIndex:o=0,canPreviousPage:a,canNextPage:s,selectedCount:i,totalCount:l,compact:d,hideDisplayBy:f,pageSizeOptions:h,previousPage:g,nextPage:C,setPageSize:v,setPageIndex:p}){const{t:m}=ot(),w=h??M0,b=(t!=null&&!w.includes(t)?[...w,t].sort((V,$)=>V-$):w).map(V=>({value:String(V),label:`${m("displayBy")} ${V}`})),S=()=>{switch(e){case"small":return"px-6";case"large":return"px-10";case"medium":default:return"px-8"}},E=r<=3?o===0:o<r-3,M=()=>r<=3?1:o<r-3?o+1:r-3,L=()=>{if(r<=3)return p==null?void 0:p(0);p==null||p(o<r-3?o:r-4)},I=r<=3?o===1:o===r-3,O=()=>r<=3?2:o<r-3?o+2:r-2,_=()=>{if(r<=3)return p==null?void 0:p(1);p==null||p(o<r-3?o+1:r-3)};return u.jsxs("div",{className:P("mt-auto sticky bottom-0 bg-background flex items-center justify-between min-h-[52px] h-[52px] rounded-bl-3xl rounded-br-3xl border-t border-line-primary",S(),n),children:[!f&&u.jsxs("div",{className:"flex items-center space-x-2",children:[u.jsx(yo,{options:b,triggerClassName:"h-8 text-sm text-foreground-secondary border-none hover:bg-[transparent] px-0",placeholder:`${m("displayBy")} ${t}`,value:`${t}`,onValueChange:V=>v==null?void 0:v(Number(V))}),!!i&&u.jsx("div",{className:"flex-1 text-sm text-foreground-secondary",children:`${m("selected")} ${i} ${m("of")} ${l}`})]}),u.jsx("div",{className:"flex items-center space-x-6 lg:space-x-8",children:u.jsxs("div",{className:"flex items-center text-foreground-secondary",children:[!d&&u.jsxs(_e,{variant:"fade-contrast-transparent",className:"h-6 w-6 p-0 lg:flex rounded-full",onClick:()=>p==null?void 0:p(0),disabled:!a,children:[u.jsx("span",{className:"sr-only",children:"Go to first page"}),u.jsx(al,{className:"h-6 w-6 rotate-180"})]}),u.jsxs(_e,{variant:"fade-contrast-transparent",className:"h-6 w-6 p-0 rounded-full",onClick:()=>g&&g(),disabled:!a,children:[u.jsx("span",{className:"sr-only",children:"Go to previous page"}),u.jsx(Po,{className:"h-6 w-6"})]}),u.jsx(xa,{active:E,onClick:L,children:M()}),r>1&&u.jsx(xa,{active:I,onClick:_,children:O()}),r>2&&u.jsxs(u.Fragment,{children:[r>3&&u.jsx("span",{className:"cursor-default",children:"..."}),r>3&&u.jsx(xa,{active:o===r-2,onClick:()=>p==null?void 0:p(r-2),children:r-1}),u.jsx(xa,{active:o===r-1,onClick:()=>p==null?void 0:p(r-1),children:r})]}),u.jsxs(_e,{variant:"fade-contrast-transparent",className:"h-6 w-6 p-0 rounded-full",onClick:()=>C&&C(),disabled:!s,children:[u.jsx("span",{className:"sr-only",children:"Go to next page"}),u.jsx(Kn,{className:"h-6 w-6"})]}),!d&&u.jsxs(_e,{variant:"fade-contrast-transparent",className:"hidden h-6 w-6 p-0 lg:flex rounded-full",onClick:()=>p==null?void 0:p(r-1),disabled:!s,children:[u.jsx("span",{className:"sr-only",children:"Go to last page"}),u.jsx(al,{className:"h-6 w-6"})]})]})})]})}function L0({className:e,...n}){return u.jsx("div",{className:P("animate-pulse rounded-md bg-background-contrast-fade/50",e),...n})}L0.displayName="Skeleton";var $y="Separator",N0="horizontal",zy=["horizontal","vertical"],k0=c.forwardRef((e,n)=>{const{decorative:t,orientation:r=N0,...o}=e,a=Zy(r)?r:N0,i=t?{role:"none"}:{"aria-orientation":a==="vertical"?a:void 0,role:"separator"};return u.jsx(ie.div,{"data-orientation":a,...i,...o,ref:n})});k0.displayName=$y;function Zy(e){return zy.includes(e)}var By=k0;const Hr=c.forwardRef(({className:e,orientation:n="horizontal",decorative:t=!0,intent:r="default",...o},a)=>u.jsx(By,{ref:a,decorative:t,orientation:n,className:P("shrink-0",r==="sidebar"?"bg-line-sidebar":"bg-line-primary",n==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...o}));Hr.displayName="Separator";const P0=c.createContext({striped:!0}),sl=c.forwardRef(({className:e,rootClassName:n,striped:t=!0,children:r,...o},a)=>u.jsx(P0.Provider,{value:{striped:t},children:u.jsx("div",{className:P("relative w-full h-full flex items-start overflow-auto",n),children:u.jsx("table",{ref:a,className:P("w-full caption-bottom text-sm",e),...o,children:r})})}));sl.displayName="Table";const il=c.forwardRef(({className:e,sticky:n,children:t,...r},o)=>u.jsxs("thead",{ref:o,className:P("bg-background [&_tr]:border-b",n?"relative print:static z-30 [&_tr]:border-none [&_th]:sticky [&_th]:-top-px [&_th]:z-30 [&_th]:border-t [&_th]:border-background [&_th]:bg-background":"",e,n?"border-none [&_tr]:border-none":""),...r,children:[n&&(e==null?void 0:e.includes("border-t"))&&u.jsx(Hr,{className:"absolute w-full"}),t,n&&u.jsx(Hr,{className:"absolute w-full"}),n&&u.jsx(Hr,{className:"bg-[transparent]"})]}));il.displayName="TableHeader";const ll=c.forwardRef(({className:e,...n},t)=>u.jsx("tbody",{ref:t,className:P("[&_tr:last-child]:border-0",e),...n}));ll.displayName="TableBody";const I0=c.forwardRef(({className:e,...n},t)=>u.jsx("tfoot",{ref:t,className:P("border-t bg-background font-medium [&>tr]:last:border-b-0",e),...n}));I0.displayName="TableFooter";const er=c.forwardRef(({className:e,dataIndex:n,variant:t="table",isHeader:r=!1,...o},a)=>{const{striped:s}=c.useContext(P0);return u.jsx("tr",{ref:a,"data-index":n,className:P(t==="list"?"border-b border-line-primary data-[state=selected]:bg-background-primary-selected":"transition-colors data-[state=selected]:bg-background-primary-selected",!r&&t==="table"?"hover:bg-background-primary-hover":"",s&&!r&&"even:bg-background-tertiary",e),...o})});er.displayName="TableRow";const cl=c.forwardRef(({className:e,variant:n="table",...t},r)=>u.jsx("th",{ref:r,className:P("min-h-9 text-left font-medium text-foreground-primary [&:has([role=checkbox])]:pr-0","align-middle",n==="list"?"py-2 first:pl-0 last:pr-0 [&:not(:first-child)]:pl-2":"p-2 border-r border-line-primary last:border-r-0",e),...t}));cl.displayName="TableHead";const Io=c.forwardRef(({className:e,variant:n="table",...t},r)=>u.jsx("td",{ref:r,className:P("align-top text-foreground-primary","[&:has([role=checkbox])]:pr-0",n==="list"?"py-2 first:pl-0 last:pr-0 [&:not(:first-child)]:pl-2":"p-2 border-r border-line-primary last:border-r-0",e),...t}));Io.displayName="TableCell";const O0=c.forwardRef(({className:e,...n},t)=>u.jsx("caption",{ref:t,className:P("mt-4 text-sm text-muted-foreground",e),...n}));O0.displayName="TableCaption";const T0=16,Wy=({header:e,onAutoSize:n,className:t})=>{if(!e.column.getCanResize())return null;const r=e.column.columnDef.minSize??20,o=e.column.columnDef.maxSize??Number.MAX_SAFE_INTEGER,a=d=>{d.stopPropagation(),e.getResizeHandler()(d)},s=d=>{e.getContext().table.setColumnSizing(f=>({...f,[e.column.id]:Math.min(o,Math.max(r,d))}))},i=()=>n(e.column.id,r,o),l=d=>{d.key==="Enter"?(d.preventDefault(),i()):(d.key==="ArrowLeft"||d.key==="ArrowRight")&&(d.preventDefault(),s(e.column.getSize()+(d.key==="ArrowLeft"?-T0:T0)))};return u.jsx("div",{role:"separator","aria-orientation":"vertical","aria-valuemin":r,"aria-valuemax":o,"aria-valuenow":e.column.getSize(),tabIndex:0,onClick:d=>d.stopPropagation(),onDoubleClick:d=>{d.stopPropagation(),i()},onKeyDown:l,onMouseDown:a,onTouchStart:a,className:P("absolute right-0 top-0 h-full w-1 cursor-col-resize select-none touch-none","opacity-0 hover:opacity-100 focus-visible:opacity-100 bg-foreground-theme transition-opacity",e.column.getIsResizing()&&"opacity-100 bg-foreground-theme",t),style:{transform:"translateX(50%)"}})};function Gy({columns:e,data:n,horizontalPadding:t="medium",rowCount:r,noResultsText:o="No results.",enableRowSelection:a=!1,enableMultiRowSelection:s=!1,selection:i={},pagination:l,sorting:d,expanded:f,manualSorting:h=!0,paginationProps:g,className:C,additionalSlot:v,selectedRowClassName:p,onSortingChange:m,getRowId:w,onPaginationChange:y,onRowSelectionChange:b,onRowClick:S,onExpandedChange:E,loading:M,skeletonClassName:L="h-5",isStickyHeader:I,headerClassName:O,columnVisibility:_,onColumnVisibilityChange:V,columnFilters:$,onColumnFiltersChange:j,rowHoverContent:F,hideHeader:R=!1,variant:Z="table",striped:K=!0,columnSizingStorageKey:q,enableMultiSort:G=!1,maxMultiSortColumns:oe}){var ae;const U=k.useRef(null),D=k.useRef(null),[T,N]=k.useState(null),{columnSizing:H,onColumnSizingChange:W}=S0(q),A=Fy({getRowId:w,data:n,columns:e,getCoreRowModel:Ty(),getExpandedRowModel:Dy(),manualPagination:!0,rowCount:r,state:{pagination:l,rowSelection:i,sorting:d,expanded:f,columnVisibility:_,columnFilters:$,...q!==void 0?{columnSizing:H}:{}},manualSorting:h,enableMultiSort:G,enableRowSelection:a,enableMultiRowSelection:s,enableColumnResizing:q!==void 0,columnResizeMode:"onChange",onPaginationChange:y,onRowSelectionChange:b,onSortingChange:m,onExpandedChange:E,onColumnVisibilityChange:V,onColumnFiltersChange:j,...q!==void 0?{onColumnSizingChange:W}:{},...G&&oe?{maxMultiSortColCount:oe}:{},getSubRows:ne=>ne.subRows}),Y=!!l,X=()=>{if(Z==="list")return"first:pl-0 last:pr-0";switch(t){case"small":return"first:pl-4 last:pr-4";case"large":return"first:pl-8 last:pr-8";case"medium":default:return"first:pl-6 last:pr-6"}},J=(ne,se)=>{if(!F||!U.current)return;const de=ne.currentTarget.getBoundingClientRect(),pe=U.current.getBoundingClientRect();U.current.style.setProperty("--hover-top",`${de.top-pe.top}px`),U.current.style.setProperty("--hover-height",`${de.height}px`),U.current.style.setProperty("--hover-visible","1"),N(se)},te=()=>{!F||!U.current||U.current.style.setProperty("--hover-visible","0")},B=(ne,se,ge)=>{const de=D.current;if(!de)return;const pe=Array.from(de.querySelectorAll("[data-column-id]")).filter(Ie=>Ie.dataset.columnId===ne);if(!pe.length)return;const Le=de.style.width,Fe=pe.map(Ie=>({cell:Ie,minWidth:Ie.style.minWidth,width:Ie.style.width}));de.style.width="max-content",Fe.forEach(({cell:Ie})=>{Ie.style.minWidth="0",Ie.style.width="auto"});const Ae=Math.ceil(Math.max(...pe.map(Ie=>Ie.getBoundingClientRect().width)));de.style.width=Le,Fe.forEach(({cell:Ie,minWidth:Q,width:le})=>{Ie.style.minWidth=Q,Ie.style.width=le}),A.setColumnSizing(Ie=>({...Ie,[ne]:Math.min(ge,Math.max(se,Ae))}))};return u.jsxs("div",{ref:U,onMouseLeave:te,className:P("relative flex flex-1 flex-col h-full",C),children:[u.jsxs(sl,{ref:D,striped:K,rootClassName:I?"isolate":void 0,className:P("border-t border-line-primary",I&&"border-separate border-spacing-0",!Y&&"border-b border-line-primary"),children:[!R&&u.jsx(il,{className:P("bg-background-secondary",I&&"relative z-20",O),children:A.getHeaderGroups().map(ne=>u.jsx(er,{className:P("border-line-primary",I&&"bg-background-secondary"),variant:Z,isHeader:!0,children:ne.headers.map(se=>{var pe;const ge=((pe=se.column.columnDef.meta)==null?void 0:pe.hideRightBorder)??!1,de=q!==void 0&&se.column.getCanResize();return u.jsxs(cl,{"data-column-id":se.column.id,colSpan:se.colSpan,style:{minWidth:se.getSize(),width:se.getSize()},className:P(I?"sticky -top-px z-30 border-t border-background-secondary bg-background-secondary":"relative",Z==="list"?"":X(),ge&&Z==="table"&&"border-r-0"),variant:Z,children:[se.isPlaceholder?null:b0(se.column.columnDef.header,se.getContext()),de&&u.jsx(Wy,{header:se,onAutoSize:B})]},se.id)})},ne.id))}),u.jsxs(ll,{children:[M?A.getHeaderGroups().map(ne=>Array.from({length:5}).map((se,ge)=>u.jsx(er,{variant:Z,children:ne.headers.map(de=>{var Le;const pe=((Le=de.column.columnDef.meta)==null?void 0:Le.hideRightBorder)??!1;return u.jsx(Io,{"data-column-id":de.column.id,colSpan:de.colSpan,style:{minWidth:de.column.getSize(),width:de.column.getSize()},className:P(Z==="list"?"":X(),pe&&Z==="table"&&"border-r-0"),variant:Z,children:u.jsx(L0,{className:P("w-full",L)})},de.id)})},ge))):null,M?null:(ae=A.getRowModel().rows)!=null&&ae.length?A.getRowModel().rows.map(ne=>u.jsxs(k.Fragment,{children:[u.jsx(er,{"data-state":ne.getIsSelected()&&!p&&"selected",className:P(ne.getIsSelected()?p:""),onClick:()=>S==null?void 0:S(ne.original),onMouseEnter:se=>J(se,ne.original),variant:Z,children:ne.getVisibleCells().map(se=>{var de;const ge=((de=se.column.columnDef.meta)==null?void 0:de.hideRightBorder)??!1;return u.jsx(Io,{"data-column-id":se.column.id,style:{minWidth:se.column.getSize(),width:se.column.getSize()},className:P(Z==="list"?"":X(),ge&&Z==="table"&&"border-r-0"),variant:Z,children:b0(se.column.columnDef.cell,se.getContext())},se.id)})},ne.id),ne.getIsExpanded()&&u.jsx(er,{variant:Z,children:u.jsx("td",{colSpan:ne.getVisibleCells().length,children:ne.original.customExpandedContent})},`${ne.id}-expanded`)]},ne.id)):u.jsx(er,{variant:Z,children:u.jsx(Io,{colSpan:e.length,className:P("h-24 text-center",Z==="list"?"":X()),variant:Z,children:o})})]})]}),F&&T&&u.jsx("div",{className:"absolute bottom-0 left-0 right-0 z-20 pointer-events-none transition-opacity duration-200",style:{top:"var(--hover-top)",height:"var(--hover-height)",opacity:"var(--hover-visible)"},children:u.jsx("div",{className:P("h-full flex items-center justify-end pointer-events-none",X()),children:u.jsx("div",{className:"pointer-events-auto",children:F(T)})})}),v,Y&&u.jsx(D0,{paginationProps:g,table:A,horizontalPadding:t,variant:Z})]})}function Ry({width:e,children:n}){return u.jsx("div",{className:"truncate",style:{width:e},title:n,children:n})}function D0({table:e,horizontalPadding:n="medium",paginationProps:t,variant:r="table"}){const o=r==="list"?"bg-background-secondary rounded-none mt-4 border-none":"";return u.jsx(E0,{...t,horizontalPadding:n,className:P(t==null?void 0:t.className,o),pageSize:e.getState().pagination.pageSize,pageCount:e.getPageCount(),pageIndex:e.getState().pagination.pageIndex,canPreviousPage:e.getCanPreviousPage(),canNextPage:e.getCanNextPage(),selectedCount:e.getFilteredSelectedRowModel().rows.length,totalCount:e.getFilteredRowModel().rows.length,previousPage:e.previousPage,nextPage:e.nextPage,setPageSize:e.setPageSize,setPageIndex:e.setPageIndex})}function at(e){const n=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&n==="[object Date]"?new e.constructor(+e):typeof e=="number"||n==="[object Number]"||typeof e=="string"||n==="[object String]"?new Date(e):new Date(NaN)}function Ue(e,n){return e instanceof Date?new e.constructor(n):new Date(n)}function _0(e,n){const t=at(e);return isNaN(n)?Ue(e,NaN):(n&&t.setDate(t.getDate()+n),t)}const V0=6048e5,jy=864e5,Yy=6e4,qy=36e5,Uy=1e3;let Xy={};function Ar(){return Xy}function Ut(e,n){var i,l,d,f;const t=Ar(),r=(n==null?void 0:n.weekStartsOn)??((l=(i=n==null?void 0:n.locale)==null?void 0:i.options)==null?void 0:l.weekStartsOn)??t.weekStartsOn??((f=(d=t.locale)==null?void 0:d.options)==null?void 0:f.weekStartsOn)??0,o=at(e),a=o.getDay(),s=(a<r?7:0)+a-r;return o.setDate(o.getDate()-s),o.setHours(0,0,0,0),o}function Fr(e){return Ut(e,{weekStartsOn:1})}function H0(e){const n=at(e),t=n.getFullYear(),r=Ue(e,0);r.setFullYear(t+1,0,4),r.setHours(0,0,0,0);const o=Fr(r),a=Ue(e,0);a.setFullYear(t,0,4),a.setHours(0,0,0,0);const s=Fr(a);return n.getTime()>=o.getTime()?t+1:n.getTime()>=s.getTime()?t:t-1}function A0(e){const n=at(e);return n.setHours(0,0,0,0),n}function Sa(e){const n=at(e),t=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()));return t.setUTCFullYear(n.getFullYear()),+e-+t}function Ky(e,n){const t=A0(e),r=A0(n),o=+t-Sa(t),a=+r-Sa(r);return Math.round((o-a)/jy)}function Qy(e){const n=H0(e),t=Ue(e,0);return t.setFullYear(n,0,4),t.setHours(0,0,0,0),Fr(t)}function Jy(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function F0(e){if(!Jy(e)&&typeof e!="number")return!1;const n=at(e);return!isNaN(Number(n))}function eb(e){const n=at(e),t=Ue(e,0);return t.setFullYear(n.getFullYear(),0,1),t.setHours(0,0,0,0),t}const tb={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},nb=(e,n,t)=>{let r;const o=tb[e];return typeof o=="string"?r=o:n===1?r=o.one:r=o.other.replace("{{count}}",n.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in "+r:r+" ago":r};function $r(e){return(n={})=>{const t=n.width?String(n.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}const rb={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},ob={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},ab={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},sb={date:$r({formats:rb,defaultWidth:"full"}),time:$r({formats:ob,defaultWidth:"full"}),dateTime:$r({formats:ab,defaultWidth:"full"})},ib={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},lb=(e,n,t,r)=>ib[e];function Xt(e){return(n,t)=>{const r=t!=null&&t.context?String(t.context):"standalone";let o;if(r==="formatting"&&e.formattingValues){const s=e.defaultFormattingWidth||e.defaultWidth,i=t!=null&&t.width?String(t.width):s;o=e.formattingValues[i]||e.formattingValues[s]}else{const s=e.defaultWidth,i=t!=null&&t.width?String(t.width):e.defaultWidth;o=e.values[i]||e.values[s]}const a=e.argumentCallback?e.argumentCallback(n):n;return o[a]}}const cb={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},ub={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},db={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},fb={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},hb={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},gb={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},pb={ordinalNumber:(e,n)=>{const t=Number(e),r=t%100;if(r>20||r<10)switch(r%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},era:Xt({values:cb,defaultWidth:"wide"}),quarter:Xt({values:ub,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Xt({values:db,defaultWidth:"wide"}),day:Xt({values:fb,defaultWidth:"wide"}),dayPeriod:Xt({values:hb,defaultWidth:"wide",formattingValues:gb,defaultFormattingWidth:"wide"})};function Kt(e){return(n,t={})=>{const r=t.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=n.match(o);if(!a)return null;const s=a[0],i=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(i)?mb(i,h=>h.test(s)):Cb(i,h=>h.test(s));let d;d=e.valueCallback?e.valueCallback(l):l,d=t.valueCallback?t.valueCallback(d):d;const f=n.slice(s.length);return{value:d,rest:f}}}function Cb(e,n){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&n(e[t]))return t}function mb(e,n){for(let t=0;t<e.length;t++)if(n(e[t]))return t}function $0(e){return(n,t={})=>{const r=n.match(e.matchPattern);if(!r)return null;const o=r[0],a=n.match(e.parsePattern);if(!a)return null;let s=e.valueCallback?e.valueCallback(a[0]):a[0];s=t.valueCallback?t.valueCallback(s):s;const i=n.slice(o.length);return{value:s,rest:i}}}const vb=/^(\d+)(th|st|nd|rd)?/i,wb=/\d+/i,yb={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},bb={any:[/^b/i,/^(a|c)/i]},xb={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Sb={any:[/1/i,/2/i,/3/i,/4/i]},Mb={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Eb={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Lb={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Nb={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},kb={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Pb={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Ib={ordinalNumber:$0({matchPattern:vb,parsePattern:wb,valueCallback:e=>parseInt(e,10)}),era:Kt({matchPatterns:yb,defaultMatchWidth:"wide",parsePatterns:bb,defaultParseWidth:"any"}),quarter:Kt({matchPatterns:xb,defaultMatchWidth:"wide",parsePatterns:Sb,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Kt({matchPatterns:Mb,defaultMatchWidth:"wide",parsePatterns:Eb,defaultParseWidth:"any"}),day:Kt({matchPatterns:Lb,defaultMatchWidth:"wide",parsePatterns:Nb,defaultParseWidth:"any"}),dayPeriod:Kt({matchPatterns:kb,defaultMatchWidth:"any",parsePatterns:Pb,defaultParseWidth:"any"})},Ma={code:"en-US",formatDistance:nb,formatLong:sb,formatRelative:lb,localize:pb,match:Ib,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Ob(e){const n=at(e);return Ky(n,eb(n))+1}function z0(e){const n=at(e),t=+Fr(n)-+Qy(n);return Math.round(t/V0)+1}function ul(e,n){var f,h,g,C;const t=at(e),r=t.getFullYear(),o=Ar(),a=(n==null?void 0:n.firstWeekContainsDate)??((h=(f=n==null?void 0:n.locale)==null?void 0:f.options)==null?void 0:h.firstWeekContainsDate)??o.firstWeekContainsDate??((C=(g=o.locale)==null?void 0:g.options)==null?void 0:C.firstWeekContainsDate)??1,s=Ue(e,0);s.setFullYear(r+1,0,a),s.setHours(0,0,0,0);const i=Ut(s,n),l=Ue(e,0);l.setFullYear(r,0,a),l.setHours(0,0,0,0);const d=Ut(l,n);return t.getTime()>=i.getTime()?r+1:t.getTime()>=d.getTime()?r:r-1}function Tb(e,n){var i,l,d,f;const t=Ar(),r=(n==null?void 0:n.firstWeekContainsDate)??((l=(i=n==null?void 0:n.locale)==null?void 0:i.options)==null?void 0:l.firstWeekContainsDate)??t.firstWeekContainsDate??((f=(d=t.locale)==null?void 0:d.options)==null?void 0:f.firstWeekContainsDate)??1,o=ul(e,n),a=Ue(e,0);return a.setFullYear(o,0,r),a.setHours(0,0,0,0),Ut(a,n)}function Z0(e,n){const t=at(e),r=+Ut(t,n)-+Tb(t,n);return Math.round(r/V0)+1}function De(e,n){const t=e<0?"-":"",r=Math.abs(e).toString().padStart(n,"0");return t+r}const An={y(e,n){const t=e.getFullYear(),r=t>0?t:1-t;return De(n==="yy"?r%100:r,n.length)},M(e,n){const t=e.getMonth();return n==="M"?String(t+1):De(t+1,2)},d(e,n){return De(e.getDate(),n.length)},a(e,n){const t=e.getHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return t.toUpperCase();case"aaa":return t;case"aaaaa":return t[0];case"aaaa":default:return t==="am"?"a.m.":"p.m."}},h(e,n){return De(e.getHours()%12||12,n.length)},H(e,n){return De(e.getHours(),n.length)},m(e,n){return De(e.getMinutes(),n.length)},s(e,n){return De(e.getSeconds(),n.length)},S(e,n){const t=n.length,r=e.getMilliseconds(),o=Math.trunc(r*Math.pow(10,t-3));return De(o,n.length)}},zr={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},B0={G:function(e,n,t){const r=e.getFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return t.era(r,{width:"abbreviated"});case"GGGGG":return t.era(r,{width:"narrow"});case"GGGG":default:return t.era(r,{width:"wide"})}},y:function(e,n,t){if(n==="yo"){const r=e.getFullYear(),o=r>0?r:1-r;return t.ordinalNumber(o,{unit:"year"})}return An.y(e,n)},Y:function(e,n,t,r){const o=ul(e,r),a=o>0?o:1-o;if(n==="YY"){const s=a%100;return De(s,2)}return n==="Yo"?t.ordinalNumber(a,{unit:"year"}):De(a,n.length)},R:function(e,n){const t=H0(e);return De(t,n.length)},u:function(e,n){const t=e.getFullYear();return De(t,n.length)},Q:function(e,n,t){const r=Math.ceil((e.getMonth()+1)/3);switch(n){case"Q":return String(r);case"QQ":return De(r,2);case"Qo":return t.ordinalNumber(r,{unit:"quarter"});case"QQQ":return t.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return t.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return t.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,n,t){const r=Math.ceil((e.getMonth()+1)/3);switch(n){case"q":return String(r);case"qq":return De(r,2);case"qo":return t.ordinalNumber(r,{unit:"quarter"});case"qqq":return t.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return t.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return t.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,n,t){const r=e.getMonth();switch(n){case"M":case"MM":return An.M(e,n);case"Mo":return t.ordinalNumber(r+1,{unit:"month"});case"MMM":return t.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return t.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return t.month(r,{width:"wide",context:"formatting"})}},L:function(e,n,t){const r=e.getMonth();switch(n){case"L":return String(r+1);case"LL":return De(r+1,2);case"Lo":return t.ordinalNumber(r+1,{unit:"month"});case"LLL":return t.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return t.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return t.month(r,{width:"wide",context:"standalone"})}},w:function(e,n,t,r){const o=Z0(e,r);return n==="wo"?t.ordinalNumber(o,{unit:"week"}):De(o,n.length)},I:function(e,n,t){const r=z0(e);return n==="Io"?t.ordinalNumber(r,{unit:"week"}):De(r,n.length)},d:function(e,n,t){return n==="do"?t.ordinalNumber(e.getDate(),{unit:"date"}):An.d(e,n)},D:function(e,n,t){const r=Ob(e);return n==="Do"?t.ordinalNumber(r,{unit:"dayOfYear"}):De(r,n.length)},E:function(e,n,t){const r=e.getDay();switch(n){case"E":case"EE":case"EEE":return t.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return t.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(r,{width:"short",context:"formatting"});case"EEEE":default:return t.day(r,{width:"wide",context:"formatting"})}},e:function(e,n,t,r){const o=e.getDay(),a=(o-r.weekStartsOn+8)%7||7;switch(n){case"e":return String(a);case"ee":return De(a,2);case"eo":return t.ordinalNumber(a,{unit:"day"});case"eee":return t.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return t.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(o,{width:"short",context:"formatting"});case"eeee":default:return t.day(o,{width:"wide",context:"formatting"})}},c:function(e,n,t,r){const o=e.getDay(),a=(o-r.weekStartsOn+8)%7||7;switch(n){case"c":return String(a);case"cc":return De(a,n.length);case"co":return t.ordinalNumber(a,{unit:"day"});case"ccc":return t.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return t.day(o,{width:"narrow",context:"standalone"});case"cccccc":return t.day(o,{width:"short",context:"standalone"});case"cccc":default:return t.day(o,{width:"wide",context:"standalone"})}},i:function(e,n,t){const r=e.getDay(),o=r===0?7:r;switch(n){case"i":return String(o);case"ii":return De(o,n.length);case"io":return t.ordinalNumber(o,{unit:"day"});case"iii":return t.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return t.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return t.day(r,{width:"short",context:"formatting"});case"iiii":default:return t.day(r,{width:"wide",context:"formatting"})}},a:function(e,n,t){const o=e.getHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return t.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return t.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,n,t){const r=e.getHours();let o;switch(r===12?o=zr.noon:r===0?o=zr.midnight:o=r/12>=1?"pm":"am",n){case"b":case"bb":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return t.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return t.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,n,t){const r=e.getHours();let o;switch(r>=17?o=zr.evening:r>=12?o=zr.afternoon:r>=4?o=zr.morning:o=zr.night,n){case"B":case"BB":case"BBB":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return t.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return t.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,n,t){if(n==="ho"){let r=e.getHours()%12;return r===0&&(r=12),t.ordinalNumber(r,{unit:"hour"})}return An.h(e,n)},H:function(e,n,t){return n==="Ho"?t.ordinalNumber(e.getHours(),{unit:"hour"}):An.H(e,n)},K:function(e,n,t){const r=e.getHours()%12;return n==="Ko"?t.ordinalNumber(r,{unit:"hour"}):De(r,n.length)},k:function(e,n,t){let r=e.getHours();return r===0&&(r=24),n==="ko"?t.ordinalNumber(r,{unit:"hour"}):De(r,n.length)},m:function(e,n,t){return n==="mo"?t.ordinalNumber(e.getMinutes(),{unit:"minute"}):An.m(e,n)},s:function(e,n,t){return n==="so"?t.ordinalNumber(e.getSeconds(),{unit:"second"}):An.s(e,n)},S:function(e,n){return An.S(e,n)},X:function(e,n,t){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(n){case"X":return G0(r);case"XXXX":case"XX":return tr(r);case"XXXXX":case"XXX":default:return tr(r,":")}},x:function(e,n,t){const r=e.getTimezoneOffset();switch(n){case"x":return G0(r);case"xxxx":case"xx":return tr(r);case"xxxxx":case"xxx":default:return tr(r,":")}},O:function(e,n,t){const r=e.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+W0(r,":");case"OOOO":default:return"GMT"+tr(r,":")}},z:function(e,n,t){const r=e.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+W0(r,":");case"zzzz":default:return"GMT"+tr(r,":")}},t:function(e,n,t){const r=Math.trunc(e.getTime()/1e3);return De(r,n.length)},T:function(e,n,t){const r=e.getTime();return De(r,n.length)}};function W0(e,n=""){const t=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),a=r%60;return a===0?t+String(o):t+String(o)+n+De(a,2)}function G0(e,n){return e%60===0?(e>0?"-":"+")+De(Math.abs(e)/60,2):tr(e,n)}function tr(e,n=""){const t=e>0?"-":"+",r=Math.abs(e),o=De(Math.trunc(r/60),2),a=De(r%60,2);return t+o+n+a}const R0=(e,n)=>{switch(e){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},j0=(e,n)=>{switch(e){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},dl={p:j0,P:(e,n)=>{const t=e.match(/(P+)(p+)?/)||[],r=t[1],o=t[2];if(!o)return R0(e,n);let a;switch(r){case"P":a=n.dateTime({width:"short"});break;case"PP":a=n.dateTime({width:"medium"});break;case"PPP":a=n.dateTime({width:"long"});break;case"PPPP":default:a=n.dateTime({width:"full"});break}return a.replace("{{date}}",R0(r,n)).replace("{{time}}",j0(o,n))}},Db=/^D+$/,_b=/^Y+$/,Vb=["D","DD","YY","YYYY"];function Y0(e){return Db.test(e)}function q0(e){return _b.test(e)}function fl(e,n,t){const r=Hb(e,n,t);if(console.warn(r),Vb.includes(e))throw new RangeError(r)}function Hb(e,n,t){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${n}\`) for formatting ${r} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Ab=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Fb=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,$b=/^'([^]*?)'?$/,zb=/''/g,Zb=/[a-zA-Z]/;function Bb(e,n,t){var f,h,g,C;const r=Ar(),o=r.locale??Ma,a=r.firstWeekContainsDate??((h=(f=r.locale)==null?void 0:f.options)==null?void 0:h.firstWeekContainsDate)??1,s=r.weekStartsOn??((C=(g=r.locale)==null?void 0:g.options)==null?void 0:C.weekStartsOn)??0,i=at(e);if(!F0(i))throw new RangeError("Invalid time value");let l=n.match(Fb).map(v=>{const p=v[0];if(p==="p"||p==="P"){const m=dl[p];return m(v,o.formatLong)}return v}).join("").match(Ab).map(v=>{if(v==="''")return{isToken:!1,value:"'"};const p=v[0];if(p==="'")return{isToken:!1,value:Wb(v)};if(B0[p])return{isToken:!0,value:v};if(p.match(Zb))throw new RangeError("Format string contains an unescaped latin alphabet character `"+p+"`");return{isToken:!1,value:v}});o.localize.preprocessor&&(l=o.localize.preprocessor(i,l));const d={firstWeekContainsDate:a,weekStartsOn:s,locale:o};return l.map(v=>{if(!v.isToken)return v.value;const p=v.value;(q0(p)||Y0(p))&&fl(p,n,String(e));const m=B0[p[0]];return m(i,p,o.localize,d)}).join("")}function Wb(e){const n=e.match($b);return n?n[1].replace(zb,"'"):e}function Gb(){return Object.assign({},Ar())}function Rb(e){let t=at(e).getDay();return t===0&&(t=7),t}function jb(e,n){const t=n instanceof Date?Ue(n,0):new n(0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t}const Yb=10;class U0{constructor(){ce(this,"subPriority",0)}validate(n,t){return!0}}class qb extends U0{constructor(n,t,r,o,a){super(),this.value=n,this.validateValue=t,this.setValue=r,this.priority=o,a&&(this.subPriority=a)}validate(n,t){return this.validateValue(n,this.value,t)}set(n,t,r){return this.setValue(n,t,this.value,r)}}class Ub extends U0{constructor(){super(...arguments);ce(this,"priority",Yb);ce(this,"subPriority",-1)}set(t,r){return r.timestampIsSet?t:Ue(t,jb(t,Date))}}class Oe{run(n,t,r,o){const a=this.parse(n,t,r,o);return a?{setter:new qb(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(n,t,r){return!0}}class Xb extends Oe{constructor(){super(...arguments);ce(this,"priority",140);ce(this,"incompatibleTokens",["R","u","t","T"])}parse(t,r,o){switch(r){case"G":case"GG":case"GGG":return o.era(t,{width:"abbreviated"})||o.era(t,{width:"narrow"});case"GGGGG":return o.era(t,{width:"narrow"});case"GGGG":default:return o.era(t,{width:"wide"})||o.era(t,{width:"abbreviated"})||o.era(t,{width:"narrow"})}}set(t,r,o){return r.era=o,t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}}const Xe={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Qt={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Ke(e,n){return e&&{value:n(e.value),rest:e.rest}}function Be(e,n){const t=n.match(e);return t?{value:parseInt(t[0],10),rest:n.slice(t[0].length)}:null}function Jt(e,n){const t=n.match(e);if(!t)return null;if(t[0]==="Z")return{value:0,rest:n.slice(1)};const r=t[1]==="+"?1:-1,o=t[2]?parseInt(t[2],10):0,a=t[3]?parseInt(t[3],10):0,s=t[5]?parseInt(t[5],10):0;return{value:r*(o*qy+a*Yy+s*Uy),rest:n.slice(t[0].length)}}function X0(e){return Be(Xe.anyDigitsSigned,e)}function Re(e,n){switch(e){case 1:return Be(Xe.singleDigit,n);case 2:return Be(Xe.twoDigits,n);case 3:return Be(Xe.threeDigits,n);case 4:return Be(Xe.fourDigits,n);default:return Be(new RegExp("^\\d{1,"+e+"}"),n)}}function Ea(e,n){switch(e){case 1:return Be(Xe.singleDigitSigned,n);case 2:return Be(Xe.twoDigitsSigned,n);case 3:return Be(Xe.threeDigitsSigned,n);case 4:return Be(Xe.fourDigitsSigned,n);default:return Be(new RegExp("^-?\\d{1,"+e+"}"),n)}}function hl(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function K0(e,n){const t=n>0,r=t?n:1-n;let o;if(r<=50)o=e||100;else{const a=r+50,s=Math.trunc(a/100)*100,i=e>=a%100;o=e+s-(i?100:0)}return t?o:1-o}function Q0(e){return e%400===0||e%4===0&&e%100!==0}class Kb extends Oe{constructor(){super(...arguments);ce(this,"priority",130);ce(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,r,o){const a=s=>({year:s,isTwoDigitYear:r==="yy"});switch(r){case"y":return Ke(Re(4,t),a);case"yo":return Ke(o.ordinalNumber(t,{unit:"year"}),a);default:return Ke(Re(r.length,t),a)}}validate(t,r){return r.isTwoDigitYear||r.year>0}set(t,r,o){const a=t.getFullYear();if(o.isTwoDigitYear){const i=K0(o.year,a);return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}const s=!("era"in r)||r.era===1?o.year:1-o.year;return t.setFullYear(s,0,1),t.setHours(0,0,0,0),t}}class Qb extends Oe{constructor(){super(...arguments);ce(this,"priority",130);ce(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,r,o){const a=s=>({year:s,isTwoDigitYear:r==="YY"});switch(r){case"Y":return Ke(Re(4,t),a);case"Yo":return Ke(o.ordinalNumber(t,{unit:"year"}),a);default:return Ke(Re(r.length,t),a)}}validate(t,r){return r.isTwoDigitYear||r.year>0}set(t,r,o,a){const s=ul(t,a);if(o.isTwoDigitYear){const l=K0(o.year,s);return t.setFullYear(l,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),Ut(t,a)}const i=!("era"in r)||r.era===1?o.year:1-o.year;return t.setFullYear(i,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),Ut(t,a)}}class Jb extends Oe{constructor(){super(...arguments);ce(this,"priority",130);ce(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,r){return Ea(r==="R"?4:r.length,t)}set(t,r,o){const a=Ue(t,0);return a.setFullYear(o,0,4),a.setHours(0,0,0,0),Fr(a)}}class ex extends Oe{constructor(){super(...arguments);ce(this,"priority",130);ce(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,r){return Ea(r==="u"?4:r.length,t)}set(t,r,o){return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}}class tx extends Oe{constructor(){super(...arguments);ce(this,"priority",120);ce(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,r,o){switch(r){case"Q":case"QQ":return Re(r.length,t);case"Qo":return o.ordinalNumber(t,{unit:"quarter"});case"QQQ":return o.quarter(t,{width:"abbreviated",context:"formatting"})||o.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return o.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return o.quarter(t,{width:"wide",context:"formatting"})||o.quarter(t,{width:"abbreviated",context:"formatting"})||o.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,r){return r>=1&&r<=4}set(t,r,o){return t.setMonth((o-1)*3,1),t.setHours(0,0,0,0),t}}class nx extends Oe{constructor(){super(...arguments);ce(this,"priority",120);ce(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,r,o){switch(r){case"q":case"qq":return Re(r.length,t);case"qo":return o.ordinalNumber(t,{unit:"quarter"});case"qqq":return o.quarter(t,{width:"abbreviated",context:"standalone"})||o.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return o.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return o.quarter(t,{width:"wide",context:"standalone"})||o.quarter(t,{width:"abbreviated",context:"standalone"})||o.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,r){return r>=1&&r<=4}set(t,r,o){return t.setMonth((o-1)*3,1),t.setHours(0,0,0,0),t}}class rx extends Oe{constructor(){super(...arguments);ce(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);ce(this,"priority",110)}parse(t,r,o){const a=s=>s-1;switch(r){case"M":return Ke(Be(Xe.month,t),a);case"MM":return Ke(Re(2,t),a);case"Mo":return Ke(o.ordinalNumber(t,{unit:"month"}),a);case"MMM":return o.month(t,{width:"abbreviated",context:"formatting"})||o.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return o.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return o.month(t,{width:"wide",context:"formatting"})||o.month(t,{width:"abbreviated",context:"formatting"})||o.month(t,{width:"narrow",context:"formatting"})}}validate(t,r){return r>=0&&r<=11}set(t,r,o){return t.setMonth(o,1),t.setHours(0,0,0,0),t}}class ox extends Oe{constructor(){super(...arguments);ce(this,"priority",110);ce(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,r,o){const a=s=>s-1;switch(r){case"L":return Ke(Be(Xe.month,t),a);case"LL":return Ke(Re(2,t),a);case"Lo":return Ke(o.ordinalNumber(t,{unit:"month"}),a);case"LLL":return o.month(t,{width:"abbreviated",context:"standalone"})||o.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return o.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return o.month(t,{width:"wide",context:"standalone"})||o.month(t,{width:"abbreviated",context:"standalone"})||o.month(t,{width:"narrow",context:"standalone"})}}validate(t,r){return r>=0&&r<=11}set(t,r,o){return t.setMonth(o,1),t.setHours(0,0,0,0),t}}function ax(e,n,t){const r=at(e),o=Z0(r,t)-n;return r.setDate(r.getDate()-o*7),r}class sx extends Oe{constructor(){super(...arguments);ce(this,"priority",100);ce(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,r,o){switch(r){case"w":return Be(Xe.week,t);case"wo":return o.ordinalNumber(t,{unit:"week"});default:return Re(r.length,t)}}validate(t,r){return r>=1&&r<=53}set(t,r,o,a){return Ut(ax(t,o,a),a)}}function ix(e,n){const t=at(e),r=z0(t)-n;return t.setDate(t.getDate()-r*7),t}class lx extends Oe{constructor(){super(...arguments);ce(this,"priority",100);ce(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,r,o){switch(r){case"I":return Be(Xe.week,t);case"Io":return o.ordinalNumber(t,{unit:"week"});default:return Re(r.length,t)}}validate(t,r){return r>=1&&r<=53}set(t,r,o){return Fr(ix(t,o))}}const cx=[31,28,31,30,31,30,31,31,30,31,30,31],ux=[31,29,31,30,31,30,31,31,30,31,30,31];class dx extends Oe{constructor(){super(...arguments);ce(this,"priority",90);ce(this,"subPriority",1);ce(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,r,o){switch(r){case"d":return Be(Xe.date,t);case"do":return o.ordinalNumber(t,{unit:"date"});default:return Re(r.length,t)}}validate(t,r){const o=t.getFullYear(),a=Q0(o),s=t.getMonth();return a?r>=1&&r<=ux[s]:r>=1&&r<=cx[s]}set(t,r,o){return t.setDate(o),t.setHours(0,0,0,0),t}}class fx extends Oe{constructor(){super(...arguments);ce(this,"priority",90);ce(this,"subpriority",1);ce(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,r,o){switch(r){case"D":case"DD":return Be(Xe.dayOfYear,t);case"Do":return o.ordinalNumber(t,{unit:"date"});default:return Re(r.length,t)}}validate(t,r){const o=t.getFullYear();return Q0(o)?r>=1&&r<=366:r>=1&&r<=365}set(t,r,o){return t.setMonth(0,o),t.setHours(0,0,0,0),t}}function gl(e,n,t){var h,g,C,v;const r=Ar(),o=(t==null?void 0:t.weekStartsOn)??((g=(h=t==null?void 0:t.locale)==null?void 0:h.options)==null?void 0:g.weekStartsOn)??r.weekStartsOn??((v=(C=r.locale)==null?void 0:C.options)==null?void 0:v.weekStartsOn)??0,a=at(e),s=a.getDay(),l=(n%7+7)%7,d=7-o,f=n<0||n>6?n-(s+d)%7:(l+d)%7-(s+d)%7;return _0(a,f)}class hx extends Oe{constructor(){super(...arguments);ce(this,"priority",90);ce(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,r,o){switch(r){case"E":case"EE":case"EEE":return o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return o.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return o.day(t,{width:"wide",context:"formatting"})||o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"})}}validate(t,r){return r>=0&&r<=6}set(t,r,o,a){return t=gl(t,o,a),t.setHours(0,0,0,0),t}}class gx extends Oe{constructor(){super(...arguments);ce(this,"priority",90);ce(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,r,o,a){const s=i=>{const l=Math.floor((i-1)/7)*7;return(i+a.weekStartsOn+6)%7+l};switch(r){case"e":case"ee":return Ke(Re(r.length,t),s);case"eo":return Ke(o.ordinalNumber(t,{unit:"day"}),s);case"eee":return o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"});case"eeeee":return o.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return o.day(t,{width:"wide",context:"formatting"})||o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"})}}validate(t,r){return r>=0&&r<=6}set(t,r,o,a){return t=gl(t,o,a),t.setHours(0,0,0,0),t}}class px extends Oe{constructor(){super(...arguments);ce(this,"priority",90);ce(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,r,o,a){const s=i=>{const l=Math.floor((i-1)/7)*7;return(i+a.weekStartsOn+6)%7+l};switch(r){case"c":case"cc":return Ke(Re(r.length,t),s);case"co":return Ke(o.ordinalNumber(t,{unit:"day"}),s);case"ccc":return o.day(t,{width:"abbreviated",context:"standalone"})||o.day(t,{width:"short",context:"standalone"})||o.day(t,{width:"narrow",context:"standalone"});case"ccccc":return o.day(t,{width:"narrow",context:"standalone"});case"cccccc":return o.day(t,{width:"short",context:"standalone"})||o.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return o.day(t,{width:"wide",context:"standalone"})||o.day(t,{width:"abbreviated",context:"standalone"})||o.day(t,{width:"short",context:"standalone"})||o.day(t,{width:"narrow",context:"standalone"})}}validate(t,r){return r>=0&&r<=6}set(t,r,o,a){return t=gl(t,o,a),t.setHours(0,0,0,0),t}}function Cx(e,n){const t=at(e),r=Rb(t),o=n-r;return _0(t,o)}class mx extends Oe{constructor(){super(...arguments);ce(this,"priority",90);ce(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,r,o){const a=s=>s===0?7:s;switch(r){case"i":case"ii":return Re(r.length,t);case"io":return o.ordinalNumber(t,{unit:"day"});case"iii":return Ke(o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"}),a);case"iiiii":return Ke(o.day(t,{width:"narrow",context:"formatting"}),a);case"iiiiii":return Ke(o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"}),a);case"iiii":default:return Ke(o.day(t,{width:"wide",context:"formatting"})||o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"}),a)}}validate(t,r){return r>=1&&r<=7}set(t,r,o){return t=Cx(t,o),t.setHours(0,0,0,0),t}}class vx extends Oe{constructor(){super(...arguments);ce(this,"priority",80);ce(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,r,o){switch(r){case"a":case"aa":case"aaa":return o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return o.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return o.dayPeriod(t,{width:"wide",context:"formatting"})||o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,r,o){return t.setHours(hl(o),0,0,0),t}}class wx extends Oe{constructor(){super(...arguments);ce(this,"priority",80);ce(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,r,o){switch(r){case"b":case"bb":case"bbb":return o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return o.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return o.dayPeriod(t,{width:"wide",context:"formatting"})||o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,r,o){return t.setHours(hl(o),0,0,0),t}}class yx extends Oe{constructor(){super(...arguments);ce(this,"priority",80);ce(this,"incompatibleTokens",["a","b","t","T"])}parse(t,r,o){switch(r){case"B":case"BB":case"BBB":return o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return o.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return o.dayPeriod(t,{width:"wide",context:"formatting"})||o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,r,o){return t.setHours(hl(o),0,0,0),t}}class bx extends Oe{constructor(){super(...arguments);ce(this,"priority",70);ce(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,r,o){switch(r){case"h":return Be(Xe.hour12h,t);case"ho":return o.ordinalNumber(t,{unit:"hour"});default:return Re(r.length,t)}}validate(t,r){return r>=1&&r<=12}set(t,r,o){const a=t.getHours()>=12;return a&&o<12?t.setHours(o+12,0,0,0):!a&&o===12?t.setHours(0,0,0,0):t.setHours(o,0,0,0),t}}class xx extends Oe{constructor(){super(...arguments);ce(this,"priority",70);ce(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,r,o){switch(r){case"H":return Be(Xe.hour23h,t);case"Ho":return o.ordinalNumber(t,{unit:"hour"});default:return Re(r.length,t)}}validate(t,r){return r>=0&&r<=23}set(t,r,o){return t.setHours(o,0,0,0),t}}class Sx extends Oe{constructor(){super(...arguments);ce(this,"priority",70);ce(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,r,o){switch(r){case"K":return Be(Xe.hour11h,t);case"Ko":return o.ordinalNumber(t,{unit:"hour"});default:return Re(r.length,t)}}validate(t,r){return r>=0&&r<=11}set(t,r,o){return t.getHours()>=12&&o<12?t.setHours(o+12,0,0,0):t.setHours(o,0,0,0),t}}class Mx extends Oe{constructor(){super(...arguments);ce(this,"priority",70);ce(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,r,o){switch(r){case"k":return Be(Xe.hour24h,t);case"ko":return o.ordinalNumber(t,{unit:"hour"});default:return Re(r.length,t)}}validate(t,r){return r>=1&&r<=24}set(t,r,o){const a=o<=24?o%24:o;return t.setHours(a,0,0,0),t}}class Ex extends Oe{constructor(){super(...arguments);ce(this,"priority",60);ce(this,"incompatibleTokens",["t","T"])}parse(t,r,o){switch(r){case"m":return Be(Xe.minute,t);case"mo":return o.ordinalNumber(t,{unit:"minute"});default:return Re(r.length,t)}}validate(t,r){return r>=0&&r<=59}set(t,r,o){return t.setMinutes(o,0,0),t}}class Lx extends Oe{constructor(){super(...arguments);ce(this,"priority",50);ce(this,"incompatibleTokens",["t","T"])}parse(t,r,o){switch(r){case"s":return Be(Xe.second,t);case"so":return o.ordinalNumber(t,{unit:"second"});default:return Re(r.length,t)}}validate(t,r){return r>=0&&r<=59}set(t,r,o){return t.setSeconds(o,0),t}}class Nx extends Oe{constructor(){super(...arguments);ce(this,"priority",30);ce(this,"incompatibleTokens",["t","T"])}parse(t,r){const o=a=>Math.trunc(a*Math.pow(10,-r.length+3));return Ke(Re(r.length,t),o)}set(t,r,o){return t.setMilliseconds(o),t}}class kx extends Oe{constructor(){super(...arguments);ce(this,"priority",10);ce(this,"incompatibleTokens",["t","T","x"])}parse(t,r){switch(r){case"X":return Jt(Qt.basicOptionalMinutes,t);case"XX":return Jt(Qt.basic,t);case"XXXX":return Jt(Qt.basicOptionalSeconds,t);case"XXXXX":return Jt(Qt.extendedOptionalSeconds,t);case"XXX":default:return Jt(Qt.extended,t)}}set(t,r,o){return r.timestampIsSet?t:Ue(t,t.getTime()-Sa(t)-o)}}class Px extends Oe{constructor(){super(...arguments);ce(this,"priority",10);ce(this,"incompatibleTokens",["t","T","X"])}parse(t,r){switch(r){case"x":return Jt(Qt.basicOptionalMinutes,t);case"xx":return Jt(Qt.basic,t);case"xxxx":return Jt(Qt.basicOptionalSeconds,t);case"xxxxx":return Jt(Qt.extendedOptionalSeconds,t);case"xxx":default:return Jt(Qt.extended,t)}}set(t,r,o){return r.timestampIsSet?t:Ue(t,t.getTime()-Sa(t)-o)}}class Ix extends Oe{constructor(){super(...arguments);ce(this,"priority",40);ce(this,"incompatibleTokens","*")}parse(t){return X0(t)}set(t,r,o){return[Ue(t,o*1e3),{timestampIsSet:!0}]}}class Ox extends Oe{constructor(){super(...arguments);ce(this,"priority",20);ce(this,"incompatibleTokens","*")}parse(t){return X0(t)}set(t,r,o){return[Ue(t,o),{timestampIsSet:!0}]}}const Tx={G:new Xb,y:new Kb,Y:new Qb,R:new Jb,u:new ex,Q:new tx,q:new nx,M:new rx,L:new ox,w:new sx,I:new lx,d:new dx,D:new fx,E:new hx,e:new gx,c:new px,i:new mx,a:new vx,b:new wx,B:new yx,h:new bx,H:new xx,K:new Sx,k:new Mx,m:new Ex,s:new Lx,S:new Nx,X:new kx,x:new Px,t:new Ix,T:new Ox},Dx=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,_x=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Vx=/^'([^]*?)'?$/,Hx=/''/g,Ax=/\S/,Fx=/[a-zA-Z]/;function $x(e,n,t,r){var p,m,w,y,b,S,E,M;const o=Gb(),a=(r==null?void 0:r.locale)??o.locale??Ma,s=(r==null?void 0:r.firstWeekContainsDate)??((m=(p=r==null?void 0:r.locale)==null?void 0:p.options)==null?void 0:m.firstWeekContainsDate)??o.firstWeekContainsDate??((y=(w=o.locale)==null?void 0:w.options)==null?void 0:y.firstWeekContainsDate)??1,i=(r==null?void 0:r.weekStartsOn)??((S=(b=r==null?void 0:r.locale)==null?void 0:b.options)==null?void 0:S.weekStartsOn)??o.weekStartsOn??((M=(E=o.locale)==null?void 0:E.options)==null?void 0:M.weekStartsOn)??0,l={firstWeekContainsDate:s,weekStartsOn:i,locale:a},d=[new Ub],f=n.match(_x).map(L=>{const I=L[0];if(I in dl){const O=dl[I];return O(L,a.formatLong)}return L}).join("").match(Dx),h=[];for(let L of f){!(r!=null&&r.useAdditionalWeekYearTokens)&&q0(L)&&fl(L,n,e),!(r!=null&&r.useAdditionalDayOfYearTokens)&&Y0(L)&&fl(L,n,e);const I=L[0],O=Tx[I];if(O){const{incompatibleTokens:_}=O;if(Array.isArray(_)){const $=h.find(j=>_.includes(j.token)||j.token===I);if($)throw new RangeError(`The format string mustn't contain \`${$.fullToken}\` and \`${L}\` at the same time`)}else if(O.incompatibleTokens==="*"&&h.length>0)throw new RangeError(`The format string mustn't contain \`${L}\` and any other token at the same time`);h.push({token:I,fullToken:L});const V=O.run(e,L,a.match,l);if(!V)return Ue(t,NaN);d.push(V.setter),e=V.rest}else{if(I.match(Fx))throw new RangeError("Format string contains an unescaped latin alphabet character `"+I+"`");if(L==="''"?L="'":I==="'"&&(L=zx(L)),e.indexOf(L)===0)e=e.slice(L.length);else return Ue(t,NaN)}}if(e.length>0&&Ax.test(e))return Ue(t,NaN);const g=d.map(L=>L.priority).sort((L,I)=>I-L).filter((L,I,O)=>O.indexOf(L)===I).map(L=>d.filter(I=>I.priority===L).sort((I,O)=>O.subPriority-I.subPriority)).map(L=>L[0]);let C=at(t);if(isNaN(C.getTime()))return Ue(t,NaN);const v={};for(const L of g){if(!L.validate(C,l))return Ue(t,NaN);const I=L.set(C,v,l);Array.isArray(I)?(C=I[0],Object.assign(v,I[1])):C=I}return Ue(t,C)}function zx(e){return e.match(Vx)[1].replace(Hx,"'")}function J0(e,n,t){const r=Ut(e,t),o=Ut(n,t);return+r==+o}function Oo(e,n){if(e.one!==void 0&&n===1)return e.one;const t=n%10,r=n%100;return t===1&&r!==11?e.singularNominative.replace("{{count}}",String(n)):t>=2&&t<=4&&(r<10||r>20)?e.singularGenitive.replace("{{count}}",String(n)):e.pluralGenitive.replace("{{count}}",String(n))}function pt(e){return(n,t)=>t!=null&&t.addSuffix?t.comparison&&t.comparison>0?e.future?Oo(e.future,n):"через "+Oo(e.regular,n):e.past?Oo(e.past,n):Oo(e.regular,n)+" назад":Oo(e.regular,n)}const Zx={lessThanXSeconds:pt({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:pt({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:(e,n)=>n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"через полминуты":"полминуты назад":"полминуты",lessThanXMinutes:pt({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:pt({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:pt({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:pt({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:pt({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:pt({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:pt({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:pt({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:pt({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:pt({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:pt({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:pt({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:pt({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})},Bx=(e,n,t)=>Zx[e](n,t),Wx={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},Gx={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},Rx={any:"{{date}}, {{time}}"},jx={date:$r({formats:Wx,defaultWidth:"full"}),time:$r({formats:Gx,defaultWidth:"full"}),dateTime:$r({formats:Rx,defaultWidth:"any"})},pl=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function Yx(e){const n=pl[e];switch(e){case 0:return"'в прошлое "+n+" в' p";case 1:case 2:case 4:return"'в прошлый "+n+" в' p";case 3:case 5:case 6:return"'в прошлую "+n+" в' p"}}function e4(e){const n=pl[e];return e===2?"'во "+n+" в' p":"'в "+n+" в' p"}function qx(e){const n=pl[e];switch(e){case 0:return"'в следующее "+n+" в' p";case 1:case 2:case 4:return"'в следующий "+n+" в' p";case 3:case 5:case 6:return"'в следующую "+n+" в' p"}}const Ux={lastWeek:(e,n,t)=>{const r=e.getDay();return J0(e,n,t)?e4(r):Yx(r)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:(e,n,t)=>{const r=e.getDay();return J0(e,n,t)?e4(r):qx(r)},other:"P"},Xx=(e,n,t,r)=>{const o=Ux[e];return typeof o=="function"?o(n,t,r):o},Kx={narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},Qx={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},Jx={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},eS={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},tS={narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},nS={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утро",afternoon:"день",evening:"вечер",night:"ночь"}},rS={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утра",afternoon:"дня",evening:"вечера",night:"ночи"}},oS={ordinalNumber:(e,n)=>{const t=Number(e),r=n==null?void 0:n.unit;let o;return r==="date"?o="-е":r==="week"||r==="minute"||r==="second"?o="-я":o="-й",t+o},era:Xt({values:Kx,defaultWidth:"wide"}),quarter:Xt({values:Qx,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Xt({values:Jx,defaultWidth:"wide",formattingValues:eS,defaultFormattingWidth:"wide"}),day:Xt({values:tS,defaultWidth:"wide"}),dayPeriod:Xt({values:nS,defaultWidth:"any",formattingValues:rS,defaultFormattingWidth:"wide"})},aS=/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,sS=/\d+/i,iS={narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},lS={any:[/^д/i,/^н/i]},cS={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},uS={any:[/1/i,/2/i,/3/i,/4/i]},dS={narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},fS={narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},hS={narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},gS={narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},pS={narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},CS={any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},mS={ordinalNumber:$0({matchPattern:aS,parsePattern:sS,valueCallback:e=>parseInt(e,10)}),era:Kt({matchPatterns:iS,defaultMatchWidth:"wide",parsePatterns:lS,defaultParseWidth:"any"}),quarter:Kt({matchPatterns:cS,defaultMatchWidth:"wide",parsePatterns:uS,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Kt({matchPatterns:dS,defaultMatchWidth:"wide",parsePatterns:fS,defaultParseWidth:"any"}),day:Kt({matchPatterns:hS,defaultMatchWidth:"wide",parsePatterns:gS,defaultParseWidth:"any"}),dayPeriod:Kt({matchPatterns:pS,defaultMatchWidth:"wide",parsePatterns:CS,defaultParseWidth:"any"})},Cl={code:"ru",formatDistance:Bx,formatLong:jx,formatRelative:Xx,localize:oS,match:mS,options:{weekStartsOn:1,firstWeekContainsDate:1}},La=e=>e?Bb(typeof e=="string"?new Date(e):e,"dd.MM.yyyy"):"",To=e=>{const n=e.replace(/\D/g,"");return n.length<=2?n:n.length<=4?`${n.slice(0,2)}.${n.slice(2)}`:`${n.slice(0,2)}.${n.slice(2,4)}.${n.slice(4,8)}`},vS=e=>{const n=", ",t=e.split(",").map(i=>i.trim()),r=t.map(i=>To(i)),o=e.replace(/\D/g,"").length;if(t.length===1){const i=r[0];return i.length===10&&o>8?i+n:i}const a=r[r.length-1],s=t[t.length-1].replace(/\D/g,"").length;return a.length===10&&s>8?r.join(n)+n:a===""&&t[t.length-1].trim()===""?(r.pop(),r.join(n)+n):r.join(n)},wS=e=>{const n=" — ",t=e.split(n);if(t.length===1){const a=To(e);return a.length===10&&e.replace(/\D/g,"").length>8?a+n:a}const r=To(t[0].trim()),o=To(t.slice(1).join("").trim());return o?r+n+o:r+n},Do=e=>{if(!e||e.trim()==="")return null;const n=e.trim();if(!/^(\d{2})\.(\d{2})\.(\d{4})$/.test(n))return null;const r=$x(n,"dd.MM.yyyy",new Date,{locale:Cl});return F0(r)?r:null},yS=e=>{if(!e||e.trim()==="")return[];const n=e.split(",").map(r=>r.trim()),t=[];for(const r of n){const o=Do(r);o&&t.push(o)}return t},bS=e=>{if(!e||e.trim()==="")return null;const t=e.split(" — ");if(t.length===1){const r=Do(t[0].trim());return r?{from:r,to:void 0}:null}if(t.length===2){const r=Do(t[0].trim()),o=Do(t[1].trim());return r?{from:r,to:o||void 0}:null}return null},ml=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M19 4H18V2H16V4H8V2H6V4H5C3.89 4 3.01 4.9 3.01 6L3 20C3 21.1 3.89 22 5 22H19C20.1 22 21 21.1 21 20V6C21 4.9 20.1 4 19 4ZM19 20H5V10H19V20ZM19 8H5V6H19V8ZM9 14H7V12H9V14ZM13 14H11V12H13V14ZM17 14H15V12H17V14ZM9 18H7V16H9V18ZM13 18H11V16H13V18ZM17 18H15V16H17V18Z"})),t4=e=>c.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.96409 5.50008C9.54988 5.50183 9.21268 5.16746 9.21093 4.75325C9.20918 4.33904 9.54354 4.00184 9.95775 4.00009C12.004 3.99576 14.1048 4.55116 15.8761 5.57766C17.5665 6.55736 19 8.06774 19 10C19 11.003 18.6069 11.9011 18.0013 12.6586C17.7427 12.9821 17.2707 13.0347 16.9472 12.7761C16.6237 12.5174 16.5711 12.0454 16.8298 11.7219C17.2721 11.1686 17.5 10.5911 17.5 10C17.5 8.86976 16.6418 7.75514 15.1239 6.87546C13.5824 5.9821 11.7449 5.49632 9.96409 5.50008Z",fill:"#99A2AD"}),c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.12393 14.4223C5.84342 15.4189 8.03582 16 10 16C11.6051 16 13.3554 15.6123 14.8731 14.9338L15.7197 15.7803C16.0126 16.0732 16.4874 16.0732 16.7803 15.7803C17.0732 15.4874 17.0732 15.0126 16.7803 14.7197L5.28033 3.21967C4.98744 2.92678 4.51256 2.92678 4.21967 3.21967C3.92678 3.51256 3.92678 3.98744 4.21967 4.28033L5.04335 5.10401C4.06903 5.54898 3.17342 6.1239 2.4732 6.81589C1.60643 7.67246 1 8.75167 1 10C1 11.9323 2.43347 13.4426 4.12393 14.4223ZM8.5 10C8.5 10.8284 9.17157 11.5 10 11.5C10.3988 11.5 10.7612 11.3444 11.0299 11.0906L8.90944 8.9701C8.65562 9.23878 8.5 9.60122 8.5 10ZM7 10C7 11.6569 8.34315 13 10 13C10.813 13 11.5505 12.6766 12.0908 12.1514L13.7252 13.7859C12.5236 14.2443 11.2017 14.5 10 14.5C8.29751 14.5 6.36491 13.9874 4.87607 13.1245C3.3582 12.2449 2.5 11.1302 2.5 10C2.5 9.26893 2.85091 8.5515 3.52757 7.8828C4.18791 7.23023 5.121 6.66551 6.18727 6.24793L7.84857 7.90923C7.3234 8.44953 7 9.187 7 10Z",fill:"#99A2AD"})),vl=e=>c.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M6.50006 1C9.53765 1 12.0001 3.46256 12.0001 6.50029C12.0001 7.74868 11.5842 8.89993 10.8835 9.82304L14.7791 13.7233C15.0718 14.0164 15.0715 14.4913 14.7785 14.784C14.4854 15.0767 14.0105 15.0764 13.7178 14.7834L9.82266 10.8839C8.89959 11.5847 7.74839 12.0006 6.50006 12.0006C3.46246 12.0006 1 9.53802 1 6.50029C1 3.46256 3.46246 1 6.50006 1ZM6.50006 2.5C4.2909 2.5 2.5 4.29098 2.5 6.50029C2.5 8.70961 4.2909 10.5006 6.50006 10.5006C8.70921 10.5006 10.5001 8.70961 10.5001 6.50029C10.5001 4.29098 8.70921 2.5 6.50006 2.5Z",fill:"currentColor"})),n4=e=>c.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("g",{id:"view_outline_20"},c.createElement("g",{id:"↳ Icon Color"},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 10C13 11.6569 11.6569 13 10 13C8.34315 13 7 11.6569 7 10C7 8.34315 8.34315 7 10 7C11.6569 7 13 8.34315 13 10ZM11.5 10C11.5 10.8284 10.8284 11.5 10 11.5C9.17157 11.5 8.5 10.8284 8.5 10C8.5 9.17157 9.17157 8.5 10 8.5C10.8284 8.5 11.5 9.17157 11.5 10Z",fill:"#99A2AD"}),c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19 10C19 13.5 14 16 10 16C6 16 1 13.5 1 10C1 6.5 6 4 10 4C14 4 19 6.5 19 10ZM17.5 10C17.5 10.9827 16.7806 12.0838 15.2215 13.0303C13.7054 13.9508 11.7245 14.5 10 14.5C8.27549 14.5 6.29462 13.9508 4.77847 13.0303C3.21944 12.0838 2.5 10.9827 2.5 10C2.5 9.01731 3.21944 7.91623 4.77847 6.96968C6.29462 6.04916 8.27549 5.5 10 5.5C11.7245 5.5 13.7054 6.04916 15.2215 6.96968C16.7806 7.91623 17.5 9.01731 17.5 10Z",fill:"#99A2AD"})))),en=c.forwardRef(({className:e,type:n,error:t,asSearch:r,rightIcon:o,withCount:a,onEnter:s,value:i="",...l},d)=>{const[f,h]=c.useState(!1),[g,C]=c.useState(i.toString().length),v=r||n==="password"||o||a,p=w=>{var y;C(w.target.value.length),(y=l.onChange)==null||y.call(l,w)},m=u.jsxs(u.Fragment,{children:[u.jsx("input",{type:f?"text":n,className:P("flex h-9 w-full rounded-lg border border-line-primary bg-[transparent] blur-none pl-3 py-2 text-sm tracking-[0.1px] leading-5 transition-colors duration-300 ease-in-out ring-offset-background file:border-0 file:bg-[transparent] file:text-sm font-normal placeholder:text-foreground-secondary focus-visible:outline-none focus-visible:border-line-focused disabled:cursor-not-allowed disabled:opacity-50 truncate line-clamp-1",t?"border-line-error focus-visible:border-line-error":"",!v&&e,o||a||n==="password"?"pr-8":"pr-3",l.readOnly&&"cursor-not-allowed pointer-events-none opacity-95"),ref:d,placeholder:r?l.placeholder||"Search":l.placeholder,onKeyDown:w=>{w.key==="Enter"&&(w.preventDefault(),s==null||s(w.target.value))},value:i,...l,onChange:p}),o&&u.jsx("span",{className:"absolute right-1.5 top-1/2 -translate-y-1/2",children:o}),a&&u.jsx("span",{className:`absolute right-1.5 top-1/2 -translate-y-1/2
127
+ text-foreground-tertiary text-xs`,children:g}),r&&u.jsx(vl,{className:"absolute top-[10px] right-3 text-icon-fade-contrast"}),n==="password"&&u.jsx("span",{className:"absolute bottom-2 right-2 cursor-pointer",onClick:()=>h(!f),children:f?u.jsx(t4,{}):u.jsx(n4,{})})]});return v?u.jsx("span",{className:P("relative transition-colors",v&&e),children:m}):m});en.displayName="Input";var Na="Popover",[r4]=it(Na,[Nn]),_o=Nn(),[xS,Fn]=r4(Na),o4=e=>{const{__scopePopover:n,children:t,open:r,defaultOpen:o,onOpenChange:a,modal:s=!1}=e,i=_o(n),l=c.useRef(null),[d,f]=c.useState(!1),[h,g]=wt({prop:r,defaultProp:o??!1,onChange:a,caller:Na});return u.jsx(Co,{...i,children:u.jsx(xS,{scope:n,contentId:Ye(),triggerRef:l,open:h,onOpenChange:g,onOpenToggle:c.useCallback(()=>g(C=>!C),[g]),hasCustomAnchor:d,onCustomAnchorAdd:c.useCallback(()=>f(!0),[]),onCustomAnchorRemove:c.useCallback(()=>f(!1),[]),modal:s,children:t})})};o4.displayName=Na;var a4="PopoverAnchor",s4=c.forwardRef((e,n)=>{const{__scopePopover:t,...r}=e,o=Fn(a4,t),a=_o(t),{onCustomAnchorAdd:s,onCustomAnchorRemove:i}=o;return c.useEffect(()=>(s(),()=>i()),[s,i]),u.jsx(mo,{...a,...r,ref:n})});s4.displayName=a4;var i4="PopoverTrigger",l4=c.forwardRef((e,n)=>{const{__scopePopover:t,...r}=e,o=Fn(i4,t),a=_o(t),s=ye(n,o.triggerRef),i=u.jsx(ie.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":g4(o.open),...r,ref:s,onClick:ee(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?i:u.jsx(mo,{asChild:!0,...a,children:i})});l4.displayName=i4;var wl="PopoverPortal",[SS,MS]=r4(wl,{forceMount:void 0}),c4=e=>{const{__scopePopover:n,forceMount:t,children:r,container:o}=e,a=Fn(wl,n);return u.jsx(SS,{scope:n,forceMount:t,children:u.jsx(qe,{present:t||a.open,children:u.jsx(kn,{asChild:!0,container:o,children:r})})})};c4.displayName=wl;var Zr="PopoverContent",u4=c.forwardRef((e,n)=>{const t=MS(Zr,e.__scopePopover),{forceMount:r=t.forceMount,...o}=e,a=Fn(Zr,e.__scopePopover);return u.jsx(qe,{present:r||a.open,children:a.modal?u.jsx(LS,{...o,ref:n}):u.jsx(NS,{...o,ref:n})})});u4.displayName=Zr;var ES=bn("PopoverContent.RemoveScroll"),LS=c.forwardRef((e,n)=>{const t=Fn(Zr,e.__scopePopover),r=c.useRef(null),o=ye(n,r),a=c.useRef(!1);return c.useEffect(()=>{const s=r.current;if(s)return z1(s)},[]),u.jsx(vo,{as:ES,allowPinchZoom:!0,children:u.jsx(d4,{...e,ref:o,trapFocus:t.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ee(e.onCloseAutoFocus,s=>{var i;s.preventDefault(),a.current||(i=t.triggerRef.current)==null||i.focus()}),onPointerDownOutside:ee(e.onPointerDownOutside,s=>{const i=s.detail.originalEvent,l=i.button===0&&i.ctrlKey===!0,d=i.button===2||l;a.current=d},{checkForDefaultPrevented:!1}),onFocusOutside:ee(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1})})})}),NS=c.forwardRef((e,n)=>{const t=Fn(Zr,e.__scopePopover),r=c.useRef(!1),o=c.useRef(!1);return u.jsx(d4,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var s,i;(s=e.onCloseAutoFocus)==null||s.call(e,a),a.defaultPrevented||(r.current||(i=t.triggerRef.current)==null||i.focus(),a.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:a=>{var l,d;(l=e.onInteractOutside)==null||l.call(e,a),a.defaultPrevented||(r.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const s=a.target;((d=t.triggerRef.current)==null?void 0:d.contains(s))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()}})}),d4=c.forwardRef((e,n)=>{const{__scopePopover:t,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEscapeKeyDown:i,onPointerDownOutside:l,onFocusOutside:d,onInteractOutside:f,...h}=e,g=Fn(Zr,t),C=_o(t);return x1(),u.jsx(ho,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a,children:u.jsx(jn,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:f,onEscapeKeyDown:i,onPointerDownOutside:l,onFocusOutside:d,onDismiss:()=>g.onOpenChange(!1),children:u.jsx(_1,{"data-state":g4(g.open),role:"dialog",id:g.contentId,...C,...h,ref:n,style:{...h.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),f4="PopoverClose",h4=c.forwardRef((e,n)=>{const{__scopePopover:t,...r}=e,o=Fn(f4,t);return u.jsx(ie.button,{type:"button",...r,ref:n,onClick:ee(e.onClick,()=>o.onOpenChange(!1))})});h4.displayName=f4;var kS="PopoverArrow",PS=c.forwardRef((e,n)=>{const{__scopePopover:t,...r}=e,o=_o(t);return u.jsx(V1,{...o,...r,ref:n})});PS.displayName=kS;function g4(e){return e?"open":"closed"}var IS=o4,p4=s4,OS=l4,TS=c4,C4=u4,DS=h4;const $n=IS,zn=OS,_S=DS,m4=p4;m4.displayName=p4.displayName;const gn=c.forwardRef(({className:e,align:n="center",sideOffset:t=4,container:r,...o},a)=>u.jsx(TS,{container:r,children:u.jsx(C4,{ref:a,align:n,sideOffset:t,className:P("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o})}));gn.displayName=C4.displayName;const yl=e=>(e==null?void 0:e.closest('[role="dialog"]'))??null;function v4({className:e,locale:n,iconClassName:t,...r}){const o={...r,value:r.value??void 0},{t:a}=ot(),s=c.useRef(null),[i,l]=c.useState(""),[d,f]=c.useState(!1),[h,g]=c.useState(!1),[C,v]=c.useState(null),p=c.useCallback(D=>{v(yl(D))},[]),m="placeholder"in o?o.placeholder:void 0,w="innerLabel"in o?o.innerLabel:void 0,y=()=>n||((navigator.language||navigator.languages[0]).includes("ru")?Cl:Ma),b=(D,T)=>D.getFullYear()===T.getFullYear()&&D.getMonth()===T.getMonth()&&D.getDate()===T.getDate(),S=()=>{const D=o.selected||o.value;if(D instanceof Date)return D;if(typeof D=="string"&&D)return new Date(D)},E=c.useCallback(()=>{var D;switch(o.mode){case"single":return o.value?La(o.value):"";case"multiple":return(D=o.value)!=null&&D.length?o.value.map(La).join(", "):"";case"range":{const T=o.selected||o.value;if(!(T!=null&&T.from))return"";const N=T!=null&&T.to?" — "+La(T.to):"";return La(T.from)+N}default:return""}},[o.mode,o.value,o.selected]),M=()=>{switch(o.mode){case"single":return"__.__.__";case"multiple":return"__.__.__, __.__.__";case"range":return"__.__.__ — __.__.__";default:return"__.__.__"}},L=()=>{var D;switch(o.mode){case"single":return!!o.value;case"multiple":return!!((D=o.value)!=null&&D.length&&o.value.length>0);case"range":{const T=o.selected||o.value;return!!(T!=null&&T.from)}}},I=()=>{if(o.readOnly)return;f(!0),g(!0);const D=E();D?l(D):(l(M()),setTimeout(()=>{s.current&&s.current.select()},0))},O=D=>{if(o.readOnly)return;const T=D.target.value;if(T===M()){l("");return}let N="";switch(o.mode){case"single":N=To(T);break;case"multiple":N=vS(T);break;case"range":N=wS(T);break}l(N)},_=()=>{if(!o.onChange||i.trim()===""||i===M()){l(E());return}const D=E();if(i===D)return;const T={};switch(o.mode){case"single":{const N=Do(i);if(N){const H=S();if(H&&b(H,N)){l(E());break}const W=o.onChange;W(N,N,{},T)}else l("");break}case"multiple":{const N=yS(i);if(N.length>0){const H=o.onChange;H(N,new Date,{},T)}else l("");break}case"range":{const N=bS(i);if(N&&N.from){const H=o.onChange,W={from:N.from,to:N.to};H(W,N.from,{},T)}else l("");break}}},V=()=>{h||(f(!1),_())},$=D=>{if(D.stopPropagation(),!o.readOnly){if(l(""),f(!1),o.onRemoveClick){o.onRemoveClick();return}if(o.onChange)switch(o.mode){case"single":{const T=o.onChange;T(void 0,new Date,{},D);break}case"multiple":{const T=o.onChange;T([],new Date,{},D);break}case"range":{const T=o.onChange;T({from:void 0,to:void 0},new Date,{},D);break}}}},j=D=>(T,N,H,W)=>{if(!D)return;const A=o.selected||o.value;if(T===void 0&&A&&N&&A instanceof Date){const Y=new Date(A.getFullYear(),A.getMonth(),A.getDate()),X=new Date(N.getFullYear(),N.getMonth(),N.getDate());if(Y.getTime()===X.getTime())return}D(T,N,H,W)},F=D=>(T,N,H,W)=>{if(!D||!N)return;const A=o.selected||o.value;if(A&&typeof A=="object"&&"from"in A){const Y=A;if(!Y.from)D({from:N,to:void 0},N,H,W);else if(Y.to)D({from:N,to:void 0},N,H,W);else{const X=N<Y.from?{from:N,to:Y.from}:{from:Y.from,to:N};D(X,N,H,W)}}else D({from:N,to:void 0},N,H,W)},R={...o,selected:o.selected||o.value,onSelect:o.onSelect||(o.mode==="single"?j(o.onChange):o.mode==="range"?F(o.onChange):o.onChange)},Z=D=>{g(D),!D&&d&&(f(!1),_())};c.useEffect(()=>{const D=E();d?h&&D&&l(D):l(D)},[o.value,o.selected,o.mode,d,h,E]);const K=d?i:L()?E():"",q=M(),G=m||a("selectDate"),oe=!L()&&!d?w?"":G:"",U=!!C;return u.jsxs($n,{modal:!U,open:h,onOpenChange:Z,children:[u.jsx(zn,{asChild:!0,children:u.jsxs(_e,{ref:p,variant:"fade-contrast-outlined",size:"sm",className:P("justify-start text-left font-normal px-3 text-sm focus-visible:outline-none focus-visible:border-line-focused data-[state=open]:border-line-focused w-full min-w-0 overflow-hidden",!L()&&!d&&"text-foreground-secondary",o.error?"border-line-error focus-visible:border-line-error":"",e,o.readOnly&&"cursor-not-allowed pointer-events-none opacity-95"),onClick:()=>{var D;o.readOnly||(g(!0),(D=s.current)==null||D.focus())},children:[u.jsxs("div",{className:"flex min-w-0 flex-1 items-center overflow-hidden",onClick:D=>{var T;D.stopPropagation(),o.readOnly||(g(!0),(T=s.current)==null||T.focus())},children:[w&&u.jsxs("span",{className:"text-foreground-secondary font-normal mr-1 whitespace-nowrap",children:[w,":"]}),u.jsxs("div",{className:"inline-grid [grid-template-areas:'stack'] min-w-[20px] flex-1 items-center overflow-hidden",children:[(d||L())&&u.jsx("span",{"aria-hidden":"true",className:"[grid-area:stack] invisible whitespace-pre px-0 py-0 text-sm font-normal tracking-[0.1px] leading-5 pointer-events-none",children:q}),!w&&G&&u.jsx("span",{"aria-hidden":"true",className:"[grid-area:stack] invisible whitespace-pre px-0 py-0 text-sm font-normal tracking-[0.1px] leading-5 pointer-events-none",children:G}),u.jsx(en,{ref:s,type:"text",value:K,onChange:O,onFocus:I,onBlur:V,placeholder:oe,className:"[grid-area:stack] min-w-0 h-auto border-none !p-0 !bg-transparent truncate",readOnly:o.readOnly})]})]}),(o.showReset||o.onRemoveClick)&&L()?u.jsx("div",{className:P("flex items-center justify-center w-6 h-6 shrink-0 cursor-pointer ml-auto",o.readOnly&&"cursor-not-allowed opacity-50"),onClick:$,children:u.jsx(J1,{className:"w-6 h-6 text-icon-fade-contrast"})}):u.jsx(ml,{className:P("ml-auto text-foreground-secondary",t)})]})}),u.jsx(gn,{container:C,className:"w-auto p-0 rounded-lg",children:u.jsx(aa,{className:"bg-background rounded-lg",locale:y(),...R,initialFocus:!0})})]})}var bl="rovingFocusGroup.onEntryFocus",VS={bubbles:!1,cancelable:!0},Vo="RovingFocusGroup",[xl,w4,HS]=b1(Vo),[AS,Br]=it(Vo,[HS]),[FS,$S]=AS(Vo),y4=c.forwardRef((e,n)=>u.jsx(xl.Provider,{scope:e.__scopeRovingFocusGroup,children:u.jsx(xl.Slot,{scope:e.__scopeRovingFocusGroup,children:u.jsx(zS,{...e,ref:n})})}));y4.displayName=Vo;var zS=c.forwardRef((e,n)=>{const{__scopeRovingFocusGroup:t,orientation:r,loop:o=!1,dir:a,currentTabStopId:s,defaultCurrentTabStopId:i,onCurrentTabStopIdChange:l,onEntryFocus:d,preventScrollOnEntryFocus:f=!1,...h}=e,g=c.useRef(null),C=ye(n,g),v=br(a),[p,m]=wt({prop:s,defaultProp:i??null,onChange:l,caller:Vo}),[w,y]=c.useState(!1),b=Ge(d),S=w4(t),E=c.useRef(!1),[M,L]=c.useState(0);return c.useEffect(()=>{const I=g.current;if(I)return I.addEventListener(bl,b),()=>I.removeEventListener(bl,b)},[b]),u.jsx(FS,{scope:t,orientation:r,dir:v,loop:o,currentTabStopId:p,onItemFocus:c.useCallback(I=>m(I),[m]),onItemShiftTab:c.useCallback(()=>y(!0),[]),onFocusableItemAdd:c.useCallback(()=>L(I=>I+1),[]),onFocusableItemRemove:c.useCallback(()=>L(I=>I-1),[]),children:u.jsx(ie.div,{tabIndex:w||M===0?-1:0,"data-orientation":r,...h,ref:C,style:{outline:"none",...e.style},onMouseDown:ee(e.onMouseDown,()=>{E.current=!0}),onFocus:ee(e.onFocus,I=>{const O=!E.current;if(I.target===I.currentTarget&&O&&!w){const _=new CustomEvent(bl,VS);if(I.currentTarget.dispatchEvent(_),!_.defaultPrevented){const V=S().filter(Z=>Z.focusable),$=V.find(Z=>Z.active),j=V.find(Z=>Z.id===p),R=[$,j,...V].filter(Boolean).map(Z=>Z.ref.current);S4(R,f)}}E.current=!1}),onBlur:ee(e.onBlur,()=>y(!1))})})}),b4="RovingFocusGroupItem",x4=c.forwardRef((e,n)=>{const{__scopeRovingFocusGroup:t,focusable:r=!0,active:o=!1,tabStopId:a,children:s,...i}=e,l=Ye(),d=a||l,f=$S(b4,t),h=f.currentTabStopId===d,g=w4(t),{onFocusableItemAdd:C,onFocusableItemRemove:v,currentTabStopId:p}=f;return c.useEffect(()=>{if(r)return C(),()=>v()},[r,C,v]),u.jsx(xl.ItemSlot,{scope:t,id:d,focusable:r,active:o,children:u.jsx(ie.span,{tabIndex:h?0:-1,"data-orientation":f.orientation,...i,ref:n,onMouseDown:ee(e.onMouseDown,m=>{r?f.onItemFocus(d):m.preventDefault()}),onFocus:ee(e.onFocus,()=>f.onItemFocus(d)),onKeyDown:ee(e.onKeyDown,m=>{if(m.key==="Tab"&&m.shiftKey){f.onItemShiftTab();return}if(m.target!==m.currentTarget)return;const w=WS(m,f.orientation,f.dir);if(w!==void 0){if(m.metaKey||m.ctrlKey||m.altKey||m.shiftKey)return;m.preventDefault();let b=g().filter(S=>S.focusable).map(S=>S.ref.current);if(w==="last")b.reverse();else if(w==="prev"||w==="next"){w==="prev"&&b.reverse();const S=b.indexOf(m.currentTarget);b=f.loop?GS(b,S+1):b.slice(S+1)}setTimeout(()=>S4(b))}}),children:typeof s=="function"?s({isCurrentTabStop:h,hasTabStop:p!=null}):s})})});x4.displayName=b4;var ZS={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function BS(e,n){return n!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function WS(e,n,t){const r=BS(e.key,t);if(!(n==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(n==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return ZS[r]}function S4(e,n=!1){const t=document.activeElement;for(const r of e)if(r===t||(r.focus({preventScroll:n}),document.activeElement!==t))return}function GS(e,n){return e.map((t,r)=>e[(n+r)%e.length])}var Sl=y4,Ml=x4,El=["Enter"," "],RS=["ArrowDown","PageUp","Home"],M4=["ArrowUp","PageDown","End"],jS=[...RS,...M4],YS={ltr:[...El,"ArrowRight"],rtl:[...El,"ArrowLeft"]},qS={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Ho="Menu",[Ao,US,XS]=b1(Ho),[nr,E4]=it(Ho,[XS,Nn,Br]),Fo=Nn(),L4=Br(),[N4,Zn]=nr(Ho),[KS,$o]=nr(Ho),k4=e=>{const{__scopeMenu:n,open:t=!1,children:r,dir:o,onOpenChange:a,modal:s=!0}=e,i=Fo(n),[l,d]=c.useState(null),f=c.useRef(!1),h=Ge(a),g=br(o);return c.useEffect(()=>{const C=()=>{f.current=!0,document.addEventListener("pointerdown",v,{capture:!0,once:!0}),document.addEventListener("pointermove",v,{capture:!0,once:!0})},v=()=>f.current=!1;return document.addEventListener("keydown",C,{capture:!0}),()=>{document.removeEventListener("keydown",C,{capture:!0}),document.removeEventListener("pointerdown",v,{capture:!0}),document.removeEventListener("pointermove",v,{capture:!0})}},[]),u.jsx(Co,{...i,children:u.jsx(N4,{scope:n,open:t,onOpenChange:h,content:l,onContentChange:d,children:u.jsx(KS,{scope:n,onClose:c.useCallback(()=>h(!1),[h]),isUsingKeyboardRef:f,dir:g,modal:s,children:r})})})};k4.displayName=Ho;var QS="MenuAnchor",Ll=c.forwardRef((e,n)=>{const{__scopeMenu:t,...r}=e,o=Fo(t);return u.jsx(mo,{...o,...r,ref:n})});Ll.displayName=QS;var Nl="MenuPortal",[JS,P4]=nr(Nl,{forceMount:void 0}),I4=e=>{const{__scopeMenu:n,forceMount:t,children:r,container:o}=e,a=Zn(Nl,n);return u.jsx(JS,{scope:n,forceMount:t,children:u.jsx(qe,{present:t||a.open,children:u.jsx(kn,{asChild:!0,container:o,children:r})})})};I4.displayName=Nl;var kt="MenuContent",[eM,kl]=nr(kt),O4=c.forwardRef((e,n)=>{const t=P4(kt,e.__scopeMenu),{forceMount:r=t.forceMount,...o}=e,a=Zn(kt,e.__scopeMenu),s=$o(kt,e.__scopeMenu);return u.jsx(Ao.Provider,{scope:e.__scopeMenu,children:u.jsx(qe,{present:r||a.open,children:u.jsx(Ao.Slot,{scope:e.__scopeMenu,children:s.modal?u.jsx(tM,{...o,ref:n}):u.jsx(nM,{...o,ref:n})})})})}),tM=c.forwardRef((e,n)=>{const t=Zn(kt,e.__scopeMenu),r=c.useRef(null),o=ye(n,r);return c.useEffect(()=>{const a=r.current;if(a)return z1(a)},[]),u.jsx(Pl,{...e,ref:o,trapFocus:t.open,disableOutsidePointerEvents:t.open,disableOutsideScroll:!0,onFocusOutside:ee(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>t.onOpenChange(!1)})}),nM=c.forwardRef((e,n)=>{const t=Zn(kt,e.__scopeMenu);return u.jsx(Pl,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>t.onOpenChange(!1)})}),rM=bn("MenuContent.ScrollLock"),Pl=c.forwardRef((e,n)=>{const{__scopeMenu:t,loop:r=!1,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:s,disableOutsidePointerEvents:i,onEntryFocus:l,onEscapeKeyDown:d,onPointerDownOutside:f,onFocusOutside:h,onInteractOutside:g,onDismiss:C,disableOutsideScroll:v,...p}=e,m=Zn(kt,t),w=$o(kt,t),y=Fo(t),b=L4(t),S=US(t),[E,M]=c.useState(null),L=c.useRef(null),I=ye(n,L,m.onContentChange),O=c.useRef(0),_=c.useRef(""),V=c.useRef(0),$=c.useRef(null),j=c.useRef("right"),F=c.useRef(0),R=v?vo:c.Fragment,Z=v?{as:rM,allowPinchZoom:!0}:void 0,K=G=>{var A,Y;const oe=_.current+G,U=S().filter(X=>!X.disabled),D=document.activeElement,T=(A=U.find(X=>X.ref.current===D))==null?void 0:A.textValue,N=U.map(X=>X.textValue),H=pM(N,oe,T),W=(Y=U.find(X=>X.textValue===H))==null?void 0:Y.ref.current;(function X(J){_.current=J,window.clearTimeout(O.current),J!==""&&(O.current=window.setTimeout(()=>X(""),1e3))})(oe),W&&setTimeout(()=>W.focus())};c.useEffect(()=>()=>window.clearTimeout(O.current),[]),x1();const q=c.useCallback(G=>{var U,D;return j.current===((U=$.current)==null?void 0:U.side)&&mM(G,(D=$.current)==null?void 0:D.area)},[]);return u.jsx(eM,{scope:t,searchRef:_,onItemEnter:c.useCallback(G=>{q(G)&&G.preventDefault()},[q]),onItemLeave:c.useCallback(G=>{var oe;q(G)||((oe=L.current)==null||oe.focus(),M(null))},[q]),onTriggerLeave:c.useCallback(G=>{q(G)&&G.preventDefault()},[q]),pointerGraceTimerRef:V,onPointerGraceIntentChange:c.useCallback(G=>{$.current=G},[]),children:u.jsx(R,{...Z,children:u.jsx(ho,{asChild:!0,trapped:o,onMountAutoFocus:ee(a,G=>{var oe;G.preventDefault(),(oe=L.current)==null||oe.focus({preventScroll:!0})}),onUnmountAutoFocus:s,children:u.jsx(jn,{asChild:!0,disableOutsidePointerEvents:i,onEscapeKeyDown:d,onPointerDownOutside:f,onFocusOutside:h,onInteractOutside:g,onDismiss:C,children:u.jsx(Sl,{asChild:!0,...b,dir:w.dir,orientation:"vertical",loop:r,currentTabStopId:E,onCurrentTabStopIdChange:M,onEntryFocus:ee(l,G=>{w.isUsingKeyboardRef.current||G.preventDefault()}),preventScrollOnEntryFocus:!0,children:u.jsx(_1,{role:"menu","aria-orientation":"vertical","data-state":U4(m.open),"data-radix-menu-content":"",dir:w.dir,...y,...p,ref:I,style:{outline:"none",...p.style},onKeyDown:ee(p.onKeyDown,G=>{const U=G.target.closest("[data-radix-menu-content]")===G.currentTarget,D=G.ctrlKey||G.altKey||G.metaKey,T=G.key.length===1;U&&(G.key==="Tab"&&G.preventDefault(),!D&&T&&K(G.key));const N=L.current;if(G.target!==N||!jS.includes(G.key))return;G.preventDefault();const W=S().filter(A=>!A.disabled).map(A=>A.ref.current);M4.includes(G.key)&&W.reverse(),hM(W)}),onBlur:ee(e.onBlur,G=>{G.currentTarget.contains(G.target)||(window.clearTimeout(O.current),_.current="")}),onPointerMove:ee(e.onPointerMove,Zo(G=>{const oe=G.target,U=F.current!==G.clientX;if(G.currentTarget.contains(oe)&&U){const D=G.clientX>F.current?"right":"left";j.current=D,F.current=G.clientX}}))})})})})})})});O4.displayName=kt;var oM="MenuGroup",Il=c.forwardRef((e,n)=>{const{__scopeMenu:t,...r}=e;return u.jsx(ie.div,{role:"group",...r,ref:n})});Il.displayName=oM;var aM="MenuLabel",T4=c.forwardRef((e,n)=>{const{__scopeMenu:t,...r}=e;return u.jsx(ie.div,{...r,ref:n})});T4.displayName=aM;var ka="MenuItem",D4="menu.itemSelect",Pa=c.forwardRef((e,n)=>{const{disabled:t=!1,onSelect:r,...o}=e,a=c.useRef(null),s=$o(ka,e.__scopeMenu),i=kl(ka,e.__scopeMenu),l=ye(n,a),d=c.useRef(!1),f=()=>{const h=a.current;if(!t&&h){const g=new CustomEvent(D4,{bubbles:!0,cancelable:!0});h.addEventListener(D4,C=>r==null?void 0:r(C),{once:!0}),Vs(h,g),g.defaultPrevented?d.current=!1:s.onClose()}};return u.jsx(_4,{...o,ref:l,disabled:t,onClick:ee(e.onClick,f),onPointerDown:h=>{var g;(g=e.onPointerDown)==null||g.call(e,h),d.current=!0},onPointerUp:ee(e.onPointerUp,h=>{var g;d.current||(g=h.currentTarget)==null||g.click()}),onKeyDown:ee(e.onKeyDown,h=>{const g=i.searchRef.current!=="";t||g&&h.key===" "||El.includes(h.key)&&(h.currentTarget.click(),h.preventDefault())})})});Pa.displayName=ka;var _4=c.forwardRef((e,n)=>{const{__scopeMenu:t,disabled:r=!1,textValue:o,...a}=e,s=kl(ka,t),i=L4(t),l=c.useRef(null),d=ye(n,l),[f,h]=c.useState(!1),[g,C]=c.useState("");return c.useEffect(()=>{const v=l.current;v&&C((v.textContent??"").trim())},[a.children]),u.jsx(Ao.ItemSlot,{scope:t,disabled:r,textValue:o??g,children:u.jsx(Ml,{asChild:!0,...i,focusable:!r,children:u.jsx(ie.div,{role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...a,ref:d,onPointerMove:ee(e.onPointerMove,Zo(v=>{r?s.onItemLeave(v):(s.onItemEnter(v),v.defaultPrevented||v.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:ee(e.onPointerLeave,Zo(v=>s.onItemLeave(v))),onFocus:ee(e.onFocus,()=>h(!0)),onBlur:ee(e.onBlur,()=>h(!1))})})})}),sM="MenuCheckboxItem",V4=c.forwardRef((e,n)=>{const{checked:t=!1,onCheckedChange:r,...o}=e;return u.jsx(z4,{scope:e.__scopeMenu,checked:t,children:u.jsx(Pa,{role:"menuitemcheckbox","aria-checked":Ia(t)?"mixed":t,...o,ref:n,"data-state":Dl(t),onSelect:ee(o.onSelect,()=>r==null?void 0:r(Ia(t)?!0:!t),{checkForDefaultPrevented:!1})})})});V4.displayName=sM;var H4="MenuRadioGroup",[iM,lM]=nr(H4,{value:void 0,onValueChange:()=>{}}),A4=c.forwardRef((e,n)=>{const{value:t,onValueChange:r,...o}=e,a=Ge(r);return u.jsx(iM,{scope:e.__scopeMenu,value:t,onValueChange:a,children:u.jsx(Il,{...o,ref:n})})});A4.displayName=H4;var F4="MenuRadioItem",$4=c.forwardRef((e,n)=>{const{value:t,...r}=e,o=lM(F4,e.__scopeMenu),a=t===o.value;return u.jsx(z4,{scope:e.__scopeMenu,checked:a,children:u.jsx(Pa,{role:"menuitemradio","aria-checked":a,...r,ref:n,"data-state":Dl(a),onSelect:ee(r.onSelect,()=>{var s;return(s=o.onValueChange)==null?void 0:s.call(o,t)},{checkForDefaultPrevented:!1})})})});$4.displayName=F4;var Ol="MenuItemIndicator",[z4,cM]=nr(Ol,{checked:!1}),Z4=c.forwardRef((e,n)=>{const{__scopeMenu:t,forceMount:r,...o}=e,a=cM(Ol,t);return u.jsx(qe,{present:r||Ia(a.checked)||a.checked===!0,children:u.jsx(ie.span,{...o,ref:n,"data-state":Dl(a.checked)})})});Z4.displayName=Ol;var uM="MenuSeparator",B4=c.forwardRef((e,n)=>{const{__scopeMenu:t,...r}=e;return u.jsx(ie.div,{role:"separator","aria-orientation":"horizontal",...r,ref:n})});B4.displayName=uM;var dM="MenuArrow",W4=c.forwardRef((e,n)=>{const{__scopeMenu:t,...r}=e,o=Fo(t);return u.jsx(V1,{...o,...r,ref:n})});W4.displayName=dM;var Tl="MenuSub",[fM,G4]=nr(Tl),R4=e=>{const{__scopeMenu:n,children:t,open:r=!1,onOpenChange:o}=e,a=Zn(Tl,n),s=Fo(n),[i,l]=c.useState(null),[d,f]=c.useState(null),h=Ge(o);return c.useEffect(()=>(a.open===!1&&h(!1),()=>h(!1)),[a.open,h]),u.jsx(Co,{...s,children:u.jsx(N4,{scope:n,open:r,onOpenChange:h,content:d,onContentChange:f,children:u.jsx(fM,{scope:n,contentId:Ye(),triggerId:Ye(),trigger:i,onTriggerChange:l,children:t})})})};R4.displayName=Tl;var zo="MenuSubTrigger",j4=c.forwardRef((e,n)=>{const t=Zn(zo,e.__scopeMenu),r=$o(zo,e.__scopeMenu),o=G4(zo,e.__scopeMenu),a=kl(zo,e.__scopeMenu),s=c.useRef(null),{pointerGraceTimerRef:i,onPointerGraceIntentChange:l}=a,d={__scopeMenu:e.__scopeMenu},f=c.useCallback(()=>{s.current&&window.clearTimeout(s.current),s.current=null},[]);return c.useEffect(()=>f,[f]),c.useEffect(()=>{const h=i.current;return()=>{window.clearTimeout(h),l(null)}},[i,l]),u.jsx(Ll,{asChild:!0,...d,children:u.jsx(_4,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":t.open,"aria-controls":o.contentId,"data-state":U4(t.open),...e,ref:an(n,o.onTriggerChange),onClick:h=>{var g;(g=e.onClick)==null||g.call(e,h),!(e.disabled||h.defaultPrevented)&&(h.currentTarget.focus(),t.open||t.onOpenChange(!0))},onPointerMove:ee(e.onPointerMove,Zo(h=>{a.onItemEnter(h),!h.defaultPrevented&&!e.disabled&&!t.open&&!s.current&&(a.onPointerGraceIntentChange(null),s.current=window.setTimeout(()=>{t.onOpenChange(!0),f()},100))})),onPointerLeave:ee(e.onPointerLeave,Zo(h=>{var C,v;f();const g=(C=t.content)==null?void 0:C.getBoundingClientRect();if(g){const p=(v=t.content)==null?void 0:v.dataset.side,m=p==="right",w=m?-5:5,y=g[m?"left":"right"],b=g[m?"right":"left"];a.onPointerGraceIntentChange({area:[{x:h.clientX+w,y:h.clientY},{x:y,y:g.top},{x:b,y:g.top},{x:b,y:g.bottom},{x:y,y:g.bottom}],side:p}),window.clearTimeout(i.current),i.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(h),h.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:ee(e.onKeyDown,h=>{var C;const g=a.searchRef.current!=="";e.disabled||g&&h.key===" "||YS[r.dir].includes(h.key)&&(t.onOpenChange(!0),(C=t.content)==null||C.focus(),h.preventDefault())})})})});j4.displayName=zo;var Y4="MenuSubContent",q4=c.forwardRef((e,n)=>{const t=P4(kt,e.__scopeMenu),{forceMount:r=t.forceMount,...o}=e,a=Zn(kt,e.__scopeMenu),s=$o(kt,e.__scopeMenu),i=G4(Y4,e.__scopeMenu),l=c.useRef(null),d=ye(n,l);return u.jsx(Ao.Provider,{scope:e.__scopeMenu,children:u.jsx(qe,{present:r||a.open,children:u.jsx(Ao.Slot,{scope:e.__scopeMenu,children:u.jsx(Pl,{id:i.contentId,"aria-labelledby":i.triggerId,...o,ref:d,align:"start",side:s.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:f=>{var h;s.isUsingKeyboardRef.current&&((h=l.current)==null||h.focus()),f.preventDefault()},onCloseAutoFocus:f=>f.preventDefault(),onFocusOutside:ee(e.onFocusOutside,f=>{f.target!==i.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:ee(e.onEscapeKeyDown,f=>{s.onClose(),f.preventDefault()}),onKeyDown:ee(e.onKeyDown,f=>{var C;const h=f.currentTarget.contains(f.target),g=qS[s.dir].includes(f.key);h&&g&&(a.onOpenChange(!1),(C=i.trigger)==null||C.focus(),f.preventDefault())})})})})})});q4.displayName=Y4;function U4(e){return e?"open":"closed"}function Ia(e){return e==="indeterminate"}function Dl(e){return Ia(e)?"indeterminate":e?"checked":"unchecked"}function hM(e){const n=document.activeElement;for(const t of e)if(t===n||(t.focus(),document.activeElement!==n))return}function gM(e,n){return e.map((t,r)=>e[(n+r)%e.length])}function pM(e,n,t){const o=n.length>1&&Array.from(n).every(d=>d===n[0])?n[0]:n,a=t?e.indexOf(t):-1;let s=gM(e,Math.max(a,0));o.length===1&&(s=s.filter(d=>d!==t));const l=s.find(d=>d.toLowerCase().startsWith(o.toLowerCase()));return l!==t?l:void 0}function CM(e,n){const{x:t,y:r}=e;let o=!1;for(let a=0,s=n.length-1;a<n.length;s=a++){const i=n[a],l=n[s],d=i.x,f=i.y,h=l.x,g=l.y;f>r!=g>r&&t<(h-d)*(r-f)/(g-f)+d&&(o=!o)}return o}function mM(e,n){if(!n)return!1;const t={x:e.clientX,y:e.clientY};return CM(t,n)}function Zo(e){return n=>n.pointerType==="mouse"?e(n):void 0}var vM=k4,wM=Ll,yM=I4,bM=O4,xM=Il,SM=T4,MM=Pa,EM=V4,LM=A4,NM=$4,kM=Z4,PM=B4,IM=W4,OM=R4,TM=j4,DM=q4,Oa="DropdownMenu",[_M]=it(Oa,[E4]),ht=E4(),[VM,X4]=_M(Oa),K4=e=>{const{__scopeDropdownMenu:n,children:t,dir:r,open:o,defaultOpen:a,onOpenChange:s,modal:i=!0}=e,l=ht(n),d=c.useRef(null),[f,h]=wt({prop:o,defaultProp:a??!1,onChange:s,caller:Oa});return u.jsx(VM,{scope:n,triggerId:Ye(),triggerRef:d,contentId:Ye(),open:f,onOpenChange:h,onOpenToggle:c.useCallback(()=>h(g=>!g),[h]),modal:i,children:u.jsx(vM,{...l,open:f,onOpenChange:h,dir:r,modal:i,children:t})})};K4.displayName=Oa;var Q4="DropdownMenuTrigger",J4=c.forwardRef((e,n)=>{const{__scopeDropdownMenu:t,disabled:r=!1,...o}=e,a=X4(Q4,t),s=ht(t);return u.jsx(wM,{asChild:!0,...s,children:u.jsx(ie.button,{type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...o,ref:an(n,a.triggerRef),onPointerDown:ee(e.onPointerDown,i=>{!r&&i.button===0&&i.ctrlKey===!1&&(a.onOpenToggle(),a.open||i.preventDefault())}),onKeyDown:ee(e.onKeyDown,i=>{r||(["Enter"," "].includes(i.key)&&a.onOpenToggle(),i.key==="ArrowDown"&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(i.key)&&i.preventDefault())})})})});J4.displayName=Q4;var HM="DropdownMenuPortal",e3=e=>{const{__scopeDropdownMenu:n,...t}=e,r=ht(n);return u.jsx(yM,{...r,...t})};e3.displayName=HM;var t3="DropdownMenuContent",n3=c.forwardRef((e,n)=>{const{__scopeDropdownMenu:t,...r}=e,o=X4(t3,t),a=ht(t),s=c.useRef(!1);return u.jsx(bM,{id:o.contentId,"aria-labelledby":o.triggerId,...a,...r,ref:n,onCloseAutoFocus:ee(e.onCloseAutoFocus,i=>{var l;s.current||(l=o.triggerRef.current)==null||l.focus(),s.current=!1,i.preventDefault()}),onInteractOutside:ee(e.onInteractOutside,i=>{const l=i.detail.originalEvent,d=l.button===0&&l.ctrlKey===!0,f=l.button===2||d;(!o.modal||f)&&(s.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});n3.displayName=t3;var AM="DropdownMenuGroup",r3=c.forwardRef((e,n)=>{const{__scopeDropdownMenu:t,...r}=e,o=ht(t);return u.jsx(xM,{...o,...r,ref:n})});r3.displayName=AM;var FM="DropdownMenuLabel",o3=c.forwardRef((e,n)=>{const{__scopeDropdownMenu:t,...r}=e,o=ht(t);return u.jsx(SM,{...o,...r,ref:n})});o3.displayName=FM;var $M="DropdownMenuItem",a3=c.forwardRef((e,n)=>{const{__scopeDropdownMenu:t,...r}=e,o=ht(t);return u.jsx(MM,{...o,...r,ref:n})});a3.displayName=$M;var zM="DropdownMenuCheckboxItem",s3=c.forwardRef((e,n)=>{const{__scopeDropdownMenu:t,...r}=e,o=ht(t);return u.jsx(EM,{...o,...r,ref:n})});s3.displayName=zM;var ZM="DropdownMenuRadioGroup",i3=c.forwardRef((e,n)=>{const{__scopeDropdownMenu:t,...r}=e,o=ht(t);return u.jsx(LM,{...o,...r,ref:n})});i3.displayName=ZM;var BM="DropdownMenuRadioItem",l3=c.forwardRef((e,n)=>{const{__scopeDropdownMenu:t,...r}=e,o=ht(t);return u.jsx(NM,{...o,...r,ref:n})});l3.displayName=BM;var WM="DropdownMenuItemIndicator",c3=c.forwardRef((e,n)=>{const{__scopeDropdownMenu:t,...r}=e,o=ht(t);return u.jsx(kM,{...o,...r,ref:n})});c3.displayName=WM;var GM="DropdownMenuSeparator",u3=c.forwardRef((e,n)=>{const{__scopeDropdownMenu:t,...r}=e,o=ht(t);return u.jsx(PM,{...o,...r,ref:n})});u3.displayName=GM;var RM="DropdownMenuArrow",jM=c.forwardRef((e,n)=>{const{__scopeDropdownMenu:t,...r}=e,o=ht(t);return u.jsx(IM,{...o,...r,ref:n})});jM.displayName=RM;var YM=e=>{const{__scopeDropdownMenu:n,children:t,open:r,onOpenChange:o,defaultOpen:a}=e,s=ht(n),[i,l]=wt({prop:r,defaultProp:a??!1,onChange:o,caller:"DropdownMenuSub"});return u.jsx(OM,{...s,open:i,onOpenChange:l,children:t})},qM="DropdownMenuSubTrigger",d3=c.forwardRef((e,n)=>{const{__scopeDropdownMenu:t,...r}=e,o=ht(t);return u.jsx(TM,{...o,...r,ref:n})});d3.displayName=qM;var UM="DropdownMenuSubContent",f3=c.forwardRef((e,n)=>{const{__scopeDropdownMenu:t,...r}=e,o=ht(t);return u.jsx(DM,{...o,...r,ref:n,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});f3.displayName=UM;var XM=K4,h3=J4,g3=e3,p3=n3,KM=r3,C3=o3,m3=a3,v3=s3,QM=i3,w3=l3,y3=c3,b3=u3,JM=YM,x3=d3,S3=f3;const _l=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M12 8C13.1 8 14 7.1 14 6C14 4.9 13.1 4 12 4C10.9 4 10 4.9 10 6C10 7.1 10.9 8 12 8ZM12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10ZM12 16C10.9 16 10 16.9 10 18C10 19.1 10.9 20 12 20C13.1 20 14 19.1 14 18C14 16.9 13.1 16 12 16Z",fill:"currentColor"})),Ta=XM,Bo=c.forwardRef(({className:e,...n},t)=>u.jsx(h3,{ref:t,className:P("outline-none",e),...n}));Bo.displayName=h3.displayName;const eE=KM,tE=g3,nE=JM,rE=QM,M3=c.forwardRef(({className:e,inset:n,children:t,...r},o)=>u.jsxs(x3,{ref:o,className:P("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-background-theme data-[state=open]:bg-background-theme",n&&"pl-8",e),...r,children:[t,u.jsx(t5,{className:"ml-auto h-4 w-4"})]}));M3.displayName=x3.displayName;const E3=c.forwardRef(({className:e,...n},t)=>u.jsx(S3,{ref:t,className:P("z-50 min-w-[8rem] overflow-hidden rounded-md border border-line-primary bg-background p-1 text-foreground 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));E3.displayName=S3.displayName;const Wo=c.forwardRef(({className:e,sideOffset:n=4,...t},r)=>u.jsx(g3,{children:u.jsx(p3,{ref:r,sideOffset:n,className:P("z-50 min-w-[8rem] overflow-hidden rounded-lg border border-line-primary bg-background py-1 text-foreground 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t})}));Wo.displayName=p3.displayName;const rr=c.forwardRef(({className:e,inset:n,...t},r)=>u.jsx(m3,{ref:r,className:P("relative flex cursor-default select-none items-center gap-2 pl-4 pr-3 py-2 text-sm outline-none transition-colors focus:bg-background-theme-fade focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n&&"pl-8",e),...t,onClick:o=>{var a;o.stopPropagation(),(a=t.onClick)==null||a.call(t,o)}}));rr.displayName=m3.displayName;const L3=c.forwardRef(({className:e,children:n,checked:t,...r},o)=>u.jsxs(v3,{ref:o,className:P("relative flex cursor-default select-none items-center py-2 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:t,...r,children:[u.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:u.jsx(y3,{children:u.jsx(pi,{className:"h-4 w-4"})})}),n]}));L3.displayName=v3.displayName;const N3=c.forwardRef(({className:e,children:n,...t},r)=>u.jsxs(w3,{ref:r,className:P("relative flex cursor-default select-none items-center py-2 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...t,children:[u.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:u.jsx(y3,{children:u.jsx(n5,{className:"h-2 w-2 fill-current"})})}),n]}));N3.displayName=w3.displayName;const k3=c.forwardRef(({className:e,inset:n,...t},r)=>u.jsx(C3,{ref:r,className:P("px-2 py-1.5 text-sm font-semibold",n&&"pl-8",e),...t}));k3.displayName=C3.displayName;const P3=c.forwardRef(({className:e,...n},t)=>u.jsx(b3,{ref:t,className:P("-mx-1 my-1 h-px bg-muted",e),...n}));P3.displayName=b3.displayName;const I3=({className:e,...n})=>u.jsx("span",{className:P("ml-auto text-xs tracking-widest opacity-60",e),...n});I3.displayName="DropdownMenuShortcut";const oE=({triggerClassName:e,actions:n,children:t,renderItem:r})=>u.jsxs(Ta,{children:[u.jsx(Bo,{className:e,children:t||u.jsx(_l,{})}),u.jsx(Wo,{children:n.map(o=>o?(r==null?void 0:r(o))||u.jsxs(rr,{onClick:o.onClick,children:[o.icon,o.label]},o.label):null)})]}),Vl=c.createContext({}),Hl=c.createContext({}),Go=()=>{const e=c.useContext(Vl),n=c.useContext(Hl),{getFieldState:t,formState:r}=fr.useFormContext(),o=t(e.name,r);if(!e)throw new Error("useFormField should be used within <FormField>");const{id:a}=n;return{id:a,name:e.name,formItemId:`${a}-form-item`,formDescriptionId:`${a}-form-item-description`,formMessageId:`${a}-form-item-message`,...o}};var aE="Label",O3=c.forwardRef((e,n)=>u.jsx(ie.label,{...e,ref:n,onMouseDown:t=>{var o;t.target.closest("button, input, select, textarea")||((o=e.onMouseDown)==null||o.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));O3.displayName=aE;var T3=O3;const sE=yn("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",{variants:{required:{true:'after:content-["*"] after:ml-0.5 after:text-foreground-error'}},defaultVariants:{required:!1}}),Al=c.forwardRef(({className:e,required:n,...t},r)=>u.jsx(T3,{ref:r,className:P(sE({required:n}),e),...t}));Al.displayName=T3.displayName;const D3=({loading:e,hasMore:n,next:t,threshold:r=1,root:o=null,rootMargin:a="0px",reverse:s,children:i})=>{const l=c.useRef(null),d=c.useCallback(h=>{let g=r;(r<0||r>1)&&(console.warn("threshold should be between 0 and 1. You are exceed the range. will use default value: 1"),g=1),!e&&(l.current&&l.current.disconnect(),h&&(l.current=new IntersectionObserver(C=>{C[0].isIntersecting&&n&&t()},{threshold:g,root:o,rootMargin:a}),l.current.observe(h)))},[n,e,t,r,o,a]);c.useEffect(()=>()=>{l.current&&l.current.disconnect()},[]);const f=c.useMemo(()=>c.Children.toArray(i),[i]);return u.jsx(u.Fragment,{children:f.map((h,g)=>{if(!c.isValidElement(h))return process.env.NODE_ENV==="development"&&console.warn("You should use a valid element with InfiniteScroll"),h;const v=(s?g===0:g===f.length-1)?d:null;return c.cloneElement(h,{ref:v})})})},Ro=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M18.3 5.70973C17.91 5.31973 17.28 5.31973 16.89 5.70973L12 10.5897L7.10997 5.69973C6.71997 5.30973 6.08997 5.30973 5.69997 5.69973C5.30997 6.08973 5.30997 6.71973 5.69997 7.10973L10.59 11.9997L5.69997 16.8897C5.30997 17.2797 5.30997 17.9097 5.69997 18.2997C6.08997 18.6897 6.71997 18.6897 7.10997 18.2997L12 13.4097L16.89 18.2997C17.28 18.6897 17.91 18.6897 18.3 18.2997C18.69 17.9097 18.69 17.2797 18.3 16.8897L13.41 11.9997L18.3 7.10973C18.68 6.72973 18.68 6.08973 18.3 5.70973Z"})),_3=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M16.59 8.29498L12 12.875L7.41 8.29498L6 9.70498L12 15.705L18 9.70498L16.59 8.29498Z",fill:"currentColor"})),Da=Symbol("all"),iE=({index:e,style:n,data:t})=>t.renderRow(e,n),lE=340,V3=36,cE=({search:e,onCreate:n,createLabel:t})=>u.jsxs("div",{tabIndex:0,onClick:n,onKeyDown:r=>{r.key==="Enter"&&n()},className:P("flex w-full text-blue-500 cursor-pointer text-sm px-2 py-1.5 rounded-sm items-center focus:outline-none","hover:bg-blue-200 focus:!bg-blue-200"),children:[t," ",e]}),Fl=c.forwardRef(({className:e,triggerClassName:n,popoverContentClassName:t,variant:r="fade-contrast-outlined",placeholder:o,options:a,value:s,maxSelected:i,shouldFilter:l=!0,open:d,children:f,isLoading:h,isError:g,disabled:C,searchPlaceholder:v,showAllOption:p=!1,showReset:m,required:w,showBadge:y=!1,maxVisibleRowsBadge:b,showCountBadge:S=!0,defaultSearchedValue:E,createLabel:M,autoSelectSingleOption:L,onCreate:I,renderOption:O,renderBadge:_,onRefetch:V,onOpenChange:$,onSearch:j,isLoadingMore:F,hasMore:R,onLoadMore:Z,onChange:K,onClick:q,onRemoveClick:G,...oe},U)=>{const{t:D}=ot(),[T,N]=c.useState(E||""),[H,W]=c.useState(!!M),A=c.useRef(!1),[Y,X]=c.useState(null),J=c.useRef(d),te=c.useCallback(z=>{z||N(""),$==null||$(z)},[$]);c.useEffect(()=>{J.current===!0&&d===!1&&N(""),J.current=d},[d]);const B=c.useCallback(z=>{X(yl(z)),typeof U=="function"?U(z):U&&(U.current=z)},[U]),ae=!!Y;c.useEffect(()=>{j==null||j(T)},[T,j]);const ne=c.useMemo(()=>{const z=[],re=Ee=>{Ee.forEach(ue=>{const He=ue==null?void 0:ue.children;Array.isArray(He)&&He.length>0?re(He):ue.hidden||z.push(ue)})};return re(a),z},[a]);c.useEffect(()=>{if(L&&ne.length===1&&s.length===0&&!A.current){const z=ne[0];K==null||K([z.value],[z.label]),A.current=!0}},[L,ne,s.length,K]);const se=c.useMemo(()=>({label:D("all"),value:Da}),[D]),ge=ne.length>0&&ne.every(z=>s.includes(z.value)),de=c.useMemo(()=>a.map(z=>({...z})),[a]),pe=c.useMemo(()=>de.some(z=>{var re;return Array.isArray(z.children)&&(((re=z.children)==null?void 0:re.length)||0)>0}),[de]),[Le,Fe]=c.useState({}),Ae=c.useCallback((z,re)=>(z.forEach(Ee=>{const ue=String(Ee.value);if(typeof Ee.value!="symbol"){re[ue]===void 0&&(re[ue]=Ee.defaultExpanded??!1);const He=Ee.children||[];Array.isArray(He)&&He.length>0&&Ae(He,re)}}),re),[]);c.useEffect(()=>{pe&&Fe(z=>{const re={...z};return Ae(de,re)})},[de,pe,Ae]);const Ie=c.useCallback(z=>{typeof z!="symbol"&&Fe(re=>({...re,[z]:!re[z]}))},[]);c.useEffect(()=>{if(M){const z=!a.some(re=>re.label===T||re.value===T);W(!!(T&&z))}},[T,a,M]);const Q=()=>{T&&(I==null||I(T),le({value:T,label:T}))},le=c.useCallback(z=>{if(!K||z.disabled&&!s.includes(z.value))return;if(z.value===Da){if(ge)K([],[]);else{const[He,et]=ne.reduce((ut,vt)=>(ut[0].push(vt.value),ut[1].push(vt.label),ut),[[],[]]);K(He,et)}te(i!==1);return}let re=s.includes(z.value)?s.filter(He=>He!==z.value):[...s,z.value];i&&re.length>=i&&(re=re.reverse().slice(0,i));const ue=re.map(He=>{const et=ne.find(({value:ut})=>ut===He);return((et==null?void 0:et.label)||String(He)).trim()});K(re,ue),te(i!==1)},[K,ge,ne,te,i,s]),we=c.useMemo(()=>p?[se,...de]:de,[p,se,de]),he=c.useMemo(()=>l?we.filter(({hidden:z})=>!z).filter(z=>l?z.label.toLowerCase().includes(T.toLowerCase()):!0):we,[we,T,l]),ke=c.useRef(!1),Ne=!!Z,ze=c.useCallback(()=>{!Z||!R||F||ke.current||(ke.current=!0,Promise.resolve(Z()).finally(()=>{ke.current=!1}))},[Z,R,F]);c.useEffect(()=>{F||(ke.current=!1)},[F]);const Pe=c.useMemo(()=>he.length+(Ne&&(R||F)?1:0),[he.length,Ne,R,F]),Qe=c.useMemo(()=>{const z=Pe*V3;return Math.min(z,lE)},[Pe]),nt=c.useCallback(({visibleStopIndex:z})=>{!Ne||!R||he.length===0||z>=he.length-1&&ze()},[Ne,R,he.length,ze]),rt=c.useMemo(()=>ge&&p&&s.length>1?D("all"):s.map(z=>{var re;return(((re=ne.find(({value:Ee})=>Ee===z))==null?void 0:re.label)||z).trim()}).join(", "),[s,ne,ge,p,D]),Ct=c.useCallback(()=>{if(!y)return u.jsx("div",{className:"truncate text-nowrap whitespace-nowrap text-sm text-foreground-primary font-normal",title:rt,children:rt});const z=28;let re=[...s],Ee=0,ue=!1;if(b){const ut=Math.floor(2.5)||1,vt=b*ut;s.length>vt&&(re=s.slice(0,vt),Ee=s.length-vt,ue=!0)}return u.jsxs("div",{className:P("flex flex-nowrap gap-1 min-w-0 flex-1 overflow-hidden",b&&`max-h-[${b*z}px] overflow-hidden`),children:[re.map(He=>{const et=ne.find(ut=>ut.value===He);if(et){const ut=vt=>{vt&&vt.stopPropagation(),le(et)};return _?u.jsx(c.Fragment,{children:_(et,ut)},et.value):u.jsxs("div",{className:"flex items-center justify-center bg-background-secondary rounded-full p-1 pl-3 text-xs gap-2",children:[u.jsx("span",{className:"truncate whitespace-nowrap w-[100px]",children:et.label}),u.jsx("span",{className:"w-5 h-5 flex items-center justify-center cursor-pointer rounded-full bg-background-primary",onClick:ut,children:u.jsx(Ro,{className:"w-4 h-4 bg-icon-tertiary text-foreground-tertiary"})})]},et.value)}return null}),ue&&u.jsxs("div",{className:"flex items-center justify-center bg-background-secondary rounded-full px-3 py-1 text-xs gap-2",children:["+",Ee,"..."]})]})},[s,ne,le,y,b,rt,_]),lt="relative flex cursor-default select-none items-center text-sm outline-none rounded-none py-2 px-3 aria-selected:bg-background-theme-fade aria-selected:text-foreground",mt=c.useCallback(z=>String(z.value),[]),st=c.useCallback((z,re)=>{const Ee=z.value;return O&&Ee!==Da?u.jsx(c.Fragment,{children:O(z,re)},mt(z)):u.jsxs(u.Fragment,{children:[u.jsx(Dn,{className:"mr-2",checked:re,disabled:z==null?void 0:z.disabled}),u.jsx("span",{title:z.label,className:"truncate",children:z.label})]})},[O,mt]),gt=c.useCallback(({opt:z,isChecked:re,style:Ee,hidden:ue,onSelect:He})=>u.jsx(Wi,{style:Ee,className:P(lt,re&&"bg-background-theme-fade text-foreground",ue&&"hidden",(z==null?void 0:z.disabled)&&"cursor-not-allowed"),onSelect:()=>{z!=null&&z.disabled||(He?He():le(z))},disabled:z==null?void 0:z.disabled,children:st(z,re)},mt(z)),[mt,lt,le,st]),ct=c.useCallback((z,re)=>{const Ee=z.children||[];return Array.isArray(Ee)&&Ee.length>0?Ee.some(ue=>ct(ue,re)):z.hidden?!1:z.label.toLowerCase().includes(re.toLowerCase())},[]),Ce=c.useMemo(()=>!l||!T?!0:de.some(z=>ct(z,T)),[l,T,de,ct]),xe=c.useCallback((z,re=0)=>{const Ee=String(z.value),ue=z.children||[];if(!(Array.isArray(ue)&&ue.length>0)){const Zt=s.includes(z.value),ps=l?!z.label.toLowerCase().includes(T.toLowerCase()):!1;return gt({opt:z,isChecked:Zt,hidden:ps})}const et=l?ct(z,T):!0,ut=T?et:!!Le[Ee],vt=l?ue.filter(Zt=>{const ps=Zt.children||[];return Array.isArray(ps)&&ps.length>0?ct(Zt,T):(Zt.label||"").toLowerCase().includes(T.toLowerCase())}):ue;return l&&!et?null:u.jsxs("div",{className:"flex flex-col",children:[u.jsxs("div",{className:P("flex items-center text-sm px-3 py-2 cursor-pointer select-none","hover:bg-background-theme-fade",z.disabled&&"opacity-50 pointer-events-none cursor-not-allowed"),onClick:()=>{T||Ie(z.value)},children:[u.jsx(_3,{className:P("w-4 h-4 mr-2 text-icon-fade-contrast transition-transform",ut?"rotate-180":"rotate-0")}),u.jsx("span",{title:z.label,className:"truncate",children:z.label})]}),u.jsx("div",{className:P("pl-6 overflow-hidden transition-[max-height] duration-200 ease-in-out",ut?"max-h-[999px]":"max-h-0"),children:vt.map(Zt=>xe(Zt,re+1))})]},Ee)},[Le,l,T,Ie,s,gt,ct]);return u.jsxs($n,{open:d,onOpenChange:te,...oe,modal:!ae,children:[u.jsx(zn,{asChild:!0,children:u.jsx(_e,{ref:B,variant:r,size:"sm",role:"combobox","aria-expanded":d,disabled:C,className:P("w-full justify-between px-3 overflow-hidden disabled:opacity-50 font-normal",n,{"hover:bg-[transparent] active:bg-[transparent]":y}),onClick:q||(()=>te(!d)),children:f||u.jsxs(u.Fragment,{children:[!(s!=null&&s.length)&&u.jsxs("span",{className:"text-foreground-secondary text-sm",children:[o,w&&u.jsx("span",{className:"text-foreground-error ml-1",children:"*"})]}),Ct(),S&&s.length>1&&u.jsx("div",{className:"bg-background-contrast-fade flex items-center justify-center h-4 px-2 py-1 rounded-[4px] shrink-0",children:u.jsx("span",{className:"text-xs text-foreground-primary leading-4 tracking-[0.4px]",children:s.length})}),(m||G)&&rt?u.jsx("div",{className:P("flex items-center justify-center w-6 h-6 shrink-0 cursor-pointer ml-auto",C&&"cursor-not-allowed opacity-50"),onClick:z=>{z.stopPropagation(),!C&&(G?(A.current=!0,G()):m&&K&&(A.current=!0,K([],[])))},children:u.jsx(J1,{className:"w-6 h-6 text-icon-fade-contrast"})}):u.jsx(pr,{className:"w-6 h-6 shrink-0 text-icon-fade-contrast ml-auto"})]})})}),u.jsx(gn,{container:Y,className:P("w-full p-0 min-w-[var(--radix-popover-trigger-width)] overflow-auto",t),children:u.jsxs(ma,{shouldFilter:!1,className:e,children:[l&&u.jsx(Zi,{placeholder:v||D("search"),value:T,onValueChange:N}),u.jsx(ta,{isLoading:h,isError:g,textSize:"sm",center:!0,onRefetch:V}),!h&&!g&&!H&&!Ce&&u.jsx("div",{className:"py-6 text-center text-sm",children:D("notFound")}),u.jsxs(Bi,{className:P("py-1 px-0 max-h-[340px]",pe?"overflow-auto":"overflow-hidden"),children:[H&&!!M&&a.length===0&&u.jsx(cE,{search:T,onCreate:()=>Q(),createLabel:M}),pe?u.jsxs("div",{className:"flex flex-col",children:[p&&gt({opt:se,isChecked:ge}),de.map(z=>xe(z)),Ne&&u.jsx(D3,{hasMore:R,loading:F,next:ze,threshold:1,children:u.jsx("div",{children:(F||R)&&u.jsx(Dr,{className:"h-fit py-2"})})})]}):u.jsx(Jd,{height:Qe,itemCount:Pe,itemSize:V3,width:"100%",onItemsRendered:nt,itemData:{renderRow:(z,re)=>{if(z>=he.length)return u.jsx("div",{style:re,className:"flex items-center justify-center px-3",children:(F||R)&&u.jsx(Dr,{className:"h-fit py-2 [&>svg]:h-5 [&>svg]:w-5"})});const ue=he[z],He=ue.value===Da?ge:s.includes(ue.value);return gt({opt:ue,isChecked:He,style:re})}},children:iE})]})]})})]})});Fl.displayName="MultiSelect";const H3=fr.FormProvider,A3=({...e})=>u.jsx(Vl.Provider,{value:{name:e.name},children:u.jsx(fr.Controller,{...e})}),or=c.forwardRef(({className:e,horizontal:n,...t},r)=>{const o=c.useId();return u.jsx(Hl.Provider,{value:{id:o},children:u.jsx("div",{ref:r,className:P("flex text-sm",n?"space-x-3 items-center":"space-y-2 flex-col",e),...t})})});or.displayName="FormItem";const F3=c.forwardRef(({className:e,required:n,...t},r)=>{const{formItemId:o}=Go();return u.jsx(Al,{ref:r,className:P("text-sm text-foreground-secondary font-normal blur-none",e),htmlFor:o,required:n,...t})});F3.displayName="FormLabel";const ar=c.forwardRef(({...e},n)=>{const{error:t,formItemId:r,formDescriptionId:o,formMessageId:a}=Go();return u.jsx(S2,{ref:n,id:r,"aria-describedby":t?`${o} ${a}`:`${o}`,"aria-invalid":!!t,...e})});ar.displayName="FormControl";const $3=c.forwardRef(({className:e,...n},t)=>{const{formDescriptionId:r}=Go();return u.jsx("p",{ref:t,id:r,className:P("text-[13px] text-muted-foreground tracking-[0.2px] mt-6 blur-none",e),...n})});$3.displayName="FormDescription";const $l=c.forwardRef(({className:e,children:n,...t},r)=>{const{error:o,formMessageId:a}=Go(),s=n||(o?String(o==null?void 0:o.message):null);return s?u.jsx("p",{ref:r,id:a,className:P("text-xs text-foreground-error blur-none",e),...t,children:s}):null});$l.displayName="FormMessage";const uE=c.forwardRef((e,n)=>u.jsx(or,{children:u.jsx(ar,{children:u.jsx(en,{ref:n,...e})})})),z3=c.forwardRef((e,n)=>u.jsx(or,{children:u.jsx(ar,{children:u.jsx(yo,{ref:n,...e})})}));z3.displayName="FormItemSelect";const Z3=c.forwardRef((e,n)=>u.jsx(or,{ref:n,children:u.jsx(ar,{children:u.jsx(Fl,{...e})})}));Z3.displayName="FormItemMultiSelect";const B3=c.forwardRef((e,n)=>u.jsx(or,{ref:n,children:u.jsx(ar,{children:u.jsx(v4,{...e})})}));B3.displayName="FormItemDatePicker";const zl=e=>c.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M9.97576 6.17574C10.2101 5.94142 10.59 5.94142 10.8243 6.17574C11.0586 6.41005 11.0586 6.78995 10.8243 7.02427L7.75762 10.0909C7.5233 10.3252 7.1434 10.3252 6.90909 10.0909L5.17576 8.3576C4.94144 8.12328 4.94144 7.74339 5.17576 7.50907C5.41007 7.27476 5.78997 7.27476 6.02428 7.50907L7.33335 8.81814L9.97576 6.17574Z",fill:"currentColor"}),c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.00002 1.39999C11.6448 1.39999 14.6 4.35524 14.6 7.99999C14.6 11.6447 11.6448 14.6 8.00002 14.6C4.35528 14.6 1.40002 11.6447 1.40002 7.99999C1.40002 4.35524 4.35528 1.39999 8.00002 1.39999ZM8.00002 2.59999C5.01735 2.59999 2.60002 5.01732 2.60002 7.99999C2.60002 10.9827 5.01735 13.4 8.00002 13.4C10.9827 13.4 13.4 10.9827 13.4 7.99999C13.4 5.01732 10.9827 2.59999 8.00002 2.59999Z",fill:"currentColor"})),Zl=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("g",{clipPath:"url(#clip0_3446_27389)"},c.createElement("path",{d:"M11 15H13V17H11V15ZM11 7H13V13H11V7ZM11.99 2C6.47 2 2 6.48 2 12C2 17.52 6.47 22 11.99 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 11.99 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20Z",fill:"currentColor"})),c.createElement("defs",null,c.createElement("clipPath",{id:"clip0_3446_27389"},c.createElement("rect",{width:24,height:24,fill:"white"})))),W3=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M11 7H13V9H11V7ZM11 11H13V17H11V11ZM12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20Z",fill:"currentColor"})),G3=yn("relative flex w-full items-center gap-3 rounded-lg border shadow-sm transition-all",{variants:{variant:{error:"bg-background-error-fade text-foreground-error border-line-primary",success:"bg-background-success-fade text-foreground-success border-line-primary",info:"bg-background-theme-fade text-foreground-theme border-line-primary"},size:{sm:"py-2 px-3 gap-2",default:"py-3 px-4 gap-3"}},defaultVariants:{variant:"info",size:"default"}}),R3=c.forwardRef(({className:e,variant:n,size:t,showClose:r=!1,onClose:o,icon:a,children:s,...i},l)=>{const f=a!==void 0?a:(()=>{const C=t==="sm"?"min-w-5 h-5":"min-w-6 h-6";switch(n){case"success":return u.jsx(zl,{className:P(C,"flex-shrink-0")});case"error":return u.jsx(Zl,{className:P(C,"flex-shrink-0")});case"info":return u.jsx(W3,{className:P(C,"flex-shrink-0")});default:return null}})(),h=t==="sm"?"h-3 w-3":"h-4 w-4",g=t==="sm"?"leading-5":"leading-6";return u.jsxs("div",{ref:l,className:P(G3({variant:n,size:t}),e),...i,children:[f&&u.jsx("div",{className:"flex-shrink-0 self-start",children:f}),u.jsx("div",{className:P("flex-1 min-w-0 text-sm",g),children:s}),r&&u.jsx(_e,{type:"button",variant:"fade-contrast-transparent",size:"icon",onClick:o,className:P("flex-shrink-0 h-auto w-auto p-1 text-foreground/50 hover:text-foreground self-start",n==="error"&&"text-red-300 hover:text-red-50"),"aria-label":"Закрыть уведомление",children:u.jsx(Q1,{className:h})})]})});R3.displayName="Notification";const Bl=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M20 11H7.83L13.42 5.41L12 4L4 12L12 20L13.41 18.59L7.83 13H20V11Z",fill:"currentColor"})),_a=k.createContext(null);_a.displayName="PanelGroupContext";const je={group:"data-panel-group",groupDirection:"data-panel-group-direction",groupId:"data-panel-group-id",panel:"data-panel",panelCollapsible:"data-panel-collapsible",panelId:"data-panel-id",panelSize:"data-panel-size",resizeHandle:"data-resize-handle",resizeHandleActive:"data-resize-handle-active",resizeHandleEnabled:"data-panel-resize-handle-enabled",resizeHandleId:"data-panel-resize-handle-id",resizeHandleState:"data-resize-handle-state"},Wl=10,sr=k.useLayoutEffect,j3=c.useId,dE=typeof j3=="function"?j3:()=>null;let fE=0;function Gl(e=null){const n=dE(),t=k.useRef(e||n||null);return t.current===null&&(t.current=""+fE++),e??t.current}function Y3({children:e,className:n="",collapsedSize:t,collapsible:r,defaultSize:o,forwardedRef:a,id:s,maxSize:i,minSize:l,onCollapse:d,onExpand:f,onResize:h,order:g,style:C,tagName:v="div",...p}){const m=k.useContext(_a);if(m===null)throw Error("Panel components must be rendered within a PanelGroup container");const{collapsePanel:w,expandPanel:y,getPanelSize:b,getPanelStyle:S,groupId:E,isPanelCollapsed:M,reevaluatePanelConstraints:L,registerPanel:I,resizePanel:O,unregisterPanel:_}=m,V=Gl(s),$=k.useRef({callbacks:{onCollapse:d,onExpand:f,onResize:h},constraints:{collapsedSize:t,collapsible:r,defaultSize:o,maxSize:i,minSize:l},id:V,idIsFromProps:s!==void 0,order:g});k.useRef({didLogMissingDefaultSizeWarning:!1}),sr(()=>{const{callbacks:F,constraints:R}=$.current,Z={...R};$.current.id=V,$.current.idIsFromProps=s!==void 0,$.current.order=g,F.onCollapse=d,F.onExpand=f,F.onResize=h,R.collapsedSize=t,R.collapsible=r,R.defaultSize=o,R.maxSize=i,R.minSize=l,(Z.collapsedSize!==R.collapsedSize||Z.collapsible!==R.collapsible||Z.maxSize!==R.maxSize||Z.minSize!==R.minSize)&&L($.current,Z)}),sr(()=>{const F=$.current;return I(F),()=>{_(F)}},[g,V,I,_]),k.useImperativeHandle(a,()=>({collapse:()=>{w($.current)},expand:F=>{y($.current,F)},getId(){return V},getSize(){return b($.current)},isCollapsed(){return M($.current)},isExpanded(){return!M($.current)},resize:F=>{O($.current,F)}}),[w,y,b,M,V,O]);const j=S($.current,o);return k.createElement(v,{...p,children:e,className:n,id:V,style:{...j,...C},[je.groupId]:E,[je.panel]:"",[je.panelCollapsible]:r||void 0,[je.panelId]:V,[je.panelSize]:parseFloat(""+j.flexGrow).toFixed(1)})}const q3=k.forwardRef((e,n)=>k.createElement(Y3,{...e,forwardedRef:n}));Y3.displayName="Panel",q3.displayName="forwardRef(Panel)";let Rl=null,Va=-1,Bn=null;function hE(e,n){if(n){const t=(n&n9)!==0,r=(n&r9)!==0,o=(n&o9)!==0,a=(n&a9)!==0;if(t)return o?"se-resize":a?"ne-resize":"e-resize";if(r)return o?"sw-resize":a?"nw-resize":"w-resize";if(o)return"s-resize";if(a)return"n-resize"}switch(e){case"horizontal":return"ew-resize";case"intersection":return"move";case"vertical":return"ns-resize"}}function gE(){Bn!==null&&(document.head.removeChild(Bn),Rl=null,Bn=null,Va=-1)}function jl(e,n){var t,r;const o=hE(e,n);if(Rl!==o){if(Rl=o,Bn===null&&(Bn=document.createElement("style"),document.head.appendChild(Bn)),Va>=0){var a;(a=Bn.sheet)===null||a===void 0||a.removeRule(Va)}Va=(t=(r=Bn.sheet)===null||r===void 0?void 0:r.insertRule(`*{cursor: ${o} !important;}`))!==null&&t!==void 0?t:-1}}function U3(e){return e.type==="keydown"}function X3(e){return e.type.startsWith("pointer")}function K3(e){return e.type.startsWith("mouse")}function Ha(e){if(X3(e)){if(e.isPrimary)return{x:e.clientX,y:e.clientY}}else if(K3(e))return{x:e.clientX,y:e.clientY};return{x:1/0,y:1/0}}function pE(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}function CE(e,n,t){return e.x<n.x+n.width&&e.x+e.width>n.x&&e.y<n.y+n.height&&e.y+e.height>n.y}function mE(e,n){if(e===n)throw new Error("Cannot compare node with itself");const t={a:e9(e),b:e9(n)};let r;for(;t.a.at(-1)===t.b.at(-1);)e=t.a.pop(),n=t.b.pop(),r=e;Me(r,"Stacking order can only be calculated for elements with a common ancestor");const o={a:J3(Q3(t.a)),b:J3(Q3(t.b))};if(o.a===o.b){const a=r.childNodes,s={a:t.a.at(-1),b:t.b.at(-1)};let i=a.length;for(;i--;){const l=a[i];if(l===s.a)return 1;if(l===s.b)return-1}}return Math.sign(o.a-o.b)}const vE=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function wE(e){var n;const t=getComputedStyle((n=t9(e))!==null&&n!==void 0?n:e).display;return t==="flex"||t==="inline-flex"}function yE(e){const n=getComputedStyle(e);return!!(n.position==="fixed"||n.zIndex!=="auto"&&(n.position!=="static"||wE(e))||+n.opacity<1||"transform"in n&&n.transform!=="none"||"webkitTransform"in n&&n.webkitTransform!=="none"||"mixBlendMode"in n&&n.mixBlendMode!=="normal"||"filter"in n&&n.filter!=="none"||"webkitFilter"in n&&n.webkitFilter!=="none"||"isolation"in n&&n.isolation==="isolate"||vE.test(n.willChange)||n.webkitOverflowScrolling==="touch")}function Q3(e){let n=e.length;for(;n--;){const t=e[n];if(Me(t,"Missing node"),yE(t))return t}return null}function J3(e){return e&&Number(getComputedStyle(e).zIndex)||0}function e9(e){const n=[];for(;e;)n.push(e),e=t9(e);return n}function t9(e){const{parentNode:n}=e;return n&&n instanceof ShadowRoot?n.host:n}const n9=1,r9=2,o9=4,a9=8,bE=pE()==="coarse";let At=[],Wr=!1,ir=new Map,Aa=new Map;const jo=new Set;function xE(e,n,t,r,o){var a;const{ownerDocument:s}=n,i={direction:t,element:n,hitAreaMargins:r,setResizeHandlerState:o},l=(a=ir.get(s))!==null&&a!==void 0?a:0;return ir.set(s,l+1),jo.add(i),Fa(),function(){var f;Aa.delete(e),jo.delete(i);const h=(f=ir.get(s))!==null&&f!==void 0?f:1;if(ir.set(s,h-1),Fa(),h===1&&ir.delete(s),At.includes(i)){const g=At.indexOf(i);g>=0&&At.splice(g,1),Kl(),o("up",!0,null)}}}function SE(e){const{target:n}=e,{x:t,y:r}=Ha(e);Wr=!0,Ul({target:n,x:t,y:r}),Fa(),At.length>0&&($a("down",e),e.preventDefault(),s9(n)||e.stopImmediatePropagation())}function Yl(e){const{x:n,y:t}=Ha(e);if(Wr&&e.buttons===0&&(Wr=!1,$a("up",e)),!Wr){const{target:r}=e;Ul({target:r,x:n,y:t})}$a("move",e),Kl(),At.length>0&&e.preventDefault()}function ql(e){const{target:n}=e,{x:t,y:r}=Ha(e);Aa.clear(),Wr=!1,At.length>0&&(e.preventDefault(),s9(n)||e.stopImmediatePropagation()),$a("up",e),Ul({target:n,x:t,y:r}),Kl(),Fa()}function s9(e){let n=e;for(;n;){if(n.hasAttribute(je.resizeHandle))return!0;n=n.parentElement}return!1}function Ul({target:e,x:n,y:t}){At.splice(0);let r=null;(e instanceof HTMLElement||e instanceof SVGElement)&&(r=e),jo.forEach(o=>{const{element:a,hitAreaMargins:s}=o,i=a.getBoundingClientRect(),{bottom:l,left:d,right:f,top:h}=i,g=bE?s.coarse:s.fine;if(n>=d-g&&n<=f+g&&t>=h-g&&t<=l+g){if(r!==null&&document.contains(r)&&a!==r&&!a.contains(r)&&!r.contains(a)&&mE(r,a)>0){let v=r,p=!1;for(;v&&!v.contains(a);){if(CE(v.getBoundingClientRect(),i)){p=!0;break}v=v.parentElement}if(p)return}At.push(o)}})}function Xl(e,n){Aa.set(e,n)}function Kl(){let e=!1,n=!1;At.forEach(r=>{const{direction:o}=r;o==="horizontal"?e=!0:n=!0});let t=0;Aa.forEach(r=>{t|=r}),e&&n?jl("intersection",t):e?jl("horizontal",t):n?jl("vertical",t):gE()}let Ql=new AbortController;function Fa(){Ql.abort(),Ql=new AbortController;const e={capture:!0,signal:Ql.signal};jo.size&&(Wr?(At.length>0&&ir.forEach((n,t)=>{const{body:r}=t;n>0&&(r.addEventListener("contextmenu",ql,e),r.addEventListener("pointerleave",Yl,e),r.addEventListener("pointermove",Yl,e))}),window.addEventListener("pointerup",ql,e),window.addEventListener("pointercancel",ql,e)):ir.forEach((n,t)=>{const{body:r}=t;n>0&&(r.addEventListener("pointerdown",SE,e),r.addEventListener("pointermove",Yl,e))}))}function $a(e,n){jo.forEach(t=>{const{setResizeHandlerState:r}=t,o=At.includes(t);r(e,o,n)})}function ME(){const[e,n]=k.useState(0);return k.useCallback(()=>n(t=>t+1),[])}function Me(e,n){if(!e)throw console.error(n),Error(n)}function lr(e,n,t=Wl){return e.toFixed(t)===n.toFixed(t)?0:e>n?1:-1}function pn(e,n,t=Wl){return lr(e,n,t)===0}function Lt(e,n,t){return lr(e,n,t)===0}function EE(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++){const o=e[r],a=n[r];if(!Lt(o,a,t))return!1}return!0}function Gr({panelConstraints:e,panelIndex:n,size:t}){const r=e[n];Me(r!=null,`Panel constraints not found for index ${n}`);let{collapsedSize:o=0,collapsible:a,maxSize:s=100,minSize:i=0}=r;if(lr(t,i)<0)if(a){const l=(o+i)/2;lr(t,l)<0?t=o:t=i}else t=i;return t=Math.min(s,t),t=parseFloat(t.toFixed(Wl)),t}function Yo({delta:e,initialLayout:n,panelConstraints:t,pivotIndices:r,prevLayout:o,trigger:a}){if(Lt(e,0))return n;const s=[...n],[i,l]=r;Me(i!=null,"Invalid first pivot index"),Me(l!=null,"Invalid second pivot index");let d=0;if(a==="keyboard"){{const h=e<0?l:i,g=t[h];Me(g,`Panel constraints not found for index ${h}`);const{collapsedSize:C=0,collapsible:v,minSize:p=0}=g;if(v){const m=n[h];if(Me(m!=null,`Previous layout not found for panel index ${h}`),Lt(m,C)){const w=p-m;lr(w,Math.abs(e))>0&&(e=e<0?0-w:w)}}}{const h=e<0?i:l,g=t[h];Me(g,`No panel constraints found for index ${h}`);const{collapsedSize:C=0,collapsible:v,minSize:p=0}=g;if(v){const m=n[h];if(Me(m!=null,`Previous layout not found for panel index ${h}`),Lt(m,p)){const w=m-C;lr(w,Math.abs(e))>0&&(e=e<0?0-w:w)}}}}{const h=e<0?1:-1;let g=e<0?l:i,C=0;for(;;){const p=n[g];Me(p!=null,`Previous layout not found for panel index ${g}`);const w=Gr({panelConstraints:t,panelIndex:g,size:100})-p;if(C+=w,g+=h,g<0||g>=t.length)break}const v=Math.min(Math.abs(e),Math.abs(C));e=e<0?0-v:v}{let g=e<0?i:l;for(;g>=0&&g<t.length;){const C=Math.abs(e)-Math.abs(d),v=n[g];Me(v!=null,`Previous layout not found for panel index ${g}`);const p=v-C,m=Gr({panelConstraints:t,panelIndex:g,size:p});if(!Lt(v,m)&&(d+=v-m,s[g]=m,d.toPrecision(3).localeCompare(Math.abs(e).toPrecision(3),void 0,{numeric:!0})>=0))break;e<0?g--:g++}}if(EE(o,s))return o;{const h=e<0?l:i,g=n[h];Me(g!=null,`Previous layout not found for panel index ${h}`);const C=g+d,v=Gr({panelConstraints:t,panelIndex:h,size:C});if(s[h]=v,!Lt(v,C)){let p=C-v,w=e<0?l:i;for(;w>=0&&w<t.length;){const y=s[w];Me(y!=null,`Previous layout not found for panel index ${w}`);const b=y+p,S=Gr({panelConstraints:t,panelIndex:w,size:b});if(Lt(y,S)||(p-=S-y,s[w]=S),Lt(p,0))break;e>0?w--:w++}}}const f=s.reduce((h,g)=>g+h,0);return Lt(f,100)?s:o}function LE({layout:e,panelsArray:n,pivotIndices:t}){let r=0,o=100,a=0,s=0;const i=t[0];Me(i!=null,"No pivot index found"),n.forEach((h,g)=>{const{constraints:C}=h,{maxSize:v=100,minSize:p=0}=C;g===i?(r=p,o=v):(a+=p,s+=v)});const l=Math.min(o,100-a),d=Math.max(r,100-s),f=e[i];return{valueMax:l,valueMin:d,valueNow:f}}function qo(e,n=document){return Array.from(n.querySelectorAll(`[${je.resizeHandleId}][data-panel-group-id="${e}"]`))}function i9(e,n,t=document){const o=qo(e,t).findIndex(a=>a.getAttribute(je.resizeHandleId)===n);return o??null}function l9(e,n,t){const r=i9(e,n,t);return r!=null?[r,r+1]:[-1,-1]}function c9(e,n=document){var t;if(n instanceof HTMLElement&&(n==null||(t=n.dataset)===null||t===void 0?void 0:t.panelGroupId)==e)return n;const r=n.querySelector(`[data-panel-group][data-panel-group-id="${e}"]`);return r||null}function za(e,n=document){const t=n.querySelector(`[${je.resizeHandleId}="${e}"]`);return t||null}function NE(e,n,t,r=document){var o,a,s,i;const l=za(n,r),d=qo(e,r),f=l?d.indexOf(l):-1,h=(o=(a=t[f])===null||a===void 0?void 0:a.id)!==null&&o!==void 0?o:null,g=(s=(i=t[f+1])===null||i===void 0?void 0:i.id)!==null&&s!==void 0?s:null;return[h,g]}function kE({committedValuesRef:e,eagerValuesRef:n,groupId:t,layout:r,panelDataArray:o,panelGroupElement:a,setLayout:s}){k.useRef({didWarnAboutMissingResizeHandle:!1}),sr(()=>{if(!a)return;const i=qo(t,a);for(let l=0;l<o.length-1;l++){const{valueMax:d,valueMin:f,valueNow:h}=LE({layout:r,panelsArray:o,pivotIndices:[l,l+1]}),g=i[l];if(g!=null){const C=o[l];Me(C,`No panel data found for index "${l}"`),g.setAttribute("aria-controls",C.id),g.setAttribute("aria-valuemax",""+Math.round(d)),g.setAttribute("aria-valuemin",""+Math.round(f)),g.setAttribute("aria-valuenow",h!=null?""+Math.round(h):"")}}return()=>{i.forEach((l,d)=>{l.removeAttribute("aria-controls"),l.removeAttribute("aria-valuemax"),l.removeAttribute("aria-valuemin"),l.removeAttribute("aria-valuenow")})}},[t,r,o,a]),k.useEffect(()=>{if(!a)return;const i=n.current;Me(i,"Eager values not found");const{panelDataArray:l}=i,d=c9(t,a);Me(d!=null,`No group found for id "${t}"`);const f=qo(t,a);Me(f,`No resize handles found for group id "${t}"`);const h=f.map(g=>{const C=g.getAttribute(je.resizeHandleId);Me(C,"Resize handle element has no handle id attribute");const[v,p]=NE(t,C,l,a);if(v==null||p==null)return()=>{};const m=w=>{if(!w.defaultPrevented)switch(w.key){case"Enter":{w.preventDefault();const y=l.findIndex(b=>b.id===v);if(y>=0){const b=l[y];Me(b,`No panel data found for index ${y}`);const S=r[y],{collapsedSize:E=0,collapsible:M,minSize:L=0}=b.constraints;if(S!=null&&M){const I=Yo({delta:Lt(S,E)?L-E:E-S,initialLayout:r,panelConstraints:l.map(O=>O.constraints),pivotIndices:l9(t,C,a),prevLayout:r,trigger:"keyboard"});r!==I&&s(I)}}break}}};return g.addEventListener("keydown",m),()=>{g.removeEventListener("keydown",m)}});return()=>{h.forEach(g=>g())}},[a,e,n,t,r,o,s])}function u9(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;t++)if(e[t]!==n[t])return!1;return!0}function d9(e,n){const t=e==="horizontal",{x:r,y:o}=Ha(n);return t?r:o}function PE(e,n,t,r,o){const a=t==="horizontal",s=za(n,o);Me(s,`No resize handle element found for id "${n}"`);const i=s.getAttribute(je.groupId);Me(i,"Resize handle element has no group id attribute");let{initialCursorPosition:l}=r;const d=d9(t,e),f=c9(i,o);Me(f,`No group element found for id "${i}"`);const h=f.getBoundingClientRect(),g=a?h.width:h.height;return(d-l)/g*100}function IE(e,n,t,r,o,a){if(U3(e)){const s=t==="horizontal";let i=0;e.shiftKey?i=100:o!=null?i=o:i=10;let l=0;switch(e.key){case"ArrowDown":l=s?0:i;break;case"ArrowLeft":l=s?-i:0;break;case"ArrowRight":l=s?i:0;break;case"ArrowUp":l=s?0:-i;break;case"End":l=100;break;case"Home":l=-100;break}return l}else return r==null?0:PE(e,n,t,r,a)}function OE({panelDataArray:e}){const n=Array(e.length),t=e.map(a=>a.constraints);let r=0,o=100;for(let a=0;a<e.length;a++){const s=t[a];Me(s,`Panel constraints not found for index ${a}`);const{defaultSize:i}=s;i!=null&&(r++,n[a]=i,o-=i)}for(let a=0;a<e.length;a++){const s=t[a];Me(s,`Panel constraints not found for index ${a}`);const{defaultSize:i}=s;if(i!=null)continue;const l=e.length-r,d=o/l;r++,n[a]=d,o-=d}return n}function Rr(e,n,t){n.forEach((r,o)=>{const a=e[o];Me(a,`Panel data not found for index ${o}`);const{callbacks:s,constraints:i,id:l}=a,{collapsedSize:d=0,collapsible:f}=i,h=t[l];if(h==null||r!==h){t[l]=r;const{onCollapse:g,onExpand:C,onResize:v}=s;v&&v(r,h),f&&(g||C)&&(C&&(h==null||pn(h,d))&&!pn(r,d)&&C(),g&&(h==null||!pn(h,d))&&pn(r,d)&&g())}})}function Za(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;t++)if(e[t]!=n[t])return!1;return!0}function TE({defaultSize:e,dragState:n,layout:t,panelData:r,panelIndex:o,precision:a=3}){const s=t[o];let i;return s==null?i=e!=null?e.toPrecision(a):"1":r.length===1?i="1":i=s.toPrecision(a),{flexBasis:0,flexGrow:i,flexShrink:1,overflow:"hidden",pointerEvents:n!==null?"none":void 0}}function DE(e,n=10){let t=null;return(...o)=>{t!==null&&clearTimeout(t),t=setTimeout(()=>{e(...o)},n)}}function f9(e){try{if(typeof localStorage<"u")e.getItem=n=>localStorage.getItem(n),e.setItem=(n,t)=>{localStorage.setItem(n,t)};else throw new Error("localStorage not supported in this environment")}catch(n){console.error(n),e.getItem=()=>null,e.setItem=()=>{}}}function h9(e){return`react-resizable-panels:${e}`}function g9(e){return e.map(n=>{const{constraints:t,id:r,idIsFromProps:o,order:a}=n;return o?r:a?`${a}:${JSON.stringify(t)}`:JSON.stringify(t)}).sort((n,t)=>n.localeCompare(t)).join(",")}function p9(e,n){try{const t=h9(e),r=n.getItem(t);if(r){const o=JSON.parse(r);if(typeof o=="object"&&o!=null)return o}}catch{}return null}function _E(e,n,t){var r,o;const a=(r=p9(e,t))!==null&&r!==void 0?r:{},s=g9(n);return(o=a[s])!==null&&o!==void 0?o:null}function VE(e,n,t,r,o){var a;const s=h9(e),i=g9(n),l=(a=p9(e,o))!==null&&a!==void 0?a:{};l[i]={expandToSizes:Object.fromEntries(t.entries()),layout:r};try{o.setItem(s,JSON.stringify(l))}catch(d){console.error(d)}}function C9({layout:e,panelConstraints:n}){const t=[...e],r=t.reduce((a,s)=>a+s,0);if(t.length!==n.length)throw Error(`Invalid ${n.length} panel layout: ${t.map(a=>`${a}%`).join(", ")}`);if(!Lt(r,100)&&t.length>0)for(let a=0;a<n.length;a++){const s=t[a];Me(s!=null,`No layout data found for index ${a}`);const i=100/r*s;t[a]=i}let o=0;for(let a=0;a<n.length;a++){const s=t[a];Me(s!=null,`No layout data found for index ${a}`);const i=Gr({panelConstraints:n,panelIndex:a,size:s});s!=i&&(o+=s-i,t[a]=i)}if(!Lt(o,0))for(let a=0;a<n.length;a++){const s=t[a];Me(s!=null,`No layout data found for index ${a}`);const i=s+o,l=Gr({panelConstraints:n,panelIndex:a,size:i});if(s!==l&&(o-=l-s,t[a]=l,Lt(o,0)))break}return t}const HE=100,Uo={getItem:e=>(f9(Uo),Uo.getItem(e)),setItem:(e,n)=>{f9(Uo),Uo.setItem(e,n)}},m9={};function v9({autoSaveId:e=null,children:n,className:t="",direction:r,forwardedRef:o,id:a=null,onLayout:s=null,keyboardResizeBy:i=null,storage:l=Uo,style:d,tagName:f="div",...h}){const g=Gl(a),C=k.useRef(null),[v,p]=k.useState(null),[m,w]=k.useState([]),y=ME(),b=k.useRef({}),S=k.useRef(new Map),E=k.useRef(0),M=k.useRef({autoSaveId:e,direction:r,dragState:v,id:g,keyboardResizeBy:i,onLayout:s,storage:l}),L=k.useRef({layout:m,panelDataArray:[],panelDataArrayChanged:!1});k.useRef({didLogIdAndOrderWarning:!1,didLogPanelConstraintsWarning:!1,prevPanelIds:[]}),k.useImperativeHandle(o,()=>({getId:()=>M.current.id,getLayout:()=>{const{layout:T}=L.current;return T},setLayout:T=>{const{onLayout:N}=M.current,{layout:H,panelDataArray:W}=L.current,A=C9({layout:T,panelConstraints:W.map(Y=>Y.constraints)});u9(H,A)||(w(A),L.current.layout=A,N&&N(A),Rr(W,A,b.current))}}),[]),sr(()=>{M.current.autoSaveId=e,M.current.direction=r,M.current.dragState=v,M.current.id=g,M.current.onLayout=s,M.current.storage=l}),kE({committedValuesRef:M,eagerValuesRef:L,groupId:g,layout:m,panelDataArray:L.current.panelDataArray,setLayout:w,panelGroupElement:C.current}),k.useEffect(()=>{const{panelDataArray:T}=L.current;if(e){if(m.length===0||m.length!==T.length)return;let N=m9[e];N==null&&(N=DE(VE,HE),m9[e]=N);const H=[...T],W=new Map(S.current);N(e,H,W,m,l)}},[e,m,l]),k.useEffect(()=>{});const I=k.useCallback(T=>{const{onLayout:N}=M.current,{layout:H,panelDataArray:W}=L.current;if(T.constraints.collapsible){const A=W.map(te=>te.constraints),{collapsedSize:Y=0,panelSize:X,pivotIndices:J}=cr(W,T,H);if(Me(X!=null,`Panel size not found for panel "${T.id}"`),!pn(X,Y)){S.current.set(T.id,X);const B=jr(W,T)===W.length-1?X-Y:Y-X,ae=Yo({delta:B,initialLayout:H,panelConstraints:A,pivotIndices:J,prevLayout:H,trigger:"imperative-api"});Za(H,ae)||(w(ae),L.current.layout=ae,N&&N(ae),Rr(W,ae,b.current))}}},[]),O=k.useCallback((T,N)=>{const{onLayout:H}=M.current,{layout:W,panelDataArray:A}=L.current;if(T.constraints.collapsible){const Y=A.map(ne=>ne.constraints),{collapsedSize:X=0,panelSize:J=0,minSize:te=0,pivotIndices:B}=cr(A,T,W),ae=N??te;if(pn(J,X)){const ne=S.current.get(T.id),se=ne!=null&&ne>=ae?ne:ae,de=jr(A,T)===A.length-1?J-se:se-J,pe=Yo({delta:de,initialLayout:W,panelConstraints:Y,pivotIndices:B,prevLayout:W,trigger:"imperative-api"});Za(W,pe)||(w(pe),L.current.layout=pe,H&&H(pe),Rr(A,pe,b.current))}}},[]),_=k.useCallback(T=>{const{layout:N,panelDataArray:H}=L.current,{panelSize:W}=cr(H,T,N);return Me(W!=null,`Panel size not found for panel "${T.id}"`),W},[]),V=k.useCallback((T,N)=>{const{panelDataArray:H}=L.current,W=jr(H,T);return TE({defaultSize:N,dragState:v,layout:m,panelData:H,panelIndex:W})},[v,m]),$=k.useCallback(T=>{const{layout:N,panelDataArray:H}=L.current,{collapsedSize:W=0,collapsible:A,panelSize:Y}=cr(H,T,N);return Me(Y!=null,`Panel size not found for panel "${T.id}"`),A===!0&&pn(Y,W)},[]),j=k.useCallback(T=>{const{layout:N,panelDataArray:H}=L.current,{collapsedSize:W=0,collapsible:A,panelSize:Y}=cr(H,T,N);return Me(Y!=null,`Panel size not found for panel "${T.id}"`),!A||lr(Y,W)>0},[]),F=k.useCallback(T=>{const{panelDataArray:N}=L.current;N.push(T),N.sort((H,W)=>{const A=H.order,Y=W.order;return A==null&&Y==null?0:A==null?-1:Y==null?1:A-Y}),L.current.panelDataArrayChanged=!0,y()},[y]);sr(()=>{if(L.current.panelDataArrayChanged){L.current.panelDataArrayChanged=!1;const{autoSaveId:T,onLayout:N,storage:H}=M.current,{layout:W,panelDataArray:A}=L.current;let Y=null;if(T){const J=_E(T,A,H);J&&(S.current=new Map(Object.entries(J.expandToSizes)),Y=J.layout)}Y==null&&(Y=OE({panelDataArray:A}));const X=C9({layout:Y,panelConstraints:A.map(J=>J.constraints)});u9(W,X)||(w(X),L.current.layout=X,N&&N(X),Rr(A,X,b.current))}}),sr(()=>{const T=L.current;return()=>{T.layout=[]}},[]);const R=k.useCallback(T=>{let N=!1;const H=C.current;return H&&window.getComputedStyle(H,null).getPropertyValue("direction")==="rtl"&&(N=!0),function(A){A.preventDefault();const Y=C.current;if(!Y)return()=>null;const{direction:X,dragState:J,id:te,keyboardResizeBy:B,onLayout:ae}=M.current,{layout:ne,panelDataArray:se}=L.current,{initialLayout:ge}=J??{},de=l9(te,T,Y);let pe=IE(A,T,X,J,B,Y);const Le=X==="horizontal";Le&&N&&(pe=-pe);const Fe=se.map(Q=>Q.constraints),Ae=Yo({delta:pe,initialLayout:ge??ne,panelConstraints:Fe,pivotIndices:de,prevLayout:ne,trigger:U3(A)?"keyboard":"mouse-or-touch"}),Ie=!Za(ne,Ae);(X3(A)||K3(A))&&E.current!=pe&&(E.current=pe,!Ie&&pe!==0?Le?Xl(T,pe<0?n9:r9):Xl(T,pe<0?o9:a9):Xl(T,0)),Ie&&(w(Ae),L.current.layout=Ae,ae&&ae(Ae),Rr(se,Ae,b.current))}},[]),Z=k.useCallback((T,N)=>{const{onLayout:H}=M.current,{layout:W,panelDataArray:A}=L.current,Y=A.map(ne=>ne.constraints),{panelSize:X,pivotIndices:J}=cr(A,T,W);Me(X!=null,`Panel size not found for panel "${T.id}"`);const B=jr(A,T)===A.length-1?X-N:N-X,ae=Yo({delta:B,initialLayout:W,panelConstraints:Y,pivotIndices:J,prevLayout:W,trigger:"imperative-api"});Za(W,ae)||(w(ae),L.current.layout=ae,H&&H(ae),Rr(A,ae,b.current))},[]),K=k.useCallback((T,N)=>{const{layout:H,panelDataArray:W}=L.current,{collapsedSize:A=0,collapsible:Y}=N,{collapsedSize:X=0,collapsible:J,maxSize:te=100,minSize:B=0}=T.constraints,{panelSize:ae}=cr(W,T,H);ae!=null&&(Y&&J&&pn(ae,A)?pn(A,X)||Z(T,X):ae<B?Z(T,B):ae>te&&Z(T,te))},[Z]),q=k.useCallback((T,N)=>{const{direction:H}=M.current,{layout:W}=L.current;if(!C.current)return;const A=za(T,C.current);Me(A,`Drag handle element not found for id "${T}"`);const Y=d9(H,N);p({dragHandleId:T,dragHandleRect:A.getBoundingClientRect(),initialCursorPosition:Y,initialLayout:W})},[]),G=k.useCallback(()=>{p(null)},[]),oe=k.useCallback(T=>{const{panelDataArray:N}=L.current,H=jr(N,T);H>=0&&(N.splice(H,1),delete b.current[T.id],L.current.panelDataArrayChanged=!0,y())},[y]),U=k.useMemo(()=>({collapsePanel:I,direction:r,dragState:v,expandPanel:O,getPanelSize:_,getPanelStyle:V,groupId:g,isPanelCollapsed:$,isPanelExpanded:j,reevaluatePanelConstraints:K,registerPanel:F,registerResizeHandle:R,resizePanel:Z,startDragging:q,stopDragging:G,unregisterPanel:oe,panelGroupElement:C.current}),[I,v,r,O,_,V,g,$,j,K,F,R,Z,q,G,oe]),D={display:"flex",flexDirection:r==="horizontal"?"row":"column",height:"100%",overflow:"hidden",width:"100%"};return k.createElement(_a.Provider,{value:U},k.createElement(f,{...h,children:n,className:t,id:a,ref:C,style:{...D,...d},[je.group]:"",[je.groupDirection]:r,[je.groupId]:g}))}const w9=k.forwardRef((e,n)=>k.createElement(v9,{...e,forwardedRef:n}));v9.displayName="PanelGroup",w9.displayName="forwardRef(PanelGroup)";function jr(e,n){return e.findIndex(t=>t===n||t.id===n.id)}function cr(e,n,t){const r=jr(e,n),a=r===e.length-1?[r-1,r]:[r,r+1],s=t[r];return{...n.constraints,panelSize:s,pivotIndices:a}}function AE({disabled:e,handleId:n,resizeHandler:t,panelGroupElement:r}){k.useEffect(()=>{if(e||t==null||r==null)return;const o=za(n,r);if(o==null)return;const a=s=>{if(!s.defaultPrevented)switch(s.key){case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"End":case"Home":{s.preventDefault(),t(s);break}case"F6":{s.preventDefault();const i=o.getAttribute(je.groupId);Me(i,`No group element found for id "${i}"`);const l=qo(i,r),d=i9(i,n,r);Me(d!==null,`No resize element found for id "${n}"`);const f=s.shiftKey?d>0?d-1:l.length-1:d+1<l.length?d+1:0;l[f].focus();break}}};return o.addEventListener("keydown",a),()=>{o.removeEventListener("keydown",a)}},[r,e,n,t])}function y9({children:e=null,className:n="",disabled:t=!1,hitAreaMargins:r,id:o,onBlur:a,onClick:s,onDragging:i,onFocus:l,onPointerDown:d,onPointerUp:f,style:h={},tabIndex:g=0,tagName:C="div",...v}){var p,m;const w=k.useRef(null),y=k.useRef({onClick:s,onDragging:i,onPointerDown:d,onPointerUp:f});k.useEffect(()=>{y.current.onClick=s,y.current.onDragging=i,y.current.onPointerDown=d,y.current.onPointerUp=f});const b=k.useContext(_a);if(b===null)throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");const{direction:S,groupId:E,registerResizeHandle:M,startDragging:L,stopDragging:I,panelGroupElement:O}=b,_=Gl(o),[V,$]=k.useState("inactive"),[j,F]=k.useState(!1),[R,Z]=k.useState(null),K=k.useRef({state:V});sr(()=>{K.current.state=V}),k.useEffect(()=>{if(t)Z(null);else{const U=M(_);Z(()=>U)}},[t,_,M]);const q=(p=r==null?void 0:r.coarse)!==null&&p!==void 0?p:15,G=(m=r==null?void 0:r.fine)!==null&&m!==void 0?m:5;k.useEffect(()=>{if(t||R==null)return;const U=w.current;Me(U,"Element ref not attached");let D=!1;return xE(_,U,S,{coarse:q,fine:G},(N,H,W)=>{if(!H){$("inactive");return}switch(N){case"down":{$("drag"),D=!1,Me(W,'Expected event to be defined for "down" action'),L(_,W);const{onDragging:A,onPointerDown:Y}=y.current;A==null||A(!0),Y==null||Y();break}case"move":{const{state:A}=K.current;D=!0,A!=="drag"&&$("hover"),Me(W,'Expected event to be defined for "move" action'),R(W);break}case"up":{$("hover"),I();const{onClick:A,onDragging:Y,onPointerUp:X}=y.current;Y==null||Y(!1),X==null||X(),D||A==null||A();break}}})},[q,S,t,G,M,_,R,L,I]),AE({disabled:t,handleId:_,resizeHandler:R,panelGroupElement:O});const oe={touchAction:"none",userSelect:"none"};return k.createElement(C,{...v,children:e,className:n,id:o,onBlur:()=>{F(!1),a==null||a()},onFocus:()=>{F(!0),l==null||l()},ref:w,role:"separator",style:{...oe,...h},tabIndex:g,[je.groupDirection]:S,[je.groupId]:E,[je.resizeHandle]:"",[je.resizeHandleActive]:V==="drag"?"pointer":j?"keyboard":void 0,[je.resizeHandleEnabled]:!t,[je.resizeHandleId]:_,[je.resizeHandleState]:V})}y9.displayName="PanelResizeHandle";const Jl=c.forwardRef(({className:e,...n},t)=>u.jsx(w9,{ref:t,className:P("flex h-full w-full data-[panel-group-direction=vertical]:flex-col",e),...n}));Jl.displayName="ResizablePanelGroup";const ec=q3,b9=({withHandle:e,className:n,...t})=>u.jsx(y9,{className:P("relative flex w-px items-center justify-center transition-colors bg-line-primary-disabled hover:bg-line-primary [&:hover>div]:border-line-primary [&:hover>div]:text-foreground-primary after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",n),...t,children:e&&u.jsx("div",{className:"z-10 flex h-4 w-3 items-center justify-center rounded-sm transition-colors text-foreground-primary-disabled bg-background-primary border border-line-primary-disabled hover:text-foreground-primary hover:border-line-primary",children:u.jsx(Qv,{className:"h-2.5 w-2.5"})})}),x9=({titlePrefix:e,titleText:n,buttonsSlot:t,dropDownButtons:r,onBack:o,className:a})=>u.jsxs("div",{className:P("flex items-center justify-between px-6 py-4 border-b border-line-primary",a),children:[u.jsxs("div",{className:"flex items-center gap-2 min-w-0 flex-1 text-2xl font-medium",children:[o&&u.jsx("div",{className:"p-2 cursor-pointer hover:text-foreground-primary-disabled flex-shrink-0",onClick:o,children:u.jsx(Bl,{})}),e&&u.jsx("span",{className:"text-foreground-secondary whitespace-nowrap",children:e}),n&&u.jsx("span",{className:"text-foreground-primary truncate",title:n,children:n})]}),u.jsxs("div",{className:"flex items-center gap-2 flex-shrink-0",children:[t,r&&r.length>0&&u.jsxs(Ta,{children:[u.jsx(Bo,{asChild:!0,children:u.jsx(_e,{variant:"fade-contrast-transparent",size:"icon",children:u.jsx(_l,{})})}),u.jsx(Wo,{children:r.map((s,i)=>u.jsx(rr,{onClick:s.onClick,disabled:s.disabled,children:s.text},i))})]})]})]});x9.displayName="PostCardHeader";const S9=({sections:e,className:n})=>!e||e.length===0?null:u.jsx("div",{className:P("flex flex-col",n),children:e.map((t,r)=>u.jsx("div",{className:"py-4 border-b border-line-primary first:pt-0 last:border-b-0 last:pb-0",children:u.jsx("table",{className:"w-full border-separate border-spacing-0",children:u.jsx("tbody",{children:t.fields.map((o,a)=>u.jsxs("tr",{className:"align-text-top first:[&>td]:pt-0 last:[&>td]:pb-0",children:[u.jsx("td",{className:"min-w-[160px] w-[160px] pr-1 py-1 text-foreground-primary text-sm leading-5 font-medium tracking-[0.25px]",children:o.label}),u.jsx("td",{className:"py-1 px-1 text-foreground-primary text-sm leading-5 max-w-[1px] tracking-[0.25px]",children:o.value||"-"})]},a))})})},r))});S9.displayName="PostCardBody";const M9=({children:e,className:n})=>u.jsx("div",{className:P("flex flex-col gap-2",n),children:e});M9.displayName="PostCardSidebar";const E9=({headerSlot:e,contentSlot:n,footerSlot:t,selected:r,onClick:o,className:a})=>e||n||t?u.jsxs("li",{className:P("px-4 py-3 flex flex-col gap-2 text-sm leading-5 border-t border-line-primary first:border-t-0 text-foreground-primary cursor-pointer",{"bg-background-primary-selected":r},a),onClick:o,children:[e&&u.jsx("div",{className:"flex items-center justify-between gap-4",children:e}),n&&u.jsx("div",{children:n}),t&&u.jsx("div",{className:"flex items-center justify-between gap-4",children:t})]}):null;E9.displayName="PostCardLeftPanelItem";const L9=({sortSlot:e,children:n,paginationSlot:t,className:r})=>u.jsxs("div",{className:P("flex flex-col bg-background-primary border-r border-line-primary h-full min-h-0",r),children:[e&&u.jsx("div",{className:"px-4 py-1 border-b border-line-primary flex-shrink-0",children:e}),u.jsx("ul",{className:"flex flex-col overflow-y-auto flex-1 min-h-0",children:n}),t&&u.jsx("div",{className:"px-4 border-t border-line-primary flex-shrink-0 [&>*:first-child]:px-0 [&>*]:border-none [&>*]:p-0 [&>*]:h-[unset] [&>*]:min-h-[unset] [&>*]:w-full [&>*]:rounded-none",children:t})]});L9.displayName="PostCardLeftPanel";const N9=({leftPanelSlot:e,leftPanelResizable:n,headerSlot:t,bodySlot:r,sidebarSlot:o,contentSlot:a,className:s,withTopBorder:i=!1,fixedHeight:l=!1})=>{if(!(e||t||r||o||a))return null;const f=u.jsxs(u.Fragment,{children:[(r||o)&&u.jsxs("div",{className:"flex gap-6 px-6 py-6",children:[r&&u.jsx("div",{className:"flex-1 min-w-0",children:r}),o&&u.jsx("div",{className:"w-[340px] flex-shrink-0",children:o})]}),a&&u.jsx("div",{className:"px-6 pb-6",children:a})]}),h=u.jsxs("div",{className:P("flex flex-col flex-1 min-w-0 min-h-0",l&&"overflow-hidden"),children:[t&&u.jsx("div",{className:"flex-shrink-0",children:t}),u.jsx("div",{className:"flex-1 min-h-0 overflow-y-auto flex flex-col",children:f})]});if(e&&n){const{defaultSize:g=25,minSize:C=15,maxSize:v=50,autoSaveId:p}=n;return u.jsx("div",{className:P("bg-background-primary flex w-full h-full flex-1 flex flex-col",{"border-t border-line-primary":i},s),children:u.jsxs(Jl,{direction:"horizontal",className:"flex-1 overflow-hidden",autoSaveId:p,children:[u.jsx(ec,{defaultSize:g,minSize:C,maxSize:v,className:"overflow-auto flex-1",children:u.jsx("div",{className:"h-full bg-background-primary border-r border-line-primary",children:e})}),u.jsx(b9,{withHandle:!0}),u.jsx(ec,{minSize:50,className:"flex flex-col min-h-0 overflow-hidden",children:h})]})})}return u.jsxs("div",{className:P("bg-background-primary flex w-full flex-1 min-h-0",l&&"h-full overflow-hidden",{"border-t border-line-primary":i},s),children:[e&&u.jsx("div",{className:P("w-[346px] flex-shrink-0 border-r border-line-primary",l&&"h-full min-h-0 overflow-hidden flex flex-col"),children:e}),h]})};N9.displayName="PostCard";const k9=c.forwardRef(({className:e,avatarUrl:n,avatarAlt:t,name:r,email:o,role:a,...s},i)=>u.jsxs("div",{ref:i,className:P("flex items-center gap-3 rounded-lg bg-background-secondary p-2",e),...s,children:[n&&u.jsx("img",{src:n,alt:t||r,className:"h-10 w-10 min-w-10 rounded-full border border-line-primary object-cover flex-shrink-0"}),u.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-[2px]",children:[u.jsx("span",{className:"text-sm font-normal leading-5 text-foreground",children:r}),(o||a)&&u.jsxs("div",{className:"flex items-center gap-1.5 text-xs font-normal leading-4",children:[o&&u.jsx("a",{href:`mailto:${o}`,className:"text-foreground-theme hover:underline",children:o}),o&&a&&u.jsx(wi,{className:"text-foreground-secondary"}),a&&u.jsx("span",{className:"text-foreground-secondary",children:a})]})]})]}));k9.displayName="Profile";function Yr(e,n,t){let r=t.initialDeps??[],o,a=!0;function s(){var i,l,d;let f;t.key&&((i=t.debug)!=null&&i.call(t))&&(f=Date.now());const h=e();if(!(h.length!==r.length||h.some((v,p)=>r[p]!==v)))return o;r=h;let C;if(t.key&&((l=t.debug)!=null&&l.call(t))&&(C=Date.now()),o=n(...h),t.key&&((d=t.debug)!=null&&d.call(t))){const v=Math.round((Date.now()-f)*100)/100,p=Math.round((Date.now()-C)*100)/100,m=p/16,w=(y,b)=>{for(y=String(y);y.length<b;)y=" "+y;return y};console.info(`%c⏱ ${w(p,5)} /${w(v,5)} ms`,`
128
+ font-size: .6rem;
129
+ font-weight: bold;
130
+ color: hsl(${Math.max(0,Math.min(120-120*m,120))}deg 100% 31%);`,t==null?void 0:t.key)}return t!=null&&t.onChange&&!(a&&t.skipInitialOnChange)&&t.onChange(o),a=!1,o}return s.updateDeps=i=>{r=i},s}function P9(e,n){if(e===void 0)throw new Error("Unexpected undefined");return e}const FE=(e,n)=>Math.abs(e-n)<1.01,$E=(e,n,t)=>{let r;return function(...o){e.clearTimeout(r),r=e.setTimeout(()=>n.apply(this,o),t)}},I9=e=>{const{offsetWidth:n,offsetHeight:t}=e;return{width:n,height:t}},zE=e=>e,ZE=e=>{const n=Math.max(e.startIndex-e.overscan,0),t=Math.min(e.endIndex+e.overscan,e.count-1),r=[];for(let o=n;o<=t;o++)r.push(o);return r},BE=(e,n)=>{const t=e.scrollElement;if(!t)return;const r=e.targetWindow;if(!r)return;const o=s=>{const{width:i,height:l}=s;n({width:Math.round(i),height:Math.round(l)})};if(o(I9(t)),!r.ResizeObserver)return()=>{};const a=new r.ResizeObserver(s=>{const i=()=>{const l=s[0];if(l!=null&&l.borderBoxSize){const d=l.borderBoxSize[0];if(d){o({width:d.inlineSize,height:d.blockSize});return}}o(I9(t))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(i):i()});return a.observe(t,{box:"border-box"}),()=>{a.unobserve(t)}},O9={passive:!0},T9=typeof window>"u"?!0:"onscrollend"in window,WE=(e,n)=>{const t=e.scrollElement;if(!t)return;const r=e.targetWindow;if(!r)return;let o=0;const a=e.options.useScrollendEvent&&T9?()=>{}:$E(r,()=>{n(o,!1)},e.options.isScrollingResetDelay),s=f=>()=>{const{horizontal:h,isRtl:g}=e.options;o=h?t.scrollLeft*(g&&-1||1):t.scrollTop,a(),n(o,f)},i=s(!0),l=s(!1);t.addEventListener("scroll",i,O9);const d=e.options.useScrollendEvent&&T9;return d&&t.addEventListener("scrollend",l,O9),()=>{t.removeEventListener("scroll",i),d&&t.removeEventListener("scrollend",l)}},GE=(e,n,t)=>{if(n!=null&&n.borderBoxSize){const r=n.borderBoxSize[0];if(r)return Math.round(r[t.options.horizontal?"inlineSize":"blockSize"])}return e[t.options.horizontal?"offsetWidth":"offsetHeight"]},RE=(e,{adjustments:n=0,behavior:t},r)=>{var o,a;const s=e+n;(a=(o=r.scrollElement)==null?void 0:o.scrollTo)==null||a.call(o,{[r.options.horizontal?"left":"top"]:s,behavior:t})};class jE{constructor(n){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.currentScrollToIndex=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.laneAssignments=new Map,this.pendingMeasuredCacheIndexes=[],this.prevLanes=void 0,this.lanesChangedFlag=!1,this.lanesSettling=!1,this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let t=null;const r=()=>t||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:t=new this.targetWindow.ResizeObserver(o=>{o.forEach(a=>{const s=()=>{this._measureElement(a.target,a)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(s):s()})}));return{disconnect:()=>{var o;(o=r())==null||o.disconnect(),t=null},observe:o=>{var a;return(a=r())==null?void 0:a.observe(o,{box:"border-box"})},unobserve:o=>{var a;return(a=r())==null?void 0:a.unobserve(o)}}})(),this.range=null,this.setOptions=t=>{Object.entries(t).forEach(([r,o])=>{typeof o>"u"&&delete t[r]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:zE,rangeExtractor:ZE,onChange:()=>{},measureElement:GE,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,...t}},this.notify=t=>{var r,o;(o=(r=this.options).onChange)==null||o.call(r,this,t)},this.maybeNotify=Yr(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),t=>{this.notify(t)},{key:process.env.NODE_ENV!=="production"&&"maybeNotify",debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(t=>t()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var t;const r=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==r){if(this.cleanup(),!r){this.maybeNotify();return}this.scrollElement=r,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=((t=this.scrollElement)==null?void 0:t.window)??null,this.elementsCache.forEach(o=>{this.observer.observe(o)}),this.unsubs.push(this.options.observeElementRect(this,o=>{this.scrollRect=o,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(o,a)=>{this.scrollAdjustments=0,this.scrollDirection=a?this.getScrollOffset()<o?"forward":"backward":null,this.scrollOffset=o,this.isScrolling=a,this.maybeNotify()})),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(t,r)=>{const o=new Map,a=new Map;for(let s=r-1;s>=0;s--){const i=t[s];if(o.has(i.lane))continue;const l=a.get(i.lane);if(l==null||i.end>l.end?a.set(i.lane,i):i.end<l.end&&o.set(i.lane,!0),o.size===this.options.lanes)break}return a.size===this.options.lanes?Array.from(a.values()).sort((s,i)=>s.end===i.end?s.index-i.index:s.end-i.end)[0]:void 0},this.getMeasurementOptions=Yr(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled,this.options.lanes],(t,r,o,a,s,i)=>(this.prevLanes!==void 0&&this.prevLanes!==i&&(this.lanesChangedFlag=!0),this.prevLanes=i,this.pendingMeasuredCacheIndexes=[],{count:t,paddingStart:r,scrollMargin:o,getItemKey:a,enabled:s,lanes:i}),{key:!1}),this.getMeasurements=Yr(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:t,paddingStart:r,scrollMargin:o,getItemKey:a,enabled:s,lanes:i},l)=>{if(!s)return this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),[];if(this.laneAssignments.size>t)for(const g of this.laneAssignments.keys())g>=t&&this.laneAssignments.delete(g);this.lanesChangedFlag&&(this.lanesChangedFlag=!1,this.lanesSettling=!0,this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),this.pendingMeasuredCacheIndexes=[]),this.measurementsCache.length===0&&!this.lanesSettling&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(g=>{this.itemSizeCache.set(g.key,g.size)}));const d=this.lanesSettling?0:this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[],this.lanesSettling&&this.measurementsCache.length===t&&(this.lanesSettling=!1);const f=this.measurementsCache.slice(0,d),h=new Array(i).fill(void 0);for(let g=0;g<d;g++){const C=f[g];C&&(h[C.lane]=g)}for(let g=d;g<t;g++){const C=a(g),v=this.laneAssignments.get(g);let p,m;if(v!==void 0&&this.options.lanes>1){p=v;const S=h[p],E=S!==void 0?f[S]:void 0;m=E?E.end+this.options.gap:r+o}else{const S=this.options.lanes===1?f[g-1]:this.getFurthestMeasurement(f,g);m=S?S.end+this.options.gap:r+o,p=S?S.lane:g%this.options.lanes,this.options.lanes>1&&this.laneAssignments.set(g,p)}const w=l.get(C),y=typeof w=="number"?w:this.options.estimateSize(g),b=m+y;f[g]={index:g,start:m,size:y,end:b,key:C,lane:p},h[p]=g}return this.measurementsCache=f,f},{key:process.env.NODE_ENV!=="production"&&"getMeasurements",debug:()=>this.options.debug}),this.calculateRange=Yr(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(t,r,o,a)=>this.range=t.length>0&&r>0?YE({measurements:t,outerSize:r,scrollOffset:o,lanes:a}):null,{key:process.env.NODE_ENV!=="production"&&"calculateRange",debug:()=>this.options.debug}),this.getVirtualIndexes=Yr(()=>{let t=null,r=null;const o=this.calculateRange();return o&&(t=o.startIndex,r=o.endIndex),this.maybeNotify.updateDeps([this.isScrolling,t,r]),[this.options.rangeExtractor,this.options.overscan,this.options.count,t,r]},(t,r,o,a,s)=>a===null||s===null?[]:t({startIndex:a,endIndex:s,overscan:r,count:o}),{key:process.env.NODE_ENV!=="production"&&"getVirtualIndexes",debug:()=>this.options.debug}),this.indexFromElement=t=>{const r=this.options.indexAttribute,o=t.getAttribute(r);return o?parseInt(o,10):(console.warn(`Missing attribute name '${r}={index}' on measured element.`),-1)},this._measureElement=(t,r)=>{const o=this.indexFromElement(t),a=this.measurementsCache[o];if(!a)return;const s=a.key,i=this.elementsCache.get(s);i!==t&&(i&&this.observer.unobserve(i),this.observer.observe(t),this.elementsCache.set(s,t)),t.isConnected&&this.resizeItem(o,this.options.measureElement(t,r,this))},this.resizeItem=(t,r)=>{const o=this.measurementsCache[t];if(!o)return;const a=this.itemSizeCache.get(o.key)??o.size,s=r-a;s!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(o,s,this):o.start<this.getScrollOffset()+this.scrollAdjustments)&&(process.env.NODE_ENV!=="production"&&this.options.debug&&console.info("correction",s),this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=s,behavior:void 0})),this.pendingMeasuredCacheIndexes.push(o.index),this.itemSizeCache=new Map(this.itemSizeCache.set(o.key,r)),this.notify(!1))},this.measureElement=t=>{if(!t){this.elementsCache.forEach((r,o)=>{r.isConnected||(this.observer.unobserve(r),this.elementsCache.delete(o))});return}this._measureElement(t,void 0)},this.getVirtualItems=Yr(()=>[this.getVirtualIndexes(),this.getMeasurements()],(t,r)=>{const o=[];for(let a=0,s=t.length;a<s;a++){const i=t[a],l=r[i];o.push(l)}return o},{key:process.env.NODE_ENV!=="production"&&"getVirtualItems",debug:()=>this.options.debug}),this.getVirtualItemForOffset=t=>{const r=this.getMeasurements();if(r.length!==0)return P9(r[D9(0,r.length-1,o=>P9(r[o]).start,t)])},this.getMaxScrollOffset=()=>{if(!this.scrollElement)return 0;if("scrollHeight"in this.scrollElement)return this.options.horizontal?this.scrollElement.scrollWidth-this.scrollElement.clientWidth:this.scrollElement.scrollHeight-this.scrollElement.clientHeight;{const t=this.scrollElement.document.documentElement;return this.options.horizontal?t.scrollWidth-this.scrollElement.innerWidth:t.scrollHeight-this.scrollElement.innerHeight}},this.getOffsetForAlignment=(t,r,o=0)=>{if(!this.scrollElement)return 0;const a=this.getSize(),s=this.getScrollOffset();r==="auto"&&(r=t>=s+a?"end":"start"),r==="center"?t+=(o-a)/2:r==="end"&&(t-=a);const i=this.getMaxScrollOffset();return Math.max(Math.min(i,t),0)},this.getOffsetForIndex=(t,r="auto")=>{t=Math.max(0,Math.min(t,this.options.count-1));const o=this.measurementsCache[t];if(!o)return;const a=this.getSize(),s=this.getScrollOffset();if(r==="auto")if(o.end>=s+a-this.options.scrollPaddingEnd)r="end";else if(o.start<=s+this.options.scrollPaddingStart)r="start";else return[s,r];if(r==="end"&&t===this.options.count-1)return[this.getMaxScrollOffset(),r];const i=r==="end"?o.end+this.options.scrollPaddingEnd:o.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(i,r,o.size),r]},this.isDynamicMode=()=>this.elementsCache.size>0,this.scrollToOffset=(t,{align:r="start",behavior:o}={})=>{o==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(t,r),{adjustments:void 0,behavior:o})},this.scrollToIndex=(t,{align:r="auto",behavior:o}={})=>{o==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),t=Math.max(0,Math.min(t,this.options.count-1)),this.currentScrollToIndex=t;let a=0;const s=10,i=d=>{if(!this.targetWindow)return;const f=this.getOffsetForIndex(t,d);if(!f){console.warn("Failed to get offset for index:",t);return}const[h,g]=f;this._scrollToOffset(h,{adjustments:void 0,behavior:o}),this.targetWindow.requestAnimationFrame(()=>{const C=()=>{if(this.currentScrollToIndex!==t)return;const v=this.getScrollOffset(),p=this.getOffsetForIndex(t,g);if(!p){console.warn("Failed to get offset for index:",t);return}FE(p[0],v)||l(g)};this.isDynamicMode()?this.targetWindow.requestAnimationFrame(C):C()})},l=d=>{this.targetWindow&&this.currentScrollToIndex===t&&(a++,a<s?(process.env.NODE_ENV!=="production"&&this.options.debug&&console.info("Schedule retry",a,s),this.targetWindow.requestAnimationFrame(()=>i(d))):console.warn(`Failed to scroll to index ${t} after ${s} attempts.`))};i(r)},this.scrollBy=(t,{behavior:r}={})=>{r==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+t,{adjustments:void 0,behavior:r})},this.getTotalSize=()=>{var t;const r=this.getMeasurements();let o;if(r.length===0)o=this.options.paddingStart;else if(this.options.lanes===1)o=((t=r[r.length-1])==null?void 0:t.end)??0;else{const a=Array(this.options.lanes).fill(null);let s=r.length-1;for(;s>=0&&a.some(i=>i===null);){const i=r[s];a[i.lane]===null&&(a[i.lane]=i.end),s--}o=Math.max(...a.filter(i=>i!==null))}return Math.max(o-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(t,{adjustments:r,behavior:o})=>{this.options.scrollToFn(t,{behavior:o,adjustments:r},this)},this.measure=()=>{this.itemSizeCache=new Map,this.laneAssignments=new Map,this.notify(!1)},this.setOptions(n)}}const D9=(e,n,t,r)=>{for(;e<=n;){const o=(e+n)/2|0,a=t(o);if(a<r)e=o+1;else if(a>r)n=o-1;else return o}return e>0?e-1:0};function YE({measurements:e,outerSize:n,scrollOffset:t,lanes:r}){const o=e.length-1,a=l=>e[l].start;if(e.length<=r)return{startIndex:0,endIndex:o};let s=D9(0,o,a,t),i=s;if(r===1)for(;i<o&&e[i].end<t+n;)i++;else if(r>1){const l=Array(r).fill(0);for(;i<o&&l.some(f=>f<t+n);){const f=e[i];l[f.lane]=f.end,i++}const d=Array(r).fill(t+n);for(;s>=0&&d.some(f=>f>=t);){const f=e[s];d[f.lane]=f.start,s--}s=Math.max(0,s-s%r),i=Math.min(o,i+(r-1-i%r))}return{startIndex:s,endIndex:i}}const _9=typeof document<"u"?c.useLayoutEffect:c.useEffect;function qE({useFlushSync:e=!0,...n}){const t=c.useReducer(()=>({}),{})[1],r={...n,onChange:(a,s)=>{var i;e&&s?Cs.flushSync(t):t(),(i=n.onChange)==null||i.call(n,a,s)}},[o]=c.useState(()=>new jE(r));return o.setOptions(r),_9(()=>o._didMount(),[]),_9(()=>o._willUpdate()),o}function V9(e){return qE({observeElementRect:BE,observeElementOffset:WE,scrollToFn:RE,...e})}const UE=e=>c.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14ZM5.59619 7.83594V8.14795C5.59619 9.88379 6.42676 11.1055 7.97803 11.1055C9.61279 11.1055 10.395 9.75635 10.395 8.14795V7.83594C10.395 6.08691 9.56885 4.896 8.01318 4.896C6.4707 4.896 5.59619 6.1001 5.59619 7.83594ZM7.17383 8.14355V7.84033C7.17383 6.67578 7.49902 6.13965 7.99561 6.13965C8.49219 6.13965 8.82178 6.68457 8.82178 7.84033V8.14355C8.82178 9.30371 8.49219 9.86182 7.99561 9.86182C7.49902 9.86182 7.17383 9.30811 7.17383 8.14355Z",fill:"currentColor"})),XE=e=>c.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14ZM7.70996 6.4209V10.2046C7.70996 10.8154 8.06592 11.0352 8.49219 11.0352C8.92285 11.0352 9.27002 10.8154 9.27002 10.2046V5.91113C9.27002 5.41895 8.98877 4.96631 8.34717 4.96631C8.03076 4.96631 7.68359 5.07617 7.33643 5.2915L6.65088 5.73535C6.42236 5.88037 6.23779 6.06934 6.23779 6.3418C6.23779 6.63623 6.43115 6.88232 6.76953 6.88232C6.92773 6.88232 7.05957 6.82959 7.30566 6.68018L7.69678 6.4209H7.70996Z",fill:"currentColor"})),KE=e=>c.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14ZM6.4751 9.36963C6.06201 9.76514 5.84229 10.0376 5.84229 10.354C5.84229 10.6836 6.0752 11 6.58496 11H9.604C10.0522 11 10.3203 10.7715 10.3203 10.3848C10.3203 10.0068 10.0522 9.76514 9.604 9.76514H7.89014V9.69922L9.07666 8.54346C9.63477 8.00732 10.0962 7.42725 10.0962 6.6582C10.0962 5.62549 9.26123 4.896 7.94727 4.896C6.49707 4.896 5.77637 5.78809 5.77637 6.45605C5.77637 6.86475 6.05322 7.10205 6.42236 7.10205C6.7124 7.10205 6.86182 6.95264 6.98486 6.79883C7.00304 6.77175 7.02106 6.74436 7.03912 6.7169C7.23506 6.41905 7.43621 6.11328 7.89893 6.11328C8.36035 6.11328 8.60645 6.4165 8.60645 6.78125C8.60645 7.20752 8.25049 7.58984 7.93848 7.89746L6.4751 9.36963Z",fill:"currentColor"})),QE=e=>c.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14ZM6.34766 9.08838C5.94336 9.08838 5.68848 9.36523 5.68848 9.73438C5.68848 10.4727 6.69482 11.1055 7.93408 11.1055C9.21289 11.1055 10.3335 10.4551 10.3335 9.29053C10.3335 8.39844 9.68311 7.91064 9.08545 7.8667V7.7876C9.53809 7.73486 10.1709 7.31299 10.1709 6.51318C10.1709 5.52002 9.19531 4.896 7.93408 4.896C6.60254 4.896 5.74121 5.59473 5.74121 6.28467C5.74121 6.67578 6.03125 6.89551 6.40039 6.89551C6.66406 6.89551 6.81787 6.77686 6.9541 6.62744C6.96237 6.61792 6.97065 6.60837 6.97894 6.5988C7.20417 6.33884 7.44148 6.06494 7.90771 6.06494C8.37793 6.06494 8.68994 6.3374 8.68994 6.70215C8.68994 7.06689 8.37354 7.34814 7.91211 7.34814H7.4375C7.22656 7.34814 6.87939 7.50195 6.87939 7.91064C6.87939 8.31055 7.21777 8.49951 7.4375 8.49951H7.9209C8.50098 8.49951 8.82178 8.82031 8.82178 9.22461C8.82178 9.60693 8.52295 9.94092 7.9209 9.94092C7.40234 9.94092 7.13867 9.69922 6.94092 9.42676C6.7959 9.25098 6.65088 9.08838 6.34766 9.08838Z",fill:"currentColor"})),JE=e=>c.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14ZM8.34717 8.79395H6.80908V8.77197C7.23096 7.87549 7.75391 7.01416 8.3208 6.14404H8.34717V8.79395ZM8.34717 10.0112V10.2529C8.34717 10.7539 8.646 11.0352 9.07227 11.0352C9.49854 11.0352 9.81055 10.7539 9.81055 10.2529V10.0112H9.95117C10.3291 10.0112 10.5752 9.7959 10.5752 9.40918C10.5752 9.02246 10.3291 8.79395 9.95117 8.79395H9.81055V5.93311C9.81055 5.25195 9.26562 4.90918 8.5625 4.90918C7.90771 4.90918 7.55615 5.20361 7.13428 5.81445C6.56299 6.64502 6.01807 7.57666 5.63135 8.37646C5.48193 8.69727 5.40723 8.93896 5.40723 9.19824C5.40723 9.67285 5.67529 10.0112 6.26855 10.0112H8.34717Z",fill:"currentColor"})),eL=e=>c.createElement("svg",{width:111,height:90,viewBox:"0 0 111 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.5 13.2058C0.5 6.06347 6.29003 0.273438 13.4324 0.273438H97.5676C104.71 0.273438 110.5 6.06347 110.5 13.2058V74.5831V76.2513C110.5 83.3937 104.71 89.1837 97.5676 89.1837H13.4324C6.29003 89.1837 0.5 83.3937 0.5 76.2513V13.2058ZM107.087 23.265V29.8617V74.1158V76.237C107.087 81.5938 102.745 85.9363 97.3877 85.9363H13.2525C7.89575 85.9363 3.55323 81.5938 3.55323 76.237V23.265H107.087Z",fill:"#868DA1"}),c.createElement("path",{d:"M64.9831 35.8279C64.0463 34.1843 62.6858 32.8193 61.0419 31.8739C59.3981 30.9285 57.5306 30.4369 55.6321 30.4498C53.7155 30.451 51.8323 30.9504 50.1691 31.8985C48.5201 32.8594 47.1469 34.2262 46.1815 35.8676L31.0486 62.0832C30.0981 63.7178 29.5977 65.5729 29.5977 67.4615C29.5977 69.3501 30.0982 71.2052 31.0487 72.8397C31.9993 74.4743 33.3661 75.8303 35.0114 76.771C36.6566 77.7117 38.5221 78.2038 40.4195 78.1976H70.8648C72.7621 78.2038 74.6276 77.7117 76.2729 76.771C77.9181 75.8303 79.285 74.4743 80.2355 72.8397C81.186 71.2052 81.6865 69.3501 81.6865 67.4615C81.6866 65.5729 81.1861 63.7178 80.2356 62.0832L64.9831 35.8279ZM76.9459 70.9144C76.3433 71.9653 75.4732 72.8396 74.4231 73.4493C73.373 74.059 72.1801 74.3825 70.9645 74.3873H40.3995C39.1804 74.3805 37.9845 74.0551 36.9315 73.4435C35.8785 72.8319 35.0054 71.9557 34.3997 70.9026C33.794 69.8495 33.4768 68.6565 33.4801 67.4431C33.4833 66.2296 33.8068 65.0383 34.4181 63.9884L49.6507 37.7331C50.2591 36.6768 51.1313 35.7949 52.1829 35.173C53.2344 34.5779 54.4226 34.2635 55.6321 34.2601C56.8486 34.2609 58.0431 34.5827 59.0939 35.1928C60.1447 35.8029 61.0141 36.6794 61.6135 37.7331L76.8462 63.9884C77.4756 65.0363 77.813 66.2323 77.8235 67.4532C77.8341 68.6741 77.5173 69.8757 76.906 70.9342L76.9459 70.9144Z",fill:"#868DA1"}),c.createElement("path",{d:"M57.4667 41.3049C57.2349 41.0496 56.9519 40.8455 56.6359 40.7059C56.32 40.5662 55.9781 40.494 55.6324 40.494C55.2867 40.494 54.9448 40.5662 54.6289 40.7059C54.3129 40.8455 54.0299 41.0496 53.7981 41.3049C53.5524 41.5691 53.3679 41.8838 53.2577 42.2267C53.1474 42.5696 53.1141 42.9324 53.1601 43.2895L54.5757 57.5185C54.5757 57.7975 54.687 58.065 54.8852 58.2623C55.0834 58.4595 55.3521 58.5703 55.6324 58.5703C55.9127 58.5703 56.1814 58.4595 56.3796 58.2623C56.5778 58.065 56.6891 57.7975 56.6891 57.5185L58.1047 43.2895C58.1507 42.9324 58.1174 42.5696 58.0071 42.2267C57.8969 41.8838 57.7124 41.5691 57.4667 41.3049Z",fill:"#868DA1"}),c.createElement("path",{d:"M55.6323 68.1555C57.273 68.1555 58.603 66.8316 58.603 65.1985C58.603 63.5655 57.273 62.2416 55.6323 62.2416C53.9916 62.2416 52.6615 63.5655 52.6615 65.1985C52.6615 66.8316 53.9916 68.1555 55.6323 68.1555Z",fill:"#868DA1"}),c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M107.267 13.2064V20.0468H3.7331V13.2064C3.7331 7.84968 8.07562 3.50715 13.4324 3.50715H97.5676C102.924 3.50715 107.267 7.84967 107.267 13.2064ZM15.8572 16.4396C18.0892 16.4396 19.8986 14.6302 19.8986 12.3982C19.8986 10.1662 18.0892 8.3568 15.8572 8.3568C13.6252 8.3568 11.8158 10.1662 11.8158 12.3982C11.8158 14.6302 13.6252 16.4396 15.8572 16.4396ZM31.2144 12.3982C31.2144 14.6302 29.4051 16.4396 27.1731 16.4396C24.9411 16.4396 23.1317 14.6302 23.1317 12.3982C23.1317 10.1662 24.9411 8.3568 27.1731 8.3568C29.4051 8.3568 31.2144 10.1662 31.2144 12.3982Z",fill:"#868DA1"}),c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M107.267 13.2065V20.0468H3.7328V13.2065C3.7328 7.84973 8.07533 3.5072 13.4321 3.5072H97.5673C102.924 3.5072 107.267 7.84973 107.267 13.2065ZM15.8569 16.4396C18.0889 16.4396 19.8983 14.6302 19.8983 12.3982C19.8983 10.1662 18.0889 8.35685 15.8569 8.35685C13.6249 8.35685 11.8156 10.1662 11.8156 12.3982C11.8156 14.6302 13.6249 16.4396 15.8569 16.4396ZM31.2141 12.3982C31.2141 14.6302 29.4048 16.4396 27.1728 16.4396C24.9408 16.4396 23.1314 14.6302 23.1314 12.3982C23.1314 10.1662 24.9408 8.35685 27.1728 8.35685C29.4048 8.35685 31.2141 10.1662 31.2141 12.3982Z",fill:"#20242F"})),tL=e=>c.createElement("svg",{width:111,height:90,viewBox:"0 0 111 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.5 13.2058C0.5 6.06347 6.29003 0.273438 13.4324 0.273438H97.5676C104.71 0.273438 110.5 6.06347 110.5 13.2058V74.5831V76.2513C110.5 83.3937 104.71 89.1837 97.5676 89.1837H13.4324C6.29003 89.1837 0.5 83.3937 0.5 76.2513V13.2058ZM107.087 23.265V29.8617V74.1158V76.237C107.087 81.5938 102.745 85.9363 97.3877 85.9363H13.2525C7.89575 85.9363 3.55323 81.5938 3.55323 76.237V23.265H107.087Z",fill:"#37394A"}),c.createElement("path",{d:"M64.983 35.8279C64.0462 34.1843 62.6857 32.8193 61.0419 31.8739C59.3981 30.9285 57.5306 30.4369 55.6321 30.4498C53.7154 30.451 51.8323 30.9504 50.1691 31.8985C48.52 32.8594 47.1469 34.2262 46.1815 35.8676L31.0486 62.0832C30.0981 63.7178 29.5976 65.5729 29.5977 67.4615C29.5977 69.3501 30.0982 71.2052 31.0487 72.8397C31.9992 74.4743 33.3661 75.8303 35.0113 76.771C36.6566 77.7117 38.522 78.2038 40.4194 78.1976H70.8647C72.7621 78.2038 74.6276 77.7117 76.2728 76.771C77.9181 75.8303 79.2849 74.4743 80.2354 72.8397C81.1859 71.2052 81.6865 69.3501 81.6865 67.4615C81.6865 65.5729 81.186 63.7178 80.2356 62.0832L64.983 35.8279ZM76.9458 70.9144C76.3432 71.9653 75.4731 72.8396 74.423 73.4493C73.373 74.059 72.1801 74.3825 70.9644 74.3873H40.3995C39.1804 74.3805 37.9844 74.0551 36.9314 73.4435C35.8785 72.8319 35.0054 71.9557 34.3997 70.9026C33.7939 69.8495 33.4768 68.6565 33.48 67.4431C33.4833 66.2296 33.8067 65.0383 34.4181 63.9884L49.6507 37.7331C50.259 36.6768 51.1313 35.7949 52.1828 35.173C53.2343 34.5779 54.4225 34.2635 55.6321 34.2601C56.8486 34.2609 58.0431 34.5827 59.0939 35.1928C60.1446 35.8029 61.0141 36.6794 61.6135 37.7331L76.8461 63.9884C77.4756 65.0363 77.813 66.2323 77.8235 67.4532C77.834 68.6741 77.5173 69.8757 76.9059 70.9342L76.9458 70.9144Z",fill:"#37394A"}),c.createElement("path",{d:"M57.4667 41.3049C57.2349 41.0496 56.9519 40.8455 56.6359 40.7059C56.32 40.5662 55.9781 40.494 55.6324 40.494C55.2867 40.494 54.9448 40.5662 54.6288 40.7059C54.3129 40.8455 54.0299 41.0496 53.7981 41.3049C53.5524 41.5691 53.3679 41.8838 53.2576 42.2267C53.1474 42.5696 53.1141 42.9324 53.1601 43.2895L54.5757 57.5185C54.5757 57.7975 54.687 58.065 54.8852 58.2623C55.0833 58.4595 55.3521 58.5703 55.6324 58.5703C55.9126 58.5703 56.1814 58.4595 56.3796 58.2623C56.5778 58.065 56.6891 57.7975 56.6891 57.5185L58.1047 43.2895C58.1507 42.9324 58.1174 42.5696 58.0071 42.2267C57.8969 41.8838 57.7124 41.5691 57.4667 41.3049Z",fill:"#37394A"}),c.createElement("path",{d:"M55.6323 68.1555C57.273 68.1555 58.603 66.8316 58.603 65.1985C58.603 63.5655 57.273 62.2416 55.6323 62.2416C53.9916 62.2416 52.6615 63.5655 52.6615 65.1985C52.6615 66.8316 53.9916 68.1555 55.6323 68.1555Z",fill:"#37394A"}),c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M107.267 13.2064V20.0468H3.7331V13.2064C3.7331 7.84968 8.07562 3.50715 13.4324 3.50715H97.5676C102.924 3.50715 107.267 7.84967 107.267 13.2064ZM15.8572 16.4396C18.0892 16.4396 19.8986 14.6302 19.8986 12.3982C19.8986 10.1662 18.0892 8.3568 15.8572 8.3568C13.6252 8.3568 11.8158 10.1662 11.8158 12.3982C11.8158 14.6302 13.6252 16.4396 15.8572 16.4396ZM31.2144 12.3982C31.2144 14.6302 29.4051 16.4396 27.1731 16.4396C24.9411 16.4396 23.1317 14.6302 23.1317 12.3982C23.1317 10.1662 24.9411 8.3568 27.1731 8.3568C29.4051 8.3568 31.2144 10.1662 31.2144 12.3982Z",fill:"#37394A"}),c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M107.267 13.2065V20.0468H3.73279V13.2065C3.73279 7.84973 8.07531 3.5072 13.4321 3.5072H97.5673C102.924 3.5072 107.267 7.84973 107.267 13.2065ZM15.8569 16.4396C18.0889 16.4396 19.8983 14.6302 19.8983 12.3982C19.8983 10.1662 18.0889 8.35685 15.8569 8.35685C13.6249 8.35685 11.8155 10.1662 11.8155 12.3982C11.8155 14.6302 13.6249 16.4396 15.8569 16.4396ZM31.2141 12.3982C31.2141 14.6302 29.4047 16.4396 27.1728 16.4396C24.9408 16.4396 23.1314 14.6302 23.1314 12.3982C23.1314 10.1662 24.9408 8.35685 27.1728 8.35685C29.4047 8.35685 31.2141 10.1662 31.2141 12.3982Z",fill:"white"})),nL=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("g",{opacity:.5,clipPath:"url(#clip0_5311_17878)"},c.createElement("path",{d:"M6.5 10H4.5V17H6.5V10ZM12.5 10H10.5V17H12.5V10ZM21 19H2V21H21V19ZM18.5 10H16.5V17H18.5V10ZM11.5 3.26L16.71 6H6.29L11.5 3.26ZM11.5 1L2 6V8H21V6L11.5 1Z",fill:"currentColor"})),c.createElement("clipPath",{id:"clip0_5311_17878"},c.createElement("rect",{width:24,height:24,fill:"currentColor"}))),rL=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM12 6C13.93 6 15.5 7.57 15.5 9.5C15.5 11.43 13.93 13 12 13C10.07 13 8.5 11.43 8.5 9.5C8.5 7.57 10.07 6 12 6ZM19 19H5V18.77C5 18.15 5.28 17.57 5.76 17.19C7.47 15.82 9.64 15 12 15C14.36 15 16.53 15.82 18.24 17.19C18.72 17.57 19 18.16 19 18.77V19Z",fill:"currentColor"})),oL=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 6C13.93 6 15.5 7.57 15.5 9.5C15.5 11.43 13.93 13 12 13C10.07 13 8.5 11.43 8.5 9.5C8.5 7.57 10.07 6 12 6ZM12 20C9.97 20 7.57 19.18 5.86 17.12C7.55 15.8 9.68 15 12 15C14.32 15 16.45 15.8 18.14 17.12C16.43 19.18 14.03 20 12 20Z",fill:"currentColor"})),aL=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M22 11V3H15V6H9V3H2V11H9V8H11V18H15V21H22V13H15V16H13V8H15V11H22ZM7 9H4V5H7V9ZM17 15H20V19H17V15ZM17 5H20V9H17V5Z"})),sL=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M18 13H13V18C13 18.55 12.55 19 12 19C11.45 19 11 18.55 11 18V13H6C5.45 13 5 12.55 5 12C5 11.45 5.45 11 6 11H11V6C11 5.45 11.45 5 12 5C12.55 5 13 5.45 13 6V11H18C18.55 11 19 11.45 19 12C19 12.55 18.55 13 18 13Z",fill:"currentColor"})),iL=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M19 3H5C3.89 3 3 3.9 3 5V19C3 20.1 3.89 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM16 13H13V16C13 16.55 12.55 17 12 17C11.45 17 11 16.55 11 16V13H8C7.45 13 7 12.55 7 12C7 11.45 7.45 11 8 11H11V8C11 7.45 11.45 7 12 7C12.55 7 13 7.45 13 8V11H16C16.55 11 17 11.45 17 12C17 12.55 16.55 13 16 13Z",fill:"currentColor"})),lL=e=>c.createElement("svg",{width:28,height:28,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M14 2C20.6274 2 26 7.37258 26 14C26 20.6274 20.6274 26 14 26C7.37258 26 2 20.6274 2 14C2 7.37258 7.37258 2 14 2ZM14 4C8.47715 4 4 8.47715 4 14C4 19.5228 8.47715 24 14 24C19.5228 24 24 19.5228 24 14C24 8.47715 19.5228 4 14 4ZM14 8C14.5523 8 15 8.44772 15 9V13H19C19.5523 13 20 13.4477 20 14C20 14.5523 19.5523 15 19 15H15V19C15 19.5523 14.5523 20 14 20C13.4477 20 13 19.5523 13 19V15H9C8.44772 15 8 14.5523 8 14C8 13.4477 8.44772 13 9 13H13V9C13 8.44772 13.4477 8 14 8Z",fill:"currentColor"})),cL=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",...e},c.createElement("path",{d:"M16.9597 5.62049L16.3221 7.01311L14.9194 7.64611L16.3221 8.27912L16.9597 9.67173L17.5973 8.27912L19 7.64611L17.5973 7.01311L16.9597 5.62049Z",fill:"currentColor"}),c.createElement("path",{d:"M10.0228 4C11.7063 4 12.8897 4.93756 13.6395 6.18941C14.3588 7.39039 14.7386 8.95377 14.9314 10.5389C14.9435 10.6385 14.9525 10.739 14.9633 10.8396C15.6154 10.8273 16.3067 10.8426 17.0386 10.8895L18.1839 10.9631V19.7998H15.7355V13.2688C15.5188 13.2651 15.3082 13.2637 15.1035 13.2664C15.1385 15.7089 14.8949 18.1863 14.6054 19.9913L12.1874 19.6083C12.4563 17.9313 12.6756 15.6786 12.6576 13.4832C10.617 13.849 9.47727 14.624 8.83766 15.4091C7.81417 16.6655 7.75223 18.3272 7.96577 19.5996L5.55091 20L5.4736 19.5181C5.09287 17.0409 4.81228 13.5412 5.15401 10.5476C5.33494 8.96265 5.70262 7.39784 6.41404 6.19495C7.15666 4.93933 8.33745 4.00002 10.0228 4ZM10.0228 6.43074C9.42306 6.43075 8.95067 6.70683 8.52525 7.42614C8.06871 8.19823 7.75309 9.36818 7.5872 10.8214C7.49639 11.6169 7.45523 12.461 7.45012 13.3163C8.59359 12.2051 10.2431 11.4013 12.5229 11.043C12.5151 10.9718 12.5092 10.9006 12.5006 10.8301C12.3238 9.37693 11.999 8.20565 11.5355 7.43168C11.1024 6.70865 10.6243 6.43074 10.0228 6.43074Z",fill:"currentColor"})),uL=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",...e},c.createElement("path",{d:"M3.67124 20.4L21.1212 12.92C21.9312 12.57 21.9312 11.43 21.1212 11.08L3.67124 3.60002C3.01124 3.31002 2.28124 3.80002 2.28124 4.51002L2.27124 9.12002C2.27124 9.62002 2.64124 10.05 3.14124 10.11L17.2712 12L3.14124 13.88C2.64124 13.95 2.27124 14.38 2.27124 14.88L2.28124 19.49C2.28124 20.2 3.01124 20.69 3.67124 20.4Z",fill:"white"})),dL=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.1924 6.50411C13.2689 6.50414 11.1605 8.07723 9.64638 10.2303C9.87288 10.3006 10.0972 10.3847 10.3166 10.4852C11.2203 10.8992 11.98 11.5506 12.5773 12.4498C12.8641 12.8817 13.1128 13.3704 13.3248 13.9186C14.6585 13.5957 16.1474 13.4095 17.8207 13.4095H19.1579V20H16.4827V15.9918C15.5754 16.0575 14.7403 16.1885 13.9688 16.3766C14.1454 17.4381 14.2441 18.6425 14.2673 20H11.5913C11.5721 18.9661 11.507 18.071 11.4046 17.2969C9.92785 18.016 8.73133 18.9644 7.69243 20H4.00082L4 4H6.67516V9.99178C8.34421 7.14048 11.0957 4.31036 15.403 4H16.1924V6.50411ZM8.32895 12.5263C7.57025 14.1325 7.14247 15.6756 6.91283 17.1891C8.01231 16.2597 9.28565 15.4143 10.8002 14.759C10.6514 14.3802 10.4896 14.0618 10.3141 13.7977C9.96296 13.269 9.56999 12.9579 9.15214 12.7664C8.91199 12.6565 8.63923 12.5762 8.32895 12.5263Z",fill:"currentColor"}),c.createElement("path",{d:"M17.8947 7.36842L17.2368 8.81579L15.7895 9.47368L17.2368 10.1316L17.8947 11.5789L18.5526 10.1316L20 9.47368L18.5526 8.81579L17.8947 7.36842Z",fill:"currentColor"})),fL=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM8 17C7.45 17 7 16.55 7 16V13C7 12.45 7.45 12 8 12C8.55 12 9 12.45 9 13V16C9 16.55 8.55 17 8 17ZM12 17C11.45 17 11 16.55 11 16V15C11 14.45 11.45 14 12 14C12.55 14 13 14.45 13 15V16C13 16.55 12.55 17 12 17ZM12 12C11.45 12 11 11.55 11 11C11 10.45 11.45 10 12 10C12.55 10 13 10.45 13 11C13 11.55 12.55 12 12 12ZM16 17C15.45 17 15 16.55 15 16V8C15 7.45 15.45 7 16 7C16.55 7 17 7.45 17 8V16C17 16.55 16.55 17 16 17Z",fill:"currentColor"})),hL=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M18.71 3H5.29L3 5.79V21H21V5.79L18.71 3ZM12 17.5L6.5 12H10V10H14V12H17.5L12 17.5ZM5.12 5L5.93 4H17.93L18.87 5H5.12Z"})),gL=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M12 4L10.59 5.41L16.17 11H4V13H16.17L10.59 18.59L12 20L20 12L12 4Z"})),pL=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M19 4H14.82C14.4 2.84 13.3 2 12 2C10.7 2 9.6 2.84 9.18 4H5C3.9 4 3 4.9 3 6V20C3 21.1 3.9 22 5 22H19C20.1 22 21 21.1 21 20V6C21 4.9 20.1 4 19 4ZM12 4C12.55 4 13 4.45 13 5C13 5.55 12.55 6 12 6C11.45 6 11 5.55 11 5C11 4.45 11.45 4 12 4ZM13 18H8C7.45 18 7 17.55 7 17C7 16.45 7.45 16 8 16H13C13.55 16 14 16.45 14 17C14 17.55 13.55 18 13 18ZM16 14H8C7.45 14 7 13.55 7 13C7 12.45 7.45 12 8 12H16C16.55 12 17 12.45 17 13C17 13.55 16.55 14 16 14ZM16 10H8C7.45 10 7 9.55 7 9C7 8.45 7.45 8 8 8H16C16.55 8 17 8.45 17 9C17 9.55 16.55 10 16 10Z",fill:"currentColor"})),CL=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M19 4H14.82C14.4 2.84 13.3 2 12 2C10.7 2 9.6 2.84 9.18 4H5C3.9 4 3 4.9 3 6V20C3 21.1 3.9 22 5 22H19C20.1 22 21 21.1 21 20V6C21 4.9 20.1 4 19 4ZM12 4C12.55 4 13 4.45 13 5C13 5.55 12.55 6 12 6C11.45 6 11 5.55 11 5C11 4.45 11.45 4 12 4ZM9.29 17.29L6.7 14.7C6.31 14.31 6.31 13.68 6.7 13.29C7.09 12.9 7.72 12.9 8.11 13.29L10 15.17L15.88 9.29C16.27 8.9 16.9 8.9 17.29 9.29C17.68 9.68 17.68 10.31 17.29 10.7L10.7 17.29C10.32 17.68 9.68 17.68 9.29 17.29Z",fill:"currentColor"})),H9=e=>c.createElement("svg",{width:24,height:25,viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M16 7.2477V17.8277C16 19.9177 14.47 21.7777 12.39 21.9777C10 22.2077 8 20.3377 8 17.9977V5.6377C8 4.3277 8.94 3.1377 10.24 3.0077C11.74 2.8577 13 4.0277 13 5.4977V15.9977C13 16.5477 12.55 16.9977 12 16.9977C11.45 16.9977 11 16.5477 11 15.9977V7.2477C11 6.8377 10.66 6.4977 10.25 6.4977C9.84 6.4977 9.5 6.8377 9.5 7.2477V15.8577C9.5 17.1677 10.44 18.3577 11.74 18.4877C13.24 18.6377 14.5 17.4677 14.5 15.9977V5.6677C14.5 3.5777 12.97 1.7177 10.89 1.5177C8.51 1.2877 6.5 3.1577 6.5 5.4977V17.7677C6.5 20.6377 8.6 23.2077 11.46 23.4777C14.75 23.7777 17.5 21.2177 17.5 17.9977V7.2477C17.5 6.8377 17.16 6.4977 16.75 6.4977C16.34 6.4977 16 6.8377 16 7.2477Z",fill:"currentColor"})),tc=e=>c.createElement("svg",{width:24,height:25,viewBox:"0 0 24 25",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M19.41 7.91L14.58 3.08C14.21 2.71 13.7 2.5 13.17 2.5H6C4.9 2.5 4.01 3.4 4.01 4.5L4 20.5C4 21.6 4.89 22.5 5.99 22.5H18C19.1 22.5 20 21.6 20 20.5V9.33C20 8.8 19.79 8.29 19.41 7.91ZM15 13.5H13V17.11C13 18.39 12 19.52 10.72 19.5C9.28 19.48 8.16 18.11 8.59 16.59C8.8 15.87 9.39 15.28 10.12 15.08C10.82 14.89 11.48 15.03 12 15.37V12.5C12 11.95 12.45 11.5 13 11.5H15C15.55 11.5 16 11.95 16 12.5C16 13.05 15.55 13.5 15 13.5ZM14 9.5C13.45 9.5 13 9.05 13 8.5V4L18.5 9.5H14Z"})),mL=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M8 9H4V20H8V9Z"}),c.createElement("path",{d:"M20 13H16V20H20V13Z"}),c.createElement("path",{d:"M14 4H10V20H14V4Z"})),vL=e=>c.createElement("svg",{width:1311,height:980,viewBox:"0 0 1311 980",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{opacity:.5,d:"M1741.94 269.154C1699.1 418.49 1550.05 1031.55 1165.11 902.161C683.944 740.431 626.772 253.779 784.743 22.5768C942.713 -208.626 1276.19 -94.8007 1215.69 170.186C1155.19 435.173 573.38 886.719 274.35 788.034C-246.712 616.075 202.468 -453.374 1418.5 22.5763",stroke:"url(#paint0_linear_836_26982)",strokeWidth:120}),c.createElement("defs",null,c.createElement("linearGradient",{id:"paint0_linear_836_26982",x1:1302.33,y1:579.42,x2:-156.443,y2:285.477,gradientUnits:"userSpaceOnUse"},c.createElement("stop",{offset:.0789474,stopColor:"#151924"}),c.createElement("stop",{offset:.340478,stopColor:"#0613AF"}),c.createElement("stop",{offset:.526371,stopColor:"#262CFE"}),c.createElement("stop",{offset:.766928,stopColor:"#615BFE"}),c.createElement("stop",{offset:.917746,stopColor:"#A488FF"})))),wL=e=>c.createElement("svg",{width:1311,height:980,viewBox:"0 0 1311 980",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{opacity:.2,d:"M1741.94 269.154C1699.1 418.49 1550.05 1031.55 1165.11 902.161C683.944 740.431 626.772 253.779 784.743 22.5768C942.713 -208.626 1276.19 -94.8007 1215.69 170.186C1155.19 435.173 573.38 886.719 274.351 788.034C-246.712 616.075 202.469 -453.374 1418.5 22.5763",stroke:"url(#paint0_linear_761_8753)",strokeWidth:120}),c.createElement("defs",null,c.createElement("linearGradient",{id:"paint0_linear_761_8753",x1:1302.33,y1:579.42,x2:-156.443,y2:285.477,gradientUnits:"userSpaceOnUse"},c.createElement("stop",{offset:.0789474,stopColor:"#E5E5E5"}),c.createElement("stop",{offset:.25,stopColor:"#3A49FF",stopOpacity:.84}),c.createElement("stop",{offset:.51,stopColor:"#972FFF"}),c.createElement("stop",{offset:.79,stopColor:"#8B10EC"}),c.createElement("stop",{offset:.917746,stopColor:"#3C00FF"})))),A9=e=>c.createElement("svg",{width:160,height:160,viewBox:"0 0 160 160",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("ellipse",{opacity:.1,cx:80,cy:155.2,rx:80,ry:4.8,fill:"currentColor"}),c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M61.9313 35.2C62.9759 31.5064 66.3719 28.8 70.4 28.8H102.856C100.15 30.4303 97.8172 32.6163 96.015 35.2H61.9313ZM94.1556 38.4H47.2C41.8981 38.4 37.6 42.6981 37.6 48V107.2H87.2H88C88.8836 107.2 89.6 107.916 89.6 108.8V117.2C89.6 124.048 95.1517 129.6 102 129.6C108.848 129.6 114.4 124.048 114.4 117.2V70.4C102.029 70.4 92 60.3712 92 48C92 44.5645 92.7734 41.3096 94.1556 38.4ZM117.6 70.1732V115.067C122.14 114.306 125.6 110.357 125.6 105.6V67.4033C123.183 68.8017 120.48 69.7613 117.6 70.1732ZM128.8 65.1588V105.6C128.8 112.141 123.894 117.536 117.561 118.306C116.994 126.405 110.244 132.8 102 132.8C101.86 132.8 101.721 132.798 101.582 132.795L101.6 132.8H44C35.1634 132.8 28 125.637 28 116.8V113.6C28 110.065 30.8654 107.2 34.4 107.2V48C34.4 40.9308 40.1308 35.2 47.2 35.2H58.64C59.7519 29.7226 64.5945 25.6 70.4 25.6H112.8V25.6563C113.328 25.619 113.862 25.6 114.4 25.6C126.771 25.6 136.8 35.6288 136.8 48C136.8 54.8879 133.691 61.0497 128.8 65.1588ZM19.2 122.8C19.2 122.137 19.7373 121.6 20.4 121.6C21.0627 121.6 21.6 122.137 21.6 122.8V123.2C21.6 132.037 28.7634 139.2 37.6 139.2H41.28C41.8986 139.2 42.4 139.701 42.4 140.32C42.4 140.939 41.8986 141.44 41.28 141.44H37.6C26.9791 141.44 19.2 133.787 19.2 123.2V122.8ZM20.4 118.4C17.9699 118.4 16 120.37 16 122.8V123.2C16 135.588 25.2459 144.64 37.6 144.64H41.28C43.6659 144.64 45.6 142.706 45.6 140.32C45.6 137.934 43.6659 136 41.28 136H37.6C30.5308 136 24.8 130.269 24.8 123.2V122.8C24.8 120.37 22.8301 118.4 20.4 118.4ZM45.6 93.6C45.6 91.3909 47.3909 89.6 49.6 89.6H97.6C99.8091 89.6 101.6 91.3909 101.6 93.6C101.6 95.8091 99.8091 97.6 97.6 97.6H49.6C47.3909 97.6 45.6 95.8091 45.6 93.6ZM49.6 92.8C49.1582 92.8 48.8 93.1582 48.8 93.6C48.8 94.0418 49.1582 94.4 49.6 94.4H97.6C98.0418 94.4 98.4 94.0418 98.4 93.6C98.4 93.1582 98.0418 92.8 97.6 92.8H49.6ZM95.2 48C95.2 37.3961 103.796 28.8 114.4 28.8C125.004 28.8 133.6 37.3961 133.6 48C133.6 58.6039 125.004 67.2 114.4 67.2C103.796 67.2 95.2 58.6039 95.2 48ZM110.4 37.6C110.4 35.3909 112.191 33.6 114.4 33.6C116.609 33.6 118.4 35.3909 118.4 37.6V47.2C118.4 49.4091 116.609 51.2 114.4 51.2C112.191 51.2 110.4 49.4091 110.4 47.2V37.6ZM114.4 36.8C113.958 36.8 113.6 37.1582 113.6 37.6V47.2C113.6 47.6418 113.958 48 114.4 48C114.842 48 115.2 47.6418 115.2 47.2V37.6C115.2 37.1582 114.842 36.8 114.4 36.8ZM114.4 62.4C112.191 62.4 110.4 60.6091 110.4 58.4C110.4 56.1909 112.191 54.4 114.4 54.4C116.609 54.4 118.4 56.1909 118.4 58.4C118.4 60.6091 116.609 62.4 114.4 62.4ZM113.6 58.4C113.6 58.8418 113.958 59.2 114.4 59.2C114.842 59.2 115.2 58.8418 115.2 58.4C115.2 57.9582 114.842 57.6 114.4 57.6C113.958 57.6 113.6 57.9582 113.6 58.4Z",fill:"currentColor"}),c.createElement("rect",{x:47.5,y:65.5,width:29,height:5,rx:2.5,stroke:"currentColor",strokeWidth:3}),c.createElement("rect",{x:47.5,y:78.5,width:29,height:5,rx:2.5,stroke:"currentColor",strokeWidth:3})),yL=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM4 12C4 7.58 7.58 4 12 4C13.85 4 15.55 4.63 16.9 5.69L5.69 16.9C4.63 15.55 4 13.85 4 12ZM12 20C10.15 20 8.45 19.37 7.1 18.31L18.31 7.1C19.37 8.45 20 10.15 20 12C20 16.42 16.42 20 12 20Z"})),bL=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M22.728 18.9501L13.628 9.85008C14.528 7.55008 14.028 4.85008 12.128 2.95008C10.128 0.950078 7.12802 0.550078 4.72802 1.65008L9.02802 5.95008L6.02802 8.95008L1.62802 4.65008C0.428015 7.05008 0.928016 10.0501 2.92802 12.0501C4.82802 13.9501 7.52802 14.4501 9.82802 13.5501L18.928 22.6501C19.328 23.0501 19.928 23.0501 20.328 22.6501L22.628 20.3501C23.128 19.9501 23.128 19.2501 22.728 18.9501Z"})),xL=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM16.54 15.85L15.85 16.54C15.46 16.93 14.83 16.93 14.44 16.54L11.39 13.49C10.17 13.92 8.75 13.66 7.77 12.68C6.66 11.57 6.47 9.89 7.18 8.58L9.53 10.93L10.94 9.52L8.58 7.17C9.9 6.46 11.57 6.65 12.68 7.76C13.66 8.74 13.92 10.16 13.49 11.38L16.54 14.43C16.93 14.82 16.93 15.46 16.54 15.85Z"})),SL=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20Z"}),c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.49 11.38C13.92 10.16 13.66 8.74 12.68 7.76C11.57 6.65 9.89 6.46 8.58 7.17L10.93 9.52L9.52 10.93L7.17 8.58C6.46 9.9 6.65 11.57 7.76 12.68C8.74 13.66 10.16 13.92 11.38 13.49L14.79 16.9C14.99 17.1 15.3 17.1 15.5 16.9L16.9 15.5C17.1 15.3 17.1 14.99 16.9 14.79L13.49 11.38Z"})),ML=e=>c.createElement("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M3.52508 2.46445C3.23219 2.17156 2.75731 2.17156 2.46442 2.46445C2.17153 2.75734 2.17153 3.23222 2.46442 3.52511L4.93929 5.99999L2.46442 8.47486C2.17153 8.76775 2.17153 9.24263 2.46442 9.53552C2.75731 9.82841 3.23219 9.82841 3.52508 9.53552L5.99995 7.06065L8.47483 9.53552C8.76772 9.82841 9.2426 9.82841 9.53549 9.53552C9.82838 9.24263 9.82838 8.76775 9.53549 8.47486L7.06062 5.99999L9.53549 3.52511C9.82838 3.23222 9.82838 2.75734 9.53549 2.46445C9.2426 2.17156 8.76772 2.17156 8.47483 2.46445L5.99995 4.93933L3.52508 2.46445Z",fill:"currentColor"})),EL=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("rect",{width:24,height:24,rx:12,fill:"white"}),c.createElement("path",{d:"M12 1.71436C17.6806 1.71436 22.2857 6.31943 22.2857 12.0001C22.2857 17.6807 17.6806 22.2858 12 22.2858C6.31935 22.2858 1.71428 17.6807 1.71428 12.0001C1.71428 6.31943 6.31935 1.71436 12 1.71436ZM12 3.42864C7.26612 3.42864 3.42857 7.2662 3.42857 12.0001C3.42857 16.7339 7.26612 20.5715 12 20.5715C16.7339 20.5715 20.5714 16.7339 20.5714 12.0001C20.5714 7.2662 16.7339 3.42864 12 3.42864ZM8.3939 8.39398C8.72864 8.05924 9.27135 8.05924 9.60609 8.39398L12 10.7872L14.3939 8.39398C14.7029 8.08499 15.1891 8.06122 15.5253 8.32267L15.6061 8.39398C15.9408 8.72871 15.9408 9.27143 15.6061 9.60616L13.2129 12.0001L15.6061 14.394C15.9151 14.703 15.9388 15.1892 15.6774 15.5254L15.6061 15.6062C15.2714 15.9409 14.7286 15.9409 14.3939 15.6062L12 13.2129L9.60609 15.6062C9.2971 15.9151 8.8109 15.9389 8.47465 15.6775L8.3939 15.6062C8.05917 15.2714 8.05917 14.7287 8.3939 14.394L10.7871 12.0001L8.3939 9.60616C8.08492 9.29718 8.06115 8.81098 8.3226 8.47473L8.3939 8.39398Z",fill:"currentColor"})),LL=e=>c.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M3.50908 3.50908C3.7434 3.27476 4.1233 3.27477 4.35761 3.50908L8 7.15149L11.6424 3.50909C11.8767 3.27478 12.2566 3.27478 12.4909 3.5091C12.7253 3.74341 12.7253 4.12331 12.4909 4.35762L8.84853 8.00002L12.4909 11.6424C12.7252 11.8768 12.7252 12.2567 12.4909 12.491C12.2566 12.7253 11.8767 12.7253 11.6424 12.491L8 8.84855L4.35759 12.4909C4.12328 12.7253 3.74338 12.7253 3.50906 12.4909C3.27475 12.2566 3.27475 11.8767 3.50907 11.6424L7.15147 8.00002L3.50908 4.35761C3.27477 4.12329 3.27477 3.74339 3.50908 3.50908Z",fill:"currentColor"})),NL=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M10.65 2.93996L6.93 9.01996C6.52 9.67996 7 10.54 7.78 10.54H15.21C15.99 10.54 16.47 9.67996 16.06 9.01996L12.35 2.93996C11.96 2.29996 11.04 2.29996 10.65 2.93996Z",fill:"currentColor"}),c.createElement("path",{d:"M17 21.54C19.4853 21.54 21.5 19.5252 21.5 17.04C21.5 14.5547 19.4853 12.54 17 12.54C14.5147 12.54 12.5 14.5547 12.5 17.04C12.5 19.5252 14.5147 21.54 17 21.54Z",fill:"currentColor"}),c.createElement("path",{d:"M3.5 21.04H9.5C10.05 21.04 10.5 20.59 10.5 20.04V14.04C10.5 13.49 10.05 13.04 9.5 13.04H3.5C2.95 13.04 2.5 13.49 2.5 14.04V20.04C2.5 20.59 2.95 21.04 3.5 21.04Z",fill:"currentColor"})),kL=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.00002 16.1996L4.80002 11.9996L3.40002 13.3996L9.00002 18.9996L21 6.99961L19.6 5.59961L9.00002 16.1996Z",fill:"currentColor"})),PL=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M20 6H12L10 4H4C2.9 4 2.01 4.9 2.01 6L2 18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V8C22 6.9 21.1 6 20 6ZM7.83 16L5 13.17L6.41 11.76L7.82 13.17L11.36 9.63L12.77 11.04L7.83 16ZM17.41 13L19 14.59L17.59 16L16 14.41L14.41 16L13 14.59L14.59 13L13 11.41L14.41 10L16 11.59L17.59 10L19 11.41L17.41 13Z"})),IL=e=>c.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M12.1576 4.62424C12.3919 4.38992 12.3919 4.01003 12.1576 3.77571C11.9233 3.5414 11.5434 3.5414 11.3091 3.77571L4.33334 10.7514L1.35761 7.77571C1.12329 7.5414 0.743394 7.5414 0.509079 7.77571C0.274765 8.01003 0.274765 8.38992 0.509079 8.62424L3.90908 12.0242C4.0216 12.1368 4.17421 12.2 4.33334 12.2C4.49247 12.2 4.64509 12.1368 4.75761 12.0242L12.1576 4.62424Z"}),c.createElement("path",{d:"M15.4909 4.62424C15.7252 4.38992 15.7252 4.01003 15.4909 3.77571C15.2566 3.5414 14.8767 3.5414 14.6424 3.77571L7.2424 11.1757C7.00808 11.41 7.00808 11.7899 7.2424 12.0242C7.47671 12.2586 7.85661 12.2586 8.09093 12.0242L15.4909 4.62424Z"})),OL=e=>c.createElement("svg",{width:20,height:16,viewBox:"0 0 20 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.21911 5.87534C4.56412 5.44408 5.19341 5.37416 5.62467 5.71917L9.99998 9.21941L14.3753 5.71917C14.8065 5.37416 15.4358 5.44408 15.7808 5.87534C16.1259 6.3066 16.0559 6.9359 15.6247 7.28091L10.6247 11.2809C10.2595 11.5731 9.7405 11.5731 9.37528 11.2809L4.37528 7.28091C3.94402 6.9359 3.8741 6.3066 4.21911 5.87534Z",fill:"currentColor"})),TL=e=>c.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M13.7116 10.959C13.6178 12.7483 11.0577 14 7.99993 14C4.88451 14 2.28564 12.7006 2.28564 10.8571V5.14286L2.28831 5.04101C2.38208 3.25175 4.9422 2 7.99993 2C11.1154 2 13.7142 3.29943 13.7142 5.14286V10.8571L13.7116 10.959ZM12.572 7.066C11.5226 7.82619 9.85259 8.28571 7.99993 8.28571C6.14761 8.28571 4.4779 7.82636 3.42846 7.06642L3.4285 8C3.4285 8.9969 5.43471 10 7.99993 10C10.5652 10 12.5714 8.9969 12.5714 8L12.572 7.066ZM7.99993 3.14286C5.43471 3.14286 3.4285 4.14596 3.4285 5.14286C3.4285 6.13975 5.43471 7.14286 7.99993 7.14286C10.5652 7.14286 12.5714 6.13975 12.5714 5.14286C12.5714 4.14596 10.5652 3.14286 7.99993 3.14286ZM12.572 9.92314C11.5226 10.6833 9.85259 11.1429 7.99993 11.1429C6.14761 11.1429 4.4779 10.6835 3.42846 9.92356L3.4285 10.8571L3.43146 10.9236C3.51794 11.8981 5.49171 12.8571 7.99993 12.8571C10.5652 12.8571 12.5714 11.854 12.5714 10.8571L12.572 9.92314Z",fill:"currentColor"})),DL=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M21.0076 18.4075L16.0676 13.4675L13.9476 15.5875L18.8876 20.5275C19.4776 21.1175 20.4276 21.1175 21.0076 20.5275C21.5876 19.9375 21.5876 18.9875 21.0076 18.4075Z"}),c.createElement("path",{d:"M17.6676 10.4175C19.5976 10.4175 21.1676 8.84753 21.1676 6.91753C21.1676 6.33753 21.0076 5.79753 20.7576 5.31753L18.0576 8.01753L16.5676 6.52753L19.2676 3.82753C18.7876 3.57753 18.2476 3.41753 17.6676 3.41753C15.7376 3.41753 14.1676 4.98753 14.1676 6.91753C14.1676 7.32753 14.2476 7.71753 14.3776 8.07753L12.5276 9.92753L10.7476 8.14753C11.1376 7.75753 11.1376 7.12753 10.7476 6.73753L10.0376 6.02753L12.1576 3.90753C10.9876 2.73753 9.08762 2.73753 7.91762 3.90753L5.09762 6.73753C4.70762 7.12753 4.70762 7.75753 5.09762 8.14753L5.80762 8.85753H3.26762C3.07762 8.85753 2.89762 8.92753 2.76762 9.06753C2.48762 9.34753 2.48762 9.78753 2.76762 10.0675L5.30762 12.6075C5.58762 12.8875 6.02762 12.8875 6.30762 12.6075C6.43762 12.4775 6.51762 12.2975 6.51762 12.1075V9.56753L7.21762 10.2675C7.60762 10.6575 8.23762 10.6575 8.62762 10.2675L10.4076 12.0475L4.05762 18.3975C3.46762 18.9875 3.46762 19.9375 4.05762 20.5175C4.64762 21.1075 5.59762 21.1075 6.17762 20.5175L16.4976 10.2075C16.8676 10.3375 17.2576 10.4175 17.6676 10.4175Z"})),_L=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M4.20618 5.19873H6.20618V6.19873C6.20618 7.29873 7.10618 8.19873 8.20618 8.19873H14.2062C15.3062 8.19873 16.2062 7.29873 16.2062 6.19873V5.19873H18.2062V10.1987H20.2062V5.19873C20.2062 4.09873 19.3062 3.19873 18.2062 3.19873H14.0262C13.6062 2.03873 12.5062 1.19873 11.2062 1.19873C9.90618 1.19873 8.80618 2.03873 8.38618 3.19873H4.20618C3.10618 3.19873 2.20618 4.09873 2.20618 5.19873V19.1987C2.20618 20.2987 3.10618 21.1987 4.20618 21.1987H9.20618V19.1987H4.20618V5.19873ZM11.2062 3.19873C11.7562 3.19873 12.2062 3.64873 12.2062 4.19873C12.2062 4.74873 11.7562 5.19873 11.2062 5.19873C10.6562 5.19873 10.2062 4.74873 10.2062 4.19873C10.2062 3.64873 10.6562 3.19873 11.2062 3.19873Z"}),c.createElement("path",{d:"M21.5062 21.0987L19.5062 19.0987C20.0862 18.0887 20.4562 16.8687 20.0162 15.4487C19.4862 13.7287 17.9762 12.3987 16.1762 12.2287C13.3062 11.9487 10.9462 14.2987 11.2262 17.1787C11.4062 18.9687 12.7262 20.4887 14.4462 21.0187C15.8762 21.4587 17.0862 21.0887 18.0962 20.5087L20.0962 22.5087C20.4862 22.8987 21.1062 22.8987 21.4962 22.5087C21.8862 22.1187 21.8962 21.4887 21.5062 21.0987ZM15.7062 19.1987C14.3062 19.1987 13.2062 18.0987 13.2062 16.6987C13.2062 15.2987 14.3062 14.1987 15.7062 14.1987C17.1062 14.1987 18.2062 15.2987 18.2062 16.6987C18.2062 18.0987 17.1062 19.1987 15.7062 19.1987Z"})),VL=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,viewBox:"0 0 25 24",fill:"currentColor",...e},c.createElement("path",{d:"M12.5 7C11.95 7 11.5 7.45 11.5 8V11H8.5C7.95 11 7.5 11.45 7.5 12C7.5 12.55 7.95 13 8.5 13H11.5V16C11.5 16.55 11.95 17 12.5 17C13.05 17 13.5 16.55 13.5 16V13H16.5C17.05 13 17.5 12.55 17.5 12C17.5 11.45 17.05 11 16.5 11H13.5V8C13.5 7.45 13.05 7 12.5 7ZM12.5 2C6.99 2 2.5 6.49 2.5 12C2.5 17.51 6.99 22 12.5 22C18.01 22 22.5 17.51 22.5 12C22.5 6.49 18.01 2 12.5 2ZM12.5 20C8.09 20 4.5 16.41 4.5 12C4.5 7.59 8.09 4 12.5 4C16.91 4 20.5 7.59 20.5 12C20.5 16.41 16.91 20 12.5 20Z"})),HL=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M12 7V5C12 3.9 11.1 3 10 3H4C2.9 3 2 3.9 2 5V19C2 20.1 2.9 21 4 21H20C21.1 21 22 20.1 22 19V9C22 7.9 21.1 7 20 7H12ZM10 19H4V17H10V19ZM10 15H4V13H10V15ZM10 11H4V9H10V11ZM10 7H4V5H10V7ZM20 19H12V9H20V19ZM18 11H14V13H18V11ZM18 15H14V17H18V15Z",fill:"currentColor"})),AL=e=>c.createElement("svg",{width:28,height:28,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.0431 2H10.9568C10.2971 1.99998 9.73634 1.99997 9.27298 2.04192C8.78216 2.08636 8.31936 2.18306 7.8757 2.42385C7.21565 2.78208 6.63581 3.4145 6.33608 4.10309C6.07506 4.70273 6.04659 5.3365 6.08749 6.05703C5.46395 5.94568 4.81155 6.0041 4.23936 6.19948C3.04525 6.60722 2 7.67416 2 9.33333C2 10.9011 2.93465 12.3261 4.14924 13.3166C5.17534 14.1534 6.49791 14.7656 7.9038 14.9455C8.07342 15.348 8.25496 15.7309 8.44863 16.0926C9.16922 17.4381 10.0941 18.5449 11.2341 19.2328C11.2011 19.7864 11.1205 20.1638 11.0302 20.428C10.9186 20.7548 10.7801 20.9456 10.63 21.1131C10.5685 21.1819 10.5157 21.2356 10.4504 21.3023C10.4159 21.3374 10.3779 21.3761 10.3332 21.4225C10.2199 21.5403 10.078 21.6939 9.94821 21.8835C9.66019 22.3044 9.5 22.8004 9.5 23.45L9.50001 25C9.50002 25.5523 9.94773 26 10.5 26H17.5C18.0523 26 18.5 25.5523 18.5 25L18.5 23.45C18.5 22.8004 18.3398 22.3044 18.0518 21.8835C17.922 21.6939 17.7801 21.5403 17.6667 21.4225C17.6221 21.3761 17.5842 21.3374 17.5497 21.3023C17.4843 21.2357 17.4315 21.1819 17.3699 21.1131C17.2199 20.9456 17.0814 20.7548 16.9698 20.428C16.8795 20.1638 16.7989 19.7864 16.7659 19.2327C17.9058 18.5448 18.8307 17.438 19.5512 16.0926C19.7449 15.7309 19.9264 15.348 20.0961 14.9456C21.502 14.7656 22.8246 14.1535 23.8508 13.3166C25.0654 12.3261 26 10.9011 26 9.33333C26 7.67416 24.9547 6.60722 23.7606 6.19948C23.1884 6.00409 22.5359 5.94567 21.9124 6.05705C21.9533 5.33652 21.9248 4.70274 21.6638 4.10309C21.364 3.4145 20.7842 2.78208 20.1242 2.42385C19.6805 2.18306 19.2177 2.08636 18.7269 2.04192C18.2635 1.99997 17.7028 1.99998 17.0431 2ZM14.8236 19.9389C14.5575 19.9792 14.2829 20 13.9999 20C13.717 20 13.4425 19.9792 13.1764 19.939C13.1209 20.3717 13.0352 20.7456 12.9229 21.0744C12.7064 21.7083 12.4074 22.1264 12.1199 22.4473C12.027 22.5512 11.9226 22.6577 11.8441 22.7378C11.8173 22.7651 11.7935 22.7894 11.7742 22.8095C11.6825 22.9048 11.633 22.963 11.5987 23.0131C11.5586 23.0717 11.5 23.1663 11.5 23.45L11.5 24H16.5L16.5 23.45C16.5 23.1663 16.4414 23.0717 16.4013 23.0131C16.367 22.963 16.3175 22.9047 16.2258 22.8095C16.2191 22.8025 16.2118 22.795 16.204 22.787C16.1895 22.7721 16.1734 22.7556 16.1559 22.7378C16.0774 22.6577 15.973 22.5512 15.88 22.4473C15.5926 22.1264 15.2936 21.7083 15.0771 21.0744C14.9648 20.7456 14.8791 20.3717 14.8236 19.9389ZM22.5867 11.7667C22.0852 12.1758 21.4926 12.5067 20.8618 12.7223C21.2393 11.3709 21.5191 9.8791 21.7068 8.29017C21.957 8.04001 22.5276 7.89182 23.1144 8.09219C23.6286 8.26777 24 8.65915 24 9.33333C24 10.0989 23.518 11.0072 22.5867 11.7667ZM7.13805 12.7223C6.76055 11.3709 6.48076 9.87916 6.29305 8.2903C6.04288 8.04014 5.47243 7.89182 4.88564 8.09219C4.37141 8.26777 4 8.65915 4 9.33333C4 10.0989 4.48202 11.0072 5.41326 11.7667C5.91481 12.1757 6.50728 12.5066 7.13805 12.7223ZM8.82971 4.18165C8.94388 4.11969 9.10823 4.06502 9.45333 4.03377C9.81582 4.00095 10.2854 4 10.9999 4H16.9999C17.7144 4 18.184 4.00095 18.5465 4.03377C18.8916 4.06502 19.056 4.11969 19.1701 4.18165C19.4381 4.32709 19.7083 4.62176 19.83 4.90133C19.9587 5.19692 19.9576 5.53152 19.8378 6.90929C19.5396 10.3402 18.837 13.1898 17.7881 15.1483C16.7437 17.0985 15.4631 18 13.9999 18C12.5368 18 11.2561 17.0985 10.2117 15.1483C9.16282 13.1898 8.46022 10.3402 8.16205 6.90929C8.04231 5.53152 8.0412 5.19692 8.16987 4.90133C8.29157 4.62176 8.56173 4.32709 8.82971 4.18165Z",fill:"currentColor"})),FL=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M11.0317 3.02681C6.53173 3.51681 3.02173 7.33682 3.02173 11.9768C3.02173 16.9468 7.05173 20.9768 12.0217 20.9768C16.6517 20.9768 20.4717 17.4768 20.9717 12.9768C21.0617 12.1868 20.1917 11.5568 19.4317 12.0268C18.5917 12.5668 17.5917 12.8768 16.5217 12.8768C13.5417 12.8768 11.1217 10.4568 11.1217 7.47681C11.1217 6.41681 11.4317 5.41682 11.9617 4.58682C12.4117 3.91682 11.9217 2.95681 11.0317 3.02681Z",fill:"currentColor"})),$L=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M9.37 5.51C9.19 6.15 9.1 6.82 9.1 7.5C9.1 11.58 12.42 14.9 16.5 14.9C17.18 14.9 17.85 14.81 18.49 14.63C17.45 17.19 14.93 19 12 19C8.14 19 5 15.86 5 12C5 9.07 6.81 6.55 9.37 5.51ZM12 3C7.03 3 3 7.03 3 12C3 16.97 7.03 21 12 21C16.97 21 21 16.97 21 12C21 11.54 20.96 11.08 20.9 10.64C19.92 12.01 18.32 12.9 16.5 12.9C13.52 12.9 11.1 10.48 11.1 7.5C11.1 5.69 11.99 4.08 13.36 3.1C12.92 3.04 12.46 3 12 3Z"})),zL=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M4 13H10C10.55 13 11 12.55 11 12V4C11 3.45 10.55 3 10 3H4C3.45 3 3 3.45 3 4V12C3 12.55 3.45 13 4 13ZM4 21H10C10.55 21 11 20.55 11 20V16C11 15.45 10.55 15 10 15H4C3.45 15 3 15.45 3 16V20C3 20.55 3.45 21 4 21ZM14 21H20C20.55 21 21 20.55 21 20V12C21 11.45 20.55 11 20 11H14C13.45 11 13 11.45 13 12V20C13 20.55 13.45 21 14 21ZM13 4V8C13 8.55 13.45 9 14 9H20C20.55 9 21 8.55 21 8V4C21 3.45 20.55 3 20 3H14C13.45 3 13 3.45 13 4Z",fill:"currentColor"})),F9=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M16 9V19H8V9H16ZM14.5 3H9.5L8.5 4H5V6H19V4H15.5L14.5 3ZM18 7H6V19C6 20.1 6.9 21 8 21H16C17.1 21 18 20.1 18 19V7Z"})),ZL=e=>c.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("circle",{cx:8,cy:8,r:6.3,stroke:"currentColor",strokeWidth:1.4}),c.createElement("path",{d:"M3.83594 3.91602L12.0855 12.1656",stroke:"currentColor",strokeWidth:1.4,strokeLinecap:"round"})),BL=e=>c.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.03968 1.60079C4.66557 1.26607 5.28221 1.14285 6.68094 1.14285H7.99999C8.01745 1.14285 8.03473 1.14364 8.0518 1.14517C8.33773 1.15122 8.50423 1.17006 8.68876 1.21259C8.9203 1.26596 9.12949 1.3526 9.33094 1.47859C9.53431 1.60578 9.69036 1.73938 10.0123 2.06129L12.7958 4.84486C13.1177 5.16677 13.2514 5.32282 13.3785 5.52619C13.5045 5.72764 13.5912 5.93683 13.6445 6.16837C13.6871 6.3529 13.7059 6.5194 13.712 6.80534C13.7135 6.8224 13.7143 6.83968 13.7143 6.85714V7.16168C13.7143 7.47728 13.4584 7.73311 13.1428 7.73311C12.8273 7.73311 12.5714 7.47728 12.5714 7.16168V6.85714C12.5714 6.85706 12.5714 6.85722 12.5714 6.85714L12.57 6.85689L9.42856 6.85714C8.63958 6.85714 7.99999 6.21755 7.99999 5.42857L8.00084 2.28711C7.96988 2.28661 7.93659 2.28625 7.90064 2.28602L6.68094 2.28571C5.34668 2.28571 4.95621 2.40666 4.57865 2.60858C4.22056 2.80009 3.94294 3.07771 3.75143 3.4358C3.54951 3.81336 3.42856 4.20383 3.42856 5.53808V10.4619C3.42856 11.7962 3.54951 12.1866 3.75143 12.5642C3.94294 12.9223 4.22056 13.1999 4.57865 13.3914C4.95621 13.5933 5.34668 13.7143 6.68094 13.7143H9.31904C9.45614 13.7143 9.58351 13.713 9.70218 13.7105C10.0177 13.7038 10.2789 13.9542 10.2856 14.2697C10.2923 14.5852 10.0419 14.8464 9.72637 14.8531C9.59857 14.8558 9.46307 14.8571 9.31904 14.8571H6.68094C5.28221 14.8571 4.66557 14.7339 4.03968 14.3992C3.48243 14.1012 3.04167 13.6604 2.74365 13.1032C2.40892 12.4773 2.28571 11.8606 2.28571 10.4619V5.53808C2.28571 4.13936 2.40892 3.52272 2.74365 2.89683C3.04167 2.33957 3.48243 1.89882 4.03968 1.60079ZM9.20415 2.86942L9.14285 2.80857V5.42857C9.14285 5.56883 9.24392 5.68549 9.3772 5.70968L9.42856 5.71428L12.0499 5.71546C12.0303 5.69571 12.0096 5.67492 11.9877 5.65298L9.20415 2.86942Z",fill:"currentColor"}),c.createElement("path",{d:"M11.9985 15.4286C11.6829 15.4286 11.4271 15.1727 11.4271 14.8571L11.4271 10.5224L10.1183 11.8312C9.89518 12.0543 9.53337 12.0543 9.31022 11.8312C9.08706 11.608 9.08706 11.2462 9.31022 11.023L11.5945 8.73879C11.8176 8.51563 12.1794 8.51563 12.4026 8.73879L14.6896 11.0258C14.9128 11.249 14.9128 11.6108 14.6896 11.834C14.4665 12.0571 14.1047 12.0571 13.8815 11.834L12.5699 10.5224L12.5699 14.8571C12.5699 15.1727 12.3141 15.4286 11.9985 15.4286Z",fill:"currentColor"})),WL=e=>c.createElement("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M8.49618 13.901C8.49618 13.404 8.89912 13.001 9.39618 13.001H10.5962C11.0932 13.001 11.4962 13.404 11.4962 13.901C11.4962 14.3981 11.0932 14.801 10.5962 14.801L9.39618 14.801C8.89912 14.801 8.49618 14.3981 8.49618 13.901Z"}),c.createElement("path",{d:"M9.39618 16.1981C8.89912 16.1981 8.49618 16.601 8.49618 17.0981C8.49618 17.5951 8.89912 17.9981 9.39618 17.9981L10.5962 17.9981C11.0932 17.9981 11.4962 17.5951 11.4962 17.0981C11.4962 16.601 11.0932 16.1981 10.5962 16.1981H9.39618Z"}),c.createElement("path",{d:"M13.5 13.901C13.5 13.404 13.9029 13.001 14.4 13.001H15.6C16.0971 13.001 16.5 13.404 16.5 13.901C16.5 14.3981 16.097 14.801 15.6 14.801L14.4 14.801C13.9029 14.801 13.5 14.3981 13.5 13.901Z"}),c.createElement("path",{d:"M14.4 16.1981C13.9029 16.1981 13.5 16.601 13.5 17.0981C13.5 17.5951 13.9029 17.9981 14.4 17.9981L15.6 17.9981C16.097 17.9981 16.5 17.5951 16.5 17.0981C16.5 16.601 16.0971 16.1981 15.6 16.1981H14.4Z"}),c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.973 1.99993C13.2727 1.99956 13.5594 1.9992 13.8389 2.0663C14.0838 2.12509 14.3179 2.22206 14.5327 2.35365C14.7777 2.50383 14.9802 2.70685 15.1918 2.91898L19.581 7.30816C19.7931 7.51976 19.9961 7.72228 20.1463 7.96734C20.2779 8.18208 20.3749 8.41618 20.4337 8.66107C20.5008 8.94054 20.5004 9.2273 20.5 9.52692L20.5 15.5385C20.5 16.486 20.5 17.2517 20.4493 17.8721C20.3971 18.5114 20.2866 19.0752 20.0204 19.5976C19.5986 20.4255 18.9255 21.0986 18.0976 21.5205C17.5752 21.7866 17.0114 21.8971 16.3721 21.9494C15.7517 22.0001 14.9859 22.0001 14.0384 22H10.9616C10.0141 22.0001 9.24834 22.0001 8.62792 21.9494C7.98863 21.8971 7.42481 21.7866 6.90244 21.5205C6.07453 21.0986 5.40142 20.4255 4.97957 19.5976C4.71341 19.0752 4.60291 18.5114 4.55067 17.8721C4.49998 17.2517 4.49999 16.486 4.5 15.5384V8.46163C4.49999 7.51414 4.49998 6.74838 4.55067 6.12796C4.60291 5.48867 4.71341 4.92485 4.97957 4.40248C5.40142 3.57457 6.07453 2.90146 6.90244 2.47961C7.42481 2.21345 7.98863 2.10295 8.62792 2.05072C9.24834 2.00003 10.0141 2.00003 10.9616 2.00004L12.973 1.99993ZM11 3.80001L12.5 3.79999V5.93542C12.5 6.46528 12.5 6.91647 12.5302 7.2869C12.562 7.67606 12.6317 8.05466 12.8161 8.41659C13.0941 8.96226 13.5378 9.4059 14.0834 9.68394C14.4454 9.86835 14.824 9.93798 15.2131 9.96978C15.5835 10 16.0347 10 16.5645 10L18.7 10L18.7 15.5C18.7 16.495 18.6993 17.1871 18.6553 17.7255C18.6122 18.2535 18.5319 18.5541 18.4166 18.7804C18.1673 19.2696 17.7696 19.6674 17.2804 19.9167C17.0541 20.032 16.7535 20.1122 16.2255 20.1553C15.687 20.1993 14.9949 20.2 14 20.2H11C10.0051 20.2 9.31298 20.1993 8.7745 20.1553C8.24652 20.1122 7.94595 20.032 7.71962 19.9167C7.2304 19.6674 6.83266 19.2696 6.58339 18.7804C6.46807 18.5541 6.38783 18.2535 6.3447 17.7255C6.3007 17.1871 6.3 16.495 6.3 15.5V8.50004C6.3 7.5051 6.3007 6.81302 6.3447 6.27454C6.38783 5.74656 6.46806 5.44599 6.58338 5.21967C6.83265 4.73045 7.2304 4.3327 7.71962 4.08343C7.94595 3.96811 8.24652 3.88788 8.7745 3.84474C9.31298 3.80074 10.0051 3.80001 11 3.80001ZM14.3 4.5728L17.9272 8.20002H16.6C16.0251 8.20002 15.648 8.19932 15.3597 8.17576C15.0818 8.15306 14.9665 8.1137 14.9006 8.08012C14.6936 7.97466 14.5254 7.80639 14.4199 7.59941C14.3863 7.53352 14.347 7.41817 14.3243 7.14033C14.3007 6.85197 14.3 6.47492 14.3 5.90002V4.5728Z"})),GL=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.5373 6.95518C13.2485 6.37004 12.6525 5.99958 12 5.99958C11.3475 5.99958 10.7515 6.37004 10.4627 6.95518L9.60207 8.6991L7.67754 8.97875C7.03179 9.07259 6.49531 9.52489 6.29367 10.1455C6.09203 10.7661 6.26019 11.4473 6.72746 11.9028L8.12006 13.2603L7.79132 15.177C7.68101 15.8201 7.94539 16.4701 8.4733 16.8537C9.00121 17.2372 9.70108 17.2878 10.2787 16.9842L12 16.0792L13.7214 16.9842C14.2989 17.2878 14.9988 17.2372 15.5267 16.8537C16.0546 16.4701 16.319 15.8201 16.2087 15.177L15.88 13.2603L17.2726 11.9028C17.7398 11.4473 17.908 10.7661 17.7063 10.1455C17.5047 9.52489 16.9682 9.07259 16.3225 8.97875L14.3979 8.6991L13.5373 6.95518ZM10.7405 10.266L12 7.71387L13.2596 10.266L16.076 10.6752L14.038 12.6618L14.5191 15.4668L12 14.1424L9.48093 15.4668L9.96203 12.6618L7.92405 10.6752L10.7405 10.266Z",fill:"currentColor"}),c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1.71387C6.31937 1.71387 1.71429 6.31894 1.71429 11.9996C1.71429 17.6802 6.31937 22.2853 12 22.2853C17.6807 22.2853 22.2857 17.6802 22.2857 11.9996C22.2857 6.31894 17.6807 1.71387 12 1.71387ZM3.42858 11.9996C3.42858 7.26571 7.26614 3.42815 12 3.42815C16.7339 3.42815 20.5714 7.26571 20.5714 11.9996C20.5714 16.7335 16.7339 20.571 12 20.571C7.26614 20.571 3.42858 16.7335 3.42858 11.9996Z",fill:"currentColor"})),RL=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M8.80004 15.9054L5.30004 12.4054C4.91004 12.0154 4.29004 12.0154 3.90004 12.4054C3.51004 12.7954 3.51004 13.4154 3.90004 13.8054L8.09004 17.9954C8.48004 18.3854 9.11004 18.3854 9.50004 17.9954L20.1 7.40539C20.49 7.01539 20.49 6.39539 20.1 6.00539C19.71 5.61539 19.09 5.61539 18.7 6.00539L8.80004 15.9054Z",fill:"currentColor"})),jL=e=>c.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.8242 3.77574C14.0586 4.01006 14.0586 4.38995 13.8242 4.62427L6.42426 12.0243C6.31174 12.1368 6.15913 12.2 6 12.2C5.84087 12.2 5.68826 12.1368 5.57574 12.0243L2.17574 8.62427C1.94142 8.38996 1.94142 8.01006 2.17574 7.77574C2.41005 7.54143 2.78995 7.54143 3.02426 7.77574L6 10.7515L12.9757 3.77574C13.21 3.54143 13.5899 3.54143 13.8242 3.77574Z",fill:"currentColor"})),YL=e=>c.createElement("svg",{width:28,height:28,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.3572 3L13 3C13.5523 3 14 3.44772 14 4C14 4.55229 13.5523 5 13 5H10.4C9.26339 5 8.47108 5.00078 7.85424 5.05118C7.24907 5.10062 6.90138 5.19279 6.63803 5.32698C6.07354 5.6146 5.6146 6.07354 5.32698 6.63803C5.19279 6.90138 5.10062 7.24907 5.05118 7.85424C5.00078 8.47108 5 9.26339 5 10.4V17.6C5 18.7366 5.00078 19.5289 5.05118 20.1458C5.10062 20.7509 5.19279 21.0986 5.32698 21.362C5.6146 21.9265 6.07354 22.3854 6.63803 22.673C6.90138 22.8072 7.24907 22.8994 7.85424 22.9488C8.47108 22.9992 9.26339 23 10.4 23H13C13.5523 23 14 23.4477 14 24C14 24.5523 13.5523 25 13 25H10.3572C9.27339 25 8.39925 25 7.69138 24.9422C6.96253 24.8826 6.32234 24.7568 5.73005 24.455C4.78924 23.9757 4.02433 23.2108 3.54497 22.27C3.24318 21.6777 3.11737 21.0375 3.05782 20.3086C2.99998 19.6007 2.99999 18.7266 3 17.6428V10.3572C2.99999 9.27341 2.99998 8.39926 3.05782 7.69138C3.11737 6.96253 3.24318 6.32234 3.54497 5.73005C4.02433 4.78924 4.78924 4.02433 5.73005 3.54497C6.32234 3.24318 6.96253 3.11737 7.69138 3.05782C8.39926 2.99998 9.27341 2.99999 10.3572 3ZM19.2929 9.29289C19.6834 8.90237 20.3166 8.90237 20.7071 9.29289L24.7071 13.2929C24.8946 13.4804 25 13.7348 25 14C25 14.2652 24.8946 14.5196 24.7071 14.7071L20.7071 18.7071C20.3166 19.0976 19.6834 19.0976 19.2929 18.7071C18.9024 18.3166 18.9024 17.6834 19.2929 17.2929L21.5858 15H12C11.4477 15 11 14.5523 11 14C11 13.4477 11.4477 13 12 13H21.5858L19.2929 10.7071C18.9024 10.3166 18.9024 9.68342 19.2929 9.29289Z",fill:"#2688EB"})),qL=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C12.4971 2 12.9 2.40294 12.9 2.9V13.8272L17.4636 9.26361C17.8151 8.91214 18.3849 8.91214 18.7364 9.26361C19.0879 9.61508 19.0879 10.1849 18.7364 10.5364L12.6364 16.6364C12.2849 16.9879 11.7151 16.9879 11.3636 16.6364L5.26361 10.5364C4.91214 10.1849 4.91214 9.61508 5.26361 9.26361C5.61508 8.91214 6.18493 8.91214 6.5364 9.26361L11.1 13.8272V2.9C11.1 2.40294 11.5029 2 12 2ZM4 20C4 19.5029 4.40294 19.1 4.9 19.1H19.1C19.5971 19.1 20 19.5029 20 20C20 20.4971 19.5971 20.9 19.1 20.9H4.9C4.40294 20.9 4 20.4971 4 20Z",fill:"currentColor"})),UL=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("g",{clipPath:"url(#clip0_7757_15850)"},c.createElement("path",{d:"M11 18C11 19.1 10.1 20 9 20C7.9 20 7 19.1 7 18C7 16.9 7.9 16 9 16C10.1 16 11 16.9 11 18ZM9 10C7.9 10 7 10.9 7 12C7 13.1 7.9 14 9 14C10.1 14 11 13.1 11 12C11 10.9 10.1 10 9 10ZM9 4C7.9 4 7 4.9 7 6C7 7.1 7.9 8 9 8C10.1 8 11 7.1 11 6C11 4.9 10.1 4 9 4ZM15 8C16.1 8 17 7.1 17 6C17 4.9 16.1 4 15 4C13.9 4 13 4.9 13 6C13 7.1 13.9 8 15 8ZM15 10C13.9 10 13 10.9 13 12C13 13.1 13.9 14 15 14C16.1 14 17 13.1 17 12C17 10.9 16.1 10 15 10ZM15 16C13.9 16 13 16.9 13 18C13 19.1 13.9 20 15 20C16.1 20 17 19.1 17 18C17 16.9 16.1 16 15 16Z"})),c.createElement("defs",null,c.createElement("clipPath",{id:"clip0_7757_15850"},c.createElement("rect",{width:24,height:24,rx:8})))),XL=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M2.79498 17.455V21.205H6.54498L17.605 10.145L13.855 6.39498L2.79498 17.455ZM21.205 6.54498L17.455 2.79498L14.925 5.33498L18.675 9.08498L21.205 6.54498Z",fill:"currentColor"})),KL=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M14.0587 9.02L14.9787 9.94L5.91875 19H4.99875V18.08L14.0587 9.02ZM17.6587 3C17.4087 3 17.1487 3.1 16.9587 3.29L15.1287 5.12L18.8787 8.87L20.7087 7.04C21.0987 6.65 21.0987 6.02 20.7087 5.63L18.3687 3.29C18.1687 3.09 17.9187 3 17.6587 3ZM14.0587 6.19L2.99875 17.25V21H6.74875L17.8087 9.94L14.0587 6.19Z"})),QL=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M16 11.53C15.71 11.24 15.23 11.24 14.94 11.53L10.59 15.88L9 14.29C8.71 14 8.23 14 7.94 14.29C7.65 14.58 7.65 15.06 7.94 15.35L9.88 17.29C10.27 17.68 10.9 17.68 11.29 17.29L15.99 12.59C16.29 12.3 16.29 11.82 16 11.53ZM19 4H18V3C18 2.45 17.55 2 17 2C16.45 2 16 2.45 16 3V4H8V3C8 2.45 7.55 2 7 2C6.45 2 6 2.45 6 3V4H5C3.89 4 3.01 4.9 3.01 6L3 20C3 21.1 3.89 22 5 22H19C20.1 22 21 21.1 21 20V6C21 4.9 20.1 4 19 4ZM18 20H6C5.45 20 5 19.55 5 19V9H19V19C19 19.55 18.55 20 18 20Z"})),JL=e=>c.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M13.3333 9.16602H6.66667C6.20833 9.16602 5.83333 9.54102 5.83333 9.99935C5.83333 10.4577 6.20833 10.8327 6.66667 10.8327H13.3333C13.7917 10.8327 14.1667 10.4577 14.1667 9.99935C14.1667 9.54102 13.7917 9.16602 13.3333 9.16602ZM15.8333 3.33268H15V2.49935C15 2.04102 14.625 1.66602 14.1667 1.66602C13.7083 1.66602 13.3333 2.04102 13.3333 2.49935V3.33268H6.66667V2.49935C6.66667 2.04102 6.29167 1.66602 5.83333 1.66602C5.375 1.66602 5 2.04102 5 2.49935V3.33268H4.16667C3.24167 3.33268 2.5 4.08268 2.5 4.99935V16.666C2.5 17.5827 3.24167 18.3327 4.16667 18.3327H15.8333C16.75 18.3327 17.5 17.5827 17.5 16.666V4.99935C17.5 4.08268 16.75 3.33268 15.8333 3.33268ZM15 16.666H5C4.54167 16.666 4.16667 16.291 4.16667 15.8327V7.49935H15.8333V15.8327C15.8333 16.291 15.4583 16.666 15 16.666ZM10.8333 12.4993H6.66667C6.20833 12.4993 5.83333 12.8743 5.83333 13.3327C5.83333 13.791 6.20833 14.166 6.66667 14.166H10.8333C11.2917 14.166 11.6667 13.791 11.6667 13.3327C11.6667 12.8743 11.2917 12.4993 10.8333 12.4993Z",fill:"currentColor"})),eN=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:21,height:22,viewBox:"0 0 21 22",fill:"currentColor",...e},c.createElement("path",{d:"M18 10V4C18 2.9 17.1 2 16 2H15V0H13V2H5V0H3V2H2C0.9 2 0 2.9 0 4V18C0 19.1 0.9 20 2 20H9V18H2V8H16V10H18ZM16 6H2V4H16V6ZM12.64 18C13.07 19.45 14.41 20.5 16 20.5C17.93 20.5 19.5 18.93 19.5 17C19.5 15.07 17.93 13.5 16 13.5C15.05 13.5 14.18 13.88 13.55 14.5H15V16H11V12H12.5V13.43C13.4 12.55 14.64 12 16 12C18.76 12 21 14.24 21 17C21 19.76 18.76 22 16 22C13.58 22 11.56 20.28 11.1 18H12.64Z"})),tN=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 3H4C2.9 3 2 3.9 2 5V19C2 20.1 2.9 21 4 21H20C21.1 21 22 20.1 22 19V5C22 3.9 21.1 3 20 3ZM20 19H4V5H20V19Z"}),c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.41 10.42L17.99 9L14.82 12.17L13.41 10.75L12 12.16L14.82 15L19.41 10.42Z"}),c.createElement("path",{d:"M10 7H5V9H10V7Z"}),c.createElement("path",{d:"M10 11H5V13H10V11Z"}),c.createElement("path",{d:"M10 15H5V17H10V15Z"})),nN=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M14 10V8.48C14 7.77 13.29 7.29 12.63 7.55L9 9V8.52C9 7.8 8.27 7.31 7.61 7.6L3.21 9.48C2.48 9.8 2 10.52 2 11.32V20C2 21.1 2.9 22 4 22H20C21.1 22 22 21.1 22 20V10H14ZM9 17C9 17.55 8.55 18 8 18C7.45 18 7 17.55 7 17V15C7 14.45 7.45 14 8 14C8.55 14 9 14.45 9 15V17ZM13 17C13 17.55 12.55 18 12 18C11.45 18 11 17.55 11 17V15C11 14.45 11.45 14 12 14C12.55 14 13 14.45 13 15V17ZM17 17C17 17.55 16.55 18 16 18C15.45 18 15 17.55 15 17V15C15 14.45 15.45 14 16 14C16.55 14 17 14.45 17 15V17Z"}),c.createElement("path",{d:"M20.12 2H18.89C18.38 2 17.96 2.38 17.9 2.88L17.2 8.5H21.8L21.11 2.88C21.05 2.38 20.62 2 20.12 2Z"})),rN=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M21 3H3C1.9 3 1 3.9 1 5V19C1 20.1 1.9 21 3 21H21C22.1 21 23 20.1 23 19V5C23 3.9 22.1 3 21 3ZM11 11H4C3.45 11 3 10.55 3 10C3 9.45 3.45 9 4 9H11C11.55 9 12 9.45 12 10C12 10.55 11.55 11 11 11ZM11 7H4C3.45 7 3 6.55 3 6C3 5.45 3.45 5 4 5H11C11.55 5 12 5.45 12 6C12 6.55 11.55 7 11 7Z"})),Wn=e=>c.createElement("svg",{width:24,height:25,viewBox:"0 0 24 25",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M6 2.5C4.9 2.5 4.01 3.4 4.01 4.5L4 20.5C4 21.6 4.89 22.5 5.99 22.5H18C19.1 22.5 20 21.6 20 20.5V9.33C20 8.8 19.79 8.29 19.41 7.92L14.58 3.09C14.21 2.71 13.7 2.5 13.17 2.5H6ZM13 8.5V4L18.5 9.5H14C13.45 9.5 13 9.05 13 8.5Z"})),oN=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{id:"Vector",d:"M16.5 1H4.5C3.4 1 2.5 1.9 2.5 3V17H4.5V3H16.5V1ZM15.5 5L21.5 11V21C21.5 22.1 20.6 23 19.5 23H8.49C7.39 23 6.5 22.1 6.5 21L6.51 7C6.51 5.9 7.4 5 8.5 5H15.5ZM14.5 12H20L14.5 6.5V12Z"})),aN=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M16.5 1H4.5C3.4 1 2.5 1.9 2.5 3V17H4.5V3H16.5V1ZM15.5 5H8.5C7.4 5 6.51 5.9 6.51 7L6.5 21C6.5 22.1 7.39 23 8.49 23H19.5C20.6 23 21.5 22.1 21.5 21V11L15.5 5ZM8.5 21V7H14.5V12H19.5V21H8.5Z"})),sN=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M18 15V18H6V15H4V18C4 19.1 4.9 20 6 20H18C19.1 20 20 19.1 20 18V15H18ZM17 11L15.59 9.59L13 12.17V4H11V12.17L8.41 9.59L7 11L12 16L17 11Z"})),$9=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M17.6601 5.2901L14.0901 9.8401L15.5201 11.2701C16.5501 9.9601 20.5001 4.9001 20.5001 4.9001C21.0101 4.2401 20.5401 3.2901 19.7101 3.2901H7.5401L9.5401 5.2901H17.6601Z"}),c.createElement("path",{d:"M3.5201 2.1001L2.1001 3.5101L10.7101 12.2901V18.2901C10.7101 18.8401 11.1601 19.2901 11.7101 19.2901H13.7101C14.2601 19.2901 14.7101 18.8401 14.7101 18.2901V16.1201L20.4901 21.9001L21.9001 20.4901L3.5201 2.1001Z"})),iN=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M17.6985 15.89L13.8185 12L17.7085 8.11C18.0985 7.72 18.0985 7.09 17.7085 6.7C17.3185 6.31 16.6885 6.31 16.2985 6.7L11.7085 11.29C11.3185 11.68 11.3185 12.31 11.7085 12.7L16.2985 17.29C16.6885 17.68 17.3185 17.68 17.7085 17.29C18.0885 16.91 18.0885 16.27 17.6985 15.89ZM6.99854 6C7.54854 6 7.99854 6.45 7.99854 7V17C7.99854 17.55 7.54854 18 6.99854 18C6.44854 18 5.99854 17.55 5.99854 17V7C5.99854 6.45 6.44854 6 6.99854 6Z",fill:"currentColor"})),lN=e=>c.createElement("svg",{width:24,height:25,viewBox:"0 0 24 25",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M11.86 6.25L12.26 8.25H17.5V14.25H14.14L13.74 12.25H6.5V6.25H11.86ZM13.5 4.25H4.5V21.25H6.5V14.25H12.1L12.5 16.25H19.5V6.25H13.9L13.5 4.25Z"})),cN=e=>c.createElement("svg",{width:24,height:25,viewBox:"0 0 24 25",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M13.9 6.25L13.5 4.25H4.5V21.25H6.5V14.25H12.1L12.5 16.25H19.5V6.25H13.9Z"})),uN=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M14 15H4C3.45 15 3 15.45 3 16C3 16.55 3.45 17 4 17H14C14.55 17 15 16.55 15 16C15 15.45 14.55 15 14 15ZM14 7H4C3.45 7 3 7.45 3 8C3 8.55 3.45 9 4 9H14C14.55 9 15 8.55 15 8C15 7.45 14.55 7 14 7ZM4 13H20C20.55 13 21 12.55 21 12C21 11.45 20.55 11 20 11H4C3.45 11 3 11.45 3 12C3 12.55 3.45 13 4 13ZM4 21H20C20.55 21 21 20.55 21 20C21 19.45 20.55 19 20 19H4C3.45 19 3 19.45 3 20C3 20.55 3.45 21 4 21ZM3 4C3 4.55 3.45 5 4 5H20C20.55 5 21 4.55 21 4C21 3.45 20.55 3 20 3H4C3.45 3 3 3.45 3 4Z",fill:"currentColor"})),dN=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.2998 17C2.8998 16.3 2.4998 15.5 2.2998 14.7C2.7998 14.4 3.1998 14.1 3.4998 13.6C3.7998 13.1 3.8998 12.6 3.8998 12C3.8998 11.4 3.6998 10.9 3.4998 10.4C3.1998 9.9 2.7998 9.5 2.2998 9.3C2.7998 7.7 3.5998 6.2 4.7998 5C5.2998 5.3 5.79981 5.5 6.39981 5.5C6.9998 5.5 7.4998 5.4 7.9998 5.1C8.4998 4.8 8.89981 4.4 9.0998 3.9C9.39981 3.4 9.4998 2.9 9.4998 2.3C11.0998 1.9 12.8998 1.9 14.4998 2.3C14.4998 2.8482 14.4998 3.31293 14.8049 3.77045L14.8901 6.79469C13.7951 6.1941 12.9989 5.19646 12.6998 4H11.1998C10.7998 5.2 9.9998 6.2 8.8998 6.8C7.7998 7.4 6.5998 7.6 5.3998 7.4C5.0998 7.8 4.8998 8.2 4.6998 8.7C5.4998 9.6 5.9998 10.8 5.9998 12C5.9998 13.3 5.4998 14.4 4.6998 15.3C4.8998 15.8 5.1998 16.2 5.4998 16.6C6.6998 16.3 7.9998 16.6 8.9998 17.2C10.0998 17.8 10.8998 18.8 11.1998 20H12.6998C13.0998 18.8 13.8998 17.8 14.9998 17.2C15.0598 17.1673 15.12 17.1358 15.1805 17.1055L15.2001 17.8V18.7001C14.8001 19.2001 14.6001 19.9 14.6001 20.6C14.6001 20.6637 14.602 20.7269 14.6057 20.7895C14.5297 21.074 14.4998 21.3721 14.4998 21.7C12.8998 22.1 11.0998 22.1 9.4998 21.7C9.4998 21.1 9.4998 20.6 9.0998 20.1C8.7998 19.6 8.3998 19.2 7.9998 18.9C7.4998 18.6 6.9998 18.5 6.39981 18.5C5.79981 18.5 5.2998 18.7 4.7998 19C4.1998 18.4 3.6998 17.7 3.2998 17ZM19.5001 18.6844C20.535 17.5417 21.2427 16.1626 21.6998 14.7C21.1998 14.5 20.7998 14.1 20.4998 13.6C20.2998 13.1 20.0998 12.6 20.0998 12C20.0998 11.4 20.1998 10.9 20.4998 10.4C20.7998 9.9 21.1998 9.6 21.6998 9.3C21.4998 8.5 21.0998 7.7 20.6998 7C20.4518 6.56593 20.1653 6.13186 19.8403 5.72164L19.5001 17.8V18.6844ZM11.9998 15C11.1998 15 10.3998 14.7 9.8998 14.1C9.2998 13.5 8.9998 12.8 8.9998 12C8.9998 11.2 9.2998 10.4 9.8998 9.9C10.4998 9.3 11.1998 9 11.9998 9C12.7998 9 13.5998 9.3 14.0998 9.9C14.6998 10.5 14.9998 11.2 14.9998 12C14.9998 12.8 14.6998 13.6 14.0998 14.1C13.4998 14.7 12.7998 15 11.9998 15ZM11.9998 13C12.2998 13 12.4998 12.9 12.6998 12.7C12.8998 12.5 12.9998 12.3 12.9998 12C12.9998 11.7 12.8998 11.5 12.6998 11.3C12.4998 11.1 12.2998 11 11.9998 11C11.6998 11 11.4998 11.1 11.2998 11.3C11.0998 11.5 10.9998 11.7 10.9998 12C10.9998 12.3 11.0998 12.5 11.2998 12.7C11.4998 12.9 11.6998 13 11.9998 13Z"}),c.createElement("path",{d:"M16.5 17.5H18L18.5 3.5H16L16.5 17.5Z"}),c.createElement("circle",{cx:17.2002,cy:20.5,r:1.5})),fN=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M9 13.75C6.66 13.75 2 14.92 2 17.25V19H16V17.25C16 14.92 11.34 13.75 9 13.75ZM4.34 17C5.18 16.42 7.21 15.75 9 15.75C10.79 15.75 12.82 16.42 13.66 17H4.34ZM9 12C10.93 12 12.5 10.43 12.5 8.5C12.5 6.57 10.93 5 9 5C7.07 5 5.5 6.57 5.5 8.5C5.5 10.43 7.07 12 9 12ZM9 7C9.83 7 10.5 7.67 10.5 8.5C10.5 9.33 9.83 10 9 10C8.17 10 7.5 9.33 7.5 8.5C7.5 7.67 8.17 7 9 7ZM16.04 13.81C17.2 14.65 18 15.77 18 17.25V19H22V17.25C22 15.23 18.5 14.08 16.04 13.81ZM15 12C16.93 12 18.5 10.43 18.5 8.5C18.5 6.57 16.93 5 15 5C14.46 5 13.96 5.13 13.5 5.35C14.13 6.24 14.5 7.33 14.5 8.5C14.5 9.67 14.13 10.76 13.5 11.65C13.96 11.87 14.46 12 15 12Z"})),hN=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM8 17.5C6.62 17.5 5.5 16.38 5.5 15C5.5 13.62 6.62 12.5 8 12.5C9.38 12.5 10.5 13.62 10.5 15C10.5 16.38 9.38 17.5 8 17.5ZM9.5 8C9.5 6.62 10.62 5.5 12 5.5C13.38 5.5 14.5 6.62 14.5 8C14.5 9.38 13.38 10.5 12 10.5C10.62 10.5 9.5 9.38 9.5 8ZM16 17.5C14.62 17.5 13.5 16.38 13.5 15C13.5 13.62 14.62 12.5 16 12.5C17.38 12.5 18.5 13.62 18.5 15C18.5 16.38 17.38 17.5 16 17.5Z"})),gN=e=>c.createElement("svg",{width:127,height:128,viewBox:"0 0 127 128",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("g",{clipPath:"url(#clip0_4484_18635)"},c.createElement("path",{d:"M116.625 19.1733C113.685 16.6293 109.795 15.552 105.941 16.176C103.815 16.528 101.893 17.4773 100.25 18.8V18.6613C100.25 11.312 94.3595 5.32796 87.125 5.32796C83.765 5.32796 80.7305 6.65596 78.41 8.76796C76.5673 3.66396 71.7793 -0.00537109 66.125 -0.00537109C58.8905 -0.00537109 53 5.97863 53 13.328V13.4666C51.3568 12.144 49.4353 11.1946 47.309 10.8426C43.466 10.224 39.5653 11.296 36.6253 13.84C33.6853 16.3786 32 20.08 32 24V80.5387L22.571 72.9226C17.2895 67.9093 8.98403 68.1866 4.04378 73.5573C-0.896466 78.928 -0.623466 87.3867 4.62653 92.384L22.235 109.632C34.331 121.477 50.2385 128 67.0385 128H79.3865C102.471 128 121.25 108.923 121.25 85.472V29.3333C121.25 25.4186 119.565 21.712 116.625 19.1733ZM116 85.472C116 105.984 99.578 122.667 79.3865 122.667H67.0385C51.6088 122.667 36.9875 116.672 25.8785 105.792L8.24378 88.5173C5.07278 85.4986 4.91003 80.416 7.87628 77.1946C9.30953 75.6373 11.2573 74.7413 13.352 74.6666C15.4993 74.6293 17.4523 75.3547 19.1428 76.9493L32.987 88.1493C33.7798 88.7893 34.856 88.9173 35.7643 88.464C36.6725 88.0213 37.25 87.088 37.25 86.064V24C37.25 21.6533 38.2633 19.4293 40.0273 17.904C41.8175 16.3573 44.1118 15.728 46.469 16.112C50.1913 16.7253 53.0053 20.3626 53.0053 24.5706V56C53.0053 57.472 54.1813 58.6666 55.6303 58.6666C57.0793 58.6666 58.2553 57.472 58.2553 56V13.3333C58.2553 8.92263 61.7885 5.3333 66.1303 5.3333C70.472 5.3333 74.0053 8.92263 74.0053 13.3333V56C74.0053 57.472 75.1813 58.6666 76.6303 58.6666C78.0793 58.6666 79.2553 57.472 79.2553 56V18.6666C79.2553 14.256 82.7885 10.6666 87.1303 10.6666C91.472 10.6666 95.0053 14.256 95.0053 18.6666V56C95.0053 57.472 96.1813 58.6666 97.6303 58.6666C99.0793 58.6666 100.255 57.472 100.255 56V29.904C100.255 25.696 103.064 22.0586 106.786 21.4453C109.154 21.0506 111.438 21.6906 113.228 23.2373C114.992 24.7626 116.005 26.9866 116.005 29.3333L116 85.472Z",fill:"#99A2AD"})),c.createElement("defs",null,c.createElement("clipPath",{id:"clip0_4484_18635"},c.createElement("rect",{width:126,height:128,fill:"white",transform:"translate(0.5)"})))),pN=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M21.69 18.523L16.97 13.803C16.49 13.323 15.98 13.213 15.39 13.213L12.85 15.753C12.85 16.343 12.96 16.863 13.44 17.333L18.16 22.053C18.55 22.443 19.18 22.443 19.57 22.053L21.69 19.933C22.08 19.553 22.08 18.913 21.69 18.523Z"}),c.createElement("path",{d:"M16.65 9.84297C17.04 10.233 17.67 10.233 18.06 9.84297L18.77 9.13297L20.89 11.253C22.06 10.083 22.06 8.18297 20.89 7.01297L18.06 4.18297C17.67 3.79297 17.04 3.79297 16.65 4.18297L15.94 4.89297V2.35297C15.94 1.73297 15.18 1.40297 14.73 1.85297L12.19 4.39297C11.74 4.84297 12.07 5.60297 12.69 5.60297H15.23L14.52 6.31297C14.13 6.70297 14.13 7.33297 14.52 7.72297L14.87 8.07297L11.98 10.963L7.86999 6.83297V5.83297C7.86999 5.56297 7.75999 5.31297 7.57999 5.12297L5.55999 3.09297C5.16999 2.70297 4.53999 2.70297 4.14999 3.09297L2.72999 4.51297C2.33999 4.90297 2.33999 5.53297 2.72999 5.92297L4.74999 7.95297C4.93999 8.14297 5.18999 8.24297 5.45999 8.24297H6.45999L10.59 12.373L9.73999 13.223H8.43999C7.90999 13.223 7.39999 13.433 7.02999 13.813L2.30999 18.533C1.91999 18.923 1.91999 19.553 2.30999 19.943L4.42999 22.063C4.81999 22.453 5.44999 22.453 5.83999 22.063L10.56 17.343C10.94 16.963 11.15 16.463 11.15 15.933V14.643L16.3 9.49297L16.65 9.84297Z"})),CN=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M17.59 3.41L15 6V5C15 3.9 14.1 3 13 3H9C6.24 3 4 5.24 4 8H9V11H15V8L17.59 10.59C17.85 10.85 18.21 11 18.59 11H18.6C19.37 11 20 10.37 20 9.59V4.41C20 3.63 19.37 3 18.59 3H18.58C18.21 3 17.85 3.15 17.59 3.41Z",fill:"currentColor"}),c.createElement("path",{d:"M9 13V20C9 20.55 9.45 21 10 21H14C14.55 21 15 20.55 15 20V13H9Z",fill:"currentColor"})),mN=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM12.01 18C11.31 18 10.75 17.44 10.75 16.74C10.75 16.03 11.31 15.49 12.01 15.49C12.72 15.49 13.26 16.03 13.26 16.74C13.25 17.43 12.72 18 12.01 18ZM15.02 10.6C14.26 11.71 13.54 12.06 13.15 12.77C13.05 12.95 12.99 13.09 12.96 13.4C12.91 13.85 12.51 14.18 12.06 14.18H12C11.48 14.18 11.07 13.74 11.12 13.22C11.15 12.88 11.23 12.53 11.42 12.19C11.91 11.32 12.84 10.8 13.38 10.03C13.95 9.22 13.63 7.7 12.01 7.7C11.3 7.7 10.83 8.06 10.54 8.49C10.29 8.85 9.85 9.02 9.44 8.85C8.91 8.64 8.72 8 9.04 7.54C9.65 6.65 10.67 6 11.99 6C13.47 6 14.48 6.67 15 7.52C15.44 8.24 15.7 9.59 15.02 10.6Z"})),vN=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M13.25 16.74C13.25 17.43 12.72 18 12 18C11.3 18 10.74 17.44 10.74 16.74C10.74 16.03 11.3 15.49 12 15.49C12.71 15.49 13.25 16.04 13.25 16.74ZM11.99 6C10.22 6 9.01 7.15 8.56 8.49L10.2 9.18C10.42 8.51 10.94 7.7 12 7.7C13.62 7.7 13.94 9.22 13.37 10.03C12.83 10.8 11.9 11.32 11.41 12.19C11.02 12.88 11.1 13.68 11.1 14.17H12.92C12.92 13.24 12.99 13.05 13.14 12.76C13.53 12.04 14.25 11.7 15.01 10.59C15.69 9.59 15.43 8.23 14.99 7.51C14.48 6.67 13.47 6 11.99 6ZM19 5H5V19H19V5ZM19 3C20.1 3 21 3.9 21 5V19C21 20.1 20.1 21 19 21H5C3.9 21 3 20.1 3 19V5C3 3.9 3.9 3 5 3H19Z"})),wN=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM11 16H13V18H11V16ZM12.61 6.04C10.55 5.74 8.73 7.01 8.18 8.83C8 9.41 8.44 10 9.05 10H9.25C9.66 10 9.99 9.71 10.13 9.33C10.45 8.44 11.4 7.83 12.43 8.05C13.38 8.25 14.08 9.18 14 10.15C13.9 11.49 12.38 11.78 11.55 13.03C11.55 13.04 11.54 13.04 11.54 13.05C11.53 13.07 11.52 13.08 11.51 13.1C11.42 13.25 11.33 13.42 11.26 13.6C11.25 13.63 11.23 13.65 11.22 13.68C11.21 13.7 11.21 13.72 11.2 13.75C11.08 14.09 11 14.5 11 15H13C13 14.58 13.11 14.23 13.28 13.93C13.3 13.9 13.31 13.87 13.33 13.84C13.41 13.7 13.51 13.57 13.61 13.45C13.62 13.44 13.63 13.42 13.64 13.41C13.74 13.29 13.85 13.18 13.97 13.07C14.93 12.16 16.23 11.42 15.96 9.51C15.72 7.77 14.35 6.3 12.61 6.04Z"})),z9=e=>c.createElement("svg",{width:91,height:90,viewBox:"0 0 91 90",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("g",{id:"hide_image"},c.createElement("g",{id:"Vector"},c.createElement("path",{d:"M74.7135 16.0873V57.9748L82.2135 65.4748V16.0873C82.2135 11.9623 78.8385 8.58726 74.7135 8.58726H25.326L32.826 16.0873H74.7135Z"}),c.createElement("path",{d:"M14.001 7.87476L8.67603 13.1623L14.7135 19.1998V68.5873C14.7135 72.7123 18.0885 76.0873 22.2135 76.0873H71.601L77.6385 82.1248L82.926 76.8373L14.001 7.87476ZM22.2135 68.5873V26.6998L48.726 53.2123L45.651 57.3373L37.2135 46.0873L25.9635 61.0873H56.601L64.101 68.5873H22.2135Z"})))),yN=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M13.404 3.00178C8.31401 2.86178 4.14401 6.95178 4.14401 12.0018H2.35401C1.90401 12.0018 1.68401 12.5418 2.00401 12.8518L4.79401 15.6518C4.99401 15.8518 5.30401 15.8518 5.50401 15.6518L8.29401 12.8518C8.60401 12.5418 8.38401 12.0018 7.93401 12.0018H6.14401C6.14401 8.10178 9.32401 4.95178 13.244 5.00178C16.964 5.05178 20.094 8.18178 20.144 11.9018C20.194 15.8118 17.044 19.0018 13.144 19.0018C11.534 19.0018 10.044 18.4518 8.86401 17.5218C8.46401 17.2118 7.90401 17.2418 7.54401 17.6018C7.12401 18.0218 7.15401 18.7318 7.62401 19.0918C9.14401 20.2918 11.054 21.0018 13.144 21.0018C18.194 21.0018 22.284 16.8318 22.144 11.7418C22.014 7.05178 18.094 3.13178 13.404 3.00178ZM12.894 8.00178C12.484 8.00178 12.144 8.34178 12.144 8.75178V12.4318C12.144 12.7818 12.334 13.1118 12.634 13.2918L15.754 15.1418C16.114 15.3518 16.574 15.2318 16.784 14.8818C16.994 14.5218 16.874 14.0618 16.524 13.8518L13.644 12.1418V8.74178C13.644 8.34178 13.304 8.00178 12.894 8.00178Z",fill:"currentColor"})),bN=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M8.24008 9.80569H2.22008C1.73008 9.80569 1.53008 10.4257 1.93008 10.7157L6.84008 14.2257L4.95008 20.3257C4.81008 20.7857 5.34008 21.1657 5.73008 20.8757L10.6601 17.1157L15.5901 20.8657C15.9801 21.1557 16.5101 20.7857 16.3701 20.3157L14.4801 14.2157L19.3901 10.7057C19.7901 10.4257 19.5901 9.79569 19.1001 9.79569H13.0801L11.1301 3.37569C10.9901 2.90569 10.3201 2.90569 10.1701 3.37569L8.24008 9.80569ZM20.5601 20.3157L19.1601 15.7957L22.0701 13.7157C22.4701 13.4357 22.2701 12.8057 21.7801 12.8057H19.9001L16.8201 15.0057L18.2801 19.7257L19.7801 20.8657C20.1701 21.1557 20.7001 20.7757 20.5601 20.3157ZM16.6601 7.80569L15.3201 3.38569C15.1801 2.91569 14.5101 2.91569 14.3601 3.38569L13.7901 5.25569L14.5701 7.80569H16.6601Z",fill:"currentColor"})),xN=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M21 19V5C21 3.9 20.1 3 19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19ZM8.9 13.98L11 16.51L14.1 12.52C14.3 12.26 14.7 12.26 14.9 12.53L18.41 17.21C18.66 17.54 18.42 18.01 18.01 18.01H6.02C5.6 18.01 5.37 17.53 5.63 17.2L8.12 14C8.31 13.74 8.69 13.73 8.9 13.98Z",fill:"currentColor"})),SN=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M19 5V19H5V5H19ZM19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM14.14 11.86L11.14 15.73L9 13.14L6 17H18L14.14 11.86Z"})),Z9=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.17157 3.17187C2 4.34344 2 6.22906 2 10.0003V14.0003C2 17.7715 2 19.6572 3.17157 20.8287C4.34315 22.0003 6.22876 22.0003 10 22.0003H14C17.7712 22.0003 19.6569 22.0003 20.8284 20.8287C22 19.6572 22 17.7715 22 14.0003V14.0003V10.0003C22 7.16096 22 5.39048 21.5 4.18886V17.0003C20.5396 17.0003 19.6185 16.6188 18.9393 15.9396L18.1877 15.188C17.4664 14.4667 17.1057 14.106 16.6968 13.954C16.2473 13.787 15.7527 13.787 15.3032 13.954C14.8943 14.106 14.5336 14.4667 13.8123 15.188L13.6992 15.3011C13.1138 15.8865 12.8212 16.1791 12.5102 16.2337C12.2685 16.2761 12.0197 16.2282 11.811 16.0991C11.5425 15.9329 11.3795 15.5525 11.0534 14.7916L11 14.667C10.2504 12.9178 9.87554 12.0432 9.22167 11.7154C8.89249 11.5504 8.52413 11.4795 8.1572 11.5104C7.42836 11.5719 6.75554 12.2448 5.40989 13.5904L3.5 15.5003V2.8877C3.3844 2.9738 3.27519 3.06825 3.17157 3.17187Z",fill:"CurrentColor"}),c.createElement("path",{d:"M3 10C3 8.08611 3.00212 6.75129 3.13753 5.74416C3.26907 4.76579 3.50966 4.2477 3.87868 3.87868C4.2477 3.50966 4.76579 3.26907 5.74416 3.13753C6.75129 3.00212 8.08611 3 10 3H14C15.9139 3 17.2487 3.00212 18.2558 3.13753C19.2342 3.26907 19.7523 3.50966 20.1213 3.87868C20.4903 4.2477 20.7309 4.76579 20.8625 5.74416C20.9979 6.75129 21 8.08611 21 10V14C21 15.9139 20.9979 17.2487 20.8625 18.2558C20.7309 19.2342 20.4903 19.7523 20.1213 20.1213C19.7523 20.4903 19.2342 20.7309 18.2558 20.8625C17.2487 20.9979 15.9139 21 14 21H10C8.08611 21 6.75129 20.9979 5.74416 20.8625C4.76579 20.7309 4.2477 20.4903 3.87868 20.1213C3.50966 19.7523 3.26907 19.2342 3.13753 18.2558C3.00212 17.2487 3 15.9139 3 14V10Z",stroke:"CurrentColor",strokeWidth:2}),c.createElement("circle",{cx:15,cy:9,r:2,fill:"CurrentColor"})),MN=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M19 4H18V2H16V4H8V2H6V4H5C3.89 4 3.01 4.9 3.01 6L3 20C3 21.1 3.89 22 5 22H19C20.1 22 21 21.1 21 20V6C21 4.9 20.1 4 19 4ZM19 20H5V10H19V20ZM19 8H5V6H19V8ZM17 13H12V18H17V13Z"})),EN=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{id:"Vector",d:"M20 2H4C3 2 2 2.9 2 4V7.01C2 7.73 2.43 8.35 3 8.7V20C3 21.1 4.1 22 5 22H19C19.9 22 21 21.1 21 20V8.7C21.57 8.35 22 7.73 22 7.01V4C22 2.9 21 2 20 2ZM14 14H10C9.45 14 9 13.55 9 13C9 12.45 9.45 12 10 12H14C14.55 12 15 12.45 15 13C15 13.55 14.55 14 14 14ZM20 7H4V4H20V7Z"})),LN=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M15 22H19C20.1 22 21 21.1 21 20V17C21 15.9 20.1 15 19 15H18V13C18 11.9 17.1 11 16 11H13V9H14C15.1 9 16 8.1 16 7V4C16 2.9 15.1 2 14 2H10C8.9 2 8 2.9 8 4V7C8 8.1 8.9 9 10 9H11V11H8C6.9 11 6 11.9 6 13V15H5C3.9 15 3 15.9 3 17V20C3 21.1 3.9 22 5 22H9C10.1 22 11 21.1 11 20V17C11 15.9 10.1 15 9 15H8V13H16V15H15C13.9 15 13 15.9 13 17V20C13 21.1 13.9 22 15 22Z"})),NN=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M13 22H21V15H18V11H13V9H16V2H8V9H11V11H6V15H3V22H11V15H8V13H16V15H13V22ZM10 7V4H14V7H10ZM9 17V20H5V17H9ZM19 17V20H15V17H19Z"})),kN=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M19 15H5C4.45 15 4 14.55 4 14C4 13.45 4.45 13 5 13H19C19.55 13 20 13.45 20 14C20 14.55 19.55 15 19 15ZM19 17H5C4.45 17 4 17.45 4 18C4 18.55 4.45 19 5 19H19C19.55 19 20 18.55 20 18C20 17.45 19.55 17 19 17ZM15 11L19.58 7.75C19.84 7.56 20 7.26 20 6.94C20 6.13 19.08 5.65 18.42 6.12L15 8.55L10 5L4.48 8.36C4.18 8.55 4 8.87 4 9.22C4 10 4.85 10.48 5.52 10.07L9.92 7.39L15 11Z"})),PN=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M12 7C9.24 7 7 9.24 7 12C7 14.76 9.24 17 12 17C14.76 17 17 14.76 17 12C17 9.24 14.76 7 12 7ZM2 13H4C4.55 13 5 12.55 5 12C5 11.45 4.55 11 4 11H2C1.45 11 1 11.45 1 12C1 12.55 1.45 13 2 13ZM20 13H22C22.55 13 23 12.55 23 12C23 11.45 22.55 11 22 11H20C19.45 11 19 11.45 19 12C19 12.55 19.45 13 20 13ZM11 2V4C11 4.55 11.45 5 12 5C12.55 5 13 4.55 13 4V2C13 1.45 12.55 1 12 1C11.45 1 11 1.45 11 2ZM11 20V22C11 22.55 11.45 23 12 23C12.55 23 13 22.55 13 22V20C13 19.45 12.55 19 12 19C11.45 19 11 19.45 11 20ZM5.99 4.58C5.6 4.19 4.96 4.19 4.58 4.58C4.19 4.97 4.19 5.61 4.58 5.99L5.64 7.05C6.03 7.44 6.67 7.44 7.05 7.05C7.43 6.66 7.44 6.02 7.05 5.64L5.99 4.58ZM18.36 16.95C17.97 16.56 17.33 16.56 16.95 16.95C16.56 17.34 16.56 17.98 16.95 18.36L18.01 19.42C18.4 19.81 19.04 19.81 19.42 19.42C19.81 19.03 19.81 18.39 19.42 18.01L18.36 16.95ZM19.42 5.99C19.81 5.6 19.81 4.96 19.42 4.58C19.03 4.19 18.39 4.19 18.01 4.58L16.95 5.64C16.56 6.03 16.56 6.67 16.95 7.05C17.34 7.43 17.98 7.44 18.36 7.05L19.42 5.99ZM7.05 18.36C7.44 17.97 7.44 17.33 7.05 16.95C6.66 16.56 6.02 16.56 5.64 16.95L4.58 18.01C4.19 18.4 4.19 19.04 4.58 19.42C4.97 19.8 5.61 19.81 5.99 19.42L7.05 18.36Z",fill:"currentColor"})),IN=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M12 9C13.65 9 15 10.35 15 12C15 13.65 13.65 15 12 15C10.35 15 9 13.65 9 12C9 10.35 10.35 9 12 9ZM12 7C9.24 7 7 9.24 7 12C7 14.76 9.24 17 12 17C14.76 17 17 14.76 17 12C17 9.24 14.76 7 12 7ZM2 13H4C4.55 13 5 12.55 5 12C5 11.45 4.55 11 4 11H2C1.45 11 1 11.45 1 12C1 12.55 1.45 13 2 13ZM20 13H22C22.55 13 23 12.55 23 12C23 11.45 22.55 11 22 11H20C19.45 11 19 11.45 19 12C19 12.55 19.45 13 20 13ZM11 2V4C11 4.55 11.45 5 12 5C12.55 5 13 4.55 13 4V2C13 1.45 12.55 1 12 1C11.45 1 11 1.45 11 2ZM11 20V22C11 22.55 11.45 23 12 23C12.55 23 13 22.55 13 22V20C13 19.45 12.55 19 12 19C11.45 19 11 19.45 11 20ZM5.99 4.58C5.6 4.19 4.96 4.19 4.58 4.58C4.19 4.97 4.19 5.61 4.58 5.99L5.64 7.05C6.03 7.44 6.67 7.44 7.05 7.05C7.43 6.66 7.44 6.02 7.05 5.64L5.99 4.58ZM18.36 16.95C17.97 16.56 17.33 16.56 16.95 16.95C16.56 17.34 16.56 17.98 16.95 18.36L18.01 19.42C18.4 19.81 19.04 19.81 19.42 19.42C19.81 19.03 19.81 18.39 19.42 18.01L18.36 16.95ZM19.42 5.99C19.81 5.6 19.81 4.96 19.42 4.58C19.03 4.19 18.39 4.19 18.01 4.58L16.95 5.64C16.56 6.03 16.56 6.67 16.95 7.05C17.34 7.43 17.98 7.44 18.36 7.05L19.42 5.99ZM7.05 18.36C7.44 17.97 7.44 17.33 7.05 16.95C6.66 16.56 6.02 16.56 5.64 16.95L4.58 18.01C4.19 18.4 4.19 19.04 4.58 19.42C4.97 19.8 5.61 19.81 5.99 19.42L7.05 18.36Z"})),ON=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M12.0044 13.519L9.97439 15.519C9.51439 15.979 9.15439 16.549 9.04439 17.189C8.74439 19.029 10.1844 20.619 12.0044 20.619C13.8244 20.619 15.2644 19.029 14.9644 17.199C14.8544 16.559 14.5044 15.979 14.0344 15.529L12.0044 13.519Z",fill:"currentColor"}),c.createElement("path",{d:"M15.5644 7.16901C14.3844 8.63901 12.0044 7.80901 12.0044 5.91901V4.38901C12.0044 3.58901 11.1144 3.10901 10.4544 3.54901C8.12439 5.10901 4.00439 8.58901 4.00439 13.619C4.00439 16.539 5.56439 19.089 7.89439 20.479C7.18439 19.459 6.83439 18.169 7.08439 16.799C7.27439 15.759 7.83439 14.819 8.59439 14.079L11.3044 11.409C11.6944 11.029 12.3144 11.029 12.7044 11.409L15.4344 14.099C16.1744 14.829 16.7344 15.749 16.9144 16.779C17.1644 18.139 16.8444 19.419 16.1444 20.439C18.0344 19.289 19.4344 17.379 19.8544 15.139C20.4644 11.869 19.0444 8.76901 16.6344 7.03901C16.3044 6.78901 15.8344 6.83901 15.5644 7.16901Z",fill:"currentColor"})),TN=e=>c.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.00152 2.53334C6.58364 2.53334 5.43485 3.68195 5.43485 5.09806C5.43485 6.73589 6.40611 8.49862 7.29301 9.74929C7.66088 10.2681 8.35981 10.2668 8.72573 9.74673C9.60545 8.49647 10.5682 6.73528 10.5682 5.09806C10.5682 3.68195 9.4194 2.53334 8.00152 2.53334ZM4.23485 5.09806C4.23485 3.01851 5.92159 1.33334 8.00152 1.33334C10.0814 1.33334 11.7682 3.01851 11.7682 5.09806C11.7682 7.13001 10.6101 9.15393 9.70712 10.4373C8.86426 11.6351 7.16134 11.6381 6.31415 10.4434C5.40436 9.16047 4.23485 7.13361 4.23485 5.09806Z",fill:"currentColor"}),c.createElement("path",{d:"M9.16819 5.16665C9.16819 5.81099 8.64585 6.33332 8.00152 6.33332C7.35719 6.33332 6.83485 5.81099 6.83485 5.16665C6.83485 4.52232 7.35719 3.99999 8.00152 3.99999C8.64585 3.99999 9.16819 4.52232 9.16819 5.16665Z",fill:"currentColor"}),c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.474 9.54723C11.6872 9.29357 12.0657 9.26079 12.3194 9.47401C12.8745 9.94064 13.3364 10.5332 13.3364 11.3333C13.3364 12.5021 12.6272 13.3584 11.644 13.891C10.6736 14.4165 9.3814 14.6677 7.99997 14.6677C6.6064 14.6677 5.31519 14.38 4.34974 13.8383C3.38499 13.297 2.66666 12.4463 2.66666 11.3333C2.66666 10.5408 3.14155 9.93605 3.67614 9.47777C3.92772 9.2621 4.3065 9.29122 4.52217 9.5428C4.73784 9.79438 4.70873 10.1732 4.45714 10.3888C4.02277 10.7612 3.86666 11.0624 3.86666 11.3333C3.86666 11.8591 4.19498 12.3755 4.93688 12.7918C5.67809 13.2076 6.75353 13.4677 7.99997 13.4677C9.25856 13.4677 10.3346 13.2355 11.0724 12.8358C11.7974 12.4431 12.1364 11.9322 12.1364 11.3333C12.1364 11.0527 11.9899 10.7647 11.5472 10.3926C11.2936 10.1794 11.2608 9.80088 11.474 9.54723Z",fill:"currentColor"})),DN=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M12 2C8.13 2 5 5.13 5 9C5 14.25 12 22 12 22C12 22 19 14.25 19 9C19 5.13 15.87 2 12 2ZM7 9C7 6.24 9.24 4 12 4C14.76 4 17 6.24 17 9C17 11.88 14.12 16.19 12 18.88C9.92 16.21 7 11.85 7 9Z"}),c.createElement("path",{d:"M12 11.5C13.3807 11.5 14.5 10.3807 14.5 9C14.5 7.61929 13.3807 6.5 12 6.5C10.6193 6.5 9.5 7.61929 9.5 9C9.5 10.3807 10.6193 11.5 12 11.5Z"})),_N=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M18 8.5H17V6.5C17 3.74 14.76 1.5 12 1.5C9.24 1.5 7 3.74 7 6.5V8.5H6C4.9 8.5 4 9.4 4 10.5V20.5C4 21.6 4.9 22.5 6 22.5H18C19.1 22.5 20 21.6 20 20.5V10.5C20 9.4 19.1 8.5 18 8.5ZM12 17.5C10.9 17.5 10 16.6 10 15.5C10 14.4 10.9 13.5 12 13.5C13.1 13.5 14 14.4 14 15.5C14 16.6 13.1 17.5 12 17.5ZM9 8.5V6.5C9 4.84 10.34 3.5 12 3.5C13.66 3.5 15 4.84 15 6.5V8.5H9Z",fill:"currentColor"})),VN=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M12 13.5C10.9 13.5 10 14.4 10 15.5C10 16.6 10.9 17.5 12 17.5C13.1 17.5 14 16.6 14 15.5C14 14.4 13.1 13.5 12 13.5ZM18 8.5H17V6.5C17 3.74 14.76 1.5 12 1.5C9.72 1.5 7.73 3.04 7.16 5.25C7.02 5.79 7.34 6.33 7.88 6.47C8.41 6.61 8.96 6.29 9.1 5.75C9.44 4.43 10.63 3.5 12 3.5C13.65 3.5 15 4.85 15 6.5V8.5H6C4.9 8.5 4 9.4 4 10.5V20.5C4 21.6 4.9 22.5 6 22.5H18C19.1 22.5 20 21.6 20 20.5V10.5C20 9.4 19.1 8.5 18 8.5ZM18 19.5C18 20.05 17.55 20.5 17 20.5H7C6.45 20.5 6 20.05 6 19.5V11.5C6 10.95 6.45 10.5 7 10.5H17C17.55 10.5 18 10.95 18 11.5V19.5Z",fill:"currentColor"})),HN=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M17 8L15.59 9.41L17.17 11H9V13H17.17L15.59 14.58L17 16L21 12L17 8ZM5 5H12V3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H12V19H5V5Z"})),AN=e=>c.createElement("svg",{viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"})),FN=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M12 8C9.79 8 8 9.79 8 12C8 14.21 9.79 16 12 16C14.21 16 16 14.21 16 12C16 9.79 14.21 8 12 8ZM20.94 11C20.48 6.83 17.17 3.52 13 3.06V2C13 1.45 12.55 1 12 1C11.45 1 11 1.45 11 2V3.06C6.83 3.52 3.52 6.83 3.06 11H2C1.45 11 1 11.45 1 12C1 12.55 1.45 13 2 13H3.06C3.52 17.17 6.83 20.48 11 20.94V22C11 22.55 11.45 23 12 23C12.55 23 13 22.55 13 22V20.94C17.17 20.48 20.48 17.17 20.94 13H22C22.55 13 23 12.55 23 12C23 11.45 22.55 11 22 11H20.94ZM12 19C8.13 19 5 15.87 5 12C5 8.13 8.13 5 12 5C15.87 5 19 8.13 19 12C19 15.87 15.87 19 12 19Z"})),B9=e=>c.createElement("svg",{width:162,height:163,viewBox:"0 0 162 163",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("ellipse",{opacity:.1,cx:81,cy:157.64,rx:81,ry:4.86,fill:"currentColor"}),c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M98.8769 29.0403C98.6303 29.0445 98.4298 29.1528 98.281 29.35C98.1233 29.5589 98.0321 29.8653 98.0872 30.2026C98.186 30.807 98.8464 31.4472 99.8607 31.5086C103.441 31.7255 107.162 33.1541 110.305 35.2753C113.444 37.3945 116.14 40.295 117.547 43.5878C117.941 44.51 118.728 44.901 119.284 44.81C119.6 44.7585 119.842 44.5865 119.978 44.3884C120.104 44.203 120.137 44.0035 120.07 43.7936C117.329 35.316 107.934 28.8859 98.8769 29.0403ZM94.9043 30.7226C94.5212 28.3773 96.122 25.8617 98.8219 25.8157C109.217 25.6384 119.937 32.8978 123.138 42.8015C123.959 45.3388 122.102 47.6176 119.804 47.9929C117.373 48.3902 115.377 46.7174 114.581 44.8549C113.476 42.2675 111.262 39.8127 108.5 37.9485C105.741 36.0863 102.567 34.9036 99.6657 34.7278C97.5686 34.6009 95.3081 33.1944 94.9043 30.7226ZM82.531 35.2703C64.93 35.2703 50.2411 47.6215 46.8878 64.0038C32.8863 65.3358 21.8626 76.8555 21.8626 91.0475C21.8626 94.4561 22.4989 97.7219 23.662 100.733C21.4996 104.197 20.25 108.289 20.25 112.673C20.25 125.141 30.3575 135.249 42.8258 135.249C55.2941 135.249 65.4016 125.141 65.4016 112.673C65.4016 100.205 55.2941 90.0972 42.8258 90.0972C36.1459 90.0972 30.1437 92.9984 26.0103 97.6094C25.4094 95.5246 25.0877 93.3238 25.0877 91.0475C25.0877 78.221 35.3634 67.7811 48.3262 67.1322C49.0828 67.0943 49.711 66.5349 49.836 65.7878C52.4191 50.3468 66.0545 38.4954 82.531 38.4954C100.859 38.4954 115.708 53.1361 115.708 71.0921V76.7936C115.708 77.6842 116.43 78.4062 117.321 78.4062H119.843C130.158 78.4062 138.525 86.6725 138.525 96.749C138.525 106.826 130.158 115.092 119.843 115.092H105C104.109 115.092 103.387 115.814 103.387 116.704C103.387 117.595 104.109 118.317 105 118.317H119.843C131.887 118.317 141.75 108.658 141.75 96.749C141.75 84.8404 131.887 75.1811 119.843 75.1811H118.934V71.0921C118.934 51.3039 102.588 35.2703 82.531 35.2703ZM23.4751 112.673C23.4751 101.986 32.1387 93.3223 42.8258 93.3223C53.5129 93.3223 62.1765 101.986 62.1765 112.673C62.1765 123.36 53.5129 132.024 42.8258 132.024C32.1387 132.024 23.4751 123.36 23.4751 112.673ZM38.7944 102.191C38.7944 99.9649 40.5993 98.16 42.8258 98.16C45.0523 98.16 46.8572 99.9649 46.8572 102.191V111.867C46.8572 114.093 45.0523 115.898 42.8258 115.898C40.5993 115.898 38.7944 114.093 38.7944 111.867V102.191ZM42.8258 101.385C42.3805 101.385 42.0195 101.746 42.0195 102.191V111.867C42.0195 112.312 42.3805 112.673 42.8258 112.673C43.2711 112.673 43.6321 112.312 43.6321 111.867V102.191C43.6321 101.746 43.2711 101.385 42.8258 101.385ZM42.8258 127.186C40.5993 127.186 38.7944 125.381 38.7944 123.155C38.7944 120.928 40.5993 119.123 42.8258 119.123C45.0523 119.123 46.8572 120.928 46.8572 123.155C46.8572 125.381 45.0523 127.186 42.8258 127.186ZM42.0195 123.155C42.0195 123.6 42.3805 123.961 42.8258 123.961C43.2711 123.961 43.6321 123.6 43.6321 123.155C43.6321 122.709 43.2711 122.348 42.8258 122.348C42.3805 122.348 42.0195 122.709 42.0195 123.155Z",fill:"currentColor"}),c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M94.016 86.5116C96.6994 86.5116 98.2091 89.5975 96.5623 91.7161L84.3514 107.424C83.0602 109.085 80.55 109.085 79.2589 107.424L67.048 91.7161C65.4011 89.5975 66.9109 86.5116 69.5943 86.5116L77.7737 86.5116L77.7737 64.339C77.7737 62.5578 79.2177 61.1139 80.9989 61.1139L82.6114 61.1139C84.3926 61.1139 85.8365 62.5578 85.8365 64.339L85.8365 86.5116L94.016 86.5116Z",fill:"currentColor"})),$N=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{id:"Vector",d:"M20 6.5H16V4.5C16 3.95 15.78 3.45 15.41 3.09C15.05 2.72 14.55 2.5 14 2.5H10C8.9 2.5 8 3.4 8 4.5V6.5H4C2.9 6.5 2 7.4 2 8.5V19.5C2 20.6 2.9 21.5 4 21.5H20C21.1 21.5 22 20.6 22 19.5V8.5C22 7.4 21.1 6.5 20 6.5ZM10 4.5H14V6.5H10V4.5ZM10.5 17.5C10.22 17.22 10.22 16.78 10.5 16.5L13 14L10.5 11.5C10.22 11.22 10.22 10.78 10.5 10.5C10.78 10.22 11.22 10.22 11.5 10.5L14.65 13.65C14.85 13.85 14.85 14.16 14.65 14.36L11.5 17.5C11.22 17.78 10.78 17.78 10.5 17.5Z"})),zN=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M20.5863 20.3986L3.60631 3.41864C3.21631 3.02864 2.58631 3.02864 2.19631 3.41864C1.80631 3.80864 1.80631 4.43864 2.19631 4.82864L3.75631 6.38864C2.50631 8.26864 1.87631 10.5986 2.16631 13.0886C2.69631 17.6286 6.37631 21.3086 10.9063 21.8286C13.3963 22.1186 15.7163 21.4886 17.6063 20.2386L19.1663 21.7986C19.5563 22.1886 20.1863 22.1886 20.5763 21.7986C20.9763 21.4186 20.9763 20.7886 20.5863 20.3986ZM9.97631 15.7986L7.14631 12.9686C6.75631 12.5786 6.75631 11.9486 7.14631 11.5586C7.53631 11.1686 8.16631 11.1686 8.55631 11.5586L10.6763 13.6786L10.8563 13.4986L12.2663 14.9086L11.3863 15.7886C10.9963 16.1886 10.3663 16.1886 9.97631 15.7986ZM13.6863 10.6686L6.58631 3.56864C8.46631 2.31864 10.7963 1.68864 13.2863 1.97864C17.8263 2.50864 21.5063 6.18864 22.0263 10.7186C22.3163 13.2086 21.6863 15.5386 20.4363 17.4186L15.0963 12.0786L17.0363 10.1386C17.4263 9.74864 17.4263 9.11864 17.0363 8.72864C16.6463 8.33864 16.0163 8.33864 15.6263 8.72864L13.6863 10.6686Z"})),ZN=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M9.29624 5.7041C9.29624 6.2641 9.74624 6.7041 10.2962 6.7041H15.8862L4.99624 17.5941C4.60624 17.9841 4.60624 18.6141 4.99624 19.0041C5.38624 19.3941 6.01624 19.3941 6.40624 19.0041L17.2962 8.1141V13.7041C17.2962 14.2541 17.7462 14.7041 18.2962 14.7041C18.8462 14.7041 19.2962 14.2541 19.2962 13.7041V5.7041C19.2962 5.1541 18.8462 4.7041 18.2962 4.7041H10.2962C9.74624 4.7041 9.29624 5.1541 9.29624 5.7041Z",fill:"currentColor"})),BN=e=>c.createElement("svg",{preserveAspectRatio:"none",width:"100%",height:"100%",overflow:"visible",style:{display:"block"},viewBox:"0 0 62.887 52.5001",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("g",{id:"Vector"},c.createElement("path",{d:"M9.61996 0.318788C12.3605 0.188361 15.9917 0.283639 18.7882 0.286414L45.7926 0.284563C47.515 0.285488 49.3319 0.255893 51.0516 0.336369C51.4767 0.411294 52.0349 0.670295 52.3535 0.970923C53.5947 2.14291 53.1614 4.24638 53.2321 5.77819C53.3156 7.60971 52.9906 7.55051 51.4133 7.52646C51.473 9.62808 51.9008 11.3412 49.1649 11.158L49.1759 24.1674C48.7976 24.7973 47.2882 26.6899 46.6373 26.9859C46.3765 26.9442 46.215 26.8203 46.0332 26.6344C45.4658 26.0535 44.4981 25.0295 44.2364 24.2562C43.9288 23.345 44.1134 12.6436 44.1676 11.1913L43.995 11.1969C41.2838 11.2524 41.6841 9.60773 41.7327 7.52461C38.6057 7.47928 35.406 7.51074 32.2753 7.51906C32.3441 11.7075 32.2505 16.0134 32.289 20.2C32.3175 23.4024 28.5569 23.0056 26.4223 22.9639C25.3481 22.9436 24.0775 23.0019 22.9537 22.889L22.9647 26.4558L22.9179 45.0831C24.8496 45.0544 26.7813 45.1053 28.7424 45.0599C30.9578 45.0081 33.0951 45.5058 33.8168 47.9793C33.9765 48.5269 33.9719 49.3659 34.0243 49.9902C34.0766 50.6239 34.1923 52.1427 33.2503 52.226C32.0136 52.2232 30.7677 52.2158 29.5283 52.214L8.67614 52.213C7.46332 52.2149 0.932796 52.3832 0.50771 51.9883C0.233195 51.461 0.309391 51.2686 0.274502 50.7441C0.0596643 47.5038 1.24862 44.9813 4.90362 45.0544C5.68126 45.0701 6.71689 45.0581 7.53768 45.0636C7.422 40.7466 7.5588 31.375 7.49913 27.0515C7.48076 25.7269 7.46424 24.3033 7.53402 22.9824C4.13241 22.692 4.48772 20.4784 4.53363 17.8033C3.77251 17.8015 0.826291 18.2159 1.5718 16.7007C2.18969 16.2151 3.67886 16.3871 4.53087 16.4084L4.54372 13.3466C3.67427 13.3355 2.03636 13.638 1.5672 12.8268C1.5213 11.5586 3.64305 11.9378 4.53087 11.9573C4.50791 9.38758 3.97724 6.26105 7.50003 6.10472C7.55053 3.69692 6.77565 1.24935 9.61996 0.318788ZM29.9827 21.5376C30.3206 21.3405 30.8449 20.9974 30.8752 20.5441C31.1616 16.2447 30.809 11.8305 30.9771 7.52461L14.5658 7.51258C12.1099 7.51628 9.21966 7.42841 6.81604 7.52831C6.29823 7.85114 6.04116 8.09534 5.91997 8.72619C5.74829 9.61883 5.82357 10.5873 5.84193 11.4947C5.90069 14.3105 5.79052 17.1428 5.85203 19.9567C5.86764 20.6958 6.15959 21.396 6.93815 21.5006C7.82321 21.6199 8.91394 21.5736 9.80359 21.5736L14.7173 21.5644L24.3768 21.5681C26.1836 21.5681 28.1878 21.6097 29.9827 21.5376ZM21.5976 45.0849L21.5967 28.7785C21.5967 26.9729 21.5297 24.7085 21.6096 22.9491L8.86619 22.901C8.8873 28.4844 8.99105 39.5275 8.8772 45.084C13.117 45.0609 17.3569 45.0609 21.5976 45.0849ZM8.87354 2.55917C8.85701 3.7515 8.8515 4.94476 8.85701 6.13709C13.4549 6.10194 18.0528 6.09455 22.6498 6.11582L50.7027 6.12414L51.8577 6.1223C51.8825 5.08629 52.1056 2.60171 51.4216 1.98473C50.867 1.48245 46.954 1.66098 46.1626 1.6619L38.692 1.66746C29.1307 1.71186 19.5705 1.6989 10.0102 1.6286C9.32433 1.82563 9.27292 1.94404 8.87354 2.55917ZM47.7895 18.0595C47.784 17.684 47.8262 16.5333 47.6729 16.3002C46.8806 16.833 46.2599 17.2936 45.508 17.8718C45.5053 18.1807 45.4437 19.5701 45.5861 19.7264C46.304 19.1492 47.0385 18.5933 47.7895 18.0595ZM47.7849 14.5584C47.784 14.1948 47.8253 13.1311 47.6977 12.8749L47.6096 12.8582C47.033 13.2865 46.1296 13.9895 45.5245 14.3512C45.5117 14.8137 45.4639 15.7045 45.5282 16.1189L45.6448 16.1392L47.7849 14.5584ZM45.5007 11.196L45.5126 12.7491L46.7263 11.8278L47.5811 11.2071L45.5007 11.196ZM30.686 50.8172L32.648 50.8329C32.6627 48.8358 32.7013 46.799 30.1388 46.5289C29.0509 46.4141 27.9638 46.4604 26.8713 46.4604L21.3681 46.4623C15.662 46.4641 9.8247 46.3966 4.13057 46.4761C4.02866 46.478 3.92675 46.4817 3.82484 46.4882C1.57271 47.1079 1.68197 48.9172 1.67095 50.8348C11.2845 50.7201 21.0578 50.8311 30.686 50.8172ZM43.0879 7.51536L43.1026 9.72521C45.4254 9.73446 47.7711 9.75851 50.0921 9.74094L50.1087 7.52739C47.8777 7.51814 45.2849 7.58104 43.0879 7.51536ZM47.7592 23.3238C47.1661 23.7113 46.6097 23.9824 46.2131 24.5494C46.2407 24.8584 46.2746 24.8001 46.5207 25.0915C46.943 25.0711 47.8272 23.8658 47.8373 23.4135L47.7592 23.3238ZM47.7427 19.7153C46.9347 20.3203 46.2719 20.8392 45.4961 21.4922C45.497 21.8502 45.4777 23.0213 45.542 23.3016C46.2811 22.7382 47.0247 22.1564 47.7932 21.6365C47.7914 21.1861 47.8125 20.1038 47.7427 19.7153Z"}),c.createElement("path",{d:"M9.60772 0.0686513C12.3562 -0.0621534 16.0026 0.0336587 18.7884 0.0364247L45.7923 0.0344716C47.2942 0.0352782 48.8811 0.0123481 50.4114 0.0608388L51.0628 0.0862294L51.0794 0.087206L51.095 0.0901357C51.562 0.17245 52.1663 0.451163 52.5247 0.789354C53.2145 1.44066 53.4237 2.33841 53.4808 3.22392C53.5094 3.66834 53.5008 4.1217 53.4896 4.55205C53.4782 4.98697 53.4646 5.39517 53.4817 5.76689C53.5027 6.22679 53.4997 6.58939 53.4515 6.86943C53.4025 7.15334 53.3012 7.38566 53.0999 7.54424C52.9063 7.69679 52.6585 7.74906 52.3939 7.76982C52.1908 7.78573 51.9492 7.78374 51.6741 7.77959C51.6915 8.20126 51.7173 8.63283 51.722 9.00322C51.7278 9.46219 51.7026 9.90333 51.5745 10.2796C51.4423 10.6676 51.1999 10.987 50.7884 11.1878C50.4407 11.3574 49.9896 11.4333 49.4144 11.4192L49.4261 24.2366L49.3899 24.2962C49.1901 24.6289 48.708 25.2716 48.1985 25.8645C47.9425 26.1626 47.6748 26.4533 47.428 26.6897C47.1883 26.9194 46.9454 27.12 46.7405 27.2132L46.6722 27.2444L46.598 27.2327C46.2604 27.1788 46.0526 27.0112 45.8548 26.8089C45.5701 26.5174 45.1795 26.1096 44.8265 25.6751C44.5217 25.3 44.229 24.8868 44.0628 24.5003L43.9993 24.3362C43.9711 24.2527 43.9515 24.1349 43.9358 24.0052C43.9195 23.87 43.9061 23.7025 43.8939 23.5091C43.8693 23.1214 43.8508 22.6187 43.8382 22.0403C43.813 20.883 43.8095 19.4113 43.8167 17.9251C43.8298 15.2322 43.8799 12.4821 43.9095 11.4466C43.2556 11.4512 42.7534 11.3586 42.3753 11.1614C41.9696 10.9498 41.7279 10.6304 41.5931 10.2454C41.462 9.87125 41.4328 9.43651 41.4349 8.98369C41.4365 8.61508 41.4581 8.19104 41.473 7.77178C38.5144 7.73284 35.4952 7.75888 32.5286 7.76787C32.5897 11.8703 32.5018 16.1144 32.5394 20.1976C32.5469 21.0506 32.3005 21.6917 31.8685 22.1585C31.4414 22.6197 30.8553 22.8868 30.2269 23.0413C28.9822 23.3473 27.4599 23.2345 26.4173 23.2142C25.4515 23.1959 24.2711 23.2407 23.2034 23.1595L23.2151 26.4554L23.1683 44.8313C24.0521 44.8213 24.9359 44.8243 25.8196 44.8274C26.7892 44.8309 27.7598 44.8324 28.7366 44.8099C29.8595 44.7836 30.9934 44.8953 31.9466 45.347C32.9122 45.8045 33.676 46.6038 34.0569 47.9095C34.1448 48.2106 34.1848 48.58 34.2103 48.9378C34.2371 49.3154 34.2471 49.6511 34.2737 49.969C34.2996 50.2822 34.3448 50.8522 34.2562 51.3577C34.2118 51.6109 34.1299 51.8716 33.9769 52.0794C33.8173 52.2958 33.5851 52.4472 33.2728 52.4749L33.261 52.4759H33.2493C32.0103 52.4731 30.7681 52.466 29.5276 52.4642L8.67608 52.4632C8.08484 52.4641 6.12554 52.5063 4.29522 52.4993C3.37556 52.4958 2.47633 52.4799 1.77862 52.4397C1.4304 52.4197 1.12662 52.3936 0.893857 52.3587C0.777936 52.3413 0.673393 52.3209 0.587216 52.2962C0.512359 52.2748 0.410605 52.2394 0.337216 52.1712L0.305966 52.1419L0.286435 52.1038C-0.0196347 51.516 0.0567062 51.2424 0.024716 50.761C-0.0844943 49.1139 0.15933 47.6053 0.933896 46.512C1.71914 45.4038 3.01746 44.7672 4.9085 44.805C5.60684 44.8191 6.5055 44.8106 7.28253 44.8128C7.1787 40.3947 7.30755 31.2732 7.24932 27.055C7.23206 25.8094 7.21793 24.4681 7.27472 23.2054C6.51662 23.1165 5.93152 22.9266 5.48663 22.636C4.9911 22.3123 4.68638 21.8778 4.50518 21.3714C4.32645 20.8718 4.26879 20.3036 4.25518 19.7063C4.24347 19.1914 4.2633 18.6308 4.27667 18.0628C4.10829 18.0713 3.89789 18.0833 3.6546 18.0931C3.28014 18.1081 2.84832 18.1129 2.45929 18.0677C2.0842 18.024 1.68778 17.9276 1.44073 17.6927C1.30841 17.5668 1.22048 17.4031 1.2044 17.2034C1.18894 17.0103 1.24252 16.8044 1.34796 16.5901L1.37237 16.5394L1.41729 16.5042C1.61347 16.35 1.86379 16.2583 2.12237 16.2024C2.38302 16.1461 2.67055 16.1223 2.95636 16.1145C3.41025 16.1023 3.89828 16.1296 4.28155 16.1468L4.29132 13.6019C4.14033 13.6072 3.97245 13.6152 3.79034 13.6243C3.50656 13.6385 3.19525 13.6502 2.89386 13.636C2.594 13.6219 2.28906 13.5821 2.02179 13.4837C1.75193 13.3843 1.50572 13.2199 1.35089 12.9524L1.31964 12.8978L1.31768 12.8362C1.30315 12.4348 1.46714 12.139 1.74444 11.9476C2.0033 11.7689 2.34298 11.6925 2.67511 11.6604C3.01251 11.6279 3.37533 11.6389 3.70147 11.6575C3.91556 11.6698 4.10707 11.6801 4.27374 11.6907C4.26902 11.4583 4.26424 11.2216 4.25714 10.9817C4.24731 10.65 4.23851 10.3127 4.23956 9.97978C4.24165 9.31623 4.28365 8.6538 4.44464 8.06084C4.60662 7.46437 4.89282 6.92601 5.39093 6.52861C5.84435 6.16687 6.45177 5.93978 7.2503 5.87139C7.25074 5.35548 7.22114 4.84052 7.20245 4.32451C7.1813 3.74039 7.17757 3.15832 7.26593 2.61748C7.35485 2.0732 7.53862 1.55896 7.90265 1.11748C8.26711 0.675481 8.79641 0.325376 9.54229 0.0813466L9.57452 0.0706044L9.60772 0.0686513ZM18.7884 0.536425C15.9925 0.53365 12.3939 0.439008 9.66534 0.566698C9.00727 0.787013 8.57551 1.08762 8.28839 1.43584C7.99626 1.79018 7.83829 2.21372 7.75909 2.69853C7.67939 3.18668 7.68141 3.72612 7.70245 4.30693C7.72321 4.87992 7.7631 5.49837 7.7503 6.10967L7.74542 6.34404L7.51104 6.35478C6.6672 6.39224 6.09543 6.60572 5.70245 6.91924C5.31006 7.23232 5.06987 7.66583 4.92706 8.1917C4.78335 8.72096 4.7416 9.33168 4.73956 9.98174C4.73855 10.3056 4.74731 10.6355 4.75714 10.9671C4.76693 11.2975 4.77768 11.6309 4.78058 11.9554L4.7835 12.2132L4.52569 12.2073C4.29902 12.2024 3.98087 12.1742 3.67218 12.1565C3.3524 12.1383 3.02106 12.1298 2.72296 12.1585C2.41952 12.1877 2.18142 12.2525 2.02765 12.3587C1.90668 12.4423 1.82623 12.5576 1.81671 12.7474C1.89859 12.8616 2.02162 12.9502 2.19464 13.014C2.39347 13.0872 2.64057 13.124 2.91729 13.137C3.19244 13.15 3.4827 13.1394 3.76495 13.1253C4.04162 13.1115 4.31959 13.0941 4.54718 13.097L4.79522 13.0999L4.79327 13.3479L4.7796 16.6644L4.52472 16.6585C4.07609 16.6473 3.51944 16.5997 2.97003 16.6145C2.70014 16.6219 2.44656 16.6444 2.22784 16.6917C2.03362 16.7337 1.88159 16.7937 1.77081 16.8675C1.71199 17.0021 1.69819 17.0979 1.70343 17.1634C1.70887 17.2306 1.73491 17.2823 1.78546 17.3304C1.90494 17.444 2.15348 17.5292 2.5169 17.5716C2.86607 17.6122 3.26667 17.6088 3.63507 17.594C3.98887 17.5798 4.33863 17.5526 4.53448 17.553L4.78839 17.554L4.7835 17.8079C4.77183 18.4878 4.74097 19.1128 4.75421 19.6946C4.76738 20.2737 4.82503 20.7791 4.97686 21.2034C5.12623 21.6206 5.3676 21.9606 5.76007 22.2171C6.15824 22.4771 6.7296 22.6632 7.55499 22.7337L7.7962 22.7542L7.7835 22.9954C7.71424 24.3067 7.73095 25.7224 7.74932 27.0481C7.8093 31.3931 7.67158 40.7343 7.78741 45.0569L7.79425 45.3157L7.53643 45.3138C6.72435 45.3083 5.67721 45.3197 4.89874 45.304C3.13511 45.2687 2.0114 45.8565 1.3421 46.8011C0.662144 47.7608 0.418112 49.1347 0.523739 50.7278C0.559587 51.2671 0.494504 51.3939 0.696591 51.806C0.704359 51.8086 0.713526 51.8125 0.724911 51.8157C0.781663 51.832 0.862419 51.8487 0.968075 51.8646C1.1785 51.8961 1.46435 51.921 1.80694 51.9407C2.49098 51.9801 3.37977 51.9958 4.29718 51.9993C6.14114 52.0064 8.05397 51.9641 8.67608 51.9632L29.5286 51.9642L33.2327 51.9749C33.3883 51.96 33.4934 51.8925 33.5745 51.7825C33.663 51.6624 33.7261 51.4877 33.764 51.2718C33.8209 50.9472 33.8136 50.5806 33.7952 50.2825L33.7747 50.011C33.7491 49.7047 33.7351 49.3086 33.7112 48.9739C33.686 48.6194 33.6483 48.2954 33.5765 48.0491C33.2357 46.8815 32.5699 46.1948 31.7327 45.7981C30.8831 45.3956 29.8407 45.2843 28.7483 45.3099C27.7643 45.3326 26.788 45.3309 25.8187 45.3274C24.8482 45.324 23.8842 45.319 22.9212 45.3333L22.6673 45.3372L22.6683 45.0823L22.7151 26.4563L22.7024 22.6126L22.9788 22.6399C24.0901 22.7515 25.3281 22.6933 26.4271 22.7142L27.2991 22.7386C28.2152 22.764 29.2351 22.7702 30.1067 22.556C30.6816 22.4146 31.1646 22.1823 31.5013 21.8187C31.8327 21.4605 32.046 20.9501 32.0394 20.2024C32.0006 15.9964 32.0947 11.7189 32.0257 7.52275L32.0208 7.26982L32.2747 7.26885C35.403 7.26053 38.6067 7.22934 41.7366 7.27471L41.9886 7.27861L41.9827 7.53057C41.97 8.07327 41.9369 8.53726 41.9349 8.98662C41.9329 9.42613 41.9631 9.79 42.0648 10.0804C42.1627 10.3599 42.3266 10.5719 42.6067 10.7181C42.8972 10.8695 43.3328 10.96 43.9896 10.9466L44.1595 10.9417L44.4271 10.9329L44.4173 11.2005C44.3904 11.9226 44.3312 14.9582 44.3167 17.928C44.3095 19.4126 44.3132 20.8788 44.3382 22.0296C44.3507 22.6051 44.3689 23.0994 44.3929 23.4769C44.4049 23.6658 44.4182 23.8234 44.4329 23.9456C44.4483 24.0729 44.4627 24.1456 44.473 24.1761C44.5886 24.5178 44.8715 24.9379 45.2142 25.3597C45.5521 25.7756 45.9295 26.1699 46.2122 26.4593C46.3539 26.6042 46.4595 26.6806 46.6019 26.719C46.7209 26.6476 46.8858 26.5167 47.0823 26.3284C47.3134 26.1071 47.5698 25.8302 47.8196 25.5394C48.2932 24.9882 48.727 24.4049 48.9251 24.0911L48.9144 10.8909L49.1819 10.9085C49.8454 10.9529 50.2819 10.879 50.5696 10.7386C50.8452 10.604 51.0055 10.3983 51.1009 10.1185C51.2003 9.82671 51.2277 9.45653 51.222 9.00908C51.2161 8.54979 51.179 8.08363 51.1634 7.53349L51.1556 7.27275L51.4173 7.27666C51.8188 7.28278 52.1188 7.29026 52.3548 7.27178C52.5918 7.25318 52.716 7.21014 52.7903 7.15166C52.857 7.09914 52.9205 7.00446 52.9583 6.78545C52.9968 6.5623 53.0035 6.24492 52.9827 5.78935C52.9646 5.39535 52.9784 4.96607 52.9896 4.53935C53.0009 4.10816 53.0097 3.67529 52.9827 3.25615C52.9285 2.41399 52.7334 1.67331 52.1819 1.15264C51.9065 0.892732 51.4034 0.655992 51.0218 0.585253C49.3152 0.506185 47.5146 0.535397 45.7923 0.534472L18.7884 0.536425ZM21.3685 46.2122L26.8714 46.2103C27.9497 46.2103 29.0601 46.164 30.1653 46.2806C30.8381 46.3515 31.3609 46.5405 31.761 46.8323C32.1627 47.1254 32.4246 47.5102 32.5931 47.9427C32.923 48.7895 32.905 49.8531 32.8978 50.8353L32.8958 51.0853L30.6839 51.0677C21.0517 51.0815 11.2855 50.9706 1.67413 51.0853L1.41925 51.0882L1.4212 50.8333C1.42659 49.8949 1.39893 48.9128 1.67022 48.096C1.80871 47.6791 2.0271 47.297 2.36944 46.9769C2.71112 46.6574 3.16441 46.4108 3.75811 46.2474L3.7835 46.2405L3.8089 46.2386C3.91528 46.2318 4.02138 46.2278 4.12628 46.2259C9.82245 46.1463 15.6667 46.2141 21.3685 46.2122ZM21.3685 46.7122C15.6582 46.7141 9.8261 46.6454 4.13409 46.7249L4.13507 46.7259C4.04422 46.7275 3.95413 46.7313 3.86456 46.7366C3.34647 46.8828 2.97721 47.0925 2.71026 47.3421C2.4396 47.5953 2.26189 47.901 2.14483 48.2532C1.9259 48.9124 1.92497 49.7046 1.92218 50.5823C10.2531 50.4864 18.7053 50.5574 27.0706 50.5677H30.6878L32.3978 50.5804C32.403 49.6599 32.391 48.8015 32.1273 48.1243C31.987 47.7644 31.7782 47.4638 31.4671 47.2366C31.1543 47.0084 30.7207 46.8417 30.1126 46.7776C29.042 46.6648 27.9781 46.7103 26.8714 46.7103L21.3685 46.7122ZM21.347 28.7786C21.347 27.072 21.2867 24.9238 21.3499 23.1976L9.11749 23.1507C9.14026 28.7175 9.23436 39.2791 9.13019 44.8323C13.2021 44.811 17.2741 44.8111 21.347 44.8333V28.7786ZM48.0257 23.2493L48.0892 23.3226L48.0872 23.4192C48.0833 23.5925 48.003 23.7957 47.9095 23.9778C47.8108 24.1698 47.6774 24.3759 47.5325 24.5657C47.388 24.7551 47.2258 24.9362 47.0667 25.0735C46.9872 25.1422 46.9038 25.2046 46.8196 25.2513C46.738 25.2965 46.6388 25.336 46.5325 25.3411L46.4095 25.347L46.3294 25.2532C46.2727 25.1861 46.2283 25.1385 46.1907 25.0989C46.1567 25.0631 46.1142 25.0189 46.0804 24.971C45.9962 24.8515 45.9782 24.7287 45.9642 24.5716L45.9564 24.4808L46.0081 24.4065C46.4408 23.7879 47.0621 23.4807 47.6224 23.1145L47.805 22.9954L48.0257 23.2493ZM47.4105 23.8411C47.0375 24.0759 46.7272 24.2895 46.4749 24.6194C46.4839 24.6799 46.4896 24.6829 46.4896 24.6829C46.4983 24.6952 46.512 24.7108 46.554 24.7552C46.5666 24.7685 46.5796 24.7845 46.595 24.8011C46.6362 24.7762 46.6852 24.7415 46.7396 24.6946C46.8652 24.5862 47.0046 24.4339 47.1351 24.263C47.2406 24.1247 47.3335 23.9774 47.4105 23.8411ZM47.9886 19.6712C48.0279 19.8902 48.0396 20.2806 48.0433 20.6507V21.7688L47.9329 21.844C47.1722 22.3587 46.4363 22.9343 45.6937 23.5003L45.3851 23.7356L45.2982 23.3577C45.2764 23.2627 45.2652 23.1146 45.2581 22.9622C45.2507 22.8029 45.2471 22.6154 45.2454 22.428C45.2421 22.0568 45.2468 21.6636 45.2464 21.4925L45.2454 21.3763L45.3353 21.3011C46.1154 20.6444 46.7823 20.1221 47.5931 19.5149L47.9173 19.2728L47.9886 19.6712ZM47.5306 20.1888C46.9116 20.6583 46.3619 21.0931 45.7454 21.6097C45.7446 21.8125 45.7427 22.1177 45.7454 22.4241C45.7467 22.564 45.7501 22.701 45.7542 22.8245C46.338 22.3777 46.9336 21.9244 47.5433 21.5062C47.5438 21.2764 47.5463 20.9689 47.5433 20.6556C47.5416 20.4894 47.5363 20.3297 47.5306 20.1888ZM6.80597 7.27861C9.21562 7.17848 12.1227 7.26667 14.5657 7.26299L31.2366 7.27471L31.2269 7.53447C31.1432 9.67912 31.1887 11.8514 31.22 14.0335C31.2514 16.2125 31.2683 18.4 31.1243 20.5608C31.103 20.8799 30.9114 21.1343 30.7161 21.3187C30.5174 21.5061 30.281 21.6527 30.1087 21.7532L30.055 21.7845L29.9925 21.7874C28.191 21.8598 26.1753 21.8177 24.3763 21.8177L14.7171 21.8147L9.80401 21.8235C8.93233 21.8235 7.81171 21.8706 6.9046 21.7483C6.4362 21.6854 6.10466 21.4379 5.89581 21.0979C5.74339 20.8497 5.65954 20.5576 5.62335 20.2601L5.60186 19.9622C5.57101 18.5508 5.5835 17.1351 5.596 15.7239C5.60852 14.3117 5.62138 12.9036 5.5921 11.5003C5.57418 10.6147 5.49594 9.60547 5.67413 8.679C5.7401 8.33561 5.84778 8.07589 6.02374 7.85576C6.19565 7.64077 6.42038 7.48099 6.6839 7.3167L6.73956 7.28154L6.80597 7.27861ZM14.5657 7.76299C12.1199 7.76666 9.27676 7.68036 6.89288 7.77568C6.67003 7.91777 6.522 8.03365 6.41436 8.16826C6.30225 8.30857 6.2205 8.48658 6.16534 8.77373C6.00025 9.63238 6.07329 10.5604 6.0921 11.4895C6.12157 12.9018 6.10851 14.3177 6.096 15.7288C6.08349 17.1412 6.07121 18.549 6.10186 19.9515L6.11944 20.2015C6.14921 20.4446 6.21555 20.6636 6.32159 20.8362C6.45718 21.057 6.66137 21.2116 6.971 21.2532C7.83375 21.3695 8.89571 21.3236 9.80304 21.3235L14.7171 21.3147L24.3773 21.3177C26.1698 21.3177 28.1361 21.3577 29.9075 21.2894C30.0607 21.1979 30.233 21.0868 30.3724 20.9554C30.5311 20.8056 30.6163 20.6616 30.6253 20.5276C30.7678 18.3891 30.7523 16.2197 30.721 14.0403C30.691 11.9509 30.6469 9.85071 30.7181 7.77373L14.5657 7.76299ZM47.8821 16.1624C47.9246 16.227 47.9484 16.3039 47.9642 16.3675C47.981 16.4355 47.9937 16.5123 48.0032 16.5911C48.0223 16.7491 48.0317 16.9358 48.0364 17.1204C48.0455 17.4743 48.037 17.8946 48.0394 18.056L48.0413 18.1868L47.9339 18.263C47.187 18.7938 46.4566 19.3471 45.7425 19.9212L45.5599 20.0687L45.4007 19.8948C45.3626 19.8529 45.3409 19.8065 45.3284 19.7747C45.3149 19.7401 45.3058 19.7034 45.2982 19.6692C45.2829 19.6007 45.2715 19.5201 45.264 19.4368C45.2488 19.2691 45.2435 19.0626 45.2425 18.8577C45.2404 18.4541 45.2569 18.0084 45.2581 17.8694L45.2591 17.7474L45.3558 17.6731C46.1098 17.0934 46.7353 16.6298 47.5335 16.0931L47.7435 15.9515L47.8821 16.1624ZM47.512 16.7132C46.895 17.1372 46.3664 17.5284 45.7562 17.9964C45.7514 18.1993 45.7408 18.5258 45.7425 18.8548C45.7432 19.0046 45.7481 19.1486 45.7552 19.2728C46.3392 18.8116 46.9338 18.3639 47.5394 17.931C47.5398 17.7205 47.5442 17.437 47.5364 17.1331C47.5325 16.9808 47.5241 16.8361 47.512 16.7132ZM47.6556 12.6126L47.7444 12.6292L47.8665 12.6526L47.9212 12.763C47.976 12.873 48.0001 13.0311 48.014 13.1702C48.029 13.3216 48.0355 13.4978 48.0384 13.6722C48.0441 14.0134 48.0341 14.3922 48.0345 14.5579L48.0355 14.6839L47.9339 14.7591L45.7073 16.4036L45.6019 16.3851L45.4857 16.3655L45.3089 16.3343L45.2816 16.1575C45.2457 15.9263 45.2419 15.5795 45.2474 15.2493C45.2529 14.9163 45.2685 14.5681 45.2747 14.344L45.2786 14.2073L45.3958 14.137C45.9865 13.7839 46.873 13.0938 47.4603 12.6575L47.5482 12.5921L47.6556 12.6126ZM47.5169 13.2395C46.9945 13.6323 46.297 14.1606 45.7698 14.4915C45.7624 14.7121 45.7519 14.9837 45.7474 15.2571C45.7444 15.4341 45.7444 15.6032 45.7493 15.7503L47.5345 14.4319C47.5366 14.2333 47.543 13.9606 47.5384 13.681C47.5357 13.5204 47.5287 13.3672 47.5169 13.2395ZM45.5023 10.9456L48.345 10.9612L46.8733 12.0306L46.8724 12.0296L45.2669 13.2503L45.2483 10.9446L45.5023 10.9456ZM45.7581 12.2483L46.5755 11.6282L46.5794 11.6253L46.8167 11.4524L45.7523 11.4466L45.7581 12.2483ZM43.095 7.26592C45.2889 7.3315 47.8669 7.26834 50.1097 7.27764L50.3607 7.27861L50.3401 9.98955L50.0941 9.99053C47.7712 10.0081 45.4225 9.98414 43.1019 9.9749L42.8538 9.97392L42.8528 9.72685L42.8362 7.2581L43.095 7.26592ZM43.3509 9.47588C45.512 9.48539 47.6871 9.50416 49.8431 9.49053L49.8567 7.77764C47.7811 7.77386 45.3995 7.82258 43.3392 7.7708L43.3509 9.47588ZM10.012 1.37822C19.5713 1.44851 29.1305 1.46168 38.6907 1.41728L46.1624 1.4124L47.2357 1.39189C47.7264 1.38289 48.3134 1.37606 48.8851 1.38506C49.461 1.39412 50.0365 1.4186 50.5062 1.47392C50.7406 1.50155 50.9553 1.53776 51.1331 1.58525C51.3015 1.63025 51.4732 1.69423 51.5892 1.79912L51.6712 1.8831C51.8514 2.09164 51.9578 2.38702 52.0257 2.6917C52.1054 3.04939 52.142 3.46758 52.1556 3.88799C52.1825 4.72427 52.1197 5.6279 52.1077 6.12822L52.1019 6.37236H51.8577L50.7034 6.37432L22.6497 6.36553C18.0538 6.34426 13.4556 6.35187 8.8587 6.38701L8.60772 6.38896L8.60675 6.13799C8.60123 4.94428 8.60681 3.74966 8.62335 2.55596L8.62433 2.48369L8.66339 2.42314C8.85266 2.13162 8.98832 1.90907 9.16925 1.74932C9.36202 1.57926 9.59269 1.48799 9.94073 1.38799L9.97589 1.37822H10.012ZM10.0472 1.87822C9.73328 1.9701 9.60102 2.0355 9.5003 2.12432C9.3917 2.22021 9.3051 2.3533 9.12237 2.63506C9.10777 3.71812 9.10315 4.80192 9.10675 5.88506C13.6217 5.85154 18.1366 5.84464 22.6507 5.86553L50.7024 5.87432L51.6165 5.87236C51.6369 5.34046 51.6782 4.60856 51.6556 3.90459C51.6425 3.49744 51.6074 3.11401 51.5374 2.8001C51.4834 2.55781 51.4137 2.38132 51.3353 2.26592L51.2542 2.17021C51.2316 2.1497 51.1589 2.10999 51.0042 2.06865C50.8588 2.0298 50.6702 1.99724 50.4476 1.971C50.0031 1.91863 49.4474 1.89403 48.8773 1.88506C47.7281 1.86698 46.5798 1.91188 46.1634 1.9124L38.6917 1.91631L38.6927 1.91728C29.1436 1.96163 19.5954 1.94828 10.0472 1.87822ZM21.848 45.3362L21.596 45.3353C17.3563 45.3112 13.1171 45.3112 8.87823 45.3343L8.62237 45.3353L8.62726 45.0794C8.74102 39.5269 8.63764 28.4888 8.61651 22.9017L8.61554 22.6497L21.8714 22.7005L21.8597 22.9603C21.7801 24.7124 21.847 26.9606 21.847 28.7786L21.848 45.3362Z"}),c.createElement("path",{d:"M11.5935 11.336C12.9279 11.2759 21.4102 11.0954 22.0418 11.5541C22.449 12.6017 22.1232 14.9229 22.1845 16.1302C22.2221 16.8546 22.406 18.7073 21.8953 19.1615C20.614 19.2872 12.441 19.3042 11.61 19.0475C11.275 18.7351 11.2027 17.8734 11.2768 17.4623C11.5056 16.1984 10.9226 12.2633 11.5935 11.336ZM12.6021 17.8734C15.3487 17.8492 18.1118 17.8797 20.8538 17.8276C20.8373 16.1042 20.851 14.3816 20.8959 12.6591L15.6425 12.6474C14.8773 12.6465 13.3461 12.6726 12.624 12.5837C12.6332 14.0423 12.7146 16.4929 12.6021 17.8734Z"}),c.createElement("path",{d:"M17.0814 11.0003C18.2658 11.0026 19.4321 11.0217 20.3431 11.0686C20.7981 11.0921 21.1947 11.1223 21.4993 11.1624C21.6512 11.1824 21.7853 11.2058 21.8948 11.2327C21.9701 11.2512 22.0517 11.2757 22.1224 11.3118L22.1888 11.3518L22.2484 11.3948L22.2747 11.4632C22.39 11.7595 22.4485 12.1309 22.4769 12.5237C22.5054 12.9195 22.504 13.3554 22.4925 13.7893C22.469 14.6728 22.4039 15.5261 22.4339 16.1174L22.4769 16.8323C22.4916 17.1195 22.5021 17.4408 22.4954 17.7522C22.4887 18.0644 22.4644 18.3794 22.4056 18.6507C22.3489 18.912 22.2508 19.1796 22.0618 19.3479L22.0003 19.4026L21.9193 19.4104C21.2622 19.4748 18.8846 19.5104 16.5823 19.4983C15.4274 19.4922 14.2849 19.4734 13.3782 19.4407C12.9252 19.4244 12.5285 19.4044 12.2181 19.3801C11.9188 19.3568 11.6717 19.3281 11.5364 19.2864L11.4818 19.2698L11.4398 19.2307C11.2083 19.0149 11.0957 18.6492 11.0433 18.3333C10.989 18.0057 10.9875 17.6577 11.0306 17.4182C11.0826 17.1307 11.0905 16.6717 11.0784 16.1077C11.0663 15.5411 11.0368 14.9221 11.0198 14.2796C11.0032 13.6493 10.9998 13.0191 11.0443 12.4856C11.0665 12.2188 11.1007 11.9701 11.1536 11.7542C11.2058 11.5411 11.2801 11.343 11.3909 11.1897L11.4612 11.0921L11.5823 11.0862C12.2546 11.0559 14.7125 10.9956 17.0814 11.0003ZM17.0804 11.5003C14.8557 11.4958 12.5545 11.5502 11.7396 11.5813C11.7038 11.6556 11.6687 11.752 11.639 11.8733C11.5945 12.0548 11.5633 12.2756 11.5423 12.5276C11.5003 13.0321 11.5023 13.6387 11.5189 14.2659C11.5351 14.8811 11.5666 15.5412 11.5784 16.0969C11.5904 16.6552 11.5851 17.1628 11.5228 17.5071C11.4919 17.6788 11.4894 17.9675 11.5364 18.2512C11.5788 18.5069 11.6534 18.7068 11.7396 18.8186C11.8347 18.8378 12.006 18.8625 12.2571 18.8821C12.5577 18.9056 12.9468 18.9255 13.3968 18.9417C14.2963 18.9741 15.4331 18.9923 16.5853 18.9983C18.7936 19.0099 21.0357 18.9746 21.7767 18.9182C21.8274 18.8447 21.8784 18.7245 21.9173 18.5452C21.9664 18.3188 21.989 18.0396 21.9954 17.7415C22.0019 17.4425 21.9912 17.1366 21.9769 16.8587L21.9349 16.1428C21.9036 15.5269 21.9702 14.6163 21.9925 13.7757C22.0039 13.3475 22.0047 12.9305 21.9778 12.5589C21.9543 12.2324 21.9075 11.9543 21.8382 11.7376C21.8216 11.7324 21.8014 11.7244 21.7757 11.718C21.6911 11.6973 21.5767 11.6773 21.4339 11.6585C21.1486 11.6209 20.7676 11.5908 20.3177 11.5676C19.419 11.5213 18.2622 11.5026 17.0804 11.5003ZM12.6546 12.3352C13.3568 12.4216 14.8621 12.3968 15.6429 12.3977L20.8968 12.4094H21.1527L21.1458 12.6653C21.101 14.3848 21.0874 16.1049 21.1038 17.8255L21.1058 18.0725L20.8587 18.0774C18.1168 18.1295 15.342 18.0991 12.6038 18.1233L12.3304 18.1262L12.3528 17.8528C12.4642 16.4868 12.3836 14.0593 12.3743 12.5852L12.3724 12.301L12.6546 12.3352ZM12.8773 12.8577C12.8921 14.2264 12.9458 16.2878 12.8665 17.6214C15.4498 17.6017 18.03 17.6246 20.6019 17.5803C20.5896 16.0226 20.6022 14.4655 20.64 12.9085L15.6419 12.8977C14.9779 12.8969 13.6806 12.9164 12.8773 12.8577Z"}),c.createElement("path",{d:"M15.7985 24.2743C16.4975 24.2684 17.4037 24.186 18.0152 24.4807C18.3662 25.1665 18.2858 31.168 18.0253 32.0613C17.5898 32.359 13.7347 32.2171 12.9995 32.2121C12.5499 32.2141 10.4418 32.361 10.4147 31.8439C10.3352 30.2857 10.0305 25.7571 10.5323 24.4639C11.2424 24.1433 14.7485 24.2803 15.7985 24.2743ZM11.7252 30.7502C13.4299 30.6867 15.0442 30.7214 16.7329 30.6946C16.7731 29.063 16.7228 27.4135 16.766 25.7998C15.6155 25.7878 12.6977 25.8543 11.7312 25.7481C11.7423 27.4036 11.7714 29.0987 11.7252 30.7502Z"}),c.createElement("path",{d:"M13.0364 24.0012C13.5873 23.9979 14.1483 24.0039 14.636 24.0109C15.1253 24.018 15.5369 24.0261 15.7962 24.0246C16.1287 24.0218 16.5521 23.9991 16.9495 24.0148C17.3499 24.0307 17.7708 24.0853 18.1233 24.2551L18.1995 24.2922L18.2376 24.3664C18.3038 24.4957 18.345 24.7067 18.3753 24.9338C18.4073 25.1741 18.4324 25.4752 18.4515 25.8146C18.4896 26.4945 18.5037 27.3427 18.4993 28.1945C18.4949 29.0467 18.4719 29.9066 18.4329 30.6105C18.4134 30.9622 18.3896 31.277 18.3626 31.5334C18.3361 31.7844 18.3044 31.9957 18.2649 32.1311L18.2405 32.217L18.1663 32.2678C18.107 32.3083 18.0365 32.3337 17.9749 32.3518C17.9097 32.3708 17.8351 32.3864 17.7552 32.3996C17.595 32.4261 17.3967 32.4457 17.1761 32.4602C16.7339 32.4892 16.1819 32.4996 15.6253 32.5002C14.5218 32.5013 13.3493 32.4645 12.9983 32.4621C12.794 32.4633 12.1273 32.4997 11.5364 32.4719C11.2386 32.4578 10.9352 32.4274 10.6985 32.3605C10.5812 32.3274 10.4616 32.2806 10.3655 32.2092C10.278 32.144 10.1969 32.0466 10.1722 31.9152L10.1653 31.8566C10.1258 31.0816 10.0287 29.5531 10.0052 28.0588C9.99344 27.3114 9.99993 26.5672 10.0413 25.927C10.0821 25.2954 10.1585 24.7356 10.2991 24.3732L10.3362 24.2785L10.429 24.2355C10.5486 24.1816 10.7079 24.1452 10.8792 24.1174C11.055 24.0888 11.2622 24.0665 11.4886 24.05C11.9417 24.0171 12.4862 24.0045 13.0364 24.0012ZM13.0394 24.5012C12.4931 24.5044 11.9614 24.5173 11.5247 24.549C11.3064 24.5649 11.1151 24.5852 10.9593 24.6105C10.8633 24.6261 10.7872 24.6439 10.7288 24.6603C10.6386 24.9531 10.5764 25.4019 10.5403 25.9592C10.5002 26.5804 10.4935 27.3098 10.5052 28.051C10.5282 29.5178 10.6217 31.0158 10.6624 31.8059L10.6644 31.8078C10.6905 31.8272 10.7436 31.8534 10.8343 31.8791C11.0145 31.93 11.2722 31.9592 11.5608 31.9729C12.1409 32.0002 12.7505 31.9632 12.9983 31.9621H13.0013C13.3863 31.9647 14.5083 32.0013 15.6243 32.0002C16.1775 31.9996 16.7169 31.99 17.1429 31.9621C17.3562 31.9481 17.5363 31.9291 17.6731 31.9064C17.7274 31.8975 17.7721 31.8863 17.8079 31.8771C17.8259 31.7815 17.8478 31.6492 17.8655 31.4807C17.8914 31.2354 17.9137 30.9292 17.9329 30.5822C17.9713 29.8883 17.9949 29.0371 17.9993 28.1916C18.0037 27.3458 17.9888 26.5091 17.9515 25.843C17.9328 25.5097 17.9089 25.2227 17.8792 25.0002C17.858 24.8417 17.8325 24.7327 17.8138 24.6652C17.5692 24.5695 17.2661 24.5282 16.93 24.5148C16.5468 24.4996 16.1675 24.5215 15.8011 24.5246C15.5353 24.5261 15.1141 24.5179 14.6292 24.5109C14.142 24.5039 13.5849 24.4979 13.0394 24.5012ZM11.7581 25.4992C12.2244 25.5505 13.18 25.5607 14.179 25.5588C15.1674 25.5569 16.1921 25.544 16.7688 25.55L17.0228 25.552L17.0159 25.8068C16.9944 26.6092 16.9962 27.4211 16.9983 28.2395C17.0005 29.0567 17.0029 29.8807 16.9827 30.7004L16.9769 30.9406L16.7366 30.9445C15.0335 30.9716 13.4383 30.9367 11.7347 31.0002L11.4681 31.01L11.4749 30.7434C11.521 29.0977 11.4919 27.4092 11.4808 25.7502L11.4798 25.4689L11.7581 25.4992ZM11.9827 26.0158C11.9941 27.495 12.0133 29.01 11.9788 30.4934C13.5076 30.4449 14.9822 30.4654 16.4856 30.4465C16.4999 29.7145 16.5003 28.9788 16.4983 28.2414C16.4964 27.5101 16.4968 26.777 16.512 26.05C15.9208 26.0489 15.0465 26.0572 14.18 26.0588C13.3508 26.0603 12.5233 26.0503 11.9827 26.0158Z"}),c.createElement("path",{d:"M30.5023 28.5936C32.5804 28.4257 34.9093 28.6337 37.013 28.5399C37.6028 28.5136 38.6915 28.5199 39.1751 28.8407C39.3867 29.3068 39.3428 35.5734 39.3538 36.4715C40.4042 36.4206 41.4578 36.4173 42.5091 36.4627C42.5274 34.4547 42.3915 30.9935 42.5765 28.9246C42.5879 28.8086 42.7986 28.65 42.8802 28.6424C44.2027 28.5252 50.351 28.4142 51.2845 28.784C51.5931 29.4065 51.4629 35.3124 51.4593 36.4696C52.8109 36.3632 57.8546 36.3056 58.9876 36.5946C59.8191 36.8118 60.5805 37.2364 61.2005 37.828C62.1191 38.7242 62.637 39.9494 62.637 41.2284C62.6452 42.5454 62.1033 43.8074 61.139 44.7127C59.8568 45.9144 58.6218 46.1112 56.9788 46.0594C56.9852 47.5084 57.0501 49.0351 57.0501 50.4813C57.0508 50.783 56.8457 51.1631 56.5774 51.3221C55.9719 51.68 53.622 51.4814 52.9886 51.3651C52.5352 50.6788 52.7484 47.1056 52.7786 46.0975C50.6538 45.9339 46.6468 46.0603 44.3616 46.0594L29.137 46.0487V46.0262H22.137V44.6512C23.5101 44.795 25.6853 44.6844 27.0599 44.6844L50.7552 44.6883C53.1648 44.6865 55.85 44.7556 58.2386 44.662C59.2937 44.4556 60.1563 44.0086 60.7562 43.0887C61.2597 42.3162 61.42 41.3708 61.1976 40.4774C60.9558 39.5366 60.3362 38.735 59.4827 38.2586C58.8627 37.905 58.453 37.8523 57.7532 37.825C55.7649 37.7487 53.7287 37.81 51.7376 37.8182L42.9163 37.8006C36.1307 37.8206 29.0476 37.6772 22.2806 37.8036C22.2323 37.8081 22.1842 37.8142 22.137 37.8202V36.494C24.2648 36.3413 29.0031 36.4246 30.2776 36.4246C30.2949 35.0598 30.1302 29.4728 30.5023 28.5936ZM54.1253 46.0633C54.1381 47.4184 54.127 48.7726 54.0941 50.1268L55.6448 50.1112C55.6412 48.7741 55.6208 47.3967 55.6409 46.0633H54.1253ZM46.9134 33.9159C46.1825 34.6476 45.2791 35.5097 44.5931 36.2606L46.8392 36.2498C47.5956 36.2471 48.4977 36.2185 49.2376 36.2957C48.8301 35.8458 47.3093 34.1453 46.9134 33.9159ZM34.7845 33.9393C33.9942 34.7037 33.2565 35.4049 32.5267 36.2284L34.7532 36.2235C35.4401 36.2271 36.42 36.2033 37.0784 36.286C36.364 35.457 35.5978 34.6738 34.7845 33.9393ZM50.014 30.8299C49.317 31.5113 48.541 32.3037 47.8294 32.9549C48.2498 33.3794 48.665 33.8097 49.0716 34.2459L50.1546 35.3651C50.0868 34.5134 50.2906 31.18 50.014 30.8299ZM31.6556 30.744C31.6629 32.2593 31.6607 33.7755 31.6497 35.2899C32.0152 34.8999 32.4286 34.4741 32.7757 34.075L33.8743 33.0028C33.1306 32.2542 32.391 31.5008 31.6556 30.744ZM37.8792 30.8436C37.1522 31.5616 36.4356 32.2892 35.7278 33.0252L37.0501 34.3426L37.9778 35.284C37.9769 34.6766 38.0496 31.0167 37.8792 30.8436ZM43.8372 35.2557C44.1715 34.8912 44.5506 34.4595 44.8968 34.1141L46.0325 32.9569C45.5717 32.481 44.3258 31.1751 43.8431 30.8045L43.8372 35.2557ZM32.5569 29.8553C33.3006 30.602 34.0789 31.3645 34.8079 32.1209C35.1752 31.672 35.4818 31.3737 35.8948 30.9676L37.0101 29.8651L32.5569 29.8553ZM44.7347 29.869C45.4628 30.6135 46.1989 31.3512 46.9417 32.0809L47.9671 31.0018C48.3572 30.618 48.748 30.2186 49.1692 29.8709L44.7347 29.869Z"}),c.createElement("path",{d:"M30.4817 28.3441C31.5345 28.2591 32.6478 28.2692 33.7523 28.2884C34.861 28.3078 35.9601 28.3359 37.0023 28.2894C37.3032 28.276 37.7354 28.271 38.1575 28.3109C38.516 28.3448 38.9039 28.4139 39.1946 28.5628L39.3138 28.6322L39.3733 28.6712L39.4026 28.7367C39.4313 28.7998 39.448 28.882 39.4593 28.9535C39.4718 29.0332 39.4827 29.1319 39.4925 29.2435C39.5121 29.4671 39.5274 29.7583 39.5403 30.0931C39.5663 30.7639 39.5817 31.6223 39.5901 32.4916C39.6048 34.006 39.6007 35.529 39.6028 36.2113C40.4874 36.175 41.3738 36.1719 42.2591 36.2035C42.2649 34.1868 42.1491 30.8959 42.3274 28.9017V28.8998C42.3366 28.8076 42.3803 28.7331 42.4144 28.6859C42.4514 28.6346 42.4965 28.5888 42.5394 28.5521C42.5825 28.5151 42.6303 28.4818 42.6771 28.4554C42.7159 28.4335 42.7821 28.3999 42.8567 28.3929L43.5687 28.3499C44.4659 28.3089 45.8634 28.2768 47.2288 28.2796C48.1402 28.2816 49.0422 28.2991 49.7767 28.3392C50.1437 28.3592 50.4726 28.3852 50.7405 28.4183C50.9361 28.4425 51.1124 28.472 51.2513 28.5101L51.3763 28.5511L51.4661 28.5863L51.5081 28.6722C51.5421 28.7408 51.5652 28.8265 51.5823 28.9095C51.6003 28.9969 51.6158 29.1006 51.6292 29.2162C51.6561 29.4477 51.677 29.7406 51.6927 30.0726C51.7241 30.7374 51.7358 31.5746 51.7386 32.4251C51.7435 33.9114 51.7188 35.4603 51.7112 36.2044C52.4949 36.1597 53.9142 36.1257 55.3069 36.1332C56.0947 36.1374 56.878 36.154 57.5364 36.1878C58.1866 36.2213 58.7382 36.2727 59.0491 36.3519H59.0511C59.8144 36.5514 60.5216 36.9178 61.1224 37.4222L61.3733 37.6468L61.3753 37.6488C62.3413 38.5914 62.8865 39.8801 62.887 41.2259L62.8821 41.4857C62.8228 42.7778 62.2614 44.0016 61.3099 44.8949C60.6423 45.5204 59.9787 45.8913 59.263 46.096C58.627 46.278 57.9602 46.3216 57.2317 46.3109C57.2374 46.9523 57.2519 47.6075 57.2669 48.265C57.2839 49.008 57.3001 49.7538 57.3001 50.4798C57.3006 50.683 57.2333 50.896 57.1331 51.0765C57.033 51.2567 56.8868 51.4288 56.7054 51.5365C56.502 51.6567 56.191 51.7144 55.8743 51.7445C55.5451 51.7757 55.1629 51.7807 54.7864 51.7708C54.0358 51.7512 53.2768 51.6719 52.9437 51.6107L52.8392 51.5912L52.7796 51.5023C52.6978 51.3783 52.6443 51.2115 52.6048 51.0374C52.5642 50.8582 52.5332 50.6474 52.511 50.4183C52.4666 49.9593 52.4522 49.4066 52.4524 48.8509C52.4528 47.8939 52.4968 46.9019 52.5189 46.3294C50.3564 46.1927 46.5801 46.3098 44.3616 46.3089L28.887 46.2982V46.2757H21.887V44.3734L22.1634 44.4017C23.5195 44.5437 25.6603 44.434 27.0599 44.4339L50.7552 44.4378L54.5062 44.4593C55.767 44.4646 57.0232 44.4574 58.2083 44.4115C59.2091 44.2126 59.9975 43.7944 60.5472 42.9515C61.0124 42.2376 61.1602 41.3644 60.9554 40.5394L60.9095 40.3773C60.6583 39.5734 60.1053 38.8925 59.3607 38.4769L59.3587 38.4749C58.7882 38.1497 58.424 38.1011 57.7435 38.0746C55.7622 37.9985 53.7385 38.0595 51.7386 38.0677H51.7366L42.9153 38.0501C36.1246 38.0701 29.0581 37.9262 22.2962 38.0521C22.255 38.0562 22.2129 38.0621 22.1683 38.0677L21.887 38.1039V36.2611L22.1194 36.2445C24.1359 36.0998 28.476 36.1641 30.0257 36.1722C30.0258 35.3739 30.0004 33.8445 30.0071 32.3255C30.0109 31.4856 30.0253 30.6569 30.0628 29.9818C30.0815 29.6445 30.1067 29.3422 30.139 29.0941C30.1703 28.8533 30.2109 28.6395 30.2718 28.4955L30.3314 28.3558L30.4817 28.3441ZM33.7435 28.7884C32.6984 28.7702 31.6667 28.7614 30.6907 28.8304C30.6716 28.9127 30.6519 29.0218 30.6341 29.1585C30.6041 29.3894 30.5802 29.6781 30.5618 30.0091C30.525 30.6714 30.5109 31.4903 30.5071 32.3275C30.4997 33.9853 30.5362 35.7515 30.5276 36.4271L30.5247 36.6742H30.2776C29.0356 36.6742 24.5978 36.5969 22.387 36.7279V37.5511C29.1217 37.4284 36.1762 37.57 42.9153 37.5501H42.9173L51.7366 37.5667C53.7188 37.5586 55.7677 37.4979 57.763 37.5746C58.4808 37.6025 58.9359 37.659 59.6038 38.0394C60.4597 38.517 61.0965 39.3015 61.386 40.2279L61.4398 40.4144V40.4164C61.6791 41.3774 61.5065 42.3945 60.9651 43.2249C60.3183 44.2166 59.3872 44.6913 58.2864 44.9066L58.2679 44.9105L58.2483 44.9115C57.0511 44.9584 55.778 44.9646 54.5042 44.9593L50.7552 44.9378L27.0599 44.9339C25.7965 44.9339 23.7798 45.0273 22.387 44.9203V45.7757H29.387V45.7982L44.3616 45.8089C46.6288 45.8098 50.6609 45.6834 52.7982 45.848L53.0355 45.8666L53.0286 46.1048C53.0132 46.6177 52.9529 47.7517 52.9524 48.8519C52.9523 49.4011 52.967 49.9342 53.0091 50.3695C53.0302 50.5873 53.0578 50.7758 53.0921 50.9271C53.1122 51.0157 53.1345 51.0843 53.1546 51.1361C53.5034 51.1886 54.151 51.2538 54.8001 51.2708C55.1659 51.2804 55.525 51.275 55.8265 51.2464C56.1396 51.2168 56.35 51.1653 56.4495 51.1068L56.5149 51.0599C56.5801 51.0051 56.6436 50.9269 56.6956 50.8333C56.7648 50.7088 56.8002 50.5803 56.8001 50.4818C56.8001 49.762 56.7839 49.0205 56.7669 48.2767C56.7499 47.5338 56.732 46.7872 56.7288 46.0599L56.7278 45.8011L56.9866 45.8089C57.7983 45.8345 58.4877 45.798 59.1253 45.6156C59.7584 45.4345 60.3535 45.1056 60.9681 44.5296C61.8816 43.6719 62.3946 42.4768 62.387 41.2298V41.2279C62.387 40.0174 61.8972 38.8575 61.0276 38.0082C60.4385 37.446 59.7145 37.0427 58.9241 36.8363C58.668 36.7713 58.1654 36.7215 57.511 36.6878C56.863 36.6545 56.0877 36.6374 55.304 36.6332C53.7344 36.6247 52.1439 36.6658 51.4788 36.7181L51.2083 36.7396L51.2093 36.4681C51.2112 35.8801 51.2442 34.1277 51.2386 32.4271C51.2358 31.5787 51.2236 30.7498 51.1927 30.096C51.1772 29.7688 51.1572 29.4889 51.1321 29.2738C51.1196 29.1662 51.1061 29.0781 51.0921 29.0101C51.0901 29.0005 51.0862 28.992 51.0843 28.9837C50.9895 28.9604 50.855 28.9361 50.679 28.9144C50.427 28.8833 50.1114 28.858 49.7503 28.8382C49.0282 28.7988 48.1353 28.7815 47.2278 28.7796C45.4309 28.7759 43.5943 28.8321 42.9251 28.889L42.9232 28.891C42.9072 28.9 42.8856 28.9139 42.8646 28.932C42.8453 28.9485 42.8312 28.9638 42.8226 28.9749C42.6425 31.0344 42.7775 34.4409 42.7591 36.4642L42.7571 36.723L42.4983 36.7123C41.4548 36.6672 40.4084 36.6705 39.3655 36.721L39.1067 36.7337L39.1038 36.474C39.0984 36.0342 39.1068 34.2172 39.0901 32.4964C39.0817 31.6285 39.067 30.776 39.0413 30.1126C39.0285 29.7806 39.013 29.4982 38.9944 29.2865C38.9852 29.1805 38.9752 29.0952 38.9651 29.0316C38.9635 29.021 38.9608 29.0117 38.9593 29.0033C38.7646 28.9055 38.4623 28.8422 38.1107 28.8089C37.7202 28.7721 37.3126 28.7765 37.0237 28.7894C35.9623 28.8367 34.8445 28.8076 33.7435 28.7884ZM55.8948 45.8128L55.8909 46.0667C55.8708 47.3971 55.8912 48.7686 55.8948 50.1097L55.8958 50.3578L55.6478 50.3607L54.097 50.3763L53.8382 50.3792L53.8441 50.1205C53.8769 48.7689 53.8881 47.417 53.8753 46.0648L53.8733 45.8128H55.8948ZM54.3763 46.3128C54.3849 47.5002 54.3754 48.6869 54.3489 49.8734L55.3929 49.8626C55.3881 48.6916 55.3756 47.4867 55.389 46.3128H54.3763ZM34.9524 33.7533C35.7733 34.4946 36.5467 35.2855 37.2679 36.1224L37.6917 36.6146L37.0472 36.5335C36.4089 36.4534 35.4558 36.4767 34.7532 36.473L31.97 36.4789L32.3392 36.0619C33.0768 35.2297 33.8228 34.5212 34.6107 33.7591L34.7786 33.597L34.9524 33.7533ZM47.0384 33.6996C47.1689 33.7752 47.3611 33.947 47.5608 34.141C47.7693 34.3434 48.0119 34.5949 48.2532 34.8509C48.736 35.3633 49.2205 35.9035 49.4232 36.1273L49.8616 36.6117L49.2112 36.5443C48.8502 36.5066 48.4496 36.4946 48.0433 36.4925L44.0237 36.513L44.4085 36.0912C45.0994 35.3349 46.0126 34.4635 46.7366 33.7386L46.8724 33.6029L47.0384 33.6996ZM50.2103 30.6742C50.2555 30.7315 50.2821 30.7993 50.2991 30.8539C50.3175 30.9126 50.3315 30.9795 50.3431 31.0492C50.3663 31.1885 50.3823 31.361 50.3929 31.5521C50.4142 31.9355 50.4164 32.4182 50.4124 32.9105C50.4044 33.9113 50.3709 34.9337 50.4036 35.3451L50.4593 36.0384L48.8919 34.4193L48.889 34.4164C48.4843 33.9822 48.0705 33.5532 47.6517 33.1302L47.4691 32.9457L47.6605 32.7699C48.3681 32.1223 49.1364 31.3379 49.8392 30.6507L50.0374 30.4564L50.2103 30.6742ZM46.9349 34.2445C46.3695 34.8067 45.7338 35.4268 45.1761 36.0072L48.0462 35.9925C48.2443 35.9936 48.4428 35.9968 48.637 36.0042C48.4184 35.7637 48.1534 35.4743 47.889 35.1937C47.6498 34.9399 47.4128 34.6952 47.2122 34.5003C47.1017 34.393 47.0081 34.3073 46.9349 34.2445ZM34.7874 34.2835C34.1979 34.853 33.6433 35.3907 33.097 35.9759L34.7523 35.973H34.7542L35.929 35.9749C36.1152 35.9772 36.3015 35.9819 36.4808 35.9896C35.9434 35.3953 35.3781 34.8266 34.7874 34.2835ZM31.8353 30.5697C32.57 31.3258 33.3092 32.0788 34.0521 32.8265L34.2298 33.0052L34.0491 33.181L32.9583 34.2455C32.6084 34.6472 32.1912 35.0774 31.8323 35.4603L31.3948 35.9271L31.3997 35.2874C31.4107 33.7741 31.4129 32.2587 31.4056 30.7445L31.4026 30.1244L31.8353 30.5697ZM43.9954 30.6058C44.2528 30.8034 44.6973 31.2355 45.1233 31.6644C45.5543 32.0982 45.9831 32.5459 46.2122 32.7826L46.3821 32.9574L45.0755 34.2884L45.0735 34.2904C44.7327 34.6305 44.3616 35.0536 44.0218 35.4242L43.5862 35.8988L43.5941 30.2972L43.9954 30.6058ZM38.0569 30.6673C38.0966 30.7076 38.117 30.7528 38.1263 30.7757C38.1373 30.8031 38.1456 30.8309 38.1517 30.8558C38.1638 30.9059 38.1733 30.9657 38.181 31.0287C38.1964 31.1558 38.2075 31.3227 38.2161 31.513C38.2335 31.8954 38.2409 32.3926 38.2425 32.8998C38.2441 33.4074 38.2397 33.9283 38.2357 34.3597C38.2316 34.7931 38.2276 35.1335 38.2278 35.2835L38.2288 35.8939L36.8733 34.5189L35.3773 33.0287L35.5472 32.8519C36.2563 32.1144 36.9748 31.3849 37.7034 30.6654L37.8821 30.4896L38.0569 30.6673ZM49.8733 31.3187C49.3277 31.8579 48.7399 32.4439 48.1858 32.9613C48.5454 33.3271 48.9018 33.6967 49.2513 34.0716L49.8909 34.7328C49.8919 34.2168 49.9073 33.5391 49.9124 32.9066C49.9163 32.4156 49.9142 31.9459 49.8939 31.5794C49.8885 31.4835 49.881 31.3963 49.8733 31.3187ZM37.7073 31.3685C37.1592 31.9147 36.6157 32.4652 36.0784 33.0218L37.2269 34.1654L37.2278 34.1664L37.7327 34.6781C37.7337 34.5779 37.7346 34.4698 37.7357 34.3558C37.7397 33.925 37.7441 33.4063 37.7425 32.9017C37.7409 32.3963 37.734 31.907 37.7171 31.5355C37.7144 31.4763 37.7105 31.4205 37.7073 31.3685ZM31.9066 31.3578C31.91 32.4575 31.9079 33.5574 31.9017 34.6566C32.1384 34.4059 32.3754 34.154 32.5872 33.9105L32.5941 33.9027L32.6009 33.8958L33.5189 32.9984C32.979 32.454 32.442 31.9065 31.9066 31.3578ZM44.0872 34.6068C44.2976 34.3754 44.5153 34.1412 44.72 33.9369L45.6829 32.9554C45.4425 32.7062 45.107 32.3574 44.7689 32.0169C44.5293 31.7758 44.2929 31.5443 44.0921 31.3558L44.0872 34.6068ZM37.6175 29.6156L36.0706 31.1449C35.6566 31.5518 35.3587 31.8417 35.0013 32.2787L34.8235 32.4964L34.6282 32.2943C33.9012 31.5399 33.1268 30.7812 32.3802 30.0316L31.9534 29.6039L37.6175 29.6156ZM49.8646 29.6205L49.3284 30.0628C48.9181 30.4014 48.5379 30.7904 48.1429 31.1791L47.1233 32.2523L46.9476 32.4369L46.7669 32.2591C46.0229 31.5283 45.2853 30.789 44.556 30.0433L44.1399 29.6185L49.8646 29.6205ZM33.1624 30.1058C33.7063 30.6483 34.2605 31.2019 34.7942 31.7503C35.0972 31.4001 35.3746 31.128 35.72 30.7884L36.4026 30.1126L33.1624 30.1058ZM45.3333 30.1185C45.8637 30.6567 46.3978 31.1917 46.9358 31.722L47.7855 30.8294L47.7913 30.8226C48.0246 30.5931 48.2646 30.3531 48.513 30.1195L45.3333 30.1185Z"}),c.createElement("path",{d:"M27.7597 38.5546C29.1239 38.3463 30.3989 39.2835 30.608 40.6469C30.8163 42.0111 29.8804 43.2864 28.5163 43.4964C27.1515 43.7056 25.8751 42.7685 25.6662 41.4042C25.4571 40.039 26.3946 38.7628 27.7597 38.5546ZM28.3395 42.1322C28.7447 42.0601 29.0799 41.7753 29.2169 41.3873C29.3539 40.9993 29.2714 40.5677 29.0011 40.2579C28.7308 39.9474 28.3144 39.8067 27.9111 39.8886C27.299 40.0141 26.9011 40.6077 27.0183 41.2218C27.1354 41.8358 27.7242 42.2407 28.3395 42.1322Z"}),c.createElement("path",{d:"M27.722 38.3077C29.2226 38.0787 30.6246 39.109 30.8548 40.6085C31.0839 42.1091 30.0545 43.5123 28.554 43.7433C27.0528 43.9732 25.6491 42.9423 25.4193 41.4415C25.1895 39.94 26.2205 38.5368 27.722 38.3077ZM30.3607 40.6847C30.1724 39.4577 29.025 38.6145 27.7972 38.8019C26.5689 38.9894 25.7253 40.1377 25.9134 41.3663C26.1015 42.5938 27.2497 43.437 28.4778 43.2492C29.7055 43.0601 30.548 41.9126 30.3607 40.6847ZM27.8616 39.6437C28.3527 39.544 28.8602 39.7152 29.1898 40.0939C29.5191 40.4716 29.6194 40.998 29.4525 41.4708C29.3063 41.8845 28.9752 42.2015 28.5638 42.3331L28.3831 42.3781C27.6336 42.5103 26.9157 42.0173 26.7728 41.2687C26.6299 40.5203 27.1158 39.7967 27.8616 39.6437ZM28.8128 40.422C28.6019 40.1796 28.2765 40.07 27.9612 40.1339C27.483 40.232 27.1724 40.6953 27.264 41.1749C27.3554 41.654 27.8146 41.9703 28.2952 41.8859C28.6117 41.8296 28.8738 41.607 28.9808 41.3038C29.0744 41.0386 29.0373 40.7473 28.8851 40.5167L28.8128 40.422Z"}),c.createElement("path",{d:"M50.8963 38.5373C51.7919 38.4507 52.6652 38.8525 53.1831 39.5891C53.7001 40.3248 53.7814 41.2829 53.3965 42.0964C53.0108 42.9098 52.2187 43.4527 51.3205 43.5187C49.9552 43.6196 48.7622 42.6026 48.6462 41.2383C48.5301 39.8739 49.5328 38.6694 50.8963 38.5373ZM51.233 42.1562C51.841 42.1097 52.3036 41.591 52.2804 40.982C52.2571 40.3722 51.7571 39.8909 51.1472 39.89C50.7311 39.89 50.349 40.1168 50.1498 40.482C49.9507 40.8472 49.9677 41.2927 50.1936 41.6419C50.4195 41.991 50.8187 42.1883 51.233 42.1562Z"}),c.createElement("path",{d:"M50.8724 38.2884C51.8576 38.1932 52.8185 38.6355 53.388 39.4456C53.9211 40.2044 54.0323 41.1778 53.6956 42.0335L53.6224 42.2034C53.1981 43.098 52.327 43.6951 51.3392 43.7679C49.8373 43.8789 48.5245 42.76 48.3968 41.2591C48.2694 39.7586 49.3727 38.4338 50.8724 38.2884ZM50.9202 38.7865C49.6932 38.9055 48.7904 39.9892 48.8948 41.2171C48.9993 42.445 50.0734 43.3607 51.3021 43.2699L51.4524 43.2533C52.1981 43.1479 52.8447 42.6758 53.1702 41.9896C53.5167 41.2573 53.444 40.3947 52.9788 39.7327C52.5126 39.0696 51.7261 38.7085 50.9202 38.7865ZM51.1478 39.64C51.8916 39.6411 52.5022 40.2289 52.5306 40.973C52.5569 41.6696 52.0621 42.2691 51.389 42.388L51.2523 42.4056C50.7466 42.4448 50.2594 42.2038 49.9837 41.7777C49.7081 41.3518 49.6871 40.8083 49.93 40.3626C50.1729 39.9172 50.6404 39.6401 51.1478 39.64ZM51.1468 40.14C50.8223 40.1401 50.5247 40.3172 50.3694 40.6019C50.2143 40.8865 50.2275 41.234 50.4036 41.5062C50.5796 41.7781 50.8904 41.9315 51.2132 41.9066C51.6872 41.8702 52.0487 41.4661 52.0306 40.9915C52.0124 40.516 51.6226 40.1407 51.1468 40.14Z"}),c.createElement("path",{d:"M39.3834 38.6423C40.7094 38.224 42.1216 38.9664 42.5274 40.296C42.9332 41.6247 42.1764 43.0297 40.8432 43.4229C39.5288 43.8108 38.1471 43.0665 37.7467 41.7558C37.3463 40.4441 38.0762 39.0553 39.3834 38.6423ZM40.3054 42.1284C40.9159 42.0395 41.3433 41.4766 41.2643 40.8643C41.1862 40.2511 40.6313 39.8148 40.0172 39.883C39.6105 39.9279 39.2595 40.1883 39.0997 40.5653C38.9399 40.9415 38.9955 41.3751 39.2451 41.6992C39.4947 42.0233 39.9005 42.1876 40.3054 42.1284Z"}),c.createElement("path",{d:"M39.3079 38.4035C40.7664 37.9433 42.3205 38.7601 42.7669 40.2228C43.2133 41.6844 42.3805 43.2295 40.9144 43.6623C39.4684 44.0889 37.9476 43.27 37.5072 41.8283C37.0671 40.3858 37.87 38.8577 39.3079 38.4035ZM42.2884 40.3693C41.9232 39.1728 40.652 38.5044 39.4583 38.881C38.2823 39.2528 37.6253 40.5023 37.9857 41.6828C38.3461 42.8624 39.5901 43.5317 40.7728 43.1828C41.9725 42.8287 42.6533 41.5647 42.2884 40.3693ZM39.9896 39.6349C40.7391 39.5516 41.4165 40.0838 41.512 40.8322C41.6085 41.5799 41.0866 42.2676 40.3411 42.3761C39.8469 42.4483 39.3519 42.2473 39.0472 41.8517C38.7427 41.4563 38.6745 40.9272 38.8695 40.4679C39.0647 40.0073 39.4934 39.6898 39.9896 39.6349ZM40.0452 40.131C39.7283 40.1661 39.4537 40.3699 39.3294 40.6632C39.2051 40.9561 39.2492 41.2944 39.4437 41.547C39.638 41.799 39.9538 41.927 40.2689 41.881C40.744 41.8116 41.0772 41.3732 41.0159 40.8966C40.955 40.4192 40.5235 40.0781 40.0452 40.131Z"}))),WN=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M17.4139 16.29L21.0039 12.7C21.3939 12.31 21.3939 11.68 21.0039 11.29L17.4139 7.7C17.0239 7.31 16.3939 7.31 16.0039 7.7C15.6139 8.09 15.6139 8.72 16.0039 9.11L17.8739 11H9.70386C9.15386 11 8.70386 11.45 8.70386 12C8.70386 12.55 9.15386 13 9.70386 13H17.8739L15.9939 14.88C15.6039 15.27 15.6039 15.9 15.9939 16.29C16.3839 16.68 17.0239 16.68 17.4139 16.29Z"}),c.createElement("path",{d:"M18.7039 19H4.70386V5H18.7039V6C18.7039 6.55 19.1539 7 19.7039 7C20.2539 7 20.7039 6.55 20.7039 6V5C20.7039 3.9 19.8039 3 18.7039 3H4.70386C3.60386 3 2.70386 3.9 2.70386 5V19C2.70386 20.1 3.60386 21 4.70386 21H18.7039C19.8139 21 20.7039 20.1 20.7039 19V18C20.7039 17.45 20.2539 17 19.7039 17C19.1539 17 18.7039 17.45 18.7039 18V19Z"})),GN=e=>c.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("circle",{cx:8,cy:8,r:6.3,stroke:"currentColor",strokeWidth:1.4}),c.createElement("path",{d:"M6.5 5.5V10.5",stroke:"currentColor",strokeWidth:1.4,strokeLinecap:"round"}),c.createElement("path",{d:"M9.5 5.5V10.5",stroke:"currentColor",strokeWidth:1.4,strokeLinecap:"round"})),RN=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.2593 7.47792L5.22219 16.515C5.0159 16.7213 4.90001 17.0011 4.90001 17.2929L4.90001 19C4.90001 19.0552 4.94478 19.1 5.00001 19.1H6.70711C6.99885 19.1 7.27864 18.9841 7.48493 18.7778L16.522 9.74066L14.2593 7.47792ZM15.5321 6.20513L17.7948 8.46787L18.9262 7.3365C19.1605 7.10219 19.1605 6.72229 18.9262 6.48797L17.512 5.07376C17.2777 4.83944 16.8978 4.83944 16.6634 5.07376L15.5321 6.20513ZM3.94939 15.2423L15.3907 3.80097C16.3279 2.86371 17.8475 2.86371 18.7848 3.80097L20.199 5.21518C21.1362 6.15244 21.1362 7.67203 20.199 8.60929L8.75772 20.0506C8.21387 20.5944 7.47624 20.9 6.70711 20.9L5.00001 20.9C3.95067 20.9 3.10001 20.0493 3.10001 19L3.10001 17.2929C3.10001 16.5237 3.40554 15.7861 3.94939 15.2423Z",fill:"black",fillOpacity:.5})),jN=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M16.67 13.13C18.04 14.06 19 15.32 19 17V20H23V17C23 14.82 19.43 13.53 16.67 13.13Z"}),c.createElement("path",{d:"M15 12C17.21 12 19 10.21 19 8C19 5.79 17.21 4 15 4C14.53 4 14.09 4.1 13.67 4.24C14.5 5.27 15 6.58 15 8C15 9.42 14.5 10.73 13.67 11.76C14.09 11.9 14.53 12 15 12Z"}),c.createElement("path",{d:"M9 12C11.21 12 13 10.21 13 8C13 5.79 11.21 4 9 4C6.79 4 5 5.79 5 8C5 10.21 6.79 12 9 12ZM9 6C10.1 6 11 6.9 11 8C11 9.1 10.1 10 9 10C7.9 10 7 9.1 7 8C7 6.9 7.9 6 9 6Z"}),c.createElement("path",{d:"M9 13C6.33 13 1 14.34 1 17V20H17V17C17 14.34 11.67 13 9 13ZM15 18H3V17.01C3.2 16.29 6.3 15 9 15C11.7 15 14.8 16.29 15 17V18Z"})),YN=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M12 12C10.9 12 9.95833 11.6083 9.175 10.825C8.39167 10.0417 8 9.1 8 8C8 6.9 8.39167 5.95833 9.175 5.175C9.95833 4.39167 10.9 4 12 4C13.1 4 14.0417 4.39167 14.825 5.175C15.6083 5.95833 16 6.9 16 8C16 9.1 15.6083 10.0417 14.825 10.825C14.0417 11.6083 13.1 12 12 12ZM4 20V17.2C4 16.6333 4.14583 16.1125 4.4375 15.6375C4.72917 15.1625 5.11667 14.8 5.6 14.55C6.63333 14.0333 7.68333 13.6458 8.75 13.3875C9.81667 13.1292 10.9 13 12 13C13.1 13 14.1833 13.1292 15.25 13.3875C16.3167 13.6458 17.3667 14.0333 18.4 14.55C18.8833 14.8 19.2708 15.1625 19.5625 15.6375C19.8542 16.1125 20 16.6333 20 17.2V20H4Z",fill:"currentColor"})),qN=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M12 6C13.1 6 14 6.9 14 8C14 9.1 13.1 10 12 10C10.9 10 10 9.1 10 8C10 6.9 10.9 6 12 6ZM12 16C14.7 16 17.8 17.29 18 18H6C6.23 17.28 9.31 16 12 16ZM12 4C9.79 4 8 5.79 8 8C8 10.21 9.79 12 12 12C14.21 12 16 10.21 16 8C16 5.79 14.21 4 12 4ZM12 14C9.33 14 4 15.34 4 18V20H20V18C20 15.34 14.67 14 12 14Z"})),UN=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M21.5 6.5H18.33L16.5 4.5H10.5V6.5H15.62L17.45 8.5H21.5V20.5H5.5V11.5H3.5V20.5C3.5 21.6 4.4 22.5 5.5 22.5H21.5C22.6 22.5 23.5 21.6 23.5 20.5V8.5C23.5 7.4 22.6 6.5 21.5 6.5ZM8.5 14.5C8.5 17.26 10.74 19.5 13.5 19.5C16.26 19.5 18.5 17.26 18.5 14.5C18.5 11.74 16.26 9.5 13.5 9.5C10.74 9.5 8.5 11.74 8.5 14.5ZM13.5 11.5C15.15 11.5 16.5 12.85 16.5 14.5C16.5 16.15 15.15 17.5 13.5 17.5C11.85 17.5 10.5 16.15 10.5 14.5C10.5 12.85 11.85 11.5 13.5 11.5ZM7.5 1.5H5.5V6.5H7.5V1.5Z"}),c.createElement("path",{d:"M5.5 7.5H7.5V9.5H5.5V7.5Z"})),XN=e=>c.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M13.0239 7.13074C13.6587 7.51454 13.6587 8.48386 13.0239 8.86765L6.41221 12.8653C5.78279 13.2459 5 12.7645 5 11.9969V4.00148C5 3.23384 5.7828 2.75245 6.41221 3.13302L13.0239 7.13074Z"})),KN=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M12.7038 9.20312H2.70375C2.15375 9.20312 1.70375 9.65312 1.70375 10.2031C1.70375 10.7531 2.15375 11.2031 2.70375 11.2031H12.7038C13.2538 11.2031 13.7038 10.7531 13.7038 10.2031C13.7038 9.65312 13.2538 9.20312 12.7038 9.20312ZM12.7038 5.20312H2.70375C2.15375 5.20312 1.70375 5.65312 1.70375 6.20312C1.70375 6.75312 2.15375 7.20312 2.70375 7.20312H12.7038C13.2538 7.20312 13.7038 6.75312 13.7038 6.20312C13.7038 5.65312 13.2538 5.20312 12.7038 5.20312ZM2.70375 15.2031H8.70375C9.25375 15.2031 9.70375 14.7531 9.70375 14.2031C9.70375 13.6531 9.25375 13.2031 8.70375 13.2031H2.70375C2.15375 13.2031 1.70375 13.6531 1.70375 14.2031C1.70375 14.7531 2.15375 15.2031 2.70375 15.2031ZM21.9137 11.4131L22.0037 11.5031C22.3937 11.8931 22.3937 12.5231 22.0037 12.9131L16.4237 18.5031C16.0337 18.8931 15.4038 18.8931 15.0138 18.5031L11.9238 15.4131C11.5338 15.0231 11.5338 14.3931 11.9238 14.0031L12.0138 13.9131C12.4038 13.5231 13.0338 13.5231 13.4238 13.9131L15.7238 16.2131L20.5037 11.4231C20.8837 11.0231 21.5238 11.0231 21.9137 11.4131Z"})),QN=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M12 12.25C13.24 12.25 14.25 11.24 14.25 10C14.25 8.76 13.24 7.75 12 7.75C10.76 7.75 9.75 8.76 9.75 10C9.75 11.24 10.76 12.25 12 12.25ZM16.5 16.25C16.5 14.75 13.5 14 12 14C10.5 14 7.5 14.75 7.5 16.25V17H16.5V16.25ZM19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM18 19H6C5.45 19 5 18.55 5 18V6C5 5.45 5.45 5 6 5H18C18.55 5 19 5.45 19 6V18C19 18.55 18.55 19 18 19Z"})),JN=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M19.928 8.66759L16.328 10.3476L13.998 8.01759V6.61759L16.328 4.28759L19.928 5.96759C20.308 6.14759 20.748 5.97759 20.928 5.60759C21.108 5.22759 20.938 4.78759 20.568 4.60759L16.648 2.77759C16.268 2.59759 15.818 2.67759 15.518 2.97759L13.778 4.71759C13.598 4.47759 13.318 4.31759 12.998 4.31759C12.448 4.31759 11.998 4.76759 11.998 5.31759V6.31759H8.81805C8.39805 5.15759 7.29805 4.31759 5.99805 4.31759C4.33805 4.31759 2.99805 5.65759 2.99805 7.31759C2.99805 8.41759 3.59805 9.36759 4.47805 9.89759L7.07805 18.3176H5.99805C4.89805 18.3176 3.99805 19.2176 3.99805 20.3176V21.3176H16.998V20.3176C16.998 19.2176 16.098 18.3176 14.998 18.3176H13.378L8.40805 9.08759C8.57805 8.84759 8.71805 8.59759 8.81805 8.31759H11.998V9.31759C11.998 9.86759 12.448 10.3176 12.998 10.3176C13.318 10.3176 13.598 10.1576 13.778 9.91759L15.518 11.6576C15.818 11.9576 16.268 12.0376 16.648 11.8576L20.568 10.0276C20.948 9.84759 21.108 9.40759 20.928 9.02759C20.748 8.65759 20.308 8.48759 19.928 8.66759ZM5.99805 8.31759C5.44805 8.31759 4.99805 7.86759 4.99805 7.31759C4.99805 6.76759 5.44805 6.31759 5.99805 6.31759C6.54805 6.31759 6.99805 6.76759 6.99805 7.31759C6.99805 7.86759 6.54805 8.31759 5.99805 8.31759ZM11.108 18.3176H9.16805L6.70805 10.3176H6.80805L11.108 18.3176Z"})),ek=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M16.7071 16.7071C16.3166 17.0976 15.6834 17.0976 15.2929 16.7071L12 13.4142L8.70711 16.7071C8.31658 17.0976 7.68342 17.0976 7.29289 16.7071C6.90237 16.3166 6.90237 15.6834 7.29289 15.2929L10.5858 12C11.3668 11.219 12.6332 11.2189 13.4142 12L16.7071 15.2929C17.0976 15.6834 17.0976 16.3166 16.7071 16.7071Z",fill:"currentColor"}),c.createElement("path",{d:"M15.2929 12.1071C15.6834 12.4976 16.3166 12.4976 16.7071 12.1071C17.0976 11.7166 17.0976 11.0834 16.7071 10.6929L13.4142 7.39999C12.6332 6.61894 11.3668 6.61895 10.5858 7.39999L7.29289 10.6929C6.90237 11.0834 6.90237 11.7166 7.29289 12.1071C7.68342 12.4976 8.31658 12.4976 8.70711 12.1071L12 8.81421L15.2929 12.1071Z",fill:"currentColor"}),c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z",fill:"currentColor"})),tk=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M5 5C5 5.55 5.45 6 6 6H18C18.55 6 19 5.55 19 5C19 4.45 18.55 4 18 4H6C5.45 4 5 4.45 5 5ZM7.41 14H9V19C9 19.55 9.45 20 10 20H14C14.55 20 15 19.55 15 19V14H16.59C17.48 14 17.93 12.92 17.3 12.29L12.71 7.7C12.32 7.31 11.69 7.31 11.3 7.7L6.71 12.29C6.08 12.92 6.52 14 7.41 14Z",fill:"currentColor"})),nk=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 34 34",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("g",{clipPath:"url(#push_pin_clip)"},c.createElement("path",{d:"M24.0416 12.7279L20.5061 16.2634C19.7142 17.0554 19.2404 18.0524 19.0919 19.0918L14.8493 14.8492C15.917 14.7007 16.8999 14.2128 17.6777 13.435L21.2132 9.89945L24.0416 12.7279ZM27.5772 13.435L20.5061 6.36392C20.1172 5.97501 19.4808 5.97501 19.0919 6.36392C18.703 6.75283 18.703 7.38923 19.0919 7.77813L19.799 8.48524L16.2635 12.0208C15.0897 13.1946 13.1946 13.1946 12.0208 12.0208L10.6066 13.435L14.828 17.6564L9.8783 22.6062V24.0204H11.2925L16.2423 19.0706L20.5061 23.3345L21.9203 21.9203C20.7465 20.7465 20.7465 18.8514 21.9203 17.6776L25.4559 14.1421L26.163 14.8492C26.5519 15.2381 27.1883 15.2381 27.5772 14.8492C27.9661 14.4603 27.9661 13.8239 27.5772 13.435Z"})),c.createElement("defs",null,c.createElement("clipPath",{id:"push_pin_clip"},c.createElement("rect",{width:24,height:24,fill:"white",transform:"translate(16.9706) rotate(45)"})))),rk=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5384 3H9.4616H9.46159C8.51409 2.99999 7.74834 2.99998 7.12792 3.05067C6.48863 3.10291 5.92481 3.21341 5.40244 3.47957C4.57453 3.90141 3.90141 4.57453 3.47957 5.40244C3.21341 5.92481 3.10291 6.48863 3.05067 7.12792C2.99998 7.74834 2.99999 8.51409 3 9.46158V9.46159V14.5384V14.5384C2.99999 15.4859 2.99998 16.2517 3.05067 16.8721C3.10291 17.5114 3.21341 18.0752 3.47957 18.5976C3.90141 19.4255 4.57453 20.0986 5.40244 20.5204C5.92481 20.7866 6.48863 20.8971 7.12792 20.9493C7.74834 21 8.51409 21 9.46159 21H14.5384C15.4859 21 16.2517 21 16.8721 20.9493C17.5114 20.8971 18.0752 20.7866 18.5976 20.5204C19.4255 20.0986 20.0986 19.4255 20.5204 18.5976C20.7866 18.0752 20.8971 17.5114 20.9493 16.8721C21 16.2517 21 15.4859 21 14.5384V9.46159C21 8.51409 21 7.74834 20.9493 7.12792C20.8971 6.48863 20.7866 5.92481 20.5204 5.40244C20.0986 4.57453 19.4255 3.90141 18.5976 3.47957C18.0752 3.21341 17.5114 3.10291 16.8721 3.05067C16.2517 2.99998 15.4859 2.99999 14.5384 3H14.5384ZM6.21963 5.08338C6.44595 4.96807 6.74652 4.88783 7.2745 4.8447C7.81298 4.8007 8.50506 4.8 9.5 4.8H11.1L11.1 13.2018H4.8V9.5C4.8 8.50506 4.8007 7.81298 4.8447 7.2745C4.88783 6.74652 4.96807 6.44595 5.08338 6.21963C5.33265 5.7304 5.7304 5.33265 6.21963 5.08338ZM4.8003 15.0018H11.1V19.2H9.5C8.50506 19.2 7.81298 19.1993 7.2745 19.1553C6.74652 19.1122 6.44595 19.0319 6.21963 18.9166C5.7304 18.6673 5.33265 18.2696 5.08338 17.7804C4.96807 17.5541 4.88783 17.2535 4.8447 16.7255C4.80851 16.2826 4.80161 15.7357 4.8003 15.0018ZM12.9 19.2H14.5C15.4949 19.2 16.187 19.1993 16.7255 19.1553C17.2535 19.1122 17.5541 19.0319 17.7804 18.9166C18.2696 18.6673 18.6673 18.2696 18.9166 17.7804C19.0319 17.5541 19.1122 17.2535 19.1553 16.7255C19.1993 16.187 19.2 15.4949 19.2 14.5V10.7969H12.9V19.2ZM12.9 8.99689V4.8H14.5C15.4949 4.8 16.187 4.8007 16.7255 4.8447C17.2535 4.88783 17.5541 4.96807 17.7804 5.08338C18.2696 5.33265 18.6673 5.7304 18.9166 6.21963C19.0319 6.44595 19.1122 6.74652 19.1553 7.2745C19.1915 7.71718 19.1984 8.26366 19.1997 8.99689H12.9Z",fill:"currentColor"})),ok=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 7C3 5.59987 3 4.8998 3.27248 4.36502C3.51217 3.89462 3.89462 3.51217 4.36502 3.27248C4.8998 3 5.59987 3 7 3H17C18.4001 3 19.1002 3 19.635 3.27248C20.1054 3.51217 20.4878 3.89462 20.7275 4.36502C21 4.8998 21 5.59987 21 7C21 8.40013 21 9.1002 20.7275 9.63498C20.4878 10.1054 20.1054 10.4878 19.635 10.7275C19.1002 11 18.4001 11 17 11H7C5.59987 11 4.8998 11 4.36502 10.7275C3.89462 10.4878 3.51217 10.1054 3.27248 9.63498C3 9.1002 3 8.40013 3 7ZM7 4.8H17C17.7298 4.8 18.1688 4.8014 18.4954 4.82808C18.7167 4.84616 18.8016 4.871 18.8207 4.87778C18.9501 4.94448 19.0555 5.04989 19.1222 5.17932C19.129 5.19843 19.1538 5.28331 19.1719 5.50458C19.1986 5.83116 19.2 6.27023 19.2 7C19.2 7.72977 19.1986 8.16884 19.1719 8.49542C19.1538 8.71668 19.129 8.80156 19.1222 8.82068C19.0555 8.95011 18.9501 9.05552 18.8207 9.12222C18.8016 9.129 18.7167 9.15384 18.4954 9.17192C18.1688 9.1986 17.7298 9.2 17 9.2H7C6.27023 9.2 5.83116 9.1986 5.50458 9.17192C5.2833 9.15384 5.19843 9.129 5.17932 9.12222C5.04989 9.05552 4.94448 8.95011 4.87778 8.82068C4.871 8.80158 4.84616 8.7167 4.82808 8.49542C4.8014 8.16884 4.8 7.72977 4.8 7C4.8 6.27023 4.8014 5.83116 4.82808 5.50458C4.84616 5.2833 4.871 5.19842 4.87778 5.17932C4.94448 5.04989 5.04989 4.94448 5.17932 4.87778C5.19842 4.871 5.2833 4.84616 5.50458 4.82808C5.83116 4.8014 6.27023 4.8 7 4.8ZM19.1208 8.82399C19.1206 8.82466 19.1204 8.82504 19.1205 8.82509C19.1205 8.82519 19.1212 8.82343 19.1222 8.82068C19.1217 8.82185 19.1211 8.82334 19.1208 8.82399ZM18.8251 9.12045C18.8251 9.12047 18.8254 9.1203 18.8251 9.12045V9.12045Z",fill:"currentColor"}),c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 17C3 15.5999 3 14.8998 3.27248 14.365C3.51217 13.8946 3.89462 13.5122 4.36502 13.2725C4.8998 13 5.59987 13 7 13H17C18.4001 13 19.1002 13 19.635 13.2725C20.1054 13.5122 20.4878 13.8946 20.7275 14.365C21 14.8998 21 15.5999 21 17C21 18.4001 21 19.1002 20.7275 19.635C20.4878 20.1054 20.1054 20.4878 19.635 20.7275C19.1002 21 18.4001 21 17 21H7C5.59987 21 4.8998 21 4.36502 20.7275C3.89462 20.4878 3.51217 20.1054 3.27248 19.635C3 19.1002 3 18.4001 3 17ZM7 14.8H17C17.7298 14.8 18.1688 14.8014 18.4954 14.8281C18.7167 14.8462 18.8016 14.871 18.8207 14.8778C18.9501 14.9445 19.0555 15.0499 19.1222 15.1793C19.129 15.1984 19.1538 15.2833 19.1719 15.5046C19.1986 15.8312 19.2 16.2702 19.2 17C19.2 17.7298 19.1986 18.1688 19.1719 18.4954C19.1538 18.7167 19.129 18.8016 19.1222 18.8207C19.0555 18.9501 18.9501 19.0555 18.8207 19.1222C18.8016 19.129 18.7167 19.1538 18.4954 19.1719C18.1688 19.1986 17.7298 19.2 17 19.2H7C6.27023 19.2 5.83116 19.1986 5.50458 19.1719C5.2833 19.1538 5.19843 19.129 5.17932 19.1222C5.04989 19.0555 4.94448 18.9501 4.87778 18.8207C4.871 18.8016 4.84616 18.7167 4.82808 18.4954C4.8014 18.1688 4.8 17.7298 4.8 17C4.8 16.2702 4.8014 15.8312 4.82808 15.5046C4.84616 15.2833 4.871 15.1984 4.87778 15.1793C4.94448 15.0499 5.04989 14.9445 5.17932 14.8778C5.19842 14.871 5.2833 14.8462 5.50458 14.8281C5.83116 14.8014 6.27023 14.8 7 14.8ZM19.121 15.176C19.1206 15.1752 19.1205 15.1749 19.1205 15.1749C19.1204 15.175 19.1211 15.1769 19.1222 15.1793C19.1218 15.1781 19.1212 15.1766 19.121 15.176ZM19.1222 18.8207C19.1211 18.8231 19.1204 18.825 19.1205 18.8251C19.1205 18.8251 19.1207 18.8248 19.121 18.8239C19.1213 18.8233 19.1218 18.8218 19.1222 18.8207ZM18.8207 19.1222C18.8234 19.1212 18.8252 19.1205 18.8251 19.1205C18.825 19.1204 18.8245 19.1206 18.8235 19.121C18.8229 19.1213 18.8216 19.1218 18.8207 19.1222Z",fill:"currentColor"})),ak=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M17.645 6.35C16.195 4.9 14.205 4 11.995 4C7.575 4 4.005 7.58 4.005 12C4.005 16.42 7.575 20 11.995 20C15.725 20 18.835 17.45 19.725 14H17.645C16.825 16.33 14.605 18 11.995 18C8.685 18 5.995 15.31 5.995 12C5.995 8.69 8.685 6 11.995 6C13.655 6 15.135 6.69 16.215 7.78L12.995 11H19.995V4L17.645 6.35Z"})),sk=e=>c.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("circle",{cx:8,cy:8,r:6.3,stroke:"currentColor",strokeWidth:1.4}),c.createElement("path",{d:"M5.5 8H10.5",stroke:"currentColor",strokeWidth:1.4,strokeLinecap:"round"})),ik=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"#000",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M1 21L12 2L23 21H1ZM3.6 19.5H20.4L12 5L3.6 19.5ZM12.1044 18.075C12.3181 18.075 12.4958 18.0027 12.6375 17.8581C12.7792 17.7135 12.85 17.5344 12.85 17.3206C12.85 17.1069 12.7777 16.9292 12.6331 16.7875C12.4885 16.6458 12.3094 16.575 12.0956 16.575C11.8819 16.575 11.7042 16.6473 11.5625 16.7919C11.4208 16.9365 11.35 17.1156 11.35 17.3294C11.35 17.5431 11.4223 17.7208 11.5669 17.8625C11.7115 18.0042 11.8906 18.075 12.1044 18.075ZM11.35 15.3H12.85V9.7H11.35V15.3Z"})),lk=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M12 5.53491V2.53491L8 6.53491L12 10.5349V7.53491C15.31 7.53491 18 10.2249 18 13.5349C18 16.5049 15.83 18.9649 13 19.4449V21.4649C16.95 20.9749 20 17.6149 20 13.5349C20 9.11491 16.42 5.53491 12 5.53491Z"}),c.createElement("path",{d:"M6 13.5349C6 11.8849 6.67 10.3849 7.76 9.29491L6.34 7.87491C4.9 9.32491 4 11.3249 4 13.5349C4 17.6149 7.05 20.9749 11 21.4649V19.4449C8.17 18.9649 6 16.5049 6 13.5349Z"})),ck=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,viewBox:"0 0 25 24",fill:"currentColor",...e},c.createElement("path",{d:"M13.9041 3.00155C8.81407 2.86155 4.64407 6.94155 4.64407 12.0015H2.85407C2.40407 12.0015 2.18407 12.5415 2.50407 12.8515L5.29407 15.6515C5.49407 15.8515 5.80407 15.8515 6.00407 15.6515L8.79407 12.8515C9.11407 12.5415 8.88407 12.0015 8.44407 12.0015H6.64407C6.64407 8.10154 9.82407 4.95155 13.7441 5.00155C17.4641 5.05155 20.5941 8.18154 20.6441 11.9015C20.6941 15.8115 17.5441 19.0015 13.6441 19.0015C12.0341 19.0015 10.5441 18.4515 9.36407 17.5215C8.96407 17.2115 8.40407 17.2415 8.04407 17.6015C7.62407 18.0315 7.65407 18.7315 8.12407 19.1015C9.64407 20.2915 11.5641 21.0015 13.6441 21.0015C18.6941 21.0015 22.7841 16.8315 22.6441 11.7415C22.5141 7.05154 18.5941 3.13155 13.9041 3.00155ZM13.3941 8.00155C12.9841 8.00155 12.6441 8.34155 12.6441 8.75155V12.4315C12.6441 12.7815 12.8341 13.1115 13.1341 13.2915L16.2541 15.1415C16.6141 15.3515 17.0741 15.2315 17.2841 14.8815C17.4941 14.5215 17.3741 14.0615 17.0241 13.8515L14.1441 12.1415V8.74155C14.1441 8.34155 13.8141 8.00155 13.3941 8.00155Z"})),uk=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M12 2.16113C7.8 2.16113 4 5.38113 4 10.3611C4 13.5411 6.45 17.2811 11.34 21.5911C11.72 21.9211 12.29 21.9211 12.67 21.5911C17.55 17.2811 20 13.5411 20 10.3611C20 5.38113 16.2 2.16113 12 2.16113ZM12 12.1611C10.9 12.1611 10 11.2611 10 10.1611C10 9.06113 10.9 8.16113 12 8.16113C13.1 8.16113 14 9.06113 14 10.1611C14 11.2611 13.1 12.1611 12 12.1611Z",fill:"currentColor"})),W9=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("g",{clipPath:"url(#clip0_2951_18849)"},c.createElement("path",{d:"M6.41531 8.91849C5.95531 8.45849 5.16531 8.53849 4.85531 9.10849C4.57531 9.61849 4.35531 10.1385 4.18531 10.6885C3.99531 11.3185 4.49531 11.9385 5.14531 11.9385H5.15531C5.58531 11.9385 5.97531 11.6585 6.09531 11.2385C6.21531 10.8385 6.37531 10.4485 6.57531 10.0685C6.79531 9.69849 6.72531 9.22849 6.41531 8.91849ZM5.16531 13.9385H5.14531C4.49531 13.9385 3.99531 14.5585 4.18531 15.1885C4.34531 15.7285 4.56531 16.2585 4.84531 16.7685C5.15531 17.3385 5.95531 17.4285 6.41531 16.9685C6.71531 16.6585 6.79531 16.1985 6.58531 15.8185C6.38531 15.4485 6.22531 15.0585 6.10531 14.6585C5.98531 14.2185 5.59531 13.9385 5.16531 13.9385ZM8.01531 19.9585C8.52531 20.2385 9.05531 20.4585 9.60531 20.6185C10.2253 20.7985 10.8453 20.2985 10.8453 19.6585V19.6285C10.8453 19.1985 10.5653 18.8085 10.1453 18.6885C9.74531 18.5685 9.36531 18.4085 8.99531 18.2085C8.61531 17.9985 8.13531 18.0685 7.83531 18.3785L7.80531 18.4085C7.35531 18.8585 7.44531 19.6485 8.01531 19.9585ZM12.8553 5.00849V4.34849C12.8553 3.45849 11.7753 3.00849 11.1453 3.63849L9.02531 5.76849C8.62531 6.16849 8.62531 6.80849 9.02531 7.19849L11.1553 9.27849C11.7853 9.89849 12.8553 9.44849 12.8553 8.55849V7.02849C15.6953 7.50849 17.8553 9.96849 17.8553 12.9385C17.8553 15.6685 16.0353 17.9585 13.5353 18.6885C13.1253 18.8085 12.8553 19.1985 12.8553 19.6285V19.6485C12.8553 20.2985 13.4653 20.7885 14.0853 20.6085C17.4253 19.6485 19.8553 16.5785 19.8553 12.9385C19.8553 8.85849 16.8053 5.49849 12.8553 5.00849Z"})),c.createElement("defs",null,c.createElement("clipPath",{id:"clip0_2951_18849"},c.createElement("rect",{width:24,height:24,rx:12})))),G9=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("g",{clipPath:"url(#clip0_2951_18864)"},c.createElement("path",{d:"M14.9745 5.76625L12.8445 3.63625C12.2245 3.01625 11.1445 3.45625 11.1445 4.34625V5.00625C7.20453 5.49625 4.14453 8.85625 4.14453 12.9363C4.14453 16.5763 6.57453 19.6463 9.91453 20.6163C10.5345 20.7963 11.1445 20.2962 11.1445 19.6562V19.6263C11.1445 19.1963 10.8745 18.8063 10.4645 18.6863C7.96453 17.9663 6.14453 15.6663 6.14453 12.9363C6.14453 9.96625 8.30453 7.50625 11.1445 7.02625V8.55625C11.1445 9.44625 12.2145 9.88625 12.8445 9.26625L14.9745 7.18625C15.3745 6.80625 15.3745 6.16625 14.9745 5.76625ZM19.8145 10.6963C19.6545 10.1463 19.4345 9.61625 19.1545 9.10625C18.8445 8.53625 18.0545 8.44625 17.5945 8.90625L17.5845 8.91625C17.2745 9.22625 17.2045 9.69625 17.4145 10.0763C17.6145 10.4463 17.7745 10.8363 17.8945 11.2363C18.0145 11.6562 18.4045 11.9363 18.8345 11.9363H18.8545C19.5045 11.9363 20.0045 11.3163 19.8145 10.6963ZM13.1445 19.6163V19.6363C13.1445 20.2863 13.7645 20.7763 14.3845 20.5963C14.9345 20.4363 15.4645 20.2163 15.9745 19.9363C16.5445 19.6263 16.6345 18.8363 16.1745 18.3763L16.1545 18.3563C15.8445 18.0463 15.3745 17.9763 14.9945 18.1863C14.6245 18.3963 14.2345 18.5563 13.8345 18.6763C13.4245 18.7963 13.1445 19.1863 13.1445 19.6163ZM17.5845 16.9663C18.0445 17.4263 18.8345 17.3363 19.1445 16.7663C19.4245 16.2563 19.6445 15.7263 19.8145 15.1763C19.9945 14.5563 19.5045 13.9363 18.8545 13.9363H18.8345C18.3945 13.9363 18.0145 14.2163 17.8945 14.6363C17.7745 15.0363 17.6145 15.4263 17.4145 15.8063C17.2045 16.1863 17.2845 16.6663 17.5845 16.9663Z"})),c.createElement("defs",null,c.createElement("clipPath",{id:"clip0_2951_18864"},c.createElement("rect",{width:24,height:24,rx:12})))),dk=e=>c.createElement("svg",{width:14,height:14,viewBox:"0 0 14 14",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M6.66667 12.0702C9.65094 12.0702 12.0702 9.65094 12.0702 6.66667C12.0702 3.68239 9.65094 1.26316 6.66667 1.26316C3.68239 1.26316 1.26316 3.68239 1.26316 6.66667C1.26316 9.65094 3.68239 12.0702 6.66667 12.0702ZM6.66667 13.3333C2.98477 13.3333 0 10.3486 0 6.66667C0 2.98477 2.98477 0 6.66667 0C10.3486 0 13.3333 2.98477 13.3333 6.66667C13.3333 10.3486 10.3486 13.3333 6.66667 13.3333Z"})),fk=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M17.59 3.59C17.21 3.21 16.7 3 16.17 3H5C3.89 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V7.83C21 7.3 20.79 6.79 20.41 6.42L17.59 3.59ZM12 19C10.34 19 9 17.66 9 16C9 14.34 10.34 13 12 13C13.66 13 15 14.34 15 16C15 17.66 13.66 19 12 19ZM13 9H7C5.9 9 5 8.1 5 7C5 5.9 5.9 5 7 5H13C14.1 5 15 5.9 15 7C15 8.1 14.1 9 13 9Z"})),R9=e=>c.createElement("svg",{width:148,height:148,viewBox:"0 0 148 148",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("ellipse",{opacity:.1,cx:74.0005,cy:143.164,rx:73.5786,ry:4.41472,fill:"currentColor"}),c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M105.825 24.4994C107.093 22.7738 109.52 22.4026 111.245 23.6702C112.971 24.9379 113.342 27.3645 112.074 29.0901L107.352 35.5177C106.085 37.2433 103.658 37.6145 101.932 36.3468C100.207 35.0792 99.8357 32.6526 101.103 30.927L105.825 24.4994ZM109.503 26.0421C109.087 25.7368 108.503 25.8262 108.197 26.2418L103.475 32.6695C103.17 33.0851 103.259 33.6696 103.675 33.9749C104.091 34.2803 104.675 34.1909 104.98 33.7752L109.702 27.3476C110.008 26.932 109.918 26.3475 109.503 26.0421ZM35.9101 62.584C35.9101 43.7353 51.19 28.4554 70.0387 28.4554C88.8874 28.4554 104.167 43.7353 104.167 62.584C104.167 81.4326 88.8874 96.7125 70.0387 96.7125C51.19 96.7125 35.9101 81.4326 35.9101 62.584ZM70.0387 25.5123C49.5645 25.5123 32.967 42.1098 32.967 62.584C32.967 83.0581 49.5645 99.6556 70.0387 99.6556C76.7693 99.6556 83.081 97.862 88.5218 94.7266L93.3336 99.5383C93.1961 101.583 93.9089 103.675 95.472 105.238L110.32 120.085C113.193 122.959 117.852 122.959 120.725 120.085L123.927 116.884C126.8 114.011 126.8 109.352 123.927 106.478L109.079 91.6307C107.516 90.0673 105.424 89.3545 103.378 89.4925L99.2711 85.3853C104.183 79.0966 107.11 71.1821 107.11 62.584C107.11 42.1098 90.5128 25.5123 70.0387 25.5123ZM100.188 90.4646L97.3623 87.6388C95.4803 89.6901 93.3703 91.5289 91.0725 93.115L94.3054 96.3479C94.6194 95.8062 95.0083 95.2959 95.472 94.8322L98.6735 91.6308C99.1369 91.1673 99.6468 90.7786 100.188 90.4646ZM87.0534 58.1284C87.7803 57.765 88.075 56.8811 87.7115 56.1541C87.3481 55.4272 86.4641 55.1326 85.7372 55.496L74.1912 61.269C73.6927 61.5183 73.3777 62.0278 73.3777 62.5852C73.3777 63.1426 73.6927 63.6522 74.1912 63.9014L85.7372 69.6744C86.4641 70.0379 87.3481 69.7433 87.7115 69.0163C88.075 68.2894 87.7803 67.4055 87.0534 67.042L78.1398 62.5852L87.0534 58.1284ZM52.3644 56.1541C52.0009 56.8811 52.2956 57.765 53.0225 58.1284L61.9361 62.5852L53.0225 67.042C52.2956 67.4055 52.0009 68.2894 52.3644 69.0163C52.7279 69.7433 53.6118 70.0379 54.3387 69.6744L65.8847 63.9014C66.3833 63.6522 66.6982 63.1426 66.6982 62.5852C66.6982 62.0278 66.3833 61.5183 65.8847 61.269L54.3387 55.496C53.6118 55.1326 52.7279 55.4272 52.3644 56.1541ZM45.5314 62.5836C45.5314 49.0488 56.5035 38.0767 70.0383 38.0767C83.5731 38.0767 94.5452 49.0488 94.5452 62.5836C94.5452 76.1183 83.5731 87.0905 70.0383 87.0905C56.5035 87.0905 45.5314 76.1183 45.5314 62.5836ZM70.0383 35.1335C54.8781 35.1335 42.5882 47.4233 42.5882 62.5836C42.5882 77.7438 54.8781 90.0336 70.0383 90.0336C85.1985 90.0336 97.4883 77.7438 97.4883 62.5836C97.4883 47.4233 85.1985 35.1335 70.0383 35.1335ZM122.168 38.7523C121.517 36.7124 119.336 35.5865 117.296 36.2374L109.698 38.662C107.658 39.3129 106.532 41.4942 107.183 43.5341C107.834 45.5739 110.015 46.6999 112.055 46.049L119.653 43.6244C121.693 42.9735 122.819 40.7922 122.168 38.7523ZM118.191 39.0412C118.682 38.8845 119.208 39.1557 119.364 39.647C119.521 40.1383 119.25 40.6637 118.759 40.8205L111.16 43.2451C110.669 43.4019 110.144 43.1307 109.987 42.6393C109.83 42.148 110.101 41.6226 110.593 41.4658L118.191 39.0412ZM22.9291 84.4847C20.8734 85.0837 19.6925 87.2358 20.2916 89.2915C20.8906 91.3472 23.0427 92.5281 25.0984 91.9291L32.7556 89.6977C34.8113 89.0987 35.9921 86.9466 35.3931 84.8909C34.7941 82.8352 32.642 81.6544 30.5863 82.2534L22.9291 84.4847ZM23.1172 88.4681C22.9729 87.973 23.2573 87.4546 23.7525 87.3103L31.4097 85.079C31.9048 84.9347 32.4232 85.2192 32.5675 85.7143C32.7118 86.2095 32.4273 86.7278 31.9322 86.8721L24.275 89.1034C23.7798 89.2477 23.2615 88.9633 23.1172 88.4681ZM30.7137 104.725C29.0207 103.414 28.7111 100.979 30.0221 99.2863L34.9054 92.9803C36.2164 91.2874 38.6515 90.9778 40.3445 92.2888C42.0374 93.5997 42.347 96.0349 41.036 97.7278L36.1528 104.034C34.8418 105.727 32.4066 106.036 30.7137 104.725ZM32.3491 101.088C32.0333 101.496 32.1079 102.083 32.5157 102.398C32.9234 102.714 33.51 102.64 33.8258 102.232L38.709 95.9258C39.0248 95.5181 38.9502 94.9315 38.5425 94.6157C38.1347 94.3 37.5481 94.3745 37.2324 94.7823L32.3491 101.088Z",fill:"currentColor"})),hk=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"currentColor",...e},c.createElement("path",{d:"M17.84 9.51061L10.4817 2.15228C10.1734 1.84395 9.74837 1.66895 9.30671 1.66895H3.33171C2.41504 1.66895 1.66504 2.41895 1.66504 3.33561V9.31061C1.66504 9.75228 1.84004 10.1773 2.15671 10.4856L9.51504 17.8439C10.165 18.4939 11.2234 18.4939 11.8734 17.8439L17.8484 11.8689C18.4984 11.2189 18.4984 10.1689 17.84 9.51061ZM10.69 16.6689L3.33171 9.31061V3.33561H9.30671L16.665 10.6939L10.69 16.6689Z"}),c.createElement("path",{d:"M5.41504 6.66895C6.10539 6.66895 6.66504 6.1093 6.66504 5.41895C6.66504 4.72859 6.10539 4.16895 5.41504 4.16895C4.72468 4.16895 4.16504 4.72859 4.16504 5.41895C4.16504 6.1093 4.72468 6.66895 5.41504 6.66895Z"})),gk=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M19.4999 12C19.4999 11.77 19.4899 11.55 19.4699 11.32L21.3299 9.91C21.7299 9.61 21.8399 9.05 21.5899 8.61L19.7199 5.38C19.4699 4.94 18.9299 4.76 18.4699 4.96L16.3199 5.87C15.9499 5.61 15.5599 5.38 15.1499 5.19L14.8599 2.88C14.7999 2.38 14.3699 2 13.8699 2H10.1399C9.62991 2 9.19991 2.38 9.13991 2.88L8.84991 5.19C8.43991 5.38 8.04991 5.61 7.67991 5.87L5.52991 4.96C5.06991 4.76 4.52991 4.94 4.27991 5.38L2.40991 8.62C2.15991 9.06 2.26991 9.61 2.66991 9.92L4.52991 11.33C4.50991 11.55 4.49991 11.77 4.49991 12C4.49991 12.23 4.50991 12.45 4.52991 12.68L2.66991 14.09C2.26991 14.39 2.15991 14.95 2.40991 15.39L4.27991 18.62C4.52991 19.06 5.06991 19.24 5.52991 19.04L7.67991 18.13C8.04991 18.39 8.43991 18.62 8.84991 18.81L9.13991 21.12C9.19991 21.62 9.62991 22 10.1299 22H13.8599C14.3599 22 14.7899 21.62 14.8499 21.12L15.1399 18.81C15.5499 18.62 15.9399 18.39 16.3099 18.13L18.4599 19.04C18.9199 19.24 19.4599 19.06 19.7099 18.62L21.5799 15.39C21.8299 14.95 21.7199 14.4 21.3199 14.09L19.4599 12.68C19.4899 12.45 19.4999 12.23 19.4999 12ZM12.0399 15.5C10.1099 15.5 8.53991 13.93 8.53991 12C8.53991 10.07 10.1099 8.5 12.0399 8.5C13.9699 8.5 15.5399 10.07 15.5399 12C15.5399 13.93 13.9699 15.5 12.0399 15.5Z",fill:"currentColor"})),pk=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M19.4323 12.98C19.4723 12.66 19.5023 12.34 19.5023 12C19.5023 11.66 19.4723 11.34 19.4323 11.02L21.5423 9.37C21.7323 9.22 21.7823 8.95 21.6623 8.73L19.6623 5.27C19.5723 5.11 19.4023 5.02 19.2223 5.02C19.1623 5.02 19.1023 5.03 19.0523 5.05L16.5623 6.05C16.0423 5.65 15.4823 5.32 14.8723 5.07L14.4923 2.42C14.4623 2.18 14.2523 2 14.0023 2H10.0023C9.75228 2 9.54228 2.18 9.51228 2.42L9.13228 5.07C8.52228 5.32 7.96228 5.66 7.44228 6.05L4.95228 5.05C4.89228 5.03 4.83228 5.02 4.77228 5.02C4.60228 5.02 4.43228 5.11 4.34228 5.27L2.34228 8.73C2.21228 8.95 2.27228 9.22 2.46228 9.37L4.57228 11.02C4.53228 11.34 4.50228 11.67 4.50228 12C4.50228 12.33 4.53228 12.66 4.57228 12.98L2.46228 14.63C2.27228 14.78 2.22228 15.05 2.34228 15.27L4.34228 18.73C4.43228 18.89 4.60228 18.98 4.78228 18.98C4.84228 18.98 4.90228 18.97 4.95228 18.95L7.44228 17.95C7.96228 18.35 8.52228 18.68 9.13228 18.93L9.51228 21.58C9.54228 21.82 9.75228 22 10.0023 22H14.0023C14.2523 22 14.4623 21.82 14.4923 21.58L14.8723 18.93C15.4823 18.68 16.0423 18.34 16.5623 17.95L19.0523 18.95C19.1123 18.97 19.1723 18.98 19.2323 18.98C19.4023 18.98 19.5723 18.89 19.6623 18.73L21.6623 15.27C21.7823 15.05 21.7323 14.78 21.5423 14.63L19.4323 12.98ZM17.4523 11.27C17.4923 11.58 17.5023 11.79 17.5023 12C17.5023 12.21 17.4823 12.43 17.4523 12.73L17.3123 13.86L18.2023 14.56L19.2823 15.4L18.5823 16.61L17.3123 16.1L16.2723 15.68L15.3723 16.36C14.9423 16.68 14.5323 16.92 14.1223 17.09L13.0623 17.52L12.9023 18.65L12.7023 20H11.3023L10.9523 17.52L9.89228 17.09C9.46228 16.91 9.06228 16.68 8.66228 16.38L7.75228 15.68L6.69228 16.11L5.42228 16.62L4.72228 15.41L5.80228 14.57L6.69228 13.87L6.55228 12.74C6.52228 12.43 6.50228 12.2 6.50228 12C6.50228 11.8 6.52228 11.57 6.55228 11.27L6.69228 10.14L5.80228 9.44L4.72228 8.6L5.42228 7.39L6.69228 7.9L7.73228 8.32L8.63228 7.64C9.06228 7.32 9.47228 7.08 9.88228 6.91L10.9423 6.48L11.1023 5.35L11.3023 4H12.6923L13.0423 6.48L14.1023 6.91C14.5323 7.09 14.9323 7.32 15.3323 7.62L16.2423 8.32L17.3023 7.89L18.5723 7.38L19.2723 8.59L18.2023 9.44L17.3123 10.14L17.4523 11.27ZM12.0023 8C9.79228 8 8.00228 9.79 8.00228 12C8.00228 14.21 9.79228 16 12.0023 16C14.2123 16 16.0023 14.21 16.0023 12C16.0023 9.79 14.2123 8 12.0023 8ZM12.0023 14C10.9023 14 10.0023 13.1 10.0023 12C10.0023 10.9 10.9023 10 12.0023 10C13.1023 10 14.0023 10.9 14.0023 12C14.0023 13.1 13.1023 14 12.0023 14Z"})),Ck=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M22 9.50664H17.21L12.82 2.93664C12.42 2.34664 11.55 2.34664 11.16 2.93664L6.77 9.50664H2C1.45 9.50664 1 9.95664 1 10.5066C1 10.5966 1.01 10.6866 1.04 10.7766L3.58 20.0466C3.81 20.8866 4.58 21.5066 5.5 21.5066H18.5C19.42 21.5066 20.19 20.8866 20.43 20.0466L22.97 10.7766L23 10.5066C23 9.95664 22.55 9.50664 22 9.50664ZM11.99 5.29664L14.8 9.50664H9.18L11.99 5.29664ZM12 17.5066C10.9 17.5066 10 16.6066 10 15.5066C10 14.4066 10.9 13.5066 12 13.5066C13.1 13.5066 14 14.4066 14 15.5066C14 16.6066 13.1 17.5066 12 17.5066Z",fill:"currentColor"})),mk=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M18 2H10.83C10.3 2 9.79 2.21 9.41 2.59L4.59 7.41C4.21 7.79 4 8.3 4 8.83V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V4C20 2.9 19.1 2 18 2ZM11.65 16.65L8.86 13.86C8.54 13.54 8.76 13 9.21 13H11V10.01C11 9.46 11.44 9.02 11.99 9.01C12.55 9 13 9.45 13 10.01V13H14.79C15.24 13 15.46 13.54 15.14 13.85L12.35 16.64C12.16 16.84 11.84 16.84 11.65 16.65Z"})),vk=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M20 2H4C2.9 2 2 2.9 2 4V22L6 18H20C21.1 18 22 17.1 22 16V4C22 2.9 21.1 2 20 2ZM13 14H11V12H13V14ZM12 10C11.45 10 11 9.55 11 9V7C11 6.45 11.45 6 12 6C12.55 6 13 6.45 13 7V9C13 9.55 12.55 10 12 10Z"})),Xo=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:12,height:8,viewBox:"0 0 12 8",fill:"currentColor",...e},c.createElement("path",{d:"M0.666667 8H3.33333C3.7 8 4 7.7 4 7.33333C4 6.96667 3.7 6.66667 3.33333 6.66667H0.666667C0.3 6.66667 0 6.96667 0 7.33333C0 7.7 0.3 8 0.666667 8ZM0 0.666667C0 1.03333 0.3 1.33333 0.666667 1.33333H11.3333C11.7 1.33333 12 1.03333 12 0.666667C12 0.3 11.7 0 11.3333 0H0.666667C0.3 0 0 0.3 0 0.666667ZM0.666667 4.66667H7.33333C7.7 4.66667 8 4.36667 8 4C8 3.63333 7.7 3.33333 7.33333 3.33333H0.666667C0.3 3.33333 0 3.63333 0 4C0 4.36667 0.3 4.66667 0.666667 4.66667Z"})),wk=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"currentColor",...e},c.createElement("path",{d:"M13.7241 10.8703C13.4316 10.5778 12.9591 10.5778 12.6666 10.8703L9.74913 13.7803V2.40283C9.74913 1.99033 9.41163 1.65283 8.99913 1.65283C8.58663 1.65283 8.24913 1.99033 8.24913 2.40283V13.7878L5.33913 10.8778C5.04663 10.5853 4.57413 10.5853 4.28163 10.8778C3.98913 11.1703 3.98913 11.6428 4.28163 11.9353L8.47413 16.1278C8.76663 16.4203 9.23913 16.4203 9.53163 16.1278L13.7241 11.9353C14.0091 11.6428 14.0091 11.1628 13.7241 10.8703Z"})),yk=e=>c.createElement("svg",{preserveAspectRatio:"none",width:"100%",height:"100%",overflow:"visible",style:{display:"block"},viewBox:"0 0 59 62.0436",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("g",{id:"Vector"},c.createElement("path",{d:"M20 36.0436C20 33.2822 17.7614 31.0436 15 31.0436C12.2386 31.0436 10 33.2822 10 36.0436C10 38.805 12.2386 41.0436 15 41.0436V43.0436C11.134 43.0436 8 39.9096 8 36.0436C8 32.1776 11.134 29.0436 15 29.0436C18.866 29.0436 22 32.1776 22 36.0436C22 39.9096 18.866 43.0436 15 43.0436V41.0436C17.7614 41.0436 20 38.805 20 36.0436Z"}),c.createElement("path",{d:"M39 6.0436C39 3.83446 37.2091 2.0436 35 2.0436C32.7909 2.0436 31 3.83446 31 6.0436C31 8.25274 32.7909 10.0436 35 10.0436V12.0436C31.6863 12.0436 29 9.3573 29 6.0436C29 2.72989 31.6863 0.0435963 35 0.0435963C38.3137 0.0435963 41 2.72989 41 6.0436C41 9.3573 38.3137 12.0436 35 12.0436V10.0436C37.2091 10.0436 39 8.25274 39 6.0436Z"}),c.createElement("path",{d:"M16 36.0436C16 36.5959 15.5523 37.0436 15 37.0436C14.4477 37.0436 14 36.5959 14 36.0436C14 35.4913 14.4477 35.0436 15 35.0436C15.5523 35.0436 16 35.4913 16 36.0436Z"}),c.createElement("path",{d:"M15 37.0436C14.4477 37.0436 14 36.5959 14 36.0436C14 35.4913 14.4477 35.0436 15 35.0436C15.5523 35.0436 16 35.4913 16 36.0436C16 36.5959 15.5523 37.0436 15 37.0436Z"}),c.createElement("path",{d:"M36 6.00942C36 6.5617 35.5523 7.00942 35 7.00942C34.4477 7.00942 34 6.5617 34 6.00942C34 5.45713 34.4477 5.00942 35 5.00942C35.5523 5.00942 36 5.45713 36 6.00942Z"}),c.createElement("path",{d:"M35 7.00942C34.4477 7.00942 34 6.5617 34 6.00942C34 5.45713 34.4477 5.00942 35 5.00942C35.5523 5.00942 36 5.45713 36 6.00942C36 6.5617 35.5523 7.00942 35 7.00942Z"}),c.createElement("path",{d:"M47 17.0436C47 17.5959 46.5523 18.0436 46 18.0436C45.4477 18.0436 45 17.5959 45 17.0436C45 16.4913 45.4477 16.0436 46 16.0436C46.5523 16.0436 47 16.4913 47 17.0436Z"}),c.createElement("path",{d:"M46 18.0436C45.4477 18.0436 45 17.5959 45 17.0436C45 16.4913 45.4477 16.0436 46 16.0436C46.5523 16.0436 47 16.4913 47 17.0436C47 17.5959 46.5523 18.0436 46 18.0436Z"}),c.createElement("path",{d:"M31.3164 4.12074L10.8164 33.1207L9.18359 31.9664L29.6836 2.96645L31.3164 4.12074Z"}),c.createElement("path",{d:"M35.3877 12.0045L21.8877 38.0045L20.1123 37.0827L33.6123 11.0827L35.3877 12.0045Z"}),c.createElement("path",{d:"M49.3594 19.526C49.7625 20.0963 50 20.7921 50 21.5436C50 23.4766 48.433 25.0436 46.5 25.0436C44.567 25.0436 43 23.4766 43 21.5436C43 20.7923 43.2367 20.0962 43.6396 19.526C44.0306 20.0796 44.5781 20.5142 45.2178 20.7663C45.08 20.993 45 21.2589 45 21.5436C45 22.372 45.6716 23.0436 46.5 23.0436C47.3284 23.0436 48 22.372 48 21.5436C48 21.2587 47.9192 20.9931 47.7812 20.7663C48.4211 20.5143 48.9682 20.0796 49.3594 19.526Z"}),c.createElement("path",{d:"M47.5273 23.0436C47.7733 23.0436 48.011 23.1345 48.1943 23.2985L52.667 27.2985C53.0168 27.6116 53.1017 28.1259 52.8711 28.5348L51.1787 31.5348C50.9074 32.0158 50.2974 32.186 49.8164 31.9147C49.3354 31.6434 49.1653 31.0334 49.4365 30.5524L50.7334 28.2526L47.1455 25.0436H45.8545L42.3389 28.1872L43.9854 30.4567C44.3095 30.9037 44.2097 31.5289 43.7627 31.8532C43.3156 32.1773 42.6904 32.0775 42.3662 31.6305L40.1904 28.6305C39.8896 28.2155 39.9511 27.6403 40.333 27.2985L44.8057 23.2985C44.989 23.1345 45.2267 23.0436 45.4727 23.0436H47.5273Z"}),c.createElement("path",{d:"M9.11035 34.5495C9.65922 34.6104 10.0551 35.1051 9.99414 35.6539L8.49414 49.1539C8.43315 49.7028 7.93851 50.0987 7.38965 50.0377C6.84078 49.9768 6.44493 49.4821 6.50586 48.9332L8.00586 35.4332C8.06685 34.8844 8.56149 34.4885 9.11035 34.5495Z"}),c.createElement("path",{d:"M20.9131 36.0475C21.4632 35.9997 21.9481 36.4066 21.9961 36.9567L22.9961 48.4567C23.0439 49.0068 22.637 49.4917 22.0869 49.5397C21.5368 49.5875 21.0519 49.1806 21.0039 48.6305L20.0039 37.1305C19.9561 36.5804 20.363 36.0955 20.9131 36.0475Z"}),c.createElement("path",{d:"M37.293 48.3366C37.6835 47.946 38.3165 47.946 38.707 48.3366L41.707 51.3366C42.0976 51.7271 42.0976 52.3601 41.707 52.7506C41.3165 53.1412 40.6835 53.1412 40.293 52.7506L37.293 49.7506C36.9024 49.3601 36.9024 48.7271 37.293 48.3366Z"}),c.createElement("path",{d:"M41.707 48.3366C41.3165 47.946 40.6835 47.946 40.293 48.3366L37.293 51.3366C36.9024 51.7271 36.9024 52.3601 37.293 52.7506C37.6835 53.1412 38.3165 53.1412 38.707 52.7506L41.707 49.7506C42.0976 49.3601 42.0976 48.7271 41.707 48.3366Z"}),c.createElement("path",{d:"M27.3037 57.0436C27.3037 53.1776 24.1697 50.0436 20.3037 50.0436H9C5.13401 50.0436 2 53.1776 2 57.0436V60.0436H27.3037V57.0436ZM17.542 54.0436C18.0943 54.0436 18.542 54.4913 18.542 55.0436C18.542 55.5959 18.0943 56.0436 17.542 56.0436H6.58008C6.02795 56.0434 5.58008 55.5958 5.58008 55.0436C5.58008 54.4914 6.02795 54.0438 6.58008 54.0436H17.542ZM23.3213 54.0436C23.8736 54.0436 24.3213 54.4913 24.3213 55.0436C24.3213 55.5959 23.8736 56.0436 23.3213 56.0436H21.1289C20.5768 56.0433 20.1289 55.5957 20.1289 55.0436C20.1289 54.4915 20.5768 54.0438 21.1289 54.0436H23.3213ZM29.3037 60.0436H58C58.5523 60.0436 59 60.4913 59 61.0436C59 61.5959 58.5523 62.0436 58 62.0436H1C0.447715 62.0436 0 61.5959 0 61.0436V57.0436C0 52.073 4.02944 48.0436 9 48.0436H20.3037C25.2743 48.0436 29.3037 52.073 29.3037 57.0436V60.0436Z"}),c.createElement("path",{d:"M30.6428 1.66142C33.164 -0.731934 37.1797 -0.511815 39.424 2.14291L49.6092 14.1904C51.065 15.9124 50.9575 18.4633 49.3616 20.0563L47.9483 18.6412C48.8077 17.7833 48.866 16.4095 48.0822 15.4821L37.8964 3.4339C36.3945 1.65756 33.7075 1.50969 32.0202 3.11105C30.2142 4.82543 30.3701 7.74948 32.3483 9.26185L44.8815 18.8429C45.81 19.5527 47.1209 19.4667 47.9483 18.6412L49.3616 20.0563L49.2151 20.1957C47.7239 21.5528 45.4882 21.7003 43.8315 20.5513L43.6672 20.4324L31.1333 10.8507C28.1778 8.59092 27.9447 4.22306 30.6428 1.66142Z"}),c.createElement("path",{d:"M51.293 39.3366C51.6835 38.946 52.3165 38.946 52.707 39.3366L56.707 43.3366C57.0976 43.7271 57.0976 44.3601 56.707 44.7506C56.3165 45.1412 55.6835 45.1412 55.293 44.7506L51.293 40.7506C50.9024 40.3601 50.9024 39.7271 51.293 39.3366Z"}),c.createElement("path",{d:"M56.707 39.3366C56.3165 38.946 55.6835 38.946 55.293 39.3366L51.293 43.3366C50.9024 43.7271 50.9024 44.3601 51.293 44.7506C51.6835 45.1412 52.3165 45.1412 52.707 44.7506L56.707 40.7506C57.0976 40.3601 57.0976 39.7271 56.707 39.3366Z"}))),bk=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.60001 10.8996L7.63334 10.8996C8.02485 10.8996 8.37134 10.8996 8.65849 10.8762C8.96428 10.8512 9.28113 10.7952 9.58959 10.638C10.0412 10.4079 10.4083 10.0408 10.6384 9.58919C10.7956 9.28074 10.8516 8.96388 10.8766 8.6581C10.9 8.37095 10.9 8.02447 10.9 7.63298V7.63297V7.63296V7.63294L10.9 7.59961V6.39961L10.9 6.36628C10.9 5.97477 10.9 5.62828 10.8766 5.34113C10.8516 5.03534 10.7956 4.71849 10.6384 4.41004C10.4083 3.95845 10.0412 3.59129 9.58959 3.3612C9.28113 3.20403 8.96428 3.14802 8.6585 3.12304C8.37136 3.09958 8.02489 3.09959 7.63341 3.09961H7.63335L7.60001 3.09961L6.40001 3.09961L6.36667 3.09961H6.36661C5.97513 3.09959 5.62866 3.09958 5.34152 3.12304C5.03574 3.14802 4.71889 3.20403 4.41043 3.3612C3.95884 3.59129 3.59169 3.95845 3.36159 4.41003C3.20443 4.71849 3.14842 5.03534 3.12343 5.34113C3.09997 5.62826 3.09999 5.97473 3.10001 6.36621V6.36628L3.10001 6.39961L3.10001 7.59961L3.10001 7.63295V7.63301C3.09999 8.02449 3.09997 8.37096 3.12343 8.6581C3.14842 8.96388 3.20443 9.28073 3.36159 9.58919C3.59169 10.0408 3.95884 10.4079 4.41043 10.638C4.71889 10.7952 5.03574 10.8512 5.34152 10.8762C5.62867 10.8996 5.97515 10.8996 6.36664 10.8996H6.36665H6.36666H6.36667L6.40001 10.8996H7.60001ZM8.7724 9.03422C8.75999 9.04054 8.70639 9.06628 8.51192 9.08217C8.30694 9.09891 8.0349 9.09961 7.60001 9.09961L6.40001 9.09961C5.96512 9.09961 5.69308 9.09891 5.4881 9.08217C5.29363 9.06628 5.24003 9.04054 5.22761 9.03422C5.11472 8.97669 5.02293 8.8849 4.96541 8.77201C4.95908 8.75959 4.93334 8.70599 4.91746 8.51152C4.90071 8.30654 4.90001 8.0345 4.90001 7.59961L4.90001 6.39961C4.90001 5.96472 4.90071 5.69268 4.91746 5.4877C4.93335 5.29323 4.95908 5.23963 4.96541 5.22722C5.02293 5.11432 5.11472 5.02253 5.22761 4.96501C5.24003 4.95868 5.29363 4.93295 5.4881 4.91706C5.69308 4.90031 5.96512 4.89961 6.40001 4.89961L7.60001 4.89961C8.0349 4.89961 8.30694 4.90031 8.51192 4.91706C8.70639 4.93295 8.75999 4.95868 8.7724 4.96501C8.8853 5.02253 8.97709 5.11432 9.03461 5.22722C9.04094 5.23963 9.06667 5.29323 9.08256 5.4877C9.09931 5.69268 9.10001 5.96472 9.10001 6.39961L9.10001 7.59961C9.10001 8.0345 9.09931 8.30654 9.08256 8.51152C9.06667 8.70599 9.04094 8.75959 9.03461 8.77201C8.97709 8.8849 8.8853 8.97669 8.7724 9.03422ZM7.60001 20.8996L7.63334 20.8996H7.63344C8.02491 20.8996 8.37136 20.8996 8.65849 20.8762C8.96428 20.8512 9.28113 20.7952 9.58959 20.638C10.0412 20.4079 10.4083 20.0408 10.6384 19.5892C10.7956 19.2807 10.8516 18.9639 10.8766 18.6581C10.9 18.371 10.9 18.0245 10.9 17.633V17.633V17.633V17.6329L10.9 17.5996V16.3996L10.9 16.3663C10.9 15.9748 10.9 15.6283 10.8766 15.3411C10.8516 15.0353 10.7956 14.7185 10.6384 14.41C10.4083 13.9584 10.0412 13.5913 9.58959 13.3612C9.28113 13.204 8.96428 13.148 8.6585 13.123C8.37136 13.0996 8.02489 13.0996 7.63342 13.0996H7.63341H7.6334H7.63335L7.60001 13.0996H6.40001L6.36667 13.0996H6.36662H6.36661H6.3666C5.97512 13.0996 5.62866 13.0996 5.34152 13.123C5.03574 13.148 4.71889 13.204 4.41043 13.3612C3.95884 13.5913 3.59169 13.9584 3.36159 14.41C3.20443 14.7185 3.14842 15.0353 3.12343 15.3411C3.09997 15.6283 3.09999 15.9747 3.10001 16.3662V16.3663L3.10001 16.3996L3.10001 17.5996L3.10001 17.6329V17.633C3.09999 18.0245 3.09997 18.371 3.12343 18.6581C3.14842 18.9639 3.20443 19.2807 3.36159 19.5892C3.59169 20.0408 3.95884 20.4079 4.41043 20.638C4.71889 20.7952 5.03574 20.8512 5.34152 20.8762C5.62865 20.8996 5.97511 20.8996 6.36657 20.8996H6.36667L6.40001 20.8996H7.60001ZM8.7724 19.0342C8.75999 19.0405 8.70639 19.0663 8.51192 19.0822C8.30694 19.0989 8.0349 19.0996 7.60001 19.0996H6.40001C5.96512 19.0996 5.69308 19.0989 5.4881 19.0822C5.29363 19.0663 5.24003 19.0405 5.22761 19.0342C5.11472 18.9767 5.02293 18.8849 4.96541 18.772C4.95908 18.7596 4.93334 18.706 4.91746 18.5115C4.90071 18.3065 4.90001 18.0345 4.90001 17.5996L4.90001 16.3996C4.90001 15.9647 4.90071 15.6927 4.91746 15.4877C4.93335 15.2932 4.95908 15.2396 4.96541 15.2272C5.02293 15.1143 5.11472 15.0225 5.22761 14.965C5.24003 14.9587 5.29363 14.9329 5.4881 14.9171C5.69308 14.9003 5.96512 14.8996 6.40001 14.8996H7.60001C8.0349 14.8996 8.30694 14.9003 8.51192 14.9171C8.70639 14.9329 8.75999 14.9587 8.7724 14.965C8.8853 15.0225 8.97709 15.1143 9.03461 15.2272C9.04094 15.2396 9.06667 15.2932 9.08256 15.4877C9.09931 15.6927 9.10001 15.9647 9.10001 16.3996L9.10001 17.5996C9.10001 18.0345 9.09931 18.3065 9.08256 18.5115C9.06667 18.706 9.04094 18.7596 9.03461 18.772C8.97709 18.8849 8.8853 18.9767 8.7724 19.0342ZM17.6333 10.8996L17.6 10.8996H16.4L16.3667 10.8996H16.3667H16.3666C15.9752 10.8996 15.6287 10.8996 15.3415 10.8762C15.0357 10.8512 14.7189 10.7952 14.4104 10.638C13.9588 10.4079 13.5917 10.0408 13.3616 9.58919C13.2044 9.28073 13.1484 8.96388 13.1234 8.6581C13.1 8.37094 13.1 8.02445 13.1 7.63295L13.1 7.59961V6.39961L13.1 6.36628C13.1 5.97477 13.1 5.62828 13.1234 5.34113C13.1484 5.03534 13.2044 4.71849 13.3616 4.41003C13.5917 3.95845 13.9588 3.59129 14.4104 3.3612C14.7189 3.20403 15.0357 3.14802 15.3415 3.12304C15.6287 3.09958 15.9751 3.09959 16.3666 3.09961H16.3667L16.4 3.09961L17.6 3.09961L17.6333 3.09961H17.6334C18.0249 3.09959 18.3714 3.09958 18.6585 3.12304C18.9643 3.14802 19.2811 3.20403 19.5896 3.3612C20.0412 3.59129 20.4083 3.95845 20.6384 4.41004C20.7956 4.71849 20.8516 5.03534 20.8766 5.34113C20.9 5.62828 20.9 5.97477 20.9 6.36628L20.9 6.39961V7.59961L20.9 7.63294C20.9 8.02445 20.9 8.37094 20.8766 8.6581C20.8516 8.96388 20.7956 9.28074 20.6384 9.58919C20.4083 10.0408 20.0412 10.4079 19.5896 10.638C19.2811 10.7952 18.9643 10.8512 18.6585 10.8762C18.3713 10.8996 18.0248 10.8996 17.6333 10.8996ZM18.5119 9.08217C18.7064 9.06628 18.76 9.04054 18.7724 9.03422C18.8853 8.97669 18.9771 8.8849 19.0346 8.77201C19.0409 8.75959 19.0667 8.70599 19.0826 8.51152C19.0993 8.30654 19.1 8.0345 19.1 7.59961V6.39961C19.1 5.96472 19.0993 5.69268 19.0826 5.4877C19.0667 5.29323 19.0409 5.23963 19.0346 5.22722C18.9771 5.11432 18.8853 5.02253 18.7724 4.96501C18.76 4.95868 18.7064 4.93295 18.5119 4.91706C18.3069 4.90031 18.0349 4.89961 17.6 4.89961L16.4 4.89961C15.9651 4.89961 15.6931 4.90031 15.4881 4.91706C15.2936 4.93295 15.24 4.95868 15.2276 4.96501C15.1147 5.02253 15.0229 5.11432 14.9654 5.22722C14.9591 5.23963 14.9333 5.29323 14.9175 5.4877C14.9007 5.69268 14.9 5.96472 14.9 6.39961V7.59961C14.9 8.0345 14.9007 8.30654 14.9175 8.51152C14.9333 8.70599 14.9591 8.75959 14.9654 8.77201C15.0229 8.8849 15.1147 8.97669 15.2276 9.03422C15.24 9.04054 15.2936 9.06628 15.4881 9.08217C15.6931 9.09891 15.9651 9.09961 16.4 9.09961L17.6 9.09961C18.0349 9.09961 18.3069 9.09891 18.5119 9.08217ZM17.6 20.8996L17.6333 20.8996H17.6334C18.0249 20.8996 18.3714 20.8996 18.6585 20.8762C18.9643 20.8512 19.2811 20.7952 19.5896 20.638C20.0412 20.4079 20.4083 20.0408 20.6384 19.5892C20.7956 19.2807 20.8516 18.9639 20.8766 18.6581C20.9 18.3709 20.9 18.0245 20.9 17.6329L20.9 17.5996V16.3996L20.9 16.3663C20.9 15.9748 20.9 15.6283 20.8766 15.3411C20.8516 15.0353 20.7956 14.7185 20.6384 14.41C20.4083 13.9584 20.0412 13.5913 19.5896 13.3612C19.2811 13.204 18.9643 13.148 18.6585 13.123C18.3714 13.0996 18.0249 13.0996 17.6334 13.0996H17.6333L17.6 13.0996H16.4L16.3667 13.0996H16.3666C15.9751 13.0996 15.6287 13.0996 15.3415 13.123C15.0357 13.148 14.7189 13.204 14.4104 13.3612C13.9588 13.5913 13.5917 13.9584 13.3616 14.41C13.2044 14.7185 13.1484 15.0353 13.1234 15.3411C13.1 15.6283 13.1 15.9748 13.1 16.3663L13.1 16.3996V17.5996L13.1 17.6329C13.1 18.0245 13.1 18.3709 13.1234 18.6581C13.1484 18.9639 13.2044 19.2807 13.3616 19.5892C13.5917 20.0408 13.9588 20.4079 14.4104 20.638C14.7189 20.7952 15.0357 20.8512 15.3415 20.8762C15.6287 20.8996 15.9751 20.8996 16.3666 20.8996H16.3667L16.4 20.8996H17.6ZM18.7724 19.0342C18.76 19.0405 18.7064 19.0663 18.5119 19.0822C18.3069 19.0989 18.0349 19.0996 17.6 19.0996H16.4C15.9651 19.0996 15.6931 19.0989 15.4881 19.0822C15.2936 19.0663 15.24 19.0405 15.2276 19.0342C15.1147 18.9767 15.0229 18.8849 14.9654 18.772C14.9591 18.7596 14.9333 18.706 14.9175 18.5115C14.9007 18.3065 14.9 18.0345 14.9 17.5996V16.3996C14.9 15.9647 14.9007 15.6927 14.9175 15.4877C14.9333 15.2932 14.9591 15.2396 14.9654 15.2272C15.0229 15.1143 15.1147 15.0225 15.2276 14.965C15.24 14.9587 15.2936 14.9329 15.4881 14.9171C15.6931 14.9003 15.9651 14.8996 16.4 14.8996H17.6C18.0349 14.8996 18.3069 14.9003 18.5119 14.9171C18.7064 14.9329 18.76 14.9587 18.7724 14.965C18.8853 15.0225 18.9771 15.1143 19.0346 15.2272C19.0409 15.2396 19.0667 15.2932 19.0826 15.4877C19.0993 15.6927 19.1 15.9647 19.1 16.3996V17.5996C19.1 18.0345 19.0993 18.3065 19.0826 18.5115C19.0667 18.706 19.0409 18.7596 19.0346 18.772C18.9771 18.8849 18.8853 18.9767 18.7724 19.0342Z",fill:"currentColor"})),xk=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,viewBox:"0 0 25 24",fill:"currentColor",...e},c.createElement("path",{d:"M12.5003 17.5198L16.6503 20.0298C17.4103 20.4898 18.3403 19.8098 18.1403 18.9498L17.0403 14.2298L20.7103 11.0498C21.3803 10.4698 21.0203 9.36977 20.1403 9.29977L15.3103 8.88977L13.4203 4.42977C13.0803 3.61977 11.9203 3.61977 11.5803 4.42977L9.69032 8.87977L4.86032 9.28977C3.98032 9.35977 3.62032 10.4598 4.29032 11.0398L7.96032 14.2198L6.86032 18.9398C6.66032 19.7998 7.59032 20.4798 8.35032 20.0198L12.5003 17.5198Z"})),Sk=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M11.99 2C6.47 2 2 6.48 2 12C2 17.52 6.47 22 11.99 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 11.99 2ZM15.22 17.39L12 15.45L8.78 17.39C8.4 17.62 7.93 17.28 8.03 16.85L8.88 13.19L6.05 10.74C5.72 10.45 5.9 9.9 6.34 9.86L10.08 9.54L11.54 6.09C11.71 5.68 12.29 5.68 12.46 6.09L13.92 9.53L17.66 9.85C18.1 9.89 18.28 10.44 17.94 10.73L15.11 13.18L15.96 16.85C16.06 17.28 15.6 17.62 15.22 17.39Z",fill:"currentColor"})),Mk=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M21 6H3C1.9 6 1 6.9 1 8V16C1 17.1 1.9 18 3 18H21C22.1 18 23 17.1 23 16V8C23 6.9 22.1 6 21 6ZM20 16H4C3.45 16 3 15.55 3 15V9C3 8.45 3.45 8 4 8H5V11C5 11.55 5.45 12 6 12C6.55 12 7 11.55 7 11V8H9V11C9 11.55 9.45 12 10 12C10.55 12 11 11.55 11 11V8H13V11C13 11.55 13.45 12 14 12C14.55 12 15 11.55 15 11V8H17V11C17 11.55 17.45 12 18 12C18.55 12 19 11.55 19 11V8H20C20.55 8 21 8.45 21 9V15C21 15.55 20.55 16 20 16Z",fill:"currentColor"})),Ek=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M21.63 17.37L22.77 16.37L21.77 14.64L20.32 15.13C20 14.86 19.64 14.65 19.24 14.5L18.94 13H16.94L16.64 14.49C16.24 14.64 15.88 14.85 15.56 15.12L14.11 14.63L13.11 16.36L14.25 17.36C14.17 17.86 14.17 18.12 14.25 18.62L13.11 19.62L14.11 21.35L15.56 20.86C15.88 21.13 16.24 21.34 16.64 21.49L16.94 23H18.94L19.24 21.51C19.64 21.36 20 21.15 20.32 20.88L21.77 21.37L22.77 19.64L21.63 18.64C21.71 18.13 21.71 17.87 21.63 17.37ZM17.94 20C16.84 20 15.94 19.1 15.94 18C15.94 16.9 16.84 16 17.94 16C19.04 16 19.94 16.9 19.94 18C19.94 19.1 19.04 20 17.94 20ZM9.94 6V11.41L12.3 13.77L13.34 11.98L11.94 10.59V6H9.94ZM9.8 17.91C6.81 17.42 4.45 15.01 4.02 12H2C2.5 16.5 6.31 20 10.94 20C10.96 20 10.99 20 11.01 20L9.8 17.91Z"}),c.createElement("path",{d:"M2 11C2 6.03 6.03 2 11 2C13.83 2 16.35 3.32 18 5.36V3H20V9H14V7H16.74C15.47 5.19 13.37 4 11 4C7.14 4 4 7.14 4 11H2Z"})),Lk=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M19.5 14.5L13.5 20.5L12.08 19.08L15.67 15.5H4.5V3.5H6.5V13.5H15.67L12.08 9.92L13.5 8.5L19.5 14.5Z"})),Nk=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M9 12C10.93 12 12.5 10.43 12.5 8.5C12.5 6.57 10.93 5 9 5C7.07 5 5.5 6.57 5.5 8.5C5.5 10.43 7.07 12 9 12ZM9 7C9.83 7 10.5 7.67 10.5 8.5C10.5 9.33 9.83 10 9 10C8.17 10 7.5 9.33 7.5 8.5C7.5 7.67 8.17 7 9 7ZM9.05 17H4.77C5.76 16.5 7.47 16 9 16C9.11 16 9.23 16.01 9.34 16.01C9.68 15.28 10.27 14.68 10.98 14.2C10.25 14.07 9.56 14 9 14C6.66 14 2 15.17 2 17.5V19H9V17.5C9 17.33 9.02 17.16 9.05 17ZM16.5 14.5C14.66 14.5 11 15.51 11 17.5V19H22V17.5C22 15.51 18.34 14.5 16.5 14.5ZM17.71 12.68C18.47 12.25 19 11.44 19 10.5C19 9.12 17.88 8 16.5 8C15.12 8 14 9.12 14 10.5C14 11.44 14.53 12.25 15.29 12.68C15.65 12.88 16.06 13 16.5 13C16.94 13 17.35 12.88 17.71 12.68Z"})),kk=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M9.5 10.02H14.5V21H9.5V10.02ZM16.5 21H19.5C20.6 21 21.5 20.1 21.5 19V10H16.5V21ZM19.5 3H4.5C3.4 3 2.5 3.9 2.5 5V8H21.5V5C21.5 3.9 20.6 3 19.5 3ZM2.5 19C2.5 20.1 3.4 21 4.5 21H7.5V10H2.5V19Z",fill:"currentColor"})),j9=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM19 5V8H5V5H19ZM19 10V14H5V10H19ZM5 19V16H19V19H5Z"})),Pk=e=>c.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M8 1.14258C8.31559 1.14258 8.57143 1.39842 8.57143 1.71401L8.57206 2.31371C11.2714 2.58202 13.418 4.7288 13.6861 7.42823L14.2857 7.42829C14.6013 7.42829 14.8571 7.68413 14.8571 7.99972C14.8571 8.31531 14.6013 8.57115 14.2857 8.57115L13.686 8.57178C13.4177 11.2709 11.2712 13.4174 8.57206 13.6857L8.57143 14.2854C8.57143 14.601 8.31559 14.8569 8 14.8569C7.68441 14.8569 7.42857 14.601 7.42857 14.2854L7.42851 13.6858C4.72908 13.4177 2.5823 11.2711 2.31399 8.57178L1.71429 8.57115C1.39869 8.57115 1.14286 8.31531 1.14286 7.99972C1.14286 7.68413 1.39869 7.42829 1.71429 7.42829L2.31393 7.42823C2.582 4.72861 4.72889 2.58172 7.42851 2.31366L7.42857 1.71401C7.42857 1.39842 7.68441 1.14258 8 1.14258ZM8.57197 3.46373L8.57143 3.99972C8.57143 4.31531 8.31559 4.57115 8 4.57115C7.68441 4.57115 7.42857 4.31531 7.42857 3.99972L7.4286 3.46366C5.36074 3.7215 3.72178 5.36046 3.46394 7.42832L4 7.42829C4.31559 7.42829 4.57143 7.68413 4.57143 7.99972C4.57143 8.31531 4.31559 8.57115 4 8.57115L3.46401 8.57169C3.72208 10.6393 5.36093 12.278 7.4286 12.5358L7.42857 11.9997C7.42857 11.6841 7.68441 11.4283 8 11.4283C8.31559 11.4283 8.57143 11.6841 8.57143 11.9997L8.57197 12.5357C10.6394 12.2777 12.2779 10.6391 12.536 8.57169L12 8.57115C11.6844 8.57115 11.4286 8.31531 11.4286 7.99972C11.4286 7.68413 11.6844 7.42829 12 7.42829L12.5361 7.42832C12.2782 5.36065 10.6396 3.72181 8.57197 3.46373ZM8 6.85686C8.63118 6.85686 9.14286 7.36854 9.14286 7.99972C9.14286 8.6309 8.63118 9.14258 8 9.14258C7.36882 9.14258 6.85714 8.6309 6.85714 7.99972C6.85714 7.36854 7.36882 6.85686 8 6.85686Z",fill:"currentColor"})),Ik=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M15 13V5C15 3.34 13.66 2 12 2C10.34 2 9 3.34 9 5V13C7.79 13.91 7 15.37 7 17C7 19.76 9.24 22 12 22C14.76 22 17 19.76 17 17C17 15.37 16.21 13.91 15 13ZM13 11H11V5C11 4.45 11.45 4 12 4C12.55 4 13 4.45 13 5H12.5C12.22 5 12 5.22 12 5.5C12 5.78 12.22 6 12.5 6H13V8H12.5C12.22 8 12 8.22 12 8.5C12 8.78 12.22 9 12.5 9H13V11Z"})),Ok=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M19 4H18V3C18 2.45 17.55 2 17 2C16.45 2 16 2.45 16 3V4H8V3C8 2.45 7.55 2 7 2C6.45 2 6 2.45 6 3V4H5C3.89 4 3.01 4.9 3.01 6L3 20C3 21.1 3.89 22 5 22H19C20.1 22 21 21.1 21 20V6C21 4.9 20.1 4 19 4ZM18 20H6C5.45 20 5 19.55 5 19V9H19V19C19 19.55 18.55 20 18 20ZM8 11H11C11.55 11 12 11.45 12 12V15C12 15.55 11.55 16 11 16H8C7.45 16 7 15.55 7 15V12C7 11.45 7.45 11 8 11Z"})),Tk=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M15 4C10.58 4 7 7.58 7 12C7 16.42 10.58 20 15 20C19.42 20 23 16.42 23 12C23 7.58 19.42 4 15 4ZM15 18C11.69 18 9 15.31 9 12C9 8.69 11.69 6 15 6C18.31 6 21 8.69 21 12C21 15.31 18.31 18 15 18ZM3 12C3 9.39 4.67 7.17 7 6.35V4.26C3.55 5.15 1 8.27 1 12C1 15.73 3.55 18.85 7 19.74V17.65C4.67 16.83 3 14.61 3 12Z",fill:"currentColor"})),Dk=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M20 4H6V2H4V22H6V14H20L18 9L20 4ZM16.14 9.74L17.04 12H6V6H17.05L16.15 8.26L15.85 9L16.14 9.74ZM13 9C13 10.1 12.1 11 11 11C9.9 11 9 10.1 9 9C9 7.9 9.9 7 11 7C12.1 7 13 7.9 13 9Z",fill:"currentColor"})),_k=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M12.8551 15.67C12.9951 15.31 12.9051 14.9 12.6251 14.62L10.5351 12.56L10.5651 12.53C12.3051 10.59 13.5451 8.36 14.2751 6H16.2151C16.7551 6 17.2051 5.55 17.2051 5.01V4.99C17.2051 4.45 16.7551 4 16.2151 4H10.2051V3C10.2051 2.45 9.75508 2 9.20508 2C8.65508 2 8.20508 2.45 8.20508 3V4H2.19508C1.65508 4 1.20508 4.45 1.20508 4.99C1.20508 5.54 1.65508 5.98 2.19508 5.98H12.3751C11.7051 7.92 10.6451 9.75 9.20508 11.35C8.39508 10.46 7.71508 9.49 7.14508 8.47C6.98508 8.18 6.69508 8 6.36508 8C5.67508 8 5.23508 8.75 5.57508 9.35C6.20508 10.48 6.97508 11.56 7.87508 12.56L3.50508 16.87C3.10508 17.26 3.10508 17.9 3.50508 18.29C3.89508 18.68 4.52508 18.68 4.92508 18.29L9.20508 14L11.2251 16.02C11.7351 16.53 12.6051 16.34 12.8551 15.67ZM17.7051 10C17.1051 10 16.5651 10.37 16.3551 10.94L12.6851 20.74C12.4451 21.35 12.9051 22 13.5551 22C13.9451 22 14.2951 21.76 14.4351 21.39L15.3251 19H20.0751L20.9751 21.39C21.1151 21.75 21.4651 22 21.8551 22C22.5051 22 22.9651 21.35 22.7351 20.74L19.0651 10.94C18.8451 10.37 18.3051 10 17.7051 10ZM16.0851 17L17.7051 12.67L19.3251 17H16.0851Z"})),Vk=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M3 18C3 18.55 3.45 19 4 19H9V17H4C3.45 17 3 17.45 3 18ZM3 6C3 6.55 3.45 7 4 7H13V5H4C3.45 5 3 5.45 3 6ZM13 20V19H20C20.55 19 21 18.55 21 18C21 17.45 20.55 17 20 17H13V16C13 15.45 12.55 15 12 15C11.45 15 11 15.45 11 16V20C11 20.55 11.45 21 12 21C12.55 21 13 20.55 13 20ZM7 10V11H4C3.45 11 3 11.45 3 12C3 12.55 3.45 13 4 13H7V14C7 14.55 7.45 15 8 15C8.55 15 9 14.55 9 14V10C9 9.45 8.55 9 8 9C7.45 9 7 9.45 7 10ZM21 12C21 11.45 20.55 11 20 11H11V13H20C20.55 13 21 12.55 21 12ZM16 9C16.55 9 17 8.55 17 8V7H20C20.55 7 21 6.55 21 6C21 5.45 20.55 5 20 5H17V4C17 3.45 16.55 3 16 3C15.45 3 15 3.45 15 4V8C15 8.55 15.45 9 16 9Z"})),Hk=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M16.75 8.00136H8.25V7.12645C8.24974 6.15652 8.56265 5.21401 9.13954 4.44709C9.71643 3.68017 10.5246 3.13234 11.4369 2.88972C12.3493 2.64711 13.3141 2.72348 14.1797 3.10681C15.0453 3.49015 15.7626 4.15872 16.2188 5.0074C16.2729 5.10788 16.3458 5.19639 16.4333 5.26787C16.5207 5.33935 16.6209 5.39241 16.7283 5.42401C16.8356 5.45561 16.948 5.46514 17.0589 5.45206C17.1698 5.43897 17.2771 5.40353 17.3748 5.34775C17.4724 5.29197 17.5583 5.21694 17.6278 5.12695C17.6972 5.03697 17.7488 4.93378 17.7795 4.82329C17.8102 4.7128 17.8195 4.59717 17.8067 4.48299C17.794 4.36882 17.7596 4.25834 17.7054 4.15786C17.0664 2.97 16.0621 2.03437 14.8503 1.49805C13.6384 0.961718 12.2878 0.855103 11.0107 1.19496C9.73357 1.53482 8.60238 2.30187 7.79493 3.37556C6.98748 4.44924 6.54956 5.76867 6.55 7.12645V8.37233C5.79296 8.71241 5.1486 9.2722 4.69572 9.98323C4.24285 10.6943 4.00109 11.5257 4 12.3759V17.6254C4.00135 18.7852 4.44955 19.8971 5.24629 20.7172C6.04302 21.5373 7.12324 21.9986 8.25 22H16.75C17.8768 21.9986 18.957 21.5373 19.7537 20.7172C20.5505 19.8971 20.9987 18.7852 21 17.6254V12.3759C20.9987 11.2162 20.5505 10.1043 19.7537 9.28418C18.957 8.46409 17.8768 8.00275 16.75 8.00136ZM19.3 17.6254C19.3 18.3216 19.0313 18.9892 18.5531 19.4814C18.0749 19.9736 17.4263 20.2502 16.75 20.2502H8.25C7.5737 20.2502 6.9251 19.9736 6.44688 19.4814C5.96866 18.9892 5.7 18.3216 5.7 17.6254V12.3759C5.7 11.6798 5.96866 11.0122 6.44688 10.52C6.9251 10.0277 7.5737 9.75119 8.25 9.75119H16.75C17.4263 9.75119 18.0749 10.0277 18.5531 10.52C19.0313 11.0122 19.3 11.6798 19.3 12.3759V17.6254Z",fill:"currentColor"}),c.createElement("path",{d:"M12.4531 13C12.0677 13 11.6981 13.1049 11.4256 13.2917C11.1531 13.4786 11 13.7319 11 13.9961V15.9883C11 16.2525 11.1531 16.5058 11.4256 16.6926C11.6981 16.8794 12.0677 16.9844 12.4531 16.9844C12.8385 16.9844 13.2081 16.8794 13.4806 16.6926C13.7532 16.5058 13.9062 16.2525 13.9062 15.9883V13.9961C13.9062 13.7319 13.7532 13.4786 13.4806 13.2917C13.2081 13.1049 12.8385 13 12.4531 13Z",fill:"currentColor"})),Ak=e=>c.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M10.75 5.25C10.75 3.73063 9.51937 2.5 8 2.5C6.48063 2.5 5.25 3.73063 5.25 5.25C5.25 6.76937 6.48063 8 8 8C9.51937 8 10.75 6.76937 10.75 5.25ZM2.5 12.1154V12.83C2.5 13.2 2.79997 13.5 3.17 13.5H12.83C13.2 13.5 13.5 13.2 13.5 12.83V12.1154C13.5 9.69231 9.83563 9 8 9C6.16437 9 2.5 9.69231 2.5 12.1154Z",fill:"currentColor"})),nc=e=>c.createElement("svg",{width:24,height:25,viewBox:"0 0 24 25",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M13.17 2.5H6.01C4.91 2.5 4.01 3.39 4.01 4.5L4 20.5C4 21.6 4.9 22.5 6 22.5H18C19.1 22.5 20 21.6 20 20.5V9.33C20 8.8 19.79 8.29 19.41 7.92L14.58 3.09C14.21 2.71 13.7 2.5 13.17 2.5ZM13 8.5V4L18.5 9.5H14C13.45 9.5 13 9.05 13 8.5ZM14 14.5L15.27 13.83C15.6 13.65 16 13.89 16 14.27V16.73C16 17.11 15.6 17.35 15.27 17.17L14 16.5V17.5C14 18.05 13.55 18.5 13 18.5H9C8.45 18.5 8 18.05 8 17.5V13.5C8 12.95 8.45 12.5 9 12.5H13C13.55 12.5 14 12.95 14 13.5V14.5Z"})),Fk=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M4 14H6C6.55 14 7 13.55 7 13V11C7 10.45 6.55 10 6 10H4C3.45 10 3 10.45 3 11V13C3 13.55 3.45 14 4 14ZM4 19H6C6.55 19 7 18.55 7 18V16C7 15.45 6.55 15 6 15H4C3.45 15 3 15.45 3 16V18C3 18.55 3.45 19 4 19ZM4 9H6C6.55 9 7 8.55 7 8V6C7 5.45 6.55 5 6 5H4C3.45 5 3 5.45 3 6V8C3 8.55 3.45 9 4 9ZM9 14H20C20.55 14 21 13.55 21 13V11C21 10.45 20.55 10 20 10H9C8.45 10 8 10.45 8 11V13C8 13.55 8.45 14 9 14ZM9 19H20C20.55 19 21 18.55 21 18V16C21 15.45 20.55 15 20 15H9C8.45 15 8 15.45 8 16V18C8 18.55 8.45 19 9 19ZM8 6V8C8 8.55 8.45 9 9 9H20C20.55 9 21 8.55 21 8V6C21 5.45 20.55 5 20 5H9C8.45 5 8 5.45 8 6Z"})),$k=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M15 20H3C2.45 20 2 19.55 2 19V5C2 4.45 2.45 4 3 4H15C15.55 4 16 4.45 16 5V19C16 19.55 15.55 20 15 20ZM19 8H21C21.55 8 22 7.55 22 7V5C22 4.45 21.55 4 21 4H19C18.45 4 18 4.45 18 5V7C18 7.55 18.45 8 19 8ZM19 20H21C21.55 20 22 19.55 22 19V17C22 16.45 21.55 16 21 16H19C18.45 16 18 16.45 18 17V19C18 19.55 18.45 20 19 20ZM19 14H21C21.55 14 22 13.55 22 13V11C22 10.45 21.55 10 21 10H19C18.45 10 18 10.45 18 11V13C18 13.55 18.45 14 19 14Z",fill:"currentColor"})),Y9=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M22 20L22 4L2 4L2 20L22 20ZM4 15.33L6.5 15.33L6.5 18L4 18L4 15.33ZM6.5 13.33L4 13.33L4 10.66L6.5 10.66L6.5 13.33ZM20 18L8.5 18L8.5 6L20 6L20 18ZM6.5 6L6.5 8.67L4 8.67L4 6L6.5 6Z"})),zk=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M22 18.9262V8.27623C22 7.45623 21.5 6.72623 20.74 6.41623L12.74 3.21623C12.26 3.02623 11.73 3.02623 11.25 3.21623L3.25 6.41623C2.5 6.72623 2 7.46623 2 8.27623V18.9262C2 20.0262 2.9 20.9262 4 20.9262H7V11.9262H17V20.9262H20C21.1 20.9262 22 20.0262 22 18.9262ZM11 18.9262H9V20.9262H11V18.9262ZM13 15.9262H11V17.9262H13V15.9262ZM15 18.9262H13V20.9262H15V18.9262Z"})),Zk=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M20 8.35V19H18V11H6V19H4V8.35L12 5.15L20 8.35ZM22 21V7L12 3L2 7V21H8V13H16V21H22ZM11 19H9V21H11V19ZM13 16H11V18H13V16ZM15 19H13V21H15V19Z"})),Bk=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M12.0001 5.49384L19.5301 18.5038H4.47012L12.0001 5.49384ZM2.74012 17.5038C1.97012 18.8338 2.93012 20.5038 4.47012 20.5038H19.5301C21.0701 20.5038 22.0301 18.8338 21.2601 17.5038L13.7301 4.49384C12.9601 3.16384 11.0401 3.16384 10.2701 4.49384L2.74012 17.5038ZM11.0001 10.5038V12.5038C11.0001 13.0538 11.4501 13.5038 12.0001 13.5038C12.5501 13.5038 13.0001 13.0538 13.0001 12.5038V10.5038C13.0001 9.95384 12.5501 9.50384 12.0001 9.50384C11.4501 9.50384 11.0001 9.95384 11.0001 10.5038ZM11.0001 15.5038H13.0001V17.5038H11.0001V15.5038Z"})),Wk=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M12 2C6.5 2 2 6.5 2 12C2 17.5 6.5 22 12 22C17.5 22 22 17.5 22 12C22 6.5 17.5 2 12 2ZM15.55 15.8L11.47 13.29C11.17 13.11 10.99 12.79 10.99 12.44V7.75C11 7.34 11.34 7 11.75 7C12.16 7 12.5 7.34 12.5 7.75V12.2L16.34 14.51C16.7 14.73 16.82 15.2 16.6 15.56C16.38 15.91 15.91 16.02 15.55 15.8Z"})),q9=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M12 2C6.5 2 2 6.5 2 12C2 17.5 6.5 22 12 22C17.5 22 22 17.5 22 12C22 6.5 17.5 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM12.5 7H11V13L16.2 16.2L17 14.9L12.5 12.2V7Z"})),Gk=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M16.75 4C17.85 4 18.75 4.9 18.75 6V18C18.75 19.1 17.85 20 16.75 20V4ZM1.75 20C1.75 21.1 2.65 22 3.75 22H12.75C13.85 22 14.75 21.1 14.75 20V4C14.75 2.9 13.85 2 12.75 2H3.75C2.65 2 1.75 2.9 1.75 4V20ZM20.75 18C21.58 18 22.25 17.33 22.25 16.5V7.5C22.25 6.67 21.58 6 20.75 6V18Z"})),Rk=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M17.09 4.77574C16.39 3.74574 15.59 2.78574 14.69 1.92574C14.34 1.58574 13.75 1.90574 13.85 2.38574C14.04 3.32574 14.24 4.56574 14.24 5.67574C14.24 7.73574 12.89 9.40574 10.83 9.40574C9.29 9.40574 8.03 8.47574 7.48 7.14574C7.38 6.94574 7.34 6.82574 7.28 6.60574C7.17 6.18574 6.62 6.05574 6.38 6.42574C6.2 6.69574 6.03 6.96574 5.87 7.25574C4.68 9.29574 4 11.6757 4 14.2157C4 18.6357 7.58 22.2157 12 22.2157C16.42 22.2157 20 18.6357 20 14.2157C20 10.7257 18.92 7.48574 17.09 4.77574ZM11.71 19.2157C9.93 19.2157 8.49 17.8157 8.49 16.0757C8.49 14.4557 9.54 13.3157 11.3 12.9557C12.77 12.6557 14.28 12.0257 15.33 11.0357C15.61 10.7757 16.07 10.8957 16.15 11.2657C16.38 12.2857 16.5 13.3457 16.5 14.4157C16.51 17.0657 14.36 19.2157 11.71 19.2157Z"})),jk=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M6 13C3.8 13 2 14.8 2 17C2 19.2 3.8 21 6 21C8.2 21 10 19.2 10 17C10 14.8 8.2 13 6 13ZM12 3C9.8 3 8 4.8 8 7C8 9.2 9.8 11 12 11C14.2 11 16 9.2 16 7C16 4.8 14.2 3 12 3ZM18 13C15.8 13 14 14.8 14 17C14 19.2 15.8 21 18 21C20.2 21 22 19.2 22 17C22 14.8 20.2 13 18 13Z",fill:"currentColor"})),Yk=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M8.25635 3.17205C9.76957 1.65882 12.194 1.61109 13.7642 3.02947L13.9136 3.17205L15.7632 5.02166C17.5908 6.84928 17.7064 9.73863 16.1128 11.7023L20.0024 15.5929C20.7835 16.374 20.7835 17.64 20.0024 18.4211L18.7749 19.6486C17.9938 20.4293 16.7277 20.4295 15.9468 19.6486L12.0562 15.759C10.0925 17.3523 7.20299 17.2368 5.37549 15.4094L3.52588 13.5597C1.96418 11.9978 1.96416 9.46461 3.52588 7.90252L3.96533 7.46306L4.03857 7.39666C4.21642 7.25082 4.44037 7.17023 4.67236 7.17009C4.93754 7.17009 5.19187 7.27559 5.37939 7.46306L8.07178 10.1545L10.5034 7.72185L7.81201 5.03045C7.62459 4.84298 7.51911 4.58849 7.51904 4.32341C7.51907 4.05839 7.62471 3.80386 7.81201 3.61638L8.25635 3.17205ZM13.4907 14.3644L17.3608 18.2345L18.5884 17.007L14.7183 13.1369L13.4907 14.3644ZM12.4985 4.58611C11.8071 3.89504 10.7361 3.81542 9.95752 4.34783L11.9175 6.30779V6.30877C12.6976 7.08953 12.6984 8.35574 11.9175 9.13689L9.48584 11.5685H9.48486C8.70394 12.3484 7.4385 12.3487 6.65771 11.5685H6.65674L4.69775 9.60955C4.17012 10.3874 4.25018 11.4551 4.93896 12.1447L6.78955 13.9953C7.96101 15.1667 9.86112 15.1665 11.0327 13.9953L14.3491 10.6789C15.5207 9.50732 15.5207 7.60729 14.3491 6.43572L12.4985 4.58611Z"})),qk=e=>c.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M9.45867 4.18164L11.818 6.54097L6.06944 12.2903C5.55393 12.8057 4.91967 13.1867 4.22244 13.3995L2.28744 13.9902C2.16992 14.0261 2.04557 13.9599 2.00969 13.8424C1.99677 13.8001 1.99677 13.7548 2.00969 13.7125L2.60036 11.7777C2.81325 11.0803 3.19426 10.446 3.70985 9.93041L9.45867 4.18164ZM12.7594 2.2958L13.7049 3.24131C14.0711 3.6074 14.0939 4.18677 13.7736 4.57955L13.7049 4.6555L12.5253 5.8343L10.1653 3.47431L11.3451 2.29577C11.7357 1.9053 12.3689 1.90532 12.7594 2.2958Z",fill:"currentColor"})),Uk=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"currentColor",...e},c.createElement("path",{d:"M12.4989 11.0006H11.7089L11.4289 10.7306C12.6289 9.33063 13.2489 7.42063 12.9089 5.39063C12.4389 2.61063 10.1189 0.390626 7.31892 0.0506256C3.08892 -0.469374 -0.46108 3.09063 0.0489202 7.32063C0.38892 10.1206 2.60892 12.4406 5.38892 12.9106C7.41892 13.2506 9.32892 12.6306 10.7289 11.4306L10.9989 11.7106V12.5006L15.2589 16.7506C15.6689 17.1606 16.3289 17.1606 16.7389 16.7506L16.7489 16.7406C17.1589 16.3306 17.1589 15.6706 16.7489 15.2606L12.4989 11.0006ZM6.49892 11.0006C4.00892 11.0006 1.99892 8.99063 1.99892 6.50063C1.99892 4.01063 4.00892 2.00063 6.49892 2.00063C8.98892 2.00063 10.9989 4.01063 10.9989 6.50063C10.9989 8.99063 8.98892 11.0006 6.49892 11.0006ZM6.49892 4.00063C6.21892 4.00063 5.99892 4.22063 5.99892 4.50063V6.00063H4.49892C4.21892 6.00063 3.99892 6.22063 3.99892 6.50063C3.99892 6.78063 4.21892 7.00063 4.49892 7.00063H5.99892V8.50063C5.99892 8.78063 6.21892 9.00063 6.49892 9.00063C6.77892 9.00063 6.99892 8.78063 6.99892 8.50063V7.00063H8.49892C8.77892 7.00063 8.99892 6.78063 8.99892 6.50063C8.99892 6.22063 8.77892 6.00063 8.49892 6.00063H6.99892V4.50063C6.99892 4.22063 6.77892 4.00063 6.49892 4.00063Z"})),Xk=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M15 3L17.3 5.3L14.41 8.17L15.83 9.59L18.7 6.7L21 9V3H15ZM3 9L5.3 6.7L8.17 9.59L9.59 8.17L6.7 5.3L9 3H3V9ZM9 21L6.7 18.7L9.59 15.83L8.17 14.41L5.3 17.3L3 15V21H9ZM21 15L18.7 17.3L15.83 14.41L14.41 15.83L17.3 18.7L15 21H21V15Z"})),Kk=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",...e},c.createElement("path",{d:"M15.9713 14.4716H15.1813L14.9013 14.2016C16.1013 12.8016 16.7213 10.8916 16.3813 8.86157C15.9113 6.08157 13.5913 3.86157 10.7913 3.52157C6.56133 3.00157 3.00133 6.56157 3.52133 10.7916C3.86133 13.5916 6.08133 15.9116 8.86133 16.3816C10.8913 16.7216 12.8013 16.1016 14.2013 14.9016L14.4713 15.1816V15.9716L18.7313 20.2216C19.1413 20.6316 19.8013 20.6316 20.2113 20.2216L20.2213 20.2116C20.6313 19.8016 20.6313 19.1416 20.2213 18.7316L15.9713 14.4716ZM9.97133 14.4716C7.48133 14.4716 5.47133 12.4616 5.47133 9.97157C5.47133 7.48157 7.48133 5.47157 9.97133 5.47157C12.4613 5.47157 14.4713 7.48157 14.4713 9.97157C14.4713 12.4616 12.4613 14.4716 9.97133 14.4716ZM7.97133 9.47157H11.9713C12.2513 9.47157 12.4713 9.69157 12.4713 9.97157C12.4713 10.2516 12.2513 10.4716 11.9713 10.4716H7.97133C7.69133 10.4716 7.47133 10.2516 7.47133 9.97157C7.47133 9.69157 7.69133 9.47157 7.97133 9.47157Z"}));var[Ba]=it("Tooltip",[Nn]),Wa=Nn(),U9="TooltipProvider",Qk=700,rc="tooltip.open",[Jk,oc]=Ba(U9),ac=e=>{const{__scopeTooltip:n,delayDuration:t=Qk,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:a}=e,s=c.useRef(!0),i=c.useRef(!1),l=c.useRef(0);return c.useEffect(()=>{const d=l.current;return()=>window.clearTimeout(d)},[]),u.jsx(Jk,{scope:n,isOpenDelayedRef:s,delayDuration:t,onOpen:c.useCallback(()=>{window.clearTimeout(l.current),s.current=!1},[]),onClose:c.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>s.current=!0,r)},[r]),isPointerInTransitRef:i,onPointerInTransitChange:c.useCallback(d=>{i.current=d},[]),disableHoverableContent:o,children:a})};ac.displayName=U9;var Ko="Tooltip",[eP,Qo]=Ba(Ko),X9=e=>{const{__scopeTooltip:n,children:t,open:r,defaultOpen:o,onOpenChange:a,disableHoverableContent:s,delayDuration:i}=e,l=oc(Ko,e.__scopeTooltip),d=Wa(n),[f,h]=c.useState(null),g=Ye(),C=c.useRef(0),v=s??l.disableHoverableContent,p=i??l.delayDuration,m=c.useRef(!1),[w,y]=wt({prop:r,defaultProp:o??!1,onChange:L=>{L?(l.onOpen(),document.dispatchEvent(new CustomEvent(rc))):l.onClose(),a==null||a(L)},caller:Ko}),b=c.useMemo(()=>w?m.current?"delayed-open":"instant-open":"closed",[w]),S=c.useCallback(()=>{window.clearTimeout(C.current),C.current=0,m.current=!1,y(!0)},[y]),E=c.useCallback(()=>{window.clearTimeout(C.current),C.current=0,y(!1)},[y]),M=c.useCallback(()=>{window.clearTimeout(C.current),C.current=window.setTimeout(()=>{m.current=!0,y(!0),C.current=0},p)},[p,y]);return c.useEffect(()=>()=>{C.current&&(window.clearTimeout(C.current),C.current=0)},[]),u.jsx(Co,{...d,children:u.jsx(eP,{scope:n,contentId:g,open:w,stateAttribute:b,trigger:f,onTriggerChange:h,onTriggerEnter:c.useCallback(()=>{l.isOpenDelayedRef.current?M():S()},[l.isOpenDelayedRef,M,S]),onTriggerLeave:c.useCallback(()=>{v?E():(window.clearTimeout(C.current),C.current=0)},[E,v]),onOpen:S,onClose:E,disableHoverableContent:v,children:t})})};X9.displayName=Ko;var sc="TooltipTrigger",K9=c.forwardRef((e,n)=>{const{__scopeTooltip:t,...r}=e,o=Qo(sc,t),a=oc(sc,t),s=Wa(t),i=c.useRef(null),l=ye(n,i,o.onTriggerChange),d=c.useRef(!1),f=c.useRef(!1),h=c.useCallback(()=>d.current=!1,[]);return c.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),u.jsx(mo,{asChild:!0,...s,children:u.jsx(ie.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:l,onPointerMove:ee(e.onPointerMove,g=>{g.pointerType!=="touch"&&!f.current&&!a.isPointerInTransitRef.current&&(o.onTriggerEnter(),f.current=!0)}),onPointerLeave:ee(e.onPointerLeave,()=>{o.onTriggerLeave(),f.current=!1}),onPointerDown:ee(e.onPointerDown,()=>{o.open&&o.onClose(),d.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:ee(e.onFocus,()=>{d.current||o.onOpen()}),onBlur:ee(e.onBlur,o.onClose),onClick:ee(e.onClick,o.onClose)})})});K9.displayName=sc;var ic="TooltipPortal",[tP,nP]=Ba(ic,{forceMount:void 0}),Q9=e=>{const{__scopeTooltip:n,forceMount:t,children:r,container:o}=e,a=Qo(ic,n);return u.jsx(tP,{scope:n,forceMount:t,children:u.jsx(qe,{present:t||a.open,children:u.jsx(kn,{asChild:!0,container:o,children:r})})})};Q9.displayName=ic;var qr="TooltipContent",J9=c.forwardRef((e,n)=>{const t=nP(qr,e.__scopeTooltip),{forceMount:r=t.forceMount,side:o="top",...a}=e,s=Qo(qr,e.__scopeTooltip);return u.jsx(qe,{present:r||s.open,children:s.disableHoverableContent?u.jsx(e6,{side:o,...a,ref:n}):u.jsx(rP,{side:o,...a,ref:n})})}),rP=c.forwardRef((e,n)=>{const t=Qo(qr,e.__scopeTooltip),r=oc(qr,e.__scopeTooltip),o=c.useRef(null),a=ye(n,o),[s,i]=c.useState(null),{trigger:l,onClose:d}=t,f=o.current,{onPointerInTransitChange:h}=r,g=c.useCallback(()=>{i(null),h(!1)},[h]),C=c.useCallback((v,p)=>{const m=v.currentTarget,w={x:v.clientX,y:v.clientY},y=lP(w,m.getBoundingClientRect()),b=cP(w,y),S=uP(p.getBoundingClientRect()),E=fP([...b,...S]);i(E),h(!0)},[h]);return c.useEffect(()=>()=>g(),[g]),c.useEffect(()=>{if(l&&f){const v=m=>C(m,f),p=m=>C(m,l);return l.addEventListener("pointerleave",v),f.addEventListener("pointerleave",p),()=>{l.removeEventListener("pointerleave",v),f.removeEventListener("pointerleave",p)}}},[l,f,C,g]),c.useEffect(()=>{if(s){const v=p=>{const m=p.target,w={x:p.clientX,y:p.clientY},y=(l==null?void 0:l.contains(m))||(f==null?void 0:f.contains(m)),b=!dP(w,s);y?g():b&&(g(),d())};return document.addEventListener("pointermove",v),()=>document.removeEventListener("pointermove",v)}},[l,f,s,d,g]),u.jsx(e6,{...e,ref:a})}),[oP,aP]=Ba(Ko,{isInside:!1}),sP=Ff("TooltipContent"),e6=c.forwardRef((e,n)=>{const{__scopeTooltip:t,children:r,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:s,...i}=e,l=Qo(qr,t),d=Wa(t),{onClose:f}=l;return c.useEffect(()=>(document.addEventListener(rc,f),()=>document.removeEventListener(rc,f)),[f]),c.useEffect(()=>{if(l.trigger){const h=g=>{const C=g.target;C!=null&&C.contains(l.trigger)&&f()};return window.addEventListener("scroll",h,{capture:!0}),()=>window.removeEventListener("scroll",h,{capture:!0})}},[l.trigger,f]),u.jsx(jn,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:h=>h.preventDefault(),onDismiss:f,children:u.jsxs(_1,{"data-state":l.stateAttribute,...d,...i,ref:n,style:{...i.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[u.jsx(sP,{children:r}),u.jsx(oP,{scope:t,isInside:!0,children:u.jsx(ym,{id:l.contentId,role:"tooltip",children:o||r})})]})})});J9.displayName=qr;var t6="TooltipArrow",iP=c.forwardRef((e,n)=>{const{__scopeTooltip:t,...r}=e,o=Wa(t);return aP(t6,t).isInside?null:u.jsx(V1,{...o,...r,ref:n})});iP.displayName=t6;function lP(e,n){const t=Math.abs(n.top-e.y),r=Math.abs(n.bottom-e.y),o=Math.abs(n.right-e.x),a=Math.abs(n.left-e.x);switch(Math.min(t,r,o,a)){case a:return"left";case o:return"right";case t:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function cP(e,n,t=5){const r=[];switch(n){case"top":r.push({x:e.x-t,y:e.y+t},{x:e.x+t,y:e.y+t});break;case"bottom":r.push({x:e.x-t,y:e.y-t},{x:e.x+t,y:e.y-t});break;case"left":r.push({x:e.x+t,y:e.y-t},{x:e.x+t,y:e.y+t});break;case"right":r.push({x:e.x-t,y:e.y-t},{x:e.x-t,y:e.y+t});break}return r}function uP(e){const{top:n,right:t,bottom:r,left:o}=e;return[{x:o,y:n},{x:t,y:n},{x:t,y:r},{x:o,y:r}]}function dP(e,n){const{x:t,y:r}=e;let o=!1;for(let a=0,s=n.length-1;a<n.length;s=a++){const i=n[a],l=n[s],d=i.x,f=i.y,h=l.x,g=l.y;f>r!=g>r&&t<(h-d)*(r-f)/(g-f)+d&&(o=!o)}return o}function fP(e){const n=e.slice();return n.sort((t,r)=>t.x<r.x?-1:t.x>r.x?1:t.y<r.y?-1:t.y>r.y?1:0),hP(n)}function hP(e){if(e.length<=1)return e.slice();const n=[];for(let r=0;r<e.length;r++){const o=e[r];for(;n.length>=2;){const a=n[n.length-1],s=n[n.length-2];if((a.x-s.x)*(o.y-s.y)>=(a.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}n.pop();const t=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;t.length>=2;){const a=t[t.length-1],s=t[t.length-2];if((a.x-s.x)*(o.y-s.y)>=(a.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}return t.pop(),n.length===1&&t.length===1&&n[0].x===t[0].x&&n[0].y===t[0].y?n:n.concat(t)}var gP=ac,pP=X9,CP=K9,mP=Q9,n6=J9;const r6=e=>{const n=/\*\*(.*?)\*\*/g,t=e.match(n);if(!t)return e;const r=t.map(o=>o.replaceAll("*",""));return e.split("**").map(o=>r.includes(o)?u.jsx("span",{className:"text-foreground font-medium",children:o},o):o)},Cn=gP,tn=pP,Ft=CP,$t=c.forwardRef(({className:e,sideOffset:n=4,...t},r)=>u.jsx(mP,{children:u.jsx(n6,{ref:r,sideOffset:n,className:P("z-50 overflow-hidden rounded-lg bg-background-primary dark:bg-background-tertiary text-content-primary dark:text-content-primary-inverted p-2 text-xs shadow-tooltip animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t,children:t.children})}));$t.displayName=n6.displayName;const vP=({children:e,text:n="",delayDuration:t})=>u.jsx(Cn,{children:u.jsxs(tn,{delayDuration:t,children:[u.jsx(Ft,{children:e}),u.jsx($t,{className:"max-w-[300px]",children:u.jsx("div",{className:"whitespace-pre-line text-xs",children:r6(n)})})]})}),o6=k.forwardRef(({node:e,children:n,onClick:t,onDoubleClick:r,className:o,"data-index":a},s)=>u.jsx("tr",{ref:s,"data-index":a,onClick:t,onDoubleClick:r,className:o,children:n}));o6.displayName="DefaultTableRow";const wP=e=>{var Ae,Ie;const{nodes:n,selected:t,config:r,headers:o,headerCells:a,className:s,columnWidths:i,columnAlignments:l,onExpand:d,tableRowComponent:f,virtualized:h=!1,estimateRowSize:g=40,overscan:C=20,scrollElementRef:v,scrollContainerId:p,striped:m=!1,horizontalPadding:w="medium",density:y="default",renderFirstColumnHeader:b}=e,S=f??o6,E=y==="compact",M=()=>{switch(w){case"none":return"";case"small":return"pl-4";case"large":return"pl-8";case"medium":default:return"pl-6"}},L=()=>{switch(w){case"none":return"";case"small":return"pr-4";case"large":return"pr-8";case"medium":default:return"pr-6"}},I=Q=>P("relative flex min-w-0 flex-1",Q&&"box-border h-full self-stretch",E?"items-center py-[3px]":"items-stretch py-2"),O=(Q,le)=>{var we;return P("truncate font-normal text-foreground-primary",E?"text-xs leading-4":"text-sm leading-5",{"cursor-pointer":le},(we=r.getNodeHeadingClassName)==null?void 0:we.call(r,Q))},_=(Q,le)=>P("transition-colors hover:bg-background-primary-hover",m&&Q%2===1&&"bg-background-secondary",le&&"bg-background-primary-selected"),V=()=>r.dataCellVerticalPadding==="none"?E?"py-0":"px-2 py-0":E?"py-[3px]":"p-2",$=()=>r.treeGuideColumnWidth??24,j=()=>r.treeLineAnchorOffset??$()/2,F=()=>{const Q=r.treeLineAnchorTop??"50%";return typeof Q=="number"?`${Q}px`:Q},R=()=>{const Q=$();return{width:Q,minWidth:Q,maxWidth:Q}},Z=(Q,le,we)=>Q?u.jsx(pr,{className:P("w-6 h-6 cursor-pointer text-icon-contrast transition-transform duration-200 -rotate-90 flex-shrink-0",{"rotate-0":le}),onClick:he=>{he.stopPropagation(),we()}}):u.jsx("div",{className:"w-6 flex-shrink-0"}),K="text-foreground-secondary text-xs font-normal leading-4 tracking-[0.4px] truncate",q=(Q,le)=>{var ke,Ne;if(!le)return null;const we=P(K,(ke=r.getNodeFooterClassName)==null?void 0:ke.call(r,Q)),he=(Ne=r.getNodeFooterNode)==null?void 0:Ne.call(r,Q,{text:le,className:we});return he||u.jsx("span",{className:we,title:String(le),children:le})},G=(Q,le,we,he,ke)=>{const Ne=F();return Array.from({length:Q}).map((ze,Pe)=>u.jsxs("div",{className:P("relative flex-shrink-0",ke&&"h-full self-stretch"),style:R(),children:[le[Pe]&&Pe!==Q-1&&!he[Pe]&&u.jsx("div",{className:"absolute left-1/2 top-0 bottom-0 w-[1px] -translate-x-1/2 bg-line-contrast"}),Pe===Q-1&&u.jsxs(u.Fragment,{children:[u.jsx("div",{className:"absolute left-1/2 top-0 w-[1px] -translate-x-1/2 bg-line-contrast",style:{height:Ne}}),u.jsx("div",{className:"absolute h-[1px] bg-line-contrast",style:{top:Ne,left:"50%",width:`calc(50% + ${j()}px)`}}),!we&&u.jsx("div",{className:"absolute left-1/2 bottom-0 w-[1px] -translate-x-1/2 bg-line-contrast",style:{top:Ne}})]})]},Pe))},oe=(Q,le,we,he,ke,Ne,ze,Pe)=>{var Qe;return u.jsxs("div",{className:"flex min-w-0 flex-1 items-center",children:[(Qe=r.getNodeHeadingPrefix)!=null&&Qe.call(r,Q)?u.jsxs("div",{className:"relative mr-1 flex shrink-0 self-stretch",style:R(),children:[u.jsx("div",{className:"flex items-center justify-center",style:R(),children:r.getNodeHeadingPrefix(Q)}),le&&we&&u.jsx("div",{className:"absolute left-1/2 w-[1px] -translate-x-1/2 bg-line-contrast",style:{top:"17px",bottom:"-8px"}})]}):null,!r.getNodeHeadingPrefix&&!!(Pe!=null&&Pe.length)&&we&&u.jsx("div",{className:"absolute bottom-0 w-[1px] -translate-x-1/2 bg-line-contrast",style:{top:F(),left:j()}}),u.jsx("div",{className:"relative flex shrink-0",children:r.renderExpandIcon?r.renderExpandIcon(Q,we,()=>d(Q)):Z(le,we,()=>d(Q))}),u.jsxs("div",{className:"ml-2 flex min-w-0 flex-col gap-[2px]",children:[r.renderTooltip?u.jsx(Cn,{children:u.jsxs(tn,{children:[u.jsx(Ft,{asChild:!0,children:u.jsx("span",{className:O(Q,he),style:Ne?{maxWidth:`${Ne}ch`}:void 0,children:ke})}),u.jsx($t,{className:"max-w-[300px]",children:r.renderTooltip(Q)})]})}):u.jsx("span",{className:O(Q,he),style:Ne?{maxWidth:`${Ne}ch`}:void 0,title:String(ke??""),children:ke}),q(Q,ze)]})]})},U=k.useMemo(()=>{const Q=new Map;let le=0;const we=he=>{he.forEach(ke=>{Q.set(r.getNodeId(ke),le),le+=1;const Ne=r.getNodeChildren(ke);Ne!=null&&Ne.length&&r.isNodeExpanded(ke)&&we(Ne)})};return we(n),Q},[n,r]),D=k.useRef(null),T=v??D,N=k.useMemo(()=>{if(!h)return[];const Q=[],le=(we,he=[],ke=[])=>{we.forEach((Ne,ze)=>{const Pe=ze===we.length-1,Qe=r.getNodeLevel(Ne);Q.push({node:Ne,guides:he,isLastChild:Pe,skipGuides:ke});const nt=r.getNodeChildren(Ne),rt=r.isNodeExpanded(Ne);if(nt!=null&&nt.length&&rt){const Ct=new Array(Qe+1).fill(!1);for(let lt=0;lt<Qe-1;lt++)Ct[lt]=ke[lt]||!1;Pe&&Qe>0&&(Ct[Qe-1]=!0),le(nt,[...he,!0],Ct)}})};return le(n),Q},[n,h,r]),H=V9({count:h?N.length:0,getScrollElement:()=>T.current,estimateSize:()=>g,overscan:C}),W=h?H.getVirtualItems():[],A=h?((Ae=W[0])==null?void 0:Ae.start)??0:0,Y=h?H.getTotalSize()-(((Ie=W[W.length-1])==null?void 0:Ie.end)??0):0,X=Q=>{if(!i||!i[Q])return;const le=i[Q];return{width:typeof le=="number"?`${le}px`:le,maxWidth:typeof le=="number"?`${le}px`:le,minWidth:typeof le=="number"?`${le}px`:le}},J=Q=>!l||!l[Q]?Q===0?"left":"center":l[Q],te=(Q,le,we,he,ke,Ne,ze,Pe,Qe,nt,rt,Ct,lt)=>{var gt;const mt=(gt=r.getNodeRowHeight)==null?void 0:gt.call(r,Q),st=mt!=null;return u.jsx("td",{className:P("border-r border-line-primary p-0",st&&"h-full align-top",{"border-r-0":lt.length===0}),style:X(0),children:u.jsxs("div",{className:P("flex items-stretch",st&&"h-full min-h-full",M()),style:st?{height:mt}:void 0,children:[G(le,we,he,ke,st),u.jsx("div",{className:I(st),children:oe(Q,Ne,ze,Pe,Qe,nt,rt,Ct)})]})})},B=Q=>Q.map((le,we)=>u.jsx("td",{className:P("border-r border-line-primary align-middle text-foreground-primary",V(),{"text-left":J(we+1)==="left","text-center":J(we+1)==="center","text-right":J(we+1)==="right","border-r-0":we===Q.length-1},we===Q.length-1&&L()),style:X(we+1),children:le},we)),ae=(Q,le,we,he=[],ke,Ne)=>{var z;const ze=r.getNodeId(Q),Pe=ke!==void 0?ke:ze,Qe=r.getNodeLevel(Q),nt=r.getNodeChildren(Q),rt=r.hasNestedNodes(Q),Ct=r.isNodeExpanded(Q),lt=t?r.isNodeSelected(Q,t):!1,mt=r.getNodeHeadingText(Q),st=(z=r.getNodeHeadingMaxLength)==null?void 0:z.call(r,Q),gt=r.getNodeFooterText(Q),ct=r.getNodeCellValues(Q),Ce=!!(Q.onClick||Q.onDoubleClick),xe=ke!==void 0?Number(ke):U.get(ze)??0;return u.jsxs(S,{ref:Ne,"data-index":ke,node:Q,className:P("group",_(xe,lt)),onClick:()=>{var re;return(re=Q.onClick)==null?void 0:re.call(Q)},onDoubleClick:()=>{var re;return(re=Q.onDoubleClick)==null?void 0:re.call(Q)},children:[te(Q,Qe,le,we,he,rt,Ct,Ce,mt,st,gt,nt,ct),B(ct)]},Pe)},ne=(Q=[],le=[],we=[])=>Q.map((he,ke)=>{var xe;const Ne=r.getNodeId(he),ze=r.getNodeLevel(he),Pe=r.getNodeChildren(he),Qe=r.hasNestedNodes(he),nt=r.isNodeExpanded(he),rt=t?r.isNodeSelected(he,t):!1,Ct=r.getNodeHeadingText(he),lt=(xe=r.getNodeHeadingMaxLength)==null?void 0:xe.call(r,he),mt=r.getNodeFooterText(he),st=r.getNodeCellValues(he),gt=ke===Q.length-1,ct=!!(he.onClick||he.onDoubleClick),Ce=U.get(Ne)??0;return u.jsxs(k.Fragment,{children:[u.jsxs(S,{node:he,className:P("group",_(Ce,rt)),onClick:()=>{var z;return(z=he.onClick)==null?void 0:z.call(he)},onDoubleClick:()=>{var z;return(z=he.onDoubleClick)==null?void 0:z.call(he)},children:[te(he,ze,le,gt,we,Qe,nt,ct,Ct,lt,mt,Pe,st),B(st)]}),!!(Pe!=null&&Pe.length)&&nt&&(()=>{const z=new Array(ze+1).fill(!1);for(let re=0;re<ze-1;re++)z[re]=we[re]||!1;return gt&&ze>0&&(z[ze-1]=!0),ne(Pe,[...le,!0],z)})()]},Ne)}),se=o||[],ge=a??se,pe=ge.length>0&&ge.some(Q=>a?Q!=null:String(Q).trim()!=="")||b!==void 0,Le=a?ge.length||1:Math.max(se.length,1),Fe=(Q,le)=>P("box-border min-h-9 overflow-hidden border-b border-r border-line-primary border-b-line-primary-disabled bg-background-secondary p-2 text-left font-medium text-foreground-primary align-middle min-w-0",Q===0&&M(),le&&P(L(),"border-r-0"),{"text-left":Q===0||J(Q)==="left","text-center":Q!==0&&J(Q)==="center","text-right":Q!==0&&J(Q)==="right"});return u.jsx("div",{ref:T,id:p,className:P("h-full overflow-auto",s),children:u.jsxs("table",{className:"w-full border-collapse text-sm",children:[pe&&u.jsx("thead",{className:"sticky top-0 z-10 bg-background-secondary",children:u.jsx("tr",{children:a?ge.map((Q,le)=>u.jsx("th",{className:Fe(le,le===ge.length-1),style:X(le),children:Q},le)):u.jsxs(u.Fragment,{children:[u.jsx("th",{className:Fe(0,se.length<=1),style:X(0),children:b??(se[0]!=null&&String(se[0]).trim()!==""?u.jsx("span",{className:"block truncate",title:String(se[0]),children:se[0]}):null)}),se.slice(1).map((Q,le)=>u.jsx("th",{className:Fe(le+1,le+1===se.length-1),style:X(le+1),children:u.jsx("span",{className:"block truncate",title:String(Q),children:Q})},le+1))]})})}),u.jsx("tbody",{children:h?u.jsxs(u.Fragment,{children:[A>0&&u.jsx("tr",{style:{height:`${A}px`},children:u.jsx("td",{colSpan:Le})}),W.map(Q=>{const{node:le,guides:we,isLastChild:he,skipGuides:ke}=N[Q.index];return ae(le,we,he,ke,Q.index,H.measureElement)}),Y>0&&u.jsx("tr",{style:{height:`${Y}px`},children:u.jsx("td",{colSpan:Le})})]}):ne(n)})]})})};var lc="ToastProvider",[cc,yP,bP]=b1("Toast"),[a6]=it("Toast",[bP]),[xP,Ga]=a6(lc),s6=e=>{const{__scopeToast:n,label:t="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:a=50,children:s}=e,[i,l]=c.useState(null),[d,f]=c.useState(0),h=c.useRef(!1),g=c.useRef(!1);return t.trim()||console.error(`Invalid prop \`label\` supplied to \`${lc}\`. Expected non-empty \`string\`.`),u.jsx(cc.Provider,{scope:n,children:u.jsx(xP,{scope:n,label:t,duration:r,swipeDirection:o,swipeThreshold:a,toastCount:d,viewport:i,onViewportChange:l,onToastAdd:c.useCallback(()=>f(C=>C+1),[]),onToastRemove:c.useCallback(()=>f(C=>C-1),[]),isFocusedToastEscapeKeyDownRef:h,isClosePausedRef:g,children:s})})};s6.displayName=lc;var i6="ToastViewport",SP=["F8"],uc="toast.viewportPause",dc="toast.viewportResume",l6=c.forwardRef((e,n)=>{const{__scopeToast:t,hotkey:r=SP,label:o="Notifications ({hotkey})",...a}=e,s=Ga(i6,t),i=yP(t),l=c.useRef(null),d=c.useRef(null),f=c.useRef(null),h=c.useRef(null),g=ye(n,h,s.onViewportChange),C=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),v=s.toastCount>0;c.useEffect(()=>{const m=w=>{var b;r.length!==0&&r.every(S=>w[S]||w.code===S)&&((b=h.current)==null||b.focus())};return document.addEventListener("keydown",m),()=>document.removeEventListener("keydown",m)},[r]),c.useEffect(()=>{const m=l.current,w=h.current;if(v&&m&&w){const y=()=>{if(!s.isClosePausedRef.current){const M=new CustomEvent(uc);w.dispatchEvent(M),s.isClosePausedRef.current=!0}},b=()=>{if(s.isClosePausedRef.current){const M=new CustomEvent(dc);w.dispatchEvent(M),s.isClosePausedRef.current=!1}},S=M=>{!m.contains(M.relatedTarget)&&b()},E=()=>{m.contains(document.activeElement)||b()};return m.addEventListener("focusin",y),m.addEventListener("focusout",S),m.addEventListener("pointermove",y),m.addEventListener("pointerleave",E),window.addEventListener("blur",y),window.addEventListener("focus",b),()=>{m.removeEventListener("focusin",y),m.removeEventListener("focusout",S),m.removeEventListener("pointermove",y),m.removeEventListener("pointerleave",E),window.removeEventListener("blur",y),window.removeEventListener("focus",b)}}},[v,s.isClosePausedRef]);const p=c.useCallback(({tabbingDirection:m})=>{const y=i().map(b=>{const S=b.ref.current,E=[S,...HP(S)];return m==="forwards"?E:E.reverse()});return(m==="forwards"?y.reverse():y).flat()},[i]);return c.useEffect(()=>{const m=h.current;if(m){const w=y=>{var E,M,L;const b=y.altKey||y.ctrlKey||y.metaKey;if(y.key==="Tab"&&!b){const I=document.activeElement,O=y.shiftKey;if(y.target===m&&O){(E=d.current)==null||E.focus();return}const $=p({tabbingDirection:O?"backwards":"forwards"}),j=$.findIndex(F=>F===I);gc($.slice(j+1))?y.preventDefault():O?(M=d.current)==null||M.focus():(L=f.current)==null||L.focus()}};return m.addEventListener("keydown",w),()=>m.removeEventListener("keydown",w)}},[i,p]),u.jsxs(jp,{ref:l,role:"region","aria-label":o.replace("{hotkey}",C),tabIndex:-1,style:{pointerEvents:v?void 0:"none"},children:[v&&u.jsx(fc,{ref:d,onFocusFromOutsideViewport:()=>{const m=p({tabbingDirection:"forwards"});gc(m)}}),u.jsx(cc.Slot,{scope:t,children:u.jsx(ie.ol,{tabIndex:-1,...a,ref:g})}),v&&u.jsx(fc,{ref:f,onFocusFromOutsideViewport:()=>{const m=p({tabbingDirection:"backwards"});gc(m)}})]})});l6.displayName=i6;var c6="ToastFocusProxy",fc=c.forwardRef((e,n)=>{const{__scopeToast:t,onFocusFromOutsideViewport:r,...o}=e,a=Ga(c6,t);return u.jsx(A1,{tabIndex:0,...o,ref:n,style:{position:"fixed"},onFocus:s=>{var d;const i=s.relatedTarget;!((d=a.viewport)!=null&&d.contains(i))&&r()}})});fc.displayName=c6;var Jo="Toast",MP="toast.swipeStart",EP="toast.swipeMove",LP="toast.swipeCancel",NP="toast.swipeEnd",u6=c.forwardRef((e,n)=>{const{forceMount:t,open:r,defaultOpen:o,onOpenChange:a,...s}=e,[i,l]=wt({prop:r,defaultProp:o??!0,onChange:a,caller:Jo});return u.jsx(qe,{present:t||i,children:u.jsx(IP,{open:i,...s,ref:n,onClose:()=>l(!1),onPause:Ge(e.onPause),onResume:Ge(e.onResume),onSwipeStart:ee(e.onSwipeStart,d=>{d.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ee(e.onSwipeMove,d=>{const{x:f,y:h}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","move"),d.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${f}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${h}px`)}),onSwipeCancel:ee(e.onSwipeCancel,d=>{d.currentTarget.setAttribute("data-swipe","cancel"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:ee(e.onSwipeEnd,d=>{const{x:f,y:h}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","end"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${f}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${h}px`),l(!1)})})})});u6.displayName=Jo;var[kP,PP]=a6(Jo,{onClose(){}}),IP=c.forwardRef((e,n)=>{const{__scopeToast:t,type:r="foreground",duration:o,open:a,onClose:s,onEscapeKeyDown:i,onPause:l,onResume:d,onSwipeStart:f,onSwipeMove:h,onSwipeCancel:g,onSwipeEnd:C,...v}=e,p=Ga(Jo,t),[m,w]=c.useState(null),y=ye(n,F=>w(F)),b=c.useRef(null),S=c.useRef(null),E=o||p.duration,M=c.useRef(0),L=c.useRef(E),I=c.useRef(0),{onToastAdd:O,onToastRemove:_}=p,V=Ge(()=>{var R;(m==null?void 0:m.contains(document.activeElement))&&((R=p.viewport)==null||R.focus()),s()}),$=c.useCallback(F=>{!F||F===1/0||(window.clearTimeout(I.current),M.current=new Date().getTime(),I.current=window.setTimeout(V,F))},[V]);c.useEffect(()=>{const F=p.viewport;if(F){const R=()=>{$(L.current),d==null||d()},Z=()=>{const K=new Date().getTime()-M.current;L.current=L.current-K,window.clearTimeout(I.current),l==null||l()};return F.addEventListener(uc,Z),F.addEventListener(dc,R),()=>{F.removeEventListener(uc,Z),F.removeEventListener(dc,R)}}},[p.viewport,E,l,d,$]),c.useEffect(()=>{a&&!p.isClosePausedRef.current&&$(E)},[a,E,p.isClosePausedRef,$]),c.useEffect(()=>(O(),()=>_()),[O,_]);const j=c.useMemo(()=>m?m6(m):null,[m]);return p.viewport?u.jsxs(u.Fragment,{children:[j&&u.jsx(OP,{__scopeToast:t,role:"status","aria-live":r==="foreground"?"assertive":"polite",children:j}),u.jsx(kP,{scope:t,onClose:V,children:eo.createPortal(u.jsx(cc.ItemSlot,{scope:t,children:u.jsx(Rp,{asChild:!0,onEscapeKeyDown:ee(i,()=>{p.isFocusedToastEscapeKeyDownRef.current||V(),p.isFocusedToastEscapeKeyDownRef.current=!1}),children:u.jsx(ie.li,{tabIndex:0,"data-state":a?"open":"closed","data-swipe-direction":p.swipeDirection,...v,ref:y,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:ee(e.onKeyDown,F=>{F.key==="Escape"&&(i==null||i(F.nativeEvent),F.nativeEvent.defaultPrevented||(p.isFocusedToastEscapeKeyDownRef.current=!0,V()))}),onPointerDown:ee(e.onPointerDown,F=>{F.button===0&&(b.current={x:F.clientX,y:F.clientY})}),onPointerMove:ee(e.onPointerMove,F=>{if(!b.current)return;const R=F.clientX-b.current.x,Z=F.clientY-b.current.y,K=!!S.current,q=["left","right"].includes(p.swipeDirection),G=["left","up"].includes(p.swipeDirection)?Math.min:Math.max,oe=q?G(0,R):0,U=q?0:G(0,Z),D=F.pointerType==="touch"?10:2,T={x:oe,y:U},N={originalEvent:F,delta:T};K?(S.current=T,Ra(EP,h,N,{discrete:!1})):v6(T,p.swipeDirection,D)?(S.current=T,Ra(MP,f,N,{discrete:!1}),F.target.setPointerCapture(F.pointerId)):(Math.abs(R)>D||Math.abs(Z)>D)&&(b.current=null)}),onPointerUp:ee(e.onPointerUp,F=>{const R=S.current,Z=F.target;if(Z.hasPointerCapture(F.pointerId)&&Z.releasePointerCapture(F.pointerId),S.current=null,b.current=null,R){const K=F.currentTarget,q={originalEvent:F,delta:R};v6(R,p.swipeDirection,p.swipeThreshold)?Ra(NP,C,q,{discrete:!0}):Ra(LP,g,q,{discrete:!0}),K.addEventListener("click",G=>G.preventDefault(),{once:!0})}})})})}),p.viewport)})]}):null}),OP=e=>{const{__scopeToast:n,children:t,...r}=e,o=Ga(Jo,n),[a,s]=c.useState(!1),[i,l]=c.useState(!1);return _P(()=>s(!0)),c.useEffect(()=>{const d=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(d)},[]),i?null:u.jsx(kn,{asChild:!0,children:u.jsx(A1,{...r,children:a&&u.jsxs(u.Fragment,{children:[o.label," ",t]})})})},TP="ToastTitle",d6=c.forwardRef((e,n)=>{const{__scopeToast:t,...r}=e;return u.jsx(ie.div,{...r,ref:n})});d6.displayName=TP;var DP="ToastDescription",f6=c.forwardRef((e,n)=>{const{__scopeToast:t,...r}=e;return u.jsx(ie.div,{...r,ref:n})});f6.displayName=DP;var h6="ToastAction",g6=c.forwardRef((e,n)=>{const{altText:t,...r}=e;return t.trim()?u.jsx(C6,{altText:t,asChild:!0,children:u.jsx(hc,{...r,ref:n})}):(console.error(`Invalid prop \`altText\` supplied to \`${h6}\`. Expected non-empty \`string\`.`),null)});g6.displayName=h6;var p6="ToastClose",hc=c.forwardRef((e,n)=>{const{__scopeToast:t,...r}=e,o=PP(p6,t);return u.jsx(C6,{asChild:!0,children:u.jsx(ie.button,{type:"button",...r,ref:n,onClick:ee(e.onClick,o.onClose)})})});hc.displayName=p6;var C6=c.forwardRef((e,n)=>{const{__scopeToast:t,altText:r,...o}=e;return u.jsx(ie.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:n})});function m6(e){const n=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&n.push(r.textContent),VP(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",a=r.dataset.radixToastAnnounceExclude==="";if(!o)if(a){const s=r.dataset.radixToastAnnounceAlt;s&&n.push(s)}else n.push(...m6(r))}}),n}function Ra(e,n,t,{discrete:r}){const o=t.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:t});n&&o.addEventListener(e,n,{once:!0}),r?Vs(o,a):o.dispatchEvent(a)}var v6=(e,n,t=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),a=r>o;return n==="left"||n==="right"?a&&r>t:!a&&o>t};function _P(e=()=>{}){const n=Ge(e);tt(()=>{let t=0,r=0;return t=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(n)),()=>{window.cancelAnimationFrame(t),window.cancelAnimationFrame(r)}},[n])}function VP(e){return e.nodeType===e.ELEMENT_NODE}function HP(e){const n=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)n.push(t.currentNode);return n}function gc(e){const n=document.activeElement;return e.some(t=>t===n?!0:(t.focus(),document.activeElement!==n))}var AP=s6,w6=l6,y6=u6,b6=d6,x6=f6,S6=g6,M6=hc;const E6=AP,pc=c.forwardRef(({className:e,...n},t)=>u.jsx(w6,{ref:t,"data-krit-ui-toast-viewport":"",className:P("fixed top-0 z-[200] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px] gap-4",e),...n}));pc.displayName=w6.displayName;const FP=yn("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-lg py-3 px-4 shadow-float transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"bg-background text-foreground",destructive:"destructive group bg-background-error-fade text-foreground-error border border-line-primary",success:"success group bg-background-success-fade text-foreground-success border border-line-primary"}},defaultVariants:{variant:"default"}}),Cc=c.forwardRef(({className:e,variant:n,children:t,...r},o)=>u.jsx(y6,{ref:o,"data-krit-ui-toast":"",className:P(FP({variant:n}),e),...r,children:u.jsxs("div",{className:"flex gap-2 whitespace-pre-line",children:[n==="destructive"&&u.jsx(Zl,{className:"min-w-6 h-6"}),n==="success"&&u.jsx(zl,{className:"min-w-6 h-6"}),t]})}));Cc.displayName=y6.displayName;const L6=c.forwardRef(({className:e,...n},t)=>u.jsx(S6,{ref:t,className:P("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-[transparent] px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-background-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...n}));L6.displayName=S6.displayName;const mc=c.forwardRef(({className:e,...n},t)=>u.jsx(M6,{ref:t,"data-krit-ui-ignore-dialog-dismiss":"",className:P("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...n,children:u.jsx(Q1,{className:"h-4 w-4"})}));mc.displayName=M6.displayName;const vc=c.forwardRef(({className:e,...n},t)=>u.jsx(b6,{ref:t,className:P("text-sm leading-5 tracking-[0.25px]",e),...n}));vc.displayName=b6.displayName;const wc=c.forwardRef(({className:e,...n},t)=>u.jsx(x6,{ref:t,className:P("text-sm opacity-90",e),...n}));wc.displayName=x6.displayName;const $P=5,zP=1e6;let yc=0;function ZP(){return yc=(yc+1)%Number.MAX_SAFE_INTEGER,yc.toString()}const bc=new Map,N6=e=>{if(bc.has(e))return;const n=setTimeout(()=>{bc.delete(e),e1({type:"REMOVE_TOAST",toastId:e})},zP);bc.set(e,n)},k6=(e,n)=>{switch(n.type){case"ADD_TOAST":return{...e,toasts:[n.toast,...e.toasts].slice(0,$P)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(t=>t.id===n.toast.id?{...t,...n.toast}:t)};case"DISMISS_TOAST":{const{toastId:t}=n;return t?N6(t):e.toasts.forEach(r=>{N6(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===t||t===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return n.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(t=>t.id!==n.toastId)}}},ja=[];let Ya={toasts:[]};function e1(e){Ya=k6(Ya,e),ja.forEach(n=>{n(Ya)})}function P6({...e}){const n=ZP(),t=o=>e1({type:"UPDATE_TOAST",toast:{...o,id:n}}),r=()=>e1({type:"DISMISS_TOAST",toastId:n});return e1({type:"ADD_TOAST",toast:{...e,id:n,open:!0,onOpenChange:o=>{o||r()}}}),{id:n,dismiss:r,update:t}}function xc(){const[e,n]=c.useState(Ya);return c.useEffect(()=>(ja.push(n),()=>{const t=ja.indexOf(n);t>-1&&ja.splice(t,1)}),[e]),{...e,toast:P6,dismiss:t=>e1({type:"DISMISS_TOAST",toastId:t})}}function BP(e){const{viewportClassname:n}=e,{toasts:t}=xc();return u.jsx(pm,{children:u.jsxs(E6,{children:[t.map(function({id:r,title:o,description:a,action:s,...i}){return u.jsxs(Cc,{...i,children:[u.jsxs("div",{className:"grid gap-1",children:[o&&u.jsx(vc,{children:o}),a&&u.jsx(wc,{children:a})]}),s,u.jsx(mc,{})]},r)}),u.jsx(pc,{className:n})]})})}const I6=({className:e,children:n,column:t,enableMultiSort:r=!1,maxMultiSortColumns:o,sortingCount:a=0,mode:s="toggle",allowSortingReset:i=!1,direction:l,icon:d=Xo,iconOnly:f=!1})=>{const{t:h}=ot(),g=l??t.getIsSorted(),C=t.getSortIndex(),v=!!t.getIsSorted()||!r||o===void 0||a<o,p=()=>{if(i&&g==="desc"){t.clearSorting();return}r?t.getIsSorted()?t.toggleSorting(g==="asc",!0):(o===void 0||a<o)&&t.toggleSorting(void 0,!0):t.toggleSorting(g==="asc")},m=u.jsxs("button",{type:"button",disabled:!t.getCanSort(),"aria-label":`${h("sorting")}: ${typeof n=="string"?n:t.id}`,className:P("flex items-center gap-1 rounded text-left focus-visible:outline focus-visible:outline-2 disabled:opacity-50",f&&"shrink-0 p-1",e),onClick:s==="toggle"?p:void 0,children:[u.jsx(d,{className:P("h-4 w-4 shrink-0 text-icon transition-transform",g==="asc"&&"rotate-180",g&&"text-foreground-theme")}),r&&a>1&&C!==-1&&u.jsx("span",{className:"inline-flex items-center justify-center min-w-5 h-5 text-xs font-semibold bg-foreground-theme text-background-primary rounded",children:C+1}),!f&&n]});return s==="toggle"?m:u.jsxs(Ta,{children:[u.jsx(Bo,{asChild:!0,children:m}),u.jsxs(Wo,{children:[u.jsx(rr,{disabled:!v,onSelect:()=>t.toggleSorting(!1,r),children:h("ascending")}),u.jsx(rr,{disabled:!v,onSelect:()=>t.toggleSorting(!0,r),children:h("descending")}),u.jsx(rr,{disabled:!t.getIsSorted(),onSelect:()=>t.clearSorting(),children:h("sortReset")})]})]})},qa=1024*1024,nn=(e=0)=>e*qa,Sc=(e=0)=>(e/qa).toFixed(2),O6=async(e,{quality:n=1,type:t=e.type}={})=>{const r=await createImageBitmap(e),o=document.createElement("canvas");o.width=r.width,o.height=r.height;const a=o.getContext("2d");if(!a)return e;a.drawImage(r,0,0);const s=await new Promise(i=>o.toBlob(i,t,n));return s?new File([s],e.name,{type:s.type}):e},T6=async(e,{quality:n=1,type:t=e.type}={})=>n===1?e:t.includes("image")?O6(e,{quality:n,type:t}):e,D6=(e,n)=>{const t=e.size<nn(n),r=`Размер файла должен быть не более ${n} МБ`;return t?{ok:!0}:{ok:!1,fileSizeError:r}},_6=async(e,n)=>new Promise((t,r)=>{if(!n.includes(e.type)){r({ok:!1,fileTypeError:"Тип файла не поддерживается"});return}const o=new FileReader;o.onload=function(a){var f;const s=(f=a.target)==null?void 0:f.result;if(!s)return;const i=new Uint8Array(s).subarray(0,12);let l="";for(let h=0;h<i.length;h++)l+=i[h].toString(16);let d=!1;l.startsWith("89504e47")?d=e.type==="image/png":l.startsWith("ffd8ff")?d=e.type==="image/jpeg"||e.type==="image/jpg":l.startsWith("000")&&(l.includes("66747970")||l.toLowerCase().includes("6d703432"))&&(d=e.type==="video/mp4"),d?t({ok:!0}):r({ok:!1,fileTypeError:"Тип файла не поддерживается"})},e?o.readAsArrayBuffer(e):r({ok:!1,fileTypeError:"Файл не выбран"})}),V6=async(e,n,t=10)=>{const r=await _6(e,n).catch(o=>o);return r.ok?D6(e,t):r},WP=e=>new Promise(n=>{const t=document.createElement("canvas"),r=document.createElement("video");r.autoplay=!0,r.muted=!0,r.src=URL.createObjectURL(e),r.onloadeddata=()=>{const o=t.getContext("2d");return t.width=r.videoWidth,t.height=r.videoHeight,o==null||o.drawImage(r,0,0,r.videoWidth,r.videoHeight),r.pause(),n(t.toDataURL("image/png"))}}),H6=e=>{if(e.type.includes("image"))return URL.createObjectURL(e);if(e.type.includes("video"))return WP(e)},A6=async e=>{const n=[];for(const t of e)n.push({id:new Date().getTime(),file:t,contentType:t.type,fileName:t.name,url:await H6(t)||URL.createObjectURL(t)});return n},F6=c.forwardRef(({className:e,onAdd:n,onClick:t,onFileRemove:r,error:o,accept:a,maxFileSize:s,defaultValue:i,...l},d)=>{const[f,h]=c.useState(""),g=async p=>{const m=await V6(p[0],a??"",s);m.ok?(h(p[0].name),n(p[0])):n(p[0],{fileTypeError:m.fileTypeError,fileSizeError:m.fileSizeError})};function C(p){t&&(p.preventDefault(),t())}const v=()=>u.jsxs("div",{className:P("flex flex-row gap-1"),children:[r&&u.jsx("div",{className:"cursor-pointer",onClick:p=>{p.stopPropagation(),p.preventDefault(),r(()=>h(""))},children:u.jsx(Ro,{})}),u.jsx(Z9,{})]});return u.jsx(u.Fragment,{children:u.jsxs("label",{className:e,onClick:C,children:[u.jsx("input",{type:"file",style:{display:"none"},accept:a,...l,ref:d,onChange:p=>{var m;return((m=p.target.files)==null?void 0:m.length)&&g(p.target.files)}},f),u.jsx(en,{defaultValue:f||i,style:{pointerEvents:"none",background:"white"},placeholder:l.placeholder,error:o,rightIcon:v()})]})})});F6.displayName="FileInput";const Ua=c.forwardRef(({className:e,error:n,rows:t,onEnter:r,...o},a)=>{var f;const[s,i]=c.useState(((f=o.value)==null?void 0:f.toString().length)??0),l=h=>{var g;i(h.target.value.length),(g=o.onChange)==null||g.call(o,h)},d=u.jsxs(u.Fragment,{children:[u.jsx("textarea",{className:P("w-full rounded-lg border border-line-primary bg-[transparent] blur-none px-3 py-2 text-sm tracking-[0.1px] leading-5 transition-colors duration-300 ease-in-out ring-offset-background file:border-0 file:bg-[transparent] file:text-sm font-normal placeholder:text-foreground-secondary focus-visible:outline-none focus-visible:border-line-focused disabled:cursor-not-allowed disabled:opacity-50 resize-none",n?"border-line-error focus-visible:border-line-error":"",o.maxLength?"pb-2.5":"pb-0.5"),ref:a,placeholder:o.placeholder,rows:t??4,onKeyDown:h=>{h.key==="Enter"&&(r==null||r(h.target.value))},...o,onChange:l}),o.maxLength&&u.jsxs("span",{className:`absolute right-2 bottom-2.5
131
+ text-foreground-tertiary text-xs`,children:[s,"/",o.maxLength]})]});return u.jsx("span",{className:P("relative transition-colors",e),children:d})});Ua.displayName="TextArea";var Xa="Switch",[GP]=it(Xa),[RP,jP]=GP(Xa),$6=c.forwardRef((e,n)=>{const{__scopeSwitch:t,name:r,checked:o,defaultChecked:a,required:s,disabled:i,value:l="on",onCheckedChange:d,form:f,...h}=e,[g,C]=c.useState(null),v=ye(n,b=>C(b)),p=c.useRef(!1),m=g?f||!!g.closest("form"):!0,[w,y]=wt({prop:o,defaultProp:a??!1,onChange:d,caller:Xa});return u.jsxs(RP,{scope:t,checked:w,disabled:i,children:[u.jsx(ie.button,{type:"button",role:"switch","aria-checked":w,"aria-required":s,"data-state":W6(w),"data-disabled":i?"":void 0,disabled:i,value:l,...h,ref:v,onClick:ee(e.onClick,b=>{y(S=>!S),m&&(p.current=b.isPropagationStopped(),p.current||b.stopPropagation())})}),m&&u.jsx(B6,{control:g,bubbles:!p.current,name:r,value:l,checked:w,required:s,disabled:i,form:f,style:{transform:"translateX(-100%)"}})]})});$6.displayName=Xa;var z6="SwitchThumb",Z6=c.forwardRef((e,n)=>{const{__scopeSwitch:t,...r}=e,o=jP(z6,t);return u.jsx(ie.span,{"data-state":W6(o.checked),"data-disabled":o.disabled?"":void 0,...r,ref:n})});Z6.displayName=z6;var YP="SwitchBubbleInput",B6=c.forwardRef(({__scopeSwitch:e,control:n,checked:t,bubbles:r=!0,...o},a)=>{const s=c.useRef(null),i=ye(s,a),l=H1(t),d=D1(n);return c.useEffect(()=>{const f=s.current;if(!f)return;const h=window.HTMLInputElement.prototype,C=Object.getOwnPropertyDescriptor(h,"checked").set;if(l!==t&&C){const v=new Event("click",{bubbles:r});C.call(f,t),f.dispatchEvent(v)}},[l,t,r]),u.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:t,...o,tabIndex:-1,ref:i,style:{...o.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});B6.displayName=YP;function W6(e){return e?"checked":"unchecked"}var G6=$6,qP=Z6;const R6=c.forwardRef(({className:e,...n},t)=>u.jsx(G6,{className:P("peer inline-flex h-3 w-8 shrink-0 cursor-pointer items-center rounded-full border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-background-success data-[state=unchecked]:bg-background-contrast-fade",e),...n,ref:t,children:u.jsx(qP,{className:P("pointer-events-none block h-[18px] w-[18px] rounded-full bg-background shadow-switch ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));R6.displayName=G6.displayName;const j6=Se.z.object({id:Se.z.number().or(Se.z.string()),contentType:Se.z.string(),url:Se.z.string().optional(),file:Se.z.instanceof(File).optional(),fileName:Se.z.string().optional(),size:Se.z.number().optional(),isMain:Se.z.boolean().optional(),inProgress:Se.z.boolean().optional(),downloadUrl:Se.z.string().optional(),previewUrl:Se.z.string().optional(),onDownload:Se.z.function().optional(),onRemove:Se.z.function().optional()}).or(Se.z.object({id:Se.z.number().or(Se.z.string()),contentType:Se.z.string(),url:Se.z.string().optional(),file:Se.z.instanceof(File),fileName:Se.z.string().optional(),size:Se.z.number().optional(),isMain:Se.z.boolean().optional(),inProgress:Se.z.boolean().optional(),downloadUrl:Se.z.string().optional(),previewUrl:Se.z.string().optional(),onDownload:Se.z.function().optional(),onRemove:Se.z.function().optional()})),UP=Se.z.array(Se.z.object({label:Se.z.string(),items:Se.z.array(j6),disableIfEmpty:Se.z.boolean().optional(),hideIfEmpty:Se.z.boolean().optional(),canAdd:Se.z.boolean().optional(),maxFiles:Se.z.number().optional()})),Mc=["video","audio","image","pdf","word","excel","archive"],Y6=new Map([["video","video/mp4"],["image","image/png, image/jpeg"],["audio","audio/mp3"],["pdf","application/pdf"],["word","application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/msword"],["excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel.sheet.macroEnabled.12, application/vnd.ms-excel"],["archive","application/zip, application/x-rar-compressed, application/x-7z-compressed"]]),Ec=40,Lc=20,Nc=10,kc=1,Pc=1,Ic=20,Oc=20,Tc=20,q6=e=>{let n;const t=new Set,r=(d,f)=>{const h=typeof d=="function"?d(n):d;if(!Object.is(h,n)){const g=n;n=f??(typeof h!="object"||h===null)?h:Object.assign({},n,h),t.forEach(C=>C(n,g))}},o=()=>n,i={setState:r,getState:o,getInitialState:()=>l,subscribe:d=>(t.add(d),()=>t.delete(d))},l=n=e(r,o,i);return i},XP=e=>e?q6(e):q6,KP=e=>e;function QP(e,n=KP){const t=k.useSyncExternalStore(e.subscribe,k.useCallback(()=>n(e.getState()),[e,n]),k.useCallback(()=>n(e.getInitialState()),[e,n]));return k.useDebugValue(t),t}const JP=e=>{const n=XP(e),t=r=>QP(n,r);return Object.assign(t,n),t},Ka=(e=>JP)()(e=>({title:"",description:"",confirmText:"",confirmType:"fade-contrast-outlined",confirmHidden:!1,cancelText:"",cancelHidden:!1,inputValue:"",inputPlaceholder:"",inputRequiredLabel:"",setInput:n=>e({inputValue:n}),confirmed:!1,visible:!1,setVisible:n=>e({visible:n,confirmed:null}),show:n=>e({visible:!0,title:n.title??"",description:n.description,confirmText:n.confirmText,confirmType:n.confirmType??"fade-contrast-filled",confirmHidden:n.confirmHidden??!1,cancelText:n.cancelText??"",cancelHidden:n.cancelHidden??!1,input:n.input,inputPlaceholder:n.inputPlaceholder??"",inputRequiredLabel:n.inputRequiredLabel??"",inputMaxLength:n.inputMaxLength,inputRequired:n.inputRequired}),hide:()=>e({visible:!1}),confirm:n=>e({confirmed:!0,visible:!1,inputValue:n}),cancel:()=>e({confirmed:!1,visible:!1})})),Dc=()=>{const e=Ka();return{confirm:async r=>{const{confirmed:o,unsubscribe:a}=await new Promise(s=>{e.show(r);const i=Ka.subscribe(({visible:l,confirmed:d})=>{l||s({confirmed:d,unsubscribe:i})})});return a(),o},prompt:async r=>{e.setInput("");const{inputValue:o,unsubscribe:a}=await new Promise(s=>{e.show(r);const i=Ka.subscribe(({visible:l,inputValue:d})=>{l||s({inputValue:d,unsubscribe:i})})});return a(),o}}},_c=e=>{var n;return(n=e.response)==null?void 0:n.data},eI=(e,n)=>{var t,r;return(r=(t=n.split(e+"='")[1])==null?void 0:t.split("'")[0])==null?void 0:r.trim()},Qa=e=>{const{t:n}=ot(),{toast:t}=xc(),r=(h,g)=>{const C=`${n("errorOccurred")}: `;t({variant:"destructive",title:h?`${g??C}${h}`:n("errorOccurred")})},o=h=>{t({variant:"success",title:h})},a=h=>h?Array.isArray(h.errors)?h.errors.join(", "):h.errors&&typeof h.errors=="object"?Object.values(h.errors).flat().join(", "):"":"",s=h=>{const g=_c(h),C=g&&"title"in g?g.title:void 0,v=(g==null?void 0:g.message)||String(g&&("Message"in g?g.Message:""))||(g==null?void 0:g.detail),p=h==null?void 0:h.errorDescription;if(p)return p;const m=v||(g==null?void 0:g.error)||C,w=a(g);return e||w||m};return{toast:t,notifyError:r,onError:h=>{const g=s(h);r(g)},getErrorHandler:h=>g=>{const C=s(g),v=[];for(const[p,m]of Object.entries(h)){const w=_c(g),y=(w==null?void 0:w.message)||w&&("Message"in w?w.Message:""),b=typeof m=="function"?m(w==null?void 0:w.errors):m;(!!p&&p===y||!!b&&!p)&&v.push(b)}v.length?v.forEach(p=>r(p)):r(C)},getSuccessHandler:h=>()=>o(h),notifySuccess:o,onSuccess:()=>{o(e||"Success")}}},Ur=["image","video","audio"],ur=e=>{const n=e.toLowerCase();return n.includes("pdf")?"pdf":n.includes("wordprocessingml")||n==="application/msword"?"word":n.includes("spreadsheetml")||n.includes("ms-excel")?"excel":n==="application/zip"||n.includes("rar")||n.includes("7z")?"archive":n.includes("image")?"image":n.includes("video")?"video":n.includes("audio")?"audio":null},t1=e=>e!=null&&e.contentType&&ur(e.contentType)||"image",Gn=e=>(e==null?void 0:e.previewUrl)||(e==null?void 0:e.url),Vc=e=>(e==null?void 0:e.downloadUrl)||(e==null?void 0:e.url),Xr=e=>(e??[]).filter(n=>(n==null?void 0:n.contentType)&&(n.url||n.previewUrl||n.downloadUrl||n.file||n.onDownload)),tI={image:Pc,video:Lc,total:Ec,audio:Nc,pdf:kc,word:Ic,excel:Oc,archive:Tc},U6=e=>{const{accepts:n=Mc,multiple:t=!0,max:r,maxSizes:o,withCompress:a=!0,onAdd:s,attachmentData:i=[]}=e,l=k.useMemo(()=>({...tI,...o}),[o]),{notifyError:d}=Qa(),{t:f}=ot(),h=k.useRef(null),[g,C]=k.useState(!1),p=Xr(i).length,w=r!=null&&p>=r||g||!s,y=k.useCallback(async M=>{const L=Xr(i),I=L.length,O=N=>ur(N.type)==="image",_=N=>ur(N.type)==="audio",V=N=>ur(N.type)==="pdf",$=N=>ur(N.type)==="word",j=N=>ur(N.type)==="excel",F=N=>ur(N.type)==="archive",R=N=>O(N)?N.size<nn(l.image):_(N)?N.size<nn(l.audio):V(N)?N.size<nn(l.pdf):$(N)?N.size<nn(l.word):j(N)?N.size<nn(l.excel):F(N)?N.size<nn(l.archive):N.size<nn(l.video),Z=(N,H)=>O(N)?H.image:_(N)?H.audio:V(N)?H.pdf:$(N)?H.word:j(N)?H.excel:F(N)?H.archive:H.video,K=N=>{const H=Z(N,l),W=nn(H??l.video),A=Number((W/N.size).toFixed(2));return A>=1?1:A},q=Array.from(M);if(!q.length)return;C(!0);for(let N=0;N<q.length;N++){const H=q[N],W=!R(H)&&a?await T6(H,{quality:K(H)}):H;q[N]=W,R(W)||(O(H)?d(`${f("imageSizeLimitMB")} ${l.image}(MB) (${H.name})`):_(H)?d(`${f("audioSizeLimitMB")} ${l.audio}(MB) (${H.name})`):V(H)?d(`${f("pdfSizeLimitMB")} ${l.pdf}(MB) (${H.name})`):$(H)?d(`${f("videoSizeLimitMB")} ${l.word}(MB) (${H.name})`):j(H)?d(`${f("videoSizeLimitMB")} ${l.excel}(MB) (${H.name})`):F(H)?d(`${f("videoSizeLimitMB")} ${l.archive}(MB) (${H.name})`):d(`${f("videoSizeLimitMB")} ${l.video}(MB) (${H.name})`))}const G=q.filter(R),U=[...L.filter(N=>!!N.file).map(N=>N.file),...G].reduce((N,H)=>N+H.size,0)/qa;if(l.total!=null&&U>l.total){d(`${f("maxSizeOfFilesMB")} ${l.total}(MB)`),C(!1);return}const D=r!=null?Math.max(0,r-I):G.length,T=r!=null?G.slice(0,D):G;T.length&&(s==null||s(T)),h.current&&(h.current.value=""),C(!1)},[i,r,l,a,s,d,f]),b=k.useCallback(M=>{var L;(L=M.target.files)!=null&&L.length&&y(M.target.files).catch(()=>C(!1))},[y]),S=k.useCallback(()=>{var M;w||(M=h.current)==null||M.click()},[w]),E=n.map(M=>Y6.get(M)).filter(Boolean).join(",");return{inputRef:h,openPicker:S,processing:g,pickerDisabled:w,acceptAttr:E,multiple:t,onFileInputChange:b}},nI=({onRotate:e,onPrev:n,onNext:t,onRemove:r,isImage:o})=>u.jsx("div",{className:"flex justify-center items-center z-50",children:u.jsxs("div",{className:"flex bg-foreground-primary-disabled py-2 px-3 rounded-[8px] gap-4",children:[u.jsx(Po,{className:P("cursor-pointer text-icon-on-contrast",{"opacity-50":!n}),onClick:()=>n==null?void 0:n()}),u.jsx(Kn,{className:P("cursor-pointer text-icon-on-contrast",{"opacity-50":!t}),onClick:()=>t==null?void 0:t()}),u.jsx(W9,{className:P("cursor-pointer text-icon-on-contrast",{"opacity-50":!o}),onClick:()=>e("left")}),u.jsx(G9,{className:P("cursor-pointer text-icon-on-contrast",{"opacity-50":!o}),onClick:()=>e("right")}),r&&u.jsx(Ci,{className:"cursor-pointer text-icon-on-contrast",onClick:r})]})}),X6=({children:e,src:n,name:t,type:r,onPrev:o,onNext:a,onRemove:s})=>{var v,p;const i=k.useRef(null),[l,d]=k.useState(!0),[f,h]=k.useState(0),g=90,C=m=>{h(m==="left"?(f-g+360)%360:(f+g)%360)};return k.useEffect(()=>{var m;!((m=i.current)!=null&&m.complete)&&r!=="pdf"&&d(!0),h(0)},[n]),u.jsxs(pa,{children:[u.jsx(Vi,{asChild:!0,children:e}),u.jsxs(Lo,{className:"bg-[transparent] shadow-none flex flex-col gap-12 overflow-hidden",children:[u.jsx(Ca,{className:"sr-only",children:t||""}),u.jsxs("div",{className:"flex items-center justify-center max-h-[90vh]",children:[r==="image"&&u.jsx("img",{ref:i,style:{visibility:l?"hidden":void 0,rotate:`${f}deg`},src:n,className:"object-cover w-full h-full max-w-full max-h-[calc(90vh-150px)]",onError:()=>d(!1),onLoad:()=>d(!1),alt:t||"Изображение для просмотра"}),r==="video"&&u.jsx("video",{style:{visibility:l?"hidden":void 0},className:"object-cover",controls:!0,onError:()=>d(!1),onLoadedData:()=>d(!1),children:u.jsx("source",{src:n,type:"video/mp4"})}),r==="audio"&&u.jsx("audio",{style:{visibility:l?"hidden":void 0},className:"object-cover self-center",controls:!0,onError:()=>d(!1),onLoadedData:()=>d(!1),children:u.jsx("source",{src:n,type:"audio/mp3"})}),r==="pdf"&&u.jsxs("a",{href:n,target:"_blank",rel:"noopener noreferrer",className:P("flex flex-col items-center justify-center bg-background-secondary h-[130px] w-[130px] text-icon-theme rounded-lg border-2 border-line-secondary"),children:[u.jsx(Wn,{}),u.jsx("div",{className:"text-sm mt-1 text-foreground-secondary truncate w-full text-center p-0.5",title:t,children:t})]}),l&&u.jsx(Dr,{style:{width:(v=i.current)==null?void 0:v.width,height:(p=i.current)==null?void 0:p.height},className:"min-w-[-webkit-fill-available] h-auto flex justify-center items-center absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2"})]}),u.jsx(nI,{onRotate:C,onPrev:o,onNext:a,onRemove:s,isImage:r==="image"})]})]})},K6=e=>{const{className:n,placeholder:t,data:r=[],accepts:o=Mc,multiple:a=!0,max:s=10,hint:i,previewSize:l=130,gap:d=2,title:f,orientation:h="horizontal",maxSizes:g={image:Pc,video:Lc,total:Ec,audio:Nc,pdf:kc,word:Ic,excel:Oc,archive:Tc},withCompress:C=!0,onAdd:v,onRemove:p,handleFileLimit:m,handleAllFilesLimit:w}=e,{confirm:y}=Dc(),{notifyError:b}=Qa(),{t:S}=ot(),[E,M]=k.useState([]),{inputRef:L,processing:I,pickerDisabled:O,acceptAttr:_,multiple:V,onFileInputChange:$}=U6({accepts:o,multiple:a,max:s,maxSizes:g,withCompress:C,onAdd:v,attachmentData:r}),j=N=>t1(N),F=Xr(r),R=F.filter(N=>Ur.includes(j(N))&&!!Gn(N)),[Z,K]=k.useState(R[0]);k.useEffect(()=>{const H=Xr(r).filter(W=>Ur.includes(j(W))&&!!Gn(W));K(W=>H.includes(W)?W:H[0])},[r]);const q=()=>{const N=R[R.indexOf(Z)-1];return N?()=>K(N):void 0},G=()=>{const N=R[R.indexOf(Z)+1];return N?()=>K(N):void 0},oe=async(N,H)=>{var A;await y({description:S("confirmDeleteMedia"),confirmText:S("delete"),confirmType:"warning-filled"})&&((A=N.onRemove)!=null&&A.call(N)||(p==null||p(H)))},U=(N="")=>`${N}h-[${l}px] ${N}w-[${l}px]`,D=()=>U("min-"),T=v&&(!s||F.length<s);return u.jsxs("div",{className:P(h==="vertical"?"flex w-full min-w-0 max-w-full flex-col gap-2 overflow-y-auto overflow-x-hidden pt-1":"grid w-full min-w-0 max-w-full grid-flow-col auto-cols-[130px] overflow-x-auto overflow-y-hidden pt-1 [scrollbar-width:thin]",h==="horizontal"?`gap-${d}`:"",h==="horizontal"?`auto-cols-[${l}px]`:"",n),children:[T&&u.jsxs("div",{className:P("w-[130px] h-[130px] relative flex justify-center items-center rounded-lg border-foreground/10 bg-[transparent] text-[transparent] cursor-pointer transition-colors",D(),U(),h==="vertical"&&"w-full min-w-0"),children:[u.jsx(en,{ref:L,className:"h-full w-full flex justify-center items-center cursor-pointer file:text-[transparent] file:bg-[transparent] file:hidden border-dashed hover:bg-background-secondary",id:"attachment",type:"file",accept:_,multiple:V,disabled:O,onChange:$}),I?u.jsx(Tr,{className:"absolute pointer-events-none h-7 w-7 animate-spin opacity-80"}):u.jsxs("div",{className:"absolute pointer-events-none flex flex-col gap-1 items-center justify-center",children:[u.jsx(H9,{className:P("text-icon-fade-contrast",{"opacity-50":F.length>=s})}),u.jsx("span",{className:P("text-sm",h==="vertical"&&!O?"text-foreground-primary":"text-foreground-tertiary"),children:S("attachFile")}),i&&u.jsx("span",{className:"px-2 text-center text-xs leading-tight text-foreground-quaternary",children:i})]})]}),t&&!(F!=null&&F.length)&&u.jsx("span",{className:"text-base text-secondary-foreground",children:t}),F==null?void 0:F.map((N,H)=>{var ge,de;const W=j(N),A=Gn(N),Y=!Ur.includes(W)||!A,X=Vc(N),J=N.size??((ge=N.file)==null?void 0:ge.size),te=N.fileName||`${(X==null?void 0:X.split("/").pop())??"file"}.${((de=N.contentType)==null?void 0:de.split("/").pop())||(W==="video"?"mp4":W==="audio"?"mp3":W==="word"?"docx":W==="excel"?"xlsx":W==="archive"?"zip":"pdf")}`,B=String(N.id??H),ae=E.includes(B),ne=async pe=>{if(!(!N.onDownload||ae)){pe.preventDefault(),M(Le=>[...Le,B]);try{await N.onDownload()}catch(Le){b(Le instanceof Error?Le.message:void 0)}finally{M(Le=>Le.filter(Fe=>Fe!==B))}}},se=u.jsxs("span",{className:"relative",children:[W==="image"&&!Y&&(A?u.jsxs(u.Fragment,{children:[u.jsx("img",{src:A,alt:"",className:P("rounded-lg object-cover border border-line-primary",U()),loading:"lazy",onClick:()=>K(N)}),f&&u.jsx("span",{className:"absolute bottom-2 left-2 display-block p-0.5 rounded-xl bg-background-on-image text-xs text-foreground-on-image w-[calc(100%-1rem)] truncate",children:f})]}):u.jsx("div",{className:P("flex flex-col items-center justify-center h-full w-full text-icon-theme rounded-lg border-2 border-line-secondary",U()),children:u.jsx(Wn,{})})),W==="video"&&!Y&&u.jsxs("div",{className:P("flex flex-col items-center justify-center h-full w-full text-icon-theme rounded-lg border-2 border-line-secondary",U()),onClick:()=>K(N),children:[u.jsx(nc,{}),h==="horizontal"&&u.jsx(Cn,{children:u.jsxs(tn,{children:[u.jsx(Ft,{asChild:!0,children:u.jsx("div",{className:"text-sm mt-1 text-foreground-secondary w-full truncate text-center p-0.5",children:te})}),u.jsx($t,{children:u.jsx("p",{children:te})})]})})]}),W==="audio"&&!Y&&u.jsxs("div",{className:P("flex flex-col items-center justify-center h-full w-full text-icon-theme rounded-lg border-2 border-line-secondary",U()),onClick:()=>K(N),children:[u.jsx(tc,{}),h==="horizontal"&&u.jsx(Cn,{children:u.jsxs(tn,{children:[u.jsx(Ft,{asChild:!0,children:u.jsx("div",{className:"text-sm mt-1 text-foreground-secondary w-full truncate text-center p-0.5",children:te})}),u.jsx($t,{children:u.jsx("p",{children:te})})]})})]}),Y&&(X&&!N.onDownload?u.jsxs("a",{href:X,target:"_blank",rel:"noopener noreferrer",download:te,className:P("flex flex-col items-center justify-center h-full w-full text-icon-theme rounded-lg border-2 border-line-secondary",U()),children:[u.jsx(Wn,{}),h==="horizontal"&&u.jsx(Cn,{children:u.jsxs(tn,{children:[u.jsx(Ft,{asChild:!0,children:u.jsx("div",{className:"text-sm mt-1 text-foreground-secondary w-full truncate text-center p-0.5",children:te})}),u.jsx($t,{children:u.jsx("p",{children:te})})]})})]}):u.jsxs("button",{type:"button",onClick:ne,disabled:ae,className:P("flex flex-col items-center justify-center h-full w-full text-icon-theme rounded-lg border-2 border-line-secondary bg-transparent",U()),children:[ae?u.jsx(Tr,{className:"h-6 w-6 animate-spin"}):u.jsx(Wn,{}),h==="horizontal"&&u.jsx(Cn,{children:u.jsxs(tn,{children:[u.jsx(Ft,{asChild:!0,children:u.jsx("div",{className:"text-sm mt-1 text-foreground-secondary w-full truncate text-center p-0.5",children:te})}),u.jsx($t,{children:u.jsx("p",{children:te})})]})})]}))]});return u.jsxs("div",{className:P("relative select-none",!Y&&"cursor-pointer",h==="vertical"?"grid grid-cols-[130px_1fr] items-center gap-4 w-full h-full":"",h==="horizontal"?D():"",h==="horizontal"?U():""),children:[Y?se:u.jsx(X6,{type:j(Z),src:Gn(Z),name:Z==null?void 0:Z.fileName,onPrev:q(),onNext:G(),onRemove:(p||N.onRemove)&&(()=>oe(N,H)),children:se}),h==="vertical"&&u.jsxs("div",{className:"flex flex-col justify-start flex-1 h-full py-2 group min-w-0 overflow-hidden",children:[u.jsxs("div",{className:"flex flex-row gap-2 items-center gap-2 pb-2",children:[u.jsx(Cn,{children:u.jsxs(tn,{children:[u.jsx(Ft,{asChild:!0,children:u.jsx("span",{className:"text-sm text-foreground-primary line-clamp-2 cursor-default",children:te})}),u.jsx($t,{children:u.jsx("p",{children:te})})]})}),(p||N.onRemove)&&u.jsx("div",{onClick:()=>oe(N,H),className:"opacity-0 group-hover:opacity-100 transition-opacity",children:u.jsx(F9,{className:"bg-background text-icon-fade-contrast cursor-pointer"})})]}),u.jsxs("span",{className:"text-sm text-foreground-quaternary",children:[J?Sc(J):0," ",S("mb")]})]}),N.inProgress&&u.jsx("div",{className:"absolute inset-0 flex items-center justify-center rounded-lg bg-background-primary/70",children:u.jsx(Tr,{className:"h-6 w-6 animate-spin text-icon-theme"})}),h==="horizontal"&&!N.inProgress&&(p||N.onRemove)&&u.jsx("div",{onClick:()=>oe(N,H),children:u.jsx(Ro,{className:"absolute top-[2px] right-[2px] rounded-full bg-background text-destructive-foreground cursor-pointer"})})]},`${String(N.id)}-${H}`)})]})},rI=(e,n)=>{var t,r;return e.fileName||`${((t=Vc(e))==null?void 0:t.split("/").pop())??"file"}.${((r=e.contentType)==null?void 0:r.split("/").pop())||(n==="video"?"mp4":n==="audio"?"mp3":n==="word"?"docx":n==="excel"?"xlsx":n==="archive"?"zip":"pdf")}`},Hc=()=>P("relative flex size-10 shrink-0 items-center justify-center overflow-hidden rounded-lg border border-line-primary bg-background-tertiary"),Q6=()=>P("group flex min-w-[200px] max-w-[280px] shrink-0 items-center gap-2 rounded-xl border border-line-primary bg-background-secondary p-2 transition-colors hover:bg-background-primary-hover"),oI=({className:e,data:n=[],onRemove:t,title:r})=>{const{confirm:o}=Dc(),{notifyError:a}=Qa(),{t:s}=ot(),[i,l]=k.useState([]),d=Xr(n),f=d.filter(m=>Ur.includes(t1(m))&&!!Gn(m)),[h,g]=k.useState(f[0]);k.useEffect(()=>{const m=Xr(n).filter(w=>Ur.includes(t1(w))&&!!Gn(w));g(w=>w&&m.includes(w)?w:m[0])},[n]);const C=()=>{if(!h)return;const m=f[f.indexOf(h)-1];return m?()=>g(m):void 0},v=()=>{if(!h)return;const m=f[f.indexOf(h)+1];return m?()=>g(m):void 0},p=async(m,w)=>{var b;await o({description:s("confirmDeleteMedia"),confirmText:s("delete"),confirmType:"warning-filled"})&&((b=m.onRemove)!=null&&b.call(m)||(t==null||t(w)))};return d.length?u.jsx("div",{className:P("flex w-full min-w-0 max-w-full gap-2 overflow-x-auto overflow-y-hidden pt-1 pb-0.5 [scrollbar-width:thin]",e),children:d.map((m,w)=>{var R;const y=t1(m),b=rI(m,y),S=m.size??((R=m.file)==null?void 0:R.size),E=S!=null?`${Sc(S)} ${s("mb")}`:"—",M=Gn(m),L=!Ur.includes(y)||!M,I=Vc(m),O=String(m.id??w),_=i.includes(O),V=async()=>{if(!(!m.onDownload||_)){l(Z=>[...Z,O]);try{await m.onDownload()}catch(Z){a(Z instanceof Error?Z.message:void 0)}finally{l(Z=>Z.filter(K=>K!==O))}}},$=u.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-0.5",children:[u.jsx(Cn,{children:u.jsxs(tn,{children:[u.jsx(Ft,{asChild:!0,children:u.jsx("span",{className:"truncate text-left text-sm font-normal leading-5 text-foreground-primary",children:b})}),u.jsx($t,{children:u.jsx("p",{children:b})})]})}),u.jsx("span",{className:"truncate text-left text-xs font-normal leading-4 text-foreground-quaternary",children:E})]}),j=(t||m.onRemove)&&u.jsx("div",{className:"flex h-6 w-6 shrink-0 items-center justify-center self-start",children:u.jsx("button",{type:"button",className:P("flex size-6 items-center justify-center rounded-full bg-background-primary p-1 text-icon-fade-contrast opacity-0 transition-opacity","pointer-events-none group-hover:pointer-events-auto group-hover:opacity-100","focus-visible:pointer-events-auto focus-visible:opacity-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"),onClick:Z=>{Z.preventDefault(),Z.stopPropagation(),p(m,w)},"aria-label":s("delete"),children:u.jsx(Ro,{className:"size-4 shrink-0","aria-hidden":!0})})});if(L){const Z=m.onDownload?u.jsx("button",{type:"button",onClick:()=>{V()},disabled:_,className:P(Hc(),"text-icon-fade-contrast"),"aria-label":b,children:_?u.jsx(Tr,{className:"size-5 shrink-0 animate-spin","aria-hidden":!0}):u.jsx(Wn,{className:"size-6 shrink-0","aria-hidden":!0})}):u.jsx("a",{href:I,target:"_blank",rel:"noopener noreferrer",download:b,className:P(Hc(),"text-icon-fade-contrast"),"aria-label":b,children:u.jsx(Wn,{className:"size-6 shrink-0","aria-hidden":!0})});return u.jsxs("div",{className:Q6(),children:[Z,$,j]},`${String(m.id)}-${w}`)}const F=y==="image"?M?u.jsx("img",{src:M,alt:"",className:"size-full object-cover",loading:"lazy"}):u.jsx(Wn,{className:"size-6 shrink-0 text-icon-fade-contrast","aria-hidden":!0}):y==="video"?u.jsx(nc,{className:"size-6 shrink-0 text-icon-fade-contrast","aria-hidden":!0}):u.jsx(tc,{className:"size-6 shrink-0 text-icon-fade-contrast","aria-hidden":!0});return u.jsxs("div",{className:Q6(),children:[u.jsx(X6,{type:t1(h),src:Gn(h),name:h==null?void 0:h.fileName,onPrev:C(),onNext:v(),onRemove:(t||m.onRemove)&&(async()=>{await p(m,w)}),children:u.jsxs("button",{type:"button",className:"relative shrink-0 cursor-pointer border-0 bg-transparent p-0 text-left",onClick:()=>g(m),"aria-label":b,children:[y==="image"&&r&&u.jsx("span",{className:"absolute bottom-0.5 left-0.5 z-[1] max-w-[calc(100%-4px)] truncate rounded-md bg-background-on-image px-1 text-[10px] text-foreground-on-image",children:r}),u.jsx("div",{className:P(Hc(),y!=="image"&&"text-icon-fade-contrast"),children:F})]})}),$,j]},`${String(m.id)}-${w}`)})}):null},aI=({className:e,title:n,titleActions:t,leftMeta:r,meta:o,actions:a,onBack:s,onNext:i,onPrevious:l})=>{const d=i||l;return u.jsxs("div",{className:P("w-full flex justify-between items-center",e),children:[u.jsxs("div",{className:"flex gap-2 items-center",children:[s&&u.jsx("div",{className:"p-2 cursor-pointer hover:text-foreground-primary-disabled",onClick:s,children:u.jsx(Bl,{})}),d&&u.jsx("div",{className:P("p-2 cursor-pointer hover:text-foreground-primary-disabled",!l&&"opacity-50 pointer-events-none"),onClick:l,children:u.jsx(Po,{})}),d&&u.jsx("div",{className:P("p-2 cursor-pointer hover:text-foreground-primary-disabled",!i&&"opacity-50 pointer-events-none"),onClick:i,children:u.jsx(Kn,{})}),r&&u.jsx("div",{className:"text-[28px] font-medium tracking-[0.18px] text-foreground-primary opacity-50",children:r}),u.jsx("div",{className:"text-[28px] font-medium tracking-[0.18px] text-foreground-primary flex items-center gap-1",children:n}),u.jsx("div",{className:"text-[28px] font-medium tracking-[0.18px] text-foreground-theme",children:o}),u.jsx("div",{className:"flex gap-3 items-center ml-2",children:t})]}),u.jsx("div",{className:"flex gap-4",children:a})]})},sI=({headerSlot:e,filterSlot:n,contentSlot:t,contentSlotOverflowHidden:r=!1})=>u.jsxs("div",{className:P("relative flex min-h-0 flex-1 flex-col pt-4 gap-4",r?"overflow-hidden":"overflow-y-auto"),children:[(e||n)&&u.jsxs("div",{className:"flex-shrink-0 px-6 flex flex-col gap-4",children:[e&&u.jsx("div",{children:e}),n&&u.jsx("div",{children:n})]}),t&&u.jsx("div",{className:"flex min-h-0 flex-1 flex-col",children:t})]});var Ja="Tabs",[iI]=it(Ja,[Br]),J6=Br(),[lI,Ac]=iI(Ja),e8=c.forwardRef((e,n)=>{const{__scopeTabs:t,value:r,onValueChange:o,defaultValue:a,orientation:s="horizontal",dir:i,activationMode:l="automatic",...d}=e,f=br(i),[h,g]=wt({prop:r,onChange:o,defaultProp:a??"",caller:Ja});return u.jsx(lI,{scope:t,baseId:Ye(),value:h,onValueChange:g,orientation:s,dir:f,activationMode:l,children:u.jsx(ie.div,{dir:f,"data-orientation":s,...d,ref:n})})});e8.displayName=Ja;var t8="TabsList",n8=c.forwardRef((e,n)=>{const{__scopeTabs:t,loop:r=!0,...o}=e,a=Ac(t8,t),s=J6(t);return u.jsx(Sl,{asChild:!0,...s,orientation:a.orientation,dir:a.dir,loop:r,children:u.jsx(ie.div,{role:"tablist","aria-orientation":a.orientation,...o,ref:n})})});n8.displayName=t8;var r8="TabsTrigger",o8=c.forwardRef((e,n)=>{const{__scopeTabs:t,value:r,disabled:o=!1,...a}=e,s=Ac(r8,t),i=J6(t),l=i8(s.baseId,r),d=l8(s.baseId,r),f=r===s.value;return u.jsx(Ml,{asChild:!0,...i,focusable:!o,active:f,children:u.jsx(ie.button,{type:"button",role:"tab","aria-selected":f,"aria-controls":d,"data-state":f?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l,...a,ref:n,onMouseDown:ee(e.onMouseDown,h=>{!o&&h.button===0&&h.ctrlKey===!1?s.onValueChange(r):h.preventDefault()}),onKeyDown:ee(e.onKeyDown,h=>{[" ","Enter"].includes(h.key)&&s.onValueChange(r)}),onFocus:ee(e.onFocus,()=>{const h=s.activationMode!=="manual";!f&&!o&&h&&s.onValueChange(r)})})})});o8.displayName=r8;var a8="TabsContent",s8=c.forwardRef((e,n)=>{const{__scopeTabs:t,value:r,forceMount:o,children:a,...s}=e,i=Ac(a8,t),l=i8(i.baseId,r),d=l8(i.baseId,r),f=r===i.value,h=c.useRef(f);return c.useEffect(()=>{const g=requestAnimationFrame(()=>h.current=!1);return()=>cancelAnimationFrame(g)},[]),u.jsx(qe,{present:o||f,children:({present:g})=>u.jsx(ie.div,{"data-state":f?"active":"inactive","data-orientation":i.orientation,role:"tabpanel","aria-labelledby":l,hidden:!g,id:d,tabIndex:0,...s,ref:n,style:{...e.style,animationDuration:h.current?"0s":void 0},children:g&&a})})});s8.displayName=a8;function i8(e,n){return`${e}-trigger-${n}`}function l8(e,n){return`${e}-content-${n}`}var cI=e8,c8=n8,u8=o8,d8=s8;const uI=yn("inline-flex items-center justify-center rounded-lg bg-background-secondary p-1 text-foreground",{variants:{size:{default:"h-9",icon:"h-9"}},defaultVariants:{size:"default"}}),dI=yn("inline-flex gap-1 items-center justify-center whitespace-nowrap rounded-lg text-sm font-normal ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 text-icon-contrast [&_svg]:text-icon-contrast data-[state=active]:bg-background-contrast-fade data-[state=active]:text-foreground-primary data-[state=active]:[&_svg]:text-foreground-primary data-[state=active]:shadow-sm",{variants:{size:{default:"h-7 px-4 py-1.5",icon:"h-7 px-1 py-1.5"}},defaultVariants:{size:"default"}}),f8=cI,es=c.forwardRef(({className:e,size:n,...t},r)=>u.jsx(c8,{ref:r,className:P(uI({size:n}),e),...t}));es.displayName=c8.displayName;const n1=c.forwardRef(({className:e,size:n,...t},r)=>u.jsx(u8,{ref:r,className:P(dI({size:n}),e),...t}));n1.displayName=u8.displayName;const h8=c.forwardRef(({className:e,...n},t)=>u.jsx(d8,{ref:t,className:P("ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...n}));h8.displayName=d8.displayName,Se.z.setErrorMap(rf.makeZodI18nMap({ns:["zod","translation"]}));const Fc=(e,n,{count:t}={})=>[e,{params:{i18n:{key:n,values:{count:t?String(t):""}}}}],fI=e=>typeof e=="string"?e.trim().length>0:!!e,g8=(e,{count:n}={})=>Fc(fI,e,{count:n}),hI=(e,n)=>n?typeof e=="string"?e.length>=n:typeof e=="number"?e>=n:!0:!0,gI=(e,{count:n}={})=>Fc(t=>hI(t,n),e,{count:n});function p8(e,n,t){function r(i,l){var d;Object.defineProperty(i,"_zod",{value:i._zod??{},enumerable:!1}),(d=i._zod).traits??(d.traits=new Set),i._zod.traits.add(e),n(i,l);for(const f in s.prototype)f in i||Object.defineProperty(i,f,{value:s.prototype[f].bind(i)});i._zod.constr=s,i._zod.def=l}const o=(t==null?void 0:t.Parent)??Object;class a extends o{}Object.defineProperty(a,"name",{value:e});function s(i){var l;const d=t!=null&&t.Parent?new a:this;r(d,i),(l=d._zod).deferred??(l.deferred=[]);for(const f of d._zod.deferred)f();return d}return Object.defineProperty(s,"init",{value:r}),Object.defineProperty(s,Symbol.hasInstance,{value:i=>{var l,d;return t!=null&&t.Parent&&i instanceof t.Parent?!0:(d=(l=i==null?void 0:i._zod)==null?void 0:l.traits)==null?void 0:d.has(e)}}),Object.defineProperty(s,"name",{value:e}),s}class pI extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}const CI={};function C8(e){return CI}function mI(e,n){return typeof n=="bigint"?n.toString():n}const m8=Error.captureStackTrace?Error.captureStackTrace:(...e)=>{};function ts(e){return typeof e=="string"?e:e==null?void 0:e.message}function v8(e,n,t){var o,a,s,i,l,d;const r={...e,path:e.path??[]};if(!e.message){const f=ts((s=(a=(o=e.inst)==null?void 0:o._zod.def)==null?void 0:a.error)==null?void 0:s.call(a,e))??ts((i=n==null?void 0:n.error)==null?void 0:i.call(n,e))??ts((l=t.customError)==null?void 0:l.call(t,e))??ts((d=t.localeError)==null?void 0:d.call(t,e))??"Invalid input";r.message=f}return delete r.inst,delete r.continue,n!=null&&n.reportInput||delete r.input,r}const w8=(e,n)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:n,enumerable:!1}),Object.defineProperty(e,"message",{get(){return JSON.stringify(n,mI,2)},enumerable:!0}),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},vI=p8("$ZodError",w8),y8=p8("$ZodError",w8,{Parent:Error}),wI=(e=>(n,t,r,o)=>{const a=r?Object.assign(r,{async:!1}):{async:!1},s=n._zod.run({value:t,issues:[]},a);if(s instanceof Promise)throw new pI;if(s.issues.length){const i=new((o==null?void 0:o.Err)??e)(s.issues.map(l=>v8(l,a,C8())));throw m8(i,o==null?void 0:o.callee),i}return s.value})(y8),yI=(e=>async(n,t,r,o)=>{const a=r?Object.assign(r,{async:!0}):{async:!0};let s=n._zod.run({value:t,issues:[]},a);if(s instanceof Promise&&(s=await s),s.issues.length){const i=new((o==null?void 0:o.Err)??e)(s.issues.map(l=>v8(l,a,C8())));throw m8(i,o==null?void 0:o.callee),i}return s.value})(y8);function b8(e,n){try{var t=e()}catch(r){return n(r)}return t&&t.then?t.then(void 0,n):t}function bI(e,n){for(var t={};e.length;){var r=e[0],o=r.code,a=r.message,s=r.path.join(".");if(!t[s])if("unionErrors"in r){var i=r.unionErrors[0].errors[0];t[s]={message:i.message,type:i.code}}else t[s]={message:a,type:o};if("unionErrors"in r&&r.unionErrors.forEach(function(f){return f.errors.forEach(function(h){return e.push(h)})}),n){var l=t[s].types,d=l&&l[r.code];t[s]=fr.appendErrors(s,n,t,o,d?[].concat(d,r.message):r.message)}e.shift()}return t}function xI(e,n){for(var t={};e.length;){var r=e[0],o=r.code,a=r.message,s=r.path.join(".");if(!t[s])if(r.code==="invalid_union"&&r.errors.length>0){var i=r.errors[0][0];t[s]={message:i.message,type:i.code}}else t[s]={message:a,type:o};if(r.code==="invalid_union"&&r.errors.forEach(function(f){return f.forEach(function(h){return e.push(h)})}),n){var l=t[s].types,d=l&&l[r.code];t[s]=fr.appendErrors(s,n,t,o,d?[].concat(d,r.message):r.message)}e.shift()}return t}function SI(e,n,t){if(t===void 0&&(t={}),function(r){return"_def"in r&&typeof r._def=="object"&&"typeName"in r._def}(e))return function(r,o,a){try{return Promise.resolve(b8(function(){return Promise.resolve(e[t.mode==="sync"?"parse":"parseAsync"](r,n)).then(function(s){return a.shouldUseNativeValidation&&m1.validateFieldsNatively({},a),{errors:{},values:t.raw?Object.assign({},r):s}})},function(s){if(function(i){return Array.isArray(i==null?void 0:i.issues)}(s))return{values:{},errors:m1.toNestErrors(bI(s.errors,!a.shouldUseNativeValidation&&a.criteriaMode==="all"),a)};throw s}))}catch(s){return Promise.reject(s)}};if(function(r){return"_zod"in r&&typeof r._zod=="object"}(e))return function(r,o,a){try{return Promise.resolve(b8(function(){return Promise.resolve((t.mode==="sync"?wI:yI)(e,r,n)).then(function(s){return a.shouldUseNativeValidation&&m1.validateFieldsNatively({},a),{errors:{},values:t.raw?Object.assign({},r):s}})},function(s){if(function(i){return i instanceof vI}(s))return{values:{},errors:m1.toNestErrors(xI(s.issues,!a.shouldUseNativeValidation&&a.criteriaMode==="all"),a)};throw s}))}catch(s){return Promise.reject(s)}};throw new Error("Invalid input: not a Zod schema")}const MI=e=>{const{title:n,description:t,confirmType:r="theme-filled",confirmText:o="OK",confirmHidden:a,cancelText:s,cancelHidden:i,input:l,inputPlaceholder:d,inputRequiredLabel:f,inputMaxLength:h,inputRequired:g,children:C,visible:v,onVisibleChange:p,onConfirm:m,onCancel:w}=e,{t:y}=ot(),b=!!(l||d),S=Se.z.object({inputValue:g?Se.z.string().refine(...g8("fillField")):Se.z.string()}),E=fr.useForm({resolver:SI(S),defaultValues:{inputValue:""}});k.useEffect(()=>{v||E.reset({inputValue:""})},[v]);const M=O=>{p==null||p(O),O||E.reset({inputValue:""})},L=O=>{m==null||m(O==null?void 0:O.inputValue)},I=()=>t===null||t===""?null:u.jsxs(u.Fragment,{children:[r6(t??y("confirmAction")),g&&u.jsx("span",{className:"text-foreground-error",children:"*"})]});return u.jsxs(pa,{open:v,onOpenChange:M,children:[u.jsx(Vi,{children:C}),u.jsx(Lo,{className:"w-[460px]",children:u.jsxs(H3,{...E,children:[u.jsx(Ai,{children:u.jsx(Ca,{children:n||y("warning")})}),u.jsxs(zi,{className:P(d&&"space-y-2",l&&"flex flex-row items-center space-y-0 space-x-4"),children:[u.jsx($i,{className:l||d?"text-foreground-secondary":"",children:I()}),b&&u.jsx(A3,{control:E.control,name:"inputValue",render:({field:O,fieldState:_})=>u.jsxs(or,{children:[u.jsx(ar,{children:l?u.jsx(l,{...O}):u.jsx(Ua,{rows:4,placeholder:d,maxLength:h,autoFocus:!0,...O})}),_.error&&u.jsx($l,{children:f})]})})]}),u.jsxs(Fi,{align:"end",children:[!i&&u.jsx(a0,{"aria-label":"Close",asChild:!0,children:u.jsx(_e,{type:"button",variant:"fade-contrast-outlined",size:"sm",onClick:w,children:s||y("cancellation")})}),!a&&u.jsx(_e,{variant:r,size:"sm",onClick:b?E.handleSubmit(L):()=>L(),children:o})]})]})})]})},x8="p-2 w-48 border-0 shadow-lg rounded-xl bg-[hsl(var(--background-popover-menu))] [&_*]:text-[hsl(var(--text-popover-menu))]",EI="justify-start gap-2 px-2 min-w-0 text-[hsl(var(--text-popover-menu))] hover:text-[hsl(var(--text-popover-menu))]",LI="text-sm truncate min-w-0 flex-1 text-[hsl(var(--text-popover-menu))]",NI="h-4 w-4 flex-shrink-0 text-[hsl(var(--text-popover-menu))]",S8=({children:e,itemVariant:n,LinkComponent:t,onChildClick:r})=>u.jsx("nav",{className:"flex flex-col gap-1.5",children:e.map((o,a)=>u.jsxs(t,{to:o.to??"#",className:P(EI,xn({variant:o.variant||n(o),size:"sm"}),"text-[hsl(var(--text-popover-menu))] hover:text-[hsl(var(--text-popover-menu))] focus:text-[hsl(var(--text-popover-menu))] active:text-[hsl(var(--text-popover-menu))]",o.className),onClick:s=>{var i;o.to||s.preventDefault(),(i=o.onClick)==null||i.call(o),r()},children:[o.icon&&u.jsx(o.icon,{className:NI}),u.jsx("span",{className:LI,children:o.title}),o.label&&u.jsx("span",{className:"ml-auto flex-shrink-0 text-[hsl(var(--text-popover-menu))]",children:o.label})]},a))}),kI=({item:e,index:n,isCollapsed:t,itemVariant:r,LinkComponent:o})=>{const a=e.children&&e.children.length>0,[s,i]=k.useState(!1),l=g=>{g.preventDefault(),i(!s)},d=(g,C)=>{e.to||g.preventDefault(),C==null||C()},f=P(xn({variant:e.variant||r(e),size:t?"icon":"sm"}),!t&&"justify-start gap-2 px-2 min-w-0 w-full",e.variant==="theme-filled"&&"justify-center",e.className),h=({children:g})=>u.jsx(ac,{children:u.jsxs(tn,{delayDuration:0,children:[g,u.jsxs($t,{side:"right",className:"flex items-center gap-4",children:[e.title,e.label&&u.jsx("span",{className:"ml-auto text-muted-foreground",children:e.label})]})]})},n);return t?a?u.jsx(h,{children:u.jsxs($n,{open:s,onOpenChange:i,children:[u.jsx(Ft,{asChild:!0,children:u.jsx(zn,{asChild:!0,children:u.jsxs("button",{className:f,onClick:l,children:[e.icon&&u.jsx(e.icon,{className:"h-6 w-6"}),u.jsx("span",{className:"sr-only",children:e.title})]})})}),u.jsx(gn,{side:"right",align:"start",className:x8,children:u.jsx(S8,{children:e.children,itemVariant:r,LinkComponent:o,onChildClick:()=>i(!1)})})]})}):u.jsx(h,{children:u.jsx(Ft,{asChild:!0,children:u.jsxs(o,{to:e.to??"#",className:f,onClick:g=>d(g,e.onClick),children:[e.icon&&u.jsx(e.icon,{className:"h-6 w-6"}),u.jsx("span",{className:"sr-only",children:e.title})]})})}):a?u.jsxs($n,{open:s,onOpenChange:i,children:[u.jsx(zn,{asChild:!0,children:u.jsxs(_e,{variant:e.variant||r(e),className:f,onClick:l,children:[e.icon&&u.jsx(e.icon,{className:"h-6 w-6 flex-shrink-0"}),u.jsx("span",{className:"text-sm tracking-[0.25px] animate-in fade-in truncate min-w-0 flex-1 text-left",children:e.title}),e.label&&u.jsx("span",{className:P("ml-auto flex-shrink-0",e.variant==="fade-contrast-filled"&&"text-background dark:text-white"),children:e.label}),u.jsx(t5,{className:"h-4 w-4 flex-shrink-0 transition-transform"})]})}),u.jsx(gn,{side:"right",align:"start",className:x8,children:u.jsx(S8,{children:e.children,itemVariant:r,LinkComponent:o,onChildClick:()=>i(!1)})})]},n):u.jsxs(o,{to:e.to??"#",className:f,onClick:g=>d(g,e.onClick),children:[e.icon&&u.jsx(e.icon,{className:"h-6 w-6 flex-shrink-0"}),u.jsx("span",{className:"text-sm tracking-[0.25px] animate-in fade-in truncate min-w-0 flex-1",children:e.title}),e.label&&u.jsx("span",{className:P("ml-auto flex-shrink-0",e.variant==="fade-contrast-filled"&&"text-background dark:text-white"),children:e.label})]},n)};function M8(e){const{items:n,isCollapsed:t,itemVariant:r=a=>a.variant||"fade-contrast-filled",LinkComponent:o}=e;return u.jsx("div",{"data-collapsed":t,className:"group flex flex-col gap-4 py-4 data-[collapsed=true]:py-4",children:u.jsx("nav",{className:"grid gap-1.5 px-2 group-[[data-collapsed=true]]:justify-center group-[[data-collapsed=true]]:px-2",children:n.map((a,s)=>u.jsx(kI,{item:a,index:s,isCollapsed:t,itemVariant:r,LinkComponent:o},s))})})}function E8(){return u.jsx(Hr,{intent:"sidebar",className:"w-[calc(100%_-_24px)] ml-3"})}const L8=e=>{const{isCollapsed:n,navItems:t,projectName:r,linkComponent:o,profileNavSlot:a,expandableNavSlot:s,location:i,bottomSlot:l}=e,d=h=>{var y;if(!(i!=null&&i.pathname))return"nav-item";const g=i.pathname,C=String(h.to||""),v=g===C,p=C&&g.startsWith(C+"/"),m=(y=h.children)==null?void 0:y.some(b=>{const S=String(b.to||"");return S&&(g===S||g.startsWith(S+"/"))});return v||p||m?"nav-item-selected":"nav-item"},f=(t??[]).map((h,g)=>u.jsxs(k.Fragment,{children:[g!==0&&u.jsx(E8,{}),u.jsx(M8,{isCollapsed:n,items:h,itemVariant:d,LinkComponent:o,location:i})]},g));return u.jsxs("div",{className:P("bg-background-sidebar","flex flex-col h-screen"),children:[u.jsx("div",{className:P("text-sm px-2 leading-5 py-4 cursor-default whitespace-nowrap flex justify-normal",{"text-center justify-center":n}),children:r}),u.jsxs("div",{className:"overflow-y-auto flex-col flex-grow [scrollbar-width:none] [-webkit-scrollbar-width:none] [-webkit-scrollbar:0px] [-webkit-appearance:none]",style:{msHighContrastAdjust:"none"},children:[f,a]}),s&&u.jsxs("div",{className:"mt-auto",children:[u.jsx("div",{className:"px-2",children:l}),s]})]})};L8.displayName="NavPanel";const PI=({defaultValue:e,options:n,onClick:t})=>u.jsx(f8,{value:e,children:u.jsx(es,{className:"w-fit",children:n==null?void 0:n.map(r=>u.jsxs(n1,{value:r.value,onClick:()=>t==null?void 0:t(r.value),children:[r.icon,r.label]},r.value))})});var $c="Radio",[II,N8]=it($c),[OI,TI]=II($c),k8=c.forwardRef((e,n)=>{const{__scopeRadio:t,name:r,checked:o=!1,required:a,disabled:s,value:i="on",onCheck:l,form:d,...f}=e,[h,g]=c.useState(null),C=ye(n,m=>g(m)),v=c.useRef(!1),p=h?d||!!h.closest("form"):!0;return u.jsxs(OI,{scope:t,checked:o,disabled:s,children:[u.jsx(ie.button,{type:"button",role:"radio","aria-checked":o,"data-state":T8(o),"data-disabled":s?"":void 0,disabled:s,value:i,...f,ref:C,onClick:ee(e.onClick,m=>{o||l==null||l(),p&&(v.current=m.isPropagationStopped(),v.current||m.stopPropagation())})}),p&&u.jsx(O8,{control:h,bubbles:!v.current,name:r,value:i,checked:o,required:a,disabled:s,form:d,style:{transform:"translateX(-100%)"}})]})});k8.displayName=$c;var P8="RadioIndicator",I8=c.forwardRef((e,n)=>{const{__scopeRadio:t,forceMount:r,...o}=e,a=TI(P8,t);return u.jsx(qe,{present:r||a.checked,children:u.jsx(ie.span,{"data-state":T8(a.checked),"data-disabled":a.disabled?"":void 0,...o,ref:n})})});I8.displayName=P8;var DI="RadioBubbleInput",O8=c.forwardRef(({__scopeRadio:e,control:n,checked:t,bubbles:r=!0,...o},a)=>{const s=c.useRef(null),i=ye(s,a),l=H1(t),d=D1(n);return c.useEffect(()=>{const f=s.current;if(!f)return;const h=window.HTMLInputElement.prototype,C=Object.getOwnPropertyDescriptor(h,"checked").set;if(l!==t&&C){const v=new Event("click",{bubbles:r});C.call(f,t),f.dispatchEvent(v)}},[l,t,r]),u.jsx(ie.input,{type:"radio","aria-hidden":!0,defaultChecked:t,...o,tabIndex:-1,ref:i,style:{...o.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});O8.displayName=DI;function T8(e){return e?"checked":"unchecked"}var _I=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],ns="RadioGroup",[VI]=it(ns,[Br,N8]),D8=Br(),_8=N8(),[HI,AI]=VI(ns),V8=c.forwardRef((e,n)=>{const{__scopeRadioGroup:t,name:r,defaultValue:o,value:a,required:s=!1,disabled:i=!1,orientation:l,dir:d,loop:f=!0,onValueChange:h,...g}=e,C=D8(t),v=br(d),[p,m]=wt({prop:a,defaultProp:o??null,onChange:h,caller:ns});return u.jsx(HI,{scope:t,name:r,required:s,disabled:i,value:p,onValueChange:m,children:u.jsx(Sl,{asChild:!0,...C,orientation:l,dir:v,loop:f,children:u.jsx(ie.div,{role:"radiogroup","aria-required":s,"aria-orientation":l,"data-disabled":i?"":void 0,dir:v,...g,ref:n})})})});V8.displayName=ns;var H8="RadioGroupItem",A8=c.forwardRef((e,n)=>{const{__scopeRadioGroup:t,disabled:r,...o}=e,a=AI(H8,t),s=a.disabled||r,i=D8(t),l=_8(t),d=c.useRef(null),f=ye(n,d),h=a.value===o.value,g=c.useRef(!1);return c.useEffect(()=>{const C=p=>{_I.includes(p.key)&&(g.current=!0)},v=()=>g.current=!1;return document.addEventListener("keydown",C),document.addEventListener("keyup",v),()=>{document.removeEventListener("keydown",C),document.removeEventListener("keyup",v)}},[]),u.jsx(Ml,{asChild:!0,...i,focusable:!s,active:h,children:u.jsx(k8,{disabled:s,required:a.required,checked:h,...l,...o,name:a.name,ref:f,onCheck:()=>a.onValueChange(o.value),onKeyDown:ee(C=>{C.key==="Enter"&&C.preventDefault()}),onFocus:ee(o.onFocus,()=>{var C;g.current&&((C=d.current)==null||C.click())})})})});A8.displayName=H8;var FI="RadioGroupIndicator",F8=c.forwardRef((e,n)=>{const{__scopeRadioGroup:t,...r}=e,o=_8(t);return u.jsx(I8,{...o,...r,ref:n})});F8.displayName=FI;var $I=V8,zI=A8,ZI=F8;const $8=c.forwardRef(({className:e,...n},t)=>u.jsx($I,{className:P("grid gap-2",e),...n,ref:t}));$8.displayName="RadioGroup";const z8=c.forwardRef(({className:e,...n},t)=>u.jsx(zI,{ref:t,className:P("aspect-square h-4 w-4 shrink-0 rounded-full border border-line-contrast data-[state=checked]:border-line-theme text-foreground ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),...n,children:u.jsx(ZI,{className:"flex items-center justify-center",children:u.jsx(n5,{className:"h-2.5 w-2.5 fill-background-theme text-line-theme"})})}));z8.displayName="RadioGroupItem";const Z8=({className:e,title:n,subtitle:t,variant:r,icon:o="bill-empty",actionText:a,onActionClick:s})=>{const i=l=>{switch(l){case"network-error":return u.jsx(B9,{});case"search-empty":return u.jsx(R9,{});case"bill-empty":default:return u.jsx(A9,{})}};return u.jsxs("div",{className:P("w-full h-full flex-1 flex flex-col items-center justify-center select-none",e),children:[u.jsx("span",{className:P("text-line-theme",r==="secondary"&&"text-line-secondary"),children:i(o)}),u.jsx("div",{className:P("mt-6 text-base font-medium",r==="secondary"&&"text-foreground-tertiary"),children:n}),u.jsx("div",{className:"mt-2 text-sm text-foreground-secondary",children:t}),a&&u.jsx(_e,{variant:"theme-filled",className:"mt-4",onClick:s,children:a})]})},B8=({className:e,onRefetchClick:n})=>{const{t}=ot();return u.jsx(Z8,{className:e,icon:"network-error",title:t("networkError"),subtitle:t("networkErrorDescription"),actionText:t("refetch"),onActionClick:n})},BI=()=>u.jsx(B8,{onRefetchClick:()=>window.location.reload()}),W8=({children:e})=>u.jsx("div",{className:"w-full bg-background-secondary rounded-lg flex items-center justify-center h-12 text-foreground-secondary text-xs select-none",children:e}),G8=c.forwardRef(({className:e,label:n,actions:t,open:r=!0,...o},a)=>r?u.jsxs("div",{ref:a,style:{left:"calc(var(--sidebar-width, 0px) + 1rem)"},className:P("fixed bottom-[8px] right-4 flex h-[52px] items-center justify-between gap-4","rounded-[12px] border-0 bg-background-sidebar px-4 py-2 shadow-none",e),...o,children:[u.jsx("p",{className:"text-sm font-normal leading-5 tracking-[0.25px] text-foreground-white",children:n}),t&&u.jsx("div",{className:"flex items-center gap-2",children:t})]}):null);G8.displayName="BottomMenu";const WI=({title:e,tabs:n=[],orientation:t,previewsOrientation:r,hint:o,visibleSections:a,accepts:s,maxSizes:i,withCompress:l,onAdd:d,onRemove:f,showNoDataBanner:h=!0})=>{const{t:g}=ot(),[C,v]=k.useState(0),p=S=>n.findIndex(E=>E.label===S),m=async(S,E)=>{const M=await A6(S);await(d==null?void 0:d(M,E))},[w,y]=k.useState(n);k.useEffect(()=>{const S=(M,L)=>!(a!=null&&a.length)||(a==null?void 0:a.includes(M.label))||(a==null?void 0:a.includes(L)),E=n.filter(S).filter((M,L)=>!M.hideIfEmpty||M.items.length>0||!!(a!=null&&a.length)&&S(M,L));y(E)},[n,a]);const b=(w==null?void 0:w.filter(S=>S.items.length>0).length)>0;return u.jsxs(u.Fragment,{children:[e&&u.jsx("div",{className:"text-sm font-medium",children:e}),u.jsxs("div",{className:P("mb-1 flex w-full min-w-0 gap-5",t==="horizontal"?"flex-row":"flex-col"),children:[!b&&!d&&h&&u.jsx(W8,{children:g("noMediaFiles")}),(!!b||!!d)&&w.map(S=>u.jsxs("div",{className:P("flex w-full min-w-0 max-w-full flex-col items-start gap-1 rounded-lg cursor-default transition-colors",S.disableIfEmpty&&!S.items.length&&"pointer-events-none opacity-50"),onClick:()=>v(p(S.label)),children:[S.label&&u.jsx("span",{className:"flex text-sm font-normal text-foreground-secondary",children:S.label}),u.jsx(K6,{data:S.items,max:S==null?void 0:S.maxFiles,hint:o,accepts:s,maxSizes:i,withCompress:l,orientation:r,onRemove:f?E=>f==null?void 0:f(E,C):void 0,onAdd:d&&S.canAdd?E=>m(E,p(S.label)):void 0})]},S.label))]})]})};function R8(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t<n;t++)r[t]=e[t];return r}function GI(e,n,t){return n=rs(n),function(r,o){if(o&&(typeof o=="object"||typeof o=="function"))return o;if(o!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}(r)}(e,q8()?Reflect.construct(n,t||[],rs(e).constructor):n.apply(e,t))}function RI(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function jI(e,n,t){return Object.defineProperty(e,"prototype",{writable:!1}),e}function j8(e,n){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(l,d){if(l){if(typeof l=="string")return R8(l,d);var f={}.toString.call(l).slice(8,-1);return f==="Object"&&l.constructor&&(f=l.constructor.name),f==="Map"||f==="Set"?Array.from(l):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?R8(l,d):void 0}}(e))||n){t&&(e=t);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(l){throw l},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
132
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,s=!0,i=!1;return{s:function(){t=t.call(e)},n:function(){var l=t.next();return s=l.done,l},e:function(l){i=!0,a=l},f:function(){try{s||t.return==null||t.return()}finally{if(i)throw a}}}}function Y8(e,n,t){return(n=function(r){var o=function(a,s){if(typeof a!="object"||!a)return a;var i=a[Symbol.toPrimitive];if(i!==void 0){var l=i.call(a,s);if(typeof l!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(a)}(r,"string");return typeof o=="symbol"?o:o+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function rs(e){return rs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},rs(e)}function YI(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&zc(e,n)}function q8(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(q8=function(){return!!e})()}function U8(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,r)}return t}function os(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?U8(Object(t),!0).forEach(function(r){Y8(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):U8(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function qI(e,n){if(e==null)return{};var t,r,o=function(s,i){if(s==null)return{};var l={};for(var d in s)if({}.hasOwnProperty.call(s,d)){if(i.includes(d))continue;l[d]=s[d]}return l}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)t=a[r],n.includes(t)||{}.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function zc(e,n){return zc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},zc(e,n)}function r1(e,n){var t,r=n.replacementChars,o=n.replacement,a=n.separate,s=r,i="",l=j8(e);try{for(l.s();!(t=l.n()).done;){var d,f=t.value,h=!Object.prototype.hasOwnProperty.call(o,f)&&((d=o[s[0]])===null||d===void 0?void 0:d.test(f));(a&&f===s[0]||h)&&(s=s.slice(1),i+=f)}}catch(g){l.e(g)}finally{l.f()}return i}function X8(e,n){var t,r=n.mask,o=n.replacement,a=n.separate,s=n.showMask,i=0,l="",d=j8(r);try{for(d.s();!(t=d.n()).done;){var f=t.value;if(!s&&e[i]===void 0)break;Object.prototype.hasOwnProperty.call(o,f)&&e[i]!==void 0?l+=e[i++]:l+=f}}catch(g){d.e(g)}finally{d.f()}if(a&&!s){for(var h=r.length-1;h>=0&&l[h]===r[h];h--);l=l.slice(0,h+1)}return l}function K8(e,n){for(var t=n.mask,r=n.replacement,o=[],a=0;a<t.length;a++){var s,i=(s=e[a])!==null&&s!==void 0?s:t[a],l=Object.prototype.hasOwnProperty.call(r,i)?"replacement":e[a]!==void 0&&e[a]!==t[a]?"input":"mask";o.push({type:l,value:i,index:a})}return o}function Kr(e){return e.length>0?Y8({},e,/./):{}}function Zc(e,n){for(var t=n.start,r=t===void 0?0:t,o=n.end,a=n.mask,s=n.replacement,i=n.separate,l=e.slice(r,o),d=a.slice(r,o),f="",h=0;h<d.length;h++){var g=Object.prototype.hasOwnProperty.call(s,d[h]);g&&l[h]!==void 0&&l[h]!==d[h]?f+=l[h]:g&&i&&(f+=d[h])}return f}function Q8(e,n){var t=n.mask,r=n.replacement,o=typeof r=="string"?Kr(r):r,a=RegExp("[^".concat(Object.keys(o).join(""),"]"),"g");return X8(r1(e,{replacementChars:t.replace(a,""),replacement:o,separate:!1}),{mask:t,replacement:o,separate:!1,showMask:!1})}function UI(e,n){var t=n.mask,r=n.replacement,o=typeof r=="string"?Kr(r):r,a=Zc(e,{mask:t,replacement:o,separate:!1}),s=RegExp("[^".concat(Object.keys(o).join(""),"]"),"g");return r1(a,{replacementChars:t.replace(s,""),replacement:o,separate:!1})}function XI(e,n){var t=n.mask,r=n.replacement,o=typeof r=="string"?Kr(r):r;return K8(Q8(e,{mask:t,replacement:o}),{mask:t,replacement:o})}var KI=["[","]","\\","/","^","$",".","|","?","*","+","(",")","{","}"];function J8(e){return KI.includes(e)?"\\".concat(e):e}function QI(e,n){for(var t=n.mask,r=n.replacement,o=typeof r=="string"?Kr(r):r,a=e==="partial"||e==="partial-inexact",s=e==="full"||e==="partial",i="",l=0;l<t.length;l++){var d=t[l];l===0&&(i="^"),a&&(i+="("),i+=Object.prototype.hasOwnProperty.call(o,d)?"".concat(s?"(?!".concat(J8(d),")"):"","(").concat(o[d].source,")"):J8(d),l===t.length-1&&(a&&(i+=")?".repeat(t.length)),i+="$")}return i}function JI(e,n){return new Proxy(e,{set:function(t,r,o){return r==="current"&&(o!==e.current&&(e.current!==null&&n.unregister(e.current),o!==null&&n.register(o)),t[r]=o,!0)}})}function eO(e,n,t){return n=o1(n),function(r,o){if(o&&(typeof o=="object"||typeof o=="function"))return o;if(o!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}(r)}(e,Bc()?Reflect.construct(n,t||[],o1(e).constructor):n.apply(e,t))}function e7(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function t7(e,n,t){return Object.defineProperty(e,"prototype",{writable:!1}),e}function tO(e,n,t){return(n=function(r){var o=function(a,s){if(typeof a!="object"||!a)return a;var i=a[Symbol.toPrimitive];if(i!==void 0){var l=i.call(a,s);if(typeof l!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(a)}(r,"string");return typeof o=="symbol"?o:o+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function o1(e){return o1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},o1(e)}function nO(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&a1(e,n)}function Bc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Bc=function(){return!!e})()}function n7(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,r)}return t}function r7(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?n7(Object(t),!0).forEach(function(r){tO(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):n7(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function rO(e,n){if(e==null)return{};var t,r,o=function(s,i){if(s==null)return{};var l={};for(var d in s)if({}.hasOwnProperty.call(s,d)){if(i.includes(d))continue;l[d]=s[d]}return l}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)t=a[r],n.includes(t)||{}.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function a1(e,n){return a1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},a1(e,n)}function Wc(e){var n=typeof Map=="function"?new Map:void 0;return Wc=function(t){if(t===null||!function(o){try{return Function.toString.call(o).indexOf("[native code]")!==-1}catch{return typeof o=="function"}}(t))return t;if(typeof t!="function")throw new TypeError("Super expression must either be null or a function");if(n!==void 0){if(n.has(t))return n.get(t);n.set(t,r)}function r(){return function(o,a,s){if(Bc())return Reflect.construct.apply(null,arguments);var i=[null];i.push.apply(i,a);var l=new(o.bind.apply(o,i));return s&&a1(l,s.prototype),l}(t,arguments,o1(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),a1(r,t)},Wc(e)}var s1=function(e){function n(t){var r;return e7(this,n),(r=eO(this,n,[t])).name="SyntheticChangeError",r}return nO(n,e),t7(n)}(Wc(Error)),o7,oO=["options"],a7=["text","email","tel","search","url"],s7=t7(function e(n){var t=n.init,r=n.tracking;e7(this,e);var o=new WeakMap;this.register=function(a){var s;if(a7.includes(a.type)){var i=(s=a._wrapperState)!==null&&s!==void 0?s:{},l=i.initialValue,d=l===void 0?"":l,f=i.controlled,h=f!==void 0&&f,g=t({initialValue:a.value||d,controlled:h}),C=g.value,v=g.options,p={value:C,options:v,fallbackOptions:v},m={id:-1,cachedId:-1},w={value:"",selectionStart:0,selectionEnd:0},y=Object.getOwnPropertyDescriptor("_valueTracker"in a?a:HTMLInputElement.prototype,"value");Object.defineProperty(a,"value",r7(r7({},y),{},{set:function(M){var L;w.value=M,y==null||(L=y.set)===null||L===void 0||L.call(a,M)}})),a.value=C;var b=function(){var M=function(){var L,I;w.selectionStart=(L=a.selectionStart)!==null&&L!==void 0?L:0,w.selectionEnd=(I=a.selectionEnd)!==null&&I!==void 0?I:0,m.id=window.setTimeout(M)};m.id=window.setTimeout(M)},S=function(){window.clearTimeout(m.id),m.id=-1,m.cachedId=-1},E=function(M){try{var L,I;if(m.cachedId===m.id)throw new s1("The input selection has not been updated.");m.cachedId=m.id;var O=a.value,_=a.selectionStart,V=a.selectionEnd;if(_===null||V===null)throw new s1("The selection attributes have not been initialized.");var $,j=w.value;if(M.inputType===void 0&&(w.selectionStart=0,w.selectionEnd=j.length),_>w.selectionStart?$="insert":_<=w.selectionStart&&_<w.selectionEnd?$="deleteBackward":_===w.selectionEnd&&O.length<j.length&&($="deleteForward"),$===void 0||($==="deleteBackward"||$==="deleteForward")&&O.length>j.length)throw new s1("Input type detection error.");var F="",R=w.selectionStart,Z=w.selectionEnd;if($==="insert")F=O.slice(w.selectionStart,_);else{var K=j.length-O.length;R=_,Z=_+K}p.value!==j?p.options=p.fallbackOptions:p.fallbackOptions=p.options;var q=p.options,G=r({inputType:$,previousValue:j,previousOptions:q,value:O,addedValue:F,changeStart:R,changeEnd:Z,selectionStart:_,selectionEnd:V}),oe=G.options,U=rO(G,oO);a.value=U.value,a.setSelectionRange(U.selectionStart,U.selectionEnd),p.value=U.value,p.options=oe,w.selectionStart=U.selectionStart,w.selectionEnd=U.selectionEnd,(L=a._valueTracker)===null||L===void 0||(I=L.setValue)===null||I===void 0||I.call(L,j)}catch(D){if(a.value=w.value,a.setSelectionRange(w.selectionStart,w.selectionEnd),M.preventDefault(),M.stopPropagation(),D.name!=="SyntheticChangeError")throw D}};document.activeElement===a&&b(),a.addEventListener("focus",b),a.addEventListener("blur",S),a.addEventListener("input",E),o.set(a,{onFocus:b,onBlur:S,onInput:E})}else process.env.NODE_ENV!=="production"&&console.warn("Warn: The input element type does not match one of the types: ".concat(a7.join(", "),"."))},this.unregister=function(a){var s=o.get(a);s!==void 0&&(a.removeEventListener("focus",s.onFocus),a.removeEventListener("blur",s.onBlur),a.removeEventListener("input",s.onInput),o.delete(a))}});o7=s7,Object.defineProperty(o7.prototype,Symbol.toStringTag,{writable:!1,enumerable:!1,configurable:!0,value:"Input"});var Gc=function(e){return function(){for(var n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];return new e("".concat(t.join(`
133
+
134
+ `),`
135
+ `))}},i7,aO=["track","modify"];function Qr(e){var n,t,r,o;return{mask:(n=e.mask)!==null&&n!==void 0?n:"",replacement:typeof e.replacement=="string"?Kr(e.replacement):(t=e.replacement)!==null&&t!==void 0?t:{},showMask:(r=e.showMask)!==null&&r!==void 0&&r,separate:(o=e.separate)!==null&&o!==void 0&&o,track:e.track,modify:e.modify}}var l7=function(e){function n(){var t,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return RI(this,n),(t=GI(this,n,[{init:function(o){var a=o.initialValue,s=o.controlled,i=Qr(r),l=i.mask,d=i.replacement,f=i.separate,h=i.showMask;return a=s||a?a:h?l:"",process.env.NODE_ENV!=="production"&&function(g){var C=g.initialValue,v=g.mask,p=g.replacement;C.length>v.length&&console.error(Gc(Error)("The initialized value of the `value` or `defaultValue` property is longer than the value specified in the `mask` property. Check the correctness of the initialized value in the specified property.",'Invalid value: "'.concat(C,'".'),"To initialize an unmasked value, use the `format` utility. More details https://github.com/GoncharukOrg/react-input/tree/main/packages/mask#initializing-the-value."));var m=Object.keys(p).filter(function(E){return E.length>1});m.length>0&&console.error(Gc(Error)("Object keys in the `replacement` property are longer than one character. Replacement keys must be one character long. Check the correctness of the value in the specified property.","Invalid keys: ".concat(m.join(", "),"."),"To initialize an unmasked value, use the `format` utility. More details https://github.com/GoncharukOrg/react-input/tree/main/packages/mask#initializing-the-value."));for(var w=v.slice(0,C.length),y=-1,b=0;b<w.length;b++){var S=Object.prototype.hasOwnProperty.call(p,w[b]);if(!(w[b]===C[b]||S&&p[w[b]].test(C[b]))){y=b;break}}y!==-1&&console.error(Gc(Error)("An invalid character was found in the initialized property value `value` or `defaultValue` (index: ".concat(y,"). Check the correctness of the initialized value in the specified property."),'Invalid value: "'.concat(C,'".'),"To initialize an unmasked value, use the `format` utility. More details https://github.com/GoncharukOrg/react-input/tree/main/packages/mask#initializing-the-value."))}({initialValue:a,mask:l,replacement:d}),{value:a,options:{mask:l,replacement:d,separate:f}}},tracking:function(o){var a=o.inputType,s=o.previousValue,i=o.previousOptions,l=o.addedValue,d=o.changeStart,f=o.changeEnd,h=Qr(r),g=h.track,C=h.modify,v=qI(h,aO),p=v.mask,m=v.replacement,w=v.showMask,y=v.separate,b=os(os({},a==="insert"?{inputType:a,data:l}:{inputType:a,data:null}),{},{value:s,selectionStart:d,selectionEnd:f}),S=g==null?void 0:g(b);if(S===!1)throw new s1("Custom tracking stop.");S===null?l="":S!==!0&&S!==void 0&&(l=S);var E=C==null?void 0:C(b);(E==null?void 0:E.mask)!==void 0&&(p=E.mask),(E==null?void 0:E.replacement)!==void 0&&(m=typeof(E==null?void 0:E.replacement)=="string"?Kr(E==null?void 0:E.replacement):E.replacement),(E==null?void 0:E.showMask)!==void 0&&(w=E.showMask),(E==null?void 0:E.separate)!==void 0&&(y=E.separate);var M=Zc(s,os({end:d},i)),L=Zc(s,os({start:f},i)),I=RegExp("[^".concat(Object.keys(m).join(""),"]"),"g"),O=p.replace(I,"");if(M&&(M=r1(M,{replacementChars:O,replacement:m,separate:y}),O=O.slice(M.length)),l&&(l=r1(l,{replacementChars:O,replacement:m,separate:!1}),O=O.slice(l.length)),a==="insert"&&l==="")throw new s1("The character does not match the key value of the `replacement` object.");if(y){var _=p.slice(d,f).replace(I,""),V=_.length-l.length;V<0?L=L.slice(-V):V>0&&(L=_.slice(-V)+L)}L&&(L=r1(L,{replacementChars:O,replacement:m,separate:y}));var $=X8(M+l+L,{mask:p,replacement:m,separate:y,showMask:w}),j=function(F){var R,Z,K,q=F.inputType,G=F.value,oe=F.addedValue,U=F.beforeChangeValue,D=F.mask,T=F.replacement,N=F.separate,H=K8(G,{mask:D,replacement:T}).filter(function(J){var te=J.type;return te==="input"||N&&te==="replacement"}),W=(R=H[U.length+oe.length-1])===null||R===void 0?void 0:R.index,A=(Z=H[U.length-1])===null||Z===void 0?void 0:Z.index,Y=(K=H[U.length+oe.length])===null||K===void 0?void 0:K.index;if(q==="insert"){if(W!==void 0)return W+1;if(Y!==void 0)return Y;if(A!==void 0)return A+1}if(q==="deleteForward"){if(Y!==void 0)return Y;if(A!==void 0)return A+1}if(q==="deleteBackward"){if(A!==void 0)return A+1;if(Y!==void 0)return Y}var X=G.split("").findIndex(function(J){return Object.prototype.hasOwnProperty.call(T,J)});return X!==-1?X:G.length}({inputType:a,value:$,addedValue:l,beforeChangeValue:M,mask:p,replacement:m,separate:y});return{value:$,selectionStart:j,selectionEnd:j,options:{mask:p,replacement:m,separate:y}}}}])).format=function(o){return Q8(o,Qr(r))},t.formatToParts=function(o){return XI(o,Qr(r))},t.unformat=function(o){return UI(o,Qr(r))},t.generatePattern=function(o){return QI(o,Qr(r))},t}return YI(n,s7),jI(n)}();i7=l7,Object.defineProperty(i7.prototype,Symbol.toStringTag,{writable:!1,enumerable:!1,configurable:!0,value:"Mask"});function sO(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.mask,t=e.replacement,r=e.showMask,o=e.separate,a=e.track,s=e.modify,i=k.useRef(null),l=k.useRef({mask:n,replacement:t,showMask:r,separate:o,track:a,modify:s});return l.current.mask=n,l.current.replacement=t,l.current.showMask=r,l.current.separate=o,l.current.track=a,l.current.modify=s,k.useMemo(function(){return JI(i,new l7(l.current))},[])}const c7=(...e)=>k.useCallback(n=>{e.forEach(t=>{t&&(typeof t=="function"?t(n):t.current=n)})},e),Rc=e=>{if(typeof e!="string")return null;const n=e.match(/^([01]\d|2[0-3]):([0-5]\d)$/);return n?Number(n[1])*60+Number(n[2]):null},u7=e=>{const n=Math.floor(e/60),t=e%60;return`${n.toString().padStart(2,"0")}:${t.toString().padStart(2,"0")}`},jc=(e,{min:n,max:t}={})=>{const r=Rc(e);if(r==null)return e;const o=Rc(n),a=Rc(t);return o!=null&&r<o?u7(o):a!=null&&r>a?u7(a):e},d7="--:--",f7=c.forwardRef(({value:e,onChange:n,onBlur:t,placeholder:r,className:o,disabled:a,readOnly:s,min:i,max:l,showMask:d=!0,...f},h)=>{const[g,C]=c.useState(!1),v=!a&&!s,p=sO({mask:d7,replacement:{"-":/\d/},showMask:d}),m=c7(h,p),w=_=>{if(!_)return"";const V=_.replace(/\D/g,"").slice(0,4);if(!V)return"";const $=V.slice(0,2).padStart(2,"0"),j=V.slice(2,4).padStart(2,"0");return`${$}:${j}`},[y,b]=c.useState(w(e));c.useEffect(()=>{b(w(e))},[e]);const S=_=>{const V=Math.min(23,parseInt(_.slice(0,2),10)||0),$=Math.min(59,parseInt(_.slice(2,4),10)||0);return`${V.toString().padStart(2,"0")}:${$.toString().padStart(2,"0")}`},E=_=>{const V=_.target.value;b(V);const $=V.replace(/\D/g,"");if($.length===4){const j=jc(S($),{min:i,max:l});n==null||n(j)}},M=_=>{const V=y.replace(/\D/g,"");if(V.length===0){b(""),n==null||n("");return}const $=V.padEnd(4,"0").slice(0,4),j=jc(S($),{min:i,max:l});j!==y&&(b(j),n==null||n(j)),t&&t(_)},L=(_,V)=>{if(!v)return;const $=jc(`${_.padStart(2,"0")}:${V.padStart(2,"0")}`,{min:i,max:l});b($),n==null||n($)},[I="",O=""]=y.split(":");return u.jsx("div",{className:P("relative",o),children:u.jsxs($n,{open:v?g:!1,onOpenChange:_=>{v&&C(_)},children:[u.jsx(en,{...f,ref:m,value:y,onChange:E,onBlur:M,placeholder:r??(d?d7:void 0),disabled:a,readOnly:s,min:i,max:l,className:"pr-10",type:"text"}),u.jsx(zn,{asChild:!0,children:u.jsx("div",{className:P("absolute right-3 top-1/2 -translate-y-1/2 z-10",v?"cursor-pointer":"cursor-default pointer-events-none"),children:u.jsx(q9,{className:"text-icon-fade-contrast min-w-6 h-6"})})}),u.jsx(gn,{align:"end",sideOffset:5,collisionPadding:8,className:"bg-background-primary w-full p-2 min-w-[120px] translate-x-3",onOpenAutoFocus:_=>_.preventDefault(),children:u.jsxs("div",{className:"flex gap-2 w-full items-center justify-center",children:[u.jsx(h7,{items:Array.from({length:24},(_,V)=>V.toString().padStart(2,"0")),value:I,onSelect:_=>L(_,O)}),u.jsx(h7,{items:Array.from({length:60},(_,V)=>V.toString().padStart(2,"0")),value:O,onSelect:_=>L(I,_)})]})})]})})});f7.displayName="TimePicker";const h7=({items:e,value:n,onSelect:t})=>{const r=c.useRef(null);return c.useEffect(()=>{const o=r.current;if(!o)return;const a=s=>{s.preventDefault(),o.scrollTop+=s.deltaY};return o.addEventListener("wheel",a),()=>o.removeEventListener("wheel",a)},[]),c.useEffect(()=>{if(r.current&&n){const o=e.findIndex(a=>a===n);o>-1&&(r.current.scrollTop=o*32)}},[e,n]),u.jsx("div",{className:"flex flex-col items-center flex-1",children:u.jsx("div",{ref:r,className:"h-48 overflow-y-auto w-full scroll-smooth [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:e.map(o=>u.jsx("div",{className:P("py-1 text-center cursor-pointer transition-colors hover:bg-background-secondary rounded-lg",o===n&&"bg-background-theme text-foreground-on-contrast hover:bg-background-theme/80"),onClick:()=>t(o),children:o},o))})})};function iO(e){return Object.prototype.toString.call(e)==="[object Object]"}function g7(e){return iO(e)||Array.isArray(e)}function lO(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Yc(e,n){const t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return!1;const o=JSON.stringify(Object.keys(e.breakpoints||{})),a=JSON.stringify(Object.keys(n.breakpoints||{}));return o!==a?!1:t.every(s=>{const i=e[s],l=n[s];return typeof i=="function"?`${i}`==`${l}`:!g7(i)||!g7(l)?i===l:Yc(i,l)})}function p7(e){return e.concat().sort((n,t)=>n.name>t.name?1:-1).map(n=>n.options)}function cO(e,n){if(e.length!==n.length)return!1;const t=p7(e),r=p7(n);return t.every((o,a)=>{const s=r[a];return Yc(o,s)})}function qc(e){return typeof e=="number"}function Uc(e){return typeof e=="string"}function as(e){return typeof e=="boolean"}function C7(e){return Object.prototype.toString.call(e)==="[object Object]"}function We(e){return Math.abs(e)}function Xc(e){return Math.sign(e)}function i1(e,n){return We(e-n)}function uO(e,n){if(e===0||n===0||We(e)<=We(n))return 0;const t=i1(We(e),We(n));return We(t/e)}function dO(e){return Math.round(e*100)/100}function l1(e){return u1(e).map(Number)}function zt(e){return e[c1(e)]}function c1(e){return Math.max(0,e.length-1)}function Kc(e,n){return n===c1(e)}function m7(e,n=0){return Array.from(Array(e),(t,r)=>n+r)}function u1(e){return Object.keys(e)}function v7(e,n){return[e,n].reduce((t,r)=>(u1(r).forEach(o=>{const a=t[o],s=r[o],i=C7(a)&&C7(s);t[o]=i?v7(a,s):s}),t),{})}function Qc(e,n){return typeof n.MouseEvent<"u"&&e instanceof n.MouseEvent}function fO(e,n){const t={start:r,center:o,end:a};function r(){return 0}function o(l){return a(l)/2}function a(l){return n-l}function s(l,d){return Uc(e)?t[e](l):e(n,l,d)}return{measure:s}}function d1(){let e=[];function n(o,a,s,i={passive:!0}){let l;if("addEventListener"in o)o.addEventListener(a,s,i),l=()=>o.removeEventListener(a,s,i);else{const d=o;d.addListener(s),l=()=>d.removeListener(s)}return e.push(l),r}function t(){e=e.filter(o=>o())}const r={add:n,clear:t};return r}function hO(e,n,t,r){const o=d1(),a=1e3/60;let s=null,i=0,l=0;function d(){o.add(e,"visibilitychange",()=>{e.hidden&&v()})}function f(){C(),o.clear()}function h(m){if(!l)return;s||(s=m,t(),t());const w=m-s;for(s=m,i+=w;i>=a;)t(),i-=a;const y=i/a;r(y),l&&(l=n.requestAnimationFrame(h))}function g(){l||(l=n.requestAnimationFrame(h))}function C(){n.cancelAnimationFrame(l),s=null,i=0,l=0}function v(){s=null,i=0}return{init:d,destroy:f,start:g,stop:C,update:t,render:r}}function gO(e,n){const t=n==="rtl",r=e==="y",o=r?"y":"x",a=r?"x":"y",s=!r&&t?-1:1,i=f(),l=h();function d(v){const{height:p,width:m}=v;return r?p:m}function f(){return r?"top":t?"right":"left"}function h(){return r?"bottom":t?"left":"right"}function g(v){return v*s}return{scroll:o,cross:a,startEdge:i,endEdge:l,measureSize:d,direction:g}}function dr(e=0,n=0){const t=We(e-n);function r(d){return d<e}function o(d){return d>n}function a(d){return r(d)||o(d)}function s(d){return a(d)?r(d)?e:n:d}function i(d){return t?d-t*Math.ceil((d-n)/t):d}return{length:t,max:n,min:e,constrain:s,reachedAny:a,reachedMax:o,reachedMin:r,removeOffset:i}}function w7(e,n,t){const{constrain:r}=dr(0,e),o=e+1;let a=s(n);function s(g){return t?We((o+g)%o):r(g)}function i(){return a}function l(g){return a=s(g),h}function d(g){return f().set(i()+g)}function f(){return w7(e,i(),t)}const h={get:i,set:l,add:d,clone:f};return h}function pO(e,n,t,r,o,a,s,i,l,d,f,h,g,C,v,p,m,w,y){const{cross:b,direction:S}=e,E=["INPUT","SELECT","TEXTAREA"],M={passive:!1},L=d1(),I=d1(),O=dr(50,225).constrain(C.measure(20)),_={mouse:300,touch:400},V={mouse:500,touch:600},$=v?43:25;let j=!1,F=0,R=0,Z=!1,K=!1,q=!1,G=!1;function oe(B){if(!y)return;function ae(se){(as(y)||y(B,se))&&W(se)}const ne=n;L.add(ne,"dragstart",se=>se.preventDefault(),M).add(ne,"touchmove",()=>{},M).add(ne,"touchend",()=>{}).add(ne,"touchstart",ae).add(ne,"mousedown",ae).add(ne,"touchcancel",Y).add(ne,"contextmenu",Y).add(ne,"click",X,!0)}function U(){L.clear(),I.clear()}function D(){const B=G?t:n;I.add(B,"touchmove",A,M).add(B,"touchend",Y).add(B,"mousemove",A,M).add(B,"mouseup",Y)}function T(B){const ae=B.nodeName||"";return E.includes(ae)}function N(){return(v?V:_)[G?"mouse":"touch"]}function H(B,ae){const ne=h.add(Xc(B)*-1),se=f.byDistance(B,!v).distance;return v||We(B)<O?se:m&&ae?se*.5:f.byIndex(ne.get(),0).distance}function W(B){const ae=Qc(B,r);G=ae,q=v&&ae&&!B.buttons&&j,j=i1(o.get(),s.get())>=2,!(ae&&B.button!==0)&&(T(B.target)||(Z=!0,a.pointerDown(B),d.useFriction(0).useDuration(0),o.set(s),D(),F=a.readPoint(B),R=a.readPoint(B,b),g.emit("pointerDown")))}function A(B){if(!Qc(B,r)&&B.touches.length>=2)return Y(B);const ne=a.readPoint(B),se=a.readPoint(B,b),ge=i1(ne,F),de=i1(se,R);if(!K&&!G&&(!B.cancelable||(K=ge>de,!K)))return Y(B);const pe=a.pointerMove(B);ge>p&&(q=!0),d.useFriction(.3).useDuration(.75),i.start(),o.add(S(pe)),B.preventDefault()}function Y(B){const ne=f.byDistance(0,!1).index!==h.get(),se=a.pointerUp(B)*N(),ge=H(S(se),ne),de=uO(se,ge),pe=$-10*de,Le=w+de/50;K=!1,Z=!1,I.clear(),d.useDuration(pe).useFriction(Le),l.distance(ge,!v),G=!1,g.emit("pointerUp")}function X(B){q&&(B.stopPropagation(),B.preventDefault(),q=!1)}function J(){return Z}return{init:oe,destroy:U,pointerDown:J}}function CO(e,n){let r,o;function a(h){return h.timeStamp}function s(h,g){const v=`client${(g||e.scroll)==="x"?"X":"Y"}`;return(Qc(h,n)?h:h.touches[0])[v]}function i(h){return r=h,o=h,s(h)}function l(h){const g=s(h)-s(o),C=a(h)-a(r)>170;return o=h,C&&(r=h),g}function d(h){if(!r||!o)return 0;const g=s(o)-s(r),C=a(h)-a(r),v=a(h)-a(o)>170,p=g/C;return C&&!v&&We(p)>.1?p:0}return{pointerDown:i,pointerMove:l,pointerUp:d,readPoint:s}}function mO(){function e(t){const{offsetTop:r,offsetLeft:o,offsetWidth:a,offsetHeight:s}=t;return{top:r,right:o+a,bottom:r+s,left:o,width:a,height:s}}return{measure:e}}function vO(e){function n(r){return e*(r/100)}return{measure:n}}function wO(e,n,t,r,o,a,s){const i=[e].concat(r);let l,d,f=[],h=!1;function g(m){return o.measureSize(s.measure(m))}function C(m){if(!a)return;d=g(e),f=r.map(g);function w(y){for(const b of y){if(h)return;const S=b.target===e,E=r.indexOf(b.target),M=S?d:f[E],L=g(S?e:r[E]);if(We(L-M)>=.5){m.reInit(),n.emit("resize");break}}}l=new ResizeObserver(y=>{(as(a)||a(m,y))&&w(y)}),t.requestAnimationFrame(()=>{i.forEach(y=>l.observe(y))})}function v(){h=!0,l&&l.disconnect()}return{init:C,destroy:v}}function yO(e,n,t,r,o,a){let s=0,i=0,l=o,d=a,f=e.get(),h=0;function g(){const M=r.get()-e.get(),L=!l;let I=0;return L?(s=0,t.set(r),e.set(r),I=M):(t.set(e),s+=M/l,s*=d,f+=s,e.add(s),I=f-h),i=Xc(I),h=f,E}function C(){const M=r.get()-n.get();return We(M)<.001}function v(){return l}function p(){return i}function m(){return s}function w(){return b(o)}function y(){return S(a)}function b(M){return l=M,E}function S(M){return d=M,E}const E={direction:p,duration:v,velocity:m,seek:g,settled:C,useBaseFriction:y,useBaseDuration:w,useFriction:S,useDuration:b};return E}function bO(e,n,t,r,o){const a=o.measure(10),s=o.measure(50),i=dr(.1,.99);let l=!1;function d(){return!(l||!e.reachedAny(t.get())||!e.reachedAny(n.get()))}function f(C){if(!d())return;const v=e.reachedMin(n.get())?"min":"max",p=We(e[v]-n.get()),m=t.get()-n.get(),w=i.constrain(p/s);t.subtract(m*w),!C&&We(m)<a&&(t.set(e.constrain(t.get())),r.useDuration(25).useBaseFriction())}function h(C){l=!C}return{shouldConstrain:d,constrain:f,toggleActive:h}}function xO(e,n,t,r,o){const a=dr(-n+e,0),s=h(),i=f(),l=g();function d(v,p){return i1(v,p)<=1}function f(){const v=s[0],p=zt(s),m=s.lastIndexOf(v),w=s.indexOf(p)+1;return dr(m,w)}function h(){return t.map((v,p)=>{const{min:m,max:w}=a,y=a.constrain(v),b=!p,S=Kc(t,p);return b?w:S||d(m,y)?m:d(w,y)?w:y}).map(v=>parseFloat(v.toFixed(3)))}function g(){if(n<=e+o)return[a.max];if(r==="keepSnaps")return s;const{min:v,max:p}=i;return s.slice(v,p)}return{snapsContained:l,scrollContainLimit:i}}function SO(e,n,t){const r=n[0],o=t?r-e:zt(n);return{limit:dr(o,r)}}function MO(e,n,t,r){const a=n.min+.1,s=n.max+.1,{reachedMin:i,reachedMax:l}=dr(a,s);function d(g){return g===1?l(t.get()):g===-1?i(t.get()):!1}function f(g){if(!d(g))return;const C=e*(g*-1);r.forEach(v=>v.add(C))}return{loop:f}}function EO(e){const{max:n,length:t}=e;function r(a){const s=a-n;return t?s/-t:0}return{get:r}}function LO(e,n,t,r,o){const{startEdge:a,endEdge:s}=e,{groupSlides:i}=o,l=h().map(n.measure),d=g(),f=C();function h(){return i(r).map(p=>zt(p)[s]-p[0][a]).map(We)}function g(){return r.map(p=>t[a]-p[a]).map(p=>-We(p))}function C(){return i(d).map(p=>p[0]).map((p,m)=>p+l[m])}return{snaps:d,snapsAligned:f}}function NO(e,n,t,r,o,a){const{groupSlides:s}=o,{min:i,max:l}=r,d=f();function f(){const g=s(a),C=!e||n==="keepSnaps";return t.length===1?[a]:C?g:g.slice(i,l).map((v,p,m)=>{const w=!p,y=Kc(m,p);if(w){const b=zt(m[0])+1;return m7(b)}if(y){const b=c1(a)-zt(m)[0]+1;return m7(b,zt(m)[0])}return v})}return{slideRegistry:d}}function kO(e,n,t,r,o){const{reachedAny:a,removeOffset:s,constrain:i}=r;function l(v){return v.concat().sort((p,m)=>We(p)-We(m))[0]}function d(v){const p=e?s(v):i(v),m=n.map((y,b)=>({diff:f(y-p,0),index:b})).sort((y,b)=>We(y.diff)-We(b.diff)),{index:w}=m[0];return{index:w,distance:p}}function f(v,p){const m=[v,v+t,v-t];if(!e)return v;if(!p)return l(m);const w=m.filter(y=>Xc(y)===p);return w.length?l(w):zt(m)-t}function h(v,p){const m=n[v]-o.get(),w=f(m,p);return{index:v,distance:w}}function g(v,p){const m=o.get()+v,{index:w,distance:y}=d(m),b=!e&&a(m);if(!p||b)return{index:w,distance:v};const S=n[w]-y,E=v+f(S,0);return{index:w,distance:E}}return{byDistance:g,byIndex:h,shortcut:f}}function PO(e,n,t,r,o,a,s){function i(h){const g=h.distance,C=h.index!==n.get();a.add(g),g&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),C&&(t.set(n.get()),n.set(h.index),s.emit("select"))}function l(h,g){const C=o.byDistance(h,g);i(C)}function d(h,g){const C=n.clone().set(h),v=o.byIndex(C.get(),g);i(v)}return{distance:l,index:d}}function IO(e,n,t,r,o,a,s,i){const l={passive:!0,capture:!0};let d=0;function f(C){if(!i)return;function v(p){if(new Date().getTime()-d>10)return;s.emit("slideFocusStart"),e.scrollLeft=0;const y=t.findIndex(b=>b.includes(p));qc(y)&&(o.useDuration(0),r.index(y,0),s.emit("slideFocus"))}a.add(document,"keydown",h,!1),n.forEach((p,m)=>{a.add(p,"focus",w=>{(as(i)||i(C,w))&&v(m)},l)})}function h(C){C.code==="Tab"&&(d=new Date().getTime())}return{init:f}}function f1(e){let n=e;function t(){return n}function r(l){n=s(l)}function o(l){n+=s(l)}function a(l){n-=s(l)}function s(l){return qc(l)?l:l.get()}return{get:t,set:r,add:o,subtract:a}}function y7(e,n){const t=e.scroll==="x"?s:i,r=n.style;let o=null,a=!1;function s(g){return`translate3d(${g}px,0px,0px)`}function i(g){return`translate3d(0px,${g}px,0px)`}function l(g){if(a)return;const C=dO(e.direction(g));C!==o&&(r.transform=t(C),o=C)}function d(g){a=!g}function f(){a||(r.transform="",n.getAttribute("style")||n.removeAttribute("style"))}return{clear:f,to:l,toggleActive:d}}function OO(e,n,t,r,o,a,s,i,l){const f=l1(o),h=l1(o).reverse(),g=w().concat(y());function C(L,I){return L.reduce((O,_)=>O-o[_],I)}function v(L,I){return L.reduce((O,_)=>C(O,I)>0?O.concat([_]):O,[])}function p(L){return a.map((I,O)=>({start:I-r[O]+.5+L,end:I+n-.5+L}))}function m(L,I,O){const _=p(I);return L.map(V=>{const $=O?0:-t,j=O?t:0,F=O?"end":"start",R=_[V][F];return{index:V,loopPoint:R,slideLocation:f1(-1),translate:y7(e,l[V]),target:()=>i.get()>R?$:j}})}function w(){const L=s[0],I=v(h,L);return m(I,t,!1)}function y(){const L=n-s[0]-1,I=v(f,L);return m(I,-t,!0)}function b(){return g.every(({index:L})=>{const I=f.filter(O=>O!==L);return C(I,n)<=.1})}function S(){g.forEach(L=>{const{target:I,translate:O,slideLocation:_}=L,V=I();V!==_.get()&&(O.to(V),_.set(V))})}function E(){g.forEach(L=>L.translate.clear())}return{canLoop:b,clear:E,loop:S,loopPoints:g}}function TO(e,n,t){let r,o=!1;function a(l){if(!t)return;function d(f){for(const h of f)if(h.type==="childList"){l.reInit(),n.emit("slidesChanged");break}}r=new MutationObserver(f=>{o||(as(t)||t(l,f))&&d(f)}),r.observe(e,{childList:!0})}function s(){r&&r.disconnect(),o=!0}return{init:a,destroy:s}}function DO(e,n,t,r){const o={};let a=null,s=null,i,l=!1;function d(){i=new IntersectionObserver(v=>{l||(v.forEach(p=>{const m=n.indexOf(p.target);o[m]=p}),a=null,s=null,t.emit("slidesInView"))},{root:e.parentElement,threshold:r}),n.forEach(v=>i.observe(v))}function f(){i&&i.disconnect(),l=!0}function h(v){return u1(o).reduce((p,m)=>{const w=parseInt(m),{isIntersecting:y}=o[w];return(v&&y||!v&&!y)&&p.push(w),p},[])}function g(v=!0){if(v&&a)return a;if(!v&&s)return s;const p=h(v);return v&&(a=p),v||(s=p),p}return{init:d,destroy:f,get:g}}function _O(e,n,t,r,o,a){const{measureSize:s,startEdge:i,endEdge:l}=e,d=t[0]&&o,f=v(),h=p(),g=t.map(s),C=m();function v(){if(!d)return 0;const y=t[0];return We(n[i]-y[i])}function p(){if(!d)return 0;const y=a.getComputedStyle(zt(r));return parseFloat(y.getPropertyValue(`margin-${l}`))}function m(){return t.map((y,b,S)=>{const E=!b,M=Kc(S,b);return E?g[b]+f:M?g[b]+h:S[b+1][i]-y[i]}).map(We)}return{slideSizes:g,slideSizesWithGaps:C,startGap:f,endGap:h}}function VO(e,n,t,r,o,a,s,i,l){const{startEdge:d,endEdge:f,direction:h}=e,g=qc(t);function C(w,y){return l1(w).filter(b=>b%y===0).map(b=>w.slice(b,b+y))}function v(w){return w.length?l1(w).reduce((y,b,S)=>{const E=zt(y)||0,M=E===0,L=b===c1(w),I=o[d]-a[E][d],O=o[d]-a[b][f],_=!r&&M?h(s):0,V=!r&&L?h(i):0,$=We(O-V-(I+_));return S&&$>n+l&&y.push(b),L&&y.push(w.length),y},[]).map((y,b,S)=>{const E=Math.max(S[b-1]||0);return w.slice(E,y)}):[]}function p(w){return g?C(w,t):v(w)}return{groupSlides:p}}function HO(e,n,t,r,o,a,s){const{align:i,axis:l,direction:d,startIndex:f,loop:h,duration:g,dragFree:C,dragThreshold:v,inViewThreshold:p,slidesToScroll:m,skipSnaps:w,containScroll:y,watchResize:b,watchSlides:S,watchDrag:E,watchFocus:M}=a,L=2,I=mO(),O=I.measure(n),_=t.map(I.measure),V=gO(l,d),$=V.measureSize(O),j=vO($),F=fO(i,$),R=!h&&!!y,Z=h||!!y,{slideSizes:K,slideSizesWithGaps:q,startGap:G,endGap:oe}=_O(V,O,_,t,Z,o),U=VO(V,$,m,h,O,_,G,oe,L),{snaps:D,snapsAligned:T}=LO(V,F,O,_,U),N=-zt(D)+zt(q),{snapsContained:H,scrollContainLimit:W}=xO($,N,T,y,L),A=R?H:T,{limit:Y}=SO(N,A,h),X=w7(c1(A),f,h),J=X.clone(),te=l1(t),B=({dragHandler:Pe,scrollBody:Qe,scrollBounds:nt,options:{loop:rt}})=>{rt||nt.constrain(Pe.pointerDown()),Qe.seek()},ae=({scrollBody:Pe,translate:Qe,location:nt,offsetLocation:rt,previousLocation:Ct,scrollLooper:lt,slideLooper:mt,dragHandler:st,animation:gt,eventHandler:ct,scrollBounds:Ce,options:{loop:xe}},z)=>{const re=Pe.settled(),Ee=!Ce.shouldConstrain(),ue=xe?re:re&&Ee,He=ue&&!st.pointerDown();He&&gt.stop();const et=nt.get()*z+Ct.get()*(1-z);rt.set(et),xe&&(lt.loop(Pe.direction()),mt.loop()),Qe.to(rt.get()),He&&ct.emit("settle"),ue||ct.emit("scroll")},ne=hO(r,o,()=>B(ze),Pe=>ae(ze,Pe)),se=.68,ge=A[X.get()],de=f1(ge),pe=f1(ge),Le=f1(ge),Fe=f1(ge),Ae=yO(de,Le,pe,Fe,g,se),Ie=kO(h,A,N,Y,Fe),Q=PO(ne,X,J,Ae,Ie,Fe,s),le=EO(Y),we=d1(),he=DO(n,t,s,p),{slideRegistry:ke}=NO(R,y,A,W,U,te),Ne=IO(e,t,ke,Q,Ae,we,s,M),ze={ownerDocument:r,ownerWindow:o,eventHandler:s,containerRect:O,slideRects:_,animation:ne,axis:V,dragHandler:pO(V,e,r,o,Fe,CO(V,o),de,ne,Q,Ae,Ie,X,s,j,C,v,w,se,E),eventStore:we,percentOfView:j,index:X,indexPrevious:J,limit:Y,location:de,offsetLocation:Le,previousLocation:pe,options:a,resizeHandler:wO(n,s,o,t,V,b,I),scrollBody:Ae,scrollBounds:bO(Y,Le,Fe,Ae,j),scrollLooper:MO(N,Y,Le,[de,Le,pe,Fe]),scrollProgress:le,scrollSnapList:A.map(le.get),scrollSnaps:A,scrollTarget:Ie,scrollTo:Q,slideLooper:OO(V,$,N,K,q,D,A,Le,t),slideFocus:Ne,slidesHandler:TO(n,s,S),slidesInView:he,slideIndexes:te,slideRegistry:ke,slidesToScroll:U,target:Fe,translate:y7(V,n)};return ze}function AO(){let e={},n;function t(d){n=d}function r(d){return e[d]||[]}function o(d){return r(d).forEach(f=>f(n,d)),l}function a(d,f){return e[d]=r(d).concat([f]),l}function s(d,f){return e[d]=r(d).filter(h=>h!==f),l}function i(){e={}}const l={init:t,emit:o,off:s,on:a,clear:i};return l}const FO={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function $O(e){function n(a,s){return v7(a,s||{})}function t(a){const s=a.breakpoints||{},i=u1(s).filter(l=>e.matchMedia(l).matches).map(l=>s[l]).reduce((l,d)=>n(l,d),{});return n(a,i)}function r(a){return a.map(s=>u1(s.breakpoints||{})).reduce((s,i)=>s.concat(i),[]).map(e.matchMedia)}return{mergeOptions:n,optionsAtMedia:t,optionsMediaQueries:r}}function zO(e){let n=[];function t(a,s){return n=s.filter(({options:i})=>e.optionsAtMedia(i).active!==!1),n.forEach(i=>i.init(a,e)),s.reduce((i,l)=>Object.assign(i,{[l.name]:l}),{})}function r(){n=n.filter(a=>a.destroy())}return{init:t,destroy:r}}function ss(e,n,t){const r=e.ownerDocument,o=r.defaultView,a=$O(o),s=zO(a),i=d1(),l=AO(),{mergeOptions:d,optionsAtMedia:f,optionsMediaQueries:h}=a,{on:g,off:C,emit:v}=l,p=V;let m=!1,w,y=d(FO,ss.globalOptions),b=d(y),S=[],E,M,L;function I(){const{container:te,slides:B}=b;M=(Uc(te)?e.querySelector(te):te)||e.children[0];const ne=Uc(B)?M.querySelectorAll(B):B;L=[].slice.call(ne||M.children)}function O(te){const B=HO(e,M,L,r,o,te,l);if(te.loop&&!B.slideLooper.canLoop()){const ae=Object.assign({},te,{loop:!1});return O(ae)}return B}function _(te,B){m||(y=d(y,te),b=f(y),S=B||S,I(),w=O(b),h([y,...S.map(({options:ae})=>ae)]).forEach(ae=>i.add(ae,"change",V)),b.active&&(w.translate.to(w.location.get()),w.animation.init(),w.slidesInView.init(),w.slideFocus.init(J),w.eventHandler.init(J),w.resizeHandler.init(J),w.slidesHandler.init(J),w.options.loop&&w.slideLooper.loop(),M.offsetParent&&L.length&&w.dragHandler.init(J),E=s.init(J,S)))}function V(te,B){const ae=U();$(),_(d({startIndex:ae},te),B),l.emit("reInit")}function $(){w.dragHandler.destroy(),w.eventStore.clear(),w.translate.clear(),w.slideLooper.clear(),w.resizeHandler.destroy(),w.slidesHandler.destroy(),w.slidesInView.destroy(),w.animation.destroy(),s.destroy(),i.clear()}function j(){m||(m=!0,i.clear(),$(),l.emit("destroy"),l.clear())}function F(te,B,ae){!b.active||m||(w.scrollBody.useBaseFriction().useDuration(B===!0?0:b.duration),w.scrollTo.index(te,ae||0))}function R(te){const B=w.index.add(1).get();F(B,te,-1)}function Z(te){const B=w.index.add(-1).get();F(B,te,1)}function K(){return w.index.add(1).get()!==U()}function q(){return w.index.add(-1).get()!==U()}function G(){return w.scrollSnapList}function oe(){return w.scrollProgress.get(w.offsetLocation.get())}function U(){return w.index.get()}function D(){return w.indexPrevious.get()}function T(){return w.slidesInView.get()}function N(){return w.slidesInView.get(!1)}function H(){return E}function W(){return w}function A(){return e}function Y(){return M}function X(){return L}const J={canScrollNext:K,canScrollPrev:q,containerNode:Y,internalEngine:W,destroy:j,off:C,on:g,emit:v,plugins:H,previousScrollSnap:D,reInit:p,rootNode:A,scrollNext:R,scrollPrev:Z,scrollProgress:oe,scrollSnapList:G,scrollTo:F,selectedScrollSnap:U,slideNodes:X,slidesInView:T,slidesNotInView:N};return _(n,t),setTimeout(()=>l.emit("init"),0),J}ss.globalOptions=void 0;function Jc(e={},n=[]){const t=k.useRef(e),r=k.useRef(n),[o,a]=k.useState(),[s,i]=k.useState(),l=k.useCallback(()=>{o&&o.reInit(t.current,r.current)},[o]);return k.useEffect(()=>{Yc(t.current,e)||(t.current=e,l())},[e,l]),k.useEffect(()=>{cO(r.current,n)||(r.current=n,l())},[n,l]),k.useEffect(()=>{if(lO()&&s){ss.globalOptions=Jc.globalOptions;const d=ss(s,t.current,r.current);return a(d),()=>d.destroy()}else a(void 0)},[s,a]),[i,o]}Jc.globalOptions=void 0;const b7=c.createContext(null),h1=()=>{const e=c.useContext(b7);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e},x7=({orientation:e="horizontal",opts:n,setApi:t,plugins:r,className:o,children:a,...s})=>{const[i,l]=Jc({...n,axis:e==="horizontal"?"x":"y"},r),[d,f]=c.useState(!1),[h,g]=c.useState(!1),[C,v]=c.useState(0),p=c.useCallback(S=>{l==null||l.scrollTo(S)},[l]),m=c.useCallback(S=>{S&&(f(S.canScrollPrev()),g(S.canScrollNext()),v(S.selectedScrollSnap()))},[]),w=c.useCallback(()=>{l==null||l.scrollPrev()},[l]),y=c.useCallback(()=>{l==null||l.scrollNext()},[l]),b=c.useCallback(S=>{S.key==="ArrowLeft"?(S.preventDefault(),w()):S.key==="ArrowRight"&&(S.preventDefault(),y())},[w,y]);return c.useEffect(()=>{!l||!t||t(l)},[l,t]),c.useEffect(()=>{if(l)return m(l),l.on("reInit",m),l.on("select",m),()=>{l==null||l.off("select",m)}},[l,m]),u.jsx(b7.Provider,{value:{carouselRef:i,api:l,opts:n,orientation:e||((n==null?void 0:n.axis)==="y"?"vertical":"horizontal"),scrollPrev:w,scrollNext:y,canScrollPrev:d,canScrollNext:h,currentIndex:C,onThumbClick:p},children:u.jsx("div",{onKeyDownCapture:b,className:P("relative",o),role:"region","aria-roledescription":"carousel","data-slot":"carousel",...s,children:a})})},S7=({className:e,...n})=>{const{carouselRef:t,orientation:r}=h1();return u.jsx("div",{ref:t,className:"overflow-hidden","data-slot":"carousel-content",children:u.jsx("div",{className:P("flex",r==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...n})})},M7=({className:e,...n})=>{const{orientation:t}=h1();return u.jsx("div",{role:"group","aria-roledescription":"slide","data-slot":"carousel-item",className:P("min-w-0 shrink-0 grow-0 basis-full",t==="horizontal"?"pl-4":"pt-4",e),...n})},E7=({className:e,variant:n="fade-contrast-outlined",size:t="icon",...r})=>{const{orientation:o,scrollPrev:a,canScrollPrev:s}=h1();return u.jsxs(_e,{"data-slot":"carousel-previous",variant:n,size:t,className:P("absolute size-8",o==="horizontal"?"top-1/2 -left-4 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",!s&&"hidden",e),disabled:!s,onClick:a,...r,children:[u.jsx(Po,{}),u.jsx("span",{className:"sr-only",children:"Previous slide"})]})},L7=({className:e,variant:n="fade-contrast-outlined",size:t="icon",...r})=>{const{orientation:o,scrollNext:a,canScrollNext:s}=h1();return u.jsxs(_e,{"data-slot":"carousel-next",variant:n,size:t,className:P("absolute size-8 ",o==="horizontal"?"top-1/2 -right-4 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",!s&&"hidden",e),disabled:!s,onClick:a,...r,children:[u.jsx(Kn,{}),u.jsx("span",{className:"sr-only",children:"Next slide"})]})},N7=({className:e,...n})=>u.jsx("div",{className:P("flex justify-center mt-4 space-x-2 overflow-x-auto w-full max-w-full",e),...n}),k7=({index:e,className:n,children:t,...r})=>{const{currentIndex:o,onThumbClick:a}=h1(),s=o===e;return u.jsx("button",{type:"button",onClick:()=>a(e),className:P("aspect-square w-16 h-16 transition-opacity duration-200",s?"opacity-100 ring-2 ring-primary":"opacity-60",n),"aria-current":s,...r,children:t})},ZO=({items:e=[],getUrl:n,getId:t,classNameMainImage:r,classNameOtherImages:o})=>e.length?u.jsxs(x7,{children:[u.jsx(S7,{children:e.map(a=>u.jsx(M7,{children:u.jsx("img",{src:n(a),className:P("w-full h-[159px] object-cover rounded-md",r)})},t(a)))}),u.jsx(E7,{variant:"fade-contrast-outlined",className:"bg-background-primary top-1/3"}),u.jsx(L7,{variant:"fade-contrast-outlined",className:"bg-background-primary top-1/3"}),u.jsx(N7,{className:"justify-start mt-2",children:e.map((a,s)=>u.jsx(k7,{index:s,children:u.jsx("img",{src:n(a),className:P("object-cover rounded-md w-[65px] h-[48px]",o)})},t(a)))})]}):u.jsx(z9,{className:"mx-auto text-icon-fade-contrast"}),mn=e=>e&&typeof e=="object"&&"value"in e?e.value:e,is=e=>e&&typeof e=="object"&&"label"in e?e.label:String(mn(e)),e2=e=>{if(e&&typeof e=="object"&&"labelText"in e&&e.labelText)return e.labelText;const n=is(e);return k.isValidElement(n)?String(n.props.children??""):String(typeof n=="string"||typeof n=="number"?n:mn(e))},ls=({excludeAllLabel:e,options:n=[],selectedOptions:t=[],checked:r,disabled:o=[],hidden:a=[],search:s,onSearchChange:i,filterOptionsBySearch:l=!0,loading:d=!1,loadingMore:f=!1,hasMore:h=!1,onLoadMore:g,error:C,onRetry:v,radio:p,maxSelected:m,showSelectAll:w=l&&!g&&!h,showSelected:y=!1,onCheckedChange:b})=>{const{t:S}=ot(),E=k.useId(),[M,L]=k.useState(""),I=s??M,O=k.useRef(null),_=k.useRef(new Map),V=(r??[]).map(N=>mn(N));k.useEffect(()=>{for(const N of[...n,...t])_.current.set(mn(N),is(N))},[n,t]),k.useEffect(()=>{O.current&&(O.current.scrollTop=0)},[I]);const $=p??(n.length===2&&typeof mn(n[0])=="boolean"),j=n.filter(N=>!a.includes(mn(N))&&(!l||e2(N).toLocaleLowerCase().includes(I.toLocaleLowerCase()))),F=j.map(N=>mn(N)).filter(N=>!o.includes(N)),R=F.length>0&&F.every(N=>V.includes(N)),Z=F.some(N=>V.includes(N)),K=[...new Set([...V,...F])],q=d||!F.length||!R&&m!==void 0&&K.length>m,G=j.length>50,oe=V9({count:j.length,getScrollElement:()=>O.current,estimateSize:()=>36,overscan:5,enabled:G&&!d}),U=N=>b==null?void 0:b(N.length?N:void 0),D=N=>{V.includes(N)?U(V.filter(H=>H!==N)):$?U([N]):(m===void 0||V.length<m)&&U([...V,N])},T=N=>{const H=mn(N),W=V.includes(H);return u.jsx(Dn,{id:`${E}-${typeof H}-${encodeURIComponent(String(H))}`,checked:W,disabled:o.includes(H)||!W&&!$&&m!==void 0&&V.length>=m,onCheckedChange:()=>D(H),children:u.jsx("span",{className:"block max-w-[220px] truncate",title:e2(N),children:is(N)})},`${typeof H}:${String(H)}`)};return u.jsxs("div",{className:"flex min-w-0 w-full flex-col gap-3",children:[u.jsx(en,{"aria-label":S("search"),placeholder:S("search"),value:I,onChange:N=>{L(N.target.value),i==null||i(N.target.value)}}),y&&V.length>0&&u.jsx("div",{className:"flex max-h-24 flex-wrap gap-1 overflow-auto","aria-label":S("selected"),children:V.map(N=>{const H=[...n,...t].find(W=>mn(W)===N);return u.jsxs("button",{type:"button",disabled:o.includes(N),className:"max-w-full truncate rounded border px-2 py-1 text-xs","aria-label":`${S("filterRemoveValue")}: ${H?e2(H):String(N)}`,onClick:()=>D(N),children:[H?is(H):_.current.get(N)??String(N)," ×"]},`${typeof N}:${String(N)}`)})}),e&&u.jsx(Dn,{id:`${E}-empty`,checked:V.includes(null),onCheckedChange:()=>D(null),children:e}),w&&!$&&u.jsx(Dn,{id:`${E}-all`,checked:R?!0:Z?"indeterminate":!1,disabled:q,onCheckedChange:()=>U(R?V.filter(N=>!F.includes(N)):K),children:S("chooseAll")}),m!==void 0&&u.jsxs("span",{className:"text-xs",role:"status",children:[S("selected"),": ",V.length," / ",m]}),C&&u.jsxs("div",{role:"alert",className:"text-sm",children:[C,v&&u.jsx(_e,{type:"button",onClick:v,children:S("filterRetry")})]}),d?u.jsx("div",{role:"status",children:S("filterLoading")}):u.jsxs("div",{ref:O,className:"max-h-60 overflow-auto","aria-label":S("filterValues"),"data-option-count":j.length,children:[!j.length&&!C&&u.jsx("p",{role:"status",children:S("notFound")}),G?u.jsx("div",{className:"relative",style:{height:oe.getTotalSize()},children:oe.getVirtualItems().map(N=>u.jsx("div",{className:"absolute left-0 top-0 flex w-full items-center",style:{height:N.size,transform:`translateY(${N.start}px)`},children:T(j[N.index])},N.key))}):u.jsx("div",{className:"flex flex-col gap-3 py-1",children:j.map(T)}),h&&g&&!C&&u.jsx(D3,{root:O.current,loading:f,hasMore:h,next:g,children:u.jsx("div",{className:"py-2",children:u.jsx(_e,{type:"button",className:"w-full",disabled:f,onClick:g,children:S(f?"filterLoading":"filterLoadMore")})})})]})]})},P7={CONTAINS:"filterContains",EQ:"filterEquals",IN:"filterIn",NOT_IN:"filterNotIn",BETWEEN:"filterBetween",IS_NULL:"filterIsNull",IS_NOT_NULL:"filterIsNotNull"};function g1(e){switch(e){case"IN":case"NOT_IN":return{operator:e,values:[]};case"BETWEEN":return{operator:e,from:"",to:""};case"IS_NULL":case"IS_NOT_NULL":return{operator:e};default:return{operator:e,value:""}}}const BO=(e,n)=>{const t=i=>{const[l,d=""]=i.replace(/^[+-]/,"").split(".");return{whole:l.replace(/^0+/,"")||"0",fraction:d,negative:i.startsWith("-")&&/[1-9]/.test(i)}},r=t(e),o=t(n);if(r.negative!==o.negative)return r.negative?-1:1;const a=Math.max(r.fraction.length,o.fraction.length),s=r.whole.length-o.whole.length||r.whole.localeCompare(o.whole)||r.fraction.padEnd(a,"0").localeCompare(o.fraction.padEnd(a,"0"));return r.negative?-s:s},p1=(e,n)=>{if(n==="BOOLEAN")return typeof e=="boolean";if(typeof e=="boolean")return!1;const t=String(e);return!t.trim()||typeof e=="number"&&!Number.isFinite(e)?!1:n==="DECIMAL"?/^[+-]?\d+(\.\d+)?$/.test(t):n==="DATE"?/^\d{4}-\d{2}-\d{2}$/.test(t)&&Number.isFinite(Date.parse(t))&&new Date(t).toISOString().slice(0,10)===t:n==="DATETIME"?/^\d{4}-\d{2}-\d{2}T([01]\d|2[0-3]):[0-5]\d:[0-5]\d(\.\d+)?(Z|[+-]([01]\d|2[0-3]):[0-5]\d)$/.test(t)&&p1(t.slice(0,10),"DATE")&&Number.isFinite(Date.parse(t)):!0};function I7(e,n){return n.maxConditions!==void 0&&e.length>n.maxConditions?!1:e.every(t=>{if(!n.operators.includes(t.operator))return!1;switch(t.operator){case"IS_NULL":case"IS_NOT_NULL":return!0;case"EQ":case"CONTAINS":return p1(t.value,n.type);case"IN":case"NOT_IN":return t.values.length>0&&(n.maxValues===void 0||t.values.length<=n.maxValues)&&new Set(t.values).size===t.values.length&&t.values.every(r=>p1(r,n.type));case"BETWEEN":return!p1(t.from,n.type)||!p1(t.to,n.type)?!1:n.type==="DECIMAL"?BO(t.from,t.to)<=0:n.type==="DATETIME"?Date.parse(t.from)<=Date.parse(t.to):t.from<=t.to}})}const O7=({config:e,value:n,onChange:t,options:r,selectedOptions:o,optionsState:a})=>{const{t:s}=ot(),i=(d,f)=>t(n.map((h,g)=>g===d?f:h)),l=(d,f,h)=>e.type==="BOOLEAN"?u.jsxs("select",{className:"h-9 w-full rounded border bg-background px-2","aria-label":h,value:String(d),onChange:g=>f(g.target.value==="true"),children:[u.jsx("option",{value:"",disabled:!0,children:s("filterValue")}),u.jsx("option",{value:"true",children:"true"}),u.jsx("option",{value:"false",children:"false"})]}):u.jsx(en,{"aria-label":h,type:e.type==="DATE"?"date":"text",inputMode:e.type==="DECIMAL"?"decimal":void 0,placeholder:e.type==="DATETIME"?"2026-10-06T12:00:00+05:00":h,value:String(d),onChange:g=>f(g.target.value)});return u.jsxs("div",{className:"flex min-w-0 flex-col gap-3",children:[n.map((d,f)=>u.jsxs("div",{className:"flex min-w-0 flex-col gap-2 rounded border p-2",children:[f>0&&u.jsx("span",{className:"text-xs font-semibold",children:s("filterAnd")}),u.jsxs("div",{className:"flex items-center gap-2",children:[u.jsxs("select",{className:"h-9 min-w-0 flex-1 rounded border bg-background px-2","aria-label":`${s("filterOperator")} ${f+1}`,value:d.operator,onChange:h=>i(f,g1(h.target.value)),children:[!e.operators.includes(d.operator)&&u.jsx("option",{value:d.operator,disabled:!0,children:d.operator}),e.operators.map(h=>u.jsx("option",{value:h,children:s(P7[h])},h))]}),u.jsx(_e,{type:"button",variant:"fade-contrast-transparent","aria-label":`${s("filterRemoveCondition")} ${f+1}`,onClick:()=>t(n.filter((h,g)=>g!==f)),children:"×"})]}),(d.operator==="EQ"||d.operator==="CONTAINS")&&l(d.value,h=>i(f,{...d,value:h}),s("filterValue")),d.operator==="BETWEEN"&&u.jsxs(u.Fragment,{children:[l(d.from,h=>i(f,{...d,from:String(h)}),s("filterFrom")),l(d.to,h=>i(f,{...d,to:String(h)}),s("filterTo"))]}),(d.operator==="IN"||d.operator==="NOT_IN")&&(r!==void 0||a?u.jsx(ls,{...a,options:r??[],selectedOptions:o,checked:d.values,radio:!1,showSelected:!0,maxSelected:e.maxValues,onCheckedChange:h=>i(f,{...d,values:h??[]})}):e.type==="BOOLEAN"?u.jsx(ls,{options:[!0,!1],checked:d.values,radio:!1,maxSelected:e.maxValues,onCheckedChange:h=>i(f,{...d,values:h??[]})}):u.jsx(Ua,{rows:4,"aria-label":s("filterValues"),placeholder:s("filterOnePerLine"),value:d.values.join(`
136
+ `),onChange:h=>i(f,{...d,values:h.target.value.split(`
137
+ `)})}))]},f)),u.jsx(_e,{type:"button",variant:"fade-contrast-transparent",disabled:!e.operators.length||e.maxConditions!==void 0&&n.length>=e.maxConditions,onClick:()=>t([...n,g1(e.operators[0])]),children:s("filterAddCondition")})]})},WO=({type:e,column:n,table:t,applyText:r,locale:o,options:a,conditionsConfig:s,optionsState:i,selectedOptions:l,onFilterOpenChange:d,enableMultiSort:f,maxMultiSortColumns:h,sortMode:g,sortIcon:C,filterIcon:v,controlsPosition:p="inline",excludeFilterValues:m,sortable:w=!1,sorted:y,allowSortingReset:b=!1,children:S})=>{const E=y??(n==null?void 0:n.getIsSorted()),M=(B=!1)=>{var ne;return!(B||w&&n)||!n?p==="end"?null:S:u.jsx(I6,{column:n,direction:E,allowSortingReset:b,enableMultiSort:f??(t==null?void 0:t.options.enableMultiSort),maxMultiSortColumns:h??(t==null?void 0:t.options.maxMultiSortColCount),sortingCount:((ne=t==null?void 0:t.getState().sorting)==null?void 0:ne.length)??0,mode:g??(e==="conditions"?"menu":"toggle"),icon:C,iconOnly:p==="end",children:S})},{t:L}=ot(),[I,O]=k.useState(!1),[_,V]=k.useState([]),[$,j]=k.useState(null),F=B=>{j(yl(B))},R=n==null?void 0:n.getFilterValue(),[Z,K]=k.useState(typeof R=="string"?R:""),[q,G]=k.useState(void 0),oe=n==null?void 0:n.getFilterValue(),[U,D]=k.useState(oe),T=s==null?void 0:s.operators[0];k.useEffect(()=>{e==="conditions"&&I&&V(Array.isArray(R)?R:T?[g1(T)]:[]),e==="select"&&D(Array.isArray(R)?R:void 0)},[R,e,I,T]);const N=B=>{if(B){const ae=n==null?void 0:n.getFilterValue();K(typeof ae=="string"?ae:""),D(Array.isArray(ae)?ae:void 0),V(Array.isArray(ae)?ae:s!=null&&s.operators[0]?[g1(s.operators[0])]:[])}O(B),d==null||d(B)};k.useEffect(()=>{if(e==="date-range"){const B=n==null?void 0:n.getFilterValue();B!=null&&B.from&&(B!=null&&B.to)?G({from:new Date(B.from),to:new Date(B.to)}):G(void 0)}},[n,e]),k.useEffect(()=>{e==="search"&&K(typeof R=="string"?R:"")},[R,e]);const H=()=>{n==null||n.setFilterValue(Z),N(!1)},W=B=>{G(B),B!=null&&B.from&&(B!=null&&B.to)&&(n==null||n.setFilterValue({from:B.from.toISOString(),to:B.to.toISOString()}),N(!1))},A=()=>{n==null||n.setFilterValue(U),N(!1)},Y=()=>{t==null||t.resetColumnFilters(),t==null||t.resetSorting(),t==null||t.resetRowSelection(!0)},X=()=>o||((navigator.language||navigator.languages[0]).includes("ru")?Cl:Ma),J=()=>{var ge,de,pe,Le,Fe;const B=v??vl,ae=v??ml,ne=v??Jv,se=v??$9;switch(e){case"search":return u.jsx(B,{className:P("text-foreground-tertiary",{"text-foreground-theme":!!R})});case"date-range":return u.jsx(ae,{className:P("text-foreground-tertiary",{"text-foreground-theme":!!(q!=null&&q.from)&&!!(q!=null&&q.to)})});case"conditions":case"select":{const Ae=Array.isArray(oe)?!!oe.length&&!oe.every(Ie=>m==null?void 0:m.includes(Ie)):!!oe;return u.jsx(ne,{className:P("text-foreground-tertiary",{"text-foreground-theme":!!Ae})})}case"reset":{const Ae=((de=(ge=t==null?void 0:t.getState())==null?void 0:ge.columnFilters)==null?void 0:de.length)!==0||((Le=(pe=t==null?void 0:t.getState())==null?void 0:pe.sorting)==null?void 0:Le.length)!==0&&!!((Fe=t==null?void 0:t.getState())!=null&&Fe.sorting);return u.jsx(se,{className:P("text-foreground-tertiary",{"text-foreground-theme cursor-pointer":Ae,"cursor-not-allowed":!Ae})})}case"sort":return null;default:return null}},te=()=>{switch(e){case"conditions":{if(!s)return null;const B=I7(_,s);return u.jsxs("form",{className:"flex max-h-[var(--radix-popover-content-available-height)] w-[360px] max-w-[calc(100vw-24px)] flex-col gap-3 p-3",onSubmit:ae=>{ae.preventDefault(),B&&(n==null||n.setFilterValue(_.length?_:void 0),N(!1))},children:[u.jsx("div",{className:"min-h-0 overflow-y-auto",children:u.jsx(O7,{config:s,value:_,onChange:V,options:a,selectedOptions:l,optionsState:i})}),!B&&u.jsx("p",{role:"status",className:"text-xs",children:L("filterInvalid")}),u.jsxs("div",{className:"flex shrink-0 flex-wrap justify-end gap-2",children:[u.jsx(_e,{type:"button",variant:"fade-contrast-transparent",onClick:()=>{n==null||n.setFilterValue(void 0),N(!1)},children:L("filterReset")}),u.jsx(_e,{type:"button",variant:"fade-contrast-transparent",onClick:()=>N(!1),children:L("cancellation")}),u.jsx(_e,{type:"submit",disabled:!B,children:r||L("apply")})]})]})}case"search":return u.jsxs("form",{className:"flex flex-col gap-2 w-auto p-2 rounded-lg bg-background",onSubmit:B=>{B.preventDefault(),H()},onKeyDown:B=>{B.key==="Enter"&&(B.preventDefault(),H())},children:[u.jsx(en,{value:Z,onChange:B=>K(B.target.value)}),u.jsx(_e,{type:"submit",variant:"fade-contrast-filled",onClick:H,children:r||L("apply")})]});case"date-range":return u.jsx("div",{className:"w-auto p-0 rounded-lg",children:u.jsx(aa,{mode:"range",locale:X(),selected:q,onSelect:W,className:"bg-background rounded-lg",initialFocus:!0})});case"select":return u.jsxs("form",{className:"flex flex-col gap-2 w-[260px] max-w-[calc(100vw-24px)] p-2 rounded-lg bg-background",onSubmit:B=>{B.preventDefault(),A()},onKeyDown:B=>{B.key==="Enter"&&(B.preventDefault(),A())},children:[u.jsx(ls,{...i,checked:U,onCheckedChange:D,options:a,table:t}),u.jsx(_e,{type:"submit",variant:"fade-contrast-filled",onClick:A,children:r||L("apply")})]});default:return null}};return e==="sort"?u.jsx(u.Fragment,{children:M(!0)}):e==="reset"?u.jsxs(u.Fragment,{children:[M(),u.jsx(_e,{variant:"fade-contrast-transparent",size:"icon",onClick:Y,children:J()})]}):u.jsxs(u.Fragment,{children:[M(),u.jsxs($n,{open:I,onOpenChange:N,modal:!$,children:[u.jsx(zn,{asChild:!0,children:u.jsx(_e,{ref:F,className:"shrink-0 p-1",variant:"fade-contrast-transparent",size:"icon","aria-label":`${L("filterTitle")}: ${typeof S=="string"?S:(n==null?void 0:n.id)??""}`,"data-active":n!=null&&n.getIsFiltered()?"true":"false",disabled:e==="conditions"&&!s,icon:J()})}),u.jsx(gn,{container:$,className:"w-auto rounded-lg bg-background p-0",children:te()})]})]})},GO=({className:e,...n})=>u.jsxs("div",{className:P("flex flex-row gap-2 items-center justify-between",e),children:[n.controlsPosition==="end"&&u.jsx("span",{className:P("min-w-0 flex-1 whitespace-normal break-words",n.labelClassName),title:typeof n.children=="string"?n.children:void 0,children:n.children}),u.jsx(WO,{...n})]}),T7=c.forwardRef(({className:e,icon:n,value:t,onChange:r,onValueChange:o,onEnter:a,decimalPlaces:s=0,allowNegative:i=!1,...l},d)=>{const[f,h]=k.useState(""),g=y=>{if(y==null||y==="")return"";const b=String(y);return b==="NaN"||b==="Infinity"||b==="-Infinity"?"":b},C=y=>{if(!y)return"";let b=y;if(b=b.replace(/,/g,"."),i?b=b.replace(/[^0-9.-]/g,""):b=b.replace(/[^0-9.]/g,""),i&&((b.match(/-/g)||[]).length>1?(b=b.replace(/-/g,""),y.startsWith("-")&&(b="-"+b)):b.includes("-")&&!b.startsWith("-")&&(b=b.replace(/-/g,""))),(b.match(/\./g)||[]).length>1){const E=b.indexOf(".");b=b.substring(0,E+1)+b.substring(E+1).replace(/\./g,"")}if(s>=0&&b.includes(".")){const E=b.split(".");E[1]&&E[1].length>s&&(E[1]=E[1].substring(0,s)),b=E[0]+(s>0?"."+(E[1]||""):"")}else s===0&&b.includes(".")&&(b=b.split(".")[0]);return b},v=y=>{if(!y||y==="-")return null;const b=parseFloat(y);return isNaN(b)?null:b},p=y=>{const b=C(y.target.value);h(b);const S=v(b);r==null||r(S),o==null||o(S)};k.useEffect(()=>{if(t!==void 0){const y=g(t);y!==f&&h(y)}},[t]),k.useEffect(()=>{t!==void 0&&!f&&h(g(t))},[]);const m=!!n,w=u.jsxs("div",{className:"relative",children:[u.jsx("input",{type:"text",inputMode:"decimal",className:P("flex h-9 w-full rounded-lg border border-line-primary bg-[transparent] blur-none pl-3 py-2 text-sm tracking-[0.1px] leading-5 transition-colors duration-300 ease-in-out ring-offset-background file:border-0 file:bg-[transparent] file:text-sm font-normal placeholder:text-foreground-secondary focus-visible:outline-none focus-visible:border-line-focused disabled:cursor-not-allowed disabled:opacity-50 truncate line-clamp-1","[&~label>svg]:text-icon-secondary","has-[+p.text-foreground-error]:border-line-error",n?"pr-8":"pr-3",l.readOnly&&"cursor-not-allowed pointer-events-none opacity-95",e),ref:d,...l,value:f,onChange:p,onKeyDown:y=>y.key==="Enter"&&(a==null?void 0:a(y)),onFocus:l.onFocus||(y=>y.target.setAttribute("autocomplete","off"))}),n&&u.jsx("span",{className:"absolute right-1.5 top-1/2 -translate-y-1/2",children:n})]});return m?u.jsx("div",{className:P("inline-block relative transition-colors",m&&e),children:w}):w});T7.displayName="NumberInput";const RO=Ii,jO=Y5,YO=ha,D7=Oi,t2=c.forwardRef(({className:e,...n},t)=>u.jsx(xo,{className:P("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",e),...n,ref:t}));t2.displayName=xo.displayName;const qO=yn("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r rounded-r-lg data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l rounded-l-lg data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),_7=c.forwardRef(({side:e="right",className:n,children:t,onPointerDownOutside:r,onInteractOutside:o,...a},s)=>{const{onPointerDownOutside:i,onInteractOutside:l}=r0({onPointerDownOutside:r,onInteractOutside:o});return u.jsxs(D7,{children:[u.jsx(t2,{}),u.jsx(So,{ref:s,className:P(qO({side:e}),n),onPointerDownOutside:i,onInteractOutside:l,...a,children:u.jsxs("div",{className:"pointer-events-auto relative h-full",children:[t,u.jsxs(ha,{className:P("absolute top-4 z-10 flex h-10 w-10 items-center justify-center rounded-full bg-background-contrast text-foreground-on-contrast shadow-md transition-all hover:opacity-90 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",e==="right"&&"-left-12",e==="left"&&"-right-12",e==="top"&&"left-1/2 -translate-x-1/2 -bottom-6",e==="bottom"&&"left-1/2 -translate-x-1/2 -top-6"),children:[u.jsx(Q1,{className:"h-5 w-5"}),u.jsx("span",{className:"sr-only",children:"Close"})]})]})})]})});_7.displayName=So.displayName;const V7=({className:e,...n})=>u.jsx("div",{className:P("flex flex-col space-y-2 text-center sm:text-left",e),...n});V7.displayName="SheetHeader";const H7=({className:e,...n})=>u.jsx("div",{className:P("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...n});H7.displayName="SheetFooter";const A7=c.forwardRef(({className:e,...n},t)=>u.jsx(da,{ref:t,className:P("text-lg font-semibold text-foreground",e),...n}));A7.displayName=da.displayName;const F7=c.forwardRef(({className:e,...n},t)=>u.jsx(fa,{ref:t,className:P("text-sm text-muted-foreground",e),...n}));F7.displayName=fa.displayName;function UO(e,n){return c.useReducer((t,r)=>n[t][r]??t,e)}var n2="ScrollArea",[$7]=it(n2),[XO,Pt]=$7(n2),z7=c.forwardRef((e,n)=>{const{__scopeScrollArea:t,type:r="hover",dir:o,scrollHideDelay:a=600,...s}=e,[i,l]=c.useState(null),[d,f]=c.useState(null),[h,g]=c.useState(null),[C,v]=c.useState(null),[p,m]=c.useState(null),[w,y]=c.useState(0),[b,S]=c.useState(0),[E,M]=c.useState(!1),[L,I]=c.useState(!1),O=ye(n,V=>l(V)),_=br(o);return u.jsx(XO,{scope:t,type:r,dir:_,scrollHideDelay:a,scrollArea:i,viewport:d,onViewportChange:f,content:h,onContentChange:g,scrollbarX:C,onScrollbarXChange:v,scrollbarXEnabled:E,onScrollbarXEnabledChange:M,scrollbarY:p,onScrollbarYChange:m,scrollbarYEnabled:L,onScrollbarYEnabledChange:I,onCornerWidthChange:y,onCornerHeightChange:S,children:u.jsx(ie.div,{dir:_,...s,ref:O,style:{position:"relative","--radix-scroll-area-corner-width":w+"px","--radix-scroll-area-corner-height":b+"px",...e.style}})})});z7.displayName=n2;var Z7="ScrollAreaViewport",B7=c.forwardRef((e,n)=>{const{__scopeScrollArea:t,children:r,nonce:o,...a}=e,s=Pt(Z7,t),i=c.useRef(null),l=ye(n,i,s.onViewportChange);return u.jsxs(u.Fragment,{children:[u.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),u.jsx(ie.div,{"data-radix-scroll-area-viewport":"",...a,ref:l,style:{overflowX:s.scrollbarXEnabled?"scroll":"hidden",overflowY:s.scrollbarYEnabled?"scroll":"hidden",...e.style},children:u.jsx("div",{ref:s.onContentChange,style:{minWidth:"100%",display:"table"},children:r})})]})});B7.displayName=Z7;var rn="ScrollAreaScrollbar",r2=c.forwardRef((e,n)=>{const{forceMount:t,...r}=e,o=Pt(rn,e.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:s}=o,i=e.orientation==="horizontal";return c.useEffect(()=>(i?a(!0):s(!0),()=>{i?a(!1):s(!1)}),[i,a,s]),o.type==="hover"?u.jsx(KO,{...r,ref:n,forceMount:t}):o.type==="scroll"?u.jsx(QO,{...r,ref:n,forceMount:t}):o.type==="auto"?u.jsx(W7,{...r,ref:n,forceMount:t}):o.type==="always"?u.jsx(o2,{...r,ref:n}):null});r2.displayName=rn;var KO=c.forwardRef((e,n)=>{const{forceMount:t,...r}=e,o=Pt(rn,e.__scopeScrollArea),[a,s]=c.useState(!1);return c.useEffect(()=>{const i=o.scrollArea;let l=0;if(i){const d=()=>{window.clearTimeout(l),s(!0)},f=()=>{l=window.setTimeout(()=>s(!1),o.scrollHideDelay)};return i.addEventListener("pointerenter",d),i.addEventListener("pointerleave",f),()=>{window.clearTimeout(l),i.removeEventListener("pointerenter",d),i.removeEventListener("pointerleave",f)}}},[o.scrollArea,o.scrollHideDelay]),u.jsx(qe,{present:t||a,children:u.jsx(W7,{"data-state":a?"visible":"hidden",...r,ref:n})})}),QO=c.forwardRef((e,n)=>{const{forceMount:t,...r}=e,o=Pt(rn,e.__scopeScrollArea),a=e.orientation==="horizontal",s=fs(()=>l("SCROLL_END"),100),[i,l]=UO("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return c.useEffect(()=>{if(i==="idle"){const d=window.setTimeout(()=>l("HIDE"),o.scrollHideDelay);return()=>window.clearTimeout(d)}},[i,o.scrollHideDelay,l]),c.useEffect(()=>{const d=o.viewport,f=a?"scrollLeft":"scrollTop";if(d){let h=d[f];const g=()=>{const C=d[f];h!==C&&(l("SCROLL"),s()),h=C};return d.addEventListener("scroll",g),()=>d.removeEventListener("scroll",g)}},[o.viewport,a,l,s]),u.jsx(qe,{present:t||i!=="hidden",children:u.jsx(o2,{"data-state":i==="hidden"?"hidden":"visible",...r,ref:n,onPointerEnter:ee(e.onPointerEnter,()=>l("POINTER_ENTER")),onPointerLeave:ee(e.onPointerLeave,()=>l("POINTER_LEAVE"))})})}),W7=c.forwardRef((e,n)=>{const t=Pt(rn,e.__scopeScrollArea),{forceMount:r,...o}=e,[a,s]=c.useState(!1),i=e.orientation==="horizontal",l=fs(()=>{if(t.viewport){const d=t.viewport.offsetWidth<t.viewport.scrollWidth,f=t.viewport.offsetHeight<t.viewport.scrollHeight;s(i?d:f)}},10);return Jr(t.viewport,l),Jr(t.content,l),u.jsx(qe,{present:r||a,children:u.jsx(o2,{"data-state":a?"visible":"hidden",...o,ref:n})})}),o2=c.forwardRef((e,n)=>{const{orientation:t="vertical",...r}=e,o=Pt(rn,e.__scopeScrollArea),a=c.useRef(null),s=c.useRef(0),[i,l]=c.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=q7(i.viewport,i.content),f={...r,sizes:i,onSizesChange:l,hasThumb:d>0&&d<1,onThumbChange:g=>a.current=g,onThumbPointerUp:()=>s.current=0,onThumbPointerDown:g=>s.current=g};function h(g,C){return oT(g,s.current,i,C)}return t==="horizontal"?u.jsx(JO,{...f,ref:n,onThumbPositionChange:()=>{if(o.viewport&&a.current){const g=o.viewport.scrollLeft,C=U7(g,i,o.dir);a.current.style.transform=`translate3d(${C}px, 0, 0)`}},onWheelScroll:g=>{o.viewport&&(o.viewport.scrollLeft=g)},onDragScroll:g=>{o.viewport&&(o.viewport.scrollLeft=h(g,o.dir))}}):t==="vertical"?u.jsx(eT,{...f,ref:n,onThumbPositionChange:()=>{if(o.viewport&&a.current){const g=o.viewport.scrollTop,C=U7(g,i);a.current.style.transform=`translate3d(0, ${C}px, 0)`}},onWheelScroll:g=>{o.viewport&&(o.viewport.scrollTop=g)},onDragScroll:g=>{o.viewport&&(o.viewport.scrollTop=h(g))}}):null}),JO=c.forwardRef((e,n)=>{const{sizes:t,onSizesChange:r,...o}=e,a=Pt(rn,e.__scopeScrollArea),[s,i]=c.useState(),l=c.useRef(null),d=ye(n,l,a.onScrollbarXChange);return c.useEffect(()=>{l.current&&i(getComputedStyle(l.current))},[l]),u.jsx(R7,{"data-orientation":"horizontal",...o,ref:d,sizes:t,style:{bottom:0,left:a.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:a.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":ds(t)+"px",...e.style},onThumbPointerDown:f=>e.onThumbPointerDown(f.x),onDragScroll:f=>e.onDragScroll(f.x),onWheelScroll:(f,h)=>{if(a.viewport){const g=a.viewport.scrollLeft+f.deltaX;e.onWheelScroll(g),K7(g,h)&&f.preventDefault()}},onResize:()=>{l.current&&a.viewport&&s&&r({content:a.viewport.scrollWidth,viewport:a.viewport.offsetWidth,scrollbar:{size:l.current.clientWidth,paddingStart:us(s.paddingLeft),paddingEnd:us(s.paddingRight)}})}})}),eT=c.forwardRef((e,n)=>{const{sizes:t,onSizesChange:r,...o}=e,a=Pt(rn,e.__scopeScrollArea),[s,i]=c.useState(),l=c.useRef(null),d=ye(n,l,a.onScrollbarYChange);return c.useEffect(()=>{l.current&&i(getComputedStyle(l.current))},[l]),u.jsx(R7,{"data-orientation":"vertical",...o,ref:d,sizes:t,style:{top:0,right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":ds(t)+"px",...e.style},onThumbPointerDown:f=>e.onThumbPointerDown(f.y),onDragScroll:f=>e.onDragScroll(f.y),onWheelScroll:(f,h)=>{if(a.viewport){const g=a.viewport.scrollTop+f.deltaY;e.onWheelScroll(g),K7(g,h)&&f.preventDefault()}},onResize:()=>{l.current&&a.viewport&&s&&r({content:a.viewport.scrollHeight,viewport:a.viewport.offsetHeight,scrollbar:{size:l.current.clientHeight,paddingStart:us(s.paddingTop),paddingEnd:us(s.paddingBottom)}})}})}),[tT,G7]=$7(rn),R7=c.forwardRef((e,n)=>{const{__scopeScrollArea:t,sizes:r,hasThumb:o,onThumbChange:a,onThumbPointerUp:s,onThumbPointerDown:i,onThumbPositionChange:l,onDragScroll:d,onWheelScroll:f,onResize:h,...g}=e,C=Pt(rn,t),[v,p]=c.useState(null),m=ye(n,O=>p(O)),w=c.useRef(null),y=c.useRef(""),b=C.viewport,S=r.content-r.viewport,E=Ge(f),M=Ge(l),L=fs(h,10);function I(O){if(w.current){const _=O.clientX-w.current.left,V=O.clientY-w.current.top;d({x:_,y:V})}}return c.useEffect(()=>{const O=_=>{const V=_.target;(v==null?void 0:v.contains(V))&&E(_,S)};return document.addEventListener("wheel",O,{passive:!1}),()=>document.removeEventListener("wheel",O,{passive:!1})},[b,v,S,E]),c.useEffect(M,[r,M]),Jr(v,L),Jr(C.content,L),u.jsx(tT,{scope:t,scrollbar:v,hasThumb:o,onThumbChange:Ge(a),onThumbPointerUp:Ge(s),onThumbPositionChange:M,onThumbPointerDown:Ge(i),children:u.jsx(ie.div,{...g,ref:m,style:{position:"absolute",...g.style},onPointerDown:ee(e.onPointerDown,O=>{O.button===0&&(O.target.setPointerCapture(O.pointerId),w.current=v.getBoundingClientRect(),y.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",C.viewport&&(C.viewport.style.scrollBehavior="auto"),I(O))}),onPointerMove:ee(e.onPointerMove,I),onPointerUp:ee(e.onPointerUp,O=>{const _=O.target;_.hasPointerCapture(O.pointerId)&&_.releasePointerCapture(O.pointerId),document.body.style.webkitUserSelect=y.current,C.viewport&&(C.viewport.style.scrollBehavior=""),w.current=null})})})}),cs="ScrollAreaThumb",j7=c.forwardRef((e,n)=>{const{forceMount:t,...r}=e,o=G7(cs,e.__scopeScrollArea);return u.jsx(qe,{present:t||o.hasThumb,children:u.jsx(nT,{ref:n,...r})})}),nT=c.forwardRef((e,n)=>{const{__scopeScrollArea:t,style:r,...o}=e,a=Pt(cs,t),s=G7(cs,t),{onThumbPositionChange:i}=s,l=ye(n,h=>s.onThumbChange(h)),d=c.useRef(void 0),f=fs(()=>{d.current&&(d.current(),d.current=void 0)},100);return c.useEffect(()=>{const h=a.viewport;if(h){const g=()=>{if(f(),!d.current){const C=aT(h,i);d.current=C,i()}};return i(),h.addEventListener("scroll",g),()=>h.removeEventListener("scroll",g)}},[a.viewport,f,i]),u.jsx(ie.div,{"data-state":s.hasThumb?"visible":"hidden",...o,ref:l,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...r},onPointerDownCapture:ee(e.onPointerDownCapture,h=>{const C=h.target.getBoundingClientRect(),v=h.clientX-C.left,p=h.clientY-C.top;s.onThumbPointerDown({x:v,y:p})}),onPointerUp:ee(e.onPointerUp,s.onThumbPointerUp)})});j7.displayName=cs;var a2="ScrollAreaCorner",Y7=c.forwardRef((e,n)=>{const t=Pt(a2,e.__scopeScrollArea),r=!!(t.scrollbarX&&t.scrollbarY);return t.type!=="scroll"&&r?u.jsx(rT,{...e,ref:n}):null});Y7.displayName=a2;var rT=c.forwardRef((e,n)=>{const{__scopeScrollArea:t,...r}=e,o=Pt(a2,t),[a,s]=c.useState(0),[i,l]=c.useState(0),d=!!(a&&i);return Jr(o.scrollbarX,()=>{var h;const f=((h=o.scrollbarX)==null?void 0:h.offsetHeight)||0;o.onCornerHeightChange(f),l(f)}),Jr(o.scrollbarY,()=>{var h;const f=((h=o.scrollbarY)==null?void 0:h.offsetWidth)||0;o.onCornerWidthChange(f),s(f)}),d?u.jsx(ie.div,{...r,ref:n,style:{width:a,height:i,position:"absolute",right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null});function us(e){return e?parseInt(e,10):0}function q7(e,n){const t=e/n;return isNaN(t)?0:t}function ds(e){const n=q7(e.viewport,e.content),t=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-t)*n;return Math.max(r,18)}function oT(e,n,t,r="ltr"){const o=ds(t),a=o/2,s=n||a,i=o-s,l=t.scrollbar.paddingStart+s,d=t.scrollbar.size-t.scrollbar.paddingEnd-i,f=t.content-t.viewport,h=r==="ltr"?[0,f]:[f*-1,0];return X7([l,d],h)(e)}function U7(e,n,t="ltr"){const r=ds(n),o=n.scrollbar.paddingStart+n.scrollbar.paddingEnd,a=n.scrollbar.size-o,s=n.content-n.viewport,i=a-r,l=t==="ltr"?[0,s]:[s*-1,0],d=_s(e,l);return X7([0,s],[0,i])(d)}function X7(e,n){return t=>{if(e[0]===e[1]||n[0]===n[1])return n[0];const r=(n[1]-n[0])/(e[1]-e[0]);return n[0]+r*(t-e[0])}}function K7(e,n){return e>0&&e<n}var aT=(e,n=()=>{})=>{let t={left:e.scrollLeft,top:e.scrollTop},r=0;return function o(){const a={left:e.scrollLeft,top:e.scrollTop},s=t.left!==a.left,i=t.top!==a.top;(s||i)&&n(),t=a,r=window.requestAnimationFrame(o)}(),()=>window.cancelAnimationFrame(r)};function fs(e,n){const t=Ge(e),r=c.useRef(0);return c.useEffect(()=>()=>window.clearTimeout(r.current),[]),c.useCallback(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(t,n)},[t,n])}function Jr(e,n){const t=Ge(n);tt(()=>{let r=0;if(e){const o=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(t)});return o.observe(e),()=>{window.cancelAnimationFrame(r),o.unobserve(e)}}},[e,t])}var Q7=z7,sT=B7,iT=Y7;const J7=c.forwardRef(({className:e,children:n,...t},r)=>u.jsxs(Q7,{ref:r,className:P("relative overflow-hidden",e),...t,children:[u.jsx(sT,{className:"h-full w-full rounded-[inherit]",children:n}),u.jsx(s2,{}),u.jsx(iT,{})]}));J7.displayName=Q7.displayName;const s2=c.forwardRef(({className:e,orientation:n="vertical",...t},r)=>u.jsx(r2,{ref:r,orientation:n,className:P("flex touch-none select-none transition-colors",n==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",n==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...t,children:u.jsx(j7,{className:"relative flex-1 rounded-full bg-border"})}));s2.displayName=r2.displayName;const lT=({emptyStateText:e,actionsSlot:n,children:t,isEmpty:r,className:o,innerClassName:a})=>u.jsx("div",{className:P("box-border rounded-lg bg-background-secondary p-6",o),children:u.jsxs("div",{className:P("flex w-full min-w-0 flex-col items-stretch gap-4",a),children:[n!=null?u.jsx("div",{className:"self-start",children:n}):null,r?u.jsx("div",{className:"flex w-full items-center justify-center rounded-lg bg-background-primary py-8",children:u.jsx("p",{className:"text-center text-sm leading-5 tracking-[0.25px] text-foreground-primary",children:e})}):t]})}),hs=({dateTime:e,duration:n,variant:t="default",className:r})=>{if(!(e||n))return null;const s=P("inline-flex items-center px-2 rounded text-sm leading-5 tracking-[0.25px]",{default:"text-foreground-primary",warning:"bg-background-warning-fade text-foreground-warning",error:"bg-background-error-fade text-foreground-error",success:"bg-background-success-fade text-foreground-success"}[t],r);return t==="default"?u.jsxs("span",{className:P("text-foreground-primary text-sm leading-5 tracking-[0.25px]",r),children:[e,e&&n&&" ",n]}):u.jsxs("div",{className:"flex items-center gap-2",children:[e&&u.jsx("span",{className:s,children:e}),n&&u.jsx("span",{className:s,children:n})]})};hs.displayName="TimeBadge";const cT="text-foreground-primary text-sm leading-5 font-medium tracking-[0.25px]",uT="text-foreground-primary text-sm leading-5 tracking-[0.25px]",dT="text-foreground-secondary text-sm leading-5 tracking-[0.25px]",gs=({children:e})=>u.jsx("div",{className:cT,children:e}),ef=({children:e})=>u.jsx("div",{className:uT,children:e}),tf=({delta:e,className:n})=>u.jsx("div",{className:P(dT,n),children:e}),nf=({rows:e,orientation:n="vertical",className:t})=>{const r=(a,s)=>s?u.jsxs("div",{className:"flex flex-col gap-1",children:[u.jsxs("div",{className:"grid grid-cols-2 gap-x-4",children:[u.jsx(gs,{children:a.planLabel}),u.jsx(gs,{children:a.factLabel})]}),u.jsxs("div",{className:"grid grid-cols-2 gap-x-4",children:[u.jsx(ef,{children:a.planValue}),u.jsx(hs,{dateTime:a.factDateTime,duration:a.factDuration,variant:a.factVariant??"default"})]}),a.delta&&u.jsx(tf,{delta:a.delta,className:"mt-2"})]}):u.jsxs("div",{className:"grid grid-cols-2 gap-x-4",children:[u.jsxs("div",{className:"flex flex-col gap-1",children:[u.jsx(gs,{children:a.planLabel}),u.jsx(ef,{children:a.planValue})]}),u.jsxs("div",{className:"flex flex-col gap-1",children:[u.jsx(gs,{children:a.factLabel}),u.jsx(hs,{dateTime:a.factDateTime,duration:a.factDuration,variant:a.factVariant??"default"})]}),a.delta&&u.jsx("div",{className:"col-span-2 mt-2",children:u.jsx(tf,{delta:a.delta})})]}),o=n==="horizontal";return!e||e.length===0?null:u.jsx("div",{className:P("rounded-lg border border-line-primary bg-background-primary",t),children:o?u.jsx("div",{className:"grid",style:{gridTemplateColumns:`repeat(${e.length}, 1fr)`},children:e.map((a,s)=>u.jsx("div",{className:P("px-6 py-4",{"border-r border-line-primary":s<e.length-1}),children:r(a,!0)},s))}):e.map((a,s)=>u.jsx("div",{className:"px-4 py-4 border-b border-line-primary last:border-b-0",children:r(a,!1)},s))})};nf.displayName="WidgetPlanFact";const C1={ASC:"asc",DESC:"desc"},fT=({sortOrder:e=C1.DESC,sortField:n,className:t,options:r,placeholder:o,triggerVariant:a="inline",onOrderToggle:s,onFieldChange:i})=>{const[l,d]=k.useState(!1),{t:f}=ot(),h=o??f("withoutSort"),g=r.find(y=>y.value===n),C=!!n,v=(g==null?void 0:g.label)??n??h,p=f(e===C1.ASC?"ascending":"descending"),m=C?`${f("sorting")}: ${v}, ${p}`:`${f("sorting")}: ${h}`,w=!!(C&&s);return u.jsx("div",{className:P("min-w-0 text-xs text-foreground-secondary",a==="inline"&&"w-full",t),children:u.jsxs($n,{open:l,onOpenChange:d,children:[u.jsx(zn,{asChild:!0,children:a==="icon"?u.jsx("button",{type:"button",title:m,"aria-label":m,className:P("flex size-6 shrink-0 items-center justify-center rounded text-icon-contrast transition-colors hover:bg-background-primary-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",l&&"bg-background-theme-fade"),children:u.jsx(Xo,{className:"h-[8px] w-[12px]","aria-hidden":"true"})}):u.jsxs("button",{type:"button",title:m,"aria-label":m,className:P("flex h-6 w-full min-w-0 items-center gap-2 rounded bg-transparent p-0 text-xs font-normal text-foreground-secondary transition-colors hover:text-foreground-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",l&&"text-foreground-primary"),children:[u.jsx(Xo,{className:P("h-[8px] w-[12px] shrink-0 text-icon-contrast transition-transform",C&&e===C1.ASC&&"rotate-180"),"aria-hidden":"true"}),u.jsx("span",{className:"min-w-0 flex-1 truncate text-left",children:v}),u.jsx(pr,{className:P("size-6 shrink-0 text-icon-fade-contrast transition-transform",l&&"rotate-180"),"aria-hidden":"true"})]})}),u.jsxs(gn,{role:"dialog","aria-label":f("sorting"),align:"start",sideOffset:4,className:"w-72 rounded-lg border-line-primary bg-background-primary p-3",children:[u.jsx("span",{className:"mb-2 block text-sm font-medium text-foreground-primary",children:f("sorting")}),u.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[u.jsx("button",{type:"button",title:p,"aria-label":p,onClick:s,disabled:!w,className:"flex size-6 shrink-0 items-center justify-center rounded text-icon-contrast transition-colors hover:bg-background-primary-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",children:u.jsx(Xo,{className:P("h-[8px] w-[12px] transition-transform",e===C1.ASC&&"rotate-180"),"aria-hidden":"true"})}),u.jsx(yo,{value:n,options:r,placeholder:h,onChange:y=>i==null?void 0:i(y),triggerClassName:"h-8 min-w-0 flex-1 border-none p-0 text-xs font-normal text-foreground-secondary hover:bg-transparent [&>span]:truncate [&>span]:pr-0 [&>span]:text-xs",renderValue:y=>u.jsx("span",{className:"truncate text-foreground-secondary",children:y.label})})]})]})]})})},i2={LIST:"list",TABLE:"table"},hT=({className:e,listAriaLabel:n,tableAriaLabel:t})=>{const{t:r}=ot();return u.jsxs(es,{className:P(e),children:[u.jsx(n1,{value:i2.LIST,size:"icon","aria-label":n??r("listView"),children:u.jsx(Y9,{})}),u.jsx(n1,{value:i2.TABLE,size:"icon","aria-label":t??r("tableView"),children:u.jsx(j9,{})})]})},gT=()=>{const e=k.useContext(ea);if(e===void 0)throw new Error("useTheme must be used within a ThemeProvider");return e},l2=(e=document.cookie)=>e.split(";").map(n=>n.split("=")).reduce((n,t)=>{if(!t.filter(Boolean).length)return n;const r=decodeURIComponent(t[0].trim()),o=decodeURIComponent(t[1].trim());return n.set(r,o),n},new Map),pT=(e=[4,96],n=[12,88])=>{const t="react-resizable-panels:layout",r="react-resizable-panels:collapsed",o=l2().get(t),a=l2().get(r),s=o?JSON.parse(o):e,i=a?JSON.parse(a):!1,[l,d]=k.useState(i),f=k.useRef(null),h=()=>{const v=document.querySelectorAll("[data-panel-id]");if(v.length>0){const m=v[0].getBoundingClientRect().width;document.documentElement.style.setProperty("--sidebar-width",`${m}px`)}else document.documentElement.style.setProperty("--sidebar-width","0px")};return k.useEffect(()=>{h();const v=document.querySelector("[data-panel-group]");if(!v)return;const p=new ResizeObserver(()=>{h()}),m=()=>{v.querySelectorAll("[data-panel-id]").forEach(b=>{p.observe(b)})};m();const w=new MutationObserver(()=>{m(),h()});return w.observe(v,{childList:!0,subtree:!0}),()=>{p.disconnect(),w.disconnect()}},[l]),{layoutName:t,collapsedName:r,defaultLayout:s,isCollapsed:l,ref:f,collapse:()=>{var v;(v=f.current)==null||v.resize(e[0]),document.cookie=`react-resizable-panels:collapsed=${JSON.stringify(!0)}`,d(!0)},expand:()=>{var v;(v=f.current)==null||v.resize(n[0]),document.cookie=`react-resizable-panels:collapsed=${JSON.stringify(!1)}`,d(!1)}}},CT=(e,n)=>{const t=i=>localStorage.setItem(n,i),r=()=>localStorage.getItem(n)||e,[o,a]=k.useState(r());return{tab:o,handleTabChange:i=>{t(i),a(i)}}},mT=(e,n)=>{try{const t=(n==="localStorage"?localStorage:sessionStorage).getItem(e);return t?JSON.parse(t):{}}catch{return{}}},vT=(e,n,t)=>{try{(t==="localStorage"?localStorage:sessionStorage).setItem(e,JSON.stringify(n))}catch{}},wT=(e,n={})=>{const{storage:t="sessionStorage",defaultWhenMissing:r=!0}=n,[o,a]=k.useState(()=>mT(e,t)),s=k.useCallback(d=>{a(f=>{const h=typeof d=="function"?d(f):d;return vT(e,h,t),h})},[e,t]),i=k.useCallback(d=>{s(f=>{const h=String(d),g=h in f?f[h]:r;return{...f,[h]:!g}})},[r,s]);return{expanded:o,setExpanded:s,toggleNode:i,isNodeExpanded:d=>{const f=String(d);return f in o?o[f]:r}}},yT=({paginationInitialState:e={pageIndex:0,pageSize:20},onSort:n,onPagination:t}={})=>{const[r,o]=k.useState(!1),[a,s]=k.useState({}),[i,l]=k.useState([]),[d,f]=k.useState(e),[h,g]=k.useState({});return k.useEffect(()=>{if(!i.length)return;const C=i[0].id,v=i[0].desc?"desc":"asc";n==null||n(C,v)},[i,n]),k.useEffect(()=>{if(!r){o(!0);return}d&&(t==null||t(d.pageIndex,d.pageSize))},[d,t,r]),{selection:a,setSelection:s,sorting:i,setSorting:l,pagination:d,setPagination:f,expanded:h,setExpanded:g}},bT=(e,n=[])=>{const t=i=>{localStorage.setItem(e,JSON.stringify(i))},r=()=>{const i=localStorage.getItem(e);return i?JSON.parse(i):n},[o,a]=k.useState(r());return{fields:o,handleFieldsChange:i=>{t(i),a(i)}}},xT=()=>{const[e,n]=k.useState([]);return{state:e,setState:n,get:(r,o)=>{var a;return(a=(o||e).find(s=>s.id===r))==null?void 0:a.value}}},ST=(e,n)=>((e==null?void 0:e.replace(/{(\w+)}/g,(r,o)=>String((n==null?void 0:n[o])||"")))||"").replace(/\s*\(\s*\)\s*/g,"").trim();function MT({data:e=[],idField:n,nameField:t,additionalNameField:r,labelTemplate:o,lockedValues:a=[],lowerCaseValues:s=!1}){return!Array.isArray(e)||!e.length||!n?[]:e.map(i=>({value:s?String(i[n]??"").toLowerCase():String(i[n]??""),label:o?ST(o,i):(t?String(i[t]):"")+(r&&i[r]?` - ${i[r]}`:""),disabled:a==null?void 0:a.includes(String(i[n]))}))}x.AccessDeniedDarkIcon=eL,x.AccessDeniedLightIcon=tL,x.AccountBalanceIcon=nL,x.AccountBoxIcon=rL,x.AccountCircleIcon=oL,x.AccountTreeIcon=aL,x.AddBoxIcon=iL,x.AddCircleOutlineIcon=lL,x.AddIcon=sL,x.AddOutlineIcon=y5,x.AiAssistantIcon=cL,x.AiChatSendIcon=uL,x.AiChatWelcomeIcon=dL,x.AnalyticsIcon=fL,x.ArchiveIcon=hL,x.ArrowBackIcon=Bl,x.ArrowDropDownIcon=pr,x.ArrowForwardIcon=gL,x.AssignmentIcon=pL,x.AssignmentTurnedInIcon=CL,x.AttachFileIcon=H9,x.AttachmentsSection=WI,x.AudioFileIcon=tc,x.Badge=Hf,x.Banner=Z8,x.BarChartIcon=mL,x.BgDarkIcon=vL,x.BgLightIcon=wL,x.BillEmptyIcon=A9,x.BlockIcon=yL,x.BottomMenu=G8,x.BuildCircleIcon=xL,x.BuildCircleOutlineIcon=SL,x.BuildIcon=bL,x.Button=_e,x.Calendar=aa,x.CalendarOutlineIcon=ml,x.CancelCircleOutlineIcon=EL,x.CancelIcon=ML,x.CancelOutlineIcon=LL,x.Card=g5,x.CardContent=v5,x.CardDescription=m5,x.CardEditActions=fw,x.CardFooter=w5,x.CardHeader=p5,x.CardTitle=C5,x.Carousel=x7,x.CarouselContent=S7,x.CarouselItem=M7,x.CarouselNext=L7,x.CarouselPrevious=E7,x.CarouselThumbItem=k7,x.CarouselThumbs=N7,x.CategoryIcon=NL,x.CheckCircleOutlineIcon=zl,x.CheckCloseFolderIcon=PL,x.CheckIcon=kL,x.Checkbox=Dn,x.CheckboxWithLabel=dw,x.ChecksOutlineIcon=IL,x.ChevronDownIcon=OL,x.ChevronLeftIcon=Po,x.ChevronLeftOutlineIcon=Rd,x.ChevronRightIcon=Kn,x.ChevronRightOutlineIcon=jd,x.ChevronUpIcon=yi,x.CloseCircleIcon=J1,x.CloseIcon=Ro,x.CoinsIcon=TL,x.Collapsible=E5,x.CollapsibleContent=N5,x.CollapsibleSection=mw,x.CollapsibleTrigger=L5,x.Command=ma,x.CommandDialog=ty,x.CommandEmpty=s0,x.CommandGroup=i0,x.CommandInput=Zi,x.CommandItem=Wi,x.CommandList=Bi,x.CommandSeparator=l0,x.CommandShortcut=c0,x.ConfirmModal=MI,x.ConstructionIcon=DL,x.ContentPasteSearchIcon=_L,x.ControlPointIcon=VL,x.CorporateFareIcon=HL,x.CupOutlineIcon=AL,x.DEFAULT_PAGE_SIZE_OPTIONS=M0,x.DarkModeIcon=FL,x.DarkModeOutlineIcon=$L,x.DashboardIcon=zL,x.DataTable=Gy,x.DataTablePagination=D0,x.DatePicker=v4,x.DeleteIcon=Ci,x.DeleteOutlineIcon=F9,x.Dialog=pa,x.DialogClose=a0,x.DialogContent=Lo,x.DialogDescription=$i,x.DialogFooter=Fi,x.DialogHeader=Ai,x.DialogOverlay=Hi,x.DialogPortal=o0,x.DialogSection=zi,x.DialogTitle=Ca,x.DialogTrigger=Vi,x.DoNotDisturbIcon=ZL,x.DocumentArrowUpOutlineIcon=BL,x.DocumentListOutlineIcon=WL,x.DonateOutlineIcon=GL,x.DoneIcon=RL,x.DoneOutlineIcon=jL,x.DoorArrowRightOutlineIcon=YL,x.Dot=wi,x.DownloadOutlineIcon=qL,x.DragIndicatorIcon=UL,x.DropdownActions=oE,x.DropdownMenu=Ta,x.DropdownMenuCheckboxItem=L3,x.DropdownMenuContent=Wo,x.DropdownMenuGroup=eE,x.DropdownMenuItem=rr,x.DropdownMenuLabel=k3,x.DropdownMenuPortal=tE,x.DropdownMenuRadioGroup=rE,x.DropdownMenuRadioItem=N3,x.DropdownMenuSeparator=P3,x.DropdownMenuShortcut=I3,x.DropdownMenuSub=nE,x.DropdownMenuSubContent=E3,x.DropdownMenuSubTrigger=M3,x.DropdownMenuTrigger=Bo,x.EditIcon=XL,x.EditOutlineIcon=KL,x.ErrorBanner=B8,x.ErrorOutlineIcon=Zl,x.EventAvailableIcon=QL,x.EventNoteIcon=JL,x.EventRepeatOutlinedIcon=eN,x.ExpandMoreIcon=_3,x.FactCheckOutlineIcon=tN,x.FactoryIcon=nN,x.FeaturedPlayListIcon=rN,x.FileCopyIcon=oN,x.FileCopyOutlineIcon=aN,x.FileDownloadIcon=sN,x.FileIcon=Wn,x.FileInput=F6,x.FilterAltOffOutlineIcon=$9,x.FiltersColumnHeader=GO,x.FirstPageIcon=iN,x.FlagFillIcon=cN,x.FlagIcon=lN,x.Form=H3,x.FormControl=ar,x.FormDescription=$3,x.FormField=A3,x.FormFieldContext=Vl,x.FormItem=or,x.FormItemContext=Hl,x.FormItemDatePicker=B3,x.FormItemInput=uE,x.FormItemMultiSelect=Z3,x.FormItemSelect=z3,x.FormLabel=F3,x.FormMessage=$l,x.FormatAlignLeftIcon=uN,x.GalleryImages=ZO,x.GearsAlarmIcon=dN,x.GroupOutlineIcon=fN,x.GroupWorkIcon=hN,x.HandPaperIcon=gN,x.HandymanIcon=pN,x.HardwareIcon=CN,x.HelpCenterIcon=mN,x.HelpCenterOutlineIcon=vN,x.HelpOutlineIcon=wN,x.HideImageIcon=z9,x.HideOutlineIcon=t4,x.HistoryIcon=yN,x.HotelClassIcon=bN,x.ImageIcon=xN,x.ImageOutlineIcon=SN,x.ImgBoxFillIcon=Z9,x.InfoIcon=W3,x.InfoTooltip=vP,x.Input=en,x.InsertInvitationOutlineIcon=MN,x.InventoryIcon=EN,x.Label=Al,x.LanIcon=LN,x.LanOutlineIcon=NN,x.LastPageIcon=al,x.LegendToggleIcon=kN,x.LightModeIcon=PN,x.LightModeOutlineIcon=IN,x.Loader2=Tr,x.LocalFireDepartmentIcon=ON,x.LocationMapOutlineIcon=TN,x.LocationOnIcon=DN,x.LockIcon=_N,x.LockOpenIcon=VN,x.LogoutOutlineIcon=HN,x.MAX_ARCHIVE_SIZE_MB=Tc,x.MAX_AUDIO_SIZE_MB=Nc,x.MAX_EXCEL_SIZE_MB=Oc,x.MAX_IMAGE_SIZE_MB=Pc,x.MAX_PDF_SIZE_MB=kc,x.MAX_TOTAL_SIZE_MB=Ec,x.MAX_VIDEO_SIZE_MB=Lc,x.MAX_WORD_SIZE_MB=Ic,x.MB_IN_BYTES=qa,x.MenuIcon=AN,x.MoreVertIcon=_l,x.MultiSelect=Fl,x.MyLocationIcon=FN,x.N00Icon=UE,x.N01Icon=XE,x.N02Icon=KE,x.N03Icon=QE,x.N04Icon=JE,x.Nav=M8,x.NavPanel=L8,x.NavSeparator=E8,x.NetworkErrorIcon=B9,x.NetworkErrorMessage=ta,x.NextWeekIcon=$N,x.NoAssignmentIcon=zN,x.NoDataBanner=W8,x.NorthEastIcon=ZN,x.Notification=R3,x.NumberInput=T7,x.ObjectTypeIcon=BN,x.OutputIcon=WN,x.PAGE_VIEW_TAB=i2,x.PageHeader=aI,x.PageLayout=sI,x.PageViewModeToggle=hT,x.Pagination=E0,x.PauseCircleOutlineIcon=GN,x.PenOutlineIcon=RN,x.PeopleAltOutlinedIcon=jN,x.PersonIcon=YN,x.PersonOutlineIcon=qN,x.PhotoMusthaveIcon=UN,x.PlayIcon=XN,x.PlaylistAddCheckIcon=KN,x.Popover=$n,x.PopoverAnchor=m4,x.PopoverClose=_S,x.PopoverContent=gn,x.PopoverTrigger=zn,x.PortraitIcon=QN,x.PostCard=N9,x.PostCardBody=S9,x.PostCardHeader=x9,x.PostCardLeftPanel=L9,x.PostCardLeftPanelItem=E9,x.PostCardSidebar=M9,x.PrecisionManufacturingOutlineIcon=JN,x.Preloader=Dr,x.Previews=K6,x.PreviewsCompactList=oI,x.PriorityIcon=ek,x.Profile=k9,x.PublishIcon=tk,x.PushPinIcon=nk,x.RadioGroup=$8,x.RadioGroupItem=z8,x.RectangleSplit4UnevenOutlineIcon=rk,x.RectanglesOutlineIcon=ok,x.RefreshIcon=ak,x.RemoveCircleOutlineIcon=sk,x.ReportProblemOutlineIcon=ik,x.ResizableHandle=b9,x.ResizablePanel=ec,x.ResizablePanelGroup=Jl,x.RestartAltIcon=lk,x.RestoreIcon=ck,x.RoomIcon=uk,x.RotateLeftIcon=W9,x.RotateRightIcon=G9,x.RoundStrokedIcon=dk,x.RouteErrorBanner=BI,x.SaveFillIcon=fk,x.SaveIcon=s5,x.ScrollArea=J7,x.ScrollBar=s2,x.SearchEmptyIcon=R9,x.SearchIcon=vl,x.SecondaryPanelSection=lT,x.SegmentedControl=PI,x.Select=yo,x.SelectContent=oa,x.SelectHeaderFilter=ls,x.SelectItem=bo,x.SelectLabel=o5,x.SelectSeparator=a5,x.SelectTrigger=ra,x.SelectValue=na,x.SellOutlineIcon=hk,x.Separator=Hr,x.SettingsIcon=gk,x.SettingsOutlineIcon=pk,x.Sheet=RO,x.SheetClose=YO,x.SheetContent=_7,x.SheetDescription=F7,x.SheetFooter=H7,x.SheetHeader=V7,x.SheetOverlay=t2,x.SheetPortal=D7,x.SheetTitle=A7,x.SheetTrigger=jO,x.ShoppingBasketIcon=Ck,x.SimCardDownloadIcon=mk,x.SmsFailedIcon=vk,x.SortComponent=fT,x.SortIcon=Xo,x.SortOrder=C1,x.SortableHeader=I6,x.SouthIcon=wk,x.SpecificEquipmentIcon=yk,x.Square4OutlineIcon=bk,x.StarIcon=xk,x.StarsIcon=Sk,x.StraightenIcon=Mk,x.StrategyIcon=Ek,x.SubdirectoryArrowRightIcon=Lk,x.SupervisorAccountIcon=Nk,x.Switch=R6,x.Table=sl,x.TableBody=ll,x.TableCaption=O0,x.TableCell=Io,x.TableChartIcon=kk,x.TableFilterEditor=O7,x.TableFooter=I0,x.TableHead=cl,x.TableHeader=il,x.TableRow=er,x.TableRowsOutlineIcon=j9,x.Tabs=f8,x.TabsContent=h8,x.TabsList=es,x.TabsTrigger=n1,x.TargetOutlineIcon=Pk,x.TextArea=Ua,x.ThemeProvider=nw,x.ThemeProviderContext=ea,x.ThermostatIcon=Ik,x.TimeBadge=hs,x.TimePicker=f7,x.Toast=Cc,x.ToastAction=L6,x.ToastClose=mc,x.ToastDescription=wc,x.ToastProvider=E6,x.ToastTitle=vc,x.ToastViewport=pc,x.Toaster=BP,x.TodayIcon=Ok,x.TollIcon=Tk,x.Tooltip=tn,x.TooltipContent=$t,x.TooltipProvider=Cn,x.TooltipTrigger=Ft,x.TourIcon=Dk,x.TranslateIcon=_k,x.TreeView=wP,x.TruncatedCell=Ry,x.TuneOutlineIcon=Vk,x.UnlockIcon=Hk,x.UserIcon=Ak,x.VideoFileIcon=nc,x.ViewListIcon=Fk,x.ViewOutlineIcon=n4,x.ViewSidebarIcon=$k,x.ViewSidebarOutlineIcon=Y9,x.WarehouseIcon=zk,x.WarehouseOutlineIcon=Zk,x.WarningAmberIcon=Bk,x.WatchLaterIcon=Wk,x.WatchLaterOutlineIcon=q9,x.WebStoriesIcon=Gk,x.WhatshotIcon=Rk,x.WidgetPlanFact=nf,x.WorkspacesIcon=jk,x.WrenchToolIcon=Yk,x.WriteIcon=qk,x.ZoomInOutlinedIcon=Uk,x.ZoomOutMapOutlinedIcon=Xk,x.ZoomOutOutlinedIcon=Kk,x.acceptMap=Y6,x.attachmentItemSchema=j6,x.attachmentsSchema=UP,x.badgeVariants=b2,x.buttonVariants=xn,x.bytesToMb=Sc,x.cn=P,x.compressFile=T6,x.compressImage=O6,x.cookies=l2,x.createTableFilterCondition=g1,x.defaultAccepts=Mc,x.filesToAttachments=A6,x.getErrorData=_c,x.getFileThumbnail=H6,x.getRefineArgs=Fc,x.isTableFilterValid=I7,x.mbToBytes=nn,x.notificationVariants=G3,x.parseValueFromError=eI,x.reducer=k6,x.tableFilterOperatorLabels=P7,x.toOptions=MT,x.toast=P6,x.useColumnFilters=xT,x.useColumnSizing=S0,x.useCombinedRefs=c7,x.useConfirm=Dc,x.useConfirmStore=Ka,x.useFormField=Go,x.useNotify=Qa,x.usePreviewsFilePicker=U6,x.useSidebar=pT,x.useStoredExpand=wT,x.useStoredFields=bT,x.useStoredTabs=CT,x.useTableStates=yT,x.useTheme=gT,x.useToast=xc,x.validateFile=V6,x.validateFileSize=D6,x.validateFileType=_6,x.zMin=gI,x.zRequired=g8,Object.defineProperty(x,Symbol.toStringTag,{value:"Module"})});