"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",o="NiceOfflineMedia",i="Offline media player with caching and download management.",a="offline",t="1.0.0",n="stable",d=[{name:"media",type:"MediaItem[]",required:!0,description:"Media items"},{name:"downloaded",type:"string[]",description:"Downloaded item IDs"},{name:"onDownload",type:"(item: MediaItem) => Promise<void>",description:"Download callback"},{name:"onDelete",type:"(item: MediaItem) => Promise<void>",description:"Delete callback"},{name:"onPlay",type:"(item: MediaItem) => void",description:"Play callback"},{name:"storageLimit",type:"number",description:"Storage limit in bytes"},{name:"showStorage",type:"boolean",default:"true",description:"Show storage info"}],s=[{title:"Offline Media",description:"Download and play offline",code:`<NiceOfflineMedia
  media={mediaLibrary}
  downloaded={downloadedIds}
  onDownload={downloadMedia}
  onDelete={deleteMedia}
  onPlay={playMedia}
  showStorage
/>`}],c={keyboard:["Tab through items"],aria:["Download status","Playback controls"]},l=["NiceServiceWorker","NiceVideoPlayer"],r={$schema:e,name:o,description:i,category:a,since:t,status:n,props:d,examples:s,accessibility:c,seeAlso:l};exports.$schema=e;exports.accessibility=c;exports.category=a;exports.default=r;exports.description=i;exports.examples=s;exports.name=o;exports.props=d;exports.seeAlso=l;exports.since=t;exports.status=n;
