@latticexyz/explorer 2.2.22-b94aca694dd82b32bf78de9e6408f61b32e5b8e2 → 2.2.22-bd9e19b10418c4a0b8b3791e713d798b8df64a38
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/.next/standalone/packages/explorer/.next/BUILD_ID +1 -1
- package/.next/standalone/packages/explorer/.next/app-build-manifest.json +49 -49
- package/.next/standalone/packages/explorer/.next/app-path-routes-manifest.json +1 -1
- package/.next/standalone/packages/explorer/.next/build-manifest.json +5 -5
- package/.next/standalone/packages/explorer/.next/prerender-manifest.json +1 -1
- package/.next/standalone/packages/explorer/.next/server/app/(explorer)/[chainName]/page.js +1 -1
- package/.next/standalone/packages/explorer/.next/server/app/(explorer)/[chainName]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/explorer/.next/server/app/(explorer)/[chainName]/worlds/[worldAddress]/decode/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/explorer/.next/server/app/(explorer)/[chainName]/worlds/[worldAddress]/explore/page.js +3 -3
- package/.next/standalone/packages/explorer/.next/server/app/(explorer)/[chainName]/worlds/[worldAddress]/explore/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/explorer/.next/server/app/(explorer)/[chainName]/worlds/[worldAddress]/interact/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/explorer/.next/server/app/(explorer)/[chainName]/worlds/[worldAddress]/observe/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/explorer/.next/server/app/(explorer)/[chainName]/worlds/[worldAddress]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/explorer/.next/server/app/(explorer)/[chainName]/worlds/page.js +2 -2
- package/.next/standalone/packages/explorer/.next/server/app/(explorer)/[chainName]/worlds/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/explorer/.next/server/app/(explorer)/page.js +1 -1
- package/.next/standalone/packages/explorer/.next/server/app/(explorer)/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/explorer/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/explorer/.next/server/app/_not-found.html +1 -1
- package/.next/standalone/packages/explorer/.next/server/app/_not-found.rsc +1 -1
- package/.next/standalone/packages/explorer/.next/server/app/internal/observer-relay/page_client-reference-manifest.js +1 -1
- package/.next/standalone/packages/explorer/.next/server/app/internal/observer-relay.html +1 -1
- package/.next/standalone/packages/explorer/.next/server/app/internal/observer-relay.rsc +1 -1
- package/.next/standalone/packages/explorer/.next/server/app-paths-manifest.json +2 -2
- package/.next/standalone/packages/explorer/.next/server/chunks/1468.js +1 -1
- package/.next/standalone/packages/explorer/.next/server/chunks/4825.js +1 -1
- package/.next/standalone/packages/explorer/.next/server/chunks/5631.js +8 -8
- package/.next/standalone/packages/explorer/.next/server/chunks/6561.js +1 -1
- package/.next/standalone/packages/explorer/.next/server/middleware-build-manifest.js +1 -1
- package/.next/standalone/packages/explorer/.next/server/pages/404.html +1 -1
- package/.next/standalone/packages/explorer/.next/server/pages/500.html +1 -1
- package/.next/standalone/packages/explorer/.next/server/server-reference-manifest.js +1 -1
- package/.next/standalone/packages/explorer/.next/server/server-reference-manifest.json +1 -1
- package/.next/standalone/packages/explorer/.next/static/chunks/{3239-6446b60cd5ba2dad.js → 3239-467328660cdd9026.js} +1 -1
- package/.next/standalone/packages/explorer/.next/static/chunks/{3284-995d5f018d56e038.js → 3284-dcbe027b73186fed.js} +1 -1
- package/.next/standalone/packages/explorer/.next/static/chunks/3498-e3179fe39066891e.js +1 -0
- package/.next/standalone/packages/explorer/.next/static/chunks/{4967-fc84ee213a314203.js → 4967-1eefa5b7f66cdb04.js} +1 -1
- package/.next/standalone/packages/explorer/.next/static/chunks/{8140-6f29e5c85554d00c.js → 8140-0c2aa4d02f2770ec.js} +1 -1
- package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/[chainName]/layout-0c80d624bf46e0a7.js +1 -0
- package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/[chainName]/worlds/[worldAddress]/decode/page-c2ce10913fd07745.js +1 -0
- package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/[chainName]/worlds/[worldAddress]/explore/page-0ee069df9a97451d.js +1 -0
- package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/[chainName]/worlds/[worldAddress]/interact/page-faa2f848a071433c.js +1 -0
- package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/[chainName]/worlds/[worldAddress]/layout-1cb4f181b625c337.js +1 -0
- package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/[chainName]/worlds/[worldAddress]/observe/page-043a913b5a2c25e5.js +16 -0
- package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/[chainName]/worlds/page-b30a13feedb4291e.js +1 -0
- package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/error-0103ba6d146dae7c.js +26 -0
- package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/{layout-283fb4da5bcdd673.js → layout-4ec6ead9bf21dc82.js} +1 -1
- package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/not-found-e78b926f6f1dfc43.js +21 -0
- package/.next/standalone/packages/explorer/.next/static/chunks/{webpack-7896af1abb7136c0.js → webpack-933e2dc2bafa0462.js} +1 -1
- package/dist/bin/explorer.js +2 -2
- package/dist/bin/explorer.js.map +1 -1
- package/package.json +10 -10
- package/.next/standalone/packages/explorer/.next/static/chunks/5433-a4c2b9ff58e464c7.js +0 -1
- package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/[chainName]/layout-e2125ad12ed14dc6.js +0 -1
- package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/[chainName]/worlds/[worldAddress]/decode/page-b364c95b5f2493db.js +0 -1
- package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/[chainName]/worlds/[worldAddress]/explore/page-c087f3d193d732b7.js +0 -1
- package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/[chainName]/worlds/[worldAddress]/interact/page-38360551077c1697.js +0 -1
- package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/[chainName]/worlds/[worldAddress]/layout-96ba71d217878c29.js +0 -1
- package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/[chainName]/worlds/[worldAddress]/observe/page-cc97270db6e6520b.js +0 -16
- package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/[chainName]/worlds/page-c63ec3245138b763.js +0 -1
- package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/error-2e1862e07ee775a4.js +0 -26
- package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/not-found-830fbfd61b893a66.js +0 -21
- /package/.next/standalone/packages/explorer/.next/static/{pcHcENiQxnRF8gM8Y61CA → HB5YvUm-rWTmX06tLOFv9}/_buildManifest.js +0 -0
- /package/.next/standalone/packages/explorer/.next/static/{pcHcENiQxnRF8gM8Y61CA → HB5YvUm-rWTmX06tLOFv9}/_ssgManifest.js +0 -0
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5576],{98029:function(e,t,r){Promise.resolve().then(r.bind(r,17694))},47605:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(46760);/**
|
|
2
|
-
* @license lucide-react v0.408.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),a=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&r.indexOf(e)===t).join(" ")};/**
|
|
7
|
-
* @license lucide-react v0.408.0 - ISC
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the ISC license.
|
|
10
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
12
|
-
* @license lucide-react v0.408.0 - ISC
|
|
13
|
-
*
|
|
14
|
-
* This source code is licensed under the ISC license.
|
|
15
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
16
|
-
*/let s=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:o=24,strokeWidth:s=2,absoluteStrokeWidth:u,className:c="",children:l,iconNode:d,...f}=e;return(0,n.createElement)("svg",{ref:t,...i,width:o,height:o,stroke:r,strokeWidth:u?24*Number(s)/Number(o):s,className:a("lucide",c),...f},[...d.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(l)?l:[l]])}),u=(e,t)=>{let r=(0,n.forwardRef)((r,i)=>{let{className:u,...c}=r;return(0,n.createElement)(s,{ref:i,iconNode:t,className:a("lucide-".concat(o(e)),u),...c})});return r.displayName="".concat(e),r}},85608:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});/**
|
|
17
|
-
* @license lucide-react v0.408.0 - ISC
|
|
18
|
-
*
|
|
19
|
-
* This source code is licensed under the ISC license.
|
|
20
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
21
|
-
*/let n=(0,r(47605).Z)("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},34219:function(e,t,r){"use strict";var n=r(94962);r.o(n,"notFound")&&r.d(t,{notFound:function(){return n.notFound}}),r.o(n,"redirect")&&r.d(t,{redirect:function(){return n.redirect}}),r.o(n,"useParams")&&r.d(t,{useParams:function(){return n.useParams}}),r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},17694:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return c}});var n=r(25418);/**
|
|
22
|
-
* @license lucide-react v0.408.0 - ISC
|
|
23
|
-
*
|
|
24
|
-
* This source code is licensed under the ISC license.
|
|
25
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
26
|
-
*/let o=(0,r(47605).Z)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);var a=r(85608),i=r(55056),s=r(97617),u=r(31491);function c(e){let{reset:t,error:r}=e,c=(0,u.g)();return(0,n.jsxs)("main",{className:"px-6 py-24 text-center",children:[(0,n.jsx)("p",{className:"text-3xl font-semibold text-orange-600",children:"500"}),(0,n.jsx)("h1",{className:"mt-4 text-3xl font-bold tracking-tight text-white sm:text-5xl",children:"Something went wrong :("}),r.message&&(0,n.jsx)("pre",{className:"mt-8 inline-block w-[580px] whitespace-normal rounded-md border border-white/15 bg-secondary p-4 text-left font-mono text-sm leading-6 text-white",children:r.message}),(0,n.jsxs)("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:[(0,n.jsx)(s.z,{asChild:!0,children:(0,n.jsx)(i.default,{href:c("explore"),children:"Go back to explorer"})}),(0,n.jsxs)(s.z,{variant:"secondary",onClick:t,children:["Try again ",(0,n.jsx)(o,{className:"ml-2 h-4 w-4"})]}),(0,n.jsx)(s.z,{variant:"secondary",asChild:!0,children:(0,n.jsxs)("a",{href:"https://lattice.xyz/discord",target:"_blank",rel:"noopener noreferrer",children:["Contact on Discord ",(0,n.jsx)(a.Z,{className:"-mt-0.5 ml-2 h-4 w-4"})]})})]})]})}},31491:function(e,t,r){"use strict";r.d(t,{g:function(){return a}});var n=r(34219),o=r(14517);function a(){let{chainName:e,worldAddress:t}=(0,n.useParams)();return r=>"".concat((0,o.m)(e,t),"/").concat(r)}},14517:function(e,t,r){"use strict";function n(e,t){return"/".concat(e,"/worlds/").concat(t)}r.d(t,{m:function(){return n}})},97617:function(e,t,r){"use strict";r.d(t,{z:function(){return c}});var n=r(25418),o=r(4460),a=r(46760),i=r(85767),s=r(26559);let u=(0,o.j)((0,s.cn)("inline-flex items-center justify-center rounded-md","whitespace-nowrap text-sm font-medium","ring-offset-background transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50"),{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),c=a.forwardRef((e,t)=>{let{className:r,variant:o,size:a,type:c="button",asChild:l=!1,...d}=e,f=l?i.g7:"button";return(0,n.jsx)(f,{className:(0,s.cn)(u({variant:o,size:a,className:r})),ref:t,type:c,...d})});c.displayName="Button"},26559:function(e,t,r){"use strict";r.d(t,{a:function(){return s},cn:function(){return i},r:function(){return u}});var n=r(1598),o=r(22830),a=r(95359);function i(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,a.m)((0,o.W)(t))}function s(e){let t=(0,n.d)(e),r=Math.floor(parseFloat(t)).toString().length;return parseFloat(t).toLocaleString("en-US",{maximumFractionDigits:Math.max(0,6-r)})}function u(e){return"fulfilled"===e.status}},4460:function(e,t,r){"use strict";r.d(t,{j:function(){return a}});let n=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,o=function(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=function e(t){var r,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t))for(r=0;r<t.length;r++)t[r]&&(n=e(t[r]))&&(o&&(o+=" "),o+=n);else for(r in t)t[r]&&(o&&(o+=" "),o+=r)}return o}(e))&&(n&&(n+=" "),n+=t);return n},a=(e,t)=>r=>{var a;if((null==t?void 0:t.variants)==null)return o(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:i,defaultVariants:s}=t,u=Object.keys(i).map(e=>{let t=null==r?void 0:r[e],o=null==s?void 0:s[e];if(null===t)return null;let a=n(t)||n(o);return i[e][a]}),c=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return o(e,u,null==t?void 0:null===(a=t.compoundVariants)||void 0===a?void 0:a.reduce((e,t)=>{let{class:r,className:n,...o}=t;return Object.entries(o).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...s,...c}[t]):({...s,...c})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}}},function(e){e.O(0,[445,5056,2710,8781,1744],function(){return e(e.s=98029)}),_N_E=e.O()}]);
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2675],{85309:function(e,t,r){Promise.resolve().then(r.bind(r,21309))},47605:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(46760);/**
|
|
2
|
-
* @license lucide-react v0.408.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),i=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&r.indexOf(e)===t).join(" ")};/**
|
|
7
|
-
* @license lucide-react v0.408.0 - ISC
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the ISC license.
|
|
10
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/var a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
12
|
-
* @license lucide-react v0.408.0 - ISC
|
|
13
|
-
*
|
|
14
|
-
* This source code is licensed under the ISC license.
|
|
15
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
16
|
-
*/let u=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:o=24,strokeWidth:u=2,absoluteStrokeWidth:s,className:c="",children:l,iconNode:d,...f}=e;return(0,n.createElement)("svg",{ref:t,...a,width:o,height:o,stroke:r,strokeWidth:s?24*Number(u)/Number(o):u,className:i("lucide",c),...f},[...d.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(l)?l:[l]])}),s=(e,t)=>{let r=(0,n.forwardRef)((r,a)=>{let{className:s,...c}=r;return(0,n.createElement)(u,{ref:a,iconNode:t,className:i("lucide-".concat(o(e)),s),...c})});return r.displayName="".concat(e),r}},85608:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});/**
|
|
17
|
-
* @license lucide-react v0.408.0 - ISC
|
|
18
|
-
*
|
|
19
|
-
* This source code is licensed under the ISC license.
|
|
20
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
21
|
-
*/let n=(0,r(47605).Z)("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},34219:function(e,t,r){"use strict";var n=r(94962);r.o(n,"notFound")&&r.d(t,{notFound:function(){return n.notFound}}),r.o(n,"redirect")&&r.d(t,{redirect:function(){return n.redirect}}),r.o(n,"useParams")&&r.d(t,{useParams:function(){return n.useParams}}),r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},31491:function(e,t,r){"use strict";r.d(t,{g:function(){return i}});var n=r(34219),o=r(14517);function i(){let{chainName:e,worldAddress:t}=(0,n.useParams)();return r=>"".concat((0,o.m)(e,t),"/").concat(r)}},21309:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return s}});var n=r(25418),o=r(85608),i=r(55056),a=r(97617),u=r(31491);function s(){let e=(0,u.g)();return(0,n.jsxs)("main",{className:"px-6 py-24 text-center",children:[(0,n.jsx)("p",{className:"text-3xl font-semibold text-orange-600",children:"404"}),(0,n.jsx)("h1",{className:"mt-4 text-3xl font-bold tracking-tight text-white sm:text-5xl",children:"Page not found"}),(0,n.jsx)("p",{className:"mt-6 text-base leading-7 text-white/70",children:"Sorry, we couldn’t find the page you’re looking for."}),(0,n.jsxs)("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:[(0,n.jsx)(a.z,{asChild:!0,children:(0,n.jsx)(i.default,{href:e("explore"),children:"Go back to explorer"})}),(0,n.jsx)(a.z,{variant:"secondary",asChild:!0,children:(0,n.jsxs)("a",{href:"https://lattice.xyz/discord",target:"_blank",rel:"noopener noreferrer",children:["Contact on Discord ",(0,n.jsx)(o.Z,{className:"-mt-0.5 ml-2 h-4 w-4"})]})})]})]})}},14517:function(e,t,r){"use strict";function n(e,t){return"/".concat(e,"/worlds/").concat(t)}r.d(t,{m:function(){return n}})},97617:function(e,t,r){"use strict";r.d(t,{z:function(){return c}});var n=r(25418),o=r(4460),i=r(46760),a=r(85767),u=r(26559);let s=(0,o.j)((0,u.cn)("inline-flex items-center justify-center rounded-md","whitespace-nowrap text-sm font-medium","ring-offset-background transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50"),{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),c=i.forwardRef((e,t)=>{let{className:r,variant:o,size:i,type:c="button",asChild:l=!1,...d}=e,f=l?a.g7:"button";return(0,n.jsx)(f,{className:(0,u.cn)(s({variant:o,size:i,className:r})),ref:t,type:c,...d})});c.displayName="Button"},26559:function(e,t,r){"use strict";r.d(t,{a:function(){return u},cn:function(){return a},r:function(){return s}});var n=r(1598),o=r(22830),i=r(95359);function a(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,i.m)((0,o.W)(t))}function u(e){let t=(0,n.d)(e),r=Math.floor(parseFloat(t)).toString().length;return parseFloat(t).toLocaleString("en-US",{maximumFractionDigits:Math.max(0,6-r)})}function s(e){return"fulfilled"===e.status}},4460:function(e,t,r){"use strict";r.d(t,{j:function(){return i}});let n=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,o=function(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=function e(t){var r,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t))for(r=0;r<t.length;r++)t[r]&&(n=e(t[r]))&&(o&&(o+=" "),o+=n);else for(r in t)t[r]&&(o&&(o+=" "),o+=r)}return o}(e))&&(n&&(n+=" "),n+=t);return n},i=(e,t)=>r=>{var i;if((null==t?void 0:t.variants)==null)return o(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:a,defaultVariants:u}=t,s=Object.keys(a).map(e=>{let t=null==r?void 0:r[e],o=null==u?void 0:u[e];if(null===t)return null;let i=n(t)||n(o);return a[e][i]}),c=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return o(e,s,null==t?void 0:null===(i=t.compoundVariants)||void 0===i?void 0:i.reduce((e,t)=>{let{class:r,className:n,...o}=t;return Object.entries(o).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...u,...c}[t]):({...u,...c})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}}},function(e){e.O(0,[445,5056,2710,8781,1744],function(){return e(e.s=85309)}),_N_E=e.O()}]);
|
|
File without changes
|