Files
vega-providers/dist/ringz/stream.js
Himanshu a179a130d6 build
2026-02-03 21:48:37 +05:30

1 line
1.1 KiB
JavaScript

"use strict";var __defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__hasOwnProp=Object.prototype.hasOwnProperty,__name=(e,r)=>__defProp(e,"name",{value:r,configurable:!0}),__export=(e,r)=>{for(var t in r)__defProp(e,t,{get:r[t],enumerable:!0})},__copyProps=(e,r,t,o)=>{if(r&&"object"==typeof r||"function"==typeof r)for(let _ of __getOwnPropNames(r))__hasOwnProp.call(e,_)||_===t||__defProp(e,_,{get:()=>r[_],enumerable:!(o=__getOwnPropDesc(r,_))||o.enumerable});return e},__toCommonJS=e=>__copyProps(__defProp({},"__esModule",{value:!0}),e),__async=(e,r,t)=>new Promise((o,_)=>{var n=e=>{try{p(t.next(e))}catch(e){_(e)}},a=e=>{try{p(t.throw(e))}catch(e){_(e)}},p=e=>e.done?o(e.value):Promise.resolve(e.value).then(n,a);p((t=t.apply(e,r)).next())}),stream_exports={};__export(stream_exports,{getStream:()=>getStream});var getStream=__name(function(e){return __async(this,arguments,function*({link:e}){const r=[],t=JSON.parse(e);return r.push({link:t.url,server:t.server,type:"mkv"}),r})},"getStream");exports.getStream=getStream;