{"version":3,"file":"static/js/224.6a10e5a0.chunk.js","mappings":"4LA0BaA,EAA0C,SAAOC,EAAMC,GAAI,OAAAC,EAAAA,EAAAA,SAAA,4B,uEAC9DC,GAAMC,EAAAA,EAAAA,IAAWJ,GAGnBC,IAASI,EAAAA,EAASC,SAAlB,MACc,GAAM,+B,cAApBC,EAAcC,EAAAC,O,aAKA,SAAM,+B,OAApBF,EAAcC,EAAAC,O,iBAMlB,MAAO,CAAP,EAAOF,EAAYJ,I","sources":["../node_modules/@blueprintjs/icons/src/paths-loaders/splitPathsBySizeLoader.ts"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { pascalCase } from \"change-case\";\n\nimport type { IconPathsLoader } from \"../iconLoader\";\nimport { IconName } from \"../iconNames\";\nimport { IconPaths, IconSize } from \"../iconTypes\";\nimport type { PascalCase } from \"../type-utils\";\n\n/**\n * A dynamic loader for icon paths that generates separate chunks for the two size variants.\n */\nexport const splitPathsBySizeLoader: IconPathsLoader = async (name, size) => {\n const key = pascalCase(name) as PascalCase;\n let pathsRecord: Record, IconPaths>;\n\n if (size === IconSize.STANDARD) {\n pathsRecord = await import(\n /* webpackChunkName: \"blueprint-icons-16px-paths\" */\n \"../generated/16px/paths\"\n );\n } else {\n pathsRecord = await import(\n /* webpackChunkName: \"blueprint-icons-20px-paths\" */\n \"../generated/20px/paths\"\n );\n }\n\n return pathsRecord[key];\n};\n"],"names":["splitPathsBySizeLoader","name","size","__awaiter","key","pascalCase","IconSize","STANDARD","pathsRecord","_a","sent"],"sourceRoot":""}