PageSourceSearch

https://console.pipeops.io/_next/static/chunks/36pwngr1x_1-y.js

js pipeops.io collected 2026-10-03 23:45:44 UTC 34,330 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,247893,e=>{"use strict";var t=e.i(991865),n=e.i(299749),r=e.i(120786),o=e.i(92808),a=e.i(651682),i=e.i(540316),u=e.i(296137),l=e.i(843476),s=e.i(82428),c=e.i(271645),d=e.i(511152),v=e.i(868127);e.i(982285);var m=e.i(420461);e.i(160966);var f=["VueJs","ReactJs","Gatsby","ViteJs","Angular"],p=["PHP","PHP (Laravel)"],S=["Html","NuxtJs"].concat((0,i._)(f),["NextJs","NodeJs","JavaScript","Other (Frontend Frameworks)","Rust","Rust (Rocket)"]),g=(0,i._)(p).concat(["Python","Python (Django)","Python (Flask)","Java (Spring)","Ruby (Ruby on Rails)","C# (ASP.NET)","Python (FastAPI)","Go (Gin)","Go (Fiber)","JavaScript (Node.js)","Ruby","Go","Java (Spring Boot)","C# (ASP.NET Core)","Ruby (Ruby on Sinatra)","Scala (Play Framework)","Elixir (Phoenix)","Haskell","Swift (Vapor)","Perl (Dancer)","Kotlin (Ktor)","Groovy (Grails)","Clojure","Erlang (Cowboy)","Other (Non listed Framework)"]),_=(0,i._)(S).concat((0,i._)(g));e.s(["default",0,function(e){var _=e.language,h=e.projectType,E=e.setFormData,b=e.actionType,C=e.formData,I=e.selectedBranch,P=e.repoLink,k=e.activeGitProvider,N=e.repoUsername,R=e.gitlabProjectId,M=e.repoProjectName,L=e.envVariables,y=e.setEnvVariables,A=[{text:"Docker",buildMethod:"docker",icon:(0,s.default)("docker"),runCommand:"",color:"#4F21EA"},{text:"Node (Static Frontend)",icon:(0,l.jsx)(d.FaGlobeAmericas,{}),buildMethod:"Node (Static Frontend)",runCommand:"",color:"#3DBA55"},{text:"Paketo-buildpack",icon:(0,l.jsx)(v.SiGooglesearchconsole,{}),buildMethod:"paketo-buildpack",runCommand:"",color:"#3DBA55"},{text:"Heroku BuildPack",icon:(0,s.default)("heroku"),buildMethod:"buildpack",runCommand:"",color:"#BA5F3D"},{text:"Nixpack",icon:(0,l.jsx)(v.SiRust,{}),buildMethod:"nixpack",runCommand:"",color:"#BA5F3D"},{text:"RailPack",icon:(0,l.jsx)(v.SiRust,{}),buildMethod:"railpack",beta:!0,runCommand:"",color:"#BA5F3D"}].sort(function(e,t){return e.buildMethod>t.buildMethod?1:-1}),O=[{text:"Docker",buildMethod:"docker",icon:(0,s.default)("docker"),runCommand:"",color:"#4F21EA"},{text:"Heroku BuildPack",icon:(0,s.default)("heroku"),buildMethod:"buildpack",runCommand:"",color:"#BA5F3D"},{text:"Nixpack",icon:(0,l.jsx)(v.SiRust,{}),buildMethod:"nixpack",runCommand:"",color:"#BA5F3D"},{text:"RailPack",icon:(0,l.jsx)(v.SiRust,{}),buildMethod:"railpack",beta:!0,runCommand:"",color:"#BA5F3D"},{text:"Paketo-buildpack",icon:(0,l.jsx)(v.SiGooglesearchconsole,{}),buildMethod:"paketo-buildpack",runCommand:"",color:"#3DBA55"}],w=[{text:"Docker",buildMethod:"docker",icon:(0,s.default)("docker"),runCommand:"",color:"#4F21EA"},{text:"Heroku BuildPack",icon:(0,s.default)("heroku"),buildMethod:"buildpack",runCommand:"",color:"#BA5F3D"},{text:"Nixpack",icon:(0,l.jsx)(v.SiRust,{}),buildMethod:"nixpack",runCommand:"",color:"#BA5F3D"},{text:"RailPack",icon:(0,l.jsx)(v.SiRust,{}),buildMethod:"railpack",beta:!0,runCommand:"",color:"#BA5F3D"},{text:"Paketo-buildpack",icon:(0,l.jsx)(v.SiGooglesearchconsole,{}),buildMethod:"paketo-buildpack",runCommand:"",color:"#3DBA55"}],D=(0,a._)((0,c.useState)(!1),2),x=D[0],U=D[1],T=(0,a._)((0,c.useState)(!0),2),W=T[0],j=T[1],F=(0,a._)((0,c.useState)(null),2),K=F[0],V=F[1],B=(0,i._)(O).concat((0,i._)(w),(0,i._)(A)),G=(0,c.useMemo)(function(){switch(!0){case(0,i._)(S).concat((0,i._)(f)).some(function(e){var t,n;return null==e||null==(n=e.toLowerCase())?void 0:n.includes(null==(t=C.repositoryLanguage)?void 0:t.toLowerCase())}):return A;case g.some(function(e){var t,n;return null==e||null==(n=e.toLowerCase())?void 0:n.includes(null==(t=C.repositoryLanguage)?void 0:t.toLowerCase())}):return O;default:return B.filter(function(e,t){return t===B.findIndex(function(t){return e.buildMethod===t.buildMethod})})}},[C.repositoryLanguage,null==x?void 0:x.dockerfile_present]),H=function(e){var t=e.target.value;"docker"===t&&"worker"===h&&L&&0>L.findIndex(function(e){var t;return(null==(t=e.key)?void 0:t.toLowerCase())==="port"})&&y(function(e){return(0,i._)(e).concat([{key:"PORT",value:""}])}),E(function(e){return(0,o._)((0,r._)({},e),{buildMethod:t,buildCommand:["docker","dockerfile"].includes(t)?"":"Node (Static Frontend)"===t&&""===e.buildCommand?"CI=true yarn run build":e.buildCommand,buildPath:["docker","dockerfile"].includes(t)?"":"Node (Static Frontend)"===t&&""===e.buildPath?"NextJs"===e.repositoryLanguage?".next":"build":e.buildPath,repositoryLanguage:e.repositoryLanguage})})},J=function(e){var t=e.target,a=t.value,u=t.name;if("repositoryLanguage"===u)if(null==a?void 0:a.toLowerCase().includes("fastapi"))E(function(e){var t;return(0,o._)((0,r._)({},e),(t={},(0,n._)(t,u,a),(0,n._)(t,"buildMethod","paketo-buildpack"),t))});else if(["django","python"].includes(null==a?void 0:a.toLowerCase()))E(function(e){var t;return(0,o._)((0,r._)({},e),(t={},(0,n._)(t,u,a),(0,n._)(t,"buildCommand","django"),(0,n._)(t,"runCommand","python manage.py runserver"),(0,n._)(t,"buildMethod","django"),t))});else if(["html","html5","css","css3"].includes(null==a?void 0:a.toLowerCase()))E(function(e){return(0,o._)((0,r._)({},e),(0,n._)({},u,a))}),V("nixpack"),H({target:{value:"nixpack"}});else if(["nodejs","nextjs","javascript (node.js)"].includes(null==a?void 0:a.toLowerCase())){var l=null==a?void 0:a.toLowerCase(),s=["nodejs","javascript (node.js)"].includes(l),c="nextjs"===l,d=s?"paketo-buildpack":"railpack";V(d),H({target:{value:d}}),E(function(e){var t;return(0,o._)((0,r._)({},e),(t={},(0,n._)(t,u,a),(0,n._)(t,"buildCommand","CI=true yarn run build"),(0,n._)(t,"runCommand","npm run start"),(0,n._)(t,"buildPath",c?".next":e.buildPath),t))})}else f.some(function(e){return null==e?void 0:e.toLowerCase().includes(null==a?void 0:a.toLowerCase())})?((null==a?void 0:a.toLowerCase())==="vuejs"&&V("Node (Static Frontend)"),(null==a?void 0:a.toLowerCase())==="reactjs"&&V("railpack"),H({target:{value:(null==a?void 0:a.toLowerCase())==="vuejs"?"Node (Static Frontend)":"railpack"}}),E(function(e){var t;return(0,o._)((0,r._)({},e),(t={},(0,n._)(t,u,a),(0,n._)(t,"buildCommand","Html"===a?"":"CI=true yarn run build"),(0,n._)(t,"runCommand","Html"===a?"":e.runCommand),(0,n._)(t,"buildPath",["VueJs"].includes(a)?"dist":"Angular"===a?"":"build"),t))})):(0,i._)(S).concat((0,i._)(p)).some(function(e){return null==e?void 0:e.toLowerCase().includes(null==a?void 0:a.toLowerCase())})?(H({target:{value:"railpack"}}),E(function(e){var t;return(0,o._)((0,r._)({},e),(t={},(0,n._)(t,u,a),(0,n._)(t,"buildCommand","Html"===a?"":"CI=true yarn run build"),(0,n._)(t,"runCommand","Html"===a?"":e.runCommand),(0,n._)(t,"buildPath","Html"===a?"":"NextJs"===a?".next":["VueJs","NextJs","NuxtJs","ViteJs","Others (Frontend Framework)"].includes(a)?"dist":"build"),t))})):(["go","go (gin)"].includes(null==a?void 0:a.toLowerCase())&&V("railpack"),H({target:{value:"railpack"}}),E(function(e){return(0,o._)((0,r._)({},e),(0,n._)({},u,a))}));else E(function(e){return(0,o._)((0,r._)({},e),(0,n._)({},u,a))})};(0,c.useEffect)(function(){"new"===b?N?(0,t._)(function(){var e,n,r;return(0,u._)(this,function(o){switch(o.label){case 0:return[4,(0,t._)(function(){return(0,u._)(this,function(e){switch(e.label){case 0:if(e.trys.push([0,3,,4]),!(I&&P))return[3,2];return[4,(0,m.checkForDocker)({branch:I,repoUrl:P,username:N,reponame:M,provider:k,pid:R})];case 1:return[2,e.sent()];case 2:return[3,4];case 3:return console.error("Error fetching data:",e.sent()),[3,4];case 4:return[2]}})})()];case 1:return(null==(n=o.sent())||null==(e=n.data)?void 0:e.dockerfile_present)?(U(null==n?void 0:n.data),V("docker"),H({target:{value:"docker"}})):_&&["html","html5","css","css3"].includes(null==_?void 0:_.toLowerCase())?(V("nixpack"),J({target:{type:"text",value:"Html",name:"repositoryLanguage"}}),H({target:{value:"nixpack"}})):_&&f.some(function(e){return null==e?void 0:e.toLowerCase().includes(null==_?void 0:_.toLowerCase())})?((r=["vuejs","vue"].includes(null==_?void 0:_.toLowerCase()))&&V("Node (Static Frontend)"),H({target:{value:r?"Node (Static Frontend)":"railpack"}})):_&&(0,i._)(S).concat((0,i._)(p)).some(function(e){return null==e?void 0:e.toLowerCase().includes(null==_?void 0:_.toLowerCase())})?H({target:{value:"railpack"}}):_&&["typescript"].includes(null==_?void 0:_.toLowerCase())?J({target:{type:"text",value:"Other (Frontend Frameworks)",name:"repositoryLanguage"}}):H({target:{value:"railpack"}}),j(!1),[2]}})})():j(!1):b&&j(!1)},[_,R,b,P,k,I,N,M]);var Y=(0,c.useMemo)(function(){return"Html"===C.repositoryLanguage||["docker","dockerfile","Node (Static Frontend)"].includes(C.buildMethod)||["buildpack","nixpack","railpack"].includes(C.buildMethod)&&"Others (Frontend Framework)"===C.repositoryLanguage},[C]),z=(0,c.useMemo)(function(){return"worker"===h||C.buildMethod&&!["buildpack","nixpack","railpack","paketo-buildpack","docker","dockerfile","Node (Static Frontend)"].includes(C.buildMethod)},[C,h]),Q=(0,c.useMemo)(function(){return"docker"!==C.buildMethod}
1,[C]),q=(0,c.useMemo)(function(){return C.repositoryLanguage||["docker","dockerfile"].includes(C.buildMethod)},[C]),Z=(0,c.useMemo)(function(){var e;return"Node (Static Frontend)"===C.buildMethod&&!["docker","dockerfile"].includes(null==(e=C.buildMethod)?void 0:e.toLowerCase())},[C]);return{hasBuildCommand:Z,hasBuildRules:Z,hasRunCommand:z,handleInput:J,hasDocker:x,hasBuildPath:Y,recommended:K,buildSettings:G,handleBuildMethodInput:H,apiLoading:W,hasFrameWork:Q,hasBuildMethod:q}},"formInitState",0,{buildCommand:"",buildMethod:"",runCommand:"",repositoryLanguage:"",worker:!1,buildPath:"dist",postStart:"",envFromProject:"",JobRunCommand:"",JobRunInterval:"30 5 * * 1,6",workerRunCommand:"",buildVersion:"20",buildDirectory:"",dockerPath:""},"supportedLanguages",0,_])},978877,e=>{"use strict";var t=e.i(319951),n=e.i(271645);e.s(["default",0,function(e){var r=e||{},o=r.UpdatedAt,a=r.CreatedAt;return{isOvertime:(0,n.useCallback)(function(){if(o&&a)if(o&&"0001-01-01T00:00:00Z"===o)return(0,t.default)().diff((0,t.default)(a),"minutes")>10;else return(0,t.default)().diff((0,t.default)(o),"minutes")>10},[a,o])}}])},874002,619721,870203,e=>{"use strict";var t=e.i(991865),n=e.i(299749),r=e.i(120786),o=e.i(92808),a=e.i(233027),i=e.i(651682),u=e.i(540316),l=e.i(296137);e.s(["default",0,[{name:"cert-manager",imgUrl:"https://res.cloudinary.com/djhh4kkml/image/upload/v1647942943/Pipeops/certManager_omqkon.png",url:"https://cert-manager.io/docs/",description:"Cert-manager adds certificates and certificate issuers as resource types in Kubernetes servers, and simplifies the process of obtaining, renewing and using those certificates.",status:"Pre-Installed"},{name:"cluster-autoscaler",imgUrl:"https://res.cloudinary.com/djhh4kkml/image/upload/v1647942943/Pipeops/clusterAutoscaling_t4kuxc.png",url:"https://github.com/kubernetes/autoscaler",description:"A component that automatically adjusts the size of a Kubernetes Server so that all pods have a place to run and there are no unneeded nodes",status:"Pre-Installed"},{name:"metrics-server",imgUrl:"https://res.cloudinary.com/djhh4kkml/image/upload/v1647942943/Pipeops/metric_api_zqzopz.svg",url:"https://github.com/kubernetes-sigs/metrics-server",description:"Scalable and efficient source of container resource metrics for Kubernetes built-in autoscaling pipelines. ",status:"Pre-Installed"},{name:"sealed-secret",imgUrl:"https://res.cloudinary.com/djhh4kkml/image/upload/v1647942943/Pipeops/sealed-secret_ijyyia.png",url:"https://github.com/bitnami-labs/sealed-secrets",status:"Pre-Installed",description:" A Kubernetes controller and tool for one-way encrypted Secrets"},{name:"ingress-nginx-controller",imgUrl:"https://res.cloudinary.com/djhh4kkml/image/upload/v1647942943/Pipeops/NGINX-Logo_nh6irm.svg",url:"https://kubernetes.github.io/ingress-nginx/",status:"Pre-Installed",description:"An API object that manages external access to the addons in a server, typically HTTP. Ingress may provide load balancing, SSL termination and name-based virtual hosting."},{name:"external-dns",imgUrl:"https://res.cloudinary.com/djhh4kkml/image/upload/v1647947441/Pipeops/external-dns-removebg-preview_jo4kxd.png",url:"https://github.com/kubernetes-sigs/external-dns",status:"Pre-Installed",description:" Configure external DNS clusters (AWS Route53, Google CloudDNS and others) for Kubernetes Ingresses and Services "},{name:"Prometheus",imgUrl:"https://res.cloudinary.com/djhh4kkml/image/upload/v1661423881/Pipeops/prometeus_eskprw.png",url:"https://prometheus.io/",description:"An open-source monitoring system with a dimensional data model, flexible query language, efficient time series database and modern alerting approach.",status:"Pre-Installed",action:!0}]],619721);var s={"pms-standard":{title:"PMS Standard",value:"pms-standard",detail:"Deploy a Container, Database, Terraform, Helm, Serverless, or other Project"},hippa:{title:"HIPAA Compliance",value:"hippa",disabled:!0,detail:"Protects sensitive healthcare data by adhering to strict HIPAA security controls and encryption. (For businesses handling Protected Health Information)."},pcidss:{title:"PCI DSS Compliance",value:"pcidss",disabled:!0,detail:"Secures credit card data with industry-best practices aligning your server with the PCI DSS standard. (For businesses processing, storing, or transmitting credit card information)."}};e.s(["securitySpecification",0,s],870203);var c=e.i(618566),d=e.i(761812),v=e.i(271645);e.i(101967);var m=e.i(571836),f=e.i(611814),p=e.i(9021);e.i(982285);var S=e.i(56001),g=e.i(324347),_=e.i(632607),h=e.i(856119);e.s(["default",0,function(){var e,E,b=(0,c.useSearchParams)(),C=(0,c.useParams)().actionType,I=(0,m.useDispatch)(),P=(0,f.useSelector)(function(e){return e.UserReducer}),k=P.serverLists,N=P.cloudProviderInstanceCategories,R=P.cloudProviderRegions,M="new"===C||!C,L=Object.fromEntries(b.entries()),y=L.cloudProviderUUID,A=L.provider,O=null==A?void 0:A.replace(/_/g,"-"),w=(null==k||null==(e=k.
1clusters)?void 0:e.find(function(e){return e.uuid===C}))||null,D=(0,i._)((0,v.useState)(!1),2),x=D[0],U=D[1],T=(0,i._)((0,v.useState)({}),2),W=T[0],j=T[1],F=(0,i._)((0,v.useState)({}),2),K=F[0],V=F[1],B=(0,i._)((0,v.useState)(null),2),G=B[0],H=B[1],J=(0,i._)((0,v.useState)(null),2),Y=J[0],z=J[1],Q=(0,i._)((0,v.useState)({name:(null==w?void 0:w.name)||(0,d.default)().dashed,region:(null==w?void 0:w.region)||"",security_specification:s["pms-standard"].value,cloudProvider:O,enableKarpenter:(null==w?void 0:w.enableKarpenter)||!1,defaultNodeArchitecture:(null==w?void 0:w.defaultNodeArchitecture)||"amd64",enableSpotInstances:(null==w?void 0:w.enableSpotInstances)||!1,package:(null==w?void 0:w.package)||(null==w?void 0:w.Package)||"",instanceCategory:(null==w?void 0:w.instanceCategory)||(null==w?void 0:w.InstanceCategory),clusterEnvironment:"development",pricePerHour:0,vcpu:(null==w?void 0:w.vcpu)||"",storage:(0,_.isMemoryValue)(null==w?void 0:w.storage)?null==w?void 0:w.storage:"".concat(null==w?void 0:w.storage," GB")||"",memory:(null==w?void 0:w.memory)||"",minNode:(null==w?void 0:w.minNode)||"",maxNode:(null==w?void 0:w.maxNode)||"",defaultNode:(null==w?void 0:w.defaultNode)||"",gpu:(null==w?void 0:w.gpu)||!1,providerCredentialUUID:(null==w?void 0:w.providerCredentialUUID)||y||""}),2),q=Q[0],Z=Q[1],X=q.defaultNode,$=q.instanceCategory,ee=q.vcpu,et=q.storage,en=q.memory,er=q.region,eo=q.minNode,ea=q.maxNode,ei=!M&&!(null==G||null==(E=G[null==w?void 0:w.clusterEnvironment])?void 0:E.find(function(e){var t=e.instanceCategory,n=e.vcpu,r=(0,a._)(e,["instanceCategory","vcpu"]);return t===(null==w?void 0:w.InstanceCategory)&&(null==w?void 0:w.Package)===r.package&&n===(null==w?void 0:w.vcpu)&&(null==w?void 0:w.memory)===r.memory&&(null==w?void 0:w.maxNode)===r.maxNode&&(null==w?void 0:w.minNode)===r.minNode})),eu=!ee&&!et&&!en&&!eo&&!ea,el=(null==R?void 0:R[O])||null,es=(0,h.default)().canCreateBYOCServerAction,ec=N[O],ed="".concat($,"~").concat(er),ev=K[ed],em=(0,v.useMemo)(function(){if(!G)return{};var e,t=(null==G||null==(e=G.development)?void 0:e[0])||{},n=(t.uuid,t.cloudProvider,t.storage),i=t.environment,u=(0,a._)(t,["uuid","cloudProvider","storage","environment"]);return(0,o._)((0,r._)({},u),{storage:(0,_.memoryConverter)(n),clusterEnvironment:i})},[G]);(0,v.useEffect)(function(){O&&!q.cloudProvider&&Z(function(e){return(0,o._)((0,r._)({},e),{cloudProvider:O})})},[O]);var ef=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,t._)(function(){var t,a,i,u,s,c;return(0,l._)(this,function(l){switch(l.label){case 0:if(!e.cloudProvider&&!O)return[2];return t=e.storage||et,z(a=e.uuid||"custom"),j(function(e){return(0,o._)((0,r._)({},e),(0,n._)({},a,null))}),[4,(0,g.getCloudProviderServerCost)({region:e.region||er,instanceType:e.package||q.package,cpu:Number(e.vcpu||ee),memory:Number(e.memory||en),storage:(0,_.isMemoryValue)(t)?Number(null==t?void 0:t.split(" ")[0]):Number(t),defaultNode:Number(e.defaultNode||X),cloudProvider:e.cloudProvider||O})];case 1:return(null==(i=l.sent())?void 0:i.success)?j(function(e){return(0,o._)((0,r._)({},e),(0,n._)({},a,i.data))}):(s=Number(null!=(u=e.pricePerHour)?u:q.pricePerHour))>0?(c=Number(e.defaultNode||X)||1,j(function(e){return(0,o._)((0,r._)({},e),(0,n._)({},a,{dedicatedInstancePricingPerHour:s,storageVolumePricingPerHour:0,loadBalancePricingPerHour:0,kubernetesServicePricingPerHour:0,totalEstimatedCost:s*c*730}))})):j(function(e){return(0,o._)((0,r._)({},e),(0,n._)({},a,{}))}),[2]}})})()};return(0,v.useEffect)(function(){O&&(I((0,g.getCloudProviderRegion)(O)),I((0,g.getCloudProviderInstanceCategory)(O)))},[O]),(0,v.useEffect)(function(){(0,t._)(function(){var e,t,n,i,u,s,c;return(0,l._)(this,function(l){switch(l.label){case 0:if(!q.region)return[2];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,(0,g.getProviderServerTemplate)(O)];case 2:return(null==(e=l.sent())?void 0:e.success)&&(H(e.data),(i=(null==e||null==(n=e.data)||null==(t=n.development)?void 0:t[0])||{}).uuid,i.cloudProvider,u=i.storage,s=i.environment,c=(0,a._)(i,["uuid","cloudProvider","storage","environment"]),eu?(Z(function(e){return(0,o._)((0,r._)({},e,c),{storage:(0,_.memoryConverter)(u),clusterEnvironment:s})}),ef((0,o._)((0,r._)({},c),{storage:(0,_.memoryConverter)(u)}))):ef((0,r._)({},q))),[3,4];case 3:return l.sent(),[3,4];case 4:return[2]}})})()},[O,q.region]),(0,v.useEffect)(function(){(0,t._)(function(){var e,t;return(0,l._)(this,function(a){switch(a.label){case 0:if(!$||!er||!O)return[2,null];e=["provider=".concat(O),"instanceClass=".concat($),"region=".concat(er)],a.label=1;case 1:return a.trys.push([1,3,,4]),[4,(0,g.getCloudProviderInstanceType)(O,e.join("&"))];case 2:return(null==(t=a.sent())?void 0:t.success)&&V(function(e){return(0,o._)((0,r._)({},e),(0,n._)({},ed,t.data[O][$]))}),[3,4];case 3:return a.sent(),[3,4];case 4:return[2]}})})()},[er,ed,$]),(0,v.useEffect)(function(){!((null==el?void 0:el.length)>0)||(null==q?void 0:q.region)||Z(function(e){return(0,o._)((0,r._)({},e),{region:el[0].value})})},[el,null==q?void 0:q.region]),(0,v.useEffect)(function(){(0,t._)(function(){return(0,l._)(this,function(e){return[2]})})()},[q.package]),{handleClusterInput:function(e){var t,i=e.target,u=i.name,l=i.type,s=(0,a._)(i,["name","type"]),c=(null==s||null==(t=s.value)?void 0:t.value)||s.value;if("security_specification"!==u||!s.value.disabled){var d="number"===l?Number(c):c,v=(0,o._)((0,r._)({},q),(0,n._)({},u,c));"minNode"===u&&d<1&&""!==c||("defaultNode"===u&&(v.nodeCount=c),Z((0,r._)({},v)))}},handleClusterSwitch:function(e){var t=e.target.name;Z(function(e){return(0,o._)((0,r._)({},e),(0,n._)({},t,!e[t]))})},clusterFormData:q,templatesCalCosts:W,providerRegions:el,handleCustomClusterInput:function(e){Z(e(q))},serverLoading:x,defaultPayloadConfiguration:em,isNew:M,setClusterFormData:Z,handleAltRegion:function(e,t,n){var a=(0,u._)(q.regions);"add"===t?a[n]=e:"delete"===t&&(a=a.filter(function(e,t){return t!==n})),j({}),Z(function(e){return(0,o._)((0,r._)({},e),{regions:a})})},handleClusterSubmit:function(e,n){return(0,t._)(function(){var t,u,s,c,d,v,m,f,g,h,E,b,P,k,N;return(0,l._)(this,function(l){switch(l.label){case 0:if(!(!M||es()))return[3,7];if(u=q.minNode,s=q.defaultNode,c=q.region,d=q.maxNode,v=q.memory,m=q.name,f=q.storage,g=q.providerCredentialUUID,h=(0,a._)(q,["minNode","defaultNode","region","maxNode","memory","name","storage","providerCredentialUUID"]),E=(0,i._)((0,_.isMemoryValue)(v)?(0,_.memoryConverter)(v).split(" "):[v],1)[0],b=null==m||null==(t=m.replaceAll(" ","_"))?void 0:t.toLowerCase(),P=(0,o._)((0,r._)({region:c,minNode:Number(u),defaultNode:Number(s),maxNode:Number(d),memory:Number(E),storage:Number((null==f?void 0:f.split(" ")[0])||0),name:b.includes("pipeops")?b:"pipeops-".concat(b)},h),{providerCredentialUUID:g||y}),s<u)return(0,p.showWarningToast)("Default node cannot be less than minimum node"),[2];"function"==typeof e&&e(),U(!0),l.label=1;case 1:if(l.trys.push([1,,6,7]),!M)return[3,3];return[4,I((0,S.createServer)(P))];case 2:return N=l.sent(),[3,5];case 3:return[4,I((0,S.altServer)((0,r._)({uuid:C},P),"update"))];case 4:N=l.sent(),l.label=5;case 5:return k=N,sessionStorage.clear(),"function"==typeof n&&n(k),[3,7];case 6:return U(!1),[7];case 7:return[2]}})})()},activeProviderInstanceType:ev,providerInstanceCategories:ec,providerTemplates:G,handleGetCost:ef,activeTemplateId:Y,activeClusterData:w,setActiveTemplateId:z,setTemplatesCalcosts:j,isCustomized:ei}}],874002)},105858,e=>{"use strict";e.i(271645),e.s([])},383505,e=>{"use strict";
1var t=e.i(991865),n=e.i(651682),r=e.i(296137),o=e.i(271645),a="pipeops_early_access_stages";e.s(["default",0,function(e){var i=(0,n._)((0,o.useState)(null),2),u=i[0],l=i[1];return(0,o.useEffect)(function(){if(e){var n=!0;return(0,t._)(function(){var t,o,i,u,s,c,d,v;return(0,r._)(this,function(r){switch(r.label){case 0:try{(t=localStorage.getItem(a))&&(i=(o=JSON.parse(t)).data,u=o.timestamp,Date.now()-u<3e5&&(s=null==i?void 0:i.find(function(t){return t.flagKey===e}),n&&l((null==s?void 0:s.stage)||null)))}catch(e){}r.label=1;case 1:return r.trys.push([1,4,,5]),[4,fetch("/api/early-access-features")];case 2:if(!(c=r.sent()).ok)return[2];return[4,c.json()];case 3:d=r.sent().features;try{localStorage.setItem(a,JSON.stringify({data:d,timestamp:Date.now()}))}catch(e){}return v=null==d?void 0:d.find(function(t){return t.flagKey===e}),n&&l((null==v?void 0:v.stage)||null),[3,5];case 4:return r.sent(),[3,5];case 5:return[2]}})})(),function(){n=!1}}},[e]),u}])},407309,e=>{"use strict";var t=e.i(299749),n=e.i(120786),r=e.i(92808),o=e.i(651682),a=e.i(271645),i=a.default.createContext(),u={overview:{},clusterOverview:{},clusterPricing:{},clusterEvents:{},clusterNode:{},cpu:{},memory:{},storage:{},network:{},controlPlane:{},guage:{}};e.s(["ObservabilityContext",0,i,"observabilityInit",0,u,"useObservabilityContext",0,function(){var e=(0,o._)((0,a.useState)(u),2),i=e[0],l=e[1];return{observability:i,setObservability:l,handleUpdateObservabilityState:function(e){var o=e.id,a=e.section,i=e.data;l(function(e){return(0,r._)((0,n._)({},e),(0,t._)({},a,(0,r._)((0,n._)({},null==e?void 0:e[a]),(0,t._)({},o,i))))})}}}])},72211,e=>{"use strict";var t=e.i(991865),n=e.i(651682),r=e.i(296137),o=e.i(160966),a=e.i(271645);e.i(101967);var i=e.i(571836),u=e.i(9021);e.i(982285);var l=e.i(25258),s=e.i(771467),c=e.i(56001);e.s(["default",0,function(){var e=(0,i.useDispatch)(),d=(0,n._)((0,a.useState)(!1),2),v=d[0],m=d[1];return[v,function(n,a){var i=n.CallBackURL,d=n.clusterUUID;return(0,t._)(function(){var t,n;return(0,r._)(this,function(r){switch(r.label){case 0:return r.trys.push([0,,9,10]),m(d),[4,e((0,c.reactivatePausedServer)({Cluster:d,CallBackURL:"".concat(o.PipeOpsDashboard_URL).concat(i)}))];case 1:if(!(null==(t=r.sent())?void 0:t.success))return[3,8];if(null==t||null==(n=t.data)?void 0:n.checkout_url)return window.location.assign(t.data.checkout_url),[2];if("function"!=typeof a)return[3,3];return[4,a()];case 2:r.sent(),r.label=3;case 3:return[4,e((0,c.getServers)())];case 4:return r.sent(),[4,e((0,s.getAppData)())];case 5:return r.sent(),[4,e((0,l.getUserActiveWorkspacePlans)())];case 6:return r.sent(),[4,e((0,l.fetchWorkspace)())];case 7:r.sent(),(0,u.showSuccessToast)("Server resumed successfully"),r.label=8;case 8:return[3,10];case 9:return m(!1),[7];case 10:return[2]}})})()}]}])},884543,e=>{"use strict";var t=e.i(299749),n=e.i(271645);e.i(101967);var r=e.i(611814),o=e.i(484572);e.s(["default",0,function(){var e,a=(0,r.useSelector)(function(e){return e.UserReducer}),i=a.activeWorkspace,u=a.teamPermissionData,l=a.appData,s=null==i?void 0:i.teamUUID,c=null==u?void 0:u[s],d=(null==l?void 0:l.uuid)===((null==i?void 0:i.OwnerUUID)||(null==i||null==(e=i.Owner)?void 0:e.UUID)),v=(0,n.useMemo)(function(){return!!d||!s||!c||(null==c?void 0:c.accessLevel)===o.ACCESS_LEVELS.WORKSPACE},[d,s,c]),m=(0,n.useMemo)(function(){return!!d||!s||!c||(null==c?void 0:c.isAdmin)===!0},[d,s,c]),f=(0,n.useMemo)(function(){return!d&&s&&c?(null==c?void 0:c.accessLevel)||o.ACCESS_LEVELS.RESOURCE:o.ACCESS_LEVELS.WORKSPACE},[d,s,c]),p=(0,n.useMemo)(function(){if(d){var e;return e={},(0,t._)(e,o.WORKSPACE_PERMISSION_KEYS.RESOURCES,o.RESOURCE_PERMISSION_LEVELS.ALL),(0,t._)(e,o.WORKSPACE_PERMISSION_KEYS.BILLING,o.PERMISSION_LEVELS.ADMIN),(0,t._)(e,o.WORKSPACE_PERMISSION_KEYS.SETTINGS,o.PERMISSION_LEVELS.ADMIN),(0,t._)(e,o.WORKSPACE_PERMISSION_KEYS.TEAM_MANAGEMENT,o.PERMISSION_LEVELS.ADMIN),(0,t._)(e,o.WORKSPACE_PERMISSION_KEYS.INTEGRATIONS,o.PERMISSION_LEVELS.ADMIN),e}return s&&c&&(null==c?void 0:c.workspacePermissions)||null},[d,s,c]),S=(0,n.useMemo)(function(){if(d)return!0;if(!v)return!1;var e=null==p?void 0:p[o.WORKSPACE_PERMISSION_KEYS.BILLING];return e===o.PERMISSION_LEVELS.ADMIN||e===o.PERMISSION_LEVELS.VIEWER},[d,v,m,p]),g=(0,n.useMemo)(function(){return!!d||!!v&&(null==p?void 0:p[o.WORKSPACE_PERMISSION_KEYS.BILLING])===o.PERMISSION_LEVELS.ADMIN},[d,v,m,p]),_=(0,n.useMemo)(function(){if(d)return!0;
1if(!v)return!1;var e=null==p?void 0:p[o.WORKSPACE_PERMISSION_KEYS.SETTINGS];return e===o.PERMISSION_LEVELS.ADMIN||e===o.PERMISSION_LEVELS.VIEWER},[d,v,m,p]),h=(0,n.useMemo)(function(){return!!d||!!v&&(null==p?void 0:p[o.WORKSPACE_PERMISSION_KEYS.SETTINGS])===o.PERMISSION_LEVELS.ADMIN},[d,v,m,p]),E=(0,n.useMemo)(function(){if(d)return!0;if(!v)return m;var e=null==p?void 0:p[o.WORKSPACE_PERMISSION_KEYS.TEAM_MANAGEMENT];return e===o.PERMISSION_LEVELS.ADMIN||e===o.PERMISSION_LEVELS.VIEWER},[d,v,m,p]),b=(0,n.useMemo)(function(){return!!d||(v?(null==p?void 0:p[o.WORKSPACE_PERMISSION_KEYS.TEAM_MANAGEMENT])===o.PERMISSION_LEVELS.ADMIN:m)},[d,v,m,p]),C=(0,n.useMemo)(function(){if(d)return!0;if(!v)return!1;var e=null==p?void 0:p[o.WORKSPACE_PERMISSION_KEYS.INTEGRATIONS];return e===o.PERMISSION_LEVELS.ADMIN||e===o.PERMISSION_LEVELS.VIEWER},[d,v,m,p]),I=(0,n.useMemo)(function(){return!!d||!!v&&(null==p?void 0:p[o.WORKSPACE_PERMISSION_KEYS.INTEGRATIONS])===o.PERMISSION_LEVELS.ADMIN},[d,v,m,p]),P=(0,n.useMemo)(function(){return!!d||(v?(null==p?void 0:p[o.WORKSPACE_PERMISSION_KEYS.RESOURCES])===o.RESOURCE_PERMISSION_LEVELS.ALL:m)},[d,v,m,p]),k=(0,n.useMemo)(function(){return!d&&!!v&&(null==p?void 0:p[o.WORKSPACE_PERMISSION_KEYS.RESOURCES])===o.RESOURCE_PERMISSION_LEVELS.READ},[d,v,p]),N=(0,n.useMemo)(function(){return!d&&!!v&&(null==p?void 0:p[o.WORKSPACE_PERMISSION_KEYS.RESOURCES])===o.RESOURCE_PERMISSION_LEVELS.NONE},[d,v,p]),R=(0,n.useMemo)(function(){return!!d||!s||!c||!!m||!!P||!v&&(null==c?void 0:c.hasCreatePermission)===!0&&(null==c?void 0:c.role)!=="guest"},[d,s,c,v,P,m]),M=(0,n.useMemo)(function(){return!!d||!s||!c||!!m||!!P||!v&&(null==c?void 0:c.hasCreatePermission)===!0&&(null==c?void 0:c.role)!=="guest"},[d,s,c,v,P,m]),L=function(e,t){if(d||!s||!c)return{canRead:!0,canWrite:!0,canDelete:!0};if(v){var n,r=null==p?void 0:p[o.WORKSPACE_PERMISSION_KEYS.RESOURCES];return r===o.RESOURCE_PERMISSION_LEVELS.ALL?{canRead:!0,canWrite:!0,canDelete:!0}:r===o.RESOURCE_PERMISSION_LEVELS.READ?{canRead:!0,canWrite:!1,canDelete:!1}:{canRead:!1,canWrite:!1,canDelete:!1}}var a=null==c||null==(n=c["".concat(e,"Permissions")])?void 0:n[t];return a?{canRead:!0,canWrite:!a.read_only,canDelete:!0===a.canDelete}:{canRead:!1,canWrite:!1,canDelete:!1}},y=(0,n.useCallback)(function(e,t){if(!(null==i?void 0:i.teamUUID)||d)return!0;var n=L(t,e);return null!=n&&!!n.canDelete||(null==n||!n.canRead)&&P},[null==i?void 0:i.teamUUID,d,L,P]);return{isOwner:d,isTeamAdmin:m,accessLevel:f,hasWorkspaceAccess:v,workspacePermissions:p,canViewBilling:S,canManageBilling:g,canViewSettings:_,canManageSettings:h,canViewTeam:E,canManageTeam:b,canViewIntegrations:C,canManageIntegrations:I,hasFullResourceAccess:P,hasReadOnlyResourceAccess:k,hasNoResourceAccess:N,canCreateResources:R,canModifyResources:M,hasDeleteAccessForThisResource:y,getResourceAccess:L}}])},208168,e=>{"use strict";var t=e.i(991865),n=e.i(120786),r=e.i(92808),o=e.i(651682),a=e.i(296137),i=e.i(271645);e.i(101967);var u=e.i(571836),l=e.i(611814);e.i(982285);var s=e.i(25258),c=e.i(771467),d=e.i(420461),v=e.i(60470),m=e.i(274466),f=e.i(884543),p=e.i(454747);e.s(["default",0,function(){var e=(0,u.useDispatch)(),S=(0,l.useSelector)(function(e){return e.UserReducer.activeWorkspace}),g=(0,f.default)().canViewBilling,_=(0,o._)((0,i.useState)({}),2),h=_[0],E=_[1],b=(0,i.useRef)(!1),C=(0,i.useCallback)(function(){return(0,t._)(function(){var t,o;return(0,a._)(this,function(a){switch(a.label){case 0:return a.trys.push([0,3,,4]),[4,e((0,d.getDeploymentQuotaPrice)())];case 1:return t=a.sent(),[4,e((0,v.getTeamSeatQuotaPrice)())];case 2:return o=a.sent(),E(function(e){var a,i;return(0,r._)((0,n._)({},e),{deploymentQuota:(null==t||null==(a=t.data)?void 0:a.price)||0,teamQuota:(null==o||null==(i=o.data)?void 0:i.price)||0})}),[3,4];case 3:return a.sent(),[3,4];case 4:return[2]}})})()},[e]),I=(0,i.useCallback)(function(){return(0,t._)(function(){return(0,a._)(this,function(t){switch(t.label){case 0:return[4,Promise.allSettled([e((0,s.fetchWorkspace)()),e((0,s.getUserActiveWorkspacePlans)()),e((0,c.getAppData)())])];case 1:if(t.sent(),!((null==S?void 0:S.teamUUID)&&g))return[3,3];return[4,e((0,m.getWalletBalance)())];case 2:t.sent(),t.label=3;case 3:return[2]}})})()},[e,null==S?void 0:S.teamUUID,g]),P=(0,i.useCallback)(function(){return(0,t._)(function(){return(0,a._)(this,function(t){switch(t.label){case 0:return[4,Promise.allSettled([e((0,s.fetchWorkspace)()),e((0,s.getUserActiveWorkspacePlans)()),e((0,c.getAppData)())])];case 1:return t.sent(),[2]}})})()},[e]);return(0,i.useEffect)(function(){b.current||(b.current=!0,C(),P())},[C,P]),(0,p.default)(I,3e4,!!(null==S?void 0:S.UUID),!1),{refreshUsageData:I,quotaPrice:h,setQuotaPrice:E,handleGetQuotaCost:C}}])},592053,891174,720273,e=>{"use strict";e.i(856119),e.i(898530),e.i(881418),e.i(8467),e.i(517064),e.i(822539),e.i(247893),e.i(127875),e.i(978877),e.i(874002),e.i(105858),e.i(383505),e.i(829578),e.i(372186),e.i(178794),e.i(791872),e.i(407309),e.i(591518),e.i(170058),e.i(72211),e.i(208168),e.i(771684),e.i(469670),e.i(195436),e.i(351735),e.i(454747),e.i(651682);var t=e.i(271645);e.i(317875);var n=e.i(991865),r=e.i(296137);e.s(["useServiceWorker",0,function(){(0,t.useEffect)(function(){if("serviceWorker"
1in navigator){var e,t=function(){return(0,n._)(function(){var t;return(0,r._)(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,navigator.serviceWorker.register("/sw.js",{scope:"/"})];case 1:return t=n.sent(),e=setInterval(function(){(t.active||t.installing||t.waiting)&&t.update().catch(function(){})},18e5),t.addEventListener("updatefound",function(){var e=t.installing;e&&e.addEventListener("statechange",function(){"installed"===e.state&&navigator.serviceWorker.controller&&e.postMessage({type:"SKIP_WAITING"})})}),[3,3];case 2:return console.warn("Service Worker registration failed:",n.sent()),[3,3];case 3:return[2]}})})()};return"complete"===document.readyState?t():window.addEventListener("load",t),function(){e&&clearInterval(e),window.removeEventListener("load",t)}}},[])}],891174),e.i(884543),e.i(101967);var o=e.i(571836),a=e.i(611814),i=e.i(381407);e.s(["default",0,function(){var e,n,r,u,l,s,c=(0,o.useDispatch)(),d=(0,a.useSelector)(function(e){return e.cloudShell}),v=null!=(e=null==d?void 0:d.isOpen)&&e,m=(null==d?void 0:d.viewMode)===i.CLOUD_SHELL_VIEW_MODES.MINIMIZED,f=null!=(n=null==d?void 0:d.isLaunched)&&n,p=null!=(r=null==d?void 0:d.viewMode)?r:i.CLOUD_SHELL_VIEW_MODES.FLOATING,S=null!=(u=null==d?void 0:d.connectionState)?u:"idle",g=null!=(l=null==d?void 0:d.config)?l:{},_=null!=(s=null==d?void 0:d.containerInfo)?s:{},h=(0,t.useCallback)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={};e.image&&(t.image=e.image),e.role&&(t.role=e.role),e.shareCode&&(t.shareCode=e.shareCode),e.command&&(t.initialCommand=e.command);var n=e.container||e.sandboxId||null;n?(t.container=n,t.autoLaunch=void 0===e.autoLaunch||!!e.autoLaunch):e.shareCode||(t.container=null,t.sessionId=null,t.autoLaunch=!1),void 0!==e.name&&(t.name=e.name||null),e.title&&(t.title=e.title),e.name&&!e.title&&n&&(t.title=e.name),c((0,i.openCloudShell)({viewMode:e.viewMode||i.CLOUD_SHELL_VIEW_MODES.FLOATING,config:Object.keys(t).length>0?t:void 0}))},[c]),E=(0,t.useCallback)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
1,t=e.sandboxId,n=e.id,r=e.image,o=e.role,a=e.name,i=e.viewMode,u=e.autoLaunch,l=t||n;l&&h({container:l,sandboxId:l,image:r,role:o,name:a,title:a||void 0,autoLaunch:void 0===u||u,viewMode:i})},[h]),b=(0,t.useCallback)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h({image:e.image,role:e.role,name:e.name,autoLaunch:!1,container:void 0})},[h]),C=(0,t.useCallback)(function(){c((0,i.closeCloudShell)())},[c]),I=(0,t.useCallback)(function(){c((0,i.minimizeCloudShell)())},[c]),P=(0,t.useCallback)(function(){c((0,i.restoreCloudShell)())},[c]),k=(0,t.useCallback)(function(){c((0,i.toggleMinimize)())},[c]),N=(0,t.useCallback)(function(){c((0,i.toggleFullscreen)())},[c]),R=(0,t.useCallback)(function(e){c((0,i.updateConfig)(e))},[c]);return(0,t.useMemo)(function(){return{isOpen:v,isMinimized:m,isLaunched:f,viewMode:p,connectionState:S,config:g,containerInfo:_,openCloudShell:h,openSandboxTerminal:E,createSandboxInShell:b,closeCloudShell:C,minimize:I,restore:P,toggle:k,fullscreen:N,setConfig:R}},[v,m,f,p,S,g,_,h,E,b,C,I,P,k,N,R])}],720273),e.i(342863),e.s([],592053)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.