;/*FB_PKG_DELIM*/ __d("BaseTypeaheadLayoutContextualStrategyStateContext",["react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=s.createContext(null);l.default=u}),98); __d("useBaseTypeaheadLayoutContextualStrategyStateContext",["BaseTypeaheadLayoutContextualStrategyStateContext","FBLogger","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useContext;function u(){var e=s(r("BaseTypeaheadLayoutContextualStrategyStateContext"));if(e==null)throw r("FBLogger")("typeahead_framework").mustfixThrow("Contextual Layout Strategy State is not found");return e}l.default=u}),98); __d("useCometInternalTypeaheadFetchHandler",["react","useBaseTypeaheadLayoutContextualStrategyStateContext","useCometInternalTypeaheadFetch","useCometInternalTypeaheadState"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=s.useCallback,c=s.useEffect;function d(e){var t=e.loggingProvider,n=e.queryString,o=e.traceProvider,a=r("useBaseTypeaheadLayoutContextualStrategyStateContext")(),i=a.isOpened,l=r("useCometInternalTypeaheadState")(),s=l.activeEntries,d=r("useCometInternalTypeaheadFetch")(),m=d.fetch,p=u(function(){function e(e,n){var r=null;t!=null&&(r=t.addEvent({action:"keystroke",entries:s,queryString:e},"useCometInternalTypeaheadFetchHandler"));var o=r!=null?{loggingEventTrace:r,perfTraceAPI:n,query:e}:{perfTraceAPI:n,query:e};m(o)}var r=n.trimLeft().replace(/\s+/g," ");i&&(o?o.trace(function(t){return e(r,t)},r):e(r))},[s,m,i,t,n,o]);c(p,[i,n])}l.default=d}),98); __d("BaseTypeaheadDataFetchTrigger.react",["react-compiler-runtime","useCometInternalTypeaheadFetchHandler"],(function(t,n,r,o,a,i,l){"use strict";function e(e){var t=o("react-compiler-runtime").c(4),n=e.loggingProvider,a=e.queryString,i=e.traceProvider,l;return t[0]!==n||t[1]!==a||t[2]!==i?(l={loggingProvider:n,queryString:a,traceProvider:i},t[0]=n,t[1]=a,t[2]=i,t[3]=l):l=t[3],r("useCometInternalTypeaheadFetchHandler")(l),null}l.default=e}),98); __d("cometTypeaheadMouseUtils",[],(function(t,n,r,o,a,i){"use strict";function e(e){return e!=null&&(e.ctrlKey||e.metaKey||e.shiftKey)}i.hasModifierKeyPressed=e}),66); __d("useCometInternalTypeaheadOnAbandonLoggingHandler",["react","react-compiler-runtime","useCometInternalTypeaheadState"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useCallback;function u(e){var t=o("react-compiler-runtime").c(5),n=e.callback,a=e.loggingProvider,i=e.queryString,l=r("useCometInternalTypeaheadState")(),s=l.activeEntries,u;return t[0]!==s||t[1]!==n||t[2]!==a||t[3]!==i?(u=function(){a!=null&&a.isSessionActive()&&(a.addEvent({action:"abandon",entries:s,queryString:i},"useCometInternalTypeaheadOnAbandonLoggingHandler"),a.endSession()),n&&n()},t[0]=s,t[1]=n,t[2]=a,t[3]=i,t[4]=u):u=t[4],u}l.default=u}),98); __d("useCometInternalTypeaheadOnEnterLoggingHandler",["react","react-compiler-runtime","useCometInternalTypeaheadState"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useCallback;function u(e){var t=o("react-compiler-runtime").c(6),n=e.loggingProvider,a=e.onEnter,i=e.queryString,l=r("useCometInternalTypeaheadState")(),s=l.activeEntries,u=l.highlightedEntry,c;return t[0]!==s||t[1]!==u||t[2]!==n||t[3]!==a||t[4]!==i?(c=function(){u!=null&&n&&n.addEvent({action:"click",entries:s,entry:u,queryString:i},"useCometInternalTypeaheadOnEnterLoggingHandler:without_highlightedEntry"),u==null&&n&&n.addEvent({action:"enter",entries:s,queryString:i},"useCometInternalTypeaheadOnEnterLoggingHandler:with_highlightedEntry"),n&&n.endSession(),a&&a()},t[0]=s,t[1]=u,t[2]=n,t[3]=a,t[4]=i,t[5]=c):c=t[5],c}l.default=u}),98); __d("useCometInternalTypeaheadOnFocusLoggingHandler",["react","react-compiler-runtime","useCometInternalTypeaheadState"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useCallback;function u(e){var t=o("react-compiler-runtime").c(5),n=e.loggingProvider,a=e.onFocus,i=e.queryString,l=r("useCometInternalTypeaheadState")(),s=l.activeEntries,u;return t[0]!==s||t[1]!==n||t[2]!==a||t[3]!==i?(u=function(){n!=null&&(n.startSession(),n.addEvent({action:"typeahead_appeared",entries:s,queryString:i},"useCometInternalTypeaheadOnFocusLoggingHandler")),a&&a()},t[0]=s,t[1]=n,t[2]=a,t[3]=i,t[4]=u):u=t[4],u}l.default=u}),98); __d("useCometInternalTypeaheadOnPressEntryLoggingHandler",["react","react-compiler-runtime","useCometInternalTypeaheadState"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useCallback;function u(e){var t=o("react-compiler-runtime").c(5),n=e.loggingProvider,a=e.onPressEntry,i=e.queryString,l=r("useCometInternalTypeaheadState")(),s=l.activeEntries,u;return t[0]!==s||t[1]!==n||t[2]!==a||t[3]!==i?(u=function(t,r){n!=null&&(n.addEvent({action:"click",entries:s,entry:t,queryString:i},"useCometInternalTypeaheadOnPressEntryLoggingHandler"),n.endSession()),a&&a(t,r)},t[0]=s,t[1]=n,t[2]=a,t[3]=i,t[4]=u):u=t[4],u}l.default=u}),98); __d("useCometTypeaheadInputRefs",["mergeRefs","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=s.useMemo,c=s.useRef;function d(e){var t=c(null),n=u(function(){return r("mergeRefs")(t,e)},[t,e]);return{composedRef:n,inputRef:t}}l.default=d}),98); __d("CometInternalTypeahead.react",["BaseTypeaheadDataFetchTrigger.react","cometTypeaheadMouseUtils","emptyFunction","react","react-compiler-runtime","useCometInternalTypeaheadOnAbandonLoggingHandler","useCometInternalTypeaheadOnEnterLoggingHandler","useCometInternalTypeaheadOnFocusLoggingHandler","useCometInternalTypeaheadOnPressEntryLoggingHandler","useCometInternalTypeaheadState","useCometTypeaheadInputRefs"],(function(t,n,r,o,a,i,l){"use strict";var e=["inputRef","layoutStrategyRenderer","loggingProvider","onEnter","onFocus","onPressEntry","onSelectFreeformQuery","onShiftTab","onTab","queryString","traceProvider"],s,u=s||(s=o("react")),c=s.useCallback;function d(t){var n=o("react-compiler-runtime").c(69),a,i,l,s,c,d,m,p,_,f,g,h;n[0]!==t?(i=t.inputRef,a=t.layoutStrategyRenderer,l=t.loggingProvider,s=t.onEnter,c=t.onFocus,d=t.onPressEntry,m=t.onSelectFreeformQuery,p=t.onShiftTab,_=t.onTab,g=t.queryString,h=t.traceProvider,f=babelHelpers.objectWithoutPropertiesLoose(t,e),n[0]=t,n[1]=a,n[2]=i,n[3]=l,n[4]=s,n[5]=c,n[6]=d,n[7]=m,n[8]=p,n[9]=_,n[10]=f,n[11]=g,n[12]=h):(a=n[1],i=n[2],l=n[3],s=n[4],c=n[5],d=n[6],m=n[7],p=n[8],_=n[9],f=n[10],g=n[11],h=n[12]);var y=r("useCometTypeaheadInputRefs")(i),C=y.composedRef,b=y.inputRef,v=r("useCometInternalTypeaheadState")(),S=v.highlightedEntry,R=v.secondaryActionHighlighted,L;n[13]!==S||n[14]!==s||n[15]!==d||n[16]!==m||n[17]!==g||n[18]!==R?(L=function(){S!=null?d==null||d(S,R):m==null||m(g),s()},n[13]=S,n[14]=s,n[15]=d,n[16]=m,n[17]=g,n[18]=R,n[19]=L):L=n[19];var E=L,k;n[20]!==l||n[21]!==g||n[22]!==E?(k={loggingProvider:l,onEnter:E,queryString:g},n[20]=l,n[21]=g,n[22]=E,n[23]=k):k=n[23];var I=r("useCometInternalTypeaheadOnEnterLoggingHandler")(k),T;n[24]!==l||n[25]!==c||n[26]!==g?(T={loggingProvider:l,onFocus:c,queryString:g},n[24]=l,n[25]=c,n[26]=g,n[27]=T):T=n[27];var D=r("useCometInternalTypeaheadOnFocusLoggingHandler")(T),x;n[28]!==b||n[29]!==d?(x=function(t,n){if(o("cometTypeaheadMouseUtils").hasModifierKeyPressed(n)){b.current&&b.current.focus();return}d(t)},n[28]=b,n[29]=d,n[30]=x):x=n[30];var $=x,P;n[31]!==l||n[32]!==g||n[33]!==$?(P={loggingProvider:l,onPressEntry:$,queryString:g},n[31]=l,n[32]=g,n[33]=$,n[34]=P):P=n[34];var N=r("useCometInternalTypeaheadOnPressEntryLoggingHandler")(P),M;n[35]!==l||n[36]!==p||n[37]!==g?(M={callback:p,loggingProvider:l,queryString:g},n[35]=l,n[36]=p,n[37]=g,n[38]=M):M=n[38];var w=r("useCometInternalTypeaheadOnAbandonLoggingHandler")(M),A;n[39]!==l||n[40]!==_||n[41]!==g?(A={callback:_,loggingProvider:l,queryString:g},n[39]=l,n[40]=_,n[41]=g,n[42]=A):A=n[42];var F=r("useCometInternalTypeaheadOnAbandonLoggingHandler")(A),O;n[43]!==l||n[44]!==g?(O={callback:r("emptyFunction"),loggingProvider:l,queryString:g},n[43]=l,n[44]=g,n[45]=O):O=n[45];var B=r("useCometInternalTypeaheadOnAbandonLoggingHandler")(O),W;n[46]!==l||n[47]!==g?(W={callback:r("emptyFunction"),loggingProvider:l,queryString:g},n[46]=l,n[47]=g,n[48]=W):W=n[48];var q=r("useCometInternalTypeaheadOnAbandonLoggingHandler")(W),U;n[49]!==l||n[50]!==g||n[51]!==h?(U=u.jsx(r("BaseTypeaheadDataFetchTrigger.react"),{loggingProvider:l,queryString:g,traceProvider:h}),n[49]=l,n[50]=g,n[51]=h,n[52]=U):U=n[52];var V;n[53]!==a||n[54]!==C||n[55]!==q||n[56]!==I||n[57]!==D||n[58]!==B||n[59]!==N||n[60]!==w||n[61]!==F||n[62]!==f||n[63]!==g||n[64]!==h?(V=u.jsx(a,babelHelpers.extends({},f,{inputRef:C,onAbandonTypeahead_DO_NOT_USE:q,onClick:r("emptyFunction"),onEnter:I,onFocus:D,onHighlightEntry:f.onHighlightEntry,onOutsideClick:B,onPressEntry:N,onShiftTab:w,onTab:F,queryString:g,traceProvider:h,xstyles:f.xstyles})),n[53]=a,n[54]=C,n[55]=q,n[56]=I,n[57]=D,n[58]=B,n[59]=N,n[60]=w,n[61]=F,n[62]=f,n[63]=g,n[64]=h,n[65]=V):V=n[65];var H;return n[66]!==U||n[67]!==V?(H=u.jsxs(u.Fragment,{children:[U,V]}),n[66]=U,n[67]=V,n[68]=H):H=n[68],H}l.default=d}),98); __d("CometInternalTypeaheadEmptyFetchContext",["react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=s.createContext(!1);l.default=u}),98); __d("CometInternalTypeaheadEmptyFetchProvider",["CometInternalTypeaheadEmptyFetchContext","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e,c=u.useLayoutEffect,d=u.useState;function m(e){var t=o("react-compiler-runtime").c(7),n=e.children,a=e.isLoading,i=e.source,l=d(!0),u=l[0],m=l[1],p,_;t[0]!==a?(p=function(){a&&m(!1)},_=[a],t[0]=a,t[1]=p,t[2]=_):(p=t[1],_=t[2]),c(p,_);var f;t[3]===Symbol.for("react.memo_cache_sentinel")?(f=["all","network"],t[3]=f):f=t[3];var g=f.includes(i),h=!(g&&u||a),y;return t[4]!==n||t[5]!==h?(y=s.jsx(r("CometInternalTypeaheadEmptyFetchContext").Provider,{value:h,children:n}),t[4]=n,t[5]=h,t[6]=y):y=t[6],y}l.default=m}),98); __d("CometInternalTypeaheadStateDispatcherContext",["react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=s.createContext();l.default=u}),98); __d("useCometInternalTypeaheadStateDispatcher",["CometInternalTypeaheadStateDispatcherContext","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useContext;function u(){return s(r("CometInternalTypeaheadStateDispatcherContext"))}l.default=u}),98); __d("CometInternalTypeaheadFetchProvider",["CometInternalTypeaheadEmptyFetchProvider","CometInternalTypeaheadFetchContext","react","react-compiler-runtime","useBaseTypeaheadDataSourceFetch","useCometInternalTypeaheadStateDispatcher"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e,c=u.useCallback,d=u.useMemo;function m(e){var t=o("react-compiler-runtime").c(20),n=e.children,a=e.dataSource,i=e.dataSourceFetchConfigParams,l=e.onFetchEntries_DO_NOT_USE,u=e.traceProvider,c=r("useCometInternalTypeaheadStateDispatcher")(),d=c.dispatchActiveEntries,m;t[0]!==d||t[1]!==l||t[2]!==u?(m=function(t,n){var e=t.entries,r=n.isTraceComplete,o=n.source;d(e!=null?e:[]),l&&l(e),u&&!u.isResolved()&&r&&(o==="cache"&&e.length>=u.getEntriesCountForVisualComplete()?u.setEndReason("max_suggestions_reached"):o==="network"?u.setEndReason("all_queries_completed"):o==="network-no-results"&&u.setEndReason("all_queries_completed_no_network_results"),u.resolve())},t[0]=d,t[1]=l,t[2]=u,t[3]=m):m=t[3];var p=m,_;t[4]!==a||t[5]!==i||t[6]!==p?(_={dataSource:a,dataSourceFetchConfigParams:i,onResolvePayload:p},t[4]=a,t[5]=i,t[6]=p,t[7]=_):_=t[7];var f=r("useBaseTypeaheadDataSourceFetch")(_),g=f[0],h=f[1],y=f[2],C=g.isLoading,b=g.source,v;t[8]!==h||t[9]!==C||t[10]!==y||t[11]!==b?(v={fetch:h,isLoading:C,refetch:y,source:b},t[8]=h,t[9]=C,t[10]=y,t[11]=b,t[12]=v):v=t[12];var S=v,R;t[13]!==n||t[14]!==C||t[15]!==b?(R=s.jsx(r("CometInternalTypeaheadEmptyFetchProvider"),{isLoading:C,source:b,children:n}),t[13]=n,t[14]=C,t[15]=b,t[16]=R):R=t[16];var L;return t[17]!==R||t[18]!==S?(L=s.jsx(r("CometInternalTypeaheadFetchContext").Provider,{value:S,children:R}),t[17]=R,t[18]=S,t[19]=L):L=t[19],L}l.default=m}),98); __d("BaseTypeaheadLayoutContextualStrategyStateContextProvider.react",["BaseTypeaheadLayoutContextualStrategyStateContext","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e,c=u.useCallback,d=u.useMemo,m=u.useState;function p(e){var t=o("react-compiler-runtime").c(10),n=e.children,a=e.autoOpen,i=e.onClose,l=e.onOpen,u=m(a),c=u[0],d=u[1],p;t[0]!==c||t[1]!==i||t[2]!==l?(p=function(t){t!==c&&(d(t),t?l():i())},t[0]=c,t[1]=i,t[2]=l,t[3]=p):p=t[3];var _=p,f;t[4]!==_||t[5]!==c?(f={dispatchIsOpened:_,isOpened:c},t[4]=_,t[5]=c,t[6]=f):f=t[6];var g=f,h;return t[7]!==n||t[8]!==g?(h=s.jsx(r("BaseTypeaheadLayoutContextualStrategyStateContext").Provider,{value:g,children:n}),t[7]=n,t[8]=g,t[9]=h):h=t[9],h}l.default=p}),98); __d("CometInternalTypeaheadStateProvider",["BaseTypeaheadLayoutContextualStrategyStateContextProvider.react","CometInternalTypeaheadStateContext","CometInternalTypeaheadStateDispatcherContext","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e,c=u.useCallback,d=u.useEffect,m=u.useMemo,p=u.useRef,_=u.useState,f=[];function g(e){var t=o("react-compiler-runtime").c(19),n=e.autoOpen,a=e.children,i=e.emptyEntries_DO_NOT_USE,l=e.onClose,u=e.onOpen,c=i===void 0?f:i,m=_(null),g=m[0],h=m[1],y=_(null),C=y[0],b=y[1],v=_(null),S=v[0],R=v[1],L=_(c),E=L[0],k=L[1],I=p(c),T,D;t[0]!==c?(T=function(){I.current!==c&&(I.current=c,k(function(e){return e.length?e:c}))},D=[k,I,c],t[0]=c,t[1]=T,t[2]=D):(T=t[1],D=t[2]),d(T,D);var x;t[3]===Symbol.for("react.memo_cache_sentinel")?(x=function(t){k(function(e){var n=Array.isArray(t)?t:t(e);return n.length>0?n:I.current})},t[3]=x):x=t[3];var $=x,P;t[4]===Symbol.for("react.memo_cache_sentinel")?(P=function(t){var e=t.entry,n=t.secondaryActionHighlighted,r=t.source;h(e),R(r),b(n)},t[4]=P):P=t[4];var N=P,M;t[5]===Symbol.for("react.memo_cache_sentinel")?(M={dispatchActiveEntries:$,dispatchHighlightedEntry:N},t[5]=M):M=t[5];var w=M,A;t[6]!==E||t[7]!==g||t[8]!==S||t[9]!==C?(A={activeEntries:E,highlightedEntry:g,highlightedEntrySource:S,secondaryActionHighlighted:C},t[6]=E,t[7]=g,t[8]=S,t[9]=C,t[10]=A):A=t[10];var F=A,O;t[11]!==n||t[12]!==a||t[13]!==l||t[14]!==u?(O=s.jsx(r("BaseTypeaheadLayoutContextualStrategyStateContextProvider.react"),{autoOpen:n,onClose:l,onOpen:u,children:a}),t[11]=n,t[12]=a,t[13]=l,t[14]=u,t[15]=O):O=t[15];var B;return t[16]!==F||t[17]!==O?(B=s.jsx(r("CometInternalTypeaheadStateDispatcherContext").Provider,{value:w,children:s.jsx(r("CometInternalTypeaheadStateContext").Provider,{value:F,children:O})}),t[16]=F,t[17]=O,t[18]=B):B=t[18],B}l.default=g}),98); __d("withCometTypeaheadInputStrategyShouldQueryStringFollowHighlightedEntry",["react","react-compiler-runtime","useCometInternalTypeaheadState"],(function(t,n,r,o,a,i,l){"use strict";var e=["ref","queryString"],s,u=s||(s=o("react"));function c(t,n){var a=n.shouldQueryStringFollowHighlightedEntry;function i(n){var i=o("react-compiler-runtime").c(8),l,s,c;i[0]!==n?(l=n.ref,s=n.queryString,c=babelHelpers.objectWithoutPropertiesLoose(n,e),i[0]=n,i[1]=l,i[2]=s,i[3]=c):(l=i[1],s=i[2],c=i[3]);var d=r("useCometInternalTypeaheadState")(),m=d.highlightedEntry,p=d.highlightedEntrySource,_=a&&p==="keyboard"&&m!=null?m.label:s,f;return i[4]!==l||i[5]!==_||i[6]!==c?(f=u.jsx(t,babelHelpers.extends({},c,{queryString:_,ref:l})),i[4]=l,i[5]=_,i[6]=c,i[7]=f):f=i[7],f}return i}l.default=c}),98); __d("BaseTypeahead.react",["CometHeroInteractionContextPassthrough.react","CometInternalTypeahead.react","CometInternalTypeaheadFetchProvider","CometInternalTypeaheadStateProvider","emptyFunction","react","react-compiler-runtime","withCometTypeaheadInputStrategyShouldQueryStringFollowHighlightedEntry"],(function(t,n,r,o,a,i,l){"use strict";var e=["autoOpen","autoFocus","inputStrategyRenderer","dataSource","dataSourceFetchConfigParams","decorators","emptyEntries_DO_NOT_USE","id","isDisabled","label","loggingContext","onBackspace","onBlur","onChange","onClose","onEnter","onEscape","onFetchEntries_DO_NOT_USE","onFocus","onOpen","onPressEntry","placeholder","shouldQueryStringFollowHighlightedEntry","shouldQueryStringUpdateFromSelectedEntryOnClick","testid","traceProvider","viewRole","viewStrategyRenderer","inputRef"],s,u=s||(s=o("react")),c=s,d=c.useCallback,m=c.useId,p=c.useMemo;function _(t){var n=o("react-compiler-runtime").c(76),a,i,l,s,c,d,p,_,f,g,h,y,C,b,v,S,R,L,E,k,I,T,D,x,$,P,N,M,w,A;n[0]!==t?(y=t.autoOpen,I=t.autoFocus,a=t.inputStrategyRenderer,l=t.dataSource,s=t.dataSourceFetchConfigParams,T=t.decorators,c=t.emptyEntries_DO_NOT_USE,_=t.id,D=t.isDisabled,x=t.label,p=t.loggingContext,$=t.onBackspace,P=t.onBlur,f=t.onChange,N=t.onClose,M=t.onEnter,C=t.onEscape,g=t.onFetchEntries_DO_NOT_USE,b=t.onFocus,v=t.onOpen,h=t.onPressEntry,S=t.placeholder,R=t.shouldQueryStringFollowHighlightedEntry,L=t.shouldQueryStringUpdateFromSelectedEntryOnClick,E=t.testid,w=t.traceProvider,k=t.viewRole,i=t.viewStrategyRenderer,d=t.inputRef,A=babelHelpers.objectWithoutPropertiesLoose(t,e),n[0]=t,n[1]=a,n[2]=i,n[3]=l,n[4]=s,n[5]=c,n[6]=d,n[7]=p,n[8]=_,n[9]=f,n[10]=g,n[11]=h,n[12]=y,n[13]=C,n[14]=b,n[15]=v,n[16]=S,n[17]=R,n[18]=L,n[19]=E,n[20]=k,n[21]=I,n[22]=T,n[23]=D,n[24]=x,n[25]=$,n[26]=P,n[27]=N,n[28]=M,n[29]=w,n[30]=A):(a=n[1],i=n[2],l=n[3],s=n[4],c=n[5],d=n[6],p=n[7],_=n[8],f=n[9],g=n[10],h=n[11],y=n[12],C=n[13],b=n[14],v=n[15],S=n[16],R=n[17],L=n[18],E=n[19],k=n[20],I=n[21],T=n[22],D=n[23],x=n[24],$=n[25],P=n[26],N=n[27],M=n[28],w=n[29],A=n[30]);var F=y===void 0?!1:y,O=I===void 0?!1:I,B;n[31]!==T?(B=T===void 0?[]:T,n[31]=T,n[32]=B):B=n[32];var W=B,q=D===void 0?!1:D,U=x===void 0?"":x,V=$===void 0?r("emptyFunction"):$,H=P===void 0?r("emptyFunction"):P,G=N===void 0?r("emptyFunction"):N,z=M===void 0?r("emptyFunction"):M,j=C===void 0?r("emptyFunction"):C,K=b===void 0?r("emptyFunction"):b,Q=v===void 0?r("emptyFunction"):v,X=S===void 0?"":S,Y=R===void 0?!0:R,J=L===void 0?!0:L,Z=E===void 0?"":E,ee=k===void 0?"listbox":k,te=m(),ne;n[33]!==W?(ne=r("CometInternalTypeahead.react"),W.forEach(function(e){var t=e.decorate,n=e.params;ne=t(ne,n)}),n[33]=W,n[34]=ne):ne=n[34];var re=ne,oe;n[35]!==f||n[36]!==h||n[37]!==J?(oe=function(t,n){J&&f(t.label),h==null||h(t,n)},n[35]=f,n[36]=h,n[37]=J,n[38]=oe):oe=n[38];var ae=oe,ie;n[39]!==a||n[40]!==Y?(ie=r("withCometTypeaheadInputStrategyShouldQueryStringFollowHighlightedEntry")(a,{shouldQueryStringFollowHighlightedEntry:Y}),n[39]=a,n[40]=Y,n[41]=ie):ie=n[41];var le=ie,se=U||X,ue=_!=null?_:te,ce;if(n[42]!==le||n[43]!==re||n[44]!==i||n[45]!==O||n[46]!==d||n[47]!==V||n[48]!==H||n[49]!==z||n[50]!==j||n[51]!==K||n[52]!==ae||n[53]!==q||n[54]!==f||n[55]!==X||n[56]!==se||n[57]!==ue||n[58]!==Z||n[59]!==w||n[60]!==A||n[61]!==ee){var de;ce=u.jsx(re,babelHelpers.extends({},A,{autoFocus:O,id:ue,inputRef:d,inputStrategyRenderer:le,isDisabled:q,label:se,onBackspace:V,onBlur:H,onChange:f,onDownArrow:de=r("emptyFunction"),onEnter:z,onEscape:j,onFocus:K,onHighlightEntry:de,onPressEntry:ae,onShiftTab:de,onTab:de,onUpArrow:de,placeholder:X,testid:void 0,traceProvider:w,viewRole:ee,viewStrategyRenderer:i})),n[42]=le,n[43]=re,n[44]=i,n[45]=O,n[46]=d,n[47]=V,n[48]=H,n[49]=z,n[50]=j,n[51]=K,n[52]=ae,n[53]=q,n[54]=f,n[55]=X,n[56]=se,n[57]=ue,n[58]=Z,n[59]=w,n[60]=A,n[61]=ee,n[62]=ce}else ce=n[62];var me;n[63]!==l||n[64]!==s||n[65]!==p||n[66]!==g||n[67]!==ce||n[68]!==w?(me=u.jsx(r("CometInternalTypeaheadFetchProvider"),{dataSource:l,dataSourceFetchConfigParams:s,loggingContext:p,onFetchEntries_DO_NOT_USE:g,traceProvider:w,children:ce}),n[63]=l,n[64]=s,n[65]=p,n[66]=g,n[67]=ce,n[68]=w,n[69]=me):me=n[69];var pe;return n[70]!==F||n[71]!==c||n[72]!==G||n[73]!==Q||n[74]!==me?(pe=u.jsx(r("CometHeroInteractionContextPassthrough.react"),{clear:!0,children:u.jsx(r("CometInternalTypeaheadStateProvider"),{autoOpen:F,emptyEntries_DO_NOT_USE:c,onClose:G,onOpen:Q,children:me})}),n[70]=F,n[71]=c,n[72]=G,n[73]=Q,n[74]=me,n[75]=pe):pe=n[75],pe}l.default=_}),98); __d("CometSearchBaseTypeaheadTitleSnippetViewItem.react",["FDSTextPairing.react","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t=o("react-compiler-runtime").c(5),n=e.isBadged,a=e.level,i=e.snippet,l=e.title,u=n===void 0?!1:n,c=i===void 0?null:i,d=!0,m=a;a===1?m=2:a===2?m=3:a===3&&(m=4),u&&(d=!1);var p;return t[0]!==m||t[1]!==d||t[2]!==c||t[3]!==l?(p=s.jsx(r("FDSTextPairing.react"),{body:c,bodyColor:"secondary",bodyLineLimit:1,headline:l,headlineLineLimit:2,level:m,reduceEmphasis:d}),t[0]=m,t[1]=d,t[2]=c,t[3]=l,t[4]=p):p=t[4],p}l.default=u}),98); __d("CometSearchRecentDataSourceDispatcherContext",["react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=s.createContext();l.default=u}),98); __d("MagnifyingGlassFilled16.svg.react",["react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){return s.jsxs("svg",babelHelpers.extends({viewBox:"0 0 16 16",width:"1em",height:"1em",fill:"currentColor"},e,{children:[e.title!=null&&s.jsx("title",{children:e.title}),e.children!=null&&s.jsx("defs",{children:e.children}),s.jsx("g",{fillRule:"evenodd",transform:"translate(-448 -544)",children:s.jsxs("g",{fillRule:"nonzero",children:[s.jsx("path",{d:"M10.743 2.257a6 6 0 1 1-8.485 8.486 6 6 0 0 1 8.485-8.486zm-1.06 1.06a4.5 4.5 0 1 0-6.365 6.364 4.5 4.5 0 0 0 6.364-6.363z",transform:"translate(448 544)"}),s.jsx("path",{d:"M10.39 8.75a2.94 2.94 0 0 0-.199.432c-.155.417-.23.849-.172 1.284.055.415.232.794.54 1.103a.75.75 0 0 0 1.112-1.004l-.051-.057a.39.39 0 0 1-.114-.24c-.021-.155.014-.356.09-.563.031-.081.06-.145.08-.182l.012-.022a.75.75 0 1 0-1.299-.752z",transform:"translate(448 544)"}),s.jsx("path",{d:"M9.557 11.659c.038-.018.09-.04.15-.064.207-.077.408-.112.562-.092.08.01.143.034.198.077l.041.036a.75.75 0 0 0 1.06-1.06 1.881 1.881 0 0 0-1.103-.54c-.435-.058-.867.018-1.284.175-.189.07-.336.143-.433.2a.75.75 0 0 0 .624 1.356l.066-.027.12-.061z",transform:"translate(448 544)"}),s.jsx("path",{d:"m13.463 15.142-.04-.044-3.574-4.192c-.599-.703.355-1.656 1.058-1.057l4.191 3.574.044.04c.058.059.122.137.182.24.249.425.249.96-.154 1.41l-.057.057c-.45.403-.986.403-1.411.154a1.182 1.182 0 0 1-.24-.182zm.617-.616.444-.444a.31.31 0 0 0-.063-.052c-.093-.055-.263-.055-.35.024l.208.232.207-.206.006.007-.22.257-.026-.024.033-.034.025.027-.257.22-.007-.007zm-.027-.415c-.078.088-.078.257-.023.35a.31.31 0 0 0 .051.063l.205-.204-.233-.209z",transform:"translate(448 544)"})]})})]}))}u.displayName=u.name+" [from "+i.id+"]",u._isSVG=!0;var c=u;l.default=c}),98); __d("MagnifyingGlassFilled16IconSvg.react",["MagnifyingGlassFilled16.svg.react","SVGIcon"],(function(t,n,r,o,a,i,l){"use strict";var e=o("SVGIcon").svgIcon(r("MagnifyingGlassFilled16.svg.react"));l.default=e}),98); __d("cometTypeaheadInputWebkitStyles",[],(function(t,n,r,o,a,i,l){"use strict";var e={default:{appearance:"xtilpmw","::-webkit-search-cancel-button_appearance":"x1ad04t7","::-webkit-search-decoration_appearance":"x1glnyev","::-webkit-search-results-button_appearance":"x1ix68h3","::-webkit-search-results-decoration_appearance":"x19gujb8",$$css:!0}},s=e;l.default=s}),98); __d("useCometTypeaheadInputStrategyOnChangeHandler",["react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useCallback;function u(e){var t=o("react-compiler-runtime").c(2),n=e.onChange,r;return t[0]!==n?(r=function(t){var e=t.target.value;n(e,t)},t[0]=n,t[1]=r):r=t[1],r}l.default=u}),98); __d("CometTypeaheadInputRoundedStrategy.react",["fbt","FDSIcon.react","FDSRoundedTextInput.react","MagnifyingGlassFilled16IconSvg.react","UNTRANSLATED_STRING_FIXME","cometTypeaheadInputWebkitStyles","react","useCometTextDirection","useCometTypeaheadInputStrategyOnChangeHandler"],(function(t,n,r,o,a,i,l,s){"use strict";var e=["ref","ariaProps","description","errorMessage","id","inputEndContent","inputStartContent","inputExtraProps","isDisabled","onChange","label","queryString","testid","autoFocus","placeholder"],u,c=u||(u=o("react"));function d(t){var n=t.ref,o=t.ariaProps,a=t.description,i=t.errorMessage,l=t.id,u=t.inputEndContent,d=t.inputStartContent,m=t.inputExtraProps,p=m===void 0?{}:m,_=p.hideIconOnFocus,f=_===void 0?!1:_,g=p.hideIconAnimation,h=g===void 0?!1:g,y=p.icon,C=y===void 0?c.jsx(r("FDSIcon.react"),{color:"secondary",icon:r("MagnifyingGlassFilled16IconSvg.react"),size:16}):y,b=p.size,v=p.xstyle,S=v===void 0?null:v,R=t.isDisabled,L=t.onChange,E=t.label,k=E===void 0?"":E,I=t.queryString,T=t.testid,D=t.autoFocus,x=t.placeholder,$=babelHelpers.objectWithoutPropertiesLoose(t,e),P=r("useCometTextDirection")(I),N=r("useCometTypeaheadInputStrategyOnChangeHandler")({onChange:L});return c.jsxs("div",{className:"x6s0dn4 x78zum5 xh8yej3",children:[d,c.jsx(r("FDSRoundedTextInput.react"),babelHelpers.extends({},o,$,{"aria-label":r("UNTRANSLATED_STRING_FIXME")(k.toString()),autoComplete:"off",autoFocus_PLEASE_USE_FOCUS_REGION_INSTEAD:D,"data-testid":void 0,dir:P,disabled:R,hideIconAnimation:h,hideIconOnFocus:f,icon:C,onChange:N,placeholder:x!=null?x:s._(/*BTDS*/"Rechercher"),ref:n,size:b,spellCheck:!1,suppressHydrationWarning:!0,type:"search",value:I,xstyle:[S,r("cometTypeaheadInputWebkitStyles").default]})),u]})}d.displayName=d.name+" [from "+i.id+"]",l.default=d}),226); __d("useCometTypeaheadInputRefsWebOnly",["react-compiler-runtime","useCometTypeaheadInputRefs","xplatToDOMRef"],(function(t,n,r,o,a,i,l){"use strict";function e(e){var t=o("react-compiler-runtime").c(2),n;return t[0]!==e?(n=e!=null?o("xplatToDOMRef").xplatToInputRef(e):null,t[0]=e,t[1]=n):n=t[1],r("useCometTypeaheadInputRefs")(n)}l.default=e}),98); __d("CometSearchScopedTypeaheadInputStrategy.react",["CometTypeaheadInputRoundedStrategy.react","FBLogger","SearchCometTypeaheadEventEmitterContext","WorkplaceSearchTypeaheadEventEmitterContext","react","useCometTypeaheadInputRefsWebOnly"],(function(t,n,r,o,a,i,l){"use strict";var e=["ref","inputExtraProps","onChange"],s,u=s||(s=o("react")),c=s,d=c.useContext,m=c.useEffect;function p(t){var n,o=t.ref,a=t.inputExtraProps,i=t.onChange,l=babelHelpers.objectWithoutPropertiesLoose(t,e),s=d(r("SearchCometTypeaheadEventEmitterContext")),c=d(r("WorkplaceSearchTypeaheadEventEmitterContext")),p=(n=s!=null?s:c)!=null?n:{},_=p.subscribeToScopedSearchTypeaheadFocus;_==null&&r("FBLogger")("search").mustfix("Both event emitter contexts missing");var f=r("useCometTypeaheadInputRefsWebOnly")(o),g=f.composedRef,h=f.inputRef,y=h.current;return m(function(){var e=_==null?void 0:_(function(){y!=null&&(y.focus(),y.value="",i(""))});return function(){e==null||e()}},[y,i,_]),u.jsx(r("CometTypeaheadInputRoundedStrategy.react"),babelHelpers.extends({},l,{inputExtraProps:babelHelpers.extends({},a,{size:"medium"}),onChange:i,ref:g}))}p.displayName=p.name+" [from "+i.id+"]",l.default=p}),98); __d("CometTypeaheadHelperText.react",["FDSTextPairing.react","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t=o("react-compiler-runtime").c(3),n=e.text,a;t[0]===Symbol.for("react.memo_cache_sentinel")?(a={className:"x1xmf6yo"},t[0]=a):a=t[0];var i;return t[1]!==n?(i=s.jsx("div",babelHelpers.extends({},a,{children:s.jsx(r("FDSTextPairing.react"),{level:4,meta:n,metaColor:"secondary"})})),t[1]=n,t[2]=i):i=t[2],i}l.default=u}),98); __d("useCometTypeaheadInputStrategyOnBlurHandler",["react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useCallback;function u(e){var t=o("react-compiler-runtime").c(2),n=e.onBlur,r;return t[0]!==n?(r=function(){n&&n()},t[0]=n,t[1]=r):r=t[1],r}l.default=u}),98); __d("useCometTypeaheadInputStrategyOnFocusHandler",["react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useCallback;function u(e){var t=o("react-compiler-runtime").c(3),n=e.inputRef,r=e.onFocus,a;return t[0]!==n||t[1]!==r?(a=function(){n.current!=null&&n.current.select(),r&&r()},t[0]=n,t[1]=r,t[2]=a):a=t[2],a}l.default=u}),98); __d("useCometTypeaheadInputHandlers",["react-compiler-runtime","useCometTypeaheadInputStrategyOnBlurHandler","useCometTypeaheadInputStrategyOnFocusHandler"],(function(t,n,r,o,a,i,l){"use strict";var e=["inputRef","onBlur","onFocus"];function s(t){var n=o("react-compiler-runtime").c(14),a,i,l,s;n[0]!==t?(a=t.inputRef,i=t.onBlur,l=t.onFocus,s=babelHelpers.objectWithoutPropertiesLoose(t,e),n[0]=t,n[1]=a,n[2]=i,n[3]=l,n[4]=s):(a=n[1],i=n[2],l=n[3],s=n[4]);var u;n[5]!==a||n[6]!==l?(u={inputRef:a,onFocus:l},n[5]=a,n[6]=l,n[7]=u):u=n[7];var c=r("useCometTypeaheadInputStrategyOnFocusHandler")(u),d;n[8]!==i?(d={onBlur:i},n[8]=i,n[9]=d):d=n[9];var m=r("useCometTypeaheadInputStrategyOnBlurHandler")(d),p;return n[10]!==m||n[11]!==c||n[12]!==s?(p=babelHelpers.extends({},s,{onBlur:m,onFocus:c}),n[10]=m,n[11]=c,n[12]=s,n[13]=p):p=n[13],p}l.default=s}),98); __d("CometTypeaheadInputStrategyEventListener.react",["fbt","CometComponentWithKeyCommands.react","CometKeys","react","react-compiler-runtime","useCometTypeaheadInputHandlers","useCometTypeaheadInputRefsWebOnly"],(function(t,n,r,o,a,i,l,s){"use strict";var e=["children","isInline","omitEscape","ref","onBackspace","onDownArrow","onEnter","onEscape","onLeftArrow","onRightArrow","onShiftTab","onTab","onUpArrow"],u,c=u||(u=o("react")),d=u.useMemo,m={root:{width:"xh8yej3",$$css:!0}};function p(t){var n=o("react-compiler-runtime").c(69),a,i,l,u,d,p,_,f,g,h,y,C,b,v;n[0]!==t?(a=t.children,l=t.isInline,v=t.omitEscape,b=t.ref,u=t.onBackspace,d=t.onDownArrow,p=t.onEnter,_=t.onEscape,f=t.onLeftArrow,g=t.onRightArrow,h=t.onShiftTab,y=t.onTab,C=t.onUpArrow,i=babelHelpers.objectWithoutPropertiesLoose(t,e),n[0]=t,n[1]=a,n[2]=i,n[3]=l,n[4]=u,n[5]=d,n[6]=p,n[7]=_,n[8]=f,n[9]=g,n[10]=h,n[11]=y,n[12]=C,n[13]=b,n[14]=v):(a=n[1],i=n[2],l=n[3],u=n[4],d=n[5],p=n[6],_=n[7],f=n[8],g=n[9],h=n[10],y=n[11],C=n[12],b=n[13],v=n[14]);var S=v===void 0?!1:v,R,L;n[15]===Symbol.for("react.memo_cache_sentinel")?(R={key:r("CometKeys").DELETE},L=s._(/*BTDS*/"Supprimez le derni\u00e8re caract\u00e8re de la demande saisie."),n[15]=R,n[16]=L):(R=n[15],L=n[16]);var E;n[17]!==u?(E={command:R,description:L,handler:u,isHiddenCommand:!0,shouldPreventDefault:!1,triggerFromInputs:!0},n[17]=u,n[18]=E):E=n[18];var k,I;n[19]===Symbol.for("react.memo_cache_sentinel")?(k={key:r("CometKeys").DOWN},I=s._(/*BTDS*/"Suggestion suivante"),n[19]=k,n[20]=I):(k=n[19],I=n[20]);var T;n[21]!==d?(T={command:k,description:I,handler:d,triggerFromInputs:!0},n[21]=d,n[22]=T):T=n[22];var D,x;n[23]===Symbol.for("react.memo_cache_sentinel")?(D={key:r("CometKeys").UP},x=s._(/*BTDS*/"Suggestion pr\u00e9c\u00e9dente"),n[23]=D,n[24]=x):(D=n[23],x=n[24]);var $;n[25]!==C?($={command:D,description:x,handler:C,triggerFromInputs:!0},n[25]=C,n[26]=$):$=n[26];var P;n[27]!==S||n[28]!==_?(P=S?null:{command:{key:r("CometKeys").ESCAPE},description:s._(/*BTDS*/"Fermer les suggestions"),handler:_,triggerFromInputs:!0},n[27]=S,n[28]=_,n[29]=P):P=n[29];var N,M;n[30]===Symbol.for("react.memo_cache_sentinel")?(N={key:r("CometKeys").ENTER},M=s._(/*BTDS*/"S\u00e9lectionnez une suggestion"),n[30]=N,n[31]=M):(N=n[30],M=n[31]);var w;n[32]!==p?(w={command:N,description:M,handler:p,triggerFromInputs:!0},n[32]=p,n[33]=w):w=n[33];var A,F;n[34]===Symbol.for("react.memo_cache_sentinel")?(A={key:r("CometKeys").TAB},F=s._(/*BTDS*/"Quitter la saisie"),n[34]=A,n[35]=F):(A=n[34],F=n[35]);var O;n[36]!==y?(O={command:A,description:F,handler:y,isHiddenCommand:!0,shouldPreventDefault:!1,shouldStopPropagation:!1,triggerFromInputs:!0},n[36]=y,n[37]=O):O=n[37];var B,W;n[38]===Symbol.for("react.memo_cache_sentinel")?(B={key:r("CometKeys").TAB,shift:!0},W=s._(/*BTDS*/"Quitter la saisie"),n[38]=B,n[39]=W):(B=n[38],W=n[39]);var q;n[40]!==h?(q={command:B,description:W,handler:h,isHiddenCommand:!0,shouldPreventDefault:!1,shouldStopPropagation:!1,triggerFromInputs:!0},n[40]=h,n[41]=q):q=n[41];var U;n[42]!==f?(U=f!=null?{command:{key:r("CometKeys").LEFT},description:s._(/*BTDS*/"D\u00e9placer la s\u00e9lection sur la cellule pr\u00e9c\u00e9dente"),handler:f,triggerFromInputs:!0}:null,n[42]=f,n[43]=U):U=n[43];var V;n[44]!==g?(V=g!=null?{command:{key:r("CometKeys").RIGHT},description:s._(/*BTDS*/"D\u00e9placer la s\u00e9lection sur la cellule suivante"),handler:g,triggerFromInputs:!0}:null,n[44]=g,n[45]=V):V=n[45];var H;n[46]!==$||n[47]!==P||n[48]!==w||n[49]!==O||n[50]!==q||n[51]!==U||n[52]!==V||n[53]!==E||n[54]!==T?(H=[E,T,$,P,w,O,q,U,V],n[46]=$,n[47]=P,n[48]=w,n[49]=O,n[50]=q,n[51]=U,n[52]=V,n[53]=E,n[54]=T,n[55]=H):H=n[55];var G=H,z;n[56]!==G?(z=G.filter(Boolean),n[56]=G,n[57]=z):z=n[57];var j=z,K=r("useCometTypeaheadInputRefsWebOnly")(b),Q=K.composedRef,X=K.inputRef,Y;n[58]!==i||n[59]!==X?(Y=babelHelpers.extends({inputRef:X},i),n[58]=i,n[59]=X,n[60]=Y):Y=n[60];var J=r("useCometTypeaheadInputHandlers")(Y),Z=l===!0?"span":"div",ee;n[61]!==a||n[62]!==Q||n[63]!==J?(ee=a(Q,J),n[61]=a,n[62]=Q,n[63]=J,n[64]=ee):ee=n[64];var te;return n[65]!==j||n[66]!==Z||n[67]!==ee?(te=c.jsx(r("CometComponentWithKeyCommands.react"),{commandConfigs:j,elementType:Z,xstyle:m.root,children:ee}),n[65]=j,n[66]=Z,n[67]=ee,n[68]=te):te=n[68],te}l.default=p}),226); __d("useCometTypeaheadViewStrategyOutsideClickListener",["react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=s.useCallback,c=s.useEffect;function d(e,t){var n=o("react-compiler-runtime").c(6),r;n[0]!==t||n[1]!==e?(r=function(r){var n=e.current,o=r.target;n!=null&&o instanceof Node&&!n.contains(o)&&t()},n[0]=t,n[1]=e,n[2]=r):r=n[2];var a=r,i,l;n[3]!==a?(i=function(){return document.addEventListener("click",a),(function(){document.removeEventListener("click",a)})},l=[a],n[3]=a,n[4]=i,n[5]=l):(i=n[4],l=n[5]),c(i,l)}l.default=d}),98); __d("CometTypeaheadViewStrategyEventListener.react",["react","useCometTypeaheadViewStrategyOutsideClickListener"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e.useRef;function c(e){var t=e.children,n=e.onOutsideClick,o=u(null);return r("useCometTypeaheadViewStrategyOutsideClickListener")(o,n),t(o)}c.displayName=c.name+" [from "+i.id+"]",l.default=c}),98); __d("cometHandleHighlightDropOnMouseLeave",[],(function(t,n,r,o,a,i){"use strict";function e(e){return function(){e(null,"mouse",!1)}}i.default=e}),66); __d("CometTypeaheadInternalLayoutContextualStrategy.react",["CometContextualLayer.react","CometTypeaheadInputStrategyEventListener.react","CometTypeaheadViewStrategyEventListener.react","cometHandleHighlightDropOnMouseLeave","react","react-compiler-runtime","stylex","useCometInternalTypeaheadState","xplatToDOMRef"],(function(t,n,r,o,a,i,l){"use strict";var e=["contextualProps","description","errorMessage","extraLayoutProps","inputStrategyRenderer","label","onBackspace","onBlur","onFocus","onClick","onDownArrow","onLeftArrow","onRightArrow","onEnter","onEscape","onShiftTab","onTab","onUpArrow","queryString","inputRef","viewStrategyRenderer","xstyles"],s=["align","position"],u,c,d=c||(c=o("react")),m=c.useRef;function p(t){var n=o("react-compiler-runtime").c(73),a=t.contextualProps,i=t.description,l=t.errorMessage,c=t.extraLayoutProps,p=t.inputStrategyRenderer,_=t.label,f=t.onBackspace,g=t.onBlur,h=t.onFocus,y=t.onClick,C=t.onDownArrow,b=t.onLeftArrow,v=t.onRightArrow,S=t.onEnter,R=t.onEscape,L=t.onShiftTab,E=t.onTab,k=t.onUpArrow,I=t.queryString,T=t.inputRef,D=t.viewStrategyRenderer,x=t.xstyles,$=babelHelpers.objectWithoutPropertiesLoose(t,e),P;n[0]!==a?(P=a===void 0?{}:a,n[0]=a,n[1]=P):P=n[1];var N,M,w;if(n[2]!==P){var A=P;M=A.align,w=A.position,N=babelHelpers.objectWithoutPropertiesLoose(A,s),n[2]=P,n[3]=N,n[4]=M,n[5]=w}else N=n[3],M=n[4],w=n[5];var F=M===void 0?"stretch":M,O=w===void 0?"below":w,B=c.ariaProps,W=c.helperTextComponent,q=c.isAlwaysOpened,U=c.isLoading,V=c.isOpened,H=B.ariaDescribedByProps,G=B.ariaInputProps,z=B.ariaViewProps,j=m(null),K=m(null),Q=r("useCometInternalTypeaheadState")(),X=Q.activeEntries,Y=Q.highlightedEntry,J=r("cometHandleHighlightDropOnMouseLeave")($.onHighlightEntry),Z;n[6]!==(x==null?void 0:x.layoutXStyle)?(Z=(u||(u=r("stylex"))).props(x==null?void 0:x.layoutXStyle),n[6]=x==null?void 0:x.layoutXStyle,n[7]=Z):Z=n[7];var ee;n[8]!==(x==null?void 0:x.inputXStyle)?(ee=(u||(u=r("stylex"))).props(x==null?void 0:x.inputXStyle),n[8]=x==null?void 0:x.inputXStyle,n[9]=ee):ee=n[9];var te=V===!1&&I==="",ne;n[10]!==p||n[11]!==G||n[12]!==i||n[13]!==l||n[14]!==_||n[15]!==$.autoFocus||n[16]!==$.id||n[17]!==$.inputEndContent||n[18]!==$.inputExtraProps||n[19]!==$.inputStartContent||n[20]!==$.isDisabled||n[21]!==$.placeholder||n[22]!==$.testid||n[23]!==I?(ne=function(t,n){return d.jsx(p,babelHelpers.extends({},n,{ariaProps:G,autoFocus:$.autoFocus,description:i,errorMessage:l,id:$.id,inputEndContent:$.inputEndContent,inputExtraProps:$.inputExtraProps,inputStartContent:$.inputStartContent,isDisabled:$.isDisabled,label:_,placeholder:$.placeholder,queryString:I,ref:o("xplatToDOMRef").xplatToInputRef(t),testid:void 0}))},n[10]=p,n[11]=G,n[12]=i,n[13]=l,n[14]=_,n[15]=$.autoFocus,n[16]=$.id,n[17]=$.inputEndContent,n[18]=$.inputExtraProps,n[19]=$.inputStartContent,n[20]=$.isDisabled,n[21]=$.placeholder,n[22]=$.testid,n[23]=I,n[24]=ne):ne=n[24];var re;n[25]!==T||n[26]!==f||n[27]!==g||n[28]!==y||n[29]!==C||n[30]!==S||n[31]!==R||n[32]!==h||n[33]!==b||n[34]!==v||n[35]!==L||n[36]!==E||n[37]!==k||n[38]!==$.onChange||n[39]!==ne||n[40]!==te?(re=d.jsx(r("CometTypeaheadInputStrategyEventListener.react"),{omitEscape:te,onBackspace:f,onBlur:g,onChange:$.onChange,onClick:y,onDownArrow:C,onEnter:S,onEscape:R,onFocus:h,onLeftArrow:b,onRightArrow:v,onShiftTab:L,onTab:E,onUpArrow:k,ref:T,children:ne}),n[25]=T,n[26]=f,n[27]=g,n[28]=y,n[29]=C,n[30]=S,n[31]=R,n[32]=h,n[33]=b,n[34]=v,n[35]=L,n[36]=E,n[37]=k,n[38]=$.onChange,n[39]=ne,n[40]=te,n[41]=re):re=n[41];var oe;n[42]!==re||n[43]!==ee?(oe=d.jsx("div",babelHelpers.extends({},ee,{children:re})),n[42]=re,n[43]=ee,n[44]=oe):oe=n[44];var ae;n[45]!==oe||n[46]!==Z?(ae=d.jsx("div",babelHelpers.extends({},Z,{ref:K,children:oe})),n[45]=oe,n[46]=Z,n[47]=ae):ae=n[47];var ie;n[48]!==H||n[49]!==W?(ie=W!=null&&d.jsx("div",babelHelpers.extends({className:"x1xmf6yo"},H,{children:W})),n[48]=H,n[49]=W,n[50]=ie):ie=n[50];var le;n[51]!==D||n[52]!==X||n[53]!==F||n[54]!==z||n[55]!==N||n[56]!==Y||n[57]!==q||n[58]!==U||n[59]!==V||n[60]!==J||n[61]!==O||n[62]!==$.onAbandonTypeahead_DO_NOT_USE||n[63]!==$.onHighlightEntry||n[64]!==$.onOutsideClick||n[65]!==$.onPressEntry||n[66]!==I||n[67]!==(x==null?void 0:x.viewXStyle_DO_NOT_USE)?(le=(V===!0||q===!0)&&d.jsx(r("CometContextualLayer.react"),babelHelpers.extends({},N,{align:F,contextRef:K,position:O,ref:j,children:d.jsx(r("CometTypeaheadViewStrategyEventListener.react"),{onOutsideClick:$.onOutsideClick,children:function(t){return d.jsx("div",babelHelpers.extends({},(u||(u=r("stylex"))).props(x==null?void 0:x.viewXStyle_DO_NOT_USE),{onMouseLeave:J,ref:t,children:d.jsx(D,{ariaProps:z,entries:X,highlightedEntry:Y,isLoading:U,onAbandonTypeahead_DO_NOT_USE:$.onAbandonTypeahead_DO_NOT_USE,onHighlightEntry:$.onHighlightEntry,onPressEntry:$.onPressEntry,queryString:I})}))}})})),n[51]=D,n[52]=X,n[53]=F,n[54]=z,n[55]=N,n[56]=Y,n[57]=q,n[58]=U,n[59]=V,n[60]=J,n[61]=O,n[62]=$.onAbandonTypeahead_DO_NOT_USE,n[63]=$.onHighlightEntry,n[64]=$.onOutsideClick,n[65]=$.onPressEntry,n[66]=I,n[67]=x==null?void 0:x.viewXStyle_DO_NOT_USE,n[68]=le):le=n[68];var se;return n[69]!==ae||n[70]!==ie||n[71]!==le?(se=d.jsxs(d.Fragment,{children:[ae,ie,le]}),n[69]=ae,n[70]=ie,n[71]=le,n[72]=se):se=n[72],se}l.default=p}),98); __d("useCometTypeaheadLayoutStrategyOnBlurHandler",["react","react-compiler-runtime","useCometInternalTypeaheadStateDispatcher"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useCallback;function u(e){var t=o("react-compiler-runtime").c(3),n=e.onBlur,a=r("useCometInternalTypeaheadStateDispatcher")(),i=a.dispatchHighlightedEntry,l;return t[0]!==i||t[1]!==n?(l=function(){i({entry:null,secondaryActionHighlighted:!1,source:null}),n&&n()},t[0]=i,t[1]=n,t[2]=l):l=t[2],l}l.default=u}),98); __d("useCometTypeaheadLayoutStrategyOnChangeHandler",["react","react-compiler-runtime","useCometInternalTypeaheadState"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useCallback;function u(e){var t=o("react-compiler-runtime").c(4),n=e.onChange,a=e.onHighlightEntry,i=r("useCometInternalTypeaheadState")(),l=i.highlightedEntry,s;return t[0]!==l||t[1]!==n||t[2]!==a?(s=function(t,r){l!=null&&a(null,"keyboard",!1),n&&n(t,r)},t[0]=l,t[1]=n,t[2]=a,t[3]=s):s=t[3],s}l.default=u}),98); __d("useCometInternalTypeaheadKeyboardNavigation",["baseTypeaheadFlattenEntries","cometTypeaheadKeyboardNavigationUtils","react","react-compiler-runtime","useCometInternalTypeaheadState"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=s.useCallback,c=s.useMemo;function d(){var e=o("react-compiler-runtime").c(26),t=r("useCometInternalTypeaheadState")(),n=t.activeEntries,a=t.highlightedEntry,i=t.secondaryActionHighlighted,l,s;e[0]!==n?(l=r("baseTypeaheadFlattenEntries")(n),s=l.length>0&&l.every(m),e[0]=n,e[1]=l,e[2]=s):(l=e[1],s=e[2]);var u=s,c=a!=null?a.key:null,d;e[3]!==c||e[4]!==i||e[5]!==l?(d=function(t){return o("cometTypeaheadKeyboardNavigationUtils").moveDown(l,c,function(e,n){t(e,"keyboard",n)},i)},e[3]=c,e[4]=i,e[5]=l,e[6]=d):d=e[6];var p=d,_;e[7]!==c||e[8]!==i||e[9]!==l?(_=function(t){return o("cometTypeaheadKeyboardNavigationUtils").moveUp(l,c,function(e,n){t(e,"keyboard",n)},i)},e[7]=c,e[8]=i,e[9]=l,e[10]=_):_=e[10];var f=_,g;e[11]!==c||e[12]!==i||e[13]!==l||e[14]!==u?(g=u?function(e){return o("cometTypeaheadKeyboardNavigationUtils").moveLeft(l,c,function(t,n){e(t,"keyboard",n)},i)}:void 0,e[11]=c,e[12]=i,e[13]=l,e[14]=u,e[15]=g):g=e[15];var h=g,y;e[16]!==c||e[17]!==i||e[18]!==l||e[19]!==u?(y=u?function(e){o("cometTypeaheadKeyboardNavigationUtils").moveRight(l,c,function(t,n){e(t,"keyboard",n)},i)}:void 0,e[16]=c,e[17]=i,e[18]=l,e[19]=u,e[20]=y):y=e[20];var C=y,b;return e[21]!==p||e[22]!==h||e[23]!==C||e[24]!==f?(b={onKeyboardDownArrow:p,onKeyboardLeftArrow:h,onKeyboardRightArrow:C,onKeyboardUpArrow:f},e[21]=p,e[22]=h,e[23]=C,e[24]=f,e[25]=b):b=e[25],b}function m(e){return e.hasSecondaryAction===!0}l.default=d}),98); __d("useCometTypeaheadLayoutStrategyOnDownArrowHandler",["react","react-compiler-runtime","useCometInternalTypeaheadKeyboardNavigation"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useCallback;function u(e){var t=o("react-compiler-runtime").c(4),n=e.onDownArrow,a=e.onHighlightEntry,i=r("useCometInternalTypeaheadKeyboardNavigation")(),l=i.onKeyboardDownArrow,s;return t[0]!==n||t[1]!==a||t[2]!==l?(s=function(){l(a),n&&n()},t[0]=n,t[1]=a,t[2]=l,t[3]=s):s=t[3],s}l.default=u}),98); __d("useCometTypeaheadLayoutStrategyOnEnterHandler",["react","useCometInternalTypeaheadState"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useCallback;function u(e){var t=e.inputRef,n=e.onEnter,o=r("useCometInternalTypeaheadState")(),a=o.highlightedEntry,i=o.highlightedEntrySource,l=t.current;return s(function(){var e,t=(e=l==null?void 0:l.value)!=null?e:"",r=a!=null&&i==="keyboard";t.trim().length===0&&!r||n&&n()},[l,a,i,n])}l.default=u}),98); __d("useCometTypeaheadLayoutStrategyOnHighlightEntryHandler",["react","react-compiler-runtime","useCometInternalTypeaheadStateDispatcher"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useCallback;function u(e){var t=o("react-compiler-runtime").c(3),n=e.onHighlightEntry,a=r("useCometInternalTypeaheadStateDispatcher")(),i=a.dispatchHighlightedEntry,l;return t[0]!==i||t[1]!==n?(l=function(t,r,o){i({entry:t,secondaryActionHighlighted:o,source:r}),n&&n(t,r,o)},t[0]=i,t[1]=n,t[2]=l):l=t[2],l}l.default=u}),98); __d("useCometTypeaheadLayoutStrategyOnLeftArrowHandler",["react","react-compiler-runtime","useCometInternalTypeaheadKeyboardNavigation"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useMemo;function u(e){var t=o("react-compiler-runtime").c(4),n=e.onHighlightEntry,a=e.onLeftArrow,i=r("useCometInternalTypeaheadKeyboardNavigation")(),l=i.onKeyboardLeftArrow,s;return t[0]!==n||t[1]!==l||t[2]!==a?(s=l!=null||a!=null?function(){l==null||l(n),a==null||a()}:void 0,t[0]=n,t[1]=l,t[2]=a,t[3]=s):s=t[3],s}l.default=u}),98); __d("useCometTypeaheadLayoutStrategyOnOutsideClickHandler",["react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useCallback;function u(e){var t=o("react-compiler-runtime").c(3),n=e.inputRef,r=e.onOutsideClick,a;return t[0]!==n||t[1]!==r?(a=function(){n.current!==document.activeElement&&r&&r()},t[0]=n,t[1]=r,t[2]=a):a=t[2],a}l.default=u}),98); __d("useCometTypeaheadLayoutStrategyOnPressEntryHandler",["react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useCallback;function u(e){var t=o("react-compiler-runtime").c(2),n=e.onPressEntry,r;return t[0]!==n?(r=function(t,r){n(t,r)},t[0]=n,t[1]=r):r=t[1],r}l.default=u}),98); __d("useCometTypeaheadLayoutStrategyOnRightArrowHandler",["react","react-compiler-runtime","useCometInternalTypeaheadKeyboardNavigation"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useMemo;function u(e){var t=o("react-compiler-runtime").c(4),n=e.onHighlightEntry,a=e.onRightArrow,i=r("useCometInternalTypeaheadKeyboardNavigation")(),l=i.onKeyboardRightArrow,s;return t[0]!==n||t[1]!==l||t[2]!==a?(s=l!=null||a!=null?function(){l==null||l(n),a==null||a()}:void 0,t[0]=n,t[1]=l,t[2]=a,t[3]=s):s=t[3],s}l.default=u}),98); __d("useCometTypeaheadLayoutStrategyOnUpArrowHandler",["react","react-compiler-runtime","useCometInternalTypeaheadKeyboardNavigation"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useCallback;function u(e){var t=o("react-compiler-runtime").c(4),n=e.onHighlightEntry,a=e.onUpArrow,i=r("useCometInternalTypeaheadKeyboardNavigation")(),l=i.onKeyboardUpArrow,s;return t[0]!==n||t[1]!==l||t[2]!==a?(s=function(){l(n),a&&a()},t[0]=n,t[1]=l,t[2]=a,t[3]=s):s=t[3],s}l.default=u}),98); __d("useCometTypeaheadInternalLayoutInlineStrategyHandlers",["react","react-compiler-runtime","useCometTypeaheadLayoutStrategyOnBlurHandler","useCometTypeaheadLayoutStrategyOnChangeHandler","useCometTypeaheadLayoutStrategyOnDownArrowHandler","useCometTypeaheadLayoutStrategyOnEnterHandler","useCometTypeaheadLayoutStrategyOnHighlightEntryHandler","useCometTypeaheadLayoutStrategyOnLeftArrowHandler","useCometTypeaheadLayoutStrategyOnOutsideClickHandler","useCometTypeaheadLayoutStrategyOnPressEntryHandler","useCometTypeaheadLayoutStrategyOnRightArrowHandler","useCometTypeaheadLayoutStrategyOnUpArrowHandler"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useCallback;function u(e){var t=o("react-compiler-runtime").c(42),n=e.inputRef,a=e.onBlur,i=e.onChange,l=e.onDownArrow,s=e.onEnter,u=e.onEscape,c=e.onHighlightEntry,d=e.onLeftArrow,m=e.onOutsideClick,p=e.onPressEntry,_=e.onRightArrow,f=e.onUpArrow,g;t[0]!==c?(g={onHighlightEntry:c},t[0]=c,t[1]=g):g=t[1];var h=r("useCometTypeaheadLayoutStrategyOnHighlightEntryHandler")(g),y;t[2]!==a?(y={onBlur:a},t[2]=a,t[3]=y):y=t[3];var C=r("useCometTypeaheadLayoutStrategyOnBlurHandler")(y),b;t[4]!==h||t[5]!==i?(b={onChange:i,onHighlightEntry:h},t[4]=h,t[5]=i,t[6]=b):b=t[6];var v=r("useCometTypeaheadLayoutStrategyOnChangeHandler")(b),S;t[7]!==n||t[8]!==s?(S={inputRef:n,onEnter:s},t[7]=n,t[8]=s,t[9]=S):S=t[9];var R=r("useCometTypeaheadLayoutStrategyOnEnterHandler")(S),L;t[10]!==v||t[11]!==u?(L=function(){v(""),u()},t[10]=v,t[11]=u,t[12]=L):L=t[12];var E=L,k;t[13]!==h||t[14]!==l?(k={onDownArrow:l,onHighlightEntry:h},t[13]=h,t[14]=l,t[15]=k):k=t[15];var I=r("useCometTypeaheadLayoutStrategyOnDownArrowHandler")(k),T;t[16]!==h||t[17]!==f?(T={onHighlightEntry:h,onUpArrow:f},t[16]=h,t[17]=f,t[18]=T):T=t[18];var D=r("useCometTypeaheadLayoutStrategyOnUpArrowHandler")(T),x;t[19]!==p?(x={onPressEntry:p},t[19]=p,t[20]=x):x=t[20];var $=r("useCometTypeaheadLayoutStrategyOnPressEntryHandler")(x),P;t[21]!==n||t[22]!==m?(P={inputRef:n,onOutsideClick:m},t[21]=n,t[22]=m,t[23]=P):P=t[23];var N=r("useCometTypeaheadLayoutStrategyOnOutsideClickHandler")(P),M;t[24]!==h||t[25]!==d?(M={onHighlightEntry:h,onLeftArrow:d},t[24]=h,t[25]=d,t[26]=M):M=t[26];var w=r("useCometTypeaheadLayoutStrategyOnLeftArrowHandler")(M),A;t[27]!==h||t[28]!==_?(A={onHighlightEntry:h,onRightArrow:_},t[27]=h,t[28]=_,t[29]=A):A=t[29];var F=r("useCometTypeaheadLayoutStrategyOnRightArrowHandler")(A),O;return t[30]!==C||t[31]!==v||t[32]!==I||t[33]!==R||t[34]!==E||t[35]!==h||t[36]!==w||t[37]!==N||t[38]!==$||t[39]!==F||t[40]!==D?(O={onBlur:C,onChange:v,onDownArrow:I,onEnter:R,onEscape:E,onHighlightEntry:h,onLeftArrow:w,onOutsideClick:N,onPressEntry:$,onRightArrow:F,onUpArrow:D},t[30]=C,t[31]=v,t[32]=I,t[33]=R,t[34]=E,t[35]=h,t[36]=w,t[37]=N,t[38]=$,t[39]=F,t[40]=D,t[41]=O):O=t[41],O}l.default=u}),98); __d("useCometTypeaheadInternalLayoutContextualStrategyHandlers",["react","react-compiler-runtime","useBaseTypeaheadLayoutContextualStrategyStateContext","useCometInternalTypeaheadState","useCometTypeaheadInternalLayoutInlineStrategyHandlers"],(function(t,n,r,o,a,i,l){"use strict";var e=["onAbandonTypeahead_DO_NOT_USE","onClick","onOutsideClick","onShiftTab","onTab"],s,u=s||(s=o("react")),c=u.useCallback,d=u.useMemo;function m(t){var n=o("react-compiler-runtime").c(76),a=t.handlers,i=t.inputRef,l=t.shouldCloseOnEnter,s=t.shouldHandleCloseAfterHandlePressEntry,u,c,d,m,p,_;n[0]!==a?(c=a.onAbandonTypeahead_DO_NOT_USE,d=a.onClick,m=a.onOutsideClick,p=a.onShiftTab,_=a.onTab,u=babelHelpers.objectWithoutPropertiesLoose(a,e),n[0]=a,n[1]=u,n[2]=c,n[3]=d,n[4]=m,n[5]=p,n[6]=_):(u=n[1],c=n[2],d=n[3],m=n[4],p=n[5],_=n[6]);var f=l===void 0?!0:l,g=s===void 0?!1:s,h=r("useBaseTypeaheadLayoutContextualStrategyStateContext")(),y=h.dispatchIsOpened,C=h.isOpened,b=r("useCometInternalTypeaheadState")(),v=b.highlightedEntry,S=b.secondaryActionHighlighted,R;n[7]!==y||n[8]!==m?(R=function(){y(!1),m!=null&&m()},n[7]=y,n[8]=m,n[9]=R):R=n[9];var L=R,E;n[10]!==L||n[11]!==u||n[12]!==i?(E=babelHelpers.extends({inputRef:i,onOutsideClick:L},u),n[10]=L,n[11]=u,n[12]=i,n[13]=E):E=n[13];var k=r("useCometTypeaheadInternalLayoutInlineStrategyHandlers")(E),I=k.onBlur,T=k.onChange,D=k.onDownArrow,x=k.onEnter,$=k.onEscape,P=k.onHighlightEntry,N=k.onLeftArrow,M=k.onOutsideClick,w=k.onPressEntry,A=k.onRightArrow,F=k.onUpArrow,O;n[14]!==y||n[15]!==c?(O=function(){y(!1),c!=null&&c()},n[14]=y,n[15]=c,n[16]=O):O=n[16];var B=O,W;n[17]!==y||n[18]!==d?(W=function(){y(!0),d!=null&&d()},n[17]=y,n[18]=d,n[19]=W):W=n[19];var q=W,U;n[20]!==y||n[21]!==T?(U=function(t,n){y(!0),T!=null&&T(t,n)},n[20]=y,n[21]=T,n[22]=U):U=n[22];var V=U,H;n[23]!==y||n[24]!==C||n[25]!==D?(H=function(){C?D!=null&&D():y(!0)},n[23]=y,n[24]=C,n[25]=D,n[26]=H):H=n[26];var G=H,z;n[27]!==y||n[28]!==C||n[29]!==N?(z=N!=null?function(){N!=null&&(C?N():y(!0))}:void 0,n[27]=y,n[28]=C,n[29]=N,n[30]=z):z=n[30];var j=z,K;n[31]!==y||n[32]!==C||n[33]!==A?(K=A!=null?function(){A!=null&&(C?A():y(!0))}:void 0,n[31]=y,n[32]=C,n[33]=A,n[34]=K):K=n[34];var Q=K,X;n[35]!==y||n[36]!==v||n[37]!==x||n[38]!==S||n[39]!==f?(X=function(){S!==!0&&(f||v!=null&&!f)&&y(!1),x!=null&&x()},n[35]=y,n[36]=v,n[37]=x,n[38]=S,n[39]=f,n[40]=X):X=n[40];var Y=X,J;n[41]!==y||n[42]!==u||n[43]!==C||n[44]!==$?(J=function(){C?(y(!1),u.onEscape!=null&&u.onEscape()):$!=null&&$()},n[41]=y,n[42]=u,n[43]=C,n[44]=$,n[45]=J):J=n[45];var Z=J,ee;n[46]!==y||n[47]!==w||n[48]!==g?(ee=function(t,n){g||y(!1),w!=null&&w(t,n),g&&y(!1)},n[46]=y,n[47]=w,n[48]=g,n[49]=ee):ee=n[49];var te=ee,ne;n[50]!==y||n[51]!==p?(ne=function(){y(!1),p!=null&&p()},n[50]=y,n[51]=p,n[52]=ne):ne=n[52];var re=ne,oe;n[53]!==y||n[54]!==_?(oe=function(){y(!1),_!=null&&_()},n[53]=y,n[54]=_,n[55]=oe):oe=n[55];var ae=oe,ie;n[56]!==y||n[57]!==C||n[58]!==F?(ie=function(){C?F!=null&&F():y(!0)},n[56]=y,n[57]=C,n[58]=F,n[59]=ie):ie=n[59];var le=ie,se;return n[60]!==B||n[61]!==V||n[62]!==q||n[63]!==G||n[64]!==Y||n[65]!==Z||n[66]!==j||n[67]!==te||n[68]!==Q||n[69]!==re||n[70]!==ae||n[71]!==le||n[72]!==I||n[73]!==P||n[74]!==M?(se={onAbandonTypeahead_DO_NOT_USE:B,onBlur:I,onChange:V,onClick:q,onDownArrow:G,onEnter:Y,onEscape:Z,onHighlightEntry:P,onLeftArrow:j,onOutsideClick:M,onPressEntry:te,onRightArrow:Q,onShiftTab:re,onTab:ae,onUpArrow:le},n[60]=B,n[61]=V,n[62]=q,n[63]=G,n[64]=Y,n[65]=Z,n[66]=j,n[67]=te,n[68]=Q,n[69]=re,n[70]=ae,n[71]=le,n[72]=I,n[73]=P,n[74]=M,n[75]=se):se=n[75],se}l.default=m}),98); __d("useCometTypeaheadLayoutStrategyStyles",["react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useMemo,u={defaultLayout:{boxSizing:"x9f619",display:"x78zum5",flexDirection:"xdt5ytf",width:"xh8yej3",$$css:!0},stateDisabled:{$$css:!0},stateError:{$$css:!0},stateOpened:{$$css:!0},stateWarning:{$$css:!0}};function c(e){var t=o("react-compiler-runtime").c(13),n=e.isDisabled,r=e.isError,a=e.isOpened,i=e.isWarning,l=e.xstyles,s=n===void 0?!1:n,c=r===void 0?!1:r,d=a===void 0?!1:a,m=i===void 0?!1:i,p=l.inputXStyle,_=l.layoutOpenedXStyle,f=l.layoutXStyle,g=l.viewXStyle_DO_NOT_USE,h=d&&_,y=s&&u.stateDisabled,C=d&&u.stateOpened,b=c&&u.stateError,v=m&&u.stateWarning,S;t[0]!==f||t[1]!==v||t[2]!==h||t[3]!==y||t[4]!==C||t[5]!==b?(S=[u.defaultLayout,f,h,y,C,b,v],t[0]=f,t[1]=v,t[2]=h,t[3]=y,t[4]=C,t[5]=b,t[6]=S):S=t[6];var R;t[7]!==g?(R=[g],t[7]=g,t[8]=R):R=t[8];var L;return t[9]!==p||t[10]!==S||t[11]!==R?(L={inputXStyle:p,layoutXStyle:S,viewXStyle_DO_NOT_USE:R},t[9]=p,t[10]=S,t[11]=R,t[12]=L):L=t[12],L}l.default=c}),98); __d("CometTypeaheadLayoutContextualStrategy.react",["CometTypeaheadHelperText.react","CometTypeaheadInternalLayoutContextualStrategy.react","react","react-compiler-runtime","useBaseTypeaheadLayoutContextualStrategyStateContext","useCometInternalTypeaheadFetch","useCometInternalTypeaheadState","useCometTypeaheadInputRefs","useCometTypeaheadInternalLayoutContextualStrategyHandlers","useCometTypeaheadLayoutContextualStrategyARIAProps","useCometTypeaheadLayoutStrategyStyles"],(function(t,n,r,o,a,i,l){"use strict";var e=["extraLayoutProps","helperText","label","onAbandonTypeahead_DO_NOT_USE","onBlur","onChange","onClick","onDownArrow","onEnter","onEscape","onHighlightEntry","onOutsideClick","onPressEntry","onShiftTab","onTab","onUpArrow","viewRole","inputRef","shouldHandleCloseAfterHandlePressEntry","shouldCloseOnEnter","useAdjustedView","xstyles"],s=["viewXStyle_DO_NOT_USE"],u,c=u||(u=o("react")),d={backgroundColor:"var(--card-background)",borderRadius:8,boxShadow:"0 12px 12px var(--shadow-2), inset 0 0 0 1px var(--shadow-inset)",boxSizing:"border-box",display:"flex",flexDirection:"column",flexGrow:1,marginTop:2},m={adjustedView:{backgroundColor:"x1jx94hy",borderStartStartRadius:"x1obq294",borderStartEndRadius:"x5a5i1n",borderEndEndRadius:"xde0f50",borderEndStartRadius:"x15x8krk",boxShadow:"xbsqzb3",boxSizing:"x9f619",display:"x78zum5",flexDirection:"xdt5ytf",flexGrow:"x1iyjqo2",marginTop:"xr9ek0c",marginInlineStart:"xal13hj",width:"x5ox5g8",$$css:!0},view:{backgroundColor:"x1jx94hy",borderStartStartRadius:"x1obq294",borderStartEndRadius:"x5a5i1n",borderEndEndRadius:"xde0f50",borderEndStartRadius:"x15x8krk",boxShadow:"xbsqzb3",boxSizing:"x9f619",display:"x78zum5",flexDirection:"xdt5ytf",flexGrow:"x1iyjqo2",marginTop:"xr9ek0c",$$css:!0}};function p(t){var n=o("react-compiler-runtime").c(84),a,i,l,u,d,p,_,f,g,h,y,C,b,v,S,R,L,E,k,I,T,D,x;n[0]!==t?(E=t.extraLayoutProps,i=t.helperText,l=t.label,u=t.onAbandonTypeahead_DO_NOT_USE,d=t.onBlur,p=t.onChange,_=t.onClick,f=t.onDownArrow,g=t.onEnter,h=t.onEscape,y=t.onHighlightEntry,C=t.onOutsideClick,b=t.onPressEntry,v=t.onShiftTab,S=t.onTab,R=t.onUpArrow,x=t.viewRole,a=t.inputRef,k=t.shouldHandleCloseAfterHandlePressEntry,I=t.shouldCloseOnEnter,T=t.useAdjustedView,D=t.xstyles,L=babelHelpers.objectWithoutPropertiesLoose(t,e),n[0]=t,n[1]=a,n[2]=i,n[3]=l,n[4]=u,n[5]=d,n[6]=p,n[7]=_,n[8]=f,n[9]=g,n[10]=h,n[11]=y,n[12]=C,n[13]=b,n[14]=v,n[15]=S,n[16]=R,n[17]=L,n[18]=E,n[19]=k,n[20]=I,n[21]=T,n[22]=D,n[23]=x):(a=n[1],i=n[2],l=n[3],u=n[4],d=n[5],p=n[6],_=n[7],f=n[8],g=n[9],h=n[10],y=n[11],C=n[12],b=n[13],v=n[14],S=n[15],R=n[16],L=n[17],E=n[18],k=n[19],I=n[20],T=n[21],D=n[22],x=n[23]);var $;n[24]!==E?($=E===void 0?{}:E,n[24]=E,n[25]=$):$=n[25];var P=$,N=P.afterViewContent,M=P.beforeViewContent,w=k===void 0?!1:k,A=I===void 0?!0:I,F=T===void 0?!1:T,O;n[26]!==D?(O=D===void 0?{}:D,n[26]=D,n[27]=O):O=n[27];var B,W;if(n[28]!==O){var q=O;B=q.viewXStyle_DO_NOT_USE,W=babelHelpers.objectWithoutPropertiesLoose(q,s),n[28]=O,n[29]=B,n[30]=W}else B=n[29],W=n[30];var U=r("useCometInternalTypeaheadFetch")(),V=U.isLoading,H=r("useBaseTypeaheadLayoutContextualStrategyStateContext")(),G=H.isOpened,z=r("useCometInternalTypeaheadState")(),j=z.activeEntries,K=z.highlightedEntry,Q=r("useCometTypeaheadInputRefs")(a),X=Q.composedRef,Y=Q.inputRef,J;n[31]!==u||n[32]!==d||n[33]!==p||n[34]!==_||n[35]!==f||n[36]!==g||n[37]!==h||n[38]!==y||n[39]!==C||n[40]!==b||n[41]!==v||n[42]!==S||n[43]!==R?(J={onAbandonTypeahead_DO_NOT_USE:u,onBlur:d,onChange:p,onClick:_,onDownArrow:f,onEnter:g,onEscape:h,onHighlightEntry:y,onOutsideClick:C,onPressEntry:b,onShiftTab:v,onTab:S,onUpArrow:R},n[31]=u,n[32]=d,n[33]=p,n[34]=_,n[35]=f,n[36]=g,n[37]=h,n[38]=y,n[39]=C,n[40]=b,n[41]=v,n[42]=S,n[43]=R,n[44]=J):J=n[44];var Z;n[45]!==Y||n[46]!==A||n[47]!==w||n[48]!==J?(Z={handlers:J,inputRef:Y,shouldCloseOnEnter:A,shouldHandleCloseAfterHandlePressEntry:w},n[45]=Y,n[46]=A,n[47]=w,n[48]=J,n[49]=Z):Z=n[49];var ee=r("useCometTypeaheadInternalLayoutContextualStrategyHandlers")(Z),te;n[50]!==j||n[51]!==i||n[52]!==K||n[53]!==G||n[54]!==l||n[55]!==x?(te={activeEntries:j,helperText:i,highlightedEntry:K,inputLabel:l,isOpened:G,viewRole:x},n[50]=j,n[51]=i,n[52]=K,n[53]=G,n[54]=l,n[55]=x,n[56]=te):te=n[56];var ne=r("useCometTypeaheadLayoutContextualStrategyARIAProps")(te),re=F?m.adjustedView:m.view,oe;n[57]!==re||n[58]!==B?(oe=[re,B],n[57]=re,n[58]=B,n[59]=oe):oe=n[59];var ae;n[60]!==oe||n[61]!==W?(ae=babelHelpers.extends({viewXStyle_DO_NOT_USE:oe},W),n[60]=oe,n[61]=W,n[62]=ae):ae=n[62];var ie;n[63]!==G||n[64]!==ae?(ie={isOpened:G,xstyles:ae},n[63]=G,n[64]=ae,n[65]=ie):ie=n[65];var le=r("useCometTypeaheadLayoutStrategyStyles")(ie),se;n[66]!==i?(se=i!=null?c.jsx(r("CometTypeaheadHelperText.react"),{text:i}):null,n[66]=i,n[67]=se):se=n[67];var ue;n[68]!==N||n[69]!==ne||n[70]!==M||n[71]!==V||n[72]!==G||n[73]!==se?(ue={afterViewContent:N,ariaProps:ne,beforeViewContent:M,helperTextComponent:se,isLoading:V,isOpened:G},n[68]=N,n[69]=ne,n[70]=M,n[71]=V,n[72]=G,n[73]=se,n[74]=ue):ue=n[74];var ce;return n[75]!==X||n[76]!==ee||n[77]!==i||n[78]!==l||n[79]!==L||n[80]!==le||n[81]!==ue||n[82]!==x?(ce=c.jsx(r("CometTypeaheadInternalLayoutContextualStrategy.react"),babelHelpers.extends({},L,ee,{extraLayoutProps:ue,helperText:i,inputRef:X,label:l,viewRole:x,xstyles:le})),n[75]=X,n[76]=ee,n[77]=i,n[78]=l,n[79]=L,n[80]=le,n[81]=ue,n[82]=x,n[83]=ce):ce=n[83],ce}l.default=p}),98); __d("useCometSearchRoutingQueryString",["CometRouteParams","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";function e(){var e=o("react-compiler-runtime").c(2),t=o("CometRouteParams").useRouteParams(),n;return e[0]!==t.q?(n=typeof t.q=="string"?t.q.trim():"",e[0]=t.q,e[1]=n):n=e[1],n}l.default=e}),98); __d("CometSearchScopedLoggedOutTypeahead.react",["BaseTypeahead.react","CometSearchScopedTypeaheadInputStrategy.react","CometTypeaheadLayoutContextualStrategy.react","react","react-compiler-runtime","useCometSearchRoutingQueryString","vulture"],(function(t,n,r,o,a,i,l){"use strict";var e=["paddingHorizontal"],s,u=s||(s=o("react")),c=s,d=c.useMemo,m=c.useState,p={typeaheadInput:{alignItems:"x6s0dn4",display:"x78zum5",$$css:!0},typeaheadView:{borderEndEndRadius:"xde0f50",borderEndStartRadius:"x15x8krk",paddingBottom:"xwib8y2",paddingInlineEnd:"xf159sx",paddingInlineStart:"xmzvs34",$$css:!0}},_={12:{paddingInlineStart:"x1g0dm76",paddingInlineEnd:"xpdmqnj",paddingLeft:null,paddingRight:null,$$css:!0},16:{paddingInlineStart:"xf7dkkf",paddingInlineEnd:"xv54qhq",paddingLeft:null,paddingRight:null,$$css:!0}};function f(t){var n=o("react-compiler-runtime").c(12),a,i;n[0]!==t?(a=t.paddingHorizontal,i=babelHelpers.objectWithoutPropertiesLoose(t,e),n[0]=t,n[1]=a,n[2]=i):(a=n[1],i=n[2]);var l=a===void 0?16:a;r("vulture")("jAFs-3P7UAW8bODK06ZObfkJjRs=");var s=m(r("useCometSearchRoutingQueryString")()),c=s[0],d=s[1],f=_[l],g;n[3]!==f?(g=[p.typeaheadInput,f],n[3]=f,n[4]=g):g=n[4];var h=c.trim()!==""?p.typeaheadView:null,y;n[5]!==g||n[6]!==h?(y={inputXStyle:g,viewXStyle_DO_NOT_USE:h},n[5]=g,n[6]=h,n[7]=y):y=n[7];var C=y,b;return n[8]!==c||n[9]!==i||n[10]!==C?(b=u.jsx(r("BaseTypeahead.react"),babelHelpers.extends({},i,{inputStrategyRenderer:r("CometSearchScopedTypeaheadInputStrategy.react"),layoutStrategyRenderer:r("CometTypeaheadLayoutContextualStrategy.react"),onChange:d,queryString:c,xstyles:C})),n[8]=c,n[9]=i,n[10]=C,n[11]=b):b=n[11],b}l.default=f}),98); __d("CometSearchTypeaheadBaseSurfaceRecentViewItemRemoveButton.react",["fbt","CometPressable.react","CometSearchRecentDataSourceDispatcherContext","FBNucleusCrossFilled20Icon.react","FDSIcon.react","XPlatReactEnvironment","react","react-compiler-runtime","useCometInternalTypeaheadState"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=e||(e=o("react")),c=e,d=c.useCallback,m=c.useContext,p=c.useState,_={buttonContainer:{alignItems:"x6s0dn4",borderStartStartRadius:"x1c9tyrk",borderStartEndRadius:"xeusxvb",borderEndEndRadius:"x1pahc9y",borderEndStartRadius:"x1ertn4p",display:"x78zum5",height:"x1fgtraw",justifyContent:"xl56j7k",width:"xgd8bvy",$$css:!0},buttonContainerActive:{boxShadow:"xpud6h4",outline:"x1a2a7pz xvetz19",$$css:!0}};function f(e){var t=o("react-compiler-runtime").c(15),n=e.entry,a=e.testid,i=m(r("CometSearchRecentDataSourceDispatcherContext")),l=p(!1),c=l[0],d=l[1],f=r("useCometInternalTypeaheadState")(),g=f.highlightedEntry,h=f.secondaryActionHighlighted,y;t[0]!==n||t[1]!==i?(y=function(t){t&&t.type!=="press"&&t.stopPropagation(),d(!0),i==null||i.dispatchRemoveRecentEntry(n)},t[0]=n,t[1]=i,t[2]=y):y=t[2];var C=y,b;t[3]!==n.label?(b=s._(/*BTDS*/"Delete {search_term} from history",[s._param("search_term",n.label)]),t[3]=n.label,t[4]=b):b=t[4];var v=b,S=g===n&&h===!0&&_.buttonContainerActive,R;t[5]!==S?(R=[_.buttonContainer,S],t[5]=S,t[6]=R):R=t[6];var L;t[7]!==v||t[8]!==c?(L=u.jsx(r("FDSIcon.react"),{"aria-label":v,color:"secondary",disabled:c,focusable:!1,icon:r("FBNucleusCrossFilled20Icon.react"),size:o("XPlatReactEnvironment").isWeb()?12:20}),t[7]=v,t[8]=c,t[9]=L):L=t[9];var E;return t[10]!==C||t[11]!==R||t[12]!==L||t[13]!==a?(E=u.jsx(r("CometPressable.react"),{dynamicHoverTiltAngle:15,dynamicHoverTranslationPercent:.15,onPress:C,overlayRadius:999,showDynamicHover:!0,testid:void 0,xstyle:R,children:L}),t[10]=C,t[11]=R,t[12]=L,t[13]=a,t[14]=E):E=t[14],E}l.default=f}),226); __d("CometTypeaheadFocusLockRegion.react",["react","react-compiler-runtime","react-strict-dom"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=e.useCallback;function c(e){var t=o("react-compiler-runtime").c(3),n=e.children,r=e.xstyle,a=d,i;return t[0]!==n||t[1]!==r?(i=s.jsx(o("react-strict-dom").html.div,{onMouseDown:a,style:r,children:n}),t[0]=n,t[1]=r,t[2]=i):i=t[2],i}function d(e){e.preventDefault()}l.default=c}),98); __d("FBNucleusClockOutline20Icon.react",["react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){return s.jsxs("svg",babelHelpers.extends({viewBox:"0 0 20 20",width:"1em",height:"1em",fill:"currentColor"},e,{children:[e.title!=null&&s.jsx("title",{children:e.title}),e.children!=null&&s.jsx("defs",{children:e.children}),s.jsx("path",{d:"M10.75 5.75a.75.75 0 0 0-1.5 0V10c0 .199.079.39.22.53l2.5 2.5a.75.75 0 1 0 1.06-1.06l-2.28-2.28V5.75z"}),s.jsx("path",{d:"M10 .5a9.5 9.5 0 1 0 0 19 9.5 9.5 0 0 0 0-19zM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0z"})]}))}u.displayName=u.name+" [from "+i.id+"]",u._size=20,u._isSVG=!0;var c=u;l.default=c}),98); __d("FBNucleusHashtagOutline20Icon.react",["react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){return s.jsxs("svg",babelHelpers.extends({viewBox:"0 0 20 20",width:"1em",height:"1em",fill:"currentColor"},e,{children:[e.title!=null&&s.jsx("title",{children:e.title}),e.children!=null&&s.jsx("defs",{children:e.children}),s.jsx("path",{d:"M9.036 1.897a.75.75 0 0 0-1.471-.294L6.685 6H2.75a.75.75 0 0 0 0 1.5h3.635l-1 5H1.75a.75.75 0 0 0 0 1.5h3.335l-.82 4.103a.75.75 0 0 0 1.47.294L6.616 14h5.22l-.82 4.103a.75.75 0 0 0 1.47.294l.88-4.397h3.885a.75.75 0 0 0 0-1.5h-3.585l1-5h3.585a.75.75 0 0 0 0-1.5h-3.285l.82-4.103a.75.75 0 0 0-1.47-.294L13.435 6h-5.22l.82-4.103zm3.1 10.603H6.914l1-5h5.22l-1 5z"})]}))}u.displayName=u.name+" [from "+i.id+"]",u._size=20,u._isSVG=!0;var c=u;l.default=c}),98); __d("CometTypeaheadViewItemIcon.react",["ix","FBNucleusClockOutline20Icon.react","FBNucleusHashtagOutline20Icon.react","FBNucleusMagnifyingGlassFilled16Icon.react","FDSBookmarkFilled16Icon","FDSIcon.react","SearchCometInterestsDeepDiveUtil","XPlatReactEnvironment","fbicon","react","react-compiler-runtime","react-strict-dom"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=e||(e=o("react")),c={icon:{alignItems:"x6s0dn4",backgroundColor:"x443n21",borderStartStartRadius:"x1c9tyrk",borderStartEndRadius:"xeusxvb",borderEndEndRadius:"x1pahc9y",borderEndStartRadius:"x1ertn4p",display:"x78zum5",height:"xc9qbxq",justifyContent:"xl56j7k",width:"x14qfxbe",$$css:!0},iconActive:{backgroundColor:"x1jx94hy",$$css:!0},iconFBVR:{backgroundColor:"x1qhmfi1",$$css:!0}};function d(e){var t=o("react-compiler-runtime").c(5),n=e.children,r=e.isActive,a=r&&c.iconActive,i;t[0]!==a?(i=[c.icon,o("XPlatReactEnvironment").isWeb()?null:c.iconFBVR,a],t[0]=a,t[1]=i):i=t[1];var l;return t[2]!==n||t[3]!==i?(l=u.jsx(o("react-strict-dom").html.div,{style:i,children:n}),t[2]=n,t[3]=i,t[4]=l):l=t[4],l}function m(e){var t=o("react-compiler-runtime").c(5),n=e.label,r=e.isActive,a;t[0]!==n?(a=u.jsx(g,{isRecent:!0,label:n}),t[0]=n,t[1]=a):a=t[1];var i;return t[2]!==r||t[3]!==a?(i=u.jsx(d,{isActive:r,children:a}),t[2]=r,t[3]=a,t[4]=i):i=t[4],i}function p(e){var t=o("react-compiler-runtime").c(3),n=e.isActive,a;t[0]===Symbol.for("react.memo_cache_sentinel")?(a=u.jsx(r("FDSIcon.react"),{color:"secondary",icon:o("fbicon")._(s("688945"),16),size:16}),t[0]=a):a=t[0];var i;return t[1]!==n?(i=u.jsx(d,{isActive:n,children:a}),t[1]=n,t[2]=i):i=t[2],i}function _(e){var t=o("react-compiler-runtime").c(5),n=e.label,r=e.isActive,a;t[0]!==n?(a=u.jsx(g,{isRecent:!1,label:n}),t[0]=n,t[1]=a):a=t[1];var i;return t[2]!==r||t[3]!==a?(i=u.jsx(d,{isActive:r,children:a}),t[2]=r,t[3]=a,t[4]=i):i=t[4],i}function f(e){var t=o("react-compiler-runtime").c(3),n=e.isActive,a;t[0]===Symbol.for("react.memo_cache_sentinel")?(a=u.jsx(r("FDSIcon.react"),{color:"secondary",icon:r("FDSBookmarkFilled16Icon"),size:16}),t[0]=a):a=t[0];var i;return t[1]!==n?(i=u.jsx(d,{isActive:n,children:a}),t[1]=n,t[2]=i):i=t[2],i}function g(e){var t=o("react-compiler-runtime").c(3),n=e.isRecent,a=e.label;if(o("SearchCometInterestsDeepDiveUtil").getHashtagTag(a)!=null){var i;return t[0]===Symbol.for("react.memo_cache_sentinel")?(i=u.jsx(r("FDSIcon.react"),{color:o("XPlatReactEnvironment").isWeb()?"secondary":"primary",icon:r("FBNucleusHashtagOutline20Icon.react"),size:16}),t[0]=i):i=t[0],i}else if(n){var l;return t[1]===Symbol.for("react.memo_cache_sentinel")?(l=u.jsx(r("FDSIcon.react"),{color:o("XPlatReactEnvironment").isWeb()?"secondary":"primary",icon:r("FBNucleusClockOutline20Icon.react"),size:20}),t[1]=l):l=t[1],l}else{var s;return t[2]===Symbol.for("react.memo_cache_sentinel")?(s=u.jsx(r("FDSIcon.react"),{color:o("XPlatReactEnvironment").isWeb()?"secondary":"primary",icon:r("FBNucleusMagnifyingGlassFilled16Icon.react"),size:16}),t[2]=s):s=t[2],s}}l.CometTypeaheadViewRecentIcon=m,l.CometTypeaheadViewTrophyIcon=p,l.CometTypeaheadViewTypedIcon=_,l.CometTypeaheadViewSavedContentIcon=f}),98); __d("CometTypeaheadRecentViewItem.react",["CometSearchBaseTypeaheadTitleSnippetViewItem.react","CometTypeaheadViewItem.react","CometTypeaheadViewItemIcon.react","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e=["entry","isActive","queryString","testid"],s,u=s||(s=o("react"));function c(t){var n=o("react-compiler-runtime").c(17),a,i,l,s;if(n[0]!==t){var c=t.entry,d=t.isActive,m=t.queryString,p=t.testid,_=babelHelpers.objectWithoutPropertiesLoose(t,e);a=c,i=d,s=p,l=_,n[0]=t,n[1]=a,n[2]=i,n[3]=l,n[4]=s}else a=n[1],i=n[2],l=n[3],s=n[4];var f=a,g=f.label,h;n[5]!==i||n[6]!==g?(h=u.jsx(o("CometTypeaheadViewItemIcon.react").CometTypeaheadViewRecentIcon,{isActive:i,label:g}),n[5]=i,n[6]=g,n[7]=h):h=n[7];var y=g!=null?g:"",C;n[8]!==y?(C=u.jsx(r("CometSearchBaseTypeaheadTitleSnippetViewItem.react"),{level:3,snippet:null,title:y}),n[8]=y,n[9]=C):C=n[9];var b;return n[10]!==a||n[11]!==i||n[12]!==l||n[13]!==h||n[14]!==C||n[15]!==s?(b=u.jsx(r("CometTypeaheadViewItem.react"),babelHelpers.extends({},l,{entry:a,isActive:i,itemStartContent:h,testid:void 0,children:C})),n[10]=a,n[11]=i,n[12]=l,n[13]=h,n[14]=C,n[15]=s,n[16]=b):b=n[16],b}l.default=c}),98); __d("CometSearchTypeaheadBaseSurfaceRecentViewItem.react",["CometSearchTypeaheadBaseSurfaceRecentViewItemRemoveButton.react","CometTypeaheadFocusLockRegion.react","CometTypeaheadRecentViewItem.react","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e=["entry"],s,u=s||(s=o("react"));function c(t){var n=o("react-compiler-runtime").c(9),a,i;n[0]!==t?(a=t.entry,i=babelHelpers.objectWithoutPropertiesLoose(t,e),n[0]=t,n[1]=a,n[2]=i):(a=n[1],i=n[2]);var l;n[3]!==a?(l=u.jsx(r("CometTypeaheadFocusLockRegion.react"),{children:u.jsx(r("CometSearchTypeaheadBaseSurfaceRecentViewItemRemoveButton.react"),{entry:a,testid:void 0})}),n[3]=a,n[4]=l):l=n[4];var s;return n[5]!==a||n[6]!==i||n[7]!==l?(s=u.jsx(r("CometTypeaheadRecentViewItem.react"),babelHelpers.extends({},i,{entry:a,itemEndContent:l,itemEndContentKeyboardFocusable:!0,testid:void 0})),n[5]=a,n[6]=i,n[7]=l,n[8]=s):s=n[8],s}l.default=c}),98); __d("CometTahoeUFIContext",["react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u={COMPOSER_AND_ALL_COMMENTS:"COMPOSER_AND_ALL_COMMENTS",COMPOSER_AND_ALL_SPEAKERS:"COMPOSER_AND_ALL_SPEAKERS",COMPOSER_AND_TOP_COMMENT:"COMPOSER_AND_TOP_COMMENT",COMPOSER_ONLY:"COMPOSER_ONLY"},c=s.createContext({showCommentsSpeakersConfig:!0,tahoeCommentComposerConfig:u.COMPOSER_AND_ALL_COMMENTS});l.TahoeCommentComposerConfigEnum=u,l.CometTahoeUFIContext=c}),98); __d("CometTypeaheadEchoViewItem.react",["CometTypeaheadViewItem.react","CometTypeaheadViewItemIcon.react","FDSText.react","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e=["entry","isActive","queryString"],s,u=s||(s=o("react"));function c(t){var n=o("react-compiler-runtime").c(18),a,i,l,s;n[0]!==t?(a=t.entry,i=t.isActive,s=t.queryString,l=babelHelpers.objectWithoutPropertiesLoose(t,e),n[0]=t,n[1]=a,n[2]=i,n[3]=l,n[4]=s):(a=n[1],i=n[2],l=n[3],s=n[4]);var c;n[5]!==a.label||n[6]!==i?(c=u.jsx(o("CometTypeaheadViewItemIcon.react").CometTypeaheadViewTypedIcon,{isActive:i,label:a.label}),n[5]=a.label,n[6]=i,n[7]=c):c=n[7];var d=String(s),m;n[8]!==d?(m=d.toLowerCase(),n[8]=d,n[9]=m):m=n[9];var p;n[10]!==m?(p=u.jsx(r("FDSText.react"),{numberOfLines:1,type:"body3",children:m}),n[10]=m,n[11]=p):p=n[11];var _;return n[12]!==a||n[13]!==i||n[14]!==l||n[15]!==c||n[16]!==p?(_=u.jsx(r("CometTypeaheadViewItem.react"),babelHelpers.extends({},l,{entry:a,isActive:i,itemStartContent:c,children:p})),n[12]=a,n[13]=i,n[14]=l,n[15]=c,n[16]=p,n[17]=_):_=n[17],_}l.default=c}),98); __d("CometTypeaheadErrorFallback.react",["react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(){var e=o("react-compiler-runtime").c(1),t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=s.jsx("div",{className:"x6s0dn4 x78zum5 x5yr21d xl56j7k"}),e[0]=t):t=e[0],t}l.default=u}),98); __d("CometTypeaheadHightlightBoldTransform.react",["FDSText.react","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t=o("react-compiler-runtime").c(2),n=e.segment,a=n.content,i;return t[0]!==a?(i=s.jsx(r("FDSText.react"),{type:"bodyLink3",children:a}),t[0]=a,t[1]=i):i=t[1],i}l.default=u}),98); __d("CometTypeaheadHightlightNormalTransform.react",["FDSText.react","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t=o("react-compiler-runtime").c(2),n=e.segment,a=n.content,i;return t[0]!==a?(i=s.jsx(r("FDSText.react"),{type:"body3",children:a}),t[0]=a,t[1]=i):i=t[1],i}l.default=u}),98); __d("mayHaveConnectedCharacters",[],(function(t,n,r,o,a,i){"use strict";function e(e){return e.match(/[\u0900-\u097F\u0980-\u09FF\u0A00-\u0A7F\u0A80-\u0AFF\u0B00-\u0B7F\u0B80-\u0BFF\u0C00-\u0C7F\u0C80-\u0CFF\u0D00-\u0D7F\u0D80-\u0DFF\u0E00-\u0E7F\u0E80-\u0EFF\u0F00-\u0FFF\u1000-\u109F\u1700-\u171F\u1720-\u173F\u1740-\u175F\u1760-\u177F\u1780-\u17FF\u1900-\u194F\u1950-\u197F\u1980-\u19DF\u19E0-\u19FF\u1A00-\u1A1F\u1A20-\u1AAF\u1B00-\u1B7F\u1B80-\u1BBF\u1BC0-\u1BFF\u1C00-\u1C4F\u1CC0-\u1CCF\uA800-\uA82F\uA840-\uA87F\uA880-\uA8DF\uA8E0-\uA8FF\uA930-\uA95F\uA980-\uA9DF\uA9E0-\uA9FF\uAA00-\uAA5F\uAA60-\uAA7F\uAA80-\uAADF\uAAE0-\uAAFF\uABC0-\uABFF\u0600-\u06FF\u0750–\u077F\u08A0–\u08FF\uFB50–\uFDFF\uFE70–\uFEFF\u4e00-\u9faf\u0D80-\u0DFF\u0E80-\u0EFF]/)!=null}i.default=e}),66); __d("cometTypeaheadHighlightUtils",["escapeRegex","mayHaveConnectedCharacters"],(function(t,n,r,o,a,i,l){"use strict";function e(e,t,n,o){if(r("mayHaveConnectedCharacters")(t))return[{content:t,isMatched:!1}];for(var a=r("escapeRegex")(o==="prefix"?e:e.trim()),i=o==="prefix"?new RegExp("( "+a.split(/\s+/).join("| ")+")","gi"):new RegExp("("+a.split(/\s+/).join("|")+")","gi"),l=" "+t,s=[],u=0,c=null;c=i.exec(l),c!=null;){var d=l.substring(u,c.index);u===0&&(d=d.trimLeft()),s.push({content:d,isMatched:!n});var m=c[0];c.index===0&&(m=m.trimLeft()),u=c.index+c[0].length,s.push({content:m,isMatched:n})}var p=l.substring(u,l.length);return s.push({content:p,isMatched:!n}),s}function s(t,n,r){return r===void 0&&(r="prefix"),e(t,n,!0,r)}function u(t,n,r){return r===void 0&&(r="prefix"),e(t,n,!1,r)}l.highlightMatch=s,l.highlightNonMatch=u}),98); __d("CometTypeaheadHighlight.react",["CometTypeaheadHightlightBoldTransform.react","CometTypeaheadHightlightNormalTransform.react","cometTypeaheadHighlightUtils","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t=o("react-compiler-runtime").c(14),n=e.children,a=e.content,i=e.query,l=e.strategy;if(i==null||a==null)return null;var u=null;e:switch(l){case"match":{u=o("cometTypeaheadHighlightUtils").highlightMatch;break e}case"non-match":{u=o("cometTypeaheadHighlightUtils").highlightNonMatch;break e}default:}if(u&&i.length!==0){var d;t[0]!==a||t[1]!==u||t[2]!==i?(d=u(i,a).map(c),t[0]=a,t[1]=u,t[2]=i,t[3]=d):d=t[3];var m;t[4]!==d?(m=s.jsx(s.Fragment,{children:d}),t[4]=d,t[5]=m):m=t[5];var p;return t[6]!==n||t[7]!==m?(p=n(m),t[6]=n,t[7]=m,t[8]=p):p=t[8],p}var _;t[9]!==a?(_=s.jsx(r("CometTypeaheadHightlightNormalTransform.react"),{segment:{content:a,isMatched:!1}}),t[9]=a,t[10]=_):_=t[10];var f;return t[11]!==n||t[12]!==_?(f=n(_),t[11]=n,t[12]=_,t[13]=f):f=t[13],f}function c(e,t){return e.isMatched?s.jsx(r("CometTypeaheadHightlightBoldTransform.react"),{segment:e},String(t)):s.jsx(r("CometTypeaheadHightlightNormalTransform.react"),{segment:e},String(t))}l.default=u}),98); __d("CometTypeaheadKeywordViewItem.react",["CometTypeaheadHighlight.react","CometTypeaheadViewItem.react","CometTypeaheadViewItemIcon.react","FDSText.react","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e=["entry","isActive","queryString"],s,u=s||(s=o("react"));function c(t){var n=o("react-compiler-runtime").c(17),a,i,l,s;n[0]!==t?(a=t.entry,i=t.isActive,s=t.queryString,l=babelHelpers.objectWithoutPropertiesLoose(t,e),n[0]=t,n[1]=a,n[2]=i,n[3]=l,n[4]=s):(a=n[1],i=n[2],l=n[3],s=n[4]);var c;n[5]!==a.label||n[6]!==i?(c=u.jsx(o("CometTypeaheadViewItemIcon.react").CometTypeaheadViewTypedIcon,{isActive:i,label:a.label}),n[5]=a.label,n[6]=i,n[7]=c):c=n[7];var m;n[8]!==a.label||n[9]!==s?(m=u.jsx(r("CometTypeaheadHighlight.react"),{content:a.label,query:s,strategy:"non-match",children:d}),n[8]=a.label,n[9]=s,n[10]=m):m=n[10];var p;return n[11]!==a||n[12]!==i||n[13]!==l||n[14]!==c||n[15]!==m?(p=u.jsx(r("CometTypeaheadViewItem.react"),babelHelpers.extends({},l,{entry:a,isActive:i,itemStartContent:c,testid:void 0,children:m})),n[11]=a,n[12]=i,n[13]=l,n[14]=c,n[15]=m,n[16]=p):p=n[16],p}function d(e){return u.jsx(r("FDSText.react"),{numberOfLines:2,type:"body3",children:e})}d.displayName=d.name+" [from "+i.id+"]",l.default=c}),98); __d("searchCometTypeaheadODSLogAddEvent",["requireDeferred"],(function(t,n,r,o,a,i,l){"use strict";var e=r("requireDeferred")("ODS").__setRef("searchCometTypeaheadODSLogAddEvent");function s(t,n,r){e.onReady(function(e){e.bumpEntityKey(354,"comet_ta_out_of_sync_event",[t,r!=null?r:"no_callsite",n?"null_session_id":"inactive_session"].join("."),1)})}l.default=s}),98); __d("CometTypeaheadLoggingProvider",["FBLogger","searchCometTypeaheadODSLogAddEvent"],(function(t,n,r,o,a,i,l){"use strict";var e=function(){return Math.random().toString()},s=!1,u=(function(){function t(e){var t=e.context,n=e.log,r=e.onSessionEnd;this.$4=null,this.$5=null,this.$6=!1,this.$3=n,this.$1=t,this.$7=r}var n=t.prototype;return n.setSessionEndCallback=function(t){this.$7=t},n.addEvent=function(t,n){var e=t.action,o=t.entries,a=t.entry,i=t.queryString,l=String(Date.now());return!this.$6||this.$4==null?(this.$6?s||(r("FBLogger")("search").warn("Cannot log a new %s event into inactive session on %s surface. Reason: null session id. Callsite: %s",e,this.$1,n!=null?n:"none"),s=!0):s||(r("FBLogger")("search").warn("Cannot log a new %s event into inactive session on %s surface. Reason: session inactive. Callsite: %s",e,this.$1,n!=null?n:"none"),s=!0),r("searchCometTypeaheadODSLogAddEvent")(this.$1,this.$6,n),null):(this.$2&&this.$2.push({action:e,entries:o?[].concat(o):null,entry:a,queryString:i,sequenceID:l}),{sequenceID:l,sessionID:this.$4})},n.isSessionActive=function(){return this.$6},n.getSessionID=function(){return this.$4==null&&(s||(r("FBLogger")("search").warn("Logging sessionID requested from %s surface does not exist.",this.$1),s=!0)),this.$4},n.endSession=function(){var e=this.$5,t=this.$4,n=this.$2;if(!(e==null||t==null||n==null)){var r=c(n),o={endTimeMs:Date.now(),events:r,sessionID:t,startTimeMs:e};this.$3(o);var a=this.$7;if(a){var i=new Set;for(var l of(s=this.$2)!=null?s:[]){var s;if(l.entries!=null)for(var u of l.entries)i.add(u)}var d=this.$2!=null?this.$2[this.$2.length-1]:null;a({reason:d!=null?d.action==="abandon"?"abandon":"success":void 0,sessionID:t,shownEntries:Array.from(i)})}this.$6=!1,this.$2=null,this.$5=null}},n.startSession=function(){this.$6=!0,this.$2=[];var t=e();this.$4=t;var n=Date.now();this.$5=n},n.getContext=function(){return this.$1},t})();function c(e){if(e.length<2)return r("FBLogger")("search").mustfix("Logging session can't have less than 2 events"),[];var t=e[0],n=e[1],o=babelHelpers.arrayLikeToArray(e).slice(2),a=[];if(t.action==="typeahead_appeared"&&n.action==="keystroke"){var i,l,s=babelHelpers.extends({},t,{entries:(i=t.entries)!=null?i:n.entries});(l=a).push.apply(l,[s].concat(o))}else a=[].concat(e);for(var u=[];a.length>0;){var c,d=a.shift(),m=a,p=m[0];u.push(babelHelpers.extends({},d,{entries:(c=p==null?void 0:p.entries)!=null?c:d.entries}))}return u}l.default=u}),98); __d("CometTypeaheadSeeAllViewItem.react",["fbt","CometTypeaheadViewItem.react","FDSIcon.react","FDSMagnifyingGlassFilled16Icon","FDSText.react","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l,s){"use strict";var e=["entry","extraViewItemProps","queryString"],u,c=u||(u=o("react")),d=u.useMemo;function m(t){var n,a,i,l=o("react-compiler-runtime").c(15),s,u,d,m;l[0]!==t?(s=t.entry,u=t.extraViewItemProps,m=t.queryString,d=babelHelpers.objectWithoutPropertiesLoose(t,e),l[0]=t,l[1]=s,l[2]=u,l[3]=d,l[4]=m):(s=l[1],u=l[2],d=l[3],m=l[4]),(n=u)==null||n.placeholderBuilder;var _=(a=(i=u)==null?void 0:i.placeholderBuilder)!=null?a:p,f;l[5]===Symbol.for("react.memo_cache_sentinel")?(f=c.jsx("div",{className:"x6s0dn4 xwnonoy x1fmog5m xu25z0z x140muxe xo1y3bh x78zum5 xc9qbxq xl56j7k x14qfxbe",children:c.jsx(r("FDSIcon.react"),{color:"white",icon:r("FDSMagnifyingGlassFilled16Icon"),size:16})}),l[5]=f):f=l[5];var g;l[6]!==_||l[7]!==m?(g=_(m),l[6]=_,l[7]=m,l[8]=g):g=l[8];var h;l[9]!==g?(h=c.jsx(r("FDSText.react"),{color:"blueLink",numberOfLines:1,type:"body3",children:g}),l[9]=g,l[10]=h):h=l[10];var y;return l[11]!==s||l[12]!==d||l[13]!==h?(y=c.jsx(r("CometTypeaheadViewItem.react"),babelHelpers.extends({},d,{entry:s,itemStartContent:f,children:h})),l[11]=s,l[12]=d,l[13]=h,l[14]=y):y=l[14],y}function p(e){return s._(/*BTDS*/"Rechercher {=m1}",[s._implicitParam("=m1",c.jsx("strong",{children:s._(/*BTDS*/"{query}",[s._param("query",e.toLowerCase())])}))])}p.displayName=p.name+" [from "+i.id+"]",l.default=m}),226); __d("CometVideoHomeLOEExploreLeftRailSectionQuery.graphql",["CometVideoHomeLOEExploreLeftRailSectionQuery_facebookRelayOperation","relay-runtime"],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e=[{alias:null,args:null,concreteType:"HashtagNode",kind:"LinkedField",name:"video_home_www_trending_hashtag",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"hashtag_name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hashtag_uri",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CometVideoHomeLOEExploreLeftRailSectionQuery",selections:e,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"CometVideoHomeLOEExploreLeftRailSectionQuery",selections:e},params:{id:n("CometVideoHomeLOEExploreLeftRailSectionQuery_facebookRelayOperation"),metadata:{},name:"CometVideoHomeLOEExploreLeftRailSectionQuery",operationKind:"query",text:null}}})();n("relay-runtime").PreloadableQueryRegistry.set(e.params.id,e),a.exports=e}),null); __d("CometVideoHomeLOEExploreLeftRailSection.react",["fbt","ix","CometRelay","CometRow.react","CometRowItem.react","CometVideoHomeLOEExploreLeftRailSectionQuery.graphql","FDSLink.react","FDSPivotLink.react","FDSPivotLinkPile.react","FDSText.react","VideoHomeTypedLiteLogger","XCometVideoHomeHashtagControllerRouteBuilder","fbicon","goForceFullPageRedirectTo","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l,s,u){"use strict";var e,c,d=c||(c=o("react")),m=14,p={mainContainer:{display:"x78zum5",marginTop:"x1xmf6yo",marginBottom:"x1e56ztr",paddingInlineStart:"xf7dkkf",paddingInlineEnd:"xv54qhq",paddingLeft:null,paddingRight:null,$$css:!0}},_=e!==void 0?e:e=n("CometVideoHomeLOEExploreLeftRailSectionQuery.graphql");function f(e){var t=o("react-compiler-runtime").c(16),n=e.exploreQueryReference,a=o("CometRelay").usePreloadedQuery(_,n),i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i=s._(/*BTDS*/"Explorer"),t[0]=i):i=t[0];var l=i,u=a.video_home_www_trending_hashtag;if(u.length===0)return null;var c;if(t[1]!==u){var f,C=u==null?void 0:u.map(y);C.length>m&&(C=C.slice(0,m-1)),c=(f=C)==null?void 0:f.map(h),t[1]=u,t[2]=c}else c=t[2];var b=c,v;t[3]!==b?(v=b&&d.jsx(r("FDSPivotLinkPile.react"),{align:"start",isFullWidth:!0,paddingHorizontal:0,children:b}),t[3]=b,t[4]=v):v=t[4];var S;t[5]!==v?(S=d.jsx(r("CometRow.react"),{align:"start",expanding:!0,paddingHorizontal:0,paddingVertical:4,wrap:"forward",children:d.jsx(r("CometRowItem.react"),{xstyle:p.mainContainer,children:v})}),t[5]=v,t[6]=S):S=t[6];var R=S,L;t[7]===Symbol.for("react.memo_cache_sentinel")?(L=r("XCometVideoHomeHashtagControllerRouteBuilder").buildURL({}),t[7]=L):L=t[7];var E=L,k;t[8]===Symbol.for("react.memo_cache_sentinel")?(k={className:"x8cjs6t x13fuv20 x178xt8z x78zum5 xdt5ytf x5yr21d x1nhvcw1 xz9dl7a"},t[8]=k):k=t[8];var I;t[9]===Symbol.for("react.memo_cache_sentinel")?(I=d.jsx(r("CometRowItem.react"),{children:d.jsx(r("FDSText.react"),{type:"headlineEmphasized3",children:l})}),t[9]=I):I=t[9];var T;t[10]===Symbol.for("react.memo_cache_sentinel")?(T=d.jsx(r("FDSText.react"),{color:"highlight",type:"body3",children:s._(/*BTDS*/"Voir tout")}),t[10]=T):T=t[10];var D;t[11]!==E?(D=d.jsxs(r("CometRow.react"),{align:"justify",expanding:!0,paddingHorizontal:16,paddingVertical:0,children:[I,d.jsx(r("CometRowItem.react"),{children:d.jsx(r("FDSLink.react"),{href:E,onClick:g,children:T})})]}),t[11]=E,t[12]=D):D=t[12];var x;return t[13]!==D||t[14]!==R?(x=d.jsxs("div",babelHelpers.extends({},k,{children:[D,R]})),t[13]=D,t[14]=R,t[15]=x):x=t[15],x}function g(){r("VideoHomeTypedLiteLogger").log({click_point:"lhc_explore_see_all",event:"click",event_target:"hashtag_directory"})}function h(e,t){var n,a=(n=e.name)!=null?n:"";return d.jsx(r("FDSPivotLink.react"),{image:{icon:o("fbicon")._(u("1179025"),16),type:"icon"},label:a,onPress:function(){var t;r("VideoHomeTypedLiteLogger").log({click_point:"lhc_hashtag_pill",click_target:"pill",event:"click",event_target:"trending_hashtag",event_target_info:"#"+a}),r("goForceFullPageRedirectTo")((t=e.uri)!=null?t:"")}},t)}h.displayName=h.name+" [from "+i.id+"]";function y(e,t){return{name:e.hashtag_name,uri:e.hashtag_uri}}l.default=f}),226); __d("XCometWatchSearchControllerRouteBuilder",["jsRouteBuilder"],(function(t,n,r,o,a,i,l){var e=r("jsRouteBuilder")("/watch/search/",Object.freeze({}),void 0),s=e;l.default=s}),98); __d("cometTypeaheadMemoizeEntryKey",["cometUniqueID","memoizeStringOnly"],(function(t,n,r,o,a,i,l){"use strict";var e=r("memoizeStringOnly")(function(e){return r("cometUniqueID")()});function s(t){return e(t)}l.default=s}),98); __d("cometSearchTypeaheadPayloadDecoratorAddEcho",["BaseDataEntryKeyBuilder","cometTypeaheadMemoizeEntryKey"],(function(t,n,r,o,a,i,l){"use strict";function e(e){var t=e.keyBuilder,n=t===void 0?r("BaseDataEntryKeyBuilder"):t,o=e.limit;return function(e){var t=e.entries,a=e.params.query,i=t!=null?t:[],l=i.find(function(e){return n(e).trim().toLowerCase()===a.trim().toLowerCase()})!=null,s=[];if(!l&&i.length=a.length-Math.ceil(d/2)});return{context:e,end_time_ms:String(o),events:s.map(f),nav_attribution_id_v2:r,scoped_entity_id:t,session_id:i,start_time_ms:String(l)}}function f(e){var t=e.action,n=e.entries,o=e.entry,a=e.queryString,i=e.sequenceID,l=r("baseTypeaheadFlattenEntries")(n!=null?n:[]);return{action_type:t,entries:n!=null?l.map(g):[],entry:o!=null&&l!=null?g(o,l.indexOf(o)):null,query:a!=null?a:"",sequence_id:i}}function g(e,t){var n,r,o,a,i,l,s=e.key,u=e.label,c=e.metaData;return{entity_id:c==null||(n=c.logging)==null?void 0:n.entityID,entity_type:c==null||(r=c.logging)==null?void 0:r.entityType,fetch_source:c==null||(o=c.logging)==null?void 0:o.fetchSource,id:s,index_in_group:String(t),label:u,logging_id:c==null||(a=c.logging)==null?void 0:a.loggingID,logging_info:c==null||(i=c.logging)==null?void 0:i.loggingInfo,selected_type:e.subtype,sequence_id:c==null||(l=c.logging)==null?void 0:l.sequenceID,source:h(e)}}function h(e){var t=e.metaData;if(t==null)return"backend";var n=t.markers;return n.has("see_all")?"escape":n.has("echo")?"echo":n.has("recent")?"recent_searches":n.has("bootstrap")?"bootstrap":"backend"}l.default=m}),98); __d("cometSearchTypeaheadEchoViewItem.resolver",[],(function(t,n,r,o,a,i){"use strict";function e(e){var t=e.metaData.markers;return t.has("echo")?e:null}i.default=e}),66); __d("cometSearchTypeaheadKeywordViewItem.resolver",[],(function(t,n,r,o,a,i){"use strict";function e(e){var t=e.metaData.markers;return t.has("keyword")?e:null}i.default=e}),66); __d("cometSearchTypeaheadRecentViewItem.resolver",[],(function(t,n,r,o,a,i){"use strict";function e(e){return e.subtype==="recent"?e:null}i.default=e}),66); __d("cometSearchTypeaheadSeeAllViewItem.resolver",[],(function(t,n,r,o,a,i){"use strict";function e(e){var t=e.metaData.markers;return t.has("see_all")?e:null}i.default=e}),66); __d("SearchCometTypeaheadViewItemResolver.react",["CometSearchTypeaheadBaseSurfaceRecentViewItem.react","CometTypeaheadEchoViewItem.react","CometTypeaheadKeywordViewItem.react","CometTypeaheadSeeAllViewItem.react","cometSearchTypeaheadEchoViewItem.resolver","cometSearchTypeaheadKeywordViewItem.resolver","cometSearchTypeaheadRecentViewItem.resolver","cometSearchTypeaheadSeeAllViewItem.resolver","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useMemo;function u(e){"use no memo";var t=e.additionalEntryMappings,n=e.seeAllLabelBuilder,o=e.children,a=e.entry,i=e.fallbackViewItem,l=i===void 0?r("CometTypeaheadKeywordViewItem.react"):i,u=s(function(){return[].concat(t!=null?t:[],c({seeAllLabelBuilder:n}))},[t,n]),d=u.find(function(e){var t=e.resolver;return t(a)});if(d){var m=d.viewItem,p=d.viewItemProps;return o(m,p)}return o(l)}function c(e){var t=e.seeAllLabelBuilder;return[{resolver:r("cometSearchTypeaheadEchoViewItem.resolver"),viewItem:r("CometTypeaheadEchoViewItem.react")},{resolver:r("cometSearchTypeaheadSeeAllViewItem.resolver"),viewItem:r("CometTypeaheadSeeAllViewItem.react"),viewItemProps:{placeholderBuilder:t}},{resolver:r("cometSearchTypeaheadRecentViewItem.resolver"),viewItem:r("CometSearchTypeaheadBaseSurfaceRecentViewItem.react")},{resolver:r("cometSearchTypeaheadKeywordViewItem.resolver"),viewItem:r("CometTypeaheadKeywordViewItem.react")}].filter(Boolean)}l.default=u}),98); __d("useSearchCometTypeaheadViewItem",["SearchCometTypeaheadViewItemResolver.react","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e=["entry","queryString"],s,u=s||(s=o("react")),c=s.useCallback;function d(t){var n=o("react-compiler-runtime").c(4),a=t.additionalEntryMappings,i=t.getLinkProps,l=t.seeAllLabelBuilder,s;return n[0]!==a||n[1]!==i||n[2]!==l?(s=function(n){var t=n.entry,o=n.queryString,s=babelHelpers.objectWithoutPropertiesLoose(n,e);return u.jsx(r("SearchCometTypeaheadViewItemResolver.react"),{additionalEntryMappings:a,entry:t,seeAllLabelBuilder:l,children:function(n,r){return u.jsx(n,babelHelpers.extends({},s,{entry:t,extraViewItemProps:r,linkProps:i==null?void 0:i({entry:t,queryString:o}),queryString:o}))}})},n[0]=a,n[1]=i,n[2]=l,n[3]=s):s=n[3],s}l.default=d}),98); __d("CometVideoHomeLOESearchBar.react",["fbt","CometErrorBoundary.react","CometSearchScopedLoggedOutTypeahead.react","CometTypeaheadErrorFallback.react","XCometWatchSearchControllerRouteBuilder","react","react-compiler-runtime","useCometRouterDispatcher","useCometSearchRoutingQueryString","useCometSearchScopedTypeaheadLoggedOutDataSource","useCometTypeaheadViewListStrategy","useSearchCometTypeaheadLoggingProvider","useSearchCometTypeaheadViewItem","vulture"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=e||(e=o("react")),c=e.useState;function d(e){var t=o("react-compiler-runtime").c(17),n=e.initialQuery,a=n===void 0?"":n;r("vulture")("tFpMbEu50Da17vNLlTrjxHuJXjY=");var i=c(r("useCometSearchRoutingQueryString")()||a),l=i[0],d=i[1],_=r("useCometSearchScopedTypeaheadLoggedOutDataSource")(),f;t[0]===Symbol.for("react.memo_cache_sentinel")?(f={seeAllLabelBuilder:p},t[0]=f):f=t[0];var g=r("useSearchCometTypeaheadViewItem")(f),h;t[1]!==g?(h={viewItemStrategyRenderer:g},t[1]=g,t[2]=h):h=t[2];var y=r("useCometTypeaheadViewListStrategy")(h),C=r("useCometRouterDispatcher")(),b;t[3]!==C?(b=function(t){var e=r("XCometWatchSearchControllerRouteBuilder").buildURL({q:t});C!=null&&C.go(e.toString(),{})},t[3]=C,t[4]=b):b=t[4];var v=b,S;t[5]!==v?(S=function(t){v(t.label)},t[5]=v,t[6]=S):S=t[6];var R=S,L;t[7]===Symbol.for("react.memo_cache_sentinel")?(L={context:"watch_scoped"},t[7]=L):L=t[7];var E=r("useSearchCometTypeaheadLoggingProvider")(L),k;t[8]===Symbol.for("react.memo_cache_sentinel")?(k=s._(/*BTDS*/"Rechercher des vid\u00e9os"),t[8]=k):k=t[8];var I;t[9]===Symbol.for("react.memo_cache_sentinel")?(I=s._(/*BTDS*/"Rechercher des vid\u00e9os"),t[9]=I):I=t[9];var T;return t[10]!==_||t[11]!==v||t[12]!==R||t[13]!==E||t[14]!==l||t[15]!==y?(T=u.jsx(r("CometErrorBoundary.react"),{fallback:m,children:u.jsx(r("CometSearchScopedLoggedOutTypeahead.react"),{dataSource:_,label:k,loggingProvider:E,onChange:d,onPressEntry:R,onSelectFreeformQuery:v,placeholder:I,queryString:l,testid:void 0,viewStrategyRenderer:y})}),t[10]=_,t[11]=v,t[12]=R,t[13]=E,t[14]=l,t[15]=y,t[16]=T):T=t[16],T}function m(){return u.jsx(r("CometTypeaheadErrorFallback.react"),{})}m.displayName=m.name+" [from "+i.id+"]";function p(e){return s._(/*BTDS*/"Rechercher {=m1} dans les vid\u00e9os",[s._implicitParam("=m1",u.jsx("strong",{children:s._(/*BTDS*/"{query}",[s._param("query",e)])}))])}p.displayName=p.name+" [from "+i.id+"]",l.default=d}),226); __d("CometVideoHomeNavItem.react",["fbt","CometListCellStrict_DEPRECATED.react","CometRouteMatch","CometVideoHomeNavItemLoggingMap","CometVideoHomeNavItemMap","FDSText.react","VideoHomeTypedLiteLogger","react","react-compiler-runtime","vulture"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=e||(e=o("react")),c=e,d=c.useCallback,m=c.useState;function p(e){var t=o("react-compiler-runtime").c(34),n=e.children,a=e.defaultExpandState,i=e.isInWatchlistDialog,l=e.navItemType,c=e.onPress,d=e.shouldPrefetch,p=e.testid,f=a===void 0?!1:a,g=i===void 0?!1:i,h=d===void 0?!1:d;r("vulture")("iF04kLpe-FDpIguExvHempqMV8M=");var y=r("CometVideoHomeNavItemMap")[l],C=y.icon,b=y.iconColor,v=y.selectedIconColor,S=y.title,R=y.url,L=o("CometRouteMatch").useCurrentRouteMatcher(o("CometRouteMatch").MatchFunctions.pathMatchFunction),E;t[0]!==L||t[1]!==R?(E=L(R),t[0]=L,t[1]=R,t[2]=E):E=t[2];var k=E,I=m(f),T=I[0],D=I[1],x=void 0;if(n!=null){var $,P;t[3]===Symbol.for("react.memo_cache_sentinel")?($=s._(/*BTDS*/"Agrandir"),P={className:"x1diwwjn x1y1aw1k xyri2b xwib8y2 x1c1uobl"},t[3]=$,t[4]=P):($=t[3],P=t[4]);var N;t[5]!==n?(N=u.jsx("div",babelHelpers.extends({},P,{children:n})),t[5]=n,t[6]=N):N=t[6];var M;t[7]===Symbol.for("react.memo_cache_sentinel")?(M=function(){return D(_)},t[7]=M):M=t[7];var w;t[8]!==T||t[9]!==N?(w={"aria-label":$,children:N,onPress:M,open:T,type:"expander"},t[8]=T,t[9]=N,t[10]=w):w=t[10],x=w}var A;t[11]!==g||t[12]!==T||t[13]!==l||t[14]!==c||t[15]!==k?(A=function(){c&&c(),r("VideoHomeTypedLiteLogger").log({click_point:g?"watchlist_dialog":"lhc",event:"click",event_target:r("CometVideoHomeNavItemLoggingMap")[l],event_target_info:k?"selected":""}),T||D(!0)},t[11]=g,t[12]=T,t[13]=l,t[14]=c,t[15]=k,t[16]=A):A=t[16];var F=A,O=k?v:b,B;t[17]!==C||t[18]!==O?(B={color:O,icon:C,size:36,type:"contained-icon"},t[17]=C,t[18]=O,t[19]=B):B=t[19];var W;t[20]!==S?(W=u.jsx(r("FDSText.react"),{numberOfLines:1,type:"headline4",children:S}),t[20]=S,t[21]=W):W=t[21];var q;t[22]!==h||t[23]!==R?(q={prefetchQueriesOnHover:h,url:R},t[22]=h,t[23]=R,t[24]=q):q=t[24];var U;return t[25]!==x||t[26]!==F||t[27]!==l||t[28]!==k||t[29]!==B||t[30]!==W||t[31]!==q||t[32]!==p?(U=u.jsx(r("CometListCellStrict_DEPRECATED.react"),{addOnEnd:x,addOnStart:B,headline:W,level:4,linkProps:q,onPress:F,selected:k,selectedBackground:"wash",testid:void 0},l),t[25]=x,t[26]=F,t[27]=l,t[28]=k,t[29]=B,t[30]=W,t[31]=q,t[32]=p,t[33]=U):U=t[33],U}function _(e){return!e}l.default=p}),226); __d("CometVideoHomeLeftRail.loggedout.react",["BaseDivider.react","CometLegalFooter.react","CometVideoHomeLOEExploreLeftRailSection.react","CometVideoHomeNavItem.react","react","react-compiler-runtime","vulture"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){var t=o("react-compiler-runtime").c(7),n=e.exploreQueryReference;r("vulture")("G_ui1uD3I2YV5sQb60ZgiHM2ptU=");var a;if(t[0]===Symbol.for("react.memo_cache_sentinel")){var i;a=s.jsxs("div",{className:"xyorhqc",children:[s.jsx(i=r("CometVideoHomeNavItem.react"),{navItemType:"HOME"}),s.jsx(i,{navItemType:"LIVE"}),s.jsx(i,{navItemType:"REELS"}),s.jsx(i,{navItemType:"SHOWS"}),s.jsx(i,{navItemType:"EXPLORE"})]}),t[0]=a}else a=t[0];var l;t[1]!==n?(l=n?s.jsx(r("CometVideoHomeLOEExploreLeftRailSection.react"),{exploreQueryReference:n}):null,t[1]=n,t[2]=l):l=t[2];var u,c;t[3]===Symbol.for("react.memo_cache_sentinel")?(u=s.jsx(r("BaseDivider.react"),{}),c=s.jsx("div",{className:"xsdox4t x1anpbxc xyorhqc xqsn43r x14lruf5",children:s.jsx(r("CometLegalFooter.react"),{})}),t[3]=u,t[4]=c):(u=t[3],c=t[4]);var d;return t[5]!==l?(d=s.jsxs("div",{"data-testid":void 0,children:[a,l,u,c]}),t[5]=l,t[6]=d):d=t[6],d}l.default=u}),98); __d("FDSMagnifyingGlassFilled20Icon",["cr:15242"],(function(t,n,r,o,a,i,l){"use strict";l.default=n("cr:15242")}),98); __d("searchCometScopedTypeaheadDialogFallback",["FDSCardedDialogLoadingStateLegacy.react","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=540,c={anchor:{minHeight:"x1n6yrxt",$$css:!0}},d=function(t){return s.jsx(r("FDSCardedDialogLoadingStateLegacy.react"),{anchorXStyle:c.anchor,onClose:t})};l.default=d}),98); __d("CometWatchScopedTypeaheadDialogTrigger.react",["fbt","FDSCircleButton.react","FDSMagnifyingGlassFilled20Icon","react","react-compiler-runtime","searchCometScopedTypeaheadDialogFallback","useCometEntryPointDialog"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=e||(e=o("react")),c=e,d=c.useCallback,m=c.useRef;function p(e){var t=o("react-compiler-runtime").c(9),n=e.dialogEntryPoint,a=m(null),i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i=Object.freeze({}),t[0]=i):i=t[0];var l=r("useCometEntryPointDialog")(n,i,"button",r("searchCometScopedTypeaheadDialogFallback")),c=l[0],d=l[1],p=l[2],_=l[3],f;t[1]!==c?(f=function(){c({})},t[1]=c,t[2]=f):f=t[2];var g=f,h;t[3]===Symbol.for("react.memo_cache_sentinel")?(h=s._(/*BTDS*/"Rechercher"),t[3]=h):h=t[3];var y;return t[4]!==d||t[5]!==p||t[6]!==g||t[7]!==_?(y=u.jsx(r("FDSCircleButton.react"),{"aria-label":h,icon:r("FDSMagnifyingGlassFilled20Icon"),onHoverIn:d,onHoverOut:p,onPress:g,onPressIn:_,ref:a,size:36,testid:void 0}),t[4]=d,t[5]=p,t[6]=g,t[7]=_,t[8]=y):y=t[8],y}l.default=p}),226); __d("FBNucleusBookmarkFilled16Icon.react",["react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react"));function u(e){return s.jsxs("svg",babelHelpers.extends({viewBox:"0 0 16 16",width:"1em",height:"1em",fill:"currentColor"},e,{children:[e.title!=null&&s.jsx("title",{children:e.title}),e.children!=null&&s.jsx("defs",{children:e.children}),s.jsx("path",{d:"M4.25.5A1.75 1.75 0 0 0 2.5 2.25v11.843a1.25 1.25 0 0 0 1.917 1.057L8 12.887l3.582 2.263a1.25 1.25 0 0 0 1.918-1.057V2.25A1.75 1.75 0 0 0 11.75.5h-7.5z"})]}))}u.displayName=u.name+" [from "+i.id+"]",u._size=16,u._isSVG=!0;var c=u;l.default=c}),98); __d("FDSBookmarkFilled16PNGIcon.react",["ix","fbicon"],(function(t,n,r,o,a,i,l,s){"use strict";var e=o("fbicon")._(s("495586"),16),u=e;l.default=u}),98); __d("FDSFollowFilled16Icon",["cr:14012"],(function(t,n,r,o,a,i,l){"use strict";l.default=n("cr:14012")}),98); __d("FDSFollowFilled16PNGIcon.react",["ix","fbicon"],(function(t,n,r,o,a,i,l,s){"use strict";var e=o("fbicon")._(s("618352"),16),u=e;l.default=u}),98); __d("FDSFollowingFilled16PNGIcon.react",["ix","fbicon"],(function(t,n,r,o,a,i,l,s){"use strict";var e=o("fbicon")._(s("602176"),16),u=e;l.default=u}),98); __d("FDSLiveFilled20Icon",["cr:14043"],(function(t,n,r,o,a,i,l){"use strict";l.default=n("cr:14043")}),98); __d("FDSLiveFilled20PNGIcon.react",["ix","fbicon"],(function(t,n,r,o,a,i,l,s){"use strict";var e=o("fbicon")._(s("682729"),20),u=e;l.default=u}),98); __d("FDSMagnifyingGlassFilled20PNGIcon.react",["ix","fbicon"],(function(t,n,r,o,a,i,l,s){"use strict";var e=o("fbicon")._(s("491283"),20),u=e;l.default=u}),98); __d("FDSTabMenuForPivotLinks.react",["fbt","FDSMenu.react","FDSMenuItemRadio.react","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=e||(e=o("react"));function c(e){var t=o("react-compiler-runtime").c(5),n=e.menuItems,a;t[0]===Symbol.for("react.memo_cache_sentinel")?(a=s._(/*BTDS*/"Navigation des onglets"),t[0]=a):a=t[0];var i;t[1]!==n?(i=n.map(d),t[1]=n,t[2]=i):i=t[2];var l;return t[3]!==i?(l=u.jsx(r("FDSMenu.react"),{"aria-label":a,size:"full",children:i}),t[3]=i,t[4]=l):l=t[4],l}function d(e,t){var n,o=e.disabled,a=e.image,i=e.label,l=e.linkProps,s=e.onHoverIn,c=e.onHoverOut,d=e.onPress,m=e.onPressIn,p=e.selected,_=(a==null?void 0:a.type)==="icon"?a.icon:null;return u.jsx(r("FDSMenuItemRadio.react"),{disabled:o,href:(n=l==null?void 0:l.url)!=null?n:void 0,icon:_!=null?_:void 0,isSelected:p!=null?p:!1,onClick:d,onHoverIn:s,onHoverOut:c,onPressIn:m,primaryText:i!=null?i:"",radioStyle:"checkmark",role:"menuitemradio",routeTarget:l==null?void 0:l.routeTarget,target:l==null?void 0:l.target,testid:void 0},t)}d.displayName=d.name+" [from "+i.id+"]",l.default=c}),226); __d("GamingDestinationFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(t,n,r,o,a,i,l){"use strict";var e=r("getFalcoLogPolicy_DO_NOT_USE")("6203"),s=o("FalcoLoggerInternal").create("gaming_destination",e),u=s;l.default=u}),98); __d("GamingVideoDestinationLoggingContext",["react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u={external_entrypoint:"unknown",surface:"unknown"},c=s.createContext(u);l.default=c}),98); __d("LiveVideoCometLiveBadgeText_video.graphql",[],(function(t,n,r,o,a,i){"use strict";var e={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"LiveVideoCometLiveBadgeText_video",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],type:"Video",abstractKey:null};a.exports=e}),null); __d("LiveVideoCometLiveBadgeText.react",["fbt","CometRelay","FDSIcon.react","FDSLiveFilled20Icon","FDSText.react","LiveVideoCometLiveBadgeText_video.graphql","react","react-compiler-runtime","stylex"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u,c,d=c||(c=o("react")),m={badgeWithBorder:{alignItems:"x6s0dn4",borderTopColor:"x1aoij9j",borderInlineEndColor:"x5eh17s",borderBottomColor:"x2e7n7m",borderInlineStartColor:"xk1cdbz",borderStartStartRadius:"xjwep3j",borderStartEndRadius:"x1t39747",borderEndEndRadius:"x1wcsgtt",borderEndStartRadius:"x1pczhz8",borderTopStyle:"x13fuv20",borderInlineEndStyle:"x18b5jzi",borderBottomStyle:"x1q0q8m5",borderInlineStartStyle:"x1t7ytsu",borderTopWidth:"xmn4e3e",borderInlineEndWidth:"x1if355w",borderBottomWidth:"x2x41l1",borderInlineStartWidth:"xct1zlm",display:"x78zum5",$$css:!0},feed:{borderStartStartRadius:"xr9e8f9",borderStartEndRadius:"x1e4oeot",borderEndEndRadius:"x1ui04y5",borderEndStartRadius:"x6en5u8",borderTopWidth:"xamhcws",borderInlineEndWidth:"x1alpsbp",borderBottomWidth:"xlxy82",borderInlineStartWidth:"xyumdvf",height:"x1kpxq89",$$css:!0},largeLiveText:{borderStartStartRadius:"xjwep3j",borderStartEndRadius:"x1t39747",borderEndEndRadius:"x1wcsgtt",borderEndStartRadius:"x1pczhz8",paddingTop:"x1y1aw1k",paddingInlineEnd:"x1icxu4v",paddingBottom:"xwib8y2",paddingInlineStart:"x25sj25",$$css:!0},liveText:{alignItems:"x6s0dn4",backgroundColor:"x1ciooss",display:"x78zum5",justifyContent:"xl56j7k",textAlign:"x2b8uid",$$css:!0},mediumLiveText:{borderStartStartRadius:"xjwep3j",borderStartEndRadius:"x1t39747",borderEndEndRadius:"x1wcsgtt",borderEndStartRadius:"x1pczhz8",paddingTop:"x1yrsyyn",paddingInlineEnd:"x11lfxj5",paddingBottom:"x10b6aqq",paddingInlineStart:"x135b78x",width:"x1849jeq",$$css:!0},normalPosition:{bottom:"x1ey2m1c",insetInlineStart:"xbudbmw",position:"x10l6tqk",transform:"xuuh30",$$css:!0},smallLiveText:{borderStartStartRadius:"xjwep3j",borderStartEndRadius:"x1t39747",borderEndEndRadius:"x1wcsgtt",borderEndStartRadius:"x1pczhz8",paddingTop:"x123j3cw",paddingInlineEnd:"x1im30kd",paddingBottom:"xs9asl8",paddingInlineStart:"x1djpfga",width:"x23j0i4",$$css:!0},thumbnailPosition:{insetInlineEnd:"xtijo5x",insetInlineStart:null,marginTop:"x1xmf6yo",marginInlineEnd:"x1xegmmw",marginBottom:"x1e56ztr",marginInlineStart:"x13fj5qh",transform:"x1c071of",$$css:!0}};function p(t){var a=o("react-compiler-runtime").c(10),i=t.size,l=t.type,c=t.video,p=l===void 0?"normal":l,_=o("CometRelay").useFragment(e!==void 0?e:e=n("LiveVideoCometLiveBadgeText_video.graphql"),c);if(_==null||(_==null?void 0:_.id)==null)return null;var f;a[0]===Symbol.for("react.memo_cache_sentinel")?(f=s._(/*BTDS*/"EN DIRECT"),a[0]=f):f=a[0];var g=f,h;a[1]!==i||a[2]!==p?(h=(u||(u=r("stylex"))).props(p!=="feed"&&m.liveText,i==="large"&&m.largeLiveText,i==="medium"&&m.mediumLiveText,i==="small"&&m.smallLiveText,m.normalPosition,p!=="thumbnail"&&m.badgeWithBorder,p==="thumbnail"&&m.thumbnailPosition,p==="feed"&&m.feed),a[1]=i,a[2]=p,a[3]=h):h=a[3];var y;a[4]!==i||a[5]!==p?(y=p==="feed"?d.jsx("div",{className:"x6s0dn4 x14hiurz x78zum5 x170jfvy xw4jnvo",children:d.jsx(r("FDSIcon.react"),{color:"negative",icon:r("FDSLiveFilled20Icon"),size:20})}):i==="large"?d.jsx(r("FDSText.react"),{color:"primaryOnMedia",numberOfLines:1,type:"bodyLink4",children:g}):d.jsx(r("FDSText.react"),{color:"primaryOnMedia",numberOfLines:1,type:i==="medium"?"meta2":"meta4",children:g}),a[4]=i,a[5]=p,a[6]=y):y=a[6];var C;return a[7]!==h||a[8]!==y?(C=d.jsx("div",babelHelpers.extends({},h,{children:y})),a[7]=h,a[8]=y,a[9]=C):C=a[9],C}l.default=p}),226); __d("VideoPlayerPortalingPlaceholder.react",["CometObjectFitContainer.react","VideoPlayerHooks","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u=e||(e=o("react"));function c(e){var t=o("react-compiler-runtime").c(3),n=e.children,a=(s||(s=o("VideoPlayerHooks"))).useVideoPixelsAspectRatio();if(n==null)return null;var i;return t[0]!==n||t[1]!==a?(i=u.jsx(r("CometObjectFitContainer.react"),{contentAspectRatio:a,objectFitMode:"CONTAINER_WIDTH_BASED_ASPECT_RATIO",children:n}),t[0]=n,t[1]=a,t[2]=i):i=t[2],i}l.default=c}),98); __d("useGamingDestinationLoggedInCallback",["fbt","CAAWebClientLoggingEventSource","react-compiler-runtime","useCAALoggedOutDialogWrapper","useIsLoggedOut"],(function(t,n,r,o,a,i,l,s){"use strict";function e(e){var t=o("react-compiler-runtime").c(2),n=r("useIsLoggedOut")(),a;t[0]===Symbol.for("react.memo_cache_sentinel")?(a=s._(/*BTDS*/"Voir plus sur Facebook"),t[0]=a):a=t[0];var i=a,l;t[1]===Symbol.for("react.memo_cache_sentinel")?(l={dialogSource:o("CAAWebClientLoggingEventSource").CAAWebClientLoggingDialogSource.GAMING,title:i},t[1]=l):l=t[1];var u=r("useCAALoggedOutDialogWrapper")(l);return n?u:e}l.default=e}),226); __d("useGamingVideoDestinationEventLogger",["GamingDestinationFalcoEvent","GamingVideoDestinationLoggingContext","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=s.useCallback,c=s.useContext;function d(){var e=o("react-compiler-runtime").c(10),t=c(r("GamingVideoDestinationLoggingContext")),n;e[0]!==t?(n=function(n,o){r("GamingDestinationFalcoEvent").log(function(){return babelHelpers.extends({event:n},t,o)})},e[0]=t,e[1]=n):n=e[1];var a=n,i;e[2]!==a?(i=function(t){a("click",t)},e[2]=a,e[3]=i):i=e[3];var l=i,s;e[4]!==a?(s=function(t){a("impression",t)},e[4]=a,e[5]=s):s=e[5];var u=s,d;return e[6]!==l||e[7]!==a||e[8]!==u?(d={logClick:l,logEvent:a,logImpression:u},e[6]=l,e[7]=a,e[8]=u,e[9]=d):d=e[9],d}l.default=d}),98);