{"version":3,"sources":["../../node_modules/.pnpm/antd@4.24.10_react-dom@17.0.2_react@17.0.2/node_modules/antd/lib/tag/style/index.js","../../node_modules/.pnpm/antd@4.24.10_react-dom@17.0.2_react@17.0.2/node_modules/antd/lib/tag/index.js","webpack:///../node_modules/.pnpm/antd@4.24.10_react-dom@17.0.2_react@17.0.2/node_modules/antd/lib/tag/style/index.less?a675","../../node_modules/.pnpm/antd@4.24.10_react-dom@17.0.2_react@17.0.2/node_modules/antd/lib/tag/CheckableTag.js","../../node_modules/.pnpm/@ant-design+icons@4.7.0_react-dom@17.0.2_react@17.0.2/node_modules/@ant-design/icons/lib/icons/DeleteOutlined.js","../../node_modules/.pnpm/@ant-design+icons@4.7.0_react-dom@17.0.2_react@17.0.2/node_modules/@ant-design/icons/lib/icons/RightCircleOutlined.js","../../node_modules/.pnpm/@ant-design+icons-svg@4.2.1/node_modules/@ant-design/icons-svg/lib/asn/RightCircleOutlined.js","../../node_modules/.pnpm/@ant-design+icons@4.7.0_react-dom@17.0.2_react@17.0.2/node_modules/@ant-design/icons/lib/icons/ClockCircleOutlined.js","../../node_modules/.pnpm/@ant-design+icons-svg@4.2.1/node_modules/@ant-design/icons-svg/lib/asn/ClockCircleOutlined.js","../../node_modules/.pnpm/@ant-design+icons-svg@4.2.1/node_modules/@ant-design/icons-svg/lib/asn/DeleteOutlined.js","webpack:///./src/lib/components/CustomDomains/CustomDomains.less?c17f","../../node_modules/.pnpm/@ant-design+icons@4.7.0_react-dom@17.0.2_react@17.0.2/node_modules/@ant-design/icons/lib/icons/CloudOutlined.js","../../node_modules/.pnpm/@ant-design+icons-svg@4.2.1/node_modules/@ant-design/icons-svg/lib/asn/CloudOutlined.js","lib/components/CustomDomains/CustomDomains.tsx"],"names":["require","_interopRequireWildcard","_interopRequireDefault","Object","defineProperty","exports","value","_defineProperty2","_extends2","_slicedToArray2","_CloseOutlined","_classnames","_omit","React","_configProvider","_colors","_wave","_warning","_CheckableTag","__rest","s","e","t","p","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","PresetColorRegex","RegExp","concat","PresetColorTypes","join","PresetStatusColorRegex","PresetStatusColorTypes","InternalTag","_a","ref","_classNames","customizePrefixCls","prefixCls","className","style","children","icon","color","onClose","closeIcon","_a$closable","closable","props","_React$useContext","useContext","ConfigContext","getPrefixCls","direction","_React$useState","useState","_React$useState2","visible","setVisible","process","useEffect","isPresetColor","test","tagStyle","backgroundColor","undefined","presetColor","tagClassName","handleCloseClick","stopPropagation","defaultPrevented","renderCloseIcon","createElement","onClick","isNeedWave","type","tagProps","iconNode","kids","Fragment","tagNode","Tag","forwardRef","CheckableTag","_default","checked","onChange","restProps","handleClick","cls","default","_objectSpread2","_DeleteOutlined","_AntdIcon","DeleteOutlined","displayName","_RightCircleOutlined","RightCircleOutlined","_ClockCircleOutlined","ClockCircleOutlined","_CloudOutlined","CloudOutlined","CNAME","CustomDomains","context","services","ApplicationServices","get","backendApiClient","activeProject","id","result","certificateExpiration","_certificateExpiration","Date","parse","domains","enterNameVisible","withProgressBar","estimatedMs","callback","post","reload","columns","title","dataIndex","key","render","name","width","status","displayStatus","tag","description","forceVerification","_","domain","confirm","content","okText","cancelText","onOk","newDomains","state","filter","element","success","onCancel","setState","forceUpdate","map","text","LoadableComponent","EnterNameModal","onReady","useForm","form","ok","validateFields","then","values","message","validator","rule","Promise","reject","resolve"],"mappings":";;;;;;AAAa;;AAEbA,mBAAO,CAAC,EAAD,CAAP;;AACAA,mBAAO,CAAC,IAAD,CAAP,C;;;;;;;;ACHa;;AAEb,IAAIC,uBAAuB,GAAGD,mBAAO,CAAC,EAAD,CAAP,CAAyD,SAAzD,CAA9B;;AACA,IAAIE,sBAAsB,GAAGF,mBAAO,CAAC,CAAD,CAAP,CAAwD,SAAxD,CAA7B;;AACAG,MAAM,CAACC,cAAP,CAAsBC,OAAtB,EAA+B,YAA/B,EAA6C;EAC3CC,KAAK,EAAE;AADoC,CAA7C;AAGAD,OAAO,CAAC,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AAC,MAAM,CAAI,CACnCN,OAAO,CAACM,MAAM,CAAC,QAAD,CAAP,CAAP,CACApH,OAAO,GACR,CAHD,EAID,CALD,CAMA,mBACE,uHACE,KAAK,CAAC,qCADR,CAEE,OAAO,CAAE,IAFX,CAGE,QAAQ,CAAE,IAHZ,CAIE,QAAQ,CAAE,IAJZ,CAKE,YAAY,CAAE,IALhB,CAME,IAAI,CAAEiH,EANR,CAOE,QAAQ,CAAEjH,OAPZ,CAQE,MAAM,CAAE,cACN,wHAAoB,OAAO,CAAEA,OAA7B,oBAAY,OAAZ,CADM,cAIN,wHAAqB,IAAI,CAAC,SAA1B,CAAoC,OAAO,CAAEiH,EAA7C,iBAAY,QAAZ,CAJM,CARV,uBAiBE,sHAAM,IAAI,CAAED,IAAZ,wBACE,uEAAK,SAAS,CAAC,kCAAf,gMAE4D,kGAF5D,+BADF,cAKE,oHAAM,IAAN,EACE,IAAI,CAAC,QADP,CAEE,KAAK,CAAE,CACL,CACEK,OAAO,CAAE,qBADX,CAEEC,SAFF,oBAEYC,IAFZ,CAEkBnK,KAFlB,CAEyB,CACrB,GAAIA,KAAK,CAACwB,MAAN,EAAgB,CAApB,CAAuB,CACrB4I,OAAO,CAACC,MAAR,CAAe,4BAAf,EACD,CACD,GAAI,CAAC,wBAAwBvG,IAAxB,CAA6B9D,KAA7B,CAAL,CAA0C,CACxC,MAAOoK,QAAO,CAACC,MAAR,CAAe,sBAAf,CAAP,CACD,CACD,MAAOD,QAAO,CAACE,OAAR,EAAP,CACD,CAVH,CADK,CAFT,uBAiBE,sHAAO,MAAM,cAAE,+DAAC,iFAAD,IAAf,CAAkC,WAAW,CAAC,aAA9C,EAjBF,EALF,GAjBF,EADF,CA6CD,C","file":"static/js/90.1f508f2f.chunk.js","sourcesContent":["\"use strict\";\n\nrequire(\"../../style/default.less\");\nrequire(\"./index.less\");","\"use strict\";\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\")[\"default\"];\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\")[\"default\"];\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\nvar _defineProperty2 = _interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\nvar _slicedToArray2 = _interopRequireDefault(require(\"@babel/runtime/helpers/slicedToArray\"));\nvar _CloseOutlined = _interopRequireDefault(require(\"@ant-design/icons/CloseOutlined\"));\nvar _classnames = _interopRequireDefault(require(\"classnames\"));\nvar _omit = _interopRequireDefault(require(\"rc-util/lib/omit\"));\nvar React = _interopRequireWildcard(require(\"react\"));\nvar _configProvider = require(\"../config-provider\");\nvar _colors = require(\"../_util/colors\");\nvar _wave = _interopRequireDefault(require(\"../_util/wave\"));\nvar _warning = _interopRequireDefault(require(\"../_util/warning\"));\nvar _CheckableTag = _interopRequireDefault(require(\"./CheckableTag\"));\nvar __rest = void 0 && (void 0).__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nvar PresetColorRegex = new RegExp(\"^(\".concat(_colors.PresetColorTypes.join('|'), \")(-inverse)?$\"));\nvar PresetStatusColorRegex = new RegExp(\"^(\".concat(_colors.PresetStatusColorTypes.join('|'), \")$\"));\nvar InternalTag = function InternalTag(_a, ref) {\n var _classNames;\n var customizePrefixCls = _a.prefixCls,\n className = _a.className,\n style = _a.style,\n children = _a.children,\n icon = _a.icon,\n color = _a.color,\n onClose = _a.onClose,\n closeIcon = _a.closeIcon,\n _a$closable = _a.closable,\n closable = _a$closable === void 0 ? false : _a$closable,\n props = __rest(_a, [\"prefixCls\", \"className\", \"style\", \"children\", \"icon\", \"color\", \"onClose\", \"closeIcon\", \"closable\"]);\n var _React$useContext = React.useContext(_configProvider.ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n var _React$useState = React.useState(true),\n _React$useState2 = (0, _slicedToArray2[\"default\"])(_React$useState, 2),\n visible = _React$useState2[0],\n setVisible = _React$useState2[1];\n // Warning for deprecated usage\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? (0, _warning[\"default\"])(!('visible' in props), 'Tag', '`visible` will be removed in next major version, please use `visible && ` instead.') : void 0;\n }\n React.useEffect(function () {\n if ('visible' in props) {\n setVisible(props.visible);\n }\n }, [props.visible]);\n var isPresetColor = function isPresetColor() {\n if (!color) {\n return false;\n }\n return PresetColorRegex.test(color) || PresetStatusColorRegex.test(color);\n };\n var tagStyle = (0, _extends2[\"default\"])({\n backgroundColor: color && !isPresetColor() ? color : undefined\n }, style);\n var presetColor = isPresetColor();\n var prefixCls = getPrefixCls('tag', customizePrefixCls);\n var tagClassName = (0, _classnames[\"default\"])(prefixCls, (_classNames = {}, (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-\").concat(color), presetColor), (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-has-color\"), color && !presetColor), (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-hidden\"), !visible), (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n var handleCloseClick = function handleCloseClick(e) {\n e.stopPropagation();\n onClose === null || onClose === void 0 ? void 0 : onClose(e);\n if (e.defaultPrevented) {\n return;\n }\n if (!('visible' in props)) {\n setVisible(false);\n }\n };\n var renderCloseIcon = function renderCloseIcon() {\n if (closable) {\n return closeIcon ? /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-close-icon\"),\n onClick: handleCloseClick\n }, closeIcon) : /*#__PURE__*/React.createElement(_CloseOutlined[\"default\"], {\n className: \"\".concat(prefixCls, \"-close-icon\"),\n onClick: handleCloseClick\n });\n }\n return null;\n };\n var isNeedWave = 'onClick' in props || children && children.type === 'a';\n var tagProps = (0, _omit[\"default\"])(props, ['visible']);\n var iconNode = icon || null;\n var kids = iconNode ? /*#__PURE__*/React.createElement(React.Fragment, null, iconNode, /*#__PURE__*/React.createElement(\"span\", null, children)) : children;\n var tagNode = /*#__PURE__*/React.createElement(\"span\", (0, _extends2[\"default\"])({}, tagProps, {\n ref: ref,\n className: tagClassName,\n style: tagStyle\n }), kids, renderCloseIcon());\n return isNeedWave ? /*#__PURE__*/React.createElement(_wave[\"default\"], null, tagNode) : tagNode;\n};\nvar Tag = /*#__PURE__*/React.forwardRef(InternalTag);\nif (process.env.NODE_ENV !== 'production') {\n Tag.displayName = 'Tag';\n}\nTag.CheckableTag = _CheckableTag[\"default\"];\nvar _default = Tag;\nexports[\"default\"] = _default;","// extracted by mini-css-extract-plugin","\"use strict\";\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\")[\"default\"];\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\")[\"default\"];\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\nvar _defineProperty2 = _interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));\nvar _classnames = _interopRequireDefault(require(\"classnames\"));\nvar React = _interopRequireWildcard(require(\"react\"));\nvar _configProvider = require(\"../config-provider\");\nvar __rest = void 0 && (void 0).__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nvar CheckableTag = function CheckableTag(_a) {\n var _classNames;\n var customizePrefixCls = _a.prefixCls,\n className = _a.className,\n checked = _a.checked,\n onChange = _a.onChange,\n onClick = _a.onClick,\n restProps = __rest(_a, [\"prefixCls\", \"className\", \"checked\", \"onChange\", \"onClick\"]);\n var _React$useContext = React.useContext(_configProvider.ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n var handleClick = function handleClick(e) {\n onChange === null || onChange === void 0 ? void 0 : onChange(!checked);\n onClick === null || onClick === void 0 ? void 0 : onClick(e);\n };\n var prefixCls = getPrefixCls('tag', customizePrefixCls);\n var cls = (0, _classnames[\"default\"])(prefixCls, (_classNames = {}, (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-checkable\"), true), (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-checkable-checked\"), checked), _classNames), className);\n return /*#__PURE__*/React.createElement(\"span\", (0, _extends2[\"default\"])({}, restProps, {\n className: cls,\n onClick: handleClick\n }));\n};\nvar _default = CheckableTag;\nexports[\"default\"] = _default;","\"use strict\";\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _objectSpread2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread2\"));\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _DeleteOutlined = _interopRequireDefault(require(\"@ant-design/icons-svg/lib/asn/DeleteOutlined\"));\n\nvar _AntdIcon = _interopRequireDefault(require(\"../components/AntdIcon\"));\n\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nvar DeleteOutlined = function DeleteOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(_AntdIcon.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {\n ref: ref,\n icon: _DeleteOutlined.default\n }));\n};\n\nDeleteOutlined.displayName = 'DeleteOutlined';\n\nvar _default = /*#__PURE__*/React.forwardRef(DeleteOutlined);\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _objectSpread2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread2\"));\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _RightCircleOutlined = _interopRequireDefault(require(\"@ant-design/icons-svg/lib/asn/RightCircleOutlined\"));\n\nvar _AntdIcon = _interopRequireDefault(require(\"../components/AntdIcon\"));\n\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nvar RightCircleOutlined = function RightCircleOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(_AntdIcon.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {\n ref: ref,\n icon: _RightCircleOutlined.default\n }));\n};\n\nRightCircleOutlined.displayName = 'RightCircleOutlined';\n\nvar _default = /*#__PURE__*/React.forwardRef(RightCircleOutlined);\n\nexports.default = _default;","\"use strict\";\n// This icon file is generated automatically.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar RightCircleOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M666.7 505.5l-246-178A8 8 0 00408 334v46.9c0 10.2 4.9 19.9 13.2 25.9L566.6 512 421.2 617.2c-8.3 6-13.2 15.6-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.5l246-178c4.4-3.2 4.4-9.8 0-13z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z\" } }] }, \"name\": \"right-circle\", \"theme\": \"outlined\" };\nexports.default = RightCircleOutlined;\n","\"use strict\";\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _objectSpread2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread2\"));\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _ClockCircleOutlined = _interopRequireDefault(require(\"@ant-design/icons-svg/lib/asn/ClockCircleOutlined\"));\n\nvar _AntdIcon = _interopRequireDefault(require(\"../components/AntdIcon\"));\n\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nvar ClockCircleOutlined = function ClockCircleOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(_AntdIcon.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {\n ref: ref,\n icon: _ClockCircleOutlined.default\n }));\n};\n\nClockCircleOutlined.displayName = 'ClockCircleOutlined';\n\nvar _default = /*#__PURE__*/React.forwardRef(ClockCircleOutlined);\n\nexports.default = _default;","\"use strict\";\n// This icon file is generated automatically.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar ClockCircleOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z\" } }] }, \"name\": \"clock-circle\", \"theme\": \"outlined\" };\nexports.default = ClockCircleOutlined;\n","\"use strict\";\n// This icon file is generated automatically.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DeleteOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z\" } }] }, \"name\": \"delete\", \"theme\": \"outlined\" };\nexports.default = DeleteOutlined;\n","// extracted by mini-css-extract-plugin","\"use strict\";\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _objectSpread2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread2\"));\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _CloudOutlined = _interopRequireDefault(require(\"@ant-design/icons-svg/lib/asn/CloudOutlined\"));\n\nvar _AntdIcon = _interopRequireDefault(require(\"../components/AntdIcon\"));\n\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nvar CloudOutlined = function CloudOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(_AntdIcon.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {\n ref: ref,\n icon: _CloudOutlined.default\n }));\n};\n\nCloudOutlined.displayName = 'CloudOutlined';\n\nvar _default = /*#__PURE__*/React.forwardRef(CloudOutlined);\n\nexports.default = _default;","\"use strict\";\n// This icon file is generated automatically.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar CloudOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M811.4 418.7C765.6 297.9 648.9 212 512.2 212S258.8 297.8 213 418.6C127.3 441.1 64 519.1 64 612c0 110.5 89.5 200 199.9 200h496.2C870.5 812 960 722.5 960 612c0-92.7-63.1-170.7-148.6-193.3zm36.3 281a123.07 123.07 0 01-87.6 36.3H263.9c-33.1 0-64.2-12.9-87.6-36.3A123.3 123.3 0 01140 612c0-28 9.1-54.3 26.2-76.3a125.7 125.7 0 0166.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10c54.3 14.5 92.1 63.8 92.1 120 0 33.1-12.9 64.3-36.3 87.7z\" } }] }, \"name\": \"cloud\", \"theme\": \"outlined\" };\nexports.default = CloudOutlined;\n","// @Libs\nimport { Button, Form, Input, message, Modal, Table, Tag } from \"antd\"\n// @Services\nimport ApplicationServices from \"../../services/ApplicationServices\"\n// @icons\nimport CheckOutlined from \"@ant-design/icons/lib/icons/CheckOutlined\"\nimport ClockCircleOutlined from \"@ant-design/icons/lib/icons/ClockCircleOutlined\"\nimport CloudOutlined from \"@ant-design/icons/lib/icons/CloudOutlined\"\nimport DeleteOutlined from \"@ant-design/icons/lib/icons/DeleteOutlined\"\nimport ExclamationCircleOutlined from \"@ant-design/icons/lib/icons/ExclamationCircleOutlined\"\nimport RightCircleOutlined from \"@ant-design/icons/lib/icons/RightCircleOutlined\"\nimport PlusOutlined from \"@ant-design/icons/lib/icons/PlusOutlined\"\n// @Components\nimport { LoadableComponent, withProgressBar } from \"../components\"\nimport \"./CustomDomains.less\"\n// @Types\nimport type { Domain } from \"../../services/model\"\n\nconst CNAME = \"hosting.jitsu.com\"\n\ntype State = {\n enterNameVisible: boolean\n domains: Domain[]\n certificateExpiration: Date\n}\n\nexport default class CustomDomains extends LoadableComponent {\n private services: ApplicationServices\n\n constructor(props: Readonly, context) {\n super(props, context)\n this.services = ApplicationServices.get()\n }\n\n protected async load() {\n let result = await this.services.backendApiClient.get(\n `/configurations/custom_domains?id=${this.services.activeProject.id}`\n )\n return {\n certificateExpiration:\n result && result._certificateExpiration && result._certificateExpiration.length > 0\n ? new Date(Date.parse(result._certificateExpiration))\n : null,\n domains: result?.domains || [],\n enterNameVisible: false,\n }\n }\n\n protected async forceVerification() {\n await withProgressBar({\n estimatedMs: 30_000,\n callback: async () => {\n await this.services.backendApiClient.post(\n `/ssl?project_id=${this.services.activeProject.id}&async=${false}`,\n {}\n )\n await this.reload()\n },\n })\n }\n\n renderReady() {\n const columns = [\n {\n title: \"Domain\",\n dataIndex: \"name\",\n key: \"name\",\n render: name => {\n return (\n <>\n \n {name}\n \n
\n Please, make sure that CNAME of the domain points to {CNAME}\n
\n
\n \n )\n },\n },\n {\n width: \"340px\",\n title: \"Status\",\n dataIndex: \"status\",\n key: \"status\",\n render: status => {\n let displayStatus\n let icon\n let color\n if (status == \"ok\" || status == \"cname_ok\") {\n icon = \n displayStatus = \"VERIFIED\"\n color = \"success\"\n } else if (status == \"cname_failed\") {\n icon = \n displayStatus = \"FAILED\"\n color = \"error\"\n } else {\n icon = \n displayStatus = \"PENDING\"\n color = undefined\n }\n let tag = (\n \n {displayStatus}\n \n )\n let description = undefined\n if (status == \"ok\" || status == \"cname_ok\") {\n description =\n status == \"verified\" ? undefined : (\n
CNAME is verified.
\n )\n } else if (status == \"cname_failed\") {\n description = (\n
\n We're failed to validate CNAME record. Please, check your DNS settings and wait or request{\" \"}\n this.forceVerification()}>force verification. Please note, due to nature of DNS\n protocol changes might take up to 24 hours to populate accross internet\n
\n )\n } else {\n description = (\n
\n Your domain are being validated. Please note, validation can take up to 24 hours due to nature of DNS\n protocol. Also you can request this.forceVerification()}>force verification.\n
\n )\n }\n return (\n <>\n {tag}\n {description}\n \n )\n },\n },\n {\n width: \"140px\",\n title: \"Action\",\n dataIndex: \"action\",\n key: \"action\",\n render: (_, domain: Domain) => {\n return (\n }\n shape=\"round\"\n onClick={() => {\n Modal.confirm({\n title: \"Please confirm deletion of the domain\",\n icon: ,\n content: \"Are you sure you want to delete \" + name + \" domain?\",\n okText: \"Delete\",\n cancelText: \"Cancel\",\n onOk: () => {\n this.reload(async () => {\n let newDomains: Domain[] = this.state.domains.filter(element => element.name != domain.name)\n await this.services.backendApiClient.post(\n `/configurations/custom_domains?id=${this.services.activeProject.id}`,\n { domains: newDomains }\n )\n message.success(\"Domain deleted!\")\n return {\n domains: newDomains,\n }\n })\n },\n onCancel: () => {},\n })\n }}\n >\n Delete\n \n )\n },\n },\n ]\n return (\n <>\n
\n }\n onClick={() => {\n this.setState({ enterNameVisible: true })\n this.forceUpdate()\n }}\n >\n Add New Domain\n \n
\n {\n return { ...domain, key: domain.name }\n })}\n />\n {this.state.enterNameVisible ? (\n this.setState({ enterNameVisible: false })}\n onReady={text => {\n this.reload(async () => {\n let newDomains: Domain[] = [...this.state.domains, { name: text, status: \"pending\" }]\n await this.services.backendApiClient.post(\n `/configurations/custom_domains?id=${this.services.activeProject.id}`,\n { domains: newDomains }\n )\n await this.services.backendApiClient.post(\n `/ssl?project_id=${this.services.activeProject.id}&async=${true}`,\n {}\n )\n message.success(\"New domain added!\")\n return {\n domains: newDomains,\n }\n })\n }}\n />\n ) : (\n <>\n )}\n \n )\n }\n}\n\nfunction EnterNameModal({ onClose, onReady }: { onReady: (value: string) => void; onClose: () => void }) {\n let [form] = Form.useForm()\n let ok = () => {\n form.validateFields().then(values => {\n onReady(values[\"domain\"])\n onClose()\n })\n }\n return (\n \n Cancel\n ,\n ,\n ]}\n >\n
\n
\n Here you can add you custom tracking domain which usually looks like track.[yourdomain] or t.[yourdomain].\n After adding the domain, configure it's CNAME to point to hosting.jitsu.com. We'll take care of SSL!\n
\n \n } placeholder=\"Domain name\" />\n \n \n \n )\n}\n"],"sourceRoot":""}