mirror of
https://github.com/iptv-org/iptv-org.github.io.git
synced 2025-05-12 18:10:06 -04:00
4 lines
11 KiB
JavaScript
4 lines
11 KiB
JavaScript
function A(){}const ot=t=>t;function ct(t,e){for(const n in e)t[n]=e[n];return t}function J(t){return t()}function I(){return Object.create(null)}function $(t){t.forEach(J)}function K(t){return typeof t=="function"}function Tt(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let C;function Ot(t,e){return C||(C=document.createElement("a")),C.href=e,t===C.href}function ut(t){return Object.keys(t).length===0}function Q(t,...e){if(t==null)return A;const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function Lt(t){let e;return Q(t,n=>e=n)(),e}function zt(t,e,n){t.$$.on_destroy.push(Q(e,n))}function Bt(t,e,n,r){if(t){const s=U(t,e,n,r);return t[0](s)}}function U(t,e,n,r){return t[1]&&r?ct(n.ctx.slice(),t[1](r(e))):n.ctx}function Ft(t,e,n,r){if(t[2]&&r){const s=t[2](r(n));if(e.dirty===void 0)return s;if(typeof s=="object"){const c=[],i=Math.max(e.dirty.length,s.length);for(let o=0;o<i;o+=1)c[o]=e.dirty[o]|s[o];return c}return e.dirty|s}return e.dirty}function Ht(t,e,n,r,s,c){if(s){const i=U(e,n,r,c);t.p(i,s)}}function It(t){if(t.ctx.length>32){const e=[],n=t.ctx.length/32;for(let r=0;r<n;r++)e[r]=-1;return e}return-1}function Wt(t){return t==null?"":t}const V=typeof window!="undefined";let at=V?()=>window.performance.now():()=>Date.now(),F=V?t=>requestAnimationFrame(t):A;const b=new Set;function X(t){b.forEach(e=>{e.c(t)||(b.delete(e),e.f())}),b.size!==0&&F(X)}function ft(t){let e;return b.size===0&&F(X),{promise:new Promise(n=>{b.add(e={c:t,f:n})}),abort(){b.delete(e)}}}let R=!1;function _t(){R=!0}function dt(){R=!1}function ht(t,e,n,r){for(;t<e;){const s=t+(e-t>>1);n(s)<=r?t=s+1:e=s}return t}function mt(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const l=[];for(let u=0;u<e.length;u++){const _=e[u];_.claim_order!==void 0&&l.push(_)}e=l}const n=new Int32Array(e.length+1),r=new Int32Array(e.length);n[0]=-1;let s=0;for(let l=0;l<e.length;l++){const u=e[l].claim_order,_=(s>0&&e[n[s]].claim_order<=u?s+1:ht(1,s,a=>e[n[a]].claim_order,u))-1;r[l]=n[_]+1;const f=_+1;n[f]=l,s=Math.max(f,s)}const c=[],i=[];let o=e.length-1;for(let l=n[s]+1;l!=0;l=r[l-1]){for(c.push(e[l-1]);o>=l;o--)i.push(e[o]);o--}for(;o>=0;o--)i.push(e[o]);c.reverse(),i.sort((l,u)=>l.claim_order-u.claim_order);for(let l=0,u=0;l<i.length;l++){for(;u<c.length&&i[l].claim_order>=c[u].claim_order;)u++;const _=u<c.length?c[u]:null;t.insertBefore(i[l],_)}}function pt(t,e){t.appendChild(e)}function Y(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function yt(t){const e=Z("style");return gt(Y(t),e),e.sheet}function gt(t,e){pt(t.head||t,e)}function bt(t,e){if(R){for(mt(t),(t.actual_end_child===void 0||t.actual_end_child!==null&&t.actual_end_child.parentElement!==t)&&(t.actual_end_child=t.firstChild);t.actual_end_child!==null&&t.actual_end_child.claim_order===void 0;)t.actual_end_child=t.actual_end_child.nextSibling;e!==t.actual_end_child?(e.claim_order!==void 0||e.parentNode!==t)&&t.insertBefore(e,t.actual_end_child):t.actual_end_child=e.nextSibling}else(e.parentNode!==t||e.nextSibling!==null)&&t.appendChild(e)}function Gt(t,e,n){R&&!n?bt(t,e):(e.parentNode!==t||e.nextSibling!=n)&&t.insertBefore(e,n||null)}function $t(t){t.parentNode.removeChild(t)}function Jt(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}function Z(t){return document.createElement(t)}function xt(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function H(t){return document.createTextNode(t)}function Kt(){return H(" ")}function Qt(){return H("")}function Ut(t,e,n,r){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n,r)}function Vt(t){return function(e){return e.preventDefault(),t.call(this,e)}}function Xt(t){return function(e){e.target===this&&t.call(this,e)}}function Yt(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function wt(t){return Array.from(t.childNodes)}function vt(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function tt(t,e,n,r,s=!1){vt(t);const c=(()=>{for(let i=t.claim_info.last_index;i<t.length;i++){const o=t[i];if(e(o)){const l=n(o);return l===void 0?t.splice(i,1):t[i]=l,s||(t.claim_info.last_index=i),o}}for(let i=t.claim_info.last_index-1;i>=0;i--){const o=t[i];if(e(o)){const l=n(o);return l===void 0?t.splice(i,1):t[i]=l,s?l===void 0&&t.claim_info.last_index--:t.claim_info.last_index=i,o}}return r()})();return c.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,c}function et(t,e,n,r){return tt(t,s=>s.nodeName===e,s=>{const c=[];for(let i=0;i<s.attributes.length;i++){const o=s.attributes[i];n[o.name]||c.push(o.name)}c.forEach(i=>s.removeAttribute(i))},()=>r(e))}function Zt(t,e,n){return et(t,e,n,Z)}function te(t,e,n){return et(t,e,n,xt)}function Et(t,e){return tt(t,n=>n.nodeType===3,n=>{const r=""+e;if(n.data.startsWith(r)){if(n.data.length!==r.length)return n.splitText(r.length)}else n.data=r},()=>H(e),!0)}function ee(t){return Et(t," ")}function ne(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function ie(t,e){t.value=e==null?"":e}function re(t,e,n,r){n===null?t.style.removeProperty(e):t.style.setProperty(e,n,r?"important":"")}function se(t,e,n){t.classList[n?"add":"remove"](e)}function nt(t,e,{bubbles:n=!1,cancelable:r=!1}={}){const s=document.createEvent("CustomEvent");return s.initCustomEvent(t,n,r,e),s}function le(t,e=document.body){return Array.from(e.querySelectorAll(t))}const M=new Map;let q=0;function kt(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}function At(t,e){const n={stylesheet:yt(e),rules:{}};return M.set(t,n),n}function W(t,e,n,r,s,c,i,o=0){const l=16.666/r;let u=`{
|
|
`;for(let p=0;p<=1;p+=l){const g=e+(n-e)*c(p);u+=p*100+`%{${i(g,1-g)}}
|
|
`}const _=u+`100% {${i(n,1-n)}}
|
|
}`,f=`__svelte_${kt(_)}_${o}`,a=Y(t),{stylesheet:d,rules:h}=M.get(a)||At(a,t);h[f]||(h[f]=!0,d.insertRule(`@keyframes ${f} ${_}`,d.cssRules.length));const y=t.style.animation||"";return t.style.animation=`${y?`${y}, `:""}${f} ${r}ms linear ${s}ms 1 both`,q+=1,f}function Nt(t,e){const n=(t.style.animation||"").split(", "),r=n.filter(e?c=>c.indexOf(e)<0:c=>c.indexOf("__svelte")===-1),s=n.length-r.length;s&&(t.style.animation=r.join(", "),q-=s,q||Ct())}function Ct(){F(()=>{q||(M.forEach(t=>{const{stylesheet:e}=t;let n=e.cssRules.length;for(;n--;)e.deleteRule(n);t.rules={}}),M.clear())})}let k;function E(t){k=t}function x(){if(!k)throw new Error("Function called outside component initialization");return k}function oe(t){x().$$.on_mount.push(t)}function ce(t){x().$$.after_update.push(t)}function ue(t){x().$$.on_destroy.push(t)}function ae(){const t=x();return(e,n,{cancelable:r=!1}={})=>{const s=t.$$.callbacks[e];if(s){const c=nt(e,n,{cancelable:r});return s.slice().forEach(i=>{i.call(t,c)}),!c.defaultPrevented}return!0}}function fe(t,e){return x().$$.context.set(t,e),e}function _e(t){return x().$$.context.get(t)}const v=[],G=[],j=[],z=[],it=Promise.resolve();let B=!1;function rt(){B||(B=!0,it.then(st))}function de(){return rt(),it}function P(t){j.push(t)}function he(t){z.push(t)}const O=new Set;let S=0;function st(){const t=k;do{for(;S<v.length;){const e=v[S];S++,E(e),St(e.$$)}for(E(null),v.length=0,S=0;G.length;)G.pop()();for(let e=0;e<j.length;e+=1){const n=j[e];O.has(n)||(O.add(n),n())}j.length=0}while(v.length);for(;z.length;)z.pop()();B=!1,O.clear(),E(t)}function St(t){if(t.fragment!==null){t.update(),$(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(P)}}let w;function jt(){return w||(w=Promise.resolve(),w.then(()=>{w=null})),w}function L(t,e,n){t.dispatchEvent(nt(`${e?"intro":"outro"}${n}`))}const D=new Set;let m;function me(){m={r:0,c:[],p:m}}function pe(){m.r||$(m.c),m=m.p}function Dt(t,e){t&&t.i&&(D.delete(t),t.i(e))}function ye(t,e,n,r){if(t&&t.o){if(D.has(t))return;D.add(t),m.c.push(()=>{D.delete(t),r&&(n&&t.d(1),r())}),t.o(e)}}const Mt={duration:0};function ge(t,e,n,r){let s=e(t,n),c=r?0:1,i=null,o=null,l=null;function u(){l&&Nt(t,l)}function _(a,d){const h=a.b-c;return d*=Math.abs(h),{a:c,b:a.b,d:h,duration:d,start:a.start,end:a.start+d,group:a.group}}function f(a){const{delay:d=0,duration:h=300,easing:y=ot,tick:p=A,css:g}=s||Mt,T={start:at()+d,b:a};a||(T.group=m,m.r+=1),i||o?o=T:(g&&(u(),l=W(t,c,a,h,d,y,g)),a&&p(0,1),i=_(T,h),P(()=>L(t,a,"start")),ft(N=>{if(o&&N>o.start&&(i=_(o,h),o=null,L(t,i.b,"start"),g&&(u(),l=W(t,c,i.b,i.duration,0,y,s.css))),i){if(N>=i.end)p(c=i.b,1-c),L(t,i.b,"end"),o||(i.b?u():--i.group.r||$(i.group.c)),i=null;else if(N>=i.start){const lt=N-i.start;c=i.a+i.d*y(lt/i.duration),p(c,1-c)}}return!!(i||o)}))}return{run(a){K(s)?jt().then(()=>{s=s(),f(a)}):f(a)},end(){u(),i=o=null}}}const be=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function $e(t,e){const n={},r={},s={$$scope:1};let c=t.length;for(;c--;){const i=t[c],o=e[c];if(o){for(const l in i)l in o||(r[l]=1);for(const l in o)s[l]||(n[l]=o[l],s[l]=1);t[c]=o}else for(const l in i)s[l]=1}for(const i in r)i in n||(n[i]=void 0);return n}function xe(t){return typeof t=="object"&&t!==null?t:{}}function we(t,e,n){const r=t.$$.props[e];r!==void 0&&(t.$$.bound[r]=n,n(t.$$.ctx[r]))}function ve(t){t&&t.c()}function Ee(t,e){t&&t.l(e)}function qt(t,e,n,r){const{fragment:s,on_mount:c,on_destroy:i,after_update:o}=t.$$;s&&s.m(e,n),r||P(()=>{const l=c.map(J).filter(K);i?i.push(...l):$(l),t.$$.on_mount=[]}),o.forEach(P)}function Pt(t,e){const n=t.$$;n.fragment!==null&&($(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function Rt(t,e){t.$$.dirty[0]===-1&&(v.push(t),rt(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function ke(t,e,n,r,s,c,i,o=[-1]){const l=k;E(t);const u=t.$$={fragment:null,ctx:null,props:c,update:A,not_equal:s,bound:I(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:I(),dirty:o,skip_bound:!1,root:e.target||l.$$.root};i&&i(u.root);let _=!1;if(u.ctx=n?n(t,e.props||{},(f,a,...d)=>{const h=d.length?d[0]:a;return u.ctx&&s(u.ctx[f],u.ctx[f]=h)&&(!u.skip_bound&&u.bound[f]&&u.bound[f](h),_&&Rt(t,f)),a}):[],u.update(),_=!0,$(u.before_update),u.fragment=r?r(u.ctx):!1,e.target){if(e.hydrate){_t();const f=wt(e.target);u.fragment&&u.fragment.l(f),f.forEach($t)}else u.fragment&&u.fragment.c();e.intro&&Dt(t.$$.fragment),qt(t,e.target,e.anchor,e.customElement),dt(),st()}E(l)}class Ae{$destroy(){Pt(this,1),this.$destroy=A}$on(e,n){const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(n),()=>{const s=r.indexOf(n);s!==-1&&r.splice(s,1)}}$set(e){this.$$set&&!ut(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}export{G as $,xe as A,Pt as B,ct as C,de as D,A as E,xt as F,te as G,bt as H,ie as I,Ut as J,Vt as K,$ as L,zt as M,se as N,ot as O,Wt as P,K as Q,P as R,Ae as S,ge as T,Bt as U,Ht as V,It as W,Ft as X,ae as Y,ue as Z,be as _,wt as a,le as a0,Lt as a1,Jt as a2,Xt as a3,_e as a4,Ot as a5,he as a6,we as a7,Yt as b,Zt as c,$t as d,Z as e,re as f,Gt as g,Et as h,ke as i,ne as j,Kt as k,Qt as l,ee as m,me as n,ye as o,pe as p,Dt as q,fe as r,Tt as s,H as t,ce as u,oe as v,ve as w,Ee as x,qt as y,$e as z};
|