@htmlbricks/hb-editor-video 0.65.23 → 0.66.0
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 +6 -6
- package/main.iife.js.map +1 -1
- package/manifest.json +3 -34
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
(function(Mr){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Yn=1,Fn=4,Hn=8,qn=16,Un=1,Bn=2,Tr="[",tr="[!",zr="]",it={},K=Symbol(),Wn="http://www.w3.org/1999/xhtml",rr=!1;var Jn=Array.isArray,Zn=Array.prototype.indexOf,Gn=Array.from,Dt=Object.keys,Vt=Object.defineProperty,Ze=Object.getOwnPropertyDescriptor,Kn=Object.getOwnPropertyDescriptors,Qn=Object.prototype,Xn=Array.prototype,Dr=Object.getPrototypeOf,Vr=Object.isExtensible;function es(e){for(var t=0;t<e.length;t++)e[t]()}function Or(){var e,t,r=new Promise((n,s)=>{e=n,t=s});return{promise:r,resolve:e,reject:t}}const Z=2,nr=4,sr=8,Te=16,ze=32,Ye=64,Ot=128,me=512,Q=1024,se=2048,De=4096,pe=8192,Ve=16384,Nt=32768,ot=65536,Nr=1<<17,ir=1<<18,Ge=1<<19,ts=1<<20,Ke=32768,or=1<<21,ar=1<<22,Fe=1<<23,At=Symbol("$state"),Ar=Symbol("legacy props"),rs=Symbol(""),at=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Cr=3,lt=8;function ns(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function ss(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function is(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function os(e){throw new Error("https://svelte.dev/e/effect_orphan")}function as(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function ls(){throw new Error("https://svelte.dev/e/hydration_failed")}function us(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function cs(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function fs(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function ds(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function vs(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Ct(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function hs(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let N=!1;function ye(e){N=e}let F;function ce(e){if(e===null)throw Ct(),it;return F=e}function lr(){return ce(we(F))}function ie(e){if(N){if(we(F)!==null)throw Ct(),it;F=e}}function ur(e=1){if(N){for(var t=e,r=F;t--;)r=we(r);F=r}}function Lr(e=!0){for(var t=0,r=F;;){if(r.nodeType===lt){var n=r.data;if(n===zr){if(t===0)return r;t-=1}else(n===Tr||n===tr)&&(t+=1)}var s=we(r);e&&r.remove(),r=s}}function bs(e){if(!e||e.nodeType!==lt)throw Ct(),it;return e.data}function Rr(e){return e===this.v}function ms(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Pr(e){return!ms(e,this.v)}let _s=!1,fe=null;function ut(e){fe=e}function Ir(e,t=!1,r){fe={p:fe,i:!1,c:null,e:null,s:e,x:null,l:null}}function jr(e){var t=fe,r=t.e;if(r!==null){t.e=null;for(var n of r)on(n)}return e!==void 0&&(t.x=e),t.i=!0,fe=t.p,e??{}}function Yr(){return!0}let Qe=[];function Fr(){var e=Qe;Qe=[],es(e)}function yt(e){if(Qe.length===0&&!wt){var t=Qe;queueMicrotask(()=>{t===Qe&&Fr()})}Qe.push(e)}function gs(){for(;Qe.length>0;)Fr()}function Hr(e){var t=O;if(t===null)return D.f|=Fe,e;if((t.f&Nt)===0){if((t.f&Ot)===0)throw e;t.b.error(e)}else ct(e,t)}function ct(e,t){for(;t!==null;){if((t.f&Ot)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e}const Lt=new Set;let P=null,Rt=null,de=null,ve=[],Pt=null,cr=!1,wt=!1;class _e{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#r=0;#n=0;#l=null;#i=[];#s=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#n>0}process(t){ve=[],Rt=null,this.apply();var r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of t)this.#o(n,r);this.is_fork||this.#c(),this.is_deferred()?(this.#a(r.effects),this.#a(r.render_effects),this.#a(r.block_effects)):(Rt=this,P=null,Ur(r.render_effects),Ur(r.effects),Rt=null,this.#l?.resolve()),de=null}#o(t,r){t.f^=Q;for(var n=t.first;n!==null;){var s=n.f,i=(s&(ze|Ye))!==0,o=i&&(s&Q)!==0,a=o||(s&pe)!==0||this.skipped_effects.has(n);if((n.f&Ot)!==0&&n.b?.is_pending()&&(r={parent:r,effect:n,effects:[],render_effects:[],block_effects:[]}),!a&&n.fn!==null){i?n.f^=Q:(s&nr)!==0?r.effects.push(n):St(n)&&((n.f&Te)!==0&&r.block_effects.push(n),Mt(n));var l=n.first;if(l!==null){n=l;continue}}var u=n.parent;for(n=n.next;n===null&&u!==null;)u===r.effect&&(this.#a(r.effects),this.#a(r.render_effects),this.#a(r.block_effects),r=r.parent),n=u.next,u=u.parent}}#a(t){for(const r of t)((r.f&se)!==0?this.#i:this.#s).push(r),this.#u(r.deps),ee(r,Q)}#u(t){if(t!==null)for(const r of t)(r.f&Z)===0||(r.f&Ke)===0||(r.f^=Ke,this.#u(r.deps))}capture(t,r){this.previous.has(t)||this.previous.set(t,r),(t.f&Fe)===0&&(this.current.set(t,t.v),de?.set(t,t.v))}activate(){P=this,this.apply()}deactivate(){P===this&&(P=null,de=null)}flush(){if(this.activate(),ve.length>0){if(qr(),P!==null&&P!==this)return}else this.#r===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#c(){if(this.#n===0){for(const t of this.#t)t();this.#t.clear()}this.#r===0&&this.#f()}#f(){if(Lt.size>1){this.previous.clear();var t=de,r=!0,n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const i of Lt){if(i===this){r=!1;continue}const o=[];for(const[l,u]of this.current){if(i.current.has(l))if(r&&u!==i.current.get(l))i.current.set(l,u);else continue;o.push(l)}if(o.length===0)continue;const a=[...i.current.keys()].filter(l=>!this.current.has(l));if(a.length>0){var s=ve;ve=[];const l=new Set,u=new Map;for(const _ of o)Br(_,a,l,u);if(ve.length>0){P=i,i.apply();for(const _ of ve)i.#o(_,n);i.deactivate()}ve=s}}P=null,de=t}this.committed=!0,Lt.delete(this)}increment(t){this.#r+=1,t&&(this.#n+=1)}decrement(t){this.#r-=1,t&&(this.#n-=1),this.revive()}revive(){for(const t of this.#i)ee(t,se),Xe(t);for(const t of this.#s)ee(t,De),Xe(t);this.#i=[],this.#s=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#l??=Or()).promise}static ensure(){if(P===null){const t=P=new _e;Lt.add(P),wt||_e.enqueue(()=>{P===t&&t.flush()})}return P}static enqueue(t){yt(t)}apply(){}}function ft(e){var t=wt;wt=!0;try{for(var r;;){if(gs(),ve.length===0&&(P?.flush(),ve.length===0))return Pt=null,r;qr()}}finally{wt=t}}function qr(){var e=qe;cr=!0;var t=null;try{var r=0;for(Ht(!0);ve.length>0;){var n=_e.ensure();if(r++>1e3){var s,i;ps()}n.process(ve),He.clear()}}finally{cr=!1,Ht(e),Pt=null}}function ps(){try{as()}catch(e){ct(e,Pt)}}let Oe=null;function Ur(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(Ve|pe))===0&&St(n)&&(Oe=new Set,Mt(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?un(n):n.fn=null),Oe?.size>0)){He.clear();for(const s of Oe){if((s.f&(Ve|pe))!==0)continue;const i=[s];let o=s.parent;for(;o!==null;)Oe.has(o)&&(Oe.delete(o),i.push(o)),o=o.parent;for(let a=i.length-1;a>=0;a--){const l=i[a];(l.f&(Ve|pe))===0&&Mt(l)}}Oe.clear()}}Oe=null}}function Br(e,t,r,n){if(!r.has(e)&&(r.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;(i&Z)!==0?Br(s,t,r,n):(i&(ar|Te))!==0&&(i&se)===0&&Wr(s,t,n)&&(ee(s,se),Xe(s))}}function Wr(e,t,r){const n=r.get(e);if(n!==void 0)return n;if(e.deps!==null)for(const s of e.deps){if(t.includes(s))return!0;if((s.f&Z)!==0&&Wr(s,t,r))return r.set(s,!0),!0}return r.set(e,!1),!1}function Xe(e){for(var t=Pt=e;t.parent!==null;){t=t.parent;var r=t.f;if(cr&&t===O&&(r&Te)!==0&&(r&ir)===0)return;if((r&(Ye|ze))!==0){if((r&Q)===0)return;t.f^=Q}}ve.push(t)}function ys(e){let t=0,r=$t(0),n;return()=>{Ft()&&(h(r),br(()=>(t===0&&(n=_r(()=>e(()=>xt(r)))),t+=1,()=>{yt(()=>{t-=1,t===0&&(n?.(),n=void 0,xt(r))})})))}}var ws=ot|Ge|Ot;function $s(e,t,r){new xs(e,t,r)}class xs{parent;#t=!1;#e;#r=N?F:null;#n;#l;#i;#s=null;#o=null;#a=null;#u=null;#c=null;#f=0;#d=0;#h=!1;#v=null;#p=ys(()=>(this.#v=$t(this.#f),()=>{this.#v=null}));constructor(t,r,n){this.#e=t,this.#n=r,this.#l=n,this.parent=O.b,this.#t=!!this.#n.pending,this.#i=mr(()=>{if(O.b=this,N){const i=this.#r;lr(),i.nodeType===lt&&i.data===tr?this.#w():this.#y()}else{var s=this.#_();try{this.#s=Ce(()=>n(s))}catch(i){this.error(i)}this.#d>0?this.#m():this.#t=!1}return()=>{this.#c?.remove()}},ws),N&&(this.#e=F)}#y(){try{this.#s=Ce(()=>this.#l(this.#e))}catch(t){this.error(t)}this.#t=!1}#w(){const t=this.#n.pending;t&&(this.#o=Ce(()=>t(this.#e)),_e.enqueue(()=>{var r=this.#_();this.#s=this.#b(()=>(_e.ensure(),Ce(()=>this.#l(r)))),this.#d>0?this.#m():(kt(this.#o,()=>{this.#o=null}),this.#t=!1)}))}#_(){var t=this.#e;return this.#t&&(this.#c=Ne(),this.#e.before(this.#c),t=this.#c),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#n.pending}#b(t){var r=O,n=D,s=fe;he(this.#i),X(this.#i),ut(this.#i.ctx);try{return t()}catch(i){return Hr(i),null}finally{he(r),X(n),ut(s)}}#m(){const t=this.#n.pending;this.#s!==null&&(this.#u=document.createDocumentFragment(),this.#u.append(this.#c),dn(this.#s,this.#u)),this.#o===null&&(this.#o=Ce(()=>t(this.#e)))}#g(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#g(t);return}this.#d+=t,this.#d===0&&(this.#t=!1,this.#o&&kt(this.#o,()=>{this.#o=null}),this.#u&&(this.#e.before(this.#u),this.#u=null))}update_pending_count(t){this.#g(t),this.#f+=t,this.#v&&jt(this.#v,this.#f)}get_effect_pending(){return this.#p(),h(this.#v)}error(t){var r=this.#n.onerror;let n=this.#n.failed;if(this.#h||!r&&!n)throw t;this.#s&&(ae(this.#s),this.#s=null),this.#o&&(ae(this.#o),this.#o=null),this.#a&&(ae(this.#a),this.#a=null),N&&(ce(this.#r),ur(),ce(Lr()));var s=!1,i=!1;const o=()=>{if(s){hs();return}s=!0,i&&vs(),_e.ensure(),this.#f=0,this.#a!==null&&kt(this.#a,()=>{this.#a=null}),this.#t=this.has_pending_snippet(),this.#s=this.#b(()=>(this.#h=!1,Ce(()=>this.#l(this.#e)))),this.#d>0?this.#m():this.#t=!1};var a=D;try{X(null),i=!0,r?.(t,o),i=!1}catch(l){ct(l,this.#i&&this.#i.parent)}finally{X(a)}n&&yt(()=>{this.#a=this.#b(()=>{_e.ensure(),this.#h=!0;try{return Ce(()=>{n(this.#e,()=>t,()=>o)})}catch(l){return ct(l,this.#i.parent),null}finally{this.#h=!1}})})}}function ks(e,t,r,n){const s=fr;if(r.length===0&&e.length===0){n(t.map(s));return}var i=P,o=O,a=Es();function l(){Promise.all(r.map(u=>Ss(u))).then(u=>{a();try{n([...t.map(s),...u])}catch(_){(o.f&Ve)===0&&ct(_,o)}i?.deactivate(),It()}).catch(u=>{ct(u,o)})}e.length>0?Promise.all(e).then(()=>{a();try{return l()}finally{i?.deactivate(),It()}}):l()}function Es(){var e=O,t=D,r=fe,n=P;return function(i=!0){he(e),X(t),ut(r),i&&n?.activate()}}function It(){he(null),X(null),ut(null)}function fr(e){var t=Z|se,r=D!==null&&(D.f&Z)!==0?D:null;return O!==null&&(O.f|=Ge),{ctx:fe,deps:null,effects:null,equals:Rr,f:t,fn:e,reactions:null,rv:0,v:K,wv:0,parent:r??O,ac:null}}function Ss(e,t){let r=O;r===null&&ns();var n=r.b,s=void 0,i=$t(K),o=!D,a=new Map;return js(()=>{var l=Or();s=l.promise;try{Promise.resolve(e()).then(l.resolve,l.reject).then(()=>{u===P&&u.committed&&u.deactivate(),It()})}catch(c){l.reject(c),It()}var u=P;if(o){var _=!n.is_pending();n.update_pending_count(1),u.increment(_),a.get(u)?.reject(at),a.delete(u),a.set(u,l)}const g=(c,b=void 0)=>{if(u.activate(),b)b!==at&&(i.f|=Fe,jt(i,b));else{(i.f&Fe)!==0&&(i.f^=Fe),jt(i,c);for(const[S,C]of a){if(a.delete(S),S===u)break;C.reject(at)}}o&&(n.update_pending_count(-1),u.decrement(_))};l.promise.then(g,c=>g(null,c||"unknown"))}),sn(()=>{for(const l of a.values())l.reject(at)}),new Promise(l=>{function u(_){function g(){_===s?l(i):u(s)}_.then(g,g)}u(s)})}function Ms(e){const t=fr(e);return t.equals=Pr,t}function Jr(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)ae(t[r])}}function Ts(e){for(var t=e.parent;t!==null;){if((t.f&Z)===0)return(t.f&Ve)===0?t:null;t=t.parent}return null}function dr(e){var t,r=O;he(Ts(e));try{e.f&=~Ke,Jr(e),t=gn(e)}finally{he(r)}return t}function Zr(e){var t=dr(e);if(e.equals(t)||(P?.is_fork||(e.v=t),e.wv=mn()),!tt)if(de!==null)Ft()&&de.set(e,t);else{var r=(e.f&me)===0?De:Q;ee(e,r)}}let vr=new Set;const He=new Map;let Gr=!1;function $t(e,t){var r={f:0,v:e,reactions:null,equals:Rr,rv:0,wv:0};return r}function I(e,t){const r=$t(e);return Us(r),r}function zs(e,t=!1,r=!0){const n=$t(e);return t||(n.equals=Pr),n}function z(e,t,r=!1){D!==null&&(!xe||(D.f&Nr)!==0)&&Yr()&&(D.f&(Z|Te|ar|Nr))!==0&&!Le?.includes(e)&&ds();let n=r?et(t):t;return jt(e,n)}function jt(e,t){if(!e.equals(t)){var r=e.v;tt?He.set(e,t):He.set(e,r),e.v=t;var n=_e.ensure();n.capture(e,r),(e.f&Z)!==0&&((e.f&se)!==0&&dr(e),ee(e,(e.f&me)!==0?Q:De)),e.wv=mn(),Kr(e,se),O!==null&&(O.f&Q)!==0&&(O.f&(ze|Ye))===0&&(be===null?Bs([e]):be.push(e)),!n.is_fork&&vr.size>0&&!Gr&&Ds()}return t}function Ds(){Gr=!1;var e=qe;Ht(!0);const t=Array.from(vr);try{for(const r of t)(r.f&Q)!==0&&ee(r,De),St(r)&&Mt(r)}finally{Ht(e)}vr.clear()}function xt(e){z(e,e.v+1)}function Kr(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,s=0;s<n;s++){var i=r[s],o=i.f,a=(o&se)===0;if(a&&ee(i,t),(o&Z)!==0){var l=i;de?.delete(l),(o&Ke)===0&&(o&me&&(i.f|=Ke),Kr(l,De))}else a&&((o&Te)!==0&&Oe!==null&&Oe.add(i),Xe(i))}}function et(e){if(typeof e!="object"||e===null||At in e)return e;const t=Dr(e);if(t!==Qn&&t!==Xn)return e;var r=new Map,n=Jn(e),s=I(0),i=rt,o=a=>{if(rt===i)return a();var l=D,u=rt;X(null),bn(i);var _=a();return X(l),bn(u),_};return n&&r.set("length",I(e.length)),new Proxy(e,{defineProperty(a,l,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&cs();var _=r.get(l);return _===void 0?_=o(()=>{var g=I(u.value);return r.set(l,g),g}):z(_,u.value,!0),!0},deleteProperty(a,l){var u=r.get(l);if(u===void 0){if(l in a){const _=o(()=>I(K));r.set(l,_),xt(s)}}else z(u,K),xt(s);return!0},get(a,l,u){if(l===At)return e;var _=r.get(l),g=l in a;if(_===void 0&&(!g||Ze(a,l)?.writable)&&(_=o(()=>{var b=et(g?a[l]:K),S=I(b);return S}),r.set(l,_)),_!==void 0){var c=h(_);return c===K?void 0:c}return Reflect.get(a,l,u)},getOwnPropertyDescriptor(a,l){var u=Reflect.getOwnPropertyDescriptor(a,l);if(u&&"value"in u){var _=r.get(l);_&&(u.value=h(_))}else if(u===void 0){var g=r.get(l),c=g?.v;if(g!==void 0&&c!==K)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return u},has(a,l){if(l===At)return!0;var u=r.get(l),_=u!==void 0&&u.v!==K||Reflect.has(a,l);if(u!==void 0||O!==null&&(!_||Ze(a,l)?.writable)){u===void 0&&(u=o(()=>{var c=_?et(a[l]):K,b=I(c);return b}),r.set(l,u));var g=h(u);if(g===K)return!1}return _},set(a,l,u,_){var g=r.get(l),c=l in a;if(n&&l==="length")for(var b=u;b<g.v;b+=1){var S=r.get(b+"");S!==void 0?z(S,K):b in a&&(S=o(()=>I(K)),r.set(b+"",S))}if(g===void 0)(!c||Ze(a,l)?.writable)&&(g=o(()=>I(void 0)),z(g,et(u)),r.set(l,g));else{c=g.v!==K;var C=o(()=>et(u));z(g,C)}var H=Reflect.getOwnPropertyDescriptor(a,l);if(H?.set&&H.set.call(_,u),!c){if(n&&typeof l=="string"){var V=r.get("length"),L=Number(l);Number.isInteger(L)&&L>=V.v&&z(V,L+1)}xt(s)}return!0},ownKeys(a){h(s);var l=Reflect.ownKeys(a).filter(g=>{var c=r.get(g);return c===void 0||c.v!==K});for(var[u,_]of r)_.v!==K&&!(u in a)&&l.push(u);return l},setPrototypeOf(){fs()}})}var Qr,Xr,en,tn;function hr(){if(Qr===void 0){Qr=window,Xr=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;en=Ze(t,"firstChild").get,tn=Ze(t,"nextSibling").get,Vr(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Vr(r)&&(r.__t=void 0)}}function Ne(e=""){return document.createTextNode(e)}function dt(e){return en.call(e)}function we(e){return tn.call(e)}function oe(e,t){if(!N)return dt(e);var r=dt(F);return r===null&&(r=F.appendChild(Ne())),ce(r),r}function te(e,t=1,r=!1){let n=N?F:e;for(var s;t--;)s=n,n=we(n);if(!N)return n;if(r&&n?.nodeType!==Cr){var i=Ne();return n===null?s?.after(i):n.before(i),ce(i),i}return ce(n),n}function Vs(e){e.textContent=""}function Os(){return!1}let rn=!1;function nn(){rn||(rn=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function Yt(e){var t=D,r=O;X(null),he(null);try{return e()}finally{X(t),he(r)}}function Ns(e,t,r,n=r){e.addEventListener(t,()=>Yt(r));const s=e.__on_r;s?e.__on_r=()=>{s(),n(!0)}:e.__on_r=()=>n(!0),nn()}function As(e){O===null&&(D===null&&os(),is()),tt&&ss()}function Cs(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function $e(e,t,r){var n=O;n!==null&&(n.f&pe)!==0&&(e|=pe);var s={ctx:fe,deps:null,nodes_start:null,nodes_end:null,f:e|se|me,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{Mt(s),s.f|=Nt}catch(a){throw ae(s),a}else t!==null&&Xe(s);var i=s;if(r&&i.deps===null&&i.teardown===null&&i.nodes_start===null&&i.first===i.last&&(i.f&Ge)===0&&(i=i.first,(e&Te)!==0&&(e&ot)!==0&&i!==null&&(i.f|=ot)),i!==null&&(i.parent=n,n!==null&&Cs(i,n),D!==null&&(D.f&Z)!==0&&(e&Ye)===0)){var o=D;(o.effects??=[]).push(i)}return s}function Ft(){return D!==null&&!xe}function sn(e){const t=$e(sr,null,!1);return ee(t,Q),t.teardown=e,t}function Ls(e){As();var t=O.f,r=!D&&(t&ze)!==0&&(t&Nt)===0;if(r){var n=fe;(n.e??=[]).push(e)}else return on(e)}function on(e){return $e(nr|ts,e,!1)}function Rs(e){_e.ensure();const t=$e(Ye|Ge,e,!0);return()=>{ae(t)}}function Ps(e){_e.ensure();const t=$e(Ye|Ge,e,!0);return(r={})=>new Promise(n=>{r.outro?kt(t,()=>{ae(t),n(void 0)}):(ae(t),n(void 0))})}function Is(e){return $e(nr,e,!1)}function js(e){return $e(ar|Ge,e,!0)}function br(e,t=0){return $e(sr|t,e,!0)}function Ae(e,t=[],r=[],n=[]){ks(n,t,r,s=>{$e(sr,()=>e(...s.map(h)),!0)})}function mr(e,t=0){var r=$e(Te|t,e,!0);return r}function Ce(e){return $e(ze|Ge,e,!0)}function an(e){var t=e.teardown;if(t!==null){const r=tt,n=D;vn(!0),X(null);try{t.call(null)}finally{vn(r),X(n)}}}function ln(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const s=r.ac;s!==null&&Yt(()=>{s.abort(at)});var n=r.next;(r.f&Ye)!==0?r.parent=null:ae(r,t),r=n}}function Ys(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&ze)===0&&ae(t),t=r}}function ae(e,t=!0){var r=!1;(t||(e.f&ir)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Fs(e.nodes_start,e.nodes_end),r=!0),ln(e,t&&!r),qt(e,0),ee(e,Ve);var n=e.transitions;if(n!==null)for(const i of n)i.stop();an(e);var s=e.parent;s!==null&&s.first!==null&&un(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Fs(e,t){for(;e!==null;){var r=e===t?null:we(e);e.remove(),e=r}}function un(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 kt(e,t,r=!0){var n=[];cn(e,n,!0),Hs(n,()=>{r&&ae(e),t&&t()})}function Hs(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var s of e)s.out(n)}else t()}function cn(e,t,r){if((e.f&pe)===0){if(e.f^=pe,e.transitions!==null)for(const o of e.transitions)(o.is_global||r)&&t.push(o);for(var n=e.first;n!==null;){var s=n.next,i=(n.f&ot)!==0||(n.f&ze)!==0&&(e.f&Te)!==0;cn(n,t,i?r:!1),n=s}}}function qs(e){fn(e,!0)}function fn(e,t){if((e.f&pe)!==0){e.f^=pe,(e.f&Q)===0&&(ee(e,se),Xe(e));for(var r=e.first;r!==null;){var n=r.next,s=(r.f&ot)!==0||(r.f&ze)!==0;fn(r,s?t:!1),r=n}if(e.transitions!==null)for(const i of e.transitions)(i.is_global||t)&&i.in()}}function dn(e,t){for(var r=e.nodes_start,n=e.nodes_end;r!==null;){var s=r===n?null:we(r);t.append(r),r=s}}let qe=!1;function Ht(e){qe=e}let tt=!1;function vn(e){tt=e}let D=null,xe=!1;function X(e){D=e}let O=null;function he(e){O=e}let Le=null;function Us(e){D!==null&&(Le===null?Le=[e]:Le.push(e))}let re=null,le=0,be=null;function Bs(e){be=e}let hn=1,Et=0,rt=Et;function bn(e){rt=e}function mn(){return++hn}function St(e){var t=e.f;if((t&se)!==0)return!0;if(t&Z&&(e.f&=~Ke),(t&De)!==0){var r=e.deps;if(r!==null)for(var n=r.length,s=0;s<n;s++){var i=r[s];if(St(i)&&Zr(i),i.wv>e.wv)return!0}(t&me)!==0&&de===null&&ee(e,Q)}return!1}function _n(e,t,r=!0){var n=e.reactions;if(n!==null&&!Le?.includes(e))for(var s=0;s<n.length;s++){var i=n[s];(i.f&Z)!==0?_n(i,t,!1):t===i&&(r?ee(i,se):(i.f&Q)!==0&&ee(i,De),Xe(i))}}function gn(e){var t=re,r=le,n=be,s=D,i=Le,o=fe,a=xe,l=rt,u=e.f;re=null,le=0,be=null,D=(u&(ze|Ye))===0?e:null,Le=null,ut(e.ctx),xe=!1,rt=++Et,e.ac!==null&&(Yt(()=>{e.ac.abort(at)}),e.ac=null);try{e.f|=or;var _=e.fn,g=_(),c=e.deps;if(re!==null){var b;if(qt(e,le),c!==null&&le>0)for(c.length=le+re.length,b=0;b<re.length;b++)c[le+b]=re[b];else e.deps=c=re;if(qe&&Ft()&&(e.f&me)!==0)for(b=le;b<c.length;b++)(c[b].reactions??=[]).push(e)}else c!==null&&le<c.length&&(qt(e,le),c.length=le);if(Yr()&&be!==null&&!xe&&c!==null&&(e.f&(Z|De|se))===0)for(b=0;b<be.length;b++)_n(be[b],e);return s!==null&&s!==e&&(Et++,be!==null&&(n===null?n=be:n.push(...be))),(e.f&Fe)!==0&&(e.f^=Fe),g}catch(S){return Hr(S)}finally{e.f^=or,re=t,le=r,be=n,D=s,Le=i,ut(o),xe=a,rt=l}}function Ws(e,t){let r=t.reactions;if(r!==null){var n=Zn.call(r,e);if(n!==-1){var s=r.length-1;s===0?r=t.reactions=null:(r[n]=r[s],r.pop())}}r===null&&(t.f&Z)!==0&&(re===null||!re.includes(t))&&(ee(t,De),(t.f&me)!==0&&(t.f^=me,t.f&=~Ke),Jr(t),qt(t,0))}function qt(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)Ws(e,r[n])}function Mt(e){var t=e.f;if((t&Ve)===0){ee(e,Q);var r=O,n=qe;O=e,qe=!0;try{(t&Te)!==0?Ys(e):ln(e),an(e);var s=gn(e);e.teardown=typeof s=="function"?s:null,e.wv=hn;var i;rr&&_s&&(e.f&se)!==0&&e.deps}finally{qe=n,O=r}}}async function Js(){await Promise.resolve(),ft()}function h(e){var t=e.f,r=(t&Z)!==0;if(D!==null&&!xe){var n=O!==null&&(O.f&Ve)!==0;if(!n&&!Le?.includes(e)){var s=D.deps;if((D.f&or)!==0)e.rv<Et&&(e.rv=Et,re===null&&s!==null&&s[le]===e?le++:re===null?re=[e]:re.includes(e)||re.push(e));else{(D.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[D]:i.includes(D)||i.push(D)}}}if(tt){if(He.has(e))return He.get(e);if(r){var o=e,a=o.v;return((o.f&Q)===0&&o.reactions!==null||yn(o))&&(a=dr(o)),He.set(o,a),a}}else r&&!de?.has(e)&&(o=e,St(o)&&Zr(o),qe&&Ft()&&(o.f&me)===0&&pn(o));if(de?.has(e))return de.get(e);if((e.f&Fe)!==0)throw e.v;return e.v}function pn(e){if(e.deps!==null){e.f^=me;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&Z)!==0&&(t.f&me)===0&&pn(t)}}function yn(e){if(e.v===K)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(He.has(t)||(t.f&Z)!==0&&yn(t))return!0;return!1}function _r(e){var t=xe;try{return xe=!0,e()}finally{xe=t}}const Zs=-7169;function ee(e,t){e.f=e.f&Zs|t}const wn=new Set,gr=new Set;function Gs(e,t,r,n={}){function s(i){if(n.capture||Tt.call(t,i),!i.cancelBubble)return Yt(()=>r?.call(this,i))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?yt(()=>{t.addEventListener(e,s,n)}):t.addEventListener(e,s,n),s}function nt(e,t,r,n,s){var i={capture:n,passive:s},o=Gs(e,t,r,i);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&sn(()=>{t.removeEventListener(e,o,i)})}function Ks(e){for(var t=0;t<e.length;t++)wn.add(e[t]);for(var r of gr)r(e)}let $n=null;function Tt(e){var t=this,r=t.ownerDocument,n=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;$n=e;var o=0,a=$n===e&&e.__root;if(a){var l=s.indexOf(a);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var u=s.indexOf(t);if(u===-1)return;l<=u&&(o=l)}if(i=s[o]||e.target,i!==t){Vt(e,"currentTarget",{configurable:!0,get(){return i||r}});var _=D,g=O;X(null),he(null);try{for(var c,b=[];i!==null;){var S=i.assignedSlot||i.parentNode||i.host||null;try{var C=i["__"+n];C!=null&&(!i.disabled||e.target===i)&&C.call(i,e)}catch(H){c?b.push(H):c=H}if(e.cancelBubble||S===t||S===null)break;i=S}if(c){for(let H of b)queueMicrotask(()=>{throw H});throw c}}finally{e.__root=t,delete e.currentTarget,X(_),he(g)}}}function Qs(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function vt(e,t){var r=O;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function Re(e,t){var r=(t&Un)!==0,n=(t&Bn)!==0,s,i=!e.startsWith("<!>");return()=>{if(N)return vt(F,null),F;s===void 0&&(s=Qs(i?e:"<!>"+e),r||(s=dt(s)));var o=n||Xr?document.importNode(s,!0):s.cloneNode(!0);if(r){var a=dt(o),l=o.lastChild;vt(a,l)}else vt(o,o);return o}}function Xs(e=""){if(!N){var t=Ne(e+"");return vt(t,t),t}var r=F;return r.nodeType!==Cr&&(r.before(r=Ne()),ce(r)),vt(r,r),r}function ge(e,t){if(N){var r=O;((r.f&Nt)===0||r.nodes_end===null)&&(r.nodes_end=F),lr();return}e!==null&&e.before(t)}const ei=["touchstart","touchmove"];function ti(e){return ei.includes(e)}function ri(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function xn(e,t){return kn(e,t)}function ni(e,t){hr(),t.intro=t.intro??!1;const r=t.target,n=N,s=F;try{for(var i=dt(r);i&&(i.nodeType!==lt||i.data!==Tr);)i=we(i);if(!i)throw it;ye(!0),ce(i);const o=kn(e,{...t,anchor:i});return ye(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
|
|
2
|
-
`).some(a=>a.startsWith("https://svelte.dev/e/")))throw o;return o!==it&&console.warn("Failed to hydrate: ",o),t.recover===!1&&ls(),hr(),Vs(r),ye(!1),xn(e,t)}finally{ye(n),ce(s)}}const ht=new Map;function kn(e,{target:t,anchor:r,props:n={},events:s,context:i,intro:o=!0}){hr();var a=new Set,l=g=>{for(var c=0;c<g.length;c++){var b=g[c];if(!a.has(b)){a.add(b);var S=ti(b);t.addEventListener(b,Tt,{passive:S});var C=ht.get(b);C===void 0?(document.addEventListener(b,Tt,{passive:S}),ht.set(b,1)):ht.set(b,C+1)}}};l(Gn(wn)),gr.add(l);var u=void 0,_=Ps(()=>{var g=r??t.appendChild(Ne());return $s(g,{pending:()=>{}},c=>{if(i){Ir({});var b=fe;b.c=i}if(s&&(n.$$events=s),N&&vt(c,null),u=e(c,n)||{},N&&(O.nodes_end=F,F===null||F.nodeType!==lt||F.data!==zr))throw Ct(),it;i&&jr()}),()=>{for(var c of a){t.removeEventListener(c,Tt);var b=ht.get(c);--b===0?(document.removeEventListener(c,Tt),ht.delete(c)):ht.set(c,b)}gr.delete(l),g!==r&&g.parentNode?.removeChild(g)}});return pr.set(u,_),u}let pr=new WeakMap;function si(e,t){const r=pr.get(e);return r?(pr.delete(e),r(t)):Promise.resolve()}class ii{anchor;#t=new Map;#e=new Map;#r=new Map;#n=new Set;#l=!0;constructor(t,r=!0){this.anchor=t,this.#l=r}#i=()=>{var t=P;if(this.#t.has(t)){var r=this.#t.get(t),n=this.#e.get(r);if(n)qs(n),this.#n.delete(r);else{var s=this.#r.get(r);s&&(this.#e.set(r,s.effect),this.#r.delete(r),s.fragment.lastChild.remove(),this.anchor.before(s.fragment),n=s.effect)}for(const[i,o]of this.#t){if(this.#t.delete(i),i===t)break;const a=this.#r.get(o);a&&(ae(a.effect),this.#r.delete(o))}for(const[i,o]of this.#e){if(i===r||this.#n.has(i))continue;const a=()=>{if(Array.from(this.#t.values()).includes(i)){var u=document.createDocumentFragment();dn(o,u),u.append(Ne()),this.#r.set(i,{effect:o,fragment:u})}else ae(o);this.#n.delete(i),this.#e.delete(i)};this.#l||!n?(this.#n.add(i),kt(o,a,!1)):a()}}};#s=t=>{this.#t.delete(t);const r=Array.from(this.#t.values());for(const[n,s]of this.#r)r.includes(n)||(ae(s.effect),this.#r.delete(n))};ensure(t,r){var n=P,s=Os();if(r&&!this.#e.has(t)&&!this.#r.has(t))if(s){var i=document.createDocumentFragment(),o=Ne();i.append(o),this.#r.set(t,{effect:Ce(()=>r(o)),fragment:i})}else this.#e.set(t,Ce(()=>r(this.anchor)));if(this.#t.set(n,t),s){for(const[a,l]of this.#e)a===t?n.skipped_effects.delete(l):n.skipped_effects.add(l);for(const[a,l]of this.#r)a===t?n.skipped_effects.delete(l.effect):n.skipped_effects.add(l.effect);n.oncommit(this.#i),n.ondiscard(this.#s)}else N&&(this.anchor=F),this.#i()}}function bt(e,t,r=!1){N&&lr();var n=new ii(e),s=r?ot:0;function i(o,a){if(N){const u=bs(e)===tr;if(o===u){var l=Lr();ce(l),n.anchor=l,ye(!1),n.ensure(o,a),ye(!0);return}}n.ensure(o,a)}mr(()=>{var o=!1;t((a,l=!0)=>{o=!0,i(l,a)}),o||i(!1,null)},s)}function oi(e,t){let r=null,n=N;var s;if(N){r=F;for(var i=dt(document.head);i!==null&&(i.nodeType!==lt||i.data!==e);)i=we(i);if(i===null)ye(!1);else{var o=we(i);i.remove(),ce(o)}}N||(s=document.head.appendChild(Ne()));try{mr(()=>t(s),ir)}finally{n&&(ye(!0),ce(r))}}function ai(e,t){Is(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const s=document.createElement("style");s.id=t.hash,s.textContent=t.code,n.appendChild(s)}})}function li(e,t,r){var n=""+e;return n}function ui(e,t){return e==null?null:String(e)}function En(e,t,r,n,s,i){var o=e.__className;if(N||o!==r||o===void 0){var a=li(r);(!N||a!==e.getAttribute("class"))&&(a==null?e.removeAttribute("class"):e.className=a),e.__className=r}return i}function Sn(e,t,r,n){var s=e.__style;if(N||s!==t){var i=ui(t);(!N||i!==e.getAttribute("style"))&&(i==null?e.removeAttribute("style"):e.style.cssText=i),e.__style=t}return n}const ci=Symbol("is custom element"),fi=Symbol("is html");function mt(e){if(N){var t=!1,r=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var n=e.value;Ut(e,"value",null),e.value=n}if(e.hasAttribute("checked")){var s=e.checked;Ut(e,"checked",null),e.checked=s}}};e.__on_r=r,yt(r),nn()}}function Ut(e,t,r,n){var s=di(e);N&&(s[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||s[t]!==(s[t]=r)&&(t==="loading"&&(e[rs]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Mn(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function Ue(e,t,r){var n=D,s=O;let i=N;N&&ye(!1),X(null),he(null);try{t!=="style"&&(yr.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?Mn(e).includes(t):r&&typeof r=="object")?e[t]=r:Ut(e,t,r==null?r:String(r))}finally{X(n),he(s),i&&ye(!0)}}function di(e){return e.__attributes??={[ci]:e.nodeName.includes("-"),[fi]:e.namespaceURI===Wn}}var yr=new Map;function Mn(e){var t=e.getAttribute("is")||e.nodeName,r=yr.get(t);if(r)return r;yr.set(t,r=[]);for(var n,s=e,i=Element.prototype;i!==s;){n=Kn(s);for(var o in n)n[o].set&&r.push(o);s=Dr(s)}return r}function _t(e,t,r=t){var n=new WeakSet;Ns(e,"input",async s=>{var i=s?e.defaultValue:e.value;if(i=wr(e)?$r(i):i,r(i),P!==null&&n.add(P),await Js(),i!==(i=t())){var o=e.selectionStart,a=e.selectionEnd,l=e.value.length;if(e.value=i??"",a!==null){var u=e.value.length;o===a&&a===l&&u>l?(e.selectionStart=u,e.selectionEnd=u):(e.selectionStart=o,e.selectionEnd=Math.min(a,u))}}}),(N&&e.defaultValue!==e.value||_r(t)==null&&e.value)&&(r(wr(e)?$r(e.value):e.value),P!==null&&n.add(P)),br(()=>{var s=t();if(e===document.activeElement){var i=Rt??P;if(n.has(i))return}wr(e)&&s===$r(e.value)||e.type==="date"&&!s&&!e.value||s!==e.value&&(e.value=s??"")})}function wr(e){var t=e.type;return t==="number"||t==="range"}function $r(e){return e===""?null:+e}let Bt=!1;function vi(e){var t=Bt;try{return Bt=!1,[e(),Bt]}finally{Bt=t}}function Wt(e,t,r,n){var s=(r&Hn)!==0,i=(r&qn)!==0,o=n,a=!0,l=()=>(a&&(a=!1,o=i?_r(n):n),o),u;if(s){var _=At in e||Ar in e;u=Ze(e,t)?.set??(_&&t in e?L=>e[t]=L:void 0)}var g,c=!1;s?[g,c]=vi(()=>e[t]):g=e[t],g===void 0&&n!==void 0&&(g=l(),u&&(us(),u(g)));var b;if(b=()=>{var L=e[t];return L===void 0?l():(a=!0,L)},(r&Fn)===0)return b;if(u){var S=e.$$legacy;return(function(L,B){return arguments.length>0?((!B||S||c)&&u(B?b():L),L):b()})}var C=!1,H=((r&Yn)!==0?fr:Ms)(()=>(C=!1,b()));s&&h(H);var V=O;return(function(L,B){if(arguments.length>0){const Pe=B?h(H):s?et(L):L;return z(H,Pe),C=!0,o!==void 0&&(o=Pe),L}return tt&&C||(V.f&Ve)!==0?H.v:h(H)})}function hi(e){return new bi(e)}class bi{#t;#e;constructor(t){var r=new Map,n=(i,o)=>{var a=zs(o,!1,!1);return r.set(i,a),a};const s=new Proxy({...t.props||{},$$events:{}},{get(i,o){return h(r.get(o)??n(o,Reflect.get(i,o)))},has(i,o){return o===Ar?!0:(h(r.get(o)??n(o,Reflect.get(i,o))),Reflect.has(i,o))},set(i,o,a){return z(r.get(o)??n(o,a),a),Reflect.set(i,o,a)}});this.#e=(t.hydrate?ni:xn)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&ft(),this.#t=s.$$events;for(const i of Object.keys(this.#e))i==="$set"||i==="$destroy"||i==="$on"||Vt(this,i,{get(){return this.#e[i]},set(o){this.#e[i]=o},enumerable:!0});this.#e.$set=i=>{Object.assign(s,i)},this.#e.$destroy=()=>{si(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...s)=>r.call(this,...s);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(s=>s!==n)}}$destroy(){this.#e.$destroy()}}let Tn;typeof HTMLElement=="function"&&(Tn=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 s=>{const i=document.createElement("slot");n!=="default"&&(i.name=n),ge(s,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=mi(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 s=this.$$g_p(n.name);s in this.$$d||(this.$$d[s]=Jt(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=hi({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Rs(()=>{br(()=>{this.$$r=!0;for(const n of Dt(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const s=Jt(n,this.$$d[n],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,s)}this.$$r=!1})});for(const n in this.$$l)for(const s of this.$$l[n]){const i=this.$$c.$on(n,s);this.$$l_u.set(s,i)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Jt(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 Dt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Jt(e,t,r,n){const s=r[e]?.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(s){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(s){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function mi(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function _i(e,t,r,n,s,i){let o=class extends Tn{constructor(){super(e,r,s),this.$$p_d=t}static get observedAttributes(){return Dt(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Dt(t).forEach(a=>{Vt(o.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){l=Jt(a,l,t),this.$$d[a]=l;var u=this.$$c;if(u){var _=Ze(u,a)?.get;_?u[a]=l:u.$set({[a]:l})}}})}),n.forEach(a=>{Vt(o.prototype,a,{get(){return this.$$c?.[a]}})}),e.element=o,o}function zn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Zt={exports:{}},gi=Zt.exports,Dn;function pi(){return Dn||(Dn=1,(function(e,t){(function(r,n){e.exports=n()})(gi,(function(){var r=1e3,n=6e4,s=36e5,i="millisecond",o="second",a="minute",l="hour",u="day",_="week",g="month",c="quarter",b="year",S="date",C="Invalid Date",H=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,V=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,L={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(y){var m=["th","st","nd","rd"],f=y%100;return"["+y+(m[(f-20)%10]||m[f]||m[0])+"]"}},B=function(y,m,f){var w=String(y);return!w||w.length>=m?y:""+Array(m+1-w.length).join(f)+y},Pe={s:B,z:function(y){var m=-y.utcOffset(),f=Math.abs(m),w=Math.floor(f/60),d=f%60;return(m<=0?"+":"-")+B(w,2,"0")+":"+B(d,2,"0")},m:function y(m,f){if(m.date()<f.date())return-y(f,m);var w=12*(f.year()-m.year())+(f.month()-m.month()),d=m.clone().add(w,g),E=f-d<0,k=m.clone().add(w+(E?-1:1),g);return+(-(w+(f-d)/(E?d-k:k-d))||0)},a:function(y){return y<0?Math.ceil(y)||0:Math.floor(y)},p:function(y){return{M:g,y:b,w:_,d:u,D:S,h:l,m:a,s:o,ms:i,Q:c}[y]||String(y||"").toLowerCase().replace(/s$/,"")},u:function(y){return y===void 0}},ke="en",T={};T[ke]=L;var $="$isDayjsObject",v=function(y){return y instanceof q||!(!y||!y[$])},A=function y(m,f,w){var d;if(!m)return ke;if(typeof m=="string"){var E=m.toLowerCase();T[E]&&(d=E),f&&(T[E]=f,d=E);var k=m.split("-");if(!d&&k.length>1)return y(k[0])}else{var R=m.name;T[R]=m,d=R}return!w&&d&&(ke=d),d||!w&&ke},M=function(y,m){if(v(y))return y.clone();var f=typeof m=="object"?m:{};return f.date=y,f.args=arguments,new q(f)},x=Pe;x.l=A,x.i=v,x.w=function(y,m){return M(y,{locale:m.$L,utc:m.$u,x:m.$x,$offset:m.$offset})};var q=(function(){function y(f){this.$L=A(f.locale,null,!0),this.parse(f),this.$x=this.$x||f.x||{},this[$]=!0}var m=y.prototype;return m.parse=function(f){this.$d=(function(w){var d=w.date,E=w.utc;if(d===null)return new Date(NaN);if(x.u(d))return new Date;if(d instanceof Date)return new Date(d);if(typeof d=="string"&&!/Z$/i.test(d)){var k=d.match(H);if(k){var R=k[2]-1||0,j=(k[7]||"0").substring(0,3);return E?new Date(Date.UTC(k[1],R,k[3]||1,k[4]||0,k[5]||0,k[6]||0,j)):new Date(k[1],R,k[3]||1,k[4]||0,k[5]||0,k[6]||0,j)}}return new Date(d)})(f),this.init()},m.init=function(){var f=this.$d;this.$y=f.getFullYear(),this.$M=f.getMonth(),this.$D=f.getDate(),this.$W=f.getDay(),this.$H=f.getHours(),this.$m=f.getMinutes(),this.$s=f.getSeconds(),this.$ms=f.getMilliseconds()},m.$utils=function(){return x},m.isValid=function(){return this.$d.toString()!==C},m.isSame=function(f,w){var d=M(f);return this.startOf(w)<=d&&d<=this.endOf(w)},m.isAfter=function(f,w){return M(f)<this.startOf(w)},m.isBefore=function(f,w){return this.endOf(w)<M(f)},m.$g=function(f,w,d){return x.u(f)?this[w]:this.set(d,f)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(f,w){var d=this,E=!!x.u(w)||w,k=x.p(f),R=function(Se,G){var ue=x.w(d.$u?Date.UTC(d.$y,G,Se):new Date(d.$y,G,Se),d);return E?ue:ue.endOf(u)},j=function(Se,G){return x.w(d.toDate()[Se].apply(d.toDate("s"),(E?[0,0,0,0]:[23,59,59,999]).slice(G)),d)},U=this.$W,J=this.$M,ne=this.$D,Be="set"+(this.$u?"UTC":"");switch(k){case b:return E?R(1,0):R(31,11);case g:return E?R(1,J):R(0,J+1);case _:var Ee=this.$locale().weekStart||0,Ie=(U<Ee?U+7:U)-Ee;return R(E?ne-Ie:ne+(6-Ie),J);case u:case S:return j(Be+"Hours",0);case l:return j(Be+"Minutes",1);case a:return j(Be+"Seconds",2);case o:return j(Be+"Milliseconds",3);default:return this.clone()}},m.endOf=function(f){return this.startOf(f,!1)},m.$set=function(f,w){var d,E=x.p(f),k="set"+(this.$u?"UTC":""),R=(d={},d[u]=k+"Date",d[S]=k+"Date",d[g]=k+"Month",d[b]=k+"FullYear",d[l]=k+"Hours",d[a]=k+"Minutes",d[o]=k+"Seconds",d[i]=k+"Milliseconds",d)[E],j=E===u?this.$D+(w-this.$W):w;if(E===g||E===b){var U=this.clone().set(S,1);U.$d[R](j),U.init(),this.$d=U.set(S,Math.min(this.$D,U.daysInMonth())).$d}else R&&this.$d[R](j);return this.init(),this},m.set=function(f,w){return this.clone().$set(f,w)},m.get=function(f){return this[x.p(f)]()},m.add=function(f,w){var d,E=this;f=Number(f);var k=x.p(w),R=function(J){var ne=M(E);return x.w(ne.date(ne.date()+Math.round(J*f)),E)};if(k===g)return this.set(g,this.$M+f);if(k===b)return this.set(b,this.$y+f);if(k===u)return R(1);if(k===_)return R(7);var j=(d={},d[a]=n,d[l]=s,d[o]=r,d)[k]||1,U=this.$d.getTime()+f*j;return x.w(U,this)},m.subtract=function(f,w){return this.add(-1*f,w)},m.format=function(f){var w=this,d=this.$locale();if(!this.isValid())return d.invalidDate||C;var E=f||"YYYY-MM-DDTHH:mm:ssZ",k=x.z(this),R=this.$H,j=this.$m,U=this.$M,J=d.weekdays,ne=d.months,Be=d.meridiem,Ee=function(G,ue,Me,We){return G&&(G[ue]||G(w,E))||Me[ue].slice(0,We)},Ie=function(G){return x.s(R%12||12,G,"0")},Se=Be||function(G,ue,Me){var We=G<12?"AM":"PM";return Me?We.toLowerCase():We};return E.replace(V,(function(G,ue){return ue||(function(Me){switch(Me){case"YY":return String(w.$y).slice(-2);case"YYYY":return x.s(w.$y,4,"0");case"M":return U+1;case"MM":return x.s(U+1,2,"0");case"MMM":return Ee(d.monthsShort,U,ne,3);case"MMMM":return Ee(ne,U);case"D":return w.$D;case"DD":return x.s(w.$D,2,"0");case"d":return String(w.$W);case"dd":return Ee(d.weekdaysMin,w.$W,J,2);case"ddd":return Ee(d.weekdaysShort,w.$W,J,3);case"dddd":return J[w.$W];case"H":return String(R);case"HH":return x.s(R,2,"0");case"h":return Ie(1);case"hh":return Ie(2);case"a":return Se(R,j,!0);case"A":return Se(R,j,!1);case"m":return String(j);case"mm":return x.s(j,2,"0");case"s":return String(w.$s);case"ss":return x.s(w.$s,2,"0");case"SSS":return x.s(w.$ms,3,"0");case"Z":return k}return null})(G)||k.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(f,w,d){var E,k=this,R=x.p(w),j=M(f),U=(j.utcOffset()-this.utcOffset())*n,J=this-j,ne=function(){return x.m(k,j)};switch(R){case b:E=ne()/12;break;case g:E=ne();break;case c:E=ne()/3;break;case _:E=(J-U)/6048e5;break;case u:E=(J-U)/864e5;break;case l:E=J/s;break;case a:E=J/n;break;case o:E=J/r;break;default:E=J}return d?E:x.a(E)},m.daysInMonth=function(){return this.endOf(g).$D},m.$locale=function(){return T[this.$L]},m.locale=function(f,w){if(!f)return this.$L;var d=this.clone(),E=A(f,w,!0);return E&&(d.$L=E),d},m.clone=function(){return x.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},y})(),W=q.prototype;return M.prototype=W,[["$ms",i],["$s",o],["$m",a],["$H",l],["$W",u],["$M",g],["$y",b],["$D",S]].forEach((function(y){W[y[1]]=function(m){return this.$g(m,y[0],y[1])}})),M.extend=function(y,m){return y.$i||(y(m,q,M),y.$i=!0),M},M.locale=A,M.isDayjs=v,M.unix=function(y){return M(1e3*y)},M.en=T[ke],M.Ls=T,M.p={},M}))})(Zt)),Zt.exports}var yi=pi();const gt=zn(yi),Vn={version:"0.65.23"};var Gt={exports:{}},wi=Gt.exports,On;function $i(){return On||(On=1,(function(e,t){(function(r,n){e.exports=n()})(wi,(function(){var r,n,s=1e3,i=6e4,o=36e5,a=864e5,l=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,u=31536e6,_=2628e6,g=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,c={years:u,months:_,days:a,hours:o,minutes:i,seconds:s,milliseconds:1,weeks:6048e5},b=function(T){return T instanceof Pe},S=function(T,$,v){return new Pe(T,v,$.$l)},C=function(T){return n.p(T)+"s"},H=function(T){return T<0},V=function(T){return H(T)?Math.ceil(T):Math.floor(T)},L=function(T){return Math.abs(T)},B=function(T,$){return T?H(T)?{negative:!0,format:""+L(T)+$}:{negative:!1,format:""+T+$}:{negative:!1,format:""}},Pe=(function(){function T(v,A,M){var x=this;if(this.$d={},this.$l=M,v===void 0&&(this.$ms=0,this.parseFromMilliseconds()),A)return S(v*c[C(A)],this);if(typeof v=="number")return this.$ms=v,this.parseFromMilliseconds(),this;if(typeof v=="object")return Object.keys(v).forEach((function(y){x.$d[C(y)]=v[y]})),this.calMilliseconds(),this;if(typeof v=="string"){var q=v.match(g);if(q){var W=q.slice(2).map((function(y){return y!=null?Number(y):0}));return this.$d.years=W[0],this.$d.months=W[1],this.$d.weeks=W[2],this.$d.days=W[3],this.$d.hours=W[4],this.$d.minutes=W[5],this.$d.seconds=W[6],this.calMilliseconds(),this}}return this}var $=T.prototype;return $.calMilliseconds=function(){var v=this;this.$ms=Object.keys(this.$d).reduce((function(A,M){return A+(v.$d[M]||0)*c[M]}),0)},$.parseFromMilliseconds=function(){var v=this.$ms;this.$d.years=V(v/u),v%=u,this.$d.months=V(v/_),v%=_,this.$d.days=V(v/a),v%=a,this.$d.hours=V(v/o),v%=o,this.$d.minutes=V(v/i),v%=i,this.$d.seconds=V(v/s),v%=s,this.$d.milliseconds=v},$.toISOString=function(){var v=B(this.$d.years,"Y"),A=B(this.$d.months,"M"),M=+this.$d.days||0;this.$d.weeks&&(M+=7*this.$d.weeks);var x=B(M,"D"),q=B(this.$d.hours,"H"),W=B(this.$d.minutes,"M"),y=this.$d.seconds||0;this.$d.milliseconds&&(y+=this.$d.milliseconds/1e3,y=Math.round(1e3*y)/1e3);var m=B(y,"S"),f=v.negative||A.negative||x.negative||q.negative||W.negative||m.negative,w=q.format||W.format||m.format?"T":"",d=(f?"-":"")+"P"+v.format+A.format+x.format+w+q.format+W.format+m.format;return d==="P"||d==="-P"?"P0D":d},$.toJSON=function(){return this.toISOString()},$.format=function(v){var A=v||"YYYY-MM-DDTHH:mm:ss",M={Y:this.$d.years,YY:n.s(this.$d.years,2,"0"),YYYY:n.s(this.$d.years,4,"0"),M:this.$d.months,MM:n.s(this.$d.months,2,"0"),D:this.$d.days,DD:n.s(this.$d.days,2,"0"),H:this.$d.hours,HH:n.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:n.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:n.s(this.$d.seconds,2,"0"),SSS:n.s(this.$d.milliseconds,3,"0")};return A.replace(l,(function(x,q){return q||String(M[x])}))},$.as=function(v){return this.$ms/c[C(v)]},$.get=function(v){var A=this.$ms,M=C(v);return M==="milliseconds"?A%=1e3:A=M==="weeks"?V(A/c[M]):this.$d[M],A||0},$.add=function(v,A,M){var x;return x=A?v*c[C(A)]:b(v)?v.$ms:S(v,this).$ms,S(this.$ms+x*(M?-1:1),this)},$.subtract=function(v,A){return this.add(v,A,!0)},$.locale=function(v){var A=this.clone();return A.$l=v,A},$.clone=function(){return S(this.$ms,this)},$.humanize=function(v){return r().add(this.$ms,"ms").locale(this.$l).fromNow(!v)},$.valueOf=function(){return this.asMilliseconds()},$.milliseconds=function(){return this.get("milliseconds")},$.asMilliseconds=function(){return this.as("milliseconds")},$.seconds=function(){return this.get("seconds")},$.asSeconds=function(){return this.as("seconds")},$.minutes=function(){return this.get("minutes")},$.asMinutes=function(){return this.as("minutes")},$.hours=function(){return this.get("hours")},$.asHours=function(){return this.as("hours")},$.days=function(){return this.get("days")},$.asDays=function(){return this.as("days")},$.weeks=function(){return this.get("weeks")},$.asWeeks=function(){return this.as("weeks")},$.months=function(){return this.get("months")},$.asMonths=function(){return this.as("months")},$.years=function(){return this.get("years")},$.asYears=function(){return this.as("years")},T})(),ke=function(T,$,v){return T.add($.years()*v,"y").add($.months()*v,"M").add($.days()*v,"d").add($.hours()*v,"h").add($.minutes()*v,"m").add($.seconds()*v,"s").add($.milliseconds()*v,"ms")};return function(T,$,v){r=v,n=v().$utils(),v.duration=function(x,q){var W=v.locale();return S(x,{$l:W},q)},v.isDuration=b;var A=$.prototype.add,M=$.prototype.subtract;$.prototype.add=function(x,q){return b(x)?ke(this,x,1):A.bind(this)(x,q)},$.prototype.subtract=function(x,q){return b(x)?ke(this,x,-1):M.bind(this)(x,q)}}}))})(Gt)),Gt.exports}var xi=$i();const ki=zn(xi);var st={},Nn;function Ei(){if(Nn)return st;Nn=1,Object.defineProperty(st,"__esModule",{value:!0}),st.LanguageTranslator=void 0,st.getChildStyleToPass=e,st.addComponent=t;function e(n,s){var i,o,a="";try{if(n&&s?.length&&(!((i=Object.keys(n))===null||i===void 0)&&i.length)&&(!((o=s?.filter(function(c){return Object.keys(n).includes(c.name)}))===null||o===void 0)&&o.length))for(var l=function(c){var b=s?.filter(function(S){return S.name===c&&S.defaultValue!==n[c]});b&&(a+="".concat(c,":").concat(n[c],";"))},u=0,_=Object.keys(n);u<_.length;u++){var g=_[u];l(g)}}catch(c){console.error("error getting child style to pass",c)}finally{return a}}function t(n){var s,i=((s=n?.repoName.split("/"))===null||s===void 0?void 0:s[1])||n?.repoName;if(!i)throw new Error("wrong componentPath "+n?.repoName);if(!n?.version)throw new Error("wrong version "+n?.version);var o=n?.iifePath||"main.iife.js";if(!document.getElementById(i+"-script"))try{var a=document.createElement("script");if(a.id=i+"-script",a.src="https://cdn.jsdelivr.net/npm/".concat(n.repoName,"@").concat(n.version,"/").concat(o),n?.local)a.src="".concat(n.local);else if(location.href.includes("localhost:6006")){var l=i.split("-")[0];a.src="http://localhost:6006/webcomponents/".concat(i.replace(l+"-",""),"/").concat(o)}document.head.appendChild(a)}catch(u){console.warn(u)}}var r=(function(){function n(s){if(this.lang="",!s?.dictionary)throw new Error("no dictionary provided");this.dictionary=s.dictionary,this.setLang(s?.lang)}return n.prototype.setLang=function(s){s||(s=n.getDefaultLang()),this.lang=s},n.prototype.translateWord=function(s,i){return n.getDictionaryWord(s,this.dictionary,i||this.lang)},n.prototype.translateDate=function(s,i,o){return n.formatDate(s,i,o||this.lang)},n.getDefaultLang=function(){var s,i,o,a="en";return navigator?.languages&&(!((o=(i=(s=navigator.languages[0])===null||s===void 0?void 0:s.split("-")[0])===null||i===void 0?void 0:i.toLowerCase())===null||o===void 0)&&o.length)&&(a=navigator.languages[0].split("-")[0].toLowerCase()),a},n.getDictionaryWord=function(s,i,o){var a;if(!s)throw new Error("no wordKey provided");if(!i)throw new Error("no dictionary provided");if(o&&(!((a=i[o])===null||a===void 0)&&a[s]))return i[o][s];var l="",u=n.getDefaultLang();if(!o||u!==o){var _=i?.[u];_?.[s]&&(l=_[s])}return l},n.formatDate=function(s,i,o){if(!s)throw new Error("no date provided");if(typeof s.getMonth!="function")throw new Error("wrong date format");var a=new Intl.DateTimeFormat(o||n.getDefaultLang(),i);return a.format(s)},n})();return st.LanguageTranslator=r,st}var An=Ei(),Si=Re('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-10svzuv"/>'),Mi=Re('<i class="bi bi-play-fill svelte-10svzuv"></i>'),Ti=Re('<i class="bi bi-pause-fill svelte-10svzuv"></i>'),zi=Re('<button class="btn btn-outline-dark svelte-10svzuv"><!></button>'),Di=Re('<div style="width: 100%;margin-bottom:15px" class="svelte-10svzuv"><div style="display:inline-block; width:50px;" class="svelte-10svzuv"><!></div> <div style="display:inline-block;width:calc(100% - 60px);position:relative" class="svelte-10svzuv"><hb-range-slider></hb-range-slider></div></div>',2),Vi=Re("<hb-form></hb-form>",2),Oi=Re('<button class="btn btn-sm btn-primary svelte-10svzuv">send</button>'),Ni=Re('<button class="btn btn-sm btn-primary svelte-10svzuv" disabled>send</button>'),Ai=Re('<div id="card" class="card h-100 svelte-10svzuv"><div class="ratio ratio-16x9 svelte-10svzuv" style="background-color: black;"><video id="video" class="ratio ratio-16x9 svelte-10svzuv"><source type="video/mp4" class="svelte-10svzuv"/> <track kind="captions" src="" srclang="en" label="English" class="svelte-10svzuv"/> Your browser does not support the video tag.</video></div> <div class="card-body svelte-10svzuv"><!> <!> <div id="controls" class="svelte-10svzuv"><div style="flex-grow: 2" class="svelte-10svzuv"><button class="btn btn-sm btn-secondary svelte-10svzuv">▼</button> <button class="btn btn-sm btn-secondary svelte-10svzuv">▲</button> <input type="number" class="form-control form-custom-control-numbers svelte-10svzuv"/>h <input class="form-control form-custom-control-numbers svelte-10svzuv" type="number"/>m <input type="number" class="form-control form-custom-control-numbers svelte-10svzuv"/>s</div> <div style="flex-grow: 2;text-align:center" class="svelte-10svzuv"></div> <div style="flex-grow: 2;text-align:right" class="svelte-10svzuv"><input type="number" class="form-control form-custom-control-numbers svelte-10svzuv"/>h <input class="form-control form-custom-control-numbers svelte-10svzuv" type="number"/>m <input type="number" class="form-control form-custom-control-numbers svelte-10svzuv"/>s <button class="btn btn-sm btn-secondary svelte-10svzuv">▲</button> <button class="btn btn-sm btn-secondary svelte-10svzuv">▼</button></div></div></div> <div class="card-footer svelte-10svzuv"><span style="float:left;height:30px;line-height:30px" class="svelte-10svzuv"><!></span> <span style="float:right;height:30px;line-height:30px" class="svelte-10svzuv"><!></span></div></div>',2);const Ci={hash:"svelte-10svzuv",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");
|
|
1
|
+
(function(Sr){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const In=1,jn=4,Yn=8,Fn=16,Hn=1,qn=2,Mr="[",er="[!",Tr="]",st={},K=Symbol(),Bn="http://www.w3.org/1999/xhtml",tr=!1;var Wn=Array.isArray,Un=Array.prototype.indexOf,Jn=Array.from,Dt=Object.keys,Vt=Object.defineProperty,Ze=Object.getOwnPropertyDescriptor,Zn=Object.getOwnPropertyDescriptors,Gn=Object.prototype,Kn=Array.prototype,zr=Object.getPrototypeOf,Dr=Object.isExtensible;function Qn(e){for(var t=0;t<e.length;t++)e[t]()}function Vr(){var e,t,r=new Promise((n,s)=>{e=n,t=s});return{promise:r,resolve:e,reject:t}}const G=2,rr=4,nr=8,ze=16,De=32,Ye=64,Ot=128,ge=512,Q=1024,se=2048,Ve=4096,we=8192,Oe=16384,Nt=32768,it=65536,Or=1<<17,sr=1<<18,Ge=1<<19,Xn=1<<20,Ke=32768,ir=1<<21,or=1<<22,Fe=1<<23,At=Symbol("$state"),Nr=Symbol("legacy props"),es=Symbol(""),ot=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Ar=3,at=8;function ts(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function rs(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function ns(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function ss(e){throw new Error("https://svelte.dev/e/effect_orphan")}function is(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function os(){throw new Error("https://svelte.dev/e/hydration_failed")}function as(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function us(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function ls(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function fs(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function cs(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Ct(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function ds(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let A=!1;function xe(e){A=e}let j;function ce(e){if(e===null)throw Ct(),st;return j=e}function ar(){return ce(ke(j))}function ie(e){if(A){if(ke(j)!==null)throw Ct(),st;j=e}}function ur(e=1){if(A){for(var t=e,r=j;t--;)r=ke(r);j=r}}function Cr(e=!0){for(var t=0,r=j;;){if(r.nodeType===at){var n=r.data;if(n===Tr){if(t===0)return r;t-=1}else(n===Mr||n===er)&&(t+=1)}var s=ke(r);e&&r.remove(),r=s}}function vs(e){if(!e||e.nodeType!==at)throw Ct(),st;return e.data}function Lr(e){return e===this.v}function hs(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Rr(e){return!hs(e,this.v)}let bs=!1,de=null;function ut(e){de=e}function Pr(e,t=!1,r){de={p:de,i:!1,c:null,e:null,s:e,x:null,l:null}}function Ir(e){var t=de,r=t.e;if(r!==null){t.e=null;for(var n of r)sn(n)}return e!==void 0&&(t.x=e),t.i=!0,de=t.p,e??{}}function jr(){return!0}let Qe=[];function Yr(){var e=Qe;Qe=[],Qn(e)}function yt(e){if(Qe.length===0&&!$t){var t=Qe;queueMicrotask(()=>{t===Qe&&Yr()})}Qe.push(e)}function _s(){for(;Qe.length>0;)Yr()}function Fr(e){var t=N;if(t===null)return D.f|=Fe,e;if((t.f&Nt)===0){if((t.f&Ot)===0)throw e;t.b.error(e)}else lt(e,t)}function lt(e,t){for(;t!==null;){if((t.f&Ot)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e}const Lt=new Set;let P=null,Rt=null,ve=null,he=[],Pt=null,lr=!1,$t=!1;class ye{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#r=0;#n=0;#u=null;#i=[];#s=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#n>0}process(t){he=[],Rt=null,this.apply();var r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of t)this.#o(n,r);this.is_fork||this.#f(),this.is_deferred()?(this.#a(r.effects),this.#a(r.render_effects),this.#a(r.block_effects)):(Rt=this,P=null,qr(r.render_effects),qr(r.effects),Rt=null,this.#u?.resolve()),ve=null}#o(t,r){t.f^=Q;for(var n=t.first;n!==null;){var s=n.f,i=(s&(De|Ye))!==0,o=i&&(s&Q)!==0,a=o||(s&we)!==0||this.skipped_effects.has(n);if((n.f&Ot)!==0&&n.b?.is_pending()&&(r={parent:r,effect:n,effects:[],render_effects:[],block_effects:[]}),!a&&n.fn!==null){i?n.f^=Q:(s&rr)!==0?r.effects.push(n):St(n)&&((n.f&ze)!==0&&r.block_effects.push(n),Mt(n));var u=n.first;if(u!==null){n=u;continue}}var l=n.parent;for(n=n.next;n===null&&l!==null;)l===r.effect&&(this.#a(r.effects),this.#a(r.render_effects),this.#a(r.block_effects),r=r.parent),n=l.next,l=l.parent}}#a(t){for(const r of t)((r.f&se)!==0?this.#i:this.#s).push(r),this.#l(r.deps),ee(r,Q)}#l(t){if(t!==null)for(const r of t)(r.f&G)===0||(r.f&Ke)===0||(r.f^=Ke,this.#l(r.deps))}capture(t,r){this.previous.has(t)||this.previous.set(t,r),(t.f&Fe)===0&&(this.current.set(t,t.v),ve?.set(t,t.v))}activate(){P=this,this.apply()}deactivate(){P===this&&(P=null,ve=null)}flush(){if(this.activate(),he.length>0){if(Hr(),P!==null&&P!==this)return}else this.#r===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#f(){if(this.#n===0){for(const t of this.#t)t();this.#t.clear()}this.#r===0&&this.#c()}#c(){if(Lt.size>1){this.previous.clear();var t=ve,r=!0,n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const i of Lt){if(i===this){r=!1;continue}const o=[];for(const[u,l]of this.current){if(i.current.has(u))if(r&&l!==i.current.get(u))i.current.set(u,l);else continue;o.push(u)}if(o.length===0)continue;const a=[...i.current.keys()].filter(u=>!this.current.has(u));if(a.length>0){var s=he;he=[];const u=new Set,l=new Map;for(const _ of o)Br(_,a,u,l);if(he.length>0){P=i,i.apply();for(const _ of he)i.#o(_,n);i.deactivate()}he=s}}P=null,ve=t}this.committed=!0,Lt.delete(this)}increment(t){this.#r+=1,t&&(this.#n+=1)}decrement(t){this.#r-=1,t&&(this.#n-=1),this.revive()}revive(){for(const t of this.#i)ee(t,se),Xe(t);for(const t of this.#s)ee(t,Ve),Xe(t);this.#i=[],this.#s=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#u??=Vr()).promise}static ensure(){if(P===null){const t=P=new ye;Lt.add(P),$t||ye.enqueue(()=>{P===t&&t.flush()})}return P}static enqueue(t){yt(t)}apply(){}}function ft(e){var t=$t;$t=!0;try{for(var r;;){if(_s(),he.length===0&&(P?.flush(),he.length===0))return Pt=null,r;Hr()}}finally{$t=t}}function Hr(){var e=qe;lr=!0;var t=null;try{var r=0;for(Ht(!0);he.length>0;){var n=ye.ensure();if(r++>1e3){var s,i;ms()}n.process(he),He.clear()}}finally{lr=!1,Ht(e),Pt=null}}function ms(){try{is()}catch(e){lt(e,Pt)}}let Ne=null;function qr(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(Oe|we))===0&&St(n)&&(Ne=new Set,Mt(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?un(n):n.fn=null),Ne?.size>0)){He.clear();for(const s of Ne){if((s.f&(Oe|we))!==0)continue;const i=[s];let o=s.parent;for(;o!==null;)Ne.has(o)&&(Ne.delete(o),i.push(o)),o=o.parent;for(let a=i.length-1;a>=0;a--){const u=i[a];(u.f&(Oe|we))===0&&Mt(u)}}Ne.clear()}}Ne=null}}function Br(e,t,r,n){if(!r.has(e)&&(r.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;(i&G)!==0?Br(s,t,r,n):(i&(or|ze))!==0&&(i&se)===0&&Wr(s,t,n)&&(ee(s,se),Xe(s))}}function Wr(e,t,r){const n=r.get(e);if(n!==void 0)return n;if(e.deps!==null)for(const s of e.deps){if(t.includes(s))return!0;if((s.f&G)!==0&&Wr(s,t,r))return r.set(s,!0),!0}return r.set(e,!1),!1}function Xe(e){for(var t=Pt=e;t.parent!==null;){t=t.parent;var r=t.f;if(lr&&t===N&&(r&ze)!==0&&(r&sr)===0)return;if((r&(Ye|De))!==0){if((r&Q)===0)return;t.f^=Q}}he.push(t)}function ps(e){let t=0,r=wt(0),n;return()=>{Ft()&&(b(r),hr(()=>(t===0&&(n=_r(()=>e(()=>xt(r)))),t+=1,()=>{yt(()=>{t-=1,t===0&&(n?.(),n=void 0,xt(r))})})))}}var gs=it|Ge|Ot;function ys(e,t,r){new $s(e,t,r)}class $s{parent;#t=!1;#e;#r=A?j:null;#n;#u;#i;#s=null;#o=null;#a=null;#l=null;#f=null;#c=0;#d=0;#h=!1;#v=null;#g=ps(()=>(this.#v=wt(this.#c),()=>{this.#v=null}));constructor(t,r,n){this.#e=t,this.#n=r,this.#u=n,this.parent=N.b,this.#t=!!this.#n.pending,this.#i=br(()=>{if(N.b=this,A){const i=this.#r;ar(),i.nodeType===at&&i.data===er?this.#$():this.#y()}else{var s=this.#m();try{this.#s=Le(()=>n(s))}catch(i){this.error(i)}this.#d>0?this.#_():this.#t=!1}return()=>{this.#f?.remove()}},gs),A&&(this.#e=j)}#y(){try{this.#s=Le(()=>this.#u(this.#e))}catch(t){this.error(t)}this.#t=!1}#$(){const t=this.#n.pending;t&&(this.#o=Le(()=>t(this.#e)),ye.enqueue(()=>{var r=this.#m();this.#s=this.#b(()=>(ye.ensure(),Le(()=>this.#u(r)))),this.#d>0?this.#_():(kt(this.#o,()=>{this.#o=null}),this.#t=!1)}))}#m(){var t=this.#e;return this.#t&&(this.#f=Ae(),this.#e.before(this.#f),t=this.#f),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#n.pending}#b(t){var r=N,n=D,s=de;be(this.#i),X(this.#i),ut(this.#i.ctx);try{return t()}catch(i){return Fr(i),null}finally{be(r),X(n),ut(s)}}#_(){const t=this.#n.pending;this.#s!==null&&(this.#l=document.createDocumentFragment(),this.#l.append(this.#f),cn(this.#s,this.#l)),this.#o===null&&(this.#o=Le(()=>t(this.#e)))}#p(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#p(t);return}this.#d+=t,this.#d===0&&(this.#t=!1,this.#o&&kt(this.#o,()=>{this.#o=null}),this.#l&&(this.#e.before(this.#l),this.#l=null))}update_pending_count(t){this.#p(t),this.#c+=t,this.#v&&jt(this.#v,this.#c)}get_effect_pending(){return this.#g(),b(this.#v)}error(t){var r=this.#n.onerror;let n=this.#n.failed;if(this.#h||!r&&!n)throw t;this.#s&&(ae(this.#s),this.#s=null),this.#o&&(ae(this.#o),this.#o=null),this.#a&&(ae(this.#a),this.#a=null),A&&(ce(this.#r),ur(),ce(Cr()));var s=!1,i=!1;const o=()=>{if(s){ds();return}s=!0,i&&cs(),ye.ensure(),this.#c=0,this.#a!==null&&kt(this.#a,()=>{this.#a=null}),this.#t=this.has_pending_snippet(),this.#s=this.#b(()=>(this.#h=!1,Le(()=>this.#u(this.#e)))),this.#d>0?this.#_():this.#t=!1};var a=D;try{X(null),i=!0,r?.(t,o),i=!1}catch(u){lt(u,this.#i&&this.#i.parent)}finally{X(a)}n&&yt(()=>{this.#a=this.#b(()=>{ye.ensure(),this.#h=!0;try{return Le(()=>{n(this.#e,()=>t,()=>o)})}catch(u){return lt(u,this.#i.parent),null}finally{this.#h=!1}})})}}function ws(e,t,r,n){const s=fr;if(r.length===0&&e.length===0){n(t.map(s));return}var i=P,o=N,a=xs();function u(){Promise.all(r.map(l=>ks(l))).then(l=>{a();try{n([...t.map(s),...l])}catch(_){(o.f&Oe)===0&<(_,o)}i?.deactivate(),It()}).catch(l=>{lt(l,o)})}e.length>0?Promise.all(e).then(()=>{a();try{return u()}finally{i?.deactivate(),It()}}):u()}function xs(){var e=N,t=D,r=de,n=P;return function(i=!0){be(e),X(t),ut(r),i&&n?.activate()}}function It(){be(null),X(null),ut(null)}function fr(e){var t=G|se,r=D!==null&&(D.f&G)!==0?D:null;return N!==null&&(N.f|=Ge),{ctx:de,deps:null,effects:null,equals:Lr,f:t,fn:e,reactions:null,rv:0,v:K,wv:0,parent:r??N,ac:null}}function ks(e,t){let r=N;r===null&&ts();var n=r.b,s=void 0,i=wt(K),o=!D,a=new Map;return Ps(()=>{var u=Vr();s=u.promise;try{Promise.resolve(e()).then(u.resolve,u.reject).then(()=>{l===P&&l.committed&&l.deactivate(),It()})}catch(d){u.reject(d),It()}var l=P;if(o){var _=!n.is_pending();n.update_pending_count(1),l.increment(_),a.get(l)?.reject(ot),a.delete(l),a.set(l,u)}const p=(d,v=void 0)=>{if(l.activate(),v)v!==ot&&(i.f|=Fe,jt(i,v));else{(i.f&Fe)!==0&&(i.f^=Fe),jt(i,d);for(const[S,L]of a){if(a.delete(S),S===l)break;L.reject(ot)}}o&&(n.update_pending_count(-1),l.decrement(_))};u.promise.then(p,d=>p(null,d||"unknown"))}),nn(()=>{for(const u of a.values())u.reject(ot)}),new Promise(u=>{function l(_){function p(){_===s?u(i):l(s)}_.then(p,p)}l(s)})}function Es(e){const t=fr(e);return t.equals=Rr,t}function Ur(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)ae(t[r])}}function Ss(e){for(var t=e.parent;t!==null;){if((t.f&G)===0)return(t.f&Oe)===0?t:null;t=t.parent}return null}function cr(e){var t,r=N;be(Ss(e));try{e.f&=~Ke,Ur(e),t=mn(e)}finally{be(r)}return t}function Jr(e){var t=cr(e);if(e.equals(t)||(P?.is_fork||(e.v=t),e.wv=bn()),!et)if(ve!==null)Ft()&&ve.set(e,t);else{var r=(e.f&ge)===0?Ve:Q;ee(e,r)}}let dr=new Set;const He=new Map;let Zr=!1;function wt(e,t){var r={f:0,v:e,reactions:null,equals:Lr,rv:0,wv:0};return r}function H(e,t){const r=wt(e);return Hs(r),r}function Ms(e,t=!1,r=!0){const n=wt(e);return t||(n.equals=Rr),n}function z(e,t,r=!1){D!==null&&(!Se||(D.f&Or)!==0)&&jr()&&(D.f&(G|ze|or|Or))!==0&&!Re?.includes(e)&&fs();let n=r?ct(t):t;return jt(e,n)}function jt(e,t){if(!e.equals(t)){var r=e.v;et?He.set(e,t):He.set(e,r),e.v=t;var n=ye.ensure();n.capture(e,r),(e.f&G)!==0&&((e.f&se)!==0&&cr(e),ee(e,(e.f&ge)!==0?Q:Ve)),e.wv=bn(),Gr(e,se),N!==null&&(N.f&Q)!==0&&(N.f&(De|Ye))===0&&(_e===null?qs([e]):_e.push(e)),!n.is_fork&&dr.size>0&&!Zr&&Ts()}return t}function Ts(){Zr=!1;var e=qe;Ht(!0);const t=Array.from(dr);try{for(const r of t)(r.f&Q)!==0&&ee(r,Ve),St(r)&&Mt(r)}finally{Ht(e)}dr.clear()}function xt(e){z(e,e.v+1)}function Gr(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,s=0;s<n;s++){var i=r[s],o=i.f,a=(o&se)===0;if(a&&ee(i,t),(o&G)!==0){var u=i;ve?.delete(u),(o&Ke)===0&&(o&ge&&(i.f|=Ke),Gr(u,Ve))}else a&&((o&ze)!==0&&Ne!==null&&Ne.add(i),Xe(i))}}function ct(e){if(typeof e!="object"||e===null||At in e)return e;const t=zr(e);if(t!==Gn&&t!==Kn)return e;var r=new Map,n=Wn(e),s=H(0),i=tt,o=a=>{if(tt===i)return a();var u=D,l=tt;X(null),hn(i);var _=a();return X(u),hn(l),_};return n&&r.set("length",H(e.length)),new Proxy(e,{defineProperty(a,u,l){(!("value"in l)||l.configurable===!1||l.enumerable===!1||l.writable===!1)&&us();var _=r.get(u);return _===void 0?_=o(()=>{var p=H(l.value);return r.set(u,p),p}):z(_,l.value,!0),!0},deleteProperty(a,u){var l=r.get(u);if(l===void 0){if(u in a){const _=o(()=>H(K));r.set(u,_),xt(s)}}else z(l,K),xt(s);return!0},get(a,u,l){if(u===At)return e;var _=r.get(u),p=u in a;if(_===void 0&&(!p||Ze(a,u)?.writable)&&(_=o(()=>{var v=ct(p?a[u]:K),S=H(v);return S}),r.set(u,_)),_!==void 0){var d=b(_);return d===K?void 0:d}return Reflect.get(a,u,l)},getOwnPropertyDescriptor(a,u){var l=Reflect.getOwnPropertyDescriptor(a,u);if(l&&"value"in l){var _=r.get(u);_&&(l.value=b(_))}else if(l===void 0){var p=r.get(u),d=p?.v;if(p!==void 0&&d!==K)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return l},has(a,u){if(u===At)return!0;var l=r.get(u),_=l!==void 0&&l.v!==K||Reflect.has(a,u);if(l!==void 0||N!==null&&(!_||Ze(a,u)?.writable)){l===void 0&&(l=o(()=>{var d=_?ct(a[u]):K,v=H(d);return v}),r.set(u,l));var p=b(l);if(p===K)return!1}return _},set(a,u,l,_){var p=r.get(u),d=u in a;if(n&&u==="length")for(var v=l;v<p.v;v+=1){var S=r.get(v+"");S!==void 0?z(S,K):v in a&&(S=o(()=>H(K)),r.set(v+"",S))}if(p===void 0)(!d||Ze(a,u)?.writable)&&(p=o(()=>H(void 0)),z(p,ct(l)),r.set(u,p));else{d=p.v!==K;var L=o(()=>ct(l));z(p,L)}var Y=Reflect.getOwnPropertyDescriptor(a,u);if(Y?.set&&Y.set.call(_,l),!d){if(n&&typeof u=="string"){var V=r.get("length"),R=Number(u);Number.isInteger(R)&&R>=V.v&&z(V,R+1)}xt(s)}return!0},ownKeys(a){b(s);var u=Reflect.ownKeys(a).filter(p=>{var d=r.get(p);return d===void 0||d.v!==K});for(var[l,_]of r)_.v!==K&&!(l in a)&&u.push(l);return u},setPrototypeOf(){ls()}})}var Kr,Qr,Xr,en;function vr(){if(Kr===void 0){Kr=window,Qr=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Xr=Ze(t,"firstChild").get,en=Ze(t,"nextSibling").get,Dr(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Dr(r)&&(r.__t=void 0)}}function Ae(e=""){return document.createTextNode(e)}function dt(e){return Xr.call(e)}function ke(e){return en.call(e)}function oe(e,t){if(!A)return dt(e);var r=dt(j);return r===null&&(r=j.appendChild(Ae())),ce(r),r}function te(e,t=1,r=!1){let n=A?j:e;for(var s;t--;)s=n,n=ke(n);if(!A)return n;if(r&&n?.nodeType!==Ar){var i=Ae();return n===null?s?.after(i):n.before(i),ce(i),i}return ce(n),n}function zs(e){e.textContent=""}function Ds(){return!1}let tn=!1;function rn(){tn||(tn=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function Yt(e){var t=D,r=N;X(null),be(null);try{return e()}finally{X(t),be(r)}}function Vs(e,t,r,n=r){e.addEventListener(t,()=>Yt(r));const s=e.__on_r;s?e.__on_r=()=>{s(),n(!0)}:e.__on_r=()=>n(!0),rn()}function Os(e){N===null&&(D===null&&ss(),ns()),et&&rs()}function Ns(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){var n=N;n!==null&&(n.f&we)!==0&&(e|=we);var s={ctx:de,deps:null,nodes_start:null,nodes_end:null,f:e|se|ge,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{Mt(s),s.f|=Nt}catch(a){throw ae(s),a}else t!==null&&Xe(s);var i=s;if(r&&i.deps===null&&i.teardown===null&&i.nodes_start===null&&i.first===i.last&&(i.f&Ge)===0&&(i=i.first,(e&ze)!==0&&(e&it)!==0&&i!==null&&(i.f|=it)),i!==null&&(i.parent=n,n!==null&&Ns(i,n),D!==null&&(D.f&G)!==0&&(e&Ye)===0)){var o=D;(o.effects??=[]).push(i)}return s}function Ft(){return D!==null&&!Se}function nn(e){const t=Ee(nr,null,!1);return ee(t,Q),t.teardown=e,t}function As(e){Os();var t=N.f,r=!D&&(t&De)!==0&&(t&Nt)===0;if(r){var n=de;(n.e??=[]).push(e)}else return sn(e)}function sn(e){return Ee(rr|Xn,e,!1)}function Cs(e){ye.ensure();const t=Ee(Ye|Ge,e,!0);return()=>{ae(t)}}function Ls(e){ye.ensure();const t=Ee(Ye|Ge,e,!0);return(r={})=>new Promise(n=>{r.outro?kt(t,()=>{ae(t),n(void 0)}):(ae(t),n(void 0))})}function Rs(e){return Ee(rr,e,!1)}function Ps(e){return Ee(or|Ge,e,!0)}function hr(e,t=0){return Ee(nr|t,e,!0)}function Ce(e,t=[],r=[],n=[]){ws(n,t,r,s=>{Ee(nr,()=>e(...s.map(b)),!0)})}function br(e,t=0){var r=Ee(ze|t,e,!0);return r}function Le(e){return Ee(De|Ge,e,!0)}function on(e){var t=e.teardown;if(t!==null){const r=et,n=D;dn(!0),X(null);try{t.call(null)}finally{dn(r),X(n)}}}function an(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const s=r.ac;s!==null&&Yt(()=>{s.abort(ot)});var n=r.next;(r.f&Ye)!==0?r.parent=null:ae(r,t),r=n}}function Is(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&De)===0&&ae(t),t=r}}function ae(e,t=!0){var r=!1;(t||(e.f&sr)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(js(e.nodes_start,e.nodes_end),r=!0),an(e,t&&!r),qt(e,0),ee(e,Oe);var n=e.transitions;if(n!==null)for(const i of n)i.stop();on(e);var s=e.parent;s!==null&&s.first!==null&&un(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function js(e,t){for(;e!==null;){var r=e===t?null:ke(e);e.remove(),e=r}}function un(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 kt(e,t,r=!0){var n=[];ln(e,n,!0),Ys(n,()=>{r&&ae(e),t&&t()})}function Ys(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var s of e)s.out(n)}else t()}function ln(e,t,r){if((e.f&we)===0){if(e.f^=we,e.transitions!==null)for(const o of e.transitions)(o.is_global||r)&&t.push(o);for(var n=e.first;n!==null;){var s=n.next,i=(n.f&it)!==0||(n.f&De)!==0&&(e.f&ze)!==0;ln(n,t,i?r:!1),n=s}}}function Fs(e){fn(e,!0)}function fn(e,t){if((e.f&we)!==0){e.f^=we,(e.f&Q)===0&&(ee(e,se),Xe(e));for(var r=e.first;r!==null;){var n=r.next,s=(r.f&it)!==0||(r.f&De)!==0;fn(r,s?t:!1),r=n}if(e.transitions!==null)for(const i of e.transitions)(i.is_global||t)&&i.in()}}function cn(e,t){for(var r=e.nodes_start,n=e.nodes_end;r!==null;){var s=r===n?null:ke(r);t.append(r),r=s}}let qe=!1;function Ht(e){qe=e}let et=!1;function dn(e){et=e}let D=null,Se=!1;function X(e){D=e}let N=null;function be(e){N=e}let Re=null;function Hs(e){D!==null&&(Re===null?Re=[e]:Re.push(e))}let re=null,le=0,_e=null;function qs(e){_e=e}let vn=1,Et=0,tt=Et;function hn(e){tt=e}function bn(){return++vn}function St(e){var t=e.f;if((t&se)!==0)return!0;if(t&G&&(e.f&=~Ke),(t&Ve)!==0){var r=e.deps;if(r!==null)for(var n=r.length,s=0;s<n;s++){var i=r[s];if(St(i)&&Jr(i),i.wv>e.wv)return!0}(t&ge)!==0&&ve===null&&ee(e,Q)}return!1}function _n(e,t,r=!0){var n=e.reactions;if(n!==null&&!Re?.includes(e))for(var s=0;s<n.length;s++){var i=n[s];(i.f&G)!==0?_n(i,t,!1):t===i&&(r?ee(i,se):(i.f&Q)!==0&&ee(i,Ve),Xe(i))}}function mn(e){var t=re,r=le,n=_e,s=D,i=Re,o=de,a=Se,u=tt,l=e.f;re=null,le=0,_e=null,D=(l&(De|Ye))===0?e:null,Re=null,ut(e.ctx),Se=!1,tt=++Et,e.ac!==null&&(Yt(()=>{e.ac.abort(ot)}),e.ac=null);try{e.f|=ir;var _=e.fn,p=_(),d=e.deps;if(re!==null){var v;if(qt(e,le),d!==null&&le>0)for(d.length=le+re.length,v=0;v<re.length;v++)d[le+v]=re[v];else e.deps=d=re;if(qe&&Ft()&&(e.f&ge)!==0)for(v=le;v<d.length;v++)(d[v].reactions??=[]).push(e)}else d!==null&&le<d.length&&(qt(e,le),d.length=le);if(jr()&&_e!==null&&!Se&&d!==null&&(e.f&(G|Ve|se))===0)for(v=0;v<_e.length;v++)_n(_e[v],e);return s!==null&&s!==e&&(Et++,_e!==null&&(n===null?n=_e:n.push(..._e))),(e.f&Fe)!==0&&(e.f^=Fe),p}catch(S){return Fr(S)}finally{e.f^=ir,re=t,le=r,_e=n,D=s,Re=i,ut(o),Se=a,tt=u}}function Bs(e,t){let r=t.reactions;if(r!==null){var n=Un.call(r,e);if(n!==-1){var s=r.length-1;s===0?r=t.reactions=null:(r[n]=r[s],r.pop())}}r===null&&(t.f&G)!==0&&(re===null||!re.includes(t))&&(ee(t,Ve),(t.f&ge)!==0&&(t.f^=ge,t.f&=~Ke),Ur(t),qt(t,0))}function qt(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)Bs(e,r[n])}function Mt(e){var t=e.f;if((t&Oe)===0){ee(e,Q);var r=N,n=qe;N=e,qe=!0;try{(t&ze)!==0?Is(e):an(e),on(e);var s=mn(e);e.teardown=typeof s=="function"?s:null,e.wv=vn;var i;tr&&bs&&(e.f&se)!==0&&e.deps}finally{qe=n,N=r}}}async function Ws(){await Promise.resolve(),ft()}function b(e){var t=e.f,r=(t&G)!==0;if(D!==null&&!Se){var n=N!==null&&(N.f&Oe)!==0;if(!n&&!Re?.includes(e)){var s=D.deps;if((D.f&ir)!==0)e.rv<Et&&(e.rv=Et,re===null&&s!==null&&s[le]===e?le++:re===null?re=[e]:re.includes(e)||re.push(e));else{(D.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[D]:i.includes(D)||i.push(D)}}}if(et){if(He.has(e))return He.get(e);if(r){var o=e,a=o.v;return((o.f&Q)===0&&o.reactions!==null||gn(o))&&(a=cr(o)),He.set(o,a),a}}else r&&!ve?.has(e)&&(o=e,St(o)&&Jr(o),qe&&Ft()&&(o.f&ge)===0&&pn(o));if(ve?.has(e))return ve.get(e);if((e.f&Fe)!==0)throw e.v;return e.v}function pn(e){if(e.deps!==null){e.f^=ge;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&G)!==0&&(t.f&ge)===0&&pn(t)}}function gn(e){if(e.v===K)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(He.has(t)||(t.f&G)!==0&&gn(t))return!0;return!1}function _r(e){var t=Se;try{return Se=!0,e()}finally{Se=t}}const Us=-7169;function ee(e,t){e.f=e.f&Us|t}const yn=new Set,mr=new Set;function Js(e,t,r,n={}){function s(i){if(n.capture||Tt.call(t,i),!i.cancelBubble)return Yt(()=>r?.call(this,i))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?yt(()=>{t.addEventListener(e,s,n)}):t.addEventListener(e,s,n),s}function rt(e,t,r,n,s){var i={capture:n,passive:s},o=Js(e,t,r,i);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&nn(()=>{t.removeEventListener(e,o,i)})}function Zs(e){for(var t=0;t<e.length;t++)yn.add(e[t]);for(var r of mr)r(e)}let $n=null;function Tt(e){var t=this,r=t.ownerDocument,n=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;$n=e;var o=0,a=$n===e&&e.__root;if(a){var u=s.indexOf(a);if(u!==-1&&(t===document||t===window)){e.__root=t;return}var l=s.indexOf(t);if(l===-1)return;u<=l&&(o=u)}if(i=s[o]||e.target,i!==t){Vt(e,"currentTarget",{configurable:!0,get(){return i||r}});var _=D,p=N;X(null),be(null);try{for(var d,v=[];i!==null;){var S=i.assignedSlot||i.parentNode||i.host||null;try{var L=i["__"+n];L!=null&&(!i.disabled||e.target===i)&&L.call(i,e)}catch(Y){d?v.push(Y):d=Y}if(e.cancelBubble||S===t||S===null)break;i=S}if(d){for(let Y of v)queueMicrotask(()=>{throw Y});throw d}}finally{e.__root=t,delete e.currentTarget,X(_),be(p)}}}function Gs(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function vt(e,t){var r=N;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function Pe(e,t){var r=(t&Hn)!==0,n=(t&qn)!==0,s,i=!e.startsWith("<!>");return()=>{if(A)return vt(j,null),j;s===void 0&&(s=Gs(i?e:"<!>"+e),r||(s=dt(s)));var o=n||Qr?document.importNode(s,!0):s.cloneNode(!0);if(r){var a=dt(o),u=o.lastChild;vt(a,u)}else vt(o,o);return o}}function Ks(e=""){if(!A){var t=Ae(e+"");return vt(t,t),t}var r=j;return r.nodeType!==Ar&&(r.before(r=Ae()),ce(r)),vt(r,r),r}function $e(e,t){if(A){var r=N;((r.f&Nt)===0||r.nodes_end===null)&&(r.nodes_end=j),ar();return}e!==null&&e.before(t)}const Qs=["touchstart","touchmove"];function Xs(e){return Qs.includes(e)}function ei(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function wn(e,t){return xn(e,t)}function ti(e,t){vr(),t.intro=t.intro??!1;const r=t.target,n=A,s=j;try{for(var i=dt(r);i&&(i.nodeType!==at||i.data!==Mr);)i=ke(i);if(!i)throw st;xe(!0),ce(i);const o=xn(e,{...t,anchor:i});return xe(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
|
|
2
|
+
`).some(a=>a.startsWith("https://svelte.dev/e/")))throw o;return o!==st&&console.warn("Failed to hydrate: ",o),t.recover===!1&&os(),vr(),zs(r),xe(!1),wn(e,t)}finally{xe(n),ce(s)}}const ht=new Map;function xn(e,{target:t,anchor:r,props:n={},events:s,context:i,intro:o=!0}){vr();var a=new Set,u=p=>{for(var d=0;d<p.length;d++){var v=p[d];if(!a.has(v)){a.add(v);var S=Xs(v);t.addEventListener(v,Tt,{passive:S});var L=ht.get(v);L===void 0?(document.addEventListener(v,Tt,{passive:S}),ht.set(v,1)):ht.set(v,L+1)}}};u(Jn(yn)),mr.add(u);var l=void 0,_=Ls(()=>{var p=r??t.appendChild(Ae());return ys(p,{pending:()=>{}},d=>{if(i){Pr({});var v=de;v.c=i}if(s&&(n.$$events=s),A&&vt(d,null),l=e(d,n)||{},A&&(N.nodes_end=j,j===null||j.nodeType!==at||j.data!==Tr))throw Ct(),st;i&&Ir()}),()=>{for(var d of a){t.removeEventListener(d,Tt);var v=ht.get(d);--v===0?(document.removeEventListener(d,Tt),ht.delete(d)):ht.set(d,v)}mr.delete(u),p!==r&&p.parentNode?.removeChild(p)}});return pr.set(l,_),l}let pr=new WeakMap;function ri(e,t){const r=pr.get(e);return r?(pr.delete(e),r(t)):Promise.resolve()}class ni{anchor;#t=new Map;#e=new Map;#r=new Map;#n=new Set;#u=!0;constructor(t,r=!0){this.anchor=t,this.#u=r}#i=()=>{var t=P;if(this.#t.has(t)){var r=this.#t.get(t),n=this.#e.get(r);if(n)Fs(n),this.#n.delete(r);else{var s=this.#r.get(r);s&&(this.#e.set(r,s.effect),this.#r.delete(r),s.fragment.lastChild.remove(),this.anchor.before(s.fragment),n=s.effect)}for(const[i,o]of this.#t){if(this.#t.delete(i),i===t)break;const a=this.#r.get(o);a&&(ae(a.effect),this.#r.delete(o))}for(const[i,o]of this.#e){if(i===r||this.#n.has(i))continue;const a=()=>{if(Array.from(this.#t.values()).includes(i)){var l=document.createDocumentFragment();cn(o,l),l.append(Ae()),this.#r.set(i,{effect:o,fragment:l})}else ae(o);this.#n.delete(i),this.#e.delete(i)};this.#u||!n?(this.#n.add(i),kt(o,a,!1)):a()}}};#s=t=>{this.#t.delete(t);const r=Array.from(this.#t.values());for(const[n,s]of this.#r)r.includes(n)||(ae(s.effect),this.#r.delete(n))};ensure(t,r){var n=P,s=Ds();if(r&&!this.#e.has(t)&&!this.#r.has(t))if(s){var i=document.createDocumentFragment(),o=Ae();i.append(o),this.#r.set(t,{effect:Le(()=>r(o)),fragment:i})}else this.#e.set(t,Le(()=>r(this.anchor)));if(this.#t.set(n,t),s){for(const[a,u]of this.#e)a===t?n.skipped_effects.delete(u):n.skipped_effects.add(u);for(const[a,u]of this.#r)a===t?n.skipped_effects.delete(u.effect):n.skipped_effects.add(u.effect);n.oncommit(this.#i),n.ondiscard(this.#s)}else A&&(this.anchor=j),this.#i()}}function bt(e,t,r=!1){A&&ar();var n=new ni(e),s=r?it:0;function i(o,a){if(A){const l=vs(e)===er;if(o===l){var u=Cr();ce(u),n.anchor=u,xe(!1),n.ensure(o,a),xe(!0);return}}n.ensure(o,a)}br(()=>{var o=!1;t((a,u=!0)=>{o=!0,i(u,a)}),o||i(!1,null)},s)}function si(e,t){let r=null,n=A;var s;if(A){r=j;for(var i=dt(document.head);i!==null&&(i.nodeType!==at||i.data!==e);)i=ke(i);if(i===null)xe(!1);else{var o=ke(i);i.remove(),ce(o)}}A||(s=document.head.appendChild(Ae()));try{br(()=>t(s),sr)}finally{n&&(xe(!0),ce(r))}}function ii(e,t){Rs(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const s=document.createElement("style");s.id=t.hash,s.textContent=t.code,n.appendChild(s)}})}function oi(e,t,r){var n=""+e;return n}function ai(e,t){return e==null?null:String(e)}function kn(e,t,r,n,s,i){var o=e.__className;if(A||o!==r||o===void 0){var a=oi(r);(!A||a!==e.getAttribute("class"))&&(a==null?e.removeAttribute("class"):e.className=a),e.__className=r}return i}function En(e,t,r,n){var s=e.__style;if(A||s!==t){var i=ai(t);(!A||i!==e.getAttribute("style"))&&(i==null?e.removeAttribute("style"):e.style.cssText=i),e.__style=t}return n}const ui=Symbol("is custom element"),li=Symbol("is html");function _t(e){if(A){var t=!1,r=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var n=e.value;Bt(e,"value",null),e.value=n}if(e.hasAttribute("checked")){var s=e.checked;Bt(e,"checked",null),e.checked=s}}};e.__on_r=r,yt(r),rn()}}function Bt(e,t,r,n){var s=fi(e);A&&(s[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||s[t]!==(s[t]=r)&&(t==="loading"&&(e[es]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Sn(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function Be(e,t,r){var n=D,s=N;let i=A;A&&xe(!1),X(null),be(null);try{t!=="style"&&(gr.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?Sn(e).includes(t):r&&typeof r=="object")?e[t]=r:Bt(e,t,r==null?r:String(r))}finally{X(n),be(s),i&&xe(!0)}}function fi(e){return e.__attributes??={[ui]:e.nodeName.includes("-"),[li]:e.namespaceURI===Bn}}var gr=new Map;function Sn(e){var t=e.getAttribute("is")||e.nodeName,r=gr.get(t);if(r)return r;gr.set(t,r=[]);for(var n,s=e,i=Element.prototype;i!==s;){n=Zn(s);for(var o in n)n[o].set&&r.push(o);s=zr(s)}return r}function mt(e,t,r=t){var n=new WeakSet;Vs(e,"input",async s=>{var i=s?e.defaultValue:e.value;if(i=yr(e)?$r(i):i,r(i),P!==null&&n.add(P),await Ws(),i!==(i=t())){var o=e.selectionStart,a=e.selectionEnd,u=e.value.length;if(e.value=i??"",a!==null){var l=e.value.length;o===a&&a===u&&l>u?(e.selectionStart=l,e.selectionEnd=l):(e.selectionStart=o,e.selectionEnd=Math.min(a,l))}}}),(A&&e.defaultValue!==e.value||_r(t)==null&&e.value)&&(r(yr(e)?$r(e.value):e.value),P!==null&&n.add(P)),hr(()=>{var s=t();if(e===document.activeElement){var i=Rt??P;if(n.has(i))return}yr(e)&&s===$r(e.value)||e.type==="date"&&!s&&!e.value||s!==e.value&&(e.value=s??"")})}function yr(e){var t=e.type;return t==="number"||t==="range"}function $r(e){return e===""?null:+e}let Wt=!1;function ci(e){var t=Wt;try{return Wt=!1,[e(),Wt]}finally{Wt=t}}function Ut(e,t,r,n){var s=(r&Yn)!==0,i=(r&Fn)!==0,o=n,a=!0,u=()=>(a&&(a=!1,o=i?_r(n):n),o),l;if(s){var _=At in e||Nr in e;l=Ze(e,t)?.set??(_&&t in e?R=>e[t]=R:void 0)}var p,d=!1;s?[p,d]=ci(()=>e[t]):p=e[t],p===void 0&&n!==void 0&&(p=u(),l&&(as(),l(p)));var v;if(v=()=>{var R=e[t];return R===void 0?u():(a=!0,R)},(r&jn)===0)return v;if(l){var S=e.$$legacy;return(function(R,W){return arguments.length>0?((!W||S||d)&&l(W?v():R),R):v()})}var L=!1,Y=((r&In)!==0?fr:Es)(()=>(L=!1,v()));s&&b(Y);var V=N;return(function(R,W){if(arguments.length>0){const ue=W?b(Y):s?ct(R):R;return z(Y,ue),L=!0,o!==void 0&&(o=ue),R}return et&&L||(V.f&Oe)!==0?Y.v:b(Y)})}function di(e){return new vi(e)}class vi{#t;#e;constructor(t){var r=new Map,n=(i,o)=>{var a=Ms(o,!1,!1);return r.set(i,a),a};const s=new Proxy({...t.props||{},$$events:{}},{get(i,o){return b(r.get(o)??n(o,Reflect.get(i,o)))},has(i,o){return o===Nr?!0:(b(r.get(o)??n(o,Reflect.get(i,o))),Reflect.has(i,o))},set(i,o,a){return z(r.get(o)??n(o,a),a),Reflect.set(i,o,a)}});this.#e=(t.hydrate?ti:wn)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&ft(),this.#t=s.$$events;for(const i of Object.keys(this.#e))i==="$set"||i==="$destroy"||i==="$on"||Vt(this,i,{get(){return this.#e[i]},set(o){this.#e[i]=o},enumerable:!0});this.#e.$set=i=>{Object.assign(s,i)},this.#e.$destroy=()=>{ri(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...s)=>r.call(this,...s);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(s=>s!==n)}}$destroy(){this.#e.$destroy()}}let Mn;typeof HTMLElement=="function"&&(Mn=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 s=>{const i=document.createElement("slot");n!=="default"&&(i.name=n),$e(s,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=hi(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 s=this.$$g_p(n.name);s in this.$$d||(this.$$d[s]=Jt(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=di({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Cs(()=>{hr(()=>{this.$$r=!0;for(const n of Dt(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const s=Jt(n,this.$$d[n],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,s)}this.$$r=!1})});for(const n in this.$$l)for(const s of this.$$l[n]){const i=this.$$c.$on(n,s);this.$$l_u.set(s,i)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Jt(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 Dt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Jt(e,t,r,n){const s=r[e]?.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(s){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(s){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function hi(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function bi(e,t,r,n,s,i){let o=class extends Mn{constructor(){super(e,r,s),this.$$p_d=t}static get observedAttributes(){return Dt(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Dt(t).forEach(a=>{Vt(o.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(u){u=Jt(a,u,t),this.$$d[a]=u;var l=this.$$c;if(l){var _=Ze(l,a)?.get;_?l[a]=u:l.$set({[a]:u})}}})}),n.forEach(a=>{Vt(o.prototype,a,{get(){return this.$$c?.[a]}})}),e.element=o,o}function Tn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Zt={exports:{}},_i=Zt.exports,zn;function mi(){return zn||(zn=1,(function(e,t){(function(r,n){e.exports=n()})(_i,(function(){var r=1e3,n=6e4,s=36e5,i="millisecond",o="second",a="minute",u="hour",l="day",_="week",p="month",d="quarter",v="year",S="date",L="Invalid Date",Y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,V=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,R={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function($){var h=["th","st","nd","rd"],f=$%100;return"["+$+(h[(f-20)%10]||h[f]||h[0])+"]"}},W=function($,h,f){var y=String($);return!y||y.length>=h?$:""+Array(h+1-y.length).join(f)+$},ue={s:W,z:function($){var h=-$.utcOffset(),f=Math.abs(h),y=Math.floor(f/60),c=f%60;return(h<=0?"+":"-")+W(y,2,"0")+":"+W(c,2,"0")},m:function $(h,f){if(h.date()<f.date())return-$(f,h);var y=12*(f.year()-h.year())+(f.month()-h.month()),c=h.clone().add(y,p),E=f-c<0,k=h.clone().add(y+(E?-1:1),p);return+(-(y+(f-c)/(E?c-k:k-c))||0)},a:function($){return $<0?Math.ceil($)||0:Math.floor($)},p:function($){return{M:p,y:v,w:_,d:l,D:S,h:u,m:a,s:o,ms:i,Q:d}[$]||String($||"").toLowerCase().replace(/s$/,"")},u:function($){return $===void 0}},fe="en",M={};M[fe]=R;var w="$isDayjsObject",m=function($){return $ instanceof q||!(!$||!$[w])},O=function $(h,f,y){var c;if(!h)return fe;if(typeof h=="string"){var E=h.toLowerCase();M[E]&&(c=E),f&&(M[E]=f,c=E);var k=h.split("-");if(!c&&k.length>1)return $(k[0])}else{var C=h.name;M[C]=h,c=C}return!y&&c&&(fe=c),c||!y&&fe},T=function($,h){if(m($))return $.clone();var f=typeof h=="object"?h:{};return f.date=$,f.args=arguments,new q(f)},x=ue;x.l=O,x.i=m,x.w=function($,h){return T($,{locale:h.$L,utc:h.$u,x:h.$x,$offset:h.$offset})};var q=(function(){function $(f){this.$L=O(f.locale,null,!0),this.parse(f),this.$x=this.$x||f.x||{},this[w]=!0}var h=$.prototype;return h.parse=function(f){this.$d=(function(y){var c=y.date,E=y.utc;if(c===null)return new Date(NaN);if(x.u(c))return new Date;if(c instanceof Date)return new Date(c);if(typeof c=="string"&&!/Z$/i.test(c)){var k=c.match(Y);if(k){var C=k[2]-1||0,F=(k[7]||"0").substring(0,3);return E?new Date(Date.UTC(k[1],C,k[3]||1,k[4]||0,k[5]||0,k[6]||0,F)):new Date(k[1],C,k[3]||1,k[4]||0,k[5]||0,k[6]||0,F)}}return new Date(c)})(f),this.init()},h.init=function(){var f=this.$d;this.$y=f.getFullYear(),this.$M=f.getMonth(),this.$D=f.getDate(),this.$W=f.getDay(),this.$H=f.getHours(),this.$m=f.getMinutes(),this.$s=f.getSeconds(),this.$ms=f.getMilliseconds()},h.$utils=function(){return x},h.isValid=function(){return this.$d.toString()!==L},h.isSame=function(f,y){var c=T(f);return this.startOf(y)<=c&&c<=this.endOf(y)},h.isAfter=function(f,y){return T(f)<this.startOf(y)},h.isBefore=function(f,y){return this.endOf(y)<T(f)},h.$g=function(f,y,c){return x.u(f)?this[y]:this.set(c,f)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(f,y){var c=this,E=!!x.u(y)||y,k=x.p(f),C=function(me,U){var pe=x.w(c.$u?Date.UTC(c.$y,U,me):new Date(c.$y,U,me),c);return E?pe:pe.endOf(l)},F=function(me,U){return x.w(c.toDate()[me].apply(c.toDate("s"),(E?[0,0,0,0]:[23,59,59,999]).slice(U)),c)},B=this.$W,Z=this.$M,ne=this.$D,Me="set"+(this.$u?"UTC":"");switch(k){case v:return E?C(1,0):C(31,11);case p:return E?C(1,Z):C(0,Z+1);case _:var Te=this.$locale().weekStart||0,We=(B<Te?B+7:B)-Te;return C(E?ne-We:ne+(6-We),Z);case l:case S:return F(Me+"Hours",0);case u:return F(Me+"Minutes",1);case a:return F(Me+"Seconds",2);case o:return F(Me+"Milliseconds",3);default:return this.clone()}},h.endOf=function(f){return this.startOf(f,!1)},h.$set=function(f,y){var c,E=x.p(f),k="set"+(this.$u?"UTC":""),C=(c={},c[l]=k+"Date",c[S]=k+"Date",c[p]=k+"Month",c[v]=k+"FullYear",c[u]=k+"Hours",c[a]=k+"Minutes",c[o]=k+"Seconds",c[i]=k+"Milliseconds",c)[E],F=E===l?this.$D+(y-this.$W):y;if(E===p||E===v){var B=this.clone().set(S,1);B.$d[C](F),B.init(),this.$d=B.set(S,Math.min(this.$D,B.daysInMonth())).$d}else C&&this.$d[C](F);return this.init(),this},h.set=function(f,y){return this.clone().$set(f,y)},h.get=function(f){return this[x.p(f)]()},h.add=function(f,y){var c,E=this;f=Number(f);var k=x.p(y),C=function(Z){var ne=T(E);return x.w(ne.date(ne.date()+Math.round(Z*f)),E)};if(k===p)return this.set(p,this.$M+f);if(k===v)return this.set(v,this.$y+f);if(k===l)return C(1);if(k===_)return C(7);var F=(c={},c[a]=n,c[u]=s,c[o]=r,c)[k]||1,B=this.$d.getTime()+f*F;return x.w(B,this)},h.subtract=function(f,y){return this.add(-1*f,y)},h.format=function(f){var y=this,c=this.$locale();if(!this.isValid())return c.invalidDate||L;var E=f||"YYYY-MM-DDTHH:mm:ssZ",k=x.z(this),C=this.$H,F=this.$m,B=this.$M,Z=c.weekdays,ne=c.months,Me=c.meridiem,Te=function(U,pe,Ue,Ie){return U&&(U[pe]||U(y,E))||Ue[pe].slice(0,Ie)},We=function(U){return x.s(C%12||12,U,"0")},me=Me||function(U,pe,Ue){var Ie=U<12?"AM":"PM";return Ue?Ie.toLowerCase():Ie};return E.replace(V,(function(U,pe){return pe||(function(Ue){switch(Ue){case"YY":return String(y.$y).slice(-2);case"YYYY":return x.s(y.$y,4,"0");case"M":return B+1;case"MM":return x.s(B+1,2,"0");case"MMM":return Te(c.monthsShort,B,ne,3);case"MMMM":return Te(ne,B);case"D":return y.$D;case"DD":return x.s(y.$D,2,"0");case"d":return String(y.$W);case"dd":return Te(c.weekdaysMin,y.$W,Z,2);case"ddd":return Te(c.weekdaysShort,y.$W,Z,3);case"dddd":return Z[y.$W];case"H":return String(C);case"HH":return x.s(C,2,"0");case"h":return We(1);case"hh":return We(2);case"a":return me(C,F,!0);case"A":return me(C,F,!1);case"m":return String(F);case"mm":return x.s(F,2,"0");case"s":return String(y.$s);case"ss":return x.s(y.$s,2,"0");case"SSS":return x.s(y.$ms,3,"0");case"Z":return k}return null})(U)||k.replace(":","")}))},h.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},h.diff=function(f,y,c){var E,k=this,C=x.p(y),F=T(f),B=(F.utcOffset()-this.utcOffset())*n,Z=this-F,ne=function(){return x.m(k,F)};switch(C){case v:E=ne()/12;break;case p:E=ne();break;case d:E=ne()/3;break;case _:E=(Z-B)/6048e5;break;case l:E=(Z-B)/864e5;break;case u:E=Z/s;break;case a:E=Z/n;break;case o:E=Z/r;break;default:E=Z}return c?E:x.a(E)},h.daysInMonth=function(){return this.endOf(p).$D},h.$locale=function(){return M[this.$L]},h.locale=function(f,y){if(!f)return this.$L;var c=this.clone(),E=O(f,y,!0);return E&&(c.$L=E),c},h.clone=function(){return x.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},$})(),J=q.prototype;return T.prototype=J,[["$ms",i],["$s",o],["$m",a],["$H",u],["$W",l],["$M",p],["$y",v],["$D",S]].forEach((function($){J[$[1]]=function(h){return this.$g(h,$[0],$[1])}})),T.extend=function($,h){return $.$i||($(h,q,T),$.$i=!0),T},T.locale=O,T.isDayjs=m,T.unix=function($){return T(1e3*$)},T.en=M[fe],T.Ls=M,T.p={},T}))})(Zt)),Zt.exports}var pi=mi();const pt=Tn(pi),Dn={version:"0.66.0"};var Gt={exports:{}},gi=Gt.exports,Vn;function yi(){return Vn||(Vn=1,(function(e,t){(function(r,n){e.exports=n()})(gi,(function(){var r,n,s=1e3,i=6e4,o=36e5,a=864e5,u=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,l=31536e6,_=2628e6,p=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,d={years:l,months:_,days:a,hours:o,minutes:i,seconds:s,milliseconds:1,weeks:6048e5},v=function(M){return M instanceof ue},S=function(M,w,m){return new ue(M,m,w.$l)},L=function(M){return n.p(M)+"s"},Y=function(M){return M<0},V=function(M){return Y(M)?Math.ceil(M):Math.floor(M)},R=function(M){return Math.abs(M)},W=function(M,w){return M?Y(M)?{negative:!0,format:""+R(M)+w}:{negative:!1,format:""+M+w}:{negative:!1,format:""}},ue=(function(){function M(m,O,T){var x=this;if(this.$d={},this.$l=T,m===void 0&&(this.$ms=0,this.parseFromMilliseconds()),O)return S(m*d[L(O)],this);if(typeof m=="number")return this.$ms=m,this.parseFromMilliseconds(),this;if(typeof m=="object")return Object.keys(m).forEach((function($){x.$d[L($)]=m[$]})),this.calMilliseconds(),this;if(typeof m=="string"){var q=m.match(p);if(q){var J=q.slice(2).map((function($){return $!=null?Number($):0}));return this.$d.years=J[0],this.$d.months=J[1],this.$d.weeks=J[2],this.$d.days=J[3],this.$d.hours=J[4],this.$d.minutes=J[5],this.$d.seconds=J[6],this.calMilliseconds(),this}}return this}var w=M.prototype;return w.calMilliseconds=function(){var m=this;this.$ms=Object.keys(this.$d).reduce((function(O,T){return O+(m.$d[T]||0)*d[T]}),0)},w.parseFromMilliseconds=function(){var m=this.$ms;this.$d.years=V(m/l),m%=l,this.$d.months=V(m/_),m%=_,this.$d.days=V(m/a),m%=a,this.$d.hours=V(m/o),m%=o,this.$d.minutes=V(m/i),m%=i,this.$d.seconds=V(m/s),m%=s,this.$d.milliseconds=m},w.toISOString=function(){var m=W(this.$d.years,"Y"),O=W(this.$d.months,"M"),T=+this.$d.days||0;this.$d.weeks&&(T+=7*this.$d.weeks);var x=W(T,"D"),q=W(this.$d.hours,"H"),J=W(this.$d.minutes,"M"),$=this.$d.seconds||0;this.$d.milliseconds&&($+=this.$d.milliseconds/1e3,$=Math.round(1e3*$)/1e3);var h=W($,"S"),f=m.negative||O.negative||x.negative||q.negative||J.negative||h.negative,y=q.format||J.format||h.format?"T":"",c=(f?"-":"")+"P"+m.format+O.format+x.format+y+q.format+J.format+h.format;return c==="P"||c==="-P"?"P0D":c},w.toJSON=function(){return this.toISOString()},w.format=function(m){var O=m||"YYYY-MM-DDTHH:mm:ss",T={Y:this.$d.years,YY:n.s(this.$d.years,2,"0"),YYYY:n.s(this.$d.years,4,"0"),M:this.$d.months,MM:n.s(this.$d.months,2,"0"),D:this.$d.days,DD:n.s(this.$d.days,2,"0"),H:this.$d.hours,HH:n.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:n.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:n.s(this.$d.seconds,2,"0"),SSS:n.s(this.$d.milliseconds,3,"0")};return O.replace(u,(function(x,q){return q||String(T[x])}))},w.as=function(m){return this.$ms/d[L(m)]},w.get=function(m){var O=this.$ms,T=L(m);return T==="milliseconds"?O%=1e3:O=T==="weeks"?V(O/d[T]):this.$d[T],O||0},w.add=function(m,O,T){var x;return x=O?m*d[L(O)]:v(m)?m.$ms:S(m,this).$ms,S(this.$ms+x*(T?-1:1),this)},w.subtract=function(m,O){return this.add(m,O,!0)},w.locale=function(m){var O=this.clone();return O.$l=m,O},w.clone=function(){return S(this.$ms,this)},w.humanize=function(m){return r().add(this.$ms,"ms").locale(this.$l).fromNow(!m)},w.valueOf=function(){return this.asMilliseconds()},w.milliseconds=function(){return this.get("milliseconds")},w.asMilliseconds=function(){return this.as("milliseconds")},w.seconds=function(){return this.get("seconds")},w.asSeconds=function(){return this.as("seconds")},w.minutes=function(){return this.get("minutes")},w.asMinutes=function(){return this.as("minutes")},w.hours=function(){return this.get("hours")},w.asHours=function(){return this.as("hours")},w.days=function(){return this.get("days")},w.asDays=function(){return this.as("days")},w.weeks=function(){return this.get("weeks")},w.asWeeks=function(){return this.as("weeks")},w.months=function(){return this.get("months")},w.asMonths=function(){return this.as("months")},w.years=function(){return this.get("years")},w.asYears=function(){return this.as("years")},M})(),fe=function(M,w,m){return M.add(w.years()*m,"y").add(w.months()*m,"M").add(w.days()*m,"d").add(w.hours()*m,"h").add(w.minutes()*m,"m").add(w.seconds()*m,"s").add(w.milliseconds()*m,"ms")};return function(M,w,m){r=m,n=m().$utils(),m.duration=function(x,q){var J=m.locale();return S(x,{$l:J},q)},m.isDuration=v;var O=w.prototype.add,T=w.prototype.subtract;w.prototype.add=function(x,q){return v(x)?fe(this,x,1):O.bind(this)(x,q)},w.prototype.subtract=function(x,q){return v(x)?fe(this,x,-1):T.bind(this)(x,q)}}}))})(Gt)),Gt.exports}var $i=yi();const wi=Tn($i);var nt={},On;function xi(){if(On)return nt;On=1,Object.defineProperty(nt,"__esModule",{value:!0}),nt.LanguageTranslator=void 0,nt.getChildStyleToPass=e,nt.addComponent=t;function e(n,s){var i,o,a="";try{if(n&&s?.length&&(!((i=Object.keys(n))===null||i===void 0)&&i.length)&&(!((o=s?.filter(function(d){return Object.keys(n).includes(d.name)}))===null||o===void 0)&&o.length))for(var u=function(d){var v=s?.filter(function(S){return S.name===d&&S.defaultValue!==n[d]});v&&(a+="".concat(d,":").concat(n[d],";"))},l=0,_=Object.keys(n);l<_.length;l++){var p=_[l];u(p)}}catch(d){console.error("error getting child style to pass",d)}finally{return a}}function t(n){var s,i=((s=n?.repoName.split("/"))===null||s===void 0?void 0:s[1])||n?.repoName;if(!i)throw new Error("wrong componentPath "+n?.repoName);if(!n?.version)throw new Error("wrong version "+n?.version);var o=n?.iifePath||"main.iife.js";if(!document.getElementById(i+"-script"))try{var a=document.createElement("script");if(a.id=i+"-script",a.src="https://cdn.jsdelivr.net/npm/".concat(n.repoName,"@").concat(n.version,"/").concat(o),n?.local)a.src="".concat(n.local);else if(location.href.includes("localhost:6006")){var u=i.split("-")[0];a.src="http://localhost:6006/webcomponents/".concat(i.replace(u+"-",""),"/").concat(o)}document.head.appendChild(a)}catch(l){console.warn(l)}}var r=(function(){function n(s){if(this.lang="",!s?.dictionary)throw new Error("no dictionary provided");this.dictionary=s.dictionary,this.setLang(s?.lang)}return n.prototype.setLang=function(s){s||(s=n.getDefaultLang()),this.lang=s},n.prototype.translateWord=function(s,i){return n.getDictionaryWord(s,this.dictionary,i||this.lang)},n.prototype.translateDate=function(s,i,o){return n.formatDate(s,i,o||this.lang)},n.getDefaultLang=function(){var s,i,o,a="en";return navigator?.languages&&(!((o=(i=(s=navigator.languages[0])===null||s===void 0?void 0:s.split("-")[0])===null||i===void 0?void 0:i.toLowerCase())===null||o===void 0)&&o.length)&&(a=navigator.languages[0].split("-")[0].toLowerCase()),a},n.getDictionaryWord=function(s,i,o){var a;if(!s)throw new Error("no wordKey provided");if(!i)throw new Error("no dictionary provided");if(o&&(!((a=i[o])===null||a===void 0)&&a[s]))return i[o][s];var u="",l=n.getDefaultLang();if(!o||l!==o){var _=i?.[l];_?.[s]&&(u=_[s])}return u},n.formatDate=function(s,i,o){if(!s)throw new Error("no date provided");if(typeof s.getMonth!="function")throw new Error("wrong date format");var a=new Intl.DateTimeFormat(o||n.getDefaultLang(),i);return a.format(s)},n})();return nt.LanguageTranslator=r,nt}var Nn=xi(),ki=Pe('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-10svzuv"/>'),Ei=Pe('<i class="bi bi-play-fill svelte-10svzuv"></i>'),Si=Pe('<i class="bi bi-pause-fill svelte-10svzuv"></i>'),Mi=Pe('<button class="btn btn-outline-dark svelte-10svzuv"><!></button>'),Ti=Pe('<div style="width: 100%;margin-bottom:15px" class="svelte-10svzuv"><div style="display:inline-block; width:50px;" class="svelte-10svzuv"><!></div> <div style="display:inline-block;width:calc(100% - 60px);position:relative" class="svelte-10svzuv"><hb-range-slider></hb-range-slider></div></div>',2),zi=Pe("<hb-form></hb-form>",2),Di=Pe('<button class="btn btn-sm btn-primary svelte-10svzuv">send</button>'),Vi=Pe('<button class="btn btn-sm btn-primary svelte-10svzuv" disabled>send</button>'),Oi=Pe('<div id="card" class="card h-100 svelte-10svzuv"><div class="ratio ratio-16x9 svelte-10svzuv" style="background-color: black;"><video id="video" class="ratio ratio-16x9 svelte-10svzuv"><source type="video/mp4" class="svelte-10svzuv"/> <track kind="captions" src="" srclang="en" label="English" class="svelte-10svzuv"/> Your browser does not support the video tag.</video></div> <div class="card-body svelte-10svzuv"><!> <!> <div id="controls" class="svelte-10svzuv"><div style="flex-grow: 2" class="svelte-10svzuv"><button class="btn btn-sm btn-secondary svelte-10svzuv">▼</button> <button class="btn btn-sm btn-secondary svelte-10svzuv">▲</button> <input type="number" class="form-control form-custom-control-numbers svelte-10svzuv"/>h <input class="form-control form-custom-control-numbers svelte-10svzuv" type="number"/>m <input type="number" class="form-control form-custom-control-numbers svelte-10svzuv"/>s</div> <div style="flex-grow: 2;text-align:center" class="svelte-10svzuv"></div> <div style="flex-grow: 2;text-align:right" class="svelte-10svzuv"><input type="number" class="form-control form-custom-control-numbers svelte-10svzuv"/>h <input class="form-control form-custom-control-numbers svelte-10svzuv" type="number"/>m <input type="number" class="form-control form-custom-control-numbers svelte-10svzuv"/>s <button class="btn btn-sm btn-secondary svelte-10svzuv">▲</button> <button class="btn btn-sm btn-secondary svelte-10svzuv">▼</button></div></div></div> <div class="card-footer svelte-10svzuv"><span style="float:left;height:30px;line-height:30px" class="svelte-10svzuv"><!></span> <span style="float:right;height:30px;line-height:30px" class="svelte-10svzuv"><!></span></div></div>',2);const Ni={hash:"svelte-10svzuv",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");
|
|
3
3
|
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");
|
|
4
4
|
/*!
|
|
5
5
|
* Bootstrap v5.3.8 (https://getbootstrap.com/)
|
|
6
6
|
* Copyright 2011-2021 The Bootstrap Authors
|
|
7
7
|
* Copyright 2011-2021 Twitter, Inc.
|
|
8
8
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
9
|
-
|
|
9
|
+
*/.svelte-10svzuv,
|
|
10
10
|
.svelte-10svzuv::before,
|
|
11
11
|
.svelte-10svzuv::after {box-sizing:border-box;}
|
|
12
12
|
@media (prefers-reduced-motion: no-preference) {:host {scroll-behavior:smooth;}
|
|
@@ -65,8 +65,8 @@ button.svelte-10svzuv {margin:0;font-family:inherit;font-size:inherit;line-heigh
|
|
|
65
65
|
@media (min-width: 1200px) {
|
|
66
66
|
}
|
|
67
67
|
@media (min-width: 1400px) {
|
|
68
|
-
}:host {font-family:"Roboto", sans-serif;}.form-custom-control-numbers.svelte-10svzuv {width:40px;display:inline-block;padding:0px;}#controls.svelte-10svzuv {display:flex;justify-content:space-around;flex-flow:row wrap;align-items:stretch;}`};function
|
|
68
|
+
}:host {font-family:"Roboto", sans-serif;}.form-custom-control-numbers.svelte-10svzuv {width:40px;display:inline-block;padding:0px;}#controls.svelte-10svzuv {display:flex;justify-content:space-around;flex-flow:row wrap;align-items:stretch;}`};function An(e,t){Pr(t,!0),ii(e,Ni);pt.extend(wi);let r=Ut(t,"id",7,""),n=Ut(t,"src",7,""),s=Ut(t,"track",23,()=>({maxValue:0,minValue:0})),i=Ut(t,"form",7),o=H(void 0),a=H(0),u=H(void 0),l=H(void 0),_=H(void 0),p=H(void 0),d=H(void 0),v=H(void 0),S=H(0),L=H("no"),Y=H(!0),V=H(void 0),R=H(void 0),W=H(!0);As(()=>{i()&&z(Y,!1),s()&&typeof s()=="string"&&s(JSON.parse(s())),console.log("reload all"),console.log(b(R),"log",b(a)),s()&&z(R,s().minValue<(b(R)||0)?b(R)||0:s().minValue,!0),console.log(b(R),"log2")});function ue(){s().maxValue=(b(u)||0)*3600+(b(_)||0)*60+(b(d)||0),s().minValue=(b(l)||0)*3600+(b(p)||0)*60+(b(v)||0)}function fe(g,I){t.$$host.dispatchEvent(new CustomEvent(g,{detail:I}))}function M(g){b(V).currentTime=g}Nn.addComponent({repoName:"@htmlbricks/hb-range-slider",version:Dn.version}),Nn.addComponent({repoName:"@htmlbricks/hb-form",version:Dn.version});function w(g){s().minValue=g.minValue,s().maxValue=g.maxValue,b(V).currentTime=g.positionValReal,z(R,g.positionValReal,!0),O(),b(V).currentTime<s().minValue&&M(s().minValue),b(V).currentTime>s().maxValue&&M(s().maxValue),fe("changeTrackValues",{minVaule:s().minValue,maxValue:s().maxValue})}function m(){!s()||!s().minValue&&s().minValue!==0||!s().maxValue&&s().maxValue!==0||(i()?z(L,"yes"):(fe("dispatchTrack",s()),console.log(s())))}function O(){z(u,parseInt((s().maxValue/3600).toString()),!0),z(l,parseInt((s().maxValue/3600).toString()),!0),z(_,parseInt(((s().maxValue-Number(b(u))*60)/60).toString()),!0),z(p,parseInt(((s().minValue-Number(b(l))*60)/60).toString()),!0),z(d,s().maxValue-Number(b(u))*3600-Number(b(_))*60),z(v,s().minValue-Number(b(l))*3600-Number(b(p))*60)}function T(g){z(S,g.target.duration,!0),z(o,b(S),!0),(!s().maxValue||s().maxValue>b(o))&&(s().maxValue=b(o)),(!s().minValue||s().minValue<b(a))&&(s().minValue=b(a)),z(V,t.$$host?.shadowRoot?.querySelector("#video"),!0),O(),console.log("videoElement",b(V)),b(S)/5>100||b(S)/5}function x(g){switch(g){case"start":b(V).currentTime<s().maxValue&&(s().minValue=b(V).currentTime);break;case"end":b(V).currentTime>s().minValue&&(s().maxValue=b(V).currentTime);break;default:return console.error("no vaild point for cue")}O(),fe("changeTrackValues",{minVaule:s().minValue,maxValue:s().maxValue})}function q(g){console.log("formSubmit",g._valid),z(Y,g._valid,!0),b(L)==="yes"&&(g._valid&&!(!s()||!s().minValue&&s().minValue!==0||!s().maxValue&&s().maxValue!==0)&&fe("dispatchTrack",Object.assign(s(),g)),console.log(s())),b(L)!=="no"&&z(L,"no")}function J(g){z(Y,g._valid,!0)}function $(){b(V).currentTime>s().maxValue?(b(V).pause(),M(s().maxValue)):b(V).currentTime<s().minValue-.01&&(b(V).pause(),M(s().minValue)),z(R,b(V).currentTime,!0)}var h={get id(){return r()},set id(g=""){r(g),ft()},get src(){return n()},set src(g=""){n(g),ft()},get track(){return s()},set track(g={maxValue:0,minValue:0}){s(g),ft()},get form(){return i()},set form(g){i(g),ft()}},f=Oi();si("10svzuv",g=>{var I=ki();$e(g,I)});var y=oe(f),c=oe(y),E=oe(c);ur(3),ie(c),ie(y);var k=te(y,2),C=oe(k);{var F=g=>{var I=Ti(),je=oe(I),xr=oe(je);{var kr=zt=>{var Xt=Mi();Xt.__click=()=>b(V).paused?b(V).play():b(V).pause();var ji=oe(Xt);{var Yi=gt=>{var Er=Ei();$e(gt,Er)},Fi=gt=>{var Er=Si();$e(gt,Er)};bt(ji,gt=>{b(W)?gt(Yi):gt(Fi,!1)})}ie(Xt),$e(zt,Xt)};bt(xr,zt=>{b(V)&&zt(kr)})}ie(je);var Pn=te(je,2),Je=oe(Pn);En(Je,"--hb-slider-background-color: red;"),Ce(()=>Be(Je,"max",b(o)?.toString?.()||"0")),Ce(()=>Be(Je,"min",b(a)?.toString?.()||"0")),Ce(()=>Be(Je,"maxval",s().maxValue?.toString?.()||"0")),Ce(()=>Be(Je,"minval",s().minValue?.toString?.()||"0")),Ce(()=>Be(Je,"position_value",b(R)?.toString()||"0")),kn(Je,1,"svelte-10svzuv"),ie(Pn),ie(I),rt("changeRangeValues",Je,zt=>{w(zt.detail)}),$e(g,I)};bt(C,g=>{b(S)&&s()&&g(F)})}var B=te(C,2);{var Z=g=>{var I=zi();Be(I,"hide_submit","yes"),En(I,"margin:40px auto 20px auto; display:block"),Ce(()=>Be(I,"submitted",b(L))),Ce(()=>Be(I,"schema",i())),kn(I,1,"svelte-10svzuv"),rt("submit",I,je=>q(je.detail)),rt("update",I,je=>J(je.detail)),$e(g,I)};bt(B,g=>{i()&&g(Z)})}var ne=te(B,2),Me=oe(ne),Te=oe(Me);Te.__click=()=>{x("start")};var We=te(Te,2);We.__click=()=>{M(s().minValue)};var me=te(We,2);_t(me),me.__change=ue;var U=te(me,2);_t(U),U.__change=ue;var pe=te(U,2);_t(pe),pe.__change=ue,ur(),ie(Me);var Ue=te(Me,4),Ie=oe(Ue);_t(Ie),Ie.__change=ue;var Kt=te(Ie,2);_t(Kt),Kt.__change=ue;var Qt=te(Kt,2);_t(Qt),Qt.__change=ue;var Cn=te(Qt,2);Cn.__click=()=>{M(s().maxValue)};var Ai=te(Cn,2);Ai.__click=()=>{x("end")},ie(Ue),ie(ne),ie(k);var Ln=te(k,2),wr=oe(Ln),Ci=oe(wr);{var Li=g=>{var I=Ks();Ce((je,xr,kr)=>ei(I,`duration:
|
|
69
69
|
${je??""}
|
|
70
|
-
${
|
|
71
|
-
${
|
|
70
|
+
${xr??""}
|
|
71
|
+
${kr??""}`),[()=>pt.duration((s().maxValue-s().minValue)*1e3).hours()?pt.duration((s().maxValue-s().minValue)*1e3).format("H")+" hours":"",()=>pt.duration((s().maxValue-s().minValue)*1e3).minutes()?pt.duration((s().maxValue-s().minValue)*1e3).format("m")+" minutes":"",()=>pt.duration(parseInt(((s().maxValue-s().minValue)*1e3).toString())).format("s.SSS")+" seconds"]),$e(g,I)};bt(Ci,g=>{s()?.maxValue&&g(Li)})}ie(wr);var Rn=te(wr,2),Ri=oe(Rn);{var Pi=g=>{var I=Di();I.__click=m,$e(g,I)},Ii=g=>{var I=Vi();I.__click=m,$e(g,I)};bt(Ri,g=>{b(Y)?g(Pi):g(Ii,!1)})}return ie(Rn),ie(Ln),ie(f),Ce(()=>Bt(E,"src",n())),rt("play",c,()=>z(W,!1)),rt("pause",c,()=>z(W,!0)),rt("timeupdate",c,g=>$()),rt("loadedmetadata",c,g=>T(g)),mt(me,()=>b(l),g=>z(l,g)),mt(U,()=>b(p),g=>z(p,g)),mt(pe,()=>b(v),g=>z(v,g)),mt(Ie,()=>b(u),g=>z(u,g)),mt(Kt,()=>b(_),g=>z(_,g)),mt(Qt,()=>b(d),g=>z(d,g)),$e(e,f),Ir(h)}Zs(["click","change"]),customElements.define("hb-editor-video",bi(An,{id:{},src:{},track:{},form:{}},[],[],!0)),Sr.Component=An,Object.defineProperty(Sr,Symbol.toStringTag,{value:"Module"})})(this["editor-video"]=this["editor-video"]||{});
|
|
72
72
|
//# sourceMappingURL=main.iife.js.map
|