PageSourceSearch

https://bilalllahmeddd-movie-recommendation-engine.hf.space/static/js/index.COYdue8P.js

js bilalllahmeddd-movie-recommendation-engine.hf.space collected 2026-10-04 16:44:29 UTC 1,115 bytes, 1 lines download raw bytes

1import{R as f,a7 as h,B as i,r as d,u as S,j as e,a as p,b as F,c as R,D as C,d as I,a8 as M}from"./index.3bHSf9gi.js";import{a9 as A}from"./index.3bHSf9gi.js";import{F as U,u as E}from"./FormClearHelper.DyYuMYyM.js";function x(a){const{disabled:c,element:t,widgetMgr:o,fragmentId:u}=a,{formId:r}=t,l=t.shortcut?t.shortcut:void 0,{formsData:B}=f(h),b=B.formsWithUploads.has(r);let n=i.SECONDARY_FORM_SUBMIT;t.type==="primary"?n=i.PRIMARY_FORM_SUBMIT:t.type==="tertiary"&&(n=i.TERTIARY_FORM_SUBMIT);const s=c||b;d.useEffect(()=>(o.addSubmitButton(r,t),()=>o.removeSubmitButton(r,t)),[o,r,t]);const m=d.useCallback(()=>{s||o.submitForm(t.formId,u,t)},[s,o,t,u]);return S({shortcut:l,disabled:s,onActivate:m}),e(I,{className:"stFormSubmitButton","data-testid":"stFormSubmitButton",children:e(p,{help:t.help,containerWidth:!0,children:e(F,{kind:n,size:R.SMALL,containerWidth:!0,disabled:s,onClick:m,children:e(C,{icon:t.icon,label:t.label,shortcut:l})})})})}function T(a){return e(M,{children:e(x,{...a})})}export{U as FormClearHelper,x as FormSubmitButton,T as FormSubmitContent,A as default,E as useFormClearHelper};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.