import { forwardRef } from "react";
import type { IconProps } from "../../types";

export const IconSortPositiveOutline = forwardRef<SVGSVGElement, IconProps>(
  ({ color = "currentColor", ...props }, forwardedRef) => {
    const { className } = props;
    props = {
      ...props,
      width: `${props.width || props.size || 20}`,
      height: `${props.height || props.size || 20}`,
      className: `${
        className ? className + " " : ""
      }customeow-icon customeow-icon-icon-sort-positive-outline`,
    };
    return (
      <svg
        viewBox="0 0 20 20"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        {...props}
        ref={forwardedRef}
      >
        <path
          d="M18.4252 8.62355H17.2338C17.2078 8.88926 17.1457 9.11165 17.0475 9.29072C16.9522 9.46978 16.8121 9.60553 16.6273 9.69795C16.4453 9.79037 16.2085 9.83658 15.9168 9.83658C15.6771 9.83658 15.4706 9.79037 15.2973 9.69795C15.124 9.60553 14.9825 9.47123 14.8727 9.29505C14.763 9.11887 14.6821 8.90371 14.6301 8.64955C14.5782 8.39539 14.5522 8.10802 14.5522 7.78743V7.29789C14.5522 6.96287 14.581 6.66827 14.6388 6.41412C14.6966 6.15707 14.7832 5.94335 14.8987 5.77295C15.0143 5.59966 15.1587 5.46969 15.332 5.38305C15.5081 5.2964 15.7118 5.25308 15.9428 5.25308C16.2403 5.25308 16.4786 5.30218 16.6576 5.40037C16.8396 5.49568 16.9753 5.63576 17.0649 5.8206C17.1573 6.00544 17.215 6.23072 17.2381 6.49643H18.4295C18.3891 6.06898 18.2707 5.69063 18.0743 5.36138C17.8779 5.03213 17.6021 4.77365 17.2468 4.58592C16.8916 4.3953 16.4569 4.29999 15.9428 4.29999C15.5471 4.29999 15.189 4.37075 14.8684 4.51227C14.5507 4.65379 14.2778 4.85596 14.0496 5.11878C13.8243 5.37871 13.6511 5.69352 13.5298 6.06321C13.4085 6.43289 13.3478 6.84734 13.3478 7.30656V7.78743C13.3478 8.24665 13.407 8.6611 13.5254 9.03078C13.6438 9.39758 13.8142 9.71239 14.0366 9.97521C14.2619 10.2351 14.5319 10.4359 14.8468 10.5774C15.1644 10.716 15.5211 10.7853 15.9168 10.7853C16.4309 10.7853 16.8685 10.6929 17.2295 10.5081C17.5905 10.3232 17.8721 10.0691 18.0743 9.7456C18.2764 9.41924 18.3934 9.04522 18.4252 8.62355ZM2.00303 14.8685C1.61479 14.8685 1.30005 14.5537 1.30005 14.1655C1.30005 13.7772 1.61479 13.4625 2.00303 13.4625L17.744 13.4625C17.9891 13.3799 18.2707 13.4363 18.466 13.6316C18.7405 13.9061 18.7405 14.3512 18.466 14.6258L15.9096 17.1822C15.635 17.4567 15.1899 17.4567 14.9154 17.1822C14.6409 16.9077 14.6409 16.4626 14.9154 16.188L16.235 14.8685L2.00303 14.8685ZM9.10148 9.76295V7.8871H10.3275C10.5643 7.8871 10.7549 7.92609 10.8994 8.00407C11.0467 8.08205 11.1535 8.19324 11.2199 8.33765C11.2893 8.48206 11.3239 8.65246 11.3239 8.84885C11.3239 9.02792 11.2849 9.18677 11.2069 9.3254C11.1319 9.46114 11.0163 9.568 10.8604 9.64598C10.7073 9.72396 10.5123 9.76295 10.2755 9.76295H9.10148ZM11.6272 7.3499C11.5731 7.3798 11.5158 7.40689 11.4553 7.43119C11.5979 7.46722 11.7245 7.51954 11.8351 7.58817C12.0662 7.72969 12.2366 7.91165 12.3463 8.13403C12.4561 8.35642 12.5109 8.59614 12.5109 8.85318C12.5109 9.25752 12.4229 9.59688 12.2467 9.87126C12.0734 10.1456 11.8192 10.3521 11.4842 10.4908C11.1521 10.6294 10.7492 10.6987 10.2755 10.6987H9.10148H8.365H7.91012V4.39099H10.0806C10.4387 4.39099 10.7578 4.42564 11.038 4.49496C11.321 4.56139 11.5607 4.66536 11.7571 4.80688C11.9535 4.9484 12.1023 5.12602 12.2034 5.33974C12.3073 5.55347 12.3593 5.80763 12.3593 6.10222C12.3593 6.36215 12.2987 6.60187 12.1774 6.82137C12.0589 7.03798 11.8756 7.21416 11.6272 7.3499ZM10.6827 6.947C10.5239 7.01343 10.3261 7.04664 10.0892 7.04664H9.10148V5.33108H10.0806C10.3289 5.33108 10.534 5.36141 10.6957 5.42206C10.8575 5.47982 10.9759 5.57224 11.051 5.69932C11.129 5.8264 11.168 5.99102 11.168 6.19319C11.168 6.37515 11.1261 6.52966 11.0423 6.65674C10.9615 6.78382 10.8416 6.88057 10.6827 6.947ZM4.59611 4.39099H4.89071L7.26044 10.6987H5.99543L5.52148 9.29507H3.16594L2.69427 10.6987H1.43359L3.79032 4.39099H4.08058H4.59611ZM3.48184 8.35498L4.34088 5.79855L5.20406 8.35498H3.48184Z"
          fill={color}
          fillRule="evenodd"
          clipRule="evenodd"
        />
      </svg>
    );
  }
);

IconSortPositiveOutline.displayName = "IconSortPositiveOutline";

export default IconSortPositiveOutline;
