From 53ad6e861036b371a65377381f8c80a321bd8484 Mon Sep 17 00:00:00 2001 From: rommguy Date: Sat, 2 Mar 2024 12:38:24 +0200 Subject: [PATCH] another attempt --- exampleDist/assets/{index-rqLGU3r-.js => index-xSTDjhsN.js} | 2 +- exampleDist/index.html | 5 ++--- exampleDist/vite.svg | 1 + index.html | 1 - vite.config.ts | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) rename exampleDist/assets/{index-rqLGU3r-.js => index-xSTDjhsN.js} (98%) create mode 100644 exampleDist/vite.svg diff --git a/exampleDist/assets/index-rqLGU3r-.js b/exampleDist/assets/index-xSTDjhsN.js similarity index 98% rename from exampleDist/assets/index-rqLGU3r-.js rename to exampleDist/assets/index-xSTDjhsN.js index 9570e76..663fee5 100644 --- a/exampleDist/assets/index-rqLGU3r-.js +++ b/exampleDist/assets/index-xSTDjhsN.js @@ -145,4 +145,4 @@ __p += '`),pe&&(L+=`' + function print() { __p += __j.call(arguments, '') } `:`; `)+L+`return __p -}`;var se=Cm(function(){return tm(S,X+"return "+L).apply(v,C)});if(se.source=L,ec(se))throw se;return se}function ok(n){return we(n).toLowerCase()}function lk(n){return we(n).toUpperCase()}function sk(n,i,l){if(n=we(n),n&&(l||i===v))return Nn(n);if(!n||!(i=Ft(i)))return n;var a=Ct(n),d=Ct(i);return cr(a,U(a,d),J(a,d)+1).join("")}function ak(n,i,l){if(n=we(n),n&&(l||i===v))return n.slice(0,Ao(n)+1);if(!n||!(i=Ft(i)))return n;var a=Ct(n);return cr(a,0,J(a,Ct(i))+1).join("")}function ck(n,i,l){if(n=we(n),n&&(l||i===v))return n.replace(ya,"");if(!n||!(i=Ft(i)))return n;var a=Ct(n);return cr(a,U(a,Ct(i))).join("")}function fk(n,i){var l=K1,a=G1;if(Oe(i)){var d="separator"in i?i.separator:d;l="length"in i?ae(i.length):l,a="omission"in i?Ft(i.omission):a}n=we(n);var h=n.length;if(Ee(n)){var g=Ct(n);h=g.length}if(l>=h)return n;var S=l-ut(a);if(S<1)return a;var C=g?cr(g,0,S).join(""):n.slice(0,S);if(d===v)return C+a;if(g&&(S+=C.length-S),wc(d)){if(n.slice(S).search(d)){var z,I=C;for(d.global||(d=cc(d.source,we(cp.exec(d))+"g")),d.lastIndex=0;z=d.exec(I);)var L=z.index;C=C.slice(0,L===v?S:L)}}else if(n.indexOf(Ft(d),S)!=S){var V=C.lastIndexOf(d);V>-1&&(C=C.slice(0,V))}return C+a}function dk(n){return n=we(n),n&&py.test(n)?n.replace(lp,m_):n}function bh(n,i,l){return n=we(n),i=l?v:i,i===v?Ke(n)?U1(n):ue(n):n.match(i)||[]}function pk(n){var i=n==null?0:n.length,l=ne();return n=i?N(n,function(a){if(typeof a[1]!="function")throw new tn(Kt);return[l(a[0]),a[1]]}):[],fe(function(a){for(var d=-1;++dlr)return[];var l=jn,a=ft(n,jn);i=ne(i),n-=jn;for(var d=Mt(a,i);++l1?n[i-1]:v;return l=typeof l=="function"?(n.pop(),l):v,Dh(n,l)}),xE=Qn(function(n){var i=n.length,l=i?n[0]:0,a=this.__wrapped__,d=function(h){return Ra(h,n)};return!(i>1||this.__actions__.length)&&a instanceof K&&qn(l)?(a=a.slice(l,+l+(i?1:0)),a.__actions__.push({func:il,args:[d],thisArg:v}),new te(a,this.__chain__).thru(function(h){return i&&!h.length&&h.push(v),h})):this.thru(d)}),kE=Xo(function(n,i,l){xe.call(n,l)?++n[l]:Un(n,l,1)}),EE=ph(zh),CE=ph(Th),NE=Xo(function(n,i,l){xe.call(n,l)?n[l].push(i):Un(n,l,[i])}),PE=fe(function(n,i,l){var a=-1,d=typeof i=="function",h=Rt(n)?Ge(n.length):[];return dr(n,function(g){h[++a]=d?r(i,g,l):ku(g,i,l)}),h}),RE=Xo(function(n,i,l){Un(n,l,i)}),jE=Xo(function(n,i,l){n[l?0:1].push(i)},function(){return[[],[]]}),IE=fe(function(n,i){if(n==null)return[];var l=i.length;return l>1&&wt(n,i[0],i[1])?i=[]:l>2&&wt(i[0],i[1],i[2])&&(i=[i[0]]),Zp(n,lt(i,1),[])}),El=Hk||function(){return ot.Date.now()},yc=fe(function(n,i,l){var a=Gt;if(l.length){var d=Z(l,wi(yc));a|=Rn}return Vn(n,a,i,l,d)}),gm=fe(function(n,i,l){var a=Gt|Dr;if(l.length){var d=Z(l,wi(gm));a|=Rn}return Vn(i,a,n,l,d)}),zE=fe(function(n,i){return Bp(n,1,i)}),TE=fe(function(n,i,l){return Bp(n,en(i)||0,l)});ol.Cache=Hn;var AE=nE(function(n,i){i=i.length==1&&oe(i[0])?N(i[0],Ve(ne())):N(lt(i,1),Ve(ne()));var l=i.length;return fe(function(a){for(var d=-1,h=ft(a.length,l);++d=i}),qr=Vp(function(){return arguments}())?Vp:function(n){return Me(n)&&xe.call(n,"callee")&&!um.call(n,"callee")},oe=Ge.isArray,$E=zp?Ve(zp):Z_,pr=Vk||sc,ME=Tp?Ve(Tp):J_,_m=Ap?Ve(Ap):ew,wc=Op?Ve(Op):tw,wm=Lp?Ve(Lp):nw,Pi=Dp?Ve(Dp):rw,FE=el(Oa),WE=el(function(n,i){return n<=i}),BE=yi(function(n,i){if(Pu(i)||Rt(i))return zn(i,et(i),n),v;for(var l in i)xe.call(i,l)&&Su(n,l,i[l])}),Sm=yi(function(n,i){zn(i,jt(i),n)}),Cl=yi(function(n,i,l,a){zn(i,jt(i),n,a)}),HE=yi(function(n,i,l,a){zn(i,et(i),n,a)}),UE=Qn(Ra),VE=fe(function(n,i){n=Re(n);var l=-1,a=i.length,d=a>2?i[2]:v;for(d&&wt(i[0],i[1],d)&&(a=1);++l1),h}),zn(n,Ya(n),l),a&&(l=Zt(l,or|np|ci,xw));for(var d=i.length;d--;)Fa(l,i[d]);return l}),ZE=Qn(function(n,i){return n==null?{}:ow(n,i)}),km=yh(et),Em=yh(jt),JE=_i(function(n,i,l){return i=i.toLowerCase(),n+(l?Zh(i):i)}),bE=_i(function(n,i,l){return n+(l?"-":"")+i.toLowerCase()}),eC=_i(function(n,i,l){return n+(l?" ":"")+i.toLowerCase()}),tC=dh("toLowerCase"),nC=_i(function(n,i,l){return n+(l?"_":"")+i.toLowerCase()}),rC=_i(function(n,i,l){return n+(l?" ":"")+Sc(i)}),iC=_i(function(n,i,l){return n+(l?" ":"")+i.toUpperCase()}),Sc=dh("toUpperCase"),Cm=fe(function(n,i){try{return r(n,v,i)}catch(l){return ec(l)?l:new ac(l)}}),uC=Qn(function(n,i){return o(i,function(l){l=Tn(l),Un(n,l,yc(n[l],n))}),n}),oC=hh(),lC=hh(!0),sC=fe(function(n,i){return function(l){return ku(l,n,i)}}),aC=fe(function(n,i){return function(l){return ku(n,l,i)}}),cC=Va(N),fC=Va(c),dC=Va(A),pC=vh(),hC=vh(!0),mC=Jo(function(n,i){return n+i},0),vC=Qa("ceil"),gC=Jo(function(n,i){return n/i},1),yC=Qa("floor"),_C=Jo(function(n,i){return n*i},1),wC=Qa("round"),SC=Jo(function(n,i){return n-i},0);return f.after=YS,f.ary=Wh,f.assign=BE,f.assignIn=Sm,f.assignInWith=Cl,f.assignWith=HE,f.at=UE,f.before=Bh,f.bind=yc,f.bindAll=uC,f.bindKey=gm,f.castArray=tx,f.chain=$h,f.chunk=Ww,f.compact=Bw,f.concat=Hw,f.cond=pk,f.conforms=hk,f.constant=rc,f.countBy=kE,f.create=Ex,f.curry=Hh,f.curryRight=Uh,f.debounce=Vh,f.defaults=VE,f.defaultsDeep=QE,f.defer=zE,f.delay=TE,f.difference=uE,f.differenceBy=oE,f.differenceWith=lE,f.drop=Uw,f.dropRight=Vw,f.dropRightWhile=Qw,f.dropWhile=qw,f.fill=Yw,f.filter=AS,f.flatMap=OS,f.flatMapDeep=LS,f.flatMapDepth=DS,f.flatten=Ah,f.flattenDeep=Kw,f.flattenDepth=Gw,f.flip=KS,f.flow=oC,f.flowRight=lC,f.fromPairs=Xw,f.functions=zx,f.functionsIn=Tx,f.groupBy=NE,f.initial=Jw,f.intersection=sE,f.intersectionBy=aE,f.intersectionWith=cE,f.invert=qE,f.invertBy=YE,f.invokeMap=PE,f.iteratee=ic,f.keyBy=RE,f.keys=et,f.keysIn=jt,f.map=ul,f.mapKeys=Ox,f.mapValues=Lx,f.matches=vk,f.matchesProperty=gk,f.memoize=ol,f.merge=GE,f.mergeWith=xm,f.method=sC,f.methodOf=aC,f.mixin=uc,f.negate=ll,f.nthArg=_k,f.omit=XE,f.omitBy=Dx,f.once=GS,f.orderBy=MS,f.over=cC,f.overArgs=AE,f.overEvery=fC,f.overSome=dC,f.partial=_c,f.partialRight=ym,f.partition=jE,f.pick=ZE,f.pickBy=Xh,f.property=em,f.propertyOf=wk,f.pull=fE,f.pullAll=Lh,f.pullAllBy=nS,f.pullAllWith=rS,f.pullAt=dE,f.range=pC,f.rangeRight=hC,f.rearg=OE,f.reject=BS,f.remove=iS,f.rest=XS,f.reverse=Ja,f.sampleSize=US,f.set=Mx,f.setWith=Fx,f.shuffle=VS,f.slice=uS,f.sortBy=IE,f.sortedUniq=dS,f.sortedUniqBy=pS,f.split=rk,f.spread=ZS,f.tail=hS,f.take=mS,f.takeRight=vS,f.takeRightWhile=gS,f.takeWhile=yS,f.tap=ES,f.throttle=JS,f.thru=il,f.toArray=Yh,f.toPairs=km,f.toPairsIn=Em,f.toPath=Ck,f.toPlainObject=Gh,f.transform=Wx,f.unary=bS,f.union=pE,f.unionBy=hE,f.unionWith=mE,f.uniq=_S,f.uniqBy=wS,f.uniqWith=SS,f.unset=Bx,f.unzip=ba,f.unzipWith=Dh,f.update=Hx,f.updateWith=Ux,f.values=Si,f.valuesIn=Vx,f.without=vE,f.words=bh,f.wrap=ex,f.xor=gE,f.xorBy=yE,f.xorWith=_E,f.zip=wE,f.zipObject=xS,f.zipObjectDeep=kS,f.zipWith=SE,f.entries=km,f.entriesIn=Em,f.extend=Sm,f.extendWith=Cl,uc(f,f),f.add=mC,f.attempt=Cm,f.camelCase=JE,f.capitalize=Zh,f.ceil=vC,f.clamp=Qx,f.clone=nx,f.cloneDeep=ix,f.cloneDeepWith=ux,f.cloneWith=rx,f.conformsTo=ox,f.deburr=Jh,f.defaultTo=mk,f.divide=gC,f.endsWith=Kx,f.eq=gn,f.escape=Gx,f.escapeRegExp=Xx,f.every=TS,f.find=EE,f.findIndex=zh,f.findKey=Cx,f.findLast=CE,f.findLastIndex=Th,f.findLastKey=Nx,f.floor=yC,f.forEach=Mh,f.forEachRight=Fh,f.forIn=Px,f.forInRight=Rx,f.forOwn=jx,f.forOwnRight=Ix,f.get=tc,f.gt=LE,f.gte=DE,f.has=Ax,f.hasIn=nc,f.head=Oh,f.identity=It,f.includes=$S,f.indexOf=Zw,f.inRange=qx,f.invoke=KE,f.isArguments=qr,f.isArray=oe,f.isArrayBuffer=$E,f.isArrayLike=Rt,f.isArrayLikeObject=He,f.isBoolean=lx,f.isBuffer=pr,f.isDate=ME,f.isElement=sx,f.isEmpty=ax,f.isEqual=cx,f.isEqualWith=fx,f.isError=ec,f.isFinite=dx,f.isFunction=Yn,f.isInteger=Qh,f.isLength=sl,f.isMap=_m,f.isMatch=px,f.isMatchWith=hx,f.isNaN=mx,f.isNative=vx,f.isNil=yx,f.isNull=gx,f.isNumber=qh,f.isObject=Oe,f.isObjectLike=Me,f.isPlainObject=Ru,f.isRegExp=wc,f.isSafeInteger=_x,f.isSet=wm,f.isString=al,f.isSymbol=Wt,f.isTypedArray=Pi,f.isUndefined=wx,f.isWeakMap=Sx,f.isWeakSet=xx,f.join=bw,f.kebabCase=bE,f.last=bt,f.lastIndexOf=eS,f.lowerCase=eC,f.lowerFirst=tC,f.lt=FE,f.lte=WE,f.max=Pk,f.maxBy=Rk,f.mean=jk,f.meanBy=Ik,f.min=zk,f.minBy=Tk,f.stubArray=lc,f.stubFalse=sc,f.stubObject=Sk,f.stubString=xk,f.stubTrue=kk,f.multiply=_C,f.nth=tS,f.noConflict=yk,f.noop=oc,f.now=El,f.pad=Zx,f.padEnd=Jx,f.padStart=bx,f.parseInt=ek,f.random=Yx,f.reduce=FS,f.reduceRight=WS,f.repeat=tk,f.replace=nk,f.result=$x,f.round=wC,f.runInContext=k,f.sample=HS,f.size=QS,f.snakeCase=nC,f.some=qS,f.sortedIndex=oS,f.sortedIndexBy=lS,f.sortedIndexOf=sS,f.sortedLastIndex=aS,f.sortedLastIndexBy=cS,f.sortedLastIndexOf=fS,f.startCase=rC,f.startsWith=ik,f.subtract=SC,f.sum=Ak,f.sumBy=Ok,f.template=uk,f.times=Ek,f.toFinite=Kn,f.toInteger=ae,f.toLength=Kh,f.toLower=ok,f.toNumber=en,f.toSafeInteger=kx,f.toString=we,f.toUpper=lk,f.trim=sk,f.trimEnd=ak,f.trimStart=ck,f.truncate=fk,f.unescape=dk,f.uniqueId=Nk,f.upperCase=iC,f.upperFirst=Sc,f.each=Mh,f.eachRight=Fh,f.first=Oh,uc(f,function(){var n={};return In(f,function(i,l){xe.call(f.prototype,l)||(n[l]=i)}),n}(),{chain:!1}),f.VERSION=V1,o(["bind","bindKey","curry","curryRight","partial","partialRight"],function(n){f[n].placeholder=f}),o(["drop","take"],function(n,i){K.prototype[n]=function(l){l=l===v?1:Xe(ae(l),0);var a=this.__filtered__&&!i?new K(this):this.clone();return a.__filtered__?a.__takeCount__=ft(l,a.__takeCount__):a.__views__.push({size:ft(l,jn),type:n+(a.__dir__<0?"Right":"")}),a},K.prototype[n+"Right"]=function(l){return this.reverse()[n](l).reverse()}}),o(["filter","map","takeWhile"],function(n,i){var l=i+1,a=l==ip||l==b1;K.prototype[n]=function(d){var h=this.clone();return h.__iteratees__.push({iteratee:ne(d,3),type:l}),h.__filtered__=h.__filtered__||a,h}}),o(["head","last"],function(n,i){var l="take"+(i?"Right":"");K.prototype[n]=function(){return this[l](1).value()[0]}}),o(["initial","tail"],function(n,i){var l="drop"+(i?"":"Right");K.prototype[n]=function(){return this.__filtered__?new K(this):this[l](1)}}),K.prototype.compact=function(){return this.filter(It)},K.prototype.find=function(n){return this.filter(n).head()},K.prototype.findLast=function(n){return this.reverse().find(n)},K.prototype.invokeMap=fe(function(n,i){return typeof n=="function"?new K(this):this.map(function(l){return ku(l,n,i)})}),K.prototype.reject=function(n){return this.filter(ll(ne(n)))},K.prototype.slice=function(n,i){n=ae(n);var l=this;return l.__filtered__&&(n>0||i<0)?new K(l):(n<0?l=l.takeRight(-n):n&&(l=l.drop(n)),i!==v&&(i=ae(i),l=i<0?l.dropRight(-i):l.take(i-n)),l)},K.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},K.prototype.toArray=function(){return this.take(jn)},In(K.prototype,function(n,i){var l=/^(?:filter|find|map|reject)|While$/.test(i),a=/^(?:head|last)$/.test(i),d=f[a?"take"+(i=="last"?"Right":""):i],h=a||/^find/.test(i);d&&(f.prototype[i]=function(){var g=this.__wrapped__,S=a?[1]:arguments,C=g instanceof K,z=S[0],I=C||oe(g),L=function(de){var pe=d.apply(f,P([de],S));return a&&V?pe[0]:pe};I&&l&&typeof z=="function"&&z.length!=1&&(C=I=!1);var V=this.__chain__,X=!!this.__actions__.length,b=h&&!V,se=C&&!X;if(!h&&I){g=se?g:new K(this);var ee=n.apply(g,S);return ee.__actions__.push({func:il,args:[L],thisArg:v}),new te(ee,V)}return b&&se?n.apply(this,S):(ee=this.thru(L),b?a?ee.value()[0]:ee.value():ee)})}),o(["pop","push","shift","sort","splice","unshift"],function(n){var i=fl[n],l=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",a=/^(?:pop|shift)$/.test(n);f.prototype[n]=function(){var d=arguments;if(a&&!this.__chain__){var h=this.value();return i.apply(oe(h)?h:[],d)}return this[l](function(g){return i.apply(oe(g)?g:[],d)})}}),In(K.prototype,function(n,i){var l=f[i];if(l){var a=l.name+"";xe.call(Ci,a)||(Ci[a]=[]),Ci[a].push({name:i,func:l})}}),Ci[Zo(v,Dr).name]=[{name:"wrapper",func:v}],K.prototype.clone=Nt,K.prototype.reverse=Na,K.prototype.value=g_,f.prototype.at=xE,f.prototype.chain=CS,f.prototype.commit=NS,f.prototype.next=PS,f.prototype.plant=jS,f.prototype.reverse=IS,f.prototype.toJSON=f.prototype.valueOf=f.prototype.value=zS,f.prototype.first=f.prototype.head,ju&&(f.prototype[ju]=RS),f},gi=v_();Mr?((Mr.exports=gi)._=gi,Ea._=gi):ot._=gi}).call(Du)})(Ls,Ls.exports);var n4=Ls.exports,W1={};(function(e){e.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},e.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},e.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},e.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},e.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},e.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},e.realToAlias=function(){var t=Object.prototype.hasOwnProperty,r=e.aliasToReal,u={};for(var o in r){var s=r[o];t.call(u,s)?u[s].push(o):u[s]=[o]}return u}(),e.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},e.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},e.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}})(W1);var r4={},Ze=W1,i4=r4,Z0=Array.prototype.push;function u4(e,t){return t==2?function(r,u){return e.apply(void 0,arguments)}:function(r){return e.apply(void 0,arguments)}}function Jc(e,t){return t==2?function(r,u){return e(r,u)}:function(r){return e(r)}}function J0(e){for(var t=e?e.length:0,r=Array(t);t--;)r[t]=e[t];return r}function o4(e){return function(t){return e({},t)}}function l4(e,t){return function(){for(var r=arguments.length,u=r-1,o=Array(r);r--;)o[r]=arguments[r];var s=o[t],c=o.slice(0,t);return s&&Z0.apply(c,s),t!=u&&Z0.apply(c,o.slice(t+1)),e.apply(this,c)}}function bc(e,t){return function(){var r=arguments.length;if(r){for(var u=Array(r);r--;)u[r]=arguments[r];var o=u[0]=t.apply(void 0,u);return e.apply(void 0,u),o}}}function td(e,t,r,u){var o=typeof t=="function",s=t===Object(t);if(s&&(u=r,r=t,t=void 0),r==null)throw new TypeError;u||(u={});var c={cap:"cap"in u?u.cap:!0,curry:"curry"in u?u.curry:!0,fixed:"fixed"in u?u.fixed:!0,immutable:"immutable"in u?u.immutable:!0,rearg:"rearg"in u?u.rearg:!0},p=o?r:i4,m="curry"in u&&u.curry,_="fixed"in u&&u.fixed,N="rearg"in u&&u.rearg,P=o?r.runInContext():void 0,E=o?r:{ary:e.ary,assign:e.assign,clone:e.clone,curry:e.curry,forEach:e.forEach,isArray:e.isArray,isError:e.isError,isFunction:e.isFunction,isWeakMap:e.isWeakMap,iteratee:e.iteratee,keys:e.keys,rearg:e.rearg,toInteger:e.toInteger,toPath:e.toPath},T=E.ary,A=E.assign,D=E.clone,ue=E.curry,w=E.forEach,y=E.isArray,x=E.isError,j=E.isFunction,F=E.isWeakMap,$=E.keys,O=E.rearg,Y=E.toInteger,_e=E.toPath,le=$(Ze.aryMethod),Ye={castArray:function(G){return function(){var W=arguments[0];return y(W)?G(J0(W)):G.apply(void 0,arguments)}},iteratee:function(G){return function(){var W=arguments[0],H=arguments[1],Z=G(W,H),ie=Z.length;return c.cap&&typeof H=="number"?(H=H>2?H-2:1,ie&&ie<=H?Z:Jc(Z,H)):Z}},mixin:function(G){return function(W){var H=this;if(!j(H))return G(H,Object(W));var Z=[];return w($(W),function(ie){j(W[ie])&&Z.push([ie,H.prototype[ie]])}),G(H,Object(W)),w(Z,function(ie){var Be=ie[1];j(Be)?H.prototype[ie[0]]=Be:delete H.prototype[ie[0]]}),H}},nthArg:function(G){return function(W){var H=W<0?1:Y(W)+1;return ue(G(W),H)}},rearg:function(G){return function(W,H){var Z=H?H.length:0;return ue(G(W,H),Z)}},runInContext:function(G){return function(W){return td(e,G(W),u)}}};function Mt(G,W){if(c.cap){var H=Ze.iterateeRearg[G];if(H)return re(W,H);var Z=!o&&Ze.iterateeAry[G];if(Z)return J(W,Z)}return W}function dn(G,W,H){return m||c.curry&&H>1?ue(W,H):W}function Nn(G,W,H){if(c.fixed&&(_||!Ze.skipFixed[G])){var Z=Ze.methodSpread[G],ie=Z&&Z.start;return ie===void 0?T(W,H):l4(W,ie)}return W}function Ve(G,W,H){return c.rearg&&H>1&&(N||!Ze.skipRearg[G])?O(W,Ze.methodRearg[G]||Ze.aryRearg[H]):W}function pn(G,W){W=_e(W);for(var H=-1,Z=W.length,ie=Z-1,Be=D(Object(G)),it=Be;it!=null&&++H{const[r,u]=rn.useState(4),o=()=>{u(p=>p+1)},s=()=>{u(p=>Math.max(p-1,4))},c={flexDirection:t==="left"?"row":"row-reverse"};switch(e){case"compare-with-native":return B.jsxs("div",{className:"example-wrapper",style:c,children:[B.jsxs("div",{className:"container native-scroll",children:[B.jsx("label",{className:"side-title",children:"Native Scroll"}),B.jsxs("div",{className:"panel",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"This is boring"})}),B.jsx("div",{className:"panel-content-native panel-content",children:B.jsx("div",{className:"content-fill",children:Qu.text})})]})]},"native-example"),B.jsxs("div",{className:"container",children:[B.jsx("label",{className:"side-title",children:"Custom Scroll"}),B.jsxs("div",{className:"panel",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"Cool Scrollbar!"})}),B.jsx(Ii,{allowOuterScroll:!0,children:B.jsx("div",{className:"panel-content-custom panel-content",children:B.jsx("div",{className:"content-fill",children:Qu.text})})})]})]},"cool-example")]});case"crazy-designer":return B.jsxs("div",{className:"container example-wrapper",style:c,children:[B.jsxs("div",{className:"example-description",children:[B.jsx("img",{src:a4}),"There are no limits for your design."]}),B.jsxs("div",{className:"panel crazy-scroll",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"Who designed this???"})}),B.jsx(Ii,{allowOuterScroll:!0,handleClass:"scroll-handle-override",children:B.jsx("div",{className:"panel-content-custom panel-content",children:B.jsx("div",{className:"content-fill",children:Qu.text})})})]})]},"crazy-example");case"flex":return B.jsxs("div",{className:"container example-flex-wrapper example-wrapper",style:c,id:"flex-example",children:[B.jsxs("div",{className:"example-description",children:["Custom scroll supports flexible layouts. You can use it on elements styled with flex, by passing the ",B.jsx("b",{children:"flex"})," prop to CustomScroll"]}),B.jsxs("div",{className:"panel flex-scroll",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"Flexbox!!!"})}),B.jsx(Ii,{allowOuterScroll:!0,flex:"1",children:B.jsx("div",{className:"panel-content-custom panel-content",children:B.jsx("div",{className:"content-fill",children:Qu.text})})})]})]},"flex-example");case"dynamic-content":return B.jsxs("div",{className:"example-dynamic-wrapper example-wrapper",style:c,id:"dynamic-content-example",children:[B.jsxs("div",{className:"example-description",children:["When your content is dynamic, you can use the ",B.jsx("b",{children:"keepAtBottom"})," ","prop, to make sure new content doesn't change the scroll position, supporting the user experience."]}),B.jsxs("div",{children:[B.jsxs("div",{className:"panel dynamic-scroll",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"DYNAMIC CONTENT!!!"})}),B.jsx(Ii,{allowOuterScroll:!1,keepAtBottom:!0,children:B.jsx("div",{className:"panel-content-custom panel-content",children:B.jsx("div",{className:"content-fill",children:ev.map(p=>B.jsx("div",{className:"dynamic-content",children:p},p),ev.times(p=>`Content #${p}`,r))})})})]}),B.jsx("button",{className:"dynamic-content-button",onClick:o,children:"Add Content"},"addContent"),B.jsx("button",{className:"dynamic-content-button",onClick:s,children:"Remove Content"},"removeContent")]})]});case"allow-outer-scroll":return B.jsxs("div",{className:"example-wrapper",style:c,id:"allow-outer-scroll-example",children:[B.jsxs("div",{className:"example-description",children:["In this example, scrolling the wrapping element is enabled with",B.jsxs("b",{children:[" ","allowOuterScroll"]})]}),B.jsx("div",{className:"container",children:B.jsxs("div",{className:"panel",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"Allowing external scroll"})}),B.jsx(Ii,{allowOuterScroll:!0,children:B.jsx("div",{className:"panel-content-custom panel-content",style:{maxHeight:300},children:B.jsx("div",{className:"content-fill",children:Qu.shortText})})})]})},"cool-example")]})}},c4=()=>B.jsx(Ii,{children:B.jsxs("div",{"data-testid":"app-root",className:"app-root",children:[B.jsx("div",{className:"demo-title",children:"React-Custom-Scroll Demo page"}),B.jsx("div",{className:"demo-subtitle",children:"react-custom-scroll lets you design unique scrollbars without compromising on performance. It preserves the browser's native scrolling mechanism, ensuring a smooth, familiar user experience. Its hover design means no content is obscured, offering a consistent look across browsers and operating systems."}),B.jsx(qu,{demoType:"compare-with-native",descriptionSide:"left"}),B.jsx(qu,{demoType:"crazy-designer",descriptionSide:"right"}),B.jsx(qu,{demoType:"dynamic-content",descriptionSide:"left"}),B.jsx(qu,{demoType:"allow-outer-scroll",descriptionSide:"right"}),B.jsx(qu,{demoType:"flex",descriptionSide:"left"})]})});ef.createRoot(document.getElementById("root")).render(B.jsx(Xi.StrictMode,{children:B.jsx(c4,{})})); +}`;var se=Cm(function(){return tm(S,X+"return "+L).apply(v,C)});if(se.source=L,ec(se))throw se;return se}function ok(n){return we(n).toLowerCase()}function lk(n){return we(n).toUpperCase()}function sk(n,i,l){if(n=we(n),n&&(l||i===v))return Nn(n);if(!n||!(i=Ft(i)))return n;var a=Ct(n),d=Ct(i);return cr(a,U(a,d),J(a,d)+1).join("")}function ak(n,i,l){if(n=we(n),n&&(l||i===v))return n.slice(0,Ao(n)+1);if(!n||!(i=Ft(i)))return n;var a=Ct(n);return cr(a,0,J(a,Ct(i))+1).join("")}function ck(n,i,l){if(n=we(n),n&&(l||i===v))return n.replace(ya,"");if(!n||!(i=Ft(i)))return n;var a=Ct(n);return cr(a,U(a,Ct(i))).join("")}function fk(n,i){var l=K1,a=G1;if(Oe(i)){var d="separator"in i?i.separator:d;l="length"in i?ae(i.length):l,a="omission"in i?Ft(i.omission):a}n=we(n);var h=n.length;if(Ee(n)){var g=Ct(n);h=g.length}if(l>=h)return n;var S=l-ut(a);if(S<1)return a;var C=g?cr(g,0,S).join(""):n.slice(0,S);if(d===v)return C+a;if(g&&(S+=C.length-S),wc(d)){if(n.slice(S).search(d)){var z,I=C;for(d.global||(d=cc(d.source,we(cp.exec(d))+"g")),d.lastIndex=0;z=d.exec(I);)var L=z.index;C=C.slice(0,L===v?S:L)}}else if(n.indexOf(Ft(d),S)!=S){var V=C.lastIndexOf(d);V>-1&&(C=C.slice(0,V))}return C+a}function dk(n){return n=we(n),n&&py.test(n)?n.replace(lp,m_):n}function bh(n,i,l){return n=we(n),i=l?v:i,i===v?Ke(n)?U1(n):ue(n):n.match(i)||[]}function pk(n){var i=n==null?0:n.length,l=ne();return n=i?N(n,function(a){if(typeof a[1]!="function")throw new tn(Kt);return[l(a[0]),a[1]]}):[],fe(function(a){for(var d=-1;++dlr)return[];var l=jn,a=ft(n,jn);i=ne(i),n-=jn;for(var d=Mt(a,i);++l1?n[i-1]:v;return l=typeof l=="function"?(n.pop(),l):v,Dh(n,l)}),xE=Qn(function(n){var i=n.length,l=i?n[0]:0,a=this.__wrapped__,d=function(h){return Ra(h,n)};return!(i>1||this.__actions__.length)&&a instanceof K&&qn(l)?(a=a.slice(l,+l+(i?1:0)),a.__actions__.push({func:il,args:[d],thisArg:v}),new te(a,this.__chain__).thru(function(h){return i&&!h.length&&h.push(v),h})):this.thru(d)}),kE=Xo(function(n,i,l){xe.call(n,l)?++n[l]:Un(n,l,1)}),EE=ph(zh),CE=ph(Th),NE=Xo(function(n,i,l){xe.call(n,l)?n[l].push(i):Un(n,l,[i])}),PE=fe(function(n,i,l){var a=-1,d=typeof i=="function",h=Rt(n)?Ge(n.length):[];return dr(n,function(g){h[++a]=d?r(i,g,l):ku(g,i,l)}),h}),RE=Xo(function(n,i,l){Un(n,l,i)}),jE=Xo(function(n,i,l){n[l?0:1].push(i)},function(){return[[],[]]}),IE=fe(function(n,i){if(n==null)return[];var l=i.length;return l>1&&wt(n,i[0],i[1])?i=[]:l>2&&wt(i[0],i[1],i[2])&&(i=[i[0]]),Zp(n,lt(i,1),[])}),El=Hk||function(){return ot.Date.now()},yc=fe(function(n,i,l){var a=Gt;if(l.length){var d=Z(l,wi(yc));a|=Rn}return Vn(n,a,i,l,d)}),gm=fe(function(n,i,l){var a=Gt|Dr;if(l.length){var d=Z(l,wi(gm));a|=Rn}return Vn(i,a,n,l,d)}),zE=fe(function(n,i){return Bp(n,1,i)}),TE=fe(function(n,i,l){return Bp(n,en(i)||0,l)});ol.Cache=Hn;var AE=nE(function(n,i){i=i.length==1&&oe(i[0])?N(i[0],Ve(ne())):N(lt(i,1),Ve(ne()));var l=i.length;return fe(function(a){for(var d=-1,h=ft(a.length,l);++d=i}),qr=Vp(function(){return arguments}())?Vp:function(n){return Me(n)&&xe.call(n,"callee")&&!um.call(n,"callee")},oe=Ge.isArray,$E=zp?Ve(zp):Z_,pr=Vk||sc,ME=Tp?Ve(Tp):J_,_m=Ap?Ve(Ap):ew,wc=Op?Ve(Op):tw,wm=Lp?Ve(Lp):nw,Pi=Dp?Ve(Dp):rw,FE=el(Oa),WE=el(function(n,i){return n<=i}),BE=yi(function(n,i){if(Pu(i)||Rt(i))return zn(i,et(i),n),v;for(var l in i)xe.call(i,l)&&Su(n,l,i[l])}),Sm=yi(function(n,i){zn(i,jt(i),n)}),Cl=yi(function(n,i,l,a){zn(i,jt(i),n,a)}),HE=yi(function(n,i,l,a){zn(i,et(i),n,a)}),UE=Qn(Ra),VE=fe(function(n,i){n=Re(n);var l=-1,a=i.length,d=a>2?i[2]:v;for(d&&wt(i[0],i[1],d)&&(a=1);++l1),h}),zn(n,Ya(n),l),a&&(l=Zt(l,or|np|ci,xw));for(var d=i.length;d--;)Fa(l,i[d]);return l}),ZE=Qn(function(n,i){return n==null?{}:ow(n,i)}),km=yh(et),Em=yh(jt),JE=_i(function(n,i,l){return i=i.toLowerCase(),n+(l?Zh(i):i)}),bE=_i(function(n,i,l){return n+(l?"-":"")+i.toLowerCase()}),eC=_i(function(n,i,l){return n+(l?" ":"")+i.toLowerCase()}),tC=dh("toLowerCase"),nC=_i(function(n,i,l){return n+(l?"_":"")+i.toLowerCase()}),rC=_i(function(n,i,l){return n+(l?" ":"")+Sc(i)}),iC=_i(function(n,i,l){return n+(l?" ":"")+i.toUpperCase()}),Sc=dh("toUpperCase"),Cm=fe(function(n,i){try{return r(n,v,i)}catch(l){return ec(l)?l:new ac(l)}}),uC=Qn(function(n,i){return o(i,function(l){l=Tn(l),Un(n,l,yc(n[l],n))}),n}),oC=hh(),lC=hh(!0),sC=fe(function(n,i){return function(l){return ku(l,n,i)}}),aC=fe(function(n,i){return function(l){return ku(n,l,i)}}),cC=Va(N),fC=Va(c),dC=Va(A),pC=vh(),hC=vh(!0),mC=Jo(function(n,i){return n+i},0),vC=Qa("ceil"),gC=Jo(function(n,i){return n/i},1),yC=Qa("floor"),_C=Jo(function(n,i){return n*i},1),wC=Qa("round"),SC=Jo(function(n,i){return n-i},0);return f.after=YS,f.ary=Wh,f.assign=BE,f.assignIn=Sm,f.assignInWith=Cl,f.assignWith=HE,f.at=UE,f.before=Bh,f.bind=yc,f.bindAll=uC,f.bindKey=gm,f.castArray=tx,f.chain=$h,f.chunk=Ww,f.compact=Bw,f.concat=Hw,f.cond=pk,f.conforms=hk,f.constant=rc,f.countBy=kE,f.create=Ex,f.curry=Hh,f.curryRight=Uh,f.debounce=Vh,f.defaults=VE,f.defaultsDeep=QE,f.defer=zE,f.delay=TE,f.difference=uE,f.differenceBy=oE,f.differenceWith=lE,f.drop=Uw,f.dropRight=Vw,f.dropRightWhile=Qw,f.dropWhile=qw,f.fill=Yw,f.filter=AS,f.flatMap=OS,f.flatMapDeep=LS,f.flatMapDepth=DS,f.flatten=Ah,f.flattenDeep=Kw,f.flattenDepth=Gw,f.flip=KS,f.flow=oC,f.flowRight=lC,f.fromPairs=Xw,f.functions=zx,f.functionsIn=Tx,f.groupBy=NE,f.initial=Jw,f.intersection=sE,f.intersectionBy=aE,f.intersectionWith=cE,f.invert=qE,f.invertBy=YE,f.invokeMap=PE,f.iteratee=ic,f.keyBy=RE,f.keys=et,f.keysIn=jt,f.map=ul,f.mapKeys=Ox,f.mapValues=Lx,f.matches=vk,f.matchesProperty=gk,f.memoize=ol,f.merge=GE,f.mergeWith=xm,f.method=sC,f.methodOf=aC,f.mixin=uc,f.negate=ll,f.nthArg=_k,f.omit=XE,f.omitBy=Dx,f.once=GS,f.orderBy=MS,f.over=cC,f.overArgs=AE,f.overEvery=fC,f.overSome=dC,f.partial=_c,f.partialRight=ym,f.partition=jE,f.pick=ZE,f.pickBy=Xh,f.property=em,f.propertyOf=wk,f.pull=fE,f.pullAll=Lh,f.pullAllBy=nS,f.pullAllWith=rS,f.pullAt=dE,f.range=pC,f.rangeRight=hC,f.rearg=OE,f.reject=BS,f.remove=iS,f.rest=XS,f.reverse=Ja,f.sampleSize=US,f.set=Mx,f.setWith=Fx,f.shuffle=VS,f.slice=uS,f.sortBy=IE,f.sortedUniq=dS,f.sortedUniqBy=pS,f.split=rk,f.spread=ZS,f.tail=hS,f.take=mS,f.takeRight=vS,f.takeRightWhile=gS,f.takeWhile=yS,f.tap=ES,f.throttle=JS,f.thru=il,f.toArray=Yh,f.toPairs=km,f.toPairsIn=Em,f.toPath=Ck,f.toPlainObject=Gh,f.transform=Wx,f.unary=bS,f.union=pE,f.unionBy=hE,f.unionWith=mE,f.uniq=_S,f.uniqBy=wS,f.uniqWith=SS,f.unset=Bx,f.unzip=ba,f.unzipWith=Dh,f.update=Hx,f.updateWith=Ux,f.values=Si,f.valuesIn=Vx,f.without=vE,f.words=bh,f.wrap=ex,f.xor=gE,f.xorBy=yE,f.xorWith=_E,f.zip=wE,f.zipObject=xS,f.zipObjectDeep=kS,f.zipWith=SE,f.entries=km,f.entriesIn=Em,f.extend=Sm,f.extendWith=Cl,uc(f,f),f.add=mC,f.attempt=Cm,f.camelCase=JE,f.capitalize=Zh,f.ceil=vC,f.clamp=Qx,f.clone=nx,f.cloneDeep=ix,f.cloneDeepWith=ux,f.cloneWith=rx,f.conformsTo=ox,f.deburr=Jh,f.defaultTo=mk,f.divide=gC,f.endsWith=Kx,f.eq=gn,f.escape=Gx,f.escapeRegExp=Xx,f.every=TS,f.find=EE,f.findIndex=zh,f.findKey=Cx,f.findLast=CE,f.findLastIndex=Th,f.findLastKey=Nx,f.floor=yC,f.forEach=Mh,f.forEachRight=Fh,f.forIn=Px,f.forInRight=Rx,f.forOwn=jx,f.forOwnRight=Ix,f.get=tc,f.gt=LE,f.gte=DE,f.has=Ax,f.hasIn=nc,f.head=Oh,f.identity=It,f.includes=$S,f.indexOf=Zw,f.inRange=qx,f.invoke=KE,f.isArguments=qr,f.isArray=oe,f.isArrayBuffer=$E,f.isArrayLike=Rt,f.isArrayLikeObject=He,f.isBoolean=lx,f.isBuffer=pr,f.isDate=ME,f.isElement=sx,f.isEmpty=ax,f.isEqual=cx,f.isEqualWith=fx,f.isError=ec,f.isFinite=dx,f.isFunction=Yn,f.isInteger=Qh,f.isLength=sl,f.isMap=_m,f.isMatch=px,f.isMatchWith=hx,f.isNaN=mx,f.isNative=vx,f.isNil=yx,f.isNull=gx,f.isNumber=qh,f.isObject=Oe,f.isObjectLike=Me,f.isPlainObject=Ru,f.isRegExp=wc,f.isSafeInteger=_x,f.isSet=wm,f.isString=al,f.isSymbol=Wt,f.isTypedArray=Pi,f.isUndefined=wx,f.isWeakMap=Sx,f.isWeakSet=xx,f.join=bw,f.kebabCase=bE,f.last=bt,f.lastIndexOf=eS,f.lowerCase=eC,f.lowerFirst=tC,f.lt=FE,f.lte=WE,f.max=Pk,f.maxBy=Rk,f.mean=jk,f.meanBy=Ik,f.min=zk,f.minBy=Tk,f.stubArray=lc,f.stubFalse=sc,f.stubObject=Sk,f.stubString=xk,f.stubTrue=kk,f.multiply=_C,f.nth=tS,f.noConflict=yk,f.noop=oc,f.now=El,f.pad=Zx,f.padEnd=Jx,f.padStart=bx,f.parseInt=ek,f.random=Yx,f.reduce=FS,f.reduceRight=WS,f.repeat=tk,f.replace=nk,f.result=$x,f.round=wC,f.runInContext=k,f.sample=HS,f.size=QS,f.snakeCase=nC,f.some=qS,f.sortedIndex=oS,f.sortedIndexBy=lS,f.sortedIndexOf=sS,f.sortedLastIndex=aS,f.sortedLastIndexBy=cS,f.sortedLastIndexOf=fS,f.startCase=rC,f.startsWith=ik,f.subtract=SC,f.sum=Ak,f.sumBy=Ok,f.template=uk,f.times=Ek,f.toFinite=Kn,f.toInteger=ae,f.toLength=Kh,f.toLower=ok,f.toNumber=en,f.toSafeInteger=kx,f.toString=we,f.toUpper=lk,f.trim=sk,f.trimEnd=ak,f.trimStart=ck,f.truncate=fk,f.unescape=dk,f.uniqueId=Nk,f.upperCase=iC,f.upperFirst=Sc,f.each=Mh,f.eachRight=Fh,f.first=Oh,uc(f,function(){var n={};return In(f,function(i,l){xe.call(f.prototype,l)||(n[l]=i)}),n}(),{chain:!1}),f.VERSION=V1,o(["bind","bindKey","curry","curryRight","partial","partialRight"],function(n){f[n].placeholder=f}),o(["drop","take"],function(n,i){K.prototype[n]=function(l){l=l===v?1:Xe(ae(l),0);var a=this.__filtered__&&!i?new K(this):this.clone();return a.__filtered__?a.__takeCount__=ft(l,a.__takeCount__):a.__views__.push({size:ft(l,jn),type:n+(a.__dir__<0?"Right":"")}),a},K.prototype[n+"Right"]=function(l){return this.reverse()[n](l).reverse()}}),o(["filter","map","takeWhile"],function(n,i){var l=i+1,a=l==ip||l==b1;K.prototype[n]=function(d){var h=this.clone();return h.__iteratees__.push({iteratee:ne(d,3),type:l}),h.__filtered__=h.__filtered__||a,h}}),o(["head","last"],function(n,i){var l="take"+(i?"Right":"");K.prototype[n]=function(){return this[l](1).value()[0]}}),o(["initial","tail"],function(n,i){var l="drop"+(i?"":"Right");K.prototype[n]=function(){return this.__filtered__?new K(this):this[l](1)}}),K.prototype.compact=function(){return this.filter(It)},K.prototype.find=function(n){return this.filter(n).head()},K.prototype.findLast=function(n){return this.reverse().find(n)},K.prototype.invokeMap=fe(function(n,i){return typeof n=="function"?new K(this):this.map(function(l){return ku(l,n,i)})}),K.prototype.reject=function(n){return this.filter(ll(ne(n)))},K.prototype.slice=function(n,i){n=ae(n);var l=this;return l.__filtered__&&(n>0||i<0)?new K(l):(n<0?l=l.takeRight(-n):n&&(l=l.drop(n)),i!==v&&(i=ae(i),l=i<0?l.dropRight(-i):l.take(i-n)),l)},K.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},K.prototype.toArray=function(){return this.take(jn)},In(K.prototype,function(n,i){var l=/^(?:filter|find|map|reject)|While$/.test(i),a=/^(?:head|last)$/.test(i),d=f[a?"take"+(i=="last"?"Right":""):i],h=a||/^find/.test(i);d&&(f.prototype[i]=function(){var g=this.__wrapped__,S=a?[1]:arguments,C=g instanceof K,z=S[0],I=C||oe(g),L=function(de){var pe=d.apply(f,P([de],S));return a&&V?pe[0]:pe};I&&l&&typeof z=="function"&&z.length!=1&&(C=I=!1);var V=this.__chain__,X=!!this.__actions__.length,b=h&&!V,se=C&&!X;if(!h&&I){g=se?g:new K(this);var ee=n.apply(g,S);return ee.__actions__.push({func:il,args:[L],thisArg:v}),new te(ee,V)}return b&&se?n.apply(this,S):(ee=this.thru(L),b?a?ee.value()[0]:ee.value():ee)})}),o(["pop","push","shift","sort","splice","unshift"],function(n){var i=fl[n],l=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",a=/^(?:pop|shift)$/.test(n);f.prototype[n]=function(){var d=arguments;if(a&&!this.__chain__){var h=this.value();return i.apply(oe(h)?h:[],d)}return this[l](function(g){return i.apply(oe(g)?g:[],d)})}}),In(K.prototype,function(n,i){var l=f[i];if(l){var a=l.name+"";xe.call(Ci,a)||(Ci[a]=[]),Ci[a].push({name:i,func:l})}}),Ci[Zo(v,Dr).name]=[{name:"wrapper",func:v}],K.prototype.clone=Nt,K.prototype.reverse=Na,K.prototype.value=g_,f.prototype.at=xE,f.prototype.chain=CS,f.prototype.commit=NS,f.prototype.next=PS,f.prototype.plant=jS,f.prototype.reverse=IS,f.prototype.toJSON=f.prototype.valueOf=f.prototype.value=zS,f.prototype.first=f.prototype.head,ju&&(f.prototype[ju]=RS),f},gi=v_();Mr?((Mr.exports=gi)._=gi,Ea._=gi):ot._=gi}).call(Du)})(Ls,Ls.exports);var n4=Ls.exports,W1={};(function(e){e.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},e.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},e.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},e.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},e.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},e.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},e.realToAlias=function(){var t=Object.prototype.hasOwnProperty,r=e.aliasToReal,u={};for(var o in r){var s=r[o];t.call(u,s)?u[s].push(o):u[s]=[o]}return u}(),e.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},e.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},e.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}})(W1);var r4={},Ze=W1,i4=r4,Z0=Array.prototype.push;function u4(e,t){return t==2?function(r,u){return e.apply(void 0,arguments)}:function(r){return e.apply(void 0,arguments)}}function Jc(e,t){return t==2?function(r,u){return e(r,u)}:function(r){return e(r)}}function J0(e){for(var t=e?e.length:0,r=Array(t);t--;)r[t]=e[t];return r}function o4(e){return function(t){return e({},t)}}function l4(e,t){return function(){for(var r=arguments.length,u=r-1,o=Array(r);r--;)o[r]=arguments[r];var s=o[t],c=o.slice(0,t);return s&&Z0.apply(c,s),t!=u&&Z0.apply(c,o.slice(t+1)),e.apply(this,c)}}function bc(e,t){return function(){var r=arguments.length;if(r){for(var u=Array(r);r--;)u[r]=arguments[r];var o=u[0]=t.apply(void 0,u);return e.apply(void 0,u),o}}}function td(e,t,r,u){var o=typeof t=="function",s=t===Object(t);if(s&&(u=r,r=t,t=void 0),r==null)throw new TypeError;u||(u={});var c={cap:"cap"in u?u.cap:!0,curry:"curry"in u?u.curry:!0,fixed:"fixed"in u?u.fixed:!0,immutable:"immutable"in u?u.immutable:!0,rearg:"rearg"in u?u.rearg:!0},p=o?r:i4,m="curry"in u&&u.curry,_="fixed"in u&&u.fixed,N="rearg"in u&&u.rearg,P=o?r.runInContext():void 0,E=o?r:{ary:e.ary,assign:e.assign,clone:e.clone,curry:e.curry,forEach:e.forEach,isArray:e.isArray,isError:e.isError,isFunction:e.isFunction,isWeakMap:e.isWeakMap,iteratee:e.iteratee,keys:e.keys,rearg:e.rearg,toInteger:e.toInteger,toPath:e.toPath},T=E.ary,A=E.assign,D=E.clone,ue=E.curry,w=E.forEach,y=E.isArray,x=E.isError,j=E.isFunction,F=E.isWeakMap,$=E.keys,O=E.rearg,Y=E.toInteger,_e=E.toPath,le=$(Ze.aryMethod),Ye={castArray:function(G){return function(){var W=arguments[0];return y(W)?G(J0(W)):G.apply(void 0,arguments)}},iteratee:function(G){return function(){var W=arguments[0],H=arguments[1],Z=G(W,H),ie=Z.length;return c.cap&&typeof H=="number"?(H=H>2?H-2:1,ie&&ie<=H?Z:Jc(Z,H)):Z}},mixin:function(G){return function(W){var H=this;if(!j(H))return G(H,Object(W));var Z=[];return w($(W),function(ie){j(W[ie])&&Z.push([ie,H.prototype[ie]])}),G(H,Object(W)),w(Z,function(ie){var Be=ie[1];j(Be)?H.prototype[ie[0]]=Be:delete H.prototype[ie[0]]}),H}},nthArg:function(G){return function(W){var H=W<0?1:Y(W)+1;return ue(G(W),H)}},rearg:function(G){return function(W,H){var Z=H?H.length:0;return ue(G(W,H),Z)}},runInContext:function(G){return function(W){return td(e,G(W),u)}}};function Mt(G,W){if(c.cap){var H=Ze.iterateeRearg[G];if(H)return re(W,H);var Z=!o&&Ze.iterateeAry[G];if(Z)return J(W,Z)}return W}function dn(G,W,H){return m||c.curry&&H>1?ue(W,H):W}function Nn(G,W,H){if(c.fixed&&(_||!Ze.skipFixed[G])){var Z=Ze.methodSpread[G],ie=Z&&Z.start;return ie===void 0?T(W,H):l4(W,ie)}return W}function Ve(G,W,H){return c.rearg&&H>1&&(N||!Ze.skipRearg[G])?O(W,Ze.methodRearg[G]||Ze.aryRearg[H]):W}function pn(G,W){W=_e(W);for(var H=-1,Z=W.length,ie=Z-1,Be=D(Object(G)),it=Be;it!=null&&++H{const[r,u]=rn.useState(4),o=()=>{u(p=>p+1)},s=()=>{u(p=>Math.max(p-1,4))},c={flexDirection:t==="left"?"row":"row-reverse"};switch(e){case"compare-with-native":return B.jsxs("div",{className:"example-wrapper",style:c,children:[B.jsxs("div",{className:"container native-scroll",children:[B.jsx("label",{className:"side-title",children:"Native Scroll"}),B.jsxs("div",{className:"panel",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"This is boring"})}),B.jsx("div",{className:"panel-content-native panel-content",children:B.jsx("div",{className:"content-fill",children:Qu.text})})]})]},"native-example"),B.jsxs("div",{className:"container",children:[B.jsx("label",{className:"side-title",children:"Custom Scroll"}),B.jsxs("div",{className:"panel",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"Cool Scrollbar!"})}),B.jsx(Ii,{allowOuterScroll:!0,children:B.jsx("div",{className:"panel-content-custom panel-content",children:B.jsx("div",{className:"content-fill",children:Qu.text})})})]})]},"cool-example")]});case"crazy-designer":return B.jsxs("div",{className:"container example-wrapper",style:c,children:[B.jsxs("div",{className:"example-description",children:[B.jsx("img",{src:a4}),"There are no limits for your design."]}),B.jsxs("div",{className:"panel crazy-scroll",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"Who designed this???"})}),B.jsx(Ii,{allowOuterScroll:!0,handleClass:"scroll-handle-override",children:B.jsx("div",{className:"panel-content-custom panel-content",children:B.jsx("div",{className:"content-fill",children:Qu.text})})})]})]},"crazy-example");case"flex":return B.jsxs("div",{className:"container example-flex-wrapper example-wrapper",style:c,id:"flex-example",children:[B.jsxs("div",{className:"example-description",children:["Custom scroll supports flexible layouts. You can use it on elements styled with flex, by passing the ",B.jsx("b",{children:"flex"})," prop to CustomScroll"]}),B.jsxs("div",{className:"panel flex-scroll",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"Flexbox!!!"})}),B.jsx(Ii,{allowOuterScroll:!0,flex:"1",children:B.jsx("div",{className:"panel-content-custom panel-content",children:B.jsx("div",{className:"content-fill",children:Qu.text})})})]})]},"flex-example");case"dynamic-content":return B.jsxs("div",{className:"example-dynamic-wrapper example-wrapper",style:c,id:"dynamic-content-example",children:[B.jsxs("div",{className:"example-description",children:["When your content is dynamic, you can use the ",B.jsx("b",{children:"keepAtBottom"})," ","prop, to make sure new content doesn't change the scroll position, supporting the user experience."]}),B.jsxs("div",{children:[B.jsxs("div",{className:"panel dynamic-scroll",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"DYNAMIC CONTENT!!!"})}),B.jsx(Ii,{allowOuterScroll:!1,keepAtBottom:!0,children:B.jsx("div",{className:"panel-content-custom panel-content",children:B.jsx("div",{className:"content-fill",children:ev.map(p=>B.jsx("div",{className:"dynamic-content",children:p},p),ev.times(p=>`Content #${p}`,r))})})})]}),B.jsx("button",{className:"dynamic-content-button",onClick:o,children:"Add Content"},"addContent"),B.jsx("button",{className:"dynamic-content-button",onClick:s,children:"Remove Content"},"removeContent")]})]});case"allow-outer-scroll":return B.jsxs("div",{className:"example-wrapper",style:c,id:"allow-outer-scroll-example",children:[B.jsxs("div",{className:"example-description",children:["In this example, scrolling the wrapping element is enabled with",B.jsxs("b",{children:[" ","allowOuterScroll"]})]}),B.jsx("div",{className:"container",children:B.jsxs("div",{className:"panel",children:[B.jsx("div",{className:"panel-header",children:B.jsx("label",{className:"panel-title",children:"Allowing external scroll"})}),B.jsx(Ii,{allowOuterScroll:!0,children:B.jsx("div",{className:"panel-content-custom panel-content",style:{maxHeight:300},children:B.jsx("div",{className:"content-fill",children:Qu.shortText})})})]})},"cool-example")]})}},c4=()=>B.jsx(Ii,{children:B.jsxs("div",{"data-testid":"app-root",className:"app-root",children:[B.jsx("div",{className:"demo-title",children:"React-Custom-Scroll Demo page"}),B.jsx("div",{className:"demo-subtitle",children:"react-custom-scroll lets you design unique scrollbars without compromising on performance. It preserves the browser's native scrolling mechanism, ensuring a smooth, familiar user experience. Its hover design means no content is obscured, offering a consistent look across browsers and operating systems."}),B.jsx(qu,{demoType:"compare-with-native",descriptionSide:"left"}),B.jsx(qu,{demoType:"crazy-designer",descriptionSide:"right"}),B.jsx(qu,{demoType:"dynamic-content",descriptionSide:"left"}),B.jsx(qu,{demoType:"allow-outer-scroll",descriptionSide:"right"}),B.jsx(qu,{demoType:"flex",descriptionSide:"left"})]})});ef.createRoot(document.getElementById("root")).render(B.jsx(Xi.StrictMode,{children:B.jsx(c4,{})})); diff --git a/exampleDist/index.html b/exampleDist/index.html index aed2160..6b9c6c6 100644 --- a/exampleDist/index.html +++ b/exampleDist/index.html @@ -2,11 +2,10 @@ - React custom scroll demo - - + +
diff --git a/exampleDist/vite.svg b/exampleDist/vite.svg new file mode 100644 index 0000000..e7b8dfb --- /dev/null +++ b/exampleDist/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/index.html b/index.html index e4fba39..07041c2 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,6 @@ - React custom scroll demo diff --git a/vite.config.ts b/vite.config.ts index 9bb1bcb..e250cf7 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -10,7 +10,7 @@ export default defineConfig(({ mode }) => { return { plugins: [react()], build: { outDir: "exampleDist" }, - publicDir: "exampleDist", + base: "exampleDist", }; }