if (self.CavalryLogger) { CavalryLogger.start_js(["YRKyrX3"]); } __d("CometInputWithCommands.react",["CometComponentWithKeyCommands.react","CometKeys","react"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i=d("react").useMemo;function a(a){var b=i(function(){var b=[];a.enter!=null&&b.push({command:{key:c("CometKeys").ENTER},description:a.enter.description,handler:a.enter.handler,triggerFromInputs:!0});a["delete"]!=null&&b.push({command:{key:c("CometKeys").DELETE},description:a["delete"].description,handler:a["delete"].handler,triggerFromInputs:!0});a.up!=null&&b.push({command:{key:c("CometKeys").UP},description:a.up.description,handler:a.up.handler,triggerFromInputs:!0});a.down!=null&&b.push({command:{key:c("CometKeys").DOWN},description:a.down.description,handler:a.down.handler,triggerFromInputs:!0});a.tab!=null&&b.push({command:{key:c("CometKeys").TAB},description:a.tab.description,handler:a.tab.handler,triggerFromInputs:!0});a.esc!=null&&b.push({command:{key:c("CometKeys").ESCAPE},description:a.esc.description,handler:a.esc.handler,triggerFromInputs:!0});return b},[a["delete"],a.down,a.enter,a.esc,a.tab,a.up]);return h.jsx(c("CometComponentWithKeyCommands.react"),{commandConfigs:b,debugName:"InputSubmit",elementType:a.isInline===!0?"span":"div",xstyle:a.xstyle,children:a.children})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometTextInputWithIcon.react",["BaseTextInput.react","CometIcon.react","CometScreenReaderText.react","react","stylex","useBaseInputValidators","useCometUniqueID"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react"),i={disabledInput:{cursor:"rj84mg9z"},iconEnd:{end:"dpjh1vo5",position:"pmk7jnqg",top:"plgsh5y4"},iconStart:{position:"pmk7jnqg",start:"dnzpfbms",top:"plgsh5y4"},root:{color:"oo9gr5id",fontSize:"jq4qci2q",position:"l9j0dhe7"},textInput:{backgroundColor:"cwj9ozl2",borderTop:"l6v480f0",borderEnd:"maa8sdkg",borderBottom:"s1tcr66n",borderStart:"aypy0576",borderTopStartRadius:"ue3kfks5",borderTopEndRadius:"pw54ja7n",borderBottomEndRadius:"uo3d90p7",borderBottomStartRadius:"l82x9zwi",boxSizing:"rq0escxv",color:"oo9gr5id",fontSize:"l94mrbxd",fontWeight:"ekzkrbhg",height:"tv7at329",width:"k4urcfbm"},textInputEndIcon:{paddingTop:"jb3vyjys",paddingEnd:"bowiujrr",paddingBottom:"qt6c0cv9",paddingStart:"h4z51re5"},textInputStartIcon:{paddingTop:"jb3vyjys",paddingEnd:"rv4hoivh",paddingBottom:"qt6c0cv9",paddingStart:"jg4yhqs5"}};function a(a,b){var d,e=a["aria-describedby"],f=a.disabled;f=f===void 0?!1:f;var g=a.icon,j=a.iconColor,k=a.iconPlacement;k=k===void 0?"start":k;var l=a.label,m=a.validator,n=a.value;a=babelHelpers.objectWithoutPropertiesLoose(a,["aria-describedby","disabled","icon","iconColor","iconPlacement","label","validator","value"]);var o=c("useCometUniqueID")();m=c("useBaseInputValidators")({validator:m,value:String(n)});var p=m.topResultReason;m=m.topResultType;e=p!=null?o+" "+((d=e)!=null?d:""):(d=e)!=null?d:void 0;return h.jsxs("div",{className:c("stylex")(i.root),children:[k==="start"?h.jsx("div",{className:c("stylex")(i.iconStart),children:h.jsx(c("CometIcon.react"),{color:j,icon:g,size:16})}):null,h.jsx(c("BaseTextInput.react"),babelHelpers["extends"]({"aria-describedby":e,"aria-invalid":m==="ERROR","aria-label":l,disabled:f,value:n,xstyle:[f&&i.disabledInput,i.textInput,k==="start"&&i.textInputStartIcon,k==="end"&&i.textInputEndIcon]},a,{ref:b})),k==="end"?h.jsx("div",{className:c("stylex")(i.iconEnd),children:h.jsx(c("CometIcon.react"),{color:j,icon:g,size:16})}):null,p!=null?h.jsx(c("CometScreenReaderText.react"),{id:o,text:p}):null]})}a.displayName=a.name+" [from "+f.id+"]";b=h.forwardRef(a);g["default"]=b}),98); __d("CometStickyView.react",["BaseViewportMarginsContext","CometContextualLayerAnchorRoot.react","CometRouteRenderType","HiddenSubtreePassiveContext","mergeRefs","react","stylex","useResizeObserver"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");b=d("react");var i=b.useCallback,j=b.useContext,k=b.useEffect,l=b.useMemo,m=b.useRef,n=b.useState,o={sticky:{position:"lpgh02oy"}},p=((e=window.CSS)==null?void 0:e.supports)&&(window.CSS.supports("position","sticky")||window.CSS.supports("position","-webkit-sticky"));function a(a){var b=a.bottom,e=a.children,f=a.tagName;f=f===void 0?"div":f;var g=a.top,q=a.topOffset;a=a.xstyle;var r=j(c("HiddenSubtreePassiveContext")),s=d("CometRouteRenderType").useIsPushView(),t=j(c("BaseViewportMarginsContext")),u=q!=null?q+t.top:(q=g)!=null?q:s?16:76;t=n(b==null?u:null);g=t[0];var v=t[1],w=i(function(a){return b!=null&&v(Math.floor(Math.min(u,window.innerHeight-b-a)))},[b,u]),x=c("useResizeObserver")(function(a){var c=r.getCurrentState();c=c.hiddenOrBackgrounded;if(c)return;b!=null&&w(a.height)}),y=m(null);q=l(function(){return c("mergeRefs")(x,y)},[x]);k(function(){if(b!=null){var a=function(){var a=r.getCurrentState();a=a.hidden;if(a)return;a=y.current;if(a==null)return;w(a.getBoundingClientRect().height)};window.addEventListener("resize",a,{passive:!0});return function(){window.removeEventListener("resize",a,{passive:!0})}}},[b,r,w]);s=g!=null&&p?{top:g}:{};return h.jsx(f,{className:c("stylex")(a,o.sticky),ref:b!=null?q:null,style:s,children:h.jsx(c("CometContextualLayerAnchorRoot.react"),{children:e})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("createPlainBlocksFromText",["CharacterMetadata","ContentBlock","generateRandomKey","immutable","sanitizeDraftText"],(function(a,b,c,d,e,f,g){"use strict";function a(a){return a.map(function(a){a=c("sanitizeDraftText")(a);var b=a.length;return new(c("ContentBlock"))({key:c("generateRandomKey")(),text:a,type:"unstyled",characterList:c("immutable").List(c("immutable").Repeat(c("CharacterMetadata").EMPTY,b))})})}g["default"]=a}),98); __d("createCometComposerEditorStateFromTextWithEntities",["ContentState","DraftModifier","EditorState","SelectionState","UnicodeUtils","createPlainBlocksFromText","recoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,e){e=e===void 0?{}:e;var f=e.allowUndo;f===void 0?!1:f;f=e.splitIntoBlocks;e=f===void 0?!1:f;if(a.ranges.length===0)return{__type:"plain-text",hasFocus:!1,isComposing:!1,isPendingSelection:!1,selectionOffsets:null,text:a.text};f=a.ranges;a=a.text;e=e?a.split(/(\r\n?|\n)/g):[a];var g=0,h=[],i=[];e.forEach(function(a,b){b%2===0&&(h.push(a),i.push(g)),g+=d("UnicodeUtils").strlen(a)});var j=c("createPlainBlocksFromText")(h);a=f.reduce(function(a,e,f){f=b(e,a);if(f==null)return a;var g=f.getLastCreatedEntityKey(),h=e.offset;e=h+e.length;var k,l,m,n;for(var o=0;o=p&&h=p&&ec?c-b:a}f["default"]=a}),66); __d("CometMediaRemoveTagFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1743382");c=b("FalcoLoggerInternal").create("comet_media_remove_tag",a);e.exports=c}),null); __d("CometMediaVpvdFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1743384");c=b("FalcoLoggerInternal").create("comet_media_vpvd",a);e.exports=c}),null); __d("CommerceViewProductTagPillFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1743424");c=b("FalcoLoggerInternal").create("commerce_view_product_tag_pill",a);e.exports=c}),null);