@aic-kits/react 0.28.2 → 0.28.3
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.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -24,7 +24,7 @@ __p += '`),he&&(z+=`' +
|
|
|
24
24
|
function print() { __p += __j.call(arguments, '') }
|
|
25
25
|
`:`;
|
|
26
26
|
`)+z+`return __p
|
|
27
|
-
}`;var se=Zl(function(){return me(p,Q+"return "+z).apply(i,y)});if(se.source=z,Io(se))throw se;return se}function Vg(e){return ye(e).toLowerCase()}function Ug(e){return ye(e).toUpperCase()}function Gg(e,t,r){if(e=ye(e),e&&(r||t===i))return Qa(e);if(!e||!(t=st(t)))return e;var a=Pt(e),u=Pt(t),p=Ja(a,u),y=es(a,u)+1;return ln(a,p,y).join("")}function qg(e,t,r){if(e=ye(e),e&&(r||t===i))return e.slice(0,ns(e)+1);if(!e||!(t=st(t)))return e;var a=Pt(e),u=es(a,Pt(t))+1;return ln(a,0,u).join("")}function Xg(e,t,r){if(e=ye(e),e&&(r||t===i))return e.replace(Oi,"");if(!e||!(t=st(t)))return e;var a=Pt(e),u=Ja(a,Pt(t));return ln(a,u).join("")}function Kg(e,t){var r=ve,a=xe;if(Ae(t)){var u="separator"in t?t.separator:u;r="length"in t?ae(t.length):r,a="omission"in t?st(t.omission):a}e=ye(e);var p=e.length;if(Pn(e)){var y=Pt(e);p=y.length}if(r>=p)return e;var x=r-kn(a);if(x<1)return a;var C=y?ln(y,0,x).join(""):e.slice(0,x);if(u===i)return C+a;if(y&&(x+=C.length-x),Fo(u)){if(e.slice(x).search(u)){var O,I=C;for(u.global||(u=Ki(u.source,ye(ba.exec(u))+"g")),u.lastIndex=0;O=u.exec(I);)var z=O.index;C=C.slice(0,z===i?x:z)}}else if(e.indexOf(st(u),x)!=x){var q=C.lastIndexOf(u);q>-1&&(C=C.slice(0,q))}return C+a}function Yg(e){return e=ye(e),e&&lf.test(e)?e.replace(va,$0):e}var Qg=Bn(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()}),Bo=Ns("toUpperCase");function Hl(e,t,r){return e=ye(e),t=r?i:t,t===i?w0(e)?R0(e):d0(e):e.match(t)||[]}var Zl=le(function(e,t){try{return ot(e,i,t)}catch(r){return Io(r)?r:new ie(r)}}),Jg=Zt(function(e,t){return mt(t,function(r){r=zt(r),Dt(e,r,Lo(e[r],e))}),e});function e2(e){var t=e==null?0:e.length,r=te();return e=t?Te(e,function(a){if(typeof a[1]!="function")throw new vt(d);return[r(a[0]),a[1]]}):[],le(function(a){for(var u=-1;++u<t;){var p=e[u];if(ot(p[0],this,a))return ot(p[1],this,a)}})}function t2(e){return $d(xt(e,S))}function Wo(e){return function(){return e}}function n2(e,t){return e==null||e!==e?t:e}var r2=Us(),i2=Us(!0);function tt(e){return e}function jo(e){return _s(typeof e=="function"?e:xt(e,S))}function o2(e){return Ss(xt(e,S))}function a2(e,t){return Es(e,xt(t,S))}var s2=le(function(e,t){return function(r){return nr(r,e,t)}}),l2=le(function(e,t){return function(r){return nr(e,r,t)}});function Do(e,t,r){var a=je(t),u=Br(t,a);r==null&&!(Ae(t)&&(u.length||!a.length))&&(r=t,t=e,e=this,u=Br(t,je(t)));var p=!(Ae(r)&&"chain"in r)||!!r.chain,y=Vt(e);return mt(u,function(x){var C=t[x];e[x]=C,y&&(e.prototype[x]=function(){var O=this.__chain__;if(p||O){var I=e(this.__wrapped__),z=I.__actions__=Qe(this.__actions__);return z.push({func:C,args:arguments,thisArg:e}),I.__chain__=O,I}return C.apply(e,tn([this.value()],arguments))})}),e}function u2(){return De._===this&&(De._=F0),this}function Ho(){}function c2(e){return e=ae(e),le(function(t){return $s(t,e)})}var f2=xo(Te),d2=xo(Ga),h2=xo(Zi);function Nl(e){return $o(e)?Ni(zt(e)):Zd(e)}function p2(e){return function(t){return e==null?i:xn(e,t)}}var g2=qs(),m2=qs(!0);function Zo(){return[]}function No(){return!1}function v2(){return{}}function y2(){return""}function x2(){return!0}function b2(e,t){if(e=ae(e),e<1||e>ee)return[];var r=Pe,a=Ze(e,Pe);t=te(t),e-=Pe;for(var u=Gi(a,t);++r<e;)t(r);return u}function w2(e){return oe(e)?Te(e,zt):lt(e)?[e]:Qe(cl(ye(e)))}function _2(e){var t=++O0;return ye(e)+t}var C2=Nr(function(e,t){return e+t},0),S2=bo("ceil"),E2=Nr(function(e,t){return e/t},1),$2=bo("floor");function T2(e){return e&&e.length?zr(e,tt,io):i}function A2(e,t){return e&&e.length?zr(e,te(t,2),io):i}function R2(e){return Ka(e,tt)}function P2(e,t){return Ka(e,te(t,2))}function k2(e){return e&&e.length?zr(e,tt,lo):i}function L2(e,t){return e&&e.length?zr(e,te(t,2),lo):i}var O2=Nr(function(e,t){return e*t},1),I2=bo("round"),F2=Nr(function(e,t){return e-t},0);function M2(e){return e&&e.length?Ui(e,tt):0}function z2(e,t){return e&&e.length?Ui(e,te(t,2)):0}return f.after=op,f.ary=wl,f.assign=Up,f.assignIn=Fl,f.assignInWith=ri,f.assignWith=Gp,f.at=qp,f.before=_l,f.bind=Lo,f.bindAll=Jg,f.bindKey=Cl,f.castArray=vp,f.chain=yl,f.chunk=$1,f.compact=T1,f.concat=A1,f.cond=e2,f.conforms=t2,f.constant=Wo,f.countBy=Mh,f.create=Xp,f.curry=Sl,f.curryRight=El,f.debounce=$l,f.defaults=Kp,f.defaultsDeep=Yp,f.defer=ap,f.delay=sp,f.difference=R1,f.differenceBy=P1,f.differenceWith=k1,f.drop=L1,f.dropRight=O1,f.dropRightWhile=I1,f.dropWhile=F1,f.fill=M1,f.filter=Bh,f.flatMap=Dh,f.flatMapDeep=Hh,f.flatMapDepth=Zh,f.flatten=pl,f.flattenDeep=z1,f.flattenDepth=B1,f.flip=lp,f.flow=r2,f.flowRight=i2,f.fromPairs=W1,f.functions=ig,f.functionsIn=og,f.groupBy=Nh,f.initial=D1,f.intersection=H1,f.intersectionBy=Z1,f.intersectionWith=N1,f.invert=sg,f.invertBy=lg,f.invokeMap=Uh,f.iteratee=jo,f.keyBy=Gh,f.keys=je,f.keysIn=et,f.map=Yr,f.mapKeys=cg,f.mapValues=fg,f.matches=o2,f.matchesProperty=a2,f.memoize=Jr,f.merge=dg,f.mergeWith=Ml,f.method=s2,f.methodOf=l2,f.mixin=Do,f.negate=ei,f.nthArg=c2,f.omit=hg,f.omitBy=pg,f.once=up,f.orderBy=qh,f.over=f2,f.overArgs=cp,f.overEvery=d2,f.overSome=h2,f.partial=Oo,f.partialRight=Tl,f.partition=Xh,f.pick=gg,f.pickBy=zl,f.property=Nl,f.propertyOf=p2,f.pull=q1,f.pullAll=ml,f.pullAllBy=X1,f.pullAllWith=K1,f.pullAt=Y1,f.range=g2,f.rangeRight=m2,f.rearg=fp,f.reject=Qh,f.remove=Q1,f.rest=dp,f.reverse=Po,f.sampleSize=ep,f.set=vg,f.setWith=yg,f.shuffle=tp,f.slice=J1,f.sortBy=ip,f.sortedUniq=ah,f.sortedUniqBy=sh,f.split=Dg,f.spread=hp,f.tail=lh,f.take=uh,f.takeRight=ch,f.takeRightWhile=fh,f.takeWhile=dh,f.tap=Th,f.throttle=pp,f.thru=Kr,f.toArray=Ll,f.toPairs=Bl,f.toPairsIn=Wl,f.toPath=w2,f.toPlainObject=Il,f.transform=xg,f.unary=gp,f.union=hh,f.unionBy=ph,f.unionWith=gh,f.uniq=mh,f.uniqBy=vh,f.uniqWith=yh,f.unset=bg,f.unzip=ko,f.unzipWith=vl,f.update=wg,f.updateWith=_g,f.values=Dn,f.valuesIn=Cg,f.without=xh,f.words=Hl,f.wrap=mp,f.xor=bh,f.xorBy=wh,f.xorWith=_h,f.zip=Ch,f.zipObject=Sh,f.zipObjectDeep=Eh,f.zipWith=$h,f.entries=Bl,f.entriesIn=Wl,f.extend=Fl,f.extendWith=ri,Do(f,f),f.add=C2,f.attempt=Zl,f.camelCase=Tg,f.capitalize=jl,f.ceil=S2,f.clamp=Sg,f.clone=yp,f.cloneDeep=bp,f.cloneDeepWith=wp,f.cloneWith=xp,f.conformsTo=_p,f.deburr=Dl,f.defaultTo=n2,f.divide=E2,f.endsWith=Ag,f.eq=Lt,f.escape=Rg,f.escapeRegExp=Pg,f.every=zh,f.find=Wh,f.findIndex=dl,f.findKey=Qp,f.findLast=jh,f.findLastIndex=hl,f.findLastKey=Jp,f.floor=$2,f.forEach=xl,f.forEachRight=bl,f.forIn=eg,f.forInRight=tg,f.forOwn=ng,f.forOwnRight=rg,f.get=Mo,f.gt=Cp,f.gte=Sp,f.has=ag,f.hasIn=zo,f.head=gl,f.identity=tt,f.includes=Vh,f.indexOf=j1,f.inRange=Eg,f.invoke=ug,f.isArguments=_n,f.isArray=oe,f.isArrayBuffer=Ep,f.isArrayLike=Je,f.isArrayLikeObject=Le,f.isBoolean=$p,f.isBuffer=un,f.isDate=Tp,f.isElement=Ap,f.isEmpty=Rp,f.isEqual=Pp,f.isEqualWith=kp,f.isError=Io,f.isFinite=Lp,f.isFunction=Vt,f.isInteger=Al,f.isLength=ti,f.isMap=Rl,f.isMatch=Op,f.isMatchWith=Ip,f.isNaN=Fp,f.isNative=Mp,f.isNil=Bp,f.isNull=zp,f.isNumber=Pl,f.isObject=Ae,f.isObjectLike=Re,f.isPlainObject=lr,f.isRegExp=Fo,f.isSafeInteger=Wp,f.isSet=kl,f.isString=ni,f.isSymbol=lt,f.isTypedArray=jn,f.isUndefined=jp,f.isWeakMap=Dp,f.isWeakSet=Hp,f.join=V1,f.kebabCase=kg,f.last=wt,f.lastIndexOf=U1,f.lowerCase=Lg,f.lowerFirst=Og,f.lt=Zp,f.lte=Np,f.max=T2,f.maxBy=A2,f.mean=R2,f.meanBy=P2,f.min=k2,f.minBy=L2,f.stubArray=Zo,f.stubFalse=No,f.stubObject=v2,f.stubString=y2,f.stubTrue=x2,f.multiply=O2,f.nth=G1,f.noConflict=u2,f.noop=Ho,f.now=Qr,f.pad=Ig,f.padEnd=Fg,f.padStart=Mg,f.parseInt=zg,f.random=$g,f.reduce=Kh,f.reduceRight=Yh,f.repeat=Bg,f.replace=Wg,f.result=mg,f.round=I2,f.runInContext=w,f.sample=Jh,f.size=np,f.snakeCase=jg,f.some=rp,f.sortedIndex=eh,f.sortedIndexBy=th,f.sortedIndexOf=nh,f.sortedLastIndex=rh,f.sortedLastIndexBy=ih,f.sortedLastIndexOf=oh,f.startCase=Hg,f.startsWith=Zg,f.subtract=F2,f.sum=M2,f.sumBy=z2,f.template=Ng,f.times=b2,f.toFinite=Ut,f.toInteger=ae,f.toLength=Ol,f.toLower=Vg,f.toNumber=_t,f.toSafeInteger=Vp,f.toString=ye,f.toUpper=Ug,f.trim=Gg,f.trimEnd=qg,f.trimStart=Xg,f.truncate=Kg,f.unescape=Yg,f.uniqueId=_2,f.upperCase=Qg,f.upperFirst=Bo,f.each=xl,f.eachRight=bl,f.first=gl,Do(f,function(){var e={};return Ft(f,function(t,r){be.call(f.prototype,r)||(e[r]=t)}),e}(),{chain:!1}),f.VERSION=s,mt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){f[e].placeholder=f}),mt(["drop","take"],function(e,t){fe.prototype[e]=function(r){r=r===i?1:Be(ae(r),0);var a=this.__filtered__&&!t?new fe(this):this.clone();return a.__filtered__?a.__takeCount__=Ze(r,a.__takeCount__):a.__views__.push({size:Ze(r,Pe),type:e+(a.__dir__<0?"Right":"")}),a},fe.prototype[e+"Right"]=function(r){return this.reverse()[e](r).reverse()}}),mt(["filter","map","takeWhile"],function(e,t){var r=t+1,a=r==Z||r==G;fe.prototype[e]=function(u){var p=this.clone();return p.__iteratees__.push({iteratee:te(u,3),type:r}),p.__filtered__=p.__filtered__||a,p}}),mt(["head","last"],function(e,t){var r="take"+(t?"Right":"");fe.prototype[e]=function(){return this[r](1).value()[0]}}),mt(["initial","tail"],function(e,t){var r="drop"+(t?"":"Right");fe.prototype[e]=function(){return this.__filtered__?new fe(this):this[r](1)}}),fe.prototype.compact=function(){return this.filter(tt)},fe.prototype.find=function(e){return this.filter(e).head()},fe.prototype.findLast=function(e){return this.reverse().find(e)},fe.prototype.invokeMap=le(function(e,t){return typeof e=="function"?new fe(this):this.map(function(r){return nr(r,e,t)})}),fe.prototype.reject=function(e){return this.filter(ei(te(e)))},fe.prototype.slice=function(e,t){e=ae(e);var r=this;return r.__filtered__&&(e>0||t<0)?new fe(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==i&&(t=ae(t),r=t<0?r.dropRight(-t):r.take(t-e)),r)},fe.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},fe.prototype.toArray=function(){return this.take(Pe)},Ft(fe.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),a=/^(?:head|last)$/.test(t),u=f[a?"take"+(t=="last"?"Right":""):t],p=a||/^find/.test(t);u&&(f.prototype[t]=function(){var y=this.__wrapped__,x=a?[1]:arguments,C=y instanceof fe,O=x[0],I=C||oe(y),z=function(ce){var he=u.apply(f,tn([ce],x));return a&&q?he[0]:he};I&&r&&typeof O=="function"&&O.length!=1&&(C=I=!1);var q=this.__chain__,Q=!!this.__actions__.length,ne=p&&!q,se=C&&!Q;if(!p&&I){y=se?y:new fe(this);var re=e.apply(y,x);return re.__actions__.push({func:Kr,args:[z],thisArg:i}),new yt(re,q)}return ne&&se?e.apply(this,x):(re=this.thru(z),ne?a?re.value()[0]:re.value():re)})}),mt(["pop","push","shift","sort","splice","unshift"],function(e){var t=_r[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",a=/^(?:pop|shift)$/.test(e);f.prototype[e]=function(){var u=arguments;if(a&&!this.__chain__){var p=this.value();return t.apply(oe(p)?p:[],u)}return this[r](function(y){return t.apply(oe(y)?y:[],u)})}}),Ft(fe.prototype,function(e,t){var r=f[t];if(r){var a=r.name+"";be.call(Fn,a)||(Fn[a]=[]),Fn[a].push({name:t,func:r})}}),Fn[Zr(i,V).name]=[{name:"wrapper",func:i}],fe.prototype.clone=Y0,fe.prototype.reverse=Q0,fe.prototype.value=J0,f.prototype.at=Ah,f.prototype.chain=Rh,f.prototype.commit=Ph,f.prototype.next=kh,f.prototype.plant=Oh,f.prototype.reverse=Ih,f.prototype.toJSON=f.prototype.valueOf=f.prototype.value=Fh,f.prototype.first=f.prototype.head,Xn&&(f.prototype[Xn]=Lh),f},Ln=P0();pn?((pn.exports=Ln)._=Ln,Wi._=Ln):De._=Ln}).call(W2)}(cr,cr.exports)),cr.exports}var pe=j2();const Yo=n=>({none:0,hairline:n*.5,thin:n,thick:n*2,heavy:n*4}),Qo=n=>({none:0,xs:n*.5,sm:n,md:n*2,lg:n*3,xl:n*4,full:9999}),D2=n=>["none","hairline","thin","thick","heavy"].includes(n),Ru=n=>["none","xs","sm","md","lg","xl","full"].includes(n),gi={transparent:"#FFFFFF00",white:"#FFFFFF",black:"#000000",primary:"#6949FF",secondary:"#FFC107",success:"#12D18E",danger:"#F75555",warning:"#FACC15",info:"#6949FF",grey100:"#F5F5F5",grey200:"#EEEEEE",grey300:"#E0E0E0",grey400:"#BDBDBD",grey500:"#9E9E9E",grey600:"#757575",grey700:"#616161",grey800:"#424242",grey900:"#212121",primary100:"#F0EDFF",primary200:"#C3B6FF",primary300:"#A592FF",primary400:"#876DFF",primary500:"#6949FF",secondary100:"#FFF9E6",secondary200:"#FFE69C",secondary300:"#FFDA6A",secondary400:"#FFCD39",secondary500:"#FFC107",orange100:"#FFF3E0",orange200:"#FFE0B2",orange300:"#FFCC80",orange400:"#FFB74D",orange500:"#FF9800",orange600:"#FB8C00",orange700:"#F57C00",orange800:"#EF6C00",orange900:"#E65100",cyan100:"#E0F7FA",cyan200:"#B2EBF2",cyan300:"#80DEEA",cyan400:"#4DD0E1",cyan500:"#26C6DA",cyan600:"#00BCD4",cyan700:"#00ACC1",cyan800:"#0097A7",cyan900:"#006064",purple100:"#F3E5F5",purple200:"#E1BEE7",purple300:"#CE93D8",purple400:"#BA68C8",purple500:"#AB47BC",purple600:"#9C27B0",purple700:"#8E24AA",purple800:"#7B1FA2",purple900:"#6A1B9A",teal100:"#E0F2F1",teal200:"#B2DFDB",teal300:"#80CBC4",teal400:"#4DB6AC",teal500:"#26A69A",teal600:"#009688",teal700:"#00897B",teal800:"#00796B",teal900:"#004D40",lime100:"#F9FBE7",lime200:"#F0F4C3",lime300:"#E6EE9C",lime400:"#DCE775",lime500:"#CDDC39",lime600:"#C0CA33",lime700:"#AFB42B",lime800:"#9E9D24",lime900:"#827717",pink100:"#FCE4EC",pink200:"#F8BBD0",pink300:"#F48FB1",pink400:"#F06292",pink500:"#EC4899",pink600:"#E91E63",pink700:"#D81B60",pink800:"#C2185B",pink900:"#880E4F",backgroundPurple:"#F9F8FF",backgroundYellow:"#FFFCED",backgroundGreen:"#F1FDF5",backgroundBlue:"#F6F9FF",backgroundTeal:"#F2FFF8",backgroundRed:"#FFF7F8",backgroundOrange:"#FFF8ED"},Pu=n=>n in gi,ku={primary:["#543ACC","#6949FF"],secondary:["#E0A800","#FFC107"],success:["#0FB57A","#12D18E"],danger:["#E64545","#F75555"],warning:["#E1B70D","#FACC15"],info:["#543ACC","#6949FF"]},H2=n=>["primary","secondary","success","danger","warning","info"].includes(n),Z2=1,N2=8,V2=8,U2="Inter",G2="Sora",q2=10,X2=4,Xt={borderWidth:Z2,space:N2,size:V2,font:{neutral:U2,heading:G2},fontSize:q2,radius:X2},Lu=n=>({none:"none",sm:`0 1px 2px 0 ${n.grey400}40`,md:`0 4px 6px -1px ${n.grey500}40, 0 2px 4px -1px ${n.grey400}40`,lg:`0 10px 15px -3px ${n.grey600}40, 0 4px 6px -2px ${n.grey500}40`}),K2=n=>["none","sm","md","lg"].includes(n),Jo=n=>({"2xs":n*.5,xs:n,sm:n*2,"sm-md":n*2.5,md:n*4,"md-lg":n*6,lg:n*8,xl:n*16,"2xl":n*32,"3xl":n*64,"4xl":n*128}),En=n=>["2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl"].includes(n),ea=n=>({none:0,"2xs":n*.25,xs:n*.5,sm:n,"sm-md":n*1.5,md:n*2,"md-lg":n*2.5,lg:n*3,xl:n*4,"2xl":n*5,"3xl":n*6,"4xl":n*8,"5xl":n*10,"6xl":n*12,"7xl":n*14,"8xl":n*16,"9xl":n*18,"10xl":n*20,"-xxs":n*-.25,"-xs":n*-.5,"-sm":n*-1,"-sm-md":n*-1.5,"-md":n*-2,"-md-lg":n*-2.5,"-lg":n*-3,"-xl":n*-4,"-2xl":n*-5,"-3xl":n*-6,"-4xl":n*-8,"-5xl":n*-10,"-6xl":n*-12,"-7xl":n*-14,"-8xl":n*-16,"-9xl":n*-18,"-10xl":n*-20}),Ou=n=>["none","2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl","-xxs","-xs","-sm","-sm-md","-md","-md-lg","-lg","-xl","-2xl","-3xl","-4xl"].includes(n),ta=({neutral:n,heading:o})=>({neutral:`"${n}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`,heading:`"${o}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`}),mi=n=>({"2xs":n*.75,xs:n,small:n*1.25,medium:n*1.5,large:n*2,xl:n*2.5,"2xl":n*3,"3xl":n*3.5,"4xl":n*4,"5xl":n*5,"6xl":n*6}),na=n=>{const o=mi(n),i=1.4;return{"2xs":o["2xs"]*i,xs:o.xs*i,small:o.small*i,medium:o.medium*i,large:o.large*i,xl:o.xl*i,"2xl":o["2xl"]*i,"3xl":o["3xl"]*i,"4xl":o["4xl"]*i,"5xl":o["5xl"]*i,"6xl":o["6xl"]*i}},ra=()=>({"extra-light":100,thin:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,black:900}),Y2=n=>["2xs","xs","small","medium","large","xl","2xl","3xl","4xl","5xl","6xl"].includes(n),Q2=n=>["extra-light","thin","light","regular","medium","semibold","bold","extrabold","black"].includes(n),J2=(n=Xt,o=gi,i=ku)=>{const s=ta(n.font),l=mi(n.fontSize),c=na(n.fontSize),d=ra(),g=Yo(n.borderWidth),v=ea(n.space),m=Jo(n.size),_=Qo(n.radius),S=Lu(o);return{colors:o,gradientColors:i,fonts:s,fontSizes:l,lineHeights:c,fontWeights:d,borderWidths:g,spaces:v,sizes:m,radii:_,shadows:S}},Iu=n=>({paddingVertical:"md",paddingHorizontal:"md",borderRadius:"lg",borderColor:"grey300",borderWidth:"thin",backgroundColor:"white",gap:"md",header:{gap:"sm-md",iconSize:"sm",iconColor:"grey600",disabledOpacity:.5},animation:{duration:300,easing:"ease"}}),Fu=n=>({defaultSize:"md",defaultIconSize:"md",defaultEmojiSize:"lg",defaultBrandSize:"md",defaultImageSize:"md",defaultSvgSize:"md"}),Mu=n=>({defaultSize:"md",defaultFallbackTextSize:"medium",fallbackBackgroundColor:"grey400",sizes:{sm:{fallbackTextSize:"small"},md:{fallbackTextSize:"medium"},lg:{fallbackTextSize:"xl"}}}),zu=n=>({defaultBackgroundColor:"white",defaultHeaderParams:{backgroundColor:"white"},desktopMediaQuery:"(min-width: 768px)",mobilePaddingX:"md",desktopPaddingX:"xl",desktopContentMaxWidth:"1200px"}),Bu=n=>({loadingConfig:{size:"md"},defaultColor:"primary",defaultTextColor:"white",iconSpacing:"xs",sizes:{sm:{paddingHorizontal:"sm",paddingVertical:"xs",fontSize:"xs",iconSize:"sm",borderWidth:"thin",fontWeight:"regular",iconWeight:"regular",squircleBorderRadii:{circle:"full",rounded:"md",square:"none"}},md:{paddingHorizontal:"md",paddingVertical:"sm",fontSize:"medium",iconSize:"sm-md",borderWidth:"thin",fontWeight:"regular",iconWeight:"regular",squircleBorderRadii:{circle:"full",rounded:"lg",square:"none"}},lg:{paddingHorizontal:"lg",paddingVertical:"md",fontSize:"large",iconSize:"md",borderWidth:"thick",fontWeight:"semibold",iconWeight:"bold",squircleBorderRadii:{circle:"full",rounded:"xl",square:"none"}}},variants:{solid:{},outlined:{bgColor:"transparent"},text:{bgColor:"transparent"}}}),Wu=n=>({pagination:{container:{marginTop:"md",padding:"xs",borderRadius:"full",backgroundColor:"grey100",gap:"xs"},dotSize:"2xs",inactiveColor:"grey300",activeColor:"primary",dotBorderRadius:"full"},navigation:{marginHorizontal:"md",buttonColor:"primary",buttonPadding:"sm",buttonBackgroundColor:"white",buttonBorderRadius:"full",iconSize:"sm-md"},autoScroll:{defaultSpeed:20},container:{defaultItemSpacing:"md"}}),ju=n=>({defaultColor:"primary",defaultSize:"md",checkedBackgroundColor:"primary",uncheckedBorderColor:"grey400",disabledColor:"grey300",disabledTextColor:"grey500",focusBorderColor:"primary",iconColor:"white",textColor:"grey900",sizes:{sm:{labelFontSize:"small",labelPaddingLeft:"xs",iconSize:"xs",iconMargin:"2xs",borderRadius:"sm",borderWidth:"thin"},md:{labelFontSize:"medium",labelPaddingLeft:"sm",iconSize:"sm",iconMargin:"xs",borderRadius:"md",borderWidth:"thin"},lg:{labelFontSize:"large",labelPaddingLeft:"md",iconSize:"sm-md",iconMargin:"xs",borderRadius:"lg",borderWidth:"thin"}},animation:{duration:100,easing:"ease-out"}}),Du=n=>({defaultColor:"grey300",defaultThickness:1}),Hu=n=>({backgroundColor:"grey100",padding:"xs",radius:"full",avatarSize:"md",loadingGap:"sm",navItem:{radius:"full",paddingX:"md",paddingY:"sm",gap:"xs",large:{fontSize:"large",loadingSize:"small"},medium:{fontSize:"medium",loadingSize:"small"},active:{fontWeight:"medium",color:"black",backgroundColor:"white",hoverBackgroundColor:"white"},inactive:{fontWeight:"regular",color:"grey600",backgroundColor:"transparent",hoverBackgroundColor:"grey200"},hover:{color:"primary"}},profileDropdown:{offset:{top:72,right:0},containerPaddingRight:"md",spacingTop:"sm",padding:"sm",gap:"sm",borderRadius:24,boxShadow:`0 0 8px 2px ${n.colors.grey500}40`,backgroundColor:"white",defaultMaxHeight:300,minWidth:50,animationDuration:300},navDropdown:{spacingTop:"sm",paddingX:"md-lg",paddingY:"md",gap:"sm-md",borderRadius:24,boxShadow:`0 0 8px 2px ${n.colors.grey500}40`,backgroundColor:"white",defaultMaxHeight:300,minWidth:50,animationDuration:300}}),Zu=n=>{const o="grey300",i="danger",s="primary",l="grey100",c="grey300",d="grey500",g="white",v="grey900",m="thin",_=`inset 0 0 0 ${n.borderWidths.thin}px ${n.colors[s]}`,S=`inset 0 0 0 ${n.borderWidths.thin}px ${n.colors[i]}`;return{borderRadius:"md",borderWidth:m,padding:{vertical:"sm",horizontal:"md"},fontSize:"medium",placeholderColor:"grey500",iconSpacing:"sm",iconSize:"sm-md",iconColor:"grey600",textColor:v,disabledTextColor:d,disabledBorderColor:c,focusColor:s,errorColor:i,states:{default:{borderColor:o,backgroundColor:g,boxShadow:"none"},focused:{borderColor:s,backgroundColor:g,boxShadow:_},error:{borderColor:i,backgroundColor:g,boxShadow:S},disabled:{borderColor:c,backgroundColor:l,boxShadow:"none"}}}},Nu=n=>({defaultGap:"sm",defaultPadding:"none"}),Vu=n=>({sizes:{small:"24px",medium:"36px",large:"48px"},strokeWidths:{small:"2px",medium:"3px",large:"4px"},arc:{minAngle:40,maxAngle:290},animation:{loopInterval:800,showingDuration:250,contentShowingDuration:300}}),Uu=n=>({container:{sizes:{small:{gap:"xs"},medium:{gap:"sm"},large:{gap:"md"}}},item:{defaultColor:"grey900",text:{color:"black",disabledColor:"grey500"},shapes:{circular:{container:{borderRadius:"full"}},rounded:{container:{borderRadius:"md"}}},sizes:{small:{container:{size:"sm-md"},text:{fontSize:"small"},buttonSize:"sm",icon:{size:"xs",weight:"bold"}},medium:{container:{size:"md"},text:{fontSize:"medium"},buttonSize:"md",icon:{size:"sm",weight:"bold"}},large:{container:{size:"md-lg"},text:{fontSize:"large"},buttonSize:"lg",icon:{size:"sm-md",weight:"bold"}}}}}),Gu=n=>({defaultVariant:"soft",defaultSize:"md",sizes:{sm:{height:"2xs",borderRadius:"xs"},md:{height:"xs",borderRadius:"sm"},lg:{height:"sm",borderRadius:"md"}},variants:{soft:{containerBackgroundColor:"grey100",defaultProgressColor:"primary"},outlined:{containerBackgroundColor:"white",containerBorderWidth:"thin",defaultProgressColor:"primary"},plain:{containerBackgroundColor:"white",defaultProgressColor:"primary"}}}),qu=n=>{const o="grey300",i="danger",s="grey300",l="grey100",c="grey400",d="grey100",g="grey200",v="white",m="transparent",_="thin",S="thick";return{defaultColor:"primary",defaultSize:"md",defaultVariant:"outlined",defaultCorner:"circle",squircleBorderRadii:{circle:"999px",rounded:"8px"},labelColor:"grey700",disabledLabelColor:c,valueColor:"grey900",placeholderColor:"grey500",helperTextColor:"grey600",errorColor:i,iconColor:"grey600",disabledContentColor:c,disabledOpacity:.6,sizes:{sm:{paddingVertical:"xs",paddingHorizontal:"sm",fontSize:"small",borderWidth:"thin",iconSize:"sm",gap:"xs",dropdownPaddingVertical:"xs",dropdownPaddingHorizontal:"sm"},md:{paddingVertical:"sm",paddingHorizontal:"md",fontSize:"medium",borderWidth:"thin",iconSize:"sm-md",gap:"sm",dropdownPaddingVertical:"sm",dropdownPaddingHorizontal:"md"},lg:{paddingVertical:"md",paddingHorizontal:"lg",fontSize:"large",borderWidth:"thin",iconSize:"md",gap:"md",dropdownPaddingVertical:"md",dropdownPaddingHorizontal:"lg"}},variants:{outlined:{default:{backgroundColor:m,borderColor:o,borderWidth:_},hover:{backgroundColor:"grey100",borderColor:o,borderWidth:_},focused:{backgroundColor:m,borderColor:"primary",borderWidth:S},disabled:{backgroundColor:m,borderColor:s,borderWidth:_},errored:{backgroundColor:m,borderColor:i,borderWidth:_}},filled:{default:{backgroundColor:d,borderColor:m,borderWidth:_},hover:{backgroundColor:g,borderColor:m,borderWidth:_},focused:{backgroundColor:v,borderColor:"primary",borderWidth:S},disabled:{backgroundColor:l,borderColor:m,borderWidth:_},errored:{backgroundColor:v,borderColor:i,borderWidth:_}}},animation:{duration:200,easing:"ease-out"},dropdown:{backgroundColor:v,borderColor:o,shadow:"md",offset:"sm",zIndex:1e3,maxHeight:200,borderRadiusForCircle:"xl",borderRadiusForRounded:"md",itemTextColor:"grey900",itemSelectedTextColor:"grey900",itemHoverBackgroundColor:"grey100",itemSelectedBackgroundColor:"white",emptyTextColor:"grey500"}}},Xu=n=>({animation:{duration:1500,gradient:{start:"grey100",middle:"grey200",end:"grey100"},transition:{backgroundDuration:250,contentFadeDuration:200}},container:{rectangle:{borderRadius:"none",opacity:1},rounded:{borderRadius:"md",opacity:1},circle:{borderRadius:"full",opacity:1},transparent:{borderRadius:"none",opacity:0}}}),Ku=n=>({defaultVariant:"solid",defaultColor:"primary",defaultRadius:"full",defaultSize:"md",sizes:{sm:{paddingVertical:"2xs",paddingHorizontal:"xs",fontSize:"xs",gap:"2xs",iconSize:"xs"},md:{paddingVertical:"xs",paddingHorizontal:"sm",fontSize:"small",gap:"xs",iconSize:"sm"},lg:{paddingVertical:"sm",paddingHorizontal:"md",fontSize:"medium",gap:"sm",iconSize:"sm-md"}}}),Yu=n=>{const o="sm";return{defaultBackgroundColor:"grey800",defaultTextColor:"white",defaultPlacement:"bottom",container:{padding:"sm",borderRadius:"md",shadow:"md",zIndex:9999,maxWidth:"300px"},text:{fontSize:"small"},positioning:{spacing:o,placements:{top:{bottom:"100%",left:"50%",transform:"translateX(-50%)",mb:o},bottom:{top:"100%",left:"50%",transform:"translateX(-50%)",mt:o},left:{top:"50%",right:"100%",transform:"translateY(-50%)",mr:o},right:{top:"50%",left:"100%",transform:"translateY(-50%)",ml:o}}}}},Qu=n=>({animation:{minScale:.92,maxScale:1,minOpacity:.7,maxOpacity:1,springConfig:{mass:.5}}}),Ju=n=>({defaultAccentColor:"#00adef",aspectRatio:56.25,playerSettings:{autoplay:!1,muted:!1,loop:!1,title:!1,byline:!1,portrait:!1,controls:!0}}),ec=n=>({art:Fu(),base:zu(),button:Bu(),divider:Du(),header:Hu(n),input:Zu(n),list:Nu(),loading:Vu(),pagination:Uu(),skeleton:Xu(),touchable:Qu(),vimeo:Ju(),carousel:Wu(),accordion:Iu(),tag:Ku(),checkbox:ju(),select:qu(),progress:Gu(),avatar:Mu(),tooltip:Yu()}),em=ea(Xt.space),tm=Jo(Xt.size),nm=Yo(Xt.borderWidth),rm=Qo(Xt.radius),im=mi(Xt.fontSize),om=na(Xt.fontSize),am=ra(),Gl=ta(Xt.font),sm={spaces:em,sizes:tm,colors:gi,radii:rm,borderWidths:nm,fonts:Gl,__hd__:{text:{fontSizes:im,lineHeights:om,fontWeights:am,fonts:Gl}}};function tc(){const n=sm,o=ec(n);return{...n,__hd__:{...n.__hd__,...o}}}const si=tc(),ge=cn.styled,ia=cn.keyframes,Ye=cn.css,nc=(n,o)=>!["theme","themeFontSize","themeFontWeight","themeTypeface","themePosition","color","bg","bgColor","backgroundColor","opacity","margin","m","marginTop","mt","marginRight","mr","marginBottom","mb","marginLeft","ml","marginX","mx","marginY","my","padding","p","paddingTop","pt","paddingRight","pr","paddingBottom","pb","paddingLeft","pl","paddingX","px","paddingY","py","gap","borderRadius","r","radius","borderBottomLeftRadius","bbl","borderBottomRightRadius","bbr","borderTopLeftRadius","btl","borderTopRightRadius","btr","borderWidth","b","borderBottomWidth","bb","borderTopWidth","bt","borderLeftWidth","bl","borderRightWidth","br","borderColor","bc","borderBottomColor","bb","borderTopColor","bt","borderLeftColor","bl","borderRightColor","br","fontSize","fontWeight","lineHeight","letterSpacing","textAlign","fontStyle","textTransform","textDecoration","themeColor","useRichText","width","height","minWidth","maxWidth","minHeight","maxHeight","display","alignItems","alignContent","justifyContent","flexWrap","flexDirection","flex","flexGrow","flexShrink","flexBasis","alignSelf","position","top","right","bottom","left","overflow","cursor","transition","transform","animation","willChange","pointerEvents","userSelect","resize","boxShadow","textShadow","filter","backdropFilter","mixBlendMode","isolation","zIndex","marginInline","marginBlock","paddingInline","paddingBlock","whiteSpace","textOverflow","overflowY","overflowX","fullWidth","fullHeight","fw","fh","absoluteFill"].includes(n),lm=n=>typeof n=="function"?n(si):n?{...si,...n}:si,um=({theme:n,children:o})=>{const i=lm(n);return b.jsx(cn.StyleSheetManager,{shouldForwardProp:nc,children:b.jsx(cn.ThemeProvider,{theme:i,children:o})})},ue=cn.useTheme,dt=()=>typeof document>"u",pr={xs:0,sm:600,md:900,lg:1200,xl:1536},fr=Object.keys(pr),vi=n=>pe.isObject(n)&&("xs"in n||"sm"in n||"md"in n||"lg"in n||"xl"in n),ft=(n,o)=>vi(n)?Object.fromEntries(Object.entries(n).map(([i,s])=>[i,o(s)])):o(n),Go=n=>pe.reduce(n,(o,i,s)=>(pe.forEach(i,(l,c)=>{pe.has(o,c)||pe.set(o,c,{}),pe.set(o,[c,s],l)}),o),{}),rc=(n,o)=>{const i=Object.fromEntries(Object.keys(n).map(g=>[g,oa(n[g])])),s=Go(i),l=Object.fromEntries(fr.map(g=>[g,o(s[g])])),c=Go(l);return Object.fromEntries(Object.entries(c).map(([g,v])=>[g,oc(v)]))},ic=(n,o)=>{if(!vi(n))return n;switch(o){case"xs":return n.xs??n.sm??n.md??n.lg??n.xl;case"sm":return n.sm??n.xs??n.md??n.lg??n.xl;case"md":return n.md??n.sm??n.xs??n.lg??n.xl;case"lg":return n.lg??n.md??n.sm??n.xs??n.xl;case"xl":return n.xl??n.lg??n.md??n.sm??n.xs}},oa=n=>Object.fromEntries(Object.keys(pr).map(o=>[o,ic(n,o)])),oc=n=>{let o=n.xs;const i={xs:o};for(let s=1;s<fr.length;s++){const l=fr[s],c=n[l];pe.isEqual(c,o)||(i[l]=c,o=c)}return Object.keys(i).length===1?i.xs:i},aa=n=>{const[o,i]=pe.partition(Object.entries(n),([c,d])=>vi(d)),s=Object.fromEntries(o.map(([c,d])=>[c,oa(d)])),l=pe.compact(fr.map(c=>{const d=Object.fromEntries(Object.keys(s).map(v=>[v,s[v][c]]));if(c==="xs"){const v={...Object.fromEntries(i),...d};return pe.isEmpty(v)?null:Ye(v)}if(pe.isEmpty(d))return null;const g=`(min-width: ${pr[c]}px)`;return Ye`
|
|
27
|
+
}`;var se=Zl(function(){return me(p,Q+"return "+z).apply(i,y)});if(se.source=z,Io(se))throw se;return se}function Vg(e){return ye(e).toLowerCase()}function Ug(e){return ye(e).toUpperCase()}function Gg(e,t,r){if(e=ye(e),e&&(r||t===i))return Qa(e);if(!e||!(t=st(t)))return e;var a=Pt(e),u=Pt(t),p=Ja(a,u),y=es(a,u)+1;return ln(a,p,y).join("")}function qg(e,t,r){if(e=ye(e),e&&(r||t===i))return e.slice(0,ns(e)+1);if(!e||!(t=st(t)))return e;var a=Pt(e),u=es(a,Pt(t))+1;return ln(a,0,u).join("")}function Xg(e,t,r){if(e=ye(e),e&&(r||t===i))return e.replace(Oi,"");if(!e||!(t=st(t)))return e;var a=Pt(e),u=Ja(a,Pt(t));return ln(a,u).join("")}function Kg(e,t){var r=ve,a=xe;if(Ae(t)){var u="separator"in t?t.separator:u;r="length"in t?ae(t.length):r,a="omission"in t?st(t.omission):a}e=ye(e);var p=e.length;if(Pn(e)){var y=Pt(e);p=y.length}if(r>=p)return e;var x=r-kn(a);if(x<1)return a;var C=y?ln(y,0,x).join(""):e.slice(0,x);if(u===i)return C+a;if(y&&(x+=C.length-x),Fo(u)){if(e.slice(x).search(u)){var O,I=C;for(u.global||(u=Ki(u.source,ye(ba.exec(u))+"g")),u.lastIndex=0;O=u.exec(I);)var z=O.index;C=C.slice(0,z===i?x:z)}}else if(e.indexOf(st(u),x)!=x){var q=C.lastIndexOf(u);q>-1&&(C=C.slice(0,q))}return C+a}function Yg(e){return e=ye(e),e&&lf.test(e)?e.replace(va,$0):e}var Qg=Bn(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()}),Bo=Ns("toUpperCase");function Hl(e,t,r){return e=ye(e),t=r?i:t,t===i?w0(e)?R0(e):d0(e):e.match(t)||[]}var Zl=le(function(e,t){try{return ot(e,i,t)}catch(r){return Io(r)?r:new ie(r)}}),Jg=Zt(function(e,t){return mt(t,function(r){r=zt(r),Dt(e,r,Lo(e[r],e))}),e});function e2(e){var t=e==null?0:e.length,r=te();return e=t?Te(e,function(a){if(typeof a[1]!="function")throw new vt(d);return[r(a[0]),a[1]]}):[],le(function(a){for(var u=-1;++u<t;){var p=e[u];if(ot(p[0],this,a))return ot(p[1],this,a)}})}function t2(e){return $d(xt(e,S))}function Wo(e){return function(){return e}}function n2(e,t){return e==null||e!==e?t:e}var r2=Us(),i2=Us(!0);function tt(e){return e}function jo(e){return _s(typeof e=="function"?e:xt(e,S))}function o2(e){return Ss(xt(e,S))}function a2(e,t){return Es(e,xt(t,S))}var s2=le(function(e,t){return function(r){return nr(r,e,t)}}),l2=le(function(e,t){return function(r){return nr(e,r,t)}});function Do(e,t,r){var a=je(t),u=Br(t,a);r==null&&!(Ae(t)&&(u.length||!a.length))&&(r=t,t=e,e=this,u=Br(t,je(t)));var p=!(Ae(r)&&"chain"in r)||!!r.chain,y=Vt(e);return mt(u,function(x){var C=t[x];e[x]=C,y&&(e.prototype[x]=function(){var O=this.__chain__;if(p||O){var I=e(this.__wrapped__),z=I.__actions__=Qe(this.__actions__);return z.push({func:C,args:arguments,thisArg:e}),I.__chain__=O,I}return C.apply(e,tn([this.value()],arguments))})}),e}function u2(){return De._===this&&(De._=F0),this}function Ho(){}function c2(e){return e=ae(e),le(function(t){return $s(t,e)})}var f2=xo(Te),d2=xo(Ga),h2=xo(Zi);function Nl(e){return $o(e)?Ni(zt(e)):Zd(e)}function p2(e){return function(t){return e==null?i:xn(e,t)}}var g2=qs(),m2=qs(!0);function Zo(){return[]}function No(){return!1}function v2(){return{}}function y2(){return""}function x2(){return!0}function b2(e,t){if(e=ae(e),e<1||e>ee)return[];var r=Pe,a=Ze(e,Pe);t=te(t),e-=Pe;for(var u=Gi(a,t);++r<e;)t(r);return u}function w2(e){return oe(e)?Te(e,zt):lt(e)?[e]:Qe(cl(ye(e)))}function _2(e){var t=++O0;return ye(e)+t}var C2=Nr(function(e,t){return e+t},0),S2=bo("ceil"),E2=Nr(function(e,t){return e/t},1),$2=bo("floor");function T2(e){return e&&e.length?zr(e,tt,io):i}function A2(e,t){return e&&e.length?zr(e,te(t,2),io):i}function R2(e){return Ka(e,tt)}function P2(e,t){return Ka(e,te(t,2))}function k2(e){return e&&e.length?zr(e,tt,lo):i}function L2(e,t){return e&&e.length?zr(e,te(t,2),lo):i}var O2=Nr(function(e,t){return e*t},1),I2=bo("round"),F2=Nr(function(e,t){return e-t},0);function M2(e){return e&&e.length?Ui(e,tt):0}function z2(e,t){return e&&e.length?Ui(e,te(t,2)):0}return f.after=op,f.ary=wl,f.assign=Up,f.assignIn=Fl,f.assignInWith=ri,f.assignWith=Gp,f.at=qp,f.before=_l,f.bind=Lo,f.bindAll=Jg,f.bindKey=Cl,f.castArray=vp,f.chain=yl,f.chunk=$1,f.compact=T1,f.concat=A1,f.cond=e2,f.conforms=t2,f.constant=Wo,f.countBy=Mh,f.create=Xp,f.curry=Sl,f.curryRight=El,f.debounce=$l,f.defaults=Kp,f.defaultsDeep=Yp,f.defer=ap,f.delay=sp,f.difference=R1,f.differenceBy=P1,f.differenceWith=k1,f.drop=L1,f.dropRight=O1,f.dropRightWhile=I1,f.dropWhile=F1,f.fill=M1,f.filter=Bh,f.flatMap=Dh,f.flatMapDeep=Hh,f.flatMapDepth=Zh,f.flatten=pl,f.flattenDeep=z1,f.flattenDepth=B1,f.flip=lp,f.flow=r2,f.flowRight=i2,f.fromPairs=W1,f.functions=ig,f.functionsIn=og,f.groupBy=Nh,f.initial=D1,f.intersection=H1,f.intersectionBy=Z1,f.intersectionWith=N1,f.invert=sg,f.invertBy=lg,f.invokeMap=Uh,f.iteratee=jo,f.keyBy=Gh,f.keys=je,f.keysIn=et,f.map=Yr,f.mapKeys=cg,f.mapValues=fg,f.matches=o2,f.matchesProperty=a2,f.memoize=Jr,f.merge=dg,f.mergeWith=Ml,f.method=s2,f.methodOf=l2,f.mixin=Do,f.negate=ei,f.nthArg=c2,f.omit=hg,f.omitBy=pg,f.once=up,f.orderBy=qh,f.over=f2,f.overArgs=cp,f.overEvery=d2,f.overSome=h2,f.partial=Oo,f.partialRight=Tl,f.partition=Xh,f.pick=gg,f.pickBy=zl,f.property=Nl,f.propertyOf=p2,f.pull=q1,f.pullAll=ml,f.pullAllBy=X1,f.pullAllWith=K1,f.pullAt=Y1,f.range=g2,f.rangeRight=m2,f.rearg=fp,f.reject=Qh,f.remove=Q1,f.rest=dp,f.reverse=Po,f.sampleSize=ep,f.set=vg,f.setWith=yg,f.shuffle=tp,f.slice=J1,f.sortBy=ip,f.sortedUniq=ah,f.sortedUniqBy=sh,f.split=Dg,f.spread=hp,f.tail=lh,f.take=uh,f.takeRight=ch,f.takeRightWhile=fh,f.takeWhile=dh,f.tap=Th,f.throttle=pp,f.thru=Kr,f.toArray=Ll,f.toPairs=Bl,f.toPairsIn=Wl,f.toPath=w2,f.toPlainObject=Il,f.transform=xg,f.unary=gp,f.union=hh,f.unionBy=ph,f.unionWith=gh,f.uniq=mh,f.uniqBy=vh,f.uniqWith=yh,f.unset=bg,f.unzip=ko,f.unzipWith=vl,f.update=wg,f.updateWith=_g,f.values=Dn,f.valuesIn=Cg,f.without=xh,f.words=Hl,f.wrap=mp,f.xor=bh,f.xorBy=wh,f.xorWith=_h,f.zip=Ch,f.zipObject=Sh,f.zipObjectDeep=Eh,f.zipWith=$h,f.entries=Bl,f.entriesIn=Wl,f.extend=Fl,f.extendWith=ri,Do(f,f),f.add=C2,f.attempt=Zl,f.camelCase=Tg,f.capitalize=jl,f.ceil=S2,f.clamp=Sg,f.clone=yp,f.cloneDeep=bp,f.cloneDeepWith=wp,f.cloneWith=xp,f.conformsTo=_p,f.deburr=Dl,f.defaultTo=n2,f.divide=E2,f.endsWith=Ag,f.eq=Lt,f.escape=Rg,f.escapeRegExp=Pg,f.every=zh,f.find=Wh,f.findIndex=dl,f.findKey=Qp,f.findLast=jh,f.findLastIndex=hl,f.findLastKey=Jp,f.floor=$2,f.forEach=xl,f.forEachRight=bl,f.forIn=eg,f.forInRight=tg,f.forOwn=ng,f.forOwnRight=rg,f.get=Mo,f.gt=Cp,f.gte=Sp,f.has=ag,f.hasIn=zo,f.head=gl,f.identity=tt,f.includes=Vh,f.indexOf=j1,f.inRange=Eg,f.invoke=ug,f.isArguments=_n,f.isArray=oe,f.isArrayBuffer=Ep,f.isArrayLike=Je,f.isArrayLikeObject=Le,f.isBoolean=$p,f.isBuffer=un,f.isDate=Tp,f.isElement=Ap,f.isEmpty=Rp,f.isEqual=Pp,f.isEqualWith=kp,f.isError=Io,f.isFinite=Lp,f.isFunction=Vt,f.isInteger=Al,f.isLength=ti,f.isMap=Rl,f.isMatch=Op,f.isMatchWith=Ip,f.isNaN=Fp,f.isNative=Mp,f.isNil=Bp,f.isNull=zp,f.isNumber=Pl,f.isObject=Ae,f.isObjectLike=Re,f.isPlainObject=lr,f.isRegExp=Fo,f.isSafeInteger=Wp,f.isSet=kl,f.isString=ni,f.isSymbol=lt,f.isTypedArray=jn,f.isUndefined=jp,f.isWeakMap=Dp,f.isWeakSet=Hp,f.join=V1,f.kebabCase=kg,f.last=wt,f.lastIndexOf=U1,f.lowerCase=Lg,f.lowerFirst=Og,f.lt=Zp,f.lte=Np,f.max=T2,f.maxBy=A2,f.mean=R2,f.meanBy=P2,f.min=k2,f.minBy=L2,f.stubArray=Zo,f.stubFalse=No,f.stubObject=v2,f.stubString=y2,f.stubTrue=x2,f.multiply=O2,f.nth=G1,f.noConflict=u2,f.noop=Ho,f.now=Qr,f.pad=Ig,f.padEnd=Fg,f.padStart=Mg,f.parseInt=zg,f.random=$g,f.reduce=Kh,f.reduceRight=Yh,f.repeat=Bg,f.replace=Wg,f.result=mg,f.round=I2,f.runInContext=w,f.sample=Jh,f.size=np,f.snakeCase=jg,f.some=rp,f.sortedIndex=eh,f.sortedIndexBy=th,f.sortedIndexOf=nh,f.sortedLastIndex=rh,f.sortedLastIndexBy=ih,f.sortedLastIndexOf=oh,f.startCase=Hg,f.startsWith=Zg,f.subtract=F2,f.sum=M2,f.sumBy=z2,f.template=Ng,f.times=b2,f.toFinite=Ut,f.toInteger=ae,f.toLength=Ol,f.toLower=Vg,f.toNumber=_t,f.toSafeInteger=Vp,f.toString=ye,f.toUpper=Ug,f.trim=Gg,f.trimEnd=qg,f.trimStart=Xg,f.truncate=Kg,f.unescape=Yg,f.uniqueId=_2,f.upperCase=Qg,f.upperFirst=Bo,f.each=xl,f.eachRight=bl,f.first=gl,Do(f,function(){var e={};return Ft(f,function(t,r){be.call(f.prototype,r)||(e[r]=t)}),e}(),{chain:!1}),f.VERSION=s,mt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){f[e].placeholder=f}),mt(["drop","take"],function(e,t){fe.prototype[e]=function(r){r=r===i?1:Be(ae(r),0);var a=this.__filtered__&&!t?new fe(this):this.clone();return a.__filtered__?a.__takeCount__=Ze(r,a.__takeCount__):a.__views__.push({size:Ze(r,Pe),type:e+(a.__dir__<0?"Right":"")}),a},fe.prototype[e+"Right"]=function(r){return this.reverse()[e](r).reverse()}}),mt(["filter","map","takeWhile"],function(e,t){var r=t+1,a=r==Z||r==G;fe.prototype[e]=function(u){var p=this.clone();return p.__iteratees__.push({iteratee:te(u,3),type:r}),p.__filtered__=p.__filtered__||a,p}}),mt(["head","last"],function(e,t){var r="take"+(t?"Right":"");fe.prototype[e]=function(){return this[r](1).value()[0]}}),mt(["initial","tail"],function(e,t){var r="drop"+(t?"":"Right");fe.prototype[e]=function(){return this.__filtered__?new fe(this):this[r](1)}}),fe.prototype.compact=function(){return this.filter(tt)},fe.prototype.find=function(e){return this.filter(e).head()},fe.prototype.findLast=function(e){return this.reverse().find(e)},fe.prototype.invokeMap=le(function(e,t){return typeof e=="function"?new fe(this):this.map(function(r){return nr(r,e,t)})}),fe.prototype.reject=function(e){return this.filter(ei(te(e)))},fe.prototype.slice=function(e,t){e=ae(e);var r=this;return r.__filtered__&&(e>0||t<0)?new fe(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==i&&(t=ae(t),r=t<0?r.dropRight(-t):r.take(t-e)),r)},fe.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},fe.prototype.toArray=function(){return this.take(Pe)},Ft(fe.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),a=/^(?:head|last)$/.test(t),u=f[a?"take"+(t=="last"?"Right":""):t],p=a||/^find/.test(t);u&&(f.prototype[t]=function(){var y=this.__wrapped__,x=a?[1]:arguments,C=y instanceof fe,O=x[0],I=C||oe(y),z=function(ce){var he=u.apply(f,tn([ce],x));return a&&q?he[0]:he};I&&r&&typeof O=="function"&&O.length!=1&&(C=I=!1);var q=this.__chain__,Q=!!this.__actions__.length,ne=p&&!q,se=C&&!Q;if(!p&&I){y=se?y:new fe(this);var re=e.apply(y,x);return re.__actions__.push({func:Kr,args:[z],thisArg:i}),new yt(re,q)}return ne&&se?e.apply(this,x):(re=this.thru(z),ne?a?re.value()[0]:re.value():re)})}),mt(["pop","push","shift","sort","splice","unshift"],function(e){var t=_r[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",a=/^(?:pop|shift)$/.test(e);f.prototype[e]=function(){var u=arguments;if(a&&!this.__chain__){var p=this.value();return t.apply(oe(p)?p:[],u)}return this[r](function(y){return t.apply(oe(y)?y:[],u)})}}),Ft(fe.prototype,function(e,t){var r=f[t];if(r){var a=r.name+"";be.call(Fn,a)||(Fn[a]=[]),Fn[a].push({name:t,func:r})}}),Fn[Zr(i,V).name]=[{name:"wrapper",func:i}],fe.prototype.clone=Y0,fe.prototype.reverse=Q0,fe.prototype.value=J0,f.prototype.at=Ah,f.prototype.chain=Rh,f.prototype.commit=Ph,f.prototype.next=kh,f.prototype.plant=Oh,f.prototype.reverse=Ih,f.prototype.toJSON=f.prototype.valueOf=f.prototype.value=Fh,f.prototype.first=f.prototype.head,Xn&&(f.prototype[Xn]=Lh),f},Ln=P0();pn?((pn.exports=Ln)._=Ln,Wi._=Ln):De._=Ln}).call(W2)}(cr,cr.exports)),cr.exports}var pe=j2();const Yo=n=>({none:0,hairline:n*.5,thin:n,thick:n*2,heavy:n*4}),Qo=n=>({none:0,xs:n*.5,sm:n,md:n*2,lg:n*3,xl:n*4,full:9999}),D2=n=>["none","hairline","thin","thick","heavy"].includes(n),Ru=n=>["none","xs","sm","md","lg","xl","full"].includes(n),gi={transparent:"#FFFFFF00",white:"#FFFFFF",black:"#000000",primary:"#6949FF",secondary:"#FFC107",success:"#12D18E",danger:"#F75555",warning:"#FACC15",info:"#6949FF",grey100:"#F5F5F5",grey200:"#EEEEEE",grey300:"#E0E0E0",grey400:"#BDBDBD",grey500:"#9E9E9E",grey600:"#757575",grey700:"#616161",grey800:"#424242",grey900:"#212121",primary100:"#F0EDFF",primary200:"#C3B6FF",primary300:"#A592FF",primary400:"#876DFF",primary500:"#6949FF",secondary100:"#FFF9E6",secondary200:"#FFE69C",secondary300:"#FFDA6A",secondary400:"#FFCD39",secondary500:"#FFC107",orange100:"#FFF3E0",orange200:"#FFE0B2",orange300:"#FFCC80",orange400:"#FFB74D",orange500:"#FF9800",orange600:"#FB8C00",orange700:"#F57C00",orange800:"#EF6C00",orange900:"#E65100",cyan100:"#E0F7FA",cyan200:"#B2EBF2",cyan300:"#80DEEA",cyan400:"#4DD0E1",cyan500:"#26C6DA",cyan600:"#00BCD4",cyan700:"#00ACC1",cyan800:"#0097A7",cyan900:"#006064",purple100:"#F3E5F5",purple200:"#E1BEE7",purple300:"#CE93D8",purple400:"#BA68C8",purple500:"#AB47BC",purple600:"#9C27B0",purple700:"#8E24AA",purple800:"#7B1FA2",purple900:"#6A1B9A",teal100:"#E0F2F1",teal200:"#B2DFDB",teal300:"#80CBC4",teal400:"#4DB6AC",teal500:"#26A69A",teal600:"#009688",teal700:"#00897B",teal800:"#00796B",teal900:"#004D40",lime100:"#F9FBE7",lime200:"#F0F4C3",lime300:"#E6EE9C",lime400:"#DCE775",lime500:"#CDDC39",lime600:"#C0CA33",lime700:"#AFB42B",lime800:"#9E9D24",lime900:"#827717",pink100:"#FCE4EC",pink200:"#F8BBD0",pink300:"#F48FB1",pink400:"#F06292",pink500:"#EC4899",pink600:"#E91E63",pink700:"#D81B60",pink800:"#C2185B",pink900:"#880E4F",backgroundPurple:"#F9F8FF",backgroundYellow:"#FFFCED",backgroundGreen:"#F1FDF5",backgroundBlue:"#F6F9FF",backgroundTeal:"#F2FFF8",backgroundRed:"#FFF7F8",backgroundOrange:"#FFF8ED"},Pu=n=>n in gi,ku={primary:["#543ACC","#6949FF"],secondary:["#E0A800","#FFC107"],success:["#0FB57A","#12D18E"],danger:["#E64545","#F75555"],warning:["#E1B70D","#FACC15"],info:["#543ACC","#6949FF"]},H2=n=>["primary","secondary","success","danger","warning","info"].includes(n),Z2=1,N2=8,V2=8,U2="Inter",G2="Sora",q2=10,X2=4,Xt={borderWidth:Z2,space:N2,size:V2,font:{neutral:U2,heading:G2},fontSize:q2,radius:X2},Lu=n=>({none:"none",sm:`0 1px 2px 0 ${n.grey400}40`,md:`0 4px 6px -1px ${n.grey500}40, 0 2px 4px -1px ${n.grey400}40`,lg:`0 10px 15px -3px ${n.grey600}40, 0 4px 6px -2px ${n.grey500}40`}),K2=n=>["none","sm","md","lg"].includes(n),Jo=n=>({"2xs":n*.5,xs:n,sm:n*2,"sm-md":n*2.5,md:n*4,"md-lg":n*6,lg:n*8,xl:n*16,"2xl":n*32,"3xl":n*64,"4xl":n*128}),En=n=>["2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl"].includes(n),ea=n=>({none:0,"2xs":n*.25,xs:n*.5,sm:n,"sm-md":n*1.5,md:n*2,"md-lg":n*2.5,lg:n*3,xl:n*4,"2xl":n*5,"3xl":n*6,"4xl":n*8,"5xl":n*10,"6xl":n*12,"7xl":n*14,"8xl":n*16,"9xl":n*18,"10xl":n*20,"-xxs":n*-.25,"-xs":n*-.5,"-sm":n*-1,"-sm-md":n*-1.5,"-md":n*-2,"-md-lg":n*-2.5,"-lg":n*-3,"-xl":n*-4,"-2xl":n*-5,"-3xl":n*-6,"-4xl":n*-8,"-5xl":n*-10,"-6xl":n*-12,"-7xl":n*-14,"-8xl":n*-16,"-9xl":n*-18,"-10xl":n*-20}),Ou=n=>["none","2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl","-xxs","-xs","-sm","-sm-md","-md","-md-lg","-lg","-xl","-2xl","-3xl","-4xl"].includes(n),ta=({neutral:n,heading:o})=>({neutral:`"${n}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`,heading:`"${o}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`}),mi=n=>({"2xs":n*.75,xs:n,small:n*1.25,medium:n*1.5,large:n*2,xl:n*2.5,"2xl":n*3,"3xl":n*3.5,"4xl":n*4,"5xl":n*5,"6xl":n*6}),na=n=>{const o=mi(n),i=1.4;return{"2xs":o["2xs"]*i,xs:o.xs*i,small:o.small*i,medium:o.medium*i,large:o.large*i,xl:o.xl*i,"2xl":o["2xl"]*i,"3xl":o["3xl"]*i,"4xl":o["4xl"]*i,"5xl":o["5xl"]*i,"6xl":o["6xl"]*i}},ra=()=>({"extra-light":100,thin:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,black:900}),Y2=n=>["2xs","xs","small","medium","large","xl","2xl","3xl","4xl","5xl","6xl"].includes(n),Q2=n=>["extra-light","thin","light","regular","medium","semibold","bold","extrabold","black"].includes(n),J2=(n=Xt,o=gi,i=ku)=>{const s=ta(n.font),l=mi(n.fontSize),c=na(n.fontSize),d=ra(),g=Yo(n.borderWidth),v=ea(n.space),m=Jo(n.size),_=Qo(n.radius),S=Lu(o);return{colors:o,gradientColors:i,fonts:s,fontSizes:l,lineHeights:c,fontWeights:d,borderWidths:g,spaces:v,sizes:m,radii:_,shadows:S}},Iu=n=>({paddingVertical:"md",paddingHorizontal:"md",borderRadius:"lg",borderColor:"grey300",borderWidth:"thin",backgroundColor:"white",gap:"md",header:{gap:"sm-md",iconSize:"sm",iconColor:"grey600",disabledOpacity:.5},animation:{duration:300,easing:"ease"}}),Fu=n=>({defaultSize:"md",defaultIconSize:"md",defaultEmojiSize:"lg",defaultBrandSize:"md",defaultImageSize:"md",defaultSvgSize:"md"}),Mu=n=>({defaultSize:"md",defaultFallbackTextSize:"medium",fallbackBackgroundColor:"grey400",sizes:{sm:{fallbackTextSize:"small"},md:{fallbackTextSize:"medium"},lg:{fallbackTextSize:"xl"}}}),zu=n=>({defaultBackgroundColor:"white",defaultHeaderParams:{backgroundColor:"white"},desktopMediaQuery:"(min-width: 768px)",mobilePaddingX:"md",desktopPaddingX:"xl",desktopContentMaxWidth:"1200px"}),Bu=n=>({loadingConfig:{size:"md"},defaultColor:"primary",defaultTextColor:"white",iconSpacing:"xs",sizes:{sm:{paddingHorizontal:"sm",paddingVertical:"xs",fontSize:"xs",iconSize:"sm",borderWidth:"thin",fontWeight:"regular",iconWeight:"regular",squircleBorderRadii:{circle:"full",rounded:"md",square:"none"}},md:{paddingHorizontal:"md",paddingVertical:"sm",fontSize:"medium",iconSize:"sm-md",borderWidth:"thin",fontWeight:"regular",iconWeight:"regular",squircleBorderRadii:{circle:"full",rounded:"lg",square:"none"}},lg:{paddingHorizontal:"lg",paddingVertical:"md",fontSize:"large",iconSize:"md",borderWidth:"thick",fontWeight:"semibold",iconWeight:"bold",squircleBorderRadii:{circle:"full",rounded:"xl",square:"none"}}},variants:{solid:{},outlined:{bgColor:"transparent"},text:{bgColor:"transparent"}}}),Wu=n=>({pagination:{container:{marginTop:"md",padding:"xs",borderRadius:"full",backgroundColor:"grey100",gap:"xs"},dotSize:"2xs",inactiveColor:"grey300",activeColor:"primary",dotBorderRadius:"full"},navigation:{marginHorizontal:"md",buttonColor:"primary",buttonPadding:"sm",buttonBackgroundColor:"white",buttonBorderRadius:"full",iconSize:"sm-md"},autoScroll:{defaultSpeed:20},container:{defaultItemSpacing:"md"}}),ju=n=>({defaultColor:"primary",defaultSize:"md",checkedBackgroundColor:"primary",uncheckedBorderColor:"grey400",disabledColor:"grey300",disabledTextColor:"grey500",focusBorderColor:"primary",iconColor:"white",textColor:"grey900",sizes:{sm:{labelFontSize:"small",labelPaddingLeft:"xs",iconSize:"xs",iconMargin:"2xs",borderRadius:"sm",borderWidth:"thin"},md:{labelFontSize:"medium",labelPaddingLeft:"sm",iconSize:"sm",iconMargin:"xs",borderRadius:"md",borderWidth:"thin"},lg:{labelFontSize:"large",labelPaddingLeft:"md",iconSize:"sm-md",iconMargin:"xs",borderRadius:"lg",borderWidth:"thin"}},animation:{duration:100,easing:"ease-out"}}),Du=n=>({defaultColor:"grey300",defaultThickness:1}),Hu=n=>({backgroundColor:"grey100",padding:"xs",radius:"full",avatarSize:"md",loadingGap:"sm",navItem:{radius:"full",paddingX:"md",paddingY:"sm",gap:"xs",large:{fontSize:"large",loadingSize:"small"},medium:{fontSize:"medium",loadingSize:"small"},active:{fontWeight:"medium",color:"black",backgroundColor:"white",hoverBackgroundColor:"white"},inactive:{fontWeight:"regular",color:"grey600",backgroundColor:"transparent",hoverBackgroundColor:"white"},hover:{color:"primary"}},profileDropdown:{offset:{top:72,right:0},containerPaddingRight:"md",spacingTop:"sm",padding:"sm",gap:"sm",borderRadius:24,boxShadow:`0 0 8px 2px ${n.colors.grey500}40`,backgroundColor:"white",defaultMaxHeight:300,minWidth:50,animationDuration:300},navDropdown:{spacingTop:"sm",paddingX:"md-lg",paddingY:"md",gap:"sm-md",borderRadius:24,boxShadow:`0 0 8px 2px ${n.colors.grey500}40`,backgroundColor:"white",defaultMaxHeight:300,minWidth:50,animationDuration:300}}),Zu=n=>{const o="grey300",i="danger",s="primary",l="grey100",c="grey300",d="grey500",g="white",v="grey900",m="thin",_=`inset 0 0 0 ${n.borderWidths.thin}px ${n.colors[s]}`,S=`inset 0 0 0 ${n.borderWidths.thin}px ${n.colors[i]}`;return{borderRadius:"md",borderWidth:m,padding:{vertical:"sm",horizontal:"md"},fontSize:"medium",placeholderColor:"grey500",iconSpacing:"sm",iconSize:"sm-md",iconColor:"grey600",textColor:v,disabledTextColor:d,disabledBorderColor:c,focusColor:s,errorColor:i,states:{default:{borderColor:o,backgroundColor:g,boxShadow:"none"},focused:{borderColor:s,backgroundColor:g,boxShadow:_},error:{borderColor:i,backgroundColor:g,boxShadow:S},disabled:{borderColor:c,backgroundColor:l,boxShadow:"none"}}}},Nu=n=>({defaultGap:"sm",defaultPadding:"none"}),Vu=n=>({sizes:{small:"24px",medium:"36px",large:"48px"},strokeWidths:{small:"2px",medium:"3px",large:"4px"},arc:{minAngle:40,maxAngle:290},animation:{loopInterval:800,showingDuration:250,contentShowingDuration:300}}),Uu=n=>({container:{sizes:{small:{gap:"xs"},medium:{gap:"sm"},large:{gap:"md"}}},item:{defaultColor:"grey900",text:{color:"black",disabledColor:"grey500"},shapes:{circular:{container:{borderRadius:"full"}},rounded:{container:{borderRadius:"md"}}},sizes:{small:{container:{size:"sm-md"},text:{fontSize:"small"},buttonSize:"sm",icon:{size:"xs",weight:"bold"}},medium:{container:{size:"md"},text:{fontSize:"medium"},buttonSize:"md",icon:{size:"sm",weight:"bold"}},large:{container:{size:"md-lg"},text:{fontSize:"large"},buttonSize:"lg",icon:{size:"sm-md",weight:"bold"}}}}}),Gu=n=>({defaultVariant:"soft",defaultSize:"md",sizes:{sm:{height:"2xs",borderRadius:"xs"},md:{height:"xs",borderRadius:"sm"},lg:{height:"sm",borderRadius:"md"}},variants:{soft:{containerBackgroundColor:"grey100",defaultProgressColor:"primary"},outlined:{containerBackgroundColor:"white",containerBorderWidth:"thin",defaultProgressColor:"primary"},plain:{containerBackgroundColor:"white",defaultProgressColor:"primary"}}}),qu=n=>{const o="grey300",i="danger",s="grey300",l="grey100",c="grey400",d="grey100",g="grey200",v="white",m="transparent",_="thin",S="thick";return{defaultColor:"primary",defaultSize:"md",defaultVariant:"outlined",defaultCorner:"circle",squircleBorderRadii:{circle:"999px",rounded:"8px"},labelColor:"grey700",disabledLabelColor:c,valueColor:"grey900",placeholderColor:"grey500",helperTextColor:"grey600",errorColor:i,iconColor:"grey600",disabledContentColor:c,disabledOpacity:.6,sizes:{sm:{paddingVertical:"xs",paddingHorizontal:"sm",fontSize:"small",borderWidth:"thin",iconSize:"sm",gap:"xs",dropdownPaddingVertical:"xs",dropdownPaddingHorizontal:"sm"},md:{paddingVertical:"sm",paddingHorizontal:"md",fontSize:"medium",borderWidth:"thin",iconSize:"sm-md",gap:"sm",dropdownPaddingVertical:"sm",dropdownPaddingHorizontal:"md"},lg:{paddingVertical:"md",paddingHorizontal:"lg",fontSize:"large",borderWidth:"thin",iconSize:"md",gap:"md",dropdownPaddingVertical:"md",dropdownPaddingHorizontal:"lg"}},variants:{outlined:{default:{backgroundColor:m,borderColor:o,borderWidth:_},hover:{backgroundColor:"grey100",borderColor:o,borderWidth:_},focused:{backgroundColor:m,borderColor:"primary",borderWidth:S},disabled:{backgroundColor:m,borderColor:s,borderWidth:_},errored:{backgroundColor:m,borderColor:i,borderWidth:_}},filled:{default:{backgroundColor:d,borderColor:m,borderWidth:_},hover:{backgroundColor:g,borderColor:m,borderWidth:_},focused:{backgroundColor:v,borderColor:"primary",borderWidth:S},disabled:{backgroundColor:l,borderColor:m,borderWidth:_},errored:{backgroundColor:v,borderColor:i,borderWidth:_}}},animation:{duration:200,easing:"ease-out"},dropdown:{backgroundColor:v,borderColor:o,shadow:"md",offset:"sm",zIndex:1e3,maxHeight:200,borderRadiusForCircle:"xl",borderRadiusForRounded:"md",itemTextColor:"grey900",itemSelectedTextColor:"grey900",itemHoverBackgroundColor:"grey100",itemSelectedBackgroundColor:"white",emptyTextColor:"grey500"}}},Xu=n=>({animation:{duration:1500,gradient:{start:"grey100",middle:"grey200",end:"grey100"},transition:{backgroundDuration:250,contentFadeDuration:200}},container:{rectangle:{borderRadius:"none",opacity:1},rounded:{borderRadius:"md",opacity:1},circle:{borderRadius:"full",opacity:1},transparent:{borderRadius:"none",opacity:0}}}),Ku=n=>({defaultVariant:"solid",defaultColor:"primary",defaultRadius:"full",defaultSize:"md",sizes:{sm:{paddingVertical:"2xs",paddingHorizontal:"xs",fontSize:"xs",gap:"2xs",iconSize:"xs"},md:{paddingVertical:"xs",paddingHorizontal:"sm",fontSize:"small",gap:"xs",iconSize:"sm"},lg:{paddingVertical:"sm",paddingHorizontal:"md",fontSize:"medium",gap:"sm",iconSize:"sm-md"}}}),Yu=n=>{const o="sm";return{defaultBackgroundColor:"grey800",defaultTextColor:"white",defaultPlacement:"bottom",container:{padding:"sm",borderRadius:"md",shadow:"md",zIndex:9999,maxWidth:"300px"},text:{fontSize:"small"},positioning:{spacing:o,placements:{top:{bottom:"100%",left:"50%",transform:"translateX(-50%)",mb:o},bottom:{top:"100%",left:"50%",transform:"translateX(-50%)",mt:o},left:{top:"50%",right:"100%",transform:"translateY(-50%)",mr:o},right:{top:"50%",left:"100%",transform:"translateY(-50%)",ml:o}}}}},Qu=n=>({animation:{minScale:.92,maxScale:1,minOpacity:.7,maxOpacity:1,springConfig:{mass:.5}}}),Ju=n=>({defaultAccentColor:"#00adef",aspectRatio:56.25,playerSettings:{autoplay:!1,muted:!1,loop:!1,title:!1,byline:!1,portrait:!1,controls:!0}}),ec=n=>({art:Fu(),base:zu(),button:Bu(),divider:Du(),header:Hu(n),input:Zu(n),list:Nu(),loading:Vu(),pagination:Uu(),skeleton:Xu(),touchable:Qu(),vimeo:Ju(),carousel:Wu(),accordion:Iu(),tag:Ku(),checkbox:ju(),select:qu(),progress:Gu(),avatar:Mu(),tooltip:Yu()}),em=ea(Xt.space),tm=Jo(Xt.size),nm=Yo(Xt.borderWidth),rm=Qo(Xt.radius),im=mi(Xt.fontSize),om=na(Xt.fontSize),am=ra(),Gl=ta(Xt.font),sm={spaces:em,sizes:tm,colors:gi,radii:rm,borderWidths:nm,fonts:Gl,__hd__:{text:{fontSizes:im,lineHeights:om,fontWeights:am,fonts:Gl}}};function tc(){const n=sm,o=ec(n);return{...n,__hd__:{...n.__hd__,...o}}}const si=tc(),ge=cn.styled,ia=cn.keyframes,Ye=cn.css,nc=(n,o)=>!["theme","themeFontSize","themeFontWeight","themeTypeface","themePosition","color","bg","bgColor","backgroundColor","opacity","margin","m","marginTop","mt","marginRight","mr","marginBottom","mb","marginLeft","ml","marginX","mx","marginY","my","padding","p","paddingTop","pt","paddingRight","pr","paddingBottom","pb","paddingLeft","pl","paddingX","px","paddingY","py","gap","borderRadius","r","radius","borderBottomLeftRadius","bbl","borderBottomRightRadius","bbr","borderTopLeftRadius","btl","borderTopRightRadius","btr","borderWidth","b","borderBottomWidth","bb","borderTopWidth","bt","borderLeftWidth","bl","borderRightWidth","br","borderColor","bc","borderBottomColor","bb","borderTopColor","bt","borderLeftColor","bl","borderRightColor","br","fontSize","fontWeight","lineHeight","letterSpacing","textAlign","fontStyle","textTransform","textDecoration","themeColor","useRichText","width","height","minWidth","maxWidth","minHeight","maxHeight","display","alignItems","alignContent","justifyContent","flexWrap","flexDirection","flex","flexGrow","flexShrink","flexBasis","alignSelf","position","top","right","bottom","left","overflow","cursor","transition","transform","animation","willChange","pointerEvents","userSelect","resize","boxShadow","textShadow","filter","backdropFilter","mixBlendMode","isolation","zIndex","marginInline","marginBlock","paddingInline","paddingBlock","whiteSpace","textOverflow","overflowY","overflowX","fullWidth","fullHeight","fw","fh","absoluteFill"].includes(n),lm=n=>typeof n=="function"?n(si):n?{...si,...n}:si,um=({theme:n,children:o})=>{const i=lm(n);return b.jsx(cn.StyleSheetManager,{shouldForwardProp:nc,children:b.jsx(cn.ThemeProvider,{theme:i,children:o})})},ue=cn.useTheme,dt=()=>typeof document>"u",pr={xs:0,sm:600,md:900,lg:1200,xl:1536},fr=Object.keys(pr),vi=n=>pe.isObject(n)&&("xs"in n||"sm"in n||"md"in n||"lg"in n||"xl"in n),ft=(n,o)=>vi(n)?Object.fromEntries(Object.entries(n).map(([i,s])=>[i,o(s)])):o(n),Go=n=>pe.reduce(n,(o,i,s)=>(pe.forEach(i,(l,c)=>{pe.has(o,c)||pe.set(o,c,{}),pe.set(o,[c,s],l)}),o),{}),rc=(n,o)=>{const i=Object.fromEntries(Object.keys(n).map(g=>[g,oa(n[g])])),s=Go(i),l=Object.fromEntries(fr.map(g=>[g,o(s[g])])),c=Go(l);return Object.fromEntries(Object.entries(c).map(([g,v])=>[g,oc(v)]))},ic=(n,o)=>{if(!vi(n))return n;switch(o){case"xs":return n.xs??n.sm??n.md??n.lg??n.xl;case"sm":return n.sm??n.xs??n.md??n.lg??n.xl;case"md":return n.md??n.sm??n.xs??n.lg??n.xl;case"lg":return n.lg??n.md??n.sm??n.xs??n.xl;case"xl":return n.xl??n.lg??n.md??n.sm??n.xs}},oa=n=>Object.fromEntries(Object.keys(pr).map(o=>[o,ic(n,o)])),oc=n=>{let o=n.xs;const i={xs:o};for(let s=1;s<fr.length;s++){const l=fr[s],c=n[l];pe.isEqual(c,o)||(i[l]=c,o=c)}return Object.keys(i).length===1?i.xs:i},aa=n=>{const[o,i]=pe.partition(Object.entries(n),([c,d])=>vi(d)),s=Object.fromEntries(o.map(([c,d])=>[c,oa(d)])),l=pe.compact(fr.map(c=>{const d=Object.fromEntries(Object.keys(s).map(v=>[v,s[v][c]]));if(c==="xs"){const v={...Object.fromEntries(i),...d};return pe.isEmpty(v)?null:Ye(v)}if(pe.isEmpty(d))return null;const g=`(min-width: ${pr[c]}px)`;return Ye`
|
|
28
28
|
@media ${g} {
|
|
29
29
|
${Ye(d)}
|
|
30
30
|
}
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aic-kits/react",
|
|
3
|
-
"version": "0.28.
|
|
3
|
+
"version": "0.28.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"vite-plugin-dts": "^4.3.0",
|
|
54
54
|
"vitest": "^2.1.8"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "e827ddc5aa2d6d6176bdc543755fb4e590bae6f9"
|
|
57
57
|
}
|