{"version":3,"sources":["../../src/BaseIcon.native.tsx","../../src/components/bookmarks/Bookmark.tsx","../../src/components/bookmarks/BookmarkAdd.tsx","../../src/components/bookmarks/BookmarkCheck.tsx","../../src/components/bookmarks/BookmarkOff.tsx","../../src/components/bookmarks/BookmarkRemove.tsx","../../src/components/bookmarks/BookmarkSubtract.tsx"],"sourcesContent":["import React from \"react\";\nimport { View, ViewStyle } from \"react-native\";\nimport { SvgXml } from \"react-native-svg\";\nimport { resolveNativeIconSize } from \"@xsolla/xui-primitives-core\";\nimport type { BaseIconInternalProps } from \"./types\";\n\nexport const BaseIcon: React.FC<BaseIconInternalProps> = ({\n  variant = \"line\",\n  size = 24,\n  color = \"currentColor\",\n  solidContent,\n  lineContent,\n  style,\n  testID,\n  \"aria-label\": ariaLabel,\n}) => {\n  const svgContent = variant === \"line\" ? lineContent : solidContent;\n\n  // Percentages resolve against the parent here just as they do on web; other\n  // CSS lengths warn and fall back rather than silently rendering at 24.\n  const resolvedSize = resolveNativeIconSize(size, 24);\n\n  const containerStyle: ViewStyle = {\n    width: resolvedSize,\n    height: resolvedSize,\n    alignItems: \"center\",\n    justifyContent: \"center\",\n    ...(style as ViewStyle),\n  };\n\n  // Replace currentColor with actual color for React Native\n  const coloredSvg = svgContent.replace(/currentColor/g, color);\n\n  return (\n    <View\n      style={containerStyle}\n      testID={testID}\n      accessible={!!ariaLabel}\n      accessibilityLabel={ariaLabel}\n      accessibilityRole={ariaLabel ? \"image\" : undefined}\n    >\n      <SvgXml xml={coloredSvg} width=\"100%\" height=\"100%\" />\n    </View>\n  );\n};\n","// Auto-generated - do not edit manually\nimport React from \"react\";\nimport { BaseIcon } from \"../../BaseIcon\";\nimport type { BaseIconProps } from \"../../types\";\n\nconst solidContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"icon_bookmark--solid\"><path id=\"Union\" d=\"M19.5 2.99341C19.7761 2.99341 20 3.21727 20 3.49341V21.3554C20 21.7393 19.5852 21.98 19.2519 21.7895L12 17.6448L4.7481 21.7895C4.41478 21.98 4 21.7393 4 21.3554V3.49341C4 3.21727 4.22386 2.99341 4.5 2.99341H19.5Z\" style=\"fill: currentColor\"/></g></svg>`;\nconst lineContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"icon_bookmark--line\"><path id=\"Union\" d=\"M19.5 3C19.7761 3 20 3.22386 20 3.5V21.362C20 21.7459 19.5852 21.9866 19.2519 21.7961L12 17.6514L4.7481 21.7961C4.41478 21.9866 4 21.7459 4 21.362V3.5C4 3.22386 4.22386 3 4.5 3H19.5ZM6 18.7764L12 15.3486L18 18.7764V5H6V18.7764Z\" style=\"fill: currentColor\"/></g></svg>`;\n\nexport const Bookmark: React.FC<BaseIconProps> = (props) => (\n  <BaseIcon {...props} solidContent={solidContent} lineContent={lineContent} />\n);\n","// Auto-generated - do not edit manually\nimport React from \"react\";\nimport { BaseIcon } from \"../../BaseIcon\";\nimport type { BaseIconProps } from \"../../types\";\n\nconst solidContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"icon_bookmark-add--solid\"><path id=\"Union\" d=\"M19.5 2.99341C19.7761 2.99341 20 3.21727 20 3.49341V21.3557C19.9998 21.7394 19.5852 21.9798 19.252 21.7893L12 17.6448L4.74805 21.7893C4.41482 21.9798 4.00024 21.7394 4 21.3557V3.49341C4 3.21727 4.22386 2.99341 4.5 2.99341H19.5ZM11 7.99341V9.99341H9V11.9934H11V13.9934H13V11.9934H15V9.99341H13V7.99341H11Z\" style=\"fill: currentColor\"/></g></svg>`;\nconst lineContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"icon_bookmark-add--line\"><path id=\"Union\" d=\"M19.5 3C19.7761 3 20 3.22386 20 3.5V21.3623C19.9998 21.746 19.5852 21.9864 19.252 21.7959L12 17.6514L4.74805 21.7959C4.41482 21.9864 4.00024 21.746 4 21.3623V3.5C4 3.22386 4.22386 3 4.5 3H19.5ZM6 18.7764L12 15.3486L18 18.7764V5H6V18.7764ZM13 9H15V11H13V13H11V11H9V9H11V7H13V9Z\" style=\"fill: currentColor\"/></g></svg>`;\n\nexport const BookmarkAdd: React.FC<BaseIconProps> = (props) => (\n  <BaseIcon {...props} solidContent={solidContent} lineContent={lineContent} />\n);\n","// Auto-generated - do not edit manually\nimport React from \"react\";\nimport { BaseIcon } from \"../../BaseIcon\";\nimport type { BaseIconProps } from \"../../types\";\n\nconst solidContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"icon_bookmark-check--solid\"><path id=\"Union\" d=\"M19.5 2.99341C19.7761 2.99341 20 3.21727 20 3.49341V21.3557C19.9998 21.7394 19.5852 21.9798 19.252 21.7893L12 17.6448L4.74805 21.7893C4.41482 21.9798 4.00024 21.7394 4 21.3557V3.49341C4 3.21727 4.22386 2.99341 4.5 2.99341H19.5ZM11.6348 10.5276L9.51367 8.40649L8.09961 9.82056L11.2812 13.0032C11.4765 13.1983 11.793 13.1983 11.9883 13.0032L16.0283 8.96216L14.6143 7.5481L11.6348 10.5276Z\" style=\"fill: currentColor\"/></g></svg>`;\nconst lineContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"icon_bookmark-check--line\"><path id=\"Union\" d=\"M19.5 3C19.7761 3 20 3.22386 20 3.5V21.3623C19.9998 21.746 19.5852 21.9864 19.252 21.7959L12 17.6514L4.74805 21.7959C4.41482 21.9864 4.00024 21.746 4 21.3623V3.5C4 3.22386 4.22386 3 4.5 3H19.5ZM6 18.7764L12 15.3486L18 18.7764V5H6V18.7764ZM16.0283 8.96875L11.9883 13.0098C11.793 13.2049 11.4765 13.2049 11.2812 13.0098L8.09961 9.82715L9.51367 8.41309L11.6348 10.5342L14.6143 7.55469L16.0283 8.96875Z\" style=\"fill: currentColor\"/></g></svg>`;\n\nexport const BookmarkCheck: React.FC<BaseIconProps> = (props) => (\n  <BaseIcon {...props} solidContent={solidContent} lineContent={lineContent} />\n);\n","// Auto-generated - do not edit manually\nimport React from \"react\";\nimport { BaseIcon } from \"../../BaseIcon\";\nimport type { BaseIconProps } from \"../../types\";\n\nconst solidContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"icon_bookmark-off--solid\"><path id=\"Union\" d=\"M4.4209 3.00903C4.44669 3.00493 4.47305 3.0022 4.5 3.0022H19.5C19.7761 3.0022 20 3.22605 20 3.5022V18.5881L22.707 21.2952L21.293 22.7092L1.29297 2.70923L2.70703 1.29517L4.4209 3.00903ZM6 18.7786L10.7637 16.0569L11.7627 17.7883L4.74805 21.7981C4.41482 21.9885 4.00024 21.7482 4 21.3645V10.0022H6V18.7786Z\" style=\"fill: currentColor\"/></g></svg>`;\nconst lineContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"icon_bookmark-off--line\"><path id=\"Union\" d=\"M4.4209 3.00684C4.44669 3.00273 4.47305 3 4.5 3H19.5C19.7761 3 20 3.22386 20 3.5V18.5859L22.707 21.293L21.293 22.707L1.29297 2.70703L2.70703 1.29297L4.4209 3.00684ZM6 18.7764L10.7637 16.0547L11.7627 17.7861L4.74805 21.7959C4.41482 21.9864 4.00024 21.746 4 21.3623V10H6V18.7764ZM18 16.5859V5H6.41406L18 16.5859Z\" style=\"fill: currentColor\"/></g></svg>`;\n\nexport const BookmarkOff: React.FC<BaseIconProps> = (props) => (\n  <BaseIcon {...props} solidContent={solidContent} lineContent={lineContent} />\n);\n","// Auto-generated - do not edit manually\nimport React from \"react\";\nimport { BaseIcon } from \"../../BaseIcon\";\nimport type { BaseIconProps } from \"../../types\";\n\nconst solidContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"icon_bookmark-remove--solid\"><path id=\"Union\" d=\"M19.5 2.99341C19.7761 2.99341 20 3.21727 20 3.49341V21.3557C19.9998 21.7394 19.5852 21.9798 19.252 21.7893L12 17.6448L4.74805 21.7893C4.41482 21.9798 4.00024 21.7394 4 21.3557V3.49341C4 3.21727 4.22386 2.99341 4.5 2.99341H19.5ZM12 9.82153L10.5859 8.40747L9.17188 9.82153L10.5859 11.2356L9.17188 12.6506L10.5859 14.0647L12 12.6506L13.4141 14.0647L14.8281 12.6506L13.4141 11.2356L14.8281 9.82153L13.4141 8.40747L12 9.82153Z\" style=\"fill: currentColor\"/></g></svg>`;\nconst lineContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"icon_bookmark-remove--line\"><path id=\"Union\" d=\"M19.5 3C19.7761 3 20 3.22386 20 3.5V21.3623C19.9998 21.746 19.5852 21.9864 19.252 21.7959L12 17.6514L4.74805 21.7959C4.41482 21.9864 4.00024 21.746 4 21.3623V3.5C4 3.22386 4.22386 3 4.5 3H19.5ZM6 18.7764L12 15.3486L18 18.7764V5H6V18.7764ZM14.8281 8.82812L13.4141 10.2422L14.8281 11.6572L13.4141 13.0713L12 11.6572L10.5859 13.0713L9.17188 11.6572L10.5859 10.2422L9.17188 8.82812L10.5859 7.41406L12 8.82812L13.4141 7.41406L14.8281 8.82812Z\" style=\"fill: currentColor\"/></g></svg>`;\n\nexport const BookmarkRemove: React.FC<BaseIconProps> = (props) => (\n  <BaseIcon {...props} solidContent={solidContent} lineContent={lineContent} />\n);\n","// Auto-generated - do not edit manually\nimport React from \"react\";\nimport { BaseIcon } from \"../../BaseIcon\";\nimport type { BaseIconProps } from \"../../types\";\n\nconst solidContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"icon_bookmark-subtract--solid\"><path id=\"Union\" d=\"M19.5 2.99341C19.7761 2.99341 20 3.21727 20 3.49341V21.3557C19.9998 21.7394 19.5852 21.9798 19.252 21.7893L12 17.6448L4.74805 21.7893C4.41482 21.9798 4.00024 21.7394 4 21.3557V3.49341C4 3.21727 4.22386 2.99341 4.5 2.99341H19.5ZM9 9.99341V11.9934H15V9.99341H9Z\" style=\"fill: currentColor\"/></g></svg>`;\nconst lineContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"icon_bookmark-subtract--line\"><path id=\"Union\" d=\"M19.5 3C19.7761 3 20 3.22386 20 3.5V21.3623C19.9998 21.746 19.5852 21.9864 19.252 21.7959L12 17.6514L4.74805 21.7959C4.41482 21.9864 4.00024 21.746 4 21.3623V3.5C4 3.22386 4.22386 3 4.5 3H19.5ZM6 18.7764L12 15.3486L18 18.7764V5H6V18.7764ZM15 11H9V9H15V11Z\" style=\"fill: currentColor\"/></g></svg>`;\n\nexport const BookmarkSubtract: React.FC<BaseIconProps> = (props) => (\n  <BaseIcon {...props} solidContent={solidContent} lineContent={lineContent} />\n);\n"],"mappings":";AACA,SAAS,YAAuB;AAChC,SAAS,cAAc;AACvB,SAAS,6BAA6B;AAsChC;AAnCC,IAAM,WAA4C,CAAC;AAAA,EACxD,UAAU;AAAA,EACV,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,cAAAA;AAAA,EACA,aAAAC;AAAA,EACA;AAAA,EACA;AAAA,EACA,cAAc;AAChB,MAAM;AACJ,QAAM,aAAa,YAAY,SAASA,eAAcD;AAItD,QAAM,eAAe,sBAAsB,MAAM,EAAE;AAEnD,QAAM,iBAA4B;AAAA,IAChC,OAAO;AAAA,IACP,QA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cC,eAAc,aAAaC,cAAa;","names":["solidContent","lineContent","jsx","jsx","solidContent","lineContent","jsx","solidContent","lineContent","jsx","solidContent","lineContent","jsx","solidContent","lineContent","jsx","solidContent","lineContent"]}