{"ast":null,"code":"import _objectWithoutProperties from \"C:/Users/user/Desktop/02portreact/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js\";\nvar _excluded = [\"children\", \"width\", \"height\"];\nimport $jbnEx$babelruntimehelpersesmextends from \"@babel/runtime/helpers/esm/extends\";\nimport { forwardRef as $jbnEx$forwardRef, createElement as $jbnEx$createElement } from \"react\";\nimport { Primitive as $jbnEx$Primitive } from \"@radix-ui/react-primitive\";\n\n/* -------------------------------------------------------------------------------------------------\n * Arrow\n * -----------------------------------------------------------------------------------------------*/\nvar $7e8f5cd07187803e$var$NAME = 'Arrow';\nvar $7e8f5cd07187803e$export$21b07c8f274aebd5 = /*#__PURE__*/$jbnEx$forwardRef(function (props, forwardedRef) {\n  var children = props.children,\n    _props$width = props.width,\n    width = _props$width === void 0 ? 10 : _props$width,\n    _props$height = props.height,\n    height = _props$height === void 0 ? 5 : _props$height,\n    arrowProps = _objectWithoutProperties(props, _excluded);\n  return /*#__PURE__*/$jbnEx$createElement($jbnEx$Primitive.svg, $jbnEx$babelruntimehelpersesmextends({}, arrowProps, {\n    ref: forwardedRef,\n    width: width,\n    height: height,\n    viewBox: \"0 0 30 10\",\n    preserveAspectRatio: \"none\"\n  }), props.asChild ? children : /*#__PURE__*/$jbnEx$createElement(\"polygon\", {\n    points: \"0,0 30,0 15,10\"\n  }));\n});\n/*#__PURE__*/\nObject.assign($7e8f5cd07187803e$export$21b07c8f274aebd5, {\n  displayName: $7e8f5cd07187803e$var$NAME\n});\n/* -----------------------------------------------------------------------------------------------*/\nvar $7e8f5cd07187803e$export$be92b6f5f03c0fe9 = $7e8f5cd07187803e$export$21b07c8f274aebd5;\nexport { $7e8f5cd07187803e$export$21b07c8f274aebd5 as Arrow, $7e8f5cd07187803e$export$be92b6f5f03c0fe9 as Root };","map":{"version":3,"names":["$7e8f5cd07187803e$var$NAME","$7e8f5cd07187803e$export$21b07c8f274aebd5","$jbnEx$forwardRef","props","forwardedRef","children","width","_props$width","_props$height","height","arrowProps","_objectWithoutProperties","_excluded","$jbnEx$createElement","$jbnEx$Primitive","svg","$jbnEx$babelruntimehelpersesmextends","ref","viewBox","preserveAspectRatio","asChild","points","Object","assign","displayName","$7e8f5cd07187803e$export$be92b6f5f03c0fe9"],"sources":["C:\\Users\\user\\Desktop\\02portreact\\node_modules\\@radix-ui\\react-arrow\\dist\\packages\\react\\arrow\\src\\index.ts","C:\\Users\\user\\Desktop\\02portreact\\node_modules\\@radix-ui\\react-arrow\\dist\\packages\\react\\arrow\\src\\Arrow.tsx"],"sourcesContent":["export {\n  Arrow,\n  //\n  Root,\n} from './Arrow';\nexport type { ArrowProps } from './Arrow';\n","import * as React from 'react';\nimport { Primitive } from '@radix-ui/react-primitive';\n\nimport type * as Radix from '@radix-ui/react-primitive';\n\n/* -------------------------------------------------------------------------------------------------\n * Arrow\n * -----------------------------------------------------------------------------------------------*/\n\nconst NAME = 'Arrow';\n\ntype ArrowElement = React.ElementRef<typeof Primitive.svg>;\ntype PrimitiveSvgProps = Radix.ComponentPropsWithoutRef<typeof Primitive.svg>;\ninterface ArrowProps extends PrimitiveSvgProps {}\n\nconst Arrow = React.forwardRef<ArrowElement, ArrowProps>((props, forwardedRef) => {\n  const { children, width = 10, height = 5, ...arrowProps } = props;\n  return (\n    <Primitive.svg\n      {...arrowProps}\n      ref={forwardedRef}\n      width={width}\n      height={height}\n      viewBox=\"0 0 30 10\"\n      preserveAspectRatio=\"none\"\n    >\n      {/* We use their children if they're slotting to replace the whole svg */}\n      {props.asChild ? children : <polygon points=\"0,0 30,0 15,10\" />}\n    </Primitive.svg>\n  );\n});\n\nArrow.displayName = NAME;\n\n/* -----------------------------------------------------------------------------------------------*/\n\nconst Root = Arrow;\n\nexport {\n  Arrow,\n  //\n  Root,\n};\nexport type { ArrowProps };\n"],"mappings":";;;;;;ACKA;;;AAIA,IAAMA,0BAAI,GAAG,OAAb;AAMA,IAAMC,yCAAK,gBAAGC,iBAAA,CAA2C,UAACC,KAAD,EAAQC,YAAR,EAAyB;EAChF,IAAQC,QAAF,GAAsDF,KAA5D,C;mBAA4DA,KAA5D,CAAMG,KAAA;IAAYA,KAAK,GAAAC,YAAA,cAAG,EAApB,GAAAA,YAAA;IAAAC,aAAA,GAAsDL,KAA5D,CAAMM,MAAA;IAAwBA,MAAM,GAAAD,aAAA,cAAG,CAAjC,GAAAA,aAAA;IAAuCE,UAAH,GAAAC,wBAAA,CAAkBR,KAA5D,EAAAS,SAAA;EACA,oBACEC,oBAAA,CAACC,gBAAD,CAAWC,GAAX,EAAAC,oCAAA,KACMN,UADN,EADF;IAGIO,GAAG,EAAEb,YAFP;IAGEE,KAAK,EAAEA,KAHT;IAIEG,MAAM,EAAEA,MAJV;IAKES,OAAO,EAAC,WALV;IAMEC,mBAAmB,EAAC;GANtB,GASGhB,KAAK,CAACiB,OAAN,GAAgBf,QAAhB,gBAA2BQ,oBAT9B;IASuCQ,MAAM,EAAC;GAAhB,CAT9B,CADF;CAFY,CAAd;AAiBA;AAAAC,MAAA,CAAAC,MAAA,CAAAtB,yCAAA;EAAAuB,WAAA,EAAAxB;CAAA;AAEA;AAEA,IAAMyB,yCAAI,GAAGxB,yCAAb"},"metadata":{},"sourceType":"module","externalDependencies":[]}