1"use strict";(self.webpackChunkfitch_solutions=self.webpackChunkfitch_solutions||[]).push([[348],{8689:function(e,t,n){var o;n.d(t,{ie:function(){return w},we:function(){return O}});var r=n(6540),l=n(6984),s=n(4848),u=n(6635),i=(n(961),n(4743));const c="ArrowLeft",f="ArrowRight",a="ArrowUp",d="ArrowDown";const g=[c,f],h=[a,d],m={...o||(o=n.t(r,2))};let p=!1,v=0;const x=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+v++;const R=m.useId||function(){const[e,t]=r.useState(()=>p?x():void 0);return(0,l.OS)(()=>{null==e&&t(x())},[]),r.useEffect(()=>{p=!0},[]),e};const w=r.forwardRef(function(e,t){const{context:{placement:n,elements:{floating:o},middlewareData:{arrow:i,shift:c}},width:f=14,height:a=7,tipRadius:d=0,strokeWidth:g=0,staticOffset:h,stroke:m,d:p,style:{transform:v,...x}={},...w}=e;const C=R(),[S,k]=r.useState(!1);if((0,l.OS)(()=>{if(!o)return;"rtl"===(0,u.L9)(o).direction&&k(!0)},[o]),!o)return null;const[M,b]=n.split("-"),O="top"===M||"bottom"===M;let j=h;(O&&null!=c&&c.x||!O&&null!=c&&c.y)&&(j=null);const y=2*g,E=y/2,q=f/2*(d/-8+1),A=a/2*d/4,I=!!p,P=j&&"end"===b?"bottom":"top";let B=j&&"end"===b?"right":"left";j&&S&&(B="end"===b?"left":"right");const L=null!=(null==i?void 0:i.x)?j||i.x:"",D=null!=(null==i?void 0:i.y)?j||i.y:"",W=p||"M0,0 H"+f+" L"+(f-q)+","+(a-A)+" Q"+f/2+","+a+" "+q+","+(a-A)+" Z",_={top:I?"rotate(180deg)":"",left:I?"rotate(90deg)":"rotate(-90deg)",bottom:I?"":"rotate(180deg)",right:I?"rotate(-90deg)":"rotate(90deg)"}[M];return(0,s.jsxs)("svg",{...w,"aria-hidden":!0,ref:t,width:I?f:f+y,height:f,viewBox:"0 0 "+f+" "+(a>f?a:f),style:{position:"absolute",pointerEvents:"none",[B]:L,[P]:D,[M]:O||I?"100%":"calc(100% - "+y/2+"px)",transform:[_,v].filter(e=>!!e).join(" "),...x},children:[y>0&&(0,s.jsx)("path",{clipPath:"url(#"+C+")",fill:"none",stroke:m,strokeWidth:y+(p?0:1),d:W}),(0,s.jsx)("path",{stroke:y&&!p?w.fill:"none",d:W}),(0,s.jsx)("clipPath",{id:C,children:(0,s.jsx)("rect",{x:-E,y:E*(I?-1:1),width:f+y,height:f})})]})});function C(){const e=new Map;return{emit(t,n){var o;null==(o=e.get(t))||o.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var o;null==(o=e.get(t))||o.delete(n)}}}const S=r.createContext(null),k=r.createContext(null),M=()=>{var e;return(null==(e=r.useContext(S))?void 0:e.id)||null},b=()=>r.useContext(k);function O(e){void 0===e&&(e={});const{nodeId:t}=e,n=function(e){const{open:t=!1,onOpenChange:n,elements:o}=e,s=R(),u=r.useRef({}),[i]=r.useState(()=>C()),c=null!=M(),[f,a]=r.useState(o.reference),d=(0,l.Jt)((e,t,o)=>{u.current.openEvent=e?t:void 0,i.emit("openchange",{open:e,event:t,reason:o,nested:c}),null==n||n(e,t,o)}),g=r.useMemo(()=>({setPositionReference:a}),[]),h=r.useMemo(()=>({reference:f||o.reference||null,floating:o.floating||null,domReference:o.reference}),[f,o.reference,o.floating]);return r.useMemo(()=>({dataRef:u,open:t,onOpenChange:d,elements:h,events:i,floatingId:s,refs:g}),[t,d,h,i,s,g])}({...e,elements:{reference:null,floating:null,...e.elements}}),o=e.rootContext||n,s=o.elements,[c,f]=r.useState(null),[a,d]=r.useState(null),g=(null==s?void 0:s.domReference)||c,h=r.useRef(null),m=b();(0,l.OS)(()=>{g&&(h.current=g)},[g]);const p=(0,i.we)({...e,elements:{...s,...a&&{reference:a}}}),v=r.useCallback(e=>{const t=(0,u.vq)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;d(t),p.refs.setReference(t)},[p.refs]),x=r.useCallback(e=>{((0,u.vq)(e)||null===e)&&(h.current=e,f(e)),((0,u.vq)(p.refs.reference.current)||null===p.refs.reference.current||null!==e&&!(0,u.vq)(e))&&p.refs.setReference(e)},[p.refs]),w=r.useMemo(()=>({...p.refs,setReference:x,setPositionReference:v,domReference:h}),[p.refs,x,v]),S=r.useMemo(()=>({...p.elements,domReference:g}),[p.elements,g]),k=r.useMemo(()=>({...p,...o,refs:w,elements:S,nodeId:t}),[p,w,S,t,o]);return(0,l.OS)(()=>{o.dataRef.current.floatingContext=k;const e=null==m?void 0:m.nodesRef.current.find(e=>e.id===t);e&&(e.context=k)}),r.useMemo(()=>({...p,context:k,refs:w,elements:S}),[p,w,S,k])}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.