PageSourceSearch

http://node.cc/static/js/FormClearHelper.D0Yt6KG5.js

js node.cc collected 2026-10-06 13:17:04 UTC 771 bytes, 1 lines download raw bytes

1import{o as e}from"./rolldown-runtime.DAXXjFlN.js";import{r as t}from"./emotion-is-prop-valid.esm.CygBv61C.js";import{Jt as n}from"./utils.94RcZhG4.js";import{n as r}from"./types.cZoyy9Y-.js";var i=e(t(),1),a=class{manageFormClearListener(e,t,i){r(this.formClearListener)&&this.lastWidgetMgr===e&&this.lastFormId===t||(this.disconnect(),n(t)&&(this.formClearListener=e.addFormClearedListener(t,i),this.lastWidgetMgr=e,this.lastFormId=t))}disconnect(){this.formClearListener?.disconnect(),this.formClearListener=void 0,this.lastWidgetMgr=void 0,this.lastFormId=void 0}};function o({element:e,widgetMgr:t,onFormCleared:r}){(0,i.useEffect)(()=>{if(!t||!n(e.formId))return;let i=t.addFormClearedListener(e.formId,r);return()=>{i.disconnect()}},[e,t,r])}export{o as n,a as t};

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.