-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path3443.async.js
More file actions
2 lines (2 loc) · 16.5 KB
/
3443.async.js
File metadata and controls
2 lines (2 loc) · 16.5 KB
1
2
!(function(){"use strict";var Ct=Object.defineProperty,Nt=Object.defineProperties;var Bt=Object.getOwnPropertyDescriptors;var it=Object.getOwnPropertySymbols;var yt=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable;var Et=(i,n,t)=>n in i?Ct(i,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[n]=t,g=(i,n)=>{for(var t in n||(n={}))yt.call(n,t)&&Et(i,t,n[t]);if(it)for(var t of it(n))Ot.call(n,t)&&Et(i,t,n[t]);return i},B=(i,n)=>Nt(i,Bt(n));var Q=(i,n)=>{var t={};for(var a in i)yt.call(i,a)&&n.indexOf(a)<0&&(t[a]=i[a]);if(i!=null&&it)for(var a of it(i))n.indexOf(a)<0&&Ot.call(i,a)&&(t[a]=i[a]);return t};(self.webpackChunk=self.webpackChunk||[]).push([[3443],{83204:function(i,n,t){var a=t(3930),c=t(48002),f=t(59682);function h(v,d,s){s===void 0&&(s={});var m=s.enable,O=m===void 0?!0:m,o=(0,a.Z)(d);(0,f.Z)(function(){if(O){var r=(0,c.n)(s.target,window);if(r!=null&&r.addEventListener){var e=function(p){return o.current(p)};return r.addEventListener(v,e,{capture:s.capture,once:s.once,passive:s.passive}),function(){r.removeEventListener(v,e,{capture:s.capture})}}}},[v,s.capture,s.once,s.passive,O],s.target)}n.Z=h},84179:function(i,n,t){var a=t(67294),c=t(45210),f=t(52982),h={restoreOnUnmount:!1};function v(d,s){s===void 0&&(s=h);var m=(0,a.useRef)(f.Z?document.title:"");(0,a.useEffect)(function(){document.title=d},[d]),(0,c.Z)(function(){s.restoreOnUnmount&&(document.title=m.current)})}n.Z=v},73123:function(i,n,t){t.d(n,{V:function(){return c},q:function(){return f}});var a=t(46347),[c,f]=(0,a.k)({name:"NavbarContext",strict:!0,errorMessage:"useNavbarContext: `context` is undefined. Seems you forgot to wrap component within <Navbar />"})},7311:function(i,n,t){t.d(n,{k:function(){return m}});var a=t(73123),c=t(15607),f=t(33295),h=t(49869),v=t(50262),d=t(85893),s=(0,c.Gp)((O,o)=>{var r;const R=O,{as:e,className:p,children:D,isActive:l}=R,C=Q(R,["as","className","children","isActive"]),x=e||"li",_=(0,f.gy)(o),{slots:E,classNames:y}=(0,a.q)(),P=(0,h.W)(y==null?void 0:y.item,p);return(0,d.jsx)(x,B(g({ref:_,className:(r=E.item)==null?void 0:r.call(E,{class:P}),"data-active":(0,v.PB)(l)},C),{children:D}))});s.displayName="NextUI.NavbarItem";var m=s},15142:function(i,n,t){t.d(n,{R:function(){return at}});var a=t(73123),c={enter:{height:"calc(100vh - var(--navbar-height))",transition:{duration:.3,easings:"easeOut"}},exit:{height:0,transition:{duration:.25,easings:"easeIn"}}},f=t(15607),h=t(33295),v=t(49869),d=t(50262),s=t(13114),m=t(18522),O=t(94889),o=t(80663),r=t(37127),e=t(67294),p=t(71930),D=t(25299),l=t(85893),C=(0,f.Gp)((I,M)=>{var k,K;const et=I,{className:N,children:Z,portalContainer:T,motionProps:X,style:A}=et,L=Q(et,["className","children","portalContainer","motionProps","style"]),G=(0,h.gy)(M),{slots:tt,isMenuOpen:F,height:V,disableAnimation:rt,classNames:nt}=(0,a.q)(),ot=(0,v.W)(nt==null?void 0:nt.menu,N),st=(0,e.useCallback)(({children:ct})=>(0,l.jsx)(p.Z,{forwardProps:!0,enabled:F,removeScrollBar:!1,children:ct}),[F]),Y=rt?(0,l.jsx)(st,{children:(0,l.jsx)("ul",B(g({ref:G,className:(k=tt.menu)==null?void 0:k.call(tt,{class:ot}),"data-open":(0,d.PB)(F),style:{"--navbar-height":typeof V=="number"?`${V}px`:V}},L),{children:Z}))}):(0,l.jsx)(s.M,{mode:"wait",children:F?(0,l.jsx)(m.X,{features:O.H,children:(0,l.jsx)(st,{children:(0,l.jsx)(o.m.ul,B(g({ref:G,layoutScroll:!0,animate:"enter",className:(K=tt.menu)==null?void 0:K.call(tt,{class:ot}),"data-open":(0,d.PB)(F),exit:"exit",initial:"exit",style:g({"--navbar-height":typeof V=="number"?`${V}px`:V},A),variants:c},(0,r.d)(X,L)),{children:Z}))})}):null});return(0,l.jsx)(D.aV,{portalContainer:T,children:Y})});C.displayName="NextUI.NavbarMenu";var x=C,_=t(90029),E={visible:{y:0,transition:{ease:_.Lj.easeOut}},hidden:{y:"-100%",transition:{ease:_.Lj.easeIn}}},y=t(76733),P=t(55344),R=t(65512),u=(0,P.tv)({slots:{base:["flex","z-40","w-full","h-auto","items-center","justify-center","data-[menu-open=true]:border-none"],wrapper:["z-40","flex","px-6","gap-4","w-full","flex-row","relative","flex-nowrap","items-center","justify-between","h-[var(--navbar-height)]"],toggle:["group","flex","items-center","justify-center","w-6","h-full","outline-none","rounded-small","tap-highlight-transparent",...R.Dh],srOnly:["sr-only"],toggleIcon:["w-full","h-full","pointer-events-none","flex","flex-col","items-center","justify-center","text-inherit","group-data-[pressed=true]:opacity-70","transition-opacity","before:content-['']","before:block","before:h-px","before:w-6","before:bg-current","before:transition-transform","before:duration-150","before:-translate-y-1","before:rotate-0","group-data-[open=true]:before:translate-y-px","group-data-[open=true]:before:rotate-45","after:content-['']","after:block","after:h-px","after:w-6","after:bg-current","after:transition-transform","after:duration-150","after:translate-y-1","after:rotate-0","group-data-[open=true]:after:translate-y-0","group-data-[open=true]:after:-rotate-45"],brand:["flex","basis-0","flex-row","flex-grow","flex-nowrap","justify-start","bg-transparent","items-center","no-underline","text-medium","whitespace-nowrap","box-border"],content:["flex","gap-4","h-full","flex-row","flex-nowrap","items-center","data-[justify=start]:justify-start","data-[justify=start]:flex-grow","data-[justify=start]:basis-0","data-[justify=center]:justify-center","data-[justify=end]:justify-end","data-[justify=end]:flex-grow","data-[justify=end]:basis-0"],item:["text-medium","whitespace-nowrap","box-border","list-none","data-[active=true]:font-semibold"],menu:["z-30","px-6","pt-2","fixed","flex","max-w-full","top-[var(--navbar-height)]","inset-x-0","bottom-0","w-screen","flex-col","gap-2","overflow-y-auto"],menuItem:["text-large","data-[active=true]:font-semibold"]},variants:{position:{static:{base:"static"},sticky:{base:"sticky top-0 inset-x-0"}},maxWidth:{sm:{wrapper:"max-w-[640px]"},md:{wrapper:"max-w-[768px]"},lg:{wrapper:"max-w-[1024px]"},xl:{wrapper:"max-w-[1280px]"},"2xl":{wrapper:"max-w-[1536px]"},full:{wrapper:"max-w-full"}},hideOnScroll:{true:{base:["sticky","top-0","inset-x-0"]}},isBordered:{true:{base:["border-b","border-divider"]}},isBlurred:{false:{base:"bg-background",menu:"bg-background"},true:{base:["backdrop-blur-lg","data-[menu-open=true]:backdrop-blur-xl","backdrop-saturate-150","bg-background/70"],menu:["backdrop-blur-xl","backdrop-saturate-150","bg-background/70"]}},disableAnimation:{true:{menu:["hidden","h-[calc(100dvh_-_var(--navbar-height))]","data-[open=true]:flex"]}}},defaultVariants:{maxWidth:"lg",position:"sticky",isBlurred:!0}}),$=t(49037),z=t(35890),q=typeof window!="undefined";function S(I){return q?I?{x:I.scrollLeft,y:I.scrollTop}:{x:window.scrollX,y:window.scrollY}:{x:0,y:0}}var W=I=>{const{elementRef:M,delay:k=30,callback:K,isEnabled:N}=I,Z=(0,e.useRef)(N?S(M==null?void 0:M.current):{x:0,y:0}),T=(0,e.useRef)(null),X=(0,e.useCallback)(()=>{const A=S(M==null?void 0:M.current);typeof K=="function"&&K({prevPos:Z.current,currPos:A}),Z.current=A,T.current=null},[K,M]);return(0,e.useEffect)(()=>{if(!N)return;const A=()=>{k?(T.current&&clearTimeout(T.current),T.current=setTimeout(X,k)):X()},L=(M==null?void 0:M.current)||window;return L.addEventListener("scroll",A),()=>{L.removeEventListener("scroll",A),T.current&&(clearTimeout(T.current),T.current=null)}},[M==null?void 0:M.current,k,X,N]),Z.current},H=t(99373);function w(I){var M,k;const K=(0,y.w)(),[N,Z]=(0,f.oe)(I,u.variantKeys),gt=N,{ref:T,as:X,parentRef:A,height:L="4rem",shouldHideOnScroll:G=!1,disableScrollHandler:tt=!1,onScrollPositionChange:F,isMenuOpen:V,isMenuDefaultOpen:rt,onMenuOpenChange:nt=()=>{},motionProps:ot,className:st,classNames:Y}=gt,et=Q(gt,["ref","as","parentRef","height","shouldHideOnScroll","disableScrollHandler","onScrollPositionChange","isMenuOpen","isMenuDefaultOpen","onMenuOpenChange","motionProps","className","classNames"]),ct=X||"nav",ut=(k=(M=I.disableAnimation)!=null?M:K==null?void 0:K.disableAnimation)!=null?k:!1,J=(0,h.gy)(T),dt=(0,e.useRef)(0),mt=(0,e.useRef)(0),[_t,Pt]=(0,e.useState)(!1),Mt=(0,e.useCallback)(b=>{nt(b||!1)},[nt]),[ft,ht]=(0,H.z)(V,rt!=null?rt:!1,Mt),pt=()=>{if(J.current){const b=J.current.offsetWidth;b!==dt.current&&(dt.current=b)}};(0,z.y)({ref:J,onResize:()=>{var b;((b=J.current)==null?void 0:b.offsetWidth)!==dt.current&&(pt(),ht(!1))}}),(0,e.useEffect)(()=>{var b;pt(),mt.current=((b=J.current)==null?void 0:b.offsetHeight)||0},[]);const vt=(0,e.useMemo)(()=>u(B(g({},Z),{disableAnimation:ut,hideOnScroll:G})),[(0,$.Xx)(Z),ut,G]),Dt=(0,v.W)(Y==null?void 0:Y.base,st);return W({elementRef:A,isEnabled:G||!tt,callback:({prevPos:b,currPos:lt})=>{F==null||F(lt.y),G&&Pt(bt=>{const xt=lt.y>b.y&<.y>mt.current;return xt!==bt?xt:bt})}}),{Component:ct,slots:vt,domRef:J,height:L,isHidden:_t,disableAnimation:ut,shouldHideOnScroll:G,isMenuOpen:ft,classNames:Y,setIsMenuOpen:ht,motionProps:ot,getBaseProps:(b={})=>B(g({},(0,r.d)(et,b)),{"data-hidden":(0,d.PB)(_t),"data-menu-open":(0,d.PB)(ft),ref:J,className:vt.base({class:(0,v.W)(Dt,b==null?void 0:b.className)}),style:g(g({"--navbar-height":typeof L=="number"?`${L}px`:L},et==null?void 0:et.style),b==null?void 0:b.style)}),getWrapperProps:(b={})=>B(g({},b),{"data-menu-open":(0,d.PB)(ft),className:vt.wrapper({class:(0,v.W)(Y==null?void 0:Y.wrapper,b==null?void 0:b.className)})})}}var j=t(35367),U=(0,f.Gp)((I,M)=>{const L=I,{children:k}=L,K=Q(L,["children"]),N=w(B(g({},K),{ref:M})),Z=N.Component,[T,X]=(0,j.N)(k,x),A=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("header",B(g({},N.getWrapperProps()),{children:T})),X]});return(0,l.jsx)(a.V,{value:N,children:N.shouldHideOnScroll?(0,l.jsx)(m.X,{features:O.H,children:(0,l.jsx)(o.m.nav,B(g({animate:N.isHidden?"hidden":"visible",initial:!1,variants:E},(0,r.d)(N.getBaseProps(),N.motionProps)),{children:A}))}):(0,l.jsx)(Z,B(g({},N.getBaseProps()),{children:A}))})});U.displayName="NextUI.Navbar";var at=U},79479:function(i,n,t){t.d(n,{U:function(){return s}});var a=t(73123),c=t(15607),f=t(33295),h=t(49869),v=t(85893),d=(0,c.Gp)((m,O)=>{var o;const P=m,{as:r,className:e,children:p,justify:D="start"}=P,l=Q(P,["as","className","children","justify"]),C=r||"ul",x=(0,f.gy)(O),{slots:_,classNames:E}=(0,a.q)(),y=(0,h.W)(E==null?void 0:E.content,e);return(0,v.jsx)(C,B(g({ref:x,className:(o=_.content)==null?void 0:o.call(_,{class:y}),"data-justify":D},l),{children:p}))});d.displayName="NextUI.NavbarContent";var s=d},45336:function(i,n,t){t.d(n,{H:function(){return s}});var a=t(73123),c=t(15607),f=t(33295),h=t(49869),v=t(85893),d=(0,c.Gp)((m,O)=>{var o;const y=m,{as:r,className:e,children:p}=y,D=Q(y,["as","className","children"]),l=r||"div",C=(0,f.gy)(O),{slots:x,classNames:_}=(0,a.q)(),E=(0,h.W)(_==null?void 0:_.brand,e);return(0,v.jsx)(l,B(g({ref:C,className:(o=x.brand)==null?void 0:o.call(x,{class:E})},D),{children:p}))});d.displayName="NextUI.NavbarBrand";var s=d},81239:function(i,n,t){t.d(n,{o:function(){return p}});var a=t(15607),c=t(55344),f=["data-[top-scroll=true]:[mask-image:linear-gradient(0deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]","data-[bottom-scroll=true]:[mask-image:linear-gradient(180deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]","data-[top-bottom-scroll=true]:[mask-image:linear-gradient(#000,#000,transparent_0,#000_var(--scroll-shadow-size),#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]"],h=["data-[left-scroll=true]:[mask-image:linear-gradient(270deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]","data-[right-scroll=true]:[mask-image:linear-gradient(90deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]","data-[left-right-scroll=true]:[mask-image:linear-gradient(to_right,#000,#000,transparent_0,#000_var(--scroll-shadow-size),#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]"],v=(0,c.tv)({base:[],variants:{orientation:{vertical:["overflow-y-auto",...f],horizontal:["overflow-x-auto",...h]},hideScrollBar:{true:"scrollbar-hide",false:""}},defaultVariants:{orientation:"vertical",hideScrollBar:!1}}),d=t(33295),s=t(49037),m=t(67294);function O(D={}){const{domRef:l,isEnabled:C=!0,overflowCheck:x="vertical",visibility:_="auto",offset:E=0,onVisibilityChange:y,updateDeps:P=[]}=D,R=(0,m.useRef)(_);(0,m.useEffect)(()=>{const u=l==null?void 0:l.current;if(!u||!C)return;const $=(S,W,H,w,j)=>{if(_==="auto"){const U=`${w}${(0,s.kC)(j)}Scroll`;W&&H?(u.dataset[U]="true",u.removeAttribute(`data-${w}-scroll`),u.removeAttribute(`data-${j}-scroll`)):(u.dataset[`${w}Scroll`]=W.toString(),u.dataset[`${j}Scroll`]=H.toString(),u.removeAttribute(`data-${w}-${j}-scroll`))}else{const U=W&&H?"both":W?w:H?j:"none";U!==R.current&&(y==null||y(U),R.current=U)}},z=()=>{const S=[{type:"vertical",prefix:"top",suffix:"bottom"},{type:"horizontal",prefix:"left",suffix:"right"}];for(const{type:W,prefix:H,suffix:w}of S)if(x===W||x==="both"){const j=W==="vertical"?u.scrollTop>E:u.scrollLeft>E,U=W==="vertical"?u.scrollTop+u.clientHeight+E<u.scrollHeight:u.scrollLeft+u.clientWidth+E<u.scrollWidth;$(W,j,U,H,w)}},q=()=>{["top","bottom","top-bottom","left","right","left-right"].forEach(S=>{u.removeAttribute(`data-${S}-scroll`)})};return z(),u.addEventListener("scroll",z),_!=="auto"&&(q(),_==="both"?(u.dataset.topBottomScroll=String(x==="vertical"),u.dataset.leftRightScroll=String(x==="horizontal")):(u.dataset.topBottomScroll="false",u.dataset.leftRightScroll="false",["top","bottom","left","right"].forEach(S=>{u.dataset[`${S}Scroll`]=String(_===S)}))),()=>{u.removeEventListener("scroll",z),q()}},[...P,C,_,x,y,l])}function o(D){var l;const[C,x]=(0,a.oe)(D,v.variantKeys),at=C,{ref:_,as:E,children:y,className:P,style:R,size:u=40,offset:$=0,visibility:z="auto",isEnabled:q=!0,onVisibilityChange:S}=at,W=Q(at,["ref","as","children","className","style","size","offset","visibility","isEnabled","onVisibilityChange"]),H=E||"div",w=(0,d.gy)(_);O({domRef:w,offset:$,visibility:z,isEnabled:q,onVisibilityChange:S,updateDeps:[y],overflowCheck:(l=D.orientation)!=null?l:"vertical"});const j=(0,m.useMemo)(()=>v(B(g({},x),{className:P})),[(0,s.Xx)(x),P]);return{Component:H,styles:j,domRef:w,children:y,getBaseProps:(I={})=>{var M;return g(g({ref:w,className:j,"data-orientation":(M=D.orientation)!=null?M:"vertical",style:g(g({"--scroll-shadow-size":`${u}px`},R),I.style)},W),I)}}}var r=t(85893),e=(0,a.Gp)((D,l)=>{const{Component:C,children:x,getBaseProps:_}=o(B(g({},D),{ref:l}));return(0,r.jsx)(C,B(g({},_()),{children:x}))});e.displayName="NextUI.ScrollShadow";var p=e},45991:function(i,n,t){t.d(n,{Z:function(){return c}});var a=t(33733);var c=(0,a.Z)("outline","building-store","IconBuildingStore",[["path",{d:"M3 21l18 0",key:"svg-0"}],["path",{d:"M3 7v1a3 3 0 0 0 6 0v-1m0 1a3 3 0 0 0 6 0v-1m0 1a3 3 0 0 0 6 0v-1h-18l2 -4h14l2 4",key:"svg-1"}],["path",{d:"M5 21l0 -10.15",key:"svg-2"}],["path",{d:"M19 21l0 -10.15",key:"svg-3"}],["path",{d:"M9 21v-4a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v4",key:"svg-4"}]])},13129:function(i,n,t){t.d(n,{Z:function(){return c}});var a=t(33733);var c=(0,a.Z)("outline","search","IconSearch",[["path",{d:"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0",key:"svg-0"}],["path",{d:"M21 21l-6 -6",key:"svg-1"}]])},77373:function(i,n,t){t.d(n,{Z:function(){return c}});var a=t(33733);var c=(0,a.Z)("outline","x","IconX",[["path",{d:"M18 6l-12 12",key:"svg-0"}],["path",{d:"M6 6l12 12",key:"svg-1"}]])},935:function(i,n){function t(a){var c=a==null?0:a.length;return c?a[c-1]:void 0}n.Z=t},71016:function(i,n,t){t.d(n,{Z:function(){return o}});var a=t(47855),c=t(25742),f=1/0,h=17976931348623157e292;function v(r){if(!r)return r===0?r:0;if(r=(0,c.Z)(r),r===f||r===-f){var e=r<0?-1:1;return e*h}return r===r?r:0}var d=v;function s(r){var e=d(r),p=e%1;return e===e?p?e-p:e:0}var m=s;function O(r,e,p){return r&&r.length?(e=p||e===void 0?1:m(e),(0,a.Z)(r,0,e<0?0:e)):[]}var o=O},25742:function(i,n,t){var a=t(33404),c=t(77226),f=t(72714),h=NaN,v=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,s=/^0o[0-7]+$/i,m=parseInt;function O(o){if(typeof o=="number")return o;if((0,f.Z)(o))return h;if((0,c.Z)(o)){var r=typeof o.valueOf=="function"?o.valueOf():o;o=(0,c.Z)(r)?r+"":r}if(typeof o!="string")return o===0?o:+o;o=(0,a.Z)(o);var e=d.test(o);return e||s.test(o)?m(o.slice(2),e?2:8):v.test(o)?h:+o}n.Z=O},27856:function(i,n,t){t.d(n,{D:function(){return c}});function a(f,h,v){var d=v||{},s=d.noTrailing,m=s===void 0?!1:s,O=d.noLeading,o=O===void 0?!1:O,r=d.debounceMode,e=r===void 0?void 0:r,p,D=!1,l=0;function C(){p&&clearTimeout(p)}function x(E){var y=E||{},P=y.upcomingOnly,R=P===void 0?!1:P;C(),D=!R}function _(){for(var E=arguments.length,y=new Array(E),P=0;P<E;P++)y[P]=arguments[P];var R=this,u=Date.now()-l;if(D)return;function $(){l=Date.now(),h.apply(R,y)}function z(){p=void 0}!o&&e&&!p&&$(),C(),e===void 0&&u>f?o?(l=Date.now(),m||(p=setTimeout(e?z:$,f))):$():m!==!0&&(p=setTimeout(e?z:$,e===void 0?f-u:f))}return _.cancel=x,_}function c(f,h,v){var d=v||{},s=d.atBegin,m=s===void 0?!1:s;return a(f,h,{debounceMode:m!==!1})}}}]);
}());