UNPKG

@gatekeeper-auth/react

Version:
14 lines 348 kB
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("axios"),a=require("react"),n=require("react-dom");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(a){if("default"!==a){var n=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,n.get?n:{enumerable:!0,get:function(){return e[a]}})}})),t.default=e,Object.freeze(t)}var i=r(t),y=o(a),l=r(a),c=o(n),d=r(n);const h=a.createContext(null),p=()=>{const e=a.useContext(h);if(!e)throw new Error("useAuth must be used within an AuthProvider");return e};function s(...e){return t=>e.forEach((e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t)))}function k(...e){return y.useCallback(s(...e),e)}var u=y.forwardRef(((t,a)=>{const{children:n,...r}=t,o=y.Children.toArray(n),i=o.find(m);if(i){const t=i.props.children,n=o.map((e=>e===i?y.Children.count(t)>1?y.Children.only(null):y.isValidElement(t)?t.props.children:null:e));return e.jsx(f,{...r,ref:a,children:y.isValidElement(t)?y.cloneElement(t,void 0,n):null})}return e.jsx(f,{...r,ref:a,children:n})}));u.displayName="Slot";var f=y.forwardRef(((e,t)=>{const{children:a,...n}=e;if(y.isValidElement(a)){const e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=t&&"isReactWarning"in t&&t.isReactWarning;if(a)return e.ref;if(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a)return e.props.ref;return e.props.ref||e.ref}(a);return y.cloneElement(a,{...v(n,a.props),ref:t?s(t,e):e})}return y.Children.count(a)>1?y.Children.only(null):null}));f.displayName="SlotClone";var x=({children:t})=>e.jsx(e.Fragment,{children:t});function m(e){return y.isValidElement(e)&&e.type===x}function v(e,t){const a={...t};for(const n in t){const r=e[n],o=t[n];/^on[A-Z]/.test(n)?r&&o?a[n]=(...e)=>{o(...e),r(...e)}:r&&(a[n]=r):"style"===n?a[n]={...r,...o}:"className"===n&&(a[n]=[r,o].filter(Boolean).join(" "))}return{...e,...a}}const g=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,M=function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return t.flat(1/0).filter(Boolean).join(" ")},w=(e,t)=>a=>{var n;if(null==(null==t?void 0:t.variants))return M(e,null==a?void 0:a.class,null==a?void 0:a.className);const{variants:r,defaultVariants:o}=t,i=Object.keys(r).map((e=>{const t=null==a?void 0:a[e],n=null==o?void 0:o[e];if(null===t)return null;const i=g(t)||g(n);return r[e][i]})),y=a&&Object.entries(a).reduce(((e,t)=>{let[a,n]=t;return void 0===n||(e[a]=n),e}),{}),l=null==t||null===(n=t.compoundVariants)||void 0===n?void 0:n.reduce(((e,t)=>{let{class:a,className:n,...r}=t;return Object.entries(r).every((e=>{let[t,a]=e;return Array.isArray(a)?a.includes({...o,...y}[t]):{...o,...y}[t]===a}))?[...e,a,n]:e}),[]);return M(e,i,l,null==a?void 0:a.class,null==a?void 0:a.className)};function b(e){var t,a,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(a=b(e[t]))&&(n&&(n+=" "),n+=a);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function j(){for(var e,t,a=0,n="";a<arguments.length;)(e=arguments[a++])&&(t=z(e))&&(n&&(n+=" "),n+=t);return n}function z(e){if("string"==typeof e)return e;for(var t,a="",n=0;n<e.length;n++)e[n]&&(t=z(e[n]))&&(a&&(a+=" "),a+=t);return a}function C(e){var t=function(e){var t=e.theme,a=e.prefix,n={nextPart:new Map,validators:[]},r=function(e,t){if(!t)return e;return e.map((function(e){return[e[0],e[1].map((function(e){return"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((function(e){var a=e[0],n=e[1];return[t+a,n]}))):e}))]}))}(Object.entries(e.classGroups),a);return r.forEach((function(e){var a=e[0];L(e[1],n,a,t)})),n}(e),a=e.conflictingClassGroups,n=e.conflictingClassGroupModifiers,r=void 0===n?{}:n;return{getClassGroupId:function(e){var a=e.split("-");return""===a[0]&&1!==a.length&&a.shift(),H(a,t)||function(e){if(q.test(e)){var t=q.exec(e)[1],a=t?.substring(0,t.indexOf(":"));if(a)return"arbitrary.."+a}}(e)},getConflictingClassGroupIds:function(e,t){var n=a[e]||[];return t&&r[e]?[].concat(n,r[e]):n}}}function H(e,t){if(0===e.length)return t.classGroupId;var a=e[0],n=t.nextPart.get(a),r=n?H(e.slice(1),n):void 0;if(r)return r;if(0!==t.validators.length){var o=e.join("-");return t.validators.find((function(e){return(0,e.validator)(o)}))?.classGroupId}}var q=/^\[(.+)\]$/;function L(e,t,a,n){e.forEach((function(e){if("string"!=typeof e){if("function"==typeof e)return e.isThemeGetter?void L(e(n),t,a,n):void t.validators.push({validator:e,classGroupId:a});Object.entries(e).forEach((function(e){var r=e[0];L(e[1],V(t,r),a,n)}))}else{(""===e?t:V(t,e)).classGroupId=a}}))}function V(e,t){var a=e;return t.split("-").forEach((function(e){a.nextPart.has(e)||a.nextPart.set(e,{nextPart:new Map,validators:[]}),a=a.nextPart.get(e)})),a}function A(e){if(e<1)return{get:function(){},set:function(){}};var t=0,a=new Map,n=new Map;function r(r,o){a.set(r,o),++t>e&&(t=0,n=a,a=new Map)}return{get:function(e){var t=a.get(e);return void 0!==t?t:void 0!==(t=n.get(e))?(r(e,t),t):void 0},set:function(e,t){a.has(e)?a.set(e,t):r(e,t)}}}function S(e){var t=e.separator||":",a=1===t.length,n=t[0],r=t.length;return function(e){for(var o,i=[],y=0,l=0,c=0;c<e.length;c++){var d=e[c];if(0===y){if(d===n&&(a||e.slice(c,c+r)===t)){i.push(e.slice(l,c)),l=c+r;continue}if("/"===d){o=c;continue}}"["===d?y++:"]"===d&&y--}var h=0===i.length?e:e.substring(l),p=h.startsWith("!");return{modifiers:i,hasImportantModifier:p,baseClassName:p?h.substring(1):h,maybePostfixModifierPosition:o&&o>l?o-l:void 0}}}var R=/\s+/;function E(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var n,r,o,i=function(e){var a=t[0],l=t.slice(1).reduce((function(e,t){return t(e)}),a());return n=function(e){return{cache:A(e.cacheSize),splitModifiers:S(e),...C(e)}}(l),r=n.cache.get,o=n.cache.set,i=y,y(e)};function y(e){var t=r(e);if(t)return t;var a=function(e,t){var a=t.splitModifiers,n=t.getClassGroupId,r=t.getConflictingClassGroupIds,o=new Set;return e.trim().split(R).map((function(e){var t=a(e),r=t.modifiers,o=t.hasImportantModifier,i=t.baseClassName,y=t.maybePostfixModifierPosition,l=n(y?i.substring(0,y):i),c=Boolean(y);if(!l){if(!y)return{isTailwindClass:!1,originalClassName:e};if(!(l=n(i)))return{isTailwindClass:!1,originalClassName:e};c=!1}var d=function(e){if(e.length<=1)return e;var t=[],a=[];return e.forEach((function(e){"["===e[0]?(t.push.apply(t,a.sort().concat([e])),a=[]):a.push(e)})),t.push.apply(t,a.sort()),t}(r).join(":");return{isTailwindClass:!0,modifierId:o?d+"!":d,classGroupId:l,originalClassName:e,hasPostfixModifier:c}})).reverse().filter((function(e){if(!e.isTailwindClass)return!0;var t=e.modifierId,a=e.classGroupId,n=e.hasPostfixModifier,i=t+a;return!o.has(i)&&(o.add(i),r(a,n).forEach((function(e){return o.add(t+e)})),!0)})).reverse().map((function(e){return e.originalClassName})).join(" ")}(e,n);return o(e,a),a}return function(){return i(j.apply(null,arguments))}}function N(e){var t=function(t){return t[e]||[]};return t.isThemeGetter=!0,t}var O=/^\[(?:([a-z-]+):)?(.+)\]$/i,P=/^\d+\/\d+$/,D=new Set(["px","full","screen"]),F=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,T=/\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$/,_=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function Z(e){return G(e)||D.has(e)||P.test(e)||I(e)}function I(e){return te(e,"length",ae)}function B(e){return te(e,"size",ne)}function W(e){return te(e,"position",ne)}function $(e){return te(e,"url",re)}function U(e){return te(e,"number",G)}function G(e){return!Number.isNaN(Number(e))}function K(e){return e.endsWith("%")&&G(e.slice(0,-1))}function X(e){return oe(e)||te(e,"number",oe)}function Y(e){return O.test(e)}function J(){return!0}function Q(e){return F.test(e)}function ee(e){return te(e,"",ie)}function te(e,t,a){var n=O.exec(e);return!!n&&(n[1]?n[1]===t:a(n[2]))}function ae(e){return T.test(e)}function ne(){return!1}function re(e){return e.startsWith("url(")}function oe(e){return Number.isInteger(Number(e))}function ie(e){return _.test(e)}function ye(){var e=N("colors"),t=N("spacing"),a=N("blur"),n=N("brightness"),r=N("borderColor"),o=N("borderRadius"),i=N("borderSpacing"),y=N("borderWidth"),l=N("contrast"),c=N("grayscale"),d=N("hueRotate"),h=N("invert"),p=N("gap"),s=N("gradientColorStops"),k=N("gradientColorStopPositions"),u=N("inset"),f=N("margin"),x=N("opacity"),m=N("padding"),v=N("saturate"),g=N("scale"),M=N("sepia"),w=N("skew"),b=N("space"),j=N("translate"),z=function(){return["auto",Y,t]},C=function(){return[Y,t]},H=function(){return["",Z]},q=function(){return["auto",G,Y]},L=function(){return["","0",Y]},V=function(){return[G,U]},A=function(){return[G,Y]};return{cacheSize:500,theme:{colors:[J],spacing:[Z],blur:["none","",Q,Y],brightness:V(),borderColor:[e],borderRadius:["none","","full",Q,Y],borderSpacing:C(),borderWidth:H(),contrast:V(),grayscale:L(),hueRotate:A(),invert:L(),gap:C(),gradientColorStops:[e],gradientColorStopPositions:[K,I],inset:z(),margin:z(),opacity:V(),padding:C(),saturate:V(),scale:V(),sepia:L(),skew:A(),space:C(),translate:C()},classGroups:{aspect:[{aspect:["auto","square","video",Y]}],container:["container"],columns:[{columns:[Q]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],[Y])}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[u]}],"inset-x":[{"inset-x":[u]}],"inset-y":[{"inset-y":[u]}],start:[{start:[u]}],end:[{end:[u]}],top:[{top:[u]}],right:[{right:[u]}],bottom:[{bottom:[u]}],left:[{left:[u]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",X]}],basis:[{basis:z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Y]}],grow:[{grow:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",X]}],"grid-cols":[{"grid-cols":[J]}],"col-start-end":[{col:["auto",{span:["full",X]},Y]}],"col-start":[{"col-start":q()}],"col-end":[{"col-end":q()}],"grid-rows":[{"grid-rows":[J]}],"row-start-end":[{row:["auto",{span:[X]},Y]}],"row-start":[{"row-start":q()}],"row-end":[{"row-end":q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Y]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Y]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal"].concat(["start","end","center","between","around","evenly","stretch"])}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(["start","end","center","between","around","evenly","stretch"],["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(["start","end","center","between","around","evenly","stretch"],["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],m:[{m:[f]}],mx:[{mx:[f]}],my:[{my:[f]}],ms:[{ms:[f]}],me:[{me:[f]}],mt:[{mt:[f]}],mr:[{mr:[f]}],mb:[{mb:[f]}],ml:[{ml:[f]}],"space-x":[{"space-x":[b]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[b]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",Y,t]}],"min-w":[{"min-w":["min","max","fit",Y,Z]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[Q]},Q,Y]}],h:[{h:[Y,t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",Y,Z]}],"max-h":[{"max-h":[Y,t,"min","max","fit"]}],"font-size":[{text:["base",Q,I]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",U]}],"font-family":[{font:[J]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Y]}],"line-clamp":[{"line-clamp":["none",G,U]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Y,Z]}],"list-image":[{"list-image":["none",Y]}],"list-style-type":[{list:["none","disc","decimal",Y]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(["solid","dashed","dotted","double","none"],["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",Z]}],"underline-offset":[{"underline-offset":["auto",Y,Z]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Y]}],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",Y]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],[W])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",B]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},$]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[s]}],"gradient-via":[{via:[s]}],"gradient-to":[{to:[s]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[y]}],"border-w-x":[{"border-x":[y]}],"border-w-y":[{"border-y":[y]}],"border-w-s":[{"border-s":[y]}],"border-w-e":[{"border-e":[y]}],"border-w-t":[{"border-t":[y]}],"border-w-r":[{"border-r":[y]}],"border-w-b":[{"border-b":[y]}],"border-w-l":[{"border-l":[y]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[].concat(["solid","dashed","dotted","double","none"],["hidden"])}],"divide-x":[{"divide-x":[y]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[y]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[r]}],"border-color-x":[{"border-x":[r]}],"border-color-y":[{"border-y":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-b":[{"border-b":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:[""].concat(["solid","dashed","dotted","double","none"])}],"outline-offset":[{"outline-offset":[Y,Z]}],"outline-w":[{outline:[Z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[Z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Q,ee]}],"shadow-color":[{shadow:[J]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],filter:[{filter:["","none"]}],blur:[{blur:[a]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Q,Y]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[h]}],saturate:[{saturate:[v]}],sepia:[{sepia:[M]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[a]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[M]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Y]}],duration:[{duration:A()}],ease:[{ease:["linear","in","out","in-out",Y]}],delay:[{delay:A()}],animate:[{animate:["none","spin","ping","pulse","bounce",Y]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[g]}],"scale-x":[{"scale-x":[g]}],"scale-y":[{"scale-y":[g]}],rotate:[{rotate:[X,Y]}],"translate-x":[{"translate-x":[j]}],"translate-y":[{"translate-y":[j]}],"skew-x":[{"skew-x":[w]}],"skew-y":[{"skew-y":[w]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Y]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],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",Y]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"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","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Y]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Z,U]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},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"],"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"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}var le=E(ye);function ce(...e){return le(function(){for(var e,t,a=0,n="";a<arguments.length;)(e=arguments[a++])&&(t=b(e))&&(n&&(n+=" "),n+=t);return n}(e))}const de=w("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),he=y.forwardRef((({className:t,variant:a,size:n,asChild:r=!1,...o},i)=>{const y=r?u:"button";return e.jsx(y,{className:ce(de({variant:a,size:n,className:t})),ref:i,...o})}));he.displayName="Button";var pe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce(((t,a)=>{const n=y.forwardRef(((t,n)=>{const{asChild:r,...o}=t,i=r?u:a;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),e.jsx(i,{...o,ref:n})}));return n.displayName=`Primitive.${a}`,{...t,[a]:n}}),{});function se(e,t){e&&c.flushSync((()=>e.dispatchEvent(t)))}var ke=y.forwardRef(((t,a)=>e.jsx(pe.label,{...t,ref:a,onMouseDown:e=>{e.target.closest("button, input, select, textarea")||(t.onMouseDown?.(e),!e.defaultPrevented&&e.detail>1&&e.preventDefault())}})));ke.displayName="Label";var ue=ke;const fe=w("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),xe=y.forwardRef((({className:t,...a},n)=>e.jsx(ue,{ref:n,className:ce(fe(),t),...a})));xe.displayName=ue.displayName;const me=y.forwardRef((({className:t,type:a,...n},r)=>e.jsx("input",{type:a,className:ce("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",t),ref:r,...n})));me.displayName="Input";const ve=y.forwardRef((({className:t,...a},n)=>e.jsx("div",{ref:n,className:ce("rounded-xl border bg-card text-card-foreground shadow",t),...a})));ve.displayName="Card";const ge=y.forwardRef((({className:t,...a},n)=>e.jsx("div",{ref:n,className:ce("flex flex-col space-y-1.5 p-6",t),...a})));ge.displayName="CardHeader";const Me=y.forwardRef((({className:t,...a},n)=>e.jsx("h3",{ref:n,className:ce("font-semibold leading-none tracking-tight",t),...a})));Me.displayName="CardTitle";const we=y.forwardRef((({className:t,...a},n)=>e.jsx("p",{ref:n,className:ce("text-sm text-muted-foreground",t),...a})));we.displayName="CardDescription";const be=y.forwardRef((({className:t,...a},n)=>e.jsx("div",{ref:n,className:ce("p-6 pt-0",t),...a})));be.displayName="CardContent";const je=y.forwardRef((({className:t,...a},n)=>e.jsx("div",{ref:n,className:ce("flex items-center p-6 pt-0",t),...a})));je.displayName="CardFooter";var ze,Ce={exports:{}},He={exports:{}},qe={};var Le,Ve,Ae,Se,Re,Ee,Ne,Oe,Pe,De,Fe,Te,_e,Ze,Ie={}; /** @license React v16.13.1 * react-is.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function Be(){return Ve||(Ve=1,e=He,"production"===process.env.NODE_ENV?e.exports=function(){if(ze)return qe;ze=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,a=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,y=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,s=e?Symbol.for("react.memo"):60115,k=e?Symbol.for("react.lazy"):60116,u=e?Symbol.for("react.block"):60121,f=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,m=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case n:case o:case r:case h:return e;default:switch(e=e&&e.$$typeof){case y:case d:case k:case s:case i:return e;default:return p}}case a:return p}}}function g(e){return v(e)===c}return qe.AsyncMode=l,qe.ConcurrentMode=c,qe.ContextConsumer=y,qe.ContextProvider=i,qe.Element=t,qe.ForwardRef=d,qe.Fragment=n,qe.Lazy=k,qe.Memo=s,qe.Portal=a,qe.Profiler=o,qe.StrictMode=r,qe.Suspense=h,qe.isAsyncMode=function(e){return g(e)||v(e)===l},qe.isConcurrentMode=g,qe.isContextConsumer=function(e){return v(e)===y},qe.isContextProvider=function(e){return v(e)===i},qe.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},qe.isForwardRef=function(e){return v(e)===d},qe.isFragment=function(e){return v(e)===n},qe.isLazy=function(e){return v(e)===k},qe.isMemo=function(e){return v(e)===s},qe.isPortal=function(e){return v(e)===a},qe.isProfiler=function(e){return v(e)===o},qe.isStrictMode=function(e){return v(e)===r},qe.isSuspense=function(e){return v(e)===h},qe.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===c||e===o||e===r||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===k||e.$$typeof===s||e.$$typeof===i||e.$$typeof===y||e.$$typeof===d||e.$$typeof===f||e.$$typeof===x||e.$$typeof===m||e.$$typeof===u)},qe.typeOf=v,qe}():e.exports=(Le||(Le=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,a=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,y=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,s=e?Symbol.for("react.memo"):60115,k=e?Symbol.for("react.lazy"):60116,u=e?Symbol.for("react.block"):60121,f=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,m=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var u=e.type;switch(u){case l:case c:case n:case o:case r:case h:return u;default:var f=u&&u.$$typeof;switch(f){case y:case d:case k:case s:case i:return f;default:return p}}case a:return p}}}var g=l,M=c,w=y,b=i,j=t,z=d,C=n,H=k,q=s,L=a,V=o,A=r,S=h,R=!1;function E(e){return v(e)===c}Ie.AsyncMode=g,Ie.ConcurrentMode=M,Ie.ContextConsumer=w,Ie.ContextProvider=b,Ie.Element=j,Ie.ForwardRef=z,Ie.Fragment=C,Ie.Lazy=H,Ie.Memo=q,Ie.Portal=L,Ie.Profiler=V,Ie.StrictMode=A,Ie.Suspense=S,Ie.isAsyncMode=function(e){return R||(R=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),E(e)||v(e)===l},Ie.isConcurrentMode=E,Ie.isContextConsumer=function(e){return v(e)===y},Ie.isContextProvider=function(e){return v(e)===i},Ie.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Ie.isForwardRef=function(e){return v(e)===d},Ie.isFragment=function(e){return v(e)===n},Ie.isLazy=function(e){return v(e)===k},Ie.isMemo=function(e){return v(e)===s},Ie.isPortal=function(e){return v(e)===a},Ie.isProfiler=function(e){return v(e)===o},Ie.isStrictMode=function(e){return v(e)===r},Ie.isSuspense=function(e){return v(e)===h},Ie.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===c||e===o||e===r||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===k||e.$$typeof===s||e.$$typeof===i||e.$$typeof===y||e.$$typeof===d||e.$$typeof===f||e.$$typeof===x||e.$$typeof===m||e.$$typeof===u)},Ie.typeOf=v}()),Ie)),He.exports;var e} /* object-assign (c) Sindre Sorhus @license MIT */function We(){if(Se)return Ae;Se=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;return Ae=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},a=0;a<10;a++)t["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(n,r){for(var o,i,y=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(n),l=1;l<arguments.length;l++){for(var c in o=Object(arguments[l]))t.call(o,c)&&(y[c]=o[c]);if(e){i=e(o);for(var d=0;d<i.length;d++)a.call(o,i[d])&&(y[i[d]]=o[i[d]])}}return y},Ae}function $e(){if(Ee)return Re;Ee=1;return Re="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function Ue(){return Oe?Ne:(Oe=1,Ne=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var Ge=Be();Ce.exports=function(){if(Te)return Fe;Te=1;var e=Be(),t=We(),a=$e(),n=Ue(),r=function(){if(De)return Pe;De=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=$e(),a={},n=Ue();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function r(r,o,i,y,l){if("production"!==process.env.NODE_ENV)for(var c in r)if(n(r,c)){var d;try{if("function"!=typeof r[c]){var h=Error((y||"React class")+": "+i+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}d=r[c](o,c,y,i,null,t)}catch(e){d=e}if(!d||d instanceof Error||e((y||"React class")+": type specification of "+i+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in a)){a[d.message]=!0;var p=l?l():"";e("Failed "+i+" type: "+d.message+(null!=p?p:""))}}}return r.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(a={})},Pe=r}(),o=function(){};function i(){return null}return"production"!==process.env.NODE_ENV&&(o=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),Fe=function(y,l){var c="function"==typeof Symbol&&Symbol.iterator,d="<<anonymous>>",h={array:u("array"),bigint:u("bigint"),bool:u("boolean"),func:u("function"),number:u("number"),object:u("object"),string:u("string"),symbol:u("symbol"),any:k(i),arrayOf:function(e){return k((function(t,n,r,o,i){if("function"!=typeof e)return new s("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var y=t[n];if(!Array.isArray(y))return new s("Invalid "+o+" `"+i+"` of type `"+m(y)+"` supplied to `"+r+"`, expected an array.");for(var l=0;l<y.length;l++){var c=e(y,l,r,o,i+"["+l+"]",a);if(c instanceof Error)return c}return null}))},element:k((function(e,t,a,n,r){var o=e[t];return y(o)?null:new s("Invalid "+n+" `"+r+"` of type `"+m(o)+"` supplied to `"+a+"`, expected a single ReactElement.")})),elementType:k((function(t,a,n,r,o){var i=t[a];return e.isValidElementType(i)?null:new s("Invalid "+r+" `"+o+"` of type `"+m(i)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return k((function(t,a,n,r,o){if(!(t[a]instanceof e)){var i=e.name||d;return new s("Invalid "+r+" `"+o+"` of type `"+((y=t[a]).constructor&&y.constructor.name?y.constructor.name:d)+"` supplied to `"+n+"`, expected instance of `"+i+"`.")}var y;return null}))},node:k((function(e,t,a,n,r){return x(e[t])?null:new s("Invalid "+n+" `"+r+"` supplied to `"+a+"`, expected a ReactNode.")})),objectOf:function(e){return k((function(t,r,o,i,y){if("function"!=typeof e)return new s("Property `"+y+"` of component `"+o+"` has invalid PropType notation inside objectOf.");var l=t[r],c=m(l);if("object"!==c)return new s("Invalid "+i+" `"+y+"` of type `"+c+"` supplied to `"+o+"`, expected an object.");for(var d in l)if(n(l,d)){var h=e(l,d,o,i,y+"."+d,a);if(h instanceof Error)return h}return null}))},oneOf:function(e){return Array.isArray(e)?k((function(t,a,n,r,o){for(var i=t[a],y=0;y<e.length;y++)if(p(i,e[y]))return null;var l=JSON.stringify(e,(function(e,t){return"symbol"===v(t)?String(t):t}));return new s("Invalid "+r+" `"+o+"` of value `"+String(i)+"` supplied to `"+n+"`, expected one of "+l+".")})):("production"!==process.env.NODE_ENV&&o(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),i)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&o("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var t=0;t<e.length;t++){var r=e[t];if("function"!=typeof r)return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+g(r)+" at index "+t+"."),i}return k((function(t,r,o,i,y){for(var l=[],c=0;c<e.length;c++){var d=(0,e[c])(t,r,o,i,y,a);if(null==d)return null;d.data&&n(d.data,"expectedType")&&l.push(d.data.expectedType)}return new s("Invalid "+i+" `"+y+"` supplied to `"+o+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")}))},shape:function(e){return k((function(t,n,r,o,i){var y=t[n],l=m(y);if("object"!==l)return new s("Invalid "+o+" `"+i+"` of type `"+l+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var d=e[c];if("function"!=typeof d)return f(r,o,i,c,v(d));var h=d(y,c,r,o,i+"."+c,a);if(h)return h}return null}))},exact:function(e){return k((function(r,o,i,y,l){var c=r[o],d=m(c);if("object"!==d)return new s("Invalid "+y+" `"+l+"` of type `"+d+"` supplied to `"+i+"`, expected `object`.");var h=t({},r[o],e);for(var p in h){var k=e[p];if(n(e,p)&&"function"!=typeof k)return f(i,y,l,p,v(k));if(!k)return new s("Invalid "+y+" `"+l+"` key `"+p+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(r[o],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var u=k(c,p,i,y,l+"."+p,a);if(u)return u}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function s(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function k(e){if("production"!==process.env.NODE_ENV)var t={},n=0;function r(r,i,y,c,h,p,k){if(c=c||d,p=p||y,k!==a){if(l){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var f=c+":"+y;!t[f]&&n<3&&(o("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[f]=!0,n++)}}return null==i[y]?r?null===i[y]?new s("The "+h+" `"+p+"` is marked as required in `"+c+"`, but its value is `null`."):new s("The "+h+" `"+p+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(i,y,c,h,p)}var i=r.bind(null,!1);return i.isRequired=r.bind(null,!0),i}function u(e){return k((function(t,a,n,r,o,i){var y=t[a];return m(y)!==e?new s("Invalid "+r+" `"+o+"` of type `"+v(y)+"` supplied to `"+n+"`, expected `"+e+"`.",{expectedType:e}):null}))}function f(e,t,a,n,r){return new s((e||"React class")+": "+t+" type `"+a+"."+n+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+r+"`.")}function x(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(x);if(null===e||y(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(!t)return!1;var a,n=t.call(e);if(t!==e.entries){for(;!(a=n.next()).done;)if(!x(a.value))return!1}else for(;!(a=n.next()).done;){var r=a.value;if(r&&!x(r[1]))return!1}return!0;default:return!1}}function m(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function v(e){if(null==e)return""+e;var t=m(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function g(e){var t=v(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return s.prototype=Error.prototype,h.checkPropTypes=r,h.resetWarningCache=r.resetWarningCache,h.PropTypes=h,h},Fe}()(Ge.isElement,!0)}else Ce.exports=function(){if(Ze)return _e;Ze=1;var e=$e();function t(){}function a(){}return a.resetWarningCache=t,_e=function(){function n(t,a,n,r,o,i){if(i!==e){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}}function r(){return n}n.isRequired=n;var o={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:r,element:n,elementType:n,instanceOf:r,node:n,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:a,resetWarningCache:t};return o.PropTypes=o,o}}()();var Ke={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"},Xe=["color","size","strokeWidth","children"];function Ye(){return Ye=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Ye.apply(this,arguments)}var Je=function(e,t){var n=a.forwardRef((function(n,r){var o,i=n.color,y=void 0===i?"currentColor":i,l=n.size,c=void 0===l?24:l,d=n.strokeWidth,h=void 0===d?2:d,p=n.children,s=function(e,t){if(null==e)return{};var a,n,r={},o=Object.keys(e);for(n=0;n<o.length;n++)a=o[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}(n,Xe);return a.createElement("svg",Ye({ref:r},Ke,{width:c,height:c,stroke:y,strokeWidth:h,className:"lucide lucide-"+(o=e,o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase())},s),[].concat(t.map((function(e){var t=e[0],n=e[1];return a.createElement(t,n)})),p||[]))}));return n.propTypes={color:Ce.exports.string,size:Ce.exports.oneOfType([Ce.exports.string,Ce.exports.number]),strokeWidth:Ce.exports.oneOfType([Ce.exports.string,Ce.exports.number])},n.displayName=""+e,n};Je("Accessibility",[["circle",{cx:"16",cy:"4",r:"1",key:"1grugj"}],["path",{d:"m18 19 1-7-5.87.94",key:"16gztd"}],["path",{d:"m5 8 3-3 5.5 3-2.21 3.1",key:"133gd0"}],["path",{d:"M4.24 14.48c-.19.58-.27 1.2-.23 1.84a5 5 0 0 0 5.31 4.67c.65-.04 1.25-.2 1.8-.46",key:"12oo9p"}],["path",{d:"M13.76 17.52c.19-.58.27-1.2.23-1.84a5 5 0 0 0-5.31-4.67c-.65.04-1.25.2-1.8.46",key:"15si8q"}]]),Je("Activity",[["polyline",{points:"22 12 18 12 15 21 9 3 6 12 2 12",key:"xez52g"}]]),Je("AirVent",[["path",{d:"M6 12H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"larmp2"}],["path",{d:"M6 8h12",key:"6g4wlu"}],["path",{d:"M18.3 17.7a2.5 2.5 0 0 1-3.16 3.83 2.53 2.53 0 0 1-1.14-2V12",key:"1bo8pg"}],["path",{d:"M6.6 15.6A2 2 0 1 0 10 17v-5",key:"t9h90c"}]]),Je("Airplay",[["path",{d:"M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1",key:"ns4c3b"}],["polygon",{points:"12 15 17 21 7 21 12 15",key:"1sy95i"}]]),Je("AlarmCheck",[["path",{d:"M12 21a8 8 0 1 0 0-16 8 8 0 0 0 0 16z",key:"1dr9l2"}],["path",{d:"M5 3 2 6",key:"18tl5t"}],["path",{d:"m22 6-3-3",key:"1opdir"}],["path",{d:"m6 19-2 2",key:"1ek6nb"}],["path",{d:"m18 19 2 2",key:"lw9i"}],["path",{d:"m9 13 2 2 4-4",key:"6343dt"}]]),Je("AlarmClockOff",[["path",{d:"M6.87 6.87a8 8 0 1 0 11.26 11.26",key:"3on8tj"}],["path",{d:"M19.9 14.25A7.44 7.44 0 0 0 20 13a8 8 0 0 0-8-8 7.44 7.44 0 0 0-1.25.1",key:"nxzvge"}],["path",{d:"m22 6-3-3",key:"1opdir"}],["path",{d:"m6 19-2 2",key:"1ek6nb"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M4 4 2 6",key:"1ycko6"}]]),Je("AlarmClock",[["circle",{cx:"12",cy:"13",r:"8",key:"3y4lt7"}],["path",{d:"M12 9v4l2 2",key:"1c63tq"}],["path",{d:"M5 3 2 6",key:"18tl5t"}],["path",{d:"m22 6-3-3",key:"1opdir"}],["path",{d:"m6 19-2 2",key:"1ek6nb"}],["path",{d:"m18 19 2 2",key:"lw9i"}]]),Je("AlarmMinus",[["path",{d:"M12 21a8 8 0 1 0 0-16 8 8 0 0 0 0 16z",key:"1dr9l2"}],["path",{d:"M5 3 2 6",key:"18tl5t"}],["path",{d:"m22 6-3-3",key:"1opdir"}],["path",{d:"m6 19-2 2",key:"1ek6nb"}],["path",{d:"m18 19 2 2",key:"lw9i"}],["path",{d:"M9 13h6",key:"1uhe8q"}]]),Je("AlarmPlus",[["path",{d:"M12 21a8 8 0 1 0 0-16 8 8 0 0 0 0 16z",key:"1dr9l2"}],["path",{d:"M5 3 2 6",key:"18tl5t"}],["path",{d:"m22 6-3-3",key:"1opdir"}],["path",{d:"m6 19-2 2",key:"1ek6nb"}],["path",{d:"m18 19 2 2",key:"lw9i"}],["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}]]),Je("Album",[["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2",key:"maln0c"}],["polyline",{points:"11 3 11 11 14 8 17 11 17 3",key:"1wcwz3"}]]),Je("AlertCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",y1:"8",x2:"12",y2:"12",key:"1grbh0"}],["line",{x1:"12",y1:"16",x2:"12.01",y2:"16",key:"1w440g"}]]),Je("AlertOctagon",[["polygon",{points:"7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2",key:"h1p8hx"}],["line",{x1:"12",y1:"8",x2:"12",y2:"12",key:"1grbh0"}],["line",{x1:"12",y1:"16",x2:"12.01",y2:"16",key:"1w440g"}]]),Je("AlertTriangle",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z",key:"c3ski4"}],["line",{x1:"12",y1:"9",x2:"12",y2:"13",key:"mb7vjk"}],["line",{x1:"12",y1:"17",x2:"12.01",y2:"17",key:"kdstpg"}]]),Je("AlignCenterHorizontal",[["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"M10 16v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-4",key:"11f1s0"}],["path",{d:"M10 8V4a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v4",key:"t14dx9"}],["path",{d:"M20 16v1a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2v-1",key:"1w07xs"}],["path",{d:"M14 8V7c0-1.1.9-2 2-2h2a2 2 0 0 1 2 2v1",key:"1apec2"}]]),Je("AlignCenterVertical",[["path",{d:"M12 2v20",key:"t6zp3m"}],["path",{d:"M8 10H4a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h4",key:"14d6g8"}],["path",{d:"M16 10h4a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-4",key:"1e2lrw"}],["path",{d:"M8 20H7a2 2 0 0 1-2-2v-2c0-1.1.9-2 2-2h1",key:"1fkdwx"}],["path",{d:"M16 14h1a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-1",key:"1euafb"}]]),Je("AlignCenter",[["line",{x1:"21",y1:"6",x2:"3",y2:"6",key:"1e448z"}],["line",{x1:"17",y1:"12",x2:"7",y2:"12",key:"driibe"}],["line",{x1:"19",y1:"18",x2:"5",y2:"18",key:"1i3xdx"}]]),Je("AlignEndHorizontal",[["rect",{x:"4",y:"2",width:"6",height:"16",rx:"2",key:"xp5u6c"}],["rect",{x:"14",y:"9",width:"6",height:"9",rx:"2",key:"1e039c"}],["path",{d:"M22 22H2",key:"19qnx5"}]]),Je("AlignEndVertical",[["rect",{x:"2",y:"4",width:"16",height:"6",rx:"2",key:"1j7b8s"}],["rect",{x:"9",y:"14",width:"9",height:"6",rx:"2",key:"b2t4yo"}],["path",{d:"M22 22V2",key:"12ipfv"}]]),Je("AlignHorizontalDistributeCenter",[["rect",{x:"4",y:"5",width:"6",height:"14",rx:"2",key:"ric6yp"}],["rect",{x:"14",y:"7",width:"6",height:"10",rx:"2",key:"1mr5t1"}],["path",{d:"M17 22v-5",key:"4b6g73"}],["path",{d:"M17 7V2",key:"hnrr36"}],["path",{d:"M7 22v-3",key:"1r4jpn"}],["path",{d:"M7 5V2",key:"liy1u9"}]]),Je("AlignHorizontalDistributeEnd",[["rect",{x:"4",y:"5",width:"6",height:"14",rx:"2",key:"ric6yp"}],["rect",{x:"14",y:"7",width:"6",height:"10",rx:"2",key:"1mr5t1"}],["path",{d:"M10 2v20",key:"uyc634"}],["path",{d:"M20 2v20",key:"1tx262"}]]),Je("AlignHorizontalDistributeStart",[["rect",{x:"4",y:"5",width:"6",height:"14",rx:"2",key:"ric6yp"}],["rect",{x:"14",y:"7",width:"6",height:"10",rx:"2",key:"1mr5t1"}],["path",{d:"M4 2v20",key:"gtpd5x"}],["path",{d:"M14 2v20",key:"tg6bpw"}]]),Je("AlignHorizontalJustifyCenter",[["rect",{x:"2",y:"5",width:"6",height:"14",rx:"2",key:"15angl"}],["rect",{x:"16",y:"7",width:"6",height:"10",rx:"2",key:"1di99g"}],["path",{d:"M12 2v20",key:"t6zp3m"}]]),Je("AlignHorizontalJustifyEnd",[["rect",{x:"2",y:"5",width:"6",height:"14",rx:"2",key:"15angl"}],["rect",{x:"12",y:"7",width:"6",height:"10",rx:"2",key:"150rwc"}],["path",{d:"M22 2v20",key:"40qfg1"}]]),Je("AlignHorizontalJustifyStart",[["rect",{x:"6",y:"5",width:"6",height:"14",rx:"2",key:"1mezge"}],["rect",{x:"16",y:"7",width:"6",height:"10",rx:"2",key:"1di99g"}],["path",{d:"M2 2v20",key:"1ivd8o"}]]),Je("AlignHorizontalSpaceAround",[["rect",{x:"9",y:"7",width:"6",height:"10",rx:"2",key:"7k3bt6"}],["path",{d:"M4 22V2",key:"tsjzd3"}],["path",{d:"M20 22V2",key:"1bnhr8"}]]),Je("AlignHorizontalSpaceBetween",[["rect",{x:"3",y:"5",width:"6",height:"14",rx:"2",key:"iybqme"}],["rect",{x:"15",y:"7",width:"6",height:"10",rx:"2",key:"11q98m"}],["path",{d:"M3 2v20",key:"1d2pfg"}],["path",{d:"M21 2v20",key:"p059bm"}]]),Je("AlignJustify",[["line",{x1:"3",y1:"6",x2:"21",y2:"6",key:"1tp2lp"}],["line",{x1:"3",y1:"12",x2:"21",y2:"12",key:"1aui40"}],["line",{x1:"