@htmlbricks/hb-matrix-video 0.50.0-alpha.11 → 0.50.0-alpha.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/main.iife.js +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Di=Object.defineProperty;var Xr=k=>{throw TypeError(k)};var Mi=(k,P,L)=>P in k?Di(k,P,{enumerable:!0,configurable:!0,writable:!0,value:L}):k[P]=L;var Q=(k,P,L)=>Mi(k,typeof P!="symbol"?P+"":P,L),Kr=(k,P,L)=>P.has(k)||Xr("Cannot "+L);var U=(k,P,L)=>(Kr(k,P,"read from private field"),L?L.call(k):P.get(k)),Xt=(k,P,L)=>P.has(k)?Xr("Cannot add the same private member more than once"):P instanceof WeakSet?P.add(k):P.set(k,L),Kt=(k,P,L,$e)=>(Kr(k,P,"write to private field"),$e?$e.call(k,L):P.set(k,L),L);(function(k){"use strict";var fe,K;const P="5";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(P);const L=1,$e=2,Jt=4,Jr=8,Zr=16,Qr=1,en=2,Zt="[",bt="[!",yt="]",je={},Y=Symbol(),$t=!1,J=2,Qt=4,Ge=8,Et=16,se=32,Ee=64,ze=128,G=256,Xe=512,F=1024,le=2048,xe=4096,ae=8192,Ke=16384,tn=32768,xt=65536,rn=1<<19,er=1<<20,Tt=Symbol("$state"),nn=Symbol("legacy props"),sn=Symbol("");var Nt=Array.isArray,ln=Array.prototype.indexOf,At=Array.from,Je=Object.keys,Ze=Object.defineProperty,Te=Object.getOwnPropertyDescriptor,an=Object.getOwnPropertyDescriptors,on=Object.prototype,un=Array.prototype,tr=Object.getPrototypeOf;function fn(e){for(var t=0;t<e.length;t++)e[t]()}let Qe=!1,Ct=[];function rr(){Qe=!1;const e=Ct.slice();Ct=[],fn(e)}function Rt(e){Qe||(Qe=!0,queueMicrotask(rr)),Ct.push(e)}function cn(){Qe&&rr()}function nr(e){return e===this.v}function vn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function ir(e){return!vn(e,this.v)}function dn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function hn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function _n(e){throw new Error("https://svelte.dev/e/effect_orphan")}function gn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function mn(){throw new Error("https://svelte.dev/e/hydration_failed")}function pn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function wn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function bn(){throw new Error("https://svelte.dev/e/state_unsafe_local_read")}function yn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}let $n=!1;function z(e,t){var r={f:0,v:e,reactions:null,equals:nr,rv:0,wv:0};return r}function me(e){return En(z(e))}function Ot(e,t=!1){const r=z(e);return t||(r.equals=ir),r}function En(e){return N!==null&&!ee&&N.f&J&&(ne===null?Rn([e]):ne.push(e)),e}function q(e,t){return N!==null&&!ee&&Ir()&&N.f&(J|Et)&&(ne===null||!ne.includes(e))&&yn(),St(e,t)}function St(e,t){return e.equals(t)||(e.v,e.v=t,e.wv=mr(),sr(e,le),$!==null&&$.f&F&&!($.f&(se|Ee))&&(oe===null?On([e]):oe.push(e))),t}function sr(e,t){var r=e.reactions;if(r!==null)for(var i=r.length,n=0;n<i;n++){var s=r[n],l=s.f;l&le||(ie(s,t),l&(F|G)&&(l&J?sr(s,xe):ft(s)))}}function et(e){var t=J|le,r=N!==null&&N.f&J?N:null;return $===null||r!==null&&r.f&G?t|=G:$.f|=er,{ctx:B,deps:null,effects:null,equals:nr,f:t,fn:e,reactions:null,rv:0,v:null,wv:0,parent:r??$}}function xn(e){const t=et(e);return t.equals=ir,t}function lr(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)ue(t[r])}}function Tn(e){for(var t=e.parent;t!==null;){if(!(t.f&J))return t;t=t.parent}return null}function Nn(e){var t,r=$;re(Tn(e));try{lr(e),t=wr(e)}finally{re(r)}return t}function ar(e){var t=Nn(e),r=(de||e.f&G)&&e.deps!==null?xe:F;ie(e,r),e.equals(t)||(e.v=t,e.wv=mr())}function kt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let S=!1;function Z(e){S=e}let O;function ce(e){if(e===null)throw kt(),je;return O=e}function tt(){return ce(ve(O))}function rt(e){if(S){if(ve(O)!==null)throw kt(),je;O=e}}function An(e=1){if(S){for(var t=e,r=O;t--;)r=ve(r);O=r}}function It(){for(var e=0,t=O;;){if(t.nodeType===8){var r=t.data;if(r===yt){if(e===0)return t;e-=1}else(r===Zt||r===bt)&&(e+=1)}var i=ve(t);t.remove(),t=i}}function V(e,t=null,r){if(typeof e!="object"||e===null||Tt in e)return e;const i=tr(e);if(i!==on&&i!==un)return e;var n=new Map,s=Nt(e),l=z(0);s&&n.set("length",z(e.length));var u;return new Proxy(e,{defineProperty(f,o,c){(!("value"in c)||c.configurable===!1||c.enumerable===!1||c.writable===!1)&&pn();var v=n.get(o);return v===void 0?(v=z(c.value),n.set(o,v)):q(v,V(c.value,u)),!0},deleteProperty(f,o){var c=n.get(o);if(c===void 0)o in f&&n.set(o,z(Y));else{if(s&&typeof o=="string"){var v=n.get("length"),a=Number(o);Number.isInteger(a)&&a<v.v&&q(v,a)}q(c,Y),or(l)}return!0},get(f,o,c){var h;if(o===Tt)return e;var v=n.get(o),a=o in f;if(v===void 0&&(!a||(h=Te(f,o))!=null&&h.writable)&&(v=z(V(a?f[o]:Y,u)),n.set(o,v)),v!==void 0){var d=g(v);return d===Y?void 0:d}return Reflect.get(f,o,c)},getOwnPropertyDescriptor(f,o){var c=Reflect.getOwnPropertyDescriptor(f,o);if(c&&"value"in c){var v=n.get(o);v&&(c.value=g(v))}else if(c===void 0){var a=n.get(o),d=a==null?void 0:a.v;if(a!==void 0&&d!==Y)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return c},has(f,o){var d;if(o===Tt)return!0;var c=n.get(o),v=c!==void 0&&c.v!==Y||Reflect.has(f,o);if(c!==void 0||$!==null&&(!v||(d=Te(f,o))!=null&&d.writable)){c===void 0&&(c=z(v?V(f[o],u):Y),n.set(o,c));var a=g(c);if(a===Y)return!1}return v},set(f,o,c,v){var C;var a=n.get(o),d=o in f;if(s&&o==="length")for(var h=c;h<a.v;h+=1){var m=n.get(h+"");m!==void 0?q(m,Y):h in f&&(m=z(Y),n.set(h+"",m))}a===void 0?(!d||(C=Te(f,o))!=null&&C.writable)&&(a=z(void 0),q(a,V(c,u)),n.set(o,a)):(d=a.v!==Y,q(a,V(c,u)));var E=Reflect.getOwnPropertyDescriptor(f,o);if(E!=null&&E.set&&E.set.call(v,c),!d){if(s&&typeof o=="string"){var I=n.get("length"),A=Number(o);Number.isInteger(A)&&A>=I.v&&q(I,A+1)}or(l)}return!0},ownKeys(f){g(l);var o=Reflect.ownKeys(f).filter(a=>{var d=n.get(a);return d===void 0||d.v!==Y});for(var[c,v]of n)v.v!==Y&&!(c in f)&&o.push(c);return o},setPrototypeOf(){wn()}})}function or(e,t=1){q(e,e.v+t)}var Pt,ur,fr,cr;function Dt(){if(Pt===void 0){Pt=window,ur=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype;fr=Te(t,"firstChild").get,cr=Te(t,"nextSibling").get,e.__click=void 0,e.__className="",e.__attributes=null,e.__styles=null,e.__e=void 0,Text.prototype.__t=void 0}}function nt(e=""){return document.createTextNode(e)}function pe(e){return fr.call(e)}function ve(e){return cr.call(e)}function Mt(e,t){if(!S)return pe(e);var r=pe(O);return r===null&&(r=O.appendChild(nt())),ce(r),r}function it(e,t){if(!S){var r=pe(e);return r instanceof Comment&&r.data===""?ve(r):r}return O}function vr(e){e.textContent=""}const dr=0,Cn=1;let st=!1,lt=dr,qe=!1,Fe=null,Ne=!1,Lt=!1;function hr(e){Ne=e}function _r(e){Lt=e}let we=[],Ae=0,Li=[],N=null,ee=!1;function te(e){N=e}let $=null;function re(e){$=e}let ne=null;function Rn(e){ne=e}let H=null,W=0,oe=null;function On(e){oe=e}let gr=1,at=0,de=!1;function mr(){return++gr}function He(e){var v;var t=e.f;if(t&le)return!0;if(t&xe){var r=e.deps,i=(t&G)!==0;if(r!==null){var n,s,l=(t&Xe)!==0,u=i&&$!==null&&!de,f=r.length;if(l||u){var o=e,c=o.parent;for(n=0;n<f;n++)s=r[n],(l||!((v=s==null?void 0:s.reactions)!=null&&v.includes(o)))&&(s.reactions??(s.reactions=[])).push(o);l&&(o.f^=Xe),u&&c!==null&&!(c.f&G)&&(o.f^=G)}for(n=0;n<f;n++)if(s=r[n],He(s)&&ar(s),s.wv>e.wv)return!0}(!i||$!==null&&!de)&&ie(e,F)}return!1}function Sn(e,t){for(var r=t;r!==null;){if(r.f&ze)try{r.fn(e);return}catch{r.f^=ze}r=r.parent}throw st=!1,e}function kn(e){return(e.f&Ke)===0&&(e.parent===null||(e.parent.f&ze)===0)}function ot(e,t,r,i){if(st){if(r===null&&(st=!1),kn(t))throw e;return}r!==null&&(st=!0);{Sn(e,t);return}}function pr(e,t,r=!0){var i=e.reactions;if(i!==null)for(var n=0;n<i.length;n++){var s=i[n];s.f&J?pr(s,t,!1):t===s&&(r?ie(s,le):s.f&F&&ie(s,xe),ft(s))}}function wr(e){var d;var t=H,r=W,i=oe,n=N,s=de,l=ne,u=B,f=ee,o=e.f;H=null,W=0,oe=null,N=o&(se|Ee)?null:e,de=(o&G)!==0&&(!Ne||n===null||f),ne=null,Or(e.ctx),ee=!1,at++;try{var c=(0,e.fn)(),v=e.deps;if(H!==null){var a;if(ut(e,W),v!==null&&W>0)for(v.length=W+H.length,a=0;a<H.length;a++)v[W+a]=H[a];else e.deps=v=H;if(!de)for(a=W;a<v.length;a++)((d=v[a]).reactions??(d.reactions=[])).push(e)}else v!==null&&W<v.length&&(ut(e,W),v.length=W);if(Ir()&&oe!==null&&!ee&&v!==null&&!(e.f&(J|xe|le)))for(a=0;a<oe.length;a++)pr(oe[a],e);return n!==null&&at++,c}finally{H=t,W=r,oe=i,N=n,de=s,ne=l,Or(u),ee=f}}function In(e,t){let r=t.reactions;if(r!==null){var i=ln.call(r,e);if(i!==-1){var n=r.length-1;n===0?r=t.reactions=null:(r[i]=r[n],r.pop())}}r===null&&t.f&J&&(H===null||!H.includes(t))&&(ie(t,xe),t.f&(G|Xe)||(t.f^=Xe),lr(t),ut(t,0))}function ut(e,t){var r=e.deps;if(r!==null)for(var i=t;i<r.length;i++)In(e,r[i])}function jt(e){var t=e.f;if(!(t&Ke)){ie(e,F);var r=$,i=B;$=e;try{t&Et?Un(e):Nr(e),Tr(e);var n=wr(e);e.teardown=typeof n=="function"?n:null,e.wv=gr;var s=e.deps,l;$t&&$n&&e.f&le}catch(u){ot(u,e,r,i||e.ctx)}finally{$=r}}}function br(){if(Ae>1e3){Ae=0;try{gn()}catch(e){if(Fe!==null)ot(e,Fe,null);else throw e}}Ae++}function yr(e){var t=e.length;if(t!==0){br();var r=Ne;Ne=!0;try{for(var i=0;i<t;i++){var n=e[i];n.f&F||(n.f^=F);var s=Mn(n);Pn(s)}}finally{Ne=r}}}function Pn(e){var t=e.length;if(t!==0)for(var r=0;r<t;r++){var i=e[r];if(!(i.f&(Ke|ae)))try{He(i)&&(jt(i),i.deps===null&&i.first===null&&i.nodes_start===null&&(i.teardown===null?Ar(i):i.fn=null))}catch(n){ot(n,i,null,i.ctx)}}}function Dn(){if(qe=!1,Ae>1001)return;const e=we;we=[],yr(e),qe||(Ae=0,Fe=null)}function ft(e){lt===dr&&(qe||(qe=!0,queueMicrotask(Dn))),Fe=e;for(var t=e;t.parent!==null;){t=t.parent;var r=t.f;if(r&(Ee|se)){if(!(r&F))return;t.f^=F}}we.push(t)}function Mn(e){var t=[],r=e.first;e:for(;r!==null;){var i=r.f,n=(i&se)!==0,s=n&&(i&F)!==0,l=r.next;if(!s&&!(i&ae)){if(i&Qt)t.push(r);else if(n)r.f^=F;else{var u=N;try{N=r,He(r)&&jt(r)}catch(c){ot(c,r,null,r.ctx)}finally{N=u}}var f=r.first;if(f!==null){r=f;continue}}if(l===null){let c=r.parent;for(;c!==null;){if(e===c)break e;var o=c.next;if(o!==null){r=o;continue e}c=c.parent}}r=l}return t}function Ye(e){var t=lt,r=we;try{br();const n=[];lt=Cn,we=n,qe=!1,yr(r);var i=e==null?void 0:e();return cn(),(we.length>0||n.length>0)&&Ye(),Ae=0,Fe=null,i}finally{lt=t,we=r}}function g(e){var t=e.f,r=(t&J)!==0;if(N!==null&&!ee){ne!==null&&ne.includes(e)&&bn();var i=N.deps;e.rv<at&&(e.rv=at,H===null&&i!==null&&i[W]===e?W++:H===null?H=[e]:(!de||!H.includes(e))&&H.push(e))}else if(r&&e.deps===null&&e.effects===null){var n=e,s=n.parent;s!==null&&!(s.f&G)&&(n.f^=G)}return r&&(n=e,He(n)&&ar(n)),e.v}function $r(e){var t=ee;try{return ee=!0,e()}finally{ee=t}}const Ln=-7169;function ie(e,t){e.f=e.f&Ln|t}function jn(e){$===null&&N===null&&_n(),N!==null&&N.f&G&&$===null&&hn(),Lt&&dn()}function qn(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function be(e,t,r,i=!0){var n=(e&Ee)!==0,s=$,l={ctx:B,deps:null,nodes_start:null,nodes_end:null,f:e|le,first:null,fn:t,last:null,next:null,parent:n?null:s,prev:null,teardown:null,transitions:null,wv:0};if(r){var u=Ne;try{hr(!0),jt(l),l.f|=tn}catch(c){throw ue(l),c}finally{hr(u)}}else t!==null&&ft(l);var f=r&&l.deps===null&&l.first===null&&l.nodes_start===null&&l.teardown===null&&(l.f&(er|ze))===0;if(!f&&!n&&i&&(s!==null&&qn(l,s),N!==null&&N.f&J)){var o=N;(o.effects??(o.effects=[])).push(l)}return l}function Fn(e){const t=be(Ge,null,!1);return ie(t,F),t.teardown=e,t}function Er(e){jn();var t=$!==null&&($.f&se)!==0&&B!==null&&!B.m;if(t){var r=B;(r.e??(r.e=[])).push({fn:e,effect:$,reaction:N})}else{var i=xr(e);return i}}function Hn(e){const t=be(Ee,e,!0);return()=>{ue(t)}}function Yn(e){const t=be(Ee,e,!0);return(r={})=>new Promise(i=>{r.outro?ct(t,()=>{ue(t),i(void 0)}):(ue(t),i(void 0))})}function xr(e){return be(Qt,e,!1)}function Bn(e){return be(Ge,e,!0)}function Be(e,t=[],r=et){const i=t.map(r);return qt(()=>e(...i.map(g)))}function qt(e,t=0){return be(Ge|Et|t,e,!0)}function Ue(e,t=!0){return be(Ge|se,e,!0,t)}function Tr(e){var t=e.teardown;if(t!==null){const r=Lt,i=N;_r(!0),te(null);try{t.call(null)}finally{_r(r),te(i)}}}function Nr(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){var i=r.next;ue(r,t),r=i}}function Un(e){for(var t=e.first;t!==null;){var r=t.next;t.f&se||ue(t),t=r}}function ue(e,t=!0){var r=!1;if((t||e.f&rn)&&e.nodes_start!==null){for(var i=e.nodes_start,n=e.nodes_end;i!==null;){var s=i===n?null:ve(i);i.remove(),i=s}r=!0}Nr(e,t&&!r),ut(e,0),ie(e,Ke);var l=e.transitions;if(l!==null)for(const f of l)f.stop();Tr(e);var u=e.parent;u!==null&&u.first!==null&&Ar(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=null}function Ar(e){var t=e.parent,r=e.prev,i=e.next;r!==null&&(r.next=i),i!==null&&(i.prev=r),t!==null&&(t.first===e&&(t.first=i),t.last===e&&(t.last=r))}function ct(e,t){var r=[];Ft(e,r,!0),Cr(r,()=>{ue(e),t&&t()})}function Cr(e,t){var r=e.length;if(r>0){var i=()=>--r||t();for(var n of e)n.out(i)}else t()}function Ft(e,t,r){if(!(e.f&ae)){if(e.f^=ae,e.transitions!==null)for(const l of e.transitions)(l.is_global||r)&&t.push(l);for(var i=e.first;i!==null;){var n=i.next,s=(i.f&xt)!==0||(i.f&se)!==0;Ft(i,t,s?r:!1),i=n}}}function vt(e){Rr(e,!0)}function Rr(e,t){if(e.f&ae){e.f^=ae,e.f&F||(e.f^=F),He(e)&&(ie(e,le),ft(e));for(var r=e.first;r!==null;){var i=r.next,n=(r.f&xt)!==0||(r.f&se)!==0;Rr(r,n?t:!1),r=i}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function Vn(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}let B=null;function Or(e){B=e}function Sr(e,t=!1,r){B={p:B,c:null,e:null,m:!1,s:e,x:null,l:null}}function kr(e){const t=B;if(t!==null){e!==void 0&&(t.x=e);const l=t.e;if(l!==null){var r=$,i=N;t.e=null;try{for(var n=0;n<l.length;n++){var s=l[n];re(s.effect),te(s.reaction),xr(s.fn)}}finally{re(r),te(i)}}B=t.p,t.m=!0}return e||{}}function Ir(){return!0}const Wn=["touchstart","touchmove"];function Gn(e){return Wn.includes(e)}function zn(e){var t=N,r=$;te(null),re(null);try{return e()}finally{te(t),re(r)}}const Xn=new Set,Pr=new Set;function Kn(e){if(!S)return;e.onload&&e.removeAttribute("onload"),e.onerror&&e.removeAttribute("onerror");const t=e.__e;t!==void 0&&(e.__e=void 0,queueMicrotask(()=>{e.isConnected&&e.dispatchEvent(t)}))}function Jn(e,t,r,i={}){function n(s){if(i.capture||Ve.call(t,s),!s.cancelBubble)return zn(()=>r==null?void 0:r.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Rt(()=>{t.addEventListener(e,n,i)}):t.addEventListener(e,n,i),n}function dt(e,t,r,i,n){var s={capture:i,passive:n},l=Jn(e,t,r,s);(t===document.body||t===window||t===document)&&Fn(()=>{t.removeEventListener(e,l,s)})}function Ve(e){var A;var t=this,r=t.ownerDocument,i=e.type,n=((A=e.composedPath)==null?void 0:A.call(e))||[],s=n[0]||e.target,l=0,u=e.__root;if(u){var f=n.indexOf(u);if(f!==-1&&(t===document||t===window)){e.__root=t;return}var o=n.indexOf(t);if(o===-1)return;f<=o&&(l=f)}if(s=n[l]||e.target,s!==t){Ze(e,"currentTarget",{configurable:!0,get(){return s||r}});var c=N,v=$;te(null),re(null);try{for(var a,d=[];s!==null;){var h=s.assignedSlot||s.parentNode||s.host||null;try{var m=s["__"+i];if(m!==void 0&&!s.disabled)if(Nt(m)){var[E,...I]=m;E.apply(s,[e,...I])}else m.call(s,e)}catch(C){a?d.push(C):a=C}if(e.cancelBubble||h===t||h===null)break;s=h}if(a){for(let C of d)queueMicrotask(()=>{throw C});throw a}}finally{e.__root=t,delete e.currentTarget,te(c),re(v)}}}function Zn(e){var t=document.createElement("template");return t.innerHTML=e,t.content}function Ce(e,t){var r=$;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function ye(e,t){var r=(t&Qr)!==0,i=(t&en)!==0,n,s=!e.startsWith("<!>");return()=>{if(S)return Ce(O,null),O;n===void 0&&(n=Zn(s?e:"<!>"+e),r||(n=pe(n)));var l=i||ur?document.importNode(n,!0):n.cloneNode(!0);if(r){var u=pe(l),f=l.lastChild;Ce(u,f)}else Ce(l,l);return l}}function ht(){if(S)return Ce(O,null),O;var e=document.createDocumentFragment(),t=document.createComment(""),r=nt();return e.append(t,r),Ce(t,r),e}function X(e,t){if(S){$.nodes_end=O,tt();return}e!==null&&e.before(t)}function Dr(e,t){return Mr(e,t)}function Qn(e,t){Dt(),t.intro=t.intro??!1;const r=t.target,i=S,n=O;try{for(var s=pe(r);s&&(s.nodeType!==8||s.data!==Zt);)s=ve(s);if(!s)throw je;Z(!0),ce(s),tt();const l=Mr(e,{...t,anchor:s});if(O===null||O.nodeType!==8||O.data!==yt)throw kt(),je;return Z(!1),l}catch(l){if(l===je)return t.recover===!1&&mn(),Dt(),vr(r),Z(!1),Dr(e,t);throw l}finally{Z(i),ce(n)}}const Re=new Map;function Mr(e,{target:t,anchor:r,props:i={},events:n,context:s,intro:l=!0}){Dt();var u=new Set,f=v=>{for(var a=0;a<v.length;a++){var d=v[a];if(!u.has(d)){u.add(d);var h=Gn(d);t.addEventListener(d,Ve,{passive:h});var m=Re.get(d);m===void 0?(document.addEventListener(d,Ve,{passive:h}),Re.set(d,1)):Re.set(d,m+1)}}};f(At(Xn)),Pr.add(f);var o=void 0,c=Yn(()=>{var v=r??t.appendChild(nt());return Ue(()=>{if(s){Sr({});var a=B;a.c=s}n&&(i.$$events=n),S&&Ce(v,null),o=e(v,i)||{},S&&($.nodes_end=O),s&&kr()}),()=>{var h;for(var a of u){t.removeEventListener(a,Ve);var d=Re.get(a);--d===0?(document.removeEventListener(a,Ve),Re.delete(a)):Re.set(a,d)}Pr.delete(f),v!==r&&((h=v.parentNode)==null||h.removeChild(v))}});return Ht.set(o,c),o}let Ht=new WeakMap;function ei(e,t){const r=Ht.get(e);return r?(Ht.delete(e),r(t)):Promise.resolve()}function We(e,t,r=!1){S&&tt();var i=e,n=null,s=null,l=Y,u=r?xt:0,f=!1;const o=(v,a=!0)=>{f=!0,c(a,v)},c=(v,a)=>{if(l===(l=v))return;let d=!1;if(S){const h=i.data===bt;!!l===h&&(i=It(),ce(i),Z(!1),d=!0)}l?(n?vt(n):a&&(n=Ue(()=>a(i))),s&&ct(s,()=>{s=null})):(s?vt(s):a&&(s=Ue(()=>a(i))),n&&ct(n,()=>{n=null})),d&&Z(!0)};qt(()=>{f=!1,t(o),f||c(null,null)},u),S&&(i=O)}function ti(e,t,r,i){for(var n=[],s=t.length,l=0;l<s;l++)Ft(t[l].e,n,!0);var u=s>0&&n.length===0&&r!==null;if(u){var f=r.parentNode;vr(f),f.append(r),i.clear(),he(e,t[0].prev,t[s-1].next)}Cr(n,()=>{for(var o=0;o<s;o++){var c=t[o];u||(i.delete(c.k),he(e,c.prev,c.next)),ue(c.e,!u)}})}function Lr(e,t,r,i,n,s=null){var l=e,u={items:new Map,first:null},f=(t&Jt)!==0;if(f){var o=e;l=S?ce(pe(o)):o.appendChild(nt())}S&&tt();var c=null,v=!1,a=xn(()=>{var d=r();return Nt(d)?d:d==null?[]:At(d)});qt(()=>{var d=g(a),h=d.length;if(v&&h===0)return;v=h===0;let m=!1;if(S){var E=l.data===bt;E!==(h===0)&&(l=It(),ce(l),Z(!1),m=!0)}if(S){for(var I=null,A,C=0;C<h;C++){if(O.nodeType===8&&O.data===yt){l=O,m=!0,Z(!1);break}var b=d[C],x=i(b,C);A=jr(O,u,I,null,b,x,C,n,t,r),u.items.set(x,A),I=A}h>0&&ce(It())}S||ri(d,u,l,n,t,i,r),s!==null&&(h===0?c?vt(c):c=Ue(()=>s(l)):c!==null&&ct(c,()=>{c=null})),m&&Z(!0),g(a)}),S&&(l=O)}function ri(e,t,r,i,n,s,l){var _,R,Ie,pt;var u=(n&Jr)!==0,f=(n&(L|$e))!==0,o=e.length,c=t.items,v=t.first,a=v,d,h=null,m,E=[],I=[],A,C,b,x;if(u)for(x=0;x<o;x+=1)A=e[x],C=s(A,x),b=c.get(C),b!==void 0&&((_=b.a)==null||_.measure(),(m??(m=new Set)).add(b));for(x=0;x<o;x+=1){if(A=e[x],C=s(A,x),b=c.get(C),b===void 0){var ke=a?a.e.nodes_start:r;h=jr(ke,t,h,h===null?t.first:h.next,A,C,x,i,n,l),c.set(C,h),E=[],I=[],a=h.next;continue}if(f&&ni(b,A,x,n),b.e.f&ae&&(vt(b.e),u&&((R=b.a)==null||R.unfix(),(m??(m=new Set)).delete(b))),b!==a){if(d!==void 0&&d.has(b)){if(E.length<I.length){var w=I[0],y;h=w.prev;var j=E[0],D=E[E.length-1];for(y=0;y<E.length;y+=1)qr(E[y],w,r);for(y=0;y<I.length;y+=1)d.delete(I[y]);he(t,j.prev,D.next),he(t,h,j),he(t,D,w),a=w,h=D,x-=1,E=[],I=[]}else d.delete(b),qr(b,a,r),he(t,b.prev,b.next),he(t,b,h===null?t.first:h.next),he(t,h,b),h=b;continue}for(E=[],I=[];a!==null&&a.k!==C;)a.e.f&ae||(d??(d=new Set)).add(a),I.push(a),a=a.next;if(a===null)continue;b=a}E.push(b),h=b,a=b.next}if(a!==null||d!==void 0){for(var M=d===void 0?[]:At(d);a!==null;)a.e.f&ae||M.push(a),a=a.next;var T=M.length;if(T>0){var p=n&Jt&&o===0?r:null;if(u){for(x=0;x<T;x+=1)(Ie=M[x].a)==null||Ie.measure();for(x=0;x<T;x+=1)(pt=M[x].a)==null||pt.fix()}ti(t,M,p,c)}}u&&Rt(()=>{var wt;if(m!==void 0)for(b of m)(wt=b.a)==null||wt.apply()}),$.first=t.first&&t.first.e,$.last=h&&h.e}function ni(e,t,r,i){i&L&&St(e.v,t),i&$e?St(e.i,r):e.i=r}function jr(e,t,r,i,n,s,l,u,f,o){var c=(f&L)!==0,v=(f&Zr)===0,a=c?v?Ot(n):z(n):n,d=f&$e?z(l):l,h={i:d,v:a,k:s,a:null,e:null,prev:r,next:i};try{return h.e=Ue(()=>u(e,a,d,o),S),h.e.prev=r&&r.e,h.e.next=i&&i.e,r===null?t.first=h:(r.next=h,r.e.next=h.e),i!==null&&(i.prev=h,i.e.prev=h.e),h}finally{}}function qr(e,t,r){for(var i=e.next?e.next.e.nodes_start:r,n=t?t.e.nodes_start:r,s=e.e.nodes_start;s!==i;){var l=ve(s);n.before(s),s=l}}function he(e,t,r){t===null?e.first=r:(t.next=r,t.e.next=r&&r.e),r!==null&&(r.prev=t,r.e.prev=t&&t.e)}function ii(e,t){Rt(()=>{var r=e.getRootNode(),i=r.host?r:r.head??r.ownerDocument.head;if(!i.querySelector("#"+t.hash)){const n=document.createElement("style");n.id=t.hash,n.textContent=t.code,i.appendChild(n)}})}function Oe(e,t,r,i){var n=e.__attributes??(e.__attributes={});S&&(n[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||n[t]!==(n[t]=r)&&(t==="style"&&"__styles"in e&&(e.__styles={}),t==="loading"&&(e[sn]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Fr(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function _t(e,t,r){var i=N,n=$;let s=S;S&&Z(!1),te(null),re(null);try{(Yt.has(e.nodeName)||!customElements||customElements.get(e.tagName.toLowerCase())?Fr(e).includes(t):r&&typeof r=="object")?e[t]=r:Oe(e,t,r==null?r:String(r))}finally{te(i),re(n),s&&Z(!0)}}var Yt=new Map;function Fr(e){var t=Yt.get(e.nodeName);if(t)return t;Yt.set(e.nodeName,t=[]);for(var r,i=e,n=Element.prototype;n!==i;){r=an(i);for(var s in r)r[s].set&&t.push(s);i=tr(i)}return t}function si(e){B===null&&Vn(),Er(()=>{const t=$r(e);if(typeof t=="function")return t})}function Bt(e,t,r,i){var n;n=e[t];var s=i,l=!0,u=!1,f=()=>(u=!0,l&&(l=!1,s=i),s);n===void 0&&i!==void 0&&(n=f());var o;o=()=>{var d=e[t];return d===void 0?f():(l=!0,u=!1,d)};var c=!1,v=Ot(n),a=et(()=>{var d=o(),h=g(v);return c?(c=!1,h):v.v=d});return function(d,h){if(arguments.length>0){const m=h?g(a):d;return a.equals(m)||(c=!0,q(v,m),u&&s!==void 0&&(s=m),$r(()=>g(a))),d}return g(a)}}function li(e){return new ai(e)}class ai{constructor(t){Xt(this,fe);Xt(this,K);var s;var r=new Map,i=(l,u)=>{var f=Ot(u);return r.set(l,f),f};const n=new Proxy({...t.props||{},$$events:{}},{get(l,u){return g(r.get(u)??i(u,Reflect.get(l,u)))},has(l,u){return u===nn?!0:(g(r.get(u)??i(u,Reflect.get(l,u))),Reflect.has(l,u))},set(l,u,f){return q(r.get(u)??i(u,f),f),Reflect.set(l,u,f)}});Kt(this,K,(t.hydrate?Qn:Dr)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover})),(!((s=t==null?void 0:t.props)!=null&&s.$$host)||t.sync===!1)&&Ye(),Kt(this,fe,n.$$events);for(const l of Object.keys(U(this,K)))l==="$set"||l==="$destroy"||l==="$on"||Ze(this,l,{get(){return U(this,K)[l]},set(u){U(this,K)[l]=u},enumerable:!0});U(this,K).$set=l=>{Object.assign(n,l)},U(this,K).$destroy=()=>{ei(U(this,K))}}$set(t){U(this,K).$set(t)}$on(t,r){U(this,fe)[t]=U(this,fe)[t]||[];const i=(...n)=>r.call(this,...n);return U(this,fe)[t].push(i),()=>{U(this,fe)[t]=U(this,fe)[t].filter(n=>n!==i)}}$destroy(){U(this,K).$destroy()}}fe=new WeakMap,K=new WeakMap;let Hr;typeof HTMLElement=="function"&&(Hr=class extends HTMLElement{constructor(t,r,i){super();Q(this,"$$ctor");Q(this,"$$s");Q(this,"$$c");Q(this,"$$cn",!1);Q(this,"$$d",{});Q(this,"$$r",!1);Q(this,"$$p_d",{});Q(this,"$$l",{});Q(this,"$$l_u",new Map);Q(this,"$$me");this.$$ctor=t,this.$$s=r,i&&this.attachShadow({mode:"open"})}addEventListener(t,r,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const n=this.$$c.$on(t,r);this.$$l_u.set(r,n)}super.addEventListener(t,r,i)}removeEventListener(t,r,i){if(super.removeEventListener(t,r,i),this.$$c){const n=this.$$l_u.get(r);n&&(n(),this.$$l_u.delete(r))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(n){return s=>{const l=document.createElement("slot");n!=="default"&&(l.name=n),X(s,l)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const r={},i=oi(this);for(const n of this.$$s)n in i&&(n==="default"&&!this.$$d.children?(this.$$d.children=t(n),r.default=!0):r[n]=t(n));for(const n of this.attributes){const s=this.$$g_p(n.name);s in this.$$d||(this.$$d[s]=gt(s,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=li({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:r,$$host:this}}),this.$$me=Hn(()=>{Bn(()=>{var n;this.$$r=!0;for(const s of Je(this.$$c)){if(!((n=this.$$p_d[s])!=null&&n.reflect))continue;this.$$d[s]=this.$$c[s];const l=gt(s,this.$$d[s],this.$$p_d,"toAttribute");l==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,l)}this.$$r=!1})});for(const n in this.$$l)for(const s of this.$$l[n]){const l=this.$$c.$on(n,s);this.$$l_u.set(s,l)}this.$$l={}}}attributeChangedCallback(t,r,i){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=gt(t,i,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return Je(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function gt(e,t,r,i){var s;const n=(s=r[e])==null?void 0:s.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!r[e])return t;if(i==="toAttribute")switch(n){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function oi(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function ui(e,t,r,i,n,s){let l=class extends Hr{constructor(){super(e,r,n),this.$$p_d=t}static get observedAttributes(){return Je(t).map(u=>(t[u].attribute||u).toLowerCase())}};return Je(t).forEach(u=>{Ze(l.prototype,u,{get(){return this.$$c&&u in this.$$c?this.$$c[u]:this.$$d[u]},set(f){var v;f=gt(u,f,t),this.$$d[u]=f;var o=this.$$c;if(o){var c=(v=Te(o,u))==null?void 0:v.get;c?o[u]=f:o.$set({[u]:f})}}})}),i.forEach(u=>{Ze(l.prototype,u,{get(){var f;return(f=this.$$c)==null?void 0:f[u]}})}),e.element=l,l}const fi={version:"0.50.0-alpha.11"};function Yr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var mt={exports:{}},Br;function ci(){if(Br)return mt.exports;Br=1;function e(t,r=100,i={}){if(typeof t!="function")throw new TypeError(`Expected the first parameter to be a function, got \`${typeof t}\`.`);if(r<0)throw new RangeError("`wait` must not be negative.");const{immediate:n}=typeof i=="boolean"?{immediate:i}:i;let s,l,u,f,o;function c(){const d=s,h=l;return s=void 0,l=void 0,o=t.apply(d,h),o}function v(){const d=Date.now()-f;d<r&&d>=0?u=setTimeout(v,r-d):(u=void 0,n||(o=c()))}const a=function(...d){if(s&&this!==s&&Object.getPrototypeOf(this)===Object.getPrototypeOf(s))throw new Error("Debounced method called with different contexts of the same prototype.");s=this,l=d,f=Date.now();const h=n&&!u;return u||(u=setTimeout(v,r)),h&&(o=c()),o};return Object.defineProperty(a,"isPending",{get(){return u!==void 0}}),a.clear=()=>{u&&(clearTimeout(u),u=void 0)},a.flush=()=>{u&&a.trigger()},a.trigger=()=>{o=c(),a.clear()},a}return mt.exports.debounce=e,mt.exports=e,mt.exports}var vi=ci();const di=Yr(vi);var Se={},Ut,Ur;function hi(){if(Ur)return Ut;Ur=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,n=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,u=/^\s+|\s+$/g,f=`
|
|
1
|
+
var Di=Object.defineProperty;var Xr=k=>{throw TypeError(k)};var Mi=(k,P,L)=>P in k?Di(k,P,{enumerable:!0,configurable:!0,writable:!0,value:L}):k[P]=L;var Q=(k,P,L)=>Mi(k,typeof P!="symbol"?P+"":P,L),Kr=(k,P,L)=>P.has(k)||Xr("Cannot "+L);var U=(k,P,L)=>(Kr(k,P,"read from private field"),L?L.call(k):P.get(k)),Xt=(k,P,L)=>P.has(k)?Xr("Cannot add the same private member more than once"):P instanceof WeakSet?P.add(k):P.set(k,L),Kt=(k,P,L,$e)=>(Kr(k,P,"write to private field"),$e?$e.call(k,L):P.set(k,L),L);(function(k){"use strict";var fe,K;const P="5";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(P);const L=1,$e=2,Jt=4,Jr=8,Zr=16,Qr=1,en=2,Zt="[",bt="[!",yt="]",je={},Y=Symbol(),$t=!1,J=2,Qt=4,Ge=8,Et=16,se=32,Ee=64,ze=128,G=256,Xe=512,F=1024,le=2048,xe=4096,ae=8192,Ke=16384,tn=32768,xt=65536,rn=1<<19,er=1<<20,Tt=Symbol("$state"),nn=Symbol("legacy props"),sn=Symbol("");var Nt=Array.isArray,ln=Array.prototype.indexOf,At=Array.from,Je=Object.keys,Ze=Object.defineProperty,Te=Object.getOwnPropertyDescriptor,an=Object.getOwnPropertyDescriptors,on=Object.prototype,un=Array.prototype,tr=Object.getPrototypeOf;function fn(e){for(var t=0;t<e.length;t++)e[t]()}let Qe=!1,Ct=[];function rr(){Qe=!1;const e=Ct.slice();Ct=[],fn(e)}function Rt(e){Qe||(Qe=!0,queueMicrotask(rr)),Ct.push(e)}function cn(){Qe&&rr()}function nr(e){return e===this.v}function vn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function ir(e){return!vn(e,this.v)}function dn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function hn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function _n(e){throw new Error("https://svelte.dev/e/effect_orphan")}function gn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function mn(){throw new Error("https://svelte.dev/e/hydration_failed")}function pn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function wn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function bn(){throw new Error("https://svelte.dev/e/state_unsafe_local_read")}function yn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}let $n=!1;function z(e,t){var r={f:0,v:e,reactions:null,equals:nr,rv:0,wv:0};return r}function me(e){return En(z(e))}function Ot(e,t=!1){const r=z(e);return t||(r.equals=ir),r}function En(e){return N!==null&&!ee&&N.f&J&&(ne===null?Rn([e]):ne.push(e)),e}function q(e,t){return N!==null&&!ee&&Ir()&&N.f&(J|Et)&&(ne===null||!ne.includes(e))&&yn(),St(e,t)}function St(e,t){return e.equals(t)||(e.v,e.v=t,e.wv=mr(),sr(e,le),$!==null&&$.f&F&&!($.f&(se|Ee))&&(oe===null?On([e]):oe.push(e))),t}function sr(e,t){var r=e.reactions;if(r!==null)for(var i=r.length,n=0;n<i;n++){var s=r[n],l=s.f;l&le||(ie(s,t),l&(F|G)&&(l&J?sr(s,xe):ft(s)))}}function et(e){var t=J|le,r=N!==null&&N.f&J?N:null;return $===null||r!==null&&r.f&G?t|=G:$.f|=er,{ctx:B,deps:null,effects:null,equals:nr,f:t,fn:e,reactions:null,rv:0,v:null,wv:0,parent:r??$}}function xn(e){const t=et(e);return t.equals=ir,t}function lr(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)ue(t[r])}}function Tn(e){for(var t=e.parent;t!==null;){if(!(t.f&J))return t;t=t.parent}return null}function Nn(e){var t,r=$;re(Tn(e));try{lr(e),t=wr(e)}finally{re(r)}return t}function ar(e){var t=Nn(e),r=(de||e.f&G)&&e.deps!==null?xe:F;ie(e,r),e.equals(t)||(e.v=t,e.wv=mr())}function kt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let S=!1;function Z(e){S=e}let O;function ce(e){if(e===null)throw kt(),je;return O=e}function tt(){return ce(ve(O))}function rt(e){if(S){if(ve(O)!==null)throw kt(),je;O=e}}function An(e=1){if(S){for(var t=e,r=O;t--;)r=ve(r);O=r}}function It(){for(var e=0,t=O;;){if(t.nodeType===8){var r=t.data;if(r===yt){if(e===0)return t;e-=1}else(r===Zt||r===bt)&&(e+=1)}var i=ve(t);t.remove(),t=i}}function V(e,t=null,r){if(typeof e!="object"||e===null||Tt in e)return e;const i=tr(e);if(i!==on&&i!==un)return e;var n=new Map,s=Nt(e),l=z(0);s&&n.set("length",z(e.length));var u;return new Proxy(e,{defineProperty(f,o,c){(!("value"in c)||c.configurable===!1||c.enumerable===!1||c.writable===!1)&&pn();var v=n.get(o);return v===void 0?(v=z(c.value),n.set(o,v)):q(v,V(c.value,u)),!0},deleteProperty(f,o){var c=n.get(o);if(c===void 0)o in f&&n.set(o,z(Y));else{if(s&&typeof o=="string"){var v=n.get("length"),a=Number(o);Number.isInteger(a)&&a<v.v&&q(v,a)}q(c,Y),or(l)}return!0},get(f,o,c){var h;if(o===Tt)return e;var v=n.get(o),a=o in f;if(v===void 0&&(!a||(h=Te(f,o))!=null&&h.writable)&&(v=z(V(a?f[o]:Y,u)),n.set(o,v)),v!==void 0){var d=g(v);return d===Y?void 0:d}return Reflect.get(f,o,c)},getOwnPropertyDescriptor(f,o){var c=Reflect.getOwnPropertyDescriptor(f,o);if(c&&"value"in c){var v=n.get(o);v&&(c.value=g(v))}else if(c===void 0){var a=n.get(o),d=a==null?void 0:a.v;if(a!==void 0&&d!==Y)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return c},has(f,o){var d;if(o===Tt)return!0;var c=n.get(o),v=c!==void 0&&c.v!==Y||Reflect.has(f,o);if(c!==void 0||$!==null&&(!v||(d=Te(f,o))!=null&&d.writable)){c===void 0&&(c=z(v?V(f[o],u):Y),n.set(o,c));var a=g(c);if(a===Y)return!1}return v},set(f,o,c,v){var C;var a=n.get(o),d=o in f;if(s&&o==="length")for(var h=c;h<a.v;h+=1){var m=n.get(h+"");m!==void 0?q(m,Y):h in f&&(m=z(Y),n.set(h+"",m))}a===void 0?(!d||(C=Te(f,o))!=null&&C.writable)&&(a=z(void 0),q(a,V(c,u)),n.set(o,a)):(d=a.v!==Y,q(a,V(c,u)));var E=Reflect.getOwnPropertyDescriptor(f,o);if(E!=null&&E.set&&E.set.call(v,c),!d){if(s&&typeof o=="string"){var I=n.get("length"),A=Number(o);Number.isInteger(A)&&A>=I.v&&q(I,A+1)}or(l)}return!0},ownKeys(f){g(l);var o=Reflect.ownKeys(f).filter(a=>{var d=n.get(a);return d===void 0||d.v!==Y});for(var[c,v]of n)v.v!==Y&&!(c in f)&&o.push(c);return o},setPrototypeOf(){wn()}})}function or(e,t=1){q(e,e.v+t)}var Pt,ur,fr,cr;function Dt(){if(Pt===void 0){Pt=window,ur=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype;fr=Te(t,"firstChild").get,cr=Te(t,"nextSibling").get,e.__click=void 0,e.__className="",e.__attributes=null,e.__styles=null,e.__e=void 0,Text.prototype.__t=void 0}}function nt(e=""){return document.createTextNode(e)}function pe(e){return fr.call(e)}function ve(e){return cr.call(e)}function Mt(e,t){if(!S)return pe(e);var r=pe(O);return r===null&&(r=O.appendChild(nt())),ce(r),r}function it(e,t){if(!S){var r=pe(e);return r instanceof Comment&&r.data===""?ve(r):r}return O}function vr(e){e.textContent=""}const dr=0,Cn=1;let st=!1,lt=dr,qe=!1,Fe=null,Ne=!1,Lt=!1;function hr(e){Ne=e}function _r(e){Lt=e}let we=[],Ae=0,Li=[],N=null,ee=!1;function te(e){N=e}let $=null;function re(e){$=e}let ne=null;function Rn(e){ne=e}let H=null,W=0,oe=null;function On(e){oe=e}let gr=1,at=0,de=!1;function mr(){return++gr}function He(e){var v;var t=e.f;if(t&le)return!0;if(t&xe){var r=e.deps,i=(t&G)!==0;if(r!==null){var n,s,l=(t&Xe)!==0,u=i&&$!==null&&!de,f=r.length;if(l||u){var o=e,c=o.parent;for(n=0;n<f;n++)s=r[n],(l||!((v=s==null?void 0:s.reactions)!=null&&v.includes(o)))&&(s.reactions??(s.reactions=[])).push(o);l&&(o.f^=Xe),u&&c!==null&&!(c.f&G)&&(o.f^=G)}for(n=0;n<f;n++)if(s=r[n],He(s)&&ar(s),s.wv>e.wv)return!0}(!i||$!==null&&!de)&&ie(e,F)}return!1}function Sn(e,t){for(var r=t;r!==null;){if(r.f&ze)try{r.fn(e);return}catch{r.f^=ze}r=r.parent}throw st=!1,e}function kn(e){return(e.f&Ke)===0&&(e.parent===null||(e.parent.f&ze)===0)}function ot(e,t,r,i){if(st){if(r===null&&(st=!1),kn(t))throw e;return}r!==null&&(st=!0);{Sn(e,t);return}}function pr(e,t,r=!0){var i=e.reactions;if(i!==null)for(var n=0;n<i.length;n++){var s=i[n];s.f&J?pr(s,t,!1):t===s&&(r?ie(s,le):s.f&F&&ie(s,xe),ft(s))}}function wr(e){var d;var t=H,r=W,i=oe,n=N,s=de,l=ne,u=B,f=ee,o=e.f;H=null,W=0,oe=null,N=o&(se|Ee)?null:e,de=(o&G)!==0&&(!Ne||n===null||f),ne=null,Or(e.ctx),ee=!1,at++;try{var c=(0,e.fn)(),v=e.deps;if(H!==null){var a;if(ut(e,W),v!==null&&W>0)for(v.length=W+H.length,a=0;a<H.length;a++)v[W+a]=H[a];else e.deps=v=H;if(!de)for(a=W;a<v.length;a++)((d=v[a]).reactions??(d.reactions=[])).push(e)}else v!==null&&W<v.length&&(ut(e,W),v.length=W);if(Ir()&&oe!==null&&!ee&&v!==null&&!(e.f&(J|xe|le)))for(a=0;a<oe.length;a++)pr(oe[a],e);return n!==null&&at++,c}finally{H=t,W=r,oe=i,N=n,de=s,ne=l,Or(u),ee=f}}function In(e,t){let r=t.reactions;if(r!==null){var i=ln.call(r,e);if(i!==-1){var n=r.length-1;n===0?r=t.reactions=null:(r[i]=r[n],r.pop())}}r===null&&t.f&J&&(H===null||!H.includes(t))&&(ie(t,xe),t.f&(G|Xe)||(t.f^=Xe),lr(t),ut(t,0))}function ut(e,t){var r=e.deps;if(r!==null)for(var i=t;i<r.length;i++)In(e,r[i])}function jt(e){var t=e.f;if(!(t&Ke)){ie(e,F);var r=$,i=B;$=e;try{t&Et?Un(e):Nr(e),Tr(e);var n=wr(e);e.teardown=typeof n=="function"?n:null,e.wv=gr;var s=e.deps,l;$t&&$n&&e.f&le}catch(u){ot(u,e,r,i||e.ctx)}finally{$=r}}}function br(){if(Ae>1e3){Ae=0;try{gn()}catch(e){if(Fe!==null)ot(e,Fe,null);else throw e}}Ae++}function yr(e){var t=e.length;if(t!==0){br();var r=Ne;Ne=!0;try{for(var i=0;i<t;i++){var n=e[i];n.f&F||(n.f^=F);var s=Mn(n);Pn(s)}}finally{Ne=r}}}function Pn(e){var t=e.length;if(t!==0)for(var r=0;r<t;r++){var i=e[r];if(!(i.f&(Ke|ae)))try{He(i)&&(jt(i),i.deps===null&&i.first===null&&i.nodes_start===null&&(i.teardown===null?Ar(i):i.fn=null))}catch(n){ot(n,i,null,i.ctx)}}}function Dn(){if(qe=!1,Ae>1001)return;const e=we;we=[],yr(e),qe||(Ae=0,Fe=null)}function ft(e){lt===dr&&(qe||(qe=!0,queueMicrotask(Dn))),Fe=e;for(var t=e;t.parent!==null;){t=t.parent;var r=t.f;if(r&(Ee|se)){if(!(r&F))return;t.f^=F}}we.push(t)}function Mn(e){var t=[],r=e.first;e:for(;r!==null;){var i=r.f,n=(i&se)!==0,s=n&&(i&F)!==0,l=r.next;if(!s&&!(i&ae)){if(i&Qt)t.push(r);else if(n)r.f^=F;else{var u=N;try{N=r,He(r)&&jt(r)}catch(c){ot(c,r,null,r.ctx)}finally{N=u}}var f=r.first;if(f!==null){r=f;continue}}if(l===null){let c=r.parent;for(;c!==null;){if(e===c)break e;var o=c.next;if(o!==null){r=o;continue e}c=c.parent}}r=l}return t}function Ye(e){var t=lt,r=we;try{br();const n=[];lt=Cn,we=n,qe=!1,yr(r);var i=e==null?void 0:e();return cn(),(we.length>0||n.length>0)&&Ye(),Ae=0,Fe=null,i}finally{lt=t,we=r}}function g(e){var t=e.f,r=(t&J)!==0;if(N!==null&&!ee){ne!==null&&ne.includes(e)&&bn();var i=N.deps;e.rv<at&&(e.rv=at,H===null&&i!==null&&i[W]===e?W++:H===null?H=[e]:(!de||!H.includes(e))&&H.push(e))}else if(r&&e.deps===null&&e.effects===null){var n=e,s=n.parent;s!==null&&!(s.f&G)&&(n.f^=G)}return r&&(n=e,He(n)&&ar(n)),e.v}function $r(e){var t=ee;try{return ee=!0,e()}finally{ee=t}}const Ln=-7169;function ie(e,t){e.f=e.f&Ln|t}function jn(e){$===null&&N===null&&_n(),N!==null&&N.f&G&&$===null&&hn(),Lt&&dn()}function qn(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function be(e,t,r,i=!0){var n=(e&Ee)!==0,s=$,l={ctx:B,deps:null,nodes_start:null,nodes_end:null,f:e|le,first:null,fn:t,last:null,next:null,parent:n?null:s,prev:null,teardown:null,transitions:null,wv:0};if(r){var u=Ne;try{hr(!0),jt(l),l.f|=tn}catch(c){throw ue(l),c}finally{hr(u)}}else t!==null&&ft(l);var f=r&&l.deps===null&&l.first===null&&l.nodes_start===null&&l.teardown===null&&(l.f&(er|ze))===0;if(!f&&!n&&i&&(s!==null&&qn(l,s),N!==null&&N.f&J)){var o=N;(o.effects??(o.effects=[])).push(l)}return l}function Fn(e){const t=be(Ge,null,!1);return ie(t,F),t.teardown=e,t}function Er(e){jn();var t=$!==null&&($.f&se)!==0&&B!==null&&!B.m;if(t){var r=B;(r.e??(r.e=[])).push({fn:e,effect:$,reaction:N})}else{var i=xr(e);return i}}function Hn(e){const t=be(Ee,e,!0);return()=>{ue(t)}}function Yn(e){const t=be(Ee,e,!0);return(r={})=>new Promise(i=>{r.outro?ct(t,()=>{ue(t),i(void 0)}):(ue(t),i(void 0))})}function xr(e){return be(Qt,e,!1)}function Bn(e){return be(Ge,e,!0)}function Be(e,t=[],r=et){const i=t.map(r);return qt(()=>e(...i.map(g)))}function qt(e,t=0){return be(Ge|Et|t,e,!0)}function Ue(e,t=!0){return be(Ge|se,e,!0,t)}function Tr(e){var t=e.teardown;if(t!==null){const r=Lt,i=N;_r(!0),te(null);try{t.call(null)}finally{_r(r),te(i)}}}function Nr(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){var i=r.next;ue(r,t),r=i}}function Un(e){for(var t=e.first;t!==null;){var r=t.next;t.f&se||ue(t),t=r}}function ue(e,t=!0){var r=!1;if((t||e.f&rn)&&e.nodes_start!==null){for(var i=e.nodes_start,n=e.nodes_end;i!==null;){var s=i===n?null:ve(i);i.remove(),i=s}r=!0}Nr(e,t&&!r),ut(e,0),ie(e,Ke);var l=e.transitions;if(l!==null)for(const f of l)f.stop();Tr(e);var u=e.parent;u!==null&&u.first!==null&&Ar(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=null}function Ar(e){var t=e.parent,r=e.prev,i=e.next;r!==null&&(r.next=i),i!==null&&(i.prev=r),t!==null&&(t.first===e&&(t.first=i),t.last===e&&(t.last=r))}function ct(e,t){var r=[];Ft(e,r,!0),Cr(r,()=>{ue(e),t&&t()})}function Cr(e,t){var r=e.length;if(r>0){var i=()=>--r||t();for(var n of e)n.out(i)}else t()}function Ft(e,t,r){if(!(e.f&ae)){if(e.f^=ae,e.transitions!==null)for(const l of e.transitions)(l.is_global||r)&&t.push(l);for(var i=e.first;i!==null;){var n=i.next,s=(i.f&xt)!==0||(i.f&se)!==0;Ft(i,t,s?r:!1),i=n}}}function vt(e){Rr(e,!0)}function Rr(e,t){if(e.f&ae){e.f^=ae,e.f&F||(e.f^=F),He(e)&&(ie(e,le),ft(e));for(var r=e.first;r!==null;){var i=r.next,n=(r.f&xt)!==0||(r.f&se)!==0;Rr(r,n?t:!1),r=i}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function Vn(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}let B=null;function Or(e){B=e}function Sr(e,t=!1,r){B={p:B,c:null,e:null,m:!1,s:e,x:null,l:null}}function kr(e){const t=B;if(t!==null){e!==void 0&&(t.x=e);const l=t.e;if(l!==null){var r=$,i=N;t.e=null;try{for(var n=0;n<l.length;n++){var s=l[n];re(s.effect),te(s.reaction),xr(s.fn)}}finally{re(r),te(i)}}B=t.p,t.m=!0}return e||{}}function Ir(){return!0}const Wn=["touchstart","touchmove"];function Gn(e){return Wn.includes(e)}function zn(e){var t=N,r=$;te(null),re(null);try{return e()}finally{te(t),re(r)}}const Xn=new Set,Pr=new Set;function Kn(e){if(!S)return;e.onload&&e.removeAttribute("onload"),e.onerror&&e.removeAttribute("onerror");const t=e.__e;t!==void 0&&(e.__e=void 0,queueMicrotask(()=>{e.isConnected&&e.dispatchEvent(t)}))}function Jn(e,t,r,i={}){function n(s){if(i.capture||Ve.call(t,s),!s.cancelBubble)return zn(()=>r==null?void 0:r.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Rt(()=>{t.addEventListener(e,n,i)}):t.addEventListener(e,n,i),n}function dt(e,t,r,i,n){var s={capture:i,passive:n},l=Jn(e,t,r,s);(t===document.body||t===window||t===document)&&Fn(()=>{t.removeEventListener(e,l,s)})}function Ve(e){var A;var t=this,r=t.ownerDocument,i=e.type,n=((A=e.composedPath)==null?void 0:A.call(e))||[],s=n[0]||e.target,l=0,u=e.__root;if(u){var f=n.indexOf(u);if(f!==-1&&(t===document||t===window)){e.__root=t;return}var o=n.indexOf(t);if(o===-1)return;f<=o&&(l=f)}if(s=n[l]||e.target,s!==t){Ze(e,"currentTarget",{configurable:!0,get(){return s||r}});var c=N,v=$;te(null),re(null);try{for(var a,d=[];s!==null;){var h=s.assignedSlot||s.parentNode||s.host||null;try{var m=s["__"+i];if(m!==void 0&&!s.disabled)if(Nt(m)){var[E,...I]=m;E.apply(s,[e,...I])}else m.call(s,e)}catch(C){a?d.push(C):a=C}if(e.cancelBubble||h===t||h===null)break;s=h}if(a){for(let C of d)queueMicrotask(()=>{throw C});throw a}}finally{e.__root=t,delete e.currentTarget,te(c),re(v)}}}function Zn(e){var t=document.createElement("template");return t.innerHTML=e,t.content}function Ce(e,t){var r=$;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function ye(e,t){var r=(t&Qr)!==0,i=(t&en)!==0,n,s=!e.startsWith("<!>");return()=>{if(S)return Ce(O,null),O;n===void 0&&(n=Zn(s?e:"<!>"+e),r||(n=pe(n)));var l=i||ur?document.importNode(n,!0):n.cloneNode(!0);if(r){var u=pe(l),f=l.lastChild;Ce(u,f)}else Ce(l,l);return l}}function ht(){if(S)return Ce(O,null),O;var e=document.createDocumentFragment(),t=document.createComment(""),r=nt();return e.append(t,r),Ce(t,r),e}function X(e,t){if(S){$.nodes_end=O,tt();return}e!==null&&e.before(t)}function Dr(e,t){return Mr(e,t)}function Qn(e,t){Dt(),t.intro=t.intro??!1;const r=t.target,i=S,n=O;try{for(var s=pe(r);s&&(s.nodeType!==8||s.data!==Zt);)s=ve(s);if(!s)throw je;Z(!0),ce(s),tt();const l=Mr(e,{...t,anchor:s});if(O===null||O.nodeType!==8||O.data!==yt)throw kt(),je;return Z(!1),l}catch(l){if(l===je)return t.recover===!1&&mn(),Dt(),vr(r),Z(!1),Dr(e,t);throw l}finally{Z(i),ce(n)}}const Re=new Map;function Mr(e,{target:t,anchor:r,props:i={},events:n,context:s,intro:l=!0}){Dt();var u=new Set,f=v=>{for(var a=0;a<v.length;a++){var d=v[a];if(!u.has(d)){u.add(d);var h=Gn(d);t.addEventListener(d,Ve,{passive:h});var m=Re.get(d);m===void 0?(document.addEventListener(d,Ve,{passive:h}),Re.set(d,1)):Re.set(d,m+1)}}};f(At(Xn)),Pr.add(f);var o=void 0,c=Yn(()=>{var v=r??t.appendChild(nt());return Ue(()=>{if(s){Sr({});var a=B;a.c=s}n&&(i.$$events=n),S&&Ce(v,null),o=e(v,i)||{},S&&($.nodes_end=O),s&&kr()}),()=>{var h;for(var a of u){t.removeEventListener(a,Ve);var d=Re.get(a);--d===0?(document.removeEventListener(a,Ve),Re.delete(a)):Re.set(a,d)}Pr.delete(f),v!==r&&((h=v.parentNode)==null||h.removeChild(v))}});return Ht.set(o,c),o}let Ht=new WeakMap;function ei(e,t){const r=Ht.get(e);return r?(Ht.delete(e),r(t)):Promise.resolve()}function We(e,t,r=!1){S&&tt();var i=e,n=null,s=null,l=Y,u=r?xt:0,f=!1;const o=(v,a=!0)=>{f=!0,c(a,v)},c=(v,a)=>{if(l===(l=v))return;let d=!1;if(S){const h=i.data===bt;!!l===h&&(i=It(),ce(i),Z(!1),d=!0)}l?(n?vt(n):a&&(n=Ue(()=>a(i))),s&&ct(s,()=>{s=null})):(s?vt(s):a&&(s=Ue(()=>a(i))),n&&ct(n,()=>{n=null})),d&&Z(!0)};qt(()=>{f=!1,t(o),f||c(null,null)},u),S&&(i=O)}function ti(e,t,r,i){for(var n=[],s=t.length,l=0;l<s;l++)Ft(t[l].e,n,!0);var u=s>0&&n.length===0&&r!==null;if(u){var f=r.parentNode;vr(f),f.append(r),i.clear(),he(e,t[0].prev,t[s-1].next)}Cr(n,()=>{for(var o=0;o<s;o++){var c=t[o];u||(i.delete(c.k),he(e,c.prev,c.next)),ue(c.e,!u)}})}function Lr(e,t,r,i,n,s=null){var l=e,u={items:new Map,first:null},f=(t&Jt)!==0;if(f){var o=e;l=S?ce(pe(o)):o.appendChild(nt())}S&&tt();var c=null,v=!1,a=xn(()=>{var d=r();return Nt(d)?d:d==null?[]:At(d)});qt(()=>{var d=g(a),h=d.length;if(v&&h===0)return;v=h===0;let m=!1;if(S){var E=l.data===bt;E!==(h===0)&&(l=It(),ce(l),Z(!1),m=!0)}if(S){for(var I=null,A,C=0;C<h;C++){if(O.nodeType===8&&O.data===yt){l=O,m=!0,Z(!1);break}var b=d[C],x=i(b,C);A=jr(O,u,I,null,b,x,C,n,t,r),u.items.set(x,A),I=A}h>0&&ce(It())}S||ri(d,u,l,n,t,i,r),s!==null&&(h===0?c?vt(c):c=Ue(()=>s(l)):c!==null&&ct(c,()=>{c=null})),m&&Z(!0),g(a)}),S&&(l=O)}function ri(e,t,r,i,n,s,l){var _,R,Ie,pt;var u=(n&Jr)!==0,f=(n&(L|$e))!==0,o=e.length,c=t.items,v=t.first,a=v,d,h=null,m,E=[],I=[],A,C,b,x;if(u)for(x=0;x<o;x+=1)A=e[x],C=s(A,x),b=c.get(C),b!==void 0&&((_=b.a)==null||_.measure(),(m??(m=new Set)).add(b));for(x=0;x<o;x+=1){if(A=e[x],C=s(A,x),b=c.get(C),b===void 0){var ke=a?a.e.nodes_start:r;h=jr(ke,t,h,h===null?t.first:h.next,A,C,x,i,n,l),c.set(C,h),E=[],I=[],a=h.next;continue}if(f&&ni(b,A,x,n),b.e.f&ae&&(vt(b.e),u&&((R=b.a)==null||R.unfix(),(m??(m=new Set)).delete(b))),b!==a){if(d!==void 0&&d.has(b)){if(E.length<I.length){var w=I[0],y;h=w.prev;var j=E[0],D=E[E.length-1];for(y=0;y<E.length;y+=1)qr(E[y],w,r);for(y=0;y<I.length;y+=1)d.delete(I[y]);he(t,j.prev,D.next),he(t,h,j),he(t,D,w),a=w,h=D,x-=1,E=[],I=[]}else d.delete(b),qr(b,a,r),he(t,b.prev,b.next),he(t,b,h===null?t.first:h.next),he(t,h,b),h=b;continue}for(E=[],I=[];a!==null&&a.k!==C;)a.e.f&ae||(d??(d=new Set)).add(a),I.push(a),a=a.next;if(a===null)continue;b=a}E.push(b),h=b,a=b.next}if(a!==null||d!==void 0){for(var M=d===void 0?[]:At(d);a!==null;)a.e.f&ae||M.push(a),a=a.next;var T=M.length;if(T>0){var p=n&Jt&&o===0?r:null;if(u){for(x=0;x<T;x+=1)(Ie=M[x].a)==null||Ie.measure();for(x=0;x<T;x+=1)(pt=M[x].a)==null||pt.fix()}ti(t,M,p,c)}}u&&Rt(()=>{var wt;if(m!==void 0)for(b of m)(wt=b.a)==null||wt.apply()}),$.first=t.first&&t.first.e,$.last=h&&h.e}function ni(e,t,r,i){i&L&&St(e.v,t),i&$e?St(e.i,r):e.i=r}function jr(e,t,r,i,n,s,l,u,f,o){var c=(f&L)!==0,v=(f&Zr)===0,a=c?v?Ot(n):z(n):n,d=f&$e?z(l):l,h={i:d,v:a,k:s,a:null,e:null,prev:r,next:i};try{return h.e=Ue(()=>u(e,a,d,o),S),h.e.prev=r&&r.e,h.e.next=i&&i.e,r===null?t.first=h:(r.next=h,r.e.next=h.e),i!==null&&(i.prev=h,i.e.prev=h.e),h}finally{}}function qr(e,t,r){for(var i=e.next?e.next.e.nodes_start:r,n=t?t.e.nodes_start:r,s=e.e.nodes_start;s!==i;){var l=ve(s);n.before(s),s=l}}function he(e,t,r){t===null?e.first=r:(t.next=r,t.e.next=r&&r.e),r!==null&&(r.prev=t,r.e.prev=t&&t.e)}function ii(e,t){Rt(()=>{var r=e.getRootNode(),i=r.host?r:r.head??r.ownerDocument.head;if(!i.querySelector("#"+t.hash)){const n=document.createElement("style");n.id=t.hash,n.textContent=t.code,i.appendChild(n)}})}function Oe(e,t,r,i){var n=e.__attributes??(e.__attributes={});S&&(n[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||n[t]!==(n[t]=r)&&(t==="style"&&"__styles"in e&&(e.__styles={}),t==="loading"&&(e[sn]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Fr(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function _t(e,t,r){var i=N,n=$;let s=S;S&&Z(!1),te(null),re(null);try{(Yt.has(e.nodeName)||!customElements||customElements.get(e.tagName.toLowerCase())?Fr(e).includes(t):r&&typeof r=="object")?e[t]=r:Oe(e,t,r==null?r:String(r))}finally{te(i),re(n),s&&Z(!0)}}var Yt=new Map;function Fr(e){var t=Yt.get(e.nodeName);if(t)return t;Yt.set(e.nodeName,t=[]);for(var r,i=e,n=Element.prototype;n!==i;){r=an(i);for(var s in r)r[s].set&&t.push(s);i=tr(i)}return t}function si(e){B===null&&Vn(),Er(()=>{const t=$r(e);if(typeof t=="function")return t})}function Bt(e,t,r,i){var n;n=e[t];var s=i,l=!0,u=!1,f=()=>(u=!0,l&&(l=!1,s=i),s);n===void 0&&i!==void 0&&(n=f());var o;o=()=>{var d=e[t];return d===void 0?f():(l=!0,u=!1,d)};var c=!1,v=Ot(n),a=et(()=>{var d=o(),h=g(v);return c?(c=!1,h):v.v=d});return function(d,h){if(arguments.length>0){const m=h?g(a):d;return a.equals(m)||(c=!0,q(v,m),u&&s!==void 0&&(s=m),$r(()=>g(a))),d}return g(a)}}function li(e){return new ai(e)}class ai{constructor(t){Xt(this,fe);Xt(this,K);var s;var r=new Map,i=(l,u)=>{var f=Ot(u);return r.set(l,f),f};const n=new Proxy({...t.props||{},$$events:{}},{get(l,u){return g(r.get(u)??i(u,Reflect.get(l,u)))},has(l,u){return u===nn?!0:(g(r.get(u)??i(u,Reflect.get(l,u))),Reflect.has(l,u))},set(l,u,f){return q(r.get(u)??i(u,f),f),Reflect.set(l,u,f)}});Kt(this,K,(t.hydrate?Qn:Dr)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover})),(!((s=t==null?void 0:t.props)!=null&&s.$$host)||t.sync===!1)&&Ye(),Kt(this,fe,n.$$events);for(const l of Object.keys(U(this,K)))l==="$set"||l==="$destroy"||l==="$on"||Ze(this,l,{get(){return U(this,K)[l]},set(u){U(this,K)[l]=u},enumerable:!0});U(this,K).$set=l=>{Object.assign(n,l)},U(this,K).$destroy=()=>{ei(U(this,K))}}$set(t){U(this,K).$set(t)}$on(t,r){U(this,fe)[t]=U(this,fe)[t]||[];const i=(...n)=>r.call(this,...n);return U(this,fe)[t].push(i),()=>{U(this,fe)[t]=U(this,fe)[t].filter(n=>n!==i)}}$destroy(){U(this,K).$destroy()}}fe=new WeakMap,K=new WeakMap;let Hr;typeof HTMLElement=="function"&&(Hr=class extends HTMLElement{constructor(t,r,i){super();Q(this,"$$ctor");Q(this,"$$s");Q(this,"$$c");Q(this,"$$cn",!1);Q(this,"$$d",{});Q(this,"$$r",!1);Q(this,"$$p_d",{});Q(this,"$$l",{});Q(this,"$$l_u",new Map);Q(this,"$$me");this.$$ctor=t,this.$$s=r,i&&this.attachShadow({mode:"open"})}addEventListener(t,r,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const n=this.$$c.$on(t,r);this.$$l_u.set(r,n)}super.addEventListener(t,r,i)}removeEventListener(t,r,i){if(super.removeEventListener(t,r,i),this.$$c){const n=this.$$l_u.get(r);n&&(n(),this.$$l_u.delete(r))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(n){return s=>{const l=document.createElement("slot");n!=="default"&&(l.name=n),X(s,l)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const r={},i=oi(this);for(const n of this.$$s)n in i&&(n==="default"&&!this.$$d.children?(this.$$d.children=t(n),r.default=!0):r[n]=t(n));for(const n of this.attributes){const s=this.$$g_p(n.name);s in this.$$d||(this.$$d[s]=gt(s,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=li({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:r,$$host:this}}),this.$$me=Hn(()=>{Bn(()=>{var n;this.$$r=!0;for(const s of Je(this.$$c)){if(!((n=this.$$p_d[s])!=null&&n.reflect))continue;this.$$d[s]=this.$$c[s];const l=gt(s,this.$$d[s],this.$$p_d,"toAttribute");l==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,l)}this.$$r=!1})});for(const n in this.$$l)for(const s of this.$$l[n]){const l=this.$$c.$on(n,s);this.$$l_u.set(s,l)}this.$$l={}}}attributeChangedCallback(t,r,i){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=gt(t,i,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return Je(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function gt(e,t,r,i){var s;const n=(s=r[e])==null?void 0:s.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!r[e])return t;if(i==="toAttribute")switch(n){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function oi(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function ui(e,t,r,i,n,s){let l=class extends Hr{constructor(){super(e,r,n),this.$$p_d=t}static get observedAttributes(){return Je(t).map(u=>(t[u].attribute||u).toLowerCase())}};return Je(t).forEach(u=>{Ze(l.prototype,u,{get(){return this.$$c&&u in this.$$c?this.$$c[u]:this.$$d[u]},set(f){var v;f=gt(u,f,t),this.$$d[u]=f;var o=this.$$c;if(o){var c=(v=Te(o,u))==null?void 0:v.get;c?o[u]=f:o.$set({[u]:f})}}})}),i.forEach(u=>{Ze(l.prototype,u,{get(){var f;return(f=this.$$c)==null?void 0:f[u]}})}),e.element=l,l}const fi={version:"0.50.0-alpha.14"};function Yr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var mt={exports:{}},Br;function ci(){if(Br)return mt.exports;Br=1;function e(t,r=100,i={}){if(typeof t!="function")throw new TypeError(`Expected the first parameter to be a function, got \`${typeof t}\`.`);if(r<0)throw new RangeError("`wait` must not be negative.");const{immediate:n}=typeof i=="boolean"?{immediate:i}:i;let s,l,u,f,o;function c(){const d=s,h=l;return s=void 0,l=void 0,o=t.apply(d,h),o}function v(){const d=Date.now()-f;d<r&&d>=0?u=setTimeout(v,r-d):(u=void 0,n||(o=c()))}const a=function(...d){if(s&&this!==s&&Object.getPrototypeOf(this)===Object.getPrototypeOf(s))throw new Error("Debounced method called with different contexts of the same prototype.");s=this,l=d,f=Date.now();const h=n&&!u;return u||(u=setTimeout(v,r)),h&&(o=c()),o};return Object.defineProperty(a,"isPending",{get(){return u!==void 0}}),a.clear=()=>{u&&(clearTimeout(u),u=void 0)},a.flush=()=>{u&&a.trigger()},a.trigger=()=>{o=c(),a.clear()},a}return mt.exports.debounce=e,mt.exports=e,mt.exports}var vi=ci();const di=Yr(vi);var Se={},Ut,Ur;function hi(){if(Ur)return Ut;Ur=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,n=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,u=/^\s+|\s+$/g,f=`
|
|
2
2
|
`,o="/",c="*",v="",a="comment",d="declaration";Ut=function(m,E){if(typeof m!="string")throw new TypeError("First argument must be a string");if(!m)return[];E=E||{};var I=1,A=1;function C(p){var _=p.match(t);_&&(I+=_.length);var R=p.lastIndexOf(f);A=~R?p.length-R:A+p.length}function b(){var p={line:I,column:A};return function(_){return _.position=new x(p),y(),_}}function x(p){this.start=p,this.end={line:I,column:A},this.source=E.source}x.prototype.content=m;function ke(p){var _=new Error(E.source+":"+I+":"+A+": "+p);if(_.reason=p,_.filename=E.source,_.line=I,_.column=A,_.source=m,!E.silent)throw _}function w(p){var _=p.exec(m);if(_){var R=_[0];return C(R),m=m.slice(R.length),_}}function y(){w(r)}function j(p){var _;for(p=p||[];_=D();)_!==!1&&p.push(_);return p}function D(){var p=b();if(!(o!=m.charAt(0)||c!=m.charAt(1))){for(var _=2;v!=m.charAt(_)&&(c!=m.charAt(_)||o!=m.charAt(_+1));)++_;if(_+=2,v===m.charAt(_-1))return ke("End of comment missing");var R=m.slice(2,_-2);return A+=2,C(R),m=m.slice(_),A+=2,p({type:a,comment:R})}}function M(){var p=b(),_=w(i);if(_){if(D(),!w(n))return ke("property missing ':'");var R=w(s),Ie=p({type:d,property:h(_[0].replace(e,v)),value:R?h(R[0].replace(e,v)):v});return w(l),Ie}}function T(){var p=[];j(p);for(var _;_=M();)_!==!1&&(p.push(_),j(p));return p}return y(),T()};function h(m){return m?m.replace(u,v):v}return Ut}var Vr;function _i(){if(Vr)return Se;Vr=1;var e=Se&&Se.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.default=r;var t=e(hi());function r(i,n){var s=null;if(!i||typeof i!="string")return s;var l=(0,t.default)(i),u=typeof n=="function";return l.forEach(function(f){if(f.type==="declaration"){var o=f.property,c=f.value;u?n(o,c,f):c&&(s=s||{},s[o]=c)}}),s}return Se}var gi=_i();const Wr=Yr(gi),mi=Wr.default||Wr;function pi(e,t){var i,n;let r="";if(e&&(t!=null&&t.length)&&((i=Object.keys(e))!=null&&i.length)&&((n=t==null?void 0:t.filter(s=>Object.keys(e).includes(s.name)))!=null&&n.length))for(const s of Object.keys(e))(t==null?void 0:t.filter(u=>u.name===s&&u.defaultValue!==e[s]))&&(r+=`${s}:${e[s]};`);return r}function wi(e){var i;const t=((i=e==null?void 0:e.repoName.split("/"))==null?void 0:i[1])||(e==null?void 0:e.repoName);if(!t)throw new Error("wrong componentPath "+(e==null?void 0:e.repoName));if(!(e!=null&&e.version))throw new Error("wrong version "+(e==null?void 0:e.version));const r=(e==null?void 0:e.iifePath)||"main.iife.js";if(!document.getElementById(t+"-script"))try{const n=document.createElement("script");n.id=t+"-script",n.src=`https://cdn.jsdelivr.net/npm/${e.repoName}@${e.version}/${r}`,e!=null&&e.local&&location.href.includes("localhost")&&(n.src=`${e.local}`),document.head.appendChild(n)}catch(n){console.warn(n)}}const Vt={vars:[]};var bi=ye('<iframe class="svelte-1srw9ar"></iframe>'),yi=ye("<hb-player-live></hb-player-live>",2),$i=ye("<hb-player-live-camera-ptz></hb-player-live-camera-ptz>",2),Ei=ye('<video controls><source type="video/mp4"> <track kind="captions" src="" srclang="en" label="English"> Your browser does not support the video tag.</video>',2),xi=ye('<div class="col svelte-1srw9ar" style="padding-right:0px;padding-left:0px;--bs-gutter-x: 0px;"><!></div>'),Ti=ye('<div class="row svelte-1srw9ar"></div>'),Ni=ye('<div id="matrix" class="svelte-1srw9ar"><!></div>');const Ai={hash:"svelte-1srw9ar",code:`@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");:host {font-family:"Roboto", sans-serif;width:100%;display:block;background-color:black;}#matrix.svelte-1srw9ar {display:grid;gap:5px;
|
|
3
3
|
/* Play with min-value */overflow:hidden;}.col.svelte-1srw9ar {margin:5px;}.row.svelte-1srw9ar {margin-top:5px !important;margin-left:5px !important;margin-right:5px !important;}iframe.svelte-1srw9ar {border:none;width:100%;height:100%;margin:0px;padding:0px;}
|
|
4
4
|
/*!
|
package/manifest.json
CHANGED