Files
HRM-System/node_modules/react-grab/dist/index.cjs

9 lines
1.1 KiB
JavaScript

/**
* @license MIT
*
* Copyright (c) 2025 Aiden Bai
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./core-ZoLZAlfk.cjs`),t=require(`./freeze-updates-XTAVYI_V.cjs`),n=require(`./open-file-CyQbbgyi.cjs`),r=()=>{if(typeof window>`u`||window.parent===window)return null;try{return window.parent.__REACT_GRAB__??null}catch{return null}};if(typeof window<`u`&&!window.__REACT_GRAB_DISABLED__){let t=window.__REACT_GRAB__??r();t?e.a(t):e.a(e.t()),window.dispatchEvent(new CustomEvent(`react-grab:init`,{detail:e.r()}))}exports.DEFAULT_THEME=e.l,exports.FreezeError=t.B,exports.OpenFileError=t.H,exports.PluginSetupError=t.G,exports.ReactGrabError=t.K,exports.commentPlugin=e.c,exports.formatElementInfo=n.r,exports.generateSnippet=e.n,exports.getGlobalApi=e.r,exports.getStack=n.s,exports.init=e.t,exports.isInstrumentationActive=t.it,exports.openPlugin=e.s,exports.registerPlugin=e.i,exports.setGlobalApi=e.a,exports.unregisterPlugin=e.o;