@htmlbricks/hb-matrix-video 0.60.0 → 0.60.1
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,5 +1,5 @@
|
|
|
1
1
|
(function(er){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Ze=1,Qe=2,tr=4,dn=8,vn=16,hn=1,_n=2,rr="[",gt="[!",wt="]",Se={},D=Symbol(),pn="http://www.w3.org/1999/xhtml",nr=!1;var bt=Array.isArray,mn=Array.prototype.indexOf,yt=Array.from,et=Object.keys,Ae=Object.defineProperty,Ce=Object.getOwnPropertyDescriptor,gn=Object.getOwnPropertyDescriptors,wn=Object.prototype,bn=Array.prototype,ir=Object.getPrototypeOf,sr=Object.isExtensible;function ar(e){for(var t=0;t<e.length;t++)e[t]()}function yn(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const U=2,Et=4,$t=8,Re=16,ae=32,oe=64,lr=128,G=256,tt=512,F=1024,V=2048,fe=4096,Z=8192,_e=16384,xt=32768,Tt=65536,or=1<<17,En=1<<18,Ne=1<<19,$n=1<<20,St=1<<21,At=1<<22,pe=1<<23,Ct=Symbol("$state"),xn=Symbol("legacy props"),Tn=Symbol(""),Rt=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Ue=8;function Sn(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function An(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function Cn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Rn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Nn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function On(e){throw new Error("https://svelte.dev/e/effect_orphan")}function kn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function In(){throw new Error("https://svelte.dev/e/hydration_failed")}function Mn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Pn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Ln(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function rt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let N=!1;function Q(e){N=e}let R;function ue(e){if(e===null)throw rt(),Se;return R=e}function nt(){return ue(de(R))}function it(e){if(N){if(de(R)!==null)throw rt(),Se;R=e}}function Dn(e=1){if(N){for(var t=e,r=R;t--;)r=de(r);R=r}}function Nt(){for(var e=0,t=R;;){if(t.nodeType===Ue){var r=t.data;if(r===wt){if(e===0)return t;e-=1}else(r===rr||r===gt)&&(e+=1)}var n=de(t);t.remove(),t=n}}function fr(e){if(!e||e.nodeType!==Ue)throw rt(),Se;return e.data}function ur(e){return e===this.v}function jn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function cr(e){return!jn(e,this.v)}let Fn=!1,z=null;function st(e){z=e}function dr(e,t=!1,r){z={p:z,c:null,e:null,s:e,x:null,l:null}}function vr(e){var t=z,r=t.e;if(r!==null){t.e=null;for(var n of r)Ir(n)}return e!==void 0&&(t.x=e),z=t.p,e??{}}function hr(){return!0}const qn=new WeakMap;function Hn(e){var t=$;if(t===null)return x.f|=pe,e;if((t.f&xt)===0){if((t.f&lr)===0)throw!t.parent&&e instanceof Error&&_r(e),e;t.b.error(e)}else Ot(e,t)}function Ot(e,t){for(;t!==null;){if((t.f&lr)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e instanceof Error&&_r(e),e}function _r(e){const t=qn.get(e);t&&(Ae(e,"message",{value:t.message}),Ae(e,"stack",{value:t.stack}))}let We=[],kt=[];function pr(){var e=We;We=[],ar(e)}function Yn(){var e=kt;kt=[],ar(e)}function mr(e){We.length===0&&queueMicrotask(pr),We.push(e)}function Bn(){We.length>0&&pr(),kt.length>0&&Yn()}function Un(){const e=$.b;return e===null&&Sn(),e}function at(e){var t=U|V,r=x!==null&&(x.f&U)!==0?x:null;return $===null||r!==null&&(r.f&G)!==0?t|=G:$.f|=Ne,{ctx:z,deps:null,effects:null,equals:ur,f:t,fn:e,reactions:null,rv:0,v:D,wv:0,parent:r??$,ac:null}}function Wn(e,t){let r=$;r===null&&Cn();var n=r.b,i=void 0,s=Ge(D),a=null,l=!x;return ii(()=>{try{var o=e();a&&Promise.resolve(o).catch(()=>{})}catch(d){o=Promise.reject(d)}var f=()=>o;i=a?.then(f,f)??Promise.resolve(o),a=i;var u=P,v=n.is_pending();l&&(n.update_pending_count(1),v||u.increment());const h=(d,c=void 0)=>{a=null,v||u.activate(),c?c!==Rt&&(s.f|=pe,Ve(s,c)):((s.f&pe)!==0&&(s.f^=pe),Ve(s,d)),l&&(n.update_pending_count(-1),v||u.decrement()),br()};if(i.then(h,d=>h(null,d||"unknown")),u)return()=>{queueMicrotask(()=>u.neuter())}}),new Promise(o=>{function f(u){function v(){u===i?o(s):f(i)}u.then(v,v)}f(i)})}function Gn(e){const t=at(e);return Yr(t),t}function Vn(e){const t=at(e);return t.equals=cr,t}function gr(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)te(t[r])}}function zn(e){for(var t=e.parent;t!==null;){if((t.f&U)===0)return t;t=t.parent}return null}function It(e){var t,r=$;ne(zn(e));try{gr(e),t=Vr(e)}finally{ne(r)}return t}function wr(e){var t=It(e);if(e.equals(t)||(e.v=t,e.wv=Wr()),!Ee){var r=(ve||(e.f&G)!==0)&&e.deps!==null?fe:F;B(e,r)}}function Xn(e,t,r){const n=at;if(t.length===0){r(e.map(n));return}var i=P,s=$,a=Kn(),l=Un();Promise.all(t.map(o=>Wn(o))).then(o=>{i?.activate(),a();try{r([...e.map(n),...o])}catch(f){(s.f&_e)===0&&Ot(f,s)}i?.deactivate(),br()}).catch(o=>{l.error(o)})}function Kn(){var e=$,t=x,r=z,n=P;return function(){ne(e),X(t),st(r),n?.activate()}}function br(){ne(null),X(null),st(null)}const Mt=new Set;let P=null,yr=new Set,lt=[];function Er(){const e=lt.shift();lt.length>0&&queueMicrotask(Er),e()}let me=[],ot=null,Pt=!1,ft=!1;class ge{current=new Map;#t=new Map;#e=new Set;#r=0;#f=null;#u=!1;#i=[];#a=[];#s=[];#n=[];#l=[];#c=[];#d=[];skipped_effects=new Set;process(t){me=[];for(const i of t)this.#h(i);if(this.#i.length===0&&this.#r===0){this.#v();var r=this.#s,n=this.#n;this.#s=[],this.#n=[],this.#l=[],P=null,xr(r),xr(n),P===null?P=this:Mt.delete(this),this.#f?.resolve()}else this.#o(this.#s),this.#o(this.#n),this.#o(this.#l);for(const i of this.#i)Pe(i);for(const i of this.#a)Pe(i);this.#i=[],this.#a=[]}#h(t){t.f^=F;for(var r=t.first;r!==null;){var n=r.f,i=(n&(ae|oe))!==0,s=i&&(n&F)!==0,a=s||(n&Z)!==0||this.skipped_effects.has(r);if(!a&&r.fn!==null){if(i)r.f^=F;else if((n&Et)!==0)this.#n.push(r);else if((n&F)===0)if((n&At)!==0){var l=r.b?.is_pending()?this.#a:this.#i;l.push(r)}else ct(r)&&((r.f&Re)!==0&&this.#l.push(r),Pe(r));var o=r.first;if(o!==null){r=o;continue}}var f=r.parent;for(r=r.next;r===null&&f!==null;)r=f.next,f=f.parent}}#o(t){for(const r of t)((r.f&V)!==0?this.#c:this.#d).push(r),B(r,F);t.length=0}capture(t,r){this.#t.has(t)||this.#t.set(t,r),this.current.set(t,t.v)}activate(){P=this}deactivate(){P=null;for(const t of yr)if(yr.delete(t),t(),P!==null)break}neuter(){this.#u=!0}flush(){me.length>0?$r():this.#v(),P===this&&(this.#r===0&&Mt.delete(this),this.deactivate())}#v(){if(!this.#u)for(const t of this.#e)t();this.#e.clear()}increment(){this.#r+=1}decrement(){if(this.#r-=1,this.#r===0){for(const t of this.#c)B(t,V),Oe(t);for(const t of this.#d)B(t,fe),Oe(t);this.#s=[],this.#n=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#f??=yn()).promise}static ensure(){if(P===null){const t=P=new ge;Mt.add(P),ft||ge.enqueue(()=>{P===t&&t.flush()})}return P}static enqueue(t){lt.length===0&&queueMicrotask(Er),lt.unshift(t)}}function Lt(e){var t=ft;ft=!0;try{for(var r;;){if(Bn(),me.length===0&&(P?.flush(),me.length===0))return ot=null,r;$r()}}finally{ft=t}}function $r(){var e=Me;Pt=!0;try{var t=0;for(qr(!0);me.length>0;){var r=ge.ensure();if(t++>1e3){var n,i;Jn()}r.process(me),ce.clear()}}finally{Pt=!1,qr(e),ot=null}}function Jn(){try{kn()}catch(e){Ot(e,ot)}}let we=null;function xr(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(_e|Z))===0&&ct(n)&&(we=[],Pe(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?Dr(n):n.fn=null),we?.length>0)){ce.clear();for(const i of we)Pe(i);we=[]}}we=null}}function Oe(e){for(var t=ot=e;t.parent!==null;){t=t.parent;var r=t.f;if(Pt&&t===$&&(r&Re)!==0)return;if((r&(oe|ae))!==0){if((r&F)===0)return;t.f^=F}}me.push(t)}const ce=new Map;function Ge(e,t){var r={f:0,v:e,reactions:null,equals:ur,rv:0,wv:0};return r}function q(e,t){const r=Ge(e);return Yr(r),r}function Tr(e,t=!1,r=!0){const n=Ge(e);return t||(n.equals=cr),n}function H(e,t,r=!1){x!==null&&(!re||(x.f&or)!==0)&&hr()&&(x.f&(U|Re|At|or))!==0&&!le?.includes(e)&&Ln();let n=r?be(t):t;return Ve(e,n)}function Ve(e,t){if(!e.equals(t)){var r=e.v;Ee?ce.set(e,t):ce.set(e,r),e.v=t;var n=ge.ensure();n.capture(e,r),(e.f&U)!==0&&((e.f&V)!==0&&It(e),B(e,(e.f&G)===0?F:fe)),e.wv=Wr(),Sr(e,V),$!==null&&($.f&F)!==0&&($.f&(ae|oe))===0&&(K===null?oi([e]):K.push(e))}return t}function Dt(e){H(e,e.v+1)}function Sr(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i],a=s.f,l=(a&V)===0;l&&B(s,t),(a&U)!==0?Sr(s,fe):l&&((a&Re)!==0&&we!==null&&we.push(s),Oe(s))}}function be(e){if(typeof e!="object"||e===null||Ct in e)return e;const t=ir(e);if(t!==wn&&t!==bn)return e;var r=new Map,n=bt(e),i=q(0),s=$e,a=l=>{if($e===s)return l();var o=x,f=$e;X(null),Ur(s);var u=l();return X(o),Ur(f),u};return n&&r.set("length",q(e.length)),new Proxy(e,{defineProperty(l,o,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Mn();var u=r.get(o);return u===void 0?u=a(()=>{var v=q(f.value);return r.set(o,v),v}):H(u,f.value,!0),!0},deleteProperty(l,o){var f=r.get(o);if(f===void 0){if(o in l){const u=a(()=>q(D));r.set(o,u),Dt(i)}}else H(f,D),Dt(i);return!0},get(l,o,f){if(o===Ct)return e;var u=r.get(o),v=o in l;if(u===void 0&&(!v||Ce(l,o)?.writable)&&(u=a(()=>{var d=be(v?l[o]:D),c=q(d);return c}),r.set(o,u)),u!==void 0){var h=w(u);return h===D?void 0:h}return Reflect.get(l,o,f)},getOwnPropertyDescriptor(l,o){var f=Reflect.getOwnPropertyDescriptor(l,o);if(f&&"value"in f){var u=r.get(o);u&&(f.value=w(u))}else if(f===void 0){var v=r.get(o),h=v?.v;if(v!==void 0&&h!==D)return{enumerable:!0,configurable:!0,value:h,writable:!0}}return f},has(l,o){if(o===Ct)return!0;var f=r.get(o),u=f!==void 0&&f.v!==D||Reflect.has(l,o);if(f!==void 0||$!==null&&(!u||Ce(l,o)?.writable)){f===void 0&&(f=a(()=>{var h=u?be(l[o]):D,d=q(h);return d}),r.set(o,f));var v=w(f);if(v===D)return!1}return u},set(l,o,f,u){var v=r.get(o),h=o in l;if(n&&o==="length")for(var d=f;d<v.v;d+=1){var c=r.get(d+"");c!==void 0?H(c,D):d in l&&(c=a(()=>q(D)),r.set(d+"",c))}if(v===void 0)(!h||Ce(l,o)?.writable)&&(v=a(()=>q(void 0)),H(v,be(f)),r.set(o,v));else{h=v.v!==D;var p=a(()=>be(f));H(v,p)}var y=Reflect.getOwnPropertyDescriptor(l,o);if(y?.set&&y.set.call(u,f),!h){if(n&&typeof o=="string"){var T=r.get("length"),E=Number(o);Number.isInteger(E)&&E>=T.v&&H(T,E+1)}Dt(i)}return!0},ownKeys(l){w(i);var o=Reflect.ownKeys(l).filter(v=>{var h=r.get(v);return h===void 0||h.v!==D});for(var[f,u]of r)u.v!==D&&!(f in l)&&o.push(f);return o},setPrototypeOf(){Pn()}})}var jt,Ar,Cr,Rr;function Ft(){if(jt===void 0){jt=window,Ar=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Cr=Ce(t,"firstChild").get,Rr=Ce(t,"nextSibling").get,sr(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),sr(r)&&(r.__t=void 0)}}function ke(e=""){return document.createTextNode(e)}function ye(e){return Cr.call(e)}function de(e){return Rr.call(e)}function qt(e,t){if(!N)return ye(e);var r=ye(R);return r===null&&(r=R.appendChild(ke())),ue(r),r}function ut(e,t){if(!N){var r=ye(e);return r instanceof Comment&&r.data===""?de(r):r}return R}function Nr(e){e.textContent=""}function Or(){return!1}function Ht(e){var t=x,r=$;X(null),ne(null);try{return e()}finally{X(t),ne(r)}}function Zn(e){$===null&&x===null&&On(),x!==null&&(x.f&G)!==0&&$===null&&Nn(),Ee&&Rn()}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 ee(e,t,r,n=!0){var i=$;i!==null&&(i.f&Z)!==0&&(e|=Z);var s={ctx:z,deps:null,nodes_start:null,nodes_end:null,f:e|V,first:null,fn:t,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{Pe(s),s.f|=xt}catch(o){throw te(s),o}else t!==null&&Oe(s);if(n){var a=s;if(r&&a.deps===null&&a.teardown===null&&a.nodes_start===null&&a.first===a.last&&(a.f&Ne)===0&&(a=a.first),a!==null&&(a.parent=i,i!==null&&Qn(a,i),x!==null&&(x.f&U)!==0&&(e&oe)===0)){var l=x;(l.effects??=[]).push(a)}}return s}function ei(e){const t=ee($t,null,!1);return B(t,F),t.teardown=e,t}function kr(e){Zn();var t=$.f,r=!x&&(t&ae)!==0&&(t&xt)===0;if(r){var n=z;(n.e??=[]).push(e)}else return Ir(e)}function Ir(e){return ee(Et|$n,e,!1)}function ti(e){ge.ensure();const t=ee(oe|Ne,e,!0);return()=>{te(t)}}function ri(e){ge.ensure();const t=ee(oe|Ne,e,!0);return(r={})=>new Promise(n=>{r.outro?Yt(t,()=>{te(t),n(void 0)}):(te(t),n(void 0))})}function ni(e){return ee(Et,e,!1)}function ii(e){return ee(At|Ne,e,!0)}function si(e,t=0){return ee($t|t,e,!0)}function ze(e,t=[],r=[]){Xn(t,r,n=>{ee($t,()=>e(...n.map(w)),!0)})}function Mr(e,t=0){var r=ee(Re|t,e,!0);return r}function Ie(e,t=!0){return ee(ae|Ne,e,!0,t)}function Pr(e){var t=e.teardown;if(t!==null){const r=Ee,n=x;Hr(!0),X(null);try{t.call(null)}finally{Hr(r),X(n)}}}function Lr(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&Ht(()=>{i.abort(Rt)});var n=r.next;(r.f&oe)!==0?r.parent=null:te(r,t),r=n}}function ai(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&ae)===0&&te(t),t=r}}function te(e,t=!0){var r=!1;(t||(e.f&En)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(li(e.nodes_start,e.nodes_end),r=!0),Lr(e,t&&!r),dt(e,0),B(e,_e);var n=e.transitions;if(n!==null)for(const s of n)s.stop();Pr(e);var i=e.parent;i!==null&&i.first!==null&&Dr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function li(e,t){for(;e!==null;){var r=e===t?null:de(e);e.remove(),e=r}}function Dr(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function Yt(e,t){var r=[];Bt(e,r,!0),jr(r,()=>{te(e),t&&t()})}function jr(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var i of e)i.out(n)}else t()}function Bt(e,t,r){if((e.f&Z)===0){if(e.f^=Z,e.transitions!==null)for(const a of e.transitions)(a.is_global||r)&&t.push(a);for(var n=e.first;n!==null;){var i=n.next,s=(n.f&Tt)!==0||(n.f&ae)!==0;Bt(n,t,s?r:!1),n=i}}}function Ut(e){Fr(e,!0)}function Fr(e,t){if((e.f&Z)!==0){e.f^=Z,(e.f&F)===0&&(B(e,V),Oe(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&Tt)!==0||(r.f&ae)!==0;Fr(r,i?t:!1),r=n}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}let Me=!1;function qr(e){Me=e}let Ee=!1;function Hr(e){Ee=e}let x=null,re=!1;function X(e){x=e}let $=null;function ne(e){$=e}let le=null;function Yr(e){x!==null&&(le===null?le=[e]:le.push(e))}let Y=null,W=0,K=null;function oi(e){K=e}let Br=1,Xe=0,$e=Xe;function Ur(e){$e=e}let ve=!1;function Wr(){return++Br}function ct(e){var t=e.f;if((t&V)!==0)return!0;if((t&fe)!==0){var r=e.deps,n=(t&G)!==0;if(r!==null){var i,s,a=(t&tt)!==0,l=n&&$!==null&&!ve,o=r.length;if((a||l)&&($===null||($.f&_e)===0)){var f=e,u=f.parent;for(i=0;i<o;i++)s=r[i],(a||!s?.reactions?.includes(f))&&(s.reactions??=[]).push(f);a&&(f.f^=tt),l&&u!==null&&(u.f&G)===0&&(f.f^=G)}for(i=0;i<o;i++)if(s=r[i],ct(s)&&wr(s),s.wv>e.wv)return!0}(!n||$!==null&&!ve)&&B(e,F)}return!1}function Gr(e,t,r=!0){var n=e.reactions;if(n!==null&&!le?.includes(e))for(var i=0;i<n.length;i++){var s=n[i];(s.f&U)!==0?Gr(s,t,!1):t===s&&(r?B(s,V):(s.f&F)!==0&&B(s,fe),Oe(s))}}function Vr(e){var t=Y,r=W,n=K,i=x,s=ve,a=le,l=z,o=re,f=$e,u=e.f;Y=null,W=0,K=null,ve=(u&G)!==0&&(re||!Me||x===null),x=(u&(ae|oe))===0?e:null,le=null,st(e.ctx),re=!1,$e=++Xe,e.ac!==null&&(Ht(()=>{e.ac.abort(Rt)}),e.ac=null);try{e.f|=St;var v=e.fn,h=v(),d=e.deps;if(Y!==null){var c;if(dt(e,W),d!==null&&W>0)for(d.length=W+Y.length,c=0;c<Y.length;c++)d[W+c]=Y[c];else e.deps=d=Y;if(!ve||(u&U)!==0&&e.reactions!==null)for(c=W;c<d.length;c++)(d[c].reactions??=[]).push(e)}else d!==null&&W<d.length&&(dt(e,W),d.length=W);if(hr()&&K!==null&&!re&&d!==null&&(e.f&(U|fe|V))===0)for(c=0;c<K.length;c++)Gr(K[c],e);return i!==null&&i!==e&&(Xe++,K!==null&&(n===null?n=K:n.push(...K))),(e.f&pe)!==0&&(e.f^=pe),h}catch(p){return Hn(p)}finally{e.f^=St,Y=t,W=r,K=n,x=i,ve=s,le=a,st(l),re=o,$e=f}}function fi(e,t){let r=t.reactions;if(r!==null){var n=mn.call(r,e);if(n!==-1){var i=r.length-1;i===0?r=t.reactions=null:(r[n]=r[i],r.pop())}}r===null&&(t.f&U)!==0&&(Y===null||!Y.includes(t))&&(B(t,fe),(t.f&(G|tt))===0&&(t.f^=tt),gr(t),dt(t,0))}function dt(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)fi(e,r[n])}function Pe(e){var t=e.f;if((t&_e)===0){B(e,F);var r=$,n=Me;$=e,Me=!0;try{(t&Re)!==0?ai(e):Lr(e),Pr(e);var i=Vr(e);e.teardown=typeof i=="function"?i:null,e.wv=Br;var s;nr&&Fn&&(e.f&V)!==0&&e.deps}finally{Me=n,$=r}}}function w(e){var t=e.f,r=(t&U)!==0;if(x!==null&&!re){var n=$!==null&&($.f&_e)!==0;if(!n&&!le?.includes(e)){var i=x.deps;if((x.f&St)!==0)e.rv<Xe&&(e.rv=Xe,Y===null&&i!==null&&i[W]===e?W++:Y===null?Y=[e]:(!ve||!Y.includes(e))&&Y.push(e));else{(x.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[x]:s.includes(x)||s.push(x)}}}else if(r&&e.deps===null&&e.effects===null){var a=e,l=a.parent;l!==null&&(l.f&G)===0&&(a.f^=G)}if(Ee){if(ce.has(e))return ce.get(e);if(r){a=e;var o=a.v;return((a.f&F)===0&&a.reactions!==null||zr(a))&&(o=It(a)),ce.set(a,o),o}}else r&&(a=e,ct(a)&&wr(a));if((e.f&pe)!==0)throw e.v;return e.v}function zr(e){if(e.v===D)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ce.has(t)||(t.f&U)!==0&&zr(t))return!0;return!1}function ui(e){var t=re;try{return re=!0,e()}finally{re=t}}const ci=-7169;function B(e,t){e.f=e.f&ci|t}const di=new Set,Xr=new Set;function vi(e){if(!N)return;e.removeAttribute("onload"),e.removeAttribute("onerror");const t=e.__e;t!==void 0&&(e.__e=void 0,queueMicrotask(()=>{e.isConnected&&e.dispatchEvent(t)}))}function hi(e,t,r,n={}){function i(s){if(n.capture||Ke.call(t,s),!s.cancelBubble)return Ht(()=>r?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?mr(()=>{t.addEventListener(e,i,n)}):t.addEventListener(e,i,n),i}function vt(e,t,r,n,i){var s={capture:n,passive:i},a=hi(e,t,r,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&ei(()=>{t.removeEventListener(e,a,s)})}let Kr=null;function Ke(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Kr=e;var a=0,l=Kr===e&&e.__root;if(l){var o=i.indexOf(l);if(o!==-1&&(t===document||t===window)){e.__root=t;return}var f=i.indexOf(t);if(f===-1)return;o<=f&&(a=o)}if(s=i[a]||e.target,s!==t){Ae(e,"currentTarget",{configurable:!0,get(){return s||r}});var u=x,v=$;X(null),ne(null);try{for(var h,d=[];s!==null;){var c=s.assignedSlot||s.parentNode||s.host||null;try{var p=s["__"+n];if(p!=null&&(!s.disabled||e.target===s))if(bt(p)){var[y,...T]=p;y.apply(s,[e,...T])}else p.call(s,e)}catch(E){h?d.push(E):h=E}if(e.cancelBubble||c===t||c===null)break;s=c}if(h){for(let E of d)queueMicrotask(()=>{throw E});throw h}}finally{e.__root=t,delete e.currentTarget,X(u),ne(v)}}}function _i(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Le(e,t){var r=$;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function xe(e,t){var r=(t&hn)!==0,n=(t&_n)!==0,i,s=!e.startsWith("<!>");return()=>{if(N)return Le(R,null),R;i===void 0&&(i=_i(s?e:"<!>"+e),r||(i=ye(i)));var a=n||Ar?document.importNode(i,!0):i.cloneNode(!0);if(r){var l=ye(a),o=a.lastChild;Le(l,o)}else Le(a,a);return a}}function ht(){if(N)return Le(R,null),R;var e=document.createDocumentFragment(),t=document.createComment(""),r=ke();return e.append(t,r),Le(t,r),e}function J(e,t){if(N){$.nodes_end=R,nt();return}e!==null&&e.before(t)}const pi=["touchstart","touchmove"];function mi(e){return pi.includes(e)}function Jr(e,t){return Zr(e,t)}function gi(e,t){Ft(),t.intro=t.intro??!1;const r=t.target,n=N,i=R;try{for(var s=ye(r);s&&(s.nodeType!==Ue||s.data!==rr);)s=de(s);if(!s)throw Se;Q(!0),ue(s),nt();const a=Zr(e,{...t,anchor:s});if(R===null||R.nodeType!==Ue||R.data!==wt)throw rt(),Se;return Q(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
|
|
2
|
-
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw a;return a!==Se&&console.warn("Failed to hydrate: ",a),t.recover===!1&&In(),Ft(),Nr(r),Q(!1),Jr(e,t)}finally{Q(n),ue(i)}}const De=new Map;function Zr(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:a=!0}){Ft();var l=new Set,o=v=>{for(var h=0;h<v.length;h++){var d=v[h];if(!l.has(d)){l.add(d);var c=mi(d);t.addEventListener(d,Ke,{passive:c});var p=De.get(d);p===void 0?(document.addEventListener(d,Ke,{passive:c}),De.set(d,1)):De.set(d,p+1)}}};o(yt(di)),Xr.add(o);var f=void 0,u=ri(()=>{var v=r??t.appendChild(ke());return Ie(()=>{if(s){dr({});var h=z;h.c=s}i&&(n.$$events=i),N&&Le(v,null),f=e(v,n)||{},N&&($.nodes_end=R),s&&vr()}),()=>{for(var h of l){t.removeEventListener(h,Ke);var d=De.get(h);--d===0?(document.removeEventListener(h,Ke),De.delete(h)):De.set(h,d)}Xr.delete(o),v!==r&&v.parentNode?.removeChild(v)}});return Wt.set(f,u),f}let Wt=new WeakMap;function wi(e,t){const r=Wt.get(e);return r?(Wt.delete(e),r(t)):Promise.resolve()}function bi(e){z===null&&An(),kr(()=>{const t=ui(e);if(typeof t=="function")return t})}function Je(e,t,r=!1){N&&nt();var n=e,i=null,s=null,a=D,l=r?Tt:0,o=!1;const f=(d,c=!0)=>{o=!0,h(c,d)};var u=null;function v(){u!==null&&(u.lastChild.remove(),n.before(u),u=null);var d=a?i:s,c=a?s:i;d&&Ut(d),c&&Yt(c,()=>{a?s=null:i=null})}const h=(d,c)=>{if(a===(a=d))return;let p=!1;if(N){const O=fr(n)===gt;!!a===O&&(n=Nt(),ue(n),Q(!1),p=!0)}var y=Or(),T=n;if(y&&(u=document.createDocumentFragment(),u.append(T=ke())),a?i??=c&&Ie(()=>c(T)):s??=c&&Ie(()=>c(T)),y){var E=P,L=a?i:s,j=a?s:i;L&&E.skipped_effects.delete(L),j&&E.skipped_effects.add(j),E.add_callback(v)}else v();p&&Q(!0)};Mr(()=>{o=!1,t(f),o||h(null,null)},l),N&&(n=R)}function yi(e,t,r){for(var n=e.items,i=[],s=t.length,a=0;a<s;a++)Bt(t[a].e,i,!0);var l=s>0&&i.length===0&&r!==null;if(l){var o=r.parentNode;Nr(o),o.append(r),n.clear(),ie(e,t[0].prev,t[s-1].next)}jr(i,()=>{for(var f=0;f<s;f++){var u=t[f];l||(n.delete(u.k),ie(e,u.prev,u.next)),te(u.e,!l)}})}function Qr(e,t,r,n,i,s=null){var a=e,l={flags:t,items:new Map,first:null},o=(t&tr)!==0;if(o){var f=e;a=N?ue(ye(f)):f.appendChild(ke())}N&&nt();var u=null,v=!1,h=new Map,d=Vn(()=>{var T=r();return bt(T)?T:T==null?[]:yt(T)}),c,p;function y(){Ei(p,c,l,h,a,i,t,n,r),s!==null&&(c.length===0?u?Ut(u):u=Ie(()=>s(a)):u!==null&&Yt(u,()=>{u=null}))}Mr(()=>{p??=$,c=w(d);var T=c.length;if(v&&T===0)return;v=T===0;let E=!1;if(N){var L=fr(a)===gt;L!==(T===0)&&(a=Nt(),ue(a),Q(!1),E=!0)}if(N){for(var j=null,O,_=0;_<T;_++){if(R.nodeType===Ue&&R.data===wt){a=R,E=!0,Q(!1);break}var b=c[_],A=n(b,_);O=Gt(R,l,j,null,b,A,_,i,t,r),l.items.set(A,O),j=O}T>0&&ue(Nt())}if(N)T===0&&s&&(u=Ie(()=>s(a)));else if(Or()){var k=new Set,I=P;for(_=0;_<T;_+=1){b=c[_],A=n(b,_);var S=l.items.get(A)??h.get(A);S?(t&(Ze|Qe))!==0&&en(S,b,_,t):(O=Gt(null,l,null,null,b,A,_,i,t,r,!0),h.set(A,O)),k.add(A)}for(const[C,m]of l.items)k.has(C)||I.skipped_effects.add(m.e);I.add_callback(y)}else y();E&&Q(!0),w(d)}),N&&(a=R)}function Ei(e,t,r,n,i,s,a,l,o){var f=(a&dn)!==0,u=(a&(Ze|Qe))!==0,v=t.length,h=r.items,d=r.first,c=d,p,y=null,T,E=[],L=[],j,O,_,b;if(f)for(b=0;b<v;b+=1)j=t[b],O=l(j,b),_=h.get(O),_!==void 0&&(_.a?.measure(),(T??=new Set).add(_));for(b=0;b<v;b+=1){if(j=t[b],O=l(j,b),_=h.get(O),_===void 0){var A=n.get(O);if(A!==void 0){n.delete(O),h.set(O,A);var k=y?y.next:c;ie(r,y,A),ie(r,A,k),Vt(A,k,i),y=A}else{var I=c?c.e.nodes_start:i;y=Gt(I,r,y,y===null?r.first:y.next,j,O,b,s,a,o)}h.set(O,y),E=[],L=[],c=y.next;continue}if(u&&en(_,j,b,a),(_.e.f&Z)!==0&&(Ut(_.e),f&&(_.a?.unfix(),(T??=new Set).delete(_))),_!==c){if(p!==void 0&&p.has(_)){if(E.length<L.length){var S=L[0],C;y=S.prev;var m=E[0],g=E[E.length-1];for(C=0;C<E.length;C+=1)Vt(E[C],S,i);for(C=0;C<L.length;C+=1)p.delete(L[C]);ie(r,m.prev,g.next),ie(r,y,m),ie(r,g,S),c=S,y=g,b-=1,E=[],L=[]}else p.delete(_),Vt(_,c,i),ie(r,_.prev,_.next),ie(r,_,y===null?r.first:y.next),ie(r,y,_),y=_;continue}for(E=[],L=[];c!==null&&c.k!==O;)(c.e.f&Z)===0&&(p??=new Set).add(c),L.push(c),c=c.next;if(c===null)continue;_=c}E.push(_),y=_,c=_.next}if(c!==null||p!==void 0){for(var M=p===void 0?[]:yt(p);c!==null;)(c.e.f&Z)===0&&M.push(c),c=c.next;var Te=M.length;if(Te>0){var Kt=(a&tr)!==0&&v===0?i:null;if(f){for(b=0;b<Te;b+=1)M[b].a?.measure();for(b=0;b<Te;b+=1)M[b].a?.fix()}yi(r,M,Kt)}}f&&mr(()=>{if(T!==void 0)for(_ of T)_.a?.apply()}),e.first=r.first&&r.first.e,e.last=y&&y.e;for(var se of n.values())te(se.e);n.clear()}function en(e,t,r,n){(n&Ze)!==0&&Ve(e.v,t),(n&Qe)!==0?Ve(e.i,r):e.i=r}function Gt(e,t,r,n,i,s,a,l,o,f,u){var v=(o&Ze)!==0,h=(o&vn)===0,d=v?h?Tr(i,!1,!1):Ge(i):i,c=(o&Qe)===0?a:Ge(a),p={i:c,v:d,k:s,a:null,e:null,prev:r,next:n};try{if(e===null){var y=document.createDocumentFragment();y.append(e=ke())}return p.e=Ie(()=>l(e,d,c,f),N),p.e.prev=r&&r.e,p.e.next=n&&n.e,r===null?u||(t.first=p):(r.next=p,r.e.next=p.e),n!==null&&(n.prev=p,n.e.prev=p.e),p}finally{}}function Vt(e,t,r){for(var n=e.next?e.next.e.nodes_start:r,i=t?t.e.nodes_start:r,s=e.e.nodes_start;s!==null&&s!==n;){var a=de(s);i.before(s),s=a}}function ie(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 $i(e,t){ni(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}const xi=Symbol("is custom element"),Ti=Symbol("is html");function je(e,t,r,n){var i=Si(e);N&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=r)&&(t==="loading"&&(e[Tn]=r),r==null?e.removeAttribute(t):typeof r!="string"&&tn(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function _t(e,t,r){var n=x,i=$;let s=N;N&&Q(!1),X(null),ne(null);try{t!=="style"&&(zt.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?tn(e).includes(t):r&&typeof r=="object")?e[t]=r:je(e,t,r==null?r:String(r))}finally{X(n),ne(i),s&&Q(!0)}}function Si(e){return e.__attributes??={[xi]:e.nodeName.includes("-"),[Ti]:e.namespaceURI===pn}}var zt=new Map;function tn(e){var t=e.getAttribute("is")||e.nodeName,r=zt.get(t);if(r)return r;zt.set(t,r=[]);for(var n,i=e,s=Element.prototype;s!==i;){n=gn(i);for(var a in n)n[a].set&&r.push(a);i=ir(i)}return r}function rn(e,t,r,n){var i=n,s=!0,a=()=>(s&&(s=!1,i=n),i),l;l=e[t],l===void 0&&n!==void 0&&(l=a());var o;o=()=>{var h=e[t];return h===void 0?a():(s=!0,h)};var f=!1,u=at(()=>(f=!1,o())),v=$;return(function(h,d){if(arguments.length>0){const c=d?w(u):h;return H(u,c),f=!0,i!==void 0&&(i=c),h}return Ee&&f||(v.f&_e)!==0?u.v:w(u)})}function Ai(e){return new Ci(e)}class Ci{#t;#e;constructor(t){var r=new Map,n=(s,a)=>{var l=Tr(a,!1,!1);return r.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return w(r.get(a)??n(a,Reflect.get(s,a)))},has(s,a){return a===xn?!0:(w(r.get(a)??n(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,l){return H(r.get(a)??n(a,l),l),Reflect.set(s,a,l)}});this.#e=(t.hydrate?gi:Jr)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&Lt(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||Ae(this,s,{get(){return this.#e[s]},set(a){this.#e[s]=a},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{wi(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...i)=>r.call(this,...i);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(i=>i!==n)}}$destroy(){this.#e.$destroy()}}let nn;typeof HTMLElement=="function"&&(nn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&this.attachShadow({mode:"open"})}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return i=>{const s=document.createElement("slot");n!=="default"&&(s.name=n),J(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=Ri(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const i=this.$$g_p(n.name);i in this.$$d||(this.$$d[i]=pt(i,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=Ai({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=ti(()=>{si(()=>{this.$$r=!0;for(const n of et(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=pt(n,this.$$d[n],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,i)}this.$$r=!1})});for(const n in this.$$l)for(const i of this.$$l[n]){const s=this.$$c.$on(n,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=pt(e,r,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return et(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function pt(e,t,r,n){const i=r[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){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(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Ri(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function Ni(e,t,r,n,i,s){let a=class extends nn{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return et(t).map(l=>(t[l].attribute||l).toLowerCase())}};return et(t).forEach(l=>{Ae(a.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(o){o=pt(l,o,t),this.$$d[l]=o;var f=this.$$c;if(f){var u=Ce(f,l)?.get;u?f[l]=o:f.$set({[l]:o})}}})}),n.forEach(l=>{Ae(a.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=a,a}const Oi={version:"0.60.0"};function sn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var mt={exports:{}},an;function ki(){if(an)return mt.exports;an=1;function e(t,r=100,n={}){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:i}=typeof n=="boolean"?{immediate:n}:n;let s,a,l,o,f;function u(){const d=s,c=a;return s=void 0,a=void 0,f=t.apply(d,c),f}function v(){const d=Date.now()-o;d<r&&d>=0?l=setTimeout(v,r-d):(l=void 0,i||(f=u()))}const h=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,a=d,o=Date.now();const c=i&&!l;return l||(l=setTimeout(v,r)),c&&(f=u()),f};return Object.defineProperty(h,"isPending",{get(){return l!==void 0}}),h.clear=()=>{l&&(clearTimeout(l),l=void 0)},h.flush=()=>{l&&h.trigger()},h.trigger=()=>{f=u(),h.clear()},h}return mt.exports.debounce=e,mt.exports=e,mt.exports}var Ii=ki();const Mi=sn(Ii);var Fe={},Xt,ln;function Pi(){if(ln)return Xt;ln=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,l=/^\s+|\s+$/g,o=`
|
|
2
|
+
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw a;return a!==Se&&console.warn("Failed to hydrate: ",a),t.recover===!1&&In(),Ft(),Nr(r),Q(!1),Jr(e,t)}finally{Q(n),ue(i)}}const De=new Map;function Zr(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:a=!0}){Ft();var l=new Set,o=v=>{for(var h=0;h<v.length;h++){var d=v[h];if(!l.has(d)){l.add(d);var c=mi(d);t.addEventListener(d,Ke,{passive:c});var p=De.get(d);p===void 0?(document.addEventListener(d,Ke,{passive:c}),De.set(d,1)):De.set(d,p+1)}}};o(yt(di)),Xr.add(o);var f=void 0,u=ri(()=>{var v=r??t.appendChild(ke());return Ie(()=>{if(s){dr({});var h=z;h.c=s}i&&(n.$$events=i),N&&Le(v,null),f=e(v,n)||{},N&&($.nodes_end=R),s&&vr()}),()=>{for(var h of l){t.removeEventListener(h,Ke);var d=De.get(h);--d===0?(document.removeEventListener(h,Ke),De.delete(h)):De.set(h,d)}Xr.delete(o),v!==r&&v.parentNode?.removeChild(v)}});return Wt.set(f,u),f}let Wt=new WeakMap;function wi(e,t){const r=Wt.get(e);return r?(Wt.delete(e),r(t)):Promise.resolve()}function bi(e){z===null&&An(),kr(()=>{const t=ui(e);if(typeof t=="function")return t})}function Je(e,t,r=!1){N&&nt();var n=e,i=null,s=null,a=D,l=r?Tt:0,o=!1;const f=(d,c=!0)=>{o=!0,h(c,d)};var u=null;function v(){u!==null&&(u.lastChild.remove(),n.before(u),u=null);var d=a?i:s,c=a?s:i;d&&Ut(d),c&&Yt(c,()=>{a?s=null:i=null})}const h=(d,c)=>{if(a===(a=d))return;let p=!1;if(N){const O=fr(n)===gt;!!a===O&&(n=Nt(),ue(n),Q(!1),p=!0)}var y=Or(),T=n;if(y&&(u=document.createDocumentFragment(),u.append(T=ke())),a?i??=c&&Ie(()=>c(T)):s??=c&&Ie(()=>c(T)),y){var E=P,L=a?i:s,j=a?s:i;L&&E.skipped_effects.delete(L),j&&E.skipped_effects.add(j),E.add_callback(v)}else v();p&&Q(!0)};Mr(()=>{o=!1,t(f),o||h(null,null)},l),N&&(n=R)}function yi(e,t,r){for(var n=e.items,i=[],s=t.length,a=0;a<s;a++)Bt(t[a].e,i,!0);var l=s>0&&i.length===0&&r!==null;if(l){var o=r.parentNode;Nr(o),o.append(r),n.clear(),ie(e,t[0].prev,t[s-1].next)}jr(i,()=>{for(var f=0;f<s;f++){var u=t[f];l||(n.delete(u.k),ie(e,u.prev,u.next)),te(u.e,!l)}})}function Qr(e,t,r,n,i,s=null){var a=e,l={flags:t,items:new Map,first:null},o=(t&tr)!==0;if(o){var f=e;a=N?ue(ye(f)):f.appendChild(ke())}N&&nt();var u=null,v=!1,h=new Map,d=Vn(()=>{var T=r();return bt(T)?T:T==null?[]:yt(T)}),c,p;function y(){Ei(p,c,l,h,a,i,t,n,r),s!==null&&(c.length===0?u?Ut(u):u=Ie(()=>s(a)):u!==null&&Yt(u,()=>{u=null}))}Mr(()=>{p??=$,c=w(d);var T=c.length;if(v&&T===0)return;v=T===0;let E=!1;if(N){var L=fr(a)===gt;L!==(T===0)&&(a=Nt(),ue(a),Q(!1),E=!0)}if(N){for(var j=null,O,_=0;_<T;_++){if(R.nodeType===Ue&&R.data===wt){a=R,E=!0,Q(!1);break}var b=c[_],A=n(b,_);O=Gt(R,l,j,null,b,A,_,i,t,r),l.items.set(A,O),j=O}T>0&&ue(Nt())}if(N)T===0&&s&&(u=Ie(()=>s(a)));else if(Or()){var k=new Set,I=P;for(_=0;_<T;_+=1){b=c[_],A=n(b,_);var S=l.items.get(A)??h.get(A);S?(t&(Ze|Qe))!==0&&en(S,b,_,t):(O=Gt(null,l,null,null,b,A,_,i,t,r,!0),h.set(A,O)),k.add(A)}for(const[C,m]of l.items)k.has(C)||I.skipped_effects.add(m.e);I.add_callback(y)}else y();E&&Q(!0),w(d)}),N&&(a=R)}function Ei(e,t,r,n,i,s,a,l,o){var f=(a&dn)!==0,u=(a&(Ze|Qe))!==0,v=t.length,h=r.items,d=r.first,c=d,p,y=null,T,E=[],L=[],j,O,_,b;if(f)for(b=0;b<v;b+=1)j=t[b],O=l(j,b),_=h.get(O),_!==void 0&&(_.a?.measure(),(T??=new Set).add(_));for(b=0;b<v;b+=1){if(j=t[b],O=l(j,b),_=h.get(O),_===void 0){var A=n.get(O);if(A!==void 0){n.delete(O),h.set(O,A);var k=y?y.next:c;ie(r,y,A),ie(r,A,k),Vt(A,k,i),y=A}else{var I=c?c.e.nodes_start:i;y=Gt(I,r,y,y===null?r.first:y.next,j,O,b,s,a,o)}h.set(O,y),E=[],L=[],c=y.next;continue}if(u&&en(_,j,b,a),(_.e.f&Z)!==0&&(Ut(_.e),f&&(_.a?.unfix(),(T??=new Set).delete(_))),_!==c){if(p!==void 0&&p.has(_)){if(E.length<L.length){var S=L[0],C;y=S.prev;var m=E[0],g=E[E.length-1];for(C=0;C<E.length;C+=1)Vt(E[C],S,i);for(C=0;C<L.length;C+=1)p.delete(L[C]);ie(r,m.prev,g.next),ie(r,y,m),ie(r,g,S),c=S,y=g,b-=1,E=[],L=[]}else p.delete(_),Vt(_,c,i),ie(r,_.prev,_.next),ie(r,_,y===null?r.first:y.next),ie(r,y,_),y=_;continue}for(E=[],L=[];c!==null&&c.k!==O;)(c.e.f&Z)===0&&(p??=new Set).add(c),L.push(c),c=c.next;if(c===null)continue;_=c}E.push(_),y=_,c=_.next}if(c!==null||p!==void 0){for(var M=p===void 0?[]:yt(p);c!==null;)(c.e.f&Z)===0&&M.push(c),c=c.next;var Te=M.length;if(Te>0){var Kt=(a&tr)!==0&&v===0?i:null;if(f){for(b=0;b<Te;b+=1)M[b].a?.measure();for(b=0;b<Te;b+=1)M[b].a?.fix()}yi(r,M,Kt)}}f&&mr(()=>{if(T!==void 0)for(_ of T)_.a?.apply()}),e.first=r.first&&r.first.e,e.last=y&&y.e;for(var se of n.values())te(se.e);n.clear()}function en(e,t,r,n){(n&Ze)!==0&&Ve(e.v,t),(n&Qe)!==0?Ve(e.i,r):e.i=r}function Gt(e,t,r,n,i,s,a,l,o,f,u){var v=(o&Ze)!==0,h=(o&vn)===0,d=v?h?Tr(i,!1,!1):Ge(i):i,c=(o&Qe)===0?a:Ge(a),p={i:c,v:d,k:s,a:null,e:null,prev:r,next:n};try{if(e===null){var y=document.createDocumentFragment();y.append(e=ke())}return p.e=Ie(()=>l(e,d,c,f),N),p.e.prev=r&&r.e,p.e.next=n&&n.e,r===null?u||(t.first=p):(r.next=p,r.e.next=p.e),n!==null&&(n.prev=p,n.e.prev=p.e),p}finally{}}function Vt(e,t,r){for(var n=e.next?e.next.e.nodes_start:r,i=t?t.e.nodes_start:r,s=e.e.nodes_start;s!==null&&s!==n;){var a=de(s);i.before(s),s=a}}function ie(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 $i(e,t){ni(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}const xi=Symbol("is custom element"),Ti=Symbol("is html");function je(e,t,r,n){var i=Si(e);N&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=r)&&(t==="loading"&&(e[Tn]=r),r==null?e.removeAttribute(t):typeof r!="string"&&tn(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function _t(e,t,r){var n=x,i=$;let s=N;N&&Q(!1),X(null),ne(null);try{t!=="style"&&(zt.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?tn(e).includes(t):r&&typeof r=="object")?e[t]=r:je(e,t,r==null?r:String(r))}finally{X(n),ne(i),s&&Q(!0)}}function Si(e){return e.__attributes??={[xi]:e.nodeName.includes("-"),[Ti]:e.namespaceURI===pn}}var zt=new Map;function tn(e){var t=e.getAttribute("is")||e.nodeName,r=zt.get(t);if(r)return r;zt.set(t,r=[]);for(var n,i=e,s=Element.prototype;s!==i;){n=gn(i);for(var a in n)n[a].set&&r.push(a);i=ir(i)}return r}function rn(e,t,r,n){var i=n,s=!0,a=()=>(s&&(s=!1,i=n),i),l;l=e[t],l===void 0&&n!==void 0&&(l=a());var o;o=()=>{var h=e[t];return h===void 0?a():(s=!0,h)};var f=!1,u=at(()=>(f=!1,o())),v=$;return(function(h,d){if(arguments.length>0){const c=d?w(u):h;return H(u,c),f=!0,i!==void 0&&(i=c),h}return Ee&&f||(v.f&_e)!==0?u.v:w(u)})}function Ai(e){return new Ci(e)}class Ci{#t;#e;constructor(t){var r=new Map,n=(s,a)=>{var l=Tr(a,!1,!1);return r.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return w(r.get(a)??n(a,Reflect.get(s,a)))},has(s,a){return a===xn?!0:(w(r.get(a)??n(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,l){return H(r.get(a)??n(a,l),l),Reflect.set(s,a,l)}});this.#e=(t.hydrate?gi:Jr)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&Lt(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||Ae(this,s,{get(){return this.#e[s]},set(a){this.#e[s]=a},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{wi(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...i)=>r.call(this,...i);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(i=>i!==n)}}$destroy(){this.#e.$destroy()}}let nn;typeof HTMLElement=="function"&&(nn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&this.attachShadow({mode:"open"})}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return i=>{const s=document.createElement("slot");n!=="default"&&(s.name=n),J(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=Ri(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const i=this.$$g_p(n.name);i in this.$$d||(this.$$d[i]=pt(i,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=Ai({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=ti(()=>{si(()=>{this.$$r=!0;for(const n of et(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=pt(n,this.$$d[n],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,i)}this.$$r=!1})});for(const n in this.$$l)for(const i of this.$$l[n]){const s=this.$$c.$on(n,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=pt(e,r,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return et(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function pt(e,t,r,n){const i=r[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){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(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Ri(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function Ni(e,t,r,n,i,s){let a=class extends nn{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return et(t).map(l=>(t[l].attribute||l).toLowerCase())}};return et(t).forEach(l=>{Ae(a.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(o){o=pt(l,o,t),this.$$d[l]=o;var f=this.$$c;if(f){var u=Ce(f,l)?.get;u?f[l]=o:f.$set({[l]:o})}}})}),n.forEach(l=>{Ae(a.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=a,a}const Oi={version:"0.60.1"};function sn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var mt={exports:{}},an;function ki(){if(an)return mt.exports;an=1;function e(t,r=100,n={}){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:i}=typeof n=="boolean"?{immediate:n}:n;let s,a,l,o,f;function u(){const d=s,c=a;return s=void 0,a=void 0,f=t.apply(d,c),f}function v(){const d=Date.now()-o;d<r&&d>=0?l=setTimeout(v,r-d):(l=void 0,i||(f=u()))}const h=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,a=d,o=Date.now();const c=i&&!l;return l||(l=setTimeout(v,r)),c&&(f=u()),f};return Object.defineProperty(h,"isPending",{get(){return l!==void 0}}),h.clear=()=>{l&&(clearTimeout(l),l=void 0)},h.flush=()=>{l&&h.trigger()},h.trigger=()=>{f=u(),h.clear()},h}return mt.exports.debounce=e,mt.exports=e,mt.exports}var Ii=ki();const Mi=sn(Ii);var Fe={},Xt,ln;function Pi(){if(ln)return Xt;ln=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,l=/^\s+|\s+$/g,o=`
|
|
3
3
|
`,f="/",u="*",v="",h="comment",d="declaration";Xt=function(p,y){if(typeof p!="string")throw new TypeError("First argument must be a string");if(!p)return[];y=y||{};var T=1,E=1;function L(m){var g=m.match(t);g&&(T+=g.length);var M=m.lastIndexOf(o);E=~M?m.length-M:E+m.length}function j(){var m={line:T,column:E};return function(g){return g.position=new O(m),A(),g}}function O(m){this.start=m,this.end={line:T,column:E},this.source=y.source}O.prototype.content=p;function _(m){var g=new Error(y.source+":"+T+":"+E+": "+m);if(g.reason=m,g.filename=y.source,g.line=T,g.column=E,g.source=p,!y.silent)throw g}function b(m){var g=m.exec(p);if(g){var M=g[0];return L(M),p=p.slice(M.length),g}}function A(){b(r)}function k(m){var g;for(m=m||[];g=I();)g!==!1&&m.push(g);return m}function I(){var m=j();if(!(f!=p.charAt(0)||u!=p.charAt(1))){for(var g=2;v!=p.charAt(g)&&(u!=p.charAt(g)||f!=p.charAt(g+1));)++g;if(g+=2,v===p.charAt(g-1))return _("End of comment missing");var M=p.slice(2,g-2);return E+=2,L(M),p=p.slice(g),E+=2,m({type:h,comment:M})}}function S(){var m=j(),g=b(n);if(g){if(I(),!b(i))return _("property missing ':'");var M=b(s),Te=m({type:d,property:c(g[0].replace(e,v)),value:M?c(M[0].replace(e,v)):v});return b(a),Te}}function C(){var m=[];k(m);for(var g;g=S();)g!==!1&&(m.push(g),k(m));return m}return A(),C()};function c(p){return p?p.replace(l,v):v}return Xt}var on;function Li(){if(on)return Fe;on=1;var e=Fe&&Fe.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Fe,"__esModule",{value:!0}),Fe.default=r;var t=e(Pi());function r(n,i){var s=null;if(!n||typeof n!="string")return s;var a=(0,t.default)(n),l=typeof i=="function";return a.forEach(function(o){if(o.type==="declaration"){var f=o.property,u=o.value;l?i(f,u,o):u&&(s=s||{},s[f]=u)}}),s}return Fe}var Di=Li();const fn=sn(Di);fn.default;function ji(e){const t=e?.repoName.split("/")?.[1]||e?.repoName;if(!t)throw new Error("wrong componentPath "+e?.repoName);if(!e?.version)throw new Error("wrong version "+e?.version);const r=e?.iifePath||"main.iife.js";if(!document.getElementById(t+"-script"))try{const n=document.createElement("script");if(n.id=t+"-script",n.src=`https://cdn.jsdelivr.net/npm/${e.repoName}@${e.version}/${r}`,e?.local)n.src=`${e.local}`;else if(location.href.includes("localhost:6006")){const i=t.split("-")[0];n.src=`http://localhost:6006/webcomponents/${t.replace(i+"-","")}/${r}`}document.head.appendChild(n)}catch(n){console.warn(n)}}var Fi=xe('<iframe class="svelte-1srw9ar"></iframe>'),qi=xe("<hb-player-live></hb-player-live>",2),Hi=xe("<hb-player-live-camera-ptz></hb-player-live-camera-ptz>",2),Yi=xe('<video controls><source type="video/mp4"/> <track kind="captions" src="" srclang="en" label="English"/> Your browser does not support the video tag.</video>',2),Bi=xe('<div class="col svelte-1srw9ar" style="padding-right:0px;padding-left:0px;--bs-gutter-x: 0px;"><!></div>'),Ui=xe('<div class="row svelte-1srw9ar"></div>'),Wi=xe('<div id="matrix" class="svelte-1srw9ar"><!></div>');const Gi={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;
|
|
4
4
|
/* 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;}
|
|
5
5
|
/*!
|
package/manifest.json
CHANGED