construct-hub-webapp 0.1.427 → 0.1.428

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.
Binary file
Binary file
@@ -7,26 +7,26 @@
7
7
  "main.css": "/static/css/main.1e6d8b38.chunk.css",
8
8
  "main.js": "/static/js/main.6de5586a.chunk.js",
9
9
  "main.js.map": "/static/js/main.6de5586a.chunk.js.map",
10
- "runtime-main.js": "/static/js/runtime-main.b3e44260.js",
11
- "runtime-main.js.map": "/static/js/runtime-main.b3e44260.js.map",
10
+ "runtime-main.js": "/static/js/runtime-main.85767d6a.js",
11
+ "runtime-main.js.map": "/static/js/runtime-main.85767d6a.js.map",
12
12
  "static/js/4.862b4ce7.chunk.js": "/static/js/4.862b4ce7.chunk.js",
13
13
  "static/js/4.862b4ce7.chunk.js.map": "/static/js/4.862b4ce7.chunk.js.map",
14
14
  "static/js/5.0e0c97cb.chunk.js": "/static/js/5.0e0c97cb.chunk.js",
15
15
  "static/js/5.0e0c97cb.chunk.js.map": "/static/js/5.0e0c97cb.chunk.js.map",
16
- "static/js/6.563a4752.chunk.js": "/static/js/6.563a4752.chunk.js",
17
- "static/js/6.563a4752.chunk.js.map": "/static/js/6.563a4752.chunk.js.map",
18
- "static/js/7.0a9afe66.chunk.js": "/static/js/7.0a9afe66.chunk.js",
19
- "static/js/7.0a9afe66.chunk.js.map": "/static/js/7.0a9afe66.chunk.js.map",
20
- "static/js/8.52442667.chunk.js": "/static/js/8.52442667.chunk.js",
21
- "static/js/8.52442667.chunk.js.map": "/static/js/8.52442667.chunk.js.map",
16
+ "static/js/6.69ac40e3.chunk.js": "/static/js/6.69ac40e3.chunk.js",
17
+ "static/js/6.69ac40e3.chunk.js.map": "/static/js/6.69ac40e3.chunk.js.map",
18
+ "static/js/7.a053380e.chunk.js": "/static/js/7.a053380e.chunk.js",
19
+ "static/js/7.a053380e.chunk.js.map": "/static/js/7.a053380e.chunk.js.map",
20
+ "static/js/8.c99e08cd.chunk.js": "/static/js/8.c99e08cd.chunk.js",
21
+ "static/js/8.c99e08cd.chunk.js.map": "/static/js/8.c99e08cd.chunk.js.map",
22
22
  "static/js/9.d40d7958.chunk.js": "/static/js/9.d40d7958.chunk.js",
23
23
  "static/js/9.d40d7958.chunk.js.map": "/static/js/9.d40d7958.chunk.js.map",
24
24
  "static/js/10.5f66f973.chunk.js": "/static/js/10.5f66f973.chunk.js",
25
25
  "static/js/10.5f66f973.chunk.js.map": "/static/js/10.5f66f973.chunk.js.map",
26
26
  "static/js/11.d6a2b77e.chunk.js": "/static/js/11.d6a2b77e.chunk.js",
27
27
  "static/js/11.d6a2b77e.chunk.js.map": "/static/js/11.d6a2b77e.chunk.js.map",
28
- "static/js/12.e0e166bb.chunk.js": "/static/js/12.e0e166bb.chunk.js",
29
- "static/js/12.e0e166bb.chunk.js.map": "/static/js/12.e0e166bb.chunk.js.map",
28
+ "static/js/12.519faaaf.chunk.js": "/static/js/12.519faaaf.chunk.js",
29
+ "static/js/12.519faaaf.chunk.js.map": "/static/js/12.519faaaf.chunk.js.map",
30
30
  "static/js/13.6fe7d275.chunk.js": "/static/js/13.6fe7d275.chunk.js",
31
31
  "static/js/13.6fe7d275.chunk.js.map": "/static/js/13.6fe7d275.chunk.js.map",
32
32
  "static/js/14.079eb5e1.chunk.js": "/static/js/14.079eb5e1.chunk.js",
@@ -44,7 +44,7 @@
44
44
  "static/js/5.0e0c97cb.chunk.js.LICENSE.txt": "/static/js/5.0e0c97cb.chunk.js.LICENSE.txt"
45
45
  },
46
46
  "entrypoints": [
47
- "static/js/runtime-main.b3e44260.js",
47
+ "static/js/runtime-main.85767d6a.js",
48
48
  "static/js/5.0e0c97cb.chunk.js",
49
49
  "static/css/main.1e6d8b38.chunk.css",
50
50
  "static/js/main.6de5586a.chunk.js"
Binary file
Binary file
Binary file
Binary file
Binary file
package/build/favicon.ico CHANGED
Binary file
package/build/index.html CHANGED
@@ -1 +1 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="description" content="Construct Hub helps developers find open-source construct libraries for use with AWS CDK, CDK8s, CDKTf and other construct-based tools."/><meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="icon" href="/favicon.ico"/><meta name="theme-color" content="#ffffff"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>Construct Hub</title><script>var AWSMA={config:{customPageview:!0}}</script><script src="https://a0.awsstatic.com/s_code/js/3.0/awshome_s_code.js"></script><link href="/static/css/main.1e6d8b38.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="/static/js/runtime-main.b3e44260.js"></script><script src="/static/js/5.0e0c97cb.chunk.js"></script><script src="/static/js/main.6de5586a.chunk.js"></script></body></html>
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="description" content="Construct Hub helps developers find open-source construct libraries for use with AWS CDK, CDK8s, CDKTf and other construct-based tools."/><meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#ffffff"><title>Construct Hub</title><script>var AWSMA={config:{customPageview:!0}}</script><script src="https://a0.awsstatic.com/s_code/js/3.0/awshome_s_code.js"></script><link href="/static/css/main.1e6d8b38.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="/static/js/runtime-main.85767d6a.js"></script><script src="/static/js/5.0e0c97cb.chunk.js"></script><script src="/static/js/main.6de5586a.chunk.js"></script></body></html>
@@ -9,14 +9,9 @@
9
9
  "type": "image/x-icon"
10
10
  },
11
11
  {
12
- "src": "logo192.png",
13
- "type": "image/png",
14
- "sizes": "192x192"
15
- },
16
- {
17
- "src": "logo512.png",
18
- "type": "image/png",
19
- "sizes": "512x512"
12
+ "src": "/android-chrome-192x192.png",
13
+ "sizes": "192x192",
14
+ "type": "image/png"
20
15
  }
21
16
  ],
22
17
  "start_url": ".",
Binary file
@@ -1,2 +1,2 @@
1
- (this["webpackJsonpconstruct-hub-webapp"]=this["webpackJsonpconstruct-hub-webapp"]||[]).push([[12],{248:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),s=n(265),o={contribute:{event:{name:"Contribute Load"}},home:{event:{name:"Home Load"}},faq:{event:{name:"Frequently Asked Questions Load"}},packageProfile:{event:{name:"Package Profile Load"}},search:{event:{name:"Search Load"}},siteTerms:{event:{name:"Site Terms Load"}},notFound:{page:{pageType:"errorPage"},event:{name:"404 Page Load"}}},c=n(123),i=n(1),a=function(e){var t=e.children,n=e.meta,a=e.pageName,d=Object(c.b)(o[a]);Object(r.useEffect)((function(){d()}),[d]);var u=n.suffix,l=void 0===u||u,h=n.title,b=n.description,p=l?"".concat(h," - Construct Hub"):h;["default-src 'self' 'unsafe-inline' http://*.awsstatic.com;","connect-src 'self' https://*.shortbread.aws.dev http://*.shortbread.aws.dev http://a0.awsstatic.com/ http://amazonwebservices.d2.sc.omtrdc.net http://aws.demdex.net http://dpm.demdex.net http://cm.everesttech.net;","frame-src http://aws.demdex.net http://dpm.demdex.net;","img-src 'self' https://* http://a0.awsstatic.com/ http://amazonwebservices.d2.sc.omtrdc.net http://aws.demdex.net http://dpm.demdex.net http://cm.everesttech.net;","object-src 'none';","style-src 'self' 'unsafe-inline';"].join(" ");return Object(i.jsxs)(i.Fragment,{children:[Object(i.jsxs)(s.a,{children:[!1,Object(i.jsx)("meta",{content:"width=device-width, initial-scale=1",name:"viewport"}),Object(i.jsx)("meta",{charSet:"utf-8"}),Object(i.jsx)("title",{children:p}),Object(i.jsx)("meta",{content:p,property:"og:title"}),Object(i.jsx)("meta",{content:p,name:"twitter:title"}),Object(i.jsx)("meta",{content:"summary",name:"twitter:card"}),Object(i.jsx)("meta",{content:b,name:"description"}),Object(i.jsx)("meta",{content:b,property:"og:description"}),Object(i.jsx)("meta",{content:b,name:"twitter:description"})]}),t]})}},337:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return h})),n.d(t,"e",(function(){return b})),n.d(t,"f",(function(){return f}));var r=n(204),s=n(1),o=function(e){var t=e.children;return Object(s.jsxs)(r.a,{bg:"white",color:"blue.800",h:"100%",w:"100%",children:[t,Object(s.jsx)(r.a,{py:5,width:"100%"})]})},c=n(224),i=function(e){var t=e.children;return Object(s.jsx)(r.a,{bg:"gray.50",py:20,width:"100%",children:Object(s.jsx)(c.a,{as:"h1",mx:"auto",textAlign:"center",children:t})})},a=n(239),d=n(208),u=function(e){var t=e.question,n=e.children;return Object(s.jsxs)(a.d,{children:[Object(s.jsxs)(a.b,{children:[Object(s.jsx)(r.a,{flex:"1",py:2,textAlign:"left",children:Object(s.jsx)(c.a,{as:"h3",ml:8,size:"sm",children:t})}),Object(s.jsx)(a.c,{})]}),Object(s.jsx)(a.e,{px:12,py:4,children:Object(s.jsx)(d.a,{color:"blue.800",fontSize:"md",sx:{p:{marginTop:"0",marginBottom:"4"}},children:n})})]})},l=n(50),h=function(e){var t=e.href,n=e.children;return Object(s.jsx)(l.a,{color:"inherit",hasWarning:!1,href:t,textDecoration:"underline",children:n})},b=function(e){var t=e.heading,n=e.children;return Object(s.jsxs)(a.d,{children:[Object(s.jsxs)(a.b,{children:[Object(s.jsx)(r.a,{flex:"1",textAlign:"left",children:Object(s.jsx)(c.a,{as:"h2",ml:4,my:4,size:"lg",children:t})}),Object(s.jsx)(a.c,{})]}),Object(s.jsx)(a.e,{p:0,children:Object(s.jsx)(a.a,{allowMultiple:!0,w:"100%",children:n})})]})},p=n(6),j=n(24),m=["children"],f=function(e){var t=e.children,n=Object(j.a)(e,m);return Object(s.jsx)(a.a,Object(p.a)(Object(p.a)({allowMultiple:!0},n),{},{children:t}))}},655:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r=n(208),s=n(337),o=n(248),c=n(58),i=n(1),a=function(){return Object(i.jsx)(o.a,{meta:{title:"FAQ",description:"Frequently Asked Questions"},pageName:"faq",children:Object(i.jsxs)(s.a,{children:[Object(i.jsx)(s.b,{children:"Frequently Asked Questions"}),Object(i.jsxs)(s.f,{defaultIndex:[0,1],children:[Object(i.jsxs)(s.e,{heading:"General",children:[Object(i.jsxs)(s.c,{question:"How can I contribute to Construct Hub?",children:["You are encouraged to contribute to the construct ecosystem by publishing CDK libraries, contributing code to Construct Hub and providing us and libraries\u2019 publishers feedback. For more information, go to"," ",Object(i.jsx)(s.d,{href:"https://constructs.dev/contribute",children:"https://constructs.dev/contribute"}),"."]}),Object(i.jsx)(s.c,{question:"What is Construct Hub?",children:Object(i.jsx)("p",{children:"Construct Hub is a place to discover CDK constructs \u2014 a central destination for discovering and sharing cloud application design patterns and reference architectures defined for the AWS CDK, CDK for Kubernetes (CDK8s), CDK for Terraform (CDKtf) and other construct-based tools."})}),Object(i.jsx)(s.c,{question:"Why should I use Construct Hub?",children:Object(i.jsx)(r.a,{children:"Construct Hub is a central venue where CDK developers can discover construct libraries to help them build their applications. You can find construct libraries in TypeScript, Python, Java and .NET (Go is coming soon!), browse their developer guides and API references, and explore code samples in all the programming language that the package supports."})}),Object(i.jsx)(s.c,{question:"What is a construct?",children:Object(i.jsxs)(r.a,{children:["The Constructs Programming Model (CPM) introduces the notion of"," ",Object(i.jsx)("strong",{children:"constructs"}),", which represent building blocks that can be used to assemble complete cloud applications of any complexity. AWS, enterprises, startups, and individual developers use CDK constructs to share proven architecture patterns as reusable code libraries, so that everyone can benefit from the collective wisdom of the community."]})}),Object(i.jsxs)(s.c,{question:"What are the prerequisites for using a construct library?",children:[Object(i.jsxs)(r.a,{children:["To use a construct library in your code, you need to have your preferred programming language installed. In order to synthesize, diff, and deploy collections of resources you will need to install the CDK Toolkit command-line tool. For AWS CDK install the"," ",Object(i.jsx)(s.d,{href:"https://docs.aws.amazon.com/cdk/latest/guide/cli.html",children:"AWS CDK Toolkit command-line tool,"})," ","for CDK8s install the"," ",Object(i.jsx)(s.d,{href:"https://cdk8s.io/docs/latest/getting-started/",children:"CDK8s command-line tool"})," ","and for CDKtf install the"," ",Object(i.jsx)(s.d,{href:"https://learn.hashicorp.com/tutorials/terraform/cdktf-install",children:"CDKtf command-line tool."})]}),Object(i.jsx)(r.a,{children:"The CDK8s CLI doesn\u2019t require having any registered account nor having a running Kubernetes cluster as it only updates Kubernetes manifests."}),Object(i.jsx)(r.a,{children:"The CDKtf CLI requires having Terraform, Node, Yarn and Docker installed."}),Object(i.jsx)(r.a,{children:"Some construct libraries\u2019 documentation may include additional prerequisites which are unique to their implementation."})]}),Object(i.jsx)(s.c,{question:"Who owns the constructs in Construct Hub?",children:Object(i.jsx)(r.a,{children:"Constructs are user-generated content owned by the publishers of the individual packages. Each is governed by its own license terms chosen by its publisher (although only packages that were published to the NPM registry under Apache, BSD, EPL, MPL-2.0, ISC and CDDL or MIT open source licenses are included in Construct Hub). License information can be accessed directly through the hyperlinked package page."})}),Object(i.jsx)(s.c,{question:"Is the content served in Construct Hub meant to be consumed programmatically?",children:Object(i.jsxs)(r.a,{children:["No. The content displayed in the site is user-generated, with some display formatting. We do not advise that you consume constructs from the search results programmatically. Construct Hub is a search engine or portal intended to surface third-party content from a public endpoint. We provide these results for your convenience AS-IS in accordance with our"," ",Object(i.jsx)(s.d,{href:"https://constructs.dev/terms",children:"Construct Hub Site Terms"}),"."]})}),Object(i.jsx)(s.c,{question:"Which CDK types are available on the Construct Hub?",children:Object(i.jsx)(r.a,{children:"Construct Hub currently has constructs for the CDK for CloudFormation (AWS CDK), CDK for Kubernetes (CDK8s) and CDK for Terraform (CDKtf). We are open to adding other construct-based tools as they evolve."})}),Object(i.jsx)(s.c,{question:"What is CDK for CloudFormation (AWS CDK)?",children:Object(i.jsxs)(r.a,{children:["CDK for CloudFormation (AWS CDK) is an open-source software development framework for defining applications on AWS and reusable abstractions using familiar programming languages and rich object-oriented APIs. AWS CDK apps synthesize into standard AWS CloudFormation templates, which can be deployed to create infrastructure on AWS. See"," ",Object(i.jsx)(s.d,{href:"https://aws.amazon.com/cdk/",children:"AWS Cloud Development Kit"})," ","for more information."]})}),Object(i.jsx)(s.c,{question:"What is CDK for Kubernetes (CDK8s)?",children:Object(i.jsxs)(r.a,{children:["CDK for Kubernetes (CDK8s, pronounced \u201ccd kates\u201d) is an open-source software development framework for defining Kubernetes applications and reusable abstractions using familiar programming languages and rich object-oriented APIs. CDK8s apps synthesize into standard Kubernetes manifests that can be applied to any Kubernetes cluster. See"," ",Object(i.jsx)(s.d,{href:"https://cdk8s.io/",children:"CDK for Kubernetes"})," for more information."]})}),Object(i.jsx)(s.c,{question:"What is CDK for Terraform (CDKtf)?",children:Object(i.jsxs)(r.a,{children:["The community preview of the Cloud Development Kit for Terraform (CDKtf) allows you to define infrastructure using a familiar programming language such as TypeScript, Python, or Go, while leveraging the hundreds of providers and thousands of module definitions provided by Terraform and the Terraform ecosystem. See"," ",Object(i.jsx)(s.d,{href:"https://learn.hashicorp.com/tutorials/terraform/cdktf",children:"CDK for Terraform"})," ","for more information."]})}),Object(i.jsx)(s.c,{question:"What programming languages are supported?",children:Object(i.jsx)(r.a,{children:"The Construct Hub GA supports constructs available for Python, TypeScript, Java and .NET. Support for Go will be included soon."})}),Object(i.jsx)(s.c,{question:"Will Go be supported?",children:Object(i.jsx)(r.a,{children:"Yes! We can\u2019t promise exactly when, but it should be soon."})}),Object(i.jsx)(s.c,{question:"Can I view the source code of a construct?",children:Object(i.jsx)(r.a,{children:"Source code is usually available via the repository link provided by the construct\u2019s publisher; this link appears on Construct Hub. We have noticed that the code in the linked repository can sometimes be newer or older than the code in the published package, so exercise care."})}),Object(i.jsx)(s.c,{question:"How can I install a package?",children:Object(i.jsx)(r.a,{children:"The details vary by construct. Click \u201cInstall\u201d in the package page to see the construct\u2019s installation instructions."})}),Object(i.jsx)(s.c,{question:"How can I report abuse?",children:Object(i.jsx)(r.a,{children:'Your trust is vital to the success of Construct Hub. If you believe a package contains suspicious code, violates its dependencies\u2019 licenses, or is otherwise not behaving as a good citizen of the community, click "Report abuse" at the bottom of the package page and send us an email with explanations and evidence to support your claims. If we can verify the issue, we will take appropriate action, up to and including removing the package from Construct Hub.'})}),Object(i.jsx)(s.c,{question:"How can I report a bug or contribute code to a construct?",children:Object(i.jsx)(r.a,{children:'Each package is owned by its publisher, so contributions, such as bug reports and pull requests, should be made via the repository link provided by the publisher. You may press the "Provide feedback" link at the package page to open a new issue in the package\u2019s repository.'})}),Object(i.jsx)(s.c,{question:"Why isn\u2019t my package displayed on Construct Hub?",children:Object(i.jsxs)(r.a,{children:["Construct Hub includes publicly-available constructs that are JSII-compatible and that were published to the npm Registry under Apache, BSD, EPL, MPL-2.0, ISC and CDDL or MIT open source licenses and with a CDK keyword: aws-cdk, cdk8s, or cdktf. If you believe your package qualifies, but it still does not appear in Construct Hub, please raise an issue"," ",Object(i.jsx)(s.d,{href:"".concat(c.a,"/issues/new"),children:"here"}),"."]})}),Object(i.jsx)(s.c,{question:"Can I update my package after it has been displayed?",children:Object(i.jsx)(r.a,{children:"Yes, you can and should! After you publish a new valid version to the public npm Registry, it should appear on Construct Hub in about 30 minutes."})}),Object(i.jsx)(s.c,{question:"How does Construct Hub relates to the Construct Catalog?",children:Object(i.jsxs)(r.a,{children:["The Construct Catalog was built by the CDK community in collaboration with the AWS CDK team. Construct Hub is the official version of the Construct Catalog with ongoing support by the AWS CDK team and essentially replaces the Construct Catalog."," ",Object(i.jsx)(s.d,{href:"https://awscdk.io/",children:"https://awscdk.io"})," now redirects to Construct Hub."]})}),Object(i.jsx)(s.c,{question:"Is there a cost for using third-party constructs from Construct Hub?",children:Object(i.jsx)(r.a,{children:"All packages on Construct Hub are published under Apache, BSD, EPL, MPL-2.0, ISC and CDDL or MIT open source licenses and can be freely used in your applications. For details, review the package\u2019s license via its repository link."})}),Object(i.jsx)(s.c,{question:"How can I participate in the Construct Hub community?",children:Object(i.jsxs)(r.a,{children:["Construct Hub is itself an open-source construct! Join the"," ",Object(i.jsx)(s.d,{href:c.a,children:"Construct Hub GitHub community"}),". You are also welcome to join the ",Object(i.jsx)("code",{children:"#construct-hub-dev"})," ","channel in the"," ",Object(i.jsx)(s.d,{href:"https://cdk.dev/",children:"CDK community"})," Slack workspace."]})}),Object(i.jsx)(s.c,{question:"Is there a community slack channel for the CDK community?",children:Object(i.jsxs)(r.a,{children:["Please join the CDK Slack channel (",Object(i.jsx)(s.d,{href:"https://cdk.dev/",children:"https://cdk.dev/"}),"). This Slack channel is managed by the CDK community for the CDK community."]})})]}),Object(i.jsxs)(s.e,{heading:"Getting Started",children:[Object(i.jsx)(s.c,{question:"Do I need a user account for Construct Hub?",children:Object(i.jsx)(r.a,{children:"No. Construct Hub doesn\u2019t require any signup."})}),Object(i.jsx)(s.c,{question:"How do I get started?",children:Object(i.jsx)(r.a,{children:"Start by exploring featured, community and official libraries for the CDK of your interest. Run a free-text search to find libraries for your needs, then filter the results by your preferred programming language, CDK type, CDK major version and/or author type. To learn more about a library, click its card to see helpful information like metadata, README, API reference and code samples in your preferred programing language."})})]})]})]})})}}}]);
2
- //# sourceMappingURL=12.e0e166bb.chunk.js.map
1
+ (this["webpackJsonpconstruct-hub-webapp"]=this["webpackJsonpconstruct-hub-webapp"]||[]).push([[12],{248:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),s=n(265),o={contribute:{event:{name:"Contribute Load"}},home:{event:{name:"Home Load"}},faq:{event:{name:"Frequently Asked Questions Load"}},packageProfile:{event:{name:"Package Profile Load"}},search:{event:{name:"Search Load"}},siteTerms:{event:{name:"Site Terms Load"}},notFound:{page:{pageType:"errorPage"},event:{name:"404 Page Load"}}},c=n(123),i=n(1),a=function(e){var t=e.children,n=e.meta,a=e.pageName,d=Object(c.b)(o[a]);Object(r.useEffect)((function(){d()}),[d]);var u=n.suffix,l=void 0===u||u,h=n.title,b=n.description,p=l?"".concat(h," - Construct Hub"):h;["default-src 'self' 'unsafe-inline' http://*.awsstatic.com;","connect-src 'self' https://*.shortbread.aws.dev http://*.shortbread.aws.dev http://a0.awsstatic.com/ http://amazonwebservices.d2.sc.omtrdc.net http://aws.demdex.net http://dpm.demdex.net http://cm.everesttech.net;","frame-src http://aws.demdex.net http://dpm.demdex.net;","img-src 'self' https://* http://a0.awsstatic.com/ http://amazonwebservices.d2.sc.omtrdc.net http://aws.demdex.net http://dpm.demdex.net http://cm.everesttech.net;","object-src 'none';","style-src 'self' 'unsafe-inline';"].join(" ");return Object(i.jsxs)(i.Fragment,{children:[Object(i.jsxs)(s.a,{children:[!1,Object(i.jsx)("meta",{content:"width=device-width, initial-scale=1",name:"viewport"}),Object(i.jsx)("meta",{charSet:"utf-8"}),Object(i.jsx)("title",{children:p}),Object(i.jsx)("meta",{content:p,property:"og:title"}),Object(i.jsx)("meta",{content:p,name:"twitter:title"}),Object(i.jsx)("meta",{content:"summary",name:"twitter:card"}),Object(i.jsx)("meta",{content:b,name:"description"}),Object(i.jsx)("meta",{content:b,property:"og:description"}),Object(i.jsx)("meta",{content:b,name:"twitter:description"})]}),t]})}},337:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return h})),n.d(t,"e",(function(){return b})),n.d(t,"f",(function(){return f}));var r=n(204),s=n(1),o=function(e){var t=e.children;return Object(s.jsxs)(r.a,{bg:"white",color:"blue.800",h:"100%",w:"100%",children:[t,Object(s.jsx)(r.a,{py:5,width:"100%"})]})},c=n(224),i=function(e){var t=e.children;return Object(s.jsx)(r.a,{bg:"gray.50",py:20,width:"100%",children:Object(s.jsx)(c.a,{as:"h1",mx:"auto",textAlign:"center",children:t})})},a=n(239),d=n(208),u=function(e){var t=e.question,n=e.children;return Object(s.jsxs)(a.d,{children:[Object(s.jsxs)(a.b,{children:[Object(s.jsx)(r.a,{flex:"1",py:2,textAlign:"left",children:Object(s.jsx)(c.a,{as:"h3",ml:8,size:"sm",children:t})}),Object(s.jsx)(a.c,{})]}),Object(s.jsx)(a.e,{px:12,py:4,children:Object(s.jsx)(d.a,{color:"blue.800",fontSize:"md",sx:{p:{marginTop:"0",marginBottom:"4"}},children:n})})]})},l=n(50),h=function(e){var t=e.href,n=e.children;return Object(s.jsx)(l.a,{color:"inherit",hasWarning:!1,href:t,textDecoration:"underline",children:n})},b=function(e){var t=e.heading,n=e.children;return Object(s.jsxs)(a.d,{children:[Object(s.jsxs)(a.b,{children:[Object(s.jsx)(r.a,{flex:"1",textAlign:"left",children:Object(s.jsx)(c.a,{as:"h2",ml:4,my:4,size:"lg",children:t})}),Object(s.jsx)(a.c,{})]}),Object(s.jsx)(a.e,{p:0,children:Object(s.jsx)(a.a,{allowMultiple:!0,w:"100%",children:n})})]})},p=n(6),j=n(24),m=["children"],f=function(e){var t=e.children,n=Object(j.a)(e,m);return Object(s.jsx)(a.a,Object(p.a)(Object(p.a)({allowMultiple:!0},n),{},{children:t}))}},655:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return a}));var r=n(208),s=n(337),o=n(248),c=n(58),i=n(1),a=function(){return Object(i.jsx)(o.a,{meta:{title:"FAQ",description:"Frequently Asked Questions"},pageName:"faq",children:Object(i.jsxs)(s.a,{children:[Object(i.jsx)(s.b,{children:"Frequently Asked Questions"}),Object(i.jsxs)(s.f,{defaultIndex:[0,1],children:[Object(i.jsxs)(s.e,{heading:"General",children:[Object(i.jsxs)(s.c,{question:"How can I contribute to Construct Hub?",children:["You are encouraged to contribute to the construct ecosystem by publishing CDK libraries, contributing code to Construct Hub and providing us and libraries\u2019 publishers feedback. For more information, go to"," ",Object(i.jsx)(s.d,{href:"https://constructs.dev/contribute",children:"https://constructs.dev/contribute"}),"."]}),Object(i.jsx)(s.c,{question:"What is Construct Hub?",children:Object(i.jsx)("p",{children:"Construct Hub is a place to discover CDK constructs \u2014 a central destination for discovering and sharing cloud application design patterns and reference architectures defined for the AWS CDK, CDK for Kubernetes (CDK8s), CDK for Terraform (CDKtf) and other construct-based tools."})}),Object(i.jsx)(s.c,{question:"Why should I use Construct Hub?",children:Object(i.jsx)(r.a,{children:"Construct Hub is a central venue where CDK developers can discover construct libraries to help them build their applications. You can find construct libraries in TypeScript, Python, Java and .NET (Go is coming soon!), browse their developer guides and API references, and explore code samples in all the programming language that the package supports."})}),Object(i.jsx)(s.c,{question:"What is a construct?",children:Object(i.jsxs)(r.a,{children:["The Constructs Programming Model (CPM) introduces the notion of"," ",Object(i.jsx)("strong",{children:"constructs"}),", which represent building blocks that can be used to assemble complete cloud applications of any complexity. AWS, enterprises, startups, and individual developers use CDK constructs to share proven architecture patterns as reusable code libraries, so that everyone can benefit from the collective wisdom of the community."]})}),Object(i.jsxs)(s.c,{question:"What are the prerequisites for using a construct library?",children:[Object(i.jsxs)(r.a,{children:["To use a construct library in your code, you need to have your preferred programming language installed. In order to synthesize, diff, and deploy collections of resources you will need to install the CDK Toolkit command-line tool. For AWS CDK install the"," ",Object(i.jsx)(s.d,{href:"https://docs.aws.amazon.com/cdk/latest/guide/cli.html",children:"AWS CDK Toolkit command-line tool,"})," ","for CDK8s install the"," ",Object(i.jsx)(s.d,{href:"https://cdk8s.io/docs/latest/getting-started/",children:"CDK8s command-line tool"})," ","and for CDKtf install the"," ",Object(i.jsx)(s.d,{href:"https://learn.hashicorp.com/tutorials/terraform/cdktf-install",children:"CDKtf command-line tool."})]}),Object(i.jsx)(r.a,{children:"The CDK8s CLI doesn\u2019t require having any registered account nor having a running Kubernetes cluster as it only updates Kubernetes manifests."}),Object(i.jsx)(r.a,{children:"The CDKtf CLI requires having Terraform, Node, Yarn and Docker installed."}),Object(i.jsx)(r.a,{children:"Some construct libraries\u2019 documentation may include additional prerequisites which are unique to their implementation."})]}),Object(i.jsx)(s.c,{question:"Who owns the constructs in Construct Hub?",children:Object(i.jsx)(r.a,{children:"Constructs are user-generated content owned by the publishers of the individual packages. Each is governed by its own license terms chosen by its publisher (although only packages that were published to the npm registry under Apache, BSD, EPL, MPL-2.0, ISC and CDDL or MIT open source licenses are included in Construct Hub). License information can be accessed directly through the hyperlinked package page."})}),Object(i.jsx)(s.c,{question:"Is the content served in Construct Hub meant to be consumed programmatically?",children:Object(i.jsxs)(r.a,{children:["No. The content displayed in the site is user-generated, with some display formatting. We do not advise that you consume constructs from the search results programmatically. Construct Hub is a search engine or portal intended to surface third-party content from a public endpoint. We provide these results for your convenience AS-IS in accordance with our"," ",Object(i.jsx)(s.d,{href:"https://constructs.dev/terms",children:"Construct Hub Site Terms"}),"."]})}),Object(i.jsx)(s.c,{question:"Which CDK types are available on the Construct Hub?",children:Object(i.jsx)(r.a,{children:"Construct Hub currently has constructs for the CDK for CloudFormation (AWS CDK), CDK for Kubernetes (CDK8s) and CDK for Terraform (CDKtf). We are open to adding other construct-based tools as they evolve."})}),Object(i.jsx)(s.c,{question:"What is CDK for CloudFormation (AWS CDK)?",children:Object(i.jsxs)(r.a,{children:["CDK for CloudFormation (AWS CDK) is an open-source software development framework for defining applications on AWS and reusable abstractions using familiar programming languages and rich object-oriented APIs. AWS CDK apps synthesize into standard AWS CloudFormation templates, which can be deployed to create infrastructure on AWS. See"," ",Object(i.jsx)(s.d,{href:"https://aws.amazon.com/cdk/",children:"AWS Cloud Development Kit"})," ","for more information."]})}),Object(i.jsx)(s.c,{question:"What is CDK for Kubernetes (CDK8s)?",children:Object(i.jsxs)(r.a,{children:["CDK for Kubernetes (CDK8s, pronounced \u201ccd kates\u201d) is an open-source software development framework for defining Kubernetes applications and reusable abstractions using familiar programming languages and rich object-oriented APIs. CDK8s apps synthesize into standard Kubernetes manifests that can be applied to any Kubernetes cluster. See"," ",Object(i.jsx)(s.d,{href:"https://cdk8s.io/",children:"CDK for Kubernetes"})," for more information."]})}),Object(i.jsx)(s.c,{question:"What is CDK for Terraform (CDKtf)?",children:Object(i.jsxs)(r.a,{children:["The community preview of the Cloud Development Kit for Terraform (CDKtf) allows you to define infrastructure using a familiar programming language such as TypeScript, Python, or Go, while leveraging the hundreds of providers and thousands of module definitions provided by Terraform and the Terraform ecosystem. See"," ",Object(i.jsx)(s.d,{href:"https://learn.hashicorp.com/tutorials/terraform/cdktf",children:"CDK for Terraform"})," ","for more information."]})}),Object(i.jsx)(s.c,{question:"What programming languages are supported?",children:Object(i.jsx)(r.a,{children:"The Construct Hub GA supports constructs available for Python, TypeScript, Java and .NET. Support for Go will be included soon."})}),Object(i.jsx)(s.c,{question:"Will Go be supported?",children:Object(i.jsx)(r.a,{children:"Yes! We can\u2019t promise exactly when, but it should be soon."})}),Object(i.jsx)(s.c,{question:"Can I view the source code of a construct?",children:Object(i.jsx)(r.a,{children:"Source code is usually available via the repository link provided by the construct\u2019s publisher; this link appears on Construct Hub. We have noticed that the code in the linked repository can sometimes be newer or older than the code in the published package, so exercise care."})}),Object(i.jsx)(s.c,{question:"How can I install a package?",children:Object(i.jsx)(r.a,{children:"The details vary by construct. Click \u201cInstall\u201d in the package page to see the construct\u2019s installation instructions."})}),Object(i.jsx)(s.c,{question:"How can I report abuse?",children:Object(i.jsx)(r.a,{children:'Your trust is vital to the success of Construct Hub. If you believe a package contains suspicious code, violates its dependencies\u2019 licenses, or is otherwise not behaving as a good citizen of the community, click "Report abuse" at the bottom of the package page and send us an email with explanations and evidence to support your claims. If we can verify the issue, we will take appropriate action, up to and including removing the package from Construct Hub.'})}),Object(i.jsx)(s.c,{question:"How can I report a bug or contribute code to a construct?",children:Object(i.jsx)(r.a,{children:'Each package is owned by its publisher, so contributions, such as bug reports and pull requests, should be made via the repository link provided by the publisher. You may press the "Provide feedback" link at the package page to open a new issue in the package\u2019s repository.'})}),Object(i.jsx)(s.c,{question:"Why isn\u2019t my package displayed on Construct Hub?",children:Object(i.jsxs)(r.a,{children:["Construct Hub includes publicly-available constructs that are JSII-compatible and that were published to the npm Registry under Apache, BSD, EPL, MPL-2.0, ISC and CDDL or MIT open source licenses and with a CDK keyword: aws-cdk, cdk8s, or cdktf. If you believe your package qualifies, but it still does not appear in Construct Hub, please raise an issue"," ",Object(i.jsx)(s.d,{href:"".concat(c.a,"/issues/new"),children:"here"}),"."]})}),Object(i.jsx)(s.c,{question:"Can I update my package after it has been displayed?",children:Object(i.jsx)(r.a,{children:"Yes, you can and should! After you publish a new valid version to the public npm Registry, it should appear on Construct Hub in about 30 minutes."})}),Object(i.jsx)(s.c,{question:"How does Construct Hub relates to the Construct Catalog?",children:Object(i.jsxs)(r.a,{children:["The Construct Catalog was built by the CDK community in collaboration with the AWS CDK team. Construct Hub is the official version of the Construct Catalog with ongoing support by the AWS CDK team and essentially replaces the Construct Catalog."," ",Object(i.jsx)(s.d,{href:"https://awscdk.io/",children:"https://awscdk.io"})," now redirects to Construct Hub."]})}),Object(i.jsx)(s.c,{question:"Is there a cost for using third-party constructs from Construct Hub?",children:Object(i.jsx)(r.a,{children:"All packages on Construct Hub are published under Apache, BSD, EPL, MPL-2.0, ISC and CDDL or MIT open source licenses and can be freely used in your applications. For details, review the package\u2019s license via its repository link."})}),Object(i.jsx)(s.c,{question:"How can I participate in the Construct Hub community?",children:Object(i.jsxs)(r.a,{children:["Construct Hub is itself an open-source construct! Join the"," ",Object(i.jsx)(s.d,{href:c.a,children:"Construct Hub GitHub community"}),". You are also welcome to join the ",Object(i.jsx)("code",{children:"#construct-hub-dev"})," ","channel in the"," ",Object(i.jsx)(s.d,{href:"https://cdk.dev/",children:"CDK community"})," Slack workspace."]})}),Object(i.jsx)(s.c,{question:"Is there a community slack channel for the CDK community?",children:Object(i.jsxs)(r.a,{children:["Please join the CDK Slack channel (",Object(i.jsx)(s.d,{href:"https://cdk.dev/",children:"https://cdk.dev/"}),"). This Slack channel is managed by the CDK community for the CDK community."]})})]}),Object(i.jsxs)(s.e,{heading:"Getting Started",children:[Object(i.jsx)(s.c,{question:"Do I need a user account for Construct Hub?",children:Object(i.jsx)(r.a,{children:"No. Construct Hub doesn\u2019t require any signup."})}),Object(i.jsx)(s.c,{question:"How do I get started?",children:Object(i.jsx)(r.a,{children:"Start by exploring featured, community and official libraries for the CDK of your interest. Run a free-text search to find libraries for your needs, then filter the results by your preferred programming language, CDK type, CDK major version and/or author type. To learn more about a library, click its card to see helpful information like metadata, README, API reference and code samples in your preferred programing language."})})]})]})]})})}}}]);
2
+ //# sourceMappingURL=12.519faaaf.chunk.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["constants/pageInfo.ts","components/Page/Page.tsx","components/FAQ/FAQ.tsx","components/FAQ/FAQHeading.tsx","components/FAQ/FAQItem.tsx","components/FAQ/FAQLink.tsx","components/FAQ/FAQSection.tsx","components/FAQ/FAQSections.tsx","views/FAQ/FAQ.tsx"],"names":["pageInfo","contribute","event","name","home","faq","packageProfile","search","siteTerms","notFound","page","pageType","Page","children","meta","pageName","trackPageView","usePageView","useEffect","suffix","title","description","formattedTitle","join","Helmet","process","content","charSet","property","FAQ","bg","color","h","w","py","width","FAQHeading","as","mx","textAlign","FAQItem","question","flex","ml","size","px","fontSize","sx","p","marginTop","marginBottom","FAQLink","href","ExternalLink","hasWarning","textDecoration","FAQSection","heading","my","allowMultiple","FAQSections","accordionProps","FAQPage","defaultIndex","CONSTRUCT_HUB_REPO_URL"],"mappings":"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","file":"static/js/12.e0e166bb.chunk.js","sourcesContent":["export const pageInfo = {\n contribute: {\n event: {\n name: \"Contribute Load\",\n },\n },\n home: {\n event: {\n name: \"Home Load\",\n },\n },\n faq: {\n event: {\n name: \"Frequently Asked Questions Load\",\n },\n },\n packageProfile: {\n event: {\n name: \"Package Profile Load\",\n },\n },\n search: {\n event: {\n name: \"Search Load\",\n },\n },\n siteTerms: {\n event: {\n name: \"Site Terms Load\",\n },\n },\n notFound: {\n page: {\n pageType: \"errorPage\",\n },\n event: {\n name: \"404 Page Load\",\n },\n },\n} as const;\n","import { FunctionComponent, useEffect } from \"react\";\nimport { Helmet } from \"react-helmet\";\nimport { pageInfo } from \"../../constants/pageInfo\";\nimport { usePageView } from \"../../contexts/Analytics\";\n\nexport interface PageProps {\n pageName: keyof typeof pageInfo;\n meta: {\n suffix?: boolean;\n title: string;\n description: string;\n };\n}\n\nexport const Page: FunctionComponent<PageProps> = ({\n children,\n meta,\n pageName,\n}) => {\n const trackPageView = usePageView(pageInfo[pageName]);\n\n useEffect(() => {\n trackPageView();\n }, [trackPageView]);\n\n const { suffix = true, title, description } = meta;\n const formattedTitle = suffix ? `${title} - Construct Hub` : title;\n\n // Should be the same as the \"real\" CSP, except most things come from HTTP\n // instead of HTTPS (because it is protocol-relative, and the dev site is\n // served over plain HTTP).\n const csp = [\n \"default-src 'self' 'unsafe-inline' http://*.awsstatic.com;\",\n \"connect-src 'self' https://*.shortbread.aws.dev http://*.shortbread.aws.dev http://a0.awsstatic.com/ http://amazonwebservices.d2.sc.omtrdc.net http://aws.demdex.net http://dpm.demdex.net http://cm.everesttech.net;\",\n \"frame-src http://aws.demdex.net http://dpm.demdex.net;\",\n \"img-src 'self' https://* http://a0.awsstatic.com/ http://amazonwebservices.d2.sc.omtrdc.net http://aws.demdex.net http://dpm.demdex.net http://cm.everesttech.net;\",\n \"object-src 'none';\",\n \"style-src 'self' 'unsafe-inline';\",\n ].join(\" \");\n\n return (\n <>\n <Helmet>\n {process.env.NODE_ENV === \"development\" && (\n <meta content={csp} httpEquiv=\"Content-Security-Policy\" />\n )}\n\n <meta content=\"width=device-width, initial-scale=1\" name=\"viewport\" />\n <meta charSet=\"utf-8\" />\n\n <title>{formattedTitle}</title>\n <meta content={formattedTitle} property=\"og:title\" />\n <meta content={formattedTitle} name=\"twitter:title\" />\n <meta content=\"summary\" name=\"twitter:card\" />\n\n <meta content={description} name=\"description\" />\n <meta content={description} property=\"og:description\" />\n <meta content={description} name=\"twitter:description\" />\n </Helmet>\n {children}\n </>\n );\n};\n","import { Box } from \"@chakra-ui/react\";\nimport type { FunctionComponent } from \"react\";\n\nexport const FAQ: FunctionComponent = ({ children }) => (\n <Box bg=\"white\" color=\"blue.800\" h=\"100%\" w=\"100%\">\n {children}\n <Box py={5} width=\"100%\" />\n </Box>\n);\n","import { Box, Heading } from \"@chakra-ui/react\";\nimport type { FunctionComponent } from \"react\";\n\nexport const FAQHeading: FunctionComponent = ({ children }) => (\n <Box bg=\"gray.50\" py={20} width=\"100%\">\n <Heading as=\"h1\" mx=\"auto\" textAlign=\"center\">\n {children}\n </Heading>\n </Box>\n);\n","import {\n Heading,\n Text,\n AccordionIcon,\n AccordionButton,\n AccordionItem,\n AccordionPanel,\n Box,\n} from \"@chakra-ui/react\";\nimport type { FunctionComponent, ReactChild } from \"react\";\n\nexport interface FAQItemProps {\n question: ReactChild;\n}\n\nexport const FAQItem: FunctionComponent<FAQItemProps> = ({\n question,\n children,\n}) => (\n <AccordionItem>\n <AccordionButton>\n <Box flex=\"1\" py={2} textAlign=\"left\">\n <Heading as=\"h3\" ml={8} size=\"sm\">\n {question}\n </Heading>\n </Box>\n <AccordionIcon />\n </AccordionButton>\n <AccordionPanel px={12} py={4}>\n <Text\n color=\"blue.800\"\n fontSize=\"md\"\n sx={{ p: { marginTop: \"0\", marginBottom: \"4\" } }}\n >\n {children}\n </Text>\n </AccordionPanel>\n </AccordionItem>\n);\n","import { FunctionComponent } from \"react\";\nimport { ExternalLink } from \"../../components/ExternalLink\";\n\nexport interface FAQLinkProps {\n href: string;\n}\n\nexport const FAQLink: FunctionComponent<FAQLinkProps> = ({\n href,\n children,\n}) => (\n <ExternalLink\n color=\"inherit\"\n hasWarning={false}\n href={href}\n textDecoration=\"underline\"\n >\n {children}\n </ExternalLink>\n);\n","import {\n AccordionIcon,\n AccordionButton,\n AccordionItem,\n AccordionPanel,\n Heading,\n Box,\n Accordion,\n} from \"@chakra-ui/react\";\n\nimport type { FunctionComponent } from \"react\";\n\nexport interface FAQSectionProps {\n heading: string;\n}\n\nexport const FAQSection: FunctionComponent<FAQSectionProps> = ({\n heading,\n children,\n}) => (\n <AccordionItem>\n <AccordionButton>\n <Box flex=\"1\" textAlign=\"left\">\n <Heading as=\"h2\" ml={4} my={4} size=\"lg\">\n {heading}\n </Heading>\n </Box>\n <AccordionIcon />\n </AccordionButton>\n <AccordionPanel p={0}>\n <Accordion allowMultiple w=\"100%\">\n {children}\n </Accordion>\n </AccordionPanel>\n </AccordionItem>\n);\n","import { Accordion, AccordionProps } from \"@chakra-ui/react\";\nimport type { FunctionComponent } from \"react\";\n\nexport const FAQSections: FunctionComponent<AccordionProps> = ({\n children,\n ...accordionProps\n}) => (\n <Accordion allowMultiple {...accordionProps}>\n {children}\n </Accordion>\n);\n","import { Text } from \"@chakra-ui/react\";\nimport type { FunctionComponent } from \"react\";\nimport {\n FAQ,\n FAQHeading,\n FAQSections,\n FAQSection,\n FAQItem,\n FAQLink,\n} from \"../../components/FAQ\";\nimport { Page } from \"../../components/Page\";\nimport { CONSTRUCT_HUB_REPO_URL } from \"../../constants/links\";\n\nexport const FAQPage: FunctionComponent = () => (\n <Page\n meta={{\n title: \"FAQ\",\n description: \"Frequently Asked Questions\",\n }}\n pageName=\"faq\"\n >\n <FAQ>\n <FAQHeading>Frequently Asked Questions</FAQHeading>\n\n <FAQSections defaultIndex={[0, 1]}>\n <FAQSection heading=\"General\">\n <FAQItem question=\"How can I contribute to Construct Hub?\">\n You are encouraged to contribute to the construct ecosystem by\n publishing CDK libraries, contributing code to Construct Hub and\n providing us and libraries’ publishers feedback. For more\n information, go to{\" \"}\n <FAQLink href=\"https://constructs.dev/contribute\">\n https://constructs.dev/contribute\n </FAQLink>\n .\n </FAQItem>\n\n <FAQItem question=\"What is Construct Hub?\">\n <p>\n Construct Hub is a place to discover CDK constructs &mdash; a\n central destination for discovering and sharing cloud application\n design patterns and reference architectures defined for the AWS\n CDK, CDK for Kubernetes (CDK8s), CDK for Terraform (CDKtf) and\n other construct-based tools.\n </p>\n </FAQItem>\n\n <FAQItem question=\"Why should I use Construct Hub?\">\n <Text>\n Construct Hub is a central venue where CDK developers can discover\n construct libraries to help them build their applications. You can\n find construct libraries in TypeScript, Python, Java and .NET (Go\n is coming soon!), browse their developer guides and API\n references, and explore code samples in all the programming\n language that the package supports.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"What is a construct?\">\n <Text>\n The Constructs Programming Model (CPM) introduces the notion of{\" \"}\n <strong>constructs</strong>, which represent building blocks that\n can be used to assemble complete cloud applications of any\n complexity. AWS, enterprises, startups, and individual developers\n use CDK constructs to share proven architecture patterns as\n reusable code libraries, so that everyone can benefit from the\n collective wisdom of the community.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"What are the prerequisites for using a construct library?\">\n <Text>\n To use a construct library in your code, you need to have your\n preferred programming language installed. In order to synthesize,\n diff, and deploy collections of resources you will need to install\n the CDK Toolkit command-line tool. For AWS CDK install the{\" \"}\n <FAQLink href=\"https://docs.aws.amazon.com/cdk/latest/guide/cli.html\">\n AWS CDK Toolkit command-line tool,\n </FAQLink>{\" \"}\n for CDK8s install the{\" \"}\n <FAQLink href=\"https://cdk8s.io/docs/latest/getting-started/\">\n CDK8s command-line tool\n </FAQLink>{\" \"}\n and for CDKtf install the{\" \"}\n <FAQLink href=\"https://learn.hashicorp.com/tutorials/terraform/cdktf-install\">\n CDKtf command-line tool.\n </FAQLink>\n </Text>\n <Text>\n The CDK8s CLI doesn’t require having any registered account nor\n having a running Kubernetes cluster as it only updates Kubernetes\n manifests.\n </Text>\n <Text>\n The CDKtf CLI requires having Terraform, Node, Yarn and Docker\n installed.\n </Text>\n <Text>\n Some construct libraries’ documentation may include additional\n prerequisites which are unique to their implementation.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"Who owns the constructs in Construct Hub?\">\n <Text>\n Constructs are user-generated content owned by the publishers of\n the individual packages. Each is governed by its own license terms\n chosen by its publisher (although only packages that were\n published to the NPM registry under Apache, BSD, EPL, MPL-2.0, ISC\n and CDDL or MIT open source licenses are included in Construct\n Hub). License information can be accessed directly through the\n hyperlinked package page.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"Is the content served in Construct Hub meant to be consumed programmatically?\">\n <Text>\n No. The content displayed in the site is user-generated, with some\n display formatting. We do not advise that you consume constructs\n from the search results programmatically. Construct Hub is a\n search engine or portal intended to surface third-party content\n from a public endpoint. We provide these results for your\n convenience AS-IS in accordance with our{\" \"}\n <FAQLink href=\"https://constructs.dev/terms\">\n Construct Hub Site Terms\n </FAQLink>\n .\n </Text>\n </FAQItem>\n\n <FAQItem question=\"Which CDK types are available on the Construct Hub?\">\n <Text>\n Construct Hub currently has constructs for the CDK for\n CloudFormation (AWS CDK), CDK for Kubernetes (CDK8s) and CDK for\n Terraform (CDKtf). We are open to adding other construct-based\n tools as they evolve.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"What is CDK for CloudFormation (AWS CDK)?\">\n <Text>\n CDK for CloudFormation (AWS CDK) is an open-source software\n development framework for defining applications on AWS and\n reusable abstractions using familiar programming languages and\n rich object-oriented APIs. AWS CDK apps synthesize into standard\n AWS CloudFormation templates, which can be deployed to create\n infrastructure on AWS. See{\" \"}\n <FAQLink href=\"https://aws.amazon.com/cdk/\">\n AWS Cloud Development Kit\n </FAQLink>{\" \"}\n for more information.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"What is CDK for Kubernetes (CDK8s)?\">\n <Text>\n CDK for Kubernetes (CDK8s, pronounced “cd kates”) is an\n open-source software development framework for defining Kubernetes\n applications and reusable abstractions using familiar programming\n languages and rich object-oriented APIs. CDK8s apps synthesize\n into standard Kubernetes manifests that can be applied to any\n Kubernetes cluster. See{\" \"}\n <FAQLink href=\"https://cdk8s.io/\">CDK for Kubernetes</FAQLink> for\n more information.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"What is CDK for Terraform (CDKtf)?\">\n <Text>\n The community preview of the Cloud Development Kit for Terraform\n (CDKtf) allows you to define infrastructure using a familiar\n programming language such as TypeScript, Python, or Go, while\n leveraging the hundreds of providers and thousands of module\n definitions provided by Terraform and the Terraform ecosystem. See{\" \"}\n <FAQLink href=\"https://learn.hashicorp.com/tutorials/terraform/cdktf\">\n CDK for Terraform\n </FAQLink>{\" \"}\n for more information.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"What programming languages are supported?\">\n <Text>\n The Construct Hub GA supports constructs available for Python,\n TypeScript, Java and .NET. Support for Go will be included soon.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"Will Go be supported?\">\n <Text>\n Yes! We can’t promise exactly when, but it should be soon.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"Can I view the source code of a construct?\">\n <Text>\n Source code is usually available via the repository link provided\n by the construct’s publisher; this link appears on Construct Hub.\n We have noticed that the code in the linked repository can\n sometimes be newer or older than the code in the published\n package, so exercise care.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"How can I install a package?\">\n <Text>\n The details vary by construct. Click “Install” in the package page\n to see the construct’s installation instructions.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"How can I report abuse?\">\n <Text>\n Your trust is vital to the success of Construct Hub. If you\n believe a package contains suspicious code, violates its\n dependencies’ licenses, or is otherwise not behaving as a good\n citizen of the community, click &quot;Report abuse&quot; at the\n bottom of the package page and send us an email with explanations\n and evidence to support your claims. If we can verify the issue,\n we will take appropriate action, up to and including removing the\n package from Construct Hub.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"How can I report a bug or contribute code to a construct?\">\n <Text>\n Each package is owned by its publisher, so contributions, such as\n bug reports and pull requests, should be made via the repository\n link provided by the publisher. You may press the &quot;Provide\n feedback&quot; link at the package page to open a new issue in the\n package’s repository.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"Why isn’t my package displayed on Construct Hub?\">\n <Text>\n Construct Hub includes publicly-available constructs that are\n JSII-compatible and that were published to the npm Registry under\n Apache, BSD, EPL, MPL-2.0, ISC and CDDL or MIT open source\n licenses and with a CDK keyword: aws-cdk, cdk8s, or cdktf. If you\n believe your package qualifies, but it still does not appear in\n Construct Hub, please raise an issue{\" \"}\n <FAQLink href={`${CONSTRUCT_HUB_REPO_URL}/issues/new`}>\n here\n </FAQLink>\n .\n </Text>\n </FAQItem>\n\n <FAQItem question=\"Can I update my package after it has been displayed?\">\n <Text>\n Yes, you can and should! After you publish a new valid version to\n the public npm Registry, it should appear on Construct Hub in\n about 30 minutes.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"How does Construct Hub relates to the Construct Catalog?\">\n <Text>\n The Construct Catalog was built by the CDK community in\n collaboration with the AWS CDK team. Construct Hub is the official\n version of the Construct Catalog with ongoing support by the AWS\n CDK team and essentially replaces the Construct Catalog.{\" \"}\n <FAQLink href=\"https://awscdk.io/\">https://awscdk.io</FAQLink> now\n redirects to Construct Hub.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"Is there a cost for using third-party constructs from Construct Hub?\">\n <Text>\n All packages on Construct Hub are published under Apache, BSD,\n EPL, MPL-2.0, ISC and CDDL or MIT open source licenses and can be\n freely used in your applications. For details, review the\n package’s license via its repository link.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"How can I participate in the Construct Hub community?\">\n <Text>\n Construct Hub is itself an open-source construct! Join the{\" \"}\n <FAQLink href={CONSTRUCT_HUB_REPO_URL}>\n Construct Hub GitHub community\n </FAQLink>\n . You are also welcome to join the <code>#construct-hub-dev</code>{\" \"}\n channel in the{\" \"}\n <FAQLink href=\"https://cdk.dev/\">CDK community</FAQLink> Slack\n workspace.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"Is there a community slack channel for the CDK community?\">\n <Text>\n Please join the CDK Slack channel (\n <FAQLink href=\"https://cdk.dev/\">https://cdk.dev/</FAQLink>). This\n Slack channel is managed by the CDK community for the CDK\n community.\n </Text>\n </FAQItem>\n </FAQSection>\n\n <FAQSection heading=\"Getting Started\">\n <FAQItem question=\"Do I need a user account for Construct Hub?\">\n <Text>No. Construct Hub doesn’t require any signup.</Text>\n </FAQItem>\n\n <FAQItem question=\"How do I get started?\">\n <Text>\n Start by exploring featured, community and official libraries for\n the CDK of your interest. Run a free-text search to find libraries\n for your needs, then filter the results by your preferred\n programming language, CDK type, CDK major version and/or author\n type. To learn more about a library, click its card to see helpful\n information like metadata, README, API reference and code samples\n in your preferred programing language.\n </Text>\n </FAQItem>\n </FAQSection>\n </FAQSections>\n </FAQ>\n </Page>\n);\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["constants/pageInfo.ts","components/Page/Page.tsx","components/FAQ/FAQ.tsx","components/FAQ/FAQHeading.tsx","components/FAQ/FAQItem.tsx","components/FAQ/FAQLink.tsx","components/FAQ/FAQSection.tsx","components/FAQ/FAQSections.tsx","views/FAQ/FAQ.tsx"],"names":["pageInfo","contribute","event","name","home","faq","packageProfile","search","siteTerms","notFound","page","pageType","Page","children","meta","pageName","trackPageView","usePageView","useEffect","suffix","title","description","formattedTitle","join","Helmet","process","content","charSet","property","FAQ","bg","color","h","w","py","width","FAQHeading","as","mx","textAlign","FAQItem","question","flex","ml","size","px","fontSize","sx","p","marginTop","marginBottom","FAQLink","href","ExternalLink","hasWarning","textDecoration","FAQSection","heading","my","allowMultiple","FAQSections","accordionProps","FAQPage","defaultIndex","CONSTRUCT_HUB_REPO_URL"],"mappings":"2LAAaA,EAAW,CACtBC,WAAY,CACVC,MAAO,CACLC,KAAM,oBAGVC,KAAM,CACJF,MAAO,CACLC,KAAM,cAGVE,IAAK,CACHH,MAAO,CACLC,KAAM,oCAGVG,eAAgB,CACdJ,MAAO,CACLC,KAAM,yBAGVI,OAAQ,CACNL,MAAO,CACLC,KAAM,gBAGVK,UAAW,CACTN,MAAO,CACLC,KAAM,oBAGVM,SAAU,CACRC,KAAM,CACJC,SAAU,aAEZT,MAAO,CACLC,KAAM,mB,gBCtBCS,EAAqC,SAAC,GAI5C,IAHLC,EAGI,EAHJA,SACAC,EAEI,EAFJA,KACAC,EACI,EADJA,SAEMC,EAAgBC,YAAYjB,EAASe,IAE3CG,qBAAU,WACRF,MACC,CAACA,IAEJ,MAA8CF,EAAtCK,cAAR,SAAuBC,EAAuBN,EAAvBM,MAAOC,EAAgBP,EAAhBO,YACxBC,EAAiBH,EAAM,UAAMC,EAAN,oBAAgCA,EAKjD,CACV,6DACA,wNACA,yDACA,qKACA,qBACA,qCACAG,KAAK,KAEP,OACE,qCACE,eAACC,EAAA,EAAD,YACGC,EAID,sBAAMC,QAAQ,sCAAsCvB,KAAK,aACzD,sBAAMwB,QAAQ,UAEd,gCAAQL,IACR,sBAAMI,QAASJ,EAAgBM,SAAS,aACxC,sBAAMF,QAASJ,EAAgBnB,KAAK,kBACpC,sBAAMuB,QAAQ,UAAUvB,KAAK,iBAE7B,sBAAMuB,QAASL,EAAalB,KAAK,gBACjC,sBAAMuB,QAASL,EAAaO,SAAS,mBACrC,sBAAMF,QAASL,EAAalB,KAAK,2BAElCU,O,iQCxDMgB,EAAyB,SAAC,GAAD,IAAGhB,EAAH,EAAGA,SAAH,OACpC,eAAC,IAAD,CAAKiB,GAAG,QAAQC,MAAM,WAAWC,EAAE,OAAOC,EAAE,OAA5C,UACGpB,EACD,cAAC,IAAD,CAAKqB,GAAI,EAAGC,MAAM,a,SCHTC,EAAgC,SAAC,GAAD,IAAGvB,EAAH,EAAGA,SAAH,OAC3C,cAAC,IAAD,CAAKiB,GAAG,UAAUI,GAAI,GAAIC,MAAM,OAAhC,SACE,cAAC,IAAD,CAASE,GAAG,KAAKC,GAAG,OAAOC,UAAU,SAArC,SACG1B,O,kBCSM2B,EAA2C,SAAC,GAAD,IACtDC,EADsD,EACtDA,SACA5B,EAFsD,EAEtDA,SAFsD,OAItD,eAAC,IAAD,WACE,eAAC,IAAD,WACE,cAAC,IAAD,CAAK6B,KAAK,IAAIR,GAAI,EAAGK,UAAU,OAA/B,SACE,cAAC,IAAD,CAASF,GAAG,KAAKM,GAAI,EAAGC,KAAK,KAA7B,SACGH,MAGL,cAAC,IAAD,OAEF,cAAC,IAAD,CAAgBI,GAAI,GAAIX,GAAI,EAA5B,SACE,cAAC,IAAD,CACEH,MAAM,WACNe,SAAS,KACTC,GAAI,CAAEC,EAAG,CAAEC,UAAW,IAAKC,aAAc,MAH3C,SAKGrC,U,QC3BIsC,EAA2C,SAAC,GAAD,IACtDC,EADsD,EACtDA,KACAvC,EAFsD,EAEtDA,SAFsD,OAItD,cAACwC,EAAA,EAAD,CACEtB,MAAM,UACNuB,YAAY,EACZF,KAAMA,EACNG,eAAe,YAJjB,SAMG1C,KCDQ2C,EAAiD,SAAC,GAAD,IAC5DC,EAD4D,EAC5DA,QACA5C,EAF4D,EAE5DA,SAF4D,OAI5D,eAAC,IAAD,WACE,eAAC,IAAD,WACE,cAAC,IAAD,CAAK6B,KAAK,IAAIH,UAAU,OAAxB,SACE,cAAC,IAAD,CAASF,GAAG,KAAKM,GAAI,EAAGe,GAAI,EAAGd,KAAK,KAApC,SACGa,MAGL,cAAC,IAAD,OAEF,cAAC,IAAD,CAAgBT,EAAG,EAAnB,SACE,cAAC,IAAD,CAAWW,eAAa,EAAC1B,EAAE,OAA3B,SACGpB,U,8BC5BI+C,EAAiD,SAAC,GAAD,IAC5D/C,EAD4D,EAC5DA,SACGgD,EAFyD,wBAI5D,cAAC,IAAD,yBAAWF,eAAa,GAAKE,GAA7B,aACGhD,O,8HCKQiD,EAA6B,kBACxC,cAAClD,EAAA,EAAD,CACEE,KAAM,CACJM,MAAO,MACPC,YAAa,8BAEfN,SAAS,MALX,SAOE,eAACc,EAAA,EAAD,WACE,cAACA,EAAA,EAAD,yCAEA,eAACA,EAAA,EAAD,CAAakC,aAAc,CAAC,EAAG,GAA/B,UACE,eAAClC,EAAA,EAAD,CAAY4B,QAAQ,UAApB,UACE,eAAC5B,EAAA,EAAD,CAASY,SAAS,yCAAlB,8NAIqB,IACnB,cAACZ,EAAA,EAAD,CAASuB,KAAK,oCAAd,+CALF,OAWA,cAACvB,EAAA,EAAD,CAASY,SAAS,yBAAlB,SACE,6TASF,cAACZ,EAAA,EAAD,CAASY,SAAS,kCAAlB,SACE,cAAC,IAAD,gXAUF,cAACZ,EAAA,EAAD,CAASY,SAAS,uBAAlB,SACE,eAAC,IAAD,6EACkE,IAChE,gDAFF,0UAWF,eAACZ,EAAA,EAAD,CAASY,SAAS,4DAAlB,UACE,eAAC,IAAD,4QAI6D,IAC3D,cAACZ,EAAA,EAAD,CAASuB,KAAK,wDAAd,gDAEW,IAPb,wBAQwB,IACtB,cAACvB,EAAA,EAAD,CAASuB,KAAK,gDAAd,qCAEW,IAXb,4BAY4B,IAC1B,cAACvB,EAAA,EAAD,CAASuB,KAAK,gEAAd,yCAIF,cAAC,IAAD,gKAKA,cAAC,IAAD,wFAIA,cAAC,IAAD,6IAMF,cAACvB,EAAA,EAAD,CAASY,SAAS,4CAAlB,SACE,cAAC,IAAD,yaAWF,cAACZ,EAAA,EAAD,CAASY,SAAS,gFAAlB,SACE,eAAC,IAAD,iXAM2C,IACzC,cAACZ,EAAA,EAAD,CAASuB,KAAK,+BAAd,sCAPF,SAcF,cAACvB,EAAA,EAAD,CAASY,SAAS,sDAAlB,SACE,cAAC,IAAD,6NAQF,cAACZ,EAAA,EAAD,CAASY,SAAS,4CAAlB,SACE,eAAC,IAAD,6VAM6B,IAC3B,cAACZ,EAAA,EAAD,CAASuB,KAAK,8BAAd,uCAEW,IATb,6BAcF,cAACvB,EAAA,EAAD,CAASY,SAAS,sCAAlB,SACE,eAAC,IAAD,yWAM0B,IACxB,cAACZ,EAAA,EAAD,CAASuB,KAAK,oBAAd,gCAPF,8BAYF,cAACvB,EAAA,EAAD,CAASY,SAAS,qCAAlB,SACE,eAAC,IAAD,yUAKqE,IACnE,cAACZ,EAAA,EAAD,CAASuB,KAAK,wDAAd,+BAEW,IARb,6BAaF,cAACvB,EAAA,EAAD,CAASY,SAAS,4CAAlB,SACE,cAAC,IAAD,gJAMF,cAACZ,EAAA,EAAD,CAASY,SAAS,wBAAlB,SACE,cAAC,IAAD,gFAKF,cAACZ,EAAA,EAAD,CAASY,SAAS,6CAAlB,SACE,cAAC,IAAD,0SASF,cAACZ,EAAA,EAAD,CAASY,SAAS,+BAAlB,SACE,cAAC,IAAD,oJAMF,cAACZ,EAAA,EAAD,CAASY,SAAS,0BAAlB,SACE,cAAC,IAAD,geAYF,cAACZ,EAAA,EAAD,CAASY,SAAS,4DAAlB,SACE,cAAC,IAAD,uSASF,cAACZ,EAAA,EAAD,CAASY,SAAS,wDAAlB,SACE,eAAC,IAAD,+WAMuC,IACrC,cAACZ,EAAA,EAAD,CAASuB,KAAI,UAAKY,IAAL,eAAb,kBAPF,SAcF,cAACnC,EAAA,EAAD,CAASY,SAAS,uDAAlB,SACE,cAAC,IAAD,kKAOF,cAACZ,EAAA,EAAD,CAASY,SAAS,2DAAlB,SACE,eAAC,IAAD,kQAI2D,IACzD,cAACZ,EAAA,EAAD,CAASuB,KAAK,qBAAd,+BALF,wCAUF,cAACvB,EAAA,EAAD,CAASY,SAAS,uEAAlB,SACE,cAAC,IAAD,2PAQF,cAACZ,EAAA,EAAD,CAASY,SAAS,wDAAlB,SACE,eAAC,IAAD,wEAC6D,IAC3D,cAACZ,EAAA,EAAD,CAASuB,KAAMY,IAAf,4CAFF,sCAKqC,sDAAgC,IALrE,iBAMiB,IACf,cAACnC,EAAA,EAAD,CAASuB,KAAK,mBAAd,2BAPF,yBAYF,cAACvB,EAAA,EAAD,CAASY,SAAS,4DAAlB,SACE,eAAC,IAAD,iDAEE,cAACZ,EAAA,EAAD,CAASuB,KAAK,mBAAd,8BAFF,uFASJ,eAACvB,EAAA,EAAD,CAAY4B,QAAQ,kBAApB,UACE,cAAC5B,EAAA,EAAD,CAASY,SAAS,8CAAlB,SACE,cAAC,IAAD,mEAGF,cAACZ,EAAA,EAAD,CAASY,SAAS,wBAAlB,SACE,cAAC,IAAD","file":"static/js/12.519faaaf.chunk.js","sourcesContent":["export const pageInfo = {\n contribute: {\n event: {\n name: \"Contribute Load\",\n },\n },\n home: {\n event: {\n name: \"Home Load\",\n },\n },\n faq: {\n event: {\n name: \"Frequently Asked Questions Load\",\n },\n },\n packageProfile: {\n event: {\n name: \"Package Profile Load\",\n },\n },\n search: {\n event: {\n name: \"Search Load\",\n },\n },\n siteTerms: {\n event: {\n name: \"Site Terms Load\",\n },\n },\n notFound: {\n page: {\n pageType: \"errorPage\",\n },\n event: {\n name: \"404 Page Load\",\n },\n },\n} as const;\n","import { FunctionComponent, useEffect } from \"react\";\nimport { Helmet } from \"react-helmet\";\nimport { pageInfo } from \"../../constants/pageInfo\";\nimport { usePageView } from \"../../contexts/Analytics\";\n\nexport interface PageProps {\n pageName: keyof typeof pageInfo;\n meta: {\n suffix?: boolean;\n title: string;\n description: string;\n };\n}\n\nexport const Page: FunctionComponent<PageProps> = ({\n children,\n meta,\n pageName,\n}) => {\n const trackPageView = usePageView(pageInfo[pageName]);\n\n useEffect(() => {\n trackPageView();\n }, [trackPageView]);\n\n const { suffix = true, title, description } = meta;\n const formattedTitle = suffix ? `${title} - Construct Hub` : title;\n\n // Should be the same as the \"real\" CSP, except most things come from HTTP\n // instead of HTTPS (because it is protocol-relative, and the dev site is\n // served over plain HTTP).\n const csp = [\n \"default-src 'self' 'unsafe-inline' http://*.awsstatic.com;\",\n \"connect-src 'self' https://*.shortbread.aws.dev http://*.shortbread.aws.dev http://a0.awsstatic.com/ http://amazonwebservices.d2.sc.omtrdc.net http://aws.demdex.net http://dpm.demdex.net http://cm.everesttech.net;\",\n \"frame-src http://aws.demdex.net http://dpm.demdex.net;\",\n \"img-src 'self' https://* http://a0.awsstatic.com/ http://amazonwebservices.d2.sc.omtrdc.net http://aws.demdex.net http://dpm.demdex.net http://cm.everesttech.net;\",\n \"object-src 'none';\",\n \"style-src 'self' 'unsafe-inline';\",\n ].join(\" \");\n\n return (\n <>\n <Helmet>\n {process.env.NODE_ENV === \"development\" && (\n <meta content={csp} httpEquiv=\"Content-Security-Policy\" />\n )}\n\n <meta content=\"width=device-width, initial-scale=1\" name=\"viewport\" />\n <meta charSet=\"utf-8\" />\n\n <title>{formattedTitle}</title>\n <meta content={formattedTitle} property=\"og:title\" />\n <meta content={formattedTitle} name=\"twitter:title\" />\n <meta content=\"summary\" name=\"twitter:card\" />\n\n <meta content={description} name=\"description\" />\n <meta content={description} property=\"og:description\" />\n <meta content={description} name=\"twitter:description\" />\n </Helmet>\n {children}\n </>\n );\n};\n","import { Box } from \"@chakra-ui/react\";\nimport type { FunctionComponent } from \"react\";\n\nexport const FAQ: FunctionComponent = ({ children }) => (\n <Box bg=\"white\" color=\"blue.800\" h=\"100%\" w=\"100%\">\n {children}\n <Box py={5} width=\"100%\" />\n </Box>\n);\n","import { Box, Heading } from \"@chakra-ui/react\";\nimport type { FunctionComponent } from \"react\";\n\nexport const FAQHeading: FunctionComponent = ({ children }) => (\n <Box bg=\"gray.50\" py={20} width=\"100%\">\n <Heading as=\"h1\" mx=\"auto\" textAlign=\"center\">\n {children}\n </Heading>\n </Box>\n);\n","import {\n Heading,\n Text,\n AccordionIcon,\n AccordionButton,\n AccordionItem,\n AccordionPanel,\n Box,\n} from \"@chakra-ui/react\";\nimport type { FunctionComponent, ReactChild } from \"react\";\n\nexport interface FAQItemProps {\n question: ReactChild;\n}\n\nexport const FAQItem: FunctionComponent<FAQItemProps> = ({\n question,\n children,\n}) => (\n <AccordionItem>\n <AccordionButton>\n <Box flex=\"1\" py={2} textAlign=\"left\">\n <Heading as=\"h3\" ml={8} size=\"sm\">\n {question}\n </Heading>\n </Box>\n <AccordionIcon />\n </AccordionButton>\n <AccordionPanel px={12} py={4}>\n <Text\n color=\"blue.800\"\n fontSize=\"md\"\n sx={{ p: { marginTop: \"0\", marginBottom: \"4\" } }}\n >\n {children}\n </Text>\n </AccordionPanel>\n </AccordionItem>\n);\n","import { FunctionComponent } from \"react\";\nimport { ExternalLink } from \"../../components/ExternalLink\";\n\nexport interface FAQLinkProps {\n href: string;\n}\n\nexport const FAQLink: FunctionComponent<FAQLinkProps> = ({\n href,\n children,\n}) => (\n <ExternalLink\n color=\"inherit\"\n hasWarning={false}\n href={href}\n textDecoration=\"underline\"\n >\n {children}\n </ExternalLink>\n);\n","import {\n AccordionIcon,\n AccordionButton,\n AccordionItem,\n AccordionPanel,\n Heading,\n Box,\n Accordion,\n} from \"@chakra-ui/react\";\n\nimport type { FunctionComponent } from \"react\";\n\nexport interface FAQSectionProps {\n heading: string;\n}\n\nexport const FAQSection: FunctionComponent<FAQSectionProps> = ({\n heading,\n children,\n}) => (\n <AccordionItem>\n <AccordionButton>\n <Box flex=\"1\" textAlign=\"left\">\n <Heading as=\"h2\" ml={4} my={4} size=\"lg\">\n {heading}\n </Heading>\n </Box>\n <AccordionIcon />\n </AccordionButton>\n <AccordionPanel p={0}>\n <Accordion allowMultiple w=\"100%\">\n {children}\n </Accordion>\n </AccordionPanel>\n </AccordionItem>\n);\n","import { Accordion, AccordionProps } from \"@chakra-ui/react\";\nimport type { FunctionComponent } from \"react\";\n\nexport const FAQSections: FunctionComponent<AccordionProps> = ({\n children,\n ...accordionProps\n}) => (\n <Accordion allowMultiple {...accordionProps}>\n {children}\n </Accordion>\n);\n","import { Text } from \"@chakra-ui/react\";\nimport type { FunctionComponent } from \"react\";\nimport {\n FAQ,\n FAQHeading,\n FAQSections,\n FAQSection,\n FAQItem,\n FAQLink,\n} from \"../../components/FAQ\";\nimport { Page } from \"../../components/Page\";\nimport { CONSTRUCT_HUB_REPO_URL } from \"../../constants/links\";\n\nexport const FAQPage: FunctionComponent = () => (\n <Page\n meta={{\n title: \"FAQ\",\n description: \"Frequently Asked Questions\",\n }}\n pageName=\"faq\"\n >\n <FAQ>\n <FAQHeading>Frequently Asked Questions</FAQHeading>\n\n <FAQSections defaultIndex={[0, 1]}>\n <FAQSection heading=\"General\">\n <FAQItem question=\"How can I contribute to Construct Hub?\">\n You are encouraged to contribute to the construct ecosystem by\n publishing CDK libraries, contributing code to Construct Hub and\n providing us and libraries’ publishers feedback. For more\n information, go to{\" \"}\n <FAQLink href=\"https://constructs.dev/contribute\">\n https://constructs.dev/contribute\n </FAQLink>\n .\n </FAQItem>\n\n <FAQItem question=\"What is Construct Hub?\">\n <p>\n Construct Hub is a place to discover CDK constructs &mdash; a\n central destination for discovering and sharing cloud application\n design patterns and reference architectures defined for the AWS\n CDK, CDK for Kubernetes (CDK8s), CDK for Terraform (CDKtf) and\n other construct-based tools.\n </p>\n </FAQItem>\n\n <FAQItem question=\"Why should I use Construct Hub?\">\n <Text>\n Construct Hub is a central venue where CDK developers can discover\n construct libraries to help them build their applications. You can\n find construct libraries in TypeScript, Python, Java and .NET (Go\n is coming soon!), browse their developer guides and API\n references, and explore code samples in all the programming\n language that the package supports.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"What is a construct?\">\n <Text>\n The Constructs Programming Model (CPM) introduces the notion of{\" \"}\n <strong>constructs</strong>, which represent building blocks that\n can be used to assemble complete cloud applications of any\n complexity. AWS, enterprises, startups, and individual developers\n use CDK constructs to share proven architecture patterns as\n reusable code libraries, so that everyone can benefit from the\n collective wisdom of the community.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"What are the prerequisites for using a construct library?\">\n <Text>\n To use a construct library in your code, you need to have your\n preferred programming language installed. In order to synthesize,\n diff, and deploy collections of resources you will need to install\n the CDK Toolkit command-line tool. For AWS CDK install the{\" \"}\n <FAQLink href=\"https://docs.aws.amazon.com/cdk/latest/guide/cli.html\">\n AWS CDK Toolkit command-line tool,\n </FAQLink>{\" \"}\n for CDK8s install the{\" \"}\n <FAQLink href=\"https://cdk8s.io/docs/latest/getting-started/\">\n CDK8s command-line tool\n </FAQLink>{\" \"}\n and for CDKtf install the{\" \"}\n <FAQLink href=\"https://learn.hashicorp.com/tutorials/terraform/cdktf-install\">\n CDKtf command-line tool.\n </FAQLink>\n </Text>\n <Text>\n The CDK8s CLI doesn’t require having any registered account nor\n having a running Kubernetes cluster as it only updates Kubernetes\n manifests.\n </Text>\n <Text>\n The CDKtf CLI requires having Terraform, Node, Yarn and Docker\n installed.\n </Text>\n <Text>\n Some construct libraries’ documentation may include additional\n prerequisites which are unique to their implementation.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"Who owns the constructs in Construct Hub?\">\n <Text>\n Constructs are user-generated content owned by the publishers of\n the individual packages. Each is governed by its own license terms\n chosen by its publisher (although only packages that were\n published to the npm registry under Apache, BSD, EPL, MPL-2.0, ISC\n and CDDL or MIT open source licenses are included in Construct\n Hub). License information can be accessed directly through the\n hyperlinked package page.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"Is the content served in Construct Hub meant to be consumed programmatically?\">\n <Text>\n No. The content displayed in the site is user-generated, with some\n display formatting. We do not advise that you consume constructs\n from the search results programmatically. Construct Hub is a\n search engine or portal intended to surface third-party content\n from a public endpoint. We provide these results for your\n convenience AS-IS in accordance with our{\" \"}\n <FAQLink href=\"https://constructs.dev/terms\">\n Construct Hub Site Terms\n </FAQLink>\n .\n </Text>\n </FAQItem>\n\n <FAQItem question=\"Which CDK types are available on the Construct Hub?\">\n <Text>\n Construct Hub currently has constructs for the CDK for\n CloudFormation (AWS CDK), CDK for Kubernetes (CDK8s) and CDK for\n Terraform (CDKtf). We are open to adding other construct-based\n tools as they evolve.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"What is CDK for CloudFormation (AWS CDK)?\">\n <Text>\n CDK for CloudFormation (AWS CDK) is an open-source software\n development framework for defining applications on AWS and\n reusable abstractions using familiar programming languages and\n rich object-oriented APIs. AWS CDK apps synthesize into standard\n AWS CloudFormation templates, which can be deployed to create\n infrastructure on AWS. See{\" \"}\n <FAQLink href=\"https://aws.amazon.com/cdk/\">\n AWS Cloud Development Kit\n </FAQLink>{\" \"}\n for more information.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"What is CDK for Kubernetes (CDK8s)?\">\n <Text>\n CDK for Kubernetes (CDK8s, pronounced “cd kates”) is an\n open-source software development framework for defining Kubernetes\n applications and reusable abstractions using familiar programming\n languages and rich object-oriented APIs. CDK8s apps synthesize\n into standard Kubernetes manifests that can be applied to any\n Kubernetes cluster. See{\" \"}\n <FAQLink href=\"https://cdk8s.io/\">CDK for Kubernetes</FAQLink> for\n more information.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"What is CDK for Terraform (CDKtf)?\">\n <Text>\n The community preview of the Cloud Development Kit for Terraform\n (CDKtf) allows you to define infrastructure using a familiar\n programming language such as TypeScript, Python, or Go, while\n leveraging the hundreds of providers and thousands of module\n definitions provided by Terraform and the Terraform ecosystem. See{\" \"}\n <FAQLink href=\"https://learn.hashicorp.com/tutorials/terraform/cdktf\">\n CDK for Terraform\n </FAQLink>{\" \"}\n for more information.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"What programming languages are supported?\">\n <Text>\n The Construct Hub GA supports constructs available for Python,\n TypeScript, Java and .NET. Support for Go will be included soon.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"Will Go be supported?\">\n <Text>\n Yes! We can’t promise exactly when, but it should be soon.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"Can I view the source code of a construct?\">\n <Text>\n Source code is usually available via the repository link provided\n by the construct’s publisher; this link appears on Construct Hub.\n We have noticed that the code in the linked repository can\n sometimes be newer or older than the code in the published\n package, so exercise care.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"How can I install a package?\">\n <Text>\n The details vary by construct. Click “Install” in the package page\n to see the construct’s installation instructions.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"How can I report abuse?\">\n <Text>\n Your trust is vital to the success of Construct Hub. If you\n believe a package contains suspicious code, violates its\n dependencies’ licenses, or is otherwise not behaving as a good\n citizen of the community, click &quot;Report abuse&quot; at the\n bottom of the package page and send us an email with explanations\n and evidence to support your claims. If we can verify the issue,\n we will take appropriate action, up to and including removing the\n package from Construct Hub.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"How can I report a bug or contribute code to a construct?\">\n <Text>\n Each package is owned by its publisher, so contributions, such as\n bug reports and pull requests, should be made via the repository\n link provided by the publisher. You may press the &quot;Provide\n feedback&quot; link at the package page to open a new issue in the\n package’s repository.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"Why isn’t my package displayed on Construct Hub?\">\n <Text>\n Construct Hub includes publicly-available constructs that are\n JSII-compatible and that were published to the npm Registry under\n Apache, BSD, EPL, MPL-2.0, ISC and CDDL or MIT open source\n licenses and with a CDK keyword: aws-cdk, cdk8s, or cdktf. If you\n believe your package qualifies, but it still does not appear in\n Construct Hub, please raise an issue{\" \"}\n <FAQLink href={`${CONSTRUCT_HUB_REPO_URL}/issues/new`}>\n here\n </FAQLink>\n .\n </Text>\n </FAQItem>\n\n <FAQItem question=\"Can I update my package after it has been displayed?\">\n <Text>\n Yes, you can and should! After you publish a new valid version to\n the public npm Registry, it should appear on Construct Hub in\n about 30 minutes.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"How does Construct Hub relates to the Construct Catalog?\">\n <Text>\n The Construct Catalog was built by the CDK community in\n collaboration with the AWS CDK team. Construct Hub is the official\n version of the Construct Catalog with ongoing support by the AWS\n CDK team and essentially replaces the Construct Catalog.{\" \"}\n <FAQLink href=\"https://awscdk.io/\">https://awscdk.io</FAQLink> now\n redirects to Construct Hub.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"Is there a cost for using third-party constructs from Construct Hub?\">\n <Text>\n All packages on Construct Hub are published under Apache, BSD,\n EPL, MPL-2.0, ISC and CDDL or MIT open source licenses and can be\n freely used in your applications. For details, review the\n package’s license via its repository link.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"How can I participate in the Construct Hub community?\">\n <Text>\n Construct Hub is itself an open-source construct! Join the{\" \"}\n <FAQLink href={CONSTRUCT_HUB_REPO_URL}>\n Construct Hub GitHub community\n </FAQLink>\n . You are also welcome to join the <code>#construct-hub-dev</code>{\" \"}\n channel in the{\" \"}\n <FAQLink href=\"https://cdk.dev/\">CDK community</FAQLink> Slack\n workspace.\n </Text>\n </FAQItem>\n\n <FAQItem question=\"Is there a community slack channel for the CDK community?\">\n <Text>\n Please join the CDK Slack channel (\n <FAQLink href=\"https://cdk.dev/\">https://cdk.dev/</FAQLink>). This\n Slack channel is managed by the CDK community for the CDK\n community.\n </Text>\n </FAQItem>\n </FAQSection>\n\n <FAQSection heading=\"Getting Started\">\n <FAQItem question=\"Do I need a user account for Construct Hub?\">\n <Text>No. Construct Hub doesn’t require any signup.</Text>\n </FAQItem>\n\n <FAQItem question=\"How do I get started?\">\n <Text>\n Start by exploring featured, community and official libraries for\n the CDK of your interest. Run a free-text search to find libraries\n for your needs, then filter the results by your preferred\n programming language, CDK type, CDK major version and/or author\n type. To learn more about a library, click its card to see helpful\n information like metadata, README, API reference and code samples\n in your preferred programing language.\n </Text>\n </FAQItem>\n </FAQSection>\n </FAQSections>\n </FAQ>\n </Page>\n);\n"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- (this["webpackJsonpconstruct-hub-webapp"]=this["webpackJsonpconstruct-hub-webapp"]||[]).push([[6],{248:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var a=n(0),c=n(265),r={contribute:{event:{name:"Contribute Load"}},home:{event:{name:"Home Load"}},faq:{event:{name:"Frequently Asked Questions Load"}},packageProfile:{event:{name:"Package Profile Load"}},search:{event:{name:"Search Load"}},siteTerms:{event:{name:"Site Terms Load"}},notFound:{page:{pageType:"errorPage"},event:{name:"404 Page Load"}}},i=n(123),o=n(1),s=function(e){var t=e.children,n=e.meta,s=e.pageName,l=Object(i.b)(r[s]);Object(a.useEffect)((function(){l()}),[l]);var d=n.suffix,u=void 0===d||d,b=n.title,j=n.description,h=u?"".concat(b," - Construct Hub"):b;["default-src 'self' 'unsafe-inline' http://*.awsstatic.com;","connect-src 'self' https://*.shortbread.aws.dev http://*.shortbread.aws.dev http://a0.awsstatic.com/ http://amazonwebservices.d2.sc.omtrdc.net http://aws.demdex.net http://dpm.demdex.net http://cm.everesttech.net;","frame-src http://aws.demdex.net http://dpm.demdex.net;","img-src 'self' https://* http://a0.awsstatic.com/ http://amazonwebservices.d2.sc.omtrdc.net http://aws.demdex.net http://dpm.demdex.net http://cm.everesttech.net;","object-src 'none';","style-src 'self' 'unsafe-inline';"].join(" ");return Object(o.jsxs)(o.Fragment,{children:[Object(o.jsxs)(c.a,{children:[!1,Object(o.jsx)("meta",{content:"width=device-width, initial-scale=1",name:"viewport"}),Object(o.jsx)("meta",{charSet:"utf-8"}),Object(o.jsx)("title",{children:h}),Object(o.jsx)("meta",{content:h,property:"og:title"}),Object(o.jsx)("meta",{content:h,name:"twitter:title"}),Object(o.jsx)("meta",{content:"summary",name:"twitter:card"}),Object(o.jsx)("meta",{content:j,name:"description"}),Object(o.jsx)("meta",{content:j,property:"og:description"}),Object(o.jsx)("meta",{content:j,name:"twitter:description"})]}),t]})}},258:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var a=n(6),c=n(14),r=n(127),i=function(e){return!e||e.length<1?[]:e.reduce((function(e,t){return t.highlight?[].concat(Object(c.a)(e),[t.highlight]):e}),[])},o=function(e){for(var t=e.packageTags,n=e.keywords,i=new Array,o=new Set,s=0,l=[].concat(Object(c.a)(function(e){return(null!==e&&void 0!==e?e:[]).filter((function(e){var t;return Boolean(null===(t=e.keyword)||void 0===t?void 0:t.label)})).map((function(e){var t;return Object(a.a)(Object(a.a)({},e),{},{id:null===(t=e.keyword)||void 0===t?void 0:t.label})}))}(t)),Object(c.a)(function(e){return!e||e.length<1?[]:e.filter((function(e){return Boolean(e)&&!r.a.has(e)})).map((function(e){return{id:e,keyword:{label:e}}}))}(n)));s<l.length;s++){var d=l[s],u=d.keyword.label.toLowerCase();o.has(u)||(i.push(d),o.add(u))}return i}},259:function(e,t,n){"use strict";n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return r})),n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return o}));var a=n(13),c=function(e,t){return t?"".concat(t,"/").concat(e):e},r=function(e,t,n){var r="".concat(a.a.PACKAGES_PREFIX,"/"),i=c(e,n),o="/v".concat(t);return"".concat(r).concat(i).concat(o)},i=function(e){var t=e;return(t.startsWith("~")||t.startsWith("^"))&&(t=t.substring(1)),t},o=function(e,t){var n=e.packages.filter((function(e){return e.name===t}));return n.length>1?n.sort((function(e,t){var n=new Date(e.metadata.date);return new Date(t.metadata.date).getTime()-n.getTime()}))[0]:n[0]}},264:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(0),c=n(22),r=function(){var e=Object(c.h)().search;return Object(a.useMemo)((function(){return new URLSearchParams(e)}),[e])}},271:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var a=n(74),c=function(e){var t=Object(a.b)().data;return(null!==t&&void 0!==t?t:{})[e]}},272:function(e,t,n){"use strict";n.d(t,"a",(function(){return j}));var a=n(5),c=n(0),r=n(22),i=n(122),o=n(13),s=n(264),l=i.d.TypeScript,d="preferred-language",u=function(e){return null!=e&&i.e.has(e)},b=function(e){if(u(e))return e;try{var t,n=null!==(t=localStorage.getItem(d))&&void 0!==t?t:"";if(u(n))return n}catch(a){}return l},j=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.updateUrl,n=e.updateSaved,i=Object(r.h)(),l=i.pathname,j=i.hash,h=Object(r.g)(),m=h.replace,f=Object(s.a)(),O=f.get(o.b.LANGUAGE),p=Object(c.useState)((function(){return b(O)})),g=Object(a.a)(p,2),x=g[0],C=g[1];Object(c.useEffect)((function(){u(O)&&O!==x&&C(O)}),[O]),Object(c.useEffect)((function(){O!==x&&t&&(f.set(o.b.LANGUAGE,x),m({pathname:l,hash:j,search:f.toString()}))}),[x,t]);var v=Object(c.useCallback)((function(e){if(C(e),n)try{localStorage.setItem(d,e)}catch(t){}}),[n]);return Object(c.useMemo)((function(){return[x,v]}),[x,v])}},283:function(e,t,n){"use strict";var a;n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return N})),function(e){e.Wide="wide"}(a||(a={}));var c=n(0),r=n(392),i=n(154),o=n(214),s=n(238),l=n(232),d=n(208),u=n(638),b=n(91),j=n(88),h=n(48),m=n(284),f=n(63),O=Object(f.a)("packageCard",["author","description","downloads","languages","published","title","version","comment","wideContainer"]),p=n(1),g=function(e){var t=e["data-testid"],n=e.tooltip,a=e.value;return Object(p.jsx)(l.a,{hasArrow:!0,isDisabled:!n,label:n,placement:"left",children:Object(p.jsx)(d.a,{"data-testid":t,fontSize:"xs",zIndex:1,children:a})})},x=function(){var e,t,n,a=E(),c=a.author,r=a.metadata.date,i=a.name,o=Object(b.b)().data,s=null===o||void 0===o||null===(e=o.packages)||void 0===e||null===(t=e[i])||void 0===t||null===(n=t.downloads)||void 0===n?void 0:n.npm,l="string"===typeof c?c:c.name,d=new Date(r);return Object(p.jsxs)(p.Fragment,{children:[void 0!==s&&Object(p.jsx)(g,{"data-testid":O.downloads,tooltip:"Download numbers are periodically sourced from the NPM registry",value:"".concat(s.toLocaleString()," weekly downloads")}),Object(p.jsx)(g,{"data-testid":O.published,value:Object(p.jsx)(m.a,{date:d,fontSize:"xs",formattedDate:Object(u.a)(d,{addSuffix:!0})})}),Object(p.jsx)(g,{"data-testid":O.author,value:Object(p.jsxs)(p.Fragment,{children:["By"," ",Object(p.jsx)(h.a,{color:"blue.500",to:Object(j.c)({query:l}),children:l})]})})]})},C=n(5),v=n(224),w=n(34),y=n(272),k=n(129),S=function(e){var t=e.comment;return Object(p.jsxs)(d.a,{"data-testid":O.comment,fontSize:"md",lineHeight:"tall",noOfLines:4,children:[Object(p.jsxs)(d.a,{as:"span",color:"blue.500",fontWeight:"bold",children:["Editor's note:"," "]}),t]})},L=function(){var e=Object(y.a)(),t=Object(C.a)(e,1)[0],n=E(),a=n.description,c=n.comment,i=n.metadata.constructFramework,s=n.name,l=n.version,u=null===i||void 0===i?void 0:i.name,b=null===i||void 0===i?void 0:i.majorVersion;return Object(p.jsxs)(p.Fragment,{children:[Object(p.jsx)(r.b,{as:w.b,to:Object(j.a)({name:s,version:l,language:t}),children:Object(p.jsxs)(o.a,{align:"center",children:[Object(p.jsx)(k.a,{majorVersion:b,mr:2,name:u}),Object(p.jsx)(v.a,{as:"h3",color:"blue.800","data-testid":O.title,fontSize:"md",fontWeight:"bold",wordBreak:"normal",children:s})]})}),c?Object(p.jsx)(S,{comment:c}):Object(p.jsx)(d.a,{color:"blue.800","data-testid":O.description,fontSize:"md",lineHeight:"tall",noOfLines:4,children:a||"No description available."})]})},D=n(6),T=n(204),A=n(258),z=n(285),H=function(){var e,t,n=(null!==(e=null===(t=E())||void 0===t?void 0:t.metadata)&&void 0!==e?e:{}).packageTags,a=void 0===n?[]:n,c=Object(A.a)(a),r=Object(C.a)(c,1)[0];return Object(p.jsx)(T.a,{fontSize:"xs",children:Object(p.jsx)(z.a,Object(D.a)({},r))})},I=n(122),F=n(287),W={sm:5,md:6,lg:8},M=function(e){var t=e.isRounded,n=void 0!==t&&t,a=e.languages,c=e.name,r=e.size,i=void 0===r?"md":r,o=e.version,s=Object.keys(null!==a&&void 0!==a?a:{});return Object(p.jsx)(p.Fragment,{children:Object.entries(I.c).sort((function(e,t){var n=Object(C.a)(e,1)[0],a=Object(C.a)(t,1)[0];return I.a.indexOf(n)-I.a.indexOf(a)})).map((function(e){var t=Object(C.a)(e,2),a=t[0],r=t[1],l=a,d=l===I.d.TypeScript||s.includes(l),u=l===I.d.TypeScript||I.e.has(l);if(!d)return null;var b=r.name,h=r.icon,m=Object(p.jsx)(h,{"aria-label":"Supports ".concat(b),borderRadius:n?"50%":0,h:W[i],opacity:u?1:.2,w:W[i]});return Object(p.jsx)(F.a,{language:l,children:u?Object(p.jsx)(w.b,{"aria-label":"View package docs for ".concat(l),to:Object(j.a)({name:c,version:o,language:l}),children:m}):m},l)}))})},P=function(){var e=E();return Object(p.jsx)(M,Object(D.a)(Object(D.a)({},e),{},{size:"sm"}))},B=n(286),K=function(){var e=E(),t=e.keywords,n=void 0===t?[]:t,a=e.metadata.packageTags,c=void 0===a?[]:a,r=Object(A.b)({packageTags:c,keywords:n});return Object(p.jsx)(p.Fragment,{children:r.slice(0,10).map((function(e){var t=e.id,n=e.keyword,a=(n=void 0===n?{}:n).label,c=n.color;return Object(p.jsx)(B.a,{value:t,variant:c,children:a},t)}))})},G=function(){return Object(p.jsx)(r.a,{_hover:{"> article":{bg:"gray.50"}},children:Object(p.jsxs)(i.a,{as:"article",bg:"white",border:"base",borderRadius:"sm",boxShadow:"base",color:"blue.800","data-testid":O.wideContainer,h:"full",minH:"12.5rem",templateColumns:{base:"1fr",lg:"1fr 14rem"},w:"full",children:[Object(p.jsxs)(o.a,{direction:"column",justify:"space-between",p:5,sx:{gap:"0.5rem"},children:[Object(p.jsx)(s.a,{spacing:3,children:Object(p.jsx)(L,{})}),Object(p.jsx)(o.a,{align:"center",sx:{gap:"0.5rem"},wrap:"wrap",children:Object(p.jsx)(K,{})})]}),Object(p.jsxs)(o.a,{align:{base:"end",lg:"initial"},borderLeft:{lg:"base"},borderTop:{base:"base",lg:"none"},direction:{base:"row",lg:"column"},justify:"space-between",p:5,sx:{gap:"0.5rem"},children:[Object(p.jsxs)(s.a,{spacing:1,children:[Object(p.jsx)(H,{}),Object(p.jsx)(s.a,{spacing:1,children:Object(p.jsx)(x,{})})]}),Object(p.jsx)(s.a,{"data-testid":O.languages,direction:"row",spacing:2,children:Object(p.jsx)(P,{})})]})]})})},R=Object(c.createContext)(null),E=function(){return Object(c.useContext)(R)},N=function(e){var t=e.pkg,n=e.variant,c=void 0===n?a.Wide:n;return Object(p.jsx)(R.Provider,{value:t,children:c===a.Wide&&Object(p.jsx)(G,{})})}},284:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var a=n(6),c=n(24),r=n(17),i=n(204),o=n(650),s=n(1),l=["date","format","formattedDate"],d=Object(r.a)((function(e,t){var n=e.date,r=e.format,d=e.formattedDate,u=Object(c.a)(e,l);return Object(s.jsx)(i.a,Object(a.a)(Object(a.a)({as:"time",dateTime:n.toISOString(),ref:t},u),{},{children:null!==d&&void 0!==d?d:Object(o.a)(n,null!==r&&void 0!==r?r:"")}))}));d.displayName="Time"},285:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(238),c=n(237),r=n(208),i=n(1),o=function(e){var t=e.label,n=e.color,o=e.icon;return Object(i.jsxs)(a.a,{align:"center",direction:"row",spacing:2,children:[Object(i.jsx)(c.a,{alt:"".concat(t," icon"),src:o,w:4}),Object(i.jsx)(r.a,{color:n,fontWeight:"bold",children:t})]})}},286:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var a=n(6),c=n(24),r=n(642),i=n(88),o=n(48),s=n(1),l=["children","value","label","zIndex"],d=function(e){var t=e.children,n=e.value,d=e.label,u=void 0===d?n:d,b=e.zIndex,j=Object(c.a)(e,l);return Object(s.jsx)(o.a,{"aria-label":"Tag: ".concat(u),to:Object(i.c)({keywords:[n]}),zIndex:b,children:Object(s.jsx)(r.a,Object(a.a)(Object(a.a)({_hover:{textDecoration:"underline"}},j),{},{children:Object(s.jsx)(r.b,{children:t})}))})}},287:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(232),c=n(122),r=n(1),i=function(e){var t=e.children,n=e.language,i=c.e.has(n),o=c.b[n],s=i?"Click to view documentation in ".concat(o):"Documentation support for ".concat(o," is coming soon!");return Object(r.jsx)(a.a,{hasArrow:!0,label:s,placement:"top-start",children:Object(r.jsx)("span",{children:t})})}},651:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return le}));var a,c=n(214),r=n(144),i=n(248),o=n(90),s=n(74),l=n(224),d=n(208),u=n(641),b=n(159),j=n(48),h=n(271),m=n(88),f={X:[4,8,12,16,20],Y:[4,6,8]},O=n(63),p=Object(O.a)("homeRedesign",["page","packageGrid","heroHeader","heroSubtitle","infoContainer","infoSection","infoSectionHeading","infoSectionDescription","infoSectionIcon","featuredContainer","featuredHeader","featuredGrid","cdkTypeSection","cdkTypeSectionHeading","cdkTypeSectionDescription","cdkTypeTab","cdkTypeGrid","cdkTypeSeeAllButton","categoriesContainer","categoriesHeader","categoriesDescription"]),g=n(1),x=[{title:"Monitoring",url:Object(m.c)({keywords:["monitoring"]})},{title:"Containers",url:Object(m.c)({keywords:["containers"]})},{title:"Serverless",url:Object(m.c)({keywords:["serverless"]})},{title:"Databases",url:Object(m.c)({keywords:["databases"]})},{title:"Utilities",url:Object(m.c)({keywords:["utilities"]})},{title:"Deployment",url:Object(m.c)({keywords:["deployment"]})},{title:"Websites",url:Object(m.c)({keywords:["websites"]})},{title:"Security",url:Object(m.c)({keywords:["security"]})},{title:"Compliance",url:Object(m.c)({keywords:["compliance"]})},{title:"Network",url:Object(m.c)({keywords:["network"]})},{title:"Artificial Intelligence (AI)",url:Object(m.c)({keywords:["artificial intelligence (ai)"]})},{title:"Cloud Services Integrations",url:Object(m.c)({keywords:["cloud services integrations"]})}],C=function(){var e,t=null!==(e=Object(h.a)("categories"))&&void 0!==e?e:x;return Object(g.jsxs)(c.a,{"data-testid":p.categoriesContainer,direction:"column",my:4,px:f.X,py:f.Y,zIndex:"0",children:[Object(g.jsx)(l.a,{as:"h3",color:"white","data-testid":p.categoriesHeader,fontSize:"1.5rem",fontWeight:"semibold",lineHeight:"lg",mb:1,children:"Search by use case"}),Object(g.jsx)(d.a,{color:"white","data-testid":p.categoriesDescription,lineHeight:"md",mb:5,children:"Find the right construct for your problem set from a community that\u2019s already tackled it."}),Object(g.jsx)(u.a,{children:t.map((function(e){return Object(g.jsx)(u.b,{children:Object(g.jsx)(b.a,{_hover:{backgroundColor:"white"},as:j.a,color:"blue.800",colorScheme:"gray",size:"md",style:{boxShadow:"0px 4px 4px rgba(73, 73, 73, 0.63)"},to:e.url,children:e.title})},e.title)}))})]})},v=n(5),w=n(6),y=n(24),k=n(640),S=n(17),L=n(59),D=n(13),T=n(128),A=n(4),z=n(0),H=n(22),I=n(154),F=n(283),W=function(e){var t=e.packages;return Object(g.jsx)(I.a,{"data-testid":p.packageGrid,gap:4,mt:8,templateColumns:{base:"1fr",xl:"1fr 1fr"},children:t.map((function(e){return Object(g.jsx)(F.a,{pkg:e},"".concat(e.name,"-").concat(e.version))}))})},M=["label","data","tag"],P={community:{label:"Community",tag:"community"},aws:{label:"AWS",tag:"aws-official"},hashicorp:{label:"HashiCorp",tag:"hashicorp-official"}},B=function(e){var t=e.data,n=e.label;return Object(g.jsx)(k.a,{"data-testid":p.cdkTypeTab,"data-value":n,isDisabled:t.page.length<1,children:n})},K=Object(S.a)((function(e,t){var n=e.label,a=e.data,r=e.tag,i=Object(y.a)(e,M);return Object(g.jsxs)(k.c,Object(w.a)(Object(w.a)({"data-testid":p.cdkTypeGrid,ref:t},i),{},{p:0,children:[Object(g.jsx)(W,{packages:a.page}),Object(g.jsx)(c.a,{justify:"center",w:"full",children:Object(g.jsxs)(b.a,{as:j.a,colorScheme:"blue","data-testid":p.cdkTypeSeeAllButton,my:8,onClick:function(){return window.scrollTo(0,0)},to:Object(m.c)({tags:r?[r]:void 0,sort:L.a.DownloadsDesc}),children:["See all ",n," constructs"]})})]}))})),G=function(){var e=Object(T.a)({tags:[P.community.tag],limit:4,sort:L.a.DownloadsDesc}),t=Object(T.a)({tags:[P.aws.tag],limit:4,sort:L.a.DownloadsDesc}),n=Object(T.a)({tags:[P.hashicorp.tag],limit:4,sort:L.a.DownloadsDesc}),a=function(e,t){var n=Object(H.g)(),a=Object(z.useState)((function(){var a,c=null===(a=n.location.state)||void 0===a?void 0:a[e];return null!==c&&void 0!==c?c:t})),c=Object(v.a)(a,2),r=c[0],i=c[1];return[r,function(t){n.replace(Object(w.a)(Object(w.a)({},n.location),{},{state:Object(w.a)(Object(w.a)({},n.location.state),{},Object(A.a)({},e,t))})),i(t)}]}("cdkTypeTab",0),r=Object(v.a)(a,2),i=r[0],o=r[1];return Object(g.jsxs)(c.a,{bg:"white",color:"blue.800","data-testid":p.cdkTypeSection,direction:"column",px:f.X,py:f.Y,zIndex:"0",children:[Object(g.jsx)(l.a,{as:"h3","data-testid":p.cdkTypeSectionHeading,fontSize:"1.5rem",fontWeight:"semibold",lineHeight:"lg",mb:2,children:"Search by publisher"}),Object(g.jsxs)(d.a,{"data-testid":p.cdkTypeSectionDescription,lineHeight:"md",mb:5,children:["Find constructs published by the open-source community, AWS, and cloud technology providers in one location. You can also include your own construct libraries on Construct Hub by publishing them on npm registry. More concrete guidance can be found in the"," ",Object(g.jsx)(j.a,{color:"blue.500",to:D.c.CONTRIBUTE,children:"Contribute"})," ","page."]}),Object(g.jsxs)(k.e,{defaultIndex:i,onChange:function(e){return o(e)},variant:"line",children:[Object(g.jsxs)(k.b,{children:[Object(g.jsx)(B,{data:e,label:P.community.label}),Object(g.jsx)(B,{data:t,label:P.aws.label}),Object(g.jsx)(B,{data:n,label:P.hashicorp.label})]}),Object(g.jsxs)(k.d,{minH:"28.5rem",children:[Object(g.jsx)(K,{data:e,label:P.community.label.toLowerCase(),tag:P.community.tag}),Object(g.jsx)(K,{data:t,label:P.aws.label,tag:P.aws.tag}),Object(g.jsx)(K,{data:n,label:P.hashicorp.label,tag:P.hashicorp.tag})]})]})]})},R=n(136),E=n(259),N=function(){var e=Object(h.a)("featuredPackages"),t=Object(v.a)((null!==e&&void 0!==e?e:R.a).sections,1)[0],n=void 0===t?{name:"Recently Updated",showLastUpdated:4}:t,a=function(e){var t=e.showLastUpdated,n=e.showPackages,a=Object(o.b)(),c=a.loading,r=a.error,i=Object(T.a)({limit:25,sort:L.a.PublishDateDesc}).results;return Object(z.useMemo)((function(){return c||r||!i?[]:t?i.slice(0,t):n?n.map((function(e){var t=Object(E.a)({packages:i},e.name);if(t)return Object(w.a)(Object(w.a)({},t),{},{comment:e.comment})})).filter((function(e){return void 0!==e})):void 0}),[i,r,c,t,n])}(n);return a?Object(g.jsxs)(c.a,{color:"white","data-testid":p.featuredContainer,direction:"column",px:f.X,py:f.Y,zIndex:"0",children:[Object(g.jsx)(l.a,{as:"h3","data-testid":p.featuredHeader,fontSize:"1.5rem",fontWeight:"semibold",lineHeight:"lg",children:n.name}),Object(g.jsx)(I.a,{"data-testid":p.featuredGrid,gap:4,mt:8,templateColumns:{base:"1fr",xl:"1fr 1fr"},children:null===a||void 0===a?void 0:a.slice(0,4).map((function(e){return Object(g.jsx)(F.a,{pkg:e},e.name)}))}),Object(g.jsx)(b.a,{as:j.a,boxShadow:"md",colorScheme:"blue",mx:"auto",my:8,onClick:function(){return window.scrollTo(0,0)},to:Object(m.c)({sort:L.a.DownloadsDesc}),children:"See all constructs"})]}):null},U=n(393),Z=n(65),q=n(204),X=Object(Z.b)(a||(a=Object(U.a)(["\n 0% {\n background-position:0% 50%;\n }\n\n 50% {\n background-position:100% 50%;\n }\n\n 100% {\n background-position:0% 50%;\n }\n"]))),Y=Object(S.a)((function(e,t){return Object(g.jsx)(q.a,Object(w.a)({animation:"".concat(X," 10s linear infinite"),bg:"linear-gradient(274.2deg, #143870 20.69%, #1F50A1 84.17%)",bgSize:"200% 200%",ref:t},e))})),_=n(75),V=function(){return Object(g.jsxs)(c.a,{align:"center",color:"white",direction:"column",h:"20rem",justify:"center",px:f.X,py:f.Y,textAlign:"center",zIndex:"1",children:[Object(g.jsx)(l.a,{as:"h1","data-testid":p.heroHeader,size:"xl",children:"Simplify cloud development with constructs"}),Object(g.jsx)(l.a,{as:"h2","data-testid":p.heroSubtitle,fontWeight:"normal",mt:4,size:"md",children:"Find and use open-source Cloud Development Kit (CDK) libraries"}),Object(g.jsx)(q.a,{color:"initial",maxW:"36rem",mt:8,mx:"auto",w:"full",children:Object(g.jsxs)(_.a,{hasButton:!0,children:[Object(g.jsx)(_.b,{}),Object(g.jsx)(_.c,{})]})})]})},J=n(238),Q=n(237),$=n(216),ee=n(47),te=n(122),ne=n(160),ae=function(e){var t=e.title,n=e.description,a=e.children;return Object(g.jsxs)(c.a,{color:"blue.800","data-testid":p.infoSection,direction:"column",px:f.X,py:f.Y,children:[Object(g.jsx)(l.a,{as:"h3","data-testid":p.infoSectionHeading,fontSize:"1.5rem",fontWeight:"semibold",lineHeight:"lg",mb:2,children:t}),Object(g.jsxs)(c.a,{direction:"column",h:"full",justify:"space-between",children:[Object(g.jsx)(d.a,{"data-testid":p.infoSectionDescription,fontSize:"lg",mb:4,children:n}),a]})]})},ce=[{name:"Datadog",Icon:function(e){return Object(g.jsxs)(ne.a,Object(w.a)(Object(w.a)({viewBox:"0 0 32 34"},e),{},{children:[Object(g.jsx)("g",{clipPath:"url(#clip0_2245_48088)",children:Object(g.jsx)("path",{clipRule:"evenodd",d:"M26.6008 24.1363L23.774 22.2717L21.4158 26.2107L18.6731 25.4088L16.2581 29.0947L16.3819 30.2549L29.5121 27.8356L28.7495 19.6318L26.6008 24.1363ZM14.3559 20.5992L16.4625 20.3095C16.8034 20.4627 17.0406 20.521 17.4493 20.625C18.0858 20.7908 18.8227 20.9499 19.9139 20.4C20.1678 20.2742 20.6968 19.7905 20.9107 19.5147L29.5419 17.9489L30.4224 28.6054L15.6356 31.2704L14.3559 20.5992ZM30.3891 16.7593L29.5371 16.9216L27.9003 0.0106812L0.0106812 3.24462L3.44659 31.1271L6.71108 30.6533C6.45038 30.2811 6.04446 29.8308 5.35124 29.2542C4.38979 28.4554 4.72985 27.0988 5.29688 26.2421C6.04723 24.7946 9.91328 22.955 9.69424 20.6412C9.61568 19.8 9.48195 18.7048 8.70105 17.9545C8.67168 18.266 8.72446 18.5659 8.72446 18.5659C8.72446 18.5659 8.40384 18.1568 8.24393 17.5989C8.08521 17.3851 7.96061 17.3168 7.79197 17.0311C7.67174 17.3617 7.68761 17.745 7.68761 17.745C7.68761 17.745 7.42533 17.1252 7.38287 16.6022C7.22732 16.8363 7.18804 17.2811 7.18804 17.2811C7.18804 17.2811 6.84719 16.3042 6.92496 15.778C6.76941 15.3201 6.30833 14.4114 6.43888 12.3461C7.29002 12.9425 9.16372 12.8008 9.89383 11.7247C10.1363 11.3684 10.3021 10.3954 9.77281 8.47844C9.43275 7.24915 8.59074 5.4187 8.26258 4.7243L8.2233 4.75247C8.3963 5.31196 8.75303 6.48491 8.88992 7.05352C9.30419 8.77842 9.41529 9.37879 9.22086 10.174C9.05539 10.8652 8.65859 11.3176 7.6527 11.8231C6.6468 12.3302 5.31196 11.0961 5.22744 11.0279C4.25012 10.2494 3.49421 8.97921 3.40969 8.36218C3.322 7.68682 3.79895 7.28129 4.03941 6.72894C3.69539 6.82735 3.31168 7.00194 3.31168 7.00194C3.31168 7.00194 3.76959 6.52816 4.33424 6.11826C4.56796 5.96351 4.70525 5.8651 4.95166 5.66035C4.59494 5.6544 4.30527 5.66472 4.30527 5.66472C4.30527 5.66472 4.90008 5.34331 5.51671 5.10919C5.06554 5.08935 4.63382 5.10602 4.63382 5.10602C4.63382 5.10602 5.96113 4.5124 7.00948 4.07671C7.73047 3.7811 8.43479 3.86839 8.8304 4.44058C9.34982 5.19014 9.89542 5.59726 11.0517 5.84963C11.7616 5.53496 11.9774 5.37307 12.8695 5.13022C13.6547 4.26678 14.2714 4.15488 14.2714 4.15488C14.2714 4.15488 13.9654 4.43542 13.8837 4.87627C14.3289 4.5255 14.817 4.23266 14.817 4.23266C14.817 4.23266 14.6281 4.46598 14.4519 4.83659L14.4928 4.8973C15.0122 4.58581 15.6229 4.34019 15.6229 4.34019C15.6229 4.34019 15.4483 4.56081 15.2435 4.84651C15.6352 4.84334 16.4296 4.86318 16.7379 4.89809C18.558 4.93817 18.9358 2.95416 19.6341 2.70537C20.5087 2.39308 20.8995 2.2042 22.3899 3.66801C23.6688 4.92468 24.668 7.17415 24.172 7.67809C23.7561 8.09632 22.9355 7.51501 22.0261 6.38134C21.5455 5.78098 21.1821 5.0715 21.0118 4.16957C20.8682 3.4085 20.3091 2.96686 20.3091 2.96686C20.3091 2.96686 20.6337 3.68824 20.6337 4.32551C20.6337 4.6735 20.6773 5.97462 21.2352 6.70473C21.1801 6.81147 21.1543 7.23288 21.0932 7.31343C20.444 6.52895 19.05 5.96748 18.8227 5.80201C19.5921 6.43253 21.3606 7.88086 22.04 9.26887C22.6824 10.5815 22.3038 11.7846 22.6288 12.0961C22.7213 12.1854 24.0105 13.7916 24.2585 14.5987C24.691 16.0054 24.2843 17.4835 23.718 18.4005L22.1368 18.6469C21.9054 18.5826 21.7495 18.5505 21.542 18.4302C21.6562 18.2279 21.8836 17.7231 21.886 17.6192L21.7967 17.4624C21.3047 18.1596 20.4801 18.8366 19.7952 19.2254C18.8989 19.7333 17.8656 19.6552 17.193 19.4468C15.284 18.858 13.4789 17.568 13.0437 17.2291C13.0437 17.2291 13.0302 17.4997 13.1123 17.5604C13.5936 18.1033 14.6963 19.0854 15.7621 19.7698L13.4901 20.0198L14.5642 28.3836C14.088 28.4519 14.0138 28.4852 13.4924 28.5594C13.0329 26.9361 12.154 25.8762 11.1934 25.2588C10.3462 24.7144 9.17761 24.5918 8.05902 24.8132L7.9872 24.8965C8.76493 24.8156 9.68313 24.9283 10.6263 25.5255C11.5521 26.1107 12.2981 27.6226 12.5726 28.5328C12.9242 29.6962 13.1675 30.9406 12.2211 32.2596C11.5477 33.1972 9.58195 33.7155 7.99395 32.5945C8.41813 33.2766 8.99151 33.8345 9.76329 33.9397C10.9093 34.0952 11.9969 33.8964 12.7457 33.1278C13.3849 32.4707 13.7238 31.0966 13.6345 29.6494L14.6459 29.5026L15.011 32.1001L31.7553 30.0839L30.3891 16.7593ZM20.202 9.70535C20.1551 9.81209 20.0817 9.88193 20.192 10.2291L20.1988 10.249L20.2162 10.2938L20.2623 10.3978C20.4611 10.8041 20.6793 11.1874 21.044 11.383C21.1384 11.3672 21.236 11.3564 21.3372 11.3513C21.6797 11.3362 21.8959 11.3906 22.0332 11.4644C22.0455 11.3961 22.0483 11.2961 22.0407 11.1489C22.0142 10.6343 22.1427 9.75892 21.1535 9.29823C20.7801 9.12483 20.2563 9.1784 20.0817 9.39466C20.1135 9.39863 20.142 9.40537 20.1643 9.41291C20.4281 9.50537 20.2492 9.59623 20.202 9.70535ZM22.9744 14.5075C22.8447 14.436 22.2384 14.4642 21.8122 14.515C21.0003 14.6106 20.1238 14.8924 19.9317 15.0423C19.5826 15.3122 19.7413 15.7828 19.9992 15.976C20.7226 16.5165 21.3567 16.8787 22.0261 16.7907C22.4372 16.7367 22.7994 16.0859 23.0562 15.4955C23.2319 15.0888 23.2319 14.6499 22.9744 14.5075ZM15.7867 10.3426C16.0157 10.1252 14.6463 9.83947 13.5837 10.564C12.8 11.0985 12.775 12.2445 13.5254 12.8941C13.6004 12.9583 13.6623 13.004 13.7202 13.0413C13.9392 12.9381 14.1888 12.8337 14.4761 12.7405C14.9614 12.583 15.3649 12.5016 15.6967 12.4584C15.8554 12.281 16.0399 11.9687 15.9939 11.4033C15.9312 10.6363 15.3499 10.7581 15.7867 10.3426Z",fill:"#632CA6",fillRule:"evenodd"})}),Object(g.jsx)("defs",{children:Object(g.jsx)("clipPath",{id:"clip0_2245_48088",children:Object(g.jsx)("rect",{fill:"white",height:"34",width:"31.766"})})})]}))},url:Object(m.c)({keywords:["Datadog"]})},{name:"MongoDB",Icon:function(e){return Object(g.jsxs)(ne.a,Object(w.a)(Object(w.a)({viewBox:"0 0 18 37"},e),{},{children:[Object(g.jsx)("path",{d:"M9.09725 0.469971L10.1001 2.35348C10.3255 2.70106 10.5698 3.00871 10.8575 3.29523C11.7009 4.12816 12.4871 5.01714 13.2107 5.95609C14.9099 8.18718 16.056 10.6649 16.8744 13.3445C17.3653 14.9814 17.6318 16.6606 17.6518 18.3586C17.734 23.4349 15.9937 27.7937 12.485 31.4163C11.9143 31.9908 11.2977 32.5178 10.6414 32.9921C10.2938 32.9921 10.1294 32.7256 9.98617 32.4802C9.72529 32.0251 9.55165 31.5253 9.4742 31.0065C9.3509 30.3923 9.26987 29.7782 9.3098 29.1441V28.8576C9.28161 28.7965 8.97513 0.614404 9.09725 0.469971Z",fill:"#599636"}),Object(g.jsx)("path",{d:"M9.09723 0.407647C9.05614 0.325449 9.01504 0.387684 8.97394 0.427609C8.9939 0.838599 8.85064 1.20497 8.62636 1.5549C8.37977 1.90248 8.05333 2.16903 7.72571 2.45555C5.90562 4.0314 4.47304 5.93487 3.3258 8.0638C1.79927 10.929 1.01253 13.9997 0.789419 17.2324C0.687259 18.3984 1.15813 22.513 1.52567 23.7002C2.52848 26.8519 4.32978 29.4928 6.66301 31.785C7.23605 32.3369 7.84901 32.8488 8.4831 33.3409C8.66746 33.3409 8.68742 33.1765 8.72969 33.0543C8.81052 32.793 8.87214 32.5261 8.91405 32.2558L9.32504 29.1863L9.09723 0.407647Z",fill:"#6CAC48"}),Object(g.jsx)("path",{d:"M10.1001 34.2391C10.1412 33.7694 10.3666 33.3796 10.6121 32.9909C10.3655 32.8888 10.1823 32.6856 10.039 32.459C9.91549 32.2444 9.81324 32.0183 9.73372 31.7838C9.44719 30.9243 9.38613 30.0224 9.30394 29.1441V28.6122C9.20177 28.6944 9.18064 29.3895 9.18064 29.4929C9.12088 30.4212 8.99769 31.3443 8.81192 32.2559C8.75086 32.6246 8.70976 32.9921 8.48312 33.3197C8.48312 33.3608 8.48312 33.4019 8.50309 33.463C8.87181 34.548 8.97279 35.6529 9.03503 36.779V37.19C9.03503 37.6808 9.01507 37.5775 9.42254 37.7419C9.58693 37.803 9.77012 37.8241 9.93452 37.9462C10.0578 37.9462 10.0778 37.8441 10.0778 37.7619L10.0167 37.0867V35.2032C9.99675 34.8744 10.0578 34.548 10.0989 34.2403L10.1001 34.2391Z",fill:"#C2BFBF"})]}))},url:Object(m.c)({keywords:["MongoDB"]})},{name:"Aqua Security",imgsrc:"/assets/aqua-security.png",url:Object(m.c)({keywords:["aqua"]})}],re=function(e){var t=e.url,n=e.imgsrc,a=e.label,c=e.Icon;return Object(g.jsx)(j.a,{color:"blue.500","data-testid":p.infoSectionIcon,fontWeight:"bold",to:t,children:Object(g.jsxs)(J.a,{align:"center",spacing:2,children:[n&&Object(g.jsx)(Q.a,{"aria-label":a,h:8,src:n}),c&&Object(g.jsx)(c,{"aria-label":a,h:8,w:8}),Object(g.jsx)("span",{children:a})]})})},ie=function(){return Object(g.jsxs)(g.Fragment,{children:[Object(g.jsx)($.a,{display:{xl:"none"},mx:f.X,w:"auto"}),Object(g.jsx)($.a,{display:{base:"none",xl:"initial"},h:"auto",my:f.Y,orientation:"vertical"})]})},oe=function(e){var t=e.children;return Object(g.jsx)(c.a,{align:"center",pt:4,sx:{gap:"2rem"},children:t})},se=function(){return Object(g.jsx)(c.a,{bg:"white","data-testid":p.infoContainer,direction:"column",children:Object(g.jsxs)(I.a,{templateColumns:{base:"1fr",xl:"1fr auto 1fr auto 1fr"},templateRows:{base:"1fr auto 1fr auto 1fr",xl:"auto"},children:[Object(g.jsx)(ae,{description:"Find libraries for AWS Cloud Development Kit (AWS CDK), which generates AWS CloudFormation templates, CDK for Terraform (CDKtf), which generates HashiCorp Terraform configuration files, and CDK for Kubernetes (CDK8s), which generates Kubernetes manifests.",title:"One home for all CDKs",children:Object(g.jsx)(oe,{children:Object.entries(ee.b).map((function(e){var t=Object(v.a)(e,2),n=t[0],a=t[1],c=a.name,r=a.imgsrc;return Object(g.jsx)(re,{imgsrc:r,label:c,url:Object(m.c)({cdkType:n,sort:L.a.DownloadsDesc})},n)}))})}),Object(g.jsx)(ie,{}),Object(g.jsx)(ae,{description:"Define, test, and deploy cloud infrastructure using high level programming languages such as such as Java, .NET, TypeScript, and Python. Find documentation, API reference and code samples to quickly build your application. ",title:"Support across languages",children:Object(g.jsx)(oe,{children:Object.entries(te.c).filter((function(e){var t=Object(v.a)(e,1)[0];return te.e.has(t)})).map((function(e){var t=Object(v.a)(e,2),n=t[0],a=t[1],c=a.icon,r=a.name;return Object(g.jsx)(re,{Icon:c,label:r,url:Object(m.c)({languages:[n],sort:L.a.DownloadsDesc})},n)}))})}),Object(g.jsx)(ie,{}),Object(g.jsx)(ae,{description:"Find construct libraries published by the community and cloud service providers such as Datadog, MongoDB, Aqua Security, AWS services, and more.",title:"Provision a range of cloud resources",children:Object(g.jsx)(oe,{children:ce.map((function(e){var t=e.url,n=e.name,a=e.imgsrc,c=e.Icon;return Object(g.jsx)(re,{Icon:c,imgsrc:a,label:n,url:t},n)}))})})]})})},le=function(){var e,t,n,a=Object(s.b)().data,l=Object(o.b)().data,d=null!==(e=null===a||void 0===a||null===(t=a.featureFlags)||void 0===t?void 0:t.fullSite)&&void 0!==e&&e,u=(null!==(n=null===l||void 0===l?void 0:l.packages.length)&&void 0!==n?n:0)>0;return Object(g.jsx)(i.a,{meta:{title:"Construct Hub",description:"Construct Hub helps developers find open-source construct libraries for use with AWS CDK, CDK8s, CDKTf and other construct-based tools.",suffix:!1},pageName:"home",children:Object(g.jsxs)(Y,{as:c.a,"data-testid":p.page,direction:"column",children:[Object(g.jsx)(r.a,{}),Object(g.jsx)(V,{}),Object(g.jsx)(se,{}),u&&d?Object(g.jsxs)(g.Fragment,{children:[Object(g.jsx)(C,{}),Object(g.jsx)(G,{}),Object(g.jsx)(N,{})]}):null]})})}}}]);
2
- //# sourceMappingURL=6.563a4752.chunk.js.map
1
+ (this["webpackJsonpconstruct-hub-webapp"]=this["webpackJsonpconstruct-hub-webapp"]||[]).push([[6],{248:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var a=n(0),c=n(265),r={contribute:{event:{name:"Contribute Load"}},home:{event:{name:"Home Load"}},faq:{event:{name:"Frequently Asked Questions Load"}},packageProfile:{event:{name:"Package Profile Load"}},search:{event:{name:"Search Load"}},siteTerms:{event:{name:"Site Terms Load"}},notFound:{page:{pageType:"errorPage"},event:{name:"404 Page Load"}}},i=n(123),o=n(1),s=function(e){var t=e.children,n=e.meta,s=e.pageName,l=Object(i.b)(r[s]);Object(a.useEffect)((function(){l()}),[l]);var d=n.suffix,u=void 0===d||d,b=n.title,j=n.description,h=u?"".concat(b," - Construct Hub"):b;["default-src 'self' 'unsafe-inline' http://*.awsstatic.com;","connect-src 'self' https://*.shortbread.aws.dev http://*.shortbread.aws.dev http://a0.awsstatic.com/ http://amazonwebservices.d2.sc.omtrdc.net http://aws.demdex.net http://dpm.demdex.net http://cm.everesttech.net;","frame-src http://aws.demdex.net http://dpm.demdex.net;","img-src 'self' https://* http://a0.awsstatic.com/ http://amazonwebservices.d2.sc.omtrdc.net http://aws.demdex.net http://dpm.demdex.net http://cm.everesttech.net;","object-src 'none';","style-src 'self' 'unsafe-inline';"].join(" ");return Object(o.jsxs)(o.Fragment,{children:[Object(o.jsxs)(c.a,{children:[!1,Object(o.jsx)("meta",{content:"width=device-width, initial-scale=1",name:"viewport"}),Object(o.jsx)("meta",{charSet:"utf-8"}),Object(o.jsx)("title",{children:h}),Object(o.jsx)("meta",{content:h,property:"og:title"}),Object(o.jsx)("meta",{content:h,name:"twitter:title"}),Object(o.jsx)("meta",{content:"summary",name:"twitter:card"}),Object(o.jsx)("meta",{content:j,name:"description"}),Object(o.jsx)("meta",{content:j,property:"og:description"}),Object(o.jsx)("meta",{content:j,name:"twitter:description"})]}),t]})}},258:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var a=n(6),c=n(14),r=n(127),i=function(e){return!e||e.length<1?[]:e.reduce((function(e,t){return t.highlight?[].concat(Object(c.a)(e),[t.highlight]):e}),[])},o=function(e){for(var t=e.packageTags,n=e.keywords,i=new Array,o=new Set,s=0,l=[].concat(Object(c.a)(function(e){return(null!==e&&void 0!==e?e:[]).filter((function(e){var t;return Boolean(null===(t=e.keyword)||void 0===t?void 0:t.label)})).map((function(e){var t;return Object(a.a)(Object(a.a)({},e),{},{id:null===(t=e.keyword)||void 0===t?void 0:t.label})}))}(t)),Object(c.a)(function(e){return!e||e.length<1?[]:e.filter((function(e){return Boolean(e)&&!r.a.has(e)})).map((function(e){return{id:e,keyword:{label:e}}}))}(n)));s<l.length;s++){var d=l[s],u=d.keyword.label.toLowerCase();o.has(u)||(i.push(d),o.add(u))}return i}},259:function(e,t,n){"use strict";n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return r})),n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return o}));var a=n(13),c=function(e,t){return t?"".concat(t,"/").concat(e):e},r=function(e,t,n){var r="".concat(a.a.PACKAGES_PREFIX,"/"),i=c(e,n),o="/v".concat(t);return"".concat(r).concat(i).concat(o)},i=function(e){var t=e;return(t.startsWith("~")||t.startsWith("^"))&&(t=t.substring(1)),t},o=function(e,t){var n=e.packages.filter((function(e){return e.name===t}));return n.length>1?n.sort((function(e,t){var n=new Date(e.metadata.date);return new Date(t.metadata.date).getTime()-n.getTime()}))[0]:n[0]}},264:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(0),c=n(22),r=function(){var e=Object(c.h)().search;return Object(a.useMemo)((function(){return new URLSearchParams(e)}),[e])}},271:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var a=n(74),c=function(e){var t=Object(a.b)().data;return(null!==t&&void 0!==t?t:{})[e]}},272:function(e,t,n){"use strict";n.d(t,"a",(function(){return j}));var a=n(5),c=n(0),r=n(22),i=n(122),o=n(13),s=n(264),l=i.d.TypeScript,d="preferred-language",u=function(e){return null!=e&&i.e.has(e)},b=function(e){if(u(e))return e;try{var t,n=null!==(t=localStorage.getItem(d))&&void 0!==t?t:"";if(u(n))return n}catch(a){}return l},j=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.updateUrl,n=e.updateSaved,i=Object(r.h)(),l=i.pathname,j=i.hash,h=Object(r.g)(),m=h.replace,f=Object(s.a)(),O=f.get(o.b.LANGUAGE),p=Object(c.useState)((function(){return b(O)})),g=Object(a.a)(p,2),x=g[0],C=g[1];Object(c.useEffect)((function(){u(O)&&O!==x&&C(O)}),[O]),Object(c.useEffect)((function(){O!==x&&t&&(f.set(o.b.LANGUAGE,x),m({pathname:l,hash:j,search:f.toString()}))}),[x,t]);var v=Object(c.useCallback)((function(e){if(C(e),n)try{localStorage.setItem(d,e)}catch(t){}}),[n]);return Object(c.useMemo)((function(){return[x,v]}),[x,v])}},283:function(e,t,n){"use strict";var a;n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return N})),function(e){e.Wide="wide"}(a||(a={}));var c=n(0),r=n(392),i=n(154),o=n(214),s=n(238),l=n(232),d=n(208),u=n(638),b=n(91),j=n(88),h=n(48),m=n(284),f=n(63),O=Object(f.a)("packageCard",["author","description","downloads","languages","published","title","version","comment","wideContainer"]),p=n(1),g=function(e){var t=e["data-testid"],n=e.tooltip,a=e.value;return Object(p.jsx)(l.a,{hasArrow:!0,isDisabled:!n,label:n,placement:"left",children:Object(p.jsx)(d.a,{"data-testid":t,fontSize:"xs",zIndex:1,children:a})})},x=function(){var e,t,n,a=E(),c=a.author,r=a.metadata.date,i=a.name,o=Object(b.b)().data,s=null===o||void 0===o||null===(e=o.packages)||void 0===e||null===(t=e[i])||void 0===t||null===(n=t.downloads)||void 0===n?void 0:n.npm,l="string"===typeof c?c:c.name,d=new Date(r);return Object(p.jsxs)(p.Fragment,{children:[void 0!==s&&Object(p.jsx)(g,{"data-testid":O.downloads,tooltip:"Download numbers are periodically sourced from the npm registry",value:"".concat(s.toLocaleString()," weekly downloads")}),Object(p.jsx)(g,{"data-testid":O.published,value:Object(p.jsx)(m.a,{date:d,fontSize:"xs",formattedDate:Object(u.a)(d,{addSuffix:!0})})}),Object(p.jsx)(g,{"data-testid":O.author,value:Object(p.jsxs)(p.Fragment,{children:["By"," ",Object(p.jsx)(h.a,{color:"blue.500",to:Object(j.c)({query:l}),children:l})]})})]})},C=n(5),v=n(224),w=n(34),y=n(272),k=n(129),S=function(e){var t=e.comment;return Object(p.jsxs)(d.a,{"data-testid":O.comment,fontSize:"md",lineHeight:"tall",noOfLines:4,children:[Object(p.jsxs)(d.a,{as:"span",color:"blue.500",fontWeight:"bold",children:["Editor's note:"," "]}),t]})},L=function(){var e=Object(y.a)(),t=Object(C.a)(e,1)[0],n=E(),a=n.description,c=n.comment,i=n.metadata.constructFramework,s=n.name,l=n.version,u=null===i||void 0===i?void 0:i.name,b=null===i||void 0===i?void 0:i.majorVersion;return Object(p.jsxs)(p.Fragment,{children:[Object(p.jsx)(r.b,{as:w.b,to:Object(j.a)({name:s,version:l,language:t}),children:Object(p.jsxs)(o.a,{align:"center",children:[Object(p.jsx)(k.a,{majorVersion:b,mr:2,name:u}),Object(p.jsx)(v.a,{as:"h3",color:"blue.800","data-testid":O.title,fontSize:"md",fontWeight:"bold",wordBreak:"normal",children:s})]})}),c?Object(p.jsx)(S,{comment:c}):Object(p.jsx)(d.a,{color:"blue.800","data-testid":O.description,fontSize:"md",lineHeight:"tall",noOfLines:4,children:a||"No description available."})]})},D=n(6),T=n(204),A=n(258),z=n(285),H=function(){var e,t,n=(null!==(e=null===(t=E())||void 0===t?void 0:t.metadata)&&void 0!==e?e:{}).packageTags,a=void 0===n?[]:n,c=Object(A.a)(a),r=Object(C.a)(c,1)[0];return Object(p.jsx)(T.a,{fontSize:"xs",children:Object(p.jsx)(z.a,Object(D.a)({},r))})},I=n(122),F=n(287),W={sm:5,md:6,lg:8},M=function(e){var t=e.isRounded,n=void 0!==t&&t,a=e.languages,c=e.name,r=e.size,i=void 0===r?"md":r,o=e.version,s=Object.keys(null!==a&&void 0!==a?a:{});return Object(p.jsx)(p.Fragment,{children:Object.entries(I.c).sort((function(e,t){var n=Object(C.a)(e,1)[0],a=Object(C.a)(t,1)[0];return I.a.indexOf(n)-I.a.indexOf(a)})).map((function(e){var t=Object(C.a)(e,2),a=t[0],r=t[1],l=a,d=l===I.d.TypeScript||s.includes(l),u=l===I.d.TypeScript||I.e.has(l);if(!d)return null;var b=r.name,h=r.icon,m=Object(p.jsx)(h,{"aria-label":"Supports ".concat(b),borderRadius:n?"50%":0,h:W[i],opacity:u?1:.2,w:W[i]});return Object(p.jsx)(F.a,{language:l,children:u?Object(p.jsx)(w.b,{"aria-label":"View package docs for ".concat(l),to:Object(j.a)({name:c,version:o,language:l}),children:m}):m},l)}))})},P=function(){var e=E();return Object(p.jsx)(M,Object(D.a)(Object(D.a)({},e),{},{size:"sm"}))},B=n(286),K=function(){var e=E(),t=e.keywords,n=void 0===t?[]:t,a=e.metadata.packageTags,c=void 0===a?[]:a,r=Object(A.b)({packageTags:c,keywords:n});return Object(p.jsx)(p.Fragment,{children:r.slice(0,10).map((function(e){var t=e.id,n=e.keyword,a=(n=void 0===n?{}:n).label,c=n.color;return Object(p.jsx)(B.a,{value:t,variant:c,children:a},t)}))})},G=function(){return Object(p.jsx)(r.a,{_hover:{"> article":{bg:"gray.50"}},children:Object(p.jsxs)(i.a,{as:"article",bg:"white",border:"base",borderRadius:"sm",boxShadow:"base",color:"blue.800","data-testid":O.wideContainer,h:"full",minH:"12.5rem",templateColumns:{base:"1fr",lg:"1fr 14rem"},w:"full",children:[Object(p.jsxs)(o.a,{direction:"column",justify:"space-between",p:5,sx:{gap:"0.5rem"},children:[Object(p.jsx)(s.a,{spacing:3,children:Object(p.jsx)(L,{})}),Object(p.jsx)(o.a,{align:"center",sx:{gap:"0.5rem"},wrap:"wrap",children:Object(p.jsx)(K,{})})]}),Object(p.jsxs)(o.a,{align:{base:"end",lg:"initial"},borderLeft:{lg:"base"},borderTop:{base:"base",lg:"none"},direction:{base:"row",lg:"column"},justify:"space-between",p:5,sx:{gap:"0.5rem"},children:[Object(p.jsxs)(s.a,{spacing:1,children:[Object(p.jsx)(H,{}),Object(p.jsx)(s.a,{spacing:1,children:Object(p.jsx)(x,{})})]}),Object(p.jsx)(s.a,{"data-testid":O.languages,direction:"row",spacing:2,children:Object(p.jsx)(P,{})})]})]})})},R=Object(c.createContext)(null),E=function(){return Object(c.useContext)(R)},N=function(e){var t=e.pkg,n=e.variant,c=void 0===n?a.Wide:n;return Object(p.jsx)(R.Provider,{value:t,children:c===a.Wide&&Object(p.jsx)(G,{})})}},284:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var a=n(6),c=n(24),r=n(17),i=n(204),o=n(650),s=n(1),l=["date","format","formattedDate"],d=Object(r.a)((function(e,t){var n=e.date,r=e.format,d=e.formattedDate,u=Object(c.a)(e,l);return Object(s.jsx)(i.a,Object(a.a)(Object(a.a)({as:"time",dateTime:n.toISOString(),ref:t},u),{},{children:null!==d&&void 0!==d?d:Object(o.a)(n,null!==r&&void 0!==r?r:"")}))}));d.displayName="Time"},285:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(238),c=n(237),r=n(208),i=n(1),o=function(e){var t=e.label,n=e.color,o=e.icon;return Object(i.jsxs)(a.a,{align:"center",direction:"row",spacing:2,children:[Object(i.jsx)(c.a,{alt:"".concat(t," icon"),src:o,w:4}),Object(i.jsx)(r.a,{color:n,fontWeight:"bold",children:t})]})}},286:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var a=n(6),c=n(24),r=n(642),i=n(88),o=n(48),s=n(1),l=["children","value","label","zIndex"],d=function(e){var t=e.children,n=e.value,d=e.label,u=void 0===d?n:d,b=e.zIndex,j=Object(c.a)(e,l);return Object(s.jsx)(o.a,{"aria-label":"Tag: ".concat(u),to:Object(i.c)({keywords:[n]}),zIndex:b,children:Object(s.jsx)(r.a,Object(a.a)(Object(a.a)({_hover:{textDecoration:"underline"}},j),{},{children:Object(s.jsx)(r.b,{children:t})}))})}},287:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(232),c=n(122),r=n(1),i=function(e){var t=e.children,n=e.language,i=c.e.has(n),o=c.b[n],s=i?"Click to view documentation in ".concat(o):"Documentation support for ".concat(o," is coming soon!");return Object(r.jsx)(a.a,{hasArrow:!0,label:s,placement:"top-start",children:Object(r.jsx)("span",{children:t})})}},651:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return le}));var a,c=n(214),r=n(144),i=n(248),o=n(90),s=n(74),l=n(224),d=n(208),u=n(641),b=n(159),j=n(48),h=n(271),m=n(88),f={X:[4,8,12,16,20],Y:[4,6,8]},O=n(63),p=Object(O.a)("homeRedesign",["page","packageGrid","heroHeader","heroSubtitle","infoContainer","infoSection","infoSectionHeading","infoSectionDescription","infoSectionIcon","featuredContainer","featuredHeader","featuredGrid","cdkTypeSection","cdkTypeSectionHeading","cdkTypeSectionDescription","cdkTypeTab","cdkTypeGrid","cdkTypeSeeAllButton","categoriesContainer","categoriesHeader","categoriesDescription"]),g=n(1),x=[{title:"Monitoring",url:Object(m.c)({keywords:["monitoring"]})},{title:"Containers",url:Object(m.c)({keywords:["containers"]})},{title:"Serverless",url:Object(m.c)({keywords:["serverless"]})},{title:"Databases",url:Object(m.c)({keywords:["databases"]})},{title:"Utilities",url:Object(m.c)({keywords:["utilities"]})},{title:"Deployment",url:Object(m.c)({keywords:["deployment"]})},{title:"Websites",url:Object(m.c)({keywords:["websites"]})},{title:"Security",url:Object(m.c)({keywords:["security"]})},{title:"Compliance",url:Object(m.c)({keywords:["compliance"]})},{title:"Network",url:Object(m.c)({keywords:["network"]})},{title:"Artificial Intelligence (AI)",url:Object(m.c)({keywords:["artificial intelligence (ai)"]})},{title:"Cloud Services Integrations",url:Object(m.c)({keywords:["cloud services integrations"]})}],C=function(){var e,t=null!==(e=Object(h.a)("categories"))&&void 0!==e?e:x;return Object(g.jsxs)(c.a,{"data-testid":p.categoriesContainer,direction:"column",my:4,px:f.X,py:f.Y,zIndex:"0",children:[Object(g.jsx)(l.a,{as:"h3",color:"white","data-testid":p.categoriesHeader,fontSize:"1.5rem",fontWeight:"semibold",lineHeight:"lg",mb:1,children:"Search by use case"}),Object(g.jsx)(d.a,{color:"white","data-testid":p.categoriesDescription,lineHeight:"md",mb:5,children:"Find the right construct for your problem set from a community that\u2019s already tackled it."}),Object(g.jsx)(u.a,{children:t.map((function(e){return Object(g.jsx)(u.b,{children:Object(g.jsx)(b.a,{_hover:{backgroundColor:"white"},as:j.a,color:"blue.800",colorScheme:"gray",size:"md",style:{boxShadow:"0px 4px 4px rgba(73, 73, 73, 0.63)"},to:e.url,children:e.title})},e.title)}))})]})},v=n(5),w=n(6),y=n(24),k=n(640),S=n(17),L=n(59),D=n(13),T=n(128),A=n(4),z=n(0),H=n(22),I=n(154),F=n(283),W=function(e){var t=e.packages;return Object(g.jsx)(I.a,{"data-testid":p.packageGrid,gap:4,mt:8,templateColumns:{base:"1fr",xl:"1fr 1fr"},children:t.map((function(e){return Object(g.jsx)(F.a,{pkg:e},"".concat(e.name,"-").concat(e.version))}))})},M=["label","data","tag"],P={community:{label:"Community",tag:"community"},aws:{label:"AWS",tag:"aws-official"},hashicorp:{label:"HashiCorp",tag:"hashicorp-official"}},B=function(e){var t=e.data,n=e.label;return Object(g.jsx)(k.a,{"data-testid":p.cdkTypeTab,"data-value":n,isDisabled:t.page.length<1,children:n})},K=Object(S.a)((function(e,t){var n=e.label,a=e.data,r=e.tag,i=Object(y.a)(e,M);return Object(g.jsxs)(k.c,Object(w.a)(Object(w.a)({"data-testid":p.cdkTypeGrid,ref:t},i),{},{p:0,children:[Object(g.jsx)(W,{packages:a.page}),Object(g.jsx)(c.a,{justify:"center",w:"full",children:Object(g.jsxs)(b.a,{as:j.a,colorScheme:"blue","data-testid":p.cdkTypeSeeAllButton,my:8,onClick:function(){return window.scrollTo(0,0)},to:Object(m.c)({tags:r?[r]:void 0,sort:L.a.DownloadsDesc}),children:["See all ",n," constructs"]})})]}))})),G=function(){var e=Object(T.a)({tags:[P.community.tag],limit:4,sort:L.a.DownloadsDesc}),t=Object(T.a)({tags:[P.aws.tag],limit:4,sort:L.a.DownloadsDesc}),n=Object(T.a)({tags:[P.hashicorp.tag],limit:4,sort:L.a.DownloadsDesc}),a=function(e,t){var n=Object(H.g)(),a=Object(z.useState)((function(){var a,c=null===(a=n.location.state)||void 0===a?void 0:a[e];return null!==c&&void 0!==c?c:t})),c=Object(v.a)(a,2),r=c[0],i=c[1];return[r,function(t){n.replace(Object(w.a)(Object(w.a)({},n.location),{},{state:Object(w.a)(Object(w.a)({},n.location.state),{},Object(A.a)({},e,t))})),i(t)}]}("cdkTypeTab",0),r=Object(v.a)(a,2),i=r[0],o=r[1];return Object(g.jsxs)(c.a,{bg:"white",color:"blue.800","data-testid":p.cdkTypeSection,direction:"column",px:f.X,py:f.Y,zIndex:"0",children:[Object(g.jsx)(l.a,{as:"h3","data-testid":p.cdkTypeSectionHeading,fontSize:"1.5rem",fontWeight:"semibold",lineHeight:"lg",mb:2,children:"Search by publisher"}),Object(g.jsxs)(d.a,{"data-testid":p.cdkTypeSectionDescription,lineHeight:"md",mb:5,children:["Find constructs published by the open-source community, AWS, and cloud technology providers in one location. You can also include your own construct libraries on Construct Hub by publishing them on npm registry. More concrete guidance can be found in the"," ",Object(g.jsx)(j.a,{color:"blue.500",to:D.c.CONTRIBUTE,children:"Contribute"})," ","page."]}),Object(g.jsxs)(k.e,{defaultIndex:i,onChange:function(e){return o(e)},variant:"line",children:[Object(g.jsxs)(k.b,{children:[Object(g.jsx)(B,{data:e,label:P.community.label}),Object(g.jsx)(B,{data:t,label:P.aws.label}),Object(g.jsx)(B,{data:n,label:P.hashicorp.label})]}),Object(g.jsxs)(k.d,{minH:"28.5rem",children:[Object(g.jsx)(K,{data:e,label:P.community.label.toLowerCase(),tag:P.community.tag}),Object(g.jsx)(K,{data:t,label:P.aws.label,tag:P.aws.tag}),Object(g.jsx)(K,{data:n,label:P.hashicorp.label,tag:P.hashicorp.tag})]})]})]})},R=n(136),E=n(259),N=function(){var e=Object(h.a)("featuredPackages"),t=Object(v.a)((null!==e&&void 0!==e?e:R.a).sections,1)[0],n=void 0===t?{name:"Recently Updated",showLastUpdated:4}:t,a=function(e){var t=e.showLastUpdated,n=e.showPackages,a=Object(o.b)(),c=a.loading,r=a.error,i=Object(T.a)({limit:25,sort:L.a.PublishDateDesc}).results;return Object(z.useMemo)((function(){return c||r||!i?[]:t?i.slice(0,t):n?n.map((function(e){var t=Object(E.a)({packages:i},e.name);if(t)return Object(w.a)(Object(w.a)({},t),{},{comment:e.comment})})).filter((function(e){return void 0!==e})):void 0}),[i,r,c,t,n])}(n);return a?Object(g.jsxs)(c.a,{color:"white","data-testid":p.featuredContainer,direction:"column",px:f.X,py:f.Y,zIndex:"0",children:[Object(g.jsx)(l.a,{as:"h3","data-testid":p.featuredHeader,fontSize:"1.5rem",fontWeight:"semibold",lineHeight:"lg",children:n.name}),Object(g.jsx)(I.a,{"data-testid":p.featuredGrid,gap:4,mt:8,templateColumns:{base:"1fr",xl:"1fr 1fr"},children:null===a||void 0===a?void 0:a.slice(0,4).map((function(e){return Object(g.jsx)(F.a,{pkg:e},e.name)}))}),Object(g.jsx)(b.a,{as:j.a,boxShadow:"md",colorScheme:"blue",mx:"auto",my:8,onClick:function(){return window.scrollTo(0,0)},to:Object(m.c)({sort:L.a.DownloadsDesc}),children:"See all constructs"})]}):null},U=n(393),Z=n(65),q=n(204),X=Object(Z.b)(a||(a=Object(U.a)(["\n 0% {\n background-position:0% 50%;\n }\n\n 50% {\n background-position:100% 50%;\n }\n\n 100% {\n background-position:0% 50%;\n }\n"]))),Y=Object(S.a)((function(e,t){return Object(g.jsx)(q.a,Object(w.a)({animation:"".concat(X," 10s linear infinite"),bg:"linear-gradient(274.2deg, #143870 20.69%, #1F50A1 84.17%)",bgSize:"200% 200%",ref:t},e))})),_=n(75),V=function(){return Object(g.jsxs)(c.a,{align:"center",color:"white",direction:"column",h:"20rem",justify:"center",px:f.X,py:f.Y,textAlign:"center",zIndex:"1",children:[Object(g.jsx)(l.a,{as:"h1","data-testid":p.heroHeader,size:"xl",children:"Simplify cloud development with constructs"}),Object(g.jsx)(l.a,{as:"h2","data-testid":p.heroSubtitle,fontWeight:"normal",mt:4,size:"md",children:"Find and use open-source Cloud Development Kit (CDK) libraries"}),Object(g.jsx)(q.a,{color:"initial",maxW:"36rem",mt:8,mx:"auto",w:"full",children:Object(g.jsxs)(_.a,{hasButton:!0,children:[Object(g.jsx)(_.b,{}),Object(g.jsx)(_.c,{})]})})]})},J=n(238),Q=n(237),$=n(216),ee=n(47),te=n(122),ne=n(160),ae=function(e){var t=e.title,n=e.description,a=e.children;return Object(g.jsxs)(c.a,{color:"blue.800","data-testid":p.infoSection,direction:"column",px:f.X,py:f.Y,children:[Object(g.jsx)(l.a,{as:"h3","data-testid":p.infoSectionHeading,fontSize:"1.5rem",fontWeight:"semibold",lineHeight:"lg",mb:2,children:t}),Object(g.jsxs)(c.a,{direction:"column",h:"full",justify:"space-between",children:[Object(g.jsx)(d.a,{"data-testid":p.infoSectionDescription,fontSize:"lg",mb:4,children:n}),a]})]})},ce=[{name:"Datadog",Icon:function(e){return Object(g.jsxs)(ne.a,Object(w.a)(Object(w.a)({viewBox:"0 0 32 34"},e),{},{children:[Object(g.jsx)("g",{clipPath:"url(#clip0_2245_48088)",children:Object(g.jsx)("path",{clipRule:"evenodd",d:"M26.6008 24.1363L23.774 22.2717L21.4158 26.2107L18.6731 25.4088L16.2581 29.0947L16.3819 30.2549L29.5121 27.8356L28.7495 19.6318L26.6008 24.1363ZM14.3559 20.5992L16.4625 20.3095C16.8034 20.4627 17.0406 20.521 17.4493 20.625C18.0858 20.7908 18.8227 20.9499 19.9139 20.4C20.1678 20.2742 20.6968 19.7905 20.9107 19.5147L29.5419 17.9489L30.4224 28.6054L15.6356 31.2704L14.3559 20.5992ZM30.3891 16.7593L29.5371 16.9216L27.9003 0.0106812L0.0106812 3.24462L3.44659 31.1271L6.71108 30.6533C6.45038 30.2811 6.04446 29.8308 5.35124 29.2542C4.38979 28.4554 4.72985 27.0988 5.29688 26.2421C6.04723 24.7946 9.91328 22.955 9.69424 20.6412C9.61568 19.8 9.48195 18.7048 8.70105 17.9545C8.67168 18.266 8.72446 18.5659 8.72446 18.5659C8.72446 18.5659 8.40384 18.1568 8.24393 17.5989C8.08521 17.3851 7.96061 17.3168 7.79197 17.0311C7.67174 17.3617 7.68761 17.745 7.68761 17.745C7.68761 17.745 7.42533 17.1252 7.38287 16.6022C7.22732 16.8363 7.18804 17.2811 7.18804 17.2811C7.18804 17.2811 6.84719 16.3042 6.92496 15.778C6.76941 15.3201 6.30833 14.4114 6.43888 12.3461C7.29002 12.9425 9.16372 12.8008 9.89383 11.7247C10.1363 11.3684 10.3021 10.3954 9.77281 8.47844C9.43275 7.24915 8.59074 5.4187 8.26258 4.7243L8.2233 4.75247C8.3963 5.31196 8.75303 6.48491 8.88992 7.05352C9.30419 8.77842 9.41529 9.37879 9.22086 10.174C9.05539 10.8652 8.65859 11.3176 7.6527 11.8231C6.6468 12.3302 5.31196 11.0961 5.22744 11.0279C4.25012 10.2494 3.49421 8.97921 3.40969 8.36218C3.322 7.68682 3.79895 7.28129 4.03941 6.72894C3.69539 6.82735 3.31168 7.00194 3.31168 7.00194C3.31168 7.00194 3.76959 6.52816 4.33424 6.11826C4.56796 5.96351 4.70525 5.8651 4.95166 5.66035C4.59494 5.6544 4.30527 5.66472 4.30527 5.66472C4.30527 5.66472 4.90008 5.34331 5.51671 5.10919C5.06554 5.08935 4.63382 5.10602 4.63382 5.10602C4.63382 5.10602 5.96113 4.5124 7.00948 4.07671C7.73047 3.7811 8.43479 3.86839 8.8304 4.44058C9.34982 5.19014 9.89542 5.59726 11.0517 5.84963C11.7616 5.53496 11.9774 5.37307 12.8695 5.13022C13.6547 4.26678 14.2714 4.15488 14.2714 4.15488C14.2714 4.15488 13.9654 4.43542 13.8837 4.87627C14.3289 4.5255 14.817 4.23266 14.817 4.23266C14.817 4.23266 14.6281 4.46598 14.4519 4.83659L14.4928 4.8973C15.0122 4.58581 15.6229 4.34019 15.6229 4.34019C15.6229 4.34019 15.4483 4.56081 15.2435 4.84651C15.6352 4.84334 16.4296 4.86318 16.7379 4.89809C18.558 4.93817 18.9358 2.95416 19.6341 2.70537C20.5087 2.39308 20.8995 2.2042 22.3899 3.66801C23.6688 4.92468 24.668 7.17415 24.172 7.67809C23.7561 8.09632 22.9355 7.51501 22.0261 6.38134C21.5455 5.78098 21.1821 5.0715 21.0118 4.16957C20.8682 3.4085 20.3091 2.96686 20.3091 2.96686C20.3091 2.96686 20.6337 3.68824 20.6337 4.32551C20.6337 4.6735 20.6773 5.97462 21.2352 6.70473C21.1801 6.81147 21.1543 7.23288 21.0932 7.31343C20.444 6.52895 19.05 5.96748 18.8227 5.80201C19.5921 6.43253 21.3606 7.88086 22.04 9.26887C22.6824 10.5815 22.3038 11.7846 22.6288 12.0961C22.7213 12.1854 24.0105 13.7916 24.2585 14.5987C24.691 16.0054 24.2843 17.4835 23.718 18.4005L22.1368 18.6469C21.9054 18.5826 21.7495 18.5505 21.542 18.4302C21.6562 18.2279 21.8836 17.7231 21.886 17.6192L21.7967 17.4624C21.3047 18.1596 20.4801 18.8366 19.7952 19.2254C18.8989 19.7333 17.8656 19.6552 17.193 19.4468C15.284 18.858 13.4789 17.568 13.0437 17.2291C13.0437 17.2291 13.0302 17.4997 13.1123 17.5604C13.5936 18.1033 14.6963 19.0854 15.7621 19.7698L13.4901 20.0198L14.5642 28.3836C14.088 28.4519 14.0138 28.4852 13.4924 28.5594C13.0329 26.9361 12.154 25.8762 11.1934 25.2588C10.3462 24.7144 9.17761 24.5918 8.05902 24.8132L7.9872 24.8965C8.76493 24.8156 9.68313 24.9283 10.6263 25.5255C11.5521 26.1107 12.2981 27.6226 12.5726 28.5328C12.9242 29.6962 13.1675 30.9406 12.2211 32.2596C11.5477 33.1972 9.58195 33.7155 7.99395 32.5945C8.41813 33.2766 8.99151 33.8345 9.76329 33.9397C10.9093 34.0952 11.9969 33.8964 12.7457 33.1278C13.3849 32.4707 13.7238 31.0966 13.6345 29.6494L14.6459 29.5026L15.011 32.1001L31.7553 30.0839L30.3891 16.7593ZM20.202 9.70535C20.1551 9.81209 20.0817 9.88193 20.192 10.2291L20.1988 10.249L20.2162 10.2938L20.2623 10.3978C20.4611 10.8041 20.6793 11.1874 21.044 11.383C21.1384 11.3672 21.236 11.3564 21.3372 11.3513C21.6797 11.3362 21.8959 11.3906 22.0332 11.4644C22.0455 11.3961 22.0483 11.2961 22.0407 11.1489C22.0142 10.6343 22.1427 9.75892 21.1535 9.29823C20.7801 9.12483 20.2563 9.1784 20.0817 9.39466C20.1135 9.39863 20.142 9.40537 20.1643 9.41291C20.4281 9.50537 20.2492 9.59623 20.202 9.70535ZM22.9744 14.5075C22.8447 14.436 22.2384 14.4642 21.8122 14.515C21.0003 14.6106 20.1238 14.8924 19.9317 15.0423C19.5826 15.3122 19.7413 15.7828 19.9992 15.976C20.7226 16.5165 21.3567 16.8787 22.0261 16.7907C22.4372 16.7367 22.7994 16.0859 23.0562 15.4955C23.2319 15.0888 23.2319 14.6499 22.9744 14.5075ZM15.7867 10.3426C16.0157 10.1252 14.6463 9.83947 13.5837 10.564C12.8 11.0985 12.775 12.2445 13.5254 12.8941C13.6004 12.9583 13.6623 13.004 13.7202 13.0413C13.9392 12.9381 14.1888 12.8337 14.4761 12.7405C14.9614 12.583 15.3649 12.5016 15.6967 12.4584C15.8554 12.281 16.0399 11.9687 15.9939 11.4033C15.9312 10.6363 15.3499 10.7581 15.7867 10.3426Z",fill:"#632CA6",fillRule:"evenodd"})}),Object(g.jsx)("defs",{children:Object(g.jsx)("clipPath",{id:"clip0_2245_48088",children:Object(g.jsx)("rect",{fill:"white",height:"34",width:"31.766"})})})]}))},url:Object(m.c)({keywords:["Datadog"]})},{name:"MongoDB",Icon:function(e){return Object(g.jsxs)(ne.a,Object(w.a)(Object(w.a)({viewBox:"0 0 18 37"},e),{},{children:[Object(g.jsx)("path",{d:"M9.09725 0.469971L10.1001 2.35348C10.3255 2.70106 10.5698 3.00871 10.8575 3.29523C11.7009 4.12816 12.4871 5.01714 13.2107 5.95609C14.9099 8.18718 16.056 10.6649 16.8744 13.3445C17.3653 14.9814 17.6318 16.6606 17.6518 18.3586C17.734 23.4349 15.9937 27.7937 12.485 31.4163C11.9143 31.9908 11.2977 32.5178 10.6414 32.9921C10.2938 32.9921 10.1294 32.7256 9.98617 32.4802C9.72529 32.0251 9.55165 31.5253 9.4742 31.0065C9.3509 30.3923 9.26987 29.7782 9.3098 29.1441V28.8576C9.28161 28.7965 8.97513 0.614404 9.09725 0.469971Z",fill:"#599636"}),Object(g.jsx)("path",{d:"M9.09723 0.407647C9.05614 0.325449 9.01504 0.387684 8.97394 0.427609C8.9939 0.838599 8.85064 1.20497 8.62636 1.5549C8.37977 1.90248 8.05333 2.16903 7.72571 2.45555C5.90562 4.0314 4.47304 5.93487 3.3258 8.0638C1.79927 10.929 1.01253 13.9997 0.789419 17.2324C0.687259 18.3984 1.15813 22.513 1.52567 23.7002C2.52848 26.8519 4.32978 29.4928 6.66301 31.785C7.23605 32.3369 7.84901 32.8488 8.4831 33.3409C8.66746 33.3409 8.68742 33.1765 8.72969 33.0543C8.81052 32.793 8.87214 32.5261 8.91405 32.2558L9.32504 29.1863L9.09723 0.407647Z",fill:"#6CAC48"}),Object(g.jsx)("path",{d:"M10.1001 34.2391C10.1412 33.7694 10.3666 33.3796 10.6121 32.9909C10.3655 32.8888 10.1823 32.6856 10.039 32.459C9.91549 32.2444 9.81324 32.0183 9.73372 31.7838C9.44719 30.9243 9.38613 30.0224 9.30394 29.1441V28.6122C9.20177 28.6944 9.18064 29.3895 9.18064 29.4929C9.12088 30.4212 8.99769 31.3443 8.81192 32.2559C8.75086 32.6246 8.70976 32.9921 8.48312 33.3197C8.48312 33.3608 8.48312 33.4019 8.50309 33.463C8.87181 34.548 8.97279 35.6529 9.03503 36.779V37.19C9.03503 37.6808 9.01507 37.5775 9.42254 37.7419C9.58693 37.803 9.77012 37.8241 9.93452 37.9462C10.0578 37.9462 10.0778 37.8441 10.0778 37.7619L10.0167 37.0867V35.2032C9.99675 34.8744 10.0578 34.548 10.0989 34.2403L10.1001 34.2391Z",fill:"#C2BFBF"})]}))},url:Object(m.c)({keywords:["MongoDB"]})},{name:"Aqua Security",imgsrc:"/assets/aqua-security.png",url:Object(m.c)({keywords:["aqua"]})}],re=function(e){var t=e.url,n=e.imgsrc,a=e.label,c=e.Icon;return Object(g.jsx)(j.a,{color:"blue.500","data-testid":p.infoSectionIcon,fontWeight:"bold",to:t,children:Object(g.jsxs)(J.a,{align:"center",spacing:2,children:[n&&Object(g.jsx)(Q.a,{"aria-label":a,h:8,src:n}),c&&Object(g.jsx)(c,{"aria-label":a,h:8,w:8}),Object(g.jsx)("span",{children:a})]})})},ie=function(){return Object(g.jsxs)(g.Fragment,{children:[Object(g.jsx)($.a,{display:{xl:"none"},mx:f.X,w:"auto"}),Object(g.jsx)($.a,{display:{base:"none",xl:"initial"},h:"auto",my:f.Y,orientation:"vertical"})]})},oe=function(e){var t=e.children;return Object(g.jsx)(c.a,{align:"center",pt:4,sx:{gap:"2rem"},children:t})},se=function(){return Object(g.jsx)(c.a,{bg:"white","data-testid":p.infoContainer,direction:"column",children:Object(g.jsxs)(I.a,{templateColumns:{base:"1fr",xl:"1fr auto 1fr auto 1fr"},templateRows:{base:"1fr auto 1fr auto 1fr",xl:"auto"},children:[Object(g.jsx)(ae,{description:"Find libraries for AWS Cloud Development Kit (AWS CDK), which generates AWS CloudFormation templates, CDK for Terraform (CDKtf), which generates HashiCorp Terraform configuration files, and CDK for Kubernetes (CDK8s), which generates Kubernetes manifests.",title:"One home for all CDKs",children:Object(g.jsx)(oe,{children:Object.entries(ee.b).map((function(e){var t=Object(v.a)(e,2),n=t[0],a=t[1],c=a.name,r=a.imgsrc;return Object(g.jsx)(re,{imgsrc:r,label:c,url:Object(m.c)({cdkType:n,sort:L.a.DownloadsDesc})},n)}))})}),Object(g.jsx)(ie,{}),Object(g.jsx)(ae,{description:"Define, test, and deploy cloud infrastructure using high level programming languages such as such as Java, .NET, TypeScript, and Python. Find documentation, API reference and code samples to quickly build your application. ",title:"Support across languages",children:Object(g.jsx)(oe,{children:Object.entries(te.c).filter((function(e){var t=Object(v.a)(e,1)[0];return te.e.has(t)})).map((function(e){var t=Object(v.a)(e,2),n=t[0],a=t[1],c=a.icon,r=a.name;return Object(g.jsx)(re,{Icon:c,label:r,url:Object(m.c)({languages:[n],sort:L.a.DownloadsDesc})},n)}))})}),Object(g.jsx)(ie,{}),Object(g.jsx)(ae,{description:"Find construct libraries published by the community and cloud service providers such as Datadog, MongoDB, Aqua Security, AWS, and more.",title:"Provision a range of cloud resources",children:Object(g.jsx)(oe,{children:ce.map((function(e){var t=e.url,n=e.name,a=e.imgsrc,c=e.Icon;return Object(g.jsx)(re,{Icon:c,imgsrc:a,label:n,url:t},n)}))})})]})})},le=function(){var e,t,n,a=Object(s.b)().data,l=Object(o.b)().data,d=null!==(e=null===a||void 0===a||null===(t=a.featureFlags)||void 0===t?void 0:t.fullSite)&&void 0!==e&&e,u=(null!==(n=null===l||void 0===l?void 0:l.packages.length)&&void 0!==n?n:0)>0;return Object(g.jsx)(i.a,{meta:{title:"Construct Hub",description:"Construct Hub helps developers find open-source construct libraries for use with AWS CDK, CDK8s, CDKTf and other construct-based tools.",suffix:!1},pageName:"home",children:Object(g.jsxs)(Y,{as:c.a,"data-testid":p.page,direction:"column",children:[Object(g.jsx)(r.a,{}),Object(g.jsx)(V,{}),Object(g.jsx)(se,{}),u&&d?Object(g.jsxs)(g.Fragment,{children:[Object(g.jsx)(C,{}),Object(g.jsx)(G,{}),Object(g.jsx)(N,{})]}):null]})})}}}]);
2
+ //# sourceMappingURL=6.69ac40e3.chunk.js.map