/*!
 * Built by ShiftSoftware
 * Copyright (c)
 */
import{h as i}from"./p-Bf4Ol6Qt.js";import{c as o}from"./p-BK16Cn81.js";const l=o=>i("svg",Object.assign({fill:"none","stroke-width":"2",viewBox:"0 0 24 24"},o,{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"}),i("path",{d:"M20 6 9 17l-5-5"})),I=({direction:l,prefix:I,name:n})=>!!I&&i("div",{dir:l,class:o("form-input-prefix",{[`${n}-prefix`]:!!n}),part:o("form-input-prefix",{[`${n}-prefix`]:!!n})},I),n="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IndoaXRlIgogICAgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWxvYWRlciI+CiAgICA8cGF0aCBkPSJNMTIgMnY0IiAvPgogICAgPHBhdGggZD0ibTE2LjIgNy44IDIuOS0yLjkiIC8+CiAgICA8cGF0aCBkPSJNMTggMTJoNCIgLz4KICAgIDxwYXRoIGQ9Im0xNi4yIDE2LjIgMi45IDIuOSIgLz4KICAgIDxwYXRoIGQ9Ik0xMiAxOHY0IiAvPgogICAgPHBhdGggZD0ibTQuOSAxOS4xIDIuOS0yLjkiIC8+CiAgICA8cGF0aCBkPSJNMiAxMmg0IiAvPgogICAgPHBhdGggZD0ibTQuOSA0LjkgMi45IDIuOSIgLz4KPC9zdmc+",d=(i,o)=>(null==o?void 0:o.length)?`${i} ${Array.from(o).join(" ")}`:i;function g(i){var o,l,I,n,g,u,v,r,t;let a=i,e="",s=!1;for(;a&&!s;){const i=null===(o=a.getRootNode)||void 0===o?void 0:o.call(a);if(((null===(l=a.part)||void 0===l?void 0:l.contains("shift-form"))||(null===(I=a.classList)||void 0===I?void 0:I.contains("shift-form"))||(null===(n=a.part)||void 0===n?void 0:n.contains("shift-component"))||(null===(g=a.classList)||void 0===g?void 0:g.contains("shift-component")))&&(e=d(e,null!==(u=null==a?void 0:a.part)&&void 0!==u?u:null),e=d(e,null!==(v=null==a?void 0:a.classList)&&void 0!==v?v:null)),a.parentElement)a=a.parentElement;else{if(!(i instanceof ShadowRoot))break;a=i.host,e&&(s=!0)}}return s&&a&&(e=d(e,null!==(r=null==a?void 0:a.part)&&void 0!==r?r:null),e=d(e,null!==(t=null==a?void 0:a.classList)&&void 0!==t?t:null)),null==e?void 0:e.replaceAll("  "," ")}export{I as F,l as T,g,n as w}