PromoCursed/node_modules/.cache/babel-loader/48771687c55aa2414679775d0c73efd978605c7200aace9081f6befed12bf8c0.json
2024-08-20 23:25:37 +04:00

1 line
3.8 KiB
JSON

{"ast":null,"code":"\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\").default;\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.getTwoToneColor = getTwoToneColor;\nexports.setTwoToneColor = setTwoToneColor;\nvar _slicedToArray2 = _interopRequireDefault(require(\"@babel/runtime/helpers/slicedToArray\"));\nvar _IconBase = _interopRequireDefault(require(\"./IconBase\"));\nvar _utils = require(\"../utils\");\nfunction setTwoToneColor(twoToneColor) {\n var _normalizeTwoToneColo = (0, _utils.normalizeTwoToneColors)(twoToneColor),\n _normalizeTwoToneColo2 = (0, _slicedToArray2.default)(_normalizeTwoToneColo, 2),\n primaryColor = _normalizeTwoToneColo2[0],\n secondaryColor = _normalizeTwoToneColo2[1];\n return _IconBase.default.setTwoToneColors({\n primaryColor: primaryColor,\n secondaryColor: secondaryColor\n });\n}\nfunction getTwoToneColor() {\n var colors = _IconBase.default.getTwoToneColors();\n if (!colors.calculated) {\n return colors.primaryColor;\n }\n return [colors.primaryColor, colors.secondaryColor];\n}","map":{"version":3,"names":["_interopRequireDefault","require","default","Object","defineProperty","exports","value","getTwoToneColor","setTwoToneColor","_slicedToArray2","_IconBase","_utils","twoToneColor","_normalizeTwoToneColo","normalizeTwoToneColors","_normalizeTwoToneColo2","primaryColor","secondaryColor","setTwoToneColors","colors","getTwoToneColors","calculated"],"sources":["C:/Users/Аришина)/Desktop/promo/node_modules/@ant-design/icons/lib/components/twoTonePrimaryColor.js"],"sourcesContent":["\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\").default;\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.getTwoToneColor = getTwoToneColor;\nexports.setTwoToneColor = setTwoToneColor;\nvar _slicedToArray2 = _interopRequireDefault(require(\"@babel/runtime/helpers/slicedToArray\"));\nvar _IconBase = _interopRequireDefault(require(\"./IconBase\"));\nvar _utils = require(\"../utils\");\nfunction setTwoToneColor(twoToneColor) {\n var _normalizeTwoToneColo = (0, _utils.normalizeTwoToneColors)(twoToneColor),\n _normalizeTwoToneColo2 = (0, _slicedToArray2.default)(_normalizeTwoToneColo, 2),\n primaryColor = _normalizeTwoToneColo2[0],\n secondaryColor = _normalizeTwoToneColo2[1];\n return _IconBase.default.setTwoToneColors({\n primaryColor: primaryColor,\n secondaryColor: secondaryColor\n });\n}\nfunction getTwoToneColor() {\n var colors = _IconBase.default.getTwoToneColors();\n if (!colors.calculated) {\n return colors.primaryColor;\n }\n return [colors.primaryColor, colors.secondaryColor];\n}"],"mappings":"AAAA,YAAY;;AAEZ,IAAIA,sBAAsB,GAAGC,OAAO,CAAC,8CAA8C,CAAC,CAACC,OAAO;AAC5FC,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,YAAY,EAAE;EAC3CC,KAAK,EAAE;AACT,CAAC,CAAC;AACFD,OAAO,CAACE,eAAe,GAAGA,eAAe;AACzCF,OAAO,CAACG,eAAe,GAAGA,eAAe;AACzC,IAAIC,eAAe,GAAGT,sBAAsB,CAACC,OAAO,CAAC,sCAAsC,CAAC,CAAC;AAC7F,IAAIS,SAAS,GAAGV,sBAAsB,CAACC,OAAO,CAAC,YAAY,CAAC,CAAC;AAC7D,IAAIU,MAAM,GAAGV,OAAO,CAAC,UAAU,CAAC;AAChC,SAASO,eAAeA,CAACI,YAAY,EAAE;EACrC,IAAIC,qBAAqB,GAAG,CAAC,CAAC,EAAEF,MAAM,CAACG,sBAAsB,EAAEF,YAAY,CAAC;IAC1EG,sBAAsB,GAAG,CAAC,CAAC,EAAEN,eAAe,CAACP,OAAO,EAAEW,qBAAqB,EAAE,CAAC,CAAC;IAC/EG,YAAY,GAAGD,sBAAsB,CAAC,CAAC,CAAC;IACxCE,cAAc,GAAGF,sBAAsB,CAAC,CAAC,CAAC;EAC5C,OAAOL,SAAS,CAACR,OAAO,CAACgB,gBAAgB,CAAC;IACxCF,YAAY,EAAEA,YAAY;IAC1BC,cAAc,EAAEA;EAClB,CAAC,CAAC;AACJ;AACA,SAASV,eAAeA,CAAA,EAAG;EACzB,IAAIY,MAAM,GAAGT,SAAS,CAACR,OAAO,CAACkB,gBAAgB,CAAC,CAAC;EACjD,IAAI,CAACD,MAAM,CAACE,UAAU,EAAE;IACtB,OAAOF,MAAM,CAACH,YAAY;EAC5B;EACA,OAAO,CAACG,MAAM,CAACH,YAAY,EAAEG,MAAM,CAACF,cAAc,CAAC;AACrD","ignoreList":[]},"metadata":{},"sourceType":"script","externalDependencies":[]}