import React, { ForwardedRef, useContext } from 'react';
import { OriginIconProps } from '../type';
import { Context } from '../context';

function IconUploadVideo1Component(props: OriginIconProps, ref: ForwardedRef<SVGSVGElement>) {
    const { prefix: prefixFromContext } = useContext(Context);
    const { className = '', prefix: prefixFromProps, width = '1em', height = '1em', useCurrentColor = true, spin, ...rest } = props;

    const prefix = prefixFromProps || prefixFromContext || 'hiagent';
    const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
    return <svg className={`${prefix}-icon ${prefix}-icon-upload_video_1${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 16 16" fill={useCurrentColor ? 'currentColor' : '#000'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><path d="M11.6992 8.82129C11.8208 8.69972 12.0171 8.69982 12.1396 8.82129L14.3447 11.0264C14.4663 11.148 14.4663 11.3452 14.3447 11.4668L13.9043 11.9082C13.8754 11.9373 13.8406 11.9608 13.8027 11.9766C13.765 11.9922 13.7245 12 13.6836 12C13.6427 12 13.6022 11.9922 13.5645 11.9766C13.5266 11.9608 13.4918 11.9373 13.4629 11.9082L12.5469 10.9912V14.2129C12.5469 14.2954 12.5144 14.3752 12.4561 14.4336C12.3976 14.492 12.318 14.5244 12.2354 14.5244H11.6113C11.5289 14.5244 11.45 14.4919 11.3916 14.4336C11.3332 14.3752 11.2998 14.2955 11.2998 14.2129V10.9834L10.376 11.9082C10.3177 11.9663 10.2385 11.9989 10.1562 11.999C10.0739 11.999 9.99489 11.9662 9.93652 11.9082L9.49414 11.4668C9.46528 11.4379 9.44239 11.403 9.42676 11.3652C9.41122 11.3276 9.40332 11.2869 9.40332 11.2461C9.40336 11.2053 9.41114 11.1646 9.42676 11.127C9.44236 11.0893 9.46538 11.0552 9.49414 11.0264L11.6992 8.82129ZM14.75 1.48047C15.0261 1.48047 15.25 1.70433 15.25 1.98047V7.6543C15.2499 7.86085 15.0825 8.02823 14.876 8.02832H14.2207C14.0142 8.02818 13.8467 7.86082 13.8467 7.6543V2.88281H2.15332V12.2383H7.85938C8.06604 12.2383 8.2334 12.4056 8.2334 12.6123V13.2666C8.2334 13.4733 8.06604 13.6416 7.85938 13.6416H1.25C0.973968 13.6416 0.750179 13.4176 0.75 13.1416V1.98047C0.75 1.70433 0.973858 1.48047 1.25 1.48047H14.75ZM6.3125 5.53027C6.38058 5.53027 6.44683 5.55318 6.5 5.5957L9.98242 7.25391C10.1118 7.35738 10.1328 7.54644 10.0293 7.67578C10.0155 7.69307 9.99971 7.70883 9.98242 7.72266L6.5 9.61523C6.37067 9.71852 6.18155 9.69761 6.07812 9.56836C6.03562 9.51523 6.01274 9.4489 6.0127 9.38086V5.83008C6.0127 5.6645 6.14694 5.53037 6.3125 5.53027Z"/></svg>;
}

const IconUploadVideo1 = React.forwardRef(IconUploadVideo1Component);
export default IconUploadVideo1;
