From 388044ef72906447ceac63d85b9594e7177f868f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 12 Apr 2024 18:28:52 +0000 Subject: [PATCH] CI Build Artifacts --- assets/capi/capi-0.4.0.tgz | Bin 0 -> 1228 bytes assets/index.yaml | 23 ++- charts/capi/0.4.0/Chart.yaml | 17 ++ charts/capi/0.4.0/templates/_helpers.tpl | 52 +++++ charts/capi/0.4.0/templates/cr.yaml | 12 ++ charts/capi/0.4.0/values.yaml | 6 + extensions/capi/0.4.0/files.txt | 100 ++++++++++ .../capi/0.4.0/plugin/capi-0.4.0.umd.min.0.js | 2 + .../0.4.0/plugin/capi-0.4.0.umd.min.0.js.map | 1 + .../capi/0.4.0/plugin/capi-0.4.0.umd.min.5.js | 2 + .../0.4.0/plugin/capi-0.4.0.umd.min.5.js.map | 1 + .../capi/0.4.0/plugin/capi-0.4.0.umd.min.6.js | 2 + .../0.4.0/plugin/capi-0.4.0.umd.min.6.js.map | 1 + .../capi/0.4.0/plugin/capi-0.4.0.umd.min.7.js | 2 + .../0.4.0/plugin/capi-0.4.0.umd.min.7.js.map | 1 + .../capi/0.4.0/plugin/capi-0.4.0.umd.min.8.js | 2 + .../0.4.0/plugin/capi-0.4.0.umd.min.8.js.map | 1 + .../0.4.0/plugin/capi-0.4.0.umd.min.edit.js | 2 + .../plugin/capi-0.4.0.umd.min.edit.js.map | 1 + .../plugin/capi-0.4.0.umd.min.formatters.js | 2 + .../capi-0.4.0.umd.min.formatters.js.map | 1 + .../capi/0.4.0/plugin/capi-0.4.0.umd.min.js | 16 ++ .../0.4.0/plugin/capi-0.4.0.umd.min.js.map | 1 + .../plugin/capi-0.4.0.umd.min.vendors~edit.js | 87 +++++++++ .../capi-0.4.0.umd.min.vendors~edit.js.map | 1 + .../plugin/img/aliyun-black.b576ca7f.svg | 14 ++ .../capi/0.4.0/plugin/img/aliyun.05625b68.svg | 17 ++ .../plugin/img/aliyunecs-black.47c0410f.svg | 13 ++ .../0.4.0/plugin/img/aliyunecs.d971267d.svg | 21 ++ .../plugin/img/amazonec2-black.d1821012.svg | 8 + .../0.4.0/plugin/img/amazonec2.1aa39ab0.svg | 19 ++ .../plugin/img/amazoneks-black.a84e95fa.svg | 10 + .../0.4.0/plugin/img/amazoneks.08036fe5.svg | 14 ++ .../capi/0.4.0/plugin/img/aws.259e1339.svg | 38 ++++ .../0.4.0/plugin/img/azure-black.5f0d4c16.svg | 29 +++ .../capi/0.4.0/plugin/img/azure.eb8fe01e.svg | 32 +++ .../plugin/img/azuread-black.df47a4be.svg | 22 +++ .../0.4.0/plugin/img/azuread.89d0693d.svg | 25 +++ .../plugin/img/azureaks-black.c476b248.svg | 28 +++ .../0.4.0/plugin/img/azureaks.f30a4ee5.svg | 31 +++ .../0.4.0/plugin/img/baidu-black.fbfb0a3d.svg | 19 ++ .../capi/0.4.0/plugin/img/baidu.59230de0.svg | 25 +++ .../plugin/img/cloudca-black.e617e95a.svg | 45 +++++ .../0.4.0/plugin/img/cloudca.1095d0cc.svg | 49 +++++ .../plugin/img/cloudscale-black.05c818ff.svg | 24 +++ .../0.4.0/plugin/img/cloudscale.15af4521.svg | 28 +++ .../capi/0.4.0/plugin/img/custom.73e585f1.svg | 85 ++++++++ .../img/digitalocean-black.c7b0f38c.svg | 21 ++ .../plugin/img/digitalocean.acdee7f1.svg | 24 +++ .../capi/0.4.0/plugin/img/docker.c06657b9.svg | 1 + .../plugin/img/equinix-black.74a27b4d.svg | 13 ++ .../0.4.0/plugin/img/equinix.439fbbbe.svg | 13 ++ .../0.4.0/plugin/img/exoscale.7a312d6d.svg | 1 + .../capi/0.4.0/plugin/img/gcp.92c9d851.svg | 6 + .../plugin/img/generic-catalog.99bdaecf.svg | 15 ++ .../plugin/img/generic-driver.58cd1dcb.svg | 17 ++ .../0.4.0/plugin/img/gke-black.270042cf.svg | 10 + .../capi/0.4.0/plugin/img/gke.deaff14c.svg | 28 +++ .../capi/0.4.0/plugin/img/google.778e7144.svg | 29 +++ .../plugin/img/googlegke-black.270042cf.svg | 10 + .../0.4.0/plugin/img/googlegke.deaff14c.svg | 28 +++ .../0.4.0/plugin/img/harvester.b14e570b.svg | 1 + .../plugin/img/huaweicce-black.39ee46f2.svg | 109 +++++++++++ .../0.4.0/plugin/img/huaweicce.4fb3a929.svg | 184 ++++++++++++++++++ .../capi/0.4.0/plugin/img/import.2e2e359c.svg | 99 ++++++++++ .../0.4.0/plugin/img/k3s-black.d52e5687.svg | 10 + .../capi/0.4.0/plugin/img/k3s.01e2b406.svg | 15 ++ .../plugin/img/kubernetes-black.3e32c1a8.svg | 37 ++++ .../0.4.0/plugin/img/kubernetes.2e2e359c.svg | 99 ++++++++++ .../capi/0.4.0/plugin/img/linode.72ae9a55.svg | 54 +++++ .../plugin/img/linodelke-black.058df1a0.svg | 40 ++++ .../0.4.0/plugin/img/linodelke.72ae9a55.svg | 54 +++++ .../plugin/img/local-cluster.c77b2023.svg | 20 ++ .../plugin/img/minikube-black.b739e7a9.svg | 25 +++ .../0.4.0/plugin/img/minikube.b39dc584.svg | 36 ++++ .../0.4.0/plugin/img/nutanix.87666923.svg | 1 + .../0.4.0/plugin/img/oci-black.f960feb5.svg | 41 ++++ .../capi/0.4.0/plugin/img/oci.8b52fe45.svg | 44 +++++ .../plugin/img/openstack-black.46740f63.svg | 16 ++ .../0.4.0/plugin/img/openstack.638b1003.svg | 20 ++ .../capi/0.4.0/plugin/img/oracle.8219cfb5.svg | 66 +++++++ .../plugin/img/oracleoke-black.aaa9e8cf.svg | 51 +++++ .../0.4.0/plugin/img/oracleoke.ddaa8a0e.svg | 55 ++++++ .../0.4.0/plugin/img/otc-black.007c6157.svg | 15 ++ .../capi/0.4.0/plugin/img/otc.d7330474.svg | 33 ++++ .../capi/0.4.0/plugin/img/otccce.d7330474.svg | 33 ++++ .../0.4.0/plugin/img/outscale.97c433a9.svg | 19 ++ .../0.4.0/plugin/img/ovhcloudmks.ccb13957.svg | 122 ++++++++++++ .../img/ovhcloudpubliccloud.ccb13957.svg | 122 ++++++++++++ .../plugin/img/packet-black.cdd96d23.svg | 15 ++ .../capi/0.4.0/plugin/img/packet.5fce6e98.svg | 16 ++ .../img/pinganyunecs-black.2ff2c7d9.svg | 26 +++ .../plugin/img/pinganyunecs.e75d4c8a.svg | 26 +++ .../0.4.0/plugin/img/pnap-black.1b1773d7.svg | 43 ++++ .../capi/0.4.0/plugin/img/pnap.0cb6fe69.svg | 48 +++++ .../plugin/img/rackspace-black.b5378844.svg | 14 ++ .../0.4.0/plugin/img/rackspace.6f98715f.svg | 18 ++ .../capi/0.4.0/plugin/img/rke.d10540bf.svg | 26 +++ .../capi/0.4.0/plugin/img/rke2.d10540bf.svg | 26 +++ .../0.4.0/plugin/img/softlayer.d474be09.svg | 27 +++ .../plugin/img/tencenttke-black.58828585.svg | 22 +++ .../0.4.0/plugin/img/tencenttke.0b34fe07.svg | 39 ++++ .../img/vmwarevsphere-black.2f9d3f1d.svg | 60 ++++++ .../plugin/img/vmwarevsphere.32594541.svg | 51 +++++ .../plugin/img/vsphere-black.2f9d3f1d.svg | 60 ++++++ .../0.4.0/plugin/img/vsphere.32594541.svg | 51 +++++ extensions/capi/0.4.0/plugin/package.json | 19 ++ index.yaml | 23 ++- 108 files changed, 3177 insertions(+), 2 deletions(-) create mode 100644 assets/capi/capi-0.4.0.tgz create mode 100644 charts/capi/0.4.0/Chart.yaml create mode 100644 charts/capi/0.4.0/templates/_helpers.tpl create mode 100644 charts/capi/0.4.0/templates/cr.yaml create mode 100644 charts/capi/0.4.0/values.yaml create mode 100644 extensions/capi/0.4.0/files.txt create mode 100644 extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.0.js create mode 100644 extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.0.js.map create mode 100644 extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.5.js create mode 100644 extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.5.js.map create mode 100644 extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.6.js create mode 100644 extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.6.js.map create mode 100644 extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.7.js create mode 100644 extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.7.js.map create mode 100644 extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.8.js create mode 100644 extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.8.js.map create mode 100644 extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.edit.js create mode 100644 extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.edit.js.map create mode 100644 extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.formatters.js create mode 100644 extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.formatters.js.map create mode 100644 extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.js create mode 100644 extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.js.map create mode 100644 extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.vendors~edit.js create mode 100644 extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.vendors~edit.js.map create mode 100644 extensions/capi/0.4.0/plugin/img/aliyun-black.b576ca7f.svg create mode 100644 extensions/capi/0.4.0/plugin/img/aliyun.05625b68.svg create mode 100644 extensions/capi/0.4.0/plugin/img/aliyunecs-black.47c0410f.svg create mode 100644 extensions/capi/0.4.0/plugin/img/aliyunecs.d971267d.svg create mode 100644 extensions/capi/0.4.0/plugin/img/amazonec2-black.d1821012.svg create mode 100644 extensions/capi/0.4.0/plugin/img/amazonec2.1aa39ab0.svg create mode 100644 extensions/capi/0.4.0/plugin/img/amazoneks-black.a84e95fa.svg create mode 100644 extensions/capi/0.4.0/plugin/img/amazoneks.08036fe5.svg create mode 100644 extensions/capi/0.4.0/plugin/img/aws.259e1339.svg create mode 100644 extensions/capi/0.4.0/plugin/img/azure-black.5f0d4c16.svg create mode 100644 extensions/capi/0.4.0/plugin/img/azure.eb8fe01e.svg create mode 100644 extensions/capi/0.4.0/plugin/img/azuread-black.df47a4be.svg create mode 100644 extensions/capi/0.4.0/plugin/img/azuread.89d0693d.svg create mode 100644 extensions/capi/0.4.0/plugin/img/azureaks-black.c476b248.svg create mode 100644 extensions/capi/0.4.0/plugin/img/azureaks.f30a4ee5.svg create mode 100644 extensions/capi/0.4.0/plugin/img/baidu-black.fbfb0a3d.svg create mode 100644 extensions/capi/0.4.0/plugin/img/baidu.59230de0.svg create mode 100644 extensions/capi/0.4.0/plugin/img/cloudca-black.e617e95a.svg create mode 100644 extensions/capi/0.4.0/plugin/img/cloudca.1095d0cc.svg create mode 100644 extensions/capi/0.4.0/plugin/img/cloudscale-black.05c818ff.svg create mode 100644 extensions/capi/0.4.0/plugin/img/cloudscale.15af4521.svg create mode 100644 extensions/capi/0.4.0/plugin/img/custom.73e585f1.svg create mode 100644 extensions/capi/0.4.0/plugin/img/digitalocean-black.c7b0f38c.svg create mode 100644 extensions/capi/0.4.0/plugin/img/digitalocean.acdee7f1.svg create mode 100644 extensions/capi/0.4.0/plugin/img/docker.c06657b9.svg create mode 100644 extensions/capi/0.4.0/plugin/img/equinix-black.74a27b4d.svg create mode 100644 extensions/capi/0.4.0/plugin/img/equinix.439fbbbe.svg create mode 100644 extensions/capi/0.4.0/plugin/img/exoscale.7a312d6d.svg create mode 100644 extensions/capi/0.4.0/plugin/img/gcp.92c9d851.svg create mode 100644 extensions/capi/0.4.0/plugin/img/generic-catalog.99bdaecf.svg create mode 100644 extensions/capi/0.4.0/plugin/img/generic-driver.58cd1dcb.svg create mode 100644 extensions/capi/0.4.0/plugin/img/gke-black.270042cf.svg create mode 100644 extensions/capi/0.4.0/plugin/img/gke.deaff14c.svg create mode 100644 extensions/capi/0.4.0/plugin/img/google.778e7144.svg create mode 100644 extensions/capi/0.4.0/plugin/img/googlegke-black.270042cf.svg create mode 100644 extensions/capi/0.4.0/plugin/img/googlegke.deaff14c.svg create mode 100644 extensions/capi/0.4.0/plugin/img/harvester.b14e570b.svg create mode 100644 extensions/capi/0.4.0/plugin/img/huaweicce-black.39ee46f2.svg create mode 100644 extensions/capi/0.4.0/plugin/img/huaweicce.4fb3a929.svg create mode 100644 extensions/capi/0.4.0/plugin/img/import.2e2e359c.svg create mode 100644 extensions/capi/0.4.0/plugin/img/k3s-black.d52e5687.svg create mode 100644 extensions/capi/0.4.0/plugin/img/k3s.01e2b406.svg create mode 100644 extensions/capi/0.4.0/plugin/img/kubernetes-black.3e32c1a8.svg create mode 100644 extensions/capi/0.4.0/plugin/img/kubernetes.2e2e359c.svg create mode 100644 extensions/capi/0.4.0/plugin/img/linode.72ae9a55.svg create mode 100644 extensions/capi/0.4.0/plugin/img/linodelke-black.058df1a0.svg create mode 100644 extensions/capi/0.4.0/plugin/img/linodelke.72ae9a55.svg create mode 100644 extensions/capi/0.4.0/plugin/img/local-cluster.c77b2023.svg create mode 100644 extensions/capi/0.4.0/plugin/img/minikube-black.b739e7a9.svg create mode 100644 extensions/capi/0.4.0/plugin/img/minikube.b39dc584.svg create mode 100644 extensions/capi/0.4.0/plugin/img/nutanix.87666923.svg create mode 100644 extensions/capi/0.4.0/plugin/img/oci-black.f960feb5.svg create mode 100644 extensions/capi/0.4.0/plugin/img/oci.8b52fe45.svg create mode 100644 extensions/capi/0.4.0/plugin/img/openstack-black.46740f63.svg create mode 100644 extensions/capi/0.4.0/plugin/img/openstack.638b1003.svg create mode 100644 extensions/capi/0.4.0/plugin/img/oracle.8219cfb5.svg create mode 100644 extensions/capi/0.4.0/plugin/img/oracleoke-black.aaa9e8cf.svg create mode 100644 extensions/capi/0.4.0/plugin/img/oracleoke.ddaa8a0e.svg create mode 100644 extensions/capi/0.4.0/plugin/img/otc-black.007c6157.svg create mode 100644 extensions/capi/0.4.0/plugin/img/otc.d7330474.svg create mode 100644 extensions/capi/0.4.0/plugin/img/otccce.d7330474.svg create mode 100644 extensions/capi/0.4.0/plugin/img/outscale.97c433a9.svg create mode 100644 extensions/capi/0.4.0/plugin/img/ovhcloudmks.ccb13957.svg create mode 100644 extensions/capi/0.4.0/plugin/img/ovhcloudpubliccloud.ccb13957.svg create mode 100644 extensions/capi/0.4.0/plugin/img/packet-black.cdd96d23.svg create mode 100644 extensions/capi/0.4.0/plugin/img/packet.5fce6e98.svg create mode 100644 extensions/capi/0.4.0/plugin/img/pinganyunecs-black.2ff2c7d9.svg create mode 100644 extensions/capi/0.4.0/plugin/img/pinganyunecs.e75d4c8a.svg create mode 100644 extensions/capi/0.4.0/plugin/img/pnap-black.1b1773d7.svg create mode 100644 extensions/capi/0.4.0/plugin/img/pnap.0cb6fe69.svg create mode 100644 extensions/capi/0.4.0/plugin/img/rackspace-black.b5378844.svg create mode 100644 extensions/capi/0.4.0/plugin/img/rackspace.6f98715f.svg create mode 100644 extensions/capi/0.4.0/plugin/img/rke.d10540bf.svg create mode 100644 extensions/capi/0.4.0/plugin/img/rke2.d10540bf.svg create mode 100644 extensions/capi/0.4.0/plugin/img/softlayer.d474be09.svg create mode 100644 extensions/capi/0.4.0/plugin/img/tencenttke-black.58828585.svg create mode 100644 extensions/capi/0.4.0/plugin/img/tencenttke.0b34fe07.svg create mode 100644 extensions/capi/0.4.0/plugin/img/vmwarevsphere-black.2f9d3f1d.svg create mode 100644 extensions/capi/0.4.0/plugin/img/vmwarevsphere.32594541.svg create mode 100644 extensions/capi/0.4.0/plugin/img/vsphere-black.2f9d3f1d.svg create mode 100644 extensions/capi/0.4.0/plugin/img/vsphere.32594541.svg create mode 100644 extensions/capi/0.4.0/plugin/package.json diff --git a/assets/capi/capi-0.4.0.tgz b/assets/capi/capi-0.4.0.tgz new file mode 100644 index 0000000000000000000000000000000000000000..8d9ef3272c6d0edd9e5d6f09624371322ab0352b GIT binary patch literal 1228 zcmV;-1T*^|iwG0|00000|0w_~VMtOiV@ORlOnEsqVl!4SWK%V1T2nbTPgYhoO;>Dc zVQyr3R8em|NM&qo0PI-bZ`-yL&$IrDgYYf-<2%ukdX_}_f$;AJr zY1;qIvUGfsO{VE|{A@aTHa$tRaW>9QAiWbbJ!y=k`Xv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lsc`1x(U*`HmjyqESS?Y*quwoO=U~~~g~G(7R~tWmOkQa|=aPzz zeUyc&xwJVftW_o-jWoR^b8Z*StTCwF?FpqNtgbfii6fV>NyC#4|7gBQ6rH0PbzR15 qjlu(+cYjlmyP)r*Y(E{j|0qW}%2EDP@@D`50RR7JJfE8Y9smH+lVAn_ literal 0 HcmV?d00001 diff --git a/assets/index.yaml b/assets/index.yaml index 73d8309..d403576 100644 --- a/assets/index.yaml +++ b/assets/index.yaml @@ -1,6 +1,27 @@ apiVersion: v1 entries: capi: + - annotations: + catalog.cattle.io/certified: rancher + catalog.cattle.io/display-name: CAPI UI + catalog.cattle.io/experimental: "true" + catalog.cattle.io/kube-version: '>= 1.16.0-0 < 1.29.0-0' + catalog.cattle.io/namespace: cattle-ui-plugin-system + catalog.cattle.io/os: linux + catalog.cattle.io/permits-os: linux, windows + catalog.cattle.io/rancher-version: '>= v2.8.0' + catalog.cattle.io/scope: management + catalog.cattle.io/ui-component: plugins + apiVersion: v2 + appVersion: 0.4.0 + created: "2024-04-12T18:28:13.972374067Z" + description: UI for CAPI cluster provisioning + digest: 71269ba94817a18a3ba3f4a589716bdbe2d9174779152449864ddd58bf4f3ad7 + name: capi + type: application + urls: + - assets/capi/capi-0.4.0.tgz + version: 0.4.0 - annotations: catalog.cattle.io/certified: rancher catalog.cattle.io/display-name: CAPI UI @@ -80,4 +101,4 @@ entries: urls: - assets/capi/capi-0.1.0.tgz version: 0.1.0 -generated: "2024-03-14T22:51:54.105437414Z" +generated: "2024-04-12T18:28:13.972015997Z" diff --git a/charts/capi/0.4.0/Chart.yaml b/charts/capi/0.4.0/Chart.yaml new file mode 100644 index 0000000..f232732 --- /dev/null +++ b/charts/capi/0.4.0/Chart.yaml @@ -0,0 +1,17 @@ +annotations: + catalog.cattle.io/certified: rancher + catalog.cattle.io/kube-version: '>= 1.16.0-0 < 1.29.0-0' + catalog.cattle.io/namespace: cattle-ui-plugin-system + catalog.cattle.io/os: linux + catalog.cattle.io/permits-os: linux, windows + catalog.cattle.io/rancher-version: '>= v2.8.0' + catalog.cattle.io/scope: management + catalog.cattle.io/ui-component: plugins + catalog.cattle.io/display-name: CAPI UI + catalog.cattle.io/experimental: 'true' +apiVersion: v2 +appVersion: 0.4.0 +description: UI for CAPI cluster provisioning +name: capi +type: application +version: 0.4.0 diff --git a/charts/capi/0.4.0/templates/_helpers.tpl b/charts/capi/0.4.0/templates/_helpers.tpl new file mode 100644 index 0000000..bd2ec19 --- /dev/null +++ b/charts/capi/0.4.0/templates/_helpers.tpl @@ -0,0 +1,52 @@ +{{/* +Expand the name of the chart. +*/}} +{{- define "extension-server.name" -}} +{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Create a default fully qualified app name. +We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). +If release name contains chart name it will be used as a full name. +*/}} +{{- define "extension-server.fullname" -}} +{{- if .Values.fullnameOverride }} +{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} +{{- else }} +{{- $name := default .Chart.Name .Values.nameOverride }} +{{- if contains $name .Release.Name }} +{{- .Release.Name | trunc 63 | trimSuffix "-" }} +{{- else }} +{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} +{{- end }} +{{- end }} +{{- end }} + + +{{/* +Create chart name and version as used by the chart label. +*/}} +{{- define "extension-server.chart" -}} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Common labels +*/}} +{{- define "extension-server.labels" -}} +helm.sh/chart: {{ include "extension-server.chart" . }} +{{ include "extension-server.selectorLabels" . }} +{{- if .Chart.AppVersion }} +app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} +{{- end }} +app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- end }} + +{{/* +Selector labels +*/}} +{{- define "extension-server.selectorLabels" -}} +app.kubernetes.io/name: {{ include "extension-server.name" . }} +app.kubernetes.io/instance: {{ .Release.Name }} +{{- end }} diff --git a/charts/capi/0.4.0/templates/cr.yaml b/charts/capi/0.4.0/templates/cr.yaml new file mode 100644 index 0000000..0d18e2b --- /dev/null +++ b/charts/capi/0.4.0/templates/cr.yaml @@ -0,0 +1,12 @@ +apiVersion: catalog.cattle.io/v1 +kind: UIPlugin +metadata: + name: {{ include "extension-server.fullname" . }} + namespace: {{ .Release.Namespace }} + labels: {{ include "extension-server.labels" . | nindent 4 }} +spec: + plugin: + name: {{ include "extension-server.fullname" . }} + version: {{ (semver (default .Chart.AppVersion .Values.plugin.versionOverride)).Original }} + endpoint: https://raw.githubusercontent.com/rancher/capi-ui-extension/gh-pages/extensions/capi/0.4.0 + noCache: {{ .Values.plugin.noCache }} diff --git a/charts/capi/0.4.0/values.yaml b/charts/capi/0.4.0/values.yaml new file mode 100644 index 0000000..9cc1bd5 --- /dev/null +++ b/charts/capi/0.4.0/values.yaml @@ -0,0 +1,6 @@ +nameOverride: "" +fullnameOverride: "" +plugin: + enabled: true + versionOverride: "" + noCache: false diff --git a/extensions/capi/0.4.0/files.txt b/extensions/capi/0.4.0/files.txt new file mode 100644 index 0000000..1d1f80a --- /dev/null +++ b/extensions/capi/0.4.0/files.txt @@ -0,0 +1,100 @@ +plugin/capi-0.4.0.umd.min.0.js +plugin/capi-0.4.0.umd.min.0.js.map +plugin/capi-0.4.0.umd.min.5.js +plugin/capi-0.4.0.umd.min.5.js.map +plugin/capi-0.4.0.umd.min.6.js +plugin/capi-0.4.0.umd.min.6.js.map +plugin/capi-0.4.0.umd.min.7.js +plugin/capi-0.4.0.umd.min.7.js.map +plugin/capi-0.4.0.umd.min.8.js +plugin/capi-0.4.0.umd.min.8.js.map +plugin/capi-0.4.0.umd.min.edit.js +plugin/capi-0.4.0.umd.min.edit.js.map +plugin/capi-0.4.0.umd.min.formatters.js +plugin/capi-0.4.0.umd.min.formatters.js.map +plugin/capi-0.4.0.umd.min.js +plugin/capi-0.4.0.umd.min.js.map +plugin/capi-0.4.0.umd.min.vendors~edit.js +plugin/capi-0.4.0.umd.min.vendors~edit.js.map +plugin/img/aliyun-black.b576ca7f.svg +plugin/img/aliyun.05625b68.svg +plugin/img/aliyunecs-black.47c0410f.svg +plugin/img/aliyunecs.d971267d.svg +plugin/img/amazonec2-black.d1821012.svg +plugin/img/amazonec2.1aa39ab0.svg +plugin/img/amazoneks-black.a84e95fa.svg +plugin/img/amazoneks.08036fe5.svg +plugin/img/aws.259e1339.svg +plugin/img/azure-black.5f0d4c16.svg +plugin/img/azure.eb8fe01e.svg +plugin/img/azuread-black.df47a4be.svg +plugin/img/azuread.89d0693d.svg +plugin/img/azureaks-black.c476b248.svg +plugin/img/azureaks.f30a4ee5.svg +plugin/img/baidu-black.fbfb0a3d.svg +plugin/img/baidu.59230de0.svg +plugin/img/cloudca-black.e617e95a.svg +plugin/img/cloudca.1095d0cc.svg +plugin/img/cloudscale-black.05c818ff.svg +plugin/img/cloudscale.15af4521.svg +plugin/img/custom.73e585f1.svg +plugin/img/digitalocean-black.c7b0f38c.svg +plugin/img/digitalocean.acdee7f1.svg +plugin/img/docker.c06657b9.svg +plugin/img/equinix-black.74a27b4d.svg +plugin/img/equinix.439fbbbe.svg +plugin/img/exoscale.7a312d6d.svg +plugin/img/gcp.92c9d851.svg +plugin/img/generic-catalog.99bdaecf.svg +plugin/img/generic-driver.58cd1dcb.svg +plugin/img/gke-black.270042cf.svg +plugin/img/gke.deaff14c.svg +plugin/img/google.778e7144.svg +plugin/img/googlegke-black.270042cf.svg +plugin/img/googlegke.deaff14c.svg +plugin/img/harvester.b14e570b.svg +plugin/img/huaweicce-black.39ee46f2.svg +plugin/img/huaweicce.4fb3a929.svg +plugin/img/import.2e2e359c.svg +plugin/img/k3s-black.d52e5687.svg +plugin/img/k3s.01e2b406.svg +plugin/img/kubernetes-black.3e32c1a8.svg +plugin/img/kubernetes.2e2e359c.svg +plugin/img/linode.72ae9a55.svg +plugin/img/linodelke-black.058df1a0.svg +plugin/img/linodelke.72ae9a55.svg +plugin/img/local-cluster.c77b2023.svg +plugin/img/minikube-black.b739e7a9.svg +plugin/img/minikube.b39dc584.svg +plugin/img/nutanix.87666923.svg +plugin/img/oci-black.f960feb5.svg +plugin/img/oci.8b52fe45.svg +plugin/img/openstack-black.46740f63.svg +plugin/img/openstack.638b1003.svg +plugin/img/oracle.8219cfb5.svg +plugin/img/oracleoke-black.aaa9e8cf.svg +plugin/img/oracleoke.ddaa8a0e.svg +plugin/img/otc-black.007c6157.svg +plugin/img/otc.d7330474.svg +plugin/img/otccce.d7330474.svg +plugin/img/outscale.97c433a9.svg +plugin/img/ovhcloudmks.ccb13957.svg +plugin/img/ovhcloudpubliccloud.ccb13957.svg +plugin/img/packet-black.cdd96d23.svg +plugin/img/packet.5fce6e98.svg +plugin/img/pinganyunecs-black.2ff2c7d9.svg +plugin/img/pinganyunecs.e75d4c8a.svg +plugin/img/pnap-black.1b1773d7.svg +plugin/img/pnap.0cb6fe69.svg +plugin/img/rackspace-black.b5378844.svg +plugin/img/rackspace.6f98715f.svg +plugin/img/rke.d10540bf.svg +plugin/img/rke2.d10540bf.svg +plugin/img/softlayer.d474be09.svg +plugin/img/tencenttke-black.58828585.svg +plugin/img/tencenttke.0b34fe07.svg +plugin/img/vmwarevsphere-black.2f9d3f1d.svg +plugin/img/vmwarevsphere.32594541.svg +plugin/img/vsphere-black.2f9d3f1d.svg +plugin/img/vsphere.32594541.svg +plugin/package.json diff --git a/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.0.js b/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.0.js new file mode 100644 index 0000000..4c3536b --- /dev/null +++ b/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.0.js @@ -0,0 +1,2 @@ +(("undefined"!==typeof self?self:this)["webpackJsonpcapi_0_4_0"]=("undefined"!==typeof self?self:this)["webpackJsonpcapi_0_4_0"]||[]).push([[0],{"46c7":function(e,n,a){"use strict";a.r(n);var t=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("Banner",{attrs:{color:"warning","label-key":"capi.experimental"}})},l=[],s=a("8bbf"),r=a.n(s),i=a("eb32"),p=r.a.extend({name:"ExperimentalWarningBanner",components:{Banner:i["a"]}}),f=p,c=a("d802"),o=Object(c["a"])(f,t,l,!1,null,null,null);n["default"]=o.exports}}]); +//# sourceMappingURL=capi-0.4.0.umd.min.0.js.map \ No newline at end of file diff --git a/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.0.js.map b/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.0.js.map new file mode 100644 index 0000000..2edb6ae --- /dev/null +++ b/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.0.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack://capi-0.4.0/./components/ExperimentalBanner.vue","webpack://capi-0.4.0/./components/ExperimentalBanner.vue?d6b2","webpack://capi-0.4.0/./components/ExperimentalBanner.vue?96a8","webpack://capi-0.4.0/./components/ExperimentalBanner.vue?f39c"],"names":["render","_vm","this","_c","_self","_setupProxy","attrs","staticRenderFns","Vue","extend","name","components","Banner","component"],"mappings":"4LAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,SAAS,CAACG,MAAM,CAAC,MAAQ,UAAU,YAAY,wBAE9IC,EAAkB,G,iCCEPC,MAAIC,OAAO,CACxBC,KAAM,4BAENC,WAAY,CAAEC,iBCP6a,I,YCOzbC,EAAY,eACd,EACAb,EACAO,GACA,EACA,KACA,KACA,MAIa,aAAAM,E","file":"capi-0.4.0.umd.min.0.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('Banner',{attrs:{\"color\":\"warning\",\"label-key\":\"capi.experimental\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport Vue from 'vue';\nimport Banner from '@components/Banner/Banner.vue';\n\nexport default Vue.extend({\n name: 'ExperimentalWarningBanner',\n\n components: { Banner },\n\n});\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ExperimentalBanner.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ExperimentalBanner.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ExperimentalBanner.vue?vue&type=template&id=7db387dc&\"\nimport script from \"./ExperimentalBanner.vue?vue&type=script&lang=ts&\"\nexport * from \"./ExperimentalBanner.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file diff --git a/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.5.js b/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.5.js new file mode 100644 index 0000000..2cd276e --- /dev/null +++ b/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.5.js @@ -0,0 +1,2 @@ +(("undefined"!==typeof self?self:this)["webpackJsonpcapi_0_4_0"]=("undefined"!==typeof self?self:this)["webpackJsonpcapi_0_4_0"]||[]).push([[5],{"64c9":function(e,t,a){"use strict";a.r(t);var l=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",[t("Checkbox",{attrs:{value:e.capiLabel,"label-key":"capi.autoImport.checkbox.label"},on:{input:e.toggleCapiLabel}},[t("br"),e._v(" "+e._s({...e.resource})+" ")])],1)},s=[],r=a("8bbf"),o=a.n(r),u=a("1032"),i=a("7e89"),n=o.a.extend({name:"CAPIAutoImportConfiguration",components:{Checkbox:u["a"]},props:{resource:{type:Object,required:!0},mode:{type:String,default:"create"}},methods:{toggleCapiLabel(e){e?this.$set(this.resource.metadata.labels,i["d"].AUTO_IMPORT,"true"):delete this.resource.metadata.labels[i["d"].AUTO_IMPORT]}},computed:{capiLabel(){var e;return"true"===(null===(e=this.resource)||void 0===e||null===(e=e.metadata.labels)||void 0===e?void 0:e[i["d"].AUTO_IMPORT])},labels(){return this.resource.labels}}}),c=n,p=a("d802"),d=Object(p["a"])(c,l,s,!1,null,null,null);t["default"]=d.exports}}]); +//# sourceMappingURL=capi-0.4.0.umd.min.5.js.map \ No newline at end of file diff --git a/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.5.js.map b/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.5.js.map new file mode 100644 index 0000000..9bb1ce4 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.5.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack://capi-0.4.0/./components/AutoImport.vue","webpack://capi-0.4.0/components/AutoImport.vue","webpack://capi-0.4.0/./components/AutoImport.vue?0138","webpack://capi-0.4.0/./components/AutoImport.vue?320f"],"names":["render","_vm","this","_c","_self","_setupProxy","attrs","capiLabel","on","toggleCapiLabel","_v","_s","resource","staticRenderFns","Vue","extend","name","components","Checkbox","props","type","Object","required","mode","String","default","methods","e","$set","metadata","labels","LABELS","AUTO_IMPORT","computed","_this$resource","component"],"mappings":"4LAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACA,EAAG,WAAW,CAACG,MAAM,CAAC,MAAQL,EAAIM,UAAU,YAAY,kCAAkCC,GAAG,CAAC,MAAQP,EAAIQ,kBAAkB,CAACN,EAAG,MAAMF,EAAIS,GAAG,IAAIT,EAAIU,GAAG,IAAIV,EAAIW,WAAW,QAAQ,IAEzRC,EAAkB,G,6CCGtBC,MAAAC,OAAA,CACAC,KAAA,8BAEAC,WAAA,CAAAC,iBAEAC,MAAA,CAEAP,SAAA,CACAQ,KAAAC,OACAC,UAAA,GAGAC,KAAA,CACAH,KAAAI,OACAC,QAAA,WAIAC,QAAA,CACAjB,gBAAAkB,GACAA,EACA,KAAAC,KAAA,KAAAhB,SAAAiB,SAAAC,OAAAC,OAAAC,YAAA,eAEA,KAAApB,SAAAiB,SAAAC,OAAAC,OAAAC,eAKAC,SAAA,CACA1B,YAAA,IAAA2B,EACA,wBAAAA,EAAA,KAAAtB,gBAAA,IAAAsB,GAAA,QAAAA,IAAAL,SAAAC,cAAA,IAAAI,OAAA,EAAAA,EAAAH,OAAAC,eAEAF,SACA,YAAAlB,SAAAkB,WCtCiY,I,YCO7XK,EAAY,eACd,EACAnC,EACAa,GACA,EACA,KACA,KACA,MAIa,aAAAsB,E","file":"capi-0.4.0.umd.min.5.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('Checkbox',{attrs:{\"value\":_vm.capiLabel,\"label-key\":\"capi.autoImport.checkbox.label\"},on:{\"input\":_vm.toggleCapiLabel}},[_c('br'),_vm._v(\" \"+_vm._s({..._vm.resource})+\" \")])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./AutoImport.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./AutoImport.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AutoImport.vue?vue&type=template&id=ea5d47f6&\"\nimport script from \"./AutoImport.vue?vue&type=script&lang=js&\"\nexport * from \"./AutoImport.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file diff --git a/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.6.js b/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.6.js new file mode 100644 index 0000000..848c0e0 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.6.js @@ -0,0 +1,2 @@ +(("undefined"!==typeof self?self:this)["webpackJsonpcapi_0_4_0"]=("undefined"!==typeof self?self:this)["webpackJsonpcapi_0_4_0"]||[]).push([[6],{deec:function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e._self._c;return e.showWarning?t("Banner",{attrs:{color:"warning","label-key":"capi.warnings.embeddedFeatureFlag"}}):e._e()},n=[],r=a("907c"),l=a("eb32"),i=a("7e89"),c={name:"ClusterListCAPIWarning",components:{Banner:l["a"]},async fetch(){this.$store.getters["management/schemaFor"](r["l"].FEATURE)&&await this.$store.dispatch("management/findAll",{type:r["l"].FEATURE})},computed:{capiFeatureDisabled(){var e;const t=this.$store.getters["management/byId"](r["l"].FEATURE,"embedded-cluster-api");return t&&!(null!==t&&void 0!==t&&null!==(e=t.spec)&&void 0!==e&&e.value)},hasClusterClassSchema(){return!!this.$store.getters["management/schemaFor"](i["b"].CLUSTER_CLASS)},showWarning(){return this.capiFeatureDisabled&&!this.hasClusterClassSchema}}},u=c,o=a("d802"),d=Object(o["a"])(u,s,n,!1,null,null,null);t["default"]=d.exports}}]); +//# sourceMappingURL=capi-0.4.0.umd.min.6.js.map \ No newline at end of file diff --git a/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.6.js.map b/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.6.js.map new file mode 100644 index 0000000..80e1e0b --- /dev/null +++ b/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.6.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack://capi-0.4.0/./components/ClusterListBanner.vue","webpack://capi-0.4.0/components/ClusterListBanner.vue","webpack://capi-0.4.0/./components/ClusterListBanner.vue?310b","webpack://capi-0.4.0/./components/ClusterListBanner.vue?cd38"],"names":["render","_vm","this","_c","_self","showWarning","attrs","_e","staticRenderFns","name","components","Banner","$store","getters","MANAGEMENT","FEATURE","dispatch","type","computed","capiFeatureDisabled","_capiFeature$spec","capiFeature","spec","value","hasClusterClassSchema","CAPI","CLUSTER_CLASS","component"],"mappings":"0LAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAQF,EAAII,YAAaF,EAAG,SAAS,CAACG,MAAM,CAAC,MAAQ,UAAU,YAAY,uCAAuCL,EAAIM,MAE9KC,EAAkB,G,oCCGP,GACfC,KAAA,yBAEAC,WAAA,CAAAC,eAEA,cACA,KAAAC,OAAAC,QAAA,wBAAAC,OAAAC,gBACA,KAAAH,OAAAI,SAAA,sBAAAC,KAAAH,OAAAC,WAIAG,SAAA,CACAC,sBAAA,IAAAC,EACA,MAAAC,EAAA,KAAAT,OAAAC,QAAA,mBAAAC,OAAAC,QAAA,wBAEA,OAAAM,KAAA,OAAAA,QAAA,IAAAA,GAAA,QAAAD,EAAAC,EAAAC,YAAA,IAAAF,KAAAG,QAGAC,wBACA,aAAAZ,OAAAC,QAAA,wBAAAY,OAAAC,gBAEArB,cACA,YAAAc,sBAAA,KAAAK,yBC3BwY,I,YCOpYG,EAAY,eACd,EACA3B,EACAQ,GACA,EACA,KACA,KACA,MAIa,aAAAmB,E","file":"capi-0.4.0.umd.min.6.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.showWarning)?_c('Banner',{attrs:{\"color\":\"warning\",\"label-key\":\"capi.warnings.embeddedFeatureFlag\"}}):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ClusterListBanner.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ClusterListBanner.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ClusterListBanner.vue?vue&type=template&id=76eac155&\"\nimport script from \"./ClusterListBanner.vue?vue&type=script&lang=js&\"\nexport * from \"./ClusterListBanner.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file diff --git a/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.7.js b/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.7.js new file mode 100644 index 0000000..d8a7dc6 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.7.js @@ -0,0 +1,2 @@ +(("undefined"!==typeof self?self:this)["webpackJsonpcapi_0_4_0"]=("undefined"!==typeof self?self:this)["webpackJsonpcapi_0_4_0"]||[]).push([[7],{"7ada":function(e,t,n){(function(n){var o,a,i;(function(n,r){a=[],o=r,i="function"===typeof o?o.apply(t,a):o,void 0===i||(e.exports=i)})(0,(function(){"use strict";function t(e,t){return"undefined"==typeof t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}function o(e,t,n){var o=new XMLHttpRequest;o.open("GET",e),o.responseType="blob",o.onload=function(){c(o.response,t,n)},o.onerror=function(){console.error("could not download file")},o.send()}function a(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function i(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(o){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var r="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n&&n.global===n?n:void 0,c=r.saveAs||("object"!=typeof window||window!==r?function(){}:"download"in HTMLAnchorElement.prototype?function(e,t,n){var c=r.URL||r.webkitURL,s=document.createElement("a");t=t||e.name||"download",s.download=t,s.rel="noopener","string"==typeof e?(s.href=e,s.origin===location.origin?i(s):a(s.href)?o(e,t,n):i(s,s.target="_blank")):(s.href=c.createObjectURL(e),setTimeout((function(){c.revokeObjectURL(s.href)}),4e4),setTimeout((function(){i(s)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,n,r){if(n=n||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(t(e,r),n);else if(a(e))o(e,n,r);else{var c=document.createElement("a");c.href=e,c.target="_blank",setTimeout((function(){i(c)}))}}:function(e,t,n,a){if(a=a||open("","_blank"),a&&(a.document.title=a.document.body.innerText="downloading..."),"string"==typeof e)return o(e,t,n);var i="application/octet-stream"===e.type,c=/constructor/i.test(r.HTMLElement)||r.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||i&&c)&&"object"==typeof FileReader){var l=new FileReader;l.onloadend=function(){var e=l.result;e=s?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),a?a.location.href=e:location=e,a=null},l.readAsDataURL(e)}else{var f=r.URL||r.webkitURL,u=f.createObjectURL(e);a?a.location=u:location.href=u,a=null,setTimeout((function(){f.revokeObjectURL(u)}),4e4)}});r.saveAs=c.saveAs=c,e.exports=c}))}).call(this,n("7d15"))}}]); +//# sourceMappingURL=capi-0.4.0.umd.min.7.js.map \ No newline at end of file diff --git a/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.7.js.map b/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.7.js.map new file mode 100644 index 0000000..19edd91 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.7.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack://capi-0.4.0//home/runner/work/capi-ui-extension/capi-ui-extension/node_modules/file-saver/dist/FileSaver.min.js"],"names":["this","b","a","autoBom","console","warn","test","type","Blob","c","d","e","XMLHttpRequest","open","responseType","onload","response","onerror","error","send","status","dispatchEvent","MouseEvent","document","createEvent","initMouseEvent","window","f","self","global","saveAs","HTMLAnchorElement","prototype","g","h","i","URL","webkitURL","j","createElement","name","download","rel","href","origin","location","target","createObjectURL","setTimeout","revokeObjectURL","navigator","msSaveOrOpenBlob","title","body","innerText","HTMLElement","safari","userAgent","FileReader","onloadend","result","replace","readAsDataURL","k","l","module","exports"],"mappings":"yKAAA,qCAAwD,EAAO,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e,yBAAyBlD,EAAEA,EAAEkC,SAASF,KAAKzC,EAAE2C,SAAS3C,EAAES,EAAE,MAAM2B,EAAEwB,cAAc5D,OAAO,CAAC,IAAI6D,EAAEpC,EAAES,KAAKT,EAAEU,UAAU2B,EAAED,EAAEhB,gBAAgB7C,GAAGS,EAAEA,EAAEkC,SAASmB,EAAEnB,SAASF,KAAKqB,EAAErD,EAAE,KAAKqC,YAAW,WAAWe,EAAEd,gBAAgBe,KAAI,QAAQrC,EAAEG,OAAO5B,EAAE4B,OAAO5B,EAA+B+D,EAAOC,QAAQhE,O","file":"capi-0.4.0.umd.min.7.js","sourcesContent":["(function(a,b){if(\"function\"==typeof define&&define.amd)define([],b);else if(\"undefined\"!=typeof exports)b();else{b(),a.FileSaver={exports:{}}.exports}})(this,function(){\"use strict\";function b(a,b){return\"undefined\"==typeof b?b={autoBom:!1}:\"object\"!=typeof b&&(console.warn(\"Deprecated: Expected third argument to be a object\"),b={autoBom:!b}),b.autoBom&&/^\\s*(?:text\\/\\S*|application\\/xml|\\S*\\/\\S*\\+xml)\\s*;.*charset\\s*=\\s*utf-8/i.test(a.type)?new Blob([\"\\uFEFF\",a],{type:a.type}):a}function c(b,c,d){var e=new XMLHttpRequest;e.open(\"GET\",b),e.responseType=\"blob\",e.onload=function(){a(e.response,c,d)},e.onerror=function(){console.error(\"could not download file\")},e.send()}function d(a){var b=new XMLHttpRequest;b.open(\"HEAD\",a,!1);try{b.send()}catch(a){}return 200<=b.status&&299>=b.status}function e(a){try{a.dispatchEvent(new MouseEvent(\"click\"))}catch(c){var b=document.createEvent(\"MouseEvents\");b.initMouseEvent(\"click\",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),a.dispatchEvent(b)}}var f=\"object\"==typeof window&&window.window===window?window:\"object\"==typeof self&&self.self===self?self:\"object\"==typeof global&&global.global===global?global:void 0,a=f.saveAs||(\"object\"!=typeof window||window!==f?function(){}:\"download\"in HTMLAnchorElement.prototype?function(b,g,h){var i=f.URL||f.webkitURL,j=document.createElement(\"a\");g=g||b.name||\"download\",j.download=g,j.rel=\"noopener\",\"string\"==typeof b?(j.href=b,j.origin===location.origin?e(j):d(j.href)?c(b,g,h):e(j,j.target=\"_blank\")):(j.href=i.createObjectURL(b),setTimeout(function(){i.revokeObjectURL(j.href)},4E4),setTimeout(function(){e(j)},0))}:\"msSaveOrOpenBlob\"in navigator?function(f,g,h){if(g=g||f.name||\"download\",\"string\"!=typeof f)navigator.msSaveOrOpenBlob(b(f,h),g);else if(d(f))c(f,g,h);else{var i=document.createElement(\"a\");i.href=f,i.target=\"_blank\",setTimeout(function(){e(i)})}}:function(a,b,d,e){if(e=e||open(\"\",\"_blank\"),e&&(e.document.title=e.document.body.innerText=\"downloading...\"),\"string\"==typeof a)return c(a,b,d);var g=\"application/octet-stream\"===a.type,h=/constructor/i.test(f.HTMLElement)||f.safari,i=/CriOS\\/[\\d]+/.test(navigator.userAgent);if((i||g&&h)&&\"object\"==typeof FileReader){var j=new FileReader;j.onloadend=function(){var a=j.result;a=i?a:a.replace(/^data:[^;]*;/,\"data:attachment/file;\"),e?e.location.href=a:location=a,e=null},j.readAsDataURL(a)}else{var k=f.URL||f.webkitURL,l=k.createObjectURL(a);e?e.location=l:location.href=l,e=null,setTimeout(function(){k.revokeObjectURL(l)},4E4)}});f.saveAs=a.saveAs=a,\"undefined\"!=typeof module&&(module.exports=a)});\n\n//# sourceMappingURL=FileSaver.min.js.map"],"sourceRoot":""} \ No newline at end of file diff --git a/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.8.js b/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.8.js new file mode 100644 index 0000000..ff67dce --- /dev/null +++ b/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.8.js @@ -0,0 +1,2 @@ +(("undefined"!==typeof self?self:this)["webpackJsonpcapi_0_4_0"]=("undefined"!==typeof self?self:this)["webpackJsonpcapi_0_4_0"]||[]).push([[8],{"1bb6":function(e,t){const r=[{action:{createCluster:"Create Cluster"},capi:{installation:{title:"Rancher Turtles",description:"The Rancher Turtles operator allows users to import CAPI-provisioned clusters into Rancher.",disableFeatureFlag:'The embedded-cluster-api feature flag must be disabled before installing the CAPI Turtles extension. Follow instructions in the documentation here to do so.',turtlesNeeded:'Either the user doesn\'t have permission to run the Turtles extension or the Turtles operator isn\'t installed. To learn how to install the Rancher Turtles extension, read the documentation.'},autoImport:{label:"CAPI Auto-Import",checkbox:{label:"Automatically import CAPI clusters created in this namespace"},enableAction:"Enable CAPI Auto-Import",disableAction:"Disable CAPI Auto-Import"},warnings:{embeddedFeatureFlag:"It looks like the Rancher-managed cluster API feature is disabled. To provision and manage RKE2 clusters you must either enable the embedded-cluster-api feature flag or install the Rancher Turtles extension."},cluster:{steps:{clusterClass:{title:"Cluster Class",label:"Cluster Class",subtext:null,description:""},configuration:{title:"Configuration",label:"Configuration",subtext:null,description:""},variables:{title:"Variables",label:"Variables",subtext:null,description:""}},secret:{reuse:"Use existing credential",create:"Create new credential"},controlPlane:{title:"Control Plane Options",provisioner:"Type"},providerConfig:{title:"Infrastructure"},clusterClass:{title:"Cluster Class",label:"Cluster Class",description:"Cluster Class Description"},variables:{title:"Variables"},version:{title:"Kubernetes Version"},networking:{title:"Networking",apiServerPort:"API Server Port",serviceDomain:"Service Domain",pods:"Pod CIDR Blocks",services:"Service VIP CIDR Blocks"},controlPlaneEndpoint:{title:"Control Plane Endpoint",host:"Host",port:"Port"},workers:{title:"Workers",class:"Class",name:"Name",machineDeployments:{title:"Machine Deployments"},machinePools:{title:"Machine Pools"}}},clusterClassCard:{title:"Cluster Class Name: {name}",controlPlaneName:"Control Plane Name",controlPlaneKind:"Control Plane Kind",controlPlaneNamespace:"Control Plane Namespace",machineDeploymentsCount:"{count, plural,\n one {{count} Machine Deployment }\n other {{count} Machine Deployments }\n}",machinePoolsCount:"{count, plural,\n one {{count} Machine Pool }\n other {{count} Machine Pools }\n}"},experimental:"The Rancher CAPI UI extension is experimental and is not currently supported.",provider:{title:"Provider",label:"Provider",banner:"Editing configuration will affect all clusters that are using this provider and may cause errors.",name:{label:"Name",placeholder:"Provider name"},description:{label:"Description",placeholder:"Any text you want that better describes this provider"},type:{label:"Provider type"},version:{label:"Version"},fetchConfigURL:{label:"URL"},cloudCredential:{title:"Cloud Credential"},features:{title:"Features",clusterResourceSet:"Enable cluster resource set",clusterTopology:"Enable cluster topology",machinePool:"Enable machine pool"},variables:{title:"Variables",add:"Add"},secret:{title:"Secret Configuration",create:"Create new secret",reuse:"Use core provider secret",data:"Data",label:"Secret Name"}}},nav:{group:{CAPITurtles:"CAPI"}},typeLabel:{"turtles-capi.cattle.io.capiprovider":"{count, plural,\n one { Infrastructure Provider }\n other { Infrastructure Providers }\n}","cluster.x-k8s.io.machineset":"{count, plural,\n one { Machine Set}\n other { Machine Sets }\n}","cluster.x-k8s.io.machinedeployment":"{count, plural,\n one { Machine Deployment}\n other { Machine Deployments }\n}","cluster.x-k8s.io.clusterclass":"{count, plural,\n one { Cluster Class}\n other { Cluster Classes}\n}"},validation:{exclusiveMaxValue:'"{key}" must be less than {maximum}.',exclusiveMinValue:'"{key}" must be greater than {minimum}.',maxItems:'{maxItems, plural,\n one {"{key}" may contain no more than {maxItems} item.}\n other {"{key}" may contain no more than {maxItems} items.}\n}',minItems:'{minItems, plural,\n one {"{key}" must contain at least {minItems} item.}\n other {"{key}" must contain at least {minItems} items.}\n}',pattern:'"{key}" must match the pattern {pattern}.',stringFormat:'"{key}" must be a valid {format}.',uniqueItems:'"{key}" may not contain duplicate elements.',version:"Version format must match format for this provisioner.",name:"Name is required.",port:"Port value must be a number.",url:'"Value" must be a valid URL.'},error:{clusterClassNotFound:"Could not find corresponding cluster class. Please check that cluster class exists and is valid."}}];e.exports=r.length<=1?r[0]:r}}]); +//# sourceMappingURL=capi-0.4.0.umd.min.8.js.map \ No newline at end of file diff --git a/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.8.js.map b/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.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AmG,kBAAoB,uFAAyF,aAAe,gFAAiF,SAAW,CAAE,MAAQ,WAAY,MAAQ,WAAY,OAAS,oGAAqG,KAAO,CAAE,MAAQ,OAAQ,YAAc,iBAAmB,YAAc,CAAE,MAAQ,cAAe,YAAc,yDAA2D,KAAO,CAAE,MAAQ,iBAAmB,QAAU,CAAE,MAAQ,WAAa,eAAiB,CAAE,MAAQ,OAAS,gBAAkB,CAAE,MAAQ,oBAAsB,SAAW,CAAE,MAAQ,WAAY,mBAAqB,8BAA+B,gBAAkB,0BAA2B,YAAc,uBAAyB,UAAY,CAAE,MAAQ,YAAa,IAAM,OAAS,OAAS,CAAE,MAAQ,uBAAwB,OAAS,oBAAqB,MAAQ,2BAA4B,KAAO,OAAQ,MAAQ,iBAAqB,IAAM,CAAE,MAAQ,CAAE,YAAc,SAAY,UAAY,CAAE,sCAAsC,8FAA+F,8BAA8B,qEAAsE,qCAAqC,mFAAoF,gCAAgC,0EAA4E,WAAa,CAAE,kBAAoB,uCAA0C,kBAAoB,0CAA6C,SAAW,iJAAsJ,SAAW,2IAAgJ,QAAU,yDAA4D,aAAe,oCAAuC,YAAc,8CAAiD,QAAU,yDAA0D,KAAO,oBAAqB,KAAO,+BAAgC,IAAM,gCAAoC,MAAQ,CAAE,qBAAuB,sGAC50KC,EAAOC,QAAUF,EAAIG,QAAU,EAAIH,EAAI,GAAKA","file":"capi-0.4.0.umd.min.8.js","sourcesContent":["const doc = [({\"action\":({\"createCluster\":\"Create Cluster\"}), \"capi\":({\"installation\":({\"title\":\"Rancher Turtles\", \"description\":\"The Rancher Turtles operator allows users to import CAPI-provisioned clusters into Rancher.\", \"disableFeatureFlag\":\"The embedded-cluster-api feature flag must be disabled before installing the CAPI Turtles extension. Follow instructions in the documentation here to do so.\", \"turtlesNeeded\":\"Either the user doesn't have permission to run the Turtles extension or the Turtles operator isn't installed. To learn how to install the Rancher Turtles extension, read the documentation.\"}), \"autoImport\":({\"label\":\"CAPI Auto-Import\", \"checkbox\":({\"label\":\"Automatically import CAPI clusters created in this namespace\"}), \"enableAction\":\"Enable CAPI Auto-Import\", \"disableAction\":\"Disable CAPI Auto-Import\"}), \"warnings\":({\"embeddedFeatureFlag\":\"It looks like the Rancher-managed cluster API feature is disabled. To provision and manage RKE2 clusters you must either enable the embedded-cluster-api feature flag or install the Rancher Turtles extension.\"}), \"cluster\":({\"steps\":({\"clusterClass\":({\"title\":\"Cluster Class\", \"label\":\"Cluster Class\", \"subtext\":null, \"description\":\"\"}), \"configuration\":({\"title\":\"Configuration\", \"label\":\"Configuration\", \"subtext\":null, \"description\":\"\"}), \"variables\":({\"title\":\"Variables\", \"label\":\"Variables\", \"subtext\":null, \"description\":\"\"})}), \"secret\":({\"reuse\":\"Use existing credential\", \"create\":\"Create new credential\"}), \"controlPlane\":({\"title\":\"Control Plane Options\", \"provisioner\":\"Type\"}), \"providerConfig\":({\"title\":\"Infrastructure\"}), \"clusterClass\":({\"title\":\"Cluster Class\", \"label\":\"Cluster Class\", \"description\":\"Cluster Class Description\"}), \"variables\":({\"title\":\"Variables\"}), \"version\":({\"title\":\"Kubernetes Version\"}), \"networking\":({\"title\":\"Networking\", \"apiServerPort\":\"API Server Port\", \"serviceDomain\":\"Service Domain\", \"pods\":\"Pod CIDR Blocks\", \"services\":\"Service VIP CIDR Blocks\"}), \"controlPlaneEndpoint\":({\"title\":\"Control Plane Endpoint\", \"host\":\"Host\", \"port\":\"Port\"}), \"workers\":({\"title\":\"Workers\", \"class\":\"Class\", \"name\":\"Name\", \"machineDeployments\":({\"title\":\"Machine Deployments\"}), \"machinePools\":({\"title\":\"Machine Pools\"})})}), \"clusterClassCard\":({\"title\":\"Cluster Class Name: {name}\", \"controlPlaneName\":\"Control Plane Name\", \"controlPlaneKind\":\"Control Plane Kind\", \"controlPlaneNamespace\":\"Control Plane Namespace\", \"machineDeploymentsCount\":\"{count, plural,\\n one {{count} Machine Deployment }\\n other {{count} Machine Deployments }\\n}\", \"machinePoolsCount\":\"{count, plural,\\n one {{count} Machine Pool }\\n other {{count} Machine Pools }\\n}\"}), \"experimental\":\"The Rancher CAPI UI extension is experimental and is not currently supported.\", \"provider\":({\"title\":\"Provider\", \"label\":\"Provider\", \"banner\":\"Editing configuration will affect all clusters that are using this provider and may cause errors.\", \"name\":({\"label\":\"Name\", \"placeholder\":\"Provider name\"}), \"description\":({\"label\":\"Description\", \"placeholder\":\"Any text you want that better describes this provider\"}), \"type\":({\"label\":\"Provider type\"}), \"version\":({\"label\":\"Version\"}), \"fetchConfigURL\":({\"label\":\"URL\"}), \"cloudCredential\":({\"title\":\"Cloud Credential\"}), \"features\":({\"title\":\"Features\", \"clusterResourceSet\":\"Enable cluster resource set\", \"clusterTopology\":\"Enable cluster topology\", \"machinePool\":\"Enable machine pool\"}), \"variables\":({\"title\":\"Variables\", \"add\":\"Add\"}), \"secret\":({\"title\":\"Secret Configuration\", \"create\":\"Create new secret\", \"reuse\":\"Use core provider secret\", \"data\":\"Data\", \"label\":\"Secret Name\"})})}), \"nav\":({\"group\":({\"CAPITurtles\":\"CAPI\"})}), \"typeLabel\":({\"turtles-capi.cattle.io.capiprovider\":\"{count, plural,\\n one { Infrastructure Provider }\\n other { Infrastructure Providers }\\n}\", \"cluster.x-k8s.io.machineset\":\"{count, plural,\\n one { Machine Set}\\n other { Machine Sets }\\n}\", \"cluster.x-k8s.io.machinedeployment\":\"{count, plural,\\n one { Machine Deployment}\\n other { Machine Deployments }\\n}\", \"cluster.x-k8s.io.clusterclass\":\"{count, plural,\\n one { Cluster Class}\\n other { Cluster Classes}\\n}\"}), \"validation\":({\"exclusiveMaxValue\":\"\\\"{key}\\\" must be less than {maximum}.\", \"exclusiveMinValue\":\"\\\"{key}\\\" must be greater than {minimum}.\", \"maxItems\":\"{maxItems, plural,\\n one {\\\"{key}\\\" may contain no more than {maxItems} item.}\\n other {\\\"{key}\\\" may contain no more than {maxItems} items.}\\n}\", \"minItems\":\"{minItems, plural,\\n one {\\\"{key}\\\" must contain at least {minItems} item.}\\n other {\\\"{key}\\\" must contain at least {minItems} items.}\\n}\", \"pattern\":\"\\\"{key}\\\" must match the pattern {pattern}.\", \"stringFormat\":\"\\\"{key}\\\" must be a valid {format}.\", \"uniqueItems\":\"\\\"{key}\\\" may not contain duplicate elements.\", \"version\":\"Version format must match format for this provisioner.\", \"name\":\"Name is required.\", \"port\":\"Port value must be a number.\", \"url\":\"\\\"Value\\\" must be a valid URL.\"}), \"error\":({\"clusterClassNotFound\":\"Could not find corresponding cluster class. Please check that cluster class exists and is valid.\"})})];\nmodule.exports = doc.length <= 1 ? doc[0] : doc;"],"sourceRoot":""} \ No newline at end of file diff --git a/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.edit.js b/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.edit.js new file mode 100644 index 0000000..cdd9a20 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.edit.js @@ -0,0 +1,2 @@ +(("undefined"!==typeof self?self:this)["webpackJsonpcapi_0_4_0"]=("undefined"!==typeof self?self:this)["webpackJsonpcapi_0_4_0"]||[]).push([[2],{"2adb":function(e,t,a){var s=a("5eaa");t=s(!1),t.push([e.i,".grouped-type{position:relative}.rke-switch{margin-top:-10px;position:absolute;right:0}",""]),e.exports=t},"2ea8":function(e,t,a){"use strict";a("471a")},"330a3":function(e,t,a){"use strict";a("f359")},"33e0":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("CruResource",{staticClass:"create-cluster",attrs:{mode:e.mode,"validation-passed":!0,"selected-subtype":e.subType,resource:e.value,errors:e.errors,subtypes:e.subTypes,"cancel-event":!0,"prevent-enter-submit":!0},on:{finish:e.save,cancel:e.done,"select-type":e.selectType,error:t=>e.errors=t},scopedSlots:e._u([{key:"subtypes",fn:function(){return[t("div",{staticClass:"mb-20",staticStyle:{width:"100%"}},[t("SelectIconGrid",{attrs:{rows:e.subTypes,"key-field":"id","name-field":"label","side-label-field":"tag"},on:{clicked:e.clickedType}})],1)]},proxy:!0},e.subType?{key:"form-footer",fn:function(){return[t("div")]},proxy:!0}:null],null,!0)},[e.subType?t("ProviderConfig",{attrs:{"initial-value":e.initialValue,"live-value":e.liveValue,mode:e.mode,provider:e.subType},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}}):e._e()],1)},l=[],r=a("8bbf"),i=a.n(r),o=a("305c"),n=a("fd5f"),c=a("500e"),u=a("da25"),d=a("7e89"),v=function(){var e=this,t=e._self._c;e._self._setupProxy;return e.loading?t("Loading"):t("CruResource",{staticClass:"provider",attrs:{mode:e.mode,"validation-passed":e.fvFormIsValid,resource:e.value,errors:e.fvUnreportedValidationErrors,"cancel-event":!0,"done-route":e.doneRoute,"apply-hooks":e.applyHooks,"component-testid":"capi-provider-create"},on:{done:e.done,finish:e.saveOverride,cancel:e.done,error:t=>e.errors=t},scopedSlots:e._u([e.waitingForCredential?{key:"form-footer",fn:function(){return[t("div")]},proxy:!0}:null],null,!0)},[t("NameNsDescription",{attrs:{mode:e.mode,namespaced:!0,"namespace-options":e.allNamespaces,"namespace-new-allowed":!0,"name-label":"capi.provider.name.label","name-placeholder":"capi.provider.name.placeholder","description-label":"capi.provider.description.label","description-placeholder":"capi.provider.description.placeholder",rules:{name:e.fvGetAndReportPathRules("metadata.name")}},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}}),e.isCustom?t("div",[t("div",{staticClass:"row mb-20"},[t("div",{staticClass:"col span-3"},[t("LabeledInput",{attrs:{mode:e.mode,"label-key":"capi.provider.label",required:"",rules:e.fvGetAndReportPathRules("spec.name")},model:{value:e.value.spec.name,callback:function(t){e.$set(e.value.spec,"name",t)},expression:"value.spec.name"}})],1),t("div",{staticClass:"col span-3"},[t("LabeledSelect",{attrs:{mode:e.mode,options:e.typeOptions,"label-key":"capi.provider.type.label",required:""},model:{value:e.value.spec.type,callback:function(t){e.$set(e.value.spec,"type",t)},expression:"value.spec.type"}})],1),t("div",{staticClass:"col span-3"},[t("LabeledInput",{attrs:{mode:e.mode,"label-key":"capi.provider.version.label",required:"",rules:e.fvGetAndReportPathRules("spec.version")},model:{value:e.value.spec.version,callback:function(t){e.$set(e.value.spec,"version",t)},expression:"value.spec.version"}})],1)]),t("div",{staticClass:"row mb-40"},[t("div",{staticClass:"col span-6"},[t("LabeledInput",{attrs:{mode:e.mode,"label-key":"capi.provider.fetchConfigURL.label",required:"",rules:e.fvGetAndReportPathRules("spec.fetchConfig.url")},model:{value:e.value.spec.fetchConfig.url,callback:function(t){e.$set(e.value.spec.fetchConfig,"url",t)},expression:"value.spec.fetchConfig.url"}})],1)])]):e._e(),e.needCredential?t("div",{staticClass:"mb-40"}):e._e(),e.hasFeatures||e.hasVariables?t("h2",{staticClass:"mb-20"},[t("t",{attrs:{k:"capi.provider.secret.title"}})],1):e._e(),e.needCredential?t("div",[t("h3",{staticClass:"mb-20"},[t("t",{attrs:{k:"capi.provider.cloudCredential.title"}})],1),t("SelectCredential",{staticClass:"mb-40",attrs:{mode:e.mode,provider:e.provider,cancel:e.cancelCredential,"showing-form":e.showForm},model:{value:e.value.spec.credentials.rancherCloudCredentialNamespaceName,callback:function(t){e.$set(e.value.spec.credentials,"rancherCloudCredentialNamespaceName",t)},expression:"value.spec.credentials.rancherCloudCredentialNamespaceName"}})],1):e._e(),e.waitingForCredential?e._e():t("div",[e.shouldShowBanner?t("Banner",{attrs:{color:"info"}},[e._v(" "+e._s(e.t("capi.provider.banner"))+" ")]):e._e(),e.hasFeatures?t("div",{staticClass:"mb-40"},[t("h3",{staticClass:"mb-20"},[t("t",{attrs:{k:"capi.provider.features.title"}})],1),t("Checkbox",{attrs:{mode:e.mode,label:e.t("capi.provider.features.clusterResourceSet")},model:{value:e.value.spec.features.clusterResourceSet,callback:function(t){e.$set(e.value.spec.features,"clusterResourceSet",t)},expression:"value.spec.features.clusterResourceSet"}}),t("Checkbox",{attrs:{mode:e.mode,label:e.t("capi.provider.features.clusterTopology")},model:{value:e.value.spec.features.clusterTopology,callback:function(t){e.$set(e.value.spec.features,"clusterTopology",t)},expression:"value.spec.features.clusterTopology"}}),t("Checkbox",{attrs:{mode:e.mode,label:e.t("capi.provider.features.machinePool")},model:{value:e.value.spec.features.machinePool,callback:function(t){e.$set(e.value.spec.features,"machinePool",t)},expression:"value.spec.features.machinePool"}})],1):e._e(),e.hasVariables?t("div",[t("h3",[t("t",{attrs:{k:"capi.provider.variables.title"}})],1),t("KeyValue",{attrs:{"add-label":e.t("capi.provider.variables.add"),mode:e.mode,"value-can-be-empty":!0,"handle-base64":!0,"value-trim":!1,"add-allowed":!0,"read-allowed":!0,"parse-lines-from-file":!0},model:{value:e.value.spec.variables,callback:function(t){e.$set(e.value.spec,"variables",t)},expression:"value.spec.variables"}})],1):e._e()],1)],1)},p=[],m=a("9ce4"),h=a("bddd"),b=a("907c"),f=a("15ca"),g=a("ab51"),y=a("ebab"),C=a("1032"),k=a("2cb5"),w=a("e24b"),x=a("3c8c"),_=a("a232"),O=a("e26b"),P=a("466b"),S=a("eb32"),j=a("a8b9"),N=a("bfe9");const $={clusterResourceSet:!0,clusterTopology:!0,machinePool:!0},R={},V={name:"",type:"infrastructure",configSecret:{name:""},credentials:{rancherCloudCredentialNamespaceName:""}},D={name:"",type:"infrastructure",configSecret:{name:""},credentials:{rancherCloudCredentialNamespaceName:""},fetchConfig:{url:""},version:""},q=["infrastructure","bootstrap","controlPlane"];var E=i.a.extend({components:{CruResource:n["a"],Loading:f["a"],NameNsDescription:x["a"],SelectCredential:g["a"],Checkbox:C["a"],KeyValue:_["a"],LabeledInput:O["a"],LabeledSelect:P["a"],Banner:S["a"]},mixins:[o["a"],y["a"]],props:{mode:{type:String,required:!0},value:{type:Object,required:!0},provider:{type:String,required:!0}},beforeMount(){this.getDependencies().then(e=>{this.allNamespaces=e.namespaces||[],this.coreProviderSecret=e.coreProviderSecret||{},this.initSpecs(),this.loading=!1}).catch(e=>{this.errors.push(e),this.initSpecs(),this.loading=!1})},data(){const e=d["e"].find(e=>e.id===this.provider)||{needCredentials:!1,disabled:!1,id:"0"};return{loading:!0,fvFormRuleSets:[{path:"metadata.name",rules:["required"]},{path:"spec.name",rules:["required"]},{path:"spec.version",rules:["version"]},{path:"spec.fetchConfig.url",rules:["required","url"]}],allNamespaces:[],needCredential:(null===e||void 0===e?void 0:e.needCredentials)||!1,typeOptions:q}},computed:{...Object(m["a"])(["namespaces"]),fvExtraRules(){return{version:Object(N["g"])(this.$store.getters["i18n/t"],this.isCustom),url:Object(N["h"])(this.$store.getters["i18n/t"])}},showForm(){return!!this.value.spec.credentials.rancherCloudCredentialNamespaceName||!this.needCredential},isCreate(){return this.mode===u["l"]},isEdit(){return this.mode===u["n"]},hasFeatures(){var e;return!(null===(e=this.value)||void 0===e||null===(e=e.spec)||void 0===e||!e.features)},hasVariables(){var e;return!(null===(e=this.value)||void 0===e||null===(e=e.spec)||void 0===e||!e.features)},isCustom(){return"custom"===this.provider},shouldShowBanner(){return this.isEdit&&(this.hasFeatures||this.hasVariables)},waitingForCredential(){return this.needCredential&&!this.value.spec.credentials.rancherCloudCredentialNamespaceName}},methods:{initSpecs(){if(!this.value.spec){const e=this.getSpecFromCoreSecret();"custom"!==this.provider?(Object(w["k"])(this.value,"spec",{...V,...e}),Object(w["k"])(this.value.spec,"name",this.provider)):Object(w["k"])(this.value,"spec",{...D,...e})}this.value.spec.configSecret.name||Object(w["k"])(this.value.spec.configSecret,"name",this.generateName(this.provider))},getSpecFromCoreSecret(){var e;const t=null===(e=this.coreProviderSecret)||void 0===e?void 0:e.data;if(t){const e=["EXP_CLUSTER_RESOURCE_SET","CLUSTER_TOPOLOGY","EXP_MACHINE_POOL"],a=Object(w["e"])(t);return e.forEach(e=>{delete a[e]}),{features:{clusterResourceSet:"dHJ1ZQ=="===t.EXP_CLUSTER_RESOURCE_SET,clusterTopology:"dHJ1ZQ=="===t.CLUSTER_TOPOLOGY,machinePool:"dHJ1ZQ=="===t.EXP_MACHINE_POOL},variables:a}}return{features:Object(w["e"])($),variables:Object(w["e"])(R)}},generateName(e){return e?`${e}-credentials-${Object(k["n"])(5).toLowerCase()}`:void 0},async getDependencies(){const e=this.$store.getters["currentStore"](b["n"]),{$store:t}=this,a={namespaces:t.dispatch(e+"/findAll",{type:b["n"]}),coreProviderSecret:t.dispatch("management/find",{type:b["y"],id:`${d["h"]}/${d["g"]}`,opt:{watch:!1,force:!0}})};return await Object(j["a"])(a)},async saveOverride(e){var t;this.errors&&Object(h["c"])(this.errors),this.needCredential||null!==(t=this.value.spec)&&void 0!==t&&null!==(t=t.credentials)&&void 0!==t&&t.rancherCloudCredentialNamespaceName||(this.value.spec.credentials=null);try{return await this.value.save(),this.done()}catch(a){this.errors.push(a),e(!1)}},cancelCredential(){this.$refs.cruresource&&this.$refs.cruresource.emitOrRoute()}}}),L=E,A=a("d802"),T=Object(A["a"])(L,v,p,!1,null,null,null),I=T.exports,F=i.a.extend({name:"CreateProvider",components:{CruResource:n["a"],SelectIconGrid:c["a"],ProviderConfig:I},mixins:[o["a"]],props:{value:{type:Object,default:null},componentTestid:{type:String,default:"capi-provider-create"}},beforeMount(){var e;null!==(e=this.value)&&void 0!==e&&null!==(e=e.spec)&&void 0!==e&&e.name&&this.selectType(this.value.spec.name)},data(){const e=this.$route.query[u["g"]]||null;return{subType:e}},computed:{subTypes(){const e=[],t=this.$store.getters;return null===d["e"]||void 0===d["e"]||d["e"].forEach(e=>{s(e.id,e.disabled)}),e;function s(s,l=!1){const r=t["i18n/withFallback"](`cluster.provider."${s}"`,null,s),i=t["i18n/withFallback"](`cluster.providerDescription."${s}"`,null,"");let o;try{o=a("499d")(`./${s}.svg`)}catch(c){try{o=a("3c84")(`./${s}.svg`)}catch(c){o=a("2de0")}}const n={id:s,label:r,description:i,icon:o,disabled:l};e.push(n)}}},methods:{clickedType(e){const t=e.id;this.$router.applyQuery({[u["g"]]:t}),this.selectType(t)},selectType(e){this.subType=e,this.$emit("set-subtype",this.$store.getters["i18n/withFallback"](`cluster.provider."${e}"`,null,e))}}}),M=F,B=(a("8db7"),Object(A["a"])(M,s,l,!1,null,null,null));t["default"]=B.exports},"3c84":function(e,t,a){var s={"./docker.svg":"7003","./vsphere-black.svg":"81be","./vsphere.svg":"8827"};function l(e){var t=r(e);return a(t)}function r(e){if(!a.o(s,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return s[e]}l.keys=function(){return Object.keys(s)},l.resolve=r,e.exports=l,l.id="3c84"},4369:function(e,t,a){var s=a("5eaa");t=s(!1),t.push([e.i,".label[data-v-7407ec5d]{display:flex;flex-direction:column;margin-bottom:10px}.label .text-label[data-v-7407ec5d]{font-size:12px;line-height:18px;color:var(--darker)}.label .value[data-v-7407ec5d]{line-height:18px}",""]),e.exports=t},"471a":function(e,t,a){var s=a("653f");s.__esModule&&(s=s.default),"string"===typeof s&&(s=[[e.i,s,""]]),s.locals&&(e.exports=s.locals);var l=a("0ed3").default;l("3bfc8dc4",s,!0,{sourceMap:!1,shadowMode:!1})},"4774b":function(e,t,a){"use strict";a("f954")},"499d":function(e,t,a){var s={"./aliyun-black.svg":"073d","./aliyun.svg":"817e","./aliyunecs-black.svg":"cfa4","./aliyunecs.svg":"6673","./amazonec2-black.svg":"1ca7","./amazonec2.svg":"b3fa","./amazoneks-black.svg":"b111","./amazoneks.svg":"a734","./aws.svg":"d1df","./azure-black.svg":"f9f9","./azure.svg":"ff0f","./azuread-black.svg":"34d3","./azuread.svg":"7c72","./azureaks-black.svg":"0dc3","./azureaks.svg":"89ef","./baidu-black.svg":"7c76","./baidu.svg":"8c46","./cloudca-black.svg":"0965","./cloudca.svg":"68b8","./cloudscale-black.svg":"bdf2","./cloudscale.svg":"05fa","./custom.svg":"ab8e","./digitalocean-black.svg":"460c","./digitalocean.svg":"11f4","./equinix-black.svg":"3e8d","./equinix.svg":"2e41","./exoscale.svg":"04e7","./gcp.svg":"2e3b","./gke-black.svg":"394b","./gke.svg":"d10d","./google.svg":"6de9","./googlegke-black.svg":"38e0","./googlegke.svg":"29f9","./harvester.svg":"481a","./huaweicce-black.svg":"d7b3","./huaweicce.svg":"03cb","./import.svg":"4eb1","./k3s-black.svg":"bf04","./k3s.svg":"fbfb","./kubernetes-black.svg":"7b99","./kubernetes.svg":"ecef","./linode.svg":"4f2d","./linodelke-black.svg":"d904","./linodelke.svg":"58dc","./local-cluster.svg":"a46f","./minikube-black.svg":"001a","./minikube.svg":"5abd","./nutanix.svg":"80b4","./oci-black.svg":"e518","./oci.svg":"6a48","./openstack-black.svg":"a409","./openstack.svg":"d8b2","./oracle.svg":"ce4d","./oracleoke-black.svg":"8ebd","./oracleoke.svg":"8faa","./otc-black.svg":"eae0","./otc.svg":"271c","./otccce.svg":"25b5","./outscale.svg":"f278","./ovhcloudmks.svg":"513f","./ovhcloudpubliccloud.svg":"8a44","./packet-black.svg":"798e","./packet.svg":"a67d","./pinganyunecs-black.svg":"c28c","./pinganyunecs.svg":"f63b","./pnap-black.svg":"5ad1","./pnap.svg":"0353","./rackspace-black.svg":"b20c","./rackspace.svg":"1b53","./rke.svg":"7a27","./rke2.svg":"43bd","./softlayer.svg":"da9b","./tencenttke-black.svg":"af66","./tencenttke.svg":"39ca","./vmwarevsphere-black.svg":"6cfe","./vmwarevsphere.svg":"0a79"};function l(e){var t=r(e);return a(t)}function r(e){if(!a.o(s,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return s[e]}l.keys=function(){return Object.keys(s)},l.resolve=r,e.exports=l,l.id="499d"},"52c9":function(e,t,a){"use strict";a("5ae4")},"52e0":function(e,t,a){var s=a("2adb");s.__esModule&&(s=s.default),"string"===typeof s&&(s=[[e.i,s,""]]),s.locals&&(e.exports=s.locals);var l=a("0ed3").default;l("4784894c",s,!0,{sourceMap:!1,shadowMode:!1})},"5ae4":function(e,t,a){var s=a("ea19");s.__esModule&&(s=s.default),"string"===typeof s&&(s=[[e.i,s,""]]),s.locals&&(e.exports=s.locals);var l=a("0ed3").default;l("02c39b9b",s,!0,{sourceMap:!1,shadowMode:!1})},"653f":function(e,t,a){var s=a("5eaa");t=s(!1),t.push([e.i,".container[data-v-e4d7fae2]{display:grid;grid-template-columns:1fr 1fr 1fr}@media only screen and (max-width:992px){.container[data-v-e4d7fae2]{grid-template-columns:1fr 1fr}}@media only screen and (max-width:1281px){.container[data-v-e4d7fae2]{grid-template-columns:1fr}}",""]),e.exports=t},7003:function(e,t,a){e.exports=a.p+"img/docker.c06657b9.svg"},"81be":function(e,t,a){e.exports=a.p+"img/vsphere-black.2f9d3f1d.svg"},8827:function(e,t,a){e.exports=a.p+"img/vsphere.32594541.svg"},"89e5":function(e,t,a){var s=a("5eaa");t=s(!1),t.push([e.i,".cluster-card-container[data-v-40d0155a]{display:flex;flex-basis:40%;margin:10px;min-height:100px;padding:10px 20px;height:90%;border:1px solid var(--border);border-radius:var(--border-radius)}.cluster-card-container.selected[data-v-40d0155a]{border:2px solid var(--app-rancher-accent)}.cluster-card-container[data-v-40d0155a]:hover{box-shadow:0 0 30px var(--shadow);transition:box-shadow .1s ease-in-out;cursor:pointer;text-decoration:none!important}.cluster-card-container.rancher .deploys-os-label[data-v-40d0155a],.cluster-card-container.rancher .side-label[data-v-40d0155a]{background-color:var(--app-rancher-accent)}.cluster-card-container.rancher .deploys-os-label label[data-v-40d0155a],.cluster-card-container.rancher .side-label label[data-v-40d0155a]{color:var(--app-rancher-accent-text)}.cluster-card-container.rancher[data-v-40d0155a]:hover{border-color:var(--app-rancher-accent)}.cluster-card-container.partner .deploys-os-label[data-v-40d0155a],.cluster-card-container.partner .side-label[data-v-40d0155a]{background-color:var(--app-partner-accent)}.cluster-card-container.partner .deploys-os-label label[data-v-40d0155a],.cluster-card-container.partner .side-label label[data-v-40d0155a]{color:var(--app-partner-accent-text)}.cluster-card-container.partner[data-v-40d0155a]:hover{border-color:var(--app-partner-accent)}.cluster-card-container .card-wrap[data-v-40d0155a]{width:100%}.name[data-v-40d0155a]{font-size:16px;font-weight:700;margin-bottom:10px}.description[data-v-40d0155a]{font-size:14px;margin-bottom:20px}.container[data-v-40d0155a]{display:grid;padding:0;grid-template-columns:1fr 1fr}@media only screen and (max-width:1281px){.container[data-v-40d0155a]{grid-template-columns:1fr}}.leftcol[data-v-40d0155a]{justify-self:start;margin-right:10px}.rightcol[data-v-40d0155a]{justify-self:end}@media only screen and (max-width:1281px){.rightcol[data-v-40d0155a]{justify-self:start}}",""]),e.exports=t},"8db7":function(e,t,a){"use strict";a("52e0")},"9b7b":function(e,t,a){"use strict";a("ef3f")},be3e:function(e,t,a){var s=a("5eaa");t=s(!1),t.push([e.i,".variables[data-v-83817b0e]{display:flex;flex-direction:row;flex-wrap:wrap}.variables>*[data-v-83817b0e]{flex:0 1 23.25%;margin:0 1.75% 10px 0;max-width:23.25%}.variables[data-v-83817b0e]>.wider{flex:0 1 48.25%;max-width:48.25%}.variables>.force-newline[data-v-83817b0e]{flex:1 0 100%;max-width:none}",""]),e.exports=t},bfe9:function(e,t,a){"use strict";a.d(t,"e",(function(){return c})),a.d(t,"d",(function(){return v})),a.d(t,"i",(function(){return p})),a.d(t,"j",(function(){return m})),a.d(t,"c",(function(){return h})),a.d(t,"f",(function(){return b})),a.d(t,"b",(function(){return f})),a.d(t,"a",(function(){return g})),a.d(t,"h",(function(){return y})),a.d(t,"g",(function(){return C}));var s=a("330a"),l=a.n(s),r=a("2cb5"),i=a("c4c6"),o=a("760b"),n=a("7e89");const c=function(e,{key:t="Value"},a){const{exclusiveMinimum:s,exclusiveMaximum:l,maxItems:r,maxLength:i,maximum:o,minItems:n,minLength:c,minimum:v,pattern:p,uniqueItems:m,required:h,format:b}=a,f=[];return o&&(l?f.push(a=>Number(a)>=Number(o)?e("validation.exclusiveMaxValue",{key:t,maximum:o}):void 0):f.push(a=>Number(a)>Number(o)?e("validation.maxValue",{key:t,max:o}):void 0)),void 0!==v&&(s?f.push(a=>Number(a)<=Number(v)?e("validation.exclusiveMinValue",{key:t,minimum:v}):void 0):f.push(a=>Number(a)a&&a.lengtha&&a.length>Number(i)?e("validation.maxLength",{key:t,max:i}):void 0),r&&f.push(a=>a&&a.length>r?e("validation.maxItems",{key:t,maxItems:r}):void 0),void 0!==n&&f.push(a=>a&&a.lengtha&&a.filter((e,t)=>a.indexOf(e)!==t).length?e("validation.uniqueItems",{key:t}):void 0),h&&f.push(a=>h.find(e=>void 0===a[e])?e("validation.requiredFields",{key:t,requiredFields:h.toString()}):void 0),f},u=function(e,t){return a=>a&&!a.match(t)?e:void 0},d=function(e,{key:t="Value"},a){const s=Object(o["a"])(e,{key:t}),l=e("validation.stringFormat",{key:t,format:a});switch(a){case"hostname":return e=>s.wildcardHostname(e);case"ipv4":return e=>e&&!Object(r["i"])(e)?l:void 0;case"cidr":return e=>e&&!Object(i["a"])(e)?l:void 0;case"mac":return e=>e&&!Object(i["b"])(e)?l:void 0;case"uuid":return u(l,/^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$/i);case"uuid3":return u(l,/^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$/i);case"uuid4":return u(l,/^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$/i);case"uuid5":return u(l,/^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$/i);default:return}},v=e=>e||!1===e||!l()(e),p=function(e,t){let a="";return n["c"][t]&&(a=`\\+(${n["c"][t].join("|")})`),new RegExp(`^v(\\d+.){2}\\d+${a}$`)},m=function(e,t){const a=p(e,t);return u(e("validation.version"),a)},h=function(e){return d(e,{key:"Host"},"hostname")},b=function(e){return t=>t&&isNaN(t)?e("validation.port"):void 0},f=function(e){return d(e,{key:"Value"},"cidr")},g=function(e){return e.every(e=>Object(i["a"])(e))},y=function(e){return t=>t&&!t.match(/^https?:\/\/(.*)$/)?e("validation.url"):void 0},C=function(e,t){return a=>t&&!a.match(/^v(\d+.){2}\d*$/)?e("validation.version"):void 0}},e142:function(e,t,a){var s=a("5eaa");t=s(!1),t.push([e.i,".required[data-v-6f30e1ac]{color:var(--error)}",""]),e.exports=t},e810:function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",[e.loading?t("Loading"):t("div",[e.preselectedClass?t("ClusterConfig",{attrs:{"initial-value":e.initialValue,"live-value":e.liveValue,mode:e.mode,"preselected-class":e.preselectedClass,"cluster-classes":e.clusterClasses},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}}):t("CruResource",{staticClass:"create-cluster",attrs:{mode:e.mode,"validation-passed":!0,resource:e.value,errors:e.errors,"cancel-event":!0,"prevent-enter-submit":!0},on:{finish:e.save,cancel:e.cancel,error:t=>e.errors=t},scopedSlots:e._u([{key:"form-footer",fn:function(){return[t("div")]},proxy:!0}])},[t("ClusterConfig",{attrs:{"initial-value":e.initialValue,"live-value":e.liveValue,mode:e.mode,"cluster-classes":e.clusterClasses},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}})],1)],1)],1)},l=[],r=a("8bbf"),i=a.n(r),o=a("da25"),n=a("e24b"),c=a("305c"),u=a("15ca"),d=a("fd5f"),v=a("7e89"),p=function(){var e=this,t=e._self._c;e._self._setupProxy;return e.loading?t("Loading"):t("CruResource",{attrs:{mode:e.mode,"show-as-form":!0,resource:e.value,errors:e.errors,"validation-passed":!0,"cancel-event":!0,"done-route":e.doneRoute,"apply-hooks":e.applyHooks,steps:e.addSteps,"component-testid":"capi-cluster-create"},on:{done:e.done,error:t=>e.errors=t,finish:e.saveOverride,cancel:e.cancel},scopedSlots:e._u([{key:"stepClusterClass",fn:function(){return[t("CardGrid",{attrs:{rows:e.clusterClassOptions,"key-field":"id","name-field":"label","side-label-field":"tag"},on:{clicked:e.clickedType}})]},proxy:!0},{key:"stepConfiguration",fn:function(){return[e.isView?e._e():t("NameNsDescription",{attrs:{mode:e.mode,namespaced:!1,"name-label":"cluster.name.label","name-placeholder":"cluster.name.placeholder","description-label":"cluster.description.label","description-placeholder":"cluster.description.placeholder",rules:{name:e.fvGetAndReportPathRules("metadata.name")}},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}}),t("div",{staticClass:"row mb-20"},[t("div",{staticClass:"col span-3"},[t("h2",[t("t",{attrs:{k:"capi.cluster.version.title"}})],1),t("LabeledInput",{attrs:{mode:e.mode,"label-key":"cluster.kubernetesVersion.label",required:"",rules:e.fvGetAndReportPathRules("spec.topology.version")},model:{value:e.value.spec.topology.version,callback:function(t){e.$set(e.value.spec.topology,"version",t)},expression:"value.spec.topology.version"}})],1),t("div",{staticClass:"col"},[t("h2",[t("t",{attrs:{k:"capi.cluster.controlPlaneEndpoint.title"}})],1),t("ControlPlaneEndpointSection",{attrs:{mode:e.mode,rules:{host:e.fvGetAndReportPathRules("spec.controlPlaneEndpoint.host"),port:e.fvGetAndReportPathRules("spec.controlPlaneEndpoint.port")}},model:{value:e.controlPlaneEndpoint,callback:function(t){e.controlPlaneEndpoint=t},expression:"controlPlaneEndpoint"}})],1)]),t("div",{staticClass:"mt-20 block"},[t("h2",[t("t",{attrs:{k:"capi.cluster.networking.title"}})],1),t("NetworkSection",{attrs:{mode:e.mode,rules:{serviceDomain:e.fvGetAndReportPathRules("spec.clusterNetwork.serviceDomain"),apiServerPort:e.fvGetAndReportPathRules("spec.clusterNetwork.apiServerPort"),pods:e.fvGetAndReportPathRules("spec.clusterNetwork.pods"),services:e.fvGetAndReportPathRules("spec.clusterNetwork.services")}},on:{"api-server-port-changed":t=>e.$set(e.value.spec.clusterNetwork,"apiServerPort",Number(t)||""),"service-domain-changed":t=>e.$set(e.value.spec.clusterNetwork,"serviceDomain",t),"pods-cidr-blocks-changed":e.podsCidrBlocksChanged,"services-cidr-blocks-changed":e.servicesCidrBlocksChanged},model:{value:e.clusterNetwork,callback:function(t){e.clusterNetwork=t},expression:"clusterNetwork"}})],1),t("div",{staticClass:"mt-20 block"},[t("h2",[t("t",{attrs:{k:"capi.cluster.workers.title"}}),t("span",{staticClass:"required"},[e._v("*")])],1),t("div",{staticClass:"row mb-20"},[e.machineDeploymentOptions?t("div",{staticClass:"col span-3"},[t("WorkerItem",{attrs:{mode:e.mode,title:e.t("capi.cluster.workers.machineDeployments.title"),"default-add-value":e.defaultWorkerAddValue,"class-options":e.machineDeploymentOptions,"initial-empty-row":!0},model:{value:e.value.spec.topology.workers.machineDeployments,callback:function(t){e.$set(e.value.spec.topology.workers,"machineDeployments",t)},expression:"value.spec.topology.workers.machineDeployments"}})],1):e._e(),e.machinePoolOptions?t("div",{staticClass:"col span-3"},[t("WorkerItem",{attrs:{mode:e.mode,title:e.t("capi.cluster.workers.machinePools.title"),"default-add-value":e.defaultWorkerAddValue,"class-options":e.machinePoolOptions,"initial-empty-row":!0},model:{value:e.value.spec.topology.workers.machinePools,callback:function(t){e.$set(e.value.spec.topology.workers,"machinePools",t)},expression:"value.spec.topology.workers.machinePools"}})],1):e._e()])])]},proxy:!0},{key:"stepVariables",fn:function(){return[t("h2",[t("t",{attrs:{k:"capi.cluster.variables.title"}})],1),t("ClusterClassVariables",{attrs:{"cluster-class":e.clusterClassObj},on:{"validation-passed":t=>e.variablesReady=t},model:{value:e.value.spec.topology.variables,callback:function(t){e.$set(e.value.spec.topology,"variables",t)},expression:"value.spec.topology.variables"}})]},proxy:!0}])})},m=[],h=a("bddd"),b=a("e26b"),f=a("3c8c"),g=a("ebab"),y=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"variables"},[e.variableDefinitions&&e.variableDefinitions.length?[e._l(e.variableDefinitions,(function(a,s){return[t("Variable",{key:""+a.name,ref:a.name+"-input",refInFor:!0,attrs:{variable:a,value:e.valueFor(a),"validate-required":!e.machineDeploymentClass&&!e.machinePoolClass},on:{input:t=>e.updateVariables(t,a),"validation-passed":e.updateErrors}}),e.newComponentType(a,s)?t("div",{key:`${s}-${e.rerenderKey}`,staticClass:"force-newline"}):e._e()]}))]:e._e()],2)},C=[],k=a("44db"),w=a.n(k),x=a("2cb5"),_=a("bfe9"),O=function(){var e,t=this,a=t._self._c;t._self._setupProxy;return t.componentForType?a("div",{class:{wider:t.listComponent,"align-center":"checkbox-var"===(null===(e=t.componentForType)||void 0===e?void 0:e.name),[""+t.componentForType.name]:!0}},[t.componentForType?a(t.componentForType.component,{tag:"component",attrs:{value:t.value,label:t.variable.name,placeholder:t.schema.example,tooltip:t.schema.description,required:t.variable.required&&t.validateRequired,title:t.variable.name,options:t.variableOptions,rules:t.listComponent?[]:t.validationRules,type:"number"===t.schema.type||"integer"===t.schema.type?"number":"text"},on:{input:t.setValue},scopedSlots:t._u([{key:"title",fn:function(){return[a("div",{staticClass:"input-label"},[a("span",[t._v(t._s(t.variable.name)+" "),t.schema.description?a("i",{directives:[{name:"clean-tooltip",rawName:"v-clean-tooltip",value:t.schema.description,expression:"schema.description"}],staticClass:"icon icon-sm icon-info"}):t._e(),t.isValid?t._e():a("i",{directives:[{name:"clean-tooltip",rawName:"v-clean-tooltip",value:t.validationErrors.join(" "),expression:"validationErrors.join(' ')"}],staticClass:"icon icon-warning"})])])]},proxy:!0}],null,!1,149827440)}):t._e(),a("div",{staticClass:"flexbox-newline"})],1):t._e()},P=[],S=a("1032"),j=a("a232"),N=a("977f"),$=a("466b"),R=a("9ce4"),V=i.a.extend({name:"CCVariable",props:{variable:{type:Object,required:!0},value:{type:[String,Object,Boolean,Array,Number],default:()=>null},validateRequired:{type:Boolean,default:!0}},watch:{isValid(e){this.$emit("validation-passed",e)}},created(){this.isValid||this.$emit("validation-passed",!1)},computed:{...Object(R["a"])({t:"i18n/t"}),componentForType(){const{type:e}=this.schema;let t;if(this.variableOptions)t={component:$["a"],name:"text-var"};else switch(e){case"object":t={component:j["a"],name:"keyvalue-var"};break;case"array":t={component:N["a"],name:"arraylist-var"};break;case"string":t={component:b["a"],name:"text-var"};break;case"integer":t={component:b["a"],name:"text-var"};break;case"number":t={component:b["a"],name:"text-var"};break;case"boolean":t={component:S["a"],name:"checkbox-var"};break;default:break}return t},schema(){var e;return null===(e=this.variable)||void 0===e||null===(e=e.schema)||void 0===e?void 0:e.openAPIV3Schema},variableOptions(){var e;const t=null===(e=this.schema)||void 0===e?void 0:e.enum;return t&&t.length?t.map(e=>"object"===typeof e?JSON.stringify(e):e):null},validationRules(){var e;const t=this.t,a=Object(_["e"])(t,{key:this.variable.name},this.schema),s=null===(e=this.variable)||void 0===e?void 0:e.required;return s&&this.validateRequired&&a.push(e=>Object(_["d"])(e)?void 0:t("validation.required",{key:this.variable.name})),a},isValid(){return!this.validationErrors.length},validationErrors(){return this.validationRules.reduce((e,t)=>{const a=t(this.value);return a&&e.push(a),e},[])},listComponent(){var e,t;return"arraylist-var"===(null===(e=this.componentForType)||void 0===e?void 0:e.name)||"keyvalue-var"===(null===(t=this.componentForType)||void 0===t?void 0:t.name)}},methods:{setValue(e){let t=e;const{type:a}=this.schema;if("object"===a)try{t=JSON.parse(e)}catch{}this.$emit("input",t)}}}),D=V,q=(a("52c9"),a("d802")),E=Object(q["a"])(D,O,P,!1,null,"487e7c02",null),L=E.exports,A=i.a.extend({name:"ClusterClassVariables",components:{Variable:L},props:{clusterClass:{type:Object,default:()=>{}},value:{type:Array,default:()=>[]},machineDeploymentClass:{type:String,default:null},machinePoolClass:{type:String,default:null}},data(){return{errorCount:0,rerenderKey:Object(x["n"])()}},watch:{errorCount:{handler:w()((function(e){this.$emit("validation-passed",!e)}),5)},variableDefinitions(e,t){this.updateVariableDefaults(e,t),this.$nextTick(()=>{this.rerenderKey=Object(x["n"])()})}},created(){this.updateVariableDefaults(this.variableDefinitions,[])},computed:{variableDefinitions(){var e;const t=(null===(e=this.clusterClass)||void 0===e||null===(e=e.spec)||void 0===e?void 0:e.variables)||[];if(!this.machineDeploymentClass&&!this.machinePoolClass)return t;const a=this.machineScopedJsonPatches.reduce((e,t)=>{var a;const s=null===t||void 0===t||null===(a=t.valueFrom)||void 0===a?void 0:a.variable;if(!s)return e;const l=s.split(/\.|\[/)[0];return"builtin"!==l&&e.push(l),e},[]);return t.filter(e=>a.includes(e.name))},machineScopedJsonPatches(){var e;if(!this.machineDeploymentClass&&!this.machinePoolClass)return[];const t=[],a=this.machineDeploymentClass||this.machinePoolClass,s=this.machineDeploymentClass?"machineDeploymentClass":"machinePoolClass",l=(null===(e=this.clusterClass)||void 0===e||null===(e=e.spec)||void 0===e?void 0:e.patches)||[];return l.forEach(e=>{const l=(null===e||void 0===e?void 0:e.definitions)||[];l.forEach(e=>{var l;const r=(null===e||void 0===e||null===(l=e.selector)||void 0===l||null===(l=l.matchResources)||void 0===l||null===(l=l[s])||void 0===l?void 0:l.names)||[];r.includes(a)&&t.push(...e.jsonPatches)})}),t}},methods:{valueFor(e){return(this.value.find(t=>t.name===e.name)||{}).value},updateVariables(e,t){const a=[...this.value],s=this.value.findIndex(e=>e.name===t.name);s>=0?a[s].value=e:a.push({value:e,name:t.name}),this.$emit("input",a)},updateVariableDefaults(e,t){const a=[...this.value].reduce((a,s)=>{var l,r,i;const o=(e||[]).find(e=>e.name===s.name);if(!o)return a;const n=null===(l=(t||[]).find(e=>e.name===s.name))||void 0===l||null===(l=l.schema)||void 0===l||null===(l=l.openAPIV3Schema)||void 0===l?void 0:l.default;Object(_["d"])(n)&&s.value===n&&delete s.value;let c=null===(r=o.schema)||void 0===r||null===(r=r.openAPIV3Schema)||void 0===r?void 0:r.default;return"boolean"!==(null===(i=o.schema)||void 0===i||null===(i=i.openAPIV3Schema)||void 0===i?void 0:i.type)||c||(c=!1),Object(_["d"])(c)&&!s.value&&(s.value=c),a.push(s),a},[]);e.forEach(e=>{var t,s;let l=null===(t=e.schema)||void 0===t||null===(t=t.openAPIV3Schema)||void 0===t?void 0:t.default;"boolean"!==(null===(s=e.schema)||void 0===s||null===(s=s.openAPIV3Schema)||void 0===s?void 0:s.type)||l||(l=!1),Object(_["d"])(l)&&!a.find(t=>t.name===e.name)&&a.push({name:e.name,value:l})}),this.errorCount=0,this.$emit("input",a)},updateErrors(e){e?this.errorCount--:this.errorCount++},newComponentType(e,t){var a,s,l;const r=this.$refs,i=null===(a=r[e.name+"-input"])||void 0===a||null===(a=a[0])||void 0===a?void 0:a.$el,o=null===(s=r[(null===(l=this.variableDefinitions[t+1])||void 0===l?void 0:l.name)+"-input"])||void 0===s||null===(s=s[0])||void 0===s?void 0:s.$el;return!!o&&(null===i||void 0===i?void 0:i._prevClass)!==o._prevClass}}}),T=A,I=(a("330a3"),Object(q["a"])(T,y,C,!1,null,"83817b0e",null)),F=I.exports,M=function(){var e=this,t=e._self._c;e._self._setupProxy;return e.rows.length?t("div",{staticClass:"container"},e._l(e.rows,(function(a,s){return t("div",{key:e.get(a,e.keyField),attrs:{"data-testid":e.componentTestid+"-"+s},on:{click:function(t){return e.select(a,s)}}},[t("ClusterClassCard",{attrs:{value:a.obj,selected:a.selected}})],1)})),0):t("div",{staticClass:"m-50 text-center"},[t("h1",{directives:[{name:"t",rawName:"v-t",value:e.noDataKey,expression:"noDataKey"}]})])},B=[],U=a("87ef"),G=a.n(U),z=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"cluster-card-container",class:{selected:!!e.selected},attrs:{"data-testid":"cluster-class-card"}},[t("div",{staticClass:"card-wrap"},[t("div",{staticClass:"name"},[e._v(" "+e._s(e.name)+" ")]),t("div",{staticClass:"description"},[t("p",[e._v(e._s(e.description))])]),t("div",{staticClass:"container"},[t("div",{staticClass:"leftcol"},[t("ClusterCardField",{attrs:{value:e.controlPlaneName,name:e.t("capi.clusterClassCard.controlPlaneName")}}),t("ClusterCardField",{attrs:{value:e.controlPlaneKind,name:e.t("capi.clusterClassCard.controlPlaneKind")}}),t("ClusterCardField",{attrs:{value:e.controlPlaneNamespace,name:e.t("capi.clusterClassCard.controlPlaneNamespace")}})],1),t("div",{staticClass:"rightcol"},[e.machineDeploymentsCount>0?t("ClusterCardField",{attrs:{value:e.machineDeploymentsList,name:e.t("capi.clusterClassCard.machineDeploymentsCount",{count:e.machineDeploymentsCount})}}):e._e(),e.machinePoolsCount>0?t("ClusterCardField",{attrs:{value:e.machinePoolsList,name:e.t("capi.clusterClassCard.machinePoolsCount",{count:e.machinePoolsCount})}}):e._e()],1)])])])},K=[],W=function(){var e=this,t=e._self._c;return t("div",{staticClass:"label"},[t("div",{staticClass:"text-label"},[e._t("name",(function(){return[e._v(" "+e._s(e.name)+" ")]}))],2),t("div",{staticClass:"value"},[e._t("value",(function(){return[e._v(" "+e._s(e.value)+" ")]}))],2)])},H=[],J={props:{name:{type:String,required:!0},value:{type:[Number,String,void 0],default:""}}},Q=J,X=(a("4774b"),Object(q["a"])(Q,W,H,!1,null,"7407ec5d",null)),Z=X.exports,Y=i.a.extend({name:"ClusterClassCard",components:{ClusterCardField:Z},props:{value:{type:Object,required:!0},selected:{type:Boolean,default:!1}},data(){return{cloneData:!0,errors:[]}},computed:{...Object(R["a"])({t:"i18n/t"}),name(){var e;return(null===(e=this.value)||void 0===e||null===(e=e.metadata)||void 0===e?void 0:e.name)||""},description(){var e;return(null===(e=this.value)||void 0===e||null===(e=e.metadata)||void 0===e||null===(e=e.annotations)||void 0===e?void 0:e.description)||""},controlPlaneName(){var e;return null===(e=this.value)||void 0===e||null===(e=e.spec)||void 0===e||null===(e=e.controlPlane)||void 0===e||null===(e=e.ref)||void 0===e?void 0:e.name},controlPlaneKind(){var e;return null===(e=this.value)||void 0===e||null===(e=e.spec)||void 0===e||null===(e=e.controlPlane)||void 0===e||null===(e=e.ref)||void 0===e?void 0:e.kind},controlPlaneNamespace(){var e;return null===(e=this.value)||void 0===e||null===(e=e.spec)||void 0===e||null===(e=e.controlPlane)||void 0===e||null===(e=e.ref)||void 0===e?void 0:e.namespace},machineDeploymentsCount(){var e;return null===(e=this.value)||void 0===e||null===(e=e.spec)||void 0===e||null===(e=e.workers)||void 0===e||null===(e=e.machineDeployments)||void 0===e?void 0:e.length},machineDeploymentsList(){var e;return(null===(e=this.value)||void 0===e||null===(e=e.spec)||void 0===e||null===(e=e.workers)||void 0===e||null===(e=e.machineDeployments)||void 0===e?void 0:e.map(e=>e.class).join(", "))||""},machinePoolsCount(){var e;return null===(e=this.value)||void 0===e||null===(e=e.spec)||void 0===e||null===(e=e.workers)||void 0===e||null===(e=e.machinePools)||void 0===e?void 0:e.length},machinePoolsList(){var e;return(null===(e=this.value)||void 0===e||null===(e=e.spec)||void 0===e||null===(e=e.workers)||void 0===e||null===(e=e.machinePools)||void 0===e?void 0:e.map(e=>e.class).join(", "))||""}}}),ee=Y,te=(a("9b7b"),Object(q["a"])(ee,z,K,!1,null,"40d0155a",null)),ae=te.exports,se=i.a.extend({components:{ClusterClassCard:ae},name:"CardGrid",props:{rows:{type:Array,required:!0},keyField:{type:String,default:"key"},noDataKey:{type:String,default:"sortableTable.noRows"},componentTestid:{type:String,default:"select-card-grid"}},methods:{get:n["g"],select(e,t){this.resetSelected(),this.rows[t].selected=!0,this.$emit("clicked",e,t)},resetSelected(){this.rows.map(e=>{e.selected=!1})},capitalize:G.a}}),le=se,re=(a("2ea8"),Object(q["a"])(le,M,B,!1,null,"e4d7fae2",null)),ie=re.exports,oe=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",[e.title?t("div",{staticClass:"clearfix"},[e._t("title",(function(){return[t("h3",[e._v(" "+e._s(e.title)+" ")])]}))],2):e._e(),e.rows.length?e._l(e.rows,(function(a,s){return t("div",{key:s,staticClass:"box",attrs:{"data-testid":"array-list-box"+s}},[e._t("columns",(function(){return[t("div",{staticClass:"value"},[e._t("value",(function(){return[t("div",{staticClass:"col mt-20"},[t("LabeledInput",{ref:"value",refInFor:!0,attrs:{mode:e.mode,disabled:!1,label:e.t("capi.cluster.workers.name")},model:{value:a.value.name,callback:function(t){e.$set(a.value,"name",t)},expression:"row.value.name"}})],1),t("div",{staticClass:"col mt-20"},[t("LabeledSelect",{attrs:{mode:e.mode,options:e.classOptions,"label-key":"capi.cluster.workers.class"},model:{value:a.value.class,callback:function(t){e.$set(a.value,"class",t)},expression:"row.value.class"}})],1)]}),{row:a,mode:e.mode,isView:e.isView,queueUpdate:e.queueUpdate}),e.removeAllowed?t("div",{staticClass:"remove"},[e._t("remove-button",(function(){return[t("button",{staticClass:"btn role-link",attrs:{type:"button",disabled:e.isView,"data-testid":"remove-item-"+s},on:{click:function(t){return e.remove(a,s)}}},[e._v(" "+e._s(e.removeLabel)+" ")])]}),{remove:()=>e.remove(a,s),i:s,row:a})],2):e._e()],2)]}),{queueUpdate:e.queueUpdate,i:s,rows:e.rows,row:a,mode:e.mode,isView:e.isView})],2)})):"view"===e.mode?t("div",{staticClass:"text-muted"},[e._v(" — ")]):t("div",[e._t("empty")],2),e.addAllowed&&!e.isView?t("div",{staticClass:"footer"},[e.addAllowed?e._t("add",(function(){return[t("button",{staticClass:"btn role-tertiary add",attrs:{type:"button",disabled:e.loading,"data-testid":"array-list-button"},on:{click:function(t){return e.add()}}},[e.loading?t("i",{staticClass:"mr-5 icon icon-spinner icon-spin icon-lg"}):e._e(),e._v(" "+e._s(e.addLabel)+" ")])]}),{add:e.add}):e._e()],2):e._e()],2)},ne=[],ce=i.a.extend({components:{LabeledSelect:$["a"],LabeledInput:b["a"]},props:{value:{type:Array,default:null},mode:{type:String,default:o["n"]},title:{type:String,required:!0},classOptions:{type:Array,default:null},addAllowed:{type:Boolean,default:!0},removeAllowed:{type:Boolean,default:!0},defaultAddValue:{type:[String,Number,Object,Array],default:""},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},data(){const e=(this.value||[]).slice(),t=[];for(const a of e)t.push({value:a});if(!t.length){const e=this.defaultAddValue?Object(n["e"])(this.defaultAddValue):"";t.push({value:e})}return{rows:t,lastUpdateWasFromValue:!1}},computed:{isView(){return this.mode===o["r"]},removeLabel(){return this.$store.getters["i18n/t"]("generic.remove")},addLabel(){return this.$store.getters["i18n/t"]("generic.add")}},watch:{value(){this.lastUpdateWasFromValue=!0,this.rows=(this.value||[]).map(e=>({value:e}))},rows:{deep:!0,handler(){this.lastUpdateWasFromValue||this.queueUpdate(),this.lastUpdateWasFromValue=!1}}},created(){this.queueUpdate=w()(this.update,50)},methods:{add(){this.rows.push({value:Object(n["e"])(this.defaultAddValue)}),this.defaultAddValue&&this.queueUpdate(),this.$nextTick(()=>{const e=this.$refs.value;e&&e.length>0&&e[e.length-1].focus(),this.$emit("add")})},remove(e,t){this.$emit("remove",{row:e,index:t}),Object(h["h"])(this.rows,t),this.queueUpdate()},update(){if(this.isView)return;const e=[];for(const t of this.rows){const a=t.value;"undefined"!==typeof a&&e.push(a)}this.$emit("input",e)}}}),ue=ce,de=Object(q["a"])(ue,oe,ne,!1,null,null,null),ve=de.exports,pe=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",[t("div",{staticClass:"row mb-20"},[t("div",{staticClass:"col span-3"},[t("LabeledInput",{attrs:{value:e.apiServerPort,mode:e.mode,disabled:e.clusterIsAlreadyCreated,label:e.t("capi.cluster.networking.apiServerPort"),rules:e.rules.apiServerPort,required:""},on:{input:function(t){return e.$emit("api-server-port-changed",t)}}})],1),t("div",{staticClass:"col span-3"},[t("LabeledInput",{attrs:{value:e.serviceDomain,mode:e.mode,disabled:e.clusterIsAlreadyCreated,label:e.t("capi.cluster.networking.serviceDomain"),rules:e.rules.serviceDomain},on:{input:function(t){return e.$emit("service-domain-changed",t)}}})],1)]),t("div",{staticClass:"row mb-20"},[t("div",{staticClass:"col span-3"},[t("ArrayList",{attrs:{value:e.podsCidrBlocks,protip:!1,mode:e.mode,title:e.t("capi.cluster.networking.pods"),rules:e.rules.pods},on:{input:function(t){return e.$emit("pods-cidr-blocks-changed",t)}}})],1),t("div",{staticClass:"col span-3"},[t("ArrayList",{attrs:{value:e.servicesCidrBlocks,protip:!1,mode:e.mode,title:e.t("capi.cluster.networking.services"),rules:e.rules.services},on:{input:function(t){return e.$emit("services-cidr-blocks-changed",t)}}})],1)])])},me=[],he=i.a.extend({components:{LabeledInput:b["a"],ArrayList:N["a"]},props:{value:{type:Object,required:!0},mode:{type:String,required:!0},rules:{default:()=>({serviceDomain:[],apiServerPort:[],pods:[],services:[]}),type:Object}},computed:{...Object(R["a"])({t:"i18n/t"}),clusterIsAlreadyCreated(){return this.mode===o["n"]},apiServerPort(){var e;return null===(e=this.value)||void 0===e?void 0:e.apiServerPort},serviceDomain(){var e;return null===(e=this.value)||void 0===e?void 0:e.serviceDomain},podsCidrBlocks(){var e;return null===(e=this.value)||void 0===e||null===(e=e.pods)||void 0===e?void 0:e.cidrBlocks},servicesCidrBlocks(){var e;return null===(e=this.value)||void 0===e||null===(e=e.services)||void 0===e?void 0:e.cidrBlocks}}}),be=he,fe=Object(q["a"])(be,pe,me,!1,null,null,null),ge=fe.exports,ye=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",[t("div",{staticClass:"row mb-20"},[t("div",{staticClass:"col"},[t("LabeledInput",{attrs:{mode:e.mode,disabled:e.clusterIsAlreadyCreated,label:e.t("capi.cluster.controlPlaneEndpoint.host"),rules:e.rules.host},model:{value:e.value.host,callback:function(t){e.$set(e.value,"host",t)},expression:"value.host"}})],1),t("div",{staticClass:"col"},[t("LabeledInput",{attrs:{mode:e.mode,disabled:e.clusterIsAlreadyCreated,label:e.t("capi.cluster.controlPlaneEndpoint.port"),rules:e.rules.port},model:{value:e.value.port,callback:function(t){e.$set(e.value,"port",e._n(t))},expression:"value.port"}})],1)])])},Ce=[],ke=i.a.extend({name:"ControlPlaneEndpointSection",components:{LabeledInput:b["a"]},props:{value:{type:Object,required:!0},mode:{type:String,required:!0},rules:{default:()=>({host:[],port:[]}),type:Object}},computed:{...Object(R["a"])({t:"i18n/t"}),clusterIsAlreadyCreated(){return this.mode===o["n"]}}}),we=ke,xe=Object(q["a"])(we,ye,Ce,!1,null,null,null),_e=xe.exports;const Oe={version:"",class:"",workers:{machineDeployments:[],machinePools:[]}},Pe={apiServerPort:6443,pods:{cidrBlocks:[]},serviceDomain:"",services:{cidrBlocks:[]}},Se={host:"",port:49152};var je=i.a.extend({name:"ClusterConfig",components:{CruResource:d["a"],Loading:u["a"],NameNsDescription:f["a"],LabeledInput:b["a"],WorkerItem:ve,NetworkSection:ge,ControlPlaneEndpointSection:_e,ClusterClassVariables:F,CardGrid:ie},mixins:[c["a"],g["a"]],props:{mode:{type:String,required:!0},value:{type:Object,required:!0},preselectedClass:{type:String,required:!1,default:""},clusterClasses:{type:Array,required:!0}},beforeMount(){this.initSpecs(),this.$nextTick(()=>{this.loading=!1})},data(){const e=this.$store,t=e.getters["i18n/t"],a={name:"stepClusterClass",title:t("capi.cluster.steps.clusterClass.title"),label:t("capi.cluster.steps.clusterClass.label"),subtext:"",descriptionKey:"capi.cluster.steps.clusterClass.description",ready:!1,weight:30},s={name:"stepConfiguration",title:t("capi.cluster.steps.configuration.title"),label:t("capi.cluster.steps.configuration.label"),subtext:"",descriptionKey:"capi.cluster.steps.configuration.description",ready:!1,weight:30},l={name:"stepVariables",title:t("capi.cluster.steps.variables.title"),label:t("capi.cluster.steps.variables.label"),subtext:"",descriptionKey:"capi.cluster.steps.variables.description",ready:!0,weight:30},r=this.preselectedClass?[s,l]:[a,s,l];return{addSteps:r,fvFormRuleSets:[{path:"metadata.name",rules:["required"]},{path:"spec.topology.version",rules:["required","version"]},{path:"spec.controlPlaneEndpoint.host",rules:["host"]},{path:"spec.controlPlaneEndpoint.port",rules:["port"]},{path:"spec.clusterNetwork.serviceDomain",rules:["host"]},{path:"spec.clusterNetwork.apiServerPort",rules:["required","port"]},{path:"spec.clusterNetwork.pods",rules:["cidr"]},{path:"spec.clusterNetwork.services",rules:["cidr"]}],credentialId:"",credential:null,versionInfo:{},defaultWorkerAddValue:{name:"",class:""},variablesReady:!0,clusterClassObj:null,loading:!0}},watch:{clusterClassObj(e){const t=this.addSteps.find(e=>"stepClusterClass"===e.name);t&&this.$set(t,"ready",!!e)},stepConfigurationRequires(e){const t=this.addSteps.find(e=>"stepConfiguration"===e.name);this.$set(t,"ready",e)},variablesReady(e){const t=this.addSteps.find(e=>"stepVariables"===e.name);this.$set(t,"ready",e)}},computed:{modeOptions(){return[{label:this.t("capi.cluster.secret.reuse"),value:!1},{label:this.t("capi.cluster.secret.create"),value:!0}]},fvExtraRules(){return{version:Object(_["j"])(this.$store.getters["i18n/t"],this.controlPlane),host:Object(_["c"])(this.$store.getters["i18n/t"]),port:Object(_["f"])(this.$store.getters["i18n/t"]),cidr:Object(_["b"])(this.$store.getters["i18n/t"])}},stepConfigurationRequires(){var e,t,a,s,l,r,i,o,n,c,u,d,v,p;const m=!!this.value.metadata.name,h=Object(_["i"])(this.$store.getters["i18n/t"],this.controlPlane),b=(null===(e=this.value)||void 0===e||null===(e=e.spec)||void 0===e||null===(e=e.topology)||void 0===e?void 0:e.version)&&!(null===(t=this.value)||void 0===t||null===(t=t.spec)||void 0===t||null===(t=t.topology)||void 0===t||!t.version.match(h)),f=!Object(_["f"])(this.$store.getters["i18n/t"])(null===(a=this.value)||void 0===a||null===(a=a.spec)||void 0===a||null===(a=a.controlPlaneEndpoint)||void 0===a?void 0:a.port),g=!Object(_["c"])(this.$store.getters["i18n/t"])(null===(s=this.value)||void 0===s||null===(s=s.spec)||void 0===s||null===(s=s.controlPlaneEndpoint)||void 0===s?void 0:s.host),y=(null===(l=this.value)||void 0===l||null===(l=l.spec)||void 0===l||null===(l=l.topology)||void 0===l||null===(l=l.workers)||void 0===l||null===(l=l.machineDeployments)||void 0===l?void 0:l.length)>0&&!(null===(r=this.value)||void 0===r||null===(r=r.spec)||void 0===r||null===(r=r.topology)||void 0===r||null===(r=r.workers)||void 0===r||null===(r=r.machineDeployments[0])||void 0===r||!r.name)&&!(null===(i=this.value)||void 0===i||null===(i=i.spec)||void 0===i||null===(i=i.topology)||void 0===i||null===(i=i.workers)||void 0===i||null===(i=i.machineDeployments[0])||void 0===i||!i.class),C=(null===(o=this.value)||void 0===o||null===(o=o.spec)||void 0===o||null===(o=o.topology)||void 0===o||null===(o=o.workers)||void 0===o||null===(o=o.machinePools)||void 0===o?void 0:o.length)>0&&!(null===(n=this.value)||void 0===n||null===(n=n.spec)||void 0===n||null===(n=n.topology)||void 0===n||null===(n=n.workers)||void 0===n||null===(n=n.machinePools[0])||void 0===n||!n.name)&&!(null===(c=this.value)||void 0===c||null===(c=c.spec)||void 0===c||null===(c=c.topology)||void 0===c||null===(c=c.workers)||void 0===c||null===(c=c.machinePools[0])||void 0===c||!c.class),k=!(null!==(u=this.value)&&void 0!==u&&null!==(u=u.spec)&&void 0!==u&&null!==(u=u.clusterNetwork)&&void 0!==u&&null!==(u=u.pods)&&void 0!==u&&u.cidrBlocks)||Object(_["a"])(this.value.spec.clusterNetwork.pods.cidrBlocks),w=!(null!==(d=this.value)&&void 0!==d&&null!==(d=d.spec)&&void 0!==d&&null!==(d=d.clusterNetwork)&&void 0!==d&&null!==(d=d.services)&&void 0!==d&&d.cidrBlocks)||Object(_["a"])(this.value.spec.clusterNetwork.services.cidrBlocks),x=!(null===(v=this.value)||void 0===v||null===(v=v.spec)||void 0===v||null===(v=v.clusterNetwork)||void 0===v||!v.apiServerPort)&&!isNaN(null===(p=this.value)||void 0===p||null===(p=p.spec)||void 0===p||null===(p=p.clusterNetwork)||void 0===p?void 0:p.apiServerPort)&&k&&w;return m&&b&&g&&f&&x&&(y||C)},clusterNetwork(){var e;return null===(e=this.value)||void 0===e||null===(e=e.spec)||void 0===e?void 0:e.clusterNetwork},controlPlaneEndpoint(){var e;return null===(e=this.value)||void 0===e||null===(e=e.spec)||void 0===e?void 0:e.controlPlaneEndpoint},machineDeploymentOptions(){var e;return null===(e=this.clusterClassObj)||void 0===e||null===(e=e.spec)||void 0===e||null===(e=e.workers)||void 0===e||null===(e=e.machineDeployments)||void 0===e?void 0:e.map(e=>e.class)},machinePoolOptions(){var e;return null===(e=this.clusterClassObj)||void 0===e||null===(e=e.spec)||void 0===e||null===(e=e.workers)||void 0===e||null===(e=e.machinePools)||void 0===e?void 0:e.map(e=>e.class)},controlPlane(){var e;return null===(e=this.clusterClassObj)||void 0===e||null===(e=e.spec)||void 0===e||null===(e=e.controlPlane)||void 0===e||null===(e=e.ref)||void 0===e?void 0:e.name},clusterClassOptions(){const e=[],t=this.clusterClassObj;return this.clusterClasses.forEach(e=>{a(e)}),e;function a(a){var s;const l=null===a||void 0===a||null===(s=a.metadata)||void 0===s?void 0:s.name,r={id:l,obj:a,selected:t===a};e.push(r)}}},methods:{set:n["k"],setClassInfo(e){this.clusterClassObj=this.clusterClasses.find(t=>{const a=unescape(e).split("/");return t.metadata.namespace===a[0]&&t.metadata.name===a[1]}),this.clusterClassObj?(this.setClass(),this.setNamespace()):this.errors.push(this.t("error.clusterClassNotFound"))},setClass(){var e;const t=null===(e=this.clusterClassObj)||void 0===e||null===(e=e.metadata)||void 0===e?void 0:e.name;this.set(this.value.spec.topology,"class",t)},setNamespace(){var e;const t=null===(e=this.clusterClassObj)||void 0===e||null===(e=e.metadata)||void 0===e?void 0:e.namespace;this.set(this.value.metadata,"namespace",t)},async saveOverride(){this.errors&&Object(h["c"])(this.errors);try{return await this.value.save(),this.done()}catch(e){this.errors.push(e)}},initSpecs(){this.value.spec||Object(n["k"])(this.value,"spec",{}),this.value.spec.topology||Object(n["k"])(this.value.spec,"topology",Object(n["e"])(Oe)),this.value.spec.clusterNetwork||Object(n["k"])(this.value.spec,"clusterNetwork",Object(n["e"])(Pe)),this.value.spec.controlPlaneEndpoint||Object(n["k"])(this.value.spec,"controlPlaneEndpoint",Object(n["e"])(Se)),this.preselectedClass&&this.setClassInfo(this.preselectedClass)},cancelCredential(){this.$refs.cruresource&&this.$refs.cruresource.emitOrRoute()},cancel(){this.$router.push({name:"c-cluster-manager-capi",params:{}})},done(){this.$router.push({name:"c-cluster-manager-capi",params:{}})},clickedType(e){this.clusterClassObj=this.clusterClasses.find(t=>t.metadata.name===e.id),this.setClass(),this.setNamespace()},podsCidrBlocksChanged(e){var t;null!==(t=this.value.spec.clusterNetwork)&&void 0!==t&&t.pods||Object(n["k"])(this.value.spec.clusterNetwork,"pods",[]),Object(n["k"])(this.value.spec.clusterNetwork.pods,"cidrBlocks",e)},servicesCidrBlocksChanged(e){var t;null!==(t=this.value.spec.clusterNetwork)&&void 0!==t&&t.services||Object(n["k"])(this.value.spec.clusterNetwork,"services",[]),Object(n["k"])(this.value.spec.clusterNetwork.services,"cidrBlocks",e)}}}),Ne=je,$e=(a("e88c"),Object(q["a"])(Ne,p,m,!1,null,"6f30e1ac",null)),Re=$e.exports,Ve=i.a.extend({name:"CreateCluster",components:{CruResource:d["a"],Loading:u["a"],ClusterConfig:Re},mixins:[c["a"]],props:{value:{type:Object,default:null},componentTestid:{type:String,default:"capi-provider-create"},mode:{type:String,required:!0}},beforeMount(){this.value.spec||Object(n["k"])(this.value,"spec",{}),this.value.id||this.value.metadata||Object(n["k"])(this.value,"metadata",{}),this.getClusterClasses().then(e=>{this.clusterClasses=e,this.loading=!1}).catch(e=>{this.errors.push(e),this.loading=!1})},data(){var e,t;const a=this.$route,s=a.query[o["g"]]||null,l=a.query[v["f"].CLASS],r=null===(e=this.value)||void 0===e||null===(e=e.spec)||void 0===e||null===(e=e.topology)||void 0===e?void 0:e.class,i=null===(t=this.value)||void 0===t||null===(t=t.metadata)||void 0===t?void 0:t.namespace,n=i&&r?escape(`${i}/${r}`):null,c=l||n||null;return{subType:s,preselectedClass:c,capiProviders:[],clusterClasses:[],loading:!0}},methods:{async getClusterClasses(){const e=await this.$store.dispatch("management/findAll",{type:v["b"].CLUSTER_CLASS});return e},cancel(){this.$router.push({name:"c-cluster-manager-capi",params:{}})}}}),De=Ve,qe=Object(q["a"])(De,s,l,!1,null,null,null);t["default"]=qe.exports},e88c:function(e,t,a){"use strict";a("f063")},ea19:function(e,t,a){var s=a("5eaa");t=s(!1),t.push([e.i,'.align-center[data-v-487e7c02]{align-self:"center"}.input-label[data-v-487e7c02]{color:var(--input-label);margin-bottom:5px;display:block;width:100%}.input-label .icon-warning[data-v-487e7c02]{color:var(--error)}',""]),e.exports=t},ef3f:function(e,t,a){var s=a("89e5");s.__esModule&&(s=s.default),"string"===typeof s&&(s=[[e.i,s,""]]),s.locals&&(e.exports=s.locals);var l=a("0ed3").default;l("1e7aae74",s,!0,{sourceMap:!1,shadowMode:!1})},f063:function(e,t,a){var s=a("e142");s.__esModule&&(s=s.default),"string"===typeof s&&(s=[[e.i,s,""]]),s.locals&&(e.exports=s.locals);var l=a("0ed3").default;l("ae6a1ad0",s,!0,{sourceMap:!1,shadowMode:!1})},f359:function(e,t,a){var s=a("be3e");s.__esModule&&(s=s.default),"string"===typeof s&&(s=[[e.i,s,""]]),s.locals&&(e.exports=s.locals);var l=a("0ed3").default;l("a354281e",s,!0,{sourceMap:!1,shadowMode:!1})},f954:function(e,t,a){var s=a("4369");s.__esModule&&(s=s.default),"string"===typeof s&&(s=[[e.i,s,""]]),s.locals&&(e.exports=s.locals);var l=a("0ed3").default;l("5a8cc4b7",s,!0,{sourceMap:!1,shadowMode:!1})}}]); +//# sourceMappingURL=capi-0.4.0.umd.min.edit.js.map \ No newline at end of file diff --git a/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.edit.js.map b/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.edit.js.map new file mode 100644 index 0000000..ba178d4 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/capi-0.4.0.umd.min.edit.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack://capi-0.4.0/./edit/turtles-capi.cattle.io.capiprovider/index.vue?cfee","webpack://capi-0.4.0/./components/CardGrid.vue?c65f","webpack://capi-0.4.0/./components/CCVariables/index.vue?8a5e","webpack://capi-0.4.0/./edit/turtles-capi.cattle.io.capiprovider/index.vue","webpack://capi-0.4.0/./edit/turtles-capi.cattle.io.capiprovider/ProviderConfig.vue","webpack://capi-0.4.0/./edit/turtles-capi.cattle.io.capiprovider/ProviderConfig.vue?ac3f","webpack://capi-0.4.0/./edit/turtles-capi.cattle.io.capiprovider/ProviderConfig.vue?cb95","webpack://capi-0.4.0/./edit/turtles-capi.cattle.io.capiprovider/ProviderConfig.vue?fb78","webpack://capi-0.4.0/./edit/turtles-capi.cattle.io.capiprovider/index.vue?4fa2","webpack://capi-0.4.0/./edit/turtles-capi.cattle.io.capiprovider/index.vue?1cf9","webpack://capi-0.4.0/./edit/turtles-capi.cattle.io.capiprovider/index.vue?df1a","webpack://capi-0.4.0/./assets/images/providers sync ^\\.\\/.*\\.svg$","webpack://capi-0.4.0/./components/ClusterClassCard/ClusterCardField.vue?423f","webpack://capi-0.4.0/./components/CardGrid.vue?3fcb","webpack://capi-0.4.0/./components/ClusterClassCard/ClusterCardField.vue?1db6","webpack://capi-0.4.0/./.shell/assets/images/providers sync ^\\.\\/.*\\.svg$","webpack://capi-0.4.0/./components/CCVariables/Variable.vue?097e","webpack://capi-0.4.0/./edit/turtles-capi.cattle.io.capiprovider/index.vue?3819","webpack://capi-0.4.0/./components/CCVariables/Variable.vue?457c","webpack://capi-0.4.0/./components/CardGrid.vue?8cdb","webpack://capi-0.4.0/./assets/images/providers/docker.svg","webpack://capi-0.4.0/./assets/images/providers/vsphere-black.svg","webpack://capi-0.4.0/./assets/images/providers/vsphere.svg","webpack://capi-0.4.0/./components/ClusterClassCard/index.vue?9a8d","webpack://capi-0.4.0/./edit/turtles-capi.cattle.io.capiprovider/index.vue?fbd8","webpack://capi-0.4.0/./components/ClusterClassCard/index.vue?8b8e","webpack://capi-0.4.0/./components/CCVariables/index.vue?fa2e","webpack://capi-0.4.0/./util/validators.ts","webpack://capi-0.4.0/./edit/cluster.x-k8s.io.cluster/ClusterConfig.vue?9f63","webpack://capi-0.4.0/./edit/cluster.x-k8s.io.cluster/index.vue","webpack://capi-0.4.0/./edit/cluster.x-k8s.io.cluster/ClusterConfig.vue","webpack://capi-0.4.0/./components/CCVariables/index.vue","webpack://capi-0.4.0/./components/CCVariables/Variable.vue","webpack://capi-0.4.0/./components/CCVariables/Variable.vue?80e7","webpack://capi-0.4.0/./components/CCVariables/Variable.vue?00fe","webpack://capi-0.4.0/./components/CCVariables/Variable.vue?a70f","webpack://capi-0.4.0/./components/CCVariables/index.vue?e9a9","webpack://capi-0.4.0/./components/CCVariables/index.vue?d726","webpack://capi-0.4.0/./components/CCVariables/index.vue?ca61","webpack://capi-0.4.0/./components/CardGrid.vue","webpack://capi-0.4.0/./components/ClusterClassCard/index.vue","webpack://capi-0.4.0/./components/ClusterClassCard/ClusterCardField.vue","webpack://capi-0.4.0/components/ClusterClassCard/ClusterCardField.vue","webpack://capi-0.4.0/./components/ClusterClassCard/ClusterCardField.vue?7b8b","webpack://capi-0.4.0/./components/ClusterClassCard/ClusterCardField.vue?c04e","webpack://capi-0.4.0/./components/ClusterClassCard/index.vue?0f5c","webpack://capi-0.4.0/./components/ClusterClassCard/index.vue?8114","webpack://capi-0.4.0/./components/ClusterClassCard/index.vue?8a64","webpack://capi-0.4.0/./components/CardGrid.vue?82e1","webpack://capi-0.4.0/./components/CardGrid.vue?c9c2","webpack://capi-0.4.0/./components/CardGrid.vue?4f39","webpack://capi-0.4.0/./edit/cluster.x-k8s.io.cluster/WorkerItem.vue","webpack://capi-0.4.0/./edit/cluster.x-k8s.io.cluster/WorkerItem.vue?89f4","webpack://capi-0.4.0/./edit/cluster.x-k8s.io.cluster/WorkerItem.vue?92e7","webpack://capi-0.4.0/./edit/cluster.x-k8s.io.cluster/WorkerItem.vue?9eea","webpack://capi-0.4.0/./edit/cluster.x-k8s.io.cluster/NetworkSection.vue","webpack://capi-0.4.0/./edit/cluster.x-k8s.io.cluster/NetworkSection.vue?ed4f","webpack://capi-0.4.0/./edit/cluster.x-k8s.io.cluster/NetworkSection.vue?e4dc","webpack://capi-0.4.0/./edit/cluster.x-k8s.io.cluster/NetworkSection.vue?d9e3","webpack://capi-0.4.0/./edit/cluster.x-k8s.io.cluster/ControlPlaneEndpointSection.vue","webpack://capi-0.4.0/./edit/cluster.x-k8s.io.cluster/ControlPlaneEndpointSection.vue?fe97","webpack://capi-0.4.0/./edit/cluster.x-k8s.io.cluster/ControlPlaneEndpointSection.vue?edd2","webpack://capi-0.4.0/./edit/cluster.x-k8s.io.cluster/ControlPlaneEndpointSection.vue?4d01","webpack://capi-0.4.0/./edit/cluster.x-k8s.io.cluster/ClusterConfig.vue?890d","webpack://capi-0.4.0/./edit/cluster.x-k8s.io.cluster/ClusterConfig.vue?b3d2","webpack://capi-0.4.0/./edit/cluster.x-k8s.io.cluster/ClusterConfig.vue?d0ed","webpack://capi-0.4.0/./edit/cluster.x-k8s.io.cluster/index.vue?d355","webpack://capi-0.4.0/./edit/cluster.x-k8s.io.cluster/index.vue?483d","webpack://capi-0.4.0/./edit/cluster.x-k8s.io.cluster/index.vue?43a1","webpack://capi-0.4.0/./edit/cluster.x-k8s.io.cluster/ClusterConfig.vue?c4b8","webpack://capi-0.4.0/./components/CCVariables/Variable.vue?8a6e","webpack://capi-0.4.0/./components/ClusterClassCard/index.vue?dcaf","webpack://capi-0.4.0/./edit/cluster.x-k8s.io.cluster/ClusterConfig.vue?13ef","webpack://capi-0.4.0/./components/CCVariables/index.vue?81b3","webpack://capi-0.4.0/./components/ClusterClassCard/ClusterCardField.vue?b46b"],"names":["___CSS_LOADER_API_IMPORT___","exports","push","module","i","render","_vm","this","_c","_self","_setupProxy","staticClass","attrs","mode","subType","value","errors","subTypes","on","save","done","selectType","e","scopedSlots","_u","key","fn","staticStyle","clickedType","proxy","initialValue","liveValue","model","callback","$$v","expression","_e","staticRenderFns","loading","fvFormIsValid","fvUnreportedValidationErrors","doneRoute","applyHooks","saveOverride","waitingForCredential","allNamespaces","name","fvGetAndReportPathRules","isCustom","spec","$set","typeOptions","type","version","fetchConfig","url","needCredential","hasFeatures","hasVariables","provider","cancelCredential","showForm","credentials","rancherCloudCredentialNamespaceName","shouldShowBanner","_v","_s","t","features","clusterResourceSet","clusterTopology","machinePool","variables","defaultFeatures","defaultVariables","defaultSpec","configSecret","customProviderSpec","providerTypes","Vue","extend","components","CruResource","Loading","NameNsDescription","SelectCredential","Checkbox","KeyValue","LabeledInput","LabeledSelect","Banner","mixins","CreateEditView","FormValidation","props","String","required","Object","beforeMount","getDependencies","then","hash","namespaces","coreProviderSecret","initSpecs","catch","err","data","providerDetails","PROVIDER_TYPES","find","p","id","needCredentials","disabled","fvFormRuleSets","path","rules","computed","mapGetters","fvExtraRules","providerVersionValidator","$store","getters","urlValidator","isCreate","_CREATE","isEdit","_EDIT","_this$value","_this$value2","methods","defaultsFromCoreProvider","getSpecFromCoreSecret","set","generateName","_this$coreProviderSec","coreProviderSecretData","FEATURES_KEYS","clone","forEach","EXP_CLUSTER_RESOURCE_SET","CLUSTER_TOPOLOGY","EXP_MACHINE_POOL","randomStr","toLowerCase","undefined","inStore","NAMESPACE","hashPromises","dispatch","SECRET","RANCHER_TURTLES_SYSTEM_NAMESPACE","RANCHER_TURTLES_SYSTEM_NAME","opt","watch","force","allHash","btnCb","_this$value$spec","clear","$refs","cruresource","emitOrRoute","component","SelectIconGrid","ProviderConfig","default","componentTestid","$route","query","SUB_TYPE","out","addType","label","description","icon","require","providerType","obj","$router","applyQuery","$emit","map","webpackContext","req","webpackContextResolve","__webpack_require__","o","Error","code","keys","resolve","content","__esModule","locals","add","openAPIV3SchemaValidators","openAPIV3Schema","exclusiveMinimum","exclusiveMaximum","maxItems","maxLength","maximum","minItems","minLength","minimum","pattern","uniqueItems","requiredFields","format","val","Number","max","min","length","regexValidator","RegExp","stringFormatValidators","filter","item","index","indexOf","toString","errorMessage","regexp","match","formRules","formRulesGenerator","wildcardHostname","isIpv4","isValidCIDR","isValidMac","isDefined","isEmpty","versionTest","ending","CP_VERSIONS","join","versionValidator","test","hostValidator","portValidator","isNaN","cidrValidator","cidrArrayValid","arr","every","preselectedClass","clusterClasses","cancel","addSteps","clusterClassOptions","isView","topology","host","port","controlPlaneEndpoint","serviceDomain","apiServerPort","pods","services","clusterNetwork","podsCidrBlocksChanged","servicesCidrBlocksChanged","machineDeploymentOptions","defaultWorkerAddValue","workers","machineDeployments","machinePoolOptions","machinePools","clusterClassObj","variablesReady","variableDefinitions","_l","variableDef","ref","refInFor","valueFor","machineDeploymentClass","machinePoolClass","updateVariables","updateErrors","newComponentType","rerenderKey","_vm$componentForType","componentForType","class","listComponent","tag","variable","schema","example","validateRequired","variableOptions","validationRules","setValue","directives","rawName","isValid","validationErrors","Boolean","Array","neu","created","ArrayList","_this$variable","_this$schema","opts","enum","JSON","stringify","_this$variable2","reduce","errs","rule","message","_this$componentForTyp","_this$componentForTyp2","parse","Variable","clusterClass","errorCount","handler","debounce","old","updateVariableDefaults","$nextTick","_this$clusterClass","allVariableDefinitions","variableNames","machineScopedJsonPatches","names","patch","_patch$valueFrom","valueFromVariable","valueFrom","parsedName","split","v","includes","_this$clusterClass2","matchName","matchKey","patches","definitions","definition","_definition$selector","matchMachines","selector","matchResources","jsonPatches","existingIdx","findIndex","acc","existingVar","_find","_neuDef$schema","_neuDef$schema2","neuDef","n","oldDefault","d","newDefault","def","_def$schema","_def$schema2","_refs","_refs2","_this$variableDefinit","refs","inputEl","$el","nextInputEl","_prevClass","rows","r","idx","get","keyField","$event","select","selected","noDataKey","controlPlaneName","controlPlaneKind","controlPlaneNamespace","machineDeploymentsCount","machineDeploymentsList","count","machinePoolsCount","machinePoolsList","_t","ClusterCardField","cloneData","metadata","annotations","_this$value3","controlPlane","_this$value4","kind","_this$value5","namespace","_this$value6","_this$value7","w","_this$value8","_this$value9","ClusterClassCard","row","resetSelected","el","capitalize","title","classOptions","queueUpdate","removeAllowed","remove","removeLabel","addAllowed","addLabel","defaultAddValue","input","slice","lastUpdateWasFromValue","_VIEW","deep","update","inputs","focus","removeAt","clusterIsAlreadyCreated","podsCidrBlocks","servicesCidrBlocks","cidrBlocks","_n","defaultTopologyConfig","defaultClusterNetwork","defaultCPEndpointConfig","WorkerItem","NetworkSection","ControlPlaneEndpointSection","ClusterClassVariables","CardGrid","store","stepClusterClass","subtext","descriptionKey","ready","weight","stepConfiguration","stepVariables","credentialId","credential","versionInfo","step","s","stepConfigurationRequires","modeOptions","cidr","_this$value10","_this$value11","_this$value12","_this$value13","_this$value14","nameValid","versionTestString","versionValid","controlPlaneEndpointPortValid","controlPlaneEndpointHostValid","machineDeploymentsValid","machinePoolsValid","networkPodsValid","networkServicesValid","networkValid","_this$value15","_this$value16","_this$clusterClassObj","_this$clusterClassObj2","_this$clusterClassObj3","currentObject","_obj$metadata","subtype","setClassInfo","x","unescape","setClass","setNamespace","_this$clusterClassObj4","clusterClassName","_this$clusterClassObj5","clusterClassNs","params","_this$value$spec$clus","_this$value$spec$clus2","ClusterConfig","getClusterClasses","cc","route","classFromURL","QUERY_PARAMS","CLASS","curClass","curNs","classFromValue","escape","capiProviders","allClusterClasses","CAPI","CLUSTER_CLASS"],"mappings":"wKACA,IAAIA,EAA8B,EAAQ,QAC1CC,EAAUD,GAA4B,GAEtCC,EAAQC,KAAK,CAACC,EAAOC,EAAI,0FAA2F,KAEpHD,EAAOF,QAAUA,G,oCCNjB,W,qCCAA,W,2CCAA,IAAII,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,cAAc,CAACG,YAAY,iBAAiBC,MAAM,CAAC,KAAON,EAAIO,KAAK,qBAAoB,EAAK,mBAAmBP,EAAIQ,QAAQ,SAAWR,EAAIS,MAAM,OAAST,EAAIU,OAAO,SAAWV,EAAIW,SAAS,gBAAe,EAAK,wBAAuB,GAAMC,GAAG,CAAC,OAASZ,EAAIa,KAAK,OAASb,EAAIc,KAAK,cAAcd,EAAIe,WAAW,MAAQC,GAAGhB,EAAIU,OAASM,GAAGC,YAAYjB,EAAIkB,GAAG,CAAC,CAACC,IAAI,WAAWC,GAAG,WAAW,MAAO,CAAClB,EAAG,MAAM,CAACG,YAAY,QAAQgB,YAAY,CAAC,MAAQ,SAAS,CAACnB,EAAG,iBAAiB,CAACI,MAAM,CAAC,KAAON,EAAIW,SAAS,YAAY,KAAK,aAAa,QAAQ,mBAAmB,OAAOC,GAAG,CAAC,QAAUZ,EAAIsB,gBAAgB,KAAKC,OAAM,GAAOvB,EA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QC,aAAYD,EAAUA,EAAQ1B,SACnB,kBAAZ0B,IAAsBA,EAAU,CAAC,CAAC9L,EAAOC,EAAI6L,EAAS,MAC7DA,EAAQE,SAAQhM,EAAOF,QAAUgM,EAAQE,QAE5C,IAAIC,EAAM,EAAQ,QAAqE7B,QAC1E6B,EAAI,WAAYH,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,K,qBCN5E,IAAIA,EAAU,EAAQ,QACnBA,EAAQC,aAAYD,EAAUA,EAAQ1B,SACnB,kBAAZ0B,IAAsBA,EAAU,CAAC,CAAC9L,EAAOC,EAAI6L,EAAS,MAC7DA,EAAQE,SAAQhM,EAAOF,QAAUgM,EAAQE,QAE5C,IAAIC,EAAM,EAAQ,QAAqE7B,QAC1E6B,EAAI,WAAYH,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa","file":"capi-0.4.0.umd.min.edit.js","sourcesContent":["// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".grouped-type{position:relative}.rke-switch{margin-top:-10px;position:absolute;right:0}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../../node_modules/vue-style-loader/index.js??ref--10-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./CardGrid.vue?vue&type=style&index=0&id=e4d7fae2&prod&lang=scss&scoped=true&\"","export * from \"-!../../../../node_modules/vue-style-loader/index.js??ref--10-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=83817b0e&prod&lang=scss&scoped=true&\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('CruResource',{staticClass:\"create-cluster\",attrs:{\"mode\":_vm.mode,\"validation-passed\":true,\"selected-subtype\":_vm.subType,\"resource\":_vm.value,\"errors\":_vm.errors,\"subtypes\":_vm.subTypes,\"cancel-event\":true,\"prevent-enter-submit\":true},on:{\"finish\":_vm.save,\"cancel\":_vm.done,\"select-type\":_vm.selectType,\"error\":e=>_vm.errors = e},scopedSlots:_vm._u([{key:\"subtypes\",fn:function(){return [_c('div',{staticClass:\"mb-20\",staticStyle:{\"width\":\"100%\"}},[_c('SelectIconGrid',{attrs:{\"rows\":_vm.subTypes,\"key-field\":\"id\",\"name-field\":\"label\",\"side-label-field\":\"tag\"},on:{\"clicked\":_vm.clickedType}})],1)]},proxy:true},(_vm.subType)?{key:\"form-footer\",fn:function(){return [_c('div')]},proxy:true}:null],null,true)},[(_vm.subType)?_c('ProviderConfig',{attrs:{\"initial-value\":_vm.initialValue,\"live-value\":_vm.liveValue,\"mode\":_vm.mode,\"provider\":_vm.subType},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:\"value\"}}):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return (_vm.loading)?_c('Loading'):_c('CruResource',{staticClass:\"provider\",attrs:{\"mode\":_vm.mode,\"validation-passed\":_vm.fvFormIsValid,\"resource\":_vm.value,\"errors\":_vm.fvUnreportedValidationErrors,\"cancel-event\":true,\"done-route\":_vm.doneRoute,\"apply-hooks\":_vm.applyHooks,\"component-testid\":\"capi-provider-create\"},on:{\"done\":_vm.done,\"finish\":_vm.saveOverride,\"cancel\":_vm.done,\"error\":e=>_vm.errors=e},scopedSlots:_vm._u([(_vm.waitingForCredential)?{key:\"form-footer\",fn:function(){return [_c('div')]},proxy:true}:null],null,true)},[_c('NameNsDescription',{attrs:{\"mode\":_vm.mode,\"namespaced\":true,\"namespace-options\":_vm.allNamespaces,\"namespace-new-allowed\":true,\"name-label\":\"capi.provider.name.label\",\"name-placeholder\":\"capi.provider.name.placeholder\",\"description-label\":\"capi.provider.description.label\",\"description-placeholder\":\"capi.provider.description.placeholder\",\"rules\":{name:_vm.fvGetAndReportPathRules('metadata.name')}},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:\"value\"}}),(_vm.isCustom)?_c('div',[_c('div',{staticClass:\"row mb-20\"},[_c('div',{staticClass:\"col span-3\"},[_c('LabeledInput',{attrs:{\"mode\":_vm.mode,\"label-key\":\"capi.provider.label\",\"required\":\"\",\"rules\":_vm.fvGetAndReportPathRules('spec.name')},model:{value:(_vm.value.spec.name),callback:function ($$v) {_vm.$set(_vm.value.spec, \"name\", $$v)},expression:\"value.spec.name\"}})],1),_c('div',{staticClass:\"col span-3\"},[_c('LabeledSelect',{attrs:{\"mode\":_vm.mode,\"options\":_vm.typeOptions,\"label-key\":\"capi.provider.type.label\",\"required\":\"\"},model:{value:(_vm.value.spec.type),callback:function ($$v) {_vm.$set(_vm.value.spec, \"type\", $$v)},expression:\"value.spec.type\"}})],1),_c('div',{staticClass:\"col span-3\"},[_c('LabeledInput',{attrs:{\"mode\":_vm.mode,\"label-key\":\"capi.provider.version.label\",\"required\":\"\",\"rules\":_vm.fvGetAndReportPathRules('spec.version')},model:{value:(_vm.value.spec.version),callback:function ($$v) {_vm.$set(_vm.value.spec, \"version\", $$v)},expression:\"value.spec.version\"}})],1)]),_c('div',{staticClass:\"row mb-40\"},[_c('div',{staticClass:\"col span-6\"},[_c('LabeledInput',{attrs:{\"mode\":_vm.mode,\"label-key\":\"capi.provider.fetchConfigURL.label\",\"required\":\"\",\"rules\":_vm.fvGetAndReportPathRules('spec.fetchConfig.url')},model:{value:(_vm.value.spec.fetchConfig.url),callback:function ($$v) {_vm.$set(_vm.value.spec.fetchConfig, \"url\", $$v)},expression:\"value.spec.fetchConfig.url\"}})],1)])]):_vm._e(),(_vm.needCredential)?_c('div',{staticClass:\"mb-40\"}):_vm._e(),(_vm.hasFeatures || _vm.hasVariables)?_c('h2',{staticClass:\"mb-20\"},[_c('t',{attrs:{\"k\":\"capi.provider.secret.title\"}})],1):_vm._e(),(_vm.needCredential)?_c('div',[_c('h3',{staticClass:\"mb-20\"},[_c('t',{attrs:{\"k\":\"capi.provider.cloudCredential.title\"}})],1),_c('SelectCredential',{staticClass:\"mb-40\",attrs:{\"mode\":_vm.mode,\"provider\":_vm.provider,\"cancel\":_vm.cancelCredential,\"showing-form\":_vm.showForm},model:{value:(_vm.value.spec.credentials.rancherCloudCredentialNamespaceName),callback:function ($$v) {_vm.$set(_vm.value.spec.credentials, \"rancherCloudCredentialNamespaceName\", $$v)},expression:\"value.spec.credentials.rancherCloudCredentialNamespaceName\"}})],1):_vm._e(),(!_vm.waitingForCredential)?_c('div',[(_vm.shouldShowBanner)?_c('Banner',{attrs:{\"color\":\"info\"}},[_vm._v(\" \"+_vm._s(_vm.t('capi.provider.banner'))+\" \")]):_vm._e(),(_vm.hasFeatures)?_c('div',{staticClass:\"mb-40\"},[_c('h3',{staticClass:\"mb-20\"},[_c('t',{attrs:{\"k\":\"capi.provider.features.title\"}})],1),_c('Checkbox',{attrs:{\"mode\":_vm.mode,\"label\":_vm.t('capi.provider.features.clusterResourceSet')},model:{value:(_vm.value.spec.features.clusterResourceSet),callback:function ($$v) {_vm.$set(_vm.value.spec.features, \"clusterResourceSet\", $$v)},expression:\"value.spec.features.clusterResourceSet\"}}),_c('Checkbox',{attrs:{\"mode\":_vm.mode,\"label\":_vm.t('capi.provider.features.clusterTopology')},model:{value:(_vm.value.spec.features.clusterTopology),callback:function ($$v) {_vm.$set(_vm.value.spec.features, \"clusterTopology\", $$v)},expression:\"value.spec.features.clusterTopology\"}}),_c('Checkbox',{attrs:{\"mode\":_vm.mode,\"label\":_vm.t('capi.provider.features.machinePool')},model:{value:(_vm.value.spec.features.machinePool),callback:function ($$v) {_vm.$set(_vm.value.spec.features, \"machinePool\", $$v)},expression:\"value.spec.features.machinePool\"}})],1):_vm._e(),(_vm.hasVariables)?_c('div',[_c('h3',[_c('t',{attrs:{\"k\":\"capi.provider.variables.title\"}})],1),_c('KeyValue',{attrs:{\"add-label\":_vm.t('capi.provider.variables.add'),\"mode\":_vm.mode,\"value-can-be-empty\":true,\"handle-base64\":true,\"value-trim\":false,\"add-allowed\":true,\"read-allowed\":true,\"parse-lines-from-file\":true},model:{value:(_vm.value.spec.variables),callback:function ($$v) {_vm.$set(_vm.value.spec, \"variables\", $$v)},expression:\"value.spec.variables\"}})],1):_vm._e()],1):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport Vue, { VueConstructor } from 'vue';\nimport { mapGetters } from 'vuex';\nimport CreateEditView from '@shell/mixins/create-edit-view';\nimport { clear } from '@shell/utils/array';\nimport { NAMESPACE, SECRET } from '@shell/config/types';\nimport CruResource from '@shell/components/CruResource.vue';\nimport Loading from '@shell/components/Loading.vue';\nimport SelectCredential from '@shell/edit/provisioning.cattle.io.cluster/SelectCredential.vue';\nimport FormValidation from '@shell/mixins/form-validation';\nimport Checkbox from '@components/Form/Checkbox/Checkbox.vue';\nimport { randomStr } from '@shell/utils/string';\nimport { clone, set } from '@shell/utils/object';\nimport NameNsDescription from '@shell/components/form/NameNsDescription.vue';\nimport KeyValue from '@shell/components/form/KeyValue.vue';\nimport LabeledInput from '@components/Form/LabeledInput/LabeledInput.vue';\nimport LabeledSelect from '@shell/components/form/LabeledSelect.vue';\nimport Banner from '@components/Banner/Banner.vue';\nimport { _EDIT, _CREATE } from '@shell/config/query-params';\nimport { allHash } from '@shell/utils/promise';\nimport { PROVIDER_TYPES, RANCHER_TURTLES_SYSTEM_NAMESPACE, RANCHER_TURTLES_SYSTEM_NAME, Provider } from '../../types/capi';\nimport { providerVersionValidator, urlValidator } from '../../util/validators';\n\nconst defaultFeatures = {\n clusterResourceSet: true,\n clusterTopology: true,\n machinePool: true\n};\nconst defaultVariables = {};\nconst defaultSpec = {\n name: '',\n type: 'infrastructure',\n configSecret: { name: '' },\n credentials: { rancherCloudCredentialNamespaceName: '' }\n};\nconst customProviderSpec = {\n name: '',\n type: 'infrastructure',\n configSecret: { name: '' },\n credentials: { rancherCloudCredentialNamespaceName: '' },\n fetchConfig: { url: '' },\n version: ''\n};\n\nconst providerTypes = ['infrastructure', 'bootstrap', 'controlPlane'];\n\ninterface Secret {\n metadata: {\n name: string,\n namespace: string\n }\n}\ninterface Hash {\n namespaces: [],\n coreProviderSecret: Secret[]\n}\n\nexport default (Vue as VueConstructor<\n Vue & InstanceType\n>).extend({\n components: {\n CruResource,\n Loading,\n NameNsDescription,\n SelectCredential,\n Checkbox,\n KeyValue,\n LabeledInput,\n LabeledSelect,\n Banner\n },\n mixins: [CreateEditView, FormValidation],\n props: {\n mode: {\n type: String,\n required: true,\n },\n value: {\n type: Object,\n required: true,\n },\n provider: {\n type: String,\n required: true,\n }\n },\n beforeMount() {\n this.getDependencies().then((hash: Hash) => {\n this.allNamespaces = hash.namespaces || [];\n this.coreProviderSecret = hash.coreProviderSecret || {};\n this.initSpecs();\n this.loading = false;\n }).catch((err: Error) => {\n this.errors.push(err);\n this.initSpecs();\n this.loading = false;\n });\n },\n data() {\n const providerDetails: Provider = PROVIDER_TYPES.find(p => p.id === this.provider) || {\n needCredentials: false, disabled: false, id: '0'\n };\n\n return {\n loading: true,\n fvFormRuleSets: [\n { path: 'metadata.name', rules: ['required'] },\n { path: 'spec.name', rules: ['required'] },\n { path: 'spec.version', rules: ['version'] },\n { path: 'spec.fetchConfig.url', rules: ['required', 'url'] },\n ],\n allNamespaces: [],\n needCredential: providerDetails?.needCredentials || false,\n typeOptions: providerTypes\n };\n },\n computed: {\n ...mapGetters(['namespaces']),\n fvExtraRules() {\n return {\n version: providerVersionValidator(this.$store.getters['i18n/t'], this.isCustom),\n url: urlValidator(this.$store.getters['i18n/t'])\n };\n },\n showForm() {\n return !!this.value.spec.credentials.rancherCloudCredentialNamespaceName || !this.needCredential;\n },\n isCreate() {\n return this.mode === _CREATE;\n },\n isEdit() {\n return this.mode === _EDIT;\n },\n hasFeatures() {\n return !!this.value?.spec?.features;\n },\n hasVariables() {\n return !!this.value?.spec?.features;\n },\n isCustom() {\n return this.provider === 'custom';\n },\n shouldShowBanner() {\n return this.isEdit && (this.hasFeatures || this.hasVariables);\n },\n waitingForCredential() {\n return this.needCredential && !this.value.spec.credentials.rancherCloudCredentialNamespaceName;\n }\n },\n methods: {\n initSpecs() {\n if ( !this.value.spec ) {\n const defaultsFromCoreProvider = this.getSpecFromCoreSecret();\n\n if ( this.provider !== 'custom') {\n set(this.value, 'spec', { ...defaultSpec, ...defaultsFromCoreProvider });\n set(this.value.spec, 'name', this.provider); // Defines the provider kind to provision.\n } else {\n set(this.value, 'spec', { ...customProviderSpec, ...defaultsFromCoreProvider });\n }\n }\n if (!this.value.spec.configSecret.name) {\n set(this.value.spec.configSecret, 'name', this.generateName(this.provider)); // Defines the name of the secret that will be created or adjusted based on the content of the spec.features and spec.variables.\n }\n },\n getSpecFromCoreSecret() {\n const coreProviderSecretData = this.coreProviderSecret?.data;\n\n if (coreProviderSecretData) {\n const FEATURES_KEYS = ['EXP_CLUSTER_RESOURCE_SET', 'CLUSTER_TOPOLOGY', 'EXP_MACHINE_POOL'];\n\n const variables = clone(coreProviderSecretData);\n\n FEATURES_KEYS.forEach((key) => {\n delete variables[key];\n });\n\n return {\n features: {\n clusterResourceSet: coreProviderSecretData.EXP_CLUSTER_RESOURCE_SET === 'dHJ1ZQ==',\n clusterTopology: coreProviderSecretData.CLUSTER_TOPOLOGY === 'dHJ1ZQ==',\n machinePool: coreProviderSecretData.EXP_MACHINE_POOL === 'dHJ1ZQ=='\n },\n variables\n };\n }\n\n return {\n features: clone(defaultFeatures),\n variables: clone(defaultVariables)\n };\n },\n generateName(name: string) {\n return name ? `${ name }-credentials-${ randomStr(5).toLowerCase() }` : undefined;\n },\n async getDependencies() {\n const inStore = this.$store.getters['currentStore'](NAMESPACE);\n const { $store } = this;\n const hashPromises = {\n namespaces: $store.dispatch(`${ inStore }/findAll`, { type: NAMESPACE }),\n coreProviderSecret: $store.dispatch(`management/find`, {\n type: SECRET, id: `${ RANCHER_TURTLES_SYSTEM_NAMESPACE }/${ RANCHER_TURTLES_SYSTEM_NAME }`, opt: { watch: false, force: true }\n } )\n };\n\n return await allHash(hashPromises);\n },\n\n async saveOverride(btnCb: Function) {\n if ( this.errors ) {\n clear(this.errors);\n }\n if ( !this.needCredential && !this.value.spec?.credentials?.rancherCloudCredentialNamespaceName ) {\n this.value.spec.credentials = null;\n }\n try {\n await this.value.save();\n\n return this.done();\n } catch (err) {\n this.errors.push(err);\n btnCb(false);\n }\n },\n cancelCredential() {\n if ( this.$refs.cruresource ) {\n this.$refs.cruresource.emitOrRoute();\n }\n }\n }\n});\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ProviderConfig.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ProviderConfig.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ProviderConfig.vue?vue&type=template&id=27d5760f&\"\nimport script from \"./ProviderConfig.vue?vue&type=script&lang=ts&\"\nexport * from \"./ProviderConfig.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\nimport Vue, { VueConstructor } from 'vue';\nimport CreateEditView from '@shell/mixins/create-edit-view';\nimport CruResource from '@shell/components/CruResource.vue';\nimport SelectIconGrid from '@shell/components/SelectIconGrid.vue';\nimport { SUB_TYPE } from '@shell/config/query-params';\n\nimport { PROVIDER_TYPES } from '../../types/capi';\nimport ProviderConfig from './ProviderConfig.vue';\n\ninterface ProviderType {\n id: string,\n label: string,\n description: string,\n icon: HTMLImageElement\n disabled: boolean,\n}\n\nexport default (Vue as VueConstructor<\n Vue & InstanceType\n>).extend({\n name: 'CreateProvider',\n\n components: {\n CruResource,\n SelectIconGrid,\n ProviderConfig\n },\n\n mixins: [CreateEditView],\n\n props: {\n\n value: {\n type: Object,\n default: null,\n },\n\n /**\n * Inherited global identifier prefix for tests\n * Define a term based on the parent component to avoid conflicts on multiple components\n */\n componentTestid: {\n type: String,\n default: 'capi-provider-create'\n }\n },\n beforeMount() {\n if ( this.value?.spec?.name) {\n this.selectType(this.value.spec.name);\n }\n },\n\n data() {\n const subType: string = this.$route.query[SUB_TYPE] || null;\n\n return { subType };\n },\n\n computed: {\n subTypes() {\n const out: ProviderType[] = [];\n const getters = this.$store.getters;\n\n PROVIDER_TYPES?.forEach((provider) => {\n addType(provider.id, provider.disabled);\n });\n\n return out;\n\n function addType(id: string, disabled = false) {\n const label = getters['i18n/withFallback'](`cluster.provider.\"${ id }\"`, null, id);\n const description = getters['i18n/withFallback'](`cluster.providerDescription.\"${ id }\"`, null, '');\n let icon;\n\n try {\n icon = require(`~shell/assets/images/providers/${ id }.svg`);\n } catch (e) {\n try {\n icon = require(`../../assets/images/providers/${ id }.svg`);\n } catch (e) {\n icon = require('~shell/assets/images/generic-driver.svg');\n }\n }\n\n const providerType: ProviderType = {\n id,\n label,\n description,\n icon,\n disabled\n };\n\n out.push(providerType);\n }\n }\n },\n\n methods: {\n\n clickedType(obj: ProviderType) {\n const id = obj.id;\n\n this.$router.applyQuery({ [SUB_TYPE]: id });\n this.selectType(id);\n },\n\n selectType(type: string) {\n this.subType = type;\n this.$emit('set-subtype', this.$store.getters['i18n/withFallback'](`cluster.provider.\"${ type }\"`, null, type));\n },\n },\n});\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=63dda335&\"\nimport script from \"./index.vue?vue&type=script&lang=ts&\"\nexport * from \"./index.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=63dda335&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var map = {\n\t\"./docker.svg\": \"7003\",\n\t\"./vsphere-black.svg\": \"81be\",\n\t\"./vsphere.svg\": \"8827\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"3c84\";","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".label[data-v-7407ec5d]{display:flex;flex-direction:column;margin-bottom:10px}.label .text-label[data-v-7407ec5d]{font-size:12px;line-height:18px;color:var(--darker)}.label .value[data-v-7407ec5d]{line-height:18px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","// style-loader: Adds some css to the DOM by adding a \n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ClusterCardField.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ClusterCardField.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ClusterCardField.vue?vue&type=template&id=7407ec5d&scoped=true&\"\nimport script from \"./ClusterCardField.vue?vue&type=script&lang=js&\"\nexport * from \"./ClusterCardField.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ClusterCardField.vue?vue&type=style&index=0&id=7407ec5d&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7407ec5d\",\n null\n \n)\n\nexport default component.exports","\nimport Vue from 'vue';\nimport { mapGetters } from 'vuex';\nimport ClusterCardField from './ClusterCardField.vue';\nimport { Worker } from './../../types/capi';\n\nexport default Vue.extend({\n name: 'ClusterClassCard',\n components: { ClusterCardField },\n\n props: {\n value: {\n type: Object,\n required: true,\n },\n selected: {\n type: Boolean,\n default: false\n }\n },\n\n data() {\n return {\n cloneData: true,\n errors: []\n };\n },\n\n computed: {\n ...mapGetters({ t: 'i18n/t' }),\n\n name() {\n return this.value?.metadata?.name || '';\n },\n description() {\n return this.value?.metadata?.annotations?.description || '';\n },\n controlPlaneName() {\n return this.value?.spec?.controlPlane?.ref?.name;\n },\n controlPlaneKind() {\n return this.value?.spec?.controlPlane?.ref?.kind;\n },\n controlPlaneNamespace() {\n return this.value?.spec?.controlPlane?.ref?.namespace;\n },\n machineDeploymentsCount() {\n return this.value?.spec?.workers?.machineDeployments?.length;\n },\n machineDeploymentsList() {\n return this.value?.spec?.workers?.machineDeployments?.map((w: Worker) => w.class).join(', ') || '';\n },\n machinePoolsCount() {\n return this.value?.spec?.workers?.machinePools?.length;\n },\n machinePoolsList() {\n return this.value?.spec?.workers?.machinePools?.map((w: Worker) => w.class).join(', ') || '';\n }\n },\n});\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=40d0155a&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=ts&\"\nexport * from \"./index.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=40d0155a&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"40d0155a\",\n null\n \n)\n\nexport default component.exports","\nimport Vue from 'vue';\nimport type { PropType } from 'vue';\nimport { get } from '@shell/utils/object';\nimport capitalize from 'lodash/capitalize';\nimport ClusterClassCard from './../components/ClusterClassCard/index.vue';\n\ninterface Card {\n id: String,\n obj: Object,\n selected: Boolean\n}\n\nexport default Vue.extend({\n components: { ClusterClassCard },\n name: 'CardGrid',\n\n props: {\n rows: {\n type: Array as PropType,\n required: true,\n },\n\n keyField: {\n type: String,\n default: 'key',\n },\n\n noDataKey: {\n type: String,\n default: 'sortableTable.noRows',\n },\n\n /**\n * Inherited global identifier prefix for tests\n * Define a term based on the parent component to avoid conflicts on multiple components\n */\n componentTestid: {\n type: String,\n default: 'select-card-grid'\n }\n },\n\n methods: {\n get,\n select(row: Card[], idx: number) {\n this.resetSelected();\n this.rows[idx].selected = true;\n this.$emit('clicked', row, idx);\n },\n resetSelected() {\n this.rows.map((el) => {\n el.selected = false;\n });\n },\n capitalize\n },\n});\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./CardGrid.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./CardGrid.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CardGrid.vue?vue&type=template&id=e4d7fae2&scoped=true&\"\nimport script from \"./CardGrid.vue?vue&type=script&lang=ts&\"\nexport * from \"./CardGrid.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CardGrid.vue?vue&type=style&index=0&id=e4d7fae2&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e4d7fae2\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[(_vm.title)?_c('div',{staticClass:\"clearfix\"},[_vm._t(\"title\",function(){return [_c('h3',[_vm._v(\" \"+_vm._s(_vm.title)+\" \")])]})],2):_vm._e(),(_vm.rows.length)?_vm._l((_vm.rows),function(row,idx){return _c('div',{key:idx,staticClass:\"box\",attrs:{\"data-testid\":`array-list-box${ idx }`}},[_vm._t(\"columns\",function(){return [_c('div',{staticClass:\"value\"},[_vm._t(\"value\",function(){return [_c('div',{staticClass:\"col mt-20\"},[_c('LabeledInput',{ref:\"value\",refInFor:true,attrs:{\"mode\":_vm.mode,\"disabled\":false,\"label\":_vm.t('capi.cluster.workers.name')},model:{value:(row.value.name),callback:function ($$v) {_vm.$set(row.value, \"name\", $$v)},expression:\"row.value.name\"}})],1),_c('div',{staticClass:\"col mt-20\"},[_c('LabeledSelect',{attrs:{\"mode\":_vm.mode,\"options\":_vm.classOptions,\"label-key\":\"capi.cluster.workers.class\"},model:{value:(row.value.class),callback:function ($$v) {_vm.$set(row.value, \"class\", $$v)},expression:\"row.value.class\"}})],1)]},{\"row\":row,\"mode\":_vm.mode,\"isView\":_vm.isView,\"queueUpdate\":_vm.queueUpdate}),(_vm.removeAllowed)?_c('div',{staticClass:\"remove\"},[_vm._t(\"remove-button\",function(){return [_c('button',{staticClass:\"btn role-link\",attrs:{\"type\":\"button\",\"disabled\":_vm.isView,\"data-testid\":`remove-item-${idx}`},on:{\"click\":function($event){return _vm.remove(row, idx)}}},[_vm._v(\" \"+_vm._s(_vm.removeLabel)+\" \")])]},{\"remove\":() => _vm.remove(row, idx),\"i\":idx,\"row\":row})],2):_vm._e()],2)]},{\"queueUpdate\":_vm.queueUpdate,\"i\":idx,\"rows\":_vm.rows,\"row\":row,\"mode\":_vm.mode,\"isView\":_vm.isView})],2)}):(_vm.mode==='view')?_c('div',{staticClass:\"text-muted\"},[_vm._v(\" — \")]):_c('div',[_vm._t(\"empty\")],2),(_vm.addAllowed && !_vm.isView)?_c('div',{staticClass:\"footer\"},[(_vm.addAllowed)?_vm._t(\"add\",function(){return [_c('button',{staticClass:\"btn role-tertiary add\",attrs:{\"type\":\"button\",\"disabled\":_vm.loading,\"data-testid\":\"array-list-button\"},on:{\"click\":function($event){return _vm.add()}}},[(_vm.loading)?_c('i',{staticClass:\"mr-5 icon icon-spinner icon-spin icon-lg\"}):_vm._e(),_vm._v(\" \"+_vm._s(_vm.addLabel)+\" \")])]},{\"add\":_vm.add}):_vm._e()],2):_vm._e()],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport Vue from 'vue';\nimport debounce from 'lodash/debounce';\nimport { removeAt } from '@shell/utils/array';\nimport { clone } from '@shell/utils/object';\nimport { _EDIT, _VIEW } from '@shell/config/query-params';\nimport LabeledSelect from '@shell/components/form/LabeledSelect.vue';\nimport LabeledInput from '@components/Form/LabeledInput/LabeledInput.vue';\n\nexport default Vue.extend({\n components: { LabeledSelect, LabeledInput },\n props: {\n value: {\n type: Array,\n default: null,\n },\n mode: {\n type: String,\n default: _EDIT,\n },\n title: {\n type: String,\n required: true\n },\n classOptions: {\n type: Array,\n default: null,\n },\n addAllowed: {\n type: Boolean,\n default: true,\n },\n removeAllowed: {\n type: Boolean,\n default: true,\n },\n defaultAddValue: {\n type: [String, Number, Object, Array],\n default: ''\n },\n loading: {\n type: Boolean,\n default: false\n },\n disabled: {\n type: Boolean,\n default: false,\n },\n },\n data() {\n const input = (this.value as any[] || []).slice();\n const rows = [];\n\n for ( const value of input ) {\n rows.push({ value });\n }\n if ( !rows.length ) {\n const value = this.defaultAddValue ? clone(this.defaultAddValue) : '';\n\n rows.push({ value });\n }\n\n return { rows, lastUpdateWasFromValue: false };\n },\n\n computed: {\n isView() {\n return this.mode === _VIEW;\n },\n removeLabel() {\n return this.$store.getters['i18n/t']('generic.remove');\n },\n addLabel() {\n return this.$store.getters['i18n/t']('generic.add');\n }\n },\n watch: {\n value() {\n this.lastUpdateWasFromValue = true;\n this.rows = (this.value || []).map(v => ({ value: v }));\n },\n rows: {\n deep: true,\n handler() {\n // lastUpdateWasFromValue is used to break a cycle where when rows are updated\n // this was called which then forced rows to updated again\n if (!this.lastUpdateWasFromValue) {\n this.queueUpdate();\n }\n this.lastUpdateWasFromValue = false;\n }\n }\n },\n created() {\n this.queueUpdate = debounce(this.update, 50);\n },\n methods: {\n add() {\n this.rows.push({ value: clone(this.defaultAddValue) });\n if (this.defaultAddValue) {\n this.queueUpdate();\n }\n this.$nextTick(() => {\n const inputs = this.$refs.value;\n\n if ( inputs && inputs.length > 0 ) {\n inputs[inputs.length - 1].focus();\n }\n this.$emit('add');\n });\n },\n /**\n * Remove item and emits removed row and its own index value\n */\n remove(row: {[key: string]: any}, index: number) {\n this.$emit('remove', { row, index });\n removeAt(this.rows, index);\n this.queueUpdate();\n },\n update() {\n if ( this.isView ) {\n return;\n }\n const out = [];\n\n for ( const row of this.rows ) {\n const value = row.value;\n\n if ( typeof value !== 'undefined' ) {\n out.push(value);\n }\n }\n this.$emit('input', out);\n },\n }\n});\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./WorkerItem.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./WorkerItem.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./WorkerItem.vue?vue&type=template&id=4450d495&\"\nimport script from \"./WorkerItem.vue?vue&type=script&lang=ts&\"\nexport * from \"./WorkerItem.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('div',{staticClass:\"row mb-20\"},[_c('div',{staticClass:\"col span-3\"},[_c('LabeledInput',{attrs:{\"value\":_vm.apiServerPort,\"mode\":_vm.mode,\"disabled\":_vm.clusterIsAlreadyCreated,\"label\":_vm.t('capi.cluster.networking.apiServerPort'),\"rules\":_vm.rules.apiServerPort,\"required\":\"\"},on:{\"input\":function($event){return _vm.$emit('api-server-port-changed', $event)}}})],1),_c('div',{staticClass:\"col span-3\"},[_c('LabeledInput',{attrs:{\"value\":_vm.serviceDomain,\"mode\":_vm.mode,\"disabled\":_vm.clusterIsAlreadyCreated,\"label\":_vm.t('capi.cluster.networking.serviceDomain'),\"rules\":_vm.rules.serviceDomain},on:{\"input\":function($event){return _vm.$emit('service-domain-changed', $event)}}})],1)]),_c('div',{staticClass:\"row mb-20\"},[_c('div',{staticClass:\"col span-3\"},[_c('ArrayList',{attrs:{\"value\":_vm.podsCidrBlocks,\"protip\":false,\"mode\":_vm.mode,\"title\":_vm.t('capi.cluster.networking.pods'),\"rules\":_vm.rules.pods},on:{\"input\":function($event){return _vm.$emit('pods-cidr-blocks-changed', $event)}}})],1),_c('div',{staticClass:\"col span-3\"},[_c('ArrayList',{attrs:{\"value\":_vm.servicesCidrBlocks,\"protip\":false,\"mode\":_vm.mode,\"title\":_vm.t('capi.cluster.networking.services'),\"rules\":_vm.rules.services},on:{\"input\":function($event){return _vm.$emit('services-cidr-blocks-changed', $event)}}})],1)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport Vue from 'vue';\nimport { mapGetters } from 'vuex';\nimport { _EDIT } from '@shell/config/query-params';\nimport ArrayList from '@shell/components/form/ArrayList.vue';\nimport LabeledInput from '@components/Form/LabeledInput/LabeledInput.vue';\n\nexport default Vue.extend({\n components: {\n LabeledInput,\n ArrayList\n },\n props: {\n value: {\n type: Object,\n required: true,\n },\n mode: {\n type: String,\n required: true,\n },\n rules: {\n default: () => ({\n serviceDomain: [],\n apiServerPort: [],\n pods: [],\n services: []\n }),\n type: Object,\n },\n },\n computed: {\n ...mapGetters({ t: 'i18n/t' }),\n clusterIsAlreadyCreated() {\n return this.mode === _EDIT;\n },\n apiServerPort() {\n return this.value?.apiServerPort;\n },\n serviceDomain() {\n return this.value?.serviceDomain;\n },\n podsCidrBlocks() {\n return this.value?.pods?.cidrBlocks;\n },\n servicesCidrBlocks() {\n return this.value?.services?.cidrBlocks;\n },\n }\n});\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./NetworkSection.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./NetworkSection.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./NetworkSection.vue?vue&type=template&id=21951a5a&\"\nimport script from \"./NetworkSection.vue?vue&type=script&lang=ts&\"\nexport * from \"./NetworkSection.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('div',{staticClass:\"row mb-20\"},[_c('div',{staticClass:\"col\"},[_c('LabeledInput',{attrs:{\"mode\":_vm.mode,\"disabled\":_vm.clusterIsAlreadyCreated,\"label\":_vm.t('capi.cluster.controlPlaneEndpoint.host'),\"rules\":_vm.rules.host},model:{value:(_vm.value.host),callback:function ($$v) {_vm.$set(_vm.value, \"host\", $$v)},expression:\"value.host\"}})],1),_c('div',{staticClass:\"col\"},[_c('LabeledInput',{attrs:{\"mode\":_vm.mode,\"disabled\":_vm.clusterIsAlreadyCreated,\"label\":_vm.t('capi.cluster.controlPlaneEndpoint.port'),\"rules\":_vm.rules.port},model:{value:(_vm.value.port),callback:function ($$v) {_vm.$set(_vm.value, \"port\", _vm._n($$v))},expression:\"value.port\"}})],1)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport Vue from 'vue';\nimport { mapGetters } from 'vuex';\nimport { _EDIT } from '@shell/config/query-params';\nimport LabeledInput from '@components/Form/LabeledInput/LabeledInput.vue';\n\nexport default Vue.extend({\n name: 'ControlPlaneEndpointSection',\n components: { LabeledInput },\n props: {\n value: {\n type: Object,\n required: true,\n },\n mode: {\n type: String,\n required: true,\n },\n rules: {\n default: () => ({\n host: [],\n port: []\n }),\n type: Object,\n },\n },\n computed: {\n ...mapGetters({ t: 'i18n/t' }),\n clusterIsAlreadyCreated() {\n return this.mode === _EDIT;\n }\n }\n});\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ControlPlaneEndpointSection.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ControlPlaneEndpointSection.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ControlPlaneEndpointSection.vue?vue&type=template&id=24a04156&\"\nimport script from \"./ControlPlaneEndpointSection.vue?vue&type=script&lang=ts&\"\nexport * from \"./ControlPlaneEndpointSection.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\nimport Vue, { VueConstructor } from 'vue';\nimport { set, clone } from '@shell/utils/object';\nimport { clear } from '@shell/utils/array';\nimport LabeledInput from '@components/Form/LabeledInput/LabeledInput';\nimport NameNsDescription from '@shell/components/form/NameNsDescription.vue';\nimport FormValidation from '@shell/mixins/form-validation';\nimport Loading from '@shell/components/Loading.vue';\nimport CruResource from '@shell/components/CruResource.vue';\nimport CreateEditView from '@shell/mixins/create-edit-view';\nimport { Translation } from '@rancher/shell/types/t';\nimport ClusterClassVariables from '../../components/CCVariables/index.vue';\nimport {\n versionTest, versionValidator, hostValidator, portValidator, cidrValidator, cidrArrayValid\n} from '../../util/validators';\nimport {\n CAPIClusterTopology, CAPIClusterNetwork, CAPIClusterCPEndpoint, ClusterClass, Worker\n} from '../../types/capi';\nimport CardGrid from '../../components/CardGrid.vue';\nimport WorkerItem from './WorkerItem.vue';\nimport NetworkSection from './NetworkSection.vue';\nimport ControlPlaneEndpointSection from './ControlPlaneEndpointSection.vue';\n\nconst defaultTopologyConfig: CAPIClusterTopology = {\n version: '',\n class: '',\n workers: { machineDeployments: [], machinePools: [] }\n};\nconst defaultClusterNetwork: CAPIClusterNetwork = {\n apiServerPort: 6443,\n pods: { cidrBlocks: [] },\n serviceDomain: '',\n services: { cidrBlocks: [] }\n};\n\nconst defaultCPEndpointConfig: CAPIClusterCPEndpoint = {\n host: '',\n port: 49152\n};\n\ninterface Step {\n name: String\n}\n\nexport default (Vue as VueConstructor<\n Vue & InstanceType\n>).extend({\n name: 'ClusterConfig',\n components: {\n CruResource,\n Loading,\n NameNsDescription,\n LabeledInput,\n WorkerItem,\n NetworkSection,\n ControlPlaneEndpointSection,\n ClusterClassVariables,\n CardGrid\n },\n mixins: [CreateEditView, FormValidation],\n props: {\n mode: {\n type: String,\n required: true,\n },\n value: {\n type: Object,\n required: true,\n },\n preselectedClass: {\n type: String,\n required: false,\n default: ''\n },\n clusterClasses: {\n type: Array,\n required: true\n }\n },\n beforeMount() {\n this.initSpecs();\n this.$nextTick(() => {\n this.loading = false;\n });\n },\n data() {\n const store = this.$store as {[key: string]: any};\n const t = store.getters['i18n/t'] as Translation;\n const stepClusterClass = {\n name: 'stepClusterClass',\n title: t('capi.cluster.steps.clusterClass.title'),\n label: t('capi.cluster.steps.clusterClass.label'),\n subtext: '',\n descriptionKey: 'capi.cluster.steps.clusterClass.description',\n ready: false,\n weight: 30\n };\n const stepConfiguration = {\n name: 'stepConfiguration',\n title: t('capi.cluster.steps.configuration.title'),\n label: t('capi.cluster.steps.configuration.label'),\n subtext: '',\n descriptionKey: 'capi.cluster.steps.configuration.description',\n ready: false,\n weight: 30\n };\n\n const stepVariables = {\n name: 'stepVariables',\n title: t('capi.cluster.steps.variables.title'),\n label: t('capi.cluster.steps.variables.label'),\n subtext: '',\n descriptionKey: 'capi.cluster.steps.variables.description',\n ready: true,\n weight: 30\n };\n const addSteps = !!this.preselectedClass ? [stepConfiguration, stepVariables] : [stepClusterClass, stepConfiguration, stepVariables];\n\n return {\n addSteps,\n fvFormRuleSets: [\n { path: 'metadata.name', rules: ['required'] },\n { path: 'spec.topology.version', rules: ['required', 'version'] },\n { path: 'spec.controlPlaneEndpoint.host', rules: ['host'] },\n { path: 'spec.controlPlaneEndpoint.port', rules: ['port'] },\n { path: 'spec.clusterNetwork.serviceDomain', rules: ['host'] },\n { path: 'spec.clusterNetwork.apiServerPort', rules: ['required', 'port'] },\n { path: 'spec.clusterNetwork.pods', rules: ['cidr'] },\n { path: 'spec.clusterNetwork.services', rules: ['cidr'] }\n ],\n credentialId: '',\n credential: null,\n versionInfo: {},\n defaultWorkerAddValue: {\n name: '',\n class: ''\n },\n variablesReady: true,\n clusterClassObj: null,\n loading: true\n };\n },\n\n watch: {\n clusterClassObj(neu) {\n const step = this.addSteps.find((s: Step) => s.name === 'stepClusterClass');\n\n if (step) {\n this.$set(step, 'ready', !!neu);\n }\n },\n\n stepConfigurationRequires(neu) {\n const step = this.addSteps.find((s: Step) => s.name === 'stepConfiguration');\n\n this.$set(step, 'ready', neu);\n },\n\n variablesReady(neu) {\n const step = this.addSteps.find((s: Step) => s.name === 'stepVariables');\n\n this.$set(step, 'ready', neu);\n }\n },\n\n computed: {\n modeOptions() {\n return [{\n label: this.t('capi.cluster.secret.reuse'),\n value: false,\n }, {\n label: this.t('capi.cluster.secret.create'),\n value: true,\n }];\n },\n fvExtraRules() {\n return {\n version: versionValidator(this.$store.getters['i18n/t'], this.controlPlane),\n host: hostValidator(this.$store.getters['i18n/t']),\n port: portValidator(this.$store.getters['i18n/t']),\n cidr: cidrValidator(this.$store.getters['i18n/t'])\n };\n },\n stepConfigurationRequires() {\n const nameValid: boolean = !!this.value.metadata.name;\n const versionTestString: RegExp = versionTest(this.$store.getters['i18n/t'], this.controlPlane);\n const versionValid: boolean = this.value?.spec?.topology?.version && !!(this.value?.spec?.topology?.version.match(versionTestString));\n const controlPlaneEndpointPortValid: boolean = !portValidator(this.$store.getters['i18n/t'])(this.value?.spec?.controlPlaneEndpoint?.port);\n const controlPlaneEndpointHostValid: boolean = !hostValidator(this.$store.getters['i18n/t'])(this.value?.spec?.controlPlaneEndpoint?.host);\n const machineDeploymentsValid: boolean = this.value?.spec?.topology?.workers?.machineDeployments?.length > 0 && !!this.value?.spec?.topology?.workers?.machineDeployments[0]?.name && !!this.value?.spec?.topology?.workers?.machineDeployments[0]?.class;\n const machinePoolsValid: boolean = this.value?.spec?.topology?.workers?.machinePools?.length > 0 && !!this.value?.spec?.topology?.workers?.machinePools[0]?.name && !!this.value?.spec?.topology?.workers?.machinePools[0]?.class;\n const networkPodsValid: boolean = !this.value?.spec?.clusterNetwork?.pods?.cidrBlocks || cidrArrayValid(this.value.spec.clusterNetwork.pods.cidrBlocks);\n const networkServicesValid: boolean = !this.value?.spec?.clusterNetwork?.services?.cidrBlocks || cidrArrayValid(this.value.spec.clusterNetwork.services.cidrBlocks);\n const networkValid:boolean = !!this.value?.spec?.clusterNetwork?.apiServerPort && !isNaN(this.value?.spec?.clusterNetwork?.apiServerPort) && networkPodsValid && networkServicesValid;\n\n return nameValid && versionValid && controlPlaneEndpointHostValid && controlPlaneEndpointPortValid && networkValid && (machineDeploymentsValid || machinePoolsValid);\n },\n clusterNetwork() {\n return this.value?.spec?.clusterNetwork;\n },\n controlPlaneEndpoint() {\n return this.value?.spec?.controlPlaneEndpoint;\n },\n machineDeploymentOptions() {\n return this.clusterClassObj?.spec?.workers?.machineDeployments?.map( (w: Worker) => w.class);\n },\n machinePoolOptions() {\n return this.clusterClassObj?.spec?.workers?.machinePools?.map( (w: Worker) => w.class);\n },\n controlPlane() {\n return this.clusterClassObj?.spec?.controlPlane?.ref?.name;\n },\n clusterClassOptions() {\n const out: any[] = [];\n const currentObject = this.clusterClassObj;\n\n this.clusterClasses.forEach((obj: ClusterClass) => {\n addType(obj);\n });\n\n return out;\n\n function addType(obj: {[key: string]: any}) {\n const id = obj?.metadata?.name;\n const subtype = {\n id,\n obj,\n selected: currentObject === obj\n };\n\n out.push(subtype);\n }\n },\n },\n methods: {\n set,\n setClassInfo(name: string) {\n this.clusterClassObj = this.clusterClasses.find((x: ClusterClass) => {\n const split = unescape(name).split('/');\n\n return x.metadata.namespace === split[0] && x.metadata.name === split[1];\n });\n if ( !!this.clusterClassObj ) {\n this.setClass();\n this.setNamespace();\n } else {\n this.errors.push(this.t('error.clusterClassNotFound'));\n }\n },\n setClass() {\n const clusterClassName = this.clusterClassObj?.metadata?.name;\n\n this.set(this.value.spec.topology, 'class', clusterClassName);\n },\n setNamespace() {\n const clusterClassNs = this.clusterClassObj?.metadata?.namespace;\n\n this.set(this.value.metadata, 'namespace', clusterClassNs);\n },\n async saveOverride() {\n if ( this.errors ) {\n clear(this.errors);\n }\n try {\n await this.value.save();\n\n return this.done();\n } catch (err) {\n this.errors.push(err);\n }\n },\n\n initSpecs() {\n if ( !this.value.spec ) {\n set(this.value, 'spec', { });\n }\n if ( !this.value.spec.topology ) {\n set(this.value.spec, 'topology', clone(defaultTopologyConfig));\n }\n\n if ( !this.value.spec.clusterNetwork ) {\n set(this.value.spec, 'clusterNetwork', clone(defaultClusterNetwork));\n }\n\n if ( !this.value.spec.controlPlaneEndpoint ) {\n set(this.value.spec, 'controlPlaneEndpoint', clone(defaultCPEndpointConfig));\n }\n if ( this.preselectedClass) {\n this.setClassInfo(this.preselectedClass);\n }\n },\n cancelCredential() {\n if ( this.$refs.cruresource ) {\n this.$refs.cruresource.emitOrRoute();\n }\n },\n cancel() {\n this.$router.push({\n name: 'c-cluster-manager-capi',\n params: {},\n });\n },\n done() {\n this.$router.push({\n name: 'c-cluster-manager-capi',\n params: {},\n });\n },\n clickedType(obj: {[key:string]: any}) {\n this.clusterClassObj = this.clusterClasses.find((x: ClusterClass) => x.metadata.name === obj.id);\n this.setClass();\n this.setNamespace();\n },\n podsCidrBlocksChanged(val: string[]) {\n if ( !this.value.spec.clusterNetwork?.pods ) {\n set(this.value.spec.clusterNetwork, 'pods', []);\n }\n set(this.value.spec.clusterNetwork.pods, 'cidrBlocks', val);\n },\n servicesCidrBlocksChanged(val: string[]) {\n if ( !this.value.spec.clusterNetwork?.services ) {\n set(this.value.spec.clusterNetwork, 'services', []);\n }\n set(this.value.spec.clusterNetwork.services, 'cidrBlocks', val);\n }\n }\n});\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ClusterConfig.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ClusterConfig.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ClusterConfig.vue?vue&type=template&id=6f30e1ac&scoped=true&\"\nimport script from \"./ClusterConfig.vue?vue&type=script&lang=ts&\"\nexport * from \"./ClusterConfig.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ClusterConfig.vue?vue&type=style&index=0&id=6f30e1ac&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6f30e1ac\",\n null\n \n)\n\nexport default component.exports","\nimport Vue, { VueConstructor } from 'vue';\nimport { SUB_TYPE } from '@shell/config/query-params';\nimport { set } from '@shell/utils/object';\nimport CreateEditView from '@shell/mixins/create-edit-view';\nimport Loading from '@shell/components/Loading.vue';\nimport CruResource from '@shell/components/CruResource.vue';\nimport type { Route } from 'vue-router';\nimport { CAPI, QUERY_PARAMS, ClusterClass } from '../../types/capi';\nimport ClusterConfig from './ClusterConfig.vue';\n\nexport default (Vue as VueConstructor<\n Vue & InstanceType\n>).extend({\n name: 'CreateCluster',\n components: {\n CruResource,\n Loading,\n ClusterConfig\n },\n\n mixins: [CreateEditView],\n\n props: {\n value: {\n type: Object,\n default: null,\n },\n componentTestid: {\n type: String,\n default: 'capi-provider-create'\n },\n mode: {\n type: String,\n required: true\n }\n },\n beforeMount() {\n if ( !this.value.spec ) {\n set(this.value, 'spec', {});\n }\n if ( !this.value.id ) {\n if ( !this.value.metadata ) {\n set(this.value, 'metadata', {});\n }\n }\n this.getClusterClasses().then((cc: any[]) => {\n this.clusterClasses = cc;\n this.loading = false;\n }).catch((err: Error) => {\n this.errors.push(err);\n this.loading = false;\n });\n },\n data() {\n const route = this.$route as Route;\n const subType = route.query[SUB_TYPE] || null;\n const classFromURL = route.query[QUERY_PARAMS.CLASS];\n const curClass = this.value?.spec?.topology?.class;\n const curNs = this.value?.metadata?.namespace;\n const classFromValue = curNs && curClass ? escape(`${ curNs }/${ curClass }`) : null;\n const preselectedClass = classFromURL || classFromValue || null;\n\n return {\n subType, preselectedClass, capiProviders: [], clusterClasses: [] as any[], loading: true\n };\n },\n methods: {\n async getClusterClasses() {\n const allClusterClasses: ClusterClass[] = await this.$store.dispatch('management/findAll', { type: CAPI.CLUSTER_CLASS });\n\n return allClusterClasses;\n },\n cancel() {\n this.$router.push({\n name: 'c-cluster-manager-capi',\n params: {},\n });\n }\n }\n});\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=f1c78860&\"\nimport script from \"./index.vue?vue&type=script&lang=ts&\"\nexport * from \"./index.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/vue-style-loader/index.js??ref--10-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ClusterConfig.vue?vue&type=style&index=0&id=6f30e1ac&prod&lang=scss&scoped=true&\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".align-center[data-v-487e7c02]{align-self:\\\"center\\\"}.input-label[data-v-487e7c02]{color:var(--input-label);margin-bottom:5px;display:block;width:100%}.input-label .icon-warning[data-v-487e7c02]{color:var(--error)}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","// style-loader: Adds some css to the DOM by adding a \n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=337ae8b8&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=337ae8b8&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"337ae8b8\",\n null\n \n)\n\nexport default component.exports","import Dashboard from '../pages/index.vue';\n\nconst routes = [\n {\n name: 'c-cluster-manager-capi',\n path: '/c/:cluster/manager/capi',\n component: Dashboard,\n },\n];\n\nexport default routes;\n","import { LABELS } from '../types/capi';\n\nexport default function(resource: any) {\n if (resource?.metadata?.labels?.[LABELS.AUTO_IMPORT] === 'true') {\n delete resource.metadata.labels[LABELS.AUTO_IMPORT];\n } else {\n if (!resource.metadata.labels) {\n resource.metadata.labels = {};\n }\n resource.metadata.labels[LABELS.AUTO_IMPORT] = 'true';\n }\n try {\n resource.save();\n } catch (err) {\n const title = resource.t('resource.errors.update', { name: resource.name });\n\n resource.$dispatch('growl/error', {\n title, message: err, timeout: 5000\n }, { root: true });\n }\n}\n","import { importTypes } from '@rancher/auto-import';\nimport {\n ActionLocation, IPlugin, PanelLocation, TableColumnLocation, TabLocation\n} from '@shell/core/types';\nimport { _CLONE, _CREATE, _EDIT } from '@shell/config/query-params';\nimport { MANAGEMENT, CAPI as RANCHER_CAPI } from '@shell/config/types';\nimport { LABELS, CAPI as TURTLES_CAPI } from './types/capi';\nimport capiRouting from './routes/capi-routing';\nimport toggleAutoImport from './util/auto-import';\n\n// Init the package\nexport default function(plugin: IPlugin): void {\n // Auto-import model, detail, edit from the folders\n importTypes(plugin);\n\n // Provide plugin metadata from package.json\n plugin.metadata = require('./package.json');\n\n plugin.addProduct(require('./config/capi'));\n\n // Add Vue Routes\n plugin.addRoutes(capiRouting);\n\n // add tab to namespace edit\n plugin.addTab(\n TabLocation.RESOURCE_DETAIL,\n {\n resource: ['namespace'],\n cluster: ['local'],\n mode: [_CREATE, _CLONE, _EDIT, 'config']\n },\n {\n name: 'capi-auto-import',\n labelKey: 'capi.autoImport.label',\n weight: -5,\n showHeader: true,\n component: () => import('./components/AutoImport.vue')\n }\n );\n\n // add enable auto-import action to namespace table\n plugin.addAction(ActionLocation.TABLE,\n { path: [{ urlPath: '/c/local/explorer/projectsnamespaces', exact: true }, { urlPath: 'cluster.x-k8s.io.cluster', endsWith: true }] },\n {\n labelKey: 'capi.autoImport.enableAction',\n icon: 'icon-plus',\n enabled(target: any) {\n const isProject = target.type === MANAGEMENT.PROJECT;\n\n return !isProject && target?.metadata?.labels?.[LABELS.AUTO_IMPORT] !== 'true';\n },\n invoke(opts, resources = []) {\n resources.forEach((ns) => {\n toggleAutoImport(ns);\n });\n }\n });\n\n // add disable auto-import action to namespace table\n plugin.addAction(ActionLocation.TABLE,\n { path: [{ urlPath: '/c/local/explorer/projectsnamespaces', exact: true }, { urlPath: 'cluster.x-k8s.io.cluster', endsWith: true }] },\n {\n labelKey: 'capi.autoImport.disableAction',\n icon: 'icon-minus',\n enabled(target: any) {\n const isProject = target.type === MANAGEMENT.PROJECT;\n\n return !isProject && target?.metadata?.labels?.[LABELS.AUTO_IMPORT] === 'true';\n },\n invoke(opts, resources = []) {\n resources.forEach((ns) => {\n toggleAutoImport(ns);\n });\n }\n });\n\n // add column to namespace table\n plugin.addTableColumn(\n TableColumnLocation.RESOURCE,\n { path: [{ urlPath: '/c/local/explorer/projectsnamespaces', exact: true }] },\n {\n name: 'capi-auto-import',\n labelKey: 'capi.autoImport.label',\n getValue: (row: any) => {\n return row?.labels?.[LABELS.AUTO_IMPORT] === 'true';\n },\n width: 200,\n align: 'center',\n formatter: 'AutoImportState'\n }\n );\n\n // add warning to cluster mgmt resource list\n plugin.addPanel(PanelLocation.RESOURCE_LIST,\n { resource: ['provisioning.cattle.io.cluster'] },\n { component: () => import('./components/ClusterListBanner.vue') }\n );\n\n plugin.addPanel(PanelLocation.RESOURCE_LIST,\n {\n resource: [RANCHER_CAPI.CAPI_CLUSTER,\n TURTLES_CAPI.CLUSTER_CLASS,\n TURTLES_CAPI.PROVIDER,\n RANCHER_CAPI.MACHINE,\n RANCHER_CAPI.MACHINE_SET,\n RANCHER_CAPI.MACHINE_DEPLOYMENT]\n },\n { component: () => import('./components/ExperimentalBanner.vue') }\n );\n\n plugin.addPanel(PanelLocation.DETAILS_MASTHEAD,\n {\n resource: [RANCHER_CAPI.CAPI_CLUSTER,\n TURTLES_CAPI.CLUSTER_CLASS,\n TURTLES_CAPI.PROVIDER,\n RANCHER_CAPI.MACHINE,\n RANCHER_CAPI.MACHINE_SET,\n RANCHER_CAPI.MACHINE_DEPLOYMENT]\n },\n { component: () => import('./components/ExperimentalBanner.vue') }\n );\n}\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n","import { get } from './object';\nimport { strPad } from './string';\n\n// Based on https://github.com/emberjs/ember.js/blob/master/packages/@ember/-internals/runtime/lib/type-of.js\n// and https://github.com/emberjs/ember.js/blob/master/packages/@ember/-internals/runtime/lib/mixins/array.js\n/*\nCopyright (c) 2019 Yehuda Katz, Tom Dale and Ember.js contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n*/\n\n// ........................................\n// TYPING & ARRAY MESSAGING\n//\nconst TYPE_MAP = {\n '[object Boolean]': 'boolean',\n '[object Number]': 'number',\n '[object String]': 'string',\n '[object Function]': 'function',\n '[object Array]': 'array',\n '[object Date]': 'date',\n '[object RegExp]': 'regexp',\n '[object Object]': 'object',\n '[object FileList]': 'filelist',\n};\n\nconst { toString } = Object.prototype;\n\n/**\n Returns a consistent type for the passed object.\n\n Use this instead of the built-in `typeof` to get the type of an item.\n It will return the same result across all browsers and includes a bit\n more detail. Here is what will be returned:\n\n | Return Value | Meaning |\n |---------------|------------------------------------------------------|\n | 'string' | String primitive or String object. |\n | 'number' | Number primitive or Number object. |\n | 'boolean' | Boolean primitive or Boolean object. |\n | 'null' | Null value |\n | 'undefined' | Undefined value |\n | 'function' | A function |\n | 'array' | An instance of Array |\n | 'regexp' | An instance of RegExp |\n | 'date' | An instance of Date |\n | 'filelist' | An instance of FileList |\n | 'error' | An instance of the Error object |\n | 'object' | A JavaScript object |\n\n Examples:\n\n import { typeOf } from '@shell/utils/type-of';\n\n typeOf(); // 'undefined'\n typeOf(null); // 'null'\n typeOf(undefined); // 'undefined'\n typeOf('michael'); // 'string'\n typeOf(new String('michael')); // 'string'\n typeOf(101); // 'number'\n typeOf(new Number(101)); // 'number'\n typeOf(true); // 'boolean'\n typeOf(new Boolean(true)); // 'boolean'\n typeOf(A); // 'function'\n typeOf([1, 2, 90]); // 'array'\n typeOf(/abc/); // 'regexp'\n typeOf(new Date()); // 'date'\n typeOf(event.target.files); // 'filelist'\n typeOf(new Error('teamocil')); // 'error'\n\n // 'normal' JavaScript object\n typeOf({ a: 'b' }); // 'object'\n*/\nexport function typeOf(item) {\n if (item === null) {\n return 'null';\n }\n if (item === undefined) {\n return 'undefined';\n }\n let ret = TYPE_MAP[toString.call(item)] || 'object';\n\n if (ret === 'object') {\n if (item instanceof Error) {\n ret = 'error';\n } else if (item instanceof Date) {\n ret = 'date';\n }\n }\n\n return ret;\n}\n\nexport function spaceship(a, b) {\n const diff = a - b;\n\n return (diff > 0) - (diff < 0);\n}\n\nconst TYPE_ORDER = {\n undefined: 0,\n null: 1,\n boolean: 2,\n number: 3,\n string: 4,\n array: 5,\n object: 6,\n instance: 7,\n function: 8,\n class: 9,\n date: 10,\n};\n\nexport function compare(a, b) {\n const typeA = typeOf(a);\n const typeB = typeOf(b);\n\n const res = spaceship(TYPE_ORDER[typeA], TYPE_ORDER[typeB]);\n\n if ( res ) {\n return res;\n }\n\n switch (typeA) {\n case 'boolean':\n case 'number':\n return spaceship(a, b);\n\n case 'string':\n return spaceship(a.localeCompare(b), 0);\n\n case 'array': {\n const aLen = a.length;\n const bLen = b.length;\n const len = Math.min(aLen, bLen);\n\n for (let i = 0; i < len; i++) {\n const r = compare(a[i], b[i]);\n\n if (r !== 0) {\n return r;\n }\n }\n\n // all elements are equal now\n // shorter array should be ordered first\n return spaceship(aLen, bLen);\n }\n case 'date':\n return spaceship(a.getTime(), b.getTime());\n }\n\n return 0;\n}\n\nexport function parseField(str) {\n const parts = str.split(/:/);\n\n if ( parts.length === 2 && parts[1] === 'desc' ) {\n return { field: parts[0], reverse: true };\n } else {\n return { field: str, reverse: false };\n }\n}\n\nexport function sortBy(ary, keys, desc) {\n if ( !Array.isArray(keys) ) {\n keys = [keys];\n }\n\n return (ary || []).slice().sort((objA, objB) => {\n for ( let i = 0 ; i < keys.length ; i++ ) {\n const parsed = parseField(keys[i]);\n const a = get(objA, parsed.field);\n const b = get(objB, parsed.field);\n let res = compare(a, b);\n\n if ( res ) {\n if ( desc ) {\n res *= -1;\n }\n\n if ( parsed.reverse ) {\n res *= -1;\n }\n\n return res;\n }\n }\n\n return 0;\n });\n}\n\n// Turn foo1-bar2 into foo0000000001-bar0000000002 so that the numbers sort numerically\nconst splitRegex = /([^\\d]+)/;\nconst notNumericRegex = /^[0-9]+$/;\n\nexport function sortableNumericSuffix(str) {\n if ( typeof str !== 'string' ) {\n return str;\n }\n\n return str.split(splitRegex).map((x) => x.match(notNumericRegex) ? strPad(x, 10, '0') : x).join('').trim();\n}\n\nexport function isNumeric(num) {\n return !!`${ num }`.match(notNumericRegex);\n}\n","export * from \"-!../../../../vue-style-loader/index.js??ref--10-oneOf-1-0!../../../../@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../../sass-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./LabeledTooltip.vue?vue&type=style&index=0&id=6fc47e64&prod&lang=scss&\"","var ListCache = require('./_ListCache'),\n stackClear = require('./_stackClear'),\n stackDelete = require('./_stackDelete'),\n stackGet = require('./_stackGet'),\n stackHas = require('./_stackHas'),\n stackSet = require('./_stackSet');\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n","export * from \"-!../../../node_modules/vue-style-loader/index.js??ref--10-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../node_modules/cache-loader/dist/cjs.js??ref--2-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=337ae8b8&prod&lang=scss&scoped=true&\"","var baseMerge = require('./_baseMerge'),\n createAssigner = require('./_createAssigner');\n\n/**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n * 'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n * 'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\nvar merge = createAssigner(function(object, source, srcIndex) {\n baseMerge(object, source, srcIndex);\n});\n\nmodule.exports = merge;\n","/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\nmodule.exports = arrayMap;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"cronstrue\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"cronstrue\"] = factory();\n\telse\n\t\troot[\"cronstrue\"] = factory();\n})(typeof self !== 'undefined' ? self : this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// define __esModule on exports\n/******/ \t__webpack_require__.r = function(exports) {\n/******/ \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t}\n/******/ \t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t};\n/******/\n/******/ \t// create a fake namespace object\n/******/ \t// mode & 1: value is a module id, require it\n/******/ \t// mode & 2: merge all properties of value into the ns\n/******/ \t// mode & 4: return value when already ns object\n/******/ \t// mode & 8|1: behave like require\n/******/ \t__webpack_require__.t = function(value, mode) {\n/******/ \t\tif(mode & 1) value = __webpack_require__(value);\n/******/ \t\tif(mode & 8) return value;\n/******/ \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n/******/ \t\tvar ns = Object.create(null);\n/******/ \t\t__webpack_require__.r(ns);\n/******/ \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n/******/ \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n/******/ \t\treturn ns;\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 4);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar stringUtilities_1 = __webpack_require__(1);\nvar cronParser_1 = __webpack_require__(2);\nvar ExpressionDescriptor = (function () {\n function ExpressionDescriptor(expression, options) {\n this.expression = expression;\n this.options = options;\n this.expressionParts = new Array(5);\n if (ExpressionDescriptor.locales[options.locale]) {\n this.i18n = ExpressionDescriptor.locales[options.locale];\n }\n else {\n console.warn(\"Locale '\" + options.locale + \"' could not be found; falling back to 'en'.\");\n this.i18n = ExpressionDescriptor.locales[\"en\"];\n }\n if (options.use24HourTimeFormat === undefined) {\n options.use24HourTimeFormat = this.i18n.use24HourTimeFormatByDefault();\n }\n }\n ExpressionDescriptor.toString = function (expression, _a) {\n var _b = _a === void 0 ? {} : _a, _c = _b.throwExceptionOnParseError, throwExceptionOnParseError = _c === void 0 ? true : _c, _d = _b.verbose, verbose = _d === void 0 ? false : _d, _e = _b.dayOfWeekStartIndexZero, dayOfWeekStartIndexZero = _e === void 0 ? true : _e, use24HourTimeFormat = _b.use24HourTimeFormat, _f = _b.locale, locale = _f === void 0 ? \"en\" : _f;\n var options = {\n throwExceptionOnParseError: throwExceptionOnParseError,\n verbose: verbose,\n dayOfWeekStartIndexZero: dayOfWeekStartIndexZero,\n use24HourTimeFormat: use24HourTimeFormat,\n locale: locale\n };\n var descripter = new ExpressionDescriptor(expression, options);\n return descripter.getFullDescription();\n };\n ExpressionDescriptor.initialize = function (localesLoader) {\n ExpressionDescriptor.specialCharacters = [\"/\", \"-\", \",\", \"*\"];\n localesLoader.load(ExpressionDescriptor.locales);\n };\n ExpressionDescriptor.prototype.getFullDescription = function () {\n var description = \"\";\n try {\n var parser = new cronParser_1.CronParser(this.expression, this.options.dayOfWeekStartIndexZero);\n this.expressionParts = parser.parse();\n var timeSegment = this.getTimeOfDayDescription();\n var dayOfMonthDesc = this.getDayOfMonthDescription();\n var monthDesc = this.getMonthDescription();\n var dayOfWeekDesc = this.getDayOfWeekDescription();\n var yearDesc = this.getYearDescription();\n description += timeSegment + dayOfMonthDesc + dayOfWeekDesc + monthDesc + yearDesc;\n description = this.transformVerbosity(description, this.options.verbose);\n description = description.charAt(0).toLocaleUpperCase() + description.substr(1);\n }\n catch (ex) {\n if (!this.options.throwExceptionOnParseError) {\n description = this.i18n.anErrorOccuredWhenGeneratingTheExpressionD();\n }\n else {\n throw \"\" + ex;\n }\n }\n return description;\n };\n ExpressionDescriptor.prototype.getTimeOfDayDescription = function () {\n var secondsExpression = this.expressionParts[0];\n var minuteExpression = this.expressionParts[1];\n var hourExpression = this.expressionParts[2];\n var description = \"\";\n if (!stringUtilities_1.StringUtilities.containsAny(minuteExpression, ExpressionDescriptor.specialCharacters) &&\n !stringUtilities_1.StringUtilities.containsAny(hourExpression, ExpressionDescriptor.specialCharacters) &&\n !stringUtilities_1.StringUtilities.containsAny(secondsExpression, ExpressionDescriptor.specialCharacters)) {\n description += this.i18n.atSpace() + this.formatTime(hourExpression, minuteExpression, secondsExpression);\n }\n else if (!secondsExpression &&\n minuteExpression.indexOf(\"-\") > -1 &&\n !(minuteExpression.indexOf(\",\") > -1) &&\n !(minuteExpression.indexOf(\"/\") > -1) &&\n !stringUtilities_1.StringUtilities.containsAny(hourExpression, ExpressionDescriptor.specialCharacters)) {\n var minuteParts = minuteExpression.split(\"-\");\n description += stringUtilities_1.StringUtilities.format(this.i18n.everyMinuteBetweenX0AndX1(), this.formatTime(hourExpression, minuteParts[0], \"\"), this.formatTime(hourExpression, minuteParts[1], \"\"));\n }\n else if (!secondsExpression &&\n hourExpression.indexOf(\",\") > -1 &&\n hourExpression.indexOf(\"-\") == -1 &&\n hourExpression.indexOf(\"/\") == -1 &&\n !stringUtilities_1.StringUtilities.containsAny(minuteExpression, ExpressionDescriptor.specialCharacters)) {\n var hourParts = hourExpression.split(\",\");\n description += this.i18n.at();\n for (var i = 0; i < hourParts.length; i++) {\n description += \" \";\n description += this.formatTime(hourParts[i], minuteExpression, \"\");\n if (i < hourParts.length - 2) {\n description += \",\";\n }\n if (i == hourParts.length - 2) {\n description += this.i18n.spaceAnd();\n }\n }\n }\n else {\n var secondsDescription = this.getSecondsDescription();\n var minutesDescription = this.getMinutesDescription();\n var hoursDescription = this.getHoursDescription();\n description += secondsDescription;\n if (description.length > 0 && minutesDescription.length > 0) {\n description += \", \";\n }\n description += minutesDescription;\n if (description.length > 0 && hoursDescription.length > 0) {\n description += \", \";\n }\n description += hoursDescription;\n }\n return description;\n };\n ExpressionDescriptor.prototype.getSecondsDescription = function () {\n var _this = this;\n var description = this.getSegmentDescription(this.expressionParts[0], this.i18n.everySecond(), function (s) {\n return s;\n }, function (s) {\n return stringUtilities_1.StringUtilities.format(_this.i18n.everyX0Seconds(), s);\n }, function (s) {\n return _this.i18n.secondsX0ThroughX1PastTheMinute();\n }, function (s) {\n return s == \"0\"\n ? \"\"\n : parseInt(s) < 20\n ? _this.i18n.atX0SecondsPastTheMinute()\n : _this.i18n.atX0SecondsPastTheMinuteGt20() || _this.i18n.atX0SecondsPastTheMinute();\n });\n return description;\n };\n ExpressionDescriptor.prototype.getMinutesDescription = function () {\n var _this = this;\n var secondsExpression = this.expressionParts[0];\n var hourExpression = this.expressionParts[2];\n var description = this.getSegmentDescription(this.expressionParts[1], this.i18n.everyMinute(), function (s) {\n return s;\n }, function (s) {\n return stringUtilities_1.StringUtilities.format(_this.i18n.everyX0Minutes(), s);\n }, function (s) {\n return _this.i18n.minutesX0ThroughX1PastTheHour();\n }, function (s) {\n try {\n return s == \"0\" && hourExpression.indexOf(\"/\") == -1 && secondsExpression == \"\"\n ? _this.i18n.everyHour()\n : parseInt(s) < 20\n ? _this.i18n.atX0MinutesPastTheHour()\n : _this.i18n.atX0MinutesPastTheHourGt20() || _this.i18n.atX0MinutesPastTheHour();\n }\n catch (e) {\n return _this.i18n.atX0MinutesPastTheHour();\n }\n });\n return description;\n };\n ExpressionDescriptor.prototype.getHoursDescription = function () {\n var _this = this;\n var expression = this.expressionParts[2];\n var description = this.getSegmentDescription(expression, this.i18n.everyHour(), function (s) {\n return _this.formatTime(s, \"0\", \"\");\n }, function (s) {\n return stringUtilities_1.StringUtilities.format(_this.i18n.everyX0Hours(), s);\n }, function (s) {\n return _this.i18n.betweenX0AndX1();\n }, function (s) {\n return _this.i18n.atX0();\n });\n return description;\n };\n ExpressionDescriptor.prototype.getDayOfWeekDescription = function () {\n var _this = this;\n var daysOfWeekNames = this.i18n.daysOfTheWeek();\n var description = null;\n if (this.expressionParts[5] == \"*\") {\n description = \"\";\n }\n else {\n description = this.getSegmentDescription(this.expressionParts[5], this.i18n.commaEveryDay(), function (s) {\n var exp = s;\n if (s.indexOf(\"#\") > -1) {\n exp = s.substr(0, s.indexOf(\"#\"));\n }\n else if (s.indexOf(\"L\") > -1) {\n exp = exp.replace(\"L\", \"\");\n }\n return daysOfWeekNames[parseInt(exp)];\n }, function (s) {\n if (parseInt(s) == 1) {\n return \"\";\n }\n else {\n return stringUtilities_1.StringUtilities.format(_this.i18n.commaEveryX0DaysOfTheWeek(), s);\n }\n }, function (s) {\n return _this.i18n.commaX0ThroughX1();\n }, function (s) {\n var format = null;\n if (s.indexOf(\"#\") > -1) {\n var dayOfWeekOfMonthNumber = s.substring(s.indexOf(\"#\") + 1);\n var dayOfWeekOfMonthDescription = null;\n switch (dayOfWeekOfMonthNumber) {\n case \"1\":\n dayOfWeekOfMonthDescription = _this.i18n.first();\n break;\n case \"2\":\n dayOfWeekOfMonthDescription = _this.i18n.second();\n break;\n case \"3\":\n dayOfWeekOfMonthDescription = _this.i18n.third();\n break;\n case \"4\":\n dayOfWeekOfMonthDescription = _this.i18n.fourth();\n break;\n case \"5\":\n dayOfWeekOfMonthDescription = _this.i18n.fifth();\n break;\n }\n format = _this.i18n.commaOnThe() + dayOfWeekOfMonthDescription + _this.i18n.spaceX0OfTheMonth();\n }\n else if (s.indexOf(\"L\") > -1) {\n format = _this.i18n.commaOnTheLastX0OfTheMonth();\n }\n else {\n var domSpecified = _this.expressionParts[3] != \"*\";\n format = domSpecified ? _this.i18n.commaAndOnX0() : _this.i18n.commaOnlyOnX0();\n }\n return format;\n });\n }\n return description;\n };\n ExpressionDescriptor.prototype.getMonthDescription = function () {\n var _this = this;\n var monthNames = this.i18n.monthsOfTheYear();\n var description = this.getSegmentDescription(this.expressionParts[4], \"\", function (s) {\n return monthNames[parseInt(s) - 1];\n }, function (s) {\n if (parseInt(s) == 1) {\n return \"\";\n }\n else {\n return stringUtilities_1.StringUtilities.format(_this.i18n.commaEveryX0Months(), s);\n }\n }, function (s) {\n return _this.i18n.commaMonthX0ThroughMonthX1() || _this.i18n.commaX0ThroughX1();\n }, function (s) {\n return _this.i18n.commaOnlyInMonthX0 ? _this.i18n.commaOnlyInMonthX0() : _this.i18n.commaOnlyInX0();\n });\n return description;\n };\n ExpressionDescriptor.prototype.getDayOfMonthDescription = function () {\n var _this = this;\n var description = null;\n var expression = this.expressionParts[3];\n switch (expression) {\n case \"L\":\n description = this.i18n.commaOnTheLastDayOfTheMonth();\n break;\n case \"WL\":\n case \"LW\":\n description = this.i18n.commaOnTheLastWeekdayOfTheMonth();\n break;\n default:\n var weekDayNumberMatches = expression.match(/(\\d{1,2}W)|(W\\d{1,2})/);\n if (weekDayNumberMatches) {\n var dayNumber = parseInt(weekDayNumberMatches[0].replace(\"W\", \"\"));\n var dayString = dayNumber == 1\n ? this.i18n.firstWeekday()\n : stringUtilities_1.StringUtilities.format(this.i18n.weekdayNearestDayX0(), dayNumber.toString());\n description = stringUtilities_1.StringUtilities.format(this.i18n.commaOnTheX0OfTheMonth(), dayString);\n break;\n }\n else {\n var lastDayOffSetMatches = expression.match(/L-(\\d{1,2})/);\n if (lastDayOffSetMatches) {\n var offSetDays = lastDayOffSetMatches[1];\n description = stringUtilities_1.StringUtilities.format(this.i18n.commaDaysBeforeTheLastDayOfTheMonth(), offSetDays);\n break;\n }\n else if (expression == \"*\" && this.expressionParts[5] != \"*\") {\n return \"\";\n }\n else {\n description = this.getSegmentDescription(expression, this.i18n.commaEveryDay(), function (s) {\n return s == \"L\" ? _this.i18n.lastDay() : ((_this.i18n.dayX0) ? stringUtilities_1.StringUtilities.format(_this.i18n.dayX0(), s) : s);\n }, function (s) {\n return s == \"1\" ? _this.i18n.commaEveryDay() : _this.i18n.commaEveryX0Days();\n }, function (s) {\n return _this.i18n.commaBetweenDayX0AndX1OfTheMonth();\n }, function (s) {\n return _this.i18n.commaOnDayX0OfTheMonth();\n });\n }\n break;\n }\n }\n return description;\n };\n ExpressionDescriptor.prototype.getYearDescription = function () {\n var _this = this;\n var description = this.getSegmentDescription(this.expressionParts[6], \"\", function (s) {\n return /^\\d+$/.test(s) ? new Date(parseInt(s), 1).getFullYear().toString() : s;\n }, function (s) {\n return stringUtilities_1.StringUtilities.format(_this.i18n.commaEveryX0Years(), s);\n }, function (s) {\n return _this.i18n.commaYearX0ThroughYearX1() || _this.i18n.commaX0ThroughX1();\n }, function (s) {\n return _this.i18n.commaOnlyInYearX0 ? _this.i18n.commaOnlyInYearX0() : _this.i18n.commaOnlyInX0();\n });\n return description;\n };\n ExpressionDescriptor.prototype.getSegmentDescription = function (expression, allDescription, getSingleItemDescription, getIntervalDescriptionFormat, getBetweenDescriptionFormat, getDescriptionFormat) {\n var _this = this;\n var description = null;\n if (!expression) {\n description = \"\";\n }\n else if (expression === \"*\") {\n description = allDescription;\n }\n else if (!stringUtilities_1.StringUtilities.containsAny(expression, [\"/\", \"-\", \",\"])) {\n description = stringUtilities_1.StringUtilities.format(getDescriptionFormat(expression), getSingleItemDescription(expression));\n }\n else if (expression.indexOf(\"/\") > -1) {\n var segments = expression.split(\"/\");\n description = stringUtilities_1.StringUtilities.format(getIntervalDescriptionFormat(segments[1]), segments[1]);\n if (segments[0].indexOf(\"-\") > -1) {\n var betweenSegmentDescription = this.generateBetweenSegmentDescription(segments[0], getBetweenDescriptionFormat, getSingleItemDescription);\n if (betweenSegmentDescription.indexOf(\", \") != 0) {\n description += \", \";\n }\n description += betweenSegmentDescription;\n }\n else if (!stringUtilities_1.StringUtilities.containsAny(segments[0], [\"*\", \",\"])) {\n var rangeItemDescription = stringUtilities_1.StringUtilities.format(getDescriptionFormat(segments[0]), getSingleItemDescription(segments[0]));\n rangeItemDescription = rangeItemDescription.replace(\", \", \"\");\n description += stringUtilities_1.StringUtilities.format(this.i18n.commaStartingX0(), rangeItemDescription);\n }\n }\n else if (expression.indexOf(\",\") > -1) {\n var segments = expression.split(\",\");\n var descriptionContent = \"\";\n for (var i = 0; i < segments.length; i++) {\n if (i > 0 && segments.length > 2) {\n descriptionContent += \",\";\n if (i < segments.length - 1) {\n descriptionContent += \" \";\n }\n }\n if (i > 0 && segments.length > 1 && (i == segments.length - 1 || segments.length == 2)) {\n descriptionContent += this.i18n.spaceAnd() + \" \";\n }\n if (segments[i].indexOf(\"-\") > -1) {\n var betweenSegmentDescription = this.generateBetweenSegmentDescription(segments[i], function (s) {\n return _this.i18n.commaX0ThroughX1();\n }, getSingleItemDescription);\n betweenSegmentDescription = betweenSegmentDescription.replace(\", \", \"\");\n descriptionContent += betweenSegmentDescription;\n }\n else {\n descriptionContent += getSingleItemDescription(segments[i]);\n }\n }\n description = stringUtilities_1.StringUtilities.format(getDescriptionFormat(expression), descriptionContent);\n }\n else if (expression.indexOf(\"-\") > -1) {\n description = this.generateBetweenSegmentDescription(expression, getBetweenDescriptionFormat, getSingleItemDescription);\n }\n return description;\n };\n ExpressionDescriptor.prototype.generateBetweenSegmentDescription = function (betweenExpression, getBetweenDescriptionFormat, getSingleItemDescription) {\n var description = \"\";\n var betweenSegments = betweenExpression.split(\"-\");\n var betweenSegment1Description = getSingleItemDescription(betweenSegments[0]);\n var betweenSegment2Description = getSingleItemDescription(betweenSegments[1]);\n betweenSegment2Description = betweenSegment2Description.replace(\":00\", \":59\");\n var betweenDescriptionFormat = getBetweenDescriptionFormat(betweenExpression);\n description += stringUtilities_1.StringUtilities.format(betweenDescriptionFormat, betweenSegment1Description, betweenSegment2Description);\n return description;\n };\n ExpressionDescriptor.prototype.formatTime = function (hourExpression, minuteExpression, secondExpression) {\n var hour = parseInt(hourExpression);\n var period = \"\";\n var setPeriodBeforeTime = false;\n if (!this.options.use24HourTimeFormat) {\n setPeriodBeforeTime = this.i18n.setPeriodBeforeTime && this.i18n.setPeriodBeforeTime();\n period = setPeriodBeforeTime ? this.getPeriod(hour) + \" \" : \" \" + this.getPeriod(hour);\n if (hour > 12) {\n hour -= 12;\n }\n if (hour === 0) {\n hour = 12;\n }\n }\n var minute = minuteExpression;\n var second = \"\";\n if (secondExpression) {\n second = \":\" + (\"00\" + secondExpression).substring(secondExpression.length);\n }\n return \"\" + (setPeriodBeforeTime ? period : \"\") + (\"00\" + hour.toString()).substring(hour.toString().length) + \":\" + (\"00\" + minute.toString()).substring(minute.toString().length) + second + (!setPeriodBeforeTime ? period : \"\");\n };\n ExpressionDescriptor.prototype.transformVerbosity = function (description, useVerboseFormat) {\n if (!useVerboseFormat) {\n description = description.replace(new RegExp(\", \" + this.i18n.everyMinute(), \"g\"), \"\");\n description = description.replace(new RegExp(\", \" + this.i18n.everyHour(), \"g\"), \"\");\n description = description.replace(new RegExp(this.i18n.commaEveryDay(), \"g\"), \"\");\n description = description.replace(/\\, ?$/, \"\");\n }\n return description;\n };\n ExpressionDescriptor.prototype.getPeriod = function (hour) {\n return hour >= 12 ? this.i18n.pm && this.i18n.pm() || \"PM\" : this.i18n.am && this.i18n.am() || \"AM\";\n };\n ExpressionDescriptor.locales = {};\n return ExpressionDescriptor;\n}());\nexports.ExpressionDescriptor = ExpressionDescriptor;\n\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar StringUtilities = (function () {\n function StringUtilities() {\n }\n StringUtilities.format = function (template) {\n var values = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n values[_i - 1] = arguments[_i];\n }\n return template.replace(/%s/g, function () {\n return values.shift();\n });\n };\n StringUtilities.containsAny = function (text, searchStrings) {\n return searchStrings.some(function (c) {\n return text.indexOf(c) > -1;\n });\n };\n return StringUtilities;\n}());\nexports.StringUtilities = StringUtilities;\n\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar CronParser = (function () {\n function CronParser(expression, dayOfWeekStartIndexZero) {\n if (dayOfWeekStartIndexZero === void 0) { dayOfWeekStartIndexZero = true; }\n this.expression = expression;\n this.dayOfWeekStartIndexZero = dayOfWeekStartIndexZero;\n }\n CronParser.prototype.parse = function () {\n var parsed = this.extractParts(this.expression);\n this.normalize(parsed);\n this.validate(parsed);\n return parsed;\n };\n CronParser.prototype.extractParts = function (expression) {\n if (!this.expression) {\n throw new Error(\"Expression is empty\");\n }\n var parsed = expression.trim().split(/[ ]+/);\n if (parsed.length < 5) {\n throw new Error(\"Expression has only \" + parsed.length + \" part\" + (parsed.length == 1 ? \"\" : \"s\") + \". At least 5 parts are required.\");\n }\n else if (parsed.length == 5) {\n parsed.unshift(\"\");\n parsed.push(\"\");\n }\n else if (parsed.length == 6) {\n if (/\\d{4}$/.test(parsed[5])) {\n parsed.unshift(\"\");\n }\n else {\n parsed.push(\"\");\n }\n }\n else if (parsed.length > 7) {\n throw new Error(\"Expression has \" + parsed.length + \" parts; too many!\");\n }\n return parsed;\n };\n CronParser.prototype.normalize = function (expressionParts) {\n var _this = this;\n expressionParts[3] = expressionParts[3].replace(\"?\", \"*\");\n expressionParts[5] = expressionParts[5].replace(\"?\", \"*\");\n expressionParts[2] = expressionParts[2].replace(\"?\", \"*\");\n if (expressionParts[0].indexOf(\"0/\") == 0) {\n expressionParts[0] = expressionParts[0].replace(\"0/\", \"*/\");\n }\n if (expressionParts[1].indexOf(\"0/\") == 0) {\n expressionParts[1] = expressionParts[1].replace(\"0/\", \"*/\");\n }\n if (expressionParts[2].indexOf(\"0/\") == 0) {\n expressionParts[2] = expressionParts[2].replace(\"0/\", \"*/\");\n }\n if (expressionParts[3].indexOf(\"1/\") == 0) {\n expressionParts[3] = expressionParts[3].replace(\"1/\", \"*/\");\n }\n if (expressionParts[4].indexOf(\"1/\") == 0) {\n expressionParts[4] = expressionParts[4].replace(\"1/\", \"*/\");\n }\n if (expressionParts[5].indexOf(\"1/\") == 0) {\n expressionParts[5] = expressionParts[5].replace(\"1/\", \"*/\");\n }\n if (expressionParts[6].indexOf(\"1/\") == 0) {\n expressionParts[6] = expressionParts[6].replace(\"1/\", \"*/\");\n }\n expressionParts[5] = expressionParts[5].replace(/(^\\d)|([^#/\\s]\\d)/g, function (t) {\n var dowDigits = t.replace(/\\D/, \"\");\n var dowDigitsAdjusted = dowDigits;\n if (_this.dayOfWeekStartIndexZero) {\n if (dowDigits == \"7\") {\n dowDigitsAdjusted = \"0\";\n }\n }\n else {\n dowDigitsAdjusted = (parseInt(dowDigits) - 1).toString();\n }\n return t.replace(dowDigits, dowDigitsAdjusted);\n });\n if (expressionParts[5] == \"L\") {\n expressionParts[5] = \"6\";\n }\n if (expressionParts[3] == \"?\") {\n expressionParts[3] = \"*\";\n }\n if (expressionParts[3].indexOf(\"W\") > -1 &&\n (expressionParts[3].indexOf(\",\") > -1 || expressionParts[3].indexOf(\"-\") > -1)) {\n throw new Error(\"The 'W' character can be specified only when the day-of-month is a single day, not a range or list of days.\");\n }\n var days = {\n SUN: 0,\n MON: 1,\n TUE: 2,\n WED: 3,\n THU: 4,\n FRI: 5,\n SAT: 6\n };\n for (var day in days) {\n expressionParts[5] = expressionParts[5].replace(new RegExp(day, \"gi\"), days[day].toString());\n }\n var months = {\n JAN: 1,\n FEB: 2,\n MAR: 3,\n APR: 4,\n MAY: 5,\n JUN: 6,\n JUL: 7,\n AUG: 8,\n SEP: 9,\n OCT: 10,\n NOV: 11,\n DEC: 12\n };\n for (var month in months) {\n expressionParts[4] = expressionParts[4].replace(new RegExp(month, \"gi\"), months[month].toString());\n }\n if (expressionParts[0] == \"0\") {\n expressionParts[0] = \"\";\n }\n if (!/\\*|\\-|\\,|\\//.test(expressionParts[2]) &&\n (/\\*|\\//.test(expressionParts[1]) || /\\*|\\//.test(expressionParts[0]))) {\n expressionParts[2] += \"-\" + expressionParts[2];\n }\n for (var i = 0; i < expressionParts.length; i++) {\n if (expressionParts[i] == \"*/1\") {\n expressionParts[i] = \"*\";\n }\n if (expressionParts[i].indexOf(\"/\") > -1 && !/^\\*|\\-|\\,/.test(expressionParts[i])) {\n var stepRangeThrough = null;\n switch (i) {\n case 4:\n stepRangeThrough = \"12\";\n break;\n case 5:\n stepRangeThrough = \"6\";\n break;\n case 6:\n stepRangeThrough = \"9999\";\n break;\n default:\n stepRangeThrough = null;\n break;\n }\n if (stepRangeThrough != null) {\n var parts = expressionParts[i].split(\"/\");\n expressionParts[i] = parts[0] + \"-\" + stepRangeThrough + \"/\" + parts[1];\n }\n }\n }\n };\n CronParser.prototype.validate = function (parsed) {\n this.assertNoInvalidCharacters(\"DOW\", parsed[5]);\n this.assertNoInvalidCharacters(\"DOM\", parsed[3]);\n };\n CronParser.prototype.assertNoInvalidCharacters = function (partDescription, expression) {\n var invalidChars = expression.match(/[A-KM-VX-Z]+/gi);\n if (invalidChars && invalidChars.length) {\n throw new Error(partDescription + \" part contains invalid values: '\" + invalidChars.toString() + \"'\");\n }\n };\n return CronParser;\n}());\nexports.CronParser = CronParser;\n\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar en = (function () {\n function en() {\n }\n en.prototype.atX0SecondsPastTheMinuteGt20 = function () {\n return null;\n };\n en.prototype.atX0MinutesPastTheHourGt20 = function () {\n return null;\n };\n en.prototype.commaMonthX0ThroughMonthX1 = function () {\n return null;\n };\n en.prototype.commaYearX0ThroughYearX1 = function () {\n return null;\n };\n en.prototype.use24HourTimeFormatByDefault = function () {\n return false;\n };\n en.prototype.anErrorOccuredWhenGeneratingTheExpressionD = function () {\n return \"An error occured when generating the expression description. Check the cron expression syntax.\";\n };\n en.prototype.everyMinute = function () {\n return \"every minute\";\n };\n en.prototype.everyHour = function () {\n return \"every hour\";\n };\n en.prototype.atSpace = function () {\n return \"At \";\n };\n en.prototype.everyMinuteBetweenX0AndX1 = function () {\n return \"Every minute between %s and %s\";\n };\n en.prototype.at = function () {\n return \"At\";\n };\n en.prototype.spaceAnd = function () {\n return \" and\";\n };\n en.prototype.everySecond = function () {\n return \"every second\";\n };\n en.prototype.everyX0Seconds = function () {\n return \"every %s seconds\";\n };\n en.prototype.secondsX0ThroughX1PastTheMinute = function () {\n return \"seconds %s through %s past the minute\";\n };\n en.prototype.atX0SecondsPastTheMinute = function () {\n return \"at %s seconds past the minute\";\n };\n en.prototype.everyX0Minutes = function () {\n return \"every %s minutes\";\n };\n en.prototype.minutesX0ThroughX1PastTheHour = function () {\n return \"minutes %s through %s past the hour\";\n };\n en.prototype.atX0MinutesPastTheHour = function () {\n return \"at %s minutes past the hour\";\n };\n en.prototype.everyX0Hours = function () {\n return \"every %s hours\";\n };\n en.prototype.betweenX0AndX1 = function () {\n return \"between %s and %s\";\n };\n en.prototype.atX0 = function () {\n return \"at %s\";\n };\n en.prototype.commaEveryDay = function () {\n return \", every day\";\n };\n en.prototype.commaEveryX0DaysOfTheWeek = function () {\n return \", every %s days of the week\";\n };\n en.prototype.commaX0ThroughX1 = function () {\n return \", %s through %s\";\n };\n en.prototype.first = function () {\n return \"first\";\n };\n en.prototype.second = function () {\n return \"second\";\n };\n en.prototype.third = function () {\n return \"third\";\n };\n en.prototype.fourth = function () {\n return \"fourth\";\n };\n en.prototype.fifth = function () {\n return \"fifth\";\n };\n en.prototype.commaOnThe = function () {\n return \", on the \";\n };\n en.prototype.spaceX0OfTheMonth = function () {\n return \" %s of the month\";\n };\n en.prototype.lastDay = function () {\n return \"the last day\";\n };\n en.prototype.commaOnTheLastX0OfTheMonth = function () {\n return \", on the last %s of the month\";\n };\n en.prototype.commaOnlyOnX0 = function () {\n return \", only on %s\";\n };\n en.prototype.commaAndOnX0 = function () {\n return \", and on %s\";\n };\n en.prototype.commaEveryX0Months = function () {\n return \", every %s months\";\n };\n en.prototype.commaOnlyInX0 = function () {\n return \", only in %s\";\n };\n en.prototype.commaOnTheLastDayOfTheMonth = function () {\n return \", on the last day of the month\";\n };\n en.prototype.commaOnTheLastWeekdayOfTheMonth = function () {\n return \", on the last weekday of the month\";\n };\n en.prototype.commaDaysBeforeTheLastDayOfTheMonth = function () {\n return \", %s days before the last day of the month\";\n };\n en.prototype.firstWeekday = function () {\n return \"first weekday\";\n };\n en.prototype.weekdayNearestDayX0 = function () {\n return \"weekday nearest day %s\";\n };\n en.prototype.commaOnTheX0OfTheMonth = function () {\n return \", on the %s of the month\";\n };\n en.prototype.commaEveryX0Days = function () {\n return \", every %s days\";\n };\n en.prototype.commaBetweenDayX0AndX1OfTheMonth = function () {\n return \", between day %s and %s of the month\";\n };\n en.prototype.commaOnDayX0OfTheMonth = function () {\n return \", on day %s of the month\";\n };\n en.prototype.commaEveryHour = function () {\n return \", every hour\";\n };\n en.prototype.commaEveryX0Years = function () {\n return \", every %s years\";\n };\n en.prototype.commaStartingX0 = function () {\n return \", starting %s\";\n };\n en.prototype.daysOfTheWeek = function () {\n return [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"];\n };\n en.prototype.monthsOfTheYear = function () {\n return [\n \"January\",\n \"February\",\n \"March\",\n \"April\",\n \"May\",\n \"June\",\n \"July\",\n \"August\",\n \"September\",\n \"October\",\n \"November\",\n \"December\"\n ];\n };\n return en;\n}());\nexports.en = en;\n\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar expressionDescriptor_ts_1 = __webpack_require__(0);\nvar enLocaleLoader_1 = __webpack_require__(5);\nexpressionDescriptor_ts_1.ExpressionDescriptor.initialize(new enLocaleLoader_1.enLocaleLoader());\nexports.default = expressionDescriptor_ts_1.ExpressionDescriptor;\nvar toString = expressionDescriptor_ts_1.ExpressionDescriptor.toString;\nexports.toString = toString;\n\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar en_1 = __webpack_require__(3);\nvar enLocaleLoader = (function () {\n function enLocaleLoader() {\n }\n enLocaleLoader.prototype.load = function (availableLocales) {\n availableLocales[\"en\"] = new en_1.en();\n };\n return enLocaleLoader;\n}());\nexports.enLocaleLoader = enLocaleLoader;\n\n\n/***/ })\n/******/ ]);\n});","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nmodule.exports = Promise;\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","var MapCache = require('./_MapCache'),\n setCacheAdd = require('./_setCacheAdd'),\n setCacheHas = require('./_setCacheHas');\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nmodule.exports = SetCache;\n","var isKeyable = require('./_isKeyable');\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n","/**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHasIn(object, key) {\n return object != null && key in Object(object);\n}\n\nmodule.exports = baseHasIn;\n","var Symbol = require('./_Symbol'),\n arrayMap = require('./_arrayMap'),\n isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = baseToString;\n","/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that negates the result of the predicate `func`. The\n * `func` predicate is invoked with the `this` binding and arguments of the\n * created function.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} predicate The predicate to negate.\n * @returns {Function} Returns the new negated function.\n * @example\n *\n * function isEven(n) {\n * return n % 2 == 0;\n * }\n *\n * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));\n * // => [1, 3, 5]\n */\nfunction negate(predicate) {\n if (typeof predicate != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return function() {\n var args = arguments;\n switch (args.length) {\n case 0: return !predicate.call(this);\n case 1: return !predicate.call(this, args[0]);\n case 2: return !predicate.call(this, args[0], args[1]);\n case 3: return !predicate.call(this, args[0], args[1], args[2]);\n }\n return !predicate.apply(this, args);\n };\n}\n\nmodule.exports = negate;\n","var baseIsEqual = require('./_baseIsEqual'),\n get = require('./get'),\n hasIn = require('./hasIn'),\n isKey = require('./_isKey'),\n isStrictComparable = require('./_isStrictComparable'),\n matchesStrictComparable = require('./_matchesStrictComparable'),\n toKey = require('./_toKey');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n}\n\nmodule.exports = baseMatchesProperty;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","var baseGetTag = require('./_baseGetTag'),\n getPrototype = require('./_getPrototype'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\nmodule.exports = isPlainObject;\n","export function camelToTitle(str) {\n return dasherize((str || '')).split('-').map((str) => {\n return ucFirst(str);\n }).join(' ');\n}\n\nexport function ucFirst(str) {\n str = str || '';\n\n return str.substr(0, 1).toUpperCase() + str.substr(1);\n}\n\nexport function lcFirst(str) {\n str = str || '';\n\n return str.substr(0, 1).toLowerCase() + str.substr(1);\n}\n\nexport function strPad(str, toLength, padChars = ' ', right = false) {\n str = `${ str }`;\n\n if (str.length >= toLength) {\n return str;\n }\n\n const neededLen = toLength - str.length + 1;\n const padStr = (new Array(neededLen)).join(padChars).substr(0, neededLen);\n\n if (right) {\n return str + padStr;\n } else {\n return padStr + str;\n }\n}\n\n// Turn thing1 into thing00000001 so that the numbers sort numerically\nexport function sortableNumericSuffix(str) {\n str = str || '';\n const match = str.match(/^(.*[^0-9])([0-9]+)$/);\n\n if (match) {\n return match[1] + strPad(match[2], 8, '0');\n }\n\n return str;\n}\n\nconst entityMap = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": ''',\n '/': '/'\n};\n\nexport function escapeHtml(html) {\n return String(html).replace(/[&<>\"']/g, (s) => {\n return entityMap[s];\n });\n}\n\n/**\n * Return HTML markup from escaped HTML string, allowing specific tags\n * @param text string\n * @returns string\n */\nexport function decodeHtml(text) {\n const div = document.createElement('div');\n\n div.innerHTML = text;\n\n return div.textContent || div.innerText || '';\n}\n\nexport function escapeRegex(string) {\n return string.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&'); // $& means the whole matched string\n}\n\nexport function random32(count) {\n count = Math.max(0, count || 1);\n\n const out = [];\n let i;\n\n if (window.crypto && window.crypto.getRandomValues) {\n const tmp = new Uint32Array(count);\n\n window.crypto.getRandomValues(tmp);\n for (i = 0; i < tmp.length; i++) {\n out[i] = tmp[i];\n }\n } else {\n for (i = 0; i < count; i++) {\n out[i] = Math.random() * 4294967296; // Math.pow(2,32);\n }\n }\n\n if (count === 1) {\n return out[0];\n } else {\n return out;\n }\n}\n\nconst alpha = 'abcdefghijklmnopqrstuvwxyz';\nconst num = '0123456789';\nconst sym = '!@#$%^&*()_+-=[]{};:,./<>?|';\n\nexport const CHARSET = {\n NUMERIC: num,\n NO_VOWELS: 'bcdfghjklmnpqrstvwxz2456789',\n ALPHA: alpha + alpha.toUpperCase(),\n ALPHA_NUM: alpha + alpha.toUpperCase() + num,\n ALPHA_LOWER: alpha,\n ALPHA_UPPER: alpha.toUpperCase(),\n HEX: `${ num }ABCDEF`,\n PASSWORD: alpha + alpha.toUpperCase() + num + alpha + alpha.toUpperCase() + num + sym,\n // ^-- includes alpha / ALPHA / num twice to reduce the occurrence of symbols\n};\n\nexport function randomStr(length = 16, chars = CHARSET.ALPHA_NUM) {\n if (!chars || !chars.length) {\n return null;\n }\n\n return random32(length).map((val) => {\n return chars[val % chars.length];\n }).join('');\n}\n\nexport function formatPercent(value, maxPrecision = 2) {\n if (value < 1 && maxPrecision >= 2) {\n return `${ Math.round(value * 100) / 100 }%`;\n } else if (value < 10 && maxPrecision >= 1) {\n return `${ Math.round(value * 10) / 10 }%`;\n } else {\n return `${ Math.round(value) }%`;\n }\n}\n\nexport function pluralize(str) {\n if ( str.match(/.*[^aeiou]y$/i) ) {\n return `${ str.substr(0, str.length - 1) }ies`;\n } else if ( str.endsWith('ics') ) {\n return str;\n } else if ( str.endsWith('s') ) {\n return `${ str }es`;\n } else {\n return `${ str }s`;\n }\n}\n\nexport function resourceNames(names, plusMore, t) {\n return names.reduce((res, name, i) => {\n if (i >= 5) {\n return res;\n }\n res += `${ escapeHtml( name ) }`;\n if (i === names.length - 1) {\n res += plusMore;\n } else {\n res += i === names.length - 2 ? t('generic.and') : t('generic.comma');\n }\n\n return res;\n }, '');\n}\n\nexport function indent(lines, count = 2, token = ' ', afterRegex = null) {\n if (typeof lines === 'string') {\n lines = lines.split(/\\n/);\n } else {\n lines = lines || [];\n }\n\n const padStr = (new Array(count + 1)).join(token);\n\n const out = lines.map((line) => {\n let prefix = '';\n let suffix = line;\n\n if (afterRegex) {\n const match = line.match(afterRegex);\n\n if (match) {\n prefix = match[match.length - 1];\n suffix = line.substr(match[0].length);\n }\n }\n\n return `${ prefix }${ padStr }${ suffix }`;\n });\n\n const str = out.join('\\n');\n\n return str;\n}\n\nconst decamelizeRegex = /([a-z\\d])([A-Z])/g;\n\nexport function decamelize(str) {\n return str.replace(decamelizeRegex, '$1_$2').toLowerCase();\n}\n\nconst dasherizeRegex = /[ _]/g;\n\nexport function dasherize(str) {\n return decamelize(str).replace(dasherizeRegex, '-');\n}\n\nexport function asciiLike(str) {\n str = str || '';\n\n if ( str.match(/[^\\r\\n\\t\\x20-\\x7F]/) ) {\n return false;\n }\n\n return true;\n}\n\nexport function coerceStringTypeToScalarType(val, type) {\n if ( type === 'float' ) {\n // Coerce strings to floats\n val = parseFloat(val) || null; // NaN becomes null\n } else if ( type === 'int' ) {\n // Coerce strings to ints\n val = parseInt(val, 10);\n\n if ( isNaN(val) ) {\n val = null;\n }\n } else if ( type === 'boolean') {\n // Coerce strings to boolean\n if (val.toLowerCase() === 'true') {\n val = true;\n } else if (val.toLowerCase() === 'false') {\n val = false;\n }\n }\n\n return val;\n}\n\nexport function matchesSomeRegex(stringRaw, regexes = []) {\n return regexes.some((regexRaw) => {\n const string = stringRaw || '';\n const regex = ensureRegex(regexRaw);\n\n return string.match(regex);\n });\n}\n\nexport function ensureRegex(strOrRegex, exact = true) {\n if ( typeof strOrRegex === 'string' ) {\n if ( exact ) {\n return new RegExp(`^${ escapeRegex(strOrRegex) }$`, 'i');\n } else {\n return new RegExp(`${ escapeRegex(strOrRegex) }`, 'i');\n }\n }\n\n return strOrRegex;\n}\n\nexport function nlToBr(value) {\n return escapeHtml(value || '').replace(/(\\r\\n|\\r|\\n)/g, '
\\n');\n}\n\nconst quotedMatch = /[^.\"']+|\"([^\"]*)\"|'([^']*)'/g;\n\nexport function splitObjectPath(path) {\n if ( path.includes('\"') || path.includes(\"'\") ) {\n // Path with quoted section\n return path.match(quotedMatch).map((x) => x.replace(/['\"]/g, ''));\n }\n\n // Regular path\n return path.split('.');\n}\n\nexport function joinObjectPath(ary) {\n let out = '';\n\n for ( const p of ary ) {\n if ( p.includes('.') ) {\n out += `.\"${ p }\"`;\n } else {\n out += `.${ p }`;\n }\n }\n\n if ( out.startsWith('.') ) {\n out = out.substr(1);\n }\n\n return out;\n}\n\nexport function shortenedImage(image) {\n return (image || '')\n .replace(/^(index\\.)?docker.io\\/(library\\/)?/, '')\n .replace(/:latest$/, '')\n .replace(/^(.*@sha256:)([0-9a-f]{8})[0-9a-f]+$/i, '$1$2…');\n}\n\nexport function isIpv4(ip) {\n const reg = /^((25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(25[0-5]|2[0-4]\\d|[01]?\\d\\d?)$/;\n\n return reg.test(ip);\n}\n\nexport function sanitizeKey(k) {\n return (k || '').replace(/[^a-z0-9./_-]/ig, '');\n}\n\nexport function sanitizeValue(v) {\n return (v || '').replace(/[^a-z0-9._-]/ig, '');\n}\n\nexport function sanitizeIP(v) {\n return (v || '').replace(/[^a-z0-9.:_-]/ig, '');\n}\n","/**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction safeGet(object, key) {\n if (key === 'constructor' && typeof object[key] === 'function') {\n return;\n }\n\n if (key == '__proto__') {\n return;\n }\n\n return object[key];\n}\n\nmodule.exports = safeGet;\n","/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n}\n\nmodule.exports = arrayEach;\n","var assignValue = require('./_assignValue'),\n baseAssignValue = require('./_baseAssignValue');\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nmodule.exports = copyObject;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n","/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n","var baseKeys = require('./_baseKeys'),\n getTag = require('./_getTag'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isArrayLike = require('./isArrayLike'),\n isBuffer = require('./isBuffer'),\n isPrototype = require('./_isPrototype'),\n isTypedArray = require('./isTypedArray');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n setTag = '[object Set]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if `value` is an empty object, collection, map, or set.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n *\n * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n * jQuery-like collections are considered empty if they have a `length` of `0`.\n * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n * @example\n *\n * _.isEmpty(null);\n * // => true\n *\n * _.isEmpty(true);\n * // => true\n *\n * _.isEmpty(1);\n * // => true\n *\n * _.isEmpty([1, 2, 3]);\n * // => false\n *\n * _.isEmpty({ 'a': 1 });\n * // => false\n */\nfunction isEmpty(value) {\n if (value == null) {\n return true;\n }\n if (isArrayLike(value) &&\n (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||\n isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n return !value.length;\n }\n var tag = getTag(value);\n if (tag == mapTag || tag == setTag) {\n return !value.size;\n }\n if (isPrototype(value)) {\n return !baseKeys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n}\n\nmodule.exports = isEmpty;\n","var Stack = require('./_Stack'),\n assignMergeValue = require('./_assignMergeValue'),\n baseFor = require('./_baseFor'),\n baseMergeDeep = require('./_baseMergeDeep'),\n isObject = require('./isObject'),\n keysIn = require('./keysIn'),\n safeGet = require('./_safeGet');\n\n/**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n baseFor(source, function(srcValue, key) {\n stack || (stack = new Stack);\n if (isObject(srcValue)) {\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n }\n else {\n var newValue = customizer\n ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n}\n\nmodule.exports = baseMerge;\n","var baseHasIn = require('./_baseHasIn'),\n hasPath = require('./_hasPath');\n\n/**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\nfunction hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n}\n\nmodule.exports = hasIn;\n","var baseIsEqualDeep = require('./_baseIsEqualDeep'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\n\nmodule.exports = baseIsEqual;\n","var baseIsMap = require('./_baseIsMap'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\n\n/**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nmodule.exports = isMap;\n","var isArrayLike = require('./isArrayLike'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\nmodule.exports = isArrayLikeObject;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nmodule.exports = Set;\n","export * from \"-!../../../vue-style-loader/index.js??ref--10-oneOf-1-0!../../../@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../sass-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./management.cattle.io.globalrole.vue?vue&type=style&index=0&id=effd72b0&prod&lang=scss&scoped=true&\"","var baseIndexOf = require('./_baseIndexOf');\n\n/**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n}\n\nmodule.exports = arrayIncludes;\n","var overArg = require('./_overArg');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nmodule.exports = nativeKeys;\n","var baseGet = require('./_baseGet'),\n baseSet = require('./_baseSet'),\n castPath = require('./_castPath');\n\n/**\n * The base implementation of `_.pickBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @param {Function} predicate The function invoked per property.\n * @returns {Object} Returns the new object.\n */\nfunction basePickBy(object, paths, predicate) {\n var index = -1,\n length = paths.length,\n result = {};\n\n while (++index < length) {\n var path = paths[index],\n value = baseGet(object, path);\n\n if (predicate(value, path)) {\n baseSet(result, castPath(path, object), value);\n }\n }\n return result;\n}\n\nmodule.exports = basePickBy;\n","import { isArray } from '@shell/utils/array';\n\nexport class ClusterNotFoundError extends Error {\n static name = 'ClusterNotFoundError'\n\n constructor(message) {\n super(message);\n this.name = ClusterNotFoundError.name;\n }\n}\n\n/**\n * An error occurred and the user should be redirected to a certain location (where this is handled)\n */\nexport class RedirectToError extends Error {\n static name = 'RedirectToError'\n\n constructor(message, url) {\n super(message);\n this.url = url;\n this.name = RedirectToError.name;\n }\n}\n\nexport class ApiError extends Error {\n constructor(res) {\n super(stringify(res));\n this.status = res._status || 0;\n this.statusText = res._statusText;\n this.headers = res.headers;\n this.url = res._url;\n }\n\n toString() {\n return `[${ this.status } ${ this.statusText }]: ${ this.message }`;\n }\n\n toJSON() {\n return {\n type: 'error',\n status: this.status,\n statusText: this.statusText,\n message: this.statusMessage,\n url: this.url,\n };\n }\n}\n\nexport function stringify(err) {\n let str;\n\n if ( typeof err === 'string' ) {\n str = err;\n } else if ( err && typeof err === 'object' ) {\n if ( err.message ) {\n str = err.message;\n\n if (typeof str === 'string') {\n try {\n const data = JSON.parse(str).data;\n\n if (data) {\n return data;\n }\n } catch {}\n }\n\n if ( err.detail ) {\n if ( str ) {\n str += ` (${ err.detail })`;\n } else {\n str = err.detail;\n }\n }\n } else if ( err.detail ) {\n str = err.detail;\n } else if ( err.url ) {\n str = `from ${ err.url }`;\n }\n }\n\n if (!str) {\n // Good luck...\n str = JSON.stringify(err);\n }\n\n return str;\n}\n\nexport function exceptionToErrorsArray(err) {\n if ( err?.response?.data ) {\n const body = err.response.data;\n\n if ( body && body.message ) {\n return [body.message];\n } else {\n return [err];\n }\n } else if (err.status && err.message) {\n return [err.message];\n } else if ( isArray(err) ) {\n return err;\n } else {\n return [err];\n }\n}\n","var getNative = require('./_getNative');\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nmodule.exports = defineProperty;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nmodule.exports = DataView;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n","// style-loader: Adds some css to the DOM by adding a \n","import mod from \"-!../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./LabeledSelect.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./LabeledSelect.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./LabeledSelect.vue?vue&type=template&id=529406d8&scoped=true&\"\nimport script from \"./LabeledSelect.vue?vue&type=script&lang=js&\"\nexport * from \"./LabeledSelect.vue?vue&type=script&lang=js&\"\nimport style0 from \"./LabeledSelect.vue?vue&type=style&index=0&id=529406d8&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"529406d8\",\n null\n \n)\n\nexport default component.exports","var identity = require('./identity'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\n\n/**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\nfunction baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n}\n\nmodule.exports = baseRest;\n","var Symbol = require('./_Symbol'),\n Uint8Array = require('./_Uint8Array'),\n eq = require('./eq'),\n equalArrays = require('./_equalArrays'),\n mapToArray = require('./_mapToArray'),\n setToArray = require('./_setToArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n}\n\nmodule.exports = equalByTag;\n","var eq = require('./eq'),\n isArrayLike = require('./isArrayLike'),\n isIndex = require('./_isIndex'),\n isObject = require('./isObject');\n\n/**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n}\n\nmodule.exports = isIterateeCall;\n","/**\n * Sets the width of a DOM element. Adapted from [youmightnotneedjquery.com](https://youmightnotneedjquery.com/#set_width)\n * @param {Element} el - The target DOM element\n * @param {function | string | number} val - The desired width represented as a Number\n */\nexport function setWidth(el, val) {\n if (!el) {\n return;\n }\n\n if (typeof val === 'function') {\n val = val();\n }\n\n if (typeof val === 'string') {\n el.style.width = val;\n\n return;\n }\n\n el.style.width = `${ val }px`;\n}\n\n/**\n * Gets the width of a DOM element. Adapted from [youmightnotneedjquery.com](https://youmightnotneedjquery.com/#get_width)\n * @param {Element} el - The target DOM element\n * @returns Number representing the width for the provided element\n */\nexport function getWidth(el) {\n if (!el || !el.length) {\n return;\n }\n\n if (el.length) {\n return parseFloat(getComputedStyle(el[0]).width.replace('px', ''));\n } else {\n return parseFloat(getComputedStyle(el).width.replace('px', ''));\n }\n}\n","import Vue from 'vue';\nimport { _EDIT, _VIEW } from '@shell/config/query-params';\nimport { getWidth, setWidth } from '@shell/utils/width';\n\ninterface LabeledFormElement {\n raised: boolean;\n focused: boolean;\n blurred: number | null;\n}\n\nexport default Vue.extend({\n inheritAttrs: false,\n\n props: {\n mode: {\n type: String,\n default: _EDIT,\n },\n\n label: {\n type: String,\n default: null\n },\n\n labelKey: {\n type: String,\n default: null\n },\n\n placeholderKey: {\n type: String,\n default: null\n },\n\n tooltip: {\n type: [String, Object],\n default: null\n },\n\n hoverTooltip: {\n type: Boolean,\n default: true,\n },\n\n tooltipKey: {\n type: String,\n default: null\n },\n\n required: {\n type: Boolean,\n default: false,\n },\n\n disabled: {\n type: Boolean,\n default: false,\n },\n\n placeholder: {\n type: [String, Number],\n default: ''\n },\n\n value: {\n type: [String, Number, Object],\n default: ''\n },\n\n options: {\n default: null,\n type: Array\n },\n\n searchable: {\n default: false,\n type: Boolean\n },\n\n rules: {\n default: () => [],\n type: Array,\n // we only want functions in the rules array\n validator: (rules: any) => rules.every((rule: any) => ['function'].includes(typeof rule))\n },\n\n requireDirty: {\n default: true,\n type: Boolean\n }\n },\n\n data(): LabeledFormElement {\n return {\n raised: this.mode === _VIEW || !!`${ this.value }`,\n focused: false,\n blurred: null,\n };\n },\n\n computed: {\n requiredField(): boolean {\n // using \"any\" for a type on \"rule\" here is dirty but the use of the optional chaining operator makes it safe for what we're doing here.\n return (this.required || this.rules.some((rule: any): boolean => rule?.name === 'required'));\n },\n empty(): boolean {\n return !!`${ this.value }`;\n },\n\n isView(): boolean {\n return this.mode === _VIEW;\n },\n\n isDisabled(): boolean {\n return this.disabled || this.isView;\n },\n\n isSearchable(): boolean {\n const { searchable } = this;\n const options = ( this.options || [] );\n\n if (searchable || options.length >= 10) {\n return true;\n }\n\n return false;\n },\n validationMessage(): string | undefined {\n // we want to grab the required rule passed in if we can but if it's not there then we can just grab it from the formRulesGenerator\n const requiredRule = this.rules.find((rule: any) => rule?.name === 'required') as Function;\n const ruleMessages = [];\n const value = this?.value;\n\n if (requiredRule && this.blurred && !this.focused) {\n const message = requiredRule(value);\n\n if (!!message) {\n return message;\n }\n }\n\n for (const rule of this.rules as Function[]) {\n const message = rule(value);\n\n if (!!message && rule.name !== 'required') { // we're catching 'required' above so we can ignore it here\n ruleMessages.push(message);\n }\n }\n if (ruleMessages.length > 0 && (this.blurred || this.focused || !this.requireDirty)) {\n return ruleMessages.join(', ');\n } else {\n return undefined;\n }\n }\n },\n\n methods: {\n resizeHandler() {\n // since the DD is positioned there is no way to 'inherit' the size of the input, this calcs the size of the parent and set the dd width if it is smaller. If not let it grow with the regular styles\n this.$nextTick(() => {\n const DD = (this.$refs.select as HTMLElement).querySelector('ul.vs__dropdown-menu');\n\n const selectWidth = getWidth(this.$refs.select as Element) || 0;\n const dropWidth = getWidth(DD as Element) || 0;\n\n if (dropWidth < selectWidth) {\n setWidth(DD as Element, selectWidth);\n }\n });\n },\n onFocus() {\n this.$emit('on-focus');\n\n return this.onFocusLabeled();\n },\n\n onFocusLabeled() {\n this.raised = true;\n this.focused = true;\n },\n\n onBlur() {\n this.$emit('on-blur');\n\n return this.onBlurLabeled();\n },\n\n onBlurLabeled() {\n this.focused = false;\n\n if ( !this.value ) {\n this.raised = false;\n }\n\n this.blurred = Date.now();\n }\n }\n});\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.has` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHas(object, key) {\n return object != null && hasOwnProperty.call(object, key);\n}\n\nmodule.exports = baseHas;\n","// style-loader: Adds some css to the DOM by adding a \n","import mod from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./management.cattle.io.project.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./management.cattle.io.project.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./management.cattle.io.project.vue?vue&type=template&id=3a26ac99&scoped=true&\"\nimport script from \"./management.cattle.io.project.vue?vue&type=script&lang=js&\"\nexport * from \"./management.cattle.io.project.vue?vue&type=script&lang=js&\"\nimport style0 from \"./management.cattle.io.project.vue?vue&type=style&index=0&id=3a26ac99&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3a26ac99\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"mt-10\"},[_c('div',{staticClass:\"mb-30\"},[_vm._v(\" \"+_vm._s(_vm.t('promptRemove.attemptingToRemove', { type: _vm.type }))+\" \"),_c('span',{directives:[{name:\"clean-html\",rawName:\"v-clean-html\",value:(_vm.podNames),expression:\"podNames\"}],staticClass:\"machine-name\"})]),_c('div',{staticClass:\"mb-30\"},[_c('Checkbox',{attrs:{\"label\":_vm.t('promptForceRemove.forceDelete')},model:{value:(_vm.forceDelete),callback:function ($$v) {_vm.forceDelete=$$v},expression:\"forceDelete\"}})],1),_c('Banner',{attrs:{\"color\":\"warning\",\"label-key\":\"promptForceRemove.podRemoveWarning\"}}),_vm._l((_vm.errors),function(error,i){return _c('Banner',{key:i,attrs:{\"color\":\"error\",\"label\":error}})})],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./pod.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./pod.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./pod.vue?vue&type=template&id=db441fb2&scoped=true&\"\nimport script from \"./pod.vue?vue&type=script&lang=js&\"\nexport * from \"./pod.vue?vue&type=script&lang=js&\"\nimport style0 from \"./pod.vue?vue&type=style&index=0&id=db441fb2&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"db441fb2\",\n null\n \n)\n\nexport default component.exports","module.exports = __WEBPACK_EXTERNAL_MODULE__5877__;","// style-loader: Adds some css to the DOM by adding a \n","import mod from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ActionDropdown.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ActionDropdown.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ActionDropdown.vue?vue&type=template&id=70f0de36&\"\nimport script from \"./ActionDropdown.vue?vue&type=script&lang=js&\"\nexport * from \"./ActionDropdown.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ActionDropdown.vue?vue&type=style&index=0&id=70f0de36&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('thead',[_c('tr',{class:{'loading': _vm.loading}},[(_vm.tableActions)?_c('th',{attrs:{\"width\":_vm.checkWidth,\"align\":\"middle\"}},[_c('Checkbox',{staticClass:\"check\",attrs:{\"data-testid\":\"sortable-table_check_select_all\",\"indeterminate\":_vm.isIndeterminate,\"disabled\":_vm.noRows || _vm.noResults},model:{value:(_vm.isAll),callback:function ($$v) {_vm.isAll=$$v},expression:\"isAll\"}})],1):_vm._e(),(_vm.subExpandColumn)?_c('th',{attrs:{\"width\":_vm.expandWidth}}):_vm._e(),_vm._l((_vm.columns),function(col){return _c('th',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.hasAdvancedFiltering || (_vm.hasAdvancedFiltering && col.isColVisible)),expression:\"!hasAdvancedFiltering || (hasAdvancedFiltering && col.isColVisible)\"}],key:col.name,class:{ sortable: col.sort, [col.breakpoint]: !!col.breakpoint},attrs:{\"align\":col.align || 'left',\"width\":col.width},on:{\"click\":function($event){$event.preventDefault();return _vm.changeSort($event, col)}}},[_c('div',{staticClass:\"table-header-container\",class:{ 'not-filterable': _vm.hasAdvancedFiltering && !col.isFilter }},[(col.sort)?_c('span',{directives:[{name:\"clean-tooltip\",rawName:\"v-clean-tooltip\",value:(_vm.tooltip(col)),expression:\"tooltip(col)\"}]},[_c('span',{directives:[{name:\"clean-html\",rawName:\"v-clean-html\",value:(_vm.labelFor(col)),expression:\"labelFor(col)\"}]}),_c('i',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.hasAdvancedFiltering && !col.isFilter),expression:\"hasAdvancedFiltering && !col.isFilter\"},{name:\"clean-tooltip\",rawName:\"v-clean-tooltip\",value:(_vm.t('sortableTable.tableHeader.noFilter')),expression:\"t('sortableTable.tableHeader.noFilter')\"}],staticClass:\"icon icon-info not-filter-icon\"}),_c('span',{staticClass:\"icon-stack\"},[_c('i',{staticClass:\"icon icon-sort icon-stack-1x faded\"}),(_vm.isCurrent(col) && !_vm.descending)?_c('i',{staticClass:\"icon icon-sort-down icon-stack-1x\"}):_vm._e(),(_vm.isCurrent(col) && _vm.descending)?_c('i',{staticClass:\"icon icon-sort-up icon-stack-1x\"}):_vm._e()])]):_c('span',{directives:[{name:\"clean-tooltip\",rawName:\"v-clean-tooltip\",value:(_vm.tooltip(col)),expression:\"tooltip(col)\"}]},[_vm._v(_vm._s(_vm.labelFor(col)))])])])}),(_vm.rowActions && _vm.hasAdvancedFiltering && _vm.tableColsOptions.length)?_c('th',{attrs:{\"width\":_vm.rowActionsWidth}},[_c('div',{ref:\"table-options\",staticClass:\"table-options-group\"},[_c('button',{staticClass:\"btn btn-sm role-multi-action table-options-btn\",attrs:{\"aria-haspopup\":\"true\",\"aria-expanded\":\"false\",\"type\":\"button\"},on:{\"click\":_vm.tableColsOptionsClick}},[_c('i',{staticClass:\"icon icon-actions\"})]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.tableColsOptionsVisibility),expression:\"tableColsOptionsVisibility\"}],staticClass:\"table-options-container\",style:(_vm.tableColsMenuPosition)},[(_vm.hasAdvGrouping)?_c('div',{staticClass:\"table-options-grouping\"},[_c('span',{staticClass:\"table-options-col-subtitle\"},[_vm._v(_vm._s(_vm.t('sortableTable.tableHeader.groupBy'))+\":\")]),_c('LabeledSelect',{staticClass:\"table-options-grouping-select\",attrs:{\"clearable\":true,\"options\":_vm.groupOptions,\"disabled\":false,\"searchable\":false,\"mode\":\"edit\",\"multiple\":false,\"taggable\":false},model:{value:(_vm.advGroup),callback:function ($$v) {_vm.advGroup=$$v},expression:\"advGroup\"}})],1):_vm._e(),_c('p',{staticClass:\"table-options-col-subtitle mb-20\"},[_vm._v(\" \"+_vm._s(_vm.t('sortableTable.tableHeader.show'))+\": \")]),_c('ul',_vm._l((_vm.tableColsOptions),function(col,index){return _c('li',{directives:[{name:\"show\",rawName:\"v-show\",value:(col.isTableOption),expression:\"col.isTableOption\"}],key:index,class:{ 'visible': !col.preventColToggle }},[_c('Checkbox',{directives:[{name:\"show\",rawName:\"v-show\",value:(!col.preventColToggle),expression:\"!col.preventColToggle\"}],staticClass:\"table-options-checkbox\",attrs:{\"label\":col.label},on:{\"input\":function($event){return _vm.tableOptionsCheckbox($event, col.label)}},model:{value:(col.isColVisible),callback:function ($$v) {_vm.$set(col, \"isColVisible\", $$v)},expression:\"col.isColVisible\"}})],1)}),0)])])]):(_vm.rowActions)?_c('th',{attrs:{\"width\":_vm.rowActionsWidth}}):_vm._e()],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export function getParent(el, parentSelector) {\n el = el?.parentElement;\n\n if (!el) {\n return null;\n }\n\n const matchFn = el.matches || el.matchesSelector;\n\n if (!matchFn.call(el, parentSelector)) {\n return getParent(el, parentSelector);\n }\n\n return el;\n}\n","import { isMore, isRange, suppressContextMenu, isAlternate } from '@shell/utils/platform';\nimport { get } from '@shell/utils/object';\nimport { filterBy } from '@shell/utils/array';\nimport { getParent } from '@shell/utils/dom';\n\nexport const ALL = 'all';\nexport const SOME = 'some';\nexport const NONE = 'none';\n\nexport default {\n mounted() {\n const table = this.$el.querySelector('TABLE');\n\n this._onRowClickBound = this.onRowClick.bind(this);\n this._onRowMousedownBound = this.onRowMousedown.bind(this);\n this._onRowContextBound = this.onRowContext.bind(this);\n\n table.addEventListener('click', this._onRowClickBound);\n table.addEventListener('mousedown', this._onRowMousedownBound);\n table.addEventListener('contextmenu', this._onRowContextBound);\n },\n\n beforeDestroy() {\n const table = this.$el.querySelector('TABLE');\n\n table.removeEventListener('click', this._onRowClickBound);\n table.removeEventListener('mousedown', this._onRowMousedownBound);\n table.removeEventListener('contextmenu', this._onRowContextBound);\n },\n\n computed: {\n // Used for the table-level selection check-box to show checked (all selected)/intermediate (some selected)/unchecked (none selected)\n howMuchSelected() {\n const total = this.pagedRows.length;\n const selected = this.selectedRows.length;\n\n if ( selected >= total && total > 0 ) {\n return ALL;\n } else if ( selected > 0 ) {\n return SOME;\n }\n\n return NONE;\n },\n\n // NOTE: The logic here could be simplified and made more performant\n bulkActionsForSelection() {\n let disableAll = false;\n // pagedRows is all rows in the current page\n const all = this.pagedRows;\n const allRows = this.arrangedRows;\n let selected = this.selectedRows;\n\n // Nothing is selected\n if ( !this.selectedRows.length ) {\n // and there are no rows\n if ( !allRows ) {\n return [];\n }\n\n const firstNode = allRows[0];\n\n selected = firstNode ? [firstNode] : [];\n disableAll = true;\n }\n\n const map = {};\n\n // Find and add all the actions for all the nodes so that we know\n // what all the possible actions are\n for ( const node of all ) {\n if (node.availableActions) {\n for ( const act of node.availableActions ) {\n if ( act.bulkable ) {\n _add(map, act, false);\n }\n }\n }\n }\n\n // Go through all the selected items and add the actions (which were already identified above)\n // as available for some (or all) of the selected nodes\n for ( const node of selected ) {\n if (node.availableActions) {\n for ( const act of node.availableActions ) {\n if ( act.bulkable && act.enabled ) {\n _add(map, act, false);\n }\n }\n }\n }\n\n // If there's no items actually selected, we want to see all the actions\n // so you know what exists, but have them all be disabled since there's nothing to do them on.\n const out = _filter(map, disableAll);\n\n // Enable a bulkaction if some of the selected items can perform the action\n out.forEach((bulkAction) => {\n const actionEnabledForSomeSelected = this.selectedRows.some((node) => {\n const availableActions = node.availableActions || [];\n\n return availableActions.some((action) => action.action === bulkAction.action && action.enabled);\n });\n\n bulkAction.enabled = this.selectedRows.length > 0 && actionEnabledForSomeSelected;\n });\n\n return out.sort((a, b) => (b.weight || 0) - (a.weight || 0));\n }\n },\n\n data() {\n return {\n // List of selected items in the table\n selectedRows: [],\n prevNode: null,\n };\n },\n\n watch: {\n // On page change\n pagedRows() {\n // When the table contents changes:\n // - Remove items that are in the selection but no longer in the table.\n\n const content = this.pagedRows;\n const toRemove = [];\n\n for (const node of this.selectedRows) {\n if (!content.includes(node) ) {\n toRemove.push(node);\n }\n }\n\n this.update([], toRemove);\n }\n },\n\n methods: {\n onToggleAll(value) {\n if ( value ) {\n this.update(this.pagedRows, []);\n\n return true;\n } else {\n this.update([], this.pagedRows);\n\n return false;\n }\n },\n\n onRowMousedown(e) {\n if ( isRange(e) || this.isSelectionCheckbox(e.target) ) {\n e.preventDefault();\n }\n },\n\n onRowMouseEnter(e) {\n const tr = e.target.closest('TR');\n\n if (tr.classList.contains('sub-row')) {\n const trMainRow = tr.previousElementSibling;\n\n trMainRow.classList.add('sub-row-hovered');\n }\n },\n\n onRowMouseLeave(e) {\n const tr = e.target.closest('TR');\n\n if (tr.classList.contains('sub-row')) {\n const trMainRow = tr.previousElementSibling;\n\n trMainRow.classList.remove('sub-row-hovered');\n }\n },\n\n nodeForEvent(e) {\n const tagName = e.target.tagName;\n const tgt = e.target;\n const actionElement = tgt.closest('.actions');\n\n if ( tgt.classList.contains('select-all-check') ) {\n return;\n }\n\n if ( !actionElement ) {\n if (\n tagName === 'A' ||\n tagName === 'BUTTON' ||\n getParent(tgt, '.btn')\n ) {\n return;\n }\n }\n\n const tgtRow = e.target.closest('TR');\n\n return this.nodeForRow(tgtRow);\n },\n\n nodeForRow(tgtRow) {\n if ( tgtRow?.classList.contains('separator-row') ) {\n return;\n }\n\n while ( tgtRow && !tgtRow.classList.contains('main-row') ) {\n tgtRow = tgtRow.previousElementSibling;\n }\n\n if ( !tgtRow ) {\n return;\n }\n\n const nodeId = tgtRow.dataset.nodeId;\n\n if ( !nodeId ) {\n return;\n }\n\n const node = this.pagedRows.find( (x) => get(x, this.keyField) === nodeId );\n\n return node;\n },\n\n async onRowClick(e) {\n const node = this.nodeForEvent(e);\n const td = e.target.closest('TD');\n const skipSelect = td?.classList.contains('skip-select');\n\n if (skipSelect) {\n return;\n }\n const selection = this.selectedRows;\n const isCheckbox = this.isSelectionCheckbox(e.target) || td?.classList.contains('row-check');\n const isExpand = td?.classList.contains('row-expand');\n const content = this.pagedRows;\n\n this.$emit('rowClick', e);\n\n if ( !node ) {\n return;\n }\n\n if ( isExpand ) {\n this.toggleExpand(node);\n\n return;\n }\n\n const actionElement = e.target.closest('.actions');\n\n if ( actionElement ) {\n let resources = [node];\n\n if ( this.mangleActionResources ) {\n const i = actionElement.querySelector('i');\n\n i.classList.remove('icon-actions');\n i.classList.add('icon-spinner');\n i.classList.add('icon-spin');\n\n try {\n resources = await this.mangleActionResources(resources);\n } finally {\n i.classList.remove('icon-spinner');\n i.classList.remove('icon-spin');\n i.classList.add('icon-actions');\n }\n }\n\n this.$store.commit(`action-menu/show`, {\n resources,\n event: e,\n elem: actionElement\n });\n\n return;\n }\n\n const isSelected = selection.includes(node);\n let prevNode = this.prevNode;\n\n // PrevNode is only valid if it's in the current content\n if ( !prevNode || !content.includes(prevNode) ) {\n prevNode = node;\n }\n\n if ( isMore(e) ) {\n this.toggle(node);\n } else if ( isRange(e) ) {\n const toToggle = this.nodesBetween(prevNode, node);\n\n if ( isSelected ) {\n this.update([], toToggle);\n } else {\n this.update(toToggle, []);\n }\n } else if ( isCheckbox ) {\n this.toggle(node);\n } else {\n this.update([node], content);\n }\n\n this.prevNode = node;\n },\n\n async onRowContext(e) {\n const node = this.nodeForEvent(e);\n\n if ( suppressContextMenu(e) ) {\n return;\n }\n\n if ( !node ) {\n return;\n }\n\n e.preventDefault();\n e.stopPropagation();\n\n this.prevNode = node;\n const isSelected = this.selectedRows.includes(node);\n\n if ( !isSelected ) {\n this.update([node], this.selectedRows.slice());\n }\n\n let resources = this.selectedRows;\n\n if ( this.mangleActionResources ) {\n resources = await this.mangleActionResources(resources);\n }\n\n this.$store.commit(`action-menu/show`, {\n resources,\n event: e,\n });\n },\n\n keySelectRow(row, more = false) {\n const node = this.nodeForRow(row);\n const content = this.pagedRows;\n\n if ( !node ) {\n return;\n }\n\n if ( more ) {\n this.update([node], []);\n } else {\n this.update([node], content);\n }\n\n this.prevNode = node;\n },\n\n isSelectionCheckbox(element) {\n return element.tagName === 'INPUT' &&\n element.type === 'checkbox' &&\n element.closest('.selection-checkbox') !== null;\n },\n\n nodesBetween(a, b) {\n let toToggle = [];\n const key = this.groupBy;\n\n if ( key ) {\n // Grouped has 2 levels to look through\n const grouped = this.groupedRows;\n\n let from = this.groupIdx(a);\n let to = this.groupIdx(b);\n\n if ( !from || !to ) {\n return [];\n }\n\n // From has to come before To\n if ( (from.group > to.group) || ((from.group === to.group) && (from.item > to.item)) ) {\n [from, to] = [to, from];\n }\n\n for ( let i = from.group ; i <= to.group ; i++ ) {\n const items = grouped[i].rows;\n let j = (from.group === i ? from.item : 0);\n\n while ( items[j] && ( i < to.group || j <= to.item )) {\n toToggle.push(items[j]);\n j++;\n }\n }\n } else {\n // Ungrouped is much simpler\n const content = this.pagedRows;\n let from = content.indexOf(a);\n let to = content.indexOf(b);\n\n [from, to] = [Math.min(from, to), Math.max(from, to)];\n toToggle = content.slice(from, to + 1);\n }\n\n // check if there is already duplicate content selected (selectedRows) on the list to toggle...\n toToggle = toToggle.filter((item) => !this.selectedRows.includes(item));\n\n return toToggle;\n },\n\n groupIdx(node) {\n const grouped = this.groupedRows;\n\n for ( let i = 0 ; i < grouped.length ; i++ ) {\n const rows = grouped[i].rows;\n\n for ( let j = 0 ; j < rows.length ; j++ ) {\n if ( rows[j] === node ) {\n return {\n group: i,\n item: j\n };\n }\n }\n }\n\n return null;\n },\n\n toggle(node) {\n const add = [];\n const remove = [];\n\n if (this.selectedRows.includes(node)) {\n remove.push(node);\n } else {\n add.push(node);\n }\n\n this.update(add, remove);\n },\n\n update(toAdd, toRemove) {\n toRemove.forEach((row) => {\n const index = this.selectedRows.findIndex((r) => r === row);\n\n if (index !== -1) {\n this.selectedRows.splice(index, 1);\n }\n });\n\n if ( toAdd ) {\n this.selectedRows.push(...toAdd);\n }\n\n // Uncheck and check the checkboxes of nodes that have been added/removed\n if (toRemove.length) {\n this.$nextTick(() => {\n for ( let i = 0 ; i < toRemove.length ; i++ ) {\n this.updateInput(toRemove[i], false, this.keyField);\n }\n });\n }\n\n if (toAdd.length) {\n this.$nextTick(() => {\n for ( let i = 0 ; i < toAdd.length ; i++ ) {\n this.updateInput(toAdd[i], true, this.keyField);\n }\n });\n }\n\n this.$nextTick(() => {\n this.$emit('selection', this.selectedRows);\n });\n },\n\n updateInput(node, on, keyField) {\n const id = get(node, keyField);\n\n if ( id ) {\n // Note: This is looking for the checkbox control for the row\n const input = this.$el.querySelector(`div[data-checkbox-ctrl][data-node-id=\"${ id }\"]`);\n\n if ( input && !input.disabled ) {\n const label = input.querySelector('label');\n\n if (label) {\n label.value = on;\n }\n let tr = input.closest('tr');\n let first = true;\n\n while ( tr && (first || tr.classList.contains('sub-row') ) ) {\n if (on) {\n tr.classList.add('row-selected');\n } else {\n tr.classList.remove('row-selected');\n }\n tr = tr.nextElementSibling;\n first = false;\n }\n }\n }\n },\n\n select(nodes) {\n nodes.forEach((node) => {\n const id = get(node, this.keyField);\n const input = this.$el.querySelector(`label[data-node-id=\"${ id }\"]`);\n\n input.dispatchEvent(new Event('click'));\n });\n },\n\n applyTableAction(action, args, event) {\n const opts = { alt: event && isAlternate(event), event };\n\n // Go through the table selection and filter out those actions that can't run the chosen action\n const executableSelection = this.selectedRows.filter((row) => {\n const matchingResourceAction = row.availableActions.find((a) => a.action === action.action);\n\n return matchingResourceAction?.enabled;\n });\n\n _execute(executableSelection, action, args, opts, this);\n\n this.actionOfInterest = null;\n },\n\n clearSelection() {\n this.update([], this.selectedRows);\n },\n\n }\n};\n\n// ---------------------------------------------------------------------\n// --- Helpers that were in selectionStore.js --------------------------\n// ---------------------------------------------------------------------\n\nlet anon = 0;\n\nfunction _add(map, act, incrementCounts = true) {\n let id = act.action;\n\n if ( !id ) {\n id = `anon${ anon }`;\n anon++;\n }\n\n let obj = map[id];\n\n if ( !obj ) {\n obj = Object.assign({}, act);\n map[id] = obj;\n obj.allEnabled = false;\n }\n\n if ( !act.enabled ) {\n obj.allEnabled = false;\n } else {\n obj.anyEnabled = true;\n }\n\n if ( incrementCounts ) {\n obj.available = (obj.available || 0) + (!act.enabled ? 0 : 1 );\n obj.total = (obj.total || 0) + 1;\n }\n\n return obj;\n}\n\nfunction _filter(map, disableAll = false) {\n const out = filterBy(Object.values(map), 'anyEnabled', true);\n\n for ( const act of out ) {\n if ( disableAll ) {\n act.enabled = false;\n } else {\n act.enabled = ( act.available >= act.total );\n }\n }\n\n return out;\n}\n\nfunction _execute(resources, action, args, opts = {}, ctx) {\n args = args || [];\n\n // New pattern for extensions - always call invoke\n if (action.invoke) {\n const actionOpts = {\n action,\n event: opts.event,\n isAlt: !!opts.alt,\n };\n\n return action.invoke.apply(ctx, [actionOpts, resources || [], args]);\n }\n\n if ( resources.length > 1 && action.bulkAction && !opts.alt ) {\n const fn = resources[0][action.bulkAction];\n\n if ( fn ) {\n return fn.call(resources[0], resources, ...args);\n }\n }\n\n const promises = [];\n\n for ( const resource of resources ) {\n let fn;\n\n if (opts.alt && action.altAction) {\n fn = resource[action.altAction];\n } else {\n fn = resource[action.action];\n }\n\n if ( fn ) {\n promises.push(fn.apply(resource, args));\n }\n }\n\n return Promise.all(promises);\n}\n","// @TODO replace this with popper.js...\n\nexport const LEFT = 'left';\nexport const RIGHT = 'right';\nexport const TOP = 'top';\nexport const CENTER = 'center'; // These are both the same externally so you can use either,\nexport const MIDDLE = 'center'; // but have different meaning inside this file (center->left/right, middle->top/bottom)\nexport const BOTTOM = 'bottom';\nexport const AUTO = 'auto';\n\nexport function boundingRect(elem) {\n const pos = elem.getBoundingClientRect();\n const width = elem.offsetWidth;\n const height = elem.offsetHeight;\n\n return {\n top: pos.top,\n right: pos.left + width,\n bottom: pos.top + height,\n left: pos.left,\n width,\n height,\n };\n}\n\nexport function fakeRectFor(event) {\n return {\n top: event.clientY,\n left: event.clientX,\n bottom: event.clientY,\n right: event.clientX,\n width: 0,\n height: 0,\n };\n}\n\nexport function screenRect() {\n const width = window.innerWidth;\n const height = window.innerHeight;\n const top = window.pageYOffset;\n const left = window.pageXOffset;\n\n return {\n top,\n right: left + width,\n bottom: top + height,\n left,\n width,\n height,\n };\n}\n\nexport function fitOnScreen(contentElem, triggerElemOrEvent, opt, useDefaults) {\n let {\n positionX = AUTO, // Preferred horizontal position\n positionY = AUTO, // Preferred vertical position\n } = opt || {};\n\n const {\n fudgeX = 0,\n fudgeY = 0,\n overlapX = true, // Position on \"top\" of the trigger horizontally\n overlapY = false, // Position on \"top\" of the trigger vertically\n } = opt || {};\n\n const screen = screenRect();\n let trigger;\n\n if ( triggerElemOrEvent instanceof Event ) {\n trigger = fakeRectFor(triggerElemOrEvent);\n } else {\n trigger = boundingRect(triggerElemOrEvent);\n }\n\n let content = {};\n\n if (contentElem) {\n content = boundingRect(contentElem);\n }\n\n if (useDefaults) {\n content = {\n top: 0,\n right: 147,\n bottom: 163,\n left: 0,\n width: 147,\n height: 80\n };\n }\n\n // console.log('screen', screen);\n // console.log('trigger', trigger);\n // console.log('content', content);\n\n const style = { position: 'absolute' };\n\n const originFor = {\n left: (overlapX ? trigger.left : trigger.right ),\n center: (trigger.left + trigger.right ) / 2,\n right: (overlapX ? trigger.right : trigger.left ),\n top: (overlapY ? trigger.bottom : trigger.top ),\n middle: (trigger.top + trigger.bottom ) / 2,\n bottom: (overlapY ? trigger.top : trigger.bottom ),\n };\n\n // console.log('origin', originFor);\n\n const gapIf = {\n left: screen.right - content.width - originFor.left,\n center: Math.min(screen.right - (content.width / 2) - originFor.center, originFor.center - (content.width / 2) - screen.left),\n right: originFor.right - content.width - screen.left,\n top: originFor.bottom - content.height - screen.top,\n middle: Math.min(originFor.middle - (content.height / 2) - screen.top, screen.bottom - (content.height / 2) - originFor.middle),\n bottom: screen.bottom - content.height - originFor.top,\n };\n\n // console.log('gapIf', gapIf);\n\n if ( positionX === CENTER && gapIf.center < 0) {\n positionX = AUTO;\n }\n\n if ( positionX === AUTO ) {\n positionX = gapIf.left < 0 || gapIf.right * 1.5 > gapIf.left ? RIGHT : LEFT;\n } else if ( positionY === LEFT && gapIf.left < 0 ) {\n positionX = RIGHT;\n } else if ( positionY === RIGHT && gapIf.right < 0 ) {\n positionX = LEFT;\n }\n\n switch ( positionX ) {\n case LEFT:\n style.left = `${ originFor.left - fudgeX }px`;\n break;\n case CENTER:\n style.left = `${ ((originFor.left + originFor.right) / 2) - (content.width / 2) - fudgeX }px`;\n break;\n case RIGHT:\n style.left = `${ originFor.right + fudgeX - content.width }px`;\n // style.right = `${ screen.width - originFor.right - fudgeX }px`;\n break;\n }\n\n if ( positionY === MIDDLE && gapIf.middle < 0) {\n positionY = AUTO;\n }\n\n if ( positionY === AUTO ) {\n positionY = gapIf.top < 0 || gapIf.bottom * 1.5 > gapIf.top ? BOTTOM : TOP;\n } else if ( positionY === TOP && gapIf.top < 0 ) {\n positionY = BOTTOM;\n } else if ( positionY === BOTTOM && gapIf.bottom < 0 ) {\n positionY = TOP;\n }\n\n switch ( positionY ) {\n case TOP:\n style.top = `${ originFor.top + fudgeY - content.height }px`;\n break;\n case CENTER:\n style.top = `${ ((originFor.top + originFor.bottom) / 2) + fudgeY - content.height }px`;\n break;\n case BOTTOM:\n style.top = `${ originFor.bottom - fudgeY }px`;\n break;\n }\n\n // console.log(positionX, positionY, style);\n\n return style;\n}\n","\n\n\n\n \n \n","import mod from \"-!../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./THead.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./THead.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./THead.vue?vue&type=template&id=36bf3081&scoped=true&\"\nimport script from \"./THead.vue?vue&type=script&lang=js&\"\nexport * from \"./THead.vue?vue&type=script&lang=js&\"\nimport style0 from \"./THead.vue?vue&type=style&index=0&id=36bf3081&prod&lang=scss&scoped=true&\"\nimport style1 from \"./THead.vue?vue&type=style&index=1&id=36bf3081&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"36bf3081\",\n null\n \n)\n\nexport default component.exports","import { get } from '@shell/utils/object';\nimport { addObject, addObjects, isArray, removeAt } from '@shell/utils/array';\n\nexport const ADV_FILTER_ALL_COLS_VALUE = 'allcols';\nexport const ADV_FILTER_ALL_COLS_LABEL = 'All Columns';\nconst LABEL_IDENTIFIER = ':::islabel';\n\nexport default {\n data() {\n return {\n searchQuery: null,\n previousFilter: null,\n previousResult: null,\n };\n },\n\n computed: {\n searchFields() {\n const out = columnsToSearchField(this.columns);\n\n if ( this.extraSearchFields ) {\n addObjects(out, this.extraSearchFields);\n }\n\n return out;\n },\n\n /*\n subFields: computed('subHeaders.@each.{searchField,name}', 'extraSearchSubFields.[]', function() {\n let out = headersToSearchField(get(this, 'subHeaders'));\n\n return out.addObjects(get(this, 'extraSearchSubFields') || []);\n }),\n */\n filteredRows() {\n // PROP hasAdvancedFiltering comes from Advanced Filtering mixin (careful changing data var there...)\n if (!this.hasAdvancedFiltering) {\n return this.handleFiltering();\n } else {\n return this.handleAdvancedFiltering();\n }\n },\n },\n\n methods: {\n handleAdvancedFiltering() {\n this.subMatches = null;\n\n if (this.searchQuery.length) {\n const out = (this.arrangedRows || []).slice();\n\n const res = out.filter((row) => {\n return this.searchQuery.every((f) => {\n if (f.prop === ADV_FILTER_ALL_COLS_VALUE) {\n // advFilterSelectOptions comes from Advanced Filtering mixin\n // remove the All Columns option from the list so that we don't iterate over it\n const allCols = this.advFilterSelectOptions.slice(1);\n let searchFields = [];\n\n allCols.forEach((col) => {\n if (col.value.includes('[') && col.value.includes(']')) {\n searchFields = searchFields.concat(JSON.parse(col.value));\n } else {\n // this means we are on the presence of a label, which should be dealt\n // carefully because of object path such row.metadata.labels.\"app.kubernetes.io/managed-by\n const value = col.isLabel ? `${ col.label }${ LABEL_IDENTIFIER }` : col.value;\n\n searchFields.push(value);\n }\n });\n\n return handleStringSearch(searchFields, [f.value], row);\n } else {\n if (f.prop.includes('[') && f.prop.includes(']')) {\n return handleStringSearch(JSON.parse(f.prop), [f.value], row);\n }\n\n let prop = f.prop;\n\n // this means we are on the presence of a label, which should be dealt\n // carefully because of object path such row.metadata.labels.\"app.kubernetes.io/managed-by\"\n if (f.prop.includes('metadata.labels')) {\n prop = `${ f.label }${ LABEL_IDENTIFIER }`;\n }\n\n return handleStringSearch([prop], [f.value], row);\n }\n });\n });\n\n return res;\n }\n\n // return arrangedRows array if we don't have anything to search for...\n return this.arrangedRows;\n },\n\n handleFiltering() {\n const searchText = (this.searchQuery || '').trim().toLowerCase();\n let out;\n\n if ( searchText && this.previousResult && searchText.startsWith(this.previousFilter) ) {\n // If the new search is an addition to the last one, we can start with the same set of results as last time\n // and filter those down, since adding more searchText can only reduce the number of results.\n out = this.previousResult.slice();\n } else {\n this.previousResult = null;\n out = (this.arrangedRows || []).slice();\n }\n\n this.previousFilter = searchText;\n\n if ( !searchText.length ) {\n this.subMatches = null;\n this.previousResult = null;\n\n return out;\n }\n\n const searchFields = this.searchFields;\n const searchTokens = searchText.split(/\\s*[, ]\\s*/);\n const subSearch = this.subSearch;\n const subFields = this.subFields;\n const subMatches = {};\n\n for ( let i = out.length - 1 ; i >= 0 ; i-- ) {\n const row = out[i];\n let hits = 0;\n let mainFound = true;\n\n mainFound = handleStringSearch(searchFields, searchTokens, row);\n\n if ( subFields && subSearch) {\n const subRows = row[subSearch] || [];\n\n for ( let k = subRows.length - 1 ; k >= 0 ; k-- ) {\n let subFound = true;\n\n subFound = handleStringSearch(subFields, searchTokens, row);\n\n if ( subFound ) {\n hits++;\n }\n }\n\n subMatches[get(row, this.keyField)] = hits;\n }\n\n if ( !mainFound && hits === 0 ) {\n removeAt(out, i);\n }\n }\n\n this.subMatches = subMatches;\n this.previousResult = out;\n\n return out;\n }\n },\n\n watch: {\n arrangedRows(q) {\n // The rows changed so the old filter result is no longer useful\n this.previousResult = null;\n }\n },\n};\n\nfunction columnsToSearchField(columns) {\n const out = [];\n\n (columns || []).forEach((column) => {\n const field = column.search;\n\n if ( field ) {\n if ( typeof field === 'string' ) {\n addObject(out, field);\n } else if ( isArray(field) ) {\n addObjects(out, field);\n }\n } else if ( field === false ) {\n // Don't add the name\n } else {\n // Use value/name as the default\n addObject(out, column.value || column.name);\n }\n });\n\n return out.filter((x) => !!x);\n}\n\nconst ipLike = /^[0-9a-f\\.:]+$/i;\n\nfunction handleStringSearch(searchFields, searchTokens, row) {\n for ( let j = 0 ; j < searchTokens.length ; j++ ) {\n let expect = true;\n let token = searchTokens[j];\n\n if ( token.substr(0, 1) === '!' ) {\n expect = false;\n token = token.substr(1);\n }\n\n if ( token && matches(searchFields, token, row) !== expect ) {\n return false;\n }\n\n return true;\n }\n}\n\nfunction matches(fields, token, item) {\n for ( let field of fields ) {\n if ( !field ) {\n continue;\n }\n\n // some items might not even have metadata.labels or metadata.labels.something... ignore those items. Nothing to filter by\n if (typeof field !== 'function' &&\n field.includes(LABEL_IDENTIFIER) &&\n (!item.metadata.labels || !item.metadata.labels[field.replace(LABEL_IDENTIFIER, '')])) {\n continue;\n }\n\n let modifier;\n let val;\n\n if (typeof field === 'function') {\n val = field(item);\n } else if (field.includes(LABEL_IDENTIFIER)) {\n val = item.metadata.labels[field.replace(LABEL_IDENTIFIER, '')];\n } else {\n const idx = field.indexOf(':');\n\n if ( idx > 0 ) {\n modifier = field.substr(idx + 1);\n field = field.substr(0, idx);\n }\n\n if ( field.includes('.') ) {\n val = get(item, field);\n } else {\n val = item[field];\n }\n }\n\n if ( val === undefined ) {\n continue;\n }\n\n val = (`${ val }`).toLowerCase();\n if ( !val ) {\n continue;\n }\n\n if ( !modifier ) {\n if ( val.includes((`${ token }`).toLowerCase()) ) {\n return true;\n }\n } else if ( modifier === 'exact' ) {\n if ( val === token ) {\n return true;\n }\n } else if ( modifier === 'ip' ) {\n const tokenMayBeIp = ipLike.test(token);\n\n if ( tokenMayBeIp ) {\n const re = new RegExp(`(?:^|\\\\.)${ token }(?:\\\\.|$)`);\n\n if ( re.test(val) ) {\n return true;\n }\n }\n } else if ( modifier === 'prefix' ) {\n if ( val.indexOf(token) === 0) {\n return true;\n }\n }\n }\n\n return false;\n}\n","import { sortBy } from '@shell/utils/sort';\nimport { addObject } from '@shell/utils/array';\n\nexport default {\n computed: {\n sortFields() {\n let fromGroup = ( this.groupBy ? this.groupSort || this.groupBy : null) || [];\n let fromColumn = [];\n\n const column = (this.columns || this.headers).find((x) => x && x.name && x.name.toLowerCase() === this.sortBy.toLowerCase());\n\n if ( this.sortBy && column && column.sort ) {\n fromColumn = column.sort;\n }\n\n if ( !Array.isArray(fromGroup) ) {\n fromGroup = [fromGroup];\n }\n\n if ( !Array.isArray(fromColumn) ) {\n fromColumn = [fromColumn];\n }\n\n const out = [...fromGroup, ...fromColumn];\n\n addObject(out, 'nameSort');\n addObject(out, 'id');\n\n return out;\n },\n\n arrangedRows() {\n let key;\n\n if ( this.sortGenerationFn ) {\n key = `${ this.sortGenerationFn.apply(this) }/${ this.rows.length }/${ this.descending }/${ this.sortFields.join(',') }`;\n\n if ( this.cacheKey === key ) {\n return this.cachedRows;\n }\n }\n\n const out = sortBy(this.rows, this.sortFields, this.descending);\n\n if ( key ) {\n this.cacheKey = key;\n this.cachedRows = out;\n }\n\n return out;\n },\n },\n\n data() {\n let sortBy = null;\n\n this._defaultSortBy = this.defaultSortBy;\n\n // Try to find a reasonable default sort\n if ( !this._defaultSortBy ) {\n const markedColumn = this.headers.find((x) => !!x.defaultSort);\n const nameColumn = this.headers.find( (x) => x.name === 'name');\n\n if ( markedColumn ) {\n this._defaultSortBy = markedColumn.name;\n } else if ( nameColumn ) {\n // Use the name column if there is one\n this._defaultSortBy = nameColumn.name;\n } else {\n // The first column that isn't state\n const first = this.headers.filter( (x) => x.name !== 'state' )[0];\n\n if ( first ) {\n this._defaultSortBy = first.name;\n } else {\n // I give up\n this._defaultSortBy = 'id';\n }\n }\n }\n\n // If the sort column doesn't exist or isn't specified, use default\n if ( !sortBy || !this.headers.find((x) => x.name === sortBy ) ) {\n sortBy = this._defaultSortBy;\n }\n\n return {\n sortBy,\n descending: false,\n cachedRows: null,\n cacheKey: null,\n };\n },\n\n methods: {\n changeSort(sort, desc) {\n this.sortBy = sort;\n this.descending = desc;\n\n // Always go back to the first page when the sort is changed\n this.setPage(1);\n },\n },\n};\n","import { ROWS_PER_PAGE } from '@shell/store/prefs';\n\nexport default {\n computed: {\n indexFrom() {\n return Math.max(0, 1 + this.perPage * (this.page - 1));\n },\n\n indexTo() {\n return Math.min(this.filteredRows.length, this.indexFrom + this.perPage - 1);\n },\n\n totalPages() {\n return Math.ceil(this.filteredRows.length / this.perPage );\n },\n\n showPaging() {\n return !this.loading && this.paging && this.totalPages > 1;\n },\n\n pagingDisplay() {\n const opt = {\n ...(this.pagingParams || {}),\n\n count: this.filteredRows.length,\n pages: this.totalPages,\n from: this.indexFrom,\n to: this.indexTo,\n };\n\n return this.$store.getters['i18n/t'](this.pagingLabel, opt);\n },\n\n pagedRows() {\n if ( this.paging ) {\n return this.filteredRows.slice(this.indexFrom - 1, this.indexTo);\n } else {\n return this.filteredRows;\n }\n }\n },\n\n data() {\n const perPage = this.getPerPage();\n\n return { page: 1, perPage };\n },\n\n watch: {\n pagedRows() {\n // Go to the last page if we end up \"past\" the last page because the table changed\n\n const from = this.indexFrom;\n const last = this.filteredRows.length;\n\n if ( this.totalPages > 0 && this.page > 1 && from > last ) {\n this.setPage(this.totalPages);\n }\n }\n },\n\n methods: {\n getPerPage() {\n // perPage can not change while the list is displayed\n let out = this.rowsPerPage || 0;\n\n if ( out <= 0 ) {\n out = parseInt(this.$store.getters['prefs/get'](ROWS_PER_PAGE), 10) || 0;\n }\n\n // This should ideally never happen, but the preference value could be invalid, so return something...\n if ( out <= 0 ) {\n out = 10;\n }\n\n return out;\n },\n\n setPage(num) {\n if (this.page === num) {\n return;\n }\n\n this.page = num;\n },\n\n goToPage(which) {\n let page;\n\n switch (which) {\n case 'first':\n page = 1;\n break;\n case 'prev':\n page = Math.max(1, this.page - 1 );\n break;\n case 'next':\n page = Math.min(this.totalPages, this.page + 1 );\n break;\n case 'last':\n page = this.totalPages;\n break;\n }\n\n this.setPage(page);\n },\n\n getPageByRow(rowId, getRowId = (x) => x) {\n const pos = this.filteredRows.map(getRowId).indexOf(rowId);\n\n if (pos === -1) {\n return null;\n }\n\n return Math.ceil(pos / this.perPage);\n }\n }\n};\n","import { get } from '@shell/utils/object';\n\nexport default {\n computed: {\n groupedRows() {\n const groupKey = this.groupBy;\n const refKey = this.groupRef || groupKey;\n\n if ( !groupKey) {\n return [{\n key: 'default',\n ref: 'default',\n rows: this.pagedRows,\n }];\n }\n\n const out = [];\n const map = {};\n\n for ( const obj of this.pagedRows ) {\n const key = get(obj, groupKey) || '';\n const ref = get(obj, refKey);\n let entry = map[key];\n\n if ( entry ) {\n entry.rows.push(obj);\n } else {\n entry = {\n key,\n ref,\n rows: [obj]\n };\n map[key] = entry;\n out.push(entry);\n }\n }\n\n return out;\n }\n }\n};\n","import debounce from 'lodash/debounce';\n\n// Use a visible display type to reduce flickering\nconst displayType = 'inline-block';\n\nexport default {\n\n data() {\n return {\n bulkActionsClass: 'bulk',\n bulkActionClass: 'bulk-action',\n bulkActionsDropdownClass: 'bulk-actions-dropdown',\n bulkActionAvailabilityClass: 'action-availability',\n\n hiddenActions: [],\n\n updateHiddenBulkActions: debounce(this.protectedUpdateHiddenBulkActions, 10)\n };\n },\n\n beforeDestroy() {\n window.removeEventListener('resize', this.onWindowResize);\n },\n\n mounted() {\n window.addEventListener('resize', this.onWindowResize);\n this.updateHiddenBulkActions();\n },\n\n watch: {\n selectedRows() {\n this.updateHiddenBulkActions();\n },\n keyedAvailableActions() {\n this.updateHiddenBulkActions();\n },\n },\n\n computed: {\n availableActions() {\n return this.bulkActionsForSelection.filter((act) => !act.external);\n },\n\n keyedAvailableActions() {\n return this.availableActions.map((aa) => aa.action);\n },\n\n selectedRowsText() {\n if (!this.selectedRows.length) {\n return null;\n }\n\n return this.t('sortableTable.actionAvailability.selected', { actionable: this.selectedRows.length });\n },\n\n // Shows a tooltip if the bulk action that the user is hovering over can not be applied to all selected rows\n actionTooltip() {\n if (!this.selectedRows.length || !this.actionOfInterest) {\n return null;\n }\n\n const runnableTotal = this.selectedRows.filter(this.canRunBulkActionOfInterest).length;\n\n if (runnableTotal === this.selectedRows.length) {\n return null;\n }\n\n return this.t('sortableTable.actionAvailability.some', {\n actionable: runnableTotal,\n total: this.selectedRows.length,\n });\n },\n },\n\n methods: {\n onWindowResize() {\n this.updateHiddenBulkActions();\n this.onScroll();\n },\n\n /**\n * Determine if any actions wrap over to a new line, if so group them into a dropdown instead\n */\n protectedUpdateHiddenBulkActions() {\n if (!this.$refs.container) {\n return;\n }\n\n const actionsContainer = this.$refs.container.querySelector(`.${ this.bulkActionsClass }`);\n const actionsDropdown = this.$refs.container.querySelector(`.${ this.bulkActionsDropdownClass }`);\n\n if (!actionsContainer || !actionsDropdown) {\n return;\n }\n\n const actionsContainerWidth = actionsContainer.offsetWidth;\n const actionsHTMLCollection = this.$refs.container.querySelectorAll(`.${ this.bulkActionClass }`);\n const actions = Array.from(actionsHTMLCollection || []);\n\n // Determine if the 'x selected' label should show and it's size\n const selectedRowsText = this.$refs.container.querySelector(`.${ this.bulkActionAvailabilityClass }`);\n let selectedRowsTextWidth = 0;\n\n if (this.selectedRowsText) {\n if (selectedRowsText) {\n selectedRowsText.style.display = displayType;\n selectedRowsTextWidth = selectedRowsText.offsetWidth;\n } else {\n selectedRowsText.style.display = 'none;';\n }\n }\n\n this.hiddenActions = [];\n\n let cumulativeWidth = 0;\n let showActionsDropdown = false;\n let totalAvailableWidth = actionsContainerWidth - selectedRowsTextWidth;\n\n // Loop through all actions to determine if some exceed the available space in the row, if so hide them and instead show in a dropdown\n for (let i = 0; i < actions.length; i++) {\n const ba = actions[i];\n\n ba.style.display = displayType;\n const actionWidth = ba.offsetWidth;\n\n cumulativeWidth += actionWidth + 15;\n if (cumulativeWidth >= totalAvailableWidth) {\n // There are too many actions so the drop down will be visible.\n if (!showActionsDropdown) {\n // If we haven't previously enabled the drop down...\n actionsDropdown.style.display = displayType;\n // By showing the drop down some previously visible actions may now be hidden, so start the process again\n // ... except taking into account the width of drop down width in the available space\n i = -1;\n cumulativeWidth = 0;\n showActionsDropdown = true;\n totalAvailableWidth = actionsContainerWidth - actionsDropdown.offsetWidth - selectedRowsTextWidth;\n } else {\n // Collate the actions in an array and hide in the normal row\n const id = ba.attributes.getNamedItem('id').value;\n\n this.hiddenActions.push(this.availableActions.find((aa) => aa.action === id));\n ba.style.display = 'none';\n }\n }\n }\n\n if (!showActionsDropdown) {\n actionsDropdown.style.display = 'none';\n }\n }\n }\n};\n","import { ADV_FILTER_ALL_COLS_VALUE, ADV_FILTER_ALL_COLS_LABEL } from './filtering';\n\nconst DEFAULT_ADV_FILTER_COLS_VALUE = ADV_FILTER_ALL_COLS_VALUE;\n\nexport default {\n props: {\n /**\n * Group value\n * To be used on the THead component when adv filtering is present\n */\n group: {\n type: String,\n default: () => ''\n },\n /**\n * Group options\n * All of the grouping options available to be used on the THead component when adv filtering is present\n */\n groupOptions: {\n type: Array,\n default: () => []\n },\n /**\n * Flag that controls visibility of advanced filtering feature\n */\n hasAdvancedFiltering: {\n type: Boolean,\n default: false\n },\n /**\n * Flag that controls visibility of labels as possibe toggable cols to be displayed on the Sortable Table\n */\n advFilterHideLabelsAsCols: {\n type: Boolean,\n default: false\n },\n /**\n * Flag that prevents filtering by labels\n */\n advFilterPreventFilteringLabels: {\n type: Boolean,\n default: false\n },\n },\n data() {\n return {\n columnOptions: [],\n colOptionsWatcher: null,\n advancedFilteringVisibility: false,\n advancedFilteringValues: [],\n advFilterSearchTerm: null,\n advFilterSelectedProp: DEFAULT_ADV_FILTER_COLS_VALUE,\n advFilterSelectedLabel: ADV_FILTER_ALL_COLS_LABEL,\n column: null,\n };\n },\n\n mounted() {\n if (this.hasAdvancedFiltering) {\n // trigger to first populate the cols options for filters\n this.updateColsOptions();\n }\n },\n\n watch: {\n advancedFilteringValues() {\n // passing different dummy args to make sure update is triggered\n this.watcherUpdateLiveAndDelayed(true, false);\n },\n advancedFilteringVisibility(neu) {\n if (neu) {\n // check if user clicked outside the advanced filter box\n window.addEventListener('click', this.onClickOutside);\n\n // update filtering options and toggable cols every time dropdown is open\n this.updateColsOptions();\n } else {\n // unregister click event\n window.removeEventListener('click', this.onClickOutside);\n }\n }\n },\n\n computed: {\n advFilterSelectOptions() {\n return this.columnOptions.filter((c) => c.isFilter && !c.preventFiltering);\n },\n\n advGroupOptions() {\n return this.groupOptions.map((item) => {\n return {\n label: this.t(item.tooltipKey),\n value: item.value\n };\n });\n },\n },\n\n methods: {\n handleColsVisibilyAndFiltering(cols) {\n const allCols = cols;\n\n this.columnOptions.forEach((advCol) => {\n if (advCol.isTableOption) {\n const index = allCols.findIndex((col) => col.name === advCol.name);\n\n if (index !== -1) {\n allCols[index].isColVisible = advCol.isColVisible;\n allCols[index].isFilter = advCol.isFilter;\n } else {\n allCols.push(advCol);\n }\n }\n });\n\n return allCols;\n },\n // advanced filtering methods\n setColsOptions() {\n let opts = [];\n const rowLabels = [];\n const headerProps = [];\n\n // Filter out any columns that are too heavy to show for large page sizes\n const filteredHeaders = this.headers.slice().filter((c) => (!c.maxPageSize || (c.maxPageSize && c.maxPageSize >= this.perPage)));\n\n // add table cols from config (headers)\n filteredHeaders.forEach((prop) => {\n const name = prop.name;\n const label = prop.labelKey ? this.t(`${ prop.labelKey }`) : prop.label;\n const isFilter = !!((!Object.keys(prop).includes('search') || prop.search));\n let sortVal = prop.sort;\n const valueProp = prop.valueProp || prop.value;\n let value = null;\n let isColVisible = true;\n\n if (prop.sort && valueProp) {\n if (typeof prop.sort === 'string') {\n sortVal = prop.sort.includes(':') ? [prop.sort.split(':')[0]] : [prop.sort];\n }\n\n if (!sortVal.includes(valueProp)) {\n value = JSON.stringify(sortVal.concat([valueProp]));\n } else {\n value = JSON.stringify([valueProp]);\n }\n } else if (valueProp) {\n value = JSON.stringify([valueProp]);\n } else {\n value = null;\n }\n\n // maintain current visibility of cols if they exist already\n if (this.columnOptions?.length) {\n const opt = this.columnOptions.find((colOpt) => colOpt.name === name && colOpt.label === label);\n\n if (opt) {\n isColVisible = opt.isColVisible;\n }\n }\n\n headerProps.push({\n name,\n label,\n value,\n isFilter,\n isTableOption: true,\n isColVisible\n });\n });\n\n // add labels as table cols\n if (this.rows.length) {\n this.rows.forEach((row) => {\n if (row.metadata?.labels && Object.keys(row.metadata?.labels).length) {\n Object.keys(row.metadata?.labels).forEach((label) => {\n const res = {\n name: label,\n label,\n value: `metadata.labels.${ label }`,\n isFilter: true,\n isTableOption: true,\n isColVisible: false,\n isLabel: true,\n preventFiltering: this.advFilterPreventFilteringLabels,\n preventColToggle: this.advFilterHideLabelsAsCols\n };\n\n // maintain current visibility of cols if they exist already\n if (this.columnOptions?.length) {\n const opt = this.columnOptions.find((colOpt) => colOpt.name === label && colOpt.label === label);\n\n if (opt) {\n res.isColVisible = opt.isColVisible;\n }\n }\n\n if (!rowLabels.filter((row) => row.label === label).length) {\n rowLabels.push(res);\n }\n });\n }\n });\n }\n\n opts = headerProps.concat(rowLabels);\n\n // add find on all cols option...\n if (opts.length) {\n opts.unshift({\n name: ADV_FILTER_ALL_COLS_LABEL,\n label: ADV_FILTER_ALL_COLS_LABEL,\n value: ADV_FILTER_ALL_COLS_VALUE,\n isFilter: true,\n isTableOption: false\n });\n }\n\n return opts;\n },\n addAdvancedFilter() {\n // set new advanced filter\n if (this.advFilterSelectedProp && this.advFilterSearchTerm) {\n this.advancedFilteringValues.push({\n prop: this.advFilterSelectedProp,\n value: this.advFilterSearchTerm,\n label: this.advFilterSelectedLabel\n });\n\n this.eventualSearchQuery = this.advancedFilteringValues;\n\n this.advancedFilteringVisibility = false;\n this.advFilterSelectedProp = DEFAULT_ADV_FILTER_COLS_VALUE;\n this.advFilterSelectedLabel = ADV_FILTER_ALL_COLS_LABEL;\n this.advFilterSearchTerm = null;\n }\n },\n clearAllAdvancedFilters() {\n this.advancedFilteringValues = [];\n this.eventualSearchQuery = this.advancedFilteringValues;\n\n this.advancedFilteringVisibility = false;\n this.advFilterSelectedProp = DEFAULT_ADV_FILTER_COLS_VALUE;\n this.advFilterSelectedLabel = ADV_FILTER_ALL_COLS_LABEL;\n this.advFilterSearchTerm = null;\n },\n clearAdvancedFilter(index) {\n this.advancedFilteringValues.splice(index, 1);\n this.eventualSearchQuery = this.advancedFilteringValues;\n },\n onClickOutside(event) {\n const advFilterBox = this.$refs['advanced-filter-group'];\n\n if (!advFilterBox || advFilterBox.contains(event.target)) {\n return;\n }\n this.advancedFilteringVisibility = false;\n },\n updateColsOptions() {\n this.columnOptions = this.setColsOptions();\n },\n\n // cols visibility\n changeColVisibility(colData) {\n const index = this.columnOptions.findIndex((col) => col.label === colData.label);\n\n if (index !== -1) {\n this.columnOptions[index].isColVisible = colData.value;\n }\n },\n },\n};\n","\n\n\n\n \n\n \n","import mod from \"-!../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=940c6fb8&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=940c6fb8&prod&lang=scss&scoped=true&\"\nimport style1 from \"./index.vue?vue&type=style&index=1&id=940c6fb8&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"940c6fb8\",\n null\n \n)\n\nexport default component.exports","import { CATTLE_PUBLIC_ENDPOINTS } from '@shell/config/labels-annotations';\nimport { NODE as NODE_TYPE } from '@shell/config/types';\nimport { COLUMN_BREAKPOINTS } from '@shell/components/SortableTable/index.vue';\n\n// Note: 'id' is always the last sort, so you don't have to specify it here.\n\nexport const STATE = {\n name: 'state',\n labelKey: 'tableHeaders.state',\n sort: ['stateSort', 'nameSort'],\n value: 'stateDisplay',\n getValue: (row) => row.stateDisplay,\n width: 100,\n default: 'unknown',\n formatter: 'BadgeStateFormatter',\n};\n\nexport const DOWNLOAD = {\n name: 'download',\n labelKey: 'tableHeaders.download',\n value: 'download',\n canBeVariable: true,\n align: 'right',\n};\n\n// This header is used for nodes in\n// both Cluster Explorer and Cluster Management.\nexport const INTERNAL_EXTERNAL_IP = {\n // @TODO this is called internal/external but displays external/internal (╯°□°)╯︵ ┻━┻\n name: 'internal-external-ip',\n labelKey: 'tableHeaders.internalExternalIp',\n search: ['externalIp', 'internalIp'],\n sort: ['externalIp', 'internalIp'],\n formatter: 'InternalExternalIP'\n};\n\nexport const NAME = {\n name: 'name',\n labelKey: 'tableHeaders.name',\n value: 'nameDisplay',\n getValue: (row) => row.nameDisplay,\n sort: ['nameSort'],\n formatter: 'LinkDetail',\n canBeVariable: true,\n};\n\nexport const LOGGING_OUTPUT_PROVIDERS = {\n name: 'logging-output-providers',\n labelKey: 'tableHeaders.loggingOutputProviders',\n value: 'providersDisplay',\n sort: ['providersSortable'],\n formatter: 'List',\n};\n\nexport const SIMPLE_NAME = {\n name: 'name',\n labelKey: 'tableHeaders.simpleName',\n value: 'name',\n sort: ['name'],\n width: 200,\n canBeVariable: true,\n};\n\nexport const EFFECT = {\n name: 'effect',\n labelKey: 'tableHeaders.effect',\n value: 'effect',\n sort: ['effect'],\n};\n\nexport const STORAGE_CLASS_PROVISIONER = {\n name: 'storage_class_provisioner',\n labelKey: 'tableHeaders.storage_class_provisioner',\n value: 'provisionerDisplay',\n sort: ['provisioner'],\n};\n\nexport const STORAGE_CLASS_DEFAULT = {\n name: 'storage_class_default',\n labelKey: 'tableHeaders.default',\n value: 'isDefault',\n sort: ['isDefault'],\n formatter: 'Checked',\n};\n\nexport const PERSISTENT_VOLUME_SOURCE = {\n name: 'persistent_volume_source',\n labelKey: 'tableHeaders.persistentVolumeSource',\n value: 'source',\n sort: ['provisioner'],\n};\n\nexport const PERSISTENT_VOLUME_CLAIM = {\n name: 'persistent-volume-claim',\n labelKey: 'tableHeaders.persistentVolumeClaim',\n sort: ['nameSort'],\n value: 'claimName',\n formatter: 'LinkDetail',\n formatterOpts: { reference: 'claim.detailLocation' },\n};\n\nexport const OUTPUT = {\n name: 'localOutputRefs',\n labelKey: 'tableHeaders.output',\n value: 'outputs',\n sort: ['outputsSortable'],\n formatter: 'ListLink',\n formatterOpts: { options: { internal: true } },\n};\n\nexport const CONFIGURED_PROVIDERS = {\n name: 'providers',\n labelKey: 'tableHeaders.providers',\n value: 'providersDisplay',\n sort: 'providersSortable',\n formatter: 'List'\n};\n\nexport const CLUSTER_OUTPUT = {\n ...OUTPUT,\n name: 'globalOutputRefs',\n value: 'clusterOutputs',\n sort: ['clusterOutputsSortable'],\n labelKey: 'tableHeaders.clusterOutput',\n};\n\nexport const ID_UNLINKED = {\n name: 'id',\n labelKey: 'tableHeaders.id',\n value: 'id',\n sort: ['id'],\n canBeVariable: true,\n};\n\nexport const NAME_UNLINKED = {\n name: 'name',\n labelKey: 'tableHeaders.nameUnlinked',\n value: 'nameDisplay',\n sort: ['nameSort'],\n canBeVariable: true,\n};\n\nexport const NAMESPACE = {\n name: 'namespace',\n labelKey: 'tableHeaders.namespace',\n value: 'namespace',\n getValue: (row) => row.namespace,\n sort: 'namespace',\n dashIfEmpty: true,\n};\n\nexport const NODE = {\n name: 'node',\n labelKey: 'tableHeaders.node',\n value: 'spec.nodeName',\n getValue: (row) => row.spec?.nodeName,\n sort: 'spec.nodeName',\n formatter: 'LinkName',\n formatterOpts: { type: NODE_TYPE },\n};\n\nexport const NODE_NAME = {\n name: 'nodeName',\n labelKey: 'tableHeaders.nodeName',\n sort: 'name',\n value: 'name',\n getValue: (row) => row.name,\n formatter: 'LinkDetail',\n};\n\nexport const ROLES = {\n name: 'roles',\n labelKey: 'tableHeaders.roles',\n sort: 'roles',\n value: 'roles'\n};\n\nexport const VERSION = {\n name: 'version',\n labelKey: 'tableHeaders.version',\n sort: 'version',\n value: 'version',\n getValue: (row) => row.version\n};\n\nexport const CPU = {\n name: 'cpu',\n labelKey: 'tableHeaders.cpu',\n sort: 'cpuUsage',\n search: false,\n value: 'cpuUsagePercentage',\n formatter: 'PercentageBar',\n width: 120,\n};\n\nexport const RAM = {\n name: 'ram',\n labelKey: 'tableHeaders.ram',\n sort: 'ramUsage',\n search: false,\n value: 'ramUsagePercentage',\n formatter: 'PercentageBar',\n width: 120,\n};\n\nexport const PRINCIPAL = {\n name: 'principal',\n labelKey: 'tableHeaders.name',\n sort: 'principal.loginName',\n value: 'principalId',\n formatter: 'Principal',\n};\n\nexport const PODS = {\n name: 'pods',\n labelKey: 'tableHeaders.pods',\n sort: 'podConsumed',\n search: false,\n value: (row) => row.podConsumedUsage,\n formatter: 'PercentageBar',\n width: 120,\n};\n\nexport const AGE = {\n name: 'age',\n labelKey: 'tableHeaders.age',\n value: 'creationTimestamp',\n getValue: (row) => row.creationTimestamp,\n sort: 'creationTimestamp:desc',\n search: false,\n formatter: 'LiveDate',\n width: 100,\n align: 'left'\n};\n\nexport const AGE_NORMAN = {\n ...AGE,\n getValue: (row) => row.created,\n value: 'created',\n sort: 'created:desc',\n};\n\nexport const CREATION_DATE = {\n name: 'date',\n labelKey: 'tableHeaders.date',\n value: 'metadata.creationTimestamp',\n sort: ['date'],\n formatter: 'Date'\n};\n\nexport const DESCRIPTION = {\n name: 'description',\n labelKey: 'tableHeaders.description',\n align: 'left',\n sort: ['description'],\n width: 300,\n};\n\nexport const DURATION = {\n name: 'duration',\n labelKey: 'tableHeaders.duration',\n value: 'duration.value',\n sort: 'duration.seconds',\n formatter: 'LiveDuration',\n};\n\nexport const IMAGE_NAME = {\n name: 'image',\n labelKey: 'tableHeaders.image',\n value: 'image',\n sort: ['image', 'nameSort'],\n formatter: 'ImageName',\n};\n\nexport const POD_IMAGES = {\n name: 'pod_images',\n labelKey: 'tableHeaders.podImages',\n value: 'imageNames',\n getValue: (row) => row.imageNames,\n sort: 'imageNames',\n // search: 'imageNames',\n formatter: 'PodImages'\n};\n\nexport const POD_RESTARTS = {\n name: 'pod_restarts',\n labelKey: 'tableHeaders.podRestarts',\n formatter: 'LivePodRestarts',\n delayLoading: true,\n value: 'restartCount',\n getValue: (row) => row.restartCount,\n // This column is expensive to compute, so don't make it searchable\n search: false,\n liveUpdates: true\n};\n\nexport const ENDPOINTS = {\n name: 'endpoint',\n labelKey: 'tableHeaders.endpoints',\n value: 'status.endpoints',\n formatter: 'Endpoints',\n width: 60,\n align: 'center',\n};\n\nexport const SCALE = {\n name: 'scale',\n labelKey: 'tableHeaders.scale',\n value: 'scales.desired',\n sort: ['scales.desired', 'nameSort'],\n formatter: 'Scale',\n width: 60,\n align: 'center',\n};\n\nexport const SIMPLE_SCALE = {\n name: 'simple-scale',\n labelKey: 'tableHeaders.simpleScale',\n value: 'scale',\n sort: ['scale']\n};\n\nexport const WEIGHT = {\n name: 'weight',\n labelKey: 'tableHeaders.weight',\n value: 'status.computedWeight',\n sort: 'status.computedWeight',\n formatter: 'Weight',\n width: 60,\n align: 'center',\n};\n\nexport const SUCCESS = {\n name: 'success',\n labelKey: 'tableHeaders.success',\n value: 'success',\n width: 100,\n align: 'right',\n};\n\nexport const REQ_RATE = {\n name: 'req-rate',\n labelKey: 'tableHeaders.reqRate',\n value: 'rps',\n width: 100,\n align: 'right',\n};\n\nexport const P95 = {\n name: 'p95',\n labelKey: 'tableHeaders.p95',\n value: 'p95',\n width: 100,\n align: 'right',\n};\n\nexport const KEYS = {\n name: 'keys',\n labelKey: 'tableHeaders.keys',\n sort: false,\n value: 'keysDisplay',\n};\n\nexport const TARGET_KIND = {\n name: 'target-kind',\n labelKey: 'tableHeaders.targetKind',\n value: 'kindDisplay',\n width: 100,\n};\n\nexport const TARGET = {\n name: 'target',\n labelKey: 'tableHeaders.target',\n value: 'targetDisplay',\n};\n\nexport const USERNAME = {\n name: 'username',\n labelKey: 'tableHeaders.username',\n value: 'username',\n dashIfEmpty: true,\n sort: 'username',\n};\n\nexport const USER_DISPLAY_NAME = {\n name: 'name',\n labelKey: 'tableHeaders.name',\n value: 'nameDisplay',\n sort: ['nameSort'],\n dashIfEmpty: true,\n};\n\nexport const USER_PROVIDER = {\n name: 'provider',\n labelKey: 'tableHeaders.provider',\n value: 'providerDisplay',\n dashIfEmpty: true,\n sort: 'providerDisplay',\n};\n\nexport const USER_ID = {\n name: 'user-id',\n labelKey: 'tableHeaders.userId',\n value: 'id',\n formatter: 'LinkDetail',\n canBeVariable: true,\n sort: 'id',\n};\n\nexport const ADDRESS = {\n name: 'address',\n labelKey: 'tableHeaders.address',\n value: 'address',\n sort: ['address'],\n};\n\nexport const SIMPLE_TYPE = {\n name: 'type',\n labelKey: 'tableHeaders.simpleType',\n value: 'type',\n sort: ['type'],\n width: 175,\n};\n\nexport const IMAGE_SIZE = {\n name: 'sizeBytes',\n labelKey: 'tableHeaders.imageSize',\n value: 'sizeBytes',\n sort: ['sizeBytes'],\n formatter: 'Si'\n};\n\nexport const TYPE = {\n name: 'type',\n labelKey: 'tableHeaders.type',\n value: 'typeDisplay',\n getValue: (row) => row.typeDisplay,\n sort: ['typeDisplay'],\n width: 100,\n};\n\nexport const SUB_TYPE = {\n name: 'subType',\n labelKey: 'tableHeaders.subType',\n value: 'subTypeDisplay',\n sort: ['subTypeDisplay'],\n width: 120,\n};\n\nexport const EVENT_TYPE = {\n name: 'type',\n labelKey: 'tableHeaders.type',\n value: 'eventType',\n sort: 'eventType',\n};\n\nexport const STATUS = {\n name: 'status',\n labelKey: 'tableHeaders.status',\n value: 'status',\n sort: ['status'],\n width: 175\n};\nexport const LAST_SEEN_TIME = {\n name: 'lastSeen',\n labelKey: 'tableHeaders.lastSeen',\n value: 'lastSeen',\n sort: 'lastTimestamp:desc',\n tooltip: 'tableHeaders.lastSeenTooltip'\n};\nexport const LAST_HEARTBEAT_TIME = {\n name: 'lastHeartbeatTime',\n labelKey: 'tableHeaders.lastSeen',\n value: 'lastHeartbeatTime',\n sort: ['lastHeartbeatTime'],\n formatter: 'LiveDate',\n width: 175\n};\nexport const REASON = {\n name: 'reason',\n labelKey: 'tableHeaders.reason',\n value: 'reason',\n sort: ['reason']\n};\nexport const OBJECT = {\n name: 'object',\n labelKey: 'tableHeaders.object',\n value: 'involvedObject',\n sort: ['involvedObject.kind', 'involvedObject.name'],\n canBeVariable: true,\n formatter: 'InvolvedObjectLink',\n};\nexport const RECLAIM_POLICY = {\n name: 'reclaimPolicy',\n labelKey: 'tableHeaders.reclaimPolicy',\n value: 'spec.persistentVolumeReclaimPolicy',\n sort: ['spec.persistentVolumeReclaimPolicy']\n};\nexport const PV_REASON = {\n name: 'pvReason',\n labelKey: 'tableHeaders.reason',\n value: 'status.reason',\n sort: ['status.reason']\n};\n\nexport const MESSAGE = {\n name: 'message',\n labelKey: 'tableHeaders.message',\n value: 'message',\n sort: ['message']\n};\nexport const KEY = {\n name: 'key',\n labelKey: 'tableHeaders.key',\n value: 'key',\n sort: ['key']\n};\nexport const VALUE = {\n name: 'value',\n labelKey: 'tableHeaders.value',\n value: 'value',\n sort: ['value'],\n};\n\nexport const BUILT_IN = {\n name: 'builtIn',\n labelKey: 'tableHeaders.builtIn',\n value: 'builtIn',\n sort: ['builtIn'],\n align: 'center',\n formatter: 'IconIsDefault'\n};\n\nexport const CLUSTER_CREATOR_DEFAULT = {\n name: 'default',\n labelKey: 'tableHeaders.clusterCreatorDefault',\n value: 'default',\n sort: ['Default'],\n align: 'center',\n formatter: 'IconIsDefault'\n};\n\nexport const RBAC_DEFAULT = {\n name: 'default',\n labelKey: 'tableHeaders.default',\n value: 'default',\n formatter: 'Checked',\n sort: ['default']\n};\n\nexport const RBAC_BUILTIN = {\n name: 'builtin',\n labelKey: 'tableHeaders.builtin',\n value: 'builtin',\n formatter: 'Checked',\n sort: ['builtin']\n};\n\nexport const RESOURCE = {\n name: 'resource',\n labelKey: 'tableHeaders.resource',\n value: 'resource',\n sort: ['resourceNames']\n};\n\nexport const API_GROUP = {\n name: 'apigroups',\n labelKey: 'tableHeaders.apiGroup',\n value: 'apiGroups',\n sort: ['apiGroups']\n};\n\nexport const INGRESS_CLASS = {\n name: 'ingressClassName',\n labelKey: 'tableHeaders.ingressClass',\n value: `$['spec']['ingressClassName']`,\n sort: `$['spec']['ingressClassName']`,\n};\n\nexport const INGRESS_DEFAULT_BACKEND = {\n name: 'ingressDefaultBackend',\n labelKey: 'tableHeaders.ingressDefaultBackend',\n value: 'hasDefaultBackend',\n sort: ['hasDefaultBackend:desc'],\n formatter: 'Checked',\n width: 75,\n align: 'center'\n};\n\nexport const INGRESS_TARGET = {\n name: 'ingressTarget',\n labelKey: 'tableHeaders.ingressTarget',\n value: \"$['spec']\",\n formatter: 'IngressTarget',\n sort: \"$['spec']['rules'][0].host\",\n};\n\nexport const SPEC_TYPE = {\n name: 'type',\n labelKey: 'tableHeaders.type',\n value: `$['spec']['type']`,\n sort: `$['spec']['type']`,\n formatter: 'ServiceType',\n};\n\nexport const TARGET_PORT = {\n formatter: 'ServiceTargets',\n labelKey: 'tableHeaders.targetPort',\n name: 'targetPort',\n sort: `$['spec']['targetPort']`,\n value: `$['spec']['targetPort']`,\n};\n\nexport const SELECTOR = {\n formatter: 'KeyValue',\n name: 'selector',\n labelKey: 'tableHeaders.selector',\n value: `$['spec']['selector']`,\n sort: `$['spec']['selector']`,\n};\n\nexport const CHART = {\n name: 'chart',\n labelKey: 'tableHeaders.chart',\n value: 'chartDisplay',\n sort: ['chartDisplay', 'versionSort'],\n};\n\nexport const CHART_UPGRADE = {\n name: 'upgrade',\n labelKey: 'tableHeaders.upgrade',\n value: 'upgradeAvailable',\n sort: 'upgradeAvailableSort:desc',\n dashIfEmpty: true,\n};\n\nexport const RESOURCES = {\n name: 'resources',\n labelKey: 'tableHeaders.resources',\n value: 'spec.resources.length',\n sort: 'spec.resources.length',\n width: 100,\n};\n\nexport const URL = {\n name: 'url',\n labelKey: 'tableHeaders.url',\n value: 'spec.url',\n sort: 'spec.url',\n};\n\nexport const LAST_UPDATED = {\n name: 'lastUpdated',\n labelKey: 'tableHeaders.lastUpdated',\n value: 'lastTransitionTime',\n formatter: 'LiveDate',\n formatterOpts: { addSuffix: true },\n sort: ['lastTransitionTime']\n};\n\nexport const WORKSPACE = {\n name: 'workspace',\n label: 'Workspace',\n value: 'metadata.namespace',\n sort: ['metadata.namespace', 'nameSort'],\n};\n\nexport const WORKLOAD_IMAGES = {\n ...POD_IMAGES,\n value: '',\n breakpoint: COLUMN_BREAKPOINTS.LAPTOP\n};\n\nexport const WORKLOAD_ENDPOINTS = {\n name: 'workloadEndpoints',\n labelKey: 'tableHeaders.endpoints',\n value: `$['metadata']['annotations']['${ CATTLE_PUBLIC_ENDPOINTS }']`,\n getValue: (row) => row.metadata?.annotations?.[CATTLE_PUBLIC_ENDPOINTS],\n formatter: 'Endpoints',\n dashIfEmpty: true,\n breakpoint: COLUMN_BREAKPOINTS.DESKTOP,\n maxPageSize: 25, // Hide this column when the page size is bigger than 25\n};\n\nexport const WORKLOAD_HEALTH_SCALE = {\n name: 'workloadHealthScale',\n labelKey: 'tableHeaders.health',\n formatter: 'WorkloadHealthScale',\n getValue: () => undefined,\n width: 150,\n skipSelect: true,\n delayLoading: true,\n // This column is expensive to compute, so don't make it searchable\n search: false,\n liveUpdates: true,\n};\n\nexport const FLEET_SUMMARY = {\n name: 'summary',\n labelKey: 'tableHeaders.resources',\n value: 'status.resourceCounts',\n sort: false,\n search: false,\n formatter: 'FleetSummaryGraph',\n align: 'center',\n width: 100,\n};\n\nexport const FLEET_REPO_CLUSTER_SUMMARY = {\n name: 'clusterSummary',\n labelKey: 'tableHeaders.clusterResources',\n value: 'status.resourceCounts',\n sort: false,\n search: false,\n formatter: 'FleetClusterSummaryGraph',\n align: 'center',\n width: 100,\n};\n\nexport const FLEET_REPO_PER_CLUSTER_STATE = {\n name: 'perClusterState',\n labelKey: 'tableHeaders.repoPerClusterState',\n tooltip: 'tableHeaders.repoPerClusterStateTooltip',\n sort: ['stateSort', 'nameSort'],\n width: 100,\n default: 'unknown',\n formatter: 'BadgeStateFormatter',\n formatterOpts: { arbitrary: true }\n\n};\n\nexport const APP_SUMMARY = {\n name: 'summary',\n labelKey: 'tableHeaders.resources',\n value: 'deployedResources.length',\n sort: false,\n search: false,\n formatter: 'AppSummaryGraph',\n align: 'center',\n width: 100,\n};\n\nexport const CONSTRAINT_VIOLATION_CONSTRAINT_LINK = {\n name: 'Constraint',\n labelKey: 'tableHeaders.constraint',\n value: 'constraintLink',\n sort: `constraintLink.text`,\n formatter: 'Link',\n formatterOpts: { options: { internal: true } },\n};\n\nexport const CONSTRAINT_VIOLATION_RESOURCE_LINK = {\n name: 'Name',\n labelKey: 'tableHeaders.name',\n value: 'resourceLink',\n sort: `resourceLink.text`,\n search: `resourceLink.text`,\n formatter: 'Link',\n formatterOpts: { options: { internal: true } },\n};\n\nexport const CONSTRAINT_VIOLATION_TYPE = {\n name: 'Type',\n labelKey: 'tableHeaders.type',\n value: `kind`,\n sort: `kind`\n};\n\nexport const CONSTRAINT_VIOLATION_NAMESPACE = {\n name: 'Namespace',\n labelKey: 'tableHeaders.namespace',\n value: `namespace`,\n sort: `namespace`,\n search: `namespace`,\n};\n\nexport const CONSTRAINT_VIOLATION_MESSAGE = {\n name: 'Message',\n labelKey: 'tableHeaders.message',\n value: `message`,\n sort: `message`\n};\n\nexport const CONSTRAINT_VIOLATION_TEMPLATE_LINK = {\n name: 'TemplateLink',\n labelKey: 'tableHeaders.template',\n value: `templateLink`,\n sort: `templateLink.text`,\n formatter: 'Link',\n formatterOpts: { options: { internal: true } },\n};\n\nexport const CONSTRAINT_VIOLATION_COUNT = {\n name: 'Count',\n labelKey: 'tableHeaders.count',\n value: `count`,\n sort: `count`,\n formatter: 'QualityText',\n formatterOpts: {\n qualityFn(value) {\n if (value <= 10) {\n return 'success';\n }\n\n if (value <= 20) {\n return 'warning';\n }\n\n return 'error';\n }\n }\n};\n\nexport const RECEIVER_PROVIDERS = {\n name: 'receiver-providers',\n label: 'Configured Providers',\n value: 'receiverTypes',\n sort: 'receiverTypes',\n formatter: 'List',\n};\n\nexport const CONFIGURED_RECEIVER = {\n name: 'receiver',\n label: 'Configured Receiver',\n value: 'receiverLink',\n sort: 'receiverLink.text',\n formatter: 'Link',\n formatterOpts: { options: { internal: true } },\n};\n\nexport const GROUP_NAME = {\n name: 'group-name',\n labelKey: 'tableHeaders.groupName',\n value: 'id',\n sort: ['name'],\n search: ['name'],\n formatter: 'Principal',\n width: 350\n};\n\nexport const GROUP_ROLE_NAME = {\n name: 'group-role-names',\n labelKey: 'tableHeaders.groupRoleNames',\n value: 'id',\n formatter: 'PrincipalGroupBindings',\n};\n\nexport const HPA_REFERENCE = {\n name: 'reference',\n labelKey: 'tableHeaders.hpaReference',\n value: 'spec.scaleTargetRef.name',\n sort: 'spec.scaleTargetRef.name',\n};\n\nexport const MIN_REPLICA = {\n name: 'minimum-replica',\n labelKey: 'tableHeaders.minReplicas',\n value: 'spec.minReplicas',\n sort: 'spec.minReplicas',\n};\n\nexport const MAX_REPLICA = {\n name: 'maximum-replica',\n labelKey: 'tableHeaders.maxReplicas',\n value: 'spec.maxReplicas',\n sort: 'spec.maxReplicas',\n};\n\nexport const CURRENT_REPLICA = {\n name: 'current-replica',\n labelKey: 'tableHeaders.currentReplicas',\n value: 'status.currentReplicas',\n sort: 'status.currentReplicas',\n};\n\nexport const EXPIRY_STATE = {\n ...STATE,\n value: '$',\n formatter: 'LiveExpiryBadgeState',\n};\n\nexport const ACCESS_KEY = {\n name: 'id',\n labelKey: 'tableHeaders.accessKey',\n align: 'left',\n sort: ['name'],\n width: 200,\n};\n\nexport const SCOPE = {\n name: 'scope',\n value: 'clusterName',\n labelKey: 'tableHeaders.scope',\n dashIfEmpty: true,\n align: 'left',\n sort: ['scope'],\n width: 100,\n};\n\nexport const SCOPE_NORMAN = {\n ...SCOPE,\n value: 'clusterId',\n sort: ['clusterId'],\n};\n\nexport const EXPIRES = {\n name: 'expires',\n value: 'expiresAt',\n labelKey: 'tableHeaders.expires',\n align: 'left',\n sort: ['expiresAt'],\n width: 200,\n formatter: 'LiveExpiryDate'\n};\n\nexport const RESTART = {\n name: 'restart',\n labelKey: 'tableHeaders.restart',\n value: 'restartRequired',\n sort: ['restartRequired', 'nameSort'],\n formatter: 'Checked',\n width: 75,\n align: 'center'\n};\n\nexport const ROLE = {\n name: 'role',\n value: 'roleDisplay',\n labelKey: 'tableHeaders.role',\n};\n\nexport const FEATURE_DESCRIPTION = {\n name: 'description',\n labelKey: 'tableHeaders.description',\n value: 'status.description',\n align: 'left',\n sort: ['status.description'],\n formatter: 'Translate',\n formatterOpts: { prefix: 'featureFlags.description' },\n};\n\nexport const STATE_NORMAN = {\n name: 'state',\n labelKey: 'tableHeaders.state',\n sort: ['stateSort', 'nameSort'],\n value: 'stateDisplay',\n width: 100,\n default: 'unknown',\n formatter: 'BadgeStateFormatter',\n};\n\nexport const KUBE_NODE_OS = {\n name: 'operating-system',\n labelKey: 'tableHeaders.operatingSystem',\n value: 'status.nodeInfo.operatingSystem',\n sort: ['status.nodeInfo.operatingSystem'],\n formatter: 'Capitalize'\n};\n\nexport const MACHINE_NODE_OS = {\n name: 'operating-system',\n labelKey: 'tableHeaders.operatingSystem',\n value: 'operatingSystem',\n sort: ['operatingSystem'],\n formatter: 'Capitalize',\n dashIfEmpty: true,\n};\n\nexport const MANAGEMENT_NODE_OS = {\n name: 'operating-system',\n labelKey: 'tableHeaders.operatingSystem',\n value: 'status.internalNodeStatus.nodeInfo.operatingSystem',\n sort: ['status.internalNodeStatus.nodeInfo.operatingSystem'],\n formatter: 'Capitalize',\n dashIfEmpty: true,\n};\n\n// FLEET\n\nexport const FLEET_BUNDLE_LAST_UPDATED = {\n name: 'lastUpdated',\n labelKey: 'tableHeaders.lastUpdated',\n value: 'lastUpdateTime',\n formatter: 'LiveDate',\n formatterOpts: { addSuffix: true },\n sort: ['lastUpdateTime']\n};\n\nexport const FLEET_BUNDLE_TYPE = {\n name: 'bundleType',\n labelKey: 'tableHeaders.fleetBundleType',\n value: 'bundleType',\n sort: ['bundleType'],\n width: 100,\n};\n\nexport const FLEET_REPO_CLUSTERS_READY = {\n name: 'clustersReady',\n labelKey: 'tableHeaders.clustersReady',\n value: 'status.readyClusters',\n sort: 'status.readyClusters',\n search: false,\n};\n\nexport const FLEET_REPO_TARGET = {\n name: 'target',\n labelKey: 'tableHeaders.target',\n value: 'targetInfo.modeDisplay',\n sort: ['targetInfo.modeDisplay', 'targetInfo.cluster', 'targetInfo.clusterGroup'],\n\n};\n\nexport const FLEET_REPO = {\n name: 'repo',\n labelKey: 'tableHeaders.repo',\n value: 'repoDisplay',\n sort: 'repoDisplay',\n search: ['spec.repo', 'status.commit'],\n};\n\nexport const UI_PLUGIN_CATALOG = [\n {\n name: 'state',\n labelKey: 'tableHeaders.state',\n sort: ['stateSort', 'nameSort'],\n value: 'state',\n width: 100,\n default: 'unknown',\n formatter: 'BadgeStateFormatter',\n formatterOpts: { arbitrary: true }\n },\n {\n name: 'name',\n labelKey: 'tableHeaders.name',\n value: 'name',\n sort: ['nameSort'],\n formatter: 'LinkDetail'\n },\n {\n name: 'image',\n sort: ['image'],\n labelKey: 'plugins.manageCatalog.headers.image.label',\n value: 'image'\n },\n {\n name: 'repository',\n sort: ['repository'],\n labelKey: 'plugins.manageCatalog.headers.repository.label',\n value: 'repo.metadata.name'\n }\n];\n","import { SETTING } from '@shell/config/settings';\nimport { COUNT, MANAGEMENT } from '@shell/config/types';\nimport { GC_DEFAULTS, GC_PREFERENCES } from './gc-types';\n\nclass GarbageCollect {\n private static ENABLE_DEBUG_LOGGING = false;\n\n /**\n * Don't run GC if it's been run within 5 seconds\n */\n private static GC_RE_RUN_GAP = 1000 * 5;\n\n private cachedGcPrefs: GC_PREFERENCES = GC_DEFAULTS;\n\n private cachedGcPrefsStamp = '';\n\n private debugLog = (...args: any) => {\n if (GarbageCollect.ENABLE_DEBUG_LOGGING) {\n console.debug('GC', ...args); // eslint-disable-line no-console\n }\n };\n\n /**\n * Time the GC last ran\n */\n private gcLastRun: number | null = 0;\n\n /**\n * To avoid JSON.parse on the `ui-performance` setting keep a local cache\n */\n private getUiPerfGarbageCollection = (rootState: any) => {\n const uiPerfSetting = rootState.management.types[MANAGEMENT.SETTING]?.list.find((s: any) => s.id === SETTING.UI_PERFORMANCE);\n\n if (!uiPerfSetting || !uiPerfSetting.value) {\n // Could be in the process of logging out\n return undefined;\n }\n const stamp = `${ uiPerfSetting.metadata.generation }-${ uiPerfSetting.metadata.resourceVersion }`;\n\n if (this.cachedGcPrefsStamp !== stamp) {\n this.debugLog(`Updating ${ SETTING.UI_PERFORMANCE } cache`);\n this.cachedGcPrefsStamp = stamp;\n const uiPerfSettingParsed = JSON.parse(uiPerfSetting.value);\n\n this.cachedGcPrefs = uiPerfSettingParsed.garbageCollection;\n }\n\n return this.cachedGcPrefs;\n };\n\n /**\n * The last time a resource was accessed by either find or getters style functions\n */\n private lastAccessedCache: {\n [store: string]: {\n [type: string]: number;\n }\n } = {}\n\n /**\n * Track when a logged in route changes.\n */\n private lastRouteChange = 0;\n\n // ------------- GC Enabled ---------------------\n\n gcEnabledAll(pseudoCtx: any, type: string) {\n return this.gcEnabledForStore(pseudoCtx.state) && this.gcEnabledSetting(pseudoCtx) && this.gcEnabledForType(pseudoCtx, type);\n }\n\n gcEnabledSetting(pseudoCtx: any) {\n const { rootState } = pseudoCtx;\n\n // Don't use a getter... as we'll end up triggering ourselves again\n const uiPerfGarbageCollection = this.getUiPerfGarbageCollection(rootState);\n\n return uiPerfGarbageCollection?.enabled;\n }\n\n gcEnabledForStore(state: any) {\n return state?.config?.supportsGc;\n }\n\n /**\n * Store can require certain types are not GC'd (for example `cluster` and `schema`s, `counts`, etc)\n */\n gcEnabledForType(pseudoCtx: any, type: string) {\n const { getters } = pseudoCtx;\n\n if (!type || getters.gcIgnoreTypes[type]) {\n return false;\n }\n\n return true;\n }\n\n gcEnabledInterval(pseudoCtx: any) {\n const { rootState } = pseudoCtx;\n\n // Don't use a getter... as we'll end up triggering ourselves again\n const uiPerfGarbageCollection = this.getUiPerfGarbageCollection(rootState);\n\n return {\n enabled: uiPerfGarbageCollection?.enabledInterval,\n interval: uiPerfGarbageCollection?.interval || 0\n };\n }\n\n gcEnabledRoute(pseudoCtx: any) {\n const { rootState } = pseudoCtx;\n\n // Don't use a getter... as we'll end up triggering ourselves again\n const uiPerfGarbageCollection = this.getUiPerfGarbageCollection(rootState);\n\n return uiPerfGarbageCollection?.enabledOnNavigate;\n }\n\n // ------------- GC (actual) ---------------------\n\n /**\n * Remove stale resource types from the store and stop watching them for changes\n */\n garbageCollect(ctx: any, ignoreTypes: {[type: string]: boolean} = {}) {\n const now = new Date().getTime();\n\n // Is gc currently running OR has run in the past GC_RE_RUN_GAP return early\n if (this.gcLastRun === null || now - this.gcLastRun < GarbageCollect.GC_RE_RUN_GAP) {\n this.debugLog('Skipping (running or recently run)', this.gcLastRun ? new Date(this.gcLastRun) : 'running');\n\n return;\n }\n\n this.gcLastRun = null;\n const gcd: {[type: string]: number} = {};\n\n try {\n const { getters, rootState, dispatch } = ctx;\n\n if (!rootState.clusterReady) {\n this.debugLog('Skipping (cluster not ready)');\n this.gcLastRun = new Date().getTime();\n\n return ;\n }\n this.debugLog(`------ Started ------`);\n\n const uiPerfGarbageCollection = this.getUiPerfGarbageCollection(rootState);\n\n if (!uiPerfGarbageCollection) {\n return ;\n }\n const maxAge = uiPerfGarbageCollection.ageThreshold * 1000;\n const maxCount = uiPerfGarbageCollection.countThreshold;\n\n this.debugLog(`Max Age: ${ maxAge }. Max Count: ${ maxCount }`);// , 'Cache', this.lastAccessedCache\n\n const store = ctx.state.config.namespace;\n\n // this.debugLog('Cache', this.lastAccessedCache);\n\n Object.entries((this.lastAccessedCache[store] || {})).forEach(([type, lastAccessed]) => {\n if (!lastAccessed) {\n // There's no last accessed time... gc is probably disabled in another way\n this.debugLog(`${ type }: Skipping (no accessed time)`);\n\n return;\n }\n\n if (!this.gcEnabledForType(ctx, type)) {\n // This specific store is telling us to ignore the type (for example `cluster` store will not GC schema's, counts, etc)\n this.debugLog(`${ type }: Skipping (type ignored by store)`);\n\n return;\n }\n\n if (ignoreTypes[type]) {\n // We're going to a place that needs the resource\n this.debugLog(`${ type }: Skipping (navigating to type)`);\n\n return;\n }\n\n if (now - lastAccessed <= maxAge) {\n // The resource was recently accessed\n\n this.debugLog(`${ type }: Skipping (recently accessed)`);\n\n return;\n }\n\n if (this.lastRouteChange !== undefined && this.lastRouteChange < lastAccessed ) {\n // The resource is being used in the current route/page\n this.debugLog(`${ type }: Skipping (used in current route/page)`);\n\n return;\n }\n\n const countFromResource = getters.all(COUNT)[0].counts[type]?.summary.count;\n const currentCount = countFromResource ?? 0;\n\n if (currentCount === undefined || currentCount < maxCount) {\n // There's too few resources, we might as well keep them to avoid a network request when we need them again\n this.debugLog(`${ type }: Skipping (too few of resource)`);\n\n return;\n }\n\n this.debugLog(`${ type }: Removing from store`);\n dispatch('forgetType', type);\n gcd[type] = currentCount;\n });\n\n this.gcLastRun = new Date().getTime();\n } catch (e) {\n this.debugLog(`: Error`, e);\n this.gcLastRun = new Date().getTime();\n }\n\n if (Object.keys(gcd).length > 0) {\n console.info('Garbage Collected Resources', gcd); // eslint-disable-line no-console\n }\n\n this.debugLog(`------ Finished ------`);\n }\n\n // ------------- GC Update local cache ---------------------\n\n /**\n * Update the time that the resource type was accessed\n * This needs to run after any type initialisation (aka registerType)\n */\n gcUpdateLastAccessed(pseudoCtx: any, type: string) {\n if (!this.gcEnabledAll(pseudoCtx, type)) {\n return;\n }\n const store = pseudoCtx.state.config.namespace;\n\n if (!this.lastAccessedCache[store]) {\n this.lastAccessedCache[store] = {};\n }\n\n this.lastAccessedCache[store][type] = new Date().getTime();\n }\n\n /**\n * Update the time the user last changed routes\n */\n gcUpdateRouteChanged() {\n this.lastRouteChange = new Date().getTime();\n }\n\n // ------------- GC reset ---------------------\n\n /**\n * Remove all cached access times for the given store\n */\n gcResetStore(state: any) {\n const store = state.config.namespace;\n\n delete this.lastAccessedCache[store];\n\n this.debugLog('Forgetting Store:', store);\n }\n\n /**\n * Remove cached access time for the given resource type\n */\n gcResetType(state: any, type: string) {\n const store = state.config.namespace;\n\n if (!this.lastAccessedCache[store]) {\n return;\n }\n delete this.lastAccessedCache[store][type];\n\n this.debugLog('Forgetting Type:', store, type);\n }\n}\n\nconst gc = new GarbageCollect();\n\nexport default gc;\n","type UriField = 'source' | 'protocol' | 'authority' | 'userInfo' | 'user' | 'password' | 'host' | 'port' | 'relative' | 'path' | 'directory' | 'file' | 'queryStr' | 'anchor'\ntype UriFields = {\n [key in UriField]: string; // eslint-disable-line no-unused-vars\n}\nexport type QueryParams = {\n [key: string]: string\n}\n\ninterface ParsedUri extends UriFields {\n query: QueryParams;\n}\n\nexport function addParam(url: string, key: string, val: string | string[]): string {\n let out = url + (url.includes('?') ? '&' : '?');\n\n // val can be a string or an array of strings\n if ( !Array.isArray(val) ) {\n val = [val];\n }\n out += val.map((v) => {\n if ( v === null ) {\n return `${ encodeURIComponent(key) }`;\n } else {\n return `${ encodeURIComponent(key) }=${ encodeURIComponent(v) }`;\n }\n }).join('&');\n\n return out;\n}\n\nexport function addParams(url: string, params: QueryParams): string {\n if ( params && typeof params === 'object' ) {\n Object.keys(params).forEach((key) => {\n url = addParam(url, key, params[key]);\n });\n }\n\n return url;\n}\n\nexport function removeParam(url: string, key: string): string {\n const parsed = parse(url);\n\n if ( parsed.query?.[key] ) {\n delete parsed.query[key];\n }\n\n return stringify(parsed);\n}\n\nexport function parseLinkHeader(str: string): Record {\n const out: { [key: string]: string} = { };\n const lines = (str || '').split(',');\n\n for ( const line of lines ) {\n const match = line.match(/^\\s*<([^>]+)>\\s*;\\s*rel\\s*=\"(.*)\"/);\n\n if ( match ) {\n out[match[2].toLowerCase()] = match[1];\n }\n }\n\n return out;\n}\n\nexport function isMaybeSecure(port: number, proto: string): boolean {\n const protocol = proto.toLowerCase();\n\n return portMatch([port], [443, 8443], ['443']) || protocol === 'https';\n}\n\nexport function portMatch(ports: number[], equals: number[], endsWith: string[]): boolean {\n for (let i = 0; i < ports.length; i++) {\n const port = ports[i];\n\n if (equals.includes(port)) {\n return true;\n }\n\n for (let j = 0; j < endsWith.length; j++) {\n const suffix = `${ endsWith[j] }`;\n const portStr = `${ port }`;\n\n if (portStr !== suffix && portStr.endsWith(suffix)) {\n return true;\n }\n }\n }\n\n return false;\n}\n\n// parseUri 1.2.2\n// (c) Steven Levithan \n// https://javascriptsource.com/parseuri/\n// MIT License\nexport function parse(str: string): ParsedUri {\n const o = parse.options;\n const m = o.parser[o.strictMode ? 'strict' : 'loose'].exec(str);\n\n if (!m) {\n throw new Error(`Cannot parse as uri: ${ str }`);\n }\n const uri = {} as ParsedUri;\n let i = 14;\n\n while (i--) {\n uri[o.key[i]] = m[i] || '';\n }\n\n uri.query = {};\n uri.queryStr.replace(o.q.parser, (_, $1: string, $2: string): string => {\n if ($1) {\n uri[o.q.name][$1] = $2;\n }\n\n return '';\n });\n\n return uri;\n}\n\nparse.options = {\n strictMode: false,\n key: ['source', 'protocol', 'authority', 'userInfo', 'user', 'password', 'host', 'port', 'relative', 'path', 'directory', 'file', 'queryStr', 'anchor'],\n q: {\n name: 'query',\n parser: /(?:^|&)([^&=]*)=?([^&]*)/g\n },\n parser: {\n strict: /^(?:([^:\\/?#]+):)?(?:\\/\\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\\/?#]*)(?::(\\d*))?))?((((?:[^?#\\/]*\\/)*)([^?#]*))(?:\\?([^#]*))?(?:#(.*))?)/,\n loose: /^(?:(?![^:@]+:[^:@\\/]*@)([^:\\/?#.]+):)?(?:\\/\\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\\/?#]*)(?::(\\d*))?)(((\\/(?:[^?#](?![^?#\\/]*\\.[^?#\\/.]+(?:[?#]|$)))*\\/?)?([^?#\\/]*))(?:\\?([^#]*))?(?:#(.*))?)/\n }\n} as {\n strictMode: boolean,\n key: UriField[],\n q: {\n name: 'query',\n parser: RegExp\n },\n parser: {\n strict: RegExp,\n loose: RegExp\n }\n};\n\nexport function stringify(uri: ParsedUri): string {\n let out = `${ uri.protocol }://`;\n\n if ( uri.user && uri.password ) {\n out += `${ uri.user }:${ uri.password }@`;\n } else if ( uri.user ) {\n out += `${ uri.user }@`;\n }\n\n out += uri.host;\n\n if ( uri.port ) {\n out += `:${ uri.port }`;\n }\n\n out += uri.path || '/';\n\n out = addParams(out, uri.query || {});\n\n if ( uri.anchor ) {\n out += `#${ uri.anchor }`;\n }\n\n return out;\n}\n","import { SETTING } from '@shell/config/settings';\nimport { MANAGEMENT } from '@shell/config/types';\n\nlet favIconSet = false;\n\nexport function haveSetFavIcon() {\n return favIconSet;\n}\n\nexport function setFavIcon(store) {\n const res = store.getters['management/byId'](MANAGEMENT.SETTING, SETTING.FAVICON);\n const brandSetting = store.getters['management/byId'](MANAGEMENT.SETTING, SETTING.BRAND);\n const link = findIconLink(document.head.getElementsByTagName('link'));\n\n if (link) {\n let brandImage;\n\n if (brandSetting?.value === 'suse') {\n brandImage = require('~shell/assets/brand/suse/favicon.png');\n } else if (brandSetting?.value === 'csp') {\n brandImage = require('~shell/assets/brand/csp/favicon.png');\n }\n\n link.href = res?.value || brandImage || defaultFavIcon;\n favIconSet = true;\n }\n}\n\nfunction getCurrentFavIcon() {\n const link = findIconLink(document.head.getElementsByTagName('link'));\n\n return link ? link.href : '';\n}\n\nfunction findIconLink(links) {\n for (let i = 0; i < links.length; i++) {\n const link = links[i];\n\n if (link.rel?.includes('icon')) {\n return link;\n }\n }\n\n return undefined;\n}\n\nconst defaultFavIcon = getCurrentFavIcon();\n","\n/**\n * Some plugins won't be bundled with the dashboard build but loaded on demand at run time.\n * This file allows 'manager' style plugins to defined how to determine if a unknown route\n * belongs to one of their associated plugins and how that plugin can be loaded\n */\nclass DynamicPluginLoader {\n dynamicPluginLoaders = [];\n\n register(reg) {\n this.dynamicPluginLoaders.push(reg);\n }\n\n async check({ route, store }) {\n for (const dpl of this.dynamicPluginLoaders) {\n // Check that the route is valid and then load the plugin associated with it\n const res = await dpl.load({ route, store });\n\n if (res) {\n return res;\n }\n }\n }\n}\n\nconst dynamicPluginLoader = new DynamicPluginLoader();\n\nexport default dynamicPluginLoader;\n","// Github repo cache\nexport const GITHUB_REPOS = 'githubRepos';\nexport const GITHUB_SCOPES = 'githubScopes';\nexport const _DATE = 'Updated';\n\nexport const BACK_TO = 'backTo';\n","import { MANAGEMENT } from '@shell/config/types';\n\nconst definitions = {};\n\nexport const create = function(name, def) {\n definitions[name] = { def };\n\n return name;\n};\n\nexport const mapFeature = function(name) {\n return {\n get() {\n return this.$store.getters['features/get'](name);\n },\n\n set(value) {\n throw new Error('The feature store only supports getting');\n }\n };\n};\n\n// --------------------\n// The default (2nd arg) is used only if the flag is missing entirely from the server.\n// This is mainly useful for development before the flag has been created in the API..\n\nexport const MULTI_CLUSTER = create('multi-cluster-management', true);\nexport const LEGACY = create('legacy', false);\nexport const RKE2 = create('rke2', true);\nexport const RKE1_UI = create('rke1-ui', true);\nexport const UNSUPPORTED_STORAGE_DRIVERS = create('unsupported-storage-drivers', false);\nexport const FLEET = create('continuous-delivery', true);\nexport const HARVESTER = create('harvester', true);\nexport const HARVESTER_CONTAINER = create('harvester-baremetal-container-workload', false);\nexport const FLEET_WORKSPACE_BACK = create('provisioningv2-fleet-workspace-back-population', false);\n\n// Not currently used.. no point defining ones we don't use\n// export const EMBEDDED_CLUSTER_API = create('embedded-cluster-api', true);\n// export const ISTIO_VIRTUAL_SERVICE_UI = create('istio-virtual-service-ui', true);\n// export const PROVISIONINGV2 = create('provisioningv2', true);\n// export const AUTH = create('auth', true);\n\n// --------------------\n\nexport const getters = {\n get: (state, getters, rootState, rootGetters) => (name) => {\n const definition = definitions[name];\n\n if (!definition) {\n throw new Error(`Unknown feature: ${ name }`);\n }\n\n const entry = rootGetters['management/byId'](MANAGEMENT.FEATURE, name);\n\n if ( entry ) {\n return entry.enabled;\n }\n\n return definition.def;\n },\n};\n\nexport const actions = {\n loadServer({ rootGetters, dispatch }) {\n if ( rootGetters['management/canList'](MANAGEMENT.FEATURE) ) {\n return dispatch('management/findAll', { type: MANAGEMENT.FEATURE }, { root: true });\n }\n },\n};\n","import { REDIRECTED } from '@shell/config/cookies';\nimport { NAME as EXPLORER } from '@shell/config/product/explorer';\nimport {\n SETUP, TIMED_OUT, UPGRADED, _FLAGGED, _UNFLAG\n} from '@shell/config/query-params';\nimport { SETTING } from '@shell/config/settings';\nimport { MANAGEMENT, NORMAN, DEFAULT_WORKSPACE } from '@shell/config/types';\nimport { _ALL_IF_AUTHED } from '@shell/plugins/dashboard-store/actions';\nimport { applyProducts } from '@shell/store/type-map';\nimport { findBy } from '@shell/utils/array';\nimport { ClusterNotFoundError, RedirectToError } from '@shell/utils/error';\nimport { get } from '@shell/utils/object';\nimport { setFavIcon, haveSetFavIcon } from '@shell/utils/favicon';\nimport dynamicPluginLoader from '@shell/pkg/dynamic-plugin-loader';\nimport { AFTER_LOGIN_ROUTE, WORKSPACE } from '@shell/store/prefs';\nimport { BACK_TO } from '@shell/config/local-storage';\nimport { NAME as FLEET_NAME } from '@shell/config/product/fleet.js';\nimport { canViewResource } from '@shell/utils/auth';\n\nconst getPackageFromRoute = (route) => {\n if (!route?.meta) {\n return;\n }\n // Sometimes meta is an array... sometimes not\n const arraySafe = Array.isArray(route.meta) ? route.meta : [route.meta];\n\n return arraySafe.find((m) => !!m.pkg)?.pkg;\n};\n\nconst getResourceFromRoute = (to) => {\n let resource = to.params?.resource;\n\n if (!resource) {\n resource = findMeta(to, 'resource');\n }\n\n return resource;\n};\n\nlet beforeEachSetup = false;\n\nfunction findMeta(route, key) {\n if (route?.meta) {\n const meta = Array.isArray(route.meta) ? route.meta : [route.meta];\n\n for (let i = 0; i < meta.length; i++) {\n if (meta[i][key]) {\n return meta[i][key];\n }\n }\n }\n\n return undefined;\n}\n\nexport function getClusterFromRoute(to) {\n let cluster = to.params?.cluster;\n\n if (!cluster) {\n cluster = findMeta(to, 'cluster');\n }\n\n return cluster;\n}\n\nexport function getProductFromRoute(to) {\n let product = to.params?.product;\n\n if ( !product ) {\n const match = to.name?.match(/^c-cluster-([^-]+)/);\n\n if ( match ) {\n product = match[1];\n }\n }\n\n // If still no product, see if the route indicates the product via route metadata\n if (!product) {\n product = findMeta(to, 'product');\n }\n\n return product;\n}\n\nfunction setProduct(store, to, redirect) {\n let product = getProductFromRoute(to);\n\n // since all products are hardcoded as routes (ex: c-local-explorer), if we match the wildcard route it means that the product does not exist\n if ((product && (!to.matched.length || (to.matched.length && to.matched[0].path === '/c/:cluster/:product'))) ||\n // if the product grabbed from the route is not registered, then we don't have it!\n (product && !store.getters['type-map/isProductRegistered'](product))) {\n store.dispatch('loadingError', new Error(store.getters['i18n/t']('nav.failWhale.productNotFound', { productNotFound: product }, true)));\n\n return () => redirect(302, '/fail-whale');\n }\n\n if ( !product ) {\n product = EXPLORER;\n }\n\n const oldProduct = store.getters['productId'];\n const oldStore = store.getters['currentProduct']?.inStore;\n\n if ( product !== oldProduct ) {\n store.commit('setProduct', product);\n }\n\n const neuStore = store.getters['currentProduct']?.inStore;\n\n if ( neuStore !== oldStore ) {\n // If the product store changes, clear the catalog.\n // There might be management catalog items in it vs cluster.\n store.commit('catalog/reset');\n }\n\n return false;\n}\n\n/**\n * Check that the resource is valid, if not redirect to fail whale\n *\n * This requires that\n * - product is set\n * - product's store is set and setup (so we can check schema's within it)\n * - product's store has the schemaFor getter (extension stores might not have it)\n * - there's a resource associated with route (meta or param)\n */\nfunction invalidResource(store, to, redirect) {\n const product = store.getters['currentProduct'];\n const resource = getResourceFromRoute(to);\n\n // In order to check a resource is valid we need these\n if (!product || !resource) {\n return false;\n }\n\n if (canViewResource(store, resource)) {\n return false;\n }\n\n // Unknown resource, redirect to fail whale\n\n store.dispatch('loadingError', new Error(store.getters['i18n/t']('nav.failWhale.resourceNotFound', { resource }, true)));\n\n return () => redirect(302, '/fail-whale');\n}\n\nexport default async function({\n route, app, store, redirect, $cookies, req, isDev, from, $plugin, next\n}) {\n if ( route.path && typeof route.path === 'string') {\n // Ignore webpack hot module reload requests\n if ( route.path.startsWith('/__webpack_hmr/') ) {\n return;\n }\n\n // Ignore the error page\n if ( route.path.startsWith('/fail-whale') ) {\n return;\n }\n }\n\n // This tells Ember not to redirect back to us once you've already been to dashboard once.\n if ( !$cookies.get(REDIRECTED) ) {\n $cookies.set(REDIRECTED, 'true', {\n path: '/',\n sameSite: true,\n secure: true,\n });\n }\n\n const upgraded = route.query[UPGRADED] === _FLAGGED;\n\n if ( upgraded ) {\n app.router.applyQuery({ [UPGRADED]: _UNFLAG });\n\n store.dispatch('growl/success', {\n title: store.getters['i18n/t']('serverUpgrade.title'),\n message: store.getters['i18n/t']('serverUpgrade.message'),\n timeout: 0,\n });\n }\n\n // Initial ?setup=admin-password can technically be on any route\n let initialPass = route.query[SETUP];\n let firstLogin = null;\n\n try {\n // Load settings, which will either be just the public ones if not logged in, or all if you are\n await store.dispatch('management/findAll', {\n type: MANAGEMENT.SETTING,\n opt: {\n load: _ALL_IF_AUTHED, url: `/v1/${ MANAGEMENT.SETTING }`, redirectUnauthorized: false\n }\n });\n\n // Set the favicon - use custom one from store if set\n if (!haveSetFavIcon()) {\n setFavIcon(store);\n }\n\n const res = store.getters['management/byId'](MANAGEMENT.SETTING, SETTING.FIRST_LOGIN);\n const plSetting = store.getters['management/byId'](MANAGEMENT.SETTING, SETTING.PL);\n\n firstLogin = res?.value === 'true';\n\n if (!initialPass && plSetting?.value === 'Harvester') {\n initialPass = 'admin';\n }\n } catch (e) {\n }\n\n if ( firstLogin === null ) {\n try {\n const res = await store.dispatch('rancher/find', {\n type: 'setting',\n id: SETTING.FIRST_LOGIN,\n opt: { url: `/v3/settings/${ SETTING.FIRST_LOGIN }` }\n });\n\n firstLogin = res?.value === 'true';\n\n const plSetting = await store.dispatch('rancher/find', {\n type: 'setting',\n id: SETTING.PL,\n opt: { url: `/v3/settings/${ SETTING.PL }` }\n });\n\n if (!initialPass && plSetting?.value === 'Harvester') {\n initialPass = 'admin';\n }\n } catch (e) {\n }\n }\n\n // TODO show error if firstLogin and default pass doesn't work\n if ( firstLogin ) {\n const ok = await tryInitialSetup(store, initialPass);\n\n if (ok) {\n if (initialPass) {\n store.dispatch('auth/setInitialPass', initialPass);\n }\n\n return redirect({ name: 'auth-setup' });\n } else {\n return redirect({ name: 'auth-login' });\n }\n }\n\n // Make sure you're actually logged in\n function isLoggedIn(me) {\n store.commit('auth/hasAuth', true);\n store.commit('auth/loggedInAs', me.id);\n }\n\n function notLoggedIn() {\n store.commit('auth/hasAuth', true);\n\n if ( route.name === 'index' ) {\n return redirect(302, '/auth/login');\n } else {\n return redirect(302, `/auth/login?${ TIMED_OUT }`);\n }\n }\n\n function noAuth() {\n store.commit('auth/hasAuth', false);\n }\n\n if ( store.getters['auth/enabled'] !== false && !store.getters['auth/loggedIn'] ) {\n // `await` so we have one successfully request whilst possibly logged in (ensures fromHeader is populated from `x-api-cattle-auth`)\n await store.dispatch('auth/getUser');\n\n const v3User = store.getters['auth/v3User'] || {};\n\n if (v3User?.mustChangePassword) {\n return redirect({ name: 'auth-setup' });\n }\n\n // In newer versions the API calls return the auth state instead of having to make a new call all the time.\n const fromHeader = store.getters['auth/fromHeader'];\n\n if ( fromHeader === 'none' ) {\n noAuth();\n } else if ( fromHeader === 'true' ) {\n const me = await findMe(store);\n\n isLoggedIn(me);\n } else if ( fromHeader === 'false' ) {\n notLoggedIn();\n } else {\n // Older versions look at principals and see what happens\n try {\n const me = await findMe(store);\n\n isLoggedIn(me);\n } catch (e) {\n const status = e?._status;\n\n if ( status === 404 ) {\n noAuth();\n } else {\n if ( status === 401 ) {\n notLoggedIn();\n } else {\n store.commit('setError', { error: e, locationError: new Error('Auth Middleware') });\n }\n\n return;\n }\n }\n }\n\n store.dispatch('gcStartIntervals');\n }\n\n const backTo = window.localStorage.getItem(BACK_TO);\n\n if (backTo) {\n window.localStorage.removeItem(BACK_TO);\n\n window.location.href = backTo;\n }\n\n // GC should be notified of route change before any find/get request is made that might be used for that page\n store.dispatch('gcRouteChanged', route);\n\n // Load stuff\n let localCheckResource = false;\n\n await applyProducts(store, $plugin);\n\n // Setup a beforeEach hook once to keep track of the current product\n if ( !beforeEachSetup ) {\n beforeEachSetup = true;\n // This only needs to happen when beforeEach hook hasn't run (the initial load)\n localCheckResource = true;\n\n store.app.router.beforeEach((to, from, next) => {\n // NOTE - This beforeEach runs AFTER this middleware. So anything in this middleware that requires it must set it manually\n let redirected = setProduct(store, to, redirect);\n\n if (redirected) {\n return redirected();\n }\n\n redirected = invalidResource(store, to, redirect);\n\n if (redirected) {\n return redirected();\n }\n\n next();\n });\n\n // Call it for the initial pageload\n const redirected = setProduct(store, route, redirect);\n\n if (redirected) {\n return redirected();\n }\n\n store.app.router.afterEach((to, from) => {\n // Clear state used to record if back button was used for navigation\n setTimeout(() => {\n window._popStateDetected = false;\n }, 1);\n });\n }\n\n try {\n let clusterId = get(route, 'params.cluster');\n\n // Route can provide cluster ID via metadata\n if (!clusterId && route) {\n clusterId = getClusterFromRoute(route);\n }\n\n const pkg = getPackageFromRoute(route);\n const product = getProductFromRoute(route);\n\n const oldPkg = getPackageFromRoute(from);\n const oldProduct = getProductFromRoute(from);\n\n // Leave an old pkg where we weren't before?\n const oldPkgPlugin = oldPkg ? Object.values($plugin.getPlugins()).find((p) => p.name === oldPkg) : null;\n\n if (oldPkg && oldPkg !== pkg ) {\n // Execute anything optional the plugin wants to. For example resetting it's store to remove data\n await oldPkgPlugin.onLeave(store, {\n clusterId,\n product,\n oldProduct,\n oldIsExt: !!oldPkg\n });\n }\n\n // Sometimes this needs to happen before or alongside other things... but is always needed\n const always = [\n store.dispatch('loadManagement')\n ];\n\n // Entering a new package where we weren't before?\n const newPkgPlugin = pkg ? Object.values($plugin.getPlugins()).find((p) => p.name === pkg) : null;\n\n // Note - We can't block on oldPkg !== newPkg because on a fresh load the `from` route equals the `to` route\n if (pkg && (oldPkg !== pkg || from.fullPath === route.fullPath)) {\n // Execute mandatory store actions\n await Promise.all(always);\n\n // Execute anything optional the plugin wants to\n await newPkgPlugin.onEnter(store, {\n clusterId,\n product,\n oldProduct,\n oldIsExt: !!oldPkg\n });\n }\n\n if (!route.matched?.length) {\n // If there are no matching routes we could be trying to nav to a page belonging to a dynamic plugin which needs loading\n await Promise.all([\n ...always,\n ]);\n\n // If a plugin claims the route and is loaded correctly we'll get a route back\n const newLocation = await dynamicPluginLoader.check({ route, store });\n\n // If we have a new location, double check that it's actually valid\n const resolvedRoute = newLocation ? store.app.router.resolve(newLocation) : null;\n\n if (resolvedRoute?.route.matched.length) {\n // Note - don't use `redirect` or `store.app.route` (breaks feature by failing to run middleware in default layout)\n return next(newLocation);\n }\n }\n\n // Ensure that the activeNamespaceCache is updated given the change of context either from or to a place where it uses workspaces\n // When fleet moves to it's own package this should be moved to pkg onEnter/onLeave\n if ((oldProduct === FLEET_NAME || product === FLEET_NAME) && oldProduct !== product) {\n // See note above for store.app.router.beforeEach, need to setProduct manually, for the moment do this in a targeted way\n const redirected = setProduct(store, route, redirect);\n\n if (redirected) {\n return redirected();\n }\n\n store.commit('updateWorkspace', {\n value: store.getters['prefs/get'](WORKSPACE) || DEFAULT_WORKSPACE,\n getters: store.getters\n });\n }\n\n // Always run loadCluster, it handles 'unload' as well\n // Run them in parallel\n await Promise.all([\n ...always,\n store.dispatch('loadCluster', {\n id: clusterId,\n oldPkg: oldPkgPlugin,\n newPkg: newPkgPlugin,\n product,\n oldProduct,\n targetRoute: route\n })\n ]);\n\n if (localCheckResource) {\n const redirected = invalidResource(store, route, redirect);\n\n if (redirected) {\n return redirected();\n }\n }\n\n if (!clusterId) {\n clusterId = store.getters['defaultClusterId']; // This needs the cluster list, so no parallel\n const isSingleProduct = store.getters['isSingleProduct'];\n\n if (isSingleProduct?.afterLoginRoute) {\n const value = {\n name: 'c-cluster-product',\n ...isSingleProduct.afterLoginRoute,\n params: {\n cluster: clusterId,\n ...isSingleProduct.afterLoginRoute?.params\n },\n };\n\n await store.dispatch('prefs/set', {\n key: AFTER_LOGIN_ROUTE,\n value,\n });\n }\n }\n } catch (e) {\n if ( e.name === ClusterNotFoundError.name ) {\n return redirect(302, '/home');\n } if ( e.name === RedirectToError.name ) {\n return redirect(302, e.url);\n } else {\n // Sets error 500 if lost connection to API\n store.commit('setError', { error: e, locationError: new Error(store.getters['i18n/t']('nav.failWhale.authMiddleware')) });\n\n return redirect(302, '/fail-whale');\n }\n }\n}\n\nasync function findMe(store) {\n // First thing we do in loadManagement is fetch principals anyway.... so don't ?me=true here\n const principals = await store.dispatch('rancher/findAll', {\n type: NORMAN.PRINCIPAL,\n opt: {\n url: '/v3/principals',\n redirectUnauthorized: false,\n }\n });\n\n const me = findBy(principals, 'me', true);\n\n return me;\n}\n\nasync function tryInitialSetup(store, password = 'admin') {\n try {\n const res = await store.dispatch('auth/login', {\n provider: 'local',\n body: {\n username: 'admin',\n password\n },\n });\n\n return res._status === 200;\n } catch (e) {\n console.error('Error trying initial setup', e); // eslint-disable-line no-console\n\n return false;\n }\n}\n","import { ActionLocation, CardLocation, ExtensionPoint } from '@shell/core/types';\nimport { isMac } from '@shell/utils/platform';\nimport { ucFirst, randomStr } from '@shell/utils/string';\nimport {\n _EDIT, _CONFIG, _DETAIL, _LIST, _CREATE\n} from '@shell/config/query-params';\nimport { getProductFromRoute } from '@shell/middleware/authenticated';\nimport { isEqual } from '@shell/utils/object';\n\nfunction checkRouteProduct($route, locationConfigParam) {\n const product = getProductFromRoute($route);\n\n // alias for the homepage\n if (locationConfigParam === 'home' && $route.name === 'home') {\n return true;\n } else if (locationConfigParam === product) {\n return true;\n }\n\n return false;\n}\n\nfunction checkRouteMode({ name, query }, locationConfigParam) {\n if (locationConfigParam === _EDIT && query.mode && query.mode === _EDIT && !query.as) {\n return true;\n } else if (locationConfigParam === _CONFIG && query.as && query.as === _CONFIG) {\n return true;\n } else if (locationConfigParam === _DETAIL && !query.as && name.includes('-id') && (!query.mode || query?.mode !== _EDIT)) {\n return true;\n // alias to target all list views\n } else if (locationConfigParam === _LIST && !name.includes('-id') && name.includes('-resource')) {\n return true;\n // alias to target create views\n } else if (locationConfigParam === _CREATE && name.endsWith('-create')) {\n return true;\n }\n\n return false;\n}\n\nfunction checkExtensionRouteBinding($route, locationConfig, context) {\n // if no configuration is passed, consider it as global\n if (!Object.keys(locationConfig).length) {\n return true;\n }\n\n const { params } = $route;\n\n // \"params\" to be checked based on the locationConfig\n // This has become overloaded with mode and context\n const paramsToCheck = [\n 'product',\n 'resource',\n 'namespace',\n 'cluster',\n 'id',\n 'mode',\n 'path',\n 'hash',\n // url query params\n 'queryParam',\n // Custom context specific params provided by the extension, not to be confused with location params\n 'context',\n ];\n\n let res = true;\n\n for (let i = 0; i < paramsToCheck.length; i++) {\n const param = paramsToCheck[i];\n\n if (locationConfig[param]) {\n const asArray = Array.isArray(locationConfig[param]) ? locationConfig[param] : [locationConfig[param]];\n\n for (let x = 0; x < asArray.length; x++) {\n const locationConfigParam = asArray[x];\n\n if (locationConfigParam) {\n if (param === 'hash') {\n res = $route.hash ? $route.hash.includes(locationConfigParam) : false;\n // handle \"product\" in a separate way...\n } else if (param === 'product') {\n res = checkRouteProduct($route, locationConfigParam);\n // also handle \"mode\" in a separate way because it mainly depends on query params\n } else if (param === 'mode') {\n res = checkRouteMode($route, locationConfigParam);\n } else if (param === 'resource') {\n // Match exact resource but also allow resource of '*' to match any resource\n res = (params[param] && locationConfigParam === '*') || locationConfigParam === params[param];\n } else if (param === 'context') {\n // Need all keys and values to match\n res = isEqual(locationConfigParam, context);\n // evaluate queryParam in route\n } else if (param === 'queryParam') {\n res = isEqual(locationConfigParam, $route.query);\n // evaluate path in route\n } else if (param === 'path' && locationConfigParam.urlPath) {\n if (locationConfigParam.endsWith) {\n res = $route.path.endsWith(locationConfigParam.urlPath);\n } else if (!Object.keys(locationConfigParam).includes('exact') || locationConfigParam.exact) {\n res = locationConfigParam.urlPath === $route.path;\n } else {\n res = $route.path.includes(locationConfigParam.urlPath);\n }\n } else if (locationConfigParam === params[param]) {\n res = true;\n } else {\n res = false;\n }\n }\n\n // If a single location config param is good then this is an param (aka ['pods', 'configmap'] = pods or configmaps)\n if (res) {\n break;\n }\n }\n\n // If a single param (set of location config params) is bad then this is not an acceptable location\n if (!res) {\n break;\n }\n }\n }\n\n return res;\n}\n\nexport function getApplicableExtensionEnhancements(pluginCtx, actionType, uiArea, currRoute, translationCtx = pluginCtx, context) {\n const extensionEnhancements = [];\n\n // gate it so that we prevent errors on older versions of dashboard\n if (pluginCtx.$plugin?.getUIConfig) {\n const actions = pluginCtx.$plugin.getUIConfig(actionType, uiArea);\n\n actions.forEach((action, i) => {\n if (checkExtensionRouteBinding(currRoute, action.locationConfig, context || {})) {\n // ADD CARD PLUGIN UI ENHANCEMENT\n if (actionType === ExtensionPoint.CARD) {\n // intercept to apply translation\n if (uiArea === CardLocation.CLUSTER_DASHBOARD_CARD && action.labelKey) {\n actions[i].label = translationCtx.t(action.labelKey);\n }\n\n // ADD ACTION PLUGIN UI ENHANCEMENT\n } else if (actionType === ExtensionPoint.ACTION) {\n // TABLE ACTION\n if (uiArea === ActionLocation.TABLE) {\n // intercept to apply translation\n if (action.labelKey) {\n actions[i].label = translationCtx.t(action.labelKey);\n }\n\n // bulkable flag\n actions[i].bulkable = actions[i].multiple || actions[i].bulkable;\n\n // populate action identifier to prevent errors\n if (!actions[i].action) {\n actions[i].action = `custom-table-action-${ randomStr(10).toLowerCase() }`;\n }\n }\n\n // extract simplified shortcut definition on plugin - HEADER ACTION\n if (uiArea === ActionLocation.HEADER && action.shortcut) {\n // if it's a string, then assume CTRL for windows and META for mac\n if (typeof action.shortcut === 'string') {\n actions[i].shortcutLabel = () => {\n return isMac ? `(\\u2318-${ action.shortcut.toUpperCase() })` : `(Ctrl-${ action.shortcut.toUpperCase() })`;\n };\n actions[i].shortcutKey = { windows: ['ctrl', action.shortcut], mac: ['meta', action.shortcut] };\n // correct check for an Object type in JS... handle the object passed\n } else if (typeof action.shortcut === 'object' && !Array.isArray(action.shortcut) && action.shortcut !== null) {\n actions[i].shortcutKey = action.shortcut;\n const keyboardCombo = isMac ? actions[i].shortcut.mac : actions[i].shortcut.windows ? actions[i].shortcut.windows : [];\n let scLabel = '';\n\n keyboardCombo.forEach((key, i) => {\n if (i < keyboardCombo.length - 1) {\n if (key === 'meta') {\n key = '\\u2318';\n } else {\n key = ucFirst(key);\n }\n scLabel += `${ key }`;\n scLabel += '-';\n } else {\n scLabel += `${ key.toUpperCase() }`;\n }\n });\n\n actions[i].shortcutLabel = () => {\n return `(${ scLabel })`;\n };\n }\n }\n }\n\n extensionEnhancements.push(actions[i]);\n }\n });\n }\n\n return extensionEnhancements;\n}\n","import { NORMAN_NAME } from '@shell/config/labels-annotations';\nimport {\n _CLONE,\n _CONFIG,\n _EDIT,\n _UNFLAG,\n _VIEW,\n _YAML,\n AS,\n MODE\n} from '@shell/config/query-params';\nimport { VIEW_IN_API } from '@shell/store/prefs';\nimport { addObject, addObjects, findBy, removeAt } from '@shell/utils/array';\nimport CustomValidators from '@shell/utils/custom-validators';\nimport { downloadFile, generateZip } from '@shell/utils/download';\nimport { clone, get } from '@shell/utils/object';\nimport { eachLimit } from '@shell/utils/promise';\nimport { sortableNumericSuffix } from '@shell/utils/sort';\nimport { coerceStringTypeToScalarType, escapeHtml, ucFirst } from '@shell/utils/string';\nimport {\n displayKeyFor,\n validateBoolean,\n validateChars,\n validateDnsLikeTypes,\n validateLength,\n} from '@shell/utils/validators';\nimport formRulesGenerator from '@shell/utils/validators/formRules/index';\nimport { waitFor } from '@shell/utils/async';\nimport jsyaml from 'js-yaml';\nimport compact from 'lodash/compact';\nimport forIn from 'lodash/forIn';\nimport isEmpty from 'lodash/isEmpty';\nimport isFunction from 'lodash/isFunction';\nimport isString from 'lodash/isString';\nimport uniq from 'lodash/uniq';\nimport Vue from 'vue';\n\nimport { normalizeType } from './normalize';\n\nimport { ExtensionPoint, ActionLocation } from '@shell/core/types';\nimport { getApplicableExtensionEnhancements } from '@shell/core/plugin-helpers';\n\nconst STRING_LIKE_TYPES = [\n 'string',\n 'date',\n 'blob',\n 'enum',\n 'multiline',\n 'masked',\n 'password',\n 'dnsLabel',\n 'hostname',\n];\nconst DNS_LIKE_TYPES = ['dnsLabel', 'dnsLabelRestricted', 'hostname'];\n\nconst REMAP_STATE = {\n disabled: 'inactive',\n notapplied: 'Not Applied',\n notready: 'Not Ready',\n waitapplied: 'Wait Applied',\n outofsync: 'Out of Sync',\n 'in-progress': 'In Progress',\n gitupdating: 'Git Updating',\n errapplied: 'Err Applied',\n waitcheckin: 'Wait Check-In',\n off: 'Disabled',\n waitingforinfrastructure: 'Waiting for Infra',\n waitingfornoderef: 'Waiting for Node Ref'\n};\n\nconst DEFAULT_COLOR = 'warning';\nconst DEFAULT_ICON = 'x';\n\nconst DEFAULT_WAIT_INTERVAL = 1000;\nconst DEFAULT_WAIT_TMIMEOUT = 30000;\n\nexport const STATES_ENUM = {\n IN_USE: 'in-use',\n IN_PROGRESS: 'in-progress',\n PENDING_ROLLBACK: 'pending-rollback',\n PENDING_UPGRADE: 'pending-upgrade',\n ABORTED: 'aborted',\n ACTIVATING: 'activating',\n ACTIVE: 'active',\n AVAILABLE: 'available',\n BACKED_UP: 'backedup',\n BOUND: 'bound',\n BUILDING: 'building',\n COMPLETED: 'completed',\n CORDONED: 'cordoned',\n COUNT: 'count',\n CREATED: 'created',\n CREATING: 'creating',\n DEACTIVATING: 'deactivating',\n DEGRADED: 'degraded',\n DENIED: 'denied',\n DEPLOYED: 'deployed',\n DEPLOYING: 'deploying',\n DISABLED: 'disabled',\n DISCONNECTED: 'disconnected',\n DRAINED: 'drained',\n DRAINING: 'draining',\n ERR_APPLIED: 'errapplied',\n ERROR: 'error',\n ERRORING: 'erroring',\n ERRORS: 'errors',\n EXPIRED: 'expired',\n EXPIRING: 'expiring',\n FAIL: 'fail',\n FAILED: 'failed',\n HEALTHY: 'healthy',\n INACTIVE: 'inactive',\n INFO: 'info',\n INITIALIZING: 'initializing',\n INPROGRESS: 'inprogress',\n LOCKED: 'locked',\n MIGRATING: 'migrating',\n MISSING: 'missing',\n MODIFIED: 'modified',\n NOT_APPLICABLE: 'notApplicable',\n NOT_APLLIED: 'notapplied',\n NOT_READY: 'notready',\n OFF: 'off',\n ORPHANED: 'orphaned',\n OTHER: 'other',\n OUT_OF_SYNC: 'outofsync',\n ON_GOING: 'on-going',\n PASS: 'pass',\n PASSED: 'passed',\n PAUSED: 'paused',\n PENDING: 'pending',\n PROVISIONING: 'provisioning',\n PROVISIONED: 'provisioned',\n PURGED: 'purged',\n PURGING: 'purging',\n READY: 'ready',\n RECONNECTING: 'reconnecting',\n REGISTERING: 'registering',\n REINITIALIZING: 'reinitializing',\n RELEASED: 'released',\n REMOVED: 'removed',\n REMOVING: 'removing',\n REQUESTED: 'requested',\n RESTARTING: 'restarting',\n RESTORING: 'restoring',\n RESIZING: 'resizing',\n RUNNING: 'running',\n SKIP: 'skip',\n SKIPPED: 'skipped',\n STARTING: 'starting',\n STOPPED: 'stopped',\n STOPPING: 'stopping',\n SUCCEEDED: 'succeeded',\n SUCCESS: 'success',\n SUCCESSFUL: 'successful',\n SUPERSEDED: 'superseded',\n SUSPENDED: 'suspended',\n UNAVAILABLE: 'unavailable',\n UNHEALTHY: 'unhealthy',\n UNINSTALLED: 'uninstalled',\n UNINSTALLING: 'uninstalling',\n UNKNOWN: 'unknown',\n UNTRIGGERED: 'untriggered',\n UPDATING: 'updating',\n WAIT_APPLIED: 'waitapplied',\n WAIT_CHECKIN: 'waitcheckin',\n WAITING: 'waiting',\n WARNING: 'warning',\n};\n\nexport function mapStateToEnum(statusString) {\n // e.g. in fleet Status is Capitalized. This function will map it to the enum\n return Object.values(STATES_ENUM).find((val) => {\n return val.toLowerCase() === statusString.toLocaleLowerCase();\n });\n}\n\nexport const STATES = {\n [STATES_ENUM.IN_USE]: {\n color: 'success', icon: 'dot-open', label: 'In Use', compoundIcon: 'checkmark'\n },\n [STATES_ENUM.IN_PROGRESS]: {\n color: 'info', icon: 'tag', label: 'In Progress', compoundIcon: 'info'\n },\n [STATES_ENUM.PENDING_ROLLBACK]: {\n color: 'info', icon: 'dot-half', label: 'Pending Rollback', compoundIcon: 'info'\n },\n [STATES_ENUM.PENDING_UPGRADE]: {\n color: 'info', icon: 'dot-half', label: 'Pending Update', compoundIcon: 'info'\n },\n [STATES_ENUM.ABORTED]: {\n color: 'warning', icon: 'error', label: 'Aborted', compoundIcon: 'warning'\n },\n [STATES_ENUM.ACTIVATING]: {\n color: 'info', icon: 'tag', label: 'Activating', compoundIcon: 'info'\n },\n [STATES_ENUM.ACTIVE]: {\n color: 'success', icon: 'dot-open', label: 'Active', compoundIcon: 'checkmark'\n },\n [STATES_ENUM.AVAILABLE]: {\n color: 'success', icon: 'dot-open', label: 'Available', compoundIcon: 'checkmark'\n },\n [STATES_ENUM.BACKED_UP]: {\n color: 'success', icon: 'backup', label: 'Backed Up', compoundIcon: 'checkmark'\n },\n [STATES_ENUM.BOUND]: {\n color: 'success', icon: 'dot', label: 'Bound', compoundIcon: 'checkmark'\n },\n [STATES_ENUM.BUILDING]: {\n color: 'success', icon: 'dot-open', label: 'Building', compoundIcon: 'checkmark'\n },\n [STATES_ENUM.COMPLETED]: {\n color: 'success', icon: 'dot', label: 'Completed', compoundIcon: 'checkmark'\n },\n [STATES_ENUM.CORDONED]: {\n color: 'info', icon: 'tag', label: 'Cordoned', compoundIcon: 'info'\n },\n [STATES_ENUM.COUNT]: {\n color: 'success', icon: 'dot-open', label: 'Count', compoundIcon: 'checkmark'\n },\n [STATES_ENUM.CREATED]: {\n color: 'info', icon: 'tag', label: 'Created', compoundIcon: 'info'\n },\n [STATES_ENUM.CREATING]: {\n color: 'info', icon: 'tag', label: 'Creating', compoundIcon: 'info'\n },\n [STATES_ENUM.DEACTIVATING]: {\n color: 'info', icon: 'adjust', label: 'Deactivating', compoundIcon: 'info'\n },\n [STATES_ENUM.DEGRADED]: {\n color: 'warning', icon: 'error', label: 'Degraded', compoundIcon: 'warning'\n },\n [STATES_ENUM.DENIED]: {\n color: 'error', icon: 'adjust', label: 'Denied', compoundIcon: 'error'\n },\n [STATES_ENUM.DEPLOYED]: {\n color: 'success', icon: 'dot-open', label: 'Deployed', compoundIcon: 'checkmark'\n },\n [STATES_ENUM.DISABLED]: {\n color: 'warning', icon: 'error', label: 'Disabled', compoundIcon: 'warning'\n },\n [STATES_ENUM.DISCONNECTED]: {\n color: 'warning', icon: 'error', label: 'Disconnected', compoundIcon: 'warning'\n },\n [STATES_ENUM.DRAINED]: {\n color: 'info', icon: 'tag', label: 'Drained', compoundIcon: 'info'\n },\n [STATES_ENUM.DRAINING]: {\n color: 'warning', icon: 'tag', label: 'Draining', compoundIcon: 'warning'\n },\n [STATES_ENUM.ERR_APPLIED]: {\n color: 'error', icon: 'error', label: 'Error Applied', compoundIcon: 'error'\n },\n [STATES_ENUM.ERROR]: {\n color: 'error', icon: 'error', label: 'Error', compoundIcon: 'error'\n },\n [STATES_ENUM.ERRORING]: {\n color: 'error', icon: 'error', label: 'Erroring', compoundIcon: 'error'\n },\n [STATES_ENUM.ERRORS]: {\n color: 'error', icon: 'error', label: 'Errors', compoundIcon: 'error'\n },\n [STATES_ENUM.EXPIRED]: {\n color: 'error', icon: 'error', label: 'Expired', compoundIcon: 'warning'\n },\n [STATES_ENUM.EXPIRING]: {\n color: 'warning', icon: 'error', label: 'Expiring', compoundIcon: 'error'\n },\n [STATES_ENUM.FAIL]: {\n color: 'error', icon: 'error', label: 'Fail', compoundIcon: 'error'\n },\n [STATES_ENUM.FAILED]: {\n color: 'error', icon: 'error', label: 'Failed', compoundIcon: 'error'\n },\n [STATES_ENUM.HEALTHY]: {\n color: 'success', icon: 'dot-open', label: 'Healthy', compoundIcon: 'checkmark'\n },\n [STATES_ENUM.INACTIVE]: {\n color: 'error', icon: 'dot', label: 'Inactive', compoundIcon: 'error'\n },\n [STATES_ENUM.INITIALIZING]: {\n color: 'warning', icon: 'error', label: 'Initializing', compoundIcon: 'warning'\n },\n [STATES_ENUM.INPROGRESS]: {\n color: 'info', icon: 'spinner', label: 'In Progress', compoundIcon: 'info'\n },\n [STATES_ENUM.INFO]: {\n color: 'info', icon: 'info', label: 'Info', compoundIcon: 'info'\n },\n [STATES_ENUM.LOCKED]: {\n color: 'warning', icon: 'adjust', label: 'Locked', compoundIcon: 'warning'\n },\n [STATES_ENUM.MIGRATING]: {\n color: 'info', icon: 'info', label: 'Migrated', compoundIcon: 'info'\n },\n [STATES_ENUM.MISSING]: {\n color: 'warning', icon: 'adjust', label: 'Missing', compoundIcon: 'warning'\n },\n [STATES_ENUM.MODIFIED]: {\n color: 'warning', icon: 'edit', label: 'Modified', compoundIcon: 'warning'\n },\n [STATES_ENUM.NOT_APPLICABLE]: {\n color: 'warning', icon: 'tag', label: 'Not Applicable', compoundIcon: 'warning'\n },\n [STATES_ENUM.NOT_APLLIED]: {\n color: 'warning', icon: 'tag', label: 'Not Applied', compoundIcon: 'warning'\n },\n [STATES_ENUM.NOT_READY]: {\n color: 'warning', icon: 'tag', label: 'Not Ready', compoundIcon: 'warning'\n },\n [STATES_ENUM.OFF]: {\n color: 'darker', icon: 'error', label: 'Off'\n },\n [STATES_ENUM.ON_GOING]: {\n color: 'info', icon: 'info', label: 'Info', compoundIcon: 'info'\n },\n [STATES_ENUM.ORPHANED]: {\n color: 'warning', icon: 'tag', label: 'Orphaned', compoundIcon: 'warning'\n },\n [STATES_ENUM.OTHER]: {\n color: 'info', icon: 'info', label: 'Other', compoundIcon: 'info'\n },\n [STATES_ENUM.OUT_OF_SYNC]: {\n color: 'warning', icon: 'tag', label: 'Out Of Sync', compoundIcon: 'warning'\n },\n [STATES_ENUM.PASS]: {\n color: 'success', icon: 'dot-dotfill', label: 'Pass', compoundIcon: 'checkmark'\n },\n [STATES_ENUM.PASSED]: {\n color: 'success', icon: 'dot-dotfill', label: 'Passed', compoundIcon: 'checkmark'\n },\n [STATES_ENUM.PAUSED]: {\n color: 'info', icon: 'info', label: 'Paused', compoundIcon: 'info'\n },\n [STATES_ENUM.PENDING]: {\n color: 'info', icon: 'tag', label: 'Pending', compoundIcon: 'info'\n },\n [STATES_ENUM.PROVISIONING]: {\n color: 'info', icon: 'dot', label: 'Provisioning', compoundIcon: 'info'\n },\n [STATES_ENUM.PROVISIONED]: {\n color: 'success', icon: 'dot', label: 'Provisioned', compoundIcon: 'checkmark'\n },\n [STATES_ENUM.PURGED]: {\n color: 'error', icon: 'purged', label: 'Purged', compoundIcon: 'error'\n },\n [STATES_ENUM.PURGING]: {\n color: 'info', icon: 'purged', label: 'Purging', compoundIcon: 'info'\n },\n [STATES_ENUM.READY]: {\n color: 'success', icon: 'dot-open', label: 'Ready', compoundIcon: 'checkmark'\n },\n [STATES_ENUM.RECONNECTING]: {\n color: 'error', icon: 'error', label: 'Reconnecting', compoundIcon: 'error'\n },\n [STATES_ENUM.REGISTERING]: {\n color: 'info', icon: 'tag', label: 'Registering', compoundIcon: 'info'\n },\n [STATES_ENUM.REINITIALIZING]: {\n color: 'warning', icon: 'error', label: 'Reinitializing', compoundIcon: 'warning'\n },\n [STATES_ENUM.RELEASED]: {\n color: 'warning', icon: 'error', label: 'Released', compoundIcon: 'warning'\n },\n [STATES_ENUM.REMOVED]: {\n color: 'error', icon: 'trash', label: 'Removed', compoundIcon: 'error'\n },\n [STATES_ENUM.REMOVING]: {\n color: 'info', icon: 'trash', label: 'Removing', compoundIcon: 'info'\n },\n [STATES_ENUM.REQUESTED]: {\n color: 'info', icon: 'tag', label: 'Requested', compoundIcon: 'info'\n },\n [STATES_ENUM.RESTARTING]: {\n color: 'info', icon: 'adjust', label: 'Restarting', compoundIcon: 'info'\n },\n [STATES_ENUM.RESTORING]: {\n color: 'info', icon: 'medicalcross', label: 'Restoring', compoundIcon: 'info'\n },\n [STATES_ENUM.RESIZING]: {\n color: 'warning', icon: 'dot', label: 'Resizing', compoundIcon: 'warning'\n },\n [STATES_ENUM.RUNNING]: {\n color: 'success', icon: 'dot-open', label: 'Running', compoundIcon: 'checkmark'\n },\n [STATES_ENUM.SKIP]: {\n color: 'info', icon: 'dot-open', label: 'Skip', compoundIcon: 'info'\n },\n [STATES_ENUM.SKIPPED]: {\n color: 'info', icon: 'dot-open', label: 'Skipped', compoundIcon: 'info'\n },\n [STATES_ENUM.STARTING]: {\n color: 'info', icon: 'adjust', label: 'Starting', compoundIcon: 'info'\n },\n [STATES_ENUM.STOPPED]: {\n color: 'error', icon: 'dot', label: 'Stopped', compoundIcon: 'error'\n },\n [STATES_ENUM.STOPPING]: {\n color: 'info', icon: 'adjust', label: 'Stopping', compoundIcon: 'info'\n },\n [STATES_ENUM.SUCCEEDED]: {\n color: 'success', icon: 'dot-dotfill', label: 'Succeeded', compoundIcon: 'checkmark'\n },\n [STATES_ENUM.SUCCESS]: {\n color: 'success', icon: 'dot-open', label: 'Success', compoundIcon: 'checkmark'\n },\n [STATES_ENUM.SUCCESSFUL]: {\n color: 'success', icon: 'dot-open', label: 'Successful'\n },\n [STATES_ENUM.SUPERSEDED]: {\n color: 'info', icon: 'dot-open', label: 'Superseded', compoundIcon: 'info'\n },\n [STATES_ENUM.SUSPENDED]: {\n color: 'info', icon: 'pause', label: 'Suspended', compoundIcon: 'info'\n },\n [STATES_ENUM.UNAVAILABLE]: {\n color: 'error', icon: 'error', label: 'Unavailable', compoundIcon: 'error'\n },\n [STATES_ENUM.UNHEALTHY]: {\n color: 'error', icon: 'error', label: 'Unhealthy', compoundIcon: 'error'\n },\n [STATES_ENUM.UNINSTALLED]: {\n color: 'info', icon: 'trash', label: 'Uninstalled', compoundIcon: 'info'\n },\n [STATES_ENUM.UNINSTALLING]: {\n color: 'info', icon: 'trash', label: 'Uninstalling', compoundIcon: 'info'\n },\n [STATES_ENUM.UNKNOWN]: {\n color: 'warning', icon: 'x', label: 'Unknown', compoundIcon: 'warning'\n },\n [STATES_ENUM.UNTRIGGERED]: {\n color: 'success', icon: 'tag', label: 'Untriggered', compoundIcon: 'checkmark'\n },\n [STATES_ENUM.UPDATING]: {\n color: 'warning', icon: 'tag', label: 'Updating', compoundIcon: 'warning'\n },\n [STATES_ENUM.WAIT_APPLIED]: {\n color: 'info', icon: 'tag', label: 'Wait Applied', compoundIcon: 'info'\n },\n [STATES_ENUM.WAIT_CHECKIN]: {\n color: 'warning', icon: 'tag', label: 'Wait Checkin', compoundIcon: 'warning'\n },\n [STATES_ENUM.WAITING]: {\n color: 'info', icon: 'tag', label: 'Waiting', compoundIcon: 'info'\n },\n [STATES_ENUM.WARNING]: {\n color: 'warning', icon: 'error', label: 'Warning', compoundIcon: 'warning'\n },\n [STATES_ENUM.DEPLOYING]: {\n color: 'info', icon: 'info', label: 'Deploying', compoundIcon: 'info'\n },\n};\n\nexport function getStatesByType(type = 'info') {\n const out = {\n info: [],\n error: [],\n success: [],\n warning: [],\n unknown: [],\n };\n\n forIn(STATES, (state, stateKey) => {\n if (state.color) {\n if (out[state.color]) {\n out[state.color].push(stateKey);\n } else {\n out.unknown.push(stateKey);\n }\n }\n });\n\n return out;\n}\n\nconst SORT_ORDER = {\n error: 1,\n warning: 2,\n info: 3,\n success: 4,\n ready: 5,\n notready: 6,\n other: 7,\n};\n\nexport function getStateLabel(state) {\n const lowercaseState = state.toLowerCase();\n\n return STATES[lowercaseState] ? STATES[lowercaseState].label : STATES[STATES_ENUM.UNKNOWN].label;\n}\n\nexport function colorForState(state, isError, isTransitioning) {\n if ( isError ) {\n return 'text-error';\n }\n\n if ( isTransitioning ) {\n return 'text-info';\n }\n\n const key = (state || 'active').toLowerCase();\n let color;\n\n if ( STATES[key] && STATES[key].color ) {\n color = maybeFn.call(this, STATES[key].color);\n }\n\n if ( !color ) {\n color = DEFAULT_COLOR;\n }\n\n return `text-${ color }`;\n}\n\nexport function stateDisplay(state) {\n // @TODO use translations\n const key = (state || 'active').toLowerCase();\n\n if ( REMAP_STATE[key] ) {\n return REMAP_STATE[key];\n }\n\n return key.split(/-/).map(ucFirst).join('-');\n}\n\nexport function primaryDisplayStatusFromCount(status) {\n const statusOrder = [\n STATES_ENUM.ERROR,\n STATES_ENUM.FAILED,\n STATES_ENUM.WARNING,\n STATES_ENUM.MODIFIED,\n STATES_ENUM.WAIT_APPLIED,\n STATES_ENUM.ORPHANED,\n STATES_ENUM.MISSING,\n STATES_ENUM.UNKNOWN,\n STATES_ENUM.NOT_READY,\n STATES_ENUM.READY,\n ];\n\n // sort status by order of statusOrder\n const existingStatuses = Object.keys(status).filter((key) => {\n return status[key] > 0 && statusOrder.includes(key.toLowerCase());\n }).sort((a, b) => statusOrder.indexOf(a.toLowerCase()) - statusOrder.indexOf(b.toLowerCase()));\n\n return existingStatuses[0] ? existingStatuses[0] : STATES_ENUM.UNKNOWN;\n}\n\nexport function stateSort(color, display) {\n color = color.replace(/^(text|bg)-/, '');\n\n return `${ SORT_ORDER[color] || SORT_ORDER['other'] } ${ display }`;\n}\n\nexport function isConditionReadyAndWaiting(condition) {\n if (!condition) {\n return false;\n }\n\n return condition?.type?.toLowerCase() === 'ready' && condition?.reason?.toLowerCase() === 'waiting';\n}\n\nfunction maybeFn(val) {\n if ( isFunction(val) ) {\n return val(this);\n }\n\n return val;\n}\n\nexport default class Resource {\n constructor(data, ctx, rehydrateNamespace = null, setClone = false) {\n for ( const k in data ) {\n this[k] = data[k];\n }\n\n Object.defineProperty(this, '$ctx', {\n value: ctx,\n enumerable: false,\n });\n\n if ( rehydrateNamespace ) {\n Object.defineProperty(this, '__rehydrate', {\n value: rehydrateNamespace,\n enumerable: true,\n configurable: true\n });\n }\n\n if ( setClone ) {\n Object.defineProperty(this, '__clone', {\n value: true,\n enumerable: true,\n configurable: true,\n writable: true\n });\n }\n }\n\n get '$getters'() {\n return this.$ctx.getters;\n }\n\n get '$rootGetters'() {\n return this.$ctx.rootGetters;\n }\n\n get '$dispatch'() {\n return this.$ctx.dispatch;\n }\n\n get '$state'() {\n return this.$ctx.state;\n }\n\n get '$rootState'() {\n return this.$ctx.rootState;\n }\n\n get customValidationRules() {\n return [\n /**\n * Essentially a fake schema object with additional params to extend validation\n *\n * @param {nullable} Value is nullable\n * @param {path} Path on the resource to the value to validate\n * @param {required} Value required\n * @param {requiredIf} Value required if value at path not empty\n * @param {translationKey} Human readable display key for param in path e.g. metadata.name === Name\n * @param {type} Type of field to validate\n * @param {validators} array of strings where item is name of exported validator function in custom-validators, args can be passed by prepending args separated by colon. e.g maxLength:63\n */\n /* {\n nullable: false,\n path: 'spec.ports',\n required: true,\n type: 'array',\n validators: ['servicePort'],\n } */\n ];\n }\n\n get _key() {\n const m = this.metadata;\n\n if ( m ) {\n if ( m.uid ) {\n return m.uid;\n }\n\n if ( m.namespace ) {\n return `${ this.type }/${ m.namespace }/${ m.name }`;\n }\n }\n\n if ( this.id ) {\n return `${ this.type }/${ this.id }`;\n }\n\n return `${ this.type }/${ Math.random() }`;\n }\n\n get schema() {\n return this.$getters['schemaFor'](this.type);\n }\n\n toString() {\n return `[${ this.type }: ${ this.id }]`;\n }\n\n get typeDisplay() {\n const schema = this.schema;\n\n if ( schema ) {\n return this.$rootGetters['type-map/labelFor'](schema);\n }\n\n return '?';\n }\n\n get nameDisplay() {\n return this.displayName || this.spec?.displayName || this.metadata?.annotations?.[NORMAN_NAME] || this.name || this.metadata?.name || this.id;\n }\n\n get nameSort() {\n return sortableNumericSuffix(this.nameDisplay).toLowerCase();\n }\n\n get namespacedName() {\n const namespace = this.metadata?.namespace;\n const name = this.nameDisplay;\n\n if ( namespace ) {\n return `${ namespace }:${ name }`;\n }\n\n return name;\n }\n\n get namespacedNameSort() {\n return sortableNumericSuffix(this.namespacedName).toLowerCase();\n }\n\n get groupByLabel() {\n const name = this.metadata?.namespace;\n let out;\n\n if ( name ) {\n out = this.t('resourceTable.groupLabel.namespace', { name: escapeHtml(name) });\n } else {\n out = this.t('resourceTable.groupLabel.notInANamespace');\n }\n\n return out;\n }\n\n setLabels(/* val */) {\n throw new Error('Implement setLabels in subclass');\n }\n\n setLabel(/* key, val */) {\n throw new Error('Implement setLabel in subclass');\n }\n\n setAnnotations(val) {\n throw new Error('Implement setAnnotations in subclass');\n }\n\n setAnnotation(key, val) {\n throw new Error('Implement setAnnotation in subclass');\n }\n\n // You can override the displayed by providing your own stateDisplay (and possibly using the function exported above)\n get stateDisplay() {\n return stateDisplay(this.state);\n }\n\n get stateColor() {\n return colorForState.call(\n this,\n this.state,\n this.stateObj?.error,\n this.stateObj?.transitioning\n );\n }\n\n get stateBackground() {\n return this.stateColor.replace('text-', 'bg-');\n }\n\n get stateIcon() {\n let trans = false;\n let error = false;\n\n if ( this.metadata && this.metadata.state ) {\n trans = this.metadata.state.transitioning;\n error = this.metadata.state.error;\n }\n\n if ( trans ) {\n return 'icon icon-spinner icon-spin';\n }\n\n if ( error ) {\n return 'icon icon-error';\n }\n\n const key = (this.state || '').toLowerCase();\n let icon;\n\n if ( STATES[key] && STATES[key].icon ) {\n icon = maybeFn.call(this, STATES[key].icon);\n }\n\n if ( !icon ) {\n icon = DEFAULT_ICON;\n }\n\n return `icon icon-${ icon }`;\n }\n\n get stateSort() {\n return stateSort(this.stateColor, this.stateDisplay);\n }\n\n get stateDescription() {\n const trans = this.stateObj?.transitioning || false;\n const error = this.stateObj?.error || false;\n const message = this.stateObj?.message;\n\n return trans || error ? ucFirst(message) : '';\n }\n\n get stateObj() {\n return this.metadata?.state;\n }\n\n // ------------------------------------------------------------------\n\n waitForTestFn(fn, msg, timeoutMs, intervalMs) {\n return waitFor(() => fn.apply(this), msg, timeoutMs || DEFAULT_WAIT_TMIMEOUT, intervalMs || DEFAULT_WAIT_INTERVAL, true);\n }\n\n waitForState(state, timeout, interval) {\n return this.waitForTestFn(() => {\n return (this.state || '').toLowerCase() === state.toLowerCase();\n }, `state=${ state }`, timeout, interval);\n }\n\n waitForTransition() {\n return this.waitForTestFn(() => {\n return !this.transitioning;\n }, 'transition completion', undefined, undefined);\n }\n\n waitForAction(name) {\n return this.waitForTestFn(() => {\n return this.hasAction(name);\n }, `action=${ name }`, undefined, undefined);\n }\n\n waitForLink(name) {\n return this.waitForTestFn(() => {\n return this.hasLink(name);\n }, `link=${ name }`, undefined, undefined);\n }\n\n hasCondition(condition) {\n return this.isCondition(condition, null);\n }\n\n isCondition(condition, withStatus = 'True') {\n if ( !this.status || !this.status.conditions ) {\n return false;\n }\n\n const entry = findBy((this.status.conditions || []), 'type', condition);\n\n if ( !entry ) {\n return false;\n }\n\n if ( !withStatus ) {\n return true;\n }\n\n return (entry.status || '').toLowerCase() === `${ withStatus }`.toLowerCase();\n }\n\n waitForCondition(name, withStatus = 'True', timeoutMs = DEFAULT_WAIT_TMIMEOUT, intervalMs = DEFAULT_WAIT_INTERVAL) {\n return this.waitForTestFn(() => {\n return this.isCondition(name, withStatus);\n }, `condition ${ name }=${ withStatus }`, timeoutMs, intervalMs);\n }\n\n // ------------------------------------------------------------------\n\n get availableActions() {\n const all = this._availableActions;\n\n // Remove disabled items and consecutive dividers\n let last = null;\n const out = all.filter((item) => {\n if ( item.enabled === false ) {\n return false;\n }\n\n const cur = item.divider;\n const ok = !cur || (cur && !last);\n\n last = cur;\n\n return ok;\n });\n\n // Remove dividers at the beginning\n while ( out.length && out[0].divider ) {\n out.shift();\n }\n\n // Remove dividers at the end\n while ( out.length && out[out.length - 1].divider ) {\n out.pop();\n }\n\n // Remove consecutive dividers in the middle\n for ( let i = 1 ; i < out.length ; i++ ) {\n if ( out[i].divider && out[i - 1].divider ) {\n removeAt(out, i, 1);\n i--;\n }\n }\n\n return out;\n }\n\n // You can add custom actions by overriding your own availableActions (and probably reading super._availableActions)\n get _availableActions() {\n // get menu actions available by plugins configuration\n const currentRoute = this.currentRouter().app._route;\n const extensionMenuActions = getApplicableExtensionEnhancements(this.$rootState, ExtensionPoint.ACTION, ActionLocation.TABLE, currentRoute, this);\n\n const all = [\n { divider: true },\n {\n action: this.canUpdate ? 'goToEdit' : 'goToViewConfig',\n label: this.t(this.canUpdate ? 'action.edit' : 'action.view'),\n icon: 'icon icon-edit',\n enabled: this.canCustomEdit,\n },\n {\n action: this.canEditYaml ? 'goToEditYaml' : 'goToViewYaml',\n label: this.t(this.canEditYaml ? 'action.editYaml' : 'action.viewYaml'),\n icon: 'icon icon-file',\n enabled: this.canYaml,\n },\n {\n action: (this.canCustomEdit ? 'goToClone' : 'cloneYaml'),\n label: this.t('action.clone'),\n icon: 'icon icon-copy',\n enabled: this.canClone && this.canCreate && (this.canCustomEdit || this.canYaml),\n },\n { divider: true },\n {\n action: 'download',\n label: this.t('action.download'),\n icon: 'icon icon-download',\n bulkable: true,\n bulkAction: 'downloadBulk',\n enabled: this.canYaml,\n weight: -9,\n },\n {\n action: 'viewInApi',\n label: this.t('action.viewInApi'),\n icon: 'icon icon-external-link',\n enabled: this.canViewInApi,\n },\n {\n action: 'promptRemove',\n altAction: 'remove',\n label: this.t('action.remove'),\n icon: 'icon icon-trash',\n bulkable: true,\n enabled: this.canDelete,\n bulkAction: 'promptRemove',\n weight: -10, // Delete always goes last\n },\n ];\n\n // Extension actions get added to the end, so add a divider if there are any\n if (extensionMenuActions.length) {\n // Add a divider first\n all.push({ divider: true });\n\n extensionMenuActions.forEach((action) => {\n const newActionInstance = { ...action };\n\n const enabledFn = newActionInstance.enabled;\n const typeofEnabled = typeof enabledFn;\n\n switch (typeofEnabled) {\n case 'undefined':\n newActionInstance.enabled = true;\n break;\n case 'function':\n Object.defineProperty(newActionInstance, 'enabled', { get: () => enabledFn(this) });\n break;\n case 'boolean':\n // no op, just use it directly\n break;\n default:\n // unsupported value\n console.warn(`Unsupported 'enabled' property type for action: ${ action.label || action.labelKey }` ); // eslint-disable-line no-console\n delete newActionInstance.enabled;\n break;\n }\n\n all.push(newActionInstance);\n });\n }\n\n return all;\n }\n\n // ------------------------------------------------------------------\n\n get canDelete() {\n return this._canDelete;\n }\n\n get _canDelete() {\n return this.hasLink('remove') && this.$rootGetters['type-map/optionsFor'](this.type).isRemovable;\n }\n\n get canClone() {\n return true;\n }\n\n get canUpdate() {\n return this.hasLink('update') && this.$rootGetters['type-map/optionsFor'](this.type).isEditable;\n }\n\n get canCustomEdit() {\n return this.$rootGetters['type-map/hasCustomEdit'](this.type, this.id);\n }\n\n get canCreate() {\n if ( this.schema && !this.schema?.collectionMethods.find((x) => x.toLowerCase() === 'post') ) {\n return false;\n }\n\n return this.$rootGetters['type-map/optionsFor'](this.type).isCreatable;\n }\n\n get canViewInApi() {\n return this.hasLink('self') && this.$rootGetters['prefs/get'](VIEW_IN_API);\n }\n\n get canYaml() {\n return this.hasLink('view');\n }\n\n get canEditYaml() {\n return this.schema?.resourceMethods?.find((x) => x === 'blocked-PUT') ? false : this.canUpdate;\n }\n\n // ------------------------------------------------------------------\n\n hasLink(linkName) {\n return !!this.linkFor(linkName);\n }\n\n linkFor(linkName) {\n return (this.links || {})[linkName];\n }\n\n followLink(linkName, opt = {}) {\n if ( !opt.url ) {\n opt.url = (this.links || {})[linkName];\n }\n\n if ( opt.urlSuffix ) {\n opt.url += opt.urlSuffix;\n }\n\n if ( !opt.url ) {\n throw new Error(`Unknown link ${ linkName } on ${ this.type } ${ this.id }`);\n }\n\n return this.$dispatch('request', { opt, type: this.type } );\n }\n\n // ------------------------------------------------------------------\n\n hasAction(actionName) {\n return !!this.actionLinkFor(actionName);\n }\n\n actionLinkFor(actionName) {\n return (this.actions || this.actionLinks || {})[actionName];\n }\n\n doAction(actionName, body, opt = {}) {\n return this.$dispatch('resourceAction', {\n resource: this,\n actionName,\n body,\n opt,\n });\n }\n\n async doActionGrowl(actionName, body, opt = {}) {\n try {\n await this.$dispatch('resourceAction', {\n resource: this,\n actionName,\n body,\n opt,\n });\n } catch (err) {\n this.$dispatch('growl/fromError', {\n title: this.$rootGetters['i18n/t']('generic.notification.title.error'),\n err: err.data || err,\n }, { root: true });\n }\n }\n\n // ------------------------------------------------------------------\n\n patch(data, opt = {}, merge = false, alertOnError = false) {\n if ( !opt.url ) {\n // Workaround for the links not being correct - view link is the only one that seems correct\n opt.url = this.linkFor('view') || this.linkFor('self');\n }\n\n opt.method = 'patch';\n opt.headers = opt.headers || {};\n\n if (!opt.headers['content-type']) {\n const contentType = merge ? 'application/strategic-merge-patch+json' : 'application/json-patch+json';\n\n opt.headers['content-type'] = contentType;\n }\n opt.data = data;\n\n const dispatch = this.$dispatch('request', { opt, type: this.type } );\n\n return !alertOnError ? dispatch : dispatch.catch((e) => {\n const title = this.t('resource.errors.update', { name: this.name });\n\n console.error(title, e); // eslint-disable-line no-console\n\n this.$dispatch('growl/error', {\n title,\n message: e?.message,\n timeout: 5000\n }, { root: true });\n });\n }\n\n save() {\n return this._save(...arguments);\n }\n\n /**\n * Remove any unwanted properties from the object that will be saved\n */\n cleanForSave(data, forNew) {\n delete data.__rehydrate;\n delete data.__clone;\n\n return data;\n }\n\n /**\n * Allow to handle the response of the save request\n * @param {*} res Full request response\n */\n processSaveResponse(res) { }\n\n async _save(opt = {}) {\n const forNew = !this.id;\n\n const errors = await this.validationErrors(this, opt.ignoreFields);\n\n if (!isEmpty(errors)) {\n return Promise.reject(errors);\n }\n\n if ( this.metadata?.resourceVersion ) {\n this.metadata.resourceVersion = `${ this.metadata.resourceVersion }`;\n }\n\n if ( !opt.url ) {\n if ( forNew ) {\n const schema = this.$getters['schemaFor'](this.type);\n let url = schema.linkFor('collection');\n\n if ( schema.attributes && schema.attributes.namespaced && this.metadata && this.metadata.namespace ) {\n url += `/${ this.metadata.namespace }`;\n }\n\n opt.url = url;\n } else {\n opt.url = this.linkFor('update') || this.linkFor('self');\n }\n }\n\n if ( !opt.method ) {\n opt.method = ( forNew ? 'post' : 'put' );\n }\n\n if ( !opt.headers ) {\n opt.headers = {};\n }\n\n if ( !opt.headers['content-type'] ) {\n opt.headers['content-type'] = 'application/json';\n }\n\n if ( !opt.headers['accept'] ) {\n opt.headers['accept'] = 'application/json';\n }\n\n // @TODO remove this once the API maps steve _type <-> k8s type in both directions\n opt.data = this.toSave() || { ...this };\n\n if (opt.data._type) {\n opt.data.type = opt.data._type;\n }\n\n if (opt.data._name) {\n opt.data.name = opt.data._name;\n }\n\n if (opt.data._labels) {\n opt.data.labels = opt.data._labels;\n }\n\n if (opt.data._annotations) {\n opt.data.annotations = opt.data._annotations;\n }\n\n opt.data = this.cleanForSave(opt.data, forNew);\n\n // handle \"replace\" opt as a query param _replace=true for norman PUT requests\n if (opt?.replace && opt.method === 'put') {\n const argParam = opt.url.includes('?') ? '&' : '?';\n\n opt.url = `${ opt.url }${ argParam }_replace=true`;\n delete opt.replace;\n }\n\n try {\n const res = await this.$dispatch('request', { opt, type: this.type } );\n\n // Allow to process response independently from the related models\n this.processSaveResponse(res);\n\n // Steve sometimes returns Table responses instead of the resource you just saved.. ignore\n if ( res && res.kind !== 'Table') {\n await this.$dispatch('load', { data: res, existing: (forNew ? this : undefined ) });\n }\n } catch (e) {\n if ( this.type && this.id && e?._status === 409) {\n // If there's a conflict, try to load the new version\n await this.$dispatch('find', {\n type: this.type,\n id: this.id,\n opt: { force: true }\n });\n }\n\n return Promise.reject(e);\n }\n\n return this;\n }\n\n remove() {\n return this._remove(...arguments);\n }\n\n async _remove(opt = {}) {\n if ( !opt.url ) {\n opt.url = this.linkFor('self');\n }\n\n opt.method = 'delete';\n\n const res = await this.$dispatch('request', { opt, type: this.type } );\n\n if ( res?._status === 204 ) {\n // If there's no body, assume the resource was immediately deleted\n // and drop it from the store as if a remove event happened.\n await this.$dispatch('ws.resource.remove', { data: this });\n }\n }\n\n // ------------------------------------------------------------------\n\n currentRoute() {\n return window.$nuxt.$route;\n }\n\n currentRouter() {\n return window.$nuxt.$router;\n }\n\n get listLocation() {\n return {\n name: `c-cluster-product-resource`,\n params: {\n product: this.$rootGetters['productId'],\n cluster: this.$rootGetters['clusterId'],\n resource: this.type,\n }\n };\n }\n\n get _detailLocation() {\n const schema = this.$getters['schemaFor'](this.type);\n\n const id = this.id?.replace(/.*\\//, '');\n\n return {\n name: `c-cluster-product-resource${ schema?.attributes?.namespaced ? '-namespace' : '' }-id`,\n params: {\n product: this.$rootGetters['productId'],\n cluster: this.$rootGetters['clusterId'],\n resource: this.type,\n namespace: this.metadata?.namespace,\n id,\n }\n };\n }\n\n get detailLocation() {\n return this._detailLocation;\n }\n\n goToDetail() {\n this.currentRouter().push(this.detailLocation);\n }\n\n goToClone(moreQuery = {}) {\n const location = this.detailLocation;\n\n location.query = {\n ...location.query,\n [MODE]: _CLONE,\n [AS]: _UNFLAG,\n ...moreQuery\n };\n\n this.currentRouter().push(location);\n }\n\n goToEdit(moreQuery = {}) {\n const location = this.detailLocation;\n\n location.query = {\n ...location.query,\n [MODE]: _EDIT,\n [AS]: _UNFLAG,\n ...moreQuery\n };\n\n this.currentRouter().push(location);\n }\n\n goToViewConfig(moreQuery = {}) {\n const location = this.detailLocation;\n\n location.query = {\n ...location.query,\n [MODE]: _VIEW,\n [AS]: _CONFIG,\n ...moreQuery\n };\n\n this.currentRouter().push(location);\n }\n\n goToEditYaml() {\n const location = this.detailLocation;\n\n location.query = {\n ...location.query,\n [MODE]: _EDIT,\n [AS]: _YAML\n };\n\n this.currentRouter().push(location);\n }\n\n goToViewYaml() {\n const location = this.detailLocation;\n\n location.query = {\n ...location.query,\n [MODE]: _VIEW,\n [AS]: _YAML\n };\n\n this.currentRouter().push(location);\n }\n\n cloneYaml(moreQuery = {}) {\n const location = this.detailLocation;\n\n location.query = {\n ...location.query,\n [MODE]: _CLONE,\n [AS]: _YAML,\n ...moreQuery\n };\n\n this.currentRouter().push(location);\n }\n\n async download() {\n const value = await this.followLink('view', { headers: { accept: 'application/yaml' } });\n const data = await this.cleanForDownload(value.data);\n\n downloadFile(`${ this.nameDisplay }.yaml`, data, 'application/yaml');\n }\n\n async downloadBulk(items) {\n const files = {};\n const names = [];\n\n for ( const item of items ) {\n let name = `${ item.nameDisplay }.yaml`;\n let i = 2;\n\n while ( names.includes(name) ) {\n name = `${ item.nameDisplay }_${ i++ }.yaml`;\n }\n\n names.push(name);\n }\n\n await eachLimit(items, 10, (item, idx) => {\n return item.followLink('view', { headers: { accept: 'application/yaml' } } ).then(async(data) => {\n const yaml = data.data || data;\n const cleanedYaml = await this.cleanForDownload(yaml);\n\n files[`resources/${ names[idx] }`] = cleanedYaml;\n });\n });\n\n const zip = await generateZip(files);\n\n downloadFile('resources.zip', zip, 'application/zip');\n }\n\n viewInApi() {\n window.open(this.links.self, '_blank');\n }\n\n promptRemove(resources) {\n if ( !resources ) {\n resources = this;\n }\n\n this.$dispatch('promptRemove', resources);\n }\n\n get confirmRemove() {\n return false;\n }\n\n applyDefaults() {\n }\n\n get urlFromAttrs() {\n const schema = this.$getters['schemaFor'](this.type);\n const { metadata:{ namespace = 'default' } } = this;\n let url = schema.links.collection;\n\n const attributes = schema?.attributes;\n\n if (!attributes) {\n throw new Error('Attributes must be present on the schema');\n }\n const { group, resource } = attributes;\n\n url = `${ url.slice(0, url.indexOf('/v1')) }/apis/${ group }/namespaces/${ namespace }/${ resource }`;\n\n return url;\n }\n\n // convert yaml to object, clean for new if creating/cloning\n // map _type to type\n cleanYaml(yaml, mode = 'edit') {\n try {\n const obj = jsyaml.load(yaml);\n\n if (mode !== 'edit') {\n this.$dispatch(`cleanForNew`, obj);\n }\n\n if (obj._type) {\n obj.type = obj._type;\n delete obj._type;\n }\n const out = jsyaml.dump(obj, { skipInvalid: true });\n\n return out;\n } catch (e) {\n return null;\n }\n }\n\n cleanForNew() {\n this.$dispatch(`cleanForNew`, this);\n }\n\n cleanForDiff() {\n this.$dispatch(`cleanForDiff`, this.toJSON());\n }\n\n async cleanForDownload(yaml) {\n return this.$dispatch(`cleanForDownload`, yaml);\n }\n\n yamlForSave(yaml) {\n try {\n const obj = jsyaml.load(yaml);\n\n if (obj) {\n if (this._type) {\n obj._type = obj.type;\n }\n\n return jsyaml.dump(obj);\n }\n } catch (e) {\n return null;\n }\n }\n\n async saveYaml(yaml) {\n await this._saveYaml(yaml);\n }\n\n async _saveYaml(yaml) {\n /* Multipart support, but need to know the right cluster and work for management store\n and \"apply\" seems to only work for create, not update.\n\n const ary = jsyaml.loadAll(yaml); // will throw on invalid yaml, and return one or more documents (usually one)\n\n if ( ary.length > 1 ) {\n await this.$rootGetters['currentCluster'].doAction('apply', {\n yaml,\n defaultNamespace: this.metadata.namespace,\n });\n }\n\n const parsed = ary[0];\n */\n\n const parsed = jsyaml.load(yaml); // will throw on invalid yaml, and return one or more documents (usually one)\n\n if ( this.schema?.attributes?.namespaced && !parsed.metadata.namespace ) {\n const err = this.$rootGetters['i18n/t']('resourceYaml.errors.namespaceRequired');\n\n throw err;\n }\n\n let res;\n const isCreate = !this.id;\n const headers = {\n 'content-type': 'application/yaml',\n accept: 'application/json',\n };\n\n if ( isCreate ) {\n res = await this.schema.followLink('collection', {\n method: 'POST',\n headers,\n data: yaml\n });\n } else {\n res = await this.followLink('update', {\n method: 'PUT',\n headers,\n data: yaml\n });\n }\n\n await this.$dispatch(`load`, {\n data: res,\n existing: (isCreate ? this : undefined)\n });\n\n if (this.isSpoofed) {\n await this.$dispatch('cluster/findAll', { type: this.type, opt: { force: true } }, { root: true });\n }\n }\n\n get modelValidationRules() {\n const rules = [];\n\n const customValidationRulesets = this?.customValidationRules\n .filter((rule) => !!rule.validators || !!rule.required)\n .map((rule) => {\n const formRules = formRulesGenerator(this.t, { displayKey: rule?.translationKey ? this.t(rule.translationKey) : 'Value' });\n\n return {\n path: rule.path,\n rules: [\n ...(rule.validators || []),\n ...rule.required ? ['required'] : [],\n ...['dnsLabel', 'dnsLabelRestricted', 'hostname'].includes(rule.type) ? [rule.type] : []\n ]\n .map((rule) => {\n if (rule.includes(':')) {\n const [ruleKey, ruleArg] = rule.split(':');\n\n return formRules[ruleKey](ruleArg);\n }\n\n return formRules[rule];\n }\n )\n .filter((rule) => !!rule)\n };\n })\n .filter((ruleset) => ruleset.rules.length > 0);\n\n rules.push(...customValidationRulesets);\n\n return rules;\n }\n\n customValidationErrors(data, ignorePaths = []) {\n const errors = [];\n\n let { customValidationRules } = this;\n\n if (!isEmpty(customValidationRules)) {\n if (isFunction(customValidationRules)) {\n customValidationRules = customValidationRules();\n }\n\n customValidationRules.filter((rule) => !ignorePaths.includes(rule.path)).forEach((rule) => {\n const {\n path,\n requiredIf: requiredIfPath,\n validators = [],\n type: fieldType,\n } = rule;\n let pathValue = get(data, path);\n\n const parsedRules = compact((validators || []));\n let displayKey = path;\n\n if (rule.translationKey && this.$rootGetters['i18n/exists'](rule.translationKey)) {\n displayKey = this.t(rule.translationKey);\n }\n\n if (isString(pathValue)) {\n pathValue = pathValue.trim();\n }\n if (requiredIfPath) {\n const reqIfVal = get(data, requiredIfPath);\n\n if (!isEmpty(reqIfVal) && (isEmpty(pathValue) && pathValue !== 0)) {\n errors.push(this.t('validation.required', { key: displayKey }));\n }\n }\n\n validateLength(pathValue, rule, displayKey, this.$rootGetters, errors);\n validateChars(pathValue, rule, displayKey, this.$rootGetters, errors);\n\n if ( !isEmpty(pathValue) && DNS_LIKE_TYPES.includes(fieldType) ) {\n // DNS types should be lowercase\n const tolower = (pathValue || '').toLowerCase();\n\n if ( tolower !== pathValue ) {\n pathValue = tolower;\n\n Vue.set(data, path, pathValue);\n }\n\n errors.push(...validateDnsLikeTypes(pathValue, fieldType, displayKey, this.$rootGetters, errors));\n }\n\n parsedRules.forEach((validator) => {\n const validatorAndArgs = validator.split(':');\n const validatorName = validatorAndArgs.slice(0, 1);\n const validatorArgs = validatorAndArgs.slice(1) || null;\n const validatorExists = Object.prototype.hasOwnProperty.call(CustomValidators, validatorName);\n\n if (!isEmpty(validatorName) && validatorExists) {\n CustomValidators[validatorName](pathValue, this.$rootGetters, errors, validatorArgs, displayKey, data);\n } else if (!isEmpty(validatorName) && !validatorExists) {\n // Check if validator is imported from plugin\n const pluginValidator = this.$rootState.$plugin?.getValidator(validatorName);\n\n if (pluginValidator) {\n pluginValidator(pathValue, this.$rootGetters, errors, validatorArgs, displayKey, data);\n } else {\n // eslint-disable-next-line\n console.warn(this.t('validation.custom.missing', { validatorName }));\n }\n }\n });\n });\n }\n\n return errors;\n }\n\n validationErrors(data = this, ignoreFields) {\n const errors = [];\n const {\n type: originalType,\n schema\n } = data;\n const type = normalizeType(originalType);\n\n if ( !originalType ) {\n // eslint-disable-next-line\n console.warn(this.t('validation.noType'), data);\n\n return errors;\n }\n\n if ( !schema ) {\n // eslint-disable-next-line\n // console.warn(this.t('validation.noSchema'), originalType, data);\n\n return errors;\n }\n\n const fields = schema.resourceFields || {};\n const keys = Object.keys(fields);\n let field, key, val, displayKey;\n\n for ( let i = 0 ; i < keys.length ; i++ ) {\n const fieldErrors = [];\n\n key = keys[i];\n field = fields[key];\n val = get(data, key);\n displayKey = displayKeyFor(type, key, this.$rootGetters);\n\n const fieldType = field?.type ? normalizeType(field.type) : null;\n const valIsString = isString(val);\n\n if ( ignoreFields && ignoreFields.includes(key) ) {\n continue;\n }\n\n if ( val === undefined ) {\n val = null;\n }\n\n if (valIsString) {\n if (fieldType) {\n Vue.set(data, key, coerceStringTypeToScalarType(val, fieldType));\n }\n\n // Empty strings on nullable string fields -> null\n if ( field.nullable && val.length === 0 && STRING_LIKE_TYPES.includes(fieldType)) {\n val = null;\n\n Vue.set(data, key, val);\n }\n }\n if (fieldType === 'boolean') {\n validateBoolean(val, field, displayKey, this.$rootGetters, fieldErrors);\n } else {\n validateLength(val, field, displayKey, this.$rootGetters, fieldErrors);\n validateChars(val, field, displayKey, this.$rootGetters, fieldErrors);\n }\n\n if (fieldErrors.length > 0) {\n fieldErrors.push(this.t('validation.required', { key: displayKey }));\n errors.push(...fieldErrors);\n continue;\n }\n\n // IDs claim to be these but are lies...\n if ( key !== 'id' && !isEmpty(val) && DNS_LIKE_TYPES.includes(fieldType) ) {\n // DNS types should be lowercase\n const tolower = (val || '').toLowerCase();\n\n if ( tolower !== val ) {\n val = tolower;\n\n Vue.set(data, key, val);\n }\n\n fieldErrors.push(...validateDnsLikeTypes(val, fieldType, displayKey, this.$rootGetters, fieldErrors));\n }\n errors.push(...fieldErrors);\n }\n\n return uniq([...errors, ...this.customValidationErrors(data)]);\n }\n\n get ownersByType() {\n const ownerReferences = this.metadata?.ownerReferences || [];\n const ownersByType = {};\n\n ownerReferences.forEach((owner) => {\n if (!ownersByType[owner.kind]) {\n ownersByType[owner.kind] = [owner];\n } else {\n ownersByType[owner.kind].push(owner);\n }\n });\n\n return ownersByType;\n }\n\n get owners() {\n const owners = [];\n\n for ( const kind in this.ownersByType) {\n const schema = this.$rootGetters['cluster/schema'](kind);\n\n if (schema) {\n const type = schema.id;\n const allOfResourceType = this.$rootGetters['cluster/all']( type );\n\n this.ownersByType[kind].forEach((resource, idx) => {\n const resourceInstance = allOfResourceType.find((resourceByType) => resourceByType?.metadata?.uid === resource.uid);\n\n if (resourceInstance) {\n owners.push(resourceInstance);\n }\n });\n }\n }\n\n return owners;\n }\n\n get details() {\n return this._details;\n }\n\n get _details() {\n const details = [];\n\n if (this.owners?.length > 0) {\n details.push({\n label: this.t('resourceDetail.detailTop.ownerReferences', { count: this.owners.length }),\n formatter: 'ListLinkDetail',\n content: this.owners.map((owner) => ({\n key: owner.id,\n row: owner,\n col: {},\n value: owner.metadata.name\n }))\n });\n }\n\n if (get(this, 'metadata.deletionTimestamp')) {\n details.push({\n label: this.t('resourceDetail.detailTop.deleted'),\n formatter: 'LiveDate',\n formatterOpts: { addSuffix: true },\n content: get(this, 'metadata.deletionTimestamp')\n });\n }\n\n return details;\n }\n\n get t() {\n return this.$rootGetters['i18n/t'];\n }\n\n // Returns array of MODELS that own this resource (async, network call)\n findOwners() {\n return this._getRelationship('owner', 'from');\n }\n\n // Returns array of {type, namespace, id} objects that own this resource (sync)\n getOwners() {\n return this._getRelationship('owner', 'from');\n }\n\n findOwned() {\n return this._findRelationship('owner', 'to');\n }\n\n _relationshipsFor(rel, direction) {\n const out = { selectors: [], ids: [] };\n\n if ( !this.metadata?.relationships?.length ) {\n return out;\n }\n\n for ( const r of this.metadata.relationships ) {\n if ( rel !== 'any' && r.rel !== rel ) {\n continue;\n }\n\n if ( !r[`${ direction }Type`] ) {\n continue;\n }\n\n if ( r.selector ) {\n addObjects(out.selectors, {\n type: r.toType,\n namespace: r.toNamespace,\n selector: r.selector\n });\n } else {\n const type = r[`${ direction }Type`];\n let namespace = r[`${ direction }Namespace`];\n let name = r[`${ direction }Id`];\n\n if ( !namespace && name.includes('/') ) {\n const idx = name.indexOf('/');\n\n namespace = name.substr(0, idx);\n name = name.substr(idx + 1);\n }\n\n const id = (namespace ? `${ namespace }/` : '') + name;\n\n addObject(out.ids, {\n type,\n namespace,\n name,\n id,\n });\n }\n }\n\n return out;\n }\n\n _getRelationship(rel, direction) {\n const res = this._relationshipsFor(rel, direction);\n\n if ( res.selectors?.length ) {\n // eslint-disable-next-line no-console\n console.warn('Sync request for a relationship that is a selector');\n }\n\n return res.ids || [];\n }\n\n async _findRelationship(rel, direction) {\n const { selectors, ids } = this._relationshipsFor(rel, direction);\n const out = [];\n\n for ( const sel of selectors ) {\n const matching = await this.$dispatch('findMatching', sel);\n\n addObjects(out, matching.data);\n }\n\n for ( const obj of ids ) {\n const { type, id } = obj;\n let matching = this.$getters['byId'](type, id);\n\n if ( !matching ) {\n try {\n matching = await this.$dispatch('find', { type, id });\n } catch {\n }\n }\n if (matching) {\n addObject(out, matching);\n }\n }\n\n return out;\n }\n\n get shortId() {\n const splitId = this.id.split('/');\n\n return splitId.length > 1 ? splitId[1] : splitId[0];\n }\n\n toJSON() {\n const out = {};\n const keys = Object.keys(this);\n\n for ( const k of keys ) {\n if ( this[k]?.toJSON ) {\n out[k] = this[k].toJSON();\n } else {\n out[k] = clone(this[k]);\n }\n }\n\n return out;\n }\n\n /**\n * Allow models to override the object that is sent when saving this resource\n */\n toSave() {\n return undefined;\n }\n\n get creationTimestamp() {\n return this.metadata?.creationTimestamp;\n }\n\n /**\n * Allows model to specify JSON Paths that should be folded in the YAML editor by default\n */\n get yamlFolding() {\n return [];\n }\n}\n","import { ANNOTATIONS_TO_IGNORE_REGEX, LABELS_TO_IGNORE_REGEX } from '@shell/config/labels-annotations';\nimport omitBy from 'lodash/omitBy';\nimport pickBy from 'lodash/pickBy';\nimport Vue from 'vue';\nimport { matchesSomeRegex } from '@shell/utils/string';\nimport Resource from '@shell/plugins/dashboard-store/resource-class';\n\n// these are defined elsewhere in Steve models and will cause the error \"Cannot set property of [object Object] which has only a getter\" if defined at top-level\nexport function cleanHybridResources(data) {\n const potentialNormanHoldovers = ['state', 'name', 'description', 'labels', 'annotations'];\n\n potentialNormanHoldovers.forEach((key) => delete data[key]);\n\n return data;\n}\n\nexport default class HybridModel extends Resource {\n constructor(data, ctx, rehydrateNamespace = null, setClone = false) {\n const cleanedData = cleanHybridResources(data);\n\n super(cleanedData, ctx, rehydrateNamespace, setClone);\n }\n\n get labels() {\n const all = this.metadata?.labels || {};\n\n return omitBy(all, (value, key) => {\n return matchesSomeRegex(key, LABELS_TO_IGNORE_REGEX);\n });\n }\n\n setLabels(val) {\n if ( !this.metadata ) {\n this.metadata = {};\n }\n\n const all = this.metadata.labels || {};\n const wasIgnored = pickBy(all, (value, key) => {\n return matchesSomeRegex(key, LABELS_TO_IGNORE_REGEX);\n });\n\n Vue.set(this.metadata, 'labels', { ...wasIgnored, ...val });\n }\n\n setLabel(key, val) {\n if ( val ) {\n if ( !this.metadata ) {\n this.metadata = {};\n }\n\n if ( !this.metadata.labels ) {\n this.metadata.labels = {};\n }\n\n Vue.set(this.metadata.labels, key, val);\n } else if ( this.metadata?.labels ) {\n Vue.set(this.metadata.labels, key, undefined);\n delete this.metadata.labels[key];\n }\n }\n\n get annotations() {\n const all = this.metadata?.annotations || {};\n\n return omitBy(all, (value, key) => {\n return matchesSomeRegex(key, ANNOTATIONS_TO_IGNORE_REGEX);\n });\n }\n\n setAnnotations(val) {\n if ( !this.metadata ) {\n this.metadata = {};\n }\n\n const all = this.metadata.annotations || {};\n const wasIgnored = pickBy(all, (value, key) => {\n return matchesSomeRegex(key, ANNOTATIONS_TO_IGNORE_REGEX);\n });\n\n Vue.set(this.metadata, 'annotations', { ...wasIgnored, ...val });\n }\n\n setAnnotation(key, val) {\n if ( val ) {\n if ( !this.metadata ) {\n this.metadata = {};\n }\n\n if ( !this.metadata.annotations ) {\n this.metadata.annotations = {};\n }\n\n Vue.set(this.metadata.annotations, key, val);\n } else if ( this.metadata?.annotations ) {\n Vue.set(this.metadata.annotations, key, undefined);\n delete this.metadata.annotations[key];\n }\n }\n\n get state() {\n return this.stateObj?.name || 'unknown';\n }\n}\n","import { DESCRIPTION } from '@shell/config/labels-annotations';\nimport HybridModel from './hybrid-class';\nimport { NEVER_ADD } from '@shell/utils/create-yaml';\nimport { deleteProperty } from '@shell/utils/object';\n\n// Some fields that are removed for YAML (NEVER_ADD) are required via API\nconst STEVE_ADD = [\n 'metadata.resourceVersion',\n 'metadata.fields',\n 'metadata.clusterName',\n 'metadata.deletionGracePeriodSeconds',\n 'metadata.generateName',\n];\nconst STEVE_NEVER_SAVE = NEVER_ADD.filter((na) => !STEVE_ADD.includes(na));\n\nexport default class SteveModel extends HybridModel {\n get name() {\n return this.metadata?.name || this._name;\n }\n\n get namespace() {\n return this.metadata?.namespace;\n }\n\n get description() {\n return this.metadata?.annotations?.[DESCRIPTION] || this.spec?.description || this._description;\n }\n\n /**\n * Set description based on the type of model available with private fallback\n */\n set description(value) {\n if (this.metadata?.annotations) {\n this.metadata.annotations[DESCRIPTION] = value;\n }\n\n if (this.spec) {\n this.spec.description = value;\n }\n\n this._description = value;\n }\n\n cleanForSave(data, forNew) {\n const val = super.cleanForSave(data);\n\n for (const field of STEVE_NEVER_SAVE) {\n deleteProperty(val, field);\n }\n\n return val;\n }\n}\n","export { default as Banner } from './Banner.vue';\n","var baseFor = require('./_baseFor'),\n castFunction = require('./_castFunction'),\n keysIn = require('./keysIn');\n\n/**\n * Iterates over own and inherited enumerable string keyed properties of an\n * object and invokes `iteratee` for each property. The iteratee is invoked\n * with three arguments: (value, key, object). Iteratee functions may exit\n * iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forInRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forIn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).\n */\nfunction forIn(object, iteratee) {\n return object == null\n ? object\n : baseFor(object, castFunction(iteratee), keysIn);\n}\n\nmodule.exports = forIn;\n","var SetCache = require('./_SetCache'),\n arraySome = require('./_arraySome'),\n cacheHas = require('./_cacheHas');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalArrays;\n","var Stack = require('./_Stack'),\n baseIsEqual = require('./_baseIsEqual');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\nfunction baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\n}\n\nmodule.exports = baseIsMatch;\n","import SteveModel from '@shell/plugins/steve/steve-class';\nimport { CAPI } from '@shell/config/types';\nimport { BLANK_CLUSTER, QUERY_PARAMS } from '../types/capi';\n\nexport default class ClusterClass extends SteveModel {\n get _availableActions() {\n const out = super._availableActions;\n\n out.unshift({\n action: 'goToCreateCluster',\n label: this.t('action.createCluster'),\n icon: 'icon icon-plus',\n enabled: true\n });\n\n return out;\n }\n\n goToCreateCluster() {\n const escapedID = escape(this.id);\n const location = {\n name: 'c-cluster-product-resource-create',\n params: {\n cluster: BLANK_CLUSTER,\n product: 'manager',\n resource: CAPI.CAPI_CLUSTER\n },\n query: { [QUERY_PARAMS.CLASS]: escapedID }\n };\n\n this.currentRouter().push(location);\n }\n}\n","export type GC_PREFERENCES = {\n enabled: boolean,\n enabledInterval: boolean,\n interval: number,\n enabledOnNavigate: boolean,\n ageThreshold: number,\n countThreshold: number\n}\n\nexport const GC_DEFAULTS: GC_PREFERENCES = {\n enabled: false,\n\n // When GC Runs\n enabledInterval: true,\n interval: 1 * 60 * 5,\n enabledOnNavigate: true,\n\n // How GC handles resources when GC'ing\n ageThreshold: 1 * 60 * 2,\n countThreshold: 500,\n};\n","/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\nmodule.exports = mapToArray;\n","module.exports = function(module) {\n\tif (!module.webpackPolyfill) {\n\t\tmodule.deprecate = function() {};\n\t\tmodule.paths = [];\n\t\t// module.parent = undefined by default\n\t\tif (!module.children) module.children = [];\n\t\tObject.defineProperty(module, \"loaded\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.l;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"id\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.i;\n\t\t\t}\n\t\t});\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n};\n","var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignMergeValue;\n","// style-loader: Adds some css to the DOM by adding a \n","import mod from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./management.cattle.io.globalrole.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./management.cattle.io.globalrole.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./management.cattle.io.globalrole.vue?vue&type=template&id=effd72b0&scoped=true&\"\nimport script from \"./management.cattle.io.globalrole.vue?vue&type=script&lang=js&\"\nexport * from \"./management.cattle.io.globalrole.vue?vue&type=script&lang=js&\"\nimport style0 from \"./management.cattle.io.globalrole.vue?vue&type=style&index=0&id=effd72b0&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"effd72b0\",\n null\n \n)\n\nexport default component.exports","/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nmodule.exports = constant;\n","export * from \"-!../../../vue-style-loader/index.js??ref--10-oneOf-1-0!../../../@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../sass-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ActionDropdown.vue?vue&type=style&index=0&id=70f0de36&prod&lang=scss&\"","var getMapData = require('./_getMapData');\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n","var getMapData = require('./_getMapData');\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".table-options-group .table-options-btn.role-multi-action[data-v-36bf3081]{background-color:transparent;border:none;font-size:18px}.table-options-group .table-options-btn.role-multi-action[data-v-36bf3081]:focus,.table-options-group .table-options-btn.role-multi-action[data-v-36bf3081]:hover{background-color:var(--accent-btn);box-shadow:none}.table-options-group .table-options-container[data-v-36bf3081]{width:350px;border:1px solid var(--primary);background-color:var(--body-bg);padding:20px;z-index:1}.table-options-group .table-options-container .table-options-grouping[data-v-36bf3081]{display:flex;align-items:center;margin-bottom:20px}.table-options-group .table-options-container .table-options-grouping span[data-v-36bf3081]{white-space:nowrap;margin-right:10px}.table-options-group .table-options-container ul[data-v-36bf3081]{list-style:none;margin:0;padding:0;max-height:200px;overflow-y:auto}.table-options-group .table-options-container ul li[data-v-36bf3081]{margin:0;padding:0}.table-options-group .table-options-container ul li.visible[data-v-36bf3081]{margin:0 0 10px 0}.sortable>SPAN[data-v-36bf3081]{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.sortable>SPAN[data-v-36bf3081]:active,.sortable>SPAN[data-v-36bf3081]:hover{text-decoration:underline;color:var(--body-text)}thead tr[data-v-36bf3081]{background-color:var(--sortable-table-header-bg);color:var(--body-text);text-align:left}thead tr[data-v-36bf3081]:not(.loading){border-bottom:1px solid var(--sortable-table-top-divider)}th[data-v-36bf3081]{padding:8px 5px;font-weight:400;border:0;color:var(--body-text)}th .table-header-container[data-v-36bf3081]{display:inherit}th .table-header-container>span[data-v-36bf3081]{display:flex;align-items:center}th .table-header-container.not-filterable[data-v-36bf3081],th .table-header-container.not-filterable .icon-stack[data-v-36bf3081]{margin-top:-2px}th .table-header-container .not-filter-icon[data-v-36bf3081]{font-size:16px;color:var(--primary);vertical-align:super}th[data-v-36bf3081]:first-child{padding-left:10px}th[data-v-36bf3081]:last-child{padding-right:10px}th:not(.sortable)>SPAN[data-v-36bf3081]{display:block;margin-bottom:2px}th A[data-v-36bf3081]{color:var(--body-text)}@media only screen and (max-width:480px){th.desktop[data-v-36bf3081],th.laptop[data-v-36bf3081],th.tablet[data-v-36bf3081]{display:none}}@media only screen and (max-width:992px){th.desktop[data-v-36bf3081],th.laptop[data-v-36bf3081]{display:none}}@media only screen and (max-width:1281px){th.desktop[data-v-36bf3081]{display:none}}.icon-stack[data-v-36bf3081]{width:12px}.icon-sort.faded[data-v-36bf3081]{opacity:.3}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".filter-select .vs__selected-options .vs__selected{text-align:left}.sortable-table{border-collapse:collapse;min-width:400px;border-radius:5px 5px 0 0;outline:1px solid var(--border);overflow:hidden;background:var(--sortable-table-bg);border-radius:4px}.sortable-table.overflow-x{overflow-x:visible}.sortable-table.overflow-y{overflow-y:visible}.sortable-table td{padding:8px 5px;border:0}.sortable-table td:first-child{padding-left:10px}.sortable-table td:last-child{padding-right:10px}.sortable-table td.row-check{padding-top:12px}.sortable-table tbody tr{border-bottom:1px solid var(--sortable-table-top-divider);background-color:var(--sortable-table-row-bg)}.sortable-table tbody tr.main-row.has-sub-row{border-bottom:0}.sortable-table tbody tr.main-row:not(.row-selected):hover+.sub-row{background-color:var(--sortable-table-hover-bg)}.sortable-table tbody tr:last-of-type{border-bottom:0}.sortable-table tbody tr.sub-row-hovered,.sortable-table tbody tr:hover{background-color:var(--sortable-table-hover-bg)}.sortable-table tbody tr.state-description>td{font-size:13px;padding-top:0;overflow-wrap:anywhere}.sortable-table tbody tr.active-row{color:var(--sortable-table-header-bg)}.sortable-table tbody tr.row-selected{background:var(--sortable-table-selected-bg)}.sortable-table tbody .no-rows td{padding:30px 0;text-align:center}.sortable-table tbody .no-results:hover,.sortable-table tbody .no-rows:hover{background-color:var(--body-bg)}.sortable-table tbody.group:before{content:\\\"\\\";display:block;height:20px;background-color:transparent}.sortable-table tbody tr.group-row{background-color:initial}.sortable-table tbody tr.group-row:first-child{border-bottom:2px solid var(--sortable-table-row-bg)}.sortable-table tbody tr.group-row:not(:first-child){margin-top:20px}.sortable-table tbody tr.group-row td{padding:0}.sortable-table tbody tr.group-row td:first-of-type{border-left:1px solid var(--sortable-table-accent-bg)}.sortable-table tbody tr.group-row .group-tab{height:40px;line-height:40px;padding:0 10px;border-radius:4px 4px 0 0;background-color:var(--sortable-table-row-bg);position:relative;top:1px;display:inline-block;z-index:10;min-width:72px}.sortable-table tbody tr.group-row .group-tab:after,.sortable-table tbody tr.group-row .group-tab:before{content:\\\" \\\";display:table}.sortable-table tbody tr.group-row .group-tab:after{clear:both}.sortable-table tbody tr.group-row .group-tab>SPAN{color:var(--sortable-table-group-label)}.sortable-table tbody tr.group-row .group-tab:after{height:40px;width:70px;border-radius:5px 5px 0 0;background-color:var(--sortable-table-row-bg);content:\\\"\\\";position:absolute;right:-15px;top:0;transform:skewX(40deg);z-index:-1}.for-inputs TABLE.sortable-table{width:100%;border-collapse:collapse;margin-bottom:10px}.for-inputs TABLE.sortable-table>TBODY>TR>TD,.for-inputs TABLE.sortable-table>THEAD>TR>TH{padding-right:10px;padding-bottom:10px}.for-inputs TABLE.sortable-table>TBODY>TR>TD:last-of-type,.for-inputs TABLE.sortable-table>THEAD>TR>TH:last-of-type{padding-right:0}.for-inputs TABLE.sortable-table>TBODY>TR:first-of-type>TD{padding-top:10px}.for-inputs TABLE.sortable-table>TBODY>TR:last-of-type>TD{padding-bottom:0}.for-inputs.clone TABLE.sortable-table>THEAD>TR>TH,.for-inputs.create TABLE.sortable-table>THEAD>TR>TH,.for-inputs.edit TABLE.sortable-table>THEAD>TR>TH{border-color:transparent}.sortable-table-header{position:relative;z-index:11}.sortable-table-header.titled{display:flex;align-items:center}.fixed-header-actions.button{grid-template-columns:[bulk] auto [middle] min-content [search] minmax(min-content,350px)}.fixed-header-actions{padding:0 0 20px 0;width:100%;z-index:11;background:transparent;display:grid;grid-template-columns:[bulk] auto [middle] min-content [search] minmax(min-content,200px);grid-column-gap:10px}.fixed-header-actions.advanced-filtering{grid-template-columns:[bulk] auto [middle] minmax(min-content,auto) [search] minmax(min-content,auto)}.fixed-header-actions .bulk{grid-area:bulk}.fixed-header-actions .bulk>BUTTON{display:none}.fixed-header-actions .bulk>BUTTON:not(:last-of-type){margin-right:10px}.fixed-header-actions .bulk .action-availability{display:none;margin-left:10px;vertical-align:middle;margin-top:2px}.fixed-header-actions .bulk .dropdown-button li.disabled{color:var(--disabled-text);cursor:not-allowed}.fixed-header-actions .bulk .dropdown-button li.disabled:hover{color:var(--disabled-text);background-color:unset;cursor:not-allowed}.fixed-header-actions .bulk .bulk-action .icon{vertical-align:-10%}.fixed-header-actions .middle{grid-area:middle;white-space:nowrap}.fixed-header-actions .middle .icon.icon-backup.animate{animation-name:spin;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.fixed-header-actions .search{grid-area:search;text-align:right;justify-content:flex-end}.fixed-header-actions .bulk-actions-dropdown{display:none}.fixed-header-actions .bulk-actions-dropdown .dropdown-button{background-color:var(--primary)}.fixed-header-actions .bulk-actions-dropdown .dropdown-button:hover{background-color:var(--primary-hover-bg);color:var(--primary-hover-text)}.fixed-header-actions .bulk-actions-dropdown .dropdown-button .icon-chevron-down,.fixed-header-actions .bulk-actions-dropdown .dropdown-button>*{color:var(--primary-text)}.fixed-header-actions .bulk-actions-dropdown .dropdown-button .button-divider{border-color:var(--primary-text)}.fixed-header-actions .bulk-actions-dropdown .dropdown-button.disabled{border-color:var(--disabled-bg)}.fixed-header-actions .bulk-actions-dropdown .dropdown-button.disabled .icon-chevron-down{color:var(--disabled-text)!important}.fixed-header-actions .bulk-actions-dropdown .dropdown-button.disabled .button-divider{border-color:var(--disabled-text)}.paging{margin-top:10px;text-align:center}.paging SPAN{display:inline-block;min-width:200px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export const CAPI_PRODUCT_NAME = 'capi-turtles';\n\nexport const QUERY_PARAMS = { CLASS: 'class' };\n\nexport const BLANK_CLUSTER = '_';\n\nexport const LABELS = { AUTO_IMPORT: 'cluster-api.cattle.io/rancher-auto-import' };\n\nexport const RANCHER_TURTLES_SYSTEM_NAMESPACE = 'capi-system';\nexport const RANCHER_TURTLES_SYSTEM_NAME = 'capi-env-variables';\n\nexport const CAPI = {\n CLUSTER_CLASS: 'cluster.x-k8s.io.clusterclass',\n PROVIDER: 'turtles-capi.cattle.io.capiprovider',\n};\n\nexport const CP_VERSIONS = {\n 'kubekey-k3s': ['k3s1', 'k3s2'],\n rke2: ['rke2r1', 'rke2r2']\n};\n\nexport const CREDENTIALS_UPDATE_REQUIRED = ['aks'];\nexport const CREDENTIALS_NOT_REQUIRED = ['docker'];\nexport interface Worker {\n name: String,\n class: String\n}\n\nexport interface CAPIClusterTopology {\n version: String,\n class: String,\n workers: {\n machineDeployments: Worker[],\n machinePools: Worker[]\n }\n}\nexport interface CAPIClusterCPEndpoint {\n host: String,\n port: Number\n}\n\nexport interface CAPIClusterNetwork {\n apiServerPort?: Number,\n pods?: {\n cidrBlocks: String[]\n },\n serviceDomain?: String,\n services?: {\n cidrBlocks: String[]\n },\n}\n\nexport interface ClusterClass {\n metadata: {\n name: string,\n namespace: string,\n annotations?: {[key: string]: string}\n },\n spec: {\n infrastructure: Object,\n workers: Object,\n controlPlane: Object\n }\n}\nexport interface Provider {\n id: string,\n disabled: boolean,\n needCredentials: boolean\n}\n\nexport const PROVIDER_TYPES: Provider[] = [\n {\n id: 'aws', disabled: false, needCredentials: true\n },\n {\n id: 'azure', disabled: false, needCredentials: true\n },\n {\n id: 'digitalocean', disabled: false, needCredentials: true\n },\n {\n id: 'docker', disabled: false, needCredentials: false\n },\n {\n id: 'gcp', disabled: false, needCredentials: true\n },\n {\n id: 'vsphere', disabled: false, needCredentials: true\n },\n {\n id: 'custom', disabled: false, needCredentials: false\n },\n];\n","var arrayMap = require('./_arrayMap'),\n baseIteratee = require('./_baseIteratee'),\n basePickBy = require('./_basePickBy'),\n getAllKeysIn = require('./_getAllKeysIn');\n\n/**\n * Creates an object composed of the `object` properties `predicate` returns\n * truthy for. The predicate is invoked with two arguments: (value, key).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The source object.\n * @param {Function} [predicate=_.identity] The function invoked per property.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pickBy(object, _.isNumber);\n * // => { 'a': 1, 'c': 3 }\n */\nfunction pickBy(object, predicate) {\n if (object == null) {\n return {};\n }\n var props = arrayMap(getAllKeysIn(object), function(prop) {\n return [prop];\n });\n predicate = baseIteratee(predicate);\n return basePickBy(object, props, function(value, path) {\n return predicate(value, path[0]);\n });\n}\n\nmodule.exports = pickBy;\n","var baseDifference = require('./_baseDifference'),\n baseFlatten = require('./_baseFlatten'),\n baseUniq = require('./_baseUniq');\n\n/**\n * The base implementation of methods like `_.xor`, without support for\n * iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of values.\n */\nfunction baseXor(arrays, iteratee, comparator) {\n var length = arrays.length;\n if (length < 2) {\n return length ? baseUniq(arrays[0]) : [];\n }\n var index = -1,\n result = Array(length);\n\n while (++index < length) {\n var array = arrays[index],\n othIndex = -1;\n\n while (++othIndex < length) {\n if (othIndex != index) {\n result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator);\n }\n }\n }\n return baseUniq(baseFlatten(result, 1), iteratee, comparator);\n}\n\nmodule.exports = baseXor;\n","var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]';\n\n/**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\nfunction baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n}\n\nmodule.exports = baseIsMap;\n","// style-loader: Adds some css to the DOM by adding a \n","import mod from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./management.cattle.io.roletemplate.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./management.cattle.io.roletemplate.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./management.cattle.io.roletemplate.vue?vue&type=template&id=5050d908&scoped=true&\"\nimport script from \"./management.cattle.io.roletemplate.vue?vue&type=script&lang=js&\"\nexport * from \"./management.cattle.io.roletemplate.vue?vue&type=script&lang=js&\"\nimport style0 from \"./management.cattle.io.roletemplate.vue?vue&type=style&index=0&id=5050d908&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5050d908\",\n null\n \n)\n\nexport default component.exports","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".text.info[data-v-5050d908]{display:flex;align-items:center}.text.info>span[data-v-5050d908]{margin-right:5px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","var mapCacheClear = require('./_mapCacheClear'),\n mapCacheDelete = require('./_mapCacheDelete'),\n mapCacheGet = require('./_mapCacheGet'),\n mapCacheHas = require('./_mapCacheHas'),\n mapCacheSet = require('./_mapCacheSet');\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n","var isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n}\n\nmodule.exports = isKey;\n","module.exports = __WEBPACK_EXTERNAL_MODULE__8bbf__;","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".centered[data-v-337ae8b8]{display:flex;flex-wrap:wrap;flex-direction:column;justify-content:center;align-items:center;text-align:center;margin:100px 0}.centered .description[data-v-337ae8b8]{line-height:20px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","var baseUniq = require('./_baseUniq');\n\n/**\n * Creates a duplicate-free version of an array, using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons, in which only the first occurrence of each element\n * is kept. The order of result values is determined by the order they occur\n * in the array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniq([2, 1, 2]);\n * // => [2, 1]\n */\nfunction uniq(array) {\n return (array && array.length) ? baseUniq(array) : [];\n}\n\nmodule.exports = uniq;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".actions[data-v-db441fb2]{text-align:right}.machine-name[data-v-db441fb2]{font-weight:600}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","// style-loader: Adds some css to the DOM by adding a \n","import mod from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Loading.vue?vue&type=template&id=23723280&scoped=true&\"\nimport script from \"./Loading.vue?vue&type=script&lang=js&\"\nexport * from \"./Loading.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Loading.vue?vue&type=style&index=0&id=23723280&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"23723280\",\n null\n \n)\n\nexport default component.exports","/*\nLanguage: Nginx config\nAuthor: Peter Leonov \nContributors: Ivan Sagalaev \nCategory: config, web\nWebsite: https://www.nginx.com\n*/\n\n/** @type LanguageFn */\nfunction nginx(hljs) {\n const regex = hljs.regex;\n const VAR = {\n className: 'variable',\n variants: [\n { begin: /\\$\\d+/ },\n { begin: /\\$\\{\\w+\\}/ },\n { begin: regex.concat(/[$@]/, hljs.UNDERSCORE_IDENT_RE) }\n ]\n };\n const LITERALS = [\n \"on\",\n \"off\",\n \"yes\",\n \"no\",\n \"true\",\n \"false\",\n \"none\",\n \"blocked\",\n \"debug\",\n \"info\",\n \"notice\",\n \"warn\",\n \"error\",\n \"crit\",\n \"select\",\n \"break\",\n \"last\",\n \"permanent\",\n \"redirect\",\n \"kqueue\",\n \"rtsig\",\n \"epoll\",\n \"poll\",\n \"/dev/poll\"\n ];\n const DEFAULT = {\n endsWithParent: true,\n keywords: {\n $pattern: /[a-z_]{2,}|\\/dev\\/poll/,\n literal: LITERALS\n },\n relevance: 0,\n illegal: '=>',\n contains: [\n hljs.HASH_COMMENT_MODE,\n {\n className: 'string',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n VAR\n ],\n variants: [\n {\n begin: /\"/,\n end: /\"/\n },\n {\n begin: /'/,\n end: /'/\n }\n ]\n },\n // this swallows entire URLs to avoid detecting numbers within\n {\n begin: '([a-z]+):/',\n end: '\\\\s',\n endsWithParent: true,\n excludeEnd: true,\n contains: [ VAR ]\n },\n {\n className: 'regexp',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n VAR\n ],\n variants: [\n {\n begin: \"\\\\s\\\\^\",\n end: \"\\\\s|\\\\{|;\",\n returnEnd: true\n },\n // regexp locations (~, ~*)\n {\n begin: \"~\\\\*?\\\\s+\",\n end: \"\\\\s|\\\\{|;\",\n returnEnd: true\n },\n // *.example.com\n { begin: \"\\\\*(\\\\.[a-z\\\\-]+)+\" },\n // sub.example.*\n { begin: \"([a-z\\\\-]+\\\\.)+\\\\*\" }\n ]\n },\n // IP\n {\n className: 'number',\n begin: '\\\\b\\\\d{1,3}\\\\.\\\\d{1,3}\\\\.\\\\d{1,3}\\\\.\\\\d{1,3}(:\\\\d{1,5})?\\\\b'\n },\n // units\n {\n className: 'number',\n begin: '\\\\b\\\\d+[kKmMgGdshdwy]?\\\\b',\n relevance: 0\n },\n VAR\n ]\n };\n\n return {\n name: 'Nginx config',\n aliases: [ 'nginxconf' ],\n contains: [\n hljs.HASH_COMMENT_MODE,\n {\n beginKeywords: \"upstream location\",\n end: /;|\\{/,\n contains: DEFAULT.contains,\n keywords: { section: \"upstream location\" }\n },\n {\n className: 'section',\n begin: regex.concat(hljs.UNDERSCORE_IDENT_RE + regex.lookahead(/\\s+\\{/)),\n relevance: 0\n },\n {\n begin: regex.lookahead(hljs.UNDERSCORE_IDENT_RE + '\\\\s'),\n end: ';|\\\\{',\n contains: [\n {\n className: 'attribute',\n begin: hljs.UNDERSCORE_IDENT_RE,\n starts: DEFAULT\n }\n ],\n relevance: 0\n }\n ],\n illegal: '[^\\\\s\\\\}\\\\{]'\n };\n}\n\nmodule.exports = nginx;\n","/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsZWJ = '\\\\u200d';\n\n/** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\nvar reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');\n\n/**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\nfunction hasUnicode(string) {\n return reHasUnicode.test(string);\n}\n\nmodule.exports = hasUnicode;\n","\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isValidCron = void 0;\n// This comes from the fact that parseInt trims characters coming\n// after digits and consider it a valid int, so `1*` becomes `1`.\nvar safeParseInt = function (value) {\n if (/^\\d+$/.test(value)) {\n return Number(value);\n }\n else {\n return NaN;\n }\n};\nvar isWildcard = function (value) {\n return value === '*';\n};\nvar isQuestionMark = function (value) {\n return value === '?';\n};\nvar isInRange = function (value, start, stop) {\n return value >= start && value <= stop;\n};\nvar isValidRange = function (value, start, stop) {\n var sides = value.split('-');\n switch (sides.length) {\n case 1:\n return isWildcard(value) || isInRange(safeParseInt(value), start, stop);\n case 2:\n var _a = sides.map(function (side) { return safeParseInt(side); }), small = _a[0], big = _a[1];\n return small <= big && isInRange(small, start, stop) && isInRange(big, start, stop);\n default:\n return false;\n }\n};\nvar isValidStep = function (value) {\n return value === undefined || value.search(/[^\\d]/) === -1;\n};\nvar validateForRange = function (value, start, stop) {\n if (value.search(/[^\\d-,\\/*]/) !== -1) {\n return false;\n }\n var list = value.split(',');\n return list.every(function (condition) {\n var splits = condition.split('/');\n // Prevents `*/ * * * *` from being accepted.\n if (condition.trim().endsWith('/')) {\n return false;\n }\n // Prevents `*/*/* * * * *` from being accepted\n if (splits.length > 2) {\n return false;\n }\n // If we don't have a `/`, right will be undefined which is considered a valid step if we don't a `/`.\n var left = splits[0], right = splits[1];\n return isValidRange(left, start, stop) && isValidStep(right);\n });\n};\nvar hasValidSeconds = function (seconds) {\n return validateForRange(seconds, 0, 59);\n};\nvar hasValidMinutes = function (minutes) {\n return validateForRange(minutes, 0, 59);\n};\nvar hasValidHours = function (hours) {\n return validateForRange(hours, 0, 23);\n};\nvar hasValidDays = function (days, allowBlankDay) {\n return (allowBlankDay && isQuestionMark(days)) || validateForRange(days, 1, 31);\n};\nvar monthAlias = {\n jan: '1',\n feb: '2',\n mar: '3',\n apr: '4',\n may: '5',\n jun: '6',\n jul: '7',\n aug: '8',\n sep: '9',\n oct: '10',\n nov: '11',\n dec: '12'\n};\nvar hasValidMonths = function (months, alias) {\n // Prevents alias to be used as steps\n if (months.search(/\\/[a-zA-Z]/) !== -1) {\n return false;\n }\n if (alias) {\n var remappedMonths = months.toLowerCase().replace(/[a-z]{3}/g, function (match) {\n return monthAlias[match] === undefined ? match : monthAlias[match];\n });\n // If any invalid alias was used, it won't pass the other checks as there will be non-numeric values in the months\n return validateForRange(remappedMonths, 1, 12);\n }\n return validateForRange(months, 1, 12);\n};\nvar weekdaysAlias = {\n sun: '0',\n mon: '1',\n tue: '2',\n wed: '3',\n thu: '4',\n fri: '5',\n sat: '6'\n};\nvar hasValidWeekdays = function (weekdays, alias, allowBlankDay, allowSevenAsSunday) {\n // If there is a question mark, checks if the allowBlankDay flag is set\n if (allowBlankDay && isQuestionMark(weekdays)) {\n return true;\n }\n else if (!allowBlankDay && isQuestionMark(weekdays)) {\n return false;\n }\n // Prevents alias to be used as steps\n if (weekdays.search(/\\/[a-zA-Z]/) !== -1) {\n return false;\n }\n if (alias) {\n var remappedWeekdays = weekdays.toLowerCase().replace(/[a-z]{3}/g, function (match) {\n return weekdaysAlias[match] === undefined ? match : weekdaysAlias[match];\n });\n // If any invalid alias was used, it won't pass the other checks as there will be non-numeric values in the weekdays\n return validateForRange(remappedWeekdays, 0, allowSevenAsSunday ? 7 : 6);\n }\n return validateForRange(weekdays, 0, allowSevenAsSunday ? 7 : 6);\n};\nvar hasCompatibleDayFormat = function (days, weekdays, allowBlankDay) {\n return !(allowBlankDay && isQuestionMark(days) && isQuestionMark(weekdays));\n};\nvar split = function (cron) {\n return cron.trim().split(/\\s+/);\n};\nvar defaultOptions = {\n alias: false,\n seconds: false,\n allowBlankDay: false,\n allowSevenAsSunday: false\n};\nexports.isValidCron = function (cron, options) {\n options = __assign(__assign({}, defaultOptions), options);\n var splits = split(cron);\n if (splits.length > (options.seconds ? 6 : 5) || splits.length < 5) {\n return false;\n }\n var checks = [];\n if (splits.length === 6) {\n var seconds = splits.shift();\n if (seconds) {\n checks.push(hasValidSeconds(seconds));\n }\n }\n // We could only check the steps gradually and return false on the first invalid block,\n // However, this won't have any performance impact so why bother for now.\n var minutes = splits[0], hours = splits[1], days = splits[2], months = splits[3], weekdays = splits[4];\n checks.push(hasValidMinutes(minutes));\n checks.push(hasValidHours(hours));\n checks.push(hasValidDays(days, options.allowBlankDay));\n checks.push(hasValidMonths(months, options.alias));\n checks.push(hasValidWeekdays(weekdays, options.alias, options.allowBlankDay, options.allowSevenAsSunday));\n checks.push(hasCompatibleDayFormat(days, weekdays, options.allowBlankDay));\n return checks.every(Boolean);\n};\n//# sourceMappingURL=index.js.map","module.exports = __webpack_public_path__ + \"img/rackspace.6f98715f.svg\";","/*\nLanguage: Lua\nDescription: Lua is a powerful, efficient, lightweight, embeddable scripting language.\nAuthor: Andrew Fedorov \nCategory: common, scripting\nWebsite: https://www.lua.org\n*/\n\nfunction lua(hljs) {\n const OPENING_LONG_BRACKET = '\\\\[=*\\\\[';\n const CLOSING_LONG_BRACKET = '\\\\]=*\\\\]';\n const LONG_BRACKETS = {\n begin: OPENING_LONG_BRACKET,\n end: CLOSING_LONG_BRACKET,\n contains: [ 'self' ]\n };\n const COMMENTS = [\n hljs.COMMENT('--(?!' + OPENING_LONG_BRACKET + ')', '$'),\n hljs.COMMENT(\n '--' + OPENING_LONG_BRACKET,\n CLOSING_LONG_BRACKET,\n {\n contains: [ LONG_BRACKETS ],\n relevance: 10\n }\n )\n ];\n return {\n name: 'Lua',\n keywords: {\n $pattern: hljs.UNDERSCORE_IDENT_RE,\n literal: \"true false nil\",\n keyword: \"and break do else elseif end for goto if in local not or repeat return then until while\",\n built_in:\n // Metatags and globals:\n '_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len '\n + '__gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert '\n // Standard methods and properties:\n + 'collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring '\n + 'module next pairs pcall print rawequal rawget rawset require select setfenv '\n + 'setmetatable tonumber tostring type unpack xpcall arg self '\n // Library methods and properties (one line per library):\n + 'coroutine resume yield status wrap create running debug getupvalue '\n + 'debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv '\n + 'io lines write close flush open output type read stderr stdin input stdout popen tmpfile '\n + 'math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan '\n + 'os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall '\n + 'string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower '\n + 'table setn insert getn foreachi maxn foreach concat sort remove'\n },\n contains: COMMENTS.concat([\n {\n className: 'function',\n beginKeywords: 'function',\n end: '\\\\)',\n contains: [\n hljs.inherit(hljs.TITLE_MODE, { begin: '([_a-zA-Z]\\\\w*\\\\.)*([_a-zA-Z]\\\\w*:)?[_a-zA-Z]\\\\w*' }),\n {\n className: 'params',\n begin: '\\\\(',\n endsWithParent: true,\n contains: COMMENTS\n }\n ].concat(COMMENTS)\n },\n hljs.C_NUMBER_MODE,\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n {\n className: 'string',\n begin: OPENING_LONG_BRACKET,\n end: CLOSING_LONG_BRACKET,\n contains: [ LONG_BRACKETS ],\n relevance: 5\n }\n ])\n };\n}\n\nmodule.exports = lua;\n","module.exports = __webpack_public_path__ + \"img/generic-catalog.99bdaecf.svg\";","module.exports = __webpack_public_path__ + \"img/amazonec2-black.d1821012.svg\";","// style-loader: Adds some css to the DOM by adding a \n","import mod from \"-!../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./NameNsDescription.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./NameNsDescription.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./NameNsDescription.vue?vue&type=template&id=08979412&scoped=true&\"\nimport script from \"./NameNsDescription.vue?vue&type=script&lang=js&\"\nexport * from \"./NameNsDescription.vue?vue&type=script&lang=js&\"\nimport style0 from \"./NameNsDescription.vue?vue&type=style&index=0&id=08979412&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"08979412\",\n null\n \n)\n\nexport default component.exports","/*\nLanguage: Go\nAuthor: Stephan Kountso aka StepLg \nContributors: Evgeny Stepanischev \nDescription: Google go language (golang). For info about language\nWebsite: http://golang.org/\nCategory: common, system\n*/\n\nfunction go(hljs) {\n const LITERALS = [\n \"true\",\n \"false\",\n \"iota\",\n \"nil\"\n ];\n const BUILT_INS = [\n \"append\",\n \"cap\",\n \"close\",\n \"complex\",\n \"copy\",\n \"imag\",\n \"len\",\n \"make\",\n \"new\",\n \"panic\",\n \"print\",\n \"println\",\n \"real\",\n \"recover\",\n \"delete\"\n ];\n const TYPES = [\n \"bool\",\n \"byte\",\n \"complex64\",\n \"complex128\",\n \"error\",\n \"float32\",\n \"float64\",\n \"int8\",\n \"int16\",\n \"int32\",\n \"int64\",\n \"string\",\n \"uint8\",\n \"uint16\",\n \"uint32\",\n \"uint64\",\n \"int\",\n \"uint\",\n \"uintptr\",\n \"rune\"\n ];\n const KWS = [\n \"break\",\n \"case\",\n \"chan\",\n \"const\",\n \"continue\",\n \"default\",\n \"defer\",\n \"else\",\n \"fallthrough\",\n \"for\",\n \"func\",\n \"go\",\n \"goto\",\n \"if\",\n \"import\",\n \"interface\",\n \"map\",\n \"package\",\n \"range\",\n \"return\",\n \"select\",\n \"struct\",\n \"switch\",\n \"type\",\n \"var\",\n ];\n const KEYWORDS = {\n keyword: KWS,\n type: TYPES,\n literal: LITERALS,\n built_in: BUILT_INS\n };\n return {\n name: 'Go',\n aliases: [ 'golang' ],\n keywords: KEYWORDS,\n illegal: ' source(x)).join(\"\");\n return joined;\n}\n\n/**\n * @param { Array } args\n * @returns {object}\n */\nfunction stripOptionsFromArgs(args) {\n const opts = args[args.length - 1];\n\n if (typeof opts === 'object' && opts.constructor === Object) {\n args.splice(args.length - 1, 1);\n return opts;\n } else {\n return {};\n }\n}\n\n/** @typedef { {capture?: boolean} } RegexEitherOptions */\n\n/**\n * Any of the passed expresssions may match\n *\n * Creates a huge this | this | that | that match\n * @param {(RegExp | string)[] | [...(RegExp | string)[], RegexEitherOptions]} args\n * @returns {string}\n */\nfunction either(...args) {\n /** @type { object & {capture?: boolean} } */\n const opts = stripOptionsFromArgs(args);\n const joined = '('\n + (opts.capture ? \"\" : \"?:\")\n + args.map((x) => source(x)).join(\"|\") + \")\";\n return joined;\n}\n\nconst keywordWrapper = keyword => concat(\n /\\b/,\n keyword,\n /\\w$/.test(keyword) ? /\\b/ : /\\B/\n);\n\n// Keywords that require a leading dot.\nconst dotKeywords = [\n 'Protocol', // contextual\n 'Type' // contextual\n].map(keywordWrapper);\n\n// Keywords that may have a leading dot.\nconst optionalDotKeywords = [\n 'init',\n 'self'\n].map(keywordWrapper);\n\n// should register as keyword, not type\nconst keywordTypes = [\n 'Any',\n 'Self'\n];\n\n// Regular keywords and literals.\nconst keywords = [\n // strings below will be fed into the regular `keywords` engine while regex\n // will result in additional modes being created to scan for those keywords to\n // avoid conflicts with other rules\n 'actor',\n 'any', // contextual\n 'associatedtype',\n 'async',\n 'await',\n /as\\?/, // operator\n /as!/, // operator\n 'as', // operator\n 'break',\n 'case',\n 'catch',\n 'class',\n 'continue',\n 'convenience', // contextual\n 'default',\n 'defer',\n 'deinit',\n 'didSet', // contextual\n 'distributed',\n 'do',\n 'dynamic', // contextual\n 'else',\n 'enum',\n 'extension',\n 'fallthrough',\n /fileprivate\\(set\\)/,\n 'fileprivate',\n 'final', // contextual\n 'for',\n 'func',\n 'get', // contextual\n 'guard',\n 'if',\n 'import',\n 'indirect', // contextual\n 'infix', // contextual\n /init\\?/,\n /init!/,\n 'inout',\n /internal\\(set\\)/,\n 'internal',\n 'in',\n 'is', // operator\n 'isolated', // contextual\n 'nonisolated', // contextual\n 'lazy', // contextual\n 'let',\n 'mutating', // contextual\n 'nonmutating', // contextual\n /open\\(set\\)/, // contextual\n 'open', // contextual\n 'operator',\n 'optional', // contextual\n 'override', // contextual\n 'postfix', // contextual\n 'precedencegroup',\n 'prefix', // contextual\n /private\\(set\\)/,\n 'private',\n 'protocol',\n /public\\(set\\)/,\n 'public',\n 'repeat',\n 'required', // contextual\n 'rethrows',\n 'return',\n 'set', // contextual\n 'some', // contextual\n 'static',\n 'struct',\n 'subscript',\n 'super',\n 'switch',\n 'throws',\n 'throw',\n /try\\?/, // operator\n /try!/, // operator\n 'try', // operator\n 'typealias',\n /unowned\\(safe\\)/, // contextual\n /unowned\\(unsafe\\)/, // contextual\n 'unowned', // contextual\n 'var',\n 'weak', // contextual\n 'where',\n 'while',\n 'willSet' // contextual\n];\n\n// NOTE: Contextual keywords are reserved only in specific contexts.\n// Ideally, these should be matched using modes to avoid false positives.\n\n// Literals.\nconst literals = [\n 'false',\n 'nil',\n 'true'\n];\n\n// Keywords used in precedence groups.\nconst precedencegroupKeywords = [\n 'assignment',\n 'associativity',\n 'higherThan',\n 'left',\n 'lowerThan',\n 'none',\n 'right'\n];\n\n// Keywords that start with a number sign (#).\n// #(un)available is handled separately.\nconst numberSignKeywords = [\n '#colorLiteral',\n '#column',\n '#dsohandle',\n '#else',\n '#elseif',\n '#endif',\n '#error',\n '#file',\n '#fileID',\n '#fileLiteral',\n '#filePath',\n '#function',\n '#if',\n '#imageLiteral',\n '#keyPath',\n '#line',\n '#selector',\n '#sourceLocation',\n '#warn_unqualified_access',\n '#warning'\n];\n\n// Global functions in the Standard Library.\nconst builtIns = [\n 'abs',\n 'all',\n 'any',\n 'assert',\n 'assertionFailure',\n 'debugPrint',\n 'dump',\n 'fatalError',\n 'getVaList',\n 'isKnownUniquelyReferenced',\n 'max',\n 'min',\n 'numericCast',\n 'pointwiseMax',\n 'pointwiseMin',\n 'precondition',\n 'preconditionFailure',\n 'print',\n 'readLine',\n 'repeatElement',\n 'sequence',\n 'stride',\n 'swap',\n 'swift_unboxFromSwiftValueWithType',\n 'transcode',\n 'type',\n 'unsafeBitCast',\n 'unsafeDowncast',\n 'withExtendedLifetime',\n 'withUnsafeMutablePointer',\n 'withUnsafePointer',\n 'withVaList',\n 'withoutActuallyEscaping',\n 'zip'\n];\n\n// Valid first characters for operators.\nconst operatorHead = either(\n /[/=\\-+!*%<>&|^~?]/,\n /[\\u00A1-\\u00A7]/,\n /[\\u00A9\\u00AB]/,\n /[\\u00AC\\u00AE]/,\n /[\\u00B0\\u00B1]/,\n /[\\u00B6\\u00BB\\u00BF\\u00D7\\u00F7]/,\n /[\\u2016-\\u2017]/,\n /[\\u2020-\\u2027]/,\n /[\\u2030-\\u203E]/,\n /[\\u2041-\\u2053]/,\n /[\\u2055-\\u205E]/,\n /[\\u2190-\\u23FF]/,\n /[\\u2500-\\u2775]/,\n /[\\u2794-\\u2BFF]/,\n /[\\u2E00-\\u2E7F]/,\n /[\\u3001-\\u3003]/,\n /[\\u3008-\\u3020]/,\n /[\\u3030]/\n);\n\n// Valid characters for operators.\nconst operatorCharacter = either(\n operatorHead,\n /[\\u0300-\\u036F]/,\n /[\\u1DC0-\\u1DFF]/,\n /[\\u20D0-\\u20FF]/,\n /[\\uFE00-\\uFE0F]/,\n /[\\uFE20-\\uFE2F]/\n // TODO: The following characters are also allowed, but the regex isn't supported yet.\n // /[\\u{E0100}-\\u{E01EF}]/u\n);\n\n// Valid operator.\nconst operator = concat(operatorHead, operatorCharacter, '*');\n\n// Valid first characters for identifiers.\nconst identifierHead = either(\n /[a-zA-Z_]/,\n /[\\u00A8\\u00AA\\u00AD\\u00AF\\u00B2-\\u00B5\\u00B7-\\u00BA]/,\n /[\\u00BC-\\u00BE\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u00FF]/,\n /[\\u0100-\\u02FF\\u0370-\\u167F\\u1681-\\u180D\\u180F-\\u1DBF]/,\n /[\\u1E00-\\u1FFF]/,\n /[\\u200B-\\u200D\\u202A-\\u202E\\u203F-\\u2040\\u2054\\u2060-\\u206F]/,\n /[\\u2070-\\u20CF\\u2100-\\u218F\\u2460-\\u24FF\\u2776-\\u2793]/,\n /[\\u2C00-\\u2DFF\\u2E80-\\u2FFF]/,\n /[\\u3004-\\u3007\\u3021-\\u302F\\u3031-\\u303F\\u3040-\\uD7FF]/,\n /[\\uF900-\\uFD3D\\uFD40-\\uFDCF\\uFDF0-\\uFE1F\\uFE30-\\uFE44]/,\n /[\\uFE47-\\uFEFE\\uFF00-\\uFFFD]/ // Should be /[\\uFE47-\\uFFFD]/, but we have to exclude FEFF.\n // The following characters are also allowed, but the regexes aren't supported yet.\n // /[\\u{10000}-\\u{1FFFD}\\u{20000-\\u{2FFFD}\\u{30000}-\\u{3FFFD}\\u{40000}-\\u{4FFFD}]/u,\n // /[\\u{50000}-\\u{5FFFD}\\u{60000-\\u{6FFFD}\\u{70000}-\\u{7FFFD}\\u{80000}-\\u{8FFFD}]/u,\n // /[\\u{90000}-\\u{9FFFD}\\u{A0000-\\u{AFFFD}\\u{B0000}-\\u{BFFFD}\\u{C0000}-\\u{CFFFD}]/u,\n // /[\\u{D0000}-\\u{DFFFD}\\u{E0000-\\u{EFFFD}]/u\n);\n\n// Valid characters for identifiers.\nconst identifierCharacter = either(\n identifierHead,\n /\\d/,\n /[\\u0300-\\u036F\\u1DC0-\\u1DFF\\u20D0-\\u20FF\\uFE20-\\uFE2F]/\n);\n\n// Valid identifier.\nconst identifier = concat(identifierHead, identifierCharacter, '*');\n\n// Valid type identifier.\nconst typeIdentifier = concat(/[A-Z]/, identifierCharacter, '*');\n\n// Built-in attributes, which are highlighted as keywords.\n// @available is handled separately.\nconst keywordAttributes = [\n 'autoclosure',\n concat(/convention\\(/, either('swift', 'block', 'c'), /\\)/),\n 'discardableResult',\n 'dynamicCallable',\n 'dynamicMemberLookup',\n 'escaping',\n 'frozen',\n 'GKInspectable',\n 'IBAction',\n 'IBDesignable',\n 'IBInspectable',\n 'IBOutlet',\n 'IBSegueAction',\n 'inlinable',\n 'main',\n 'nonobjc',\n 'NSApplicationMain',\n 'NSCopying',\n 'NSManaged',\n concat(/objc\\(/, identifier, /\\)/),\n 'objc',\n 'objcMembers',\n 'propertyWrapper',\n 'requires_stored_property_inits',\n 'resultBuilder',\n 'testable',\n 'UIApplicationMain',\n 'unknown',\n 'usableFromInline'\n];\n\n// Contextual keywords used in @available and #(un)available.\nconst availabilityKeywords = [\n 'iOS',\n 'iOSApplicationExtension',\n 'macOS',\n 'macOSApplicationExtension',\n 'macCatalyst',\n 'macCatalystApplicationExtension',\n 'watchOS',\n 'watchOSApplicationExtension',\n 'tvOS',\n 'tvOSApplicationExtension',\n 'swift'\n];\n\n/*\nLanguage: Swift\nDescription: Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns.\nAuthor: Steven Van Impe \nContributors: Chris Eidhof , Nate Cook , Alexander Lichter , Richard Gibson \nWebsite: https://swift.org\nCategory: common, system\n*/\n\n/** @type LanguageFn */\nfunction swift(hljs) {\n const WHITESPACE = {\n match: /\\s+/,\n relevance: 0\n };\n // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID411\n const BLOCK_COMMENT = hljs.COMMENT(\n '/\\\\*',\n '\\\\*/',\n { contains: [ 'self' ] }\n );\n const COMMENTS = [\n hljs.C_LINE_COMMENT_MODE,\n BLOCK_COMMENT\n ];\n\n // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID413\n // https://docs.swift.org/swift-book/ReferenceManual/zzSummaryOfTheGrammar.html\n const DOT_KEYWORD = {\n match: [\n /\\./,\n either(...dotKeywords, ...optionalDotKeywords)\n ],\n className: { 2: \"keyword\" }\n };\n const KEYWORD_GUARD = {\n // Consume .keyword to prevent highlighting properties and methods as keywords.\n match: concat(/\\./, either(...keywords)),\n relevance: 0\n };\n const PLAIN_KEYWORDS = keywords\n .filter(kw => typeof kw === 'string')\n .concat([ \"_|0\" ]); // seems common, so 0 relevance\n const REGEX_KEYWORDS = keywords\n .filter(kw => typeof kw !== 'string') // find regex\n .concat(keywordTypes)\n .map(keywordWrapper);\n const KEYWORD = { variants: [\n {\n className: 'keyword',\n match: either(...REGEX_KEYWORDS, ...optionalDotKeywords)\n }\n ] };\n // find all the regular keywords\n const KEYWORDS = {\n $pattern: either(\n /\\b\\w+/, // regular keywords\n /#\\w+/ // number keywords\n ),\n keyword: PLAIN_KEYWORDS\n .concat(numberSignKeywords),\n literal: literals\n };\n const KEYWORD_MODES = [\n DOT_KEYWORD,\n KEYWORD_GUARD,\n KEYWORD\n ];\n\n // https://github.com/apple/swift/tree/main/stdlib/public/core\n const BUILT_IN_GUARD = {\n // Consume .built_in to prevent highlighting properties and methods.\n match: concat(/\\./, either(...builtIns)),\n relevance: 0\n };\n const BUILT_IN = {\n className: 'built_in',\n match: concat(/\\b/, either(...builtIns), /(?=\\()/)\n };\n const BUILT_INS = [\n BUILT_IN_GUARD,\n BUILT_IN\n ];\n\n // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID418\n const OPERATOR_GUARD = {\n // Prevent -> from being highlighting as an operator.\n match: /->/,\n relevance: 0\n };\n const OPERATOR = {\n className: 'operator',\n relevance: 0,\n variants: [\n { match: operator },\n {\n // dot-operator: only operators that start with a dot are allowed to use dots as\n // characters (..., ...<, .*, etc). So there rule here is: a dot followed by one or more\n // characters that may also include dots.\n match: `\\\\.(\\\\.|${operatorCharacter})+` }\n ]\n };\n const OPERATORS = [\n OPERATOR_GUARD,\n OPERATOR\n ];\n\n // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#grammar_numeric-literal\n // TODO: Update for leading `-` after lookbehind is supported everywhere\n const decimalDigits = '([0-9]_*)+';\n const hexDigits = '([0-9a-fA-F]_*)+';\n const NUMBER = {\n className: 'number',\n relevance: 0,\n variants: [\n // decimal floating-point-literal (subsumes decimal-literal)\n { match: `\\\\b(${decimalDigits})(\\\\.(${decimalDigits}))?` + `([eE][+-]?(${decimalDigits}))?\\\\b` },\n // hexadecimal floating-point-literal (subsumes hexadecimal-literal)\n { match: `\\\\b0x(${hexDigits})(\\\\.(${hexDigits}))?` + `([pP][+-]?(${decimalDigits}))?\\\\b` },\n // octal-literal\n { match: /\\b0o([0-7]_*)+\\b/ },\n // binary-literal\n { match: /\\b0b([01]_*)+\\b/ }\n ]\n };\n\n // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#grammar_string-literal\n const ESCAPED_CHARACTER = (rawDelimiter = \"\") => ({\n className: 'subst',\n variants: [\n { match: concat(/\\\\/, rawDelimiter, /[0\\\\tnr\"']/) },\n { match: concat(/\\\\/, rawDelimiter, /u\\{[0-9a-fA-F]{1,8}\\}/) }\n ]\n });\n const ESCAPED_NEWLINE = (rawDelimiter = \"\") => ({\n className: 'subst',\n match: concat(/\\\\/, rawDelimiter, /[\\t ]*(?:[\\r\\n]|\\r\\n)/)\n });\n const INTERPOLATION = (rawDelimiter = \"\") => ({\n className: 'subst',\n label: \"interpol\",\n begin: concat(/\\\\/, rawDelimiter, /\\(/),\n end: /\\)/\n });\n const MULTILINE_STRING = (rawDelimiter = \"\") => ({\n begin: concat(rawDelimiter, /\"\"\"/),\n end: concat(/\"\"\"/, rawDelimiter),\n contains: [\n ESCAPED_CHARACTER(rawDelimiter),\n ESCAPED_NEWLINE(rawDelimiter),\n INTERPOLATION(rawDelimiter)\n ]\n });\n const SINGLE_LINE_STRING = (rawDelimiter = \"\") => ({\n begin: concat(rawDelimiter, /\"/),\n end: concat(/\"/, rawDelimiter),\n contains: [\n ESCAPED_CHARACTER(rawDelimiter),\n INTERPOLATION(rawDelimiter)\n ]\n });\n const STRING = {\n className: 'string',\n variants: [\n MULTILINE_STRING(),\n MULTILINE_STRING(\"#\"),\n MULTILINE_STRING(\"##\"),\n MULTILINE_STRING(\"###\"),\n SINGLE_LINE_STRING(),\n SINGLE_LINE_STRING(\"#\"),\n SINGLE_LINE_STRING(\"##\"),\n SINGLE_LINE_STRING(\"###\")\n ]\n };\n\n // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#ID412\n const QUOTED_IDENTIFIER = { match: concat(/`/, identifier, /`/) };\n const IMPLICIT_PARAMETER = {\n className: 'variable',\n match: /\\$\\d+/\n };\n const PROPERTY_WRAPPER_PROJECTION = {\n className: 'variable',\n match: `\\\\$${identifierCharacter}+`\n };\n const IDENTIFIERS = [\n QUOTED_IDENTIFIER,\n IMPLICIT_PARAMETER,\n PROPERTY_WRAPPER_PROJECTION\n ];\n\n // https://docs.swift.org/swift-book/ReferenceManual/Attributes.html\n const AVAILABLE_ATTRIBUTE = {\n match: /(@|#(un)?)available/,\n className: \"keyword\",\n starts: { contains: [\n {\n begin: /\\(/,\n end: /\\)/,\n keywords: availabilityKeywords,\n contains: [\n ...OPERATORS,\n NUMBER,\n STRING\n ]\n }\n ] }\n };\n const KEYWORD_ATTRIBUTE = {\n className: 'keyword',\n match: concat(/@/, either(...keywordAttributes))\n };\n const USER_DEFINED_ATTRIBUTE = {\n className: 'meta',\n match: concat(/@/, identifier)\n };\n const ATTRIBUTES = [\n AVAILABLE_ATTRIBUTE,\n KEYWORD_ATTRIBUTE,\n USER_DEFINED_ATTRIBUTE\n ];\n\n // https://docs.swift.org/swift-book/ReferenceManual/Types.html\n const TYPE = {\n match: lookahead(/\\b[A-Z]/),\n relevance: 0,\n contains: [\n { // Common Apple frameworks, for relevance boost\n className: 'type',\n match: concat(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/, identifierCharacter, '+')\n },\n { // Type identifier\n className: 'type',\n match: typeIdentifier,\n relevance: 0\n },\n { // Optional type\n match: /[?!]+/,\n relevance: 0\n },\n { // Variadic parameter\n match: /\\.\\.\\./,\n relevance: 0\n },\n { // Protocol composition\n match: concat(/\\s+&\\s+/, lookahead(typeIdentifier)),\n relevance: 0\n }\n ]\n };\n const GENERIC_ARGUMENTS = {\n begin: //,\n keywords: KEYWORDS,\n contains: [\n ...COMMENTS,\n ...KEYWORD_MODES,\n ...ATTRIBUTES,\n OPERATOR_GUARD,\n TYPE\n ]\n };\n TYPE.contains.push(GENERIC_ARGUMENTS);\n\n // https://docs.swift.org/swift-book/ReferenceManual/Expressions.html#ID552\n // Prevents element names from being highlighted as keywords.\n const TUPLE_ELEMENT_NAME = {\n match: concat(identifier, /\\s*:/),\n keywords: \"_|0\",\n relevance: 0\n };\n // Matches tuples as well as the parameter list of a function type.\n const TUPLE = {\n begin: /\\(/,\n end: /\\)/,\n relevance: 0,\n keywords: KEYWORDS,\n contains: [\n 'self',\n TUPLE_ELEMENT_NAME,\n ...COMMENTS,\n ...KEYWORD_MODES,\n ...BUILT_INS,\n ...OPERATORS,\n NUMBER,\n STRING,\n ...IDENTIFIERS,\n ...ATTRIBUTES,\n TYPE\n ]\n };\n\n const GENERIC_PARAMETERS = {\n begin: //,\n contains: [\n ...COMMENTS,\n TYPE\n ]\n };\n const FUNCTION_PARAMETER_NAME = {\n begin: either(\n lookahead(concat(identifier, /\\s*:/)),\n lookahead(concat(identifier, /\\s+/, identifier, /\\s*:/))\n ),\n end: /:/,\n relevance: 0,\n contains: [\n {\n className: 'keyword',\n match: /\\b_\\b/\n },\n {\n className: 'params',\n match: identifier\n }\n ]\n };\n const FUNCTION_PARAMETERS = {\n begin: /\\(/,\n end: /\\)/,\n keywords: KEYWORDS,\n contains: [\n FUNCTION_PARAMETER_NAME,\n ...COMMENTS,\n ...KEYWORD_MODES,\n ...OPERATORS,\n NUMBER,\n STRING,\n ...ATTRIBUTES,\n TYPE,\n TUPLE\n ],\n endsParent: true,\n illegal: /[\"']/\n };\n // https://docs.swift.org/swift-book/ReferenceManual/Declarations.html#ID362\n const FUNCTION = {\n match: [\n /func/,\n /\\s+/,\n either(QUOTED_IDENTIFIER.match, identifier, operator)\n ],\n className: {\n 1: \"keyword\",\n 3: \"title.function\"\n },\n contains: [\n GENERIC_PARAMETERS,\n FUNCTION_PARAMETERS,\n WHITESPACE\n ],\n illegal: [\n /\\[/,\n /%/\n ]\n };\n\n // https://docs.swift.org/swift-book/ReferenceManual/Declarations.html#ID375\n // https://docs.swift.org/swift-book/ReferenceManual/Declarations.html#ID379\n const INIT_SUBSCRIPT = {\n match: [\n /\\b(?:subscript|init[?!]?)/,\n /\\s*(?=[<(])/,\n ],\n className: { 1: \"keyword\" },\n contains: [\n GENERIC_PARAMETERS,\n FUNCTION_PARAMETERS,\n WHITESPACE\n ],\n illegal: /\\[|%/\n };\n // https://docs.swift.org/swift-book/ReferenceManual/Declarations.html#ID380\n const OPERATOR_DECLARATION = {\n match: [\n /operator/,\n /\\s+/,\n operator\n ],\n className: {\n 1: \"keyword\",\n 3: \"title\"\n }\n };\n\n // https://docs.swift.org/swift-book/ReferenceManual/Declarations.html#ID550\n const PRECEDENCEGROUP = {\n begin: [\n /precedencegroup/,\n /\\s+/,\n typeIdentifier\n ],\n className: {\n 1: \"keyword\",\n 3: \"title\"\n },\n contains: [ TYPE ],\n keywords: [\n ...precedencegroupKeywords,\n ...literals\n ],\n end: /}/\n };\n\n // Add supported submodes to string interpolation.\n for (const variant of STRING.variants) {\n const interpolation = variant.contains.find(mode => mode.label === \"interpol\");\n // TODO: Interpolation can contain any expression, so there's room for improvement here.\n interpolation.keywords = KEYWORDS;\n const submodes = [\n ...KEYWORD_MODES,\n ...BUILT_INS,\n ...OPERATORS,\n NUMBER,\n STRING,\n ...IDENTIFIERS\n ];\n interpolation.contains = [\n ...submodes,\n {\n begin: /\\(/,\n end: /\\)/,\n contains: [\n 'self',\n ...submodes\n ]\n }\n ];\n }\n\n return {\n name: 'Swift',\n keywords: KEYWORDS,\n contains: [\n ...COMMENTS,\n FUNCTION,\n INIT_SUBSCRIPT,\n {\n beginKeywords: 'struct protocol class extension enum actor',\n end: '\\\\{',\n excludeEnd: true,\n keywords: KEYWORDS,\n contains: [\n hljs.inherit(hljs.TITLE_MODE, {\n className: \"title.class\",\n begin: /[A-Za-z$_][\\u00C0-\\u02B80-9A-Za-z$_]*/\n }),\n ...KEYWORD_MODES\n ]\n },\n OPERATOR_DECLARATION,\n PRECEDENCEGROUP,\n {\n beginKeywords: 'import',\n end: /$/,\n contains: [ ...COMMENTS ],\n relevance: 0\n },\n ...KEYWORD_MODES,\n ...BUILT_INS,\n ...OPERATORS,\n NUMBER,\n STRING,\n ...IDENTIFIERS,\n ...ATTRIBUTES,\n TYPE,\n TUPLE\n ]\n };\n}\n\nmodule.exports = swift;\n","/*\nLanguage: Protocol Buffers\nAuthor: Dan Tao \nDescription: Protocol buffer message definition format\nWebsite: https://developers.google.com/protocol-buffers/docs/proto3\nCategory: protocols\n*/\n\nfunction protobuf(hljs) {\n const KEYWORDS = [\n \"package\",\n \"import\",\n \"option\",\n \"optional\",\n \"required\",\n \"repeated\",\n \"group\",\n \"oneof\"\n ];\n const TYPES = [\n \"double\",\n \"float\",\n \"int32\",\n \"int64\",\n \"uint32\",\n \"uint64\",\n \"sint32\",\n \"sint64\",\n \"fixed32\",\n \"fixed64\",\n \"sfixed32\",\n \"sfixed64\",\n \"bool\",\n \"string\",\n \"bytes\"\n ];\n const CLASS_DEFINITION = {\n match: [\n /(message|enum|service)\\s+/,\n hljs.IDENT_RE\n ],\n scope: {\n 1: \"keyword\",\n 2: \"title.class\"\n }\n };\n\n return {\n name: 'Protocol Buffers',\n keywords: {\n keyword: KEYWORDS,\n type: TYPES,\n literal: [\n 'true',\n 'false'\n ]\n },\n contains: [\n hljs.QUOTE_STRING_MODE,\n hljs.NUMBER_MODE,\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n CLASS_DEFINITION,\n {\n className: 'function',\n beginKeywords: 'rpc',\n end: /[{;]/,\n excludeEnd: true,\n keywords: 'rpc returns'\n },\n { // match enum items (relevance)\n // BLAH = ...;\n begin: /^\\s*[A-Z_]+(?=\\s*=[^\\n]+;$)/ }\n ]\n };\n}\n\nmodule.exports = protobuf;\n","module.exports = __webpack_public_path__ + \"img/digitalocean-black.c7b0f38c.svg\";","var toString = {}.toString;\n\nmodule.exports = Array.isArray || function (arr) {\n return toString.call(arr) == '[object Array]';\n};\n","module.exports = __webpack_public_path__ + \"img/harvester.b14e570b.svg\";","// style-loader: Adds some css to the DOM by adding a \n","import mod from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectIconGrid.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectIconGrid.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SelectIconGrid.vue?vue&type=template&id=65ba4ad5&scoped=true&\"\nimport script from \"./SelectIconGrid.vue?vue&type=script&lang=js&\"\nexport * from \"./SelectIconGrid.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SelectIconGrid.vue?vue&type=style&index=0&id=65ba4ad5&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"65ba4ad5\",\n null\n \n)\n\nexport default component.exports","/*\nLanguage: PostgreSQL and PL/pgSQL\nAuthor: Egor Rogov (e.rogov@postgrespro.ru)\nWebsite: https://www.postgresql.org/docs/11/sql.html\nDescription:\n This language incorporates both PostgreSQL SQL dialect and PL/pgSQL language.\n It is based on PostgreSQL version 11. Some notes:\n - Text in double-dollar-strings is _always_ interpreted as some programming code. Text\n in ordinary quotes is _never_ interpreted that way and highlighted just as a string.\n - There are quite a bit \"special cases\". That's because many keywords are not strictly\n they are keywords in some contexts and ordinary identifiers in others. Only some\n of such cases are handled; you still can get some of your identifiers highlighted\n wrong way.\n - Function names deliberately are not highlighted. There is no way to tell function\n call from other constructs, hence we can't highlight _all_ function names. And\n some names highlighted while others not looks ugly.\n*/\n\nfunction pgsql(hljs) {\n const COMMENT_MODE = hljs.COMMENT('--', '$');\n const UNQUOTED_IDENT = '[a-zA-Z_][a-zA-Z_0-9$]*';\n const DOLLAR_STRING = '\\\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\\\$';\n const LABEL = '<<\\\\s*' + UNQUOTED_IDENT + '\\\\s*>>';\n\n const SQL_KW =\n // https://www.postgresql.org/docs/11/static/sql-keywords-appendix.html\n // https://www.postgresql.org/docs/11/static/sql-commands.html\n // SQL commands (starting words)\n 'ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE '\n + 'DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY '\n + 'PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW '\n + 'START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES '\n // SQL commands (others)\n + 'AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN '\n + 'WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS '\n + 'FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM '\n + 'TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS '\n + 'METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION '\n + 'INDEX PROCEDURE ASSERTION '\n // additional reserved key words\n + 'ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK '\n + 'COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS '\n + 'DEFERRABLE RANGE '\n + 'DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING '\n + 'ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT '\n + 'NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY '\n + 'REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN '\n + 'TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH '\n // some of non-reserved (which are used in clauses or as PL/pgSQL keyword)\n + 'BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN '\n + 'BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT '\n + 'TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN '\n + 'EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH '\n + 'REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL '\n + 'ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED '\n + 'INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 '\n + 'INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE '\n + 'ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES '\n + 'RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS '\n + 'UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF '\n // some parameters of VACUUM/ANALYZE/EXPLAIN\n + 'FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING '\n //\n + 'RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED '\n + 'OF NOTHING NONE EXCLUDE ATTRIBUTE '\n // from GRANT (not keywords actually)\n + 'USAGE ROUTINES '\n // actually literals, but look better this way (due to IS TRUE, IS FALSE, ISNULL etc)\n + 'TRUE FALSE NAN INFINITY ';\n\n const ROLE_ATTRS = // only those not in keywrods already\n 'SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT '\n + 'LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ';\n\n const PLPGSQL_KW =\n 'ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS '\n + 'STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT '\n + 'OPEN ';\n\n const TYPES =\n // https://www.postgresql.org/docs/11/static/datatype.html\n 'BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR '\n + 'CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 '\n + 'MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 '\n + 'SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 '\n + 'TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR '\n + 'INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 '\n // pseudotypes\n + 'ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL '\n + 'RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR '\n // spec. type\n + 'NAME '\n // OID-types\n + 'OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 '\n + 'REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ';// +\n\n const TYPES_RE =\n TYPES.trim()\n .split(' ')\n .map(function(val) { return val.split('|')[0]; })\n .join('|');\n\n const SQL_BI =\n 'CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP '\n + 'CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ';\n\n const PLPGSQL_BI =\n 'FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 '\n + 'TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 '\n // get diagnostics\n + 'ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME '\n + 'PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 '\n + 'PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ';\n\n const PLPGSQL_EXCEPTIONS =\n // exceptions https://www.postgresql.org/docs/current/static/errcodes-appendix.html\n 'SQLSTATE SQLERRM|10 '\n + 'SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING '\n + 'NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED '\n + 'STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED '\n + 'SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE '\n + 'SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION '\n + 'TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED '\n + 'INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR '\n + 'INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION '\n + 'STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION '\n + 'DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW '\n + 'DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW '\n + 'INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION '\n + 'INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION '\n + 'INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST '\n + 'INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE '\n + 'NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE '\n + 'INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE '\n + 'INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT '\n + 'INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH '\n + 'NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE '\n + 'SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION '\n + 'SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING '\n + 'FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION '\n + 'BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT '\n + 'INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION '\n + 'INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION '\n + 'UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE '\n + 'INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE '\n + 'HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION '\n + 'INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION '\n + 'NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION '\n + 'SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION '\n + 'IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME '\n + 'TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD '\n + 'DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST '\n + 'INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT '\n + 'MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED '\n + 'READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION '\n + 'CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED '\n + 'PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED '\n + 'EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED '\n + 'TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED '\n + 'SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME '\n + 'INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION '\n + 'SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED '\n + 'SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE '\n + 'GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME '\n + 'NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH '\n + 'INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN '\n + 'UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT '\n + 'DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION '\n + 'DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS '\n + 'DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS '\n + 'INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION '\n + 'INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION '\n + 'INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION '\n + 'INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL '\n + 'OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED '\n + 'STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE '\n + 'OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION '\n + 'QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED '\n + 'SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR '\n + 'LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED '\n + 'FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION '\n + 'FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER '\n + 'FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS '\n + 'FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX '\n + 'FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH '\n + 'FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES '\n + 'FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE '\n + 'FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION '\n + 'FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR '\n + 'RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED '\n + 'INDEX_CORRUPTED ';\n\n const FUNCTIONS =\n // https://www.postgresql.org/docs/11/static/functions-aggregate.html\n 'ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG '\n + 'JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG '\n + 'CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE '\n + 'REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP '\n + 'PERCENTILE_CONT PERCENTILE_DISC '\n // https://www.postgresql.org/docs/11/static/functions-window.html\n + 'ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE '\n // https://www.postgresql.org/docs/11/static/functions-comparison.html\n + 'NUM_NONNULLS NUM_NULLS '\n // https://www.postgresql.org/docs/11/static/functions-math.html\n + 'ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT '\n + 'TRUNC WIDTH_BUCKET '\n + 'RANDOM SETSEED '\n + 'ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND '\n // https://www.postgresql.org/docs/11/static/functions-string.html\n + 'BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER '\n + 'ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP '\n + 'LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 '\n + 'QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY '\n + 'REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR '\n + 'TO_ASCII TO_HEX TRANSLATE '\n // https://www.postgresql.org/docs/11/static/functions-binarystring.html\n + 'OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE '\n // https://www.postgresql.org/docs/11/static/functions-formatting.html\n + 'TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP '\n // https://www.postgresql.org/docs/11/static/functions-datetime.html\n + 'AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL '\n + 'MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 '\n + 'TIMEOFDAY TRANSACTION_TIMESTAMP|10 '\n // https://www.postgresql.org/docs/11/static/functions-enum.html\n + 'ENUM_FIRST ENUM_LAST ENUM_RANGE '\n // https://www.postgresql.org/docs/11/static/functions-geometry.html\n + 'AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH '\n + 'BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON '\n // https://www.postgresql.org/docs/11/static/functions-net.html\n + 'ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY '\n + 'INET_MERGE MACADDR8_SET7BIT '\n // https://www.postgresql.org/docs/11/static/functions-textsearch.html\n + 'ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY '\n + 'QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE '\n + 'TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY '\n + 'TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN '\n // https://www.postgresql.org/docs/11/static/functions-xml.html\n + 'XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT '\n + 'XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT '\n + 'XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES '\n + 'TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA '\n + 'QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA '\n + 'CURSOR_TO_XML CURSOR_TO_XMLSCHEMA '\n + 'SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA '\n + 'DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA '\n + 'XMLATTRIBUTES '\n // https://www.postgresql.org/docs/11/static/functions-json.html\n + 'TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT '\n + 'JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH '\n + 'JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH '\n + 'JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET '\n + 'JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT '\n + 'JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET '\n + 'JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY '\n // https://www.postgresql.org/docs/11/static/functions-sequence.html\n + 'CURRVAL LASTVAL NEXTVAL SETVAL '\n // https://www.postgresql.org/docs/11/static/functions-conditional.html\n + 'COALESCE NULLIF GREATEST LEAST '\n // https://www.postgresql.org/docs/11/static/functions-array.html\n + 'ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION '\n + 'ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY '\n + 'STRING_TO_ARRAY UNNEST '\n // https://www.postgresql.org/docs/11/static/functions-range.html\n + 'ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE '\n // https://www.postgresql.org/docs/11/static/functions-srf.html\n + 'GENERATE_SERIES GENERATE_SUBSCRIPTS '\n // https://www.postgresql.org/docs/11/static/functions-info.html\n + 'CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT '\n + 'INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE '\n + 'TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE '\n + 'COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION '\n + 'TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX '\n + 'TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS '\n // https://www.postgresql.org/docs/11/static/functions-admin.html\n + 'CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE '\n + 'GIN_CLEAN_PENDING_LIST '\n // https://www.postgresql.org/docs/11/static/functions-trigger.html\n + 'SUPPRESS_REDUNDANT_UPDATES_TRIGGER '\n // ihttps://www.postgresql.org/docs/devel/static/lo-funcs.html\n + 'LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE '\n //\n + 'GROUPING CAST ';\n\n const FUNCTIONS_RE =\n FUNCTIONS.trim()\n .split(' ')\n .map(function(val) { return val.split('|')[0]; })\n .join('|');\n\n return {\n name: 'PostgreSQL',\n aliases: [\n 'postgres',\n 'postgresql'\n ],\n supersetOf: \"sql\",\n case_insensitive: true,\n keywords: {\n keyword:\n SQL_KW + PLPGSQL_KW + ROLE_ATTRS,\n built_in:\n SQL_BI + PLPGSQL_BI + PLPGSQL_EXCEPTIONS\n },\n // Forbid some cunstructs from other languages to improve autodetect. In fact\n // \"[a-z]:\" is legal (as part of array slice), but improbabal.\n illegal: /:==|\\W\\s*\\(\\*|(^|\\s)\\$[a-z]|\\{\\{|[a-z]:\\s*$|\\.\\.\\.|TO:|DO:/,\n contains: [\n // special handling of some words, which are reserved only in some contexts\n {\n className: 'keyword',\n variants: [\n { begin: /\\bTEXT\\s*SEARCH\\b/ },\n { begin: /\\b(PRIMARY|FOREIGN|FOR(\\s+NO)?)\\s+KEY\\b/ },\n { begin: /\\bPARALLEL\\s+(UNSAFE|RESTRICTED|SAFE)\\b/ },\n { begin: /\\bSTORAGE\\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\\b/ },\n { begin: /\\bMATCH\\s+(FULL|PARTIAL|SIMPLE)\\b/ },\n { begin: /\\bNULLS\\s+(FIRST|LAST)\\b/ },\n { begin: /\\bEVENT\\s+TRIGGER\\b/ },\n { begin: /\\b(MAPPING|OR)\\s+REPLACE\\b/ },\n { begin: /\\b(FROM|TO)\\s+(PROGRAM|STDIN|STDOUT)\\b/ },\n { begin: /\\b(SHARE|EXCLUSIVE)\\s+MODE\\b/ },\n { begin: /\\b(LEFT|RIGHT)\\s+(OUTER\\s+)?JOIN\\b/ },\n { begin: /\\b(FETCH|MOVE)\\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\\b/ },\n { begin: /\\bPRESERVE\\s+ROWS\\b/ },\n { begin: /\\bDISCARD\\s+PLANS\\b/ },\n { begin: /\\bREFERENCING\\s+(OLD|NEW)\\b/ },\n { begin: /\\bSKIP\\s+LOCKED\\b/ },\n { begin: /\\bGROUPING\\s+SETS\\b/ },\n { begin: /\\b(BINARY|INSENSITIVE|SCROLL|NO\\s+SCROLL)\\s+(CURSOR|FOR)\\b/ },\n { begin: /\\b(WITH|WITHOUT)\\s+HOLD\\b/ },\n { begin: /\\bWITH\\s+(CASCADED|LOCAL)\\s+CHECK\\s+OPTION\\b/ },\n { begin: /\\bEXCLUDE\\s+(TIES|NO\\s+OTHERS)\\b/ },\n { begin: /\\bFORMAT\\s+(TEXT|XML|JSON|YAML)\\b/ },\n { begin: /\\bSET\\s+((SESSION|LOCAL)\\s+)?NAMES\\b/ },\n { begin: /\\bIS\\s+(NOT\\s+)?UNKNOWN\\b/ },\n { begin: /\\bSECURITY\\s+LABEL\\b/ },\n { begin: /\\bSTANDALONE\\s+(YES|NO|NO\\s+VALUE)\\b/ },\n { begin: /\\bWITH\\s+(NO\\s+)?DATA\\b/ },\n { begin: /\\b(FOREIGN|SET)\\s+DATA\\b/ },\n { begin: /\\bSET\\s+(CATALOG|CONSTRAINTS)\\b/ },\n { begin: /\\b(WITH|FOR)\\s+ORDINALITY\\b/ },\n { begin: /\\bIS\\s+(NOT\\s+)?DOCUMENT\\b/ },\n { begin: /\\bXML\\s+OPTION\\s+(DOCUMENT|CONTENT)\\b/ },\n { begin: /\\b(STRIP|PRESERVE)\\s+WHITESPACE\\b/ },\n { begin: /\\bNO\\s+(ACTION|MAXVALUE|MINVALUE)\\b/ },\n { begin: /\\bPARTITION\\s+BY\\s+(RANGE|LIST|HASH)\\b/ },\n { begin: /\\bAT\\s+TIME\\s+ZONE\\b/ },\n { begin: /\\bGRANTED\\s+BY\\b/ },\n { begin: /\\bRETURN\\s+(QUERY|NEXT)\\b/ },\n { begin: /\\b(ATTACH|DETACH)\\s+PARTITION\\b/ },\n { begin: /\\bFORCE\\s+ROW\\s+LEVEL\\s+SECURITY\\b/ },\n { begin: /\\b(INCLUDING|EXCLUDING)\\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\\b/ },\n { begin: /\\bAS\\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\\b/ }\n ]\n },\n // functions named as keywords, followed by '('\n { begin: /\\b(FORMAT|FAMILY|VERSION)\\s*\\(/\n // keywords: { built_in: 'FORMAT FAMILY VERSION' }\n },\n // INCLUDE ( ... ) in index_parameters in CREATE TABLE\n {\n begin: /\\bINCLUDE\\s*\\(/,\n keywords: 'INCLUDE'\n },\n // not highlight RANGE if not in frame_clause (not 100% correct, but seems satisfactory)\n { begin: /\\bRANGE(?!\\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/ },\n // disable highlighting in commands CREATE AGGREGATE/COLLATION/DATABASE/OPERTOR/TEXT SEARCH .../TYPE\n // and in PL/pgSQL RAISE ... USING\n { begin: /\\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\\s*=/ },\n // PG_smth; HAS_some_PRIVILEGE\n {\n // className: 'built_in',\n begin: /\\b(PG_\\w+?|HAS_[A-Z_]+_PRIVILEGE)\\b/,\n relevance: 10\n },\n // extract\n {\n begin: /\\bEXTRACT\\s*\\(/,\n end: /\\bFROM\\b/,\n returnEnd: true,\n keywords: {\n // built_in: 'EXTRACT',\n type: 'CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS '\n + 'MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR '\n + 'TIMEZONE_MINUTE WEEK YEAR' }\n },\n // xmlelement, xmlpi - special NAME\n {\n begin: /\\b(XMLELEMENT|XMLPI)\\s*\\(\\s*NAME/,\n keywords: {\n // built_in: 'XMLELEMENT XMLPI',\n keyword: 'NAME' }\n },\n // xmlparse, xmlserialize\n {\n begin: /\\b(XMLPARSE|XMLSERIALIZE)\\s*\\(\\s*(DOCUMENT|CONTENT)/,\n keywords: {\n // built_in: 'XMLPARSE XMLSERIALIZE',\n keyword: 'DOCUMENT CONTENT' }\n },\n // Sequences. We actually skip everything between CACHE|INCREMENT|MAXVALUE|MINVALUE and\n // nearest following numeric constant. Without with trick we find a lot of \"keywords\"\n // in 'avrasm' autodetection test...\n {\n beginKeywords: 'CACHE INCREMENT MAXVALUE MINVALUE',\n end: hljs.C_NUMBER_RE,\n returnEnd: true,\n keywords: 'BY CACHE INCREMENT MAXVALUE MINVALUE'\n },\n // WITH|WITHOUT TIME ZONE as part of datatype\n {\n className: 'type',\n begin: /\\b(WITH|WITHOUT)\\s+TIME\\s+ZONE\\b/\n },\n // INTERVAL optional fields\n {\n className: 'type',\n begin: /\\bINTERVAL\\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\\s+TO\\s+(MONTH|HOUR|MINUTE|SECOND))?\\b/\n },\n // Pseudo-types which allowed only as return type\n {\n begin: /\\bRETURNS\\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\\b/,\n keywords: {\n keyword: 'RETURNS',\n type: 'LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER'\n }\n },\n // Known functions - only when followed by '('\n { begin: '\\\\b(' + FUNCTIONS_RE + ')\\\\s*\\\\('\n // keywords: { built_in: FUNCTIONS }\n },\n // Types\n { begin: '\\\\.(' + TYPES_RE + ')\\\\b' // prevent highlight as type, say, 'oid' in 'pgclass.oid'\n },\n {\n begin: '\\\\b(' + TYPES_RE + ')\\\\s+PATH\\\\b', // in XMLTABLE\n keywords: {\n keyword: 'PATH', // hopefully no one would use PATH type in XMLTABLE...\n type: TYPES.replace('PATH ', '')\n }\n },\n {\n className: 'type',\n begin: '\\\\b(' + TYPES_RE + ')\\\\b'\n },\n // Strings, see https://www.postgresql.org/docs/11/static/sql-syntax-lexical.html#SQL-SYNTAX-CONSTANTS\n {\n className: 'string',\n begin: '\\'',\n end: '\\'',\n contains: [ { begin: '\\'\\'' } ]\n },\n {\n className: 'string',\n begin: '(e|E|u&|U&)\\'',\n end: '\\'',\n contains: [ { begin: '\\\\\\\\.' } ],\n relevance: 10\n },\n hljs.END_SAME_AS_BEGIN({\n begin: DOLLAR_STRING,\n end: DOLLAR_STRING,\n contains: [\n {\n // actually we want them all except SQL; listed are those with known implementations\n // and XML + JSON just in case\n subLanguage: [\n 'pgsql',\n 'perl',\n 'python',\n 'tcl',\n 'r',\n 'lua',\n 'java',\n 'php',\n 'ruby',\n 'bash',\n 'scheme',\n 'xml',\n 'json'\n ],\n endsWithParent: true\n }\n ]\n }),\n // identifiers in quotes\n {\n begin: '\"',\n end: '\"',\n contains: [ { begin: '\"\"' } ]\n },\n // numbers\n hljs.C_NUMBER_MODE,\n // comments\n hljs.C_BLOCK_COMMENT_MODE,\n COMMENT_MODE,\n // PL/pgSQL staff\n // %ROWTYPE, %TYPE, $n\n {\n className: 'meta',\n variants: [\n { // %TYPE, %ROWTYPE\n begin: '%(ROW)?TYPE',\n relevance: 10\n },\n { // $n\n begin: '\\\\$\\\\d+' },\n { // #compiler option\n begin: '^#\\\\w',\n end: '$'\n }\n ]\n },\n // <>\n {\n className: 'symbol',\n begin: LABEL,\n relevance: 10\n }\n ]\n };\n}\n\nmodule.exports = pgsql;\n","module.exports = __webpack_public_path__ + \"img/ovhcloudmks.ccb13957.svg\";","/*\nLanguage: YAML\nDescription: Yet Another Markdown Language\nAuthor: Stefan Wienert \nContributors: Carl Baxter \nRequires: ruby.js\nWebsite: https://yaml.org\nCategory: common, config\n*/\nfunction yaml(hljs) {\n const LITERALS = 'true false yes no null';\n\n // YAML spec allows non-reserved URI characters in tags.\n const URI_CHARACTERS = '[\\\\w#;/?:@&=+$,.~*\\'()[\\\\]]+';\n\n // Define keys as starting with a word character\n // ...containing word chars, spaces, colons, forward-slashes, hyphens and periods\n // ...and ending with a colon followed immediately by a space, tab or newline.\n // The YAML spec allows for much more than this, but this covers most use-cases.\n const KEY = {\n className: 'attr',\n variants: [\n { begin: '\\\\w[\\\\w :\\\\/.-]*:(?=[ \\t]|$)' },\n { // double quoted keys\n begin: '\"\\\\w[\\\\w :\\\\/.-]*\":(?=[ \\t]|$)' },\n { // single quoted keys\n begin: '\\'\\\\w[\\\\w :\\\\/.-]*\\':(?=[ \\t]|$)' }\n ]\n };\n\n const TEMPLATE_VARIABLES = {\n className: 'template-variable',\n variants: [\n { // jinja templates Ansible\n begin: /\\{\\{/,\n end: /\\}\\}/\n },\n { // Ruby i18n\n begin: /%\\{/,\n end: /\\}/\n }\n ]\n };\n const STRING = {\n className: 'string',\n relevance: 0,\n variants: [\n {\n begin: /'/,\n end: /'/\n },\n {\n begin: /\"/,\n end: /\"/\n },\n { begin: /\\S+/ }\n ],\n contains: [\n hljs.BACKSLASH_ESCAPE,\n TEMPLATE_VARIABLES\n ]\n };\n\n // Strings inside of value containers (objects) can't contain braces,\n // brackets, or commas\n const CONTAINER_STRING = hljs.inherit(STRING, { variants: [\n {\n begin: /'/,\n end: /'/\n },\n {\n begin: /\"/,\n end: /\"/\n },\n { begin: /[^\\s,{}[\\]]+/ }\n ] });\n\n const DATE_RE = '[0-9]{4}(-[0-9][0-9]){0,2}';\n const TIME_RE = '([Tt \\\\t][0-9][0-9]?(:[0-9][0-9]){2})?';\n const FRACTION_RE = '(\\\\.[0-9]*)?';\n const ZONE_RE = '([ \\\\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?';\n const TIMESTAMP = {\n className: 'number',\n begin: '\\\\b' + DATE_RE + TIME_RE + FRACTION_RE + ZONE_RE + '\\\\b'\n };\n\n const VALUE_CONTAINER = {\n end: ',',\n endsWithParent: true,\n excludeEnd: true,\n keywords: LITERALS,\n relevance: 0\n };\n const OBJECT = {\n begin: /\\{/,\n end: /\\}/,\n contains: [ VALUE_CONTAINER ],\n illegal: '\\\\n',\n relevance: 0\n };\n const ARRAY = {\n begin: '\\\\[',\n end: '\\\\]',\n contains: [ VALUE_CONTAINER ],\n illegal: '\\\\n',\n relevance: 0\n };\n\n const MODES = [\n KEY,\n {\n className: 'meta',\n begin: '^---\\\\s*$',\n relevance: 10\n },\n { // multi line string\n // Blocks start with a | or > followed by a newline\n //\n // Indentation of subsequent lines must be the same to\n // be considered part of the block\n className: 'string',\n begin: '[\\\\|>]([1-9]?[+-])?[ ]*\\\\n( +)[^ ][^\\\\n]*\\\\n(\\\\2[^\\\\n]+\\\\n?)*'\n },\n { // Ruby/Rails erb\n begin: '<%[%=-]?',\n end: '[%-]?%>',\n subLanguage: 'ruby',\n excludeBegin: true,\n excludeEnd: true,\n relevance: 0\n },\n { // named tags\n className: 'type',\n begin: '!\\\\w+!' + URI_CHARACTERS\n },\n // https://yaml.org/spec/1.2/spec.html#id2784064\n { // verbatim tags\n className: 'type',\n begin: '!<' + URI_CHARACTERS + \">\"\n },\n { // primary tags\n className: 'type',\n begin: '!' + URI_CHARACTERS\n },\n { // secondary tags\n className: 'type',\n begin: '!!' + URI_CHARACTERS\n },\n { // fragment id &ref\n className: 'meta',\n begin: '&' + hljs.UNDERSCORE_IDENT_RE + '$'\n },\n { // fragment reference *ref\n className: 'meta',\n begin: '\\\\*' + hljs.UNDERSCORE_IDENT_RE + '$'\n },\n { // array listing\n className: 'bullet',\n // TODO: remove |$ hack when we have proper look-ahead support\n begin: '-(?=[ ]|$)',\n relevance: 0\n },\n hljs.HASH_COMMENT_MODE,\n {\n beginKeywords: LITERALS,\n keywords: { literal: LITERALS }\n },\n TIMESTAMP,\n // numbers are any valid C-style number that\n // sit isolated from other words\n {\n className: 'number',\n begin: hljs.C_NUMBER_RE + '\\\\b',\n relevance: 0\n },\n OBJECT,\n ARRAY,\n STRING\n ];\n\n const VALUE_MODES = [ ...MODES ];\n VALUE_MODES.pop();\n VALUE_MODES.push(CONTAINER_STRING);\n VALUE_CONTAINER.contains = VALUE_MODES;\n\n return {\n name: 'YAML',\n case_insensitive: true,\n aliases: [ 'yml' ],\n contains: MODES\n };\n}\n\nmodule.exports = yaml;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".cru-resource-yaml-container .resource-yaml .yaml-editor[data-v-8082eba2]{min-height:100px}.create-resource-container .resource-container[data-v-8082eba2]{display:flex;flex-direction:column}.create-resource-container .subtype-banner .round-image[data-v-8082eba2]{background-color:var(--primary)}.title[data-v-8082eba2]{margin-top:20px}.title.with-description[data-v-8082eba2]{margin-top:0}.subtype-container[data-v-8082eba2]{position:relative;display:flex;height:100%}.subtype-body[data-v-8082eba2]{flex:1;padding:10px}.subtype-logo[data-v-8082eba2]{align-items:center;display:flex;justify-content:center;min-width:100px;min-height:100px;overflow:hidden;background-color:var(--box-bg)}.subtype-logo img[data-v-8082eba2]{width:56px;height:56px;-o-object-fit:contain;object-fit:contain;position:relative;top:2px}form.create-resource-container .cru__footer[data-v-8082eba2]{border-top:var(--header-border-size) solid var(--header-border)}.cru[data-v-8082eba2],.cru__form[data-v-8082eba2]{display:flex;flex-direction:column;flex-grow:1}.cru__content[data-v-8082eba2]{flex-grow:1}.cru__content-wizard[data-v-8082eba2]{display:flex}.cru__footer[data-v-8082eba2]{right:0;bottom:0;margin-left:-20px;margin-right:-20px;margin-bottom:-20px;padding:10px 20px}.cru__errors[data-v-8082eba2],.cru__footer[data-v-8082eba2]{position:sticky;background-color:var(--header-bg)}.cru__errors[data-v-8082eba2]{top:0;z-index:1;margin:10px 0}.description[data-v-8082eba2]{margin-bottom:15px;margin-top:5px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","export * from \"-!../../../../vue-style-loader/index.js??ref--10-oneOf-1-0!../../../../@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../../sass-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./KeyValue.vue?vue&type=style&index=0&id=0c22da1d&prod&lang=scss&\"","// style-loader: Adds some css to the DOM by adding a \n","import mod from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./CodeMirror.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./CodeMirror.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CodeMirror.vue?vue&type=template&id=5390b64f&\"\nimport script from \"./CodeMirror.vue?vue&type=script&lang=js&\"\nexport * from \"./CodeMirror.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CodeMirror.vue?vue&type=style&index=0&id=5390b64f&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/baidu.59230de0.svg\";","export { default as LabeledInput } from './LabeledInput.vue';\n","module.exports = __webpack_public_path__ + \"img/oracleoke-black.aaa9e8cf.svg\";","module.exports = __webpack_public_path__ + \"img/oracleoke.ddaa8a0e.svg\";","export * from \"-!../../../vue-style-loader/index.js??ref--10-oneOf-1-0!../../../@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../sass-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./YamlEditor.vue?vue&type=style&index=0&id=93239522&prod&lang=scss&scoped=true&\"","// style-loader: Adds some css to the DOM by adding a \n","import mod from \"-!../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ArrayList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ArrayList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ArrayList.vue?vue&type=template&id=0fc06aaa&scoped=true&\"\nimport script from \"./ArrayList.vue?vue&type=script&lang=js&\"\nexport * from \"./ArrayList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ArrayList.vue?vue&type=style&index=0&id=0fc06aaa&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0fc06aaa\",\n null\n \n)\n\nexport default component.exports","/*\nLanguage: Dart\nRequires: markdown.js\nAuthor: Maxim Dikun \nDescription: Dart a modern, object-oriented language developed by Google. For more information see https://www.dartlang.org/\nWebsite: https://dart.dev\nCategory: scripting\n*/\n\n/** @type LanguageFn */\nfunction dart(hljs) {\n const SUBST = {\n className: 'subst',\n variants: [ { begin: '\\\\$[A-Za-z0-9_]+' } ]\n };\n\n const BRACED_SUBST = {\n className: 'subst',\n variants: [\n {\n begin: /\\$\\{/,\n end: /\\}/\n }\n ],\n keywords: 'true false null this is new super'\n };\n\n const STRING = {\n className: 'string',\n variants: [\n {\n begin: 'r\\'\\'\\'',\n end: '\\'\\'\\''\n },\n {\n begin: 'r\"\"\"',\n end: '\"\"\"'\n },\n {\n begin: 'r\\'',\n end: '\\'',\n illegal: '\\\\n'\n },\n {\n begin: 'r\"',\n end: '\"',\n illegal: '\\\\n'\n },\n {\n begin: '\\'\\'\\'',\n end: '\\'\\'\\'',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST,\n BRACED_SUBST\n ]\n },\n {\n begin: '\"\"\"',\n end: '\"\"\"',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST,\n BRACED_SUBST\n ]\n },\n {\n begin: '\\'',\n end: '\\'',\n illegal: '\\\\n',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST,\n BRACED_SUBST\n ]\n },\n {\n begin: '\"',\n end: '\"',\n illegal: '\\\\n',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST,\n BRACED_SUBST\n ]\n }\n ]\n };\n BRACED_SUBST.contains = [\n hljs.C_NUMBER_MODE,\n STRING\n ];\n\n const BUILT_IN_TYPES = [\n // dart:core\n 'Comparable',\n 'DateTime',\n 'Duration',\n 'Function',\n 'Iterable',\n 'Iterator',\n 'List',\n 'Map',\n 'Match',\n 'Object',\n 'Pattern',\n 'RegExp',\n 'Set',\n 'Stopwatch',\n 'String',\n 'StringBuffer',\n 'StringSink',\n 'Symbol',\n 'Type',\n 'Uri',\n 'bool',\n 'double',\n 'int',\n 'num',\n // dart:html\n 'Element',\n 'ElementList'\n ];\n const NULLABLE_BUILT_IN_TYPES = BUILT_IN_TYPES.map((e) => `${e}?`);\n\n const BASIC_KEYWORDS = [\n \"abstract\",\n \"as\",\n \"assert\",\n \"async\",\n \"await\",\n \"break\",\n \"case\",\n \"catch\",\n \"class\",\n \"const\",\n \"continue\",\n \"covariant\",\n \"default\",\n \"deferred\",\n \"do\",\n \"dynamic\",\n \"else\",\n \"enum\",\n \"export\",\n \"extends\",\n \"extension\",\n \"external\",\n \"factory\",\n \"false\",\n \"final\",\n \"finally\",\n \"for\",\n \"Function\",\n \"get\",\n \"hide\",\n \"if\",\n \"implements\",\n \"import\",\n \"in\",\n \"inferface\",\n \"is\",\n \"late\",\n \"library\",\n \"mixin\",\n \"new\",\n \"null\",\n \"on\",\n \"operator\",\n \"part\",\n \"required\",\n \"rethrow\",\n \"return\",\n \"set\",\n \"show\",\n \"static\",\n \"super\",\n \"switch\",\n \"sync\",\n \"this\",\n \"throw\",\n \"true\",\n \"try\",\n \"typedef\",\n \"var\",\n \"void\",\n \"while\",\n \"with\",\n \"yield\"\n ];\n\n const KEYWORDS = {\n keyword: BASIC_KEYWORDS,\n built_in:\n BUILT_IN_TYPES\n .concat(NULLABLE_BUILT_IN_TYPES)\n .concat([\n // dart:core\n 'Never',\n 'Null',\n 'dynamic',\n 'print',\n // dart:html\n 'document',\n 'querySelector',\n 'querySelectorAll',\n 'window'\n ]),\n $pattern: /[A-Za-z][A-Za-z0-9_]*\\??/\n };\n\n return {\n name: 'Dart',\n keywords: KEYWORDS,\n contains: [\n STRING,\n hljs.COMMENT(\n /\\/\\*\\*(?!\\/)/,\n /\\*\\//,\n {\n subLanguage: 'markdown',\n relevance: 0\n }\n ),\n hljs.COMMENT(\n /\\/{3,} ?/,\n /$/, { contains: [\n {\n subLanguage: 'markdown',\n begin: '.',\n end: '$',\n relevance: 0\n }\n ] }\n ),\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n {\n className: 'class',\n beginKeywords: 'class interface',\n end: /\\{/,\n excludeEnd: true,\n contains: [\n { beginKeywords: 'extends implements' },\n hljs.UNDERSCORE_TITLE_MODE\n ]\n },\n hljs.C_NUMBER_MODE,\n {\n className: 'meta',\n begin: '@[A-Za-z]+'\n },\n { begin: '=>' // No markup, just a relevance booster\n }\n ]\n };\n}\n\nmodule.exports = dart;\n","// style-loader: Adds some css to the DOM by adding a \n","import mod from \"-!../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./Select.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./Select.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Select.vue?vue&type=template&id=55a8f708&scoped=true&\"\nimport script from \"./Select.vue?vue&type=script&lang=js&\"\nexport * from \"./Select.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Select.vue?vue&type=style&index=0&id=55a8f708&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"55a8f708\",\n null\n \n)\n\nexport default component.exports","\n\n \n \n \n \n {{ addLabel }}\n \n \n \n \n \n\n\n\n","import mod from \"-!../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./KeyValue.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./KeyValue.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./KeyValue.vue?vue&type=template&id=0c22da1d&\"\nimport script from \"./KeyValue.vue?vue&type=script&lang=js&\"\nexport * from \"./KeyValue.vue?vue&type=script&lang=js&\"\nimport style0 from \"./KeyValue.vue?vue&type=style&index=0&id=0c22da1d&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/openstack-black.46740f63.svg\";","module.exports = __webpack_public_path__ + \"img/local-cluster.c77b2023.svg\";","\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.html = exports.parse = exports.defaultDiff2HtmlConfig = void 0;\nvar DiffParser = __importStar(require(\"./diff-parser\"));\nvar fileListPrinter = __importStar(require(\"./file-list-renderer\"));\nvar line_by_line_renderer_1 = __importStar(require(\"./line-by-line-renderer\"));\nvar side_by_side_renderer_1 = __importStar(require(\"./side-by-side-renderer\"));\nvar types_1 = require(\"./types\");\nvar hoganjs_utils_1 = __importDefault(require(\"./hoganjs-utils\"));\nexports.defaultDiff2HtmlConfig = __assign(__assign(__assign({}, line_by_line_renderer_1.defaultLineByLineRendererConfig), side_by_side_renderer_1.defaultSideBySideRendererConfig), { outputFormat: types_1.OutputFormatType.LINE_BY_LINE, drawFileList: true });\nfunction parse(diffInput, configuration) {\n if (configuration === void 0) { configuration = {}; }\n return DiffParser.parse(diffInput, __assign(__assign({}, exports.defaultDiff2HtmlConfig), configuration));\n}\nexports.parse = parse;\nfunction html(diffInput, configuration) {\n if (configuration === void 0) { configuration = {}; }\n var config = __assign(__assign({}, exports.defaultDiff2HtmlConfig), configuration);\n var diffJson = typeof diffInput === 'string' ? DiffParser.parse(diffInput, config) : diffInput;\n var hoganUtils = new hoganjs_utils_1.default(config);\n var fileList = config.drawFileList ? fileListPrinter.render(diffJson, hoganUtils) : '';\n var diffOutput = config.outputFormat === 'side-by-side'\n ? new side_by_side_renderer_1.default(hoganUtils, config).render(diffJson)\n : new line_by_line_renderer_1.default(hoganUtils, config).render(diffJson);\n return fileList + diffOutput;\n}\nexports.html = html;\n//# sourceMappingURL=diff2html.js.map","export * from \"-!../../../vue-style-loader/index.js??ref--10-oneOf-1-0!../../../@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../sass-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./CruResourceFooter.vue?vue&type=style&index=0&id=3e3d0b47&prod&lang=scss&\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".key-value{width:100%}.key-value .file-selector.role-link{text-transform:none;padding:0}.key-value .kv-container{display:grid;align-items:center;-moz-column-gap:20px;column-gap:20px}.key-value .kv-container label{margin-bottom:0}.key-value .kv-container .kv-item{width:100%;margin:10px 0 10px 0}.key-value .kv-container .kv-item.extra,.key-value .kv-container .kv-item.key{align-self:flex-start}.key-value .kv-container .kv-item.value .value-container.upload-button{position:relative;display:flex;justify-content:right;align-items:center}.key-value .kv-container .kv-item.value .value-container .file-selector{position:absolute;margin-right:5px}.key-value .kv-container .kv-item.value textarea{padding:10px 10px 10px 10px}.key-value .kv-container .kv-item .text-monospace:not(.conceal){font-family:monospace,monospace}.key-value .remove{text-align:center}.key-value .remove BUTTON{padding:0}.key-value .title{margin-bottom:10px}.key-value .title .read-from-file{float:right}.key-value input{height:40px;line-height:1}.key-value .footer .protip{float:right;padding:5px 0}.key-value .download{text-align:right}.key-value .copy-value{padding:0 0 0 10px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","module.exports = __webpack_public_path__ + \"img/packet.5fce6e98.svg\";","// style-loader: Adds some css to the DOM by adding a \n","import mod from \"-!../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectCredential.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectCredential.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SelectCredential.vue?vue&type=template&id=6508537a&scoped=true&\"\nimport script from \"./SelectCredential.vue?vue&type=script&lang=js&\"\nexport * from \"./SelectCredential.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SelectCredential.vue?vue&type=style&index=0&id=6508537a&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6508537a\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/custom.73e585f1.svg\";","/*\nLanguage: Gradle\nDescription: Gradle is an open-source build automation tool focused on flexibility and performance.\nWebsite: https://gradle.org\nAuthor: Damian Mee \n*/\n\nfunction gradle(hljs) {\n const KEYWORDS = [\n \"task\",\n \"project\",\n \"allprojects\",\n \"subprojects\",\n \"artifacts\",\n \"buildscript\",\n \"configurations\",\n \"dependencies\",\n \"repositories\",\n \"sourceSets\",\n \"description\",\n \"delete\",\n \"from\",\n \"into\",\n \"include\",\n \"exclude\",\n \"source\",\n \"classpath\",\n \"destinationDir\",\n \"includes\",\n \"options\",\n \"sourceCompatibility\",\n \"targetCompatibility\",\n \"group\",\n \"flatDir\",\n \"doLast\",\n \"doFirst\",\n \"flatten\",\n \"todir\",\n \"fromdir\",\n \"ant\",\n \"def\",\n \"abstract\",\n \"break\",\n \"case\",\n \"catch\",\n \"continue\",\n \"default\",\n \"do\",\n \"else\",\n \"extends\",\n \"final\",\n \"finally\",\n \"for\",\n \"if\",\n \"implements\",\n \"instanceof\",\n \"native\",\n \"new\",\n \"private\",\n \"protected\",\n \"public\",\n \"return\",\n \"static\",\n \"switch\",\n \"synchronized\",\n \"throw\",\n \"throws\",\n \"transient\",\n \"try\",\n \"volatile\",\n \"while\",\n \"strictfp\",\n \"package\",\n \"import\",\n \"false\",\n \"null\",\n \"super\",\n \"this\",\n \"true\",\n \"antlrtask\",\n \"checkstyle\",\n \"codenarc\",\n \"copy\",\n \"boolean\",\n \"byte\",\n \"char\",\n \"class\",\n \"double\",\n \"float\",\n \"int\",\n \"interface\",\n \"long\",\n \"short\",\n \"void\",\n \"compile\",\n \"runTime\",\n \"file\",\n \"fileTree\",\n \"abs\",\n \"any\",\n \"append\",\n \"asList\",\n \"asWritable\",\n \"call\",\n \"collect\",\n \"compareTo\",\n \"count\",\n \"div\",\n \"dump\",\n \"each\",\n \"eachByte\",\n \"eachFile\",\n \"eachLine\",\n \"every\",\n \"find\",\n \"findAll\",\n \"flatten\",\n \"getAt\",\n \"getErr\",\n \"getIn\",\n \"getOut\",\n \"getText\",\n \"grep\",\n \"immutable\",\n \"inject\",\n \"inspect\",\n \"intersect\",\n \"invokeMethods\",\n \"isCase\",\n \"join\",\n \"leftShift\",\n \"minus\",\n \"multiply\",\n \"newInputStream\",\n \"newOutputStream\",\n \"newPrintWriter\",\n \"newReader\",\n \"newWriter\",\n \"next\",\n \"plus\",\n \"pop\",\n \"power\",\n \"previous\",\n \"print\",\n \"println\",\n \"push\",\n \"putAt\",\n \"read\",\n \"readBytes\",\n \"readLines\",\n \"reverse\",\n \"reverseEach\",\n \"round\",\n \"size\",\n \"sort\",\n \"splitEachLine\",\n \"step\",\n \"subMap\",\n \"times\",\n \"toInteger\",\n \"toList\",\n \"tokenize\",\n \"upto\",\n \"waitForOrKill\",\n \"withPrintWriter\",\n \"withReader\",\n \"withStream\",\n \"withWriter\",\n \"withWriterAppend\",\n \"write\",\n \"writeLine\"\n ];\n return {\n name: 'Gradle',\n case_insensitive: true,\n keywords: KEYWORDS,\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n hljs.NUMBER_MODE,\n hljs.REGEXP_MODE\n\n ]\n };\n}\n\nmodule.exports = gradle;\n","var baseSlice = require('./_baseSlice');\n\n/**\n * Casts `array` to a slice if it's needed.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {number} start The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the cast slice.\n */\nfunction castSlice(array, start, end) {\n var length = array.length;\n end = end === undefined ? length : end;\n return (!start && end >= length) ? array : baseSlice(array, start, end);\n}\n\nmodule.exports = castSlice;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".unlabeled-select[data-v-55a8f708]{position:relative}.unlabeled-select[data-v-55a8f708] .v-select.select-input-view .vs__actions{visibility:hidden}.unlabeled-select .vs--multiple[data-v-55a8f708] .vs__selected-options .vs__selected{width:auto}.unlabeled-select[data-v-55a8f708] .labeled-tooltip.error .status-icon{top:7px;right:2px}.unlabeled-select[data-v-55a8f708] .vs__selected-options{display:flex;margin:3px}.unlabeled-select[data-v-55a8f708] .vs__selected-options .vs__selected{width:auto}.unlabeled-select[data-v-55a8f708] .v-select.vs--open .vs__dropdown-toggle{color:var(--outline)!important}.unlabeled-select.focused.success[data-v-55a8f708],.unlabeled-select.success[data-v-55a8f708]{border:solid 1px var(--success)}.unlabeled-select.focused.success .selected[data-v-55a8f708],.unlabeled-select.focused.success .vs__actions[data-v-55a8f708]:after,.unlabeled-select.focused.success input[data-v-55a8f708],.unlabeled-select.success .selected[data-v-55a8f708],.unlabeled-select.success .vs__actions[data-v-55a8f708]:after,.unlabeled-select.success input[data-v-55a8f708]{color:var(--success)}.unlabeled-select.focused.warning[data-v-55a8f708],.unlabeled-select.warning[data-v-55a8f708]{border:solid 1px var(--warning)}.unlabeled-select.focused.warning .selected[data-v-55a8f708],.unlabeled-select.focused.warning .vs__actions[data-v-55a8f708]:after,.unlabeled-select.focused.warning input[data-v-55a8f708],.unlabeled-select.warning .selected[data-v-55a8f708],.unlabeled-select.warning .vs__actions[data-v-55a8f708]:after,.unlabeled-select.warning input[data-v-55a8f708]{color:var(--warning)}.unlabeled-select.error[data-v-55a8f708],.unlabeled-select.focused.error[data-v-55a8f708]{border:solid 1px var(--error)}.unlabeled-select.error .vs__actions[data-v-55a8f708]:after,.unlabeled-select.error>label[data-v-55a8f708],.unlabeled-select.focused.error .vs__actions[data-v-55a8f708]:after,.unlabeled-select.focused.error>label[data-v-55a8f708]{color:var(--error)}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","module.exports = __webpack_public_path__ + \"img/tencenttke-black.58828585.svg\";","module.exports = __webpack_public_path__ + \"img/amazoneks-black.a84e95fa.svg\";","module.exports = __webpack_public_path__ + \"img/rackspace-black.b5378844.svg\";","module.exports = __webpack_public_path__ + \"img/amazonec2.1aa39ab0.svg\";","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \"button[data-v-08979412]{all:unset;height:0;position:relative;top:-35px;float:right;margin-right:7px;cursor:pointer}button .align-value[data-v-08979412]{padding-top:7px}.row.name-ns-description[data-v-08979412]{max-height:61px}.row .namespace-select[data-v-08979412] .labeled-select{min-width:40%}.row .namespace-select[data-v-08979412] .labeled-select .v-select.inline.vs--single{padding-bottom:2px}.row.flip-direction[data-v-08979412]{flex-direction:column}.row.flip-direction.name-ns-description[data-v-08979412]{max-height:none}.row.flip-direction>div>*[data-v-08979412]{margin-bottom:20px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","/*\nLanguage: Objective-C\nAuthor: Valerii Hiora \nContributors: Angel G. Olloqui , Matt Diephouse , Andrew Farmer , Minh Nguyễn \nWebsite: https://developer.apple.com/documentation/objectivec\nCategory: common\n*/\n\nfunction objectivec(hljs) {\n const API_CLASS = {\n className: 'built_in',\n begin: '\\\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\\\w+'\n };\n const IDENTIFIER_RE = /[a-zA-Z@][a-zA-Z0-9_]*/;\n const TYPES = [\n \"int\",\n \"float\",\n \"char\",\n \"unsigned\",\n \"signed\",\n \"short\",\n \"long\",\n \"double\",\n \"wchar_t\",\n \"unichar\",\n \"void\",\n \"bool\",\n \"BOOL\",\n \"id|0\",\n \"_Bool\"\n ];\n const KWS = [\n \"while\",\n \"export\",\n \"sizeof\",\n \"typedef\",\n \"const\",\n \"struct\",\n \"for\",\n \"union\",\n \"volatile\",\n \"static\",\n \"mutable\",\n \"if\",\n \"do\",\n \"return\",\n \"goto\",\n \"enum\",\n \"else\",\n \"break\",\n \"extern\",\n \"asm\",\n \"case\",\n \"default\",\n \"register\",\n \"explicit\",\n \"typename\",\n \"switch\",\n \"continue\",\n \"inline\",\n \"readonly\",\n \"assign\",\n \"readwrite\",\n \"self\",\n \"@synchronized\",\n \"id\",\n \"typeof\",\n \"nonatomic\",\n \"IBOutlet\",\n \"IBAction\",\n \"strong\",\n \"weak\",\n \"copy\",\n \"in\",\n \"out\",\n \"inout\",\n \"bycopy\",\n \"byref\",\n \"oneway\",\n \"__strong\",\n \"__weak\",\n \"__block\",\n \"__autoreleasing\",\n \"@private\",\n \"@protected\",\n \"@public\",\n \"@try\",\n \"@property\",\n \"@end\",\n \"@throw\",\n \"@catch\",\n \"@finally\",\n \"@autoreleasepool\",\n \"@synthesize\",\n \"@dynamic\",\n \"@selector\",\n \"@optional\",\n \"@required\",\n \"@encode\",\n \"@package\",\n \"@import\",\n \"@defs\",\n \"@compatibility_alias\",\n \"__bridge\",\n \"__bridge_transfer\",\n \"__bridge_retained\",\n \"__bridge_retain\",\n \"__covariant\",\n \"__contravariant\",\n \"__kindof\",\n \"_Nonnull\",\n \"_Nullable\",\n \"_Null_unspecified\",\n \"__FUNCTION__\",\n \"__PRETTY_FUNCTION__\",\n \"__attribute__\",\n \"getter\",\n \"setter\",\n \"retain\",\n \"unsafe_unretained\",\n \"nonnull\",\n \"nullable\",\n \"null_unspecified\",\n \"null_resettable\",\n \"class\",\n \"instancetype\",\n \"NS_DESIGNATED_INITIALIZER\",\n \"NS_UNAVAILABLE\",\n \"NS_REQUIRES_SUPER\",\n \"NS_RETURNS_INNER_POINTER\",\n \"NS_INLINE\",\n \"NS_AVAILABLE\",\n \"NS_DEPRECATED\",\n \"NS_ENUM\",\n \"NS_OPTIONS\",\n \"NS_SWIFT_UNAVAILABLE\",\n \"NS_ASSUME_NONNULL_BEGIN\",\n \"NS_ASSUME_NONNULL_END\",\n \"NS_REFINED_FOR_SWIFT\",\n \"NS_SWIFT_NAME\",\n \"NS_SWIFT_NOTHROW\",\n \"NS_DURING\",\n \"NS_HANDLER\",\n \"NS_ENDHANDLER\",\n \"NS_VALUERETURN\",\n \"NS_VOIDRETURN\"\n ];\n const LITERALS = [\n \"false\",\n \"true\",\n \"FALSE\",\n \"TRUE\",\n \"nil\",\n \"YES\",\n \"NO\",\n \"NULL\"\n ];\n const BUILT_INS = [\n \"dispatch_once_t\",\n \"dispatch_queue_t\",\n \"dispatch_sync\",\n \"dispatch_async\",\n \"dispatch_once\"\n ];\n const KEYWORDS = {\n \"variable.language\": [\n \"this\",\n \"super\"\n ],\n $pattern: IDENTIFIER_RE,\n keyword: KWS,\n literal: LITERALS,\n built_in: BUILT_INS,\n type: TYPES\n };\n const CLASS_KEYWORDS = {\n $pattern: IDENTIFIER_RE,\n keyword: [\n \"@interface\",\n \"@class\",\n \"@protocol\",\n \"@implementation\"\n ]\n };\n return {\n name: 'Objective-C',\n aliases: [\n 'mm',\n 'objc',\n 'obj-c',\n 'obj-c++',\n 'objective-c++'\n ],\n keywords: KEYWORDS,\n illegal: '/,\n end: /$/,\n illegal: '\\\\n'\n },\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n },\n {\n className: 'class',\n begin: '(' + CLASS_KEYWORDS.keyword.join('|') + ')\\\\b',\n end: /(\\{|$)/,\n excludeEnd: true,\n keywords: CLASS_KEYWORDS,\n contains: [ hljs.UNDERSCORE_TITLE_MODE ]\n },\n {\n begin: '\\\\.' + hljs.UNDERSCORE_IDENT_RE,\n relevance: 0\n }\n ]\n };\n}\n\nmodule.exports = objectivec;\n","// style-loader: Adds some css to the DOM by adding a \n\n\n","import mod from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./FileDiff.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./FileDiff.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FileDiff.vue?vue&type=template&id=0137ea75&scoped=true&\"\nimport script from \"./FileDiff.vue?vue&type=script&lang=js&\"\nexport * from \"./FileDiff.vue?vue&type=script&lang=js&\"\nimport style0 from \"./FileDiff.vue?vue&type=style&index=0&id=0137ea75&prod&lang=scss&scoped=true&\"\nimport style1 from \"./FileDiff.vue?vue&type=style&index=1&id=0137ea75&prod&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0137ea75\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./YamlEditor.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./YamlEditor.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./YamlEditor.vue?vue&type=template&id=93239522&scoped=true&\"\nimport script from \"./YamlEditor.vue?vue&type=script&lang=js&\"\nexport * from \"./YamlEditor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./YamlEditor.vue?vue&type=style&index=0&id=93239522&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"93239522\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return (!_vm.isView)?_c('div',[_c('div',{staticClass:\"spacer-small\"}),_vm._l((_vm.errors),function(err,idx){return _c('div',{key:idx},[_c('Banner',{attrs:{\"color\":\"error\",\"label\":err}})],1)}),_c('div',{staticClass:\"buttons\"},[_c('div',{staticClass:\"left\"},[_vm._t(\"left\")],2),_c('div',{staticClass:\"right\"},[_vm._t(\"cancel\",function(){return [_c('button',{staticClass:\"btn role-secondary\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.done}},[_c('t',{attrs:{\"k\":\"generic.cancel\"}})],1)]}),_vm._t(\"middle\"),_vm._t(\"save\",function(){return [(!_vm.isView)?_c('AsyncButton',{attrs:{\"mode\":_vm.mode,\"disabled\":_vm.disableSave},on:{\"click\":_vm.save}}):_vm._e()]}),_vm._t(\"right\")],2)])],2):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport Vue from 'vue';\nimport { _VIEW } from '@shell/config/query-params';\nimport AsyncButton, { AsyncButtonCallback } from '@shell/components/AsyncButton.vue';\nimport Banner from '@components/Banner/Banner.vue';\n\nexport default Vue.extend({\n components: { AsyncButton, Banner },\n\n props: {\n /**\n * Current mode of the page\n * passed to asyncButton to determine lables of the button\n */\n mode: {\n type: String,\n required: true,\n },\n\n errors: {\n type: Array,\n default: null,\n },\n\n disableSave: {\n type: Boolean,\n default: false,\n }\n },\n\n computed: {\n isView(): boolean {\n return this.mode === _VIEW;\n },\n },\n\n methods: {\n save(buttonCb: AsyncButtonCallback) {\n this.$emit('save', buttonCb);\n },\n\n done() {\n this.$emit('done');\n }\n }\n});\n","import mod from \"-!../../../../cache-loader/dist/cjs.js??ref--15-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../ts-loader/index.js??ref--15-3!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./Footer.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../cache-loader/dist/cjs.js??ref--15-0!../../../../thread-loader/dist/cjs.js!../../../../babel-loader/lib/index.js!../../../../ts-loader/index.js??ref--15-3!../../../../cache-loader/dist/cjs.js??ref--2-0!../../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./Footer.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Footer.vue?vue&type=template&id=7a533750&\"\nimport script from \"./Footer.vue?vue&type=script&lang=ts&\"\nexport * from \"./Footer.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Footer.vue?vue&type=style&index=0&id=7a533750&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n","import mod from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ResourceYaml.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ResourceYaml.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ResourceYaml.vue?vue&type=template&id=1a42fcca&scoped=true&\"\nimport script from \"./ResourceYaml.vue?vue&type=script&lang=js&\"\nexport * from \"./ResourceYaml.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ResourceYaml.vue?vue&type=style&index=0&id=1a42fcca&prod&lang=scss&scoped=true&\"\nimport style1 from \"./ResourceYaml.vue?vue&type=style&index=1&id=1a42fcca&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1a42fcca\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"cru-resource-footer\"},[_vm._t(\"footer-prefix\"),_vm._t(\"cancel\",function(){return [(!_vm.isView && _vm.showCancel)?_c('button',{staticClass:\"btn role-secondary\",attrs:{\"id\":\"cru-cancel\",\"data-testid\":_vm.componentTestid + '-cancel',\"type\":\"button\"},on:{\"click\":function($event){_vm.confirmCancelRequired ? _vm.checkCancel(true) : _vm.$emit('cancel-confirmed', true)}}},[_c('t',{attrs:{\"k\":\"generic.cancel\"}})],1):_vm._e()]}),_vm._t(\"default\",function(){return [(!_vm.isView)?_c('AsyncButton',{attrs:{\"data-testid\":_vm.componentTestid + '-create',\"mode\":_vm.finishButtonMode || _vm.mode},on:{\"click\":function($event){return _vm.$emit('finish', $event)}}}):_vm._e()]},{\"checkCancel\":_vm.checkCancel}),_c('ResourceCancelModal',{ref:\"cancelModal\",attrs:{\"is-cancel-modal\":_vm.isCancelModal,\"is-form\":_vm.isForm},on:{\"confirm-cancel\":function($event){return _vm.confirmCancel($event)}}})],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('modal',{staticClass:\"confirm-modal\",attrs:{\"name\":\"cancel-modal\",\"width\":440,\"height\":\"auto\"}},[_c('div',{staticClass:\"header\"},[_c('h4',{staticClass:\"text-default-text\"},[(_vm.isCancelModal)?_c('t',{attrs:{\"k\":\"generic.cancel\"}}):_c('span',[_vm._v(_vm._s(_vm.t(\"cruResource.backToForm\")))])],1)]),_c('div',{staticClass:\"body\"},[(_vm.isCancelModal)?_c('p',[_c('t',{attrs:{\"k\":\"cruResource.cancelBody\"}})],1):_c('p',[_c('t',{attrs:{\"k\":\"cruResource.backBody\"}})],1)]),_c('div',{staticClass:\"footer\"},[_c('button',{staticClass:\"btn role-secondary\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.cancelCancel}},[_vm._v(\" \"+_vm._s(_vm.isForm ? _vm.t(\"cruResource.reviewForm\") : _vm.t(\"cruResource.reviewYaml\"))+\" \")]),_c('button',{staticClass:\"btn role-primary\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.confirmCancel}},[(_vm.isCancelModal)?_c('span',[_vm._v(_vm._s(_vm.t(\"cruResource.confirmCancel\")))]):_c('span',[_vm._v(_vm._s(_vm.t(\"cruResource.confirmBack\")))])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ResourceCancelModal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./ResourceCancelModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ResourceCancelModal.vue?vue&type=template&id=7090e1b4&scoped=true&\"\nimport script from \"./ResourceCancelModal.vue?vue&type=script&lang=js&\"\nexport * from \"./ResourceCancelModal.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ResourceCancelModal.vue?vue&type=style&index=0&id=7090e1b4&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7090e1b4\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./CruResourceFooter.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./CruResourceFooter.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CruResourceFooter.vue?vue&type=template&id=3e3d0b47&\"\nimport script from \"./CruResourceFooter.vue?vue&type=script&lang=js&\"\nexport * from \"./CruResourceFooter.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CruResourceFooter.vue?vue&type=style&index=0&id=3e3d0b47&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:\"wizard\",staticClass:\"outer-container\"},[(!_vm.stepsLoaded)?_c('Loading',{attrs:{\"mode\":\"relative\"}}):_vm._e(),_c('div',{staticClass:\"outer-container\",class:{'hide': !_vm.stepsLoaded}},[_c('div',{staticClass:\"header\"},[_c('div',{staticClass:\"title\"},[(_vm.showBanner)?_c('div',{staticClass:\"top choice-banner\"},[(!!_vm.bannerImage || !!_vm.bannerTitle)?_vm._t(\"bannerTitle\",function(){return [_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.initialTitle || _vm.activeStepIndex > 0),expression:\"initialTitle || activeStepIndex > 0\"}],staticClass:\"title\"},[_vm._t(\"bannerTitleImage\",function(){return [(_vm.bannerImage)?_c('div',{staticClass:\"round-image\"},[_c('LazyImage',{staticClass:\"logo\",attrs:{\"src\":_vm.bannerImage}})],1):_vm._e()]}),_c('div',{staticClass:\"subtitle\"},[(_vm.bannerTitle)?_c('h2',[_vm._v(\" \"+_vm._s(_vm.bannerTitle)+\" \")]):_vm._e(),(_vm.bannerTitleSubtext)?_c('span',{staticClass:\"subtext\"},[_vm._v(_vm._s(_vm.bannerTitleSubtext))]):_vm._e()])],2)]}):_vm._e(),(_vm.activeStep && _vm.showSteps)?_c('div',{staticClass:\"subtitle\"},[_c('h2',[_vm._v(_vm._s(!!_vm.headerMode ? _vm.t(`wizard.${_vm.headerMode}`) : _vm.t(`asyncButton.${_vm.finishMode}.action`))+\": \"+_vm._s(_vm.t('wizard.step', {number:_vm.activeStepIndex+1})))]),_vm._t(\"bannerSubtext\",function(){return [(_vm.activeStep.subtext !== null)?_c('span',{staticClass:\"subtext\"},[_vm._v(_vm._s(_vm.activeStep.subtext || _vm.activeStep.label))]):_vm._e()]})],2):_vm._e()],2):_vm._e(),_c('div',{staticClass:\"step-sequence\"},[(_vm.showSteps)?_c('ul',{staticClass:\"steps\",attrs:{\"tabindex\":\"0\"},on:{\"keyup\":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"right\",39,$event.key,[\"Right\",\"ArrowRight\"]))return null;if('button' in $event && $event.button !== 2)return null;$event.stopPropagation();return _vm.selectNext(1)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"left\",37,$event.key,[\"Left\",\"ArrowLeft\"]))return null;if('button' in $event && $event.button !== 0)return null;$event.stopPropagation();return _vm.selectNext(-1)}]}},[_vm._l((_vm.visibleSteps),function(step,idx){return [_c('li',{key:step.name+'li',class:{step: true, active: step.name === _vm.activeStep.name, disabled: !_vm.isAvailable(step)},attrs:{\"id\":step.name,\"role\":\"presentation\"}},[_c('span',{staticClass:\"controls\",attrs:{\"aria-controls\":'step' + idx+1,\"aria-selected\":step.name === _vm.activeStep.name,\"role\":\"tab\"},on:{\"click\":function($event){$event.preventDefault();return _vm.goToStep(idx+1, true)}}},[_c('span',{staticClass:\"icon icon-lg\",class:{'icon-dot': step.name === _vm.activeStep.name, 'icon-dot-open':step.name !== _vm.activeStep.name}}),_c('span',[_vm._v(\" \"+_vm._s(step.label)+\" \")])])]),(idx!==_vm.visibleSteps.length-1)?_c('div',{key:step.name,staticClass:\"divider\"}):_vm._e()]})],2):_vm._e()])])]),_vm._t(\"stepContainer\",function(){return [_vm._l((_vm.steps),function(step){return [(step.name === _vm.activeStep.name || step.hidden)?_c('div',{key:step.name,staticClass:\"step-container__step\",class:{'hide': step.name !== _vm.activeStep.name && step.hidden}},[_vm._t(step.name,null,{\"step\":step})],2):_vm._e()]})]},{\"activeStep\":_vm.activeStep}),_vm._t(\"controlsContainer\",function(){return [_vm._l((_vm.errorStrings),function(err,idx){return _c('div',{key:idx},[_c('Banner',{staticClass:\"footer-error\",attrs:{\"color\":\"error\",\"label\":err,\"closable\":true},on:{\"close\":function($event){return _vm.errors.splice(idx, 1)}}})],1)}),_c('div',{staticClass:\"controls-row pt-20\",attrs:{\"id\":\"wizard-footer-controls\"}},[_vm._t(\"cancel\",function(){return [_c('button',{staticClass:\"btn role-secondary\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.cancel}},[_c('t',{attrs:{\"k\":\"generic.cancel\"}})],1)]},{\"cancel\":_vm.cancel}),_c('div',{staticClass:\"controls-steps\"},[(_vm.showPrevious)?_vm._t(\"back\",function(){return [_c('button',{staticClass:\"btn role-secondary\",attrs:{\"disabled\":!_vm.canPrevious || (!_vm.editFirstStep && _vm.activeStepIndex===1),\"type\":\"button\"},on:{\"click\":function($event){return _vm.back()}}},[_c('t',{attrs:{\"k\":\"wizard.previous\"}})],1)]},{\"back\":_vm.back}):_vm._e(),(_vm.activeStepIndex === _vm.visibleSteps.length-1)?_vm._t(\"finish\",function(){return [_c('AsyncButton',{attrs:{\"disabled\":!_vm.activeStep.ready,\"mode\":_vm.finishMode},on:{\"click\":_vm.finish}})]},{\"finish\":_vm.finish}):_vm._t(\"next\",function(){return [_c('button',{class:_vm.nextButtonStyle,attrs:{\"disabled\":!_vm.canNext,\"type\":\"button\"},on:{\"click\":function($event){return _vm.next()}}},[_c('t',{attrs:{\"k\":_vm.nextButtonLabel}})],1)]},{\"next\":_vm.next})],2)],2)]},{\"showPrevious\":_vm.showPrevious,\"next\":_vm.next,\"back\":_vm.back,\"canNext\":_vm.canNext,\"activeStepIndex\":_vm.activeStepIndex,\"visibleSteps\":_vm.visibleSteps,\"errorStrings\":_vm.errorStrings,\"finish\":_vm.finish,\"cancel\":_vm.cancel,\"activeStep\":_vm.activeStep})],2)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./Wizard.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./Wizard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Wizard.vue?vue&type=template&id=41c6a168&scoped=true&\"\nimport script from \"./Wizard.vue?vue&type=script&lang=js&\"\nexport * from \"./Wizard.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Wizard.vue?vue&type=style&index=0&id=41c6a168&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"41c6a168\",\n null\n \n)\n\nexport default component.exports","\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n $emit('error', e)\"\n >\n \n \n \n \n \n\n\n\n","import mod from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./CruResource.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../cache-loader/dist/cjs.js??ref--14-0!../../../thread-loader/dist/cjs.js!../../../babel-loader/lib/index.js!../../../cache-loader/dist/cjs.js??ref--2-0!../../../@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./CruResource.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CruResource.vue?vue&type=template&id=8082eba2&scoped=true&\"\nimport script from \"./CruResource.vue?vue&type=script&lang=js&\"\nexport * from \"./CruResource.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CruResource.vue?vue&type=style&index=0&id=8082eba2&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8082eba2\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/azure.eb8fe01e.svg\";"],"sourceRoot":""} \ No newline at end of file diff --git a/extensions/capi/0.4.0/plugin/img/aliyun-black.b576ca7f.svg b/extensions/capi/0.4.0/plugin/img/aliyun-black.b576ca7f.svg new file mode 100644 index 0000000..29fd241 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/aliyun-black.b576ca7f.svg @@ -0,0 +1,14 @@ + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/aliyun.05625b68.svg b/extensions/capi/0.4.0/plugin/img/aliyun.05625b68.svg new file mode 100644 index 0000000..78f5b74 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/aliyun.05625b68.svg @@ -0,0 +1,17 @@ + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/aliyunecs-black.47c0410f.svg b/extensions/capi/0.4.0/plugin/img/aliyunecs-black.47c0410f.svg new file mode 100644 index 0000000..f38e205 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/aliyunecs-black.47c0410f.svg @@ -0,0 +1,13 @@ + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/aliyunecs.d971267d.svg b/extensions/capi/0.4.0/plugin/img/aliyunecs.d971267d.svg new file mode 100644 index 0000000..d752029 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/aliyunecs.d971267d.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/amazonec2-black.d1821012.svg b/extensions/capi/0.4.0/plugin/img/amazonec2-black.d1821012.svg new file mode 100644 index 0000000..a062580 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/amazonec2-black.d1821012.svg @@ -0,0 +1,8 @@ + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/amazonec2.1aa39ab0.svg b/extensions/capi/0.4.0/plugin/img/amazonec2.1aa39ab0.svg new file mode 100644 index 0000000..f68995b --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/amazonec2.1aa39ab0.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/amazoneks-black.a84e95fa.svg b/extensions/capi/0.4.0/plugin/img/amazoneks-black.a84e95fa.svg new file mode 100644 index 0000000..ec37d77 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/amazoneks-black.a84e95fa.svg @@ -0,0 +1,10 @@ + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/amazoneks.08036fe5.svg b/extensions/capi/0.4.0/plugin/img/amazoneks.08036fe5.svg new file mode 100644 index 0000000..b2e626c --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/amazoneks.08036fe5.svg @@ -0,0 +1,14 @@ + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/aws.259e1339.svg b/extensions/capi/0.4.0/plugin/img/aws.259e1339.svg new file mode 100644 index 0000000..4715937 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/aws.259e1339.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/azure-black.5f0d4c16.svg b/extensions/capi/0.4.0/plugin/img/azure-black.5f0d4c16.svg new file mode 100644 index 0000000..be1937c --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/azure-black.5f0d4c16.svg @@ -0,0 +1,29 @@ + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/azure.eb8fe01e.svg b/extensions/capi/0.4.0/plugin/img/azure.eb8fe01e.svg new file mode 100644 index 0000000..a26fb74 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/azure.eb8fe01e.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/azuread-black.df47a4be.svg b/extensions/capi/0.4.0/plugin/img/azuread-black.df47a4be.svg new file mode 100644 index 0000000..6b5b416 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/azuread-black.df47a4be.svg @@ -0,0 +1,22 @@ + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/azuread.89d0693d.svg b/extensions/capi/0.4.0/plugin/img/azuread.89d0693d.svg new file mode 100644 index 0000000..7fb1c17 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/azuread.89d0693d.svg @@ -0,0 +1,25 @@ + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/azureaks-black.c476b248.svg b/extensions/capi/0.4.0/plugin/img/azureaks-black.c476b248.svg new file mode 100644 index 0000000..4ea91e5 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/azureaks-black.c476b248.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/azureaks.f30a4ee5.svg b/extensions/capi/0.4.0/plugin/img/azureaks.f30a4ee5.svg new file mode 100644 index 0000000..7e462f0 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/azureaks.f30a4ee5.svg @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/baidu-black.fbfb0a3d.svg b/extensions/capi/0.4.0/plugin/img/baidu-black.fbfb0a3d.svg new file mode 100644 index 0000000..ec45d41 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/baidu-black.fbfb0a3d.svg @@ -0,0 +1,19 @@ + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/baidu.59230de0.svg b/extensions/capi/0.4.0/plugin/img/baidu.59230de0.svg new file mode 100644 index 0000000..80d66df --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/baidu.59230de0.svg @@ -0,0 +1,25 @@ + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/cloudca-black.e617e95a.svg b/extensions/capi/0.4.0/plugin/img/cloudca-black.e617e95a.svg new file mode 100644 index 0000000..56b46a5 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/cloudca-black.e617e95a.svg @@ -0,0 +1,45 @@ + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/cloudca.1095d0cc.svg b/extensions/capi/0.4.0/plugin/img/cloudca.1095d0cc.svg new file mode 100644 index 0000000..dde4c3d --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/cloudca.1095d0cc.svg @@ -0,0 +1,49 @@ + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/cloudscale-black.05c818ff.svg b/extensions/capi/0.4.0/plugin/img/cloudscale-black.05c818ff.svg new file mode 100644 index 0000000..d6fef4a --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/cloudscale-black.05c818ff.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/cloudscale.15af4521.svg b/extensions/capi/0.4.0/plugin/img/cloudscale.15af4521.svg new file mode 100644 index 0000000..70753e8 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/cloudscale.15af4521.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/custom.73e585f1.svg b/extensions/capi/0.4.0/plugin/img/custom.73e585f1.svg new file mode 100644 index 0000000..ad65e6e --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/custom.73e585f1.svg @@ -0,0 +1,85 @@ + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/digitalocean-black.c7b0f38c.svg b/extensions/capi/0.4.0/plugin/img/digitalocean-black.c7b0f38c.svg new file mode 100644 index 0000000..7907569 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/digitalocean-black.c7b0f38c.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/digitalocean.acdee7f1.svg b/extensions/capi/0.4.0/plugin/img/digitalocean.acdee7f1.svg new file mode 100644 index 0000000..8d01c77 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/digitalocean.acdee7f1.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/docker.c06657b9.svg b/extensions/capi/0.4.0/plugin/img/docker.c06657b9.svg new file mode 100644 index 0000000..d266303 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/docker.c06657b9.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/extensions/capi/0.4.0/plugin/img/equinix-black.74a27b4d.svg b/extensions/capi/0.4.0/plugin/img/equinix-black.74a27b4d.svg new file mode 100644 index 0000000..40031dc --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/equinix-black.74a27b4d.svg @@ -0,0 +1,13 @@ + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/equinix.439fbbbe.svg b/extensions/capi/0.4.0/plugin/img/equinix.439fbbbe.svg new file mode 100644 index 0000000..d54b4d4 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/equinix.439fbbbe.svg @@ -0,0 +1,13 @@ + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/exoscale.7a312d6d.svg b/extensions/capi/0.4.0/plugin/img/exoscale.7a312d6d.svg new file mode 100644 index 0000000..f3b1831 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/exoscale.7a312d6d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/extensions/capi/0.4.0/plugin/img/gcp.92c9d851.svg b/extensions/capi/0.4.0/plugin/img/gcp.92c9d851.svg new file mode 100644 index 0000000..d8ba0b3 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/gcp.92c9d851.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/generic-catalog.99bdaecf.svg b/extensions/capi/0.4.0/plugin/img/generic-catalog.99bdaecf.svg new file mode 100644 index 0000000..474f376 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/generic-catalog.99bdaecf.svg @@ -0,0 +1,15 @@ + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/generic-driver.58cd1dcb.svg b/extensions/capi/0.4.0/plugin/img/generic-driver.58cd1dcb.svg new file mode 100644 index 0000000..3405b6f --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/generic-driver.58cd1dcb.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/gke-black.270042cf.svg b/extensions/capi/0.4.0/plugin/img/gke-black.270042cf.svg new file mode 100644 index 0000000..9868fd6 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/gke-black.270042cf.svg @@ -0,0 +1,10 @@ + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/gke.deaff14c.svg b/extensions/capi/0.4.0/plugin/img/gke.deaff14c.svg new file mode 100644 index 0000000..e4337c4 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/gke.deaff14c.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/google.778e7144.svg b/extensions/capi/0.4.0/plugin/img/google.778e7144.svg new file mode 100644 index 0000000..318b761 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/google.778e7144.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/googlegke-black.270042cf.svg b/extensions/capi/0.4.0/plugin/img/googlegke-black.270042cf.svg new file mode 100644 index 0000000..9868fd6 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/googlegke-black.270042cf.svg @@ -0,0 +1,10 @@ + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/googlegke.deaff14c.svg b/extensions/capi/0.4.0/plugin/img/googlegke.deaff14c.svg new file mode 100644 index 0000000..e4337c4 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/googlegke.deaff14c.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/harvester.b14e570b.svg b/extensions/capi/0.4.0/plugin/img/harvester.b14e570b.svg new file mode 100644 index 0000000..42b37c1 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/harvester.b14e570b.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/extensions/capi/0.4.0/plugin/img/huaweicce-black.39ee46f2.svg b/extensions/capi/0.4.0/plugin/img/huaweicce-black.39ee46f2.svg new file mode 100644 index 0000000..c8fdf90 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/huaweicce-black.39ee46f2.svg @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/huaweicce.4fb3a929.svg b/extensions/capi/0.4.0/plugin/img/huaweicce.4fb3a929.svg new file mode 100644 index 0000000..523fe03 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/huaweicce.4fb3a929.svg @@ -0,0 +1,184 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/import.2e2e359c.svg b/extensions/capi/0.4.0/plugin/img/import.2e2e359c.svg new file mode 100644 index 0000000..ec25148 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/import.2e2e359c.svg @@ -0,0 +1,99 @@ + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/k3s-black.d52e5687.svg b/extensions/capi/0.4.0/plugin/img/k3s-black.d52e5687.svg new file mode 100644 index 0000000..0a815c2 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/k3s-black.d52e5687.svg @@ -0,0 +1,10 @@ + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/k3s.01e2b406.svg b/extensions/capi/0.4.0/plugin/img/k3s.01e2b406.svg new file mode 100644 index 0000000..0367e53 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/k3s.01e2b406.svg @@ -0,0 +1,15 @@ + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/kubernetes-black.3e32c1a8.svg b/extensions/capi/0.4.0/plugin/img/kubernetes-black.3e32c1a8.svg new file mode 100644 index 0000000..040665d --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/kubernetes-black.3e32c1a8.svg @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/kubernetes.2e2e359c.svg b/extensions/capi/0.4.0/plugin/img/kubernetes.2e2e359c.svg new file mode 100644 index 0000000..ec25148 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/kubernetes.2e2e359c.svg @@ -0,0 +1,99 @@ + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/linode.72ae9a55.svg b/extensions/capi/0.4.0/plugin/img/linode.72ae9a55.svg new file mode 100644 index 0000000..7b9ec6d --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/linode.72ae9a55.svg @@ -0,0 +1,54 @@ + + + + +The Linode Logo consists of the 5 shaded green cubes arranged in the shape of the letter "L". + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/linodelke-black.058df1a0.svg b/extensions/capi/0.4.0/plugin/img/linodelke-black.058df1a0.svg new file mode 100644 index 0000000..4df7b9c --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/linodelke-black.058df1a0.svg @@ -0,0 +1,40 @@ + + + +The Linode Logo consists of the 5 shaded green cubes arranged in the shape of the letter "L". + + + + diff --git a/extensions/capi/0.4.0/plugin/img/linodelke.72ae9a55.svg b/extensions/capi/0.4.0/plugin/img/linodelke.72ae9a55.svg new file mode 100644 index 0000000..7b9ec6d --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/linodelke.72ae9a55.svg @@ -0,0 +1,54 @@ + + + + +The Linode Logo consists of the 5 shaded green cubes arranged in the shape of the letter "L". + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/local-cluster.c77b2023.svg b/extensions/capi/0.4.0/plugin/img/local-cluster.c77b2023.svg new file mode 100644 index 0000000..2c975ba --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/local-cluster.c77b2023.svg @@ -0,0 +1,20 @@ + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/minikube-black.b739e7a9.svg b/extensions/capi/0.4.0/plugin/img/minikube-black.b739e7a9.svg new file mode 100644 index 0000000..1ca3cca --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/minikube-black.b739e7a9.svg @@ -0,0 +1,25 @@ + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/minikube.b39dc584.svg b/extensions/capi/0.4.0/plugin/img/minikube.b39dc584.svg new file mode 100644 index 0000000..db07d33 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/minikube.b39dc584.svg @@ -0,0 +1,36 @@ + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/nutanix.87666923.svg b/extensions/capi/0.4.0/plugin/img/nutanix.87666923.svg new file mode 100644 index 0000000..3081107 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/nutanix.87666923.svg @@ -0,0 +1 @@ + nutanix logo diff --git a/extensions/capi/0.4.0/plugin/img/oci-black.f960feb5.svg b/extensions/capi/0.4.0/plugin/img/oci-black.f960feb5.svg new file mode 100644 index 0000000..25f6781 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/oci-black.f960feb5.svg @@ -0,0 +1,41 @@ + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/oci.8b52fe45.svg b/extensions/capi/0.4.0/plugin/img/oci.8b52fe45.svg new file mode 100644 index 0000000..e813576 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/oci.8b52fe45.svg @@ -0,0 +1,44 @@ + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/openstack-black.46740f63.svg b/extensions/capi/0.4.0/plugin/img/openstack-black.46740f63.svg new file mode 100644 index 0000000..603cf55 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/openstack-black.46740f63.svg @@ -0,0 +1,16 @@ + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/openstack.638b1003.svg b/extensions/capi/0.4.0/plugin/img/openstack.638b1003.svg new file mode 100644 index 0000000..5900079 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/openstack.638b1003.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/oracle.8219cfb5.svg b/extensions/capi/0.4.0/plugin/img/oracle.8219cfb5.svg new file mode 100644 index 0000000..832aad4 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/oracle.8219cfb5.svg @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/oracleoke-black.aaa9e8cf.svg b/extensions/capi/0.4.0/plugin/img/oracleoke-black.aaa9e8cf.svg new file mode 100644 index 0000000..7f52921 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/oracleoke-black.aaa9e8cf.svg @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/oracleoke.ddaa8a0e.svg b/extensions/capi/0.4.0/plugin/img/oracleoke.ddaa8a0e.svg new file mode 100644 index 0000000..4f6a9d2 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/oracleoke.ddaa8a0e.svg @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/otc-black.007c6157.svg b/extensions/capi/0.4.0/plugin/img/otc-black.007c6157.svg new file mode 100644 index 0000000..86cf27a --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/otc-black.007c6157.svg @@ -0,0 +1,15 @@ + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/otc.d7330474.svg b/extensions/capi/0.4.0/plugin/img/otc.d7330474.svg new file mode 100644 index 0000000..021bb0b --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/otc.d7330474.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/otccce.d7330474.svg b/extensions/capi/0.4.0/plugin/img/otccce.d7330474.svg new file mode 100644 index 0000000..021bb0b --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/otccce.d7330474.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/outscale.97c433a9.svg b/extensions/capi/0.4.0/plugin/img/outscale.97c433a9.svg new file mode 100644 index 0000000..2b4e7a2 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/outscale.97c433a9.svg @@ -0,0 +1,19 @@ + + + + + Layer 1 + + + + + + + \ No newline at end of file diff --git a/extensions/capi/0.4.0/plugin/img/ovhcloudmks.ccb13957.svg b/extensions/capi/0.4.0/plugin/img/ovhcloudmks.ccb13957.svg new file mode 100644 index 0000000..fd1351f --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/ovhcloudmks.ccb13957.svg @@ -0,0 +1,122 @@ + + + +image/svg+xml + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/extensions/capi/0.4.0/plugin/img/ovhcloudpubliccloud.ccb13957.svg b/extensions/capi/0.4.0/plugin/img/ovhcloudpubliccloud.ccb13957.svg new file mode 100644 index 0000000..fd1351f --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/ovhcloudpubliccloud.ccb13957.svg @@ -0,0 +1,122 @@ + + + +image/svg+xml + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/extensions/capi/0.4.0/plugin/img/packet-black.cdd96d23.svg b/extensions/capi/0.4.0/plugin/img/packet-black.cdd96d23.svg new file mode 100644 index 0000000..d9de626 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/packet-black.cdd96d23.svg @@ -0,0 +1,15 @@ + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/packet.5fce6e98.svg b/extensions/capi/0.4.0/plugin/img/packet.5fce6e98.svg new file mode 100644 index 0000000..eb62ddd --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/packet.5fce6e98.svg @@ -0,0 +1,16 @@ + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/pinganyunecs-black.2ff2c7d9.svg b/extensions/capi/0.4.0/plugin/img/pinganyunecs-black.2ff2c7d9.svg new file mode 100644 index 0000000..ab6775e --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/pinganyunecs-black.2ff2c7d9.svg @@ -0,0 +1,26 @@ + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/pinganyunecs.e75d4c8a.svg b/extensions/capi/0.4.0/plugin/img/pinganyunecs.e75d4c8a.svg new file mode 100644 index 0000000..876891a --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/pinganyunecs.e75d4c8a.svg @@ -0,0 +1,26 @@ + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/pnap-black.1b1773d7.svg b/extensions/capi/0.4.0/plugin/img/pnap-black.1b1773d7.svg new file mode 100644 index 0000000..3d79a97 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/pnap-black.1b1773d7.svg @@ -0,0 +1,43 @@ + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/pnap.0cb6fe69.svg b/extensions/capi/0.4.0/plugin/img/pnap.0cb6fe69.svg new file mode 100644 index 0000000..4059ed9 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/pnap.0cb6fe69.svg @@ -0,0 +1,48 @@ + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/rackspace-black.b5378844.svg b/extensions/capi/0.4.0/plugin/img/rackspace-black.b5378844.svg new file mode 100644 index 0000000..3299f04 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/rackspace-black.b5378844.svg @@ -0,0 +1,14 @@ + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/rackspace.6f98715f.svg b/extensions/capi/0.4.0/plugin/img/rackspace.6f98715f.svg new file mode 100644 index 0000000..b1b3696 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/rackspace.6f98715f.svg @@ -0,0 +1,18 @@ + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/rke.d10540bf.svg b/extensions/capi/0.4.0/plugin/img/rke.d10540bf.svg new file mode 100644 index 0000000..f7b7128 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/rke.d10540bf.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/rke2.d10540bf.svg b/extensions/capi/0.4.0/plugin/img/rke2.d10540bf.svg new file mode 100644 index 0000000..f7b7128 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/rke2.d10540bf.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/softlayer.d474be09.svg b/extensions/capi/0.4.0/plugin/img/softlayer.d474be09.svg new file mode 100644 index 0000000..8ff9be2 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/softlayer.d474be09.svg @@ -0,0 +1,27 @@ + + + + Compute + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/extensions/capi/0.4.0/plugin/img/tencenttke-black.58828585.svg b/extensions/capi/0.4.0/plugin/img/tencenttke-black.58828585.svg new file mode 100644 index 0000000..d0a3d5c --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/tencenttke-black.58828585.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/tencenttke.0b34fe07.svg b/extensions/capi/0.4.0/plugin/img/tencenttke.0b34fe07.svg new file mode 100644 index 0000000..1a57f56 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/tencenttke.0b34fe07.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/vmwarevsphere-black.2f9d3f1d.svg b/extensions/capi/0.4.0/plugin/img/vmwarevsphere-black.2f9d3f1d.svg new file mode 100644 index 0000000..352894f --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/vmwarevsphere-black.2f9d3f1d.svg @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/vmwarevsphere.32594541.svg b/extensions/capi/0.4.0/plugin/img/vmwarevsphere.32594541.svg new file mode 100644 index 0000000..bd1b636 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/vmwarevsphere.32594541.svg @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/vsphere-black.2f9d3f1d.svg b/extensions/capi/0.4.0/plugin/img/vsphere-black.2f9d3f1d.svg new file mode 100644 index 0000000..352894f --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/vsphere-black.2f9d3f1d.svg @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/img/vsphere.32594541.svg b/extensions/capi/0.4.0/plugin/img/vsphere.32594541.svg new file mode 100644 index 0000000..bd1b636 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/img/vsphere.32594541.svg @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/extensions/capi/0.4.0/plugin/package.json b/extensions/capi/0.4.0/plugin/package.json new file mode 100644 index 0000000..7205e55 --- /dev/null +++ b/extensions/capi/0.4.0/plugin/package.json @@ -0,0 +1,19 @@ +{ + "name": "capi", + "description": "UI for CAPI cluster provisioning", + "version": "0.4.0", + "private": false, + "rancher": true, + "engines": { + "node": ">=16" + }, + "devDependencies": { + "@vue/cli-plugin-babel": "5.0.8", + "@vue/cli-service": "5.0.8", + "@vue/cli-plugin-typescript": "5.0.8" + }, + "files": [ + "**/*" + ], + "main": "capi-0.4.0.umd.min.js" +} \ No newline at end of file diff --git a/index.yaml b/index.yaml index 73d8309..d403576 100644 --- a/index.yaml +++ b/index.yaml @@ -1,6 +1,27 @@ apiVersion: v1 entries: capi: + - annotations: + catalog.cattle.io/certified: rancher + catalog.cattle.io/display-name: CAPI UI + catalog.cattle.io/experimental: "true" + catalog.cattle.io/kube-version: '>= 1.16.0-0 < 1.29.0-0' + catalog.cattle.io/namespace: cattle-ui-plugin-system + catalog.cattle.io/os: linux + catalog.cattle.io/permits-os: linux, windows + catalog.cattle.io/rancher-version: '>= v2.8.0' + catalog.cattle.io/scope: management + catalog.cattle.io/ui-component: plugins + apiVersion: v2 + appVersion: 0.4.0 + created: "2024-04-12T18:28:13.972374067Z" + description: UI for CAPI cluster provisioning + digest: 71269ba94817a18a3ba3f4a589716bdbe2d9174779152449864ddd58bf4f3ad7 + name: capi + type: application + urls: + - assets/capi/capi-0.4.0.tgz + version: 0.4.0 - annotations: catalog.cattle.io/certified: rancher catalog.cattle.io/display-name: CAPI UI @@ -80,4 +101,4 @@ entries: urls: - assets/capi/capi-0.1.0.tgz version: 0.1.0 -generated: "2024-03-14T22:51:54.105437414Z" +generated: "2024-04-12T18:28:13.972015997Z"