{
  "version": 3,
  "sources": ["../../src/tools-panel/context.ts"],
  "sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { createContext, useContext } from '@wordpress/element';\n\n/**\n * Internal dependencies\n */\n\nconst noop = () => undefined;\nexport const ToolsPanelContext = createContext({\n  menuItems: {\n    default: {},\n    optional: {}\n  },\n  hasMenuItems: false,\n  isResetting: false,\n  shouldRenderPlaceholderItems: false,\n  registerPanelItem: noop,\n  deregisterPanelItem: noop,\n  flagItemCustomization: noop,\n  registerResetAllFilter: noop,\n  deregisterResetAllFilter: noop,\n  areAllOptionalControlsHidden: true\n});\nToolsPanelContext.displayName = 'ToolsPanelContext';\nexport const useToolsPanelContext = () => useContext(ToolsPanelContext);"],
  "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,qBAA0C;AAM1C,IAAM,OAAO,MAAM;AACZ,IAAM,wBAAoB,8BAAc;AAAA,EAC7C,WAAW;AAAA,IACT,SAAS,CAAC;AAAA,IACV,UAAU,CAAC;AAAA,EACb;AAAA,EACA,cAAc;AAAA,EACd,aAAa;AAAA,EACb,8BAA8B;AAAA,EAC9B,mBAAmB;AAAA,EACnB,qBAAqB;AAAA,EACrB,uBAAuB;AAAA,EACvB,wBAAwB;AAAA,EACxB,0BAA0B;AAAA,EAC1B,8BAA8B;AAChC,CAAC;AACD,kBAAkB,cAAc;AACzB,IAAM,uBAAuB,UAAM,2BAAW,iBAAiB;",
  "names": []
}
