@local-logic/design-system 0.7.30 → 0.7.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js
CHANGED
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
fill-[var(--fill)]
|
|
71
71
|
group-hover/color-icon:fill-base-white
|
|
72
72
|
group-data-[is-active=true]/color-icon:fill-base-white
|
|
73
|
-
`;function xs({element:e,backgroundColor:t="gray",fillColor:n="black"}){return b.jsx("span",{className:Yf,"data-testid":"icon-background",style:{"--background":t,"--fill":n},children:E.cloneElement(e,{className:Xf,"aria-hidden":"true","data-testid":"icon"})})}function qf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ss={exports:{}},le=Ss.exports={},Re,_e;function Lr(){throw new Error("setTimeout has not been defined")}function Rr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Re=setTimeout:Re=Lr}catch{Re=Lr}try{typeof clearTimeout=="function"?_e=clearTimeout:_e=Rr}catch{_e=Rr}})();function As(e){if(Re===setTimeout)return setTimeout(e,0);if((Re===Lr||!Re)&&setTimeout)return Re=setTimeout,setTimeout(e,0);try{return Re(e,0)}catch{try{return Re.call(null,e,0)}catch{return Re.call(this,e,0)}}}function Qf(e){if(_e===clearTimeout)return clearTimeout(e);if((_e===Rr||!_e)&&clearTimeout)return _e=clearTimeout,clearTimeout(e);try{return _e(e)}catch{try{return _e.call(null,e)}catch{return _e.call(this,e)}}}var Ze=[],_t=!1,yt,jn=-1;function Jf(){!_t||!yt||(_t=!1,yt.length?Ze=yt.concat(Ze):jn=-1,Ze.length&&Cs())}function Cs(){if(!_t){var e=As(Jf);_t=!0;for(var t=Ze.length;t;){for(yt=Ze,Ze=[];++jn<t;)yt&&yt[jn].run();jn=-1,t=Ze.length}yt=null,_t=!1,Qf(e)}}le.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];Ze.push(new Ps(e,t)),Ze.length===1&&!_t&&As(Cs)};function Ps(e,t){this.fun=e,this.array=t}Ps.prototype.run=function(){this.fun.apply(null,this.array)},le.title="browser",le.browser=!0,le.env={},le.argv=[],le.version="",le.versions={};function He(){}le.on=He,le.addListener=He,le.once=He,le.off=He,le.removeListener=He,le.removeAllListeners=He,le.emit=He,le.prependListener=He,le.prependOnceListener=He,le.listeners=function(e){return[]},le.binding=function(e){throw new Error("process.binding is not supported")},le.cwd=function(){return"/"},le.chdir=function(e){throw new Error("process.chdir is not supported")},le.umask=function(){return 0};var eh=Ss.exports;const z=qf(eh);var th=function(t){return nh(t)&&!rh(t)};function nh(e){return!!e&&typeof e=="object"}function rh(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||sh(e)}var oh=typeof Symbol=="function"&&Symbol.for,ih=oh?Symbol.for("react.element"):60103;function sh(e){return e.$$typeof===ih}function ah(e){return Array.isArray(e)?[]:{}}function Bn(e,t){return t.clone!==!1&&t.isMergeableObject(e)?un(ah(e),e,t):e}function ch(e,t,n){return e.concat(t).map(function(r){return Bn(r,n)})}function lh(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(o){r[o]=Bn(e[o],n)}),Object.keys(t).forEach(function(o){!n.isMergeableObject(t[o])||!e[o]?r[o]=Bn(t[o],n):r[o]=un(e[o],t[o],n)}),r}function un(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||ch,n.isMergeableObject=n.isMergeableObject||th;var r=Array.isArray(t),o=Array.isArray(e),i=r===o;return i?r?n.arrayMerge(e,t,n):lh(e,t,n):Bn(t,n)}un.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,o){return un(r,o,n)},{})};var _r=un;const Un=globalThis||void 0||self;var Ms=typeof Un=="object"&&Un&&Un.Object===Object&&Un,uh=typeof self=="object"&&self&&self.Object===Object&&self,je=Ms||uh||Function("return this")(),nt=je.Symbol,Ds=Object.prototype,dh=Ds.hasOwnProperty,fh=Ds.toString,dn=nt?nt.toStringTag:void 0;function hh(e){var t=dh.call(e,dn),n=e[dn];try{e[dn]=void 0;var r=!0}catch{}var o=fh.call(e);return r&&(t?e[dn]=n:delete e[dn]),o}var ph=Object.prototype,mh=ph.toString;function gh(e){return mh.call(e)}var yh="[object Null]",vh="[object Undefined]",Os=nt?nt.toStringTag:void 0;function vt(e){return e==null?e===void 0?vh:yh:Os&&Os in Object(e)?hh(e):gh(e)}function Vs(e,t){return function(n){return e(t(n))}}var jr=Vs(Object.getPrototypeOf,Object);function bt(e){return e!=null&&typeof e=="object"}var bh="[object Object]",wh=Function.prototype,Th=Object.prototype,Fs=wh.toString,Eh=Th.hasOwnProperty,xh=Fs.call(Object);function ks(e){if(!bt(e)||vt(e)!=bh)return!1;var t=jr(e);if(t===null)return!0;var n=Eh.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Fs.call(n)==xh}function Sh(){this.__data__=[],this.size=0}function Is(e,t){return e===t||e!==e&&t!==t}function $n(e,t){for(var n=e.length;n--;)if(Is(e[n][0],t))return n;return-1}var Ah=Array.prototype,Ch=Ah.splice;function Ph(e){var t=this.__data__,n=$n(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Ch.call(t,n,1),--this.size,!0}function Mh(e){var t=this.__data__,n=$n(t,e);return n<0?void 0:t[n][1]}function Dh(e){return $n(this.__data__,e)>-1}function Oh(e,t){var n=this.__data__,r=$n(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Ke(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ke.prototype.clear=Sh,Ke.prototype.delete=Ph,Ke.prototype.get=Mh,Ke.prototype.has=Dh,Ke.prototype.set=Oh;function Vh(){this.__data__=new Ke,this.size=0}function Fh(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function kh(e){return this.__data__.get(e)}function Ih(e){return this.__data__.has(e)}function fn(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Nh="[object AsyncFunction]",Lh="[object Function]",Rh="[object GeneratorFunction]",_h="[object Proxy]";function Ns(e){if(!fn(e))return!1;var t=vt(e);return t==Lh||t==Rh||t==Nh||t==_h}var Br=je["__core-js_shared__"],Ls=function(){var e=/[^.]+$/.exec(Br&&Br.keys&&Br.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function jh(e){return!!Ls&&Ls in e}var Bh=Function.prototype,Uh=Bh.toString;function wt(e){if(e!=null){try{return Uh.call(e)}catch{}try{return e+""}catch{}}return""}var $h=/[\\^$.*+?()[\]{}|]/g,Wh=/^\[object .+?Constructor\]$/,zh=Function.prototype,Zh=Object.prototype,Hh=zh.toString,Kh=Zh.hasOwnProperty,Gh=RegExp("^"+Hh.call(Kh).replace($h,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Yh(e){if(!fn(e)||jh(e))return!1;var t=Ns(e)?Gh:Wh;return t.test(wt(e))}function Xh(e,t){return e==null?void 0:e[t]}function Tt(e,t){var n=Xh(e,t);return Yh(n)?n:void 0}var hn=Tt(je,"Map"),pn=Tt(Object,"create");function qh(){this.__data__=pn?pn(null):{},this.size=0}function Qh(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Jh="__lodash_hash_undefined__",ep=Object.prototype,tp=ep.hasOwnProperty;function np(e){var t=this.__data__;if(pn){var n=t[e];return n===Jh?void 0:n}return tp.call(t,e)?t[e]:void 0}var rp=Object.prototype,op=rp.hasOwnProperty;function ip(e){var t=this.__data__;return pn?t[e]!==void 0:op.call(t,e)}var sp="__lodash_hash_undefined__";function ap(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=pn&&t===void 0?sp:t,this}function Et(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Et.prototype.clear=qh,Et.prototype.delete=Qh,Et.prototype.get=np,Et.prototype.has=ip,Et.prototype.set=ap;function cp(){this.size=0,this.__data__={hash:new Et,map:new(hn||Ke),string:new Et}}function lp(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Wn(e,t){var n=e.__data__;return lp(t)?n[typeof t=="string"?"string":"hash"]:n.map}function up(e){var t=Wn(this,e).delete(e);return this.size-=t?1:0,t}function dp(e){return Wn(this,e).get(e)}function fp(e){return Wn(this,e).has(e)}function hp(e,t){var n=Wn(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function rt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}rt.prototype.clear=cp,rt.prototype.delete=up,rt.prototype.get=dp,rt.prototype.has=fp,rt.prototype.set=hp;var pp=200;function mp(e,t){var n=this.__data__;if(n instanceof Ke){var r=n.__data__;if(!hn||r.length<pp-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new rt(r)}return n.set(e,t),this.size=n.size,this}function jt(e){var t=this.__data__=new Ke(e);this.size=t.size}jt.prototype.clear=Vh,jt.prototype.delete=Fh,jt.prototype.get=kh,jt.prototype.has=Ih,jt.prototype.set=mp;function gp(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var Rs=function(){try{var e=Tt(Object,"defineProperty");return e({},"",{}),e}catch{}}();function _s(e,t,n){t=="__proto__"&&Rs?Rs(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var yp=Object.prototype,vp=yp.hasOwnProperty;function js(e,t,n){var r=e[t];(!(vp.call(e,t)&&Is(r,n))||n===void 0&&!(t in e))&&_s(e,t,n)}function zn(e,t,n,r){var o=!n;n||(n={});for(var i=-1,s=t.length;++i<s;){var a=t[i],c=void 0;c===void 0&&(c=e[a]),o?_s(n,a,c):js(n,a,c)}return n}function bp(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var wp="[object Arguments]";function Bs(e){return bt(e)&&vt(e)==wp}var Us=Object.prototype,Tp=Us.hasOwnProperty,Ep=Us.propertyIsEnumerable,xp=Bs(function(){return arguments}())?Bs:function(e){return bt(e)&&Tp.call(e,"callee")&&!Ep.call(e,"callee")},mn=Array.isArray;function Sp(){return!1}var $s=typeof K=="object"&&K&&!K.nodeType&&K,Ws=$s&&typeof module=="object"&&module&&!module.nodeType&&module,Ap=Ws&&Ws.exports===$s,zs=Ap?je.Buffer:void 0,Cp=zs?zs.isBuffer:void 0,Zs=Cp||Sp,Pp=9007199254740991,Mp=/^(?:0|[1-9]\d*)$/;function Dp(e,t){var n=typeof e;return t=t??Pp,!!t&&(n=="number"||n!="symbol"&&Mp.test(e))&&e>-1&&e%1==0&&e<t}var Op=9007199254740991;function Hs(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Op}var Vp="[object Arguments]",Fp="[object Array]",kp="[object Boolean]",Ip="[object Date]",Np="[object Error]",Lp="[object Function]",Rp="[object Map]",_p="[object Number]",jp="[object Object]",Bp="[object RegExp]",Up="[object Set]",$p="[object String]",Wp="[object WeakMap]",zp="[object ArrayBuffer]",Zp="[object DataView]",Hp="[object Float32Array]",Kp="[object Float64Array]",Gp="[object Int8Array]",Yp="[object Int16Array]",Xp="[object Int32Array]",qp="[object Uint8Array]",Qp="[object Uint8ClampedArray]",Jp="[object Uint16Array]",em="[object Uint32Array]",q={};q[Hp]=q[Kp]=q[Gp]=q[Yp]=q[Xp]=q[qp]=q[Qp]=q[Jp]=q[em]=!0,q[Vp]=q[Fp]=q[zp]=q[kp]=q[Zp]=q[Ip]=q[Np]=q[Lp]=q[Rp]=q[_p]=q[jp]=q[Bp]=q[Up]=q[$p]=q[Wp]=!1;function tm(e){return bt(e)&&Hs(e.length)&&!!q[vt(e)]}function Ur(e){return function(t){return e(t)}}var Ks=typeof K=="object"&&K&&!K.nodeType&&K,gn=Ks&&typeof module=="object"&&module&&!module.nodeType&&module,nm=gn&&gn.exports===Ks,$r=nm&&Ms.process,Bt=function(){try{var e=gn&&gn.require&&gn.require("util").types;return e||$r&&$r.binding&&$r.binding("util")}catch{}}(),Gs=Bt&&Bt.isTypedArray,rm=Gs?Ur(Gs):tm,om=Object.prototype,im=om.hasOwnProperty;function Ys(e,t){var n=mn(e),r=!n&&xp(e),o=!n&&!r&&Zs(e),i=!n&&!r&&!o&&rm(e),s=n||r||o||i,a=s?bp(e.length,String):[],c=a.length;for(var l in e)(t||im.call(e,l))&&!(s&&(l=="length"||o&&(l=="offset"||l=="parent")||i&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||Dp(l,c)))&&a.push(l);return a}var sm=Object.prototype;function Wr(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||sm;return e===n}var am=Vs(Object.keys,Object),cm=Object.prototype,lm=cm.hasOwnProperty;function um(e){if(!Wr(e))return am(e);var t=[];for(var n in Object(e))lm.call(e,n)&&n!="constructor"&&t.push(n);return t}function Xs(e){return e!=null&&Hs(e.length)&&!Ns(e)}function zr(e){return Xs(e)?Ys(e):um(e)}function dm(e,t){return e&&zn(t,zr(t),e)}function fm(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var hm=Object.prototype,pm=hm.hasOwnProperty;function mm(e){if(!fn(e))return fm(e);var t=Wr(e),n=[];for(var r in e)r=="constructor"&&(t||!pm.call(e,r))||n.push(r);return n}function Zr(e){return Xs(e)?Ys(e,!0):mm(e)}function gm(e,t){return e&&zn(t,Zr(t),e)}var qs=typeof K=="object"&&K&&!K.nodeType&&K,Qs=qs&&typeof module=="object"&&module&&!module.nodeType&&module,ym=Qs&&Qs.exports===qs,Js=ym?je.Buffer:void 0,ea=Js?Js.allocUnsafe:void 0;function vm(e,t){if(t)return e.slice();var n=e.length,r=ea?ea(n):new e.constructor(n);return e.copy(r),r}function ta(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function bm(e,t){for(var n=-1,r=e==null?0:e.length,o=0,i=[];++n<r;){var s=e[n];t(s,n,e)&&(i[o++]=s)}return i}function na(){return[]}var wm=Object.prototype,Tm=wm.propertyIsEnumerable,ra=Object.getOwnPropertySymbols,Hr=ra?function(e){return e==null?[]:(e=Object(e),bm(ra(e),function(t){return Tm.call(e,t)}))}:na;function Em(e,t){return zn(e,Hr(e),t)}function oa(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var xm=Object.getOwnPropertySymbols,ia=xm?function(e){for(var t=[];e;)oa(t,Hr(e)),e=jr(e);return t}:na;function Sm(e,t){return zn(e,ia(e),t)}function sa(e,t,n){var r=t(e);return mn(e)?r:oa(r,n(e))}function Am(e){return sa(e,zr,Hr)}function Cm(e){return sa(e,Zr,ia)}var Kr=Tt(je,"DataView"),Gr=Tt(je,"Promise"),Yr=Tt(je,"Set"),Xr=Tt(je,"WeakMap"),aa="[object Map]",Pm="[object Object]",ca="[object Promise]",la="[object Set]",ua="[object WeakMap]",da="[object DataView]",Mm=wt(Kr),Dm=wt(hn),Om=wt(Gr),Vm=wt(Yr),Fm=wt(Xr),Ge=vt;(Kr&&Ge(new Kr(new ArrayBuffer(1)))!=da||hn&&Ge(new hn)!=aa||Gr&&Ge(Gr.resolve())!=ca||Yr&&Ge(new Yr)!=la||Xr&&Ge(new Xr)!=ua)&&(Ge=function(e){var t=vt(e),n=t==Pm?e.constructor:void 0,r=n?wt(n):"";if(r)switch(r){case Mm:return da;case Dm:return aa;case Om:return ca;case Vm:return la;case Fm:return ua}return t});var km=Object.prototype,Im=km.hasOwnProperty;function Nm(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&Im.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var fa=je.Uint8Array;function qr(e){var t=new e.constructor(e.byteLength);return new fa(t).set(new fa(e)),t}function Lm(e,t){var n=t?qr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var Rm=/\w*$/;function _m(e){var t=new e.constructor(e.source,Rm.exec(e));return t.lastIndex=e.lastIndex,t}var ha=nt?nt.prototype:void 0,pa=ha?ha.valueOf:void 0;function jm(e){return pa?Object(pa.call(e)):{}}function Bm(e,t){var n=t?qr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var Um="[object Boolean]",$m="[object Date]",Wm="[object Map]",zm="[object Number]",Zm="[object RegExp]",Hm="[object Set]",Km="[object String]",Gm="[object Symbol]",Ym="[object ArrayBuffer]",Xm="[object DataView]",qm="[object Float32Array]",Qm="[object Float64Array]",Jm="[object Int8Array]",eg="[object Int16Array]",tg="[object Int32Array]",ng="[object Uint8Array]",rg="[object Uint8ClampedArray]",og="[object Uint16Array]",ig="[object Uint32Array]";function sg(e,t,n){var r=e.constructor;switch(t){case Ym:return qr(e);case Um:case $m:return new r(+e);case Xm:return Lm(e,n);case qm:case Qm:case Jm:case eg:case tg:case ng:case rg:case og:case ig:return Bm(e,n);case Wm:return new r;case zm:case Km:return new r(e);case Zm:return _m(e);case Hm:return new r;case Gm:return jm(e)}}var ma=Object.create,ag=function(){function e(){}return function(t){if(!fn(t))return{};if(ma)return ma(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function cg(e){return typeof e.constructor=="function"&&!Wr(e)?ag(jr(e)):{}}var lg="[object Map]";function ug(e){return bt(e)&&Ge(e)==lg}var ga=Bt&&Bt.isMap,dg=ga?Ur(ga):ug,fg="[object Set]";function hg(e){return bt(e)&&Ge(e)==fg}var ya=Bt&&Bt.isSet,pg=ya?Ur(ya):hg,mg=1,gg=2,yg=4,va="[object Arguments]",vg="[object Array]",bg="[object Boolean]",wg="[object Date]",Tg="[object Error]",ba="[object Function]",Eg="[object GeneratorFunction]",xg="[object Map]",Sg="[object Number]",wa="[object Object]",Ag="[object RegExp]",Cg="[object Set]",Pg="[object String]",Mg="[object Symbol]",Dg="[object WeakMap]",Og="[object ArrayBuffer]",Vg="[object DataView]",Fg="[object Float32Array]",kg="[object Float64Array]",Ig="[object Int8Array]",Ng="[object Int16Array]",Lg="[object Int32Array]",Rg="[object Uint8Array]",_g="[object Uint8ClampedArray]",jg="[object Uint16Array]",Bg="[object Uint32Array]",X={};X[va]=X[vg]=X[Og]=X[Vg]=X[bg]=X[wg]=X[Fg]=X[kg]=X[Ig]=X[Ng]=X[Lg]=X[xg]=X[Sg]=X[wa]=X[Ag]=X[Cg]=X[Pg]=X[Mg]=X[Rg]=X[_g]=X[jg]=X[Bg]=!0,X[Tg]=X[ba]=X[Dg]=!1;function yn(e,t,n,r,o,i){var s,a=t&mg,c=t&gg,l=t&yg;if(s!==void 0)return s;if(!fn(e))return e;var u=mn(e);if(u){if(s=Nm(e),!a)return ta(e,s)}else{var d=Ge(e),h=d==ba||d==Eg;if(Zs(e))return vm(e,a);if(d==wa||d==va||h&&!o){if(s=c||h?{}:cg(e),!a)return c?Sm(e,gm(s,e)):Em(e,dm(s,e))}else{if(!X[d])return o?e:{};s=sg(e,d,a)}}i||(i=new jt);var p=i.get(e);if(p)return p;i.set(e,s),pg(e)?e.forEach(function(g){s.add(yn(g,t,n,g,e,i))}):dg(e)&&e.forEach(function(g,v){s.set(v,yn(g,t,n,v,e,i))});var y=l?c?Cm:Am:c?Zr:zr,m=u?void 0:y(e);return gp(m||e,function(g,v){m&&(v=g,g=e[v]),js(s,v,yn(g,t,n,v,e,i))}),s}var Ug=1,$g=4;function vn(e){return yn(e,Ug|$g)}function Ta(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Qr,Ea;function Wg(){if(Ea)return Qr;Ea=1;var e=Array.isArray,t=Object.keys,n=Object.prototype.hasOwnProperty,r=typeof Element<"u";function o(i,s){if(i===s)return!0;if(i&&s&&typeof i=="object"&&typeof s=="object"){var a=e(i),c=e(s),l,u,d;if(a&&c){if(u=i.length,u!=s.length)return!1;for(l=u;l--!==0;)if(!o(i[l],s[l]))return!1;return!0}if(a!=c)return!1;var h=i instanceof Date,p=s instanceof Date;if(h!=p)return!1;if(h&&p)return i.getTime()==s.getTime();var y=i instanceof RegExp,m=s instanceof RegExp;if(y!=m)return!1;if(y&&m)return i.toString()==s.toString();var g=t(i);if(u=g.length,u!==t(s).length)return!1;for(l=u;l--!==0;)if(!n.call(s,g[l]))return!1;if(r&&i instanceof Element&&s instanceof Element)return i===s;for(l=u;l--!==0;)if(d=g[l],!(d==="_owner"&&i.$$typeof)&&!o(i[d],s[d]))return!1;return!0}return i!==i&&s!==s}return Qr=function(s,a){try{return o(s,a)}catch(c){if(c.message&&c.message.match(/stack|recursion/i)||c.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",c.name,c.message),!1;throw c}},Qr}var zg=Wg();const ot=Ta(zg);var Zg=z.env.NODE_ENV==="production";function ae(e,t){if(!Zg){var n="Warning: "+t;typeof console<"u"&&console.warn(n);try{throw Error(n)}catch{}}}var Hg=4;function xa(e){return yn(e,Hg)}function Sa(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var Kg="[object Symbol]";function Jr(e){return typeof e=="symbol"||bt(e)&&vt(e)==Kg}var Gg="Expected a function";function eo(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Gg);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var s=e.apply(this,r);return n.cache=i.set(o,s)||i,s};return n.cache=new(eo.Cache||rt),n}eo.Cache=rt;var Yg=500;function Xg(e){var t=eo(e,function(r){return n.size===Yg&&n.clear(),r}),n=t.cache;return t}var qg=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Qg=/\\(\\)?/g,Jg=Xg(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(qg,function(n,r,o,i){t.push(o?i.replace(Qg,"$1"):r||n)}),t});function e0(e){if(typeof e=="string"||Jr(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var Aa=nt?nt.prototype:void 0,Ca=Aa?Aa.toString:void 0;function Pa(e){if(typeof e=="string")return e;if(mn(e))return Sa(e,Pa)+"";if(Jr(e))return Ca?Ca.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function t0(e){return e==null?"":Pa(e)}function Ma(e){return mn(e)?Sa(e,e0):Jr(e)?[e]:ta(Jg(t0(e)))}var Zn={exports:{}},Z={};/** @license React v16.13.1
|
|
73
|
+
`;function xs({element:e,backgroundColor:t="gray",fillColor:n="black"}){return b.jsx("span",{className:Yf,"data-testid":"icon-background","data-background-color":t,"data-fill-color":n,style:{"--background":t,"--fill":n},children:E.cloneElement(e,{className:Xf,"aria-hidden":"true","data-testid":"icon"})})}function qf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ss={exports:{}},le=Ss.exports={},Re,_e;function Lr(){throw new Error("setTimeout has not been defined")}function Rr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Re=setTimeout:Re=Lr}catch{Re=Lr}try{typeof clearTimeout=="function"?_e=clearTimeout:_e=Rr}catch{_e=Rr}})();function As(e){if(Re===setTimeout)return setTimeout(e,0);if((Re===Lr||!Re)&&setTimeout)return Re=setTimeout,setTimeout(e,0);try{return Re(e,0)}catch{try{return Re.call(null,e,0)}catch{return Re.call(this,e,0)}}}function Qf(e){if(_e===clearTimeout)return clearTimeout(e);if((_e===Rr||!_e)&&clearTimeout)return _e=clearTimeout,clearTimeout(e);try{return _e(e)}catch{try{return _e.call(null,e)}catch{return _e.call(this,e)}}}var Ze=[],_t=!1,yt,jn=-1;function Jf(){!_t||!yt||(_t=!1,yt.length?Ze=yt.concat(Ze):jn=-1,Ze.length&&Cs())}function Cs(){if(!_t){var e=As(Jf);_t=!0;for(var t=Ze.length;t;){for(yt=Ze,Ze=[];++jn<t;)yt&&yt[jn].run();jn=-1,t=Ze.length}yt=null,_t=!1,Qf(e)}}le.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];Ze.push(new Ps(e,t)),Ze.length===1&&!_t&&As(Cs)};function Ps(e,t){this.fun=e,this.array=t}Ps.prototype.run=function(){this.fun.apply(null,this.array)},le.title="browser",le.browser=!0,le.env={},le.argv=[],le.version="",le.versions={};function He(){}le.on=He,le.addListener=He,le.once=He,le.off=He,le.removeListener=He,le.removeAllListeners=He,le.emit=He,le.prependListener=He,le.prependOnceListener=He,le.listeners=function(e){return[]},le.binding=function(e){throw new Error("process.binding is not supported")},le.cwd=function(){return"/"},le.chdir=function(e){throw new Error("process.chdir is not supported")},le.umask=function(){return 0};var eh=Ss.exports;const z=qf(eh);var th=function(t){return nh(t)&&!rh(t)};function nh(e){return!!e&&typeof e=="object"}function rh(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||sh(e)}var oh=typeof Symbol=="function"&&Symbol.for,ih=oh?Symbol.for("react.element"):60103;function sh(e){return e.$$typeof===ih}function ah(e){return Array.isArray(e)?[]:{}}function Bn(e,t){return t.clone!==!1&&t.isMergeableObject(e)?un(ah(e),e,t):e}function ch(e,t,n){return e.concat(t).map(function(r){return Bn(r,n)})}function lh(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(o){r[o]=Bn(e[o],n)}),Object.keys(t).forEach(function(o){!n.isMergeableObject(t[o])||!e[o]?r[o]=Bn(t[o],n):r[o]=un(e[o],t[o],n)}),r}function un(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||ch,n.isMergeableObject=n.isMergeableObject||th;var r=Array.isArray(t),o=Array.isArray(e),i=r===o;return i?r?n.arrayMerge(e,t,n):lh(e,t,n):Bn(t,n)}un.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,o){return un(r,o,n)},{})};var _r=un;const Un=globalThis||void 0||self;var Ms=typeof Un=="object"&&Un&&Un.Object===Object&&Un,uh=typeof self=="object"&&self&&self.Object===Object&&self,je=Ms||uh||Function("return this")(),nt=je.Symbol,Ds=Object.prototype,dh=Ds.hasOwnProperty,fh=Ds.toString,dn=nt?nt.toStringTag:void 0;function hh(e){var t=dh.call(e,dn),n=e[dn];try{e[dn]=void 0;var r=!0}catch{}var o=fh.call(e);return r&&(t?e[dn]=n:delete e[dn]),o}var ph=Object.prototype,mh=ph.toString;function gh(e){return mh.call(e)}var yh="[object Null]",vh="[object Undefined]",Os=nt?nt.toStringTag:void 0;function vt(e){return e==null?e===void 0?vh:yh:Os&&Os in Object(e)?hh(e):gh(e)}function Vs(e,t){return function(n){return e(t(n))}}var jr=Vs(Object.getPrototypeOf,Object);function bt(e){return e!=null&&typeof e=="object"}var bh="[object Object]",wh=Function.prototype,Th=Object.prototype,Fs=wh.toString,Eh=Th.hasOwnProperty,xh=Fs.call(Object);function ks(e){if(!bt(e)||vt(e)!=bh)return!1;var t=jr(e);if(t===null)return!0;var n=Eh.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Fs.call(n)==xh}function Sh(){this.__data__=[],this.size=0}function Is(e,t){return e===t||e!==e&&t!==t}function $n(e,t){for(var n=e.length;n--;)if(Is(e[n][0],t))return n;return-1}var Ah=Array.prototype,Ch=Ah.splice;function Ph(e){var t=this.__data__,n=$n(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Ch.call(t,n,1),--this.size,!0}function Mh(e){var t=this.__data__,n=$n(t,e);return n<0?void 0:t[n][1]}function Dh(e){return $n(this.__data__,e)>-1}function Oh(e,t){var n=this.__data__,r=$n(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Ke(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ke.prototype.clear=Sh,Ke.prototype.delete=Ph,Ke.prototype.get=Mh,Ke.prototype.has=Dh,Ke.prototype.set=Oh;function Vh(){this.__data__=new Ke,this.size=0}function Fh(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function kh(e){return this.__data__.get(e)}function Ih(e){return this.__data__.has(e)}function fn(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Nh="[object AsyncFunction]",Lh="[object Function]",Rh="[object GeneratorFunction]",_h="[object Proxy]";function Ns(e){if(!fn(e))return!1;var t=vt(e);return t==Lh||t==Rh||t==Nh||t==_h}var Br=je["__core-js_shared__"],Ls=function(){var e=/[^.]+$/.exec(Br&&Br.keys&&Br.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function jh(e){return!!Ls&&Ls in e}var Bh=Function.prototype,Uh=Bh.toString;function wt(e){if(e!=null){try{return Uh.call(e)}catch{}try{return e+""}catch{}}return""}var $h=/[\\^$.*+?()[\]{}|]/g,Wh=/^\[object .+?Constructor\]$/,zh=Function.prototype,Zh=Object.prototype,Hh=zh.toString,Kh=Zh.hasOwnProperty,Gh=RegExp("^"+Hh.call(Kh).replace($h,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Yh(e){if(!fn(e)||jh(e))return!1;var t=Ns(e)?Gh:Wh;return t.test(wt(e))}function Xh(e,t){return e==null?void 0:e[t]}function Tt(e,t){var n=Xh(e,t);return Yh(n)?n:void 0}var hn=Tt(je,"Map"),pn=Tt(Object,"create");function qh(){this.__data__=pn?pn(null):{},this.size=0}function Qh(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Jh="__lodash_hash_undefined__",ep=Object.prototype,tp=ep.hasOwnProperty;function np(e){var t=this.__data__;if(pn){var n=t[e];return n===Jh?void 0:n}return tp.call(t,e)?t[e]:void 0}var rp=Object.prototype,op=rp.hasOwnProperty;function ip(e){var t=this.__data__;return pn?t[e]!==void 0:op.call(t,e)}var sp="__lodash_hash_undefined__";function ap(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=pn&&t===void 0?sp:t,this}function Et(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Et.prototype.clear=qh,Et.prototype.delete=Qh,Et.prototype.get=np,Et.prototype.has=ip,Et.prototype.set=ap;function cp(){this.size=0,this.__data__={hash:new Et,map:new(hn||Ke),string:new Et}}function lp(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Wn(e,t){var n=e.__data__;return lp(t)?n[typeof t=="string"?"string":"hash"]:n.map}function up(e){var t=Wn(this,e).delete(e);return this.size-=t?1:0,t}function dp(e){return Wn(this,e).get(e)}function fp(e){return Wn(this,e).has(e)}function hp(e,t){var n=Wn(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function rt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}rt.prototype.clear=cp,rt.prototype.delete=up,rt.prototype.get=dp,rt.prototype.has=fp,rt.prototype.set=hp;var pp=200;function mp(e,t){var n=this.__data__;if(n instanceof Ke){var r=n.__data__;if(!hn||r.length<pp-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new rt(r)}return n.set(e,t),this.size=n.size,this}function jt(e){var t=this.__data__=new Ke(e);this.size=t.size}jt.prototype.clear=Vh,jt.prototype.delete=Fh,jt.prototype.get=kh,jt.prototype.has=Ih,jt.prototype.set=mp;function gp(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var Rs=function(){try{var e=Tt(Object,"defineProperty");return e({},"",{}),e}catch{}}();function _s(e,t,n){t=="__proto__"&&Rs?Rs(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var yp=Object.prototype,vp=yp.hasOwnProperty;function js(e,t,n){var r=e[t];(!(vp.call(e,t)&&Is(r,n))||n===void 0&&!(t in e))&&_s(e,t,n)}function zn(e,t,n,r){var o=!n;n||(n={});for(var i=-1,s=t.length;++i<s;){var a=t[i],c=void 0;c===void 0&&(c=e[a]),o?_s(n,a,c):js(n,a,c)}return n}function bp(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var wp="[object Arguments]";function Bs(e){return bt(e)&&vt(e)==wp}var Us=Object.prototype,Tp=Us.hasOwnProperty,Ep=Us.propertyIsEnumerable,xp=Bs(function(){return arguments}())?Bs:function(e){return bt(e)&&Tp.call(e,"callee")&&!Ep.call(e,"callee")},mn=Array.isArray;function Sp(){return!1}var $s=typeof K=="object"&&K&&!K.nodeType&&K,Ws=$s&&typeof module=="object"&&module&&!module.nodeType&&module,Ap=Ws&&Ws.exports===$s,zs=Ap?je.Buffer:void 0,Cp=zs?zs.isBuffer:void 0,Zs=Cp||Sp,Pp=9007199254740991,Mp=/^(?:0|[1-9]\d*)$/;function Dp(e,t){var n=typeof e;return t=t??Pp,!!t&&(n=="number"||n!="symbol"&&Mp.test(e))&&e>-1&&e%1==0&&e<t}var Op=9007199254740991;function Hs(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Op}var Vp="[object Arguments]",Fp="[object Array]",kp="[object Boolean]",Ip="[object Date]",Np="[object Error]",Lp="[object Function]",Rp="[object Map]",_p="[object Number]",jp="[object Object]",Bp="[object RegExp]",Up="[object Set]",$p="[object String]",Wp="[object WeakMap]",zp="[object ArrayBuffer]",Zp="[object DataView]",Hp="[object Float32Array]",Kp="[object Float64Array]",Gp="[object Int8Array]",Yp="[object Int16Array]",Xp="[object Int32Array]",qp="[object Uint8Array]",Qp="[object Uint8ClampedArray]",Jp="[object Uint16Array]",em="[object Uint32Array]",q={};q[Hp]=q[Kp]=q[Gp]=q[Yp]=q[Xp]=q[qp]=q[Qp]=q[Jp]=q[em]=!0,q[Vp]=q[Fp]=q[zp]=q[kp]=q[Zp]=q[Ip]=q[Np]=q[Lp]=q[Rp]=q[_p]=q[jp]=q[Bp]=q[Up]=q[$p]=q[Wp]=!1;function tm(e){return bt(e)&&Hs(e.length)&&!!q[vt(e)]}function Ur(e){return function(t){return e(t)}}var Ks=typeof K=="object"&&K&&!K.nodeType&&K,gn=Ks&&typeof module=="object"&&module&&!module.nodeType&&module,nm=gn&&gn.exports===Ks,$r=nm&&Ms.process,Bt=function(){try{var e=gn&&gn.require&&gn.require("util").types;return e||$r&&$r.binding&&$r.binding("util")}catch{}}(),Gs=Bt&&Bt.isTypedArray,rm=Gs?Ur(Gs):tm,om=Object.prototype,im=om.hasOwnProperty;function Ys(e,t){var n=mn(e),r=!n&&xp(e),o=!n&&!r&&Zs(e),i=!n&&!r&&!o&&rm(e),s=n||r||o||i,a=s?bp(e.length,String):[],c=a.length;for(var l in e)(t||im.call(e,l))&&!(s&&(l=="length"||o&&(l=="offset"||l=="parent")||i&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||Dp(l,c)))&&a.push(l);return a}var sm=Object.prototype;function Wr(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||sm;return e===n}var am=Vs(Object.keys,Object),cm=Object.prototype,lm=cm.hasOwnProperty;function um(e){if(!Wr(e))return am(e);var t=[];for(var n in Object(e))lm.call(e,n)&&n!="constructor"&&t.push(n);return t}function Xs(e){return e!=null&&Hs(e.length)&&!Ns(e)}function zr(e){return Xs(e)?Ys(e):um(e)}function dm(e,t){return e&&zn(t,zr(t),e)}function fm(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var hm=Object.prototype,pm=hm.hasOwnProperty;function mm(e){if(!fn(e))return fm(e);var t=Wr(e),n=[];for(var r in e)r=="constructor"&&(t||!pm.call(e,r))||n.push(r);return n}function Zr(e){return Xs(e)?Ys(e,!0):mm(e)}function gm(e,t){return e&&zn(t,Zr(t),e)}var qs=typeof K=="object"&&K&&!K.nodeType&&K,Qs=qs&&typeof module=="object"&&module&&!module.nodeType&&module,ym=Qs&&Qs.exports===qs,Js=ym?je.Buffer:void 0,ea=Js?Js.allocUnsafe:void 0;function vm(e,t){if(t)return e.slice();var n=e.length,r=ea?ea(n):new e.constructor(n);return e.copy(r),r}function ta(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function bm(e,t){for(var n=-1,r=e==null?0:e.length,o=0,i=[];++n<r;){var s=e[n];t(s,n,e)&&(i[o++]=s)}return i}function na(){return[]}var wm=Object.prototype,Tm=wm.propertyIsEnumerable,ra=Object.getOwnPropertySymbols,Hr=ra?function(e){return e==null?[]:(e=Object(e),bm(ra(e),function(t){return Tm.call(e,t)}))}:na;function Em(e,t){return zn(e,Hr(e),t)}function oa(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var xm=Object.getOwnPropertySymbols,ia=xm?function(e){for(var t=[];e;)oa(t,Hr(e)),e=jr(e);return t}:na;function Sm(e,t){return zn(e,ia(e),t)}function sa(e,t,n){var r=t(e);return mn(e)?r:oa(r,n(e))}function Am(e){return sa(e,zr,Hr)}function Cm(e){return sa(e,Zr,ia)}var Kr=Tt(je,"DataView"),Gr=Tt(je,"Promise"),Yr=Tt(je,"Set"),Xr=Tt(je,"WeakMap"),aa="[object Map]",Pm="[object Object]",ca="[object Promise]",la="[object Set]",ua="[object WeakMap]",da="[object DataView]",Mm=wt(Kr),Dm=wt(hn),Om=wt(Gr),Vm=wt(Yr),Fm=wt(Xr),Ge=vt;(Kr&&Ge(new Kr(new ArrayBuffer(1)))!=da||hn&&Ge(new hn)!=aa||Gr&&Ge(Gr.resolve())!=ca||Yr&&Ge(new Yr)!=la||Xr&&Ge(new Xr)!=ua)&&(Ge=function(e){var t=vt(e),n=t==Pm?e.constructor:void 0,r=n?wt(n):"";if(r)switch(r){case Mm:return da;case Dm:return aa;case Om:return ca;case Vm:return la;case Fm:return ua}return t});var km=Object.prototype,Im=km.hasOwnProperty;function Nm(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&Im.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var fa=je.Uint8Array;function qr(e){var t=new e.constructor(e.byteLength);return new fa(t).set(new fa(e)),t}function Lm(e,t){var n=t?qr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var Rm=/\w*$/;function _m(e){var t=new e.constructor(e.source,Rm.exec(e));return t.lastIndex=e.lastIndex,t}var ha=nt?nt.prototype:void 0,pa=ha?ha.valueOf:void 0;function jm(e){return pa?Object(pa.call(e)):{}}function Bm(e,t){var n=t?qr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var Um="[object Boolean]",$m="[object Date]",Wm="[object Map]",zm="[object Number]",Zm="[object RegExp]",Hm="[object Set]",Km="[object String]",Gm="[object Symbol]",Ym="[object ArrayBuffer]",Xm="[object DataView]",qm="[object Float32Array]",Qm="[object Float64Array]",Jm="[object Int8Array]",eg="[object Int16Array]",tg="[object Int32Array]",ng="[object Uint8Array]",rg="[object Uint8ClampedArray]",og="[object Uint16Array]",ig="[object Uint32Array]";function sg(e,t,n){var r=e.constructor;switch(t){case Ym:return qr(e);case Um:case $m:return new r(+e);case Xm:return Lm(e,n);case qm:case Qm:case Jm:case eg:case tg:case ng:case rg:case og:case ig:return Bm(e,n);case Wm:return new r;case zm:case Km:return new r(e);case Zm:return _m(e);case Hm:return new r;case Gm:return jm(e)}}var ma=Object.create,ag=function(){function e(){}return function(t){if(!fn(t))return{};if(ma)return ma(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function cg(e){return typeof e.constructor=="function"&&!Wr(e)?ag(jr(e)):{}}var lg="[object Map]";function ug(e){return bt(e)&&Ge(e)==lg}var ga=Bt&&Bt.isMap,dg=ga?Ur(ga):ug,fg="[object Set]";function hg(e){return bt(e)&&Ge(e)==fg}var ya=Bt&&Bt.isSet,pg=ya?Ur(ya):hg,mg=1,gg=2,yg=4,va="[object Arguments]",vg="[object Array]",bg="[object Boolean]",wg="[object Date]",Tg="[object Error]",ba="[object Function]",Eg="[object GeneratorFunction]",xg="[object Map]",Sg="[object Number]",wa="[object Object]",Ag="[object RegExp]",Cg="[object Set]",Pg="[object String]",Mg="[object Symbol]",Dg="[object WeakMap]",Og="[object ArrayBuffer]",Vg="[object DataView]",Fg="[object Float32Array]",kg="[object Float64Array]",Ig="[object Int8Array]",Ng="[object Int16Array]",Lg="[object Int32Array]",Rg="[object Uint8Array]",_g="[object Uint8ClampedArray]",jg="[object Uint16Array]",Bg="[object Uint32Array]",X={};X[va]=X[vg]=X[Og]=X[Vg]=X[bg]=X[wg]=X[Fg]=X[kg]=X[Ig]=X[Ng]=X[Lg]=X[xg]=X[Sg]=X[wa]=X[Ag]=X[Cg]=X[Pg]=X[Mg]=X[Rg]=X[_g]=X[jg]=X[Bg]=!0,X[Tg]=X[ba]=X[Dg]=!1;function yn(e,t,n,r,o,i){var s,a=t&mg,c=t&gg,l=t&yg;if(s!==void 0)return s;if(!fn(e))return e;var u=mn(e);if(u){if(s=Nm(e),!a)return ta(e,s)}else{var d=Ge(e),h=d==ba||d==Eg;if(Zs(e))return vm(e,a);if(d==wa||d==va||h&&!o){if(s=c||h?{}:cg(e),!a)return c?Sm(e,gm(s,e)):Em(e,dm(s,e))}else{if(!X[d])return o?e:{};s=sg(e,d,a)}}i||(i=new jt);var p=i.get(e);if(p)return p;i.set(e,s),pg(e)?e.forEach(function(g){s.add(yn(g,t,n,g,e,i))}):dg(e)&&e.forEach(function(g,v){s.set(v,yn(g,t,n,v,e,i))});var y=l?c?Cm:Am:c?Zr:zr,m=u?void 0:y(e);return gp(m||e,function(g,v){m&&(v=g,g=e[v]),js(s,v,yn(g,t,n,v,e,i))}),s}var Ug=1,$g=4;function vn(e){return yn(e,Ug|$g)}function Ta(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Qr,Ea;function Wg(){if(Ea)return Qr;Ea=1;var e=Array.isArray,t=Object.keys,n=Object.prototype.hasOwnProperty,r=typeof Element<"u";function o(i,s){if(i===s)return!0;if(i&&s&&typeof i=="object"&&typeof s=="object"){var a=e(i),c=e(s),l,u,d;if(a&&c){if(u=i.length,u!=s.length)return!1;for(l=u;l--!==0;)if(!o(i[l],s[l]))return!1;return!0}if(a!=c)return!1;var h=i instanceof Date,p=s instanceof Date;if(h!=p)return!1;if(h&&p)return i.getTime()==s.getTime();var y=i instanceof RegExp,m=s instanceof RegExp;if(y!=m)return!1;if(y&&m)return i.toString()==s.toString();var g=t(i);if(u=g.length,u!==t(s).length)return!1;for(l=u;l--!==0;)if(!n.call(s,g[l]))return!1;if(r&&i instanceof Element&&s instanceof Element)return i===s;for(l=u;l--!==0;)if(d=g[l],!(d==="_owner"&&i.$$typeof)&&!o(i[d],s[d]))return!1;return!0}return i!==i&&s!==s}return Qr=function(s,a){try{return o(s,a)}catch(c){if(c.message&&c.message.match(/stack|recursion/i)||c.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",c.name,c.message),!1;throw c}},Qr}var zg=Wg();const ot=Ta(zg);var Zg=z.env.NODE_ENV==="production";function ae(e,t){if(!Zg){var n="Warning: "+t;typeof console<"u"&&console.warn(n);try{throw Error(n)}catch{}}}var Hg=4;function xa(e){return yn(e,Hg)}function Sa(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var Kg="[object Symbol]";function Jr(e){return typeof e=="symbol"||bt(e)&&vt(e)==Kg}var Gg="Expected a function";function eo(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Gg);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var s=e.apply(this,r);return n.cache=i.set(o,s)||i,s};return n.cache=new(eo.Cache||rt),n}eo.Cache=rt;var Yg=500;function Xg(e){var t=eo(e,function(r){return n.size===Yg&&n.clear(),r}),n=t.cache;return t}var qg=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Qg=/\\(\\)?/g,Jg=Xg(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(qg,function(n,r,o,i){t.push(o?i.replace(Qg,"$1"):r||n)}),t});function e0(e){if(typeof e=="string"||Jr(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var Aa=nt?nt.prototype:void 0,Ca=Aa?Aa.toString:void 0;function Pa(e){if(typeof e=="string")return e;if(mn(e))return Sa(e,Pa)+"";if(Jr(e))return Ca?Ca.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function t0(e){return e==null?"":Pa(e)}function Ma(e){return mn(e)?Sa(e,e0):Jr(e)?[e]:ta(Jg(t0(e)))}var Zn={exports:{}},Z={};/** @license React v16.13.1
|
|
74
74
|
* react-is.production.min.js
|
|
75
75
|
*
|
|
76
76
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -245,7 +245,7 @@
|
|
|
245
245
|
group-data-[active=true]:bg-primary-100
|
|
246
246
|
group-data-[active=true]:text-base-white
|
|
247
247
|
group-data-[active=true]:border-transparent
|
|
248
|
-
`,eT="w-5 h-5",tT="text-sm font-medium leading-5 text-nowrap";function nT({filter:e,label:t,icon:n,iconBackgroundColor:r,iconFillColor:o,isActive:i,onSelectFilter:s}){const a=()=>{s&&s(e)};return b.jsx("li",{className:Qw,"data-active":i,"data-testid":"filter-item",children:b.jsxs("button",{onClick:a,className:Jw,"data-testid":"filter-item-button",children:[r&&o?b.jsx(xs,{element:b.jsx(n,{}),backgroundColor:r,fillColor:o}):b.jsx(n,{className:eT,"data-testid":"filter-item-icon"}),b.jsx("p",{className:tT,children:t})]})})}function dt(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function Zu(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Hu(...e){return t=>{let n=!1;const r=e.map(o=>{const i=Zu(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():Zu(e[o],null)}}}}function Ae(...e){return f.useCallback(Hu(...e),e)}function rT(e,t){const n=f.createContext(t),r=i=>{const{children:s,...a}=i,c=f.useMemo(()=>a,Object.values(a));return b.jsx(n.Provider,{value:c,children:s})};r.displayName=e+"Provider";function o(i){const s=f.useContext(n);if(s)return s;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[r,o]}function Oi(e,t=[]){let n=[];function r(i,s){const a=f.createContext(s),c=n.length;n=[...n,s];const l=d=>{var v;const{scope:h,children:p,...y}=d,m=((v=h==null?void 0:h[e])==null?void 0:v[c])||a,g=f.useMemo(()=>y,Object.values(y));return b.jsx(m.Provider,{value:g,children:p})};l.displayName=i+"Provider";function u(d,h){var m;const p=((m=h==null?void 0:h[e])==null?void 0:m[c])||a,y=f.useContext(p);if(y)return y;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[l,u]}const o=()=>{const i=n.map(s=>f.createContext(s));return function(a){const c=(a==null?void 0:a[e])||i;return f.useMemo(()=>({[`__scope${e}`]:{...a,[e]:c}}),[a,c])}};return o.scopeName=e,[r,oT(o,...t)]}function oT(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((a,{useScope:c,scopeName:l})=>{const d=c(i)[`__scope${l}`];return{...a,...d}},{});return f.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}var ft=globalThis!=null&&globalThis.document?f.useLayoutEffect:()=>{},iT=f[" useId ".trim().toString()]||(()=>{}),sT=0;function Vi(e){const[t,n]=f.useState(iT());return ft(()=>{n(r=>r??String(sT++))},[e]),e||(t?`radix-${t}`:"")}var aT=f[" useInsertionEffect ".trim().toString()]||ft;function Ku({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,s]=cT({defaultProp:t,onChange:n}),a=e!==void 0,c=a?e:o;{const u=f.useRef(e!==void 0);f.useEffect(()=>{const d=u.current;d!==a&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${a?"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.`),u.current=a},[a,r])}const l=f.useCallback(u=>{var d;if(a){const h=lT(u)?u(e):u;h!==e&&((d=s.current)==null||d.call(s,h))}else i(u)},[a,e,i,s]);return[c,l]}function cT({defaultProp:e,onChange:t}){const[n,r]=f.useState(e),o=f.useRef(n),i=f.useRef(t);return aT(()=>{i.current=t},[t]),f.useEffect(()=>{var s;o.current!==n&&((s=i.current)==null||s.call(i,n),o.current=n)},[n,o]),[n,r,i]}function lT(e){return typeof e=="function"}function hr(e){const t=uT(e),n=f.forwardRef((r,o)=>{const{children:i,...s}=r,a=f.Children.toArray(i),c=a.find(fT);if(c){const l=c.props.children,u=a.map(d=>d===c?f.Children.count(l)>1?f.Children.only(null):f.isValidElement(l)?l.props.children:null:d);return b.jsx(t,{...s,ref:o,children:f.isValidElement(l)?f.cloneElement(l,void 0,u):null})}return b.jsx(t,{...s,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function uT(e){const t=f.forwardRef((n,r)=>{const{children:o,...i}=n;if(f.isValidElement(o)){const s=pT(o),a=hT(i,o.props);return o.type!==f.Fragment&&(a.ref=r?Hu(r,s):s),f.cloneElement(o,a)}return f.Children.count(o)>1?f.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var dT=Symbol("radix.slottable");function fT(e){return f.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===dT}function hT(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...a)=>{const c=i(...a);return o(...a),c}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function pT(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var mT=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ge=mT.reduce((e,t)=>{const n=hr(`Primitive.${t}`),r=f.forwardRef((o,i)=>{const{asChild:s,...a}=o,c=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),b.jsx(c,{...a,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Fi(e,t){e&&ss.flushSync(()=>e.dispatchEvent(t))}function Ne(e){const t=f.useRef(e);return f.useEffect(()=>{t.current=e}),f.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function Gu(e,t=globalThis==null?void 0:globalThis.document){const n=Ne(e);f.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var gT="DismissableLayer",ki="dismissableLayer.update",yT="dismissableLayer.pointerDownOutside",vT="dismissableLayer.focusOutside",Yu,Xu=f.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),qu=f.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:a,...c}=e,l=f.useContext(Xu),[u,d]=f.useState(null),h=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=f.useState({}),y=Ae(t,A=>d(A)),m=Array.from(l.layers),[g]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),v=m.indexOf(g),x=u?m.indexOf(u):-1,T=l.layersWithOutsidePointerEventsDisabled.size>0,C=x>=v,w=TT(A=>{const M=A.target,k=[...l.branches].some(U=>U.contains(M));!C||k||(o==null||o(A),s==null||s(A),A.defaultPrevented||a==null||a())},h),P=ET(A=>{const M=A.target;[...l.branches].some(U=>U.contains(M))||(i==null||i(A),s==null||s(A),A.defaultPrevented||a==null||a())},h);return Gu(A=>{x===l.layers.size-1&&(r==null||r(A),!A.defaultPrevented&&a&&(A.preventDefault(),a()))},h),f.useEffect(()=>{if(u)return n&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(Yu=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(u)),l.layers.add(u),Qu(),()=>{n&&l.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=Yu)}},[u,h,n,l]),f.useEffect(()=>()=>{u&&(l.layers.delete(u),l.layersWithOutsidePointerEventsDisabled.delete(u),Qu())},[u,l]),f.useEffect(()=>{const A=()=>p({});return document.addEventListener(ki,A),()=>document.removeEventListener(ki,A)},[]),b.jsx(ge.div,{...c,ref:y,style:{pointerEvents:T?C?"auto":"none":void 0,...e.style},onFocusCapture:dt(e.onFocusCapture,P.onFocusCapture),onBlurCapture:dt(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:dt(e.onPointerDownCapture,w.onPointerDownCapture)})});qu.displayName=gT;var bT="DismissableLayerBranch",wT=f.forwardRef((e,t)=>{const n=f.useContext(Xu),r=f.useRef(null),o=Ae(t,r);return f.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),b.jsx(ge.div,{...e,ref:o})});wT.displayName=bT;function TT(e,t=globalThis==null?void 0:globalThis.document){const n=Ne(e),r=f.useRef(!1),o=f.useRef(()=>{});return f.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let c=function(){Ju(yT,n,l,{discrete:!0})};const l={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function ET(e,t=globalThis==null?void 0:globalThis.document){const n=Ne(e),r=f.useRef(!1);return f.useEffect(()=>{const o=i=>{i.target&&!r.current&&Ju(vT,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Qu(){const e=new CustomEvent(ki);document.dispatchEvent(e)}function Ju(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Fi(o,i):o.dispatchEvent(i)}var Ii="focusScope.autoFocusOnMount",Ni="focusScope.autoFocusOnUnmount",ed={bubbles:!1,cancelable:!0},xT="FocusScope",td=f.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...s}=e,[a,c]=f.useState(null),l=Ne(o),u=Ne(i),d=f.useRef(null),h=Ae(t,m=>c(m)),p=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(r){let m=function(T){if(p.paused||!a)return;const C=T.target;a.contains(C)?d.current=C:ht(d.current,{select:!0})},g=function(T){if(p.paused||!a)return;const C=T.relatedTarget;C!==null&&(a.contains(C)||ht(d.current,{select:!0}))},v=function(T){if(document.activeElement===document.body)for(const w of T)w.removedNodes.length>0&&ht(a)};document.addEventListener("focusin",m),document.addEventListener("focusout",g);const x=new MutationObserver(v);return a&&x.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",g),x.disconnect()}}},[r,a,p.paused]),f.useEffect(()=>{if(a){od.add(p);const m=document.activeElement;if(!a.contains(m)){const v=new CustomEvent(Ii,ed);a.addEventListener(Ii,l),a.dispatchEvent(v),v.defaultPrevented||(ST(DT(nd(a)),{select:!0}),document.activeElement===m&&ht(a))}return()=>{a.removeEventListener(Ii,l),setTimeout(()=>{const v=new CustomEvent(Ni,ed);a.addEventListener(Ni,u),a.dispatchEvent(v),v.defaultPrevented||ht(m??document.body,{select:!0}),a.removeEventListener(Ni,u),od.remove(p)},0)}}},[a,l,u,p]);const y=f.useCallback(m=>{if(!n&&!r||p.paused)return;const g=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,v=document.activeElement;if(g&&v){const x=m.currentTarget,[T,C]=AT(x);T&&C?!m.shiftKey&&v===C?(m.preventDefault(),n&&ht(T,{select:!0})):m.shiftKey&&v===T&&(m.preventDefault(),n&&ht(C,{select:!0})):v===x&&m.preventDefault()}},[n,r,p.paused]);return b.jsx(ge.div,{tabIndex:-1,...s,ref:h,onKeyDown:y})});td.displayName=xT;function ST(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(ht(r,{select:t}),document.activeElement!==n)return}function AT(e){const t=nd(e),n=rd(t,e),r=rd(t.reverse(),e);return[n,r]}function nd(e){const t=[],n=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(;n.nextNode();)t.push(n.currentNode);return t}function rd(e,t){for(const n of e)if(!CT(n,{upTo:t}))return n}function CT(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function PT(e){return e instanceof HTMLInputElement&&"select"in e}function ht(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&PT(e)&&t&&e.select()}}var od=MT();function MT(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=id(e,t),e.unshift(t)},remove(t){var n;e=id(e,t),(n=e[0])==null||n.resume()}}}function id(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function DT(e){return e.filter(t=>t.tagName!=="A")}var OT="Portal",Li=f.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,i]=f.useState(!1);ft(()=>i(!0),[]);const s=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?os.createPortal(b.jsx(ge.div,{...r,ref:t}),s):null});Li.displayName=OT;function VT(e,t){return f.useReducer((n,r)=>t[n][r]??n,e)}var pr=e=>{const{present:t,children:n}=e,r=FT(t),o=typeof n=="function"?n({present:r.isPresent}):f.Children.only(n),i=Ae(r.ref,kT(o));return typeof n=="function"||r.isPresent?f.cloneElement(o,{ref:i}):null};pr.displayName="Presence";function FT(e){const[t,n]=f.useState(),r=f.useRef(null),o=f.useRef(e),i=f.useRef("none"),s=e?"mounted":"unmounted",[a,c]=VT(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return f.useEffect(()=>{const l=mr(r.current);i.current=a==="mounted"?l:"none"},[a]),ft(()=>{const l=r.current,u=o.current;if(u!==e){const h=i.current,p=mr(l);e?c("MOUNT"):p==="none"||(l==null?void 0:l.display)==="none"?c("UNMOUNT"):c(u&&h!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),ft(()=>{if(t){let l;const u=t.ownerDocument.defaultView??window,d=p=>{const m=mr(r.current).includes(p.animationName);if(p.target===t&&m&&(c("ANIMATION_END"),!o.current)){const g=t.style.animationFillMode;t.style.animationFillMode="forwards",l=u.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=g)})}},h=p=>{p.target===t&&(i.current=mr(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{u.clearTimeout(l),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:f.useCallback(l=>{r.current=l?getComputedStyle(l):null,n(l)},[])}}function mr(e){return(e==null?void 0:e.animationName)||"none"}function kT(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Ri=0;function IT(){f.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??sd()),document.body.insertAdjacentElement("beforeend",e[1]??sd()),Ri++,()=>{Ri===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Ri--}},[])}function sd(){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 pt=function(){return pt=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},pt.apply(this,arguments)};function NT(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function LT(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var gr="right-scroll-bar-position",yr="width-before-scroll-bar",RT="with-scroll-bars-hidden",_T="--removed-body-scroll-bar-size";function _i(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function jT(e,t){var n=E.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var BT=typeof window<"u"?f.useLayoutEffect:f.useEffect,ad=new WeakMap;function UT(e,t){var n=jT(null,function(r){return e.forEach(function(o){return _i(o,r)})});return BT(function(){var r=ad.get(n);if(r){var o=new Set(r),i=new Set(e),s=n.current;o.forEach(function(a){i.has(a)||_i(a,null)}),i.forEach(function(a){o.has(a)||_i(a,s)})}ad.set(n,e)},[e]),n}var vr=function(){return vr=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},vr.apply(this,arguments)};function $T(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}typeof SuppressedError=="function"&&SuppressedError;function WT(e){return e}function zT(e,t){t===void 0&&(t=WT);var n=[],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 n.length?n[n.length-1]:e},useMedium:function(i){var s=t(i,r);return n.push(s),function(){n=n.filter(function(a){return a!==s})}},assignSyncMedium:function(i){for(r=!0;n.length;){var s=n;n=[],s.forEach(i)}n={push:function(a){return i(a)},filter:function(){return n}}},assignMedium:function(i){r=!0;var s=[];if(n.length){var a=n;n=[],a.forEach(i),s=n}var c=function(){var u=s;s=[],u.forEach(i)},l=function(){return Promise.resolve().then(c)};l(),n={push:function(u){s.push(u),l()},filter:function(u){return s=s.filter(u),n}}}};return o}function ZT(e){e===void 0&&(e={});var t=zT(null);return t.options=vr({async:!0,ssr:!1},e),t}var cd=function(e){var t=e.sideCar,n=$T(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return f.createElement(r,vr({},n))};cd.isSideCarExport=!0;function HT(e,t){return e.useMedium(t),cd}var ld=ZT(),ji=function(){},br=f.forwardRef(function(e,t){var n=f.useRef(null),r=f.useState({onScrollCapture:ji,onWheelCapture:ji,onTouchMoveCapture:ji}),o=r[0],i=r[1],s=e.forwardProps,a=e.children,c=e.className,l=e.removeScrollBar,u=e.enabled,d=e.shards,h=e.sideCar,p=e.noIsolation,y=e.inert,m=e.allowPinchZoom,g=e.as,v=g===void 0?"div":g,x=e.gapMode,T=NT(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=h,w=UT([n,t]),P=pt(pt({},T),o);return f.createElement(f.Fragment,null,u&&f.createElement(C,{sideCar:ld,removeScrollBar:l,shards:d,noIsolation:p,inert:y,setCallbacks:i,allowPinchZoom:!!m,lockRef:n,gapMode:x}),s?f.cloneElement(f.Children.only(a),pt(pt({},P),{ref:w})):f.createElement(v,pt({},P,{className:c,ref:w}),a))});br.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},br.classNames={fullWidth:yr,zeroRight:gr};var KT=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function GT(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=KT();return t&&e.setAttribute("nonce",t),e}function YT(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function XT(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var qT=function(){var e=0,t=null;return{add:function(n){e==0&&(t=GT())&&(YT(t,n),XT(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},QT=function(){var e=qT();return function(t,n){f.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},ud=function(){var e=QT(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},JT={left:0,top:0,right:0,gap:0},Bi=function(e){return parseInt(e||"",10)||0},eE=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Bi(n),Bi(r),Bi(o)]},tE=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return JT;var t=eE(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},nE=ud(),tn="data-scroll-locked",rE=function(e,t,n,r){var o=e.left,i=e.top,s=e.right,a=e.gap;return n===void 0&&(n="margin"),`
|
|
248
|
+
`,eT="w-5 h-5",tT="text-sm font-medium leading-5 text-nowrap";function nT({filter:e,label:t,icon:n,iconBackgroundColor:r,iconFillColor:o,isActive:i,onSelectFilter:s}){const a=()=>{s&&s(e)};return b.jsx("li",{className:Qw,"data-active":i,"data-testid":"filter-item","data-filter":e,children:b.jsxs("button",{onClick:a,className:Jw,"data-testid":"filter-item-button",children:[r&&o?b.jsx(xs,{element:b.jsx(n,{}),backgroundColor:r,fillColor:o}):b.jsx(n,{className:eT,"data-testid":"filter-item-icon"}),b.jsx("p",{className:tT,"data-testid":"filter-item-label",children:t})]})})}function dt(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function Zu(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Hu(...e){return t=>{let n=!1;const r=e.map(o=>{const i=Zu(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():Zu(e[o],null)}}}}function Ae(...e){return f.useCallback(Hu(...e),e)}function rT(e,t){const n=f.createContext(t),r=i=>{const{children:s,...a}=i,c=f.useMemo(()=>a,Object.values(a));return b.jsx(n.Provider,{value:c,children:s})};r.displayName=e+"Provider";function o(i){const s=f.useContext(n);if(s)return s;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[r,o]}function Oi(e,t=[]){let n=[];function r(i,s){const a=f.createContext(s),c=n.length;n=[...n,s];const l=d=>{var v;const{scope:h,children:p,...y}=d,m=((v=h==null?void 0:h[e])==null?void 0:v[c])||a,g=f.useMemo(()=>y,Object.values(y));return b.jsx(m.Provider,{value:g,children:p})};l.displayName=i+"Provider";function u(d,h){var m;const p=((m=h==null?void 0:h[e])==null?void 0:m[c])||a,y=f.useContext(p);if(y)return y;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[l,u]}const o=()=>{const i=n.map(s=>f.createContext(s));return function(a){const c=(a==null?void 0:a[e])||i;return f.useMemo(()=>({[`__scope${e}`]:{...a,[e]:c}}),[a,c])}};return o.scopeName=e,[r,oT(o,...t)]}function oT(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((a,{useScope:c,scopeName:l})=>{const d=c(i)[`__scope${l}`];return{...a,...d}},{});return f.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}var ft=globalThis!=null&&globalThis.document?f.useLayoutEffect:()=>{},iT=f[" useId ".trim().toString()]||(()=>{}),sT=0;function Vi(e){const[t,n]=f.useState(iT());return ft(()=>{n(r=>r??String(sT++))},[e]),e||(t?`radix-${t}`:"")}var aT=f[" useInsertionEffect ".trim().toString()]||ft;function Ku({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,s]=cT({defaultProp:t,onChange:n}),a=e!==void 0,c=a?e:o;{const u=f.useRef(e!==void 0);f.useEffect(()=>{const d=u.current;d!==a&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${a?"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.`),u.current=a},[a,r])}const l=f.useCallback(u=>{var d;if(a){const h=lT(u)?u(e):u;h!==e&&((d=s.current)==null||d.call(s,h))}else i(u)},[a,e,i,s]);return[c,l]}function cT({defaultProp:e,onChange:t}){const[n,r]=f.useState(e),o=f.useRef(n),i=f.useRef(t);return aT(()=>{i.current=t},[t]),f.useEffect(()=>{var s;o.current!==n&&((s=i.current)==null||s.call(i,n),o.current=n)},[n,o]),[n,r,i]}function lT(e){return typeof e=="function"}function hr(e){const t=uT(e),n=f.forwardRef((r,o)=>{const{children:i,...s}=r,a=f.Children.toArray(i),c=a.find(fT);if(c){const l=c.props.children,u=a.map(d=>d===c?f.Children.count(l)>1?f.Children.only(null):f.isValidElement(l)?l.props.children:null:d);return b.jsx(t,{...s,ref:o,children:f.isValidElement(l)?f.cloneElement(l,void 0,u):null})}return b.jsx(t,{...s,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function uT(e){const t=f.forwardRef((n,r)=>{const{children:o,...i}=n;if(f.isValidElement(o)){const s=pT(o),a=hT(i,o.props);return o.type!==f.Fragment&&(a.ref=r?Hu(r,s):s),f.cloneElement(o,a)}return f.Children.count(o)>1?f.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var dT=Symbol("radix.slottable");function fT(e){return f.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===dT}function hT(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...a)=>{const c=i(...a);return o(...a),c}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function pT(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var mT=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ge=mT.reduce((e,t)=>{const n=hr(`Primitive.${t}`),r=f.forwardRef((o,i)=>{const{asChild:s,...a}=o,c=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),b.jsx(c,{...a,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Fi(e,t){e&&ss.flushSync(()=>e.dispatchEvent(t))}function Ne(e){const t=f.useRef(e);return f.useEffect(()=>{t.current=e}),f.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function Gu(e,t=globalThis==null?void 0:globalThis.document){const n=Ne(e);f.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var gT="DismissableLayer",ki="dismissableLayer.update",yT="dismissableLayer.pointerDownOutside",vT="dismissableLayer.focusOutside",Yu,Xu=f.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),qu=f.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:a,...c}=e,l=f.useContext(Xu),[u,d]=f.useState(null),h=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=f.useState({}),y=Ae(t,A=>d(A)),m=Array.from(l.layers),[g]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),v=m.indexOf(g),x=u?m.indexOf(u):-1,T=l.layersWithOutsidePointerEventsDisabled.size>0,C=x>=v,w=TT(A=>{const M=A.target,k=[...l.branches].some(U=>U.contains(M));!C||k||(o==null||o(A),s==null||s(A),A.defaultPrevented||a==null||a())},h),P=ET(A=>{const M=A.target;[...l.branches].some(U=>U.contains(M))||(i==null||i(A),s==null||s(A),A.defaultPrevented||a==null||a())},h);return Gu(A=>{x===l.layers.size-1&&(r==null||r(A),!A.defaultPrevented&&a&&(A.preventDefault(),a()))},h),f.useEffect(()=>{if(u)return n&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(Yu=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(u)),l.layers.add(u),Qu(),()=>{n&&l.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=Yu)}},[u,h,n,l]),f.useEffect(()=>()=>{u&&(l.layers.delete(u),l.layersWithOutsidePointerEventsDisabled.delete(u),Qu())},[u,l]),f.useEffect(()=>{const A=()=>p({});return document.addEventListener(ki,A),()=>document.removeEventListener(ki,A)},[]),b.jsx(ge.div,{...c,ref:y,style:{pointerEvents:T?C?"auto":"none":void 0,...e.style},onFocusCapture:dt(e.onFocusCapture,P.onFocusCapture),onBlurCapture:dt(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:dt(e.onPointerDownCapture,w.onPointerDownCapture)})});qu.displayName=gT;var bT="DismissableLayerBranch",wT=f.forwardRef((e,t)=>{const n=f.useContext(Xu),r=f.useRef(null),o=Ae(t,r);return f.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),b.jsx(ge.div,{...e,ref:o})});wT.displayName=bT;function TT(e,t=globalThis==null?void 0:globalThis.document){const n=Ne(e),r=f.useRef(!1),o=f.useRef(()=>{});return f.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let c=function(){Ju(yT,n,l,{discrete:!0})};const l={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function ET(e,t=globalThis==null?void 0:globalThis.document){const n=Ne(e),r=f.useRef(!1);return f.useEffect(()=>{const o=i=>{i.target&&!r.current&&Ju(vT,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Qu(){const e=new CustomEvent(ki);document.dispatchEvent(e)}function Ju(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Fi(o,i):o.dispatchEvent(i)}var Ii="focusScope.autoFocusOnMount",Ni="focusScope.autoFocusOnUnmount",ed={bubbles:!1,cancelable:!0},xT="FocusScope",td=f.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...s}=e,[a,c]=f.useState(null),l=Ne(o),u=Ne(i),d=f.useRef(null),h=Ae(t,m=>c(m)),p=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(r){let m=function(T){if(p.paused||!a)return;const C=T.target;a.contains(C)?d.current=C:ht(d.current,{select:!0})},g=function(T){if(p.paused||!a)return;const C=T.relatedTarget;C!==null&&(a.contains(C)||ht(d.current,{select:!0}))},v=function(T){if(document.activeElement===document.body)for(const w of T)w.removedNodes.length>0&&ht(a)};document.addEventListener("focusin",m),document.addEventListener("focusout",g);const x=new MutationObserver(v);return a&&x.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",g),x.disconnect()}}},[r,a,p.paused]),f.useEffect(()=>{if(a){od.add(p);const m=document.activeElement;if(!a.contains(m)){const v=new CustomEvent(Ii,ed);a.addEventListener(Ii,l),a.dispatchEvent(v),v.defaultPrevented||(ST(DT(nd(a)),{select:!0}),document.activeElement===m&&ht(a))}return()=>{a.removeEventListener(Ii,l),setTimeout(()=>{const v=new CustomEvent(Ni,ed);a.addEventListener(Ni,u),a.dispatchEvent(v),v.defaultPrevented||ht(m??document.body,{select:!0}),a.removeEventListener(Ni,u),od.remove(p)},0)}}},[a,l,u,p]);const y=f.useCallback(m=>{if(!n&&!r||p.paused)return;const g=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,v=document.activeElement;if(g&&v){const x=m.currentTarget,[T,C]=AT(x);T&&C?!m.shiftKey&&v===C?(m.preventDefault(),n&&ht(T,{select:!0})):m.shiftKey&&v===T&&(m.preventDefault(),n&&ht(C,{select:!0})):v===x&&m.preventDefault()}},[n,r,p.paused]);return b.jsx(ge.div,{tabIndex:-1,...s,ref:h,onKeyDown:y})});td.displayName=xT;function ST(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(ht(r,{select:t}),document.activeElement!==n)return}function AT(e){const t=nd(e),n=rd(t,e),r=rd(t.reverse(),e);return[n,r]}function nd(e){const t=[],n=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(;n.nextNode();)t.push(n.currentNode);return t}function rd(e,t){for(const n of e)if(!CT(n,{upTo:t}))return n}function CT(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function PT(e){return e instanceof HTMLInputElement&&"select"in e}function ht(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&PT(e)&&t&&e.select()}}var od=MT();function MT(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=id(e,t),e.unshift(t)},remove(t){var n;e=id(e,t),(n=e[0])==null||n.resume()}}}function id(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function DT(e){return e.filter(t=>t.tagName!=="A")}var OT="Portal",Li=f.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,i]=f.useState(!1);ft(()=>i(!0),[]);const s=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?os.createPortal(b.jsx(ge.div,{...r,ref:t}),s):null});Li.displayName=OT;function VT(e,t){return f.useReducer((n,r)=>t[n][r]??n,e)}var pr=e=>{const{present:t,children:n}=e,r=FT(t),o=typeof n=="function"?n({present:r.isPresent}):f.Children.only(n),i=Ae(r.ref,kT(o));return typeof n=="function"||r.isPresent?f.cloneElement(o,{ref:i}):null};pr.displayName="Presence";function FT(e){const[t,n]=f.useState(),r=f.useRef(null),o=f.useRef(e),i=f.useRef("none"),s=e?"mounted":"unmounted",[a,c]=VT(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return f.useEffect(()=>{const l=mr(r.current);i.current=a==="mounted"?l:"none"},[a]),ft(()=>{const l=r.current,u=o.current;if(u!==e){const h=i.current,p=mr(l);e?c("MOUNT"):p==="none"||(l==null?void 0:l.display)==="none"?c("UNMOUNT"):c(u&&h!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),ft(()=>{if(t){let l;const u=t.ownerDocument.defaultView??window,d=p=>{const m=mr(r.current).includes(p.animationName);if(p.target===t&&m&&(c("ANIMATION_END"),!o.current)){const g=t.style.animationFillMode;t.style.animationFillMode="forwards",l=u.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=g)})}},h=p=>{p.target===t&&(i.current=mr(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{u.clearTimeout(l),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:f.useCallback(l=>{r.current=l?getComputedStyle(l):null,n(l)},[])}}function mr(e){return(e==null?void 0:e.animationName)||"none"}function kT(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Ri=0;function IT(){f.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??sd()),document.body.insertAdjacentElement("beforeend",e[1]??sd()),Ri++,()=>{Ri===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Ri--}},[])}function sd(){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 pt=function(){return pt=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},pt.apply(this,arguments)};function NT(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function LT(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var gr="right-scroll-bar-position",yr="width-before-scroll-bar",RT="with-scroll-bars-hidden",_T="--removed-body-scroll-bar-size";function _i(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function jT(e,t){var n=E.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var BT=typeof window<"u"?f.useLayoutEffect:f.useEffect,ad=new WeakMap;function UT(e,t){var n=jT(null,function(r){return e.forEach(function(o){return _i(o,r)})});return BT(function(){var r=ad.get(n);if(r){var o=new Set(r),i=new Set(e),s=n.current;o.forEach(function(a){i.has(a)||_i(a,null)}),i.forEach(function(a){o.has(a)||_i(a,s)})}ad.set(n,e)},[e]),n}var vr=function(){return vr=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},vr.apply(this,arguments)};function $T(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}typeof SuppressedError=="function"&&SuppressedError;function WT(e){return e}function zT(e,t){t===void 0&&(t=WT);var n=[],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 n.length?n[n.length-1]:e},useMedium:function(i){var s=t(i,r);return n.push(s),function(){n=n.filter(function(a){return a!==s})}},assignSyncMedium:function(i){for(r=!0;n.length;){var s=n;n=[],s.forEach(i)}n={push:function(a){return i(a)},filter:function(){return n}}},assignMedium:function(i){r=!0;var s=[];if(n.length){var a=n;n=[],a.forEach(i),s=n}var c=function(){var u=s;s=[],u.forEach(i)},l=function(){return Promise.resolve().then(c)};l(),n={push:function(u){s.push(u),l()},filter:function(u){return s=s.filter(u),n}}}};return o}function ZT(e){e===void 0&&(e={});var t=zT(null);return t.options=vr({async:!0,ssr:!1},e),t}var cd=function(e){var t=e.sideCar,n=$T(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return f.createElement(r,vr({},n))};cd.isSideCarExport=!0;function HT(e,t){return e.useMedium(t),cd}var ld=ZT(),ji=function(){},br=f.forwardRef(function(e,t){var n=f.useRef(null),r=f.useState({onScrollCapture:ji,onWheelCapture:ji,onTouchMoveCapture:ji}),o=r[0],i=r[1],s=e.forwardProps,a=e.children,c=e.className,l=e.removeScrollBar,u=e.enabled,d=e.shards,h=e.sideCar,p=e.noIsolation,y=e.inert,m=e.allowPinchZoom,g=e.as,v=g===void 0?"div":g,x=e.gapMode,T=NT(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=h,w=UT([n,t]),P=pt(pt({},T),o);return f.createElement(f.Fragment,null,u&&f.createElement(C,{sideCar:ld,removeScrollBar:l,shards:d,noIsolation:p,inert:y,setCallbacks:i,allowPinchZoom:!!m,lockRef:n,gapMode:x}),s?f.cloneElement(f.Children.only(a),pt(pt({},P),{ref:w})):f.createElement(v,pt({},P,{className:c,ref:w}),a))});br.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},br.classNames={fullWidth:yr,zeroRight:gr};var KT=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function GT(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=KT();return t&&e.setAttribute("nonce",t),e}function YT(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function XT(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var qT=function(){var e=0,t=null;return{add:function(n){e==0&&(t=GT())&&(YT(t,n),XT(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},QT=function(){var e=qT();return function(t,n){f.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},ud=function(){var e=QT(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},JT={left:0,top:0,right:0,gap:0},Bi=function(e){return parseInt(e||"",10)||0},eE=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Bi(n),Bi(r),Bi(o)]},tE=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return JT;var t=eE(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},nE=ud(),tn="data-scroll-locked",rE=function(e,t,n,r){var o=e.left,i=e.top,s=e.right,a=e.gap;return n===void 0&&(n="margin"),`
|
|
249
249
|
.`.concat(RT,` {
|
|
250
250
|
overflow: hidden `).concat(r,`;
|
|
251
251
|
padding-right: `).concat(a,"px ").concat(r,`;
|