@vkontakte/videoplayer 1.1.55-dev.7131fb97.0 → 1.1.55-dev.74e495c6.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/es2015.cjs.js +3 -3
- package/es2015.esm.js +3 -3
- package/es2018.cjs.js +3 -3
- package/es2018.esm.js +3 -3
- package/esnext.cjs.js +3 -3
- package/esnext.esm.js +3 -3
- package/evergreen.esm.js +3 -3
- package/package.json +5 -5
package/es2015.cjs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vkontakte/videoplayer v1.1.55-dev.
|
|
3
|
-
*
|
|
2
|
+
* @vkontakte/videoplayer v1.1.55-dev.74e495c6.0
|
|
3
|
+
* Wed, 05 Feb 2025 12:51:40 GMT
|
|
4
4
|
* https://st.mycdn.me/static/vkontakte-videoplayer/1-1-55/doc/
|
|
5
5
|
*/
|
|
6
6
|
"use strict";var v_=Object.create;var rd=Object.defineProperty,g_=Object.defineProperties,h_=Object.getOwnPropertyDescriptor,__=Object.getOwnPropertyDescriptors,$_=Object.getOwnPropertyNames,Fm=Object.getOwnPropertySymbols,b_=Object.getPrototypeOf,Um=Object.prototype.hasOwnProperty,y_=Object.prototype.propertyIsEnumerable;var zm=t=>{throw TypeError(t)};var Zp=(t,e,i)=>e in t?rd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,_=(t,e)=>{for(var i in e||(e={}))Um.call(e,i)&&Zp(t,i,e[i]);if(Fm)for(var i of Fm(e))y_.call(e,i)&&Zp(t,i,e[i]);return t},Ht=(t,e)=>g_(t,__(e));var x_=(t,e)=>{for(var i in e)rd(t,i,{get:e[i],enumerable:!0})},qm=(t,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of $_(e))!Um.call(t,n)&&n!==i&&rd(t,n,{get:()=>e[n],enumerable:!(o=h_(e,n))||o.enumerable});return t};var Wm=(t,e,i)=>(i=t!=null?v_(b_(t)):{},qm(e||!t||!t.__esModule?rd(i,"default",{value:t,enumerable:!0}):i,t)),w_=t=>qm(rd({},"__esModule",{value:!0}),t);var zn=(t,e,i)=>Zp(t,typeof e!="symbol"?e+"":e,i),Xp=(t,e,i)=>e.has(t)||zm("Cannot "+i);var Mi=(t,e,i)=>(Xp(t,e,"read from private field"),i?i.call(t):e.get(t)),_s=(t,e,i)=>e.has(t)?zm("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,i),Va=(t,e,i,o)=>(Xp(t,e,"write to private field"),o?o.call(t,i):e.set(t,i),i),Km=(t,e,i)=>(Xp(t,e,"access private method"),i);var Tt=(t,e,i)=>new Promise((o,n)=>{var r=a=>{try{d(i.next(a))}catch(c){n(c)}},l=a=>{try{d(i.throw(a))}catch(c){n(c)}},d=a=>a.done?o(a.value):Promise.resolve(a.value).then(r,l);d((i=i.apply(t,e)).next())});var f3={};x_(f3,{ControlButtonType:()=>Ad,GridTypes:()=>Sr,InterfaceLanguage:()=>td.InterfaceLanguage,MenuItemType:()=>ml,VERSION:()=>fa,VKNumericLanguage:()=>td.VKNumericLanguage,VideoFormat:()=>Gp.VideoFormat,VideoQuality:()=>Gp.VideoQuality,loadVKLangPack:()=>td.loadVKLangPack,registerPlayerWebComponent:()=>p3});module.exports=w_(f3);var Do=Symbol("$state"),Jr=Symbol("$state metadata"),sd=Symbol("legacy props"),Qm=Symbol("");var Gm,Ym,Jp=(Ym=(Gm=globalThis.process)==null?void 0:Gm.env)==null?void 0:Ym.NODE_ENV;Jp||console.warn("If bundling, conditions should include development or production. If not bundling, conditions or NODE_ENV should include development or production. See https://www.npmjs.com/package/esm-env for tips on setting conditions in popular bundlers and runtimes.");var Ue=Jp&&!Jp.toLowerCase().includes("prod");var xr=Array.isArray,jm=Array.prototype.indexOf,ad=Array.from,ef=Object.keys,io=Object.defineProperty,qn=Object.getOwnPropertyDescriptor,Gd=Object.getOwnPropertyDescriptors,tf=Object.prototype,Zm=Array.prototype,es=Object.getPrototypeOf;function Gs(t){return typeof t=="function"}var Zt=()=>{};function Xm(t){return t()}function $s(t){for(var e=0;e<t.length;e++)t[e]()}var Yd=!1,ev=!1,of=[],Jm=[];function tv(){Yd=!1;let t=of.slice();of=[],$s(t)}function S_(){ev=!1;let t=Jm.slice();Jm=[],$s(t)}function xn(t){Yd||(Yd=!0,queueMicrotask(tv)),of.push(t)}function iv(){Yd&&tv(),ev&&S_()}var Ys="font-weight: bold",js="font-weight: normal";function ov(t,e,i){Ue?console.warn(`%c[svelte] hydration_attribute_changed
|
|
@@ -42,7 +42,7 @@ ${n.map(h=>`
|
|
|
42
42
|
${a}in ${h}`).join("")}
|
|
43
43
|
`}),io(t,"component_stack",{value:n});let c=t.stack;if(c){let h=c.split(`
|
|
44
44
|
`),g=[];for(let $=0;$<h.length;$++){let y=h[$];y.includes("svelte/src/internal")||g.push(y)}io(t,"stack",{value:g.join(`
|
|
45
|
-
`)})}if(Pv(t,e),Av(e))throw t}function ec(t){var h,g;var e=To,i=Kn,o=os,n=Ut,r=as,l=wr,d=Mt,a=t.f;To=null,Kn=0,os=null,Ut=a&96?null:t,as=!rs&&(a&256)!==0,wr=null,Mt=t.ctx,nc++;try{var c=(0,t.fn)(),v=t.deps;if(To!==null){var m;if(ia(t,Kn),v!==null&&Kn>0)for(v.length=Kn+To.length,m=0;m<To.length;m++)v[Kn+m]=To[m];else t.deps=v=To;if(!as)for(m=Kn;m<v.length;m++)((g=(h=v[m]).reactions)!=null?g:h.reactions=[]).push(t)}else v!==null&&Kn<v.length&&(ia(t,Kn),v.length=Kn);return n!==null&&nc++,c}finally{To=e,Kn=i,os=o,Ut=n,as=r,wr=l,Mt=d}}function V_(t,e){let i=e.reactions;if(i!==null){var o=jm.call(i,t);if(o!==-1){var n=i.length-1;n===0?i=e.reactions=null:(i[o]=i[n],i.pop())}}i===null&&e.f&2&&(To===null||!To.includes(e))&&(Jo(e,4096),e.f&768||(e.f^=512),ia(e,0))}function ia(t,e){var i=t.deps;if(i!==null)for(var o=e;o<i.length;o++)V_(t,i[o])}function ta(t){var e=t.f;if(!(e&16384)){Jo(t,1024);var i=It,o=Mt;if(It=t,Ue){var n=Zo;Zo=t.component_function}try{e&16?Ov(t):wf(t),xf(t),yf(t);var r=ec(t);t.teardown=typeof r=="function"?r:null,t.wv=Vv;var l=t.deps;if(Ue&&Or&&t.f&2048&&l!==null)for(let a=0;a<l.length;a++){var d=l[a];d.trace_need_increase&&(d.wv=cd(),d.trace_need_increase=void 0,d.trace_v=void 0)}Ue&&fd.push(t)}catch(a){Ga(a,t,i,o||t.ctx)}finally{It=i,Ue&&(Zo=n)}}}function Mv(){console.error("Last ten effects were: ",fd.slice(-10).map(t=>t.fn)),fd=[]}function Bv(){if(Ka>1e3){Ka=0;try{vv()}catch(t){if(Ue&&io(t,"stack",{value:""}),Wa!==null)if(Ue)try{Ga(t,Wa,null,null)}catch(e){throw Mv(),e}else Ga(t,Wa,null,null);else throw Ue&&Mv(),t}}Ka++}function Nv(t){var e=t.length;if(e!==0){Bv();var i=rs;rs=!0;try{for(var o=0;o<e;o++){var n=t[o];n.f&1024||(n.f^=1024);var r=[];Dv(n,r),B_(r)}}finally{rs=i}}}function B_(t){var e=t.length;if(e!==0)for(var i=0;i<e;i++){var o=t[i];if(!(o.f&24576))try{ys(o)&&(ta(o),o.deps===null&&o.first===null&&o.nodes_start===null&&(o.teardown===null?Cf(o):o.fn=null))}catch(n){Ga(n,o,null,o.ctx)}}}function N_(){if(pd=!1,Ka>1001)return;let t=oa;oa=[],Nv(t),pd||(Ka=0,Wa=null,Ue&&(fd=[]))}function za(t){ic===Rv&&(pd||(pd=!0,queueMicrotask(N_))),Wa=t;for(var e=t;e.parent!==null;){e=e.parent;var i=e.f;if(i&96){if(!(i&1024))return;e.f^=1024}}oa.push(e)}function Dv(t,e){var i=t.first,o=[];e:for(;i!==null;){var n=i.f,r=(n&32)!==0,l=r&&(n&1024)!==0,d=i.next;if(!l&&!(n&8192))if(n&8){if(r)i.f^=1024;else try{ys(i)&&ta(i)}catch(m){Ga(m,i,null,i.ctx)}var a=i.first;if(a!==null){i=a;continue}}else n&4&&o.push(i);if(d===null){let m=i.parent;for(;m!==null;){if(t===m)break e;var c=m.next;if(c!==null){i=c;continue e}m=m.parent}}i=d}for(var v=0;v<o.length;v++)a=o[v],e.push(a),Dv(a,e)}function u(t){var e=ic,i=oa;try{Bv();let n=[];ic=R_,oa=n,pd=!1,Nv(i);var o=t==null?void 0:t();return iv(),(oa.length>0||n.length>0)&&u(),Ka=0,Wa=null,Ue&&(fd=[]),o}finally{ic=e,oa=i}}function fo(){return Tt(this,null,function*(){yield Promise.resolve(),u()})}function s(t){var m,h;var e=t.f,i=(e&2)!==0;if(i&&e&16384){var o=gf(t);return ud(t),o}if(dd!==null&&dd.add(t),Ut!==null){wr!==null&&wr.includes(t)&&xv();var n=Ut.deps;t.rv<nc&&(t.rv=nc,To===null&&n!==null&&n[Kn]===t?Kn++:To===null?To=[t]:To.push(t),os!==null&&It!==null&&It.f&1024&&!(It.f&32)&&os.includes(t)&&(Jo(It,2048),za(It)))}else if(i&&t.deps===null)for(var r=t,l=r.parent,d=r;l!==null;)if(l.f&2){var a=l;d=a,l=a.parent}else{var c=l;(m=c.deriveds)!=null&&m.includes(d)||((h=c.deriveds)!=null?h:c.deriveds=[]).push(d);break}if(i&&(r=t,ys(r)&&hf(r)),Ue&&Or&&ld!==null&&Ut!==null&&ld.reaction===Ut){if(t.debug)t.debug();else if(t.created){var v=ld.entries.get(t);v===void 0&&(v={read:[]},ld.entries.set(t,v)),v.read.push(is("TracedAt"))}}return t.v}function _i(t){let e=Ut;try{return Ut=null,t()}finally{Ut=e}}var D_=-7169;function Jo(t,e){t.f=t.f&D_|e}function na(t){let i=bf("getContext").get(t);if(Ue){let o=Mt.function;o&&Xd(i,o,!0)}return i}function ra(t,e){return bf("setContext").set(t,e),e}function ja(){let t=bf("getAllContexts");if(Ue){let e=Mt==null?void 0:Mt.function;if(e)for(let i of t.values())Xd(i,e,!0)}return t}function bf(t){var e;return Mt===null&&qa(t),(e=Mt.c)!=null?e:Mt.c=new Map(O_(Mt)||void 0)}function O_(t){let e=t.p;for(;e!==null;){let i=e.c;if(i!==null)return i;e=e.p}return null}function ac(t,e=1){var i=s(t),o=e===1?i++:i--;return G(t,i),o}function P(t,e=!1,i){Mt={p:Mt,c:null,e:null,m:!1,s:t,x:null,l:null},Dr&&!e&&(Mt.l={s:null,u:null,r1:[],r2:Oi(!1)}),Ue&&(Mt.function=i,Zo=i)}function A(t){var l,d;let e=Mt;if(e!==null){t!==void 0&&(e.x=t);let a=e.e;if(a!==null){var i=It,o=Ut;e.e=null;try{for(var n=0;n<a.length;n++){var r=a[n];oo(r.effect),en(r.reaction),Qn(r.fn)}}finally{oo(i),en(o)}}Mt=e.p,Ue&&(Zo=(d=(l=e.p)==null?void 0:l.function)!=null?d:null),e.m=!0}return t||{}}function lc(t){if(!(typeof t!="object"||!t||t instanceof EventTarget)){if(Do in t)rc(t);else if(!Array.isArray(t))for(let e in t){let i=t[e];typeof i=="object"&&i&&Do in i&&rc(i)}}}function rc(t,e=new Set){if(typeof t=="object"&&t!==null&&!(t instanceof EventTarget)&&!e.has(t)){e.add(t),t instanceof Date&&t.getTime();for(let o in t)try{rc(t[o],e)}catch(n){}let i=es(t);if(i!==Object.prototype&&i!==Array.prototype&&i!==Map.prototype&&i!==Set.prototype&&i!==Date.prototype){let o=Gd(i);for(let n in o){let r=o[n].get;if(r)try{r.call(t)}catch(l){}}}}}if(Ue){let t=function(e){if(!(e in globalThis)){let i;Object.defineProperty(globalThis,e,{configurable:!0,get:()=>{if(i!==void 0)return i;$v(e)},set:o=>{i=o}})}};H_=t,t("$state"),t("$effect"),t("$derived"),t("$inspect"),t("$props"),t("$bindable")}var H_;var ht=!1;function Cn(t){ht=t}var kt;function Si(t){if(t===null)throw Zs(),ts;return kt=t}function Wi(){return Si(Io(kt))}function b(t){if(ht){if(Io(kt)!==null)throw Zs(),ts;kt=t}}function Ae(t=1){if(ht){for(var e=t,i=kt;e--;)i=Io(i);kt=i}}function Za(){for(var t=0,e=kt;;){if(e.nodeType===8){var i=e.data;if(i===Js){if(t===0)return e;t-=1}else(i===Ba||i===Xs)&&(t+=1)}var o=Io(e);e.remove(),e=o}}function ye(t,e=null,i){var c,v;var o=null;if(Ue&&Or&&(o=is("CreatedAt")),typeof t!="object"||t===null||Do in t)return t;let n=es(t);if(n!==tf&&n!==Zm)return t;var r=new Map,l=xr(t),d=Oi(0);l&&r.set("length",Oi(t.length,o));var a;if(Ue)if(a={parent:e,owners:null},i){let m=(v=(c=i.v)==null?void 0:c[Jr])==null?void 0:v.owners;a.owners=m?new Set(m):null}else a.owners=e===null?Mt!==null?new Set([Mt.function]):null:new Set;return new Proxy(t,{defineProperty(m,h,g){(!("value"in g)||g.configurable===!1||g.enumerable===!1||g.writable===!1)&&bv();var $=r.get(h);return $===void 0?($=Oi(g.value,o),r.set(h,$)):G($,ye(g.value,a)),!0},deleteProperty(m,h){var g=r.get(h);if(g===void 0)h in m&&r.set(h,Oi(qi,o));else{if(l&&typeof h=="string"){var $=r.get("length"),y=Number(h);Number.isInteger(y)&&y<$.v&&G($,y)}G(g,qi),Hv(d)}return!0},get(m,h,g){var H;if(Ue&&h===Jr)return a;if(h===Do)return t;var $=r.get(h),y=h in m;if($===void 0&&(!y||(H=qn(m,h))!=null&&H.writable)&&($=Oi(ye(y?m[h]:qi,a),o),r.set(h,$)),$!==void 0){var I=s($);if(Ue){var R=I==null?void 0:I[Jr];R&&(R==null?void 0:R.parent)!==a&&sf(a,R)}return I===qi?void 0:I}return Reflect.get(m,h,g)},getOwnPropertyDescriptor(m,h){var g=Reflect.getOwnPropertyDescriptor(m,h);if(g&&"value"in g){var $=r.get(h);$&&(g.value=s($))}else if(g===void 0){var y=r.get(h),I=y==null?void 0:y.v;if(y!==void 0&&I!==qi)return{enumerable:!0,configurable:!0,value:I,writable:!0}}return g},has(m,h){var I;if(Ue&&h===Jr||h===Do)return!0;var g=r.get(h),$=g!==void 0&&g.v!==qi||Reflect.has(m,h);if(g!==void 0||It!==null&&(!$||(I=qn(m,h))!=null&&I.writable)){g===void 0&&(g=Oi($?ye(m[h],a):qi,o),r.set(h,g));var y=s(g);if(y===qi)return!1}return $},set(m,h,g,$){var j;var y=r.get(h),I=h in m;if(l&&h==="length")for(var R=g;R<y.v;R+=1){var H=r.get(R+"");H!==void 0?G(H,qi):R in m&&(H=Oi(qi,o),r.set(R+"",H))}if(y===void 0?(!I||(j=qn(m,h))!=null&&j.writable)&&(y=Oi(void 0,o),G(y,ye(g,a)),r.set(h,y)):(I=y.v!==qi,G(y,ye(g,a))),Ue){var B=g==null?void 0:g[Jr];B&&(B==null?void 0:B.parent)!==a&&sf(a,B),dv(a)}var z=Reflect.getOwnPropertyDescriptor(m,h);if(z!=null&&z.set&&z.set.call($,g),!I){if(l&&typeof h=="string"){var T=r.get("length"),D=Number(h);Number.isInteger(D)&&D>=T.v&&G(T,D+1)}Hv(d)}return!0},ownKeys(m){s(d);var h=Reflect.ownKeys(m).filter(y=>{var I=r.get(y);return I===void 0||I.v!==qi});for(var[g,$]of r)$.v!==qi&&!(g in m)&&h.push(g);return h},setPrototypeOf(){yv()}})}function Hv(t,e=1){G(t,t.v+e)}function dc(t){return t!==null&&typeof t=="object"&&Do in t?t[Do]:t}function Fv(){let t=Array.prototype,e=Array.__svelte_cleanup;e&&e();let{indexOf:i,lastIndexOf:o,includes:n}=t;t.indexOf=function(r,l){let d=i.call(this,r,l);if(d===-1){for(let a=l!=null?l:0;a<this.length;a+=1)if(dc(this[a])===r){jd("array.indexOf(...)");break}}return d},t.lastIndexOf=function(r,l){let d=o.call(this,r,l!=null?l:this.length-1);if(d===-1){for(let a=0;a<=(l!=null?l:this.length-1);a+=1)if(dc(this[a])===r){jd("array.lastIndexOf(...)");break}}return d},t.includes=function(r,l){let d=n.call(this,r,l);if(!d){for(let a=0;a<this.length;a+=1)if(dc(this[a])===r){jd("array.includes(...)");break}}return d},Array.__svelte_cleanup=()=>{t.indexOf=i,t.lastIndexOf=o,t.includes=n}}var sa,Uv,zv,qv;function cc(){if(sa===void 0){sa=window,Uv=document;var t=Element.prototype,e=Node.prototype;zv=qn(e,"firstChild").get,qv=qn(e,"nextSibling").get,t.__click=void 0,t.__className="",t.__attributes=null,t.__styles=null,t.__e=void 0,Text.prototype.__t=void 0,Ue&&(t.__svelte_meta=null,Fv())}}function Sn(t=""){return document.createTextNode(t)}function wi(t){return zv.call(t)}function Io(t){return qv.call(t)}function x(t,e){if(!ht)return wi(t);var i=wi(kt);if(i===null)i=kt.appendChild(Sn());else if(e&&i.nodeType!==3){var o=Sn();return i==null||i.before(o),Si(o),o}return Si(i),i}function Ce(t,e){var n,r;if(!ht){var i=wi(t);return i.nodeType===8&&i.data===""?Io(i):i}if(e&&((n=kt)==null?void 0:n.nodeType)!==3){var o=Sn();return(r=kt)==null||r.before(o),Si(o),o}return kt}function O(t,e=1,i=!1){let o=ht?kt:t;for(var n;e--;)n=o,o=Io(o);if(!ht)return o;var r=o==null?void 0:o.nodeType;if(i&&r!==3){var l=Sn();return o===null?n==null||n.after(l):o.before(l),Si(l),l}return Si(o),o}function md(t){t.textContent=""}function Sf(t){It===null&&Ut===null&&mv(t),Ut!==null&&Ut.f&256&&fv(),sc&&pv(t)}function F_(t,e){var i=e.last;i===null?e.last=e.first=t:(i.next=t,t.prev=i,e.last=t)}function aa(t,e,i,o=!0){var v;var n=(t&64)!==0,r=It;if(Ue)for(;r!==null&&r.f&262144;)r=r.parent;var l={ctx:Mt,deps:null,deriveds:null,nodes_start:null,nodes_end:null,f:t|2048,first:null,fn:e,last:null,next:null,parent:n?null:r,prev:null,teardown:null,transitions:null,wv:0};if(Ue&&(l.component_function=Zo),i){var d=rs;try{Ha(!0),ta(l),l.f|=32768}catch(m){throw po(l),m}finally{Ha(d)}}else e!==null&&za(l);var a=i&&l.deps===null&&l.first===null&&l.nodes_start===null&&l.teardown===null&&(l.f&1048704)===0;if(!a&&!n&&o&&(r!==null&&F_(l,r),Ut!==null&&Ut.f&2)){var c=Ut;((v=c.children)!=null?v:c.children=[]).push(l)}return l}function Gn(t){let e=aa(8,null,!1);return Jo(e,1024),e.teardown=t,e}function Ke(t){var n;Sf("$effect");var e=It!==null&&(It.f&32)!==0&&Mt!==null&&!Mt.m;if(Ue&&io(t,"name",{value:"$effect"}),e){var i=Mt;((n=i.e)!=null?n:i.e=[]).push({fn:t,effect:It,reaction:Ut})}else{var o=Qn(t);return o}}function Na(t){return Sf("$effect.pre"),Ue&&io(t,"name",{value:"$effect.pre"}),So(t)}function uc(t){let e=aa(64,t,!0);return()=>{po(e)}}function Qv(t){let e=aa(64,t,!0);return(i={})=>new Promise(o=>{i.outro?Yn(e,()=>{po(e),o(void 0)}):(po(e),o(void 0))})}function Qn(t){return aa(4,t,!1)}function So(t){return aa(8,t,!0)}function V(t){return Ue&&io(t,"name",{value:"{expression}"}),mo(t)}function mo(t,e=0){return aa(24|e,t,!0)}function Xi(t,e=!0){return aa(40,t,!0,e)}function yf(t){var e=t.teardown;if(e!==null){let i=sc,o=Ut;$f(!0),en(null);try{e.call(null)}finally{$f(i),en(o)}}}function xf(t){var e=t.deriveds;if(e!==null){t.deriveds=null;for(var i=0;i<e.length;i+=1)ud(e[i])}}function wf(t,e=!1){var i=t.first;for(t.first=t.last=null;i!==null;){var o=i.next;po(i,e),i=o}}function Ov(t){for(var e=t.first;e!==null;){var i=e.next;e.f&32||po(e),e=i}}function po(t,e=!0){var i=!1;if((e||t.f&524288)&&t.nodes_start!==null){for(var o=t.nodes_start,n=t.nodes_end;o!==null;){var r=o===n?null:Io(o);o.remove(),o=r}i=!0}wf(t,e&&!i),xf(t),ia(t,0),Jo(t,16384);var l=t.transitions;if(l!==null)for(let a of l)a.stop();yf(t);var d=t.parent;d!==null&&d.first!==null&&Cf(t),Ue&&(t.component_function=null),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=null}function Cf(t){var e=t.parent,i=t.prev,o=t.next;i!==null&&(i.next=o),o!==null&&(o.prev=i),e!==null&&(e.first===t&&(e.first=o),e.last===t&&(e.last=i))}function Yn(t,e){var i=[];pc(t,i,!0),Tf(i,()=>{po(t),e&&e()})}function Tf(t,e){var i=t.length;if(i>0){var o=()=>--i||e();for(var n of t)n.out(o)}else e()}function pc(t,e,i){if(!(t.f&8192)){if(t.f^=8192,t.transitions!==null)for(let l of t.transitions)(l.is_global||i)&&e.push(l);for(var o=t.first;o!==null;){var n=o.next,r=(o.f&65536)!==0||(o.f&32)!==0;pc(o,e,r?i:!1),o=n}}}function Cs(t){Gv(t,!0)}function Gv(t,e){if(t.f&8192){ys(t)&&ta(t),t.f^=8192;for(var i=t.first;i!==null;){var o=i.next,n=(i.f&65536)!==0||(i.f&32)!==0;Gv(i,n?e:!1),i=o}if(t.transitions!==null)for(let r of t.transitions)(r.is_global||e)&&r.in()}}function If(t,e){if(e){let i=document.body;t.autofocus=!0,xn(()=>{document.activeElement===i&&t.focus()})}}function Ef(t){var e=Ut,i=It;en(null),oo(null);try{return t()}finally{en(e),oo(i)}}var kf=new Set,fc=new Set;function la(t){if(!ht)return;t.onload&&t.removeAttribute("onload"),t.onerror&&t.removeAttribute("onerror");let e=t.__e;e!==void 0&&(t.__e=void 0,queueMicrotask(()=>{t.isConnected&&t.dispatchEvent(e)}))}function Pf(t,e,i,o){function n(r){if(o.capture||Xa.call(e,r),!r.cancelBubble)return Ef(()=>i.call(this,r))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?xn(()=>{e.addEventListener(t,n,o)}):e.addEventListener(t,n,o),n}function Ft(t,e,i,o,n){var r={capture:o,passive:n},l=Pf(t,e,i,r);(e===document.body||e===window||e===document)&&Gn(()=>{e.removeEventListener(t,l,r)})}function Ct(t){for(var e=0;e<t.length;e++)kf.add(t[e]);for(var i of fc)i(t)}function Xa(t){var H;var e=this,i=e.ownerDocument,o=t.type,n=((H=t.composedPath)==null?void 0:H.call(t))||[],r=n[0]||t.target,l=0,d=t.__root;if(d){var a=n.indexOf(d);if(a!==-1&&(e===document||e===window)){t.__root=e;return}var c=n.indexOf(e);if(c===-1)return;a<=c&&(l=a)}if(r=n[l]||t.target,r!==e){io(t,"currentTarget",{configurable:!0,get(){return r||i}});var v=Ut,m=It;en(null),oo(null);try{for(var h,g=[];r!==null;){var $=r.assignedSlot||r.parentNode||r.host||null;try{var y=r["__"+o];if(y!==void 0&&!r.disabled)if(xr(y)){var[I,...R]=y;I.apply(r,[t,...R])}else y.call(r,t)}catch(B){h?g.push(B):h=B}if(t.cancelBubble||$===e||$===null)break;r=$}if(h){for(let B of g)queueMicrotask(()=>{throw B});throw h}}finally{t.__root=e,delete t.currentTarget,en(v),oo(m)}}}var z_;function Yv(){z_=void 0}function Ja(t){var e=document.createElement("template");return e.innerHTML=t,e.content}function Eo(t,e){var i=It;i.nodes_start===null&&(i.nodes_start=t,i.nodes_end=e)}function U(t,e){var i=(e&1)!==0,o=(e&2)!==0,n,r=!t.startsWith("<!>");return()=>{if(ht)return Eo(kt,null),kt;n===void 0&&(n=Ja(r?t:"<!>"+t),i||(n=wi(n)));var l=o?document.importNode(n,!0):n.cloneNode(!0);if(i){var d=wi(l),a=l.lastChild;Eo(d,a)}else Eo(l,l);return l}}function Me(t,e,i="svg"){var o=!t.startsWith("<!>"),n=(e&1)!==0,r=`<${i}>${o?t:"<!>"+t}</${i}>`,l;return()=>{if(ht)return Eo(kt,null),kt;if(!l){var d=Ja(r),a=wi(d);if(n)for(l=document.createDocumentFragment();wi(a);)l.appendChild(wi(a));else l=wi(a)}var c=l.cloneNode(!0);if(n){var v=wi(c),m=c.lastChild;Eo(v,m)}else Eo(c,c);return c}}function ar(t=""){if(!ht){var e=Sn(t+"");return Eo(e,e),e}var i=kt;return i.nodeType!==3&&(i.before(i=Sn()),Si(i)),Eo(i,i),i}function Ye(){if(ht)return Eo(kt,null),kt;var t=document.createDocumentFragment(),e=document.createComment(""),i=Sn();return t.append(e,i),Eo(e,i),t}function C(t,e){if(ht){It.nodes_end=kt,Wi();return}t!==null&&t.before(e)}var W_=/\r/g;function Zv(t){t=t.replace(W_,"");let e=5381,i=t.length;for(;i--;)e=(e<<5)-e^t.charCodeAt(i);return(e>>>0).toString(36)}function Xv(t){return t.endsWith("capture")&&t!=="gotpointercapture"&&t!=="lostpointercapture"}var K_=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Jv(t){return K_.includes(t)}var Q_=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected","webkitdirectory"];var G_={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject"};function eg(t){var e;return t=t.toLowerCase(),(e=G_[t])!=null?e:t}var M5=[...Q_,"formNoValidate","isMap","noModule","playsInline","readOnly","value","volume","defaultValue","defaultChecked","srcObject"];var Y_=["touchstart","touchmove"];function tg(t){return Y_.includes(t)}function Af(t){return t==null?void 0:t.replace(/\//g,"/\u200B")}var Mf=!0;function Ee(t,e){var o;var i=e==null?"":typeof e=="object"?e+"":e;i!==((o=t.__t)!=null?o:t.__t=t.nodeValue)&&(t.__t=i,t.nodeValue=i==null?"":i+"")}function mc(t,e){return ig(t,e)}function Rf(t,e){var l;cc(),e.intro=(l=e.intro)!=null?l:!1;let i=e.target,o=ht,n=kt;try{for(var r=wi(i);r&&(r.nodeType!==8||r.data!==Ba);)r=Io(r);if(!r)throw ts;Cn(!0),Si(r),Wi();let d=ig(t,Ht(_({},e),{anchor:r}));if(kt===null||kt.nodeType!==8||kt.data!==Js)throw Zs(),ts;return Cn(!1),d}catch(d){if(d===ts)return e.recover===!1&&gv(),cc(),md(i),Cn(!1),mc(t,e);throw d}finally{Cn(o),Si(n),Yv()}}var el=new Map;function ig(t,{target:e,anchor:i,props:o={},events:n,context:r,intro:l=!0}){cc();var d=new Set,a=m=>{for(var h=0;h<m.length;h++){var g=m[h];if(!d.has(g)){d.add(g);var $=tg(g);e.addEventListener(g,Xa,{passive:$});var y=el.get(g);y===void 0?(document.addEventListener(g,Xa,{passive:$}),el.set(g,1)):el.set(g,y+1)}}};a(ad(kf)),fc.add(a);var c=void 0,v=Qv(()=>{var m=i!=null?i:e.appendChild(Sn());return Xi(()=>{if(r){P({});var h=Mt;h.c=r}n&&(o.$$events=n),ht&&Eo(m,null),Mf=l,c=t(m,o)||{},Mf=!0,ht&&(It.nodes_end=kt),r&&A()}),()=>{var $;for(var h of d){e.removeEventListener(h,Xa);var g=el.get(h);--g===0?(document.removeEventListener(h,Xa),el.delete(h)):el.set(h,g)}fc.delete(a),m!==i&&(($=m.parentNode)==null||$.removeChild(m))}});return Lf.set(c,v),c}var Lf=new WeakMap;function Vf(t,e){let i=Lf.get(t);return i?(Lf.delete(t),i(e)):(Ue&&rv(),Promise.resolve())}var Nf;function k(t){return Nf=t.target,new Bf(t)}var ls,lr,Bf=class{constructor(e){_s(this,ls);_s(this,lr);var r,l;var i=new Map,o=(d,a)=>{var c=ns(a);return i.set(d,c),c};let n=new Proxy(Ht(_({},e.props||{}),{$$events:{}}),{get(d,a){var c;return s((c=i.get(a))!=null?c:o(a,Reflect.get(d,a)))},has(d,a){var c;return a===sd?!0:(s((c=i.get(a))!=null?c:o(a,Reflect.get(d,a))),Reflect.has(d,a))},set(d,a,c){var v;return G((v=i.get(a))!=null?v:o(a,c),c),Reflect.set(d,a,c)}});Va(this,lr,(e.hydrate?Rf:mc)(e.component,{target:e.target,anchor:e.anchor,props:n,context:e.context,intro:(r=e.intro)!=null?r:!1,recover:e.recover})),(!((l=e==null?void 0:e.props)!=null&&l.$$host)||e.sync===!1)&&u(),Va(this,ls,n.$$events);for(let d of Object.keys(Mi(this,lr)))d==="$set"||d==="$destroy"||d==="$on"||io(this,d,{get(){return Mi(this,lr)[d]},set(a){Mi(this,lr)[d]=a},enumerable:!0});Mi(this,lr).$set=d=>{Object.assign(n,d)},Mi(this,lr).$destroy=()=>{Vf(Mi(this,lr))}}$set(e){Mi(this,lr).$set(e)}$on(e,i){Mi(this,ls)[e]=Mi(this,ls)[e]||[];let o=(...n)=>i.call(this,...n);return Mi(this,ls)[e].push(o),()=>{Mi(this,ls)[e]=Mi(this,ls)[e].filter(n=>n!==o)}}$destroy(){Mi(this,lr).$destroy()}};ls=new WeakMap,lr=new WeakMap;var og="5";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(og);var ng=new Map;function rg(t,e){var i=ng.get(t);i||(i=new Set,ng.set(t,i)),i.add(e)}function K(t,e,i=!1){ht&&Wi();var o=t,n=null,r=null,l=qi,d=i?65536:0,a=!1;let c=(m,h=!0)=>{a=!0,v(h,m)},v=(m,h)=>{if(l===(l=m))return;let g=!1;if(ht){let $=o.data===Xs;!!l===$&&(o=Za(),Si(o),Cn(!1),g=!0)}l?(n?Cs(n):h&&(n=Xi(()=>h(o))),r&&Yn(r,()=>{r=null})):(r?Cs(r):h&&(r=Xi(()=>h(o))),n&&Yn(n,()=>{n=null})),g&&Cn(!0)};mo(()=>{a=!1,e(c),a||v(null,null)},d),ht&&(o=kt)}function vd(t,e,i){ht&&Wi();var o=t,n=qi,r,l=bs()?cv:Da;mo(()=>{l(n,n=e())&&(r&&Yn(r),r=Xi(()=>i(o)))}),ht&&(o=kt)}var gd=null;function Li(t,e){return e}function a$(t,e,i,o){for(var n=[],r=e.length,l=0;l<r;l++)pc(e[l].e,n,!0);var d=r>0&&n.length===0&&i!==null;if(d){var a=i.parentNode;md(a),a.append(i),o.clear(),Ss(t,e[0].prev,e[r-1].next)}Tf(n,()=>{for(var c=0;c<r;c++){var v=e[c];d||(o.delete(v.k),Ss(t,v.prev,v.next)),po(v.e,!d)}})}function Ti(t,e,i,o,n,r=null){var l=t,d={flags:e,items:new Map,first:null},a=(e&4)!==0;if(a){var c=t;l=ht?Si(wi(c)):c.appendChild(Sn())}ht&&Wi();var v=null,m=!1,h=ss(()=>{var g=i();return xr(g)?g:g==null?[]:ad(g)});mo(()=>{var g=s(h),$=g.length;if(m&&$===0)return;m=$===0;let y=!1;if(ht){var I=l.data===Xs;I!==($===0)&&(l=Za(),Si(l),Cn(!1),y=!0)}if(ht){for(var R=null,H,B=0;B<$;B++){if(kt.nodeType===8&&kt.data===Js){l=kt,y=!0,Cn(!1);break}var z=g[B],T=o(z,B);H=lg(kt,d,R,null,z,T,B,n,e,i),d.items.set(T,H),R=H}$>0&&Si(Za())}if(!ht){var D=Ut;l$(g,d,l,n,e,(D.f&8192)!==0,o,i)}r!==null&&($===0?v?Cs(v):v=Xi(()=>r(l)):v!==null&&Yn(v,()=>{v=null})),y&&Cn(!0),s(h)}),ht&&(l=kt)}function l$(t,e,i,o,n,r,l,d){var me,oe,he,Y;var a=(n&8)!==0,c=(n&3)!==0,v=t.length,m=e.items,h=e.first,g=h,$,y=null,I,R=[],H=[],B,z,T,D;if(a)for(D=0;D<v;D+=1)B=t[D],z=l(B,D),T=m.get(z),T!==void 0&&((me=T.a)==null||me.measure(),(I!=null?I:I=new Set).add(T));for(D=0;D<v;D+=1){if(B=t[D],z=l(B,D),T=m.get(z),T===void 0){var j=g?g.e.nodes_start:i;y=lg(j,e,y,y===null?e.first:y.next,B,z,D,o,n,d),m.set(z,y),R=[],H=[],g=y.next;continue}if(c&&d$(T,B,D,n),T.e.f&8192&&(Cs(T.e),a&&((oe=T.a)==null||oe.unfix(),(I!=null?I:I=new Set).delete(T))),T!==g){if($!==void 0&&$.has(T)){if(R.length<H.length){var Q=H[0],Z;y=Q.prev;var ne=R[0],ue=R[R.length-1];for(Z=0;Z<R.length;Z+=1)sg(R[Z],Q,i);for(Z=0;Z<H.length;Z+=1)$.delete(H[Z]);Ss(e,ne.prev,ue.next),Ss(e,y,ne),Ss(e,ue,Q),g=Q,y=ue,D-=1,R=[],H=[]}else $.delete(T),sg(T,g,i),Ss(e,T.prev,T.next),Ss(e,T,y===null?e.first:y.next),Ss(e,y,T),y=T;continue}for(R=[],H=[];g!==null&&g.k!==z;)(r||!(g.e.f&8192))&&($!=null?$:$=new Set).add(g),H.push(g),g=g.next;if(g===null)continue;T=g}R.push(T),y=T,g=T.next}if(g!==null||$!==void 0){for(var J=$===void 0?[]:ad($);g!==null;)(r||!(g.e.f&8192))&&J.push(g),g=g.next;var X=J.length;if(X>0){var Fe=n&4&&v===0?i:null;if(a){for(D=0;D<X;D+=1)(he=J[D].a)==null||he.measure();for(D=0;D<X;D+=1)(Y=J[D].a)==null||Y.fix()}a$(e,J,Fe,m)}}a&&xn(()=>{var te;if(I!==void 0)for(T of I)(te=T.a)==null||te.apply()}),It.first=e.first&&e.first.e,It.last=y&&y.e}function d$(t,e,i,o){o&1&&Ua(t.v,e),o&2?Ua(t.i,i):t.i=i}function lg(t,e,i,o,n,r,l,d,a,c){var v=gd,m=(a&1)!==0,h=(a&16)===0,g=m?h?ns(n):Oi(n):n,$=a&2?Oi(l):l;Ue&&m&&(g.debug=()=>{var I=typeof $=="number"?l:$.v;c()[I]});var y={i:$,v:g,k:r,a:null,e:null,prev:i,next:o};gd=y;try{return y.e=Xi(()=>d(t,g,$),ht),y.e.prev=i&&i.e,y.e.next=o&&o.e,i===null?e.first=y:(i.next=y,i.e.next=y.e),o!==null&&(o.prev=y,o.e.prev=y.e),y}finally{gd=v}}function sg(t,e,i){for(var o=t.next?t.next.e.nodes_start:i,n=e?e.e.nodes_start:i,r=t.e.nodes_start;r!==o;){var l=Io(r);n.before(r),r=l}}function Ss(t,e,i){e===null?t.first=i:(e.next=i,e.e.next=i&&i.e),i!==null&&(i.prev=e,i.e.prev=e&&e.e)}function c$(t,e,i){var r,l;if(!e||e===Zv(String(i!=null?i:"")))return;let o,n=(r=t.__svelte_meta)==null?void 0:r.loc;n?o=`near ${n.file}:${n.line}:${n.column}`:(l=Zo)!=null&&l[Di]&&(o=`in ${Zo[Di]}`),nv(Af(o))}function hd(t,e,i,o,n){var r=t,l="",d;mo(()=>{var a;if(l===(l=(a=e())!=null?a:"")){ht&&Wi();return}d!==void 0&&(po(d),d=void 0),l!==""&&(d=Xi(()=>{if(ht){for(var c=kt.data,v=Wi(),m=v;v!==null&&(v.nodeType!==8||v.data!=="");)m=v,v=Io(v);if(v===null)throw Zs(),ts;Ue&&!n&&c$(v.parentNode,c,l),Eo(kt,m),r=Si(v);return}var h=l+"";i?h=`<svg>${h}</svg>`:o&&(h=`<math>${h}</math>`);var g=Ja(h);if((i||o)&&(g=wi(g)),Eo(wi(g),g.lastChild),i||o)for(;wi(g);)r.before(wi(g));else r.before(g)}))})}function Be(t,e,i,o,n){var d;ht&&Wi();var r=(d=e.$$slots)==null?void 0:d[i],l=!1;r===!0&&(r=e[i==="default"?"children":i],l=!0),r===void 0?n!==null&&n(t):r(t,l?()=>o:o)}function vo(t,e,...i){var o=t,n=Zt,r;mo(()=>{n!==(n=e())&&(r&&(po(r),r=null),Ue&&n==null&&hv(),r=Xi(()=>n(o,...i)))},65536),ht&&(o=kt)}function Hi(t,e,i){ht&&Wi();var o=t,n,r;mo(()=>{n!==(n=e())&&(r&&(Yn(r),r=null),n&&(r=Xi(()=>i(o,n))))},65536),ht&&(o=kt)}function de(t,e){xn(()=>{var n,r;var i=t.getRootNode(),o=(i.host?i:(n=i.head)!=null?n:i.ownerDocument.head)||((r=Nf)==null?void 0:r.parentNode);if(!(o!=null&&o.querySelector("#"+e.hash))){let l=document.createElement("style");l.id=e.hash,l.textContent=e.code,o.appendChild(l),Ue&&rg(e.hash,l)}})}function dg(t){var e,i,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t)){var n=t.length;for(e=0;e<n;e++)t[e]&&(i=dg(t[e]))&&(o&&(o+=" "),o+=i)}else for(i in t)t[i]&&(o&&(o+=" "),o+=i);return o}function cg(){for(var t,e,i=0,o="",n=arguments.length;i<n;i++)(t=arguments[i])&&(e=dg(t))&&(o&&(o+=" "),o+=e);return o}function _d(t){return typeof t=="object"?cg(t):t!=null?t:""}function fg(t,e){e?t.hasAttribute("selected")||t.setAttribute("selected",""):t.removeAttribute("selected")}function ve(t,e,i,o){var r;var n=(r=t.__attributes)!=null?r:t.__attributes={};if(ht&&(n[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName==="LINK")){o||vg(t,e,i!=null?i:"");return}n[e]!==(n[e]=i)&&(e==="style"&&"__styles"in t&&(t.__styles={}),e==="loading"&&(t[Qm]=i),i==null?t.removeAttribute(e):typeof i!="string"&&mg(t).includes(e)?t[e]=i:t.setAttribute(e,i))}function Ne(t,e,i,o,n=!1,r=!1,l=!1){var H;var d=e||{},a=t.tagName==="OPTION";for(var c in e)c in i||(i[c]=null);i.class&&(i.class=_d(i.class)),o!==void 0&&(i.class=i.class?i.class+" "+o:o);var v=mg(t),m=(H=t.__attributes)!=null?H:t.__attributes={};for(let B in i){let z=i[B];if(a&&B==="value"&&z==null){t.value=t.__value="",d[B]=z;continue}var h=d[B];if(z!==h){d[B]=z;var g=B[0]+B[1];if(g!=="$$"){if(g==="on"){let T={},D="$$"+B,j=B.slice(2);var $=Jv(j);if(Xv(j)&&(j=j.slice(0,-7),T.capture=!0),!$&&h){if(z!=null)continue;t.removeEventListener(j,d[D],T),d[D]=null}if(z!=null)if($)t[`__${j}`]=z,Ct([j]);else{let Q=function(Z){d[B].call(this,Z)};var R=Q;d[D]=Pf(j,t,Q,T)}else $&&(t[`__${j}`]=void 0)}else if(B==="style"&&z!=null)t.style.cssText=z+"";else if(B==="autofocus")If(t,!!z);else if(B==="__value"||B==="value"&&z!=null)t.value=t[B]=t.__value=z;else if(B==="selected"&&a)fg(t,z);else{var y=B;n||(y=eg(y));var I=y==="defaultValue"||y==="defaultChecked";if(z==null&&!r&&!I)if(m[B]=null,y==="value"||y==="checked"){let T=t;if(y==="value"){let D=T.defaultValue;T.removeAttribute(y),T.defaultValue=D}else{let D=T.defaultChecked;T.removeAttribute(y),T.defaultChecked=D}}else t.removeAttribute(B);else I||v.includes(y)&&(r||typeof z!="string")?t[y]=z:typeof z!="function"&&(ht&&(y==="src"||y==="href"||y==="srcset")?l||vg(t,y,z!=null?z:""):ve(t,y,z))}B==="style"&&"__styles"in t&&(t.__styles={})}}}return d}var ug=new Map;function mg(t){var e=ug.get(t.nodeName);if(e)return e;ug.set(t.nodeName,e=[]);for(var i,o=t,n=Element.prototype;n!==o;){i=Gd(o);for(var r in i)i[r].set&&e.push(r);o=es(o)}return e}function vg(t,e,i){var o;Ue&&(e==="srcset"&&p$(t,i)||Hf((o=t.getAttribute(e))!=null?o:"",i)||ov(e,t.outerHTML.replace(t.innerHTML,t.innerHTML&&"..."),String(i)))}function Hf(t,e){return t===e?!0:new URL(t,document.baseURI).href===new URL(e,document.baseURI).href}function pg(t){return t.split(",").map(e=>e.trim().split(" ").filter(Boolean))}function p$(t,e){var i=pg(t.srcset),o=pg(e);return o.length===i.length&&o.every(([n,r],l)=>r===i[l][1]&&(Hf(i[l][0],n)||Hf(n,i[l][0])))}function tn(t,e,i){var o=t.__className,n=f$(e,i);ht&&t.className===n?t.__className=n:(o!==n||ht&&t.className!==n)&&(e==null&&!i?t.removeAttribute("class"):t.className=n,t.__className=n)}function f$(t,e){return(t==null?"":t)+(e?" "+e:"")}function re(t,e,i){if(i){if(t.classList.contains(e))return;t.classList.add(e)}else{if(!t.classList.contains(e))return;t.classList.remove(e)}}var Ts,tl,$d,gc,gg,hc=class hc{constructor(e){_s(this,gc);_s(this,Ts,new WeakMap);_s(this,tl);_s(this,$d);Va(this,$d,e)}observe(e,i){var o=Mi(this,Ts).get(e)||new Set;return o.add(i),Mi(this,Ts).set(e,o),Km(this,gc,gg).call(this).observe(e,Mi(this,$d)),()=>{var n=Mi(this,Ts).get(e);n.delete(i),n.size===0&&(Mi(this,Ts).delete(e),Mi(this,tl).unobserve(e))}}};Ts=new WeakMap,tl=new WeakMap,$d=new WeakMap,gc=new WeakSet,gg=function(){var e;return(e=Mi(this,tl))!=null?e:Va(this,tl,new ResizeObserver(i=>{for(var o of i){hc.entries.set(o.target,o);for(var n of Mi(this,Ts).get(o.target)||[])n(o)}}))},zn(hc,"entries",new WeakMap);var Ff=hc;var h$=new Ff({box:"border-box"});function da(t,e,i){var o=h$.observe(t,()=>i(t[e]));Qn(()=>(_i(()=>i(t[e])),o))}function hg(t,e){return t===e||(t==null?void 0:t[Do])===e}function St(t={},e,i,o){return Qn(()=>{var n,r;return So(()=>{n=r,r=(o==null?void 0:o())||[],_i(()=>{t!==i(...r)&&(e(t,...r),n&&hg(i(...n),t)&&e(null,...n))})}),()=>{xn(()=>{r&&hg(i(...r),t)&&e(null,...r)})}}),t}function Cr(t=!1){let e=Mt,i=e.l.u;if(!i)return;let o=()=>lc(e.s);if(t){let n=0,r={},l=w(()=>{let d=!1,a=e.s;for(let c in a)a[c]!==r[c]&&(r[c]=a[c],d=!0);return d&&n++,n});o=()=>s(l)}i.b.length&&Na(()=>{_g(e,o),$s(i.b)}),Ke(()=>{let n=_i(()=>i.m.map(Xm));return()=>{for(let r of n)typeof r=="function"&&r()}}),i.a.length&&Ke(()=>{_g(e,o),$s(i.a)})}function _g(t,e){if(t.l.s)for(let i of t.l.s)s(i);e()}function M(t,e,i){var o;t.$$events||(t.$$events={}),(o=t.$$events)[e]||(o[e]=[]),t.$$events[e].push(i)}function L(t){for(var e in t)e in this&&(this[e]=t[e])}function zt(t){Mt===null&&qa("onMount"),Dr&&Mt.l!==null?$$(Mt).m.push(t):Ke(()=>{let e=_i(t);if(typeof e=="function")return e})}function dr(t){Mt===null&&qa("onDestroy"),zt(()=>()=>_i(t))}function $$(t){var i;var e=t.l;return(i=e.u)!=null?i:e.u={a:[],b:[],m:[]}}function bd(t,e,i){if(t==null)return e(void 0),i&&i(void 0),Zt;let o=_i(()=>t.subscribe(e,i));return o.unsubscribe?()=>o.unsubscribe():o}var il=[];function cr(t,e){return{subscribe:Ie(t,e).subscribe}}function Ie(t,e=Zt){let i=null,o=new Set;function n(d){if(Da(t,d)&&(t=d,i)){let a=!il.length;for(let c of o)c[1](),il.push(c,t);if(a){for(let c=0;c<il.length;c+=2)il[c][0](il[c+1]);il.length=0}}}function r(d){n(d(t))}function l(d,a=Zt){let c=[d,a];return o.add(c),o.size===1&&(i=e(n,r)||Zt),d(t),()=>{o.delete(c),o.size===0&&i&&(i(),i=null)}}return{set:n,update:r,subscribe:l}}function $i(t,e,i){let o=!Array.isArray(t),n=o?[t]:t;if(!n.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");let r=e.length<2;return cr(i,(l,d)=>{let a=!1,c=[],v=0,m=Zt,h=()=>{if(v)return;m();let $=e(o?c[0]:c,l,d);r?l($):m=typeof $=="function"?$:Zt},g=n.map(($,y)=>bd($,I=>{c[y]=I,v&=~(1<<y),a&&h()},()=>{v|=1<<y}));return a=!0,h(),function(){$s(g),m(),a=!1}})}function Re(t){let e;return bd(t,i=>e=i)(),e}var _c=!1,Uf=Symbol();function E(t,e,i){var r;let o=(r=i[e])!=null?r:i[e]={store:null,source:ns(void 0),unsubscribe:Zt};if(o.store!==t&&!(Uf in i))if(o.unsubscribe(),o.store=t!=null?t:null,t==null)o.source.v=void 0,o.unsubscribe=Zt;else{var n=!0;o.unsubscribe=bd(t,l=>{n?o.source.v=l:G(o.source,l)}),n=!1}return t&&Uf in i?Re(t):s(o.source)}function Xe(){let t={};function e(){Gn(()=>{for(var i in t)t[i].unsubscribe();io(t,Uf,{enumerable:!1,value:!0})})}return[t,e]}function zf(t){var e=_c;try{return _c=!1,[t(),_c]}finally{_c=e}}var C$={get(t,e){if(!t.exclude.includes(e))return s(t.version),e in t.special?t.special[e]():t.props[e]},set(t,e,i){return e in t.special||(t.special[e]=p({get[e](){return t.props[e]}},e,4)),t.special[e](i),ac(t.version),!0},getOwnPropertyDescriptor(t,e){if(!t.exclude.includes(e)&&e in t.props)return{enumerable:!0,configurable:!0,value:t.props[e]}},deleteProperty(t,e){return t.exclude.includes(e)||(t.exclude.push(e),ac(t.version)),!0},has(t,e){return t.exclude.includes(e)?!1:e in t.props},ownKeys(t){return Reflect.ownKeys(t.props).filter(e=>!t.exclude.includes(e))}};function De(t,e){return new Proxy({props:t,exclude:e,special:{},version:Oi(0)},C$)}var S$={get(t,e){let i=t.props.length;for(;i--;){let o=t.props[i];if(Gs(o)&&(o=o()),typeof o=="object"&&o!==null&&e in o)return o[e]}},set(t,e,i){let o=t.props.length;for(;o--;){let n=t.props[o];Gs(n)&&(n=n());let r=qn(n,e);if(r&&r.set)return r.set(i),!0}return!1},getOwnPropertyDescriptor(t,e){let i=t.props.length;for(;i--;){let o=t.props[i];if(Gs(o)&&(o=o()),typeof o=="object"&&o!==null&&e in o){let n=qn(o,e);return n&&!n.configurable&&(n.configurable=!0),n}}},has(t,e){if(e===Do||e===sd)return!1;for(let i of t.props)if(Gs(i)&&(i=i()),i!=null&&e in i)return!0;return!1},ownKeys(t){let e=[];for(let i of t.props){Gs(i)&&(i=i());for(let o in i)e.includes(o)||e.push(o)}return e}};function ds(...t){return new Proxy({props:t},S$)}function $g(t){for(var e=It,i=It;e!==null&&!(e.f&96);)e=e.parent;try{return oo(e),t()}finally{oo(i)}}function p(t,e,i,o){var j,Q;var n=(i&1)!==0,r=!Dr||(i&2)!==0,l=(i&8)!==0,d=(i&16)!==0,a=!1,c;l?[c,a]=zf(()=>t[e]):c=t[e];var v=Do in t||sd in t,m=l&&((Q=(j=qn(t,e))==null?void 0:j.set)!=null?Q:v&&e in t&&(Z=>t[e]=Z))||void 0,h=o,g=!0,$=!1,y=()=>($=!0,g&&(g=!1,d?h=_i(o):h=o),h);c===void 0&&o!==void 0&&(m&&r&&_v(e),c=y(),m&&m(c));var I;if(r)I=()=>{var Z=t[e];return Z===void 0?y():(g=!0,$=!1,Z)};else{var R=$g(()=>(n?w:ss)(()=>t[e]));R.f|=131072,I=()=>{var Z=s(R);return Z!==void 0&&(h=void 0),Z===void 0?h:Z}}if(!(i&4))return I;if(m){var H=t.$$legacy;return function(Z,ne){return arguments.length>0?((!r||!ne||H||a)&&m(ne?I():Z),Z):I()}}var B=!1,z=!1,T=ns(c),D=$g(()=>w(()=>{var Z=I(),ne=s(T);return B?(B=!1,z=!0,ne):(z=!1,T.v=Z)}));return n||(D.equals=Oa),function(Z,ne){if(dd!==null&&(B=z,I(),s(T)),arguments.length>0){let ue=ne?s(D):r&&l?ye(Z):Z;return D.equals(ue)||(B=!0,G(T,ue),$&&h!==void 0&&(h=ue),_i(()=>s(D))),Z}return s(D)}}var T$;typeof HTMLElement=="function"&&(T$=class extends HTMLElement{constructor(e,i,o){super();zn(this,"$$ctor");zn(this,"$$s");zn(this,"$$c");zn(this,"$$cn",!1);zn(this,"$$d",{});zn(this,"$$r",!1);zn(this,"$$p_d",{});zn(this,"$$l",{});zn(this,"$$l_u",new Map);zn(this,"$$me");this.$$ctor=e,this.$$s=i,o&&this.attachShadow({mode:"open"})}addEventListener(e,i,o){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(i),this.$$c){let n=this.$$c.$on(e,i);this.$$l_u.set(i,n)}super.addEventListener(e,i,o)}removeEventListener(e,i,o){if(super.removeEventListener(e,i,o),this.$$c){let n=this.$$l_u.get(i);n&&(n(),this.$$l_u.delete(i))}}connectedCallback(){return Tt(this,null,function*(){if(this.$$cn=!0,!this.$$c){let i=function(r){return l=>{let d=document.createElement("slot");r!=="default"&&(d.name=r),C(l,d)}};var e=i;if(yield Promise.resolve(),!this.$$cn||this.$$c)return;let o={},n=I$(this);for(let r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=i(r),o.default=!0):o[r]=i(r));for(let r of this.attributes){let l=this.$$g_p(r.name);l in this.$$d||(this.$$d[l]=qf(l,r.value,this.$$p_d,"toProp"))}for(let r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=k({component:this.$$ctor,target:this.shadowRoot||this,props:Ht(_({},this.$$d),{$$slots:o,$$host:this})}),this.$$me=uc(()=>{So(()=>{var r;this.$$r=!0;for(let l of ef(this.$$c)){if(!((r=this.$$p_d[l])!=null&&r.reflect))continue;this.$$d[l]=this.$$c[l];let d=qf(l,this.$$d[l],this.$$p_d,"toAttribute");d==null?this.removeAttribute(this.$$p_d[l].attribute||l):this.setAttribute(this.$$p_d[l].attribute||l,d)}this.$$r=!1})});for(let r in this.$$l)for(let l of this.$$l[r]){let d=this.$$c.$on(r,l);this.$$l_u.set(l,d)}this.$$l={}}})}attributeChangedCallback(e,i,o){var n;this.$$r||(e=this.$$g_p(e),this.$$d[e]=qf(e,o,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$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 ef(this.$$p_d).find(i=>this.$$p_d[i].attribute===e||!this.$$p_d[i].attribute&&i.toLowerCase()===e)||e}});function qf(t,e,i,o){var r;let n=(r=i[t])==null?void 0:r.type;if(e=n==="Boolean"&&typeof e!="boolean"?e!=null:e,!o||!i[t])return e;if(o==="toAttribute")switch(n){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e==null?null:e;default:return e}else switch(n){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function I$(t){let e={};return t.childNodes.forEach(i=>{e[i.slot||"default"]=!0}),e}var Er=require("@vkontakte/videoplayer-shared/es2015"),r_=require("@vkontakte/videoplayer-statistics/es2015");var ca=require("@vkontakte/videoplayer-shared/es2015");var k$={isMobile:void 0,defaultLanguage:ca.InterfaceLanguage.RU,downloadVKLanguages:!0,updateBuiltinLanguages:!0,isSmoothVideoRotate:!0,showSupport:!0,supportLink:"https://vk.com/support?act=new&from=v",showLogo:void 0,logoLink:"https://vk.com/video",logoType:"vk_video",volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:ca.VideoQuality.Q_480P,highQualityLimit:ca.VideoQuality.Q_720P,episodeMinWidthPc:8,hideThumbTimerAfterTouch:!0,sentry:{dsn:"https://e349fd23c68f405388980d0868d0ff27@sentry.mvk.com/126",sampleRate:.01,whiteErrorCategoryList:[],blackErrorCategoryList:[],whiteErrorIdList:[],blackErrorIdList:[]},features:{autoplay:!0,statistics:!0,sentry:!0,preload:!0,subtitles:!0,episodes:!0,fullscreen:!0,timelinePreview:!0,mediaSession:!0,annotations:!0,annotationsInside:!1,pip:!0,dpip:!0,download:!0,liveRewind:!0,playbackRate:!0,trafficSaving:!0,episodesClustering:!0,copyVideoLink:!0,videoRotate:!0,interactiveGraph:!1,interactiveResponsiveUi:!1,seekToInteractive:!0,interactiveLastFrame:!1,interactiveTextPermanent:!0,interactiveHideTime:!0,interactivePlayPrevChapter:!0,interactiveTimeIndicator:!0,interactiveTimeOpenUri:!1,thumbTimer:!0,hotKeyMapModal:!0,hotKeyHelpers:!0,saveDebugInfoToFile:!1,saveTraceInfoToFile:!1,additionalButtons:!0,additionalButtonsDesktopControlPanelRight:!0,additionalSettingsMenuItems:!0,additionalContextMenuItems:!0,contextMenuButton:!0,audioLanguages:!1,saveRate:!1,fullscreenInternalTargetPlayerContainer:!1,endScreen:!0,autoplayNext:!0,nextPrevButtons:!0,previewNoEmptySpace:!1,exposeInternalsToGlobal:!1,skipInitialPlaybackStateValue:!1,skipInitialPlaybackRateValue:!1,qualityDetailsSubMenuEnabled:!1},controls:{showOnStartupAtAutoplay:!0,hideTimeout:500,hideTimeoutMobile:3e3,hideTimeoutInitial:200,hideTimeoutFullscreen:3e3,hideTimeoutCursor:3e3,hideTimeoutTooltips:1e3,collapseMobileUnmute:6e3,hide360IconTimeout:3e3,hideHotKeyHelpers:2e3,playbackRateMin:.25,playbackRateMax:2,playbackRateStep:.25,volumeStepKeyboard:.05,volumeStepWheel:.05,volumeBarTimeout:300,seekStepKeyboard:1e4,seekStepMobile:15e3,seekStepFrame:400},ads:{enable:void 0,initTimeout:2e3,loadTimeout:2e3,runtimeTimeout:5e3,slot:void 0,preview:void 0,isMobileGoToSiteButton:!0,useAdmanFromNPM:!1},interactive:{historyMaxLength:100,noInteractionEventTimeout:3e4}},yg=t=>(0,ca.fillWithDefault)(t,k$),xg=t=>ra("ui-config",t),ii=()=>na("ui-config");var yd="vk_player_debug_panel_opened";var wg="videoplayer",Cg="videoplayer";var Ur={KeyF:"f",KeyK:"k",KeyC:"c",KeyM:"m"},Sg=new Set(["ArrowLeft","ArrowRight","KeyL","KeyJ"]),Tg=new Set(["Tab","Space","ArrowLeft","ArrowRight","ArrowUp","ArrowDown"]),Ig=new Set(["ShiftRight","ShiftLeft"]);var Eg=["TIMELINE"],xd=[...Eg,"GRAPH_BUTTON"],Wf=[...Eg,"PLAY_BUTTON"],wd=[...xd,"PLAY_BUTTON"];var Sr=(r=>(r.XS="xs",r.S="s",r.M="m",r.L="l",r.XL="xl",r))(Sr||{}),pa={xs:0,s:1,m:2,l:3,xl:4};var Cd=require("@vkontakte/videoplayer-shared/es2015"),kg=require("@vkontakte/videoplayer-core/es2015"),Pg=require("@vkontakte/videoplayer-statistics/es2015");var $c="prod",fa="1.1.55-dev.7131fb97.0";var ma=(t,e,i)=>{let o=document.createElement("a");o.href=t,o.download=`${e}.${i}`,o.style.display="none",o.click()};var Ag=Symbol("storeContext"),Mg=Symbol("microStoresContext"),Lg=(t,e)=>{ra(Ag,t),ra(Mg,e),$c==="dev"&&(window.app={store:t,microStores:e})},Oe=()=>{let t=na(Ag);return(0,Cd.assertNonNullable)(t,"Store context is empty!"),t},on=()=>{let t=na(Mg);return(0,Cd.assertNonNullable)(t,"MicroStores context is empty!"),t},Xt=(t,e)=>yc(t,t.getValue(),e),yc=(t,e,i)=>cr(e,o=>{let n=t.subscribe(r=>{o(r),i==null||i(r)});return()=>n.unsubscribe()}),Rg=(t,e,i)=>{var R,H,B,z,T,D;let o=t.info,{width:n,height:r}=Re(i.ui.playerSize),l=(H=(R=o.throughputEstimation$.getValue())==null?void 0:R.toFixed(0))!=null?H:0,d=(z=(B=o.rttEstimation$.getValue())==null?void 0:B.toFixed(0))!=null?z:0,a=o.isAutoQualityEnabled$.getValue()?"auto":"manual",c=`${fa} (core: ${kg.VERSION}, stat: ${Pg.VERSION}, shared: ${Cd.VERSION})`,v=Re(i.state.errorLog$),m=v.length?`
|
|
45
|
+
`)})}if(Pv(t,e),Av(e))throw t}function ec(t){var h,g;var e=To,i=Kn,o=os,n=Ut,r=as,l=wr,d=Mt,a=t.f;To=null,Kn=0,os=null,Ut=a&96?null:t,as=!rs&&(a&256)!==0,wr=null,Mt=t.ctx,nc++;try{var c=(0,t.fn)(),v=t.deps;if(To!==null){var m;if(ia(t,Kn),v!==null&&Kn>0)for(v.length=Kn+To.length,m=0;m<To.length;m++)v[Kn+m]=To[m];else t.deps=v=To;if(!as)for(m=Kn;m<v.length;m++)((g=(h=v[m]).reactions)!=null?g:h.reactions=[]).push(t)}else v!==null&&Kn<v.length&&(ia(t,Kn),v.length=Kn);return n!==null&&nc++,c}finally{To=e,Kn=i,os=o,Ut=n,as=r,wr=l,Mt=d}}function V_(t,e){let i=e.reactions;if(i!==null){var o=jm.call(i,t);if(o!==-1){var n=i.length-1;n===0?i=e.reactions=null:(i[o]=i[n],i.pop())}}i===null&&e.f&2&&(To===null||!To.includes(e))&&(Jo(e,4096),e.f&768||(e.f^=512),ia(e,0))}function ia(t,e){var i=t.deps;if(i!==null)for(var o=e;o<i.length;o++)V_(t,i[o])}function ta(t){var e=t.f;if(!(e&16384)){Jo(t,1024);var i=It,o=Mt;if(It=t,Ue){var n=Zo;Zo=t.component_function}try{e&16?Ov(t):wf(t),xf(t),yf(t);var r=ec(t);t.teardown=typeof r=="function"?r:null,t.wv=Vv;var l=t.deps;if(Ue&&Or&&t.f&2048&&l!==null)for(let a=0;a<l.length;a++){var d=l[a];d.trace_need_increase&&(d.wv=cd(),d.trace_need_increase=void 0,d.trace_v=void 0)}Ue&&fd.push(t)}catch(a){Ga(a,t,i,o||t.ctx)}finally{It=i,Ue&&(Zo=n)}}}function Mv(){console.error("Last ten effects were: ",fd.slice(-10).map(t=>t.fn)),fd=[]}function Bv(){if(Ka>1e3){Ka=0;try{vv()}catch(t){if(Ue&&io(t,"stack",{value:""}),Wa!==null)if(Ue)try{Ga(t,Wa,null,null)}catch(e){throw Mv(),e}else Ga(t,Wa,null,null);else throw Ue&&Mv(),t}}Ka++}function Nv(t){var e=t.length;if(e!==0){Bv();var i=rs;rs=!0;try{for(var o=0;o<e;o++){var n=t[o];n.f&1024||(n.f^=1024);var r=[];Dv(n,r),B_(r)}}finally{rs=i}}}function B_(t){var e=t.length;if(e!==0)for(var i=0;i<e;i++){var o=t[i];if(!(o.f&24576))try{ys(o)&&(ta(o),o.deps===null&&o.first===null&&o.nodes_start===null&&(o.teardown===null?Cf(o):o.fn=null))}catch(n){Ga(n,o,null,o.ctx)}}}function N_(){if(pd=!1,Ka>1001)return;let t=oa;oa=[],Nv(t),pd||(Ka=0,Wa=null,Ue&&(fd=[]))}function za(t){ic===Rv&&(pd||(pd=!0,queueMicrotask(N_))),Wa=t;for(var e=t;e.parent!==null;){e=e.parent;var i=e.f;if(i&96){if(!(i&1024))return;e.f^=1024}}oa.push(e)}function Dv(t,e){var i=t.first,o=[];e:for(;i!==null;){var n=i.f,r=(n&32)!==0,l=r&&(n&1024)!==0,d=i.next;if(!l&&!(n&8192))if(n&8){if(r)i.f^=1024;else try{ys(i)&&ta(i)}catch(m){Ga(m,i,null,i.ctx)}var a=i.first;if(a!==null){i=a;continue}}else n&4&&o.push(i);if(d===null){let m=i.parent;for(;m!==null;){if(t===m)break e;var c=m.next;if(c!==null){i=c;continue e}m=m.parent}}i=d}for(var v=0;v<o.length;v++)a=o[v],e.push(a),Dv(a,e)}function u(t){var e=ic,i=oa;try{Bv();let n=[];ic=R_,oa=n,pd=!1,Nv(i);var o=t==null?void 0:t();return iv(),(oa.length>0||n.length>0)&&u(),Ka=0,Wa=null,Ue&&(fd=[]),o}finally{ic=e,oa=i}}function fo(){return Tt(this,null,function*(){yield Promise.resolve(),u()})}function s(t){var m,h;var e=t.f,i=(e&2)!==0;if(i&&e&16384){var o=gf(t);return ud(t),o}if(dd!==null&&dd.add(t),Ut!==null){wr!==null&&wr.includes(t)&&xv();var n=Ut.deps;t.rv<nc&&(t.rv=nc,To===null&&n!==null&&n[Kn]===t?Kn++:To===null?To=[t]:To.push(t),os!==null&&It!==null&&It.f&1024&&!(It.f&32)&&os.includes(t)&&(Jo(It,2048),za(It)))}else if(i&&t.deps===null)for(var r=t,l=r.parent,d=r;l!==null;)if(l.f&2){var a=l;d=a,l=a.parent}else{var c=l;(m=c.deriveds)!=null&&m.includes(d)||((h=c.deriveds)!=null?h:c.deriveds=[]).push(d);break}if(i&&(r=t,ys(r)&&hf(r)),Ue&&Or&&ld!==null&&Ut!==null&&ld.reaction===Ut){if(t.debug)t.debug();else if(t.created){var v=ld.entries.get(t);v===void 0&&(v={read:[]},ld.entries.set(t,v)),v.read.push(is("TracedAt"))}}return t.v}function _i(t){let e=Ut;try{return Ut=null,t()}finally{Ut=e}}var D_=-7169;function Jo(t,e){t.f=t.f&D_|e}function na(t){let i=bf("getContext").get(t);if(Ue){let o=Mt.function;o&&Xd(i,o,!0)}return i}function ra(t,e){return bf("setContext").set(t,e),e}function ja(){let t=bf("getAllContexts");if(Ue){let e=Mt==null?void 0:Mt.function;if(e)for(let i of t.values())Xd(i,e,!0)}return t}function bf(t){var e;return Mt===null&&qa(t),(e=Mt.c)!=null?e:Mt.c=new Map(O_(Mt)||void 0)}function O_(t){let e=t.p;for(;e!==null;){let i=e.c;if(i!==null)return i;e=e.p}return null}function ac(t,e=1){var i=s(t),o=e===1?i++:i--;return G(t,i),o}function P(t,e=!1,i){Mt={p:Mt,c:null,e:null,m:!1,s:t,x:null,l:null},Dr&&!e&&(Mt.l={s:null,u:null,r1:[],r2:Oi(!1)}),Ue&&(Mt.function=i,Zo=i)}function A(t){var l,d;let e=Mt;if(e!==null){t!==void 0&&(e.x=t);let a=e.e;if(a!==null){var i=It,o=Ut;e.e=null;try{for(var n=0;n<a.length;n++){var r=a[n];oo(r.effect),en(r.reaction),Qn(r.fn)}}finally{oo(i),en(o)}}Mt=e.p,Ue&&(Zo=(d=(l=e.p)==null?void 0:l.function)!=null?d:null),e.m=!0}return t||{}}function lc(t){if(!(typeof t!="object"||!t||t instanceof EventTarget)){if(Do in t)rc(t);else if(!Array.isArray(t))for(let e in t){let i=t[e];typeof i=="object"&&i&&Do in i&&rc(i)}}}function rc(t,e=new Set){if(typeof t=="object"&&t!==null&&!(t instanceof EventTarget)&&!e.has(t)){e.add(t),t instanceof Date&&t.getTime();for(let o in t)try{rc(t[o],e)}catch(n){}let i=es(t);if(i!==Object.prototype&&i!==Array.prototype&&i!==Map.prototype&&i!==Set.prototype&&i!==Date.prototype){let o=Gd(i);for(let n in o){let r=o[n].get;if(r)try{r.call(t)}catch(l){}}}}}if(Ue){let t=function(e){if(!(e in globalThis)){let i;Object.defineProperty(globalThis,e,{configurable:!0,get:()=>{if(i!==void 0)return i;$v(e)},set:o=>{i=o}})}};H_=t,t("$state"),t("$effect"),t("$derived"),t("$inspect"),t("$props"),t("$bindable")}var H_;var ht=!1;function Cn(t){ht=t}var kt;function Si(t){if(t===null)throw Zs(),ts;return kt=t}function Wi(){return Si(Io(kt))}function b(t){if(ht){if(Io(kt)!==null)throw Zs(),ts;kt=t}}function Ae(t=1){if(ht){for(var e=t,i=kt;e--;)i=Io(i);kt=i}}function Za(){for(var t=0,e=kt;;){if(e.nodeType===8){var i=e.data;if(i===Js){if(t===0)return e;t-=1}else(i===Ba||i===Xs)&&(t+=1)}var o=Io(e);e.remove(),e=o}}function ye(t,e=null,i){var c,v;var o=null;if(Ue&&Or&&(o=is("CreatedAt")),typeof t!="object"||t===null||Do in t)return t;let n=es(t);if(n!==tf&&n!==Zm)return t;var r=new Map,l=xr(t),d=Oi(0);l&&r.set("length",Oi(t.length,o));var a;if(Ue)if(a={parent:e,owners:null},i){let m=(v=(c=i.v)==null?void 0:c[Jr])==null?void 0:v.owners;a.owners=m?new Set(m):null}else a.owners=e===null?Mt!==null?new Set([Mt.function]):null:new Set;return new Proxy(t,{defineProperty(m,h,g){(!("value"in g)||g.configurable===!1||g.enumerable===!1||g.writable===!1)&&bv();var $=r.get(h);return $===void 0?($=Oi(g.value,o),r.set(h,$)):G($,ye(g.value,a)),!0},deleteProperty(m,h){var g=r.get(h);if(g===void 0)h in m&&r.set(h,Oi(qi,o));else{if(l&&typeof h=="string"){var $=r.get("length"),y=Number(h);Number.isInteger(y)&&y<$.v&&G($,y)}G(g,qi),Hv(d)}return!0},get(m,h,g){var H;if(Ue&&h===Jr)return a;if(h===Do)return t;var $=r.get(h),y=h in m;if($===void 0&&(!y||(H=qn(m,h))!=null&&H.writable)&&($=Oi(ye(y?m[h]:qi,a),o),r.set(h,$)),$!==void 0){var I=s($);if(Ue){var R=I==null?void 0:I[Jr];R&&(R==null?void 0:R.parent)!==a&&sf(a,R)}return I===qi?void 0:I}return Reflect.get(m,h,g)},getOwnPropertyDescriptor(m,h){var g=Reflect.getOwnPropertyDescriptor(m,h);if(g&&"value"in g){var $=r.get(h);$&&(g.value=s($))}else if(g===void 0){var y=r.get(h),I=y==null?void 0:y.v;if(y!==void 0&&I!==qi)return{enumerable:!0,configurable:!0,value:I,writable:!0}}return g},has(m,h){var I;if(Ue&&h===Jr||h===Do)return!0;var g=r.get(h),$=g!==void 0&&g.v!==qi||Reflect.has(m,h);if(g!==void 0||It!==null&&(!$||(I=qn(m,h))!=null&&I.writable)){g===void 0&&(g=Oi($?ye(m[h],a):qi,o),r.set(h,g));var y=s(g);if(y===qi)return!1}return $},set(m,h,g,$){var j;var y=r.get(h),I=h in m;if(l&&h==="length")for(var R=g;R<y.v;R+=1){var H=r.get(R+"");H!==void 0?G(H,qi):R in m&&(H=Oi(qi,o),r.set(R+"",H))}if(y===void 0?(!I||(j=qn(m,h))!=null&&j.writable)&&(y=Oi(void 0,o),G(y,ye(g,a)),r.set(h,y)):(I=y.v!==qi,G(y,ye(g,a))),Ue){var B=g==null?void 0:g[Jr];B&&(B==null?void 0:B.parent)!==a&&sf(a,B),dv(a)}var z=Reflect.getOwnPropertyDescriptor(m,h);if(z!=null&&z.set&&z.set.call($,g),!I){if(l&&typeof h=="string"){var T=r.get("length"),D=Number(h);Number.isInteger(D)&&D>=T.v&&G(T,D+1)}Hv(d)}return!0},ownKeys(m){s(d);var h=Reflect.ownKeys(m).filter(y=>{var I=r.get(y);return I===void 0||I.v!==qi});for(var[g,$]of r)$.v!==qi&&!(g in m)&&h.push(g);return h},setPrototypeOf(){yv()}})}function Hv(t,e=1){G(t,t.v+e)}function dc(t){return t!==null&&typeof t=="object"&&Do in t?t[Do]:t}function Fv(){let t=Array.prototype,e=Array.__svelte_cleanup;e&&e();let{indexOf:i,lastIndexOf:o,includes:n}=t;t.indexOf=function(r,l){let d=i.call(this,r,l);if(d===-1){for(let a=l!=null?l:0;a<this.length;a+=1)if(dc(this[a])===r){jd("array.indexOf(...)");break}}return d},t.lastIndexOf=function(r,l){let d=o.call(this,r,l!=null?l:this.length-1);if(d===-1){for(let a=0;a<=(l!=null?l:this.length-1);a+=1)if(dc(this[a])===r){jd("array.lastIndexOf(...)");break}}return d},t.includes=function(r,l){let d=n.call(this,r,l);if(!d){for(let a=0;a<this.length;a+=1)if(dc(this[a])===r){jd("array.includes(...)");break}}return d},Array.__svelte_cleanup=()=>{t.indexOf=i,t.lastIndexOf=o,t.includes=n}}var sa,Uv,zv,qv;function cc(){if(sa===void 0){sa=window,Uv=document;var t=Element.prototype,e=Node.prototype;zv=qn(e,"firstChild").get,qv=qn(e,"nextSibling").get,t.__click=void 0,t.__className="",t.__attributes=null,t.__styles=null,t.__e=void 0,Text.prototype.__t=void 0,Ue&&(t.__svelte_meta=null,Fv())}}function Sn(t=""){return document.createTextNode(t)}function wi(t){return zv.call(t)}function Io(t){return qv.call(t)}function x(t,e){if(!ht)return wi(t);var i=wi(kt);if(i===null)i=kt.appendChild(Sn());else if(e&&i.nodeType!==3){var o=Sn();return i==null||i.before(o),Si(o),o}return Si(i),i}function Ce(t,e){var n,r;if(!ht){var i=wi(t);return i.nodeType===8&&i.data===""?Io(i):i}if(e&&((n=kt)==null?void 0:n.nodeType)!==3){var o=Sn();return(r=kt)==null||r.before(o),Si(o),o}return kt}function O(t,e=1,i=!1){let o=ht?kt:t;for(var n;e--;)n=o,o=Io(o);if(!ht)return o;var r=o==null?void 0:o.nodeType;if(i&&r!==3){var l=Sn();return o===null?n==null||n.after(l):o.before(l),Si(l),l}return Si(o),o}function md(t){t.textContent=""}function Sf(t){It===null&&Ut===null&&mv(t),Ut!==null&&Ut.f&256&&fv(),sc&&pv(t)}function F_(t,e){var i=e.last;i===null?e.last=e.first=t:(i.next=t,t.prev=i,e.last=t)}function aa(t,e,i,o=!0){var v;var n=(t&64)!==0,r=It;if(Ue)for(;r!==null&&r.f&262144;)r=r.parent;var l={ctx:Mt,deps:null,deriveds:null,nodes_start:null,nodes_end:null,f:t|2048,first:null,fn:e,last:null,next:null,parent:n?null:r,prev:null,teardown:null,transitions:null,wv:0};if(Ue&&(l.component_function=Zo),i){var d=rs;try{Ha(!0),ta(l),l.f|=32768}catch(m){throw po(l),m}finally{Ha(d)}}else e!==null&&za(l);var a=i&&l.deps===null&&l.first===null&&l.nodes_start===null&&l.teardown===null&&(l.f&1048704)===0;if(!a&&!n&&o&&(r!==null&&F_(l,r),Ut!==null&&Ut.f&2)){var c=Ut;((v=c.children)!=null?v:c.children=[]).push(l)}return l}function Gn(t){let e=aa(8,null,!1);return Jo(e,1024),e.teardown=t,e}function Ke(t){var n;Sf("$effect");var e=It!==null&&(It.f&32)!==0&&Mt!==null&&!Mt.m;if(Ue&&io(t,"name",{value:"$effect"}),e){var i=Mt;((n=i.e)!=null?n:i.e=[]).push({fn:t,effect:It,reaction:Ut})}else{var o=Qn(t);return o}}function Na(t){return Sf("$effect.pre"),Ue&&io(t,"name",{value:"$effect.pre"}),So(t)}function uc(t){let e=aa(64,t,!0);return()=>{po(e)}}function Qv(t){let e=aa(64,t,!0);return(i={})=>new Promise(o=>{i.outro?Yn(e,()=>{po(e),o(void 0)}):(po(e),o(void 0))})}function Qn(t){return aa(4,t,!1)}function So(t){return aa(8,t,!0)}function V(t){return Ue&&io(t,"name",{value:"{expression}"}),mo(t)}function mo(t,e=0){return aa(24|e,t,!0)}function Xi(t,e=!0){return aa(40,t,!0,e)}function yf(t){var e=t.teardown;if(e!==null){let i=sc,o=Ut;$f(!0),en(null);try{e.call(null)}finally{$f(i),en(o)}}}function xf(t){var e=t.deriveds;if(e!==null){t.deriveds=null;for(var i=0;i<e.length;i+=1)ud(e[i])}}function wf(t,e=!1){var i=t.first;for(t.first=t.last=null;i!==null;){var o=i.next;po(i,e),i=o}}function Ov(t){for(var e=t.first;e!==null;){var i=e.next;e.f&32||po(e),e=i}}function po(t,e=!0){var i=!1;if((e||t.f&524288)&&t.nodes_start!==null){for(var o=t.nodes_start,n=t.nodes_end;o!==null;){var r=o===n?null:Io(o);o.remove(),o=r}i=!0}wf(t,e&&!i),xf(t),ia(t,0),Jo(t,16384);var l=t.transitions;if(l!==null)for(let a of l)a.stop();yf(t);var d=t.parent;d!==null&&d.first!==null&&Cf(t),Ue&&(t.component_function=null),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=null}function Cf(t){var e=t.parent,i=t.prev,o=t.next;i!==null&&(i.next=o),o!==null&&(o.prev=i),e!==null&&(e.first===t&&(e.first=o),e.last===t&&(e.last=i))}function Yn(t,e){var i=[];pc(t,i,!0),Tf(i,()=>{po(t),e&&e()})}function Tf(t,e){var i=t.length;if(i>0){var o=()=>--i||e();for(var n of t)n.out(o)}else e()}function pc(t,e,i){if(!(t.f&8192)){if(t.f^=8192,t.transitions!==null)for(let l of t.transitions)(l.is_global||i)&&e.push(l);for(var o=t.first;o!==null;){var n=o.next,r=(o.f&65536)!==0||(o.f&32)!==0;pc(o,e,r?i:!1),o=n}}}function Cs(t){Gv(t,!0)}function Gv(t,e){if(t.f&8192){ys(t)&&ta(t),t.f^=8192;for(var i=t.first;i!==null;){var o=i.next,n=(i.f&65536)!==0||(i.f&32)!==0;Gv(i,n?e:!1),i=o}if(t.transitions!==null)for(let r of t.transitions)(r.is_global||e)&&r.in()}}function If(t,e){if(e){let i=document.body;t.autofocus=!0,xn(()=>{document.activeElement===i&&t.focus()})}}function Ef(t){var e=Ut,i=It;en(null),oo(null);try{return t()}finally{en(e),oo(i)}}var kf=new Set,fc=new Set;function la(t){if(!ht)return;t.onload&&t.removeAttribute("onload"),t.onerror&&t.removeAttribute("onerror");let e=t.__e;e!==void 0&&(t.__e=void 0,queueMicrotask(()=>{t.isConnected&&t.dispatchEvent(e)}))}function Pf(t,e,i,o){function n(r){if(o.capture||Xa.call(e,r),!r.cancelBubble)return Ef(()=>i.call(this,r))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?xn(()=>{e.addEventListener(t,n,o)}):e.addEventListener(t,n,o),n}function Ft(t,e,i,o,n){var r={capture:o,passive:n},l=Pf(t,e,i,r);(e===document.body||e===window||e===document)&&Gn(()=>{e.removeEventListener(t,l,r)})}function Ct(t){for(var e=0;e<t.length;e++)kf.add(t[e]);for(var i of fc)i(t)}function Xa(t){var H;var e=this,i=e.ownerDocument,o=t.type,n=((H=t.composedPath)==null?void 0:H.call(t))||[],r=n[0]||t.target,l=0,d=t.__root;if(d){var a=n.indexOf(d);if(a!==-1&&(e===document||e===window)){t.__root=e;return}var c=n.indexOf(e);if(c===-1)return;a<=c&&(l=a)}if(r=n[l]||t.target,r!==e){io(t,"currentTarget",{configurable:!0,get(){return r||i}});var v=Ut,m=It;en(null),oo(null);try{for(var h,g=[];r!==null;){var $=r.assignedSlot||r.parentNode||r.host||null;try{var y=r["__"+o];if(y!==void 0&&!r.disabled)if(xr(y)){var[I,...R]=y;I.apply(r,[t,...R])}else y.call(r,t)}catch(B){h?g.push(B):h=B}if(t.cancelBubble||$===e||$===null)break;r=$}if(h){for(let B of g)queueMicrotask(()=>{throw B});throw h}}finally{t.__root=e,delete t.currentTarget,en(v),oo(m)}}}var z_;function Yv(){z_=void 0}function Ja(t){var e=document.createElement("template");return e.innerHTML=t,e.content}function Eo(t,e){var i=It;i.nodes_start===null&&(i.nodes_start=t,i.nodes_end=e)}function U(t,e){var i=(e&1)!==0,o=(e&2)!==0,n,r=!t.startsWith("<!>");return()=>{if(ht)return Eo(kt,null),kt;n===void 0&&(n=Ja(r?t:"<!>"+t),i||(n=wi(n)));var l=o?document.importNode(n,!0):n.cloneNode(!0);if(i){var d=wi(l),a=l.lastChild;Eo(d,a)}else Eo(l,l);return l}}function Me(t,e,i="svg"){var o=!t.startsWith("<!>"),n=(e&1)!==0,r=`<${i}>${o?t:"<!>"+t}</${i}>`,l;return()=>{if(ht)return Eo(kt,null),kt;if(!l){var d=Ja(r),a=wi(d);if(n)for(l=document.createDocumentFragment();wi(a);)l.appendChild(wi(a));else l=wi(a)}var c=l.cloneNode(!0);if(n){var v=wi(c),m=c.lastChild;Eo(v,m)}else Eo(c,c);return c}}function ar(t=""){if(!ht){var e=Sn(t+"");return Eo(e,e),e}var i=kt;return i.nodeType!==3&&(i.before(i=Sn()),Si(i)),Eo(i,i),i}function Ye(){if(ht)return Eo(kt,null),kt;var t=document.createDocumentFragment(),e=document.createComment(""),i=Sn();return t.append(e,i),Eo(e,i),t}function C(t,e){if(ht){It.nodes_end=kt,Wi();return}t!==null&&t.before(e)}var W_=/\r/g;function Zv(t){t=t.replace(W_,"");let e=5381,i=t.length;for(;i--;)e=(e<<5)-e^t.charCodeAt(i);return(e>>>0).toString(36)}function Xv(t){return t.endsWith("capture")&&t!=="gotpointercapture"&&t!=="lostpointercapture"}var K_=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Jv(t){return K_.includes(t)}var Q_=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected","webkitdirectory"];var G_={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject"};function eg(t){var e;return t=t.toLowerCase(),(e=G_[t])!=null?e:t}var M5=[...Q_,"formNoValidate","isMap","noModule","playsInline","readOnly","value","volume","defaultValue","defaultChecked","srcObject"];var Y_=["touchstart","touchmove"];function tg(t){return Y_.includes(t)}function Af(t){return t==null?void 0:t.replace(/\//g,"/\u200B")}var Mf=!0;function Ee(t,e){var o;var i=e==null?"":typeof e=="object"?e+"":e;i!==((o=t.__t)!=null?o:t.__t=t.nodeValue)&&(t.__t=i,t.nodeValue=i==null?"":i+"")}function mc(t,e){return ig(t,e)}function Rf(t,e){var l;cc(),e.intro=(l=e.intro)!=null?l:!1;let i=e.target,o=ht,n=kt;try{for(var r=wi(i);r&&(r.nodeType!==8||r.data!==Ba);)r=Io(r);if(!r)throw ts;Cn(!0),Si(r),Wi();let d=ig(t,Ht(_({},e),{anchor:r}));if(kt===null||kt.nodeType!==8||kt.data!==Js)throw Zs(),ts;return Cn(!1),d}catch(d){if(d===ts)return e.recover===!1&&gv(),cc(),md(i),Cn(!1),mc(t,e);throw d}finally{Cn(o),Si(n),Yv()}}var el=new Map;function ig(t,{target:e,anchor:i,props:o={},events:n,context:r,intro:l=!0}){cc();var d=new Set,a=m=>{for(var h=0;h<m.length;h++){var g=m[h];if(!d.has(g)){d.add(g);var $=tg(g);e.addEventListener(g,Xa,{passive:$});var y=el.get(g);y===void 0?(document.addEventListener(g,Xa,{passive:$}),el.set(g,1)):el.set(g,y+1)}}};a(ad(kf)),fc.add(a);var c=void 0,v=Qv(()=>{var m=i!=null?i:e.appendChild(Sn());return Xi(()=>{if(r){P({});var h=Mt;h.c=r}n&&(o.$$events=n),ht&&Eo(m,null),Mf=l,c=t(m,o)||{},Mf=!0,ht&&(It.nodes_end=kt),r&&A()}),()=>{var $;for(var h of d){e.removeEventListener(h,Xa);var g=el.get(h);--g===0?(document.removeEventListener(h,Xa),el.delete(h)):el.set(h,g)}fc.delete(a),m!==i&&(($=m.parentNode)==null||$.removeChild(m))}});return Lf.set(c,v),c}var Lf=new WeakMap;function Vf(t,e){let i=Lf.get(t);return i?(Lf.delete(t),i(e)):(Ue&&rv(),Promise.resolve())}var Nf;function k(t){return Nf=t.target,new Bf(t)}var ls,lr,Bf=class{constructor(e){_s(this,ls);_s(this,lr);var r,l;var i=new Map,o=(d,a)=>{var c=ns(a);return i.set(d,c),c};let n=new Proxy(Ht(_({},e.props||{}),{$$events:{}}),{get(d,a){var c;return s((c=i.get(a))!=null?c:o(a,Reflect.get(d,a)))},has(d,a){var c;return a===sd?!0:(s((c=i.get(a))!=null?c:o(a,Reflect.get(d,a))),Reflect.has(d,a))},set(d,a,c){var v;return G((v=i.get(a))!=null?v:o(a,c),c),Reflect.set(d,a,c)}});Va(this,lr,(e.hydrate?Rf:mc)(e.component,{target:e.target,anchor:e.anchor,props:n,context:e.context,intro:(r=e.intro)!=null?r:!1,recover:e.recover})),(!((l=e==null?void 0:e.props)!=null&&l.$$host)||e.sync===!1)&&u(),Va(this,ls,n.$$events);for(let d of Object.keys(Mi(this,lr)))d==="$set"||d==="$destroy"||d==="$on"||io(this,d,{get(){return Mi(this,lr)[d]},set(a){Mi(this,lr)[d]=a},enumerable:!0});Mi(this,lr).$set=d=>{Object.assign(n,d)},Mi(this,lr).$destroy=()=>{Vf(Mi(this,lr))}}$set(e){Mi(this,lr).$set(e)}$on(e,i){Mi(this,ls)[e]=Mi(this,ls)[e]||[];let o=(...n)=>i.call(this,...n);return Mi(this,ls)[e].push(o),()=>{Mi(this,ls)[e]=Mi(this,ls)[e].filter(n=>n!==o)}}$destroy(){Mi(this,lr).$destroy()}};ls=new WeakMap,lr=new WeakMap;var og="5";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(og);var ng=new Map;function rg(t,e){var i=ng.get(t);i||(i=new Set,ng.set(t,i)),i.add(e)}function K(t,e,i=!1){ht&&Wi();var o=t,n=null,r=null,l=qi,d=i?65536:0,a=!1;let c=(m,h=!0)=>{a=!0,v(h,m)},v=(m,h)=>{if(l===(l=m))return;let g=!1;if(ht){let $=o.data===Xs;!!l===$&&(o=Za(),Si(o),Cn(!1),g=!0)}l?(n?Cs(n):h&&(n=Xi(()=>h(o))),r&&Yn(r,()=>{r=null})):(r?Cs(r):h&&(r=Xi(()=>h(o))),n&&Yn(n,()=>{n=null})),g&&Cn(!0)};mo(()=>{a=!1,e(c),a||v(null,null)},d),ht&&(o=kt)}function vd(t,e,i){ht&&Wi();var o=t,n=qi,r,l=bs()?cv:Da;mo(()=>{l(n,n=e())&&(r&&Yn(r),r=Xi(()=>i(o)))}),ht&&(o=kt)}var gd=null;function Li(t,e){return e}function a$(t,e,i,o){for(var n=[],r=e.length,l=0;l<r;l++)pc(e[l].e,n,!0);var d=r>0&&n.length===0&&i!==null;if(d){var a=i.parentNode;md(a),a.append(i),o.clear(),Ss(t,e[0].prev,e[r-1].next)}Tf(n,()=>{for(var c=0;c<r;c++){var v=e[c];d||(o.delete(v.k),Ss(t,v.prev,v.next)),po(v.e,!d)}})}function Ti(t,e,i,o,n,r=null){var l=t,d={flags:e,items:new Map,first:null},a=(e&4)!==0;if(a){var c=t;l=ht?Si(wi(c)):c.appendChild(Sn())}ht&&Wi();var v=null,m=!1,h=ss(()=>{var g=i();return xr(g)?g:g==null?[]:ad(g)});mo(()=>{var g=s(h),$=g.length;if(m&&$===0)return;m=$===0;let y=!1;if(ht){var I=l.data===Xs;I!==($===0)&&(l=Za(),Si(l),Cn(!1),y=!0)}if(ht){for(var R=null,H,B=0;B<$;B++){if(kt.nodeType===8&&kt.data===Js){l=kt,y=!0,Cn(!1);break}var z=g[B],T=o(z,B);H=lg(kt,d,R,null,z,T,B,n,e,i),d.items.set(T,H),R=H}$>0&&Si(Za())}if(!ht){var D=Ut;l$(g,d,l,n,e,(D.f&8192)!==0,o,i)}r!==null&&($===0?v?Cs(v):v=Xi(()=>r(l)):v!==null&&Yn(v,()=>{v=null})),y&&Cn(!0),s(h)}),ht&&(l=kt)}function l$(t,e,i,o,n,r,l,d){var me,oe,he,Y;var a=(n&8)!==0,c=(n&3)!==0,v=t.length,m=e.items,h=e.first,g=h,$,y=null,I,R=[],H=[],B,z,T,D;if(a)for(D=0;D<v;D+=1)B=t[D],z=l(B,D),T=m.get(z),T!==void 0&&((me=T.a)==null||me.measure(),(I!=null?I:I=new Set).add(T));for(D=0;D<v;D+=1){if(B=t[D],z=l(B,D),T=m.get(z),T===void 0){var j=g?g.e.nodes_start:i;y=lg(j,e,y,y===null?e.first:y.next,B,z,D,o,n,d),m.set(z,y),R=[],H=[],g=y.next;continue}if(c&&d$(T,B,D,n),T.e.f&8192&&(Cs(T.e),a&&((oe=T.a)==null||oe.unfix(),(I!=null?I:I=new Set).delete(T))),T!==g){if($!==void 0&&$.has(T)){if(R.length<H.length){var Q=H[0],Z;y=Q.prev;var ne=R[0],ue=R[R.length-1];for(Z=0;Z<R.length;Z+=1)sg(R[Z],Q,i);for(Z=0;Z<H.length;Z+=1)$.delete(H[Z]);Ss(e,ne.prev,ue.next),Ss(e,y,ne),Ss(e,ue,Q),g=Q,y=ue,D-=1,R=[],H=[]}else $.delete(T),sg(T,g,i),Ss(e,T.prev,T.next),Ss(e,T,y===null?e.first:y.next),Ss(e,y,T),y=T;continue}for(R=[],H=[];g!==null&&g.k!==z;)(r||!(g.e.f&8192))&&($!=null?$:$=new Set).add(g),H.push(g),g=g.next;if(g===null)continue;T=g}R.push(T),y=T,g=T.next}if(g!==null||$!==void 0){for(var J=$===void 0?[]:ad($);g!==null;)(r||!(g.e.f&8192))&&J.push(g),g=g.next;var X=J.length;if(X>0){var Fe=n&4&&v===0?i:null;if(a){for(D=0;D<X;D+=1)(he=J[D].a)==null||he.measure();for(D=0;D<X;D+=1)(Y=J[D].a)==null||Y.fix()}a$(e,J,Fe,m)}}a&&xn(()=>{var te;if(I!==void 0)for(T of I)(te=T.a)==null||te.apply()}),It.first=e.first&&e.first.e,It.last=y&&y.e}function d$(t,e,i,o){o&1&&Ua(t.v,e),o&2?Ua(t.i,i):t.i=i}function lg(t,e,i,o,n,r,l,d,a,c){var v=gd,m=(a&1)!==0,h=(a&16)===0,g=m?h?ns(n):Oi(n):n,$=a&2?Oi(l):l;Ue&&m&&(g.debug=()=>{var I=typeof $=="number"?l:$.v;c()[I]});var y={i:$,v:g,k:r,a:null,e:null,prev:i,next:o};gd=y;try{return y.e=Xi(()=>d(t,g,$),ht),y.e.prev=i&&i.e,y.e.next=o&&o.e,i===null?e.first=y:(i.next=y,i.e.next=y.e),o!==null&&(o.prev=y,o.e.prev=y.e),y}finally{gd=v}}function sg(t,e,i){for(var o=t.next?t.next.e.nodes_start:i,n=e?e.e.nodes_start:i,r=t.e.nodes_start;r!==o;){var l=Io(r);n.before(r),r=l}}function Ss(t,e,i){e===null?t.first=i:(e.next=i,e.e.next=i&&i.e),i!==null&&(i.prev=e,i.e.prev=e&&e.e)}function c$(t,e,i){var r,l;if(!e||e===Zv(String(i!=null?i:"")))return;let o,n=(r=t.__svelte_meta)==null?void 0:r.loc;n?o=`near ${n.file}:${n.line}:${n.column}`:(l=Zo)!=null&&l[Di]&&(o=`in ${Zo[Di]}`),nv(Af(o))}function hd(t,e,i,o,n){var r=t,l="",d;mo(()=>{var a;if(l===(l=(a=e())!=null?a:"")){ht&&Wi();return}d!==void 0&&(po(d),d=void 0),l!==""&&(d=Xi(()=>{if(ht){for(var c=kt.data,v=Wi(),m=v;v!==null&&(v.nodeType!==8||v.data!=="");)m=v,v=Io(v);if(v===null)throw Zs(),ts;Ue&&!n&&c$(v.parentNode,c,l),Eo(kt,m),r=Si(v);return}var h=l+"";i?h=`<svg>${h}</svg>`:o&&(h=`<math>${h}</math>`);var g=Ja(h);if((i||o)&&(g=wi(g)),Eo(wi(g),g.lastChild),i||o)for(;wi(g);)r.before(wi(g));else r.before(g)}))})}function Be(t,e,i,o,n){var d;ht&&Wi();var r=(d=e.$$slots)==null?void 0:d[i],l=!1;r===!0&&(r=e[i==="default"?"children":i],l=!0),r===void 0?n!==null&&n(t):r(t,l?()=>o:o)}function vo(t,e,...i){var o=t,n=Zt,r;mo(()=>{n!==(n=e())&&(r&&(po(r),r=null),Ue&&n==null&&hv(),r=Xi(()=>n(o,...i)))},65536),ht&&(o=kt)}function Hi(t,e,i){ht&&Wi();var o=t,n,r;mo(()=>{n!==(n=e())&&(r&&(Yn(r),r=null),n&&(r=Xi(()=>i(o,n))))},65536),ht&&(o=kt)}function de(t,e){xn(()=>{var n,r;var i=t.getRootNode(),o=(i.host?i:(n=i.head)!=null?n:i.ownerDocument.head)||((r=Nf)==null?void 0:r.parentNode);if(!(o!=null&&o.querySelector("#"+e.hash))){let l=document.createElement("style");l.id=e.hash,l.textContent=e.code,o.appendChild(l),Ue&&rg(e.hash,l)}})}function dg(t){var e,i,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t)){var n=t.length;for(e=0;e<n;e++)t[e]&&(i=dg(t[e]))&&(o&&(o+=" "),o+=i)}else for(i in t)t[i]&&(o&&(o+=" "),o+=i);return o}function cg(){for(var t,e,i=0,o="",n=arguments.length;i<n;i++)(t=arguments[i])&&(e=dg(t))&&(o&&(o+=" "),o+=e);return o}function _d(t){return typeof t=="object"?cg(t):t!=null?t:""}function fg(t,e){e?t.hasAttribute("selected")||t.setAttribute("selected",""):t.removeAttribute("selected")}function ve(t,e,i,o){var r;var n=(r=t.__attributes)!=null?r:t.__attributes={};if(ht&&(n[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName==="LINK")){o||vg(t,e,i!=null?i:"");return}n[e]!==(n[e]=i)&&(e==="style"&&"__styles"in t&&(t.__styles={}),e==="loading"&&(t[Qm]=i),i==null?t.removeAttribute(e):typeof i!="string"&&mg(t).includes(e)?t[e]=i:t.setAttribute(e,i))}function Ne(t,e,i,o,n=!1,r=!1,l=!1){var H;var d=e||{},a=t.tagName==="OPTION";for(var c in e)c in i||(i[c]=null);i.class&&(i.class=_d(i.class)),o!==void 0&&(i.class=i.class?i.class+" "+o:o);var v=mg(t),m=(H=t.__attributes)!=null?H:t.__attributes={};for(let B in i){let z=i[B];if(a&&B==="value"&&z==null){t.value=t.__value="",d[B]=z;continue}var h=d[B];if(z!==h){d[B]=z;var g=B[0]+B[1];if(g!=="$$"){if(g==="on"){let T={},D="$$"+B,j=B.slice(2);var $=Jv(j);if(Xv(j)&&(j=j.slice(0,-7),T.capture=!0),!$&&h){if(z!=null)continue;t.removeEventListener(j,d[D],T),d[D]=null}if(z!=null)if($)t[`__${j}`]=z,Ct([j]);else{let Q=function(Z){d[B].call(this,Z)};var R=Q;d[D]=Pf(j,t,Q,T)}else $&&(t[`__${j}`]=void 0)}else if(B==="style"&&z!=null)t.style.cssText=z+"";else if(B==="autofocus")If(t,!!z);else if(B==="__value"||B==="value"&&z!=null)t.value=t[B]=t.__value=z;else if(B==="selected"&&a)fg(t,z);else{var y=B;n||(y=eg(y));var I=y==="defaultValue"||y==="defaultChecked";if(z==null&&!r&&!I)if(m[B]=null,y==="value"||y==="checked"){let T=t;if(y==="value"){let D=T.defaultValue;T.removeAttribute(y),T.defaultValue=D}else{let D=T.defaultChecked;T.removeAttribute(y),T.defaultChecked=D}}else t.removeAttribute(B);else I||v.includes(y)&&(r||typeof z!="string")?t[y]=z:typeof z!="function"&&(ht&&(y==="src"||y==="href"||y==="srcset")?l||vg(t,y,z!=null?z:""):ve(t,y,z))}B==="style"&&"__styles"in t&&(t.__styles={})}}}return d}var ug=new Map;function mg(t){var e=ug.get(t.nodeName);if(e)return e;ug.set(t.nodeName,e=[]);for(var i,o=t,n=Element.prototype;n!==o;){i=Gd(o);for(var r in i)i[r].set&&e.push(r);o=es(o)}return e}function vg(t,e,i){var o;Ue&&(e==="srcset"&&p$(t,i)||Hf((o=t.getAttribute(e))!=null?o:"",i)||ov(e,t.outerHTML.replace(t.innerHTML,t.innerHTML&&"..."),String(i)))}function Hf(t,e){return t===e?!0:new URL(t,document.baseURI).href===new URL(e,document.baseURI).href}function pg(t){return t.split(",").map(e=>e.trim().split(" ").filter(Boolean))}function p$(t,e){var i=pg(t.srcset),o=pg(e);return o.length===i.length&&o.every(([n,r],l)=>r===i[l][1]&&(Hf(i[l][0],n)||Hf(n,i[l][0])))}function tn(t,e,i){var o=t.__className,n=f$(e,i);ht&&t.className===n?t.__className=n:(o!==n||ht&&t.className!==n)&&(e==null&&!i?t.removeAttribute("class"):t.className=n,t.__className=n)}function f$(t,e){return(t==null?"":t)+(e?" "+e:"")}function re(t,e,i){if(i){if(t.classList.contains(e))return;t.classList.add(e)}else{if(!t.classList.contains(e))return;t.classList.remove(e)}}var Ts,tl,$d,gc,gg,hc=class hc{constructor(e){_s(this,gc);_s(this,Ts,new WeakMap);_s(this,tl);_s(this,$d);Va(this,$d,e)}observe(e,i){var o=Mi(this,Ts).get(e)||new Set;return o.add(i),Mi(this,Ts).set(e,o),Km(this,gc,gg).call(this).observe(e,Mi(this,$d)),()=>{var n=Mi(this,Ts).get(e);n.delete(i),n.size===0&&(Mi(this,Ts).delete(e),Mi(this,tl).unobserve(e))}}};Ts=new WeakMap,tl=new WeakMap,$d=new WeakMap,gc=new WeakSet,gg=function(){var e;return(e=Mi(this,tl))!=null?e:Va(this,tl,new ResizeObserver(i=>{for(var o of i){hc.entries.set(o.target,o);for(var n of Mi(this,Ts).get(o.target)||[])n(o)}}))},zn(hc,"entries",new WeakMap);var Ff=hc;var h$=new Ff({box:"border-box"});function da(t,e,i){var o=h$.observe(t,()=>i(t[e]));Qn(()=>(_i(()=>i(t[e])),o))}function hg(t,e){return t===e||(t==null?void 0:t[Do])===e}function St(t={},e,i,o){return Qn(()=>{var n,r;return So(()=>{n=r,r=(o==null?void 0:o())||[],_i(()=>{t!==i(...r)&&(e(t,...r),n&&hg(i(...n),t)&&e(null,...n))})}),()=>{xn(()=>{r&&hg(i(...r),t)&&e(null,...r)})}}),t}function Cr(t=!1){let e=Mt,i=e.l.u;if(!i)return;let o=()=>lc(e.s);if(t){let n=0,r={},l=w(()=>{let d=!1,a=e.s;for(let c in a)a[c]!==r[c]&&(r[c]=a[c],d=!0);return d&&n++,n});o=()=>s(l)}i.b.length&&Na(()=>{_g(e,o),$s(i.b)}),Ke(()=>{let n=_i(()=>i.m.map(Xm));return()=>{for(let r of n)typeof r=="function"&&r()}}),i.a.length&&Ke(()=>{_g(e,o),$s(i.a)})}function _g(t,e){if(t.l.s)for(let i of t.l.s)s(i);e()}function M(t,e,i){var o;t.$$events||(t.$$events={}),(o=t.$$events)[e]||(o[e]=[]),t.$$events[e].push(i)}function L(t){for(var e in t)e in this&&(this[e]=t[e])}function zt(t){Mt===null&&qa("onMount"),Dr&&Mt.l!==null?$$(Mt).m.push(t):Ke(()=>{let e=_i(t);if(typeof e=="function")return e})}function dr(t){Mt===null&&qa("onDestroy"),zt(()=>()=>_i(t))}function $$(t){var i;var e=t.l;return(i=e.u)!=null?i:e.u={a:[],b:[],m:[]}}function bd(t,e,i){if(t==null)return e(void 0),i&&i(void 0),Zt;let o=_i(()=>t.subscribe(e,i));return o.unsubscribe?()=>o.unsubscribe():o}var il=[];function cr(t,e){return{subscribe:Ie(t,e).subscribe}}function Ie(t,e=Zt){let i=null,o=new Set;function n(d){if(Da(t,d)&&(t=d,i)){let a=!il.length;for(let c of o)c[1](),il.push(c,t);if(a){for(let c=0;c<il.length;c+=2)il[c][0](il[c+1]);il.length=0}}}function r(d){n(d(t))}function l(d,a=Zt){let c=[d,a];return o.add(c),o.size===1&&(i=e(n,r)||Zt),d(t),()=>{o.delete(c),o.size===0&&i&&(i(),i=null)}}return{set:n,update:r,subscribe:l}}function $i(t,e,i){let o=!Array.isArray(t),n=o?[t]:t;if(!n.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");let r=e.length<2;return cr(i,(l,d)=>{let a=!1,c=[],v=0,m=Zt,h=()=>{if(v)return;m();let $=e(o?c[0]:c,l,d);r?l($):m=typeof $=="function"?$:Zt},g=n.map(($,y)=>bd($,I=>{c[y]=I,v&=~(1<<y),a&&h()},()=>{v|=1<<y}));return a=!0,h(),function(){$s(g),m(),a=!1}})}function Re(t){let e;return bd(t,i=>e=i)(),e}var _c=!1,Uf=Symbol();function E(t,e,i){var r;let o=(r=i[e])!=null?r:i[e]={store:null,source:ns(void 0),unsubscribe:Zt};if(o.store!==t&&!(Uf in i))if(o.unsubscribe(),o.store=t!=null?t:null,t==null)o.source.v=void 0,o.unsubscribe=Zt;else{var n=!0;o.unsubscribe=bd(t,l=>{n?o.source.v=l:G(o.source,l)}),n=!1}return t&&Uf in i?Re(t):s(o.source)}function Xe(){let t={};function e(){Gn(()=>{for(var i in t)t[i].unsubscribe();io(t,Uf,{enumerable:!1,value:!0})})}return[t,e]}function zf(t){var e=_c;try{return _c=!1,[t(),_c]}finally{_c=e}}var C$={get(t,e){if(!t.exclude.includes(e))return s(t.version),e in t.special?t.special[e]():t.props[e]},set(t,e,i){return e in t.special||(t.special[e]=p({get[e](){return t.props[e]}},e,4)),t.special[e](i),ac(t.version),!0},getOwnPropertyDescriptor(t,e){if(!t.exclude.includes(e)&&e in t.props)return{enumerable:!0,configurable:!0,value:t.props[e]}},deleteProperty(t,e){return t.exclude.includes(e)||(t.exclude.push(e),ac(t.version)),!0},has(t,e){return t.exclude.includes(e)?!1:e in t.props},ownKeys(t){return Reflect.ownKeys(t.props).filter(e=>!t.exclude.includes(e))}};function De(t,e){return new Proxy({props:t,exclude:e,special:{},version:Oi(0)},C$)}var S$={get(t,e){let i=t.props.length;for(;i--;){let o=t.props[i];if(Gs(o)&&(o=o()),typeof o=="object"&&o!==null&&e in o)return o[e]}},set(t,e,i){let o=t.props.length;for(;o--;){let n=t.props[o];Gs(n)&&(n=n());let r=qn(n,e);if(r&&r.set)return r.set(i),!0}return!1},getOwnPropertyDescriptor(t,e){let i=t.props.length;for(;i--;){let o=t.props[i];if(Gs(o)&&(o=o()),typeof o=="object"&&o!==null&&e in o){let n=qn(o,e);return n&&!n.configurable&&(n.configurable=!0),n}}},has(t,e){if(e===Do||e===sd)return!1;for(let i of t.props)if(Gs(i)&&(i=i()),i!=null&&e in i)return!0;return!1},ownKeys(t){let e=[];for(let i of t.props){Gs(i)&&(i=i());for(let o in i)e.includes(o)||e.push(o)}return e}};function ds(...t){return new Proxy({props:t},S$)}function $g(t){for(var e=It,i=It;e!==null&&!(e.f&96);)e=e.parent;try{return oo(e),t()}finally{oo(i)}}function p(t,e,i,o){var j,Q;var n=(i&1)!==0,r=!Dr||(i&2)!==0,l=(i&8)!==0,d=(i&16)!==0,a=!1,c;l?[c,a]=zf(()=>t[e]):c=t[e];var v=Do in t||sd in t,m=l&&((Q=(j=qn(t,e))==null?void 0:j.set)!=null?Q:v&&e in t&&(Z=>t[e]=Z))||void 0,h=o,g=!0,$=!1,y=()=>($=!0,g&&(g=!1,d?h=_i(o):h=o),h);c===void 0&&o!==void 0&&(m&&r&&_v(e),c=y(),m&&m(c));var I;if(r)I=()=>{var Z=t[e];return Z===void 0?y():(g=!0,$=!1,Z)};else{var R=$g(()=>(n?w:ss)(()=>t[e]));R.f|=131072,I=()=>{var Z=s(R);return Z!==void 0&&(h=void 0),Z===void 0?h:Z}}if(!(i&4))return I;if(m){var H=t.$$legacy;return function(Z,ne){return arguments.length>0?((!r||!ne||H||a)&&m(ne?I():Z),Z):I()}}var B=!1,z=!1,T=ns(c),D=$g(()=>w(()=>{var Z=I(),ne=s(T);return B?(B=!1,z=!0,ne):(z=!1,T.v=Z)}));return n||(D.equals=Oa),function(Z,ne){if(dd!==null&&(B=z,I(),s(T)),arguments.length>0){let ue=ne?s(D):r&&l?ye(Z):Z;return D.equals(ue)||(B=!0,G(T,ue),$&&h!==void 0&&(h=ue),_i(()=>s(D))),Z}return s(D)}}var T$;typeof HTMLElement=="function"&&(T$=class extends HTMLElement{constructor(e,i,o){super();zn(this,"$$ctor");zn(this,"$$s");zn(this,"$$c");zn(this,"$$cn",!1);zn(this,"$$d",{});zn(this,"$$r",!1);zn(this,"$$p_d",{});zn(this,"$$l",{});zn(this,"$$l_u",new Map);zn(this,"$$me");this.$$ctor=e,this.$$s=i,o&&this.attachShadow({mode:"open"})}addEventListener(e,i,o){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(i),this.$$c){let n=this.$$c.$on(e,i);this.$$l_u.set(i,n)}super.addEventListener(e,i,o)}removeEventListener(e,i,o){if(super.removeEventListener(e,i,o),this.$$c){let n=this.$$l_u.get(i);n&&(n(),this.$$l_u.delete(i))}}connectedCallback(){return Tt(this,null,function*(){if(this.$$cn=!0,!this.$$c){let i=function(r){return l=>{let d=document.createElement("slot");r!=="default"&&(d.name=r),C(l,d)}};var e=i;if(yield Promise.resolve(),!this.$$cn||this.$$c)return;let o={},n=I$(this);for(let r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=i(r),o.default=!0):o[r]=i(r));for(let r of this.attributes){let l=this.$$g_p(r.name);l in this.$$d||(this.$$d[l]=qf(l,r.value,this.$$p_d,"toProp"))}for(let r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=k({component:this.$$ctor,target:this.shadowRoot||this,props:Ht(_({},this.$$d),{$$slots:o,$$host:this})}),this.$$me=uc(()=>{So(()=>{var r;this.$$r=!0;for(let l of ef(this.$$c)){if(!((r=this.$$p_d[l])!=null&&r.reflect))continue;this.$$d[l]=this.$$c[l];let d=qf(l,this.$$d[l],this.$$p_d,"toAttribute");d==null?this.removeAttribute(this.$$p_d[l].attribute||l):this.setAttribute(this.$$p_d[l].attribute||l,d)}this.$$r=!1})});for(let r in this.$$l)for(let l of this.$$l[r]){let d=this.$$c.$on(r,l);this.$$l_u.set(l,d)}this.$$l={}}})}attributeChangedCallback(e,i,o){var n;this.$$r||(e=this.$$g_p(e),this.$$d[e]=qf(e,o,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$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 ef(this.$$p_d).find(i=>this.$$p_d[i].attribute===e||!this.$$p_d[i].attribute&&i.toLowerCase()===e)||e}});function qf(t,e,i,o){var r;let n=(r=i[t])==null?void 0:r.type;if(e=n==="Boolean"&&typeof e!="boolean"?e!=null:e,!o||!i[t])return e;if(o==="toAttribute")switch(n){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e==null?null:e;default:return e}else switch(n){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function I$(t){let e={};return t.childNodes.forEach(i=>{e[i.slot||"default"]=!0}),e}var Er=require("@vkontakte/videoplayer-shared/es2015"),r_=require("@vkontakte/videoplayer-statistics/es2015");var ca=require("@vkontakte/videoplayer-shared/es2015");var k$={isMobile:void 0,defaultLanguage:ca.InterfaceLanguage.RU,downloadVKLanguages:!0,updateBuiltinLanguages:!0,isSmoothVideoRotate:!0,showSupport:!0,supportLink:"https://vk.com/support?act=new&from=v",showLogo:void 0,logoLink:"https://vk.com/video",logoType:"vk_video",volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:ca.VideoQuality.Q_480P,highQualityLimit:ca.VideoQuality.Q_720P,episodeMinWidthPc:8,hideThumbTimerAfterTouch:!0,sentry:{dsn:"https://e349fd23c68f405388980d0868d0ff27@sentry.mvk.com/126",sampleRate:.01,whiteErrorCategoryList:[],blackErrorCategoryList:[],whiteErrorIdList:[],blackErrorIdList:[]},features:{autoplay:!0,statistics:!0,sentry:!0,preload:!0,subtitles:!0,episodes:!0,fullscreen:!0,timelinePreview:!0,mediaSession:!0,annotations:!0,annotationsInside:!1,pip:!0,dpip:!0,download:!0,liveRewind:!0,playbackRate:!0,trafficSaving:!0,episodesClustering:!0,copyVideoLink:!0,videoRotate:!0,interactiveGraph:!1,interactiveResponsiveUi:!1,seekToInteractive:!0,interactiveLastFrame:!1,interactiveTextPermanent:!0,interactiveHideTime:!0,interactivePlayPrevChapter:!0,interactiveTimeIndicator:!0,interactiveTimeOpenUri:!1,thumbTimer:!0,hotKeyMapModal:!0,hotKeyHelpers:!0,saveDebugInfoToFile:!1,saveTraceInfoToFile:!1,additionalButtons:!0,additionalButtonsDesktopControlPanelRight:!0,additionalSettingsMenuItems:!0,additionalContextMenuItems:!0,contextMenuButton:!0,audioLanguages:!1,saveRate:!1,fullscreenInternalTargetPlayerContainer:!1,endScreen:!0,autoplayNext:!0,nextPrevButtons:!0,previewNoEmptySpace:!1,exposeInternalsToGlobal:!1,skipInitialPlaybackStateValue:!1,skipInitialPlaybackRateValue:!1,qualityDetailsSubMenuEnabled:!1},controls:{showOnStartupAtAutoplay:!0,hideTimeout:500,hideTimeoutMobile:3e3,hideTimeoutInitial:200,hideTimeoutFullscreen:3e3,hideTimeoutCursor:3e3,hideTimeoutTooltips:1e3,collapseMobileUnmute:6e3,hide360IconTimeout:3e3,hideHotKeyHelpers:2e3,playbackRateMin:.25,playbackRateMax:2,playbackRateStep:.25,volumeStepKeyboard:.05,volumeStepWheel:.05,volumeBarTimeout:300,seekStepKeyboard:1e4,seekStepMobile:15e3,seekStepFrame:400},ads:{enable:void 0,initTimeout:2e3,loadTimeout:2e3,runtimeTimeout:5e3,slot:void 0,preview:void 0,isMobileGoToSiteButton:!0,useAdmanFromNPM:!1},interactive:{historyMaxLength:100,noInteractionEventTimeout:3e4}},yg=t=>(0,ca.fillWithDefault)(t,k$),xg=t=>ra("ui-config",t),ii=()=>na("ui-config");var yd="vk_player_debug_panel_opened";var wg="videoplayer",Cg="videoplayer";var Ur={KeyF:"f",KeyK:"k",KeyC:"c",KeyM:"m"},Sg=new Set(["ArrowLeft","ArrowRight","KeyL","KeyJ"]),Tg=new Set(["Tab","Space","ArrowLeft","ArrowRight","ArrowUp","ArrowDown"]),Ig=new Set(["ShiftRight","ShiftLeft"]);var Eg=["TIMELINE"],xd=[...Eg,"GRAPH_BUTTON"],Wf=[...Eg,"PLAY_BUTTON"],wd=[...xd,"PLAY_BUTTON"];var Sr=(r=>(r.XS="xs",r.S="s",r.M="m",r.L="l",r.XL="xl",r))(Sr||{}),pa={xs:0,s:1,m:2,l:3,xl:4};var Cd=require("@vkontakte/videoplayer-shared/es2015"),kg=require("@vkontakte/videoplayer-core/es2015"),Pg=require("@vkontakte/videoplayer-statistics/es2015");var $c="prod",fa="1.1.55-dev.74e495c6.0";var ma=(t,e,i)=>{let o=document.createElement("a");o.href=t,o.download=`${e}.${i}`,o.style.display="none",o.click()};var Ag=Symbol("storeContext"),Mg=Symbol("microStoresContext"),Lg=(t,e)=>{ra(Ag,t),ra(Mg,e),$c==="dev"&&(window.app={store:t,microStores:e})},Oe=()=>{let t=na(Ag);return(0,Cd.assertNonNullable)(t,"Store context is empty!"),t},on=()=>{let t=na(Mg);return(0,Cd.assertNonNullable)(t,"MicroStores context is empty!"),t},Xt=(t,e)=>yc(t,t.getValue(),e),yc=(t,e,i)=>cr(e,o=>{let n=t.subscribe(r=>{o(r),i==null||i(r)});return()=>n.unsubscribe()}),Rg=(t,e,i)=>{var R,H,B,z,T,D;let o=t.info,{width:n,height:r}=Re(i.ui.playerSize),l=(H=(R=o.throughputEstimation$.getValue())==null?void 0:R.toFixed(0))!=null?H:0,d=(z=(B=o.rttEstimation$.getValue())==null?void 0:B.toFixed(0))!=null?z:0,a=o.isAutoQualityEnabled$.getValue()?"auto":"manual",c=`${fa} (core: ${kg.VERSION}, stat: ${Pg.VERSION}, shared: ${Cd.VERSION})`,v=Re(i.state.errorLog$),m=v.length?`
|
|
46
46
|
`+v.map((j,Q)=>{var J;let Z=`${Q}) Type: ${j.id}
|
|
47
47
|
`,ne=`Message: ${j.message} (${j.thrown})
|
|
48
48
|
`,ue=`Trace: ${(J=j.thrown)==null?void 0:J.stack}
|
package/es2015.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vkontakte/videoplayer v1.1.55-dev.
|
|
3
|
-
*
|
|
2
|
+
* @vkontakte/videoplayer v1.1.55-dev.74e495c6.0
|
|
3
|
+
* Wed, 05 Feb 2025 12:51:40 GMT
|
|
4
4
|
* https://st.mycdn.me/static/vkontakte-videoplayer/1-1-55/doc/
|
|
5
5
|
*/
|
|
6
6
|
var Jh=Object.defineProperty,e_=Object.defineProperties;var t_=Object.getOwnPropertyDescriptors;var fm=Object.getOwnPropertySymbols;var i_=Object.prototype.hasOwnProperty,o_=Object.prototype.propertyIsEnumerable;var mm=t=>{throw TypeError(t)};var Vp=(t,e,i)=>e in t?Jh(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,_=(t,e)=>{for(var i in e||(e={}))i_.call(e,i)&&Vp(t,i,e[i]);if(fm)for(var i of fm(e))o_.call(e,i)&&Vp(t,i,e[i]);return t},Ot=(t,e)=>e_(t,t_(e));var Hn=(t,e,i)=>Vp(t,typeof e!="symbol"?e+"":e,i),Bp=(t,e,i)=>e.has(t)||mm("Cannot "+i);var Ei=(t,e,i)=>(Bp(t,e,"read from private field"),i?i.call(t):e.get(t)),vs=(t,e,i)=>e.has(t)?mm("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,i),Sa=(t,e,i,o)=>(Bp(t,e,"write to private field"),o?o.call(t,i):e.set(t,i),i),vm=(t,e,i)=>(Bp(t,e,"access private method"),i);var Tt=(t,e,i)=>new Promise((o,n)=>{var r=a=>{try{d(i.next(a))}catch(c){n(c)}},l=a=>{try{d(i.throw(a))}catch(c){n(c)}},d=a=>a.done?o(a.value):Promise.resolve(a.value).then(r,l);d((i=i.apply(t,e)).next())});var Ro=Symbol("$state"),Yr=Symbol("$state metadata"),Ul=Symbol("legacy props"),gm=Symbol("");var hm,_m,Np=(_m=(hm=globalThis.process)==null?void 0:hm.env)==null?void 0:_m.NODE_ENV;Np||console.warn("If bundling, conditions should include development or production. If not bundling, conditions or NODE_ENV should include development or production. See https://www.npmjs.com/package/esm-env for tips on setting conditions in popular bundlers and runtimes.");var Ue=Np&&!Np.toLowerCase().includes("prod");var br=Array.isArray,$m=Array.prototype.indexOf,zl=Array.from,Dp=Object.keys,Zi=Object.defineProperty,Fn=Object.getOwnPropertyDescriptor,Ed=Object.getOwnPropertyDescriptors,Op=Object.prototype,bm=Array.prototype,jr=Object.getPrototypeOf;function zs(t){return typeof t=="function"}var jt=()=>{};function ym(t){return t()}function gs(t){for(var e=0;e<t.length;e++)t[e]()}var kd=!1,wm=!1,Hp=[],xm=[];function Cm(){kd=!1;let t=Hp.slice();Hp=[],gs(t)}function r_(){wm=!1;let t=xm.slice();xm=[],gs(t)}function _n(t){kd||(kd=!0,queueMicrotask(Cm)),Hp.push(t)}function Sm(){kd&&Cm(),wm&&r_()}var qs="font-weight: bold",Ws="font-weight: normal";function Tm(t,e,i){Ue?console.warn(`%c[svelte] hydration_attribute_changed
|
|
@@ -42,7 +42,7 @@ ${n.map(h=>`
|
|
|
42
42
|
${a}in ${h}`).join("")}
|
|
43
43
|
`}),Zi(t,"component_stack",{value:n});let c=t.stack;if(c){let h=c.split(`
|
|
44
44
|
`),g=[];for(let $=0;$<h.length;$++){let y=h[$];y.includes("svelte/src/internal")||g.push(y)}Zi(t,"stack",{value:g.join(`
|
|
45
|
-
`)})}if(Jm(t,e),ev(e))throw t}function Rd(t){var h,g;var e=xo,i=zn,o=Jr,n=Ft,r=os,l=yr,d=At,a=t.f;xo=null,zn=0,Jr=null,Ft=a&96?null:t,os=!ts&&(a&256)!==0,yr=null,At=t.ctx,Dd++;try{var c=(0,t.fn)(),v=t.deps;if(xo!==null){var m;if(Zs(t,zn),v!==null&&zn>0)for(v.length=zn+xo.length,m=0;m<xo.length;m++)v[zn+m]=xo[m];else t.deps=v=xo;if(!os)for(m=zn;m<v.length;m++)((g=(h=v[m]).reactions)!=null?g:h.reactions=[]).push(t)}else v!==null&&zn<v.length&&(Zs(t,zn),v.length=zn);return n!==null&&Dd++,c}finally{xo=e,zn=i,Jr=o,Ft=n,os=r,yr=l,At=d}}function v_(t,e){let i=e.reactions;if(i!==null){var o=$m.call(i,t);if(o!==-1){var n=i.length-1;n===0?i=e.reactions=null:(i[o]=i[n],i.pop())}}i===null&&e.f&2&&(xo===null||!xo.includes(e))&&(jo(e,4096),e.f&768||(e.f^=512),Zs(e,0))}function Zs(t,e){var i=t.deps;if(i!==null)for(var o=e;o<i.length;o++)v_(t,i[o])}function js(t){var e=t.f;if(!(e&16384)){jo(t,1024);var i=It,o=At;if(It=t,Ue){var n=Go;Go=t.component_function}try{e&16?lv(t):af(t),sf(t),rf(t);var r=Rd(t);t.teardown=typeof r=="function"?r:null,t.wv=nv;var l=t.deps;if(Ue&&Vr&&t.f&2048&&l!==null)for(let a=0;a<l.length;a++){var d=l[a];d.trace_need_increase&&(d.wv=Kl(),d.trace_need_increase=void 0,d.trace_v=void 0)}Ue&&Yl.push(t)}catch(a){Da(a,t,i,o||t.ctx)}finally{It=i,Ue&&(Go=n)}}}function tv(){console.error("Last ten effects were: ",Yl.slice(-10).map(t=>t.fn)),Yl=[]}function rv(){if(Ba>1e3){Ba=0;try{Dm()}catch(t){if(Ue&&Zi(t,"stack",{value:""}),Va!==null)if(Ue)try{Da(t,Va,null,null)}catch(e){throw tv(),e}else Da(t,Va,null,null);else throw Ue&&tv(),t}}Ba++}function sv(t){var e=t.length;if(e!==0){rv();var i=ts;ts=!0;try{for(var o=0;o<e;o++){var n=t[o];n.f&1024||(n.f^=1024);var r=[];av(n,r),g_(r)}}finally{ts=i}}}function g_(t){var e=t.length;if(e!==0)for(var i=0;i<e;i++){var o=t[i];if(!(o.f&24576))try{_s(o)&&(js(o),o.deps===null&&o.first===null&&o.nodes_start===null&&(o.teardown===null?lf(o):o.fn=null))}catch(n){Da(n,o,null,o.ctx)}}}function h_(){if(Gl=!1,Ba>1001)return;let t=Xs;Xs=[],sv(t),Gl||(Ba=0,Va=null,Ue&&(Yl=[]))}function La(t){Bd===ov&&(Gl||(Gl=!0,queueMicrotask(h_))),Va=t;for(var e=t;e.parent!==null;){e=e.parent;var i=e.f;if(i&96){if(!(i&1024))return;e.f^=1024}}Xs.push(e)}function av(t,e){var i=t.first,o=[];e:for(;i!==null;){var n=i.f,r=(n&32)!==0,l=r&&(n&1024)!==0,d=i.next;if(!l&&!(n&8192))if(n&8){if(r)i.f^=1024;else try{_s(i)&&js(i)}catch(m){Da(m,i,null,i.ctx)}var a=i.first;if(a!==null){i=a;continue}}else n&4&&o.push(i);if(d===null){let m=i.parent;for(;m!==null;){if(t===m)break e;var c=m.next;if(c!==null){i=c;continue e}m=m.parent}}i=d}for(var v=0;v<o.length;v++)a=o[v],e.push(a),av(a,e)}function u(t){var e=Bd,i=Xs;try{rv();let n=[];Bd=m_,Xs=n,Gl=!1,sv(i);var o=t==null?void 0:t();return Sm(),(Xs.length>0||n.length>0)&&u(),Ba=0,Va=null,Ue&&(Yl=[]),o}finally{Bd=e,Xs=i}}function ao(){return Tt(this,null,function*(){yield Promise.resolve(),u()})}function s(t){var m,h;var e=t.f,i=(e&2)!==0;if(i&&e&16384){var o=Jp(t);return Ql(t),o}if(Wl!==null&&Wl.add(t),Ft!==null){yr!==null&&yr.includes(t)&&Wm();var n=Ft.deps;t.rv<Dd&&(t.rv=Dd,xo===null&&n!==null&&n[zn]===t?zn++:xo===null?xo=[t]:xo.push(t),Jr!==null&&It!==null&&It.f&1024&&!(It.f&32)&&Jr.includes(t)&&(jo(It,2048),La(It)))}else if(i&&t.deps===null)for(var r=t,l=r.parent,d=r;l!==null;)if(l.f&2){var a=l;d=a,l=a.parent}else{var c=l;(m=c.deriveds)!=null&&m.includes(d)||((h=c.deriveds)!=null?h:c.deriveds=[]).push(d);break}if(i&&(r=t,_s(r)&&ef(r)),Ue&&Vr&&ql!==null&&Ft!==null&&ql.reaction===Ft){if(t.debug)t.debug();else if(t.created){var v=ql.entries.get(t);v===void 0&&(v={read:[]},ql.entries.set(t,v)),v.read.push(Xr("TracedAt"))}}return t.v}function vi(t){let e=Ft;try{return Ft=null,t()}finally{Ft=e}}var __=-7169;function jo(t,e){t.f=t.f&__|e}function Js(t){let i=nf("getContext").get(t);if(Ue){let o=At.function;o&&Md(i,o,!0)}return i}function ea(t,e){return nf("setContext").set(t,e),e}function Ha(){let t=nf("getAllContexts");if(Ue){let e=At==null?void 0:At.function;if(e)for(let i of t.values())Md(i,e,!0)}return t}function nf(t){var e;return At===null&&Ra(t),(e=At.c)!=null?e:At.c=new Map($_(At)||void 0)}function $_(t){let e=t.p;for(;e!==null;){let i=e.c;if(i!==null)return i;e=e.p}return null}function Fd(t,e=1){var i=s(t),o=e===1?i++:i--;return G(t,i),o}function P(t,e=!1,i){At={p:At,c:null,e:null,m:!1,s:t,x:null,l:null},Rr&&!e&&(At.l={s:null,u:null,r1:[],r2:Ri(!1)}),Ue&&(At.function=i,Go=i)}function A(t){var l,d;let e=At;if(e!==null){t!==void 0&&(e.x=t);let a=e.e;if(a!==null){var i=It,o=Ft;e.e=null;try{for(var n=0;n<a.length;n++){var r=a[n];Xi(r.effect),Zo(r.reaction),qn(r.fn)}}finally{Xi(i),Zo(o)}}At=e.p,Ue&&(Go=(d=(l=e.p)==null?void 0:l.function)!=null?d:null),e.m=!0}return t||{}}function Ud(t){if(!(typeof t!="object"||!t||t instanceof EventTarget)){if(Ro in t)Od(t);else if(!Array.isArray(t))for(let e in t){let i=t[e];typeof i=="object"&&i&&Ro in i&&Od(i)}}}function Od(t,e=new Set){if(typeof t=="object"&&t!==null&&!(t instanceof EventTarget)&&!e.has(t)){e.add(t),t instanceof Date&&t.getTime();for(let o in t)try{Od(t[o],e)}catch(n){}let i=jr(t);if(i!==Object.prototype&&i!==Array.prototype&&i!==Map.prototype&&i!==Set.prototype&&i!==Date.prototype){let o=Ed(i);for(let n in o){let r=o[n].get;if(r)try{r.call(t)}catch(l){}}}}}if(Ue){let t=function(e){if(!(e in globalThis)){let i;Object.defineProperty(globalThis,e,{configurable:!0,get:()=>{if(i!==void 0)return i;Um(e)},set:o=>{i=o}})}};b_=t,t("$state"),t("$effect"),t("$derived"),t("$inspect"),t("$props"),t("$bindable")}var b_;var ht=!1;function bn(t){ht=t}var kt;function yi(t){if(t===null)throw Ks(),Zr;return kt=t}function Fi(){return yi(wo(kt))}function b(t){if(ht){if(wo(kt)!==null)throw Ks(),Zr;kt=t}}function Ae(t=1){if(ht){for(var e=t,i=kt;e--;)i=wo(i);kt=i}}function Fa(){for(var t=0,e=kt;;){if(e.nodeType===8){var i=e.data;if(i===Gs){if(t===0)return e;t-=1}else(i===Ta||i===Qs)&&(t+=1)}var o=wo(e);e.remove(),e=o}}function ye(t,e=null,i){var c,v;var o=null;if(Ue&&Vr&&(o=Xr("CreatedAt")),typeof t!="object"||t===null||Ro in t)return t;let n=jr(t);if(n!==Op&&n!==bm)return t;var r=new Map,l=br(t),d=Ri(0);l&&r.set("length",Ri(t.length,o));var a;if(Ue)if(a={parent:e,owners:null},i){let m=(v=(c=i.v)==null?void 0:c[Yr])==null?void 0:v.owners;a.owners=m?new Set(m):null}else a.owners=e===null?At!==null?new Set([At.function]):null:new Set;return new Proxy(t,{defineProperty(m,h,g){(!("value"in g)||g.configurable===!1||g.enumerable===!1||g.writable===!1)&&zm();var $=r.get(h);return $===void 0?($=Ri(g.value,o),r.set(h,$)):G($,ye(g.value,a)),!0},deleteProperty(m,h){var g=r.get(h);if(g===void 0)h in m&&r.set(h,Ri(Hi,o));else{if(l&&typeof h=="string"){var $=r.get("length"),y=Number(h);Number.isInteger(y)&&y<$.v&&G($,y)}G(g,Hi),dv(d)}return!0},get(m,h,g){var H;if(Ue&&h===Yr)return a;if(h===Ro)return t;var $=r.get(h),y=h in m;if($===void 0&&(!y||(H=Fn(m,h))!=null&&H.writable)&&($=Ri(ye(y?m[h]:Hi,a),o),r.set(h,$)),$!==void 0){var I=s($);if(Ue){var R=I==null?void 0:I[Yr];R&&(R==null?void 0:R.parent)!==a&&zp(a,R)}return I===Hi?void 0:I}return Reflect.get(m,h,g)},getOwnPropertyDescriptor(m,h){var g=Reflect.getOwnPropertyDescriptor(m,h);if(g&&"value"in g){var $=r.get(h);$&&(g.value=s($))}else if(g===void 0){var y=r.get(h),I=y==null?void 0:y.v;if(y!==void 0&&I!==Hi)return{enumerable:!0,configurable:!0,value:I,writable:!0}}return g},has(m,h){var I;if(Ue&&h===Yr||h===Ro)return!0;var g=r.get(h),$=g!==void 0&&g.v!==Hi||Reflect.has(m,h);if(g!==void 0||It!==null&&(!$||(I=Fn(m,h))!=null&&I.writable)){g===void 0&&(g=Ri($?ye(m[h],a):Hi,o),r.set(h,g));var y=s(g);if(y===Hi)return!1}return $},set(m,h,g,$){var j;var y=r.get(h),I=h in m;if(l&&h==="length")for(var R=g;R<y.v;R+=1){var H=r.get(R+"");H!==void 0?G(H,Hi):R in m&&(H=Ri(Hi,o),r.set(R+"",H))}if(y===void 0?(!I||(j=Fn(m,h))!=null&&j.writable)&&(y=Ri(void 0,o),G(y,ye(g,a)),r.set(h,y)):(I=y.v!==Hi,G(y,ye(g,a))),Ue){var B=g==null?void 0:g[Yr];B&&(B==null?void 0:B.parent)!==a&&zp(a,B),Mm(a)}var z=Reflect.getOwnPropertyDescriptor(m,h);if(z!=null&&z.set&&z.set.call($,g),!I){if(l&&typeof h=="string"){var T=r.get("length"),D=Number(h);Number.isInteger(D)&&D>=T.v&&G(T,D+1)}dv(d)}return!0},ownKeys(m){s(d);var h=Reflect.ownKeys(m).filter(y=>{var I=r.get(y);return I===void 0||I.v!==Hi});for(var[g,$]of r)$.v!==Hi&&!(g in m)&&h.push(g);return h},setPrototypeOf(){qm()}})}function dv(t,e=1){G(t,t.v+e)}function zd(t){return t!==null&&typeof t=="object"&&Ro in t?t[Ro]:t}function cv(){let t=Array.prototype,e=Array.__svelte_cleanup;e&&e();let{indexOf:i,lastIndexOf:o,includes:n}=t;t.indexOf=function(r,l){let d=i.call(this,r,l);if(d===-1){for(let a=l!=null?l:0;a<this.length;a+=1)if(zd(this[a])===r){Pd("array.indexOf(...)");break}}return d},t.lastIndexOf=function(r,l){let d=o.call(this,r,l!=null?l:this.length-1);if(d===-1){for(let a=0;a<=(l!=null?l:this.length-1);a+=1)if(zd(this[a])===r){Pd("array.lastIndexOf(...)");break}}return d},t.includes=function(r,l){let d=n.call(this,r,l);if(!d){for(let a=0;a<this.length;a+=1)if(zd(this[a])===r){Pd("array.includes(...)");break}}return d},Array.__svelte_cleanup=()=>{t.indexOf=i,t.lastIndexOf=o,t.includes=n}}var ta,uv,pv,fv;function qd(){if(ta===void 0){ta=window,uv=document;var t=Element.prototype,e=Node.prototype;pv=Fn(e,"firstChild").get,fv=Fn(e,"nextSibling").get,t.__click=void 0,t.__className="",t.__attributes=null,t.__styles=null,t.__e=void 0,Text.prototype.__t=void 0,Ue&&(t.__svelte_meta=null,cv())}}function yn(t=""){return document.createTextNode(t)}function $i(t){return pv.call(t)}function wo(t){return fv.call(t)}function x(t,e){if(!ht)return $i(t);var i=$i(kt);if(i===null)i=kt.appendChild(yn());else if(e&&i.nodeType!==3){var o=yn();return i==null||i.before(o),yi(o),o}return yi(i),i}function Ce(t,e){var n,r;if(!ht){var i=$i(t);return i.nodeType===8&&i.data===""?wo(i):i}if(e&&((n=kt)==null?void 0:n.nodeType)!==3){var o=yn();return(r=kt)==null||r.before(o),yi(o),o}return kt}function O(t,e=1,i=!1){let o=ht?kt:t;for(var n;e--;)n=o,o=wo(o);if(!ht)return o;var r=o==null?void 0:o.nodeType;if(i&&r!==3){var l=yn();return o===null?n==null||n.after(l):o.before(l),yi(l),l}return yi(o),o}function jl(t){t.textContent=""}function df(t){It===null&&Ft===null&&Nm(t),Ft!==null&&Ft.f&256&&Bm(),Hd&&Vm(t)}function y_(t,e){var i=e.last;i===null?e.last=e.first=t:(i.next=t,t.prev=i,e.last=t)}function ia(t,e,i,o=!0){var v;var n=(t&64)!==0,r=It;if(Ue)for(;r!==null&&r.f&262144;)r=r.parent;var l={ctx:At,deps:null,deriveds:null,nodes_start:null,nodes_end:null,f:t|2048,first:null,fn:e,last:null,next:null,parent:n?null:r,prev:null,teardown:null,transitions:null,wv:0};if(Ue&&(l.component_function=Go),i){var d=ts;try{Pa(!0),js(l),l.f|=32768}catch(m){throw so(l),m}finally{Pa(d)}}else e!==null&&La(l);var a=i&&l.deps===null&&l.first===null&&l.nodes_start===null&&l.teardown===null&&(l.f&1048704)===0;if(!a&&!n&&o&&(r!==null&&y_(l,r),Ft!==null&&Ft.f&2)){var c=Ft;((v=c.children)!=null?v:c.children=[]).push(l)}return l}function Wn(t){let e=ia(8,null,!1);return jo(e,1024),e.teardown=t,e}function Ke(t){var n;df("$effect");var e=It!==null&&(It.f&32)!==0&&At!==null&&!At.m;if(Ue&&Zi(t,"name",{value:"$effect"}),e){var i=At;((n=i.e)!=null?n:i.e=[]).push({fn:t,effect:It,reaction:Ft})}else{var o=qn(t);return o}}function Ia(t){return df("$effect.pre"),Ue&&Zi(t,"name",{value:"$effect.pre"}),yo(t)}function Wd(t){let e=ia(64,t,!0);return()=>{so(e)}}function gv(t){let e=ia(64,t,!0);return(i={})=>new Promise(o=>{i.outro?Kn(e,()=>{so(e),o(void 0)}):(so(e),o(void 0))})}function qn(t){return ia(4,t,!1)}function yo(t){return ia(8,t,!0)}function V(t){return Ue&&Zi(t,"name",{value:"{expression}"}),lo(t)}function lo(t,e=0){return ia(24|e,t,!0)}function Qi(t,e=!0){return ia(40,t,!0,e)}function rf(t){var e=t.teardown;if(e!==null){let i=Hd,o=Ft;of(!0),Zo(null);try{e.call(null)}finally{of(i),Zo(o)}}}function sf(t){var e=t.deriveds;if(e!==null){t.deriveds=null;for(var i=0;i<e.length;i+=1)Ql(e[i])}}function af(t,e=!1){var i=t.first;for(t.first=t.last=null;i!==null;){var o=i.next;so(i,e),i=o}}function lv(t){for(var e=t.first;e!==null;){var i=e.next;e.f&32||so(e),e=i}}function so(t,e=!0){var i=!1;if((e||t.f&524288)&&t.nodes_start!==null){for(var o=t.nodes_start,n=t.nodes_end;o!==null;){var r=o===n?null:wo(o);o.remove(),o=r}i=!0}af(t,e&&!i),sf(t),Zs(t,0),jo(t,16384);var l=t.transitions;if(l!==null)for(let a of l)a.stop();rf(t);var d=t.parent;d!==null&&d.first!==null&&lf(t),Ue&&(t.component_function=null),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=null}function lf(t){var e=t.parent,i=t.prev,o=t.next;i!==null&&(i.next=o),o!==null&&(o.prev=i),e!==null&&(e.first===t&&(e.first=o),e.last===t&&(e.last=i))}function Kn(t,e){var i=[];Kd(t,i,!0),cf(i,()=>{so(t),e&&e()})}function cf(t,e){var i=t.length;if(i>0){var o=()=>--i||e();for(var n of t)n.out(o)}else e()}function Kd(t,e,i){if(!(t.f&8192)){if(t.f^=8192,t.transitions!==null)for(let l of t.transitions)(l.is_global||i)&&e.push(l);for(var o=t.first;o!==null;){var n=o.next,r=(o.f&65536)!==0||(o.f&32)!==0;Kd(o,e,r?i:!1),o=n}}}function ys(t){hv(t,!0)}function hv(t,e){if(t.f&8192){_s(t)&&js(t),t.f^=8192;for(var i=t.first;i!==null;){var o=i.next,n=(i.f&65536)!==0||(i.f&32)!==0;hv(i,n?e:!1),i=o}if(t.transitions!==null)for(let r of t.transitions)(r.is_global||e)&&r.in()}}function uf(t,e){if(e){let i=document.body;t.autofocus=!0,_n(()=>{document.activeElement===i&&t.focus()})}}function pf(t){var e=Ft,i=It;Zo(null),Xi(null);try{return t()}finally{Zo(e),Xi(i)}}var ff=new Set,Qd=new Set;function oa(t){if(!ht)return;t.onload&&t.removeAttribute("onload"),t.onerror&&t.removeAttribute("onerror");let e=t.__e;e!==void 0&&(t.__e=void 0,queueMicrotask(()=>{t.isConnected&&t.dispatchEvent(e)}))}function mf(t,e,i,o){function n(r){if(o.capture||Ua.call(e,r),!r.cancelBubble)return pf(()=>i.call(this,r))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?_n(()=>{e.addEventListener(t,n,o)}):e.addEventListener(t,n,o),n}function Ht(t,e,i,o,n){var r={capture:o,passive:n},l=mf(t,e,i,r);(e===document.body||e===window||e===document)&&Wn(()=>{e.removeEventListener(t,l,r)})}function Ct(t){for(var e=0;e<t.length;e++)ff.add(t[e]);for(var i of Qd)i(t)}function Ua(t){var H;var e=this,i=e.ownerDocument,o=t.type,n=((H=t.composedPath)==null?void 0:H.call(t))||[],r=n[0]||t.target,l=0,d=t.__root;if(d){var a=n.indexOf(d);if(a!==-1&&(e===document||e===window)){t.__root=e;return}var c=n.indexOf(e);if(c===-1)return;a<=c&&(l=a)}if(r=n[l]||t.target,r!==e){Zi(t,"currentTarget",{configurable:!0,get(){return r||i}});var v=Ft,m=It;Zo(null),Xi(null);try{for(var h,g=[];r!==null;){var $=r.assignedSlot||r.parentNode||r.host||null;try{var y=r["__"+o];if(y!==void 0&&!r.disabled)if(br(y)){var[I,...R]=y;I.apply(r,[t,...R])}else y.call(r,t)}catch(B){h?g.push(B):h=B}if(t.cancelBubble||$===e||$===null)break;r=$}if(h){for(let B of g)queueMicrotask(()=>{throw B});throw h}}finally{t.__root=e,delete t.currentTarget,Zo(v),Xi(m)}}}var w_;function _v(){w_=void 0}function za(t){var e=document.createElement("template");return e.innerHTML=t,e.content}function Co(t,e){var i=It;i.nodes_start===null&&(i.nodes_start=t,i.nodes_end=e)}function U(t,e){var i=(e&1)!==0,o=(e&2)!==0,n,r=!t.startsWith("<!>");return()=>{if(ht)return Co(kt,null),kt;n===void 0&&(n=za(r?t:"<!>"+t),i||(n=$i(n)));var l=o?document.importNode(n,!0):n.cloneNode(!0);if(i){var d=$i(l),a=l.lastChild;Co(d,a)}else Co(l,l);return l}}function Me(t,e,i="svg"){var o=!t.startsWith("<!>"),n=(e&1)!==0,r=`<${i}>${o?t:"<!>"+t}</${i}>`,l;return()=>{if(ht)return Co(kt,null),kt;if(!l){var d=za(r),a=$i(d);if(n)for(l=document.createDocumentFragment();$i(a);)l.appendChild($i(a));else l=$i(a)}var c=l.cloneNode(!0);if(n){var v=$i(c),m=c.lastChild;Co(v,m)}else Co(c,c);return c}}function rr(t=""){if(!ht){var e=yn(t+"");return Co(e,e),e}var i=kt;return i.nodeType!==3&&(i.before(i=yn()),yi(i)),Co(i,i),i}function Ye(){if(ht)return Co(kt,null),kt;var t=document.createDocumentFragment(),e=document.createComment(""),i=yn();return t.append(e,i),Co(e,i),t}function C(t,e){if(ht){It.nodes_end=kt,Fi();return}t!==null&&t.before(e)}var S_=/\r/g;function bv(t){t=t.replace(S_,"");let e=5381,i=t.length;for(;i--;)e=(e<<5)-e^t.charCodeAt(i);return(e>>>0).toString(36)}function yv(t){return t.endsWith("capture")&&t!=="gotpointercapture"&&t!=="lostpointercapture"}var T_=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function xv(t){return T_.includes(t)}var I_=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected","webkitdirectory"];var E_={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject"};function wv(t){var e;return t=t.toLowerCase(),(e=E_[t])!=null?e:t}var f7=[...I_,"formNoValidate","isMap","noModule","playsInline","readOnly","value","volume","defaultValue","defaultChecked","srcObject"];var k_=["touchstart","touchmove"];function Cv(t){return k_.includes(t)}function vf(t){return t==null?void 0:t.replace(/\//g,"/\u200B")}var gf=!0;function Ee(t,e){var o;var i=e==null?"":typeof e=="object"?e+"":e;i!==((o=t.__t)!=null?o:t.__t=t.nodeValue)&&(t.__t=i,t.nodeValue=i==null?"":i+"")}function Gd(t,e){return Sv(t,e)}function _f(t,e){var l;qd(),e.intro=(l=e.intro)!=null?l:!1;let i=e.target,o=ht,n=kt;try{for(var r=$i(i);r&&(r.nodeType!==8||r.data!==Ta);)r=wo(r);if(!r)throw Zr;bn(!0),yi(r),Fi();let d=Sv(t,Ot(_({},e),{anchor:r}));if(kt===null||kt.nodeType!==8||kt.data!==Gs)throw Ks(),Zr;return bn(!1),d}catch(d){if(d===Zr)return e.recover===!1&&Om(),qd(),jl(i),bn(!1),Gd(t,e);throw d}finally{bn(o),yi(n),_v()}}var qa=new Map;function Sv(t,{target:e,anchor:i,props:o={},events:n,context:r,intro:l=!0}){qd();var d=new Set,a=m=>{for(var h=0;h<m.length;h++){var g=m[h];if(!d.has(g)){d.add(g);var $=Cv(g);e.addEventListener(g,Ua,{passive:$});var y=qa.get(g);y===void 0?(document.addEventListener(g,Ua,{passive:$}),qa.set(g,1)):qa.set(g,y+1)}}};a(zl(ff)),Qd.add(a);var c=void 0,v=gv(()=>{var m=i!=null?i:e.appendChild(yn());return Qi(()=>{if(r){P({});var h=At;h.c=r}n&&(o.$$events=n),ht&&Co(m,null),gf=l,c=t(m,o)||{},gf=!0,ht&&(It.nodes_end=kt),r&&A()}),()=>{var $;for(var h of d){e.removeEventListener(h,Ua);var g=qa.get(h);--g===0?(document.removeEventListener(h,Ua),qa.delete(h)):qa.set(h,g)}Qd.delete(a),m!==i&&(($=m.parentNode)==null||$.removeChild(m))}});return hf.set(c,v),c}var hf=new WeakMap;function $f(t,e){let i=hf.get(t);return i?(hf.delete(t),i(e)):(Ue&&Em(),Promise.resolve())}var yf;function k(t){return yf=t.target,new bf(t)}var ns,sr,bf=class{constructor(e){vs(this,ns);vs(this,sr);var r,l;var i=new Map,o=(d,a)=>{var c=es(a);return i.set(d,c),c};let n=new Proxy(Ot(_({},e.props||{}),{$$events:{}}),{get(d,a){var c;return s((c=i.get(a))!=null?c:o(a,Reflect.get(d,a)))},has(d,a){var c;return a===Ul?!0:(s((c=i.get(a))!=null?c:o(a,Reflect.get(d,a))),Reflect.has(d,a))},set(d,a,c){var v;return G((v=i.get(a))!=null?v:o(a,c),c),Reflect.set(d,a,c)}});Sa(this,sr,(e.hydrate?_f:Gd)(e.component,{target:e.target,anchor:e.anchor,props:n,context:e.context,intro:(r=e.intro)!=null?r:!1,recover:e.recover})),(!((l=e==null?void 0:e.props)!=null&&l.$$host)||e.sync===!1)&&u(),Sa(this,ns,n.$$events);for(let d of Object.keys(Ei(this,sr)))d==="$set"||d==="$destroy"||d==="$on"||Zi(this,d,{get(){return Ei(this,sr)[d]},set(a){Ei(this,sr)[d]=a},enumerable:!0});Ei(this,sr).$set=d=>{Object.assign(n,d)},Ei(this,sr).$destroy=()=>{$f(Ei(this,sr))}}$set(e){Ei(this,sr).$set(e)}$on(e,i){Ei(this,ns)[e]=Ei(this,ns)[e]||[];let o=(...n)=>i.call(this,...n);return Ei(this,ns)[e].push(o),()=>{Ei(this,ns)[e]=Ei(this,ns)[e].filter(n=>n!==o)}}$destroy(){Ei(this,sr).$destroy()}};ns=new WeakMap,sr=new WeakMap;var Tv="5";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Tv);var Iv=new Map;function Ev(t,e){var i=Iv.get(t);i||(i=new Set,Iv.set(t,i)),i.add(e)}function K(t,e,i=!1){ht&&Fi();var o=t,n=null,r=null,l=Hi,d=i?65536:0,a=!1;let c=(m,h=!0)=>{a=!0,v(h,m)},v=(m,h)=>{if(l===(l=m))return;let g=!1;if(ht){let $=o.data===Qs;!!l===$&&(o=Fa(),yi(o),bn(!1),g=!0)}l?(n?ys(n):h&&(n=Qi(()=>h(o))),r&&Kn(r,()=>{r=null})):(r?ys(r):h&&(r=Qi(()=>h(o))),n&&Kn(n,()=>{n=null})),g&&bn(!0)};lo(()=>{a=!1,e(c),a||v(null,null)},d),ht&&(o=kt)}function Zl(t,e,i){ht&&Fi();var o=t,n=Hi,r,l=hs()?Lm:Ea;lo(()=>{l(n,n=e())&&(r&&Kn(r),r=Qi(()=>i(o)))}),ht&&(o=kt)}var Xl=null;function ki(t,e){return e}function F_(t,e,i,o){for(var n=[],r=e.length,l=0;l<r;l++)Kd(e[l].e,n,!0);var d=r>0&&n.length===0&&i!==null;if(d){var a=i.parentNode;jl(a),a.append(i),o.clear(),xs(t,e[0].prev,e[r-1].next)}cf(n,()=>{for(var c=0;c<r;c++){var v=e[c];d||(o.delete(v.k),xs(t,v.prev,v.next)),so(v.e,!d)}})}function xi(t,e,i,o,n,r=null){var l=t,d={flags:e,items:new Map,first:null},a=(e&4)!==0;if(a){var c=t;l=ht?yi($i(c)):c.appendChild(yn())}ht&&Fi();var v=null,m=!1,h=is(()=>{var g=i();return br(g)?g:g==null?[]:zl(g)});lo(()=>{var g=s(h),$=g.length;if(m&&$===0)return;m=$===0;let y=!1;if(ht){var I=l.data===Qs;I!==($===0)&&(l=Fa(),yi(l),bn(!1),y=!0)}if(ht){for(var R=null,H,B=0;B<$;B++){if(kt.nodeType===8&&kt.data===Gs){l=kt,y=!0,bn(!1);break}var z=g[B],T=o(z,B);H=Av(kt,d,R,null,z,T,B,n,e,i),d.items.set(T,H),R=H}$>0&&yi(Fa())}if(!ht){var D=Ft;U_(g,d,l,n,e,(D.f&8192)!==0,o,i)}r!==null&&($===0?v?ys(v):v=Qi(()=>r(l)):v!==null&&Kn(v,()=>{v=null})),y&&bn(!0),s(h)}),ht&&(l=kt)}function U_(t,e,i,o,n,r,l,d){var me,oe,he,Y;var a=(n&8)!==0,c=(n&3)!==0,v=t.length,m=e.items,h=e.first,g=h,$,y=null,I,R=[],H=[],B,z,T,D;if(a)for(D=0;D<v;D+=1)B=t[D],z=l(B,D),T=m.get(z),T!==void 0&&((me=T.a)==null||me.measure(),(I!=null?I:I=new Set).add(T));for(D=0;D<v;D+=1){if(B=t[D],z=l(B,D),T=m.get(z),T===void 0){var j=g?g.e.nodes_start:i;y=Av(j,e,y,y===null?e.first:y.next,B,z,D,o,n,d),m.set(z,y),R=[],H=[],g=y.next;continue}if(c&&z_(T,B,D,n),T.e.f&8192&&(ys(T.e),a&&((oe=T.a)==null||oe.unfix(),(I!=null?I:I=new Set).delete(T))),T!==g){if($!==void 0&&$.has(T)){if(R.length<H.length){var Q=H[0],Z;y=Q.prev;var ne=R[0],ue=R[R.length-1];for(Z=0;Z<R.length;Z+=1)kv(R[Z],Q,i);for(Z=0;Z<H.length;Z+=1)$.delete(H[Z]);xs(e,ne.prev,ue.next),xs(e,y,ne),xs(e,ue,Q),g=Q,y=ue,D-=1,R=[],H=[]}else $.delete(T),kv(T,g,i),xs(e,T.prev,T.next),xs(e,T,y===null?e.first:y.next),xs(e,y,T),y=T;continue}for(R=[],H=[];g!==null&&g.k!==z;)(r||!(g.e.f&8192))&&($!=null?$:$=new Set).add(g),H.push(g),g=g.next;if(g===null)continue;T=g}R.push(T),y=T,g=T.next}if(g!==null||$!==void 0){for(var J=$===void 0?[]:zl($);g!==null;)(r||!(g.e.f&8192))&&J.push(g),g=g.next;var X=J.length;if(X>0){var Fe=n&4&&v===0?i:null;if(a){for(D=0;D<X;D+=1)(he=J[D].a)==null||he.measure();for(D=0;D<X;D+=1)(Y=J[D].a)==null||Y.fix()}F_(e,J,Fe,m)}}a&&_n(()=>{var te;if(I!==void 0)for(T of I)(te=T.a)==null||te.apply()}),It.first=e.first&&e.first.e,It.last=y&&y.e}function z_(t,e,i,o){o&1&&Ma(t.v,e),o&2?Ma(t.i,i):t.i=i}function Av(t,e,i,o,n,r,l,d,a,c){var v=Xl,m=(a&1)!==0,h=(a&16)===0,g=m?h?es(n):Ri(n):n,$=a&2?Ri(l):l;Ue&&m&&(g.debug=()=>{var I=typeof $=="number"?l:$.v;c()[I]});var y={i:$,v:g,k:r,a:null,e:null,prev:i,next:o};Xl=y;try{return y.e=Qi(()=>d(t,g,$),ht),y.e.prev=i&&i.e,y.e.next=o&&o.e,i===null?e.first=y:(i.next=y,i.e.next=y.e),o!==null&&(o.prev=y,o.e.prev=y.e),y}finally{Xl=v}}function kv(t,e,i){for(var o=t.next?t.next.e.nodes_start:i,n=e?e.e.nodes_start:i,r=t.e.nodes_start;r!==o;){var l=wo(r);n.before(r),r=l}}function xs(t,e,i){e===null?t.first=i:(e.next=i,e.e.next=i&&i.e),i!==null&&(i.prev=e,i.e.prev=e&&e.e)}function q_(t,e,i){var r,l;if(!e||e===bv(String(i!=null?i:"")))return;let o,n=(r=t.__svelte_meta)==null?void 0:r.loc;n?o=`near ${n.file}:${n.line}:${n.column}`:(l=Go)!=null&&l[Li]&&(o=`in ${Go[Li]}`),Im(vf(o))}function Jl(t,e,i,o,n){var r=t,l="",d;lo(()=>{var a;if(l===(l=(a=e())!=null?a:"")){ht&&Fi();return}d!==void 0&&(so(d),d=void 0),l!==""&&(d=Qi(()=>{if(ht){for(var c=kt.data,v=Fi(),m=v;v!==null&&(v.nodeType!==8||v.data!=="");)m=v,v=wo(v);if(v===null)throw Ks(),Zr;Ue&&!n&&q_(v.parentNode,c,l),Co(kt,m),r=yi(v);return}var h=l+"";i?h=`<svg>${h}</svg>`:o&&(h=`<math>${h}</math>`);var g=za(h);if((i||o)&&(g=$i(g)),Co($i(g),g.lastChild),i||o)for(;$i(g);)r.before($i(g));else r.before(g)}))})}function Be(t,e,i,o,n){var d;ht&&Fi();var r=(d=e.$$slots)==null?void 0:d[i],l=!1;r===!0&&(r=e[i==="default"?"children":i],l=!0),r===void 0?n!==null&&n(t):r(t,l?()=>o:o)}function co(t,e,...i){var o=t,n=jt,r;lo(()=>{n!==(n=e())&&(r&&(so(r),r=null),Ue&&n==null&&Hm(),r=Qi(()=>n(o,...i)))},65536),ht&&(o=kt)}function Vi(t,e,i){ht&&Fi();var o=t,n,r;lo(()=>{n!==(n=e())&&(r&&(Kn(r),r=null),n&&(r=Qi(()=>i(o,n))))},65536),ht&&(o=kt)}function de(t,e){_n(()=>{var n,r;var i=t.getRootNode(),o=(i.host?i:(n=i.head)!=null?n:i.ownerDocument.head)||((r=yf)==null?void 0:r.parentNode);if(!(o!=null&&o.querySelector("#"+e.hash))){let l=document.createElement("style");l.id=e.hash,l.textContent=e.code,o.appendChild(l),Ue&&Ev(e.hash,l)}})}function Mv(t){var e,i,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t)){var n=t.length;for(e=0;e<n;e++)t[e]&&(i=Mv(t[e]))&&(o&&(o+=" "),o+=i)}else for(i in t)t[i]&&(o&&(o+=" "),o+=i);return o}function Lv(){for(var t,e,i=0,o="",n=arguments.length;i<n;i++)(t=arguments[i])&&(e=Mv(t))&&(o&&(o+=" "),o+=e);return o}function ed(t){return typeof t=="object"?Lv(t):t!=null?t:""}function Bv(t,e){e?t.hasAttribute("selected")||t.setAttribute("selected",""):t.removeAttribute("selected")}function ve(t,e,i,o){var r;var n=(r=t.__attributes)!=null?r:t.__attributes={};if(ht&&(n[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName==="LINK")){o||Dv(t,e,i!=null?i:"");return}n[e]!==(n[e]=i)&&(e==="style"&&"__styles"in t&&(t.__styles={}),e==="loading"&&(t[gm]=i),i==null?t.removeAttribute(e):typeof i!="string"&&Nv(t).includes(e)?t[e]=i:t.setAttribute(e,i))}function Ne(t,e,i,o,n=!1,r=!1,l=!1){var H;var d=e||{},a=t.tagName==="OPTION";for(var c in e)c in i||(i[c]=null);i.class&&(i.class=ed(i.class)),o!==void 0&&(i.class=i.class?i.class+" "+o:o);var v=Nv(t),m=(H=t.__attributes)!=null?H:t.__attributes={};for(let B in i){let z=i[B];if(a&&B==="value"&&z==null){t.value=t.__value="",d[B]=z;continue}var h=d[B];if(z!==h){d[B]=z;var g=B[0]+B[1];if(g!=="$$"){if(g==="on"){let T={},D="$$"+B,j=B.slice(2);var $=xv(j);if(yv(j)&&(j=j.slice(0,-7),T.capture=!0),!$&&h){if(z!=null)continue;t.removeEventListener(j,d[D],T),d[D]=null}if(z!=null)if($)t[`__${j}`]=z,Ct([j]);else{let Q=function(Z){d[B].call(this,Z)};var R=Q;d[D]=mf(j,t,Q,T)}else $&&(t[`__${j}`]=void 0)}else if(B==="style"&&z!=null)t.style.cssText=z+"";else if(B==="autofocus")uf(t,!!z);else if(B==="__value"||B==="value"&&z!=null)t.value=t[B]=t.__value=z;else if(B==="selected"&&a)Bv(t,z);else{var y=B;n||(y=wv(y));var I=y==="defaultValue"||y==="defaultChecked";if(z==null&&!r&&!I)if(m[B]=null,y==="value"||y==="checked"){let T=t;if(y==="value"){let D=T.defaultValue;T.removeAttribute(y),T.defaultValue=D}else{let D=T.defaultChecked;T.removeAttribute(y),T.defaultChecked=D}}else t.removeAttribute(B);else I||v.includes(y)&&(r||typeof z!="string")?t[y]=z:typeof z!="function"&&(ht&&(y==="src"||y==="href"||y==="srcset")?l||Dv(t,y,z!=null?z:""):ve(t,y,z))}B==="style"&&"__styles"in t&&(t.__styles={})}}}return d}var Rv=new Map;function Nv(t){var e=Rv.get(t.nodeName);if(e)return e;Rv.set(t.nodeName,e=[]);for(var i,o=t,n=Element.prototype;n!==o;){i=Ed(o);for(var r in i)i[r].set&&e.push(r);o=jr(o)}return e}function Dv(t,e,i){var o;Ue&&(e==="srcset"&&K_(t,i)||Cf((o=t.getAttribute(e))!=null?o:"",i)||Tm(e,t.outerHTML.replace(t.innerHTML,t.innerHTML&&"..."),String(i)))}function Cf(t,e){return t===e?!0:new URL(t,document.baseURI).href===new URL(e,document.baseURI).href}function Vv(t){return t.split(",").map(e=>e.trim().split(" ").filter(Boolean))}function K_(t,e){var i=Vv(t.srcset),o=Vv(e);return o.length===i.length&&o.every(([n,r],l)=>r===i[l][1]&&(Cf(i[l][0],n)||Cf(n,i[l][0])))}function Xo(t,e,i){var o=t.__className,n=Q_(e,i);ht&&t.className===n?t.__className=n:(o!==n||ht&&t.className!==n)&&(e==null&&!i?t.removeAttribute("class"):t.className=n,t.__className=n)}function Q_(t,e){return(t==null?"":t)+(e?" "+e:"")}function re(t,e,i){if(i){if(t.classList.contains(e))return;t.classList.add(e)}else{if(!t.classList.contains(e))return;t.classList.remove(e)}}var ws,Wa,td,jd,Ov,Zd=class Zd{constructor(e){vs(this,jd);vs(this,ws,new WeakMap);vs(this,Wa);vs(this,td);Sa(this,td,e)}observe(e,i){var o=Ei(this,ws).get(e)||new Set;return o.add(i),Ei(this,ws).set(e,o),vm(this,jd,Ov).call(this).observe(e,Ei(this,td)),()=>{var n=Ei(this,ws).get(e);n.delete(i),n.size===0&&(Ei(this,ws).delete(e),Ei(this,Wa).unobserve(e))}}};ws=new WeakMap,Wa=new WeakMap,td=new WeakMap,jd=new WeakSet,Ov=function(){var e;return(e=Ei(this,Wa))!=null?e:Sa(this,Wa,new ResizeObserver(i=>{for(var o of i){Zd.entries.set(o.target,o);for(var n of Ei(this,ws).get(o.target)||[])n(o)}}))},Hn(Zd,"entries",new WeakMap);var Sf=Zd;var Z_=new Sf({box:"border-box"});function na(t,e,i){var o=Z_.observe(t,()=>i(t[e]));qn(()=>(vi(()=>i(t[e])),o))}function Hv(t,e){return t===e||(t==null?void 0:t[Ro])===e}function St(t={},e,i,o){return qn(()=>{var n,r;return yo(()=>{n=r,r=(o==null?void 0:o())||[],vi(()=>{t!==i(...r)&&(e(t,...r),n&&Hv(i(...n),t)&&e(null,...n))})}),()=>{_n(()=>{r&&Hv(i(...r),t)&&e(null,...r)})}}),t}function xr(t=!1){let e=At,i=e.l.u;if(!i)return;let o=()=>Ud(e.s);if(t){let n=0,r={},l=w(()=>{let d=!1,a=e.s;for(let c in a)a[c]!==r[c]&&(r[c]=a[c],d=!0);return d&&n++,n});o=()=>s(l)}i.b.length&&Ia(()=>{Fv(e,o),gs(i.b)}),Ke(()=>{let n=vi(()=>i.m.map(ym));return()=>{for(let r of n)typeof r=="function"&&r()}}),i.a.length&&Ke(()=>{Fv(e,o),gs(i.a)})}function Fv(t,e){if(t.l.s)for(let i of t.l.s)s(i);e()}function M(t,e,i){var o;t.$$events||(t.$$events={}),(o=t.$$events)[e]||(o[e]=[]),t.$$events[e].push(i)}function L(t){for(var e in t)e in this&&(this[e]=t[e])}function Ut(t){At===null&&Ra("onMount"),Rr&&At.l!==null?J_(At).m.push(t):Ke(()=>{let e=vi(t);if(typeof e=="function")return e})}function ar(t){At===null&&Ra("onDestroy"),Ut(()=>()=>vi(t))}function J_(t){var i;var e=t.l;return(i=e.u)!=null?i:e.u={a:[],b:[],m:[]}}function id(t,e,i){if(t==null)return e(void 0),i&&i(void 0),jt;let o=vi(()=>t.subscribe(e,i));return o.unsubscribe?()=>o.unsubscribe():o}var Ka=[];function lr(t,e){return{subscribe:Ie(t,e).subscribe}}function Ie(t,e=jt){let i=null,o=new Set;function n(d){if(Ea(t,d)&&(t=d,i)){let a=!Ka.length;for(let c of o)c[1](),Ka.push(c,t);if(a){for(let c=0;c<Ka.length;c+=2)Ka[c][0](Ka[c+1]);Ka.length=0}}}function r(d){n(d(t))}function l(d,a=jt){let c=[d,a];return o.add(c),o.size===1&&(i=e(n,r)||jt),d(t),()=>{o.delete(c),o.size===0&&i&&(i(),i=null)}}return{set:n,update:r,subscribe:l}}function gi(t,e,i){let o=!Array.isArray(t),n=o?[t]:t;if(!n.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");let r=e.length<2;return lr(i,(l,d)=>{let a=!1,c=[],v=0,m=jt,h=()=>{if(v)return;m();let $=e(o?c[0]:c,l,d);r?l($):m=typeof $=="function"?$:jt},g=n.map(($,y)=>id($,I=>{c[y]=I,v&=~(1<<y),a&&h()},()=>{v|=1<<y}));return a=!0,h(),function(){gs(g),m(),a=!1}})}function Re(t){let e;return id(t,i=>e=i)(),e}var Xd=!1,Tf=Symbol();function E(t,e,i){var r;let o=(r=i[e])!=null?r:i[e]={store:null,source:es(void 0),unsubscribe:jt};if(o.store!==t&&!(Tf in i))if(o.unsubscribe(),o.store=t!=null?t:null,t==null)o.source.v=void 0,o.unsubscribe=jt;else{var n=!0;o.unsubscribe=id(t,l=>{n?o.source.v=l:G(o.source,l)}),n=!1}return t&&Tf in i?Re(t):s(o.source)}function Xe(){let t={};function e(){Wn(()=>{for(var i in t)t[i].unsubscribe();Zi(t,Tf,{enumerable:!1,value:!0})})}return[t,e]}function If(t){var e=Xd;try{return Xd=!1,[t(),Xd]}finally{Xd=e}}var n$={get(t,e){if(!t.exclude.includes(e))return s(t.version),e in t.special?t.special[e]():t.props[e]},set(t,e,i){return e in t.special||(t.special[e]=p({get[e](){return t.props[e]}},e,4)),t.special[e](i),Fd(t.version),!0},getOwnPropertyDescriptor(t,e){if(!t.exclude.includes(e)&&e in t.props)return{enumerable:!0,configurable:!0,value:t.props[e]}},deleteProperty(t,e){return t.exclude.includes(e)||(t.exclude.push(e),Fd(t.version)),!0},has(t,e){return t.exclude.includes(e)?!1:e in t.props},ownKeys(t){return Reflect.ownKeys(t.props).filter(e=>!t.exclude.includes(e))}};function De(t,e){return new Proxy({props:t,exclude:e,special:{},version:Ri(0)},n$)}var r$={get(t,e){let i=t.props.length;for(;i--;){let o=t.props[i];if(zs(o)&&(o=o()),typeof o=="object"&&o!==null&&e in o)return o[e]}},set(t,e,i){let o=t.props.length;for(;o--;){let n=t.props[o];zs(n)&&(n=n());let r=Fn(n,e);if(r&&r.set)return r.set(i),!0}return!1},getOwnPropertyDescriptor(t,e){let i=t.props.length;for(;i--;){let o=t.props[i];if(zs(o)&&(o=o()),typeof o=="object"&&o!==null&&e in o){let n=Fn(o,e);return n&&!n.configurable&&(n.configurable=!0),n}}},has(t,e){if(e===Ro||e===Ul)return!1;for(let i of t.props)if(zs(i)&&(i=i()),i!=null&&e in i)return!0;return!1},ownKeys(t){let e=[];for(let i of t.props){zs(i)&&(i=i());for(let o in i)e.includes(o)||e.push(o)}return e}};function rs(...t){return new Proxy({props:t},r$)}function Uv(t){for(var e=It,i=It;e!==null&&!(e.f&96);)e=e.parent;try{return Xi(e),t()}finally{Xi(i)}}function p(t,e,i,o){var j,Q;var n=(i&1)!==0,r=!Rr||(i&2)!==0,l=(i&8)!==0,d=(i&16)!==0,a=!1,c;l?[c,a]=If(()=>t[e]):c=t[e];var v=Ro in t||Ul in t,m=l&&((Q=(j=Fn(t,e))==null?void 0:j.set)!=null?Q:v&&e in t&&(Z=>t[e]=Z))||void 0,h=o,g=!0,$=!1,y=()=>($=!0,g&&(g=!1,d?h=vi(o):h=o),h);c===void 0&&o!==void 0&&(m&&r&&Fm(e),c=y(),m&&m(c));var I;if(r)I=()=>{var Z=t[e];return Z===void 0?y():(g=!0,$=!1,Z)};else{var R=Uv(()=>(n?w:is)(()=>t[e]));R.f|=131072,I=()=>{var Z=s(R);return Z!==void 0&&(h=void 0),Z===void 0?h:Z}}if(!(i&4))return I;if(m){var H=t.$$legacy;return function(Z,ne){return arguments.length>0?((!r||!ne||H||a)&&m(ne?I():Z),Z):I()}}var B=!1,z=!1,T=es(c),D=Uv(()=>w(()=>{var Z=I(),ne=s(T);return B?(B=!1,z=!0,ne):(z=!1,T.v=Z)}));return n||(D.equals=ka),function(Z,ne){if(Wl!==null&&(B=z,I(),s(T)),arguments.length>0){let ue=ne?s(D):r&&l?ye(Z):Z;return D.equals(ue)||(B=!0,G(T,ue),$&&h!==void 0&&(h=ue),vi(()=>s(D))),Z}return s(D)}}var s$;typeof HTMLElement=="function"&&(s$=class extends HTMLElement{constructor(e,i,o){super();Hn(this,"$$ctor");Hn(this,"$$s");Hn(this,"$$c");Hn(this,"$$cn",!1);Hn(this,"$$d",{});Hn(this,"$$r",!1);Hn(this,"$$p_d",{});Hn(this,"$$l",{});Hn(this,"$$l_u",new Map);Hn(this,"$$me");this.$$ctor=e,this.$$s=i,o&&this.attachShadow({mode:"open"})}addEventListener(e,i,o){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(i),this.$$c){let n=this.$$c.$on(e,i);this.$$l_u.set(i,n)}super.addEventListener(e,i,o)}removeEventListener(e,i,o){if(super.removeEventListener(e,i,o),this.$$c){let n=this.$$l_u.get(i);n&&(n(),this.$$l_u.delete(i))}}connectedCallback(){return Tt(this,null,function*(){if(this.$$cn=!0,!this.$$c){let i=function(r){return l=>{let d=document.createElement("slot");r!=="default"&&(d.name=r),C(l,d)}};var e=i;if(yield Promise.resolve(),!this.$$cn||this.$$c)return;let o={},n=a$(this);for(let r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=i(r),o.default=!0):o[r]=i(r));for(let r of this.attributes){let l=this.$$g_p(r.name);l in this.$$d||(this.$$d[l]=Ef(l,r.value,this.$$p_d,"toProp"))}for(let r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=k({component:this.$$ctor,target:this.shadowRoot||this,props:Ot(_({},this.$$d),{$$slots:o,$$host:this})}),this.$$me=Wd(()=>{yo(()=>{var r;this.$$r=!0;for(let l of Dp(this.$$c)){if(!((r=this.$$p_d[l])!=null&&r.reflect))continue;this.$$d[l]=this.$$c[l];let d=Ef(l,this.$$d[l],this.$$p_d,"toAttribute");d==null?this.removeAttribute(this.$$p_d[l].attribute||l):this.setAttribute(this.$$p_d[l].attribute||l,d)}this.$$r=!1})});for(let r in this.$$l)for(let l of this.$$l[r]){let d=this.$$c.$on(r,l);this.$$l_u.set(l,d)}this.$$l={}}})}attributeChangedCallback(e,i,o){var n;this.$$r||(e=this.$$g_p(e),this.$$d[e]=Ef(e,o,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$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 Dp(this.$$p_d).find(i=>this.$$p_d[i].attribute===e||!this.$$p_d[i].attribute&&i.toLowerCase()===e)||e}});function Ef(t,e,i,o){var r;let n=(r=i[t])==null?void 0:r.type;if(e=n==="Boolean"&&typeof e!="boolean"?e!=null:e,!o||!i[t])return e;if(o==="toAttribute")switch(n){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e==null?null:e;default:return e}else switch(n){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function a$(t){let e={};return t.childNodes.forEach(i=>{e[i.slot||"default"]=!0}),e}import{noop as $p,safeStorage as f3,throttleFn as m3,clientChecker as v3}from"@vkontakte/videoplayer-shared/es2015";import{SeekAction as g3}from"@vkontakte/videoplayer-statistics/es2015";import{InterfaceLanguage as d$,fillWithDefault as c$,VideoQuality as qv}from"@vkontakte/videoplayer-shared/es2015";var u$={isMobile:void 0,defaultLanguage:d$.RU,downloadVKLanguages:!0,updateBuiltinLanguages:!0,isSmoothVideoRotate:!0,showSupport:!0,supportLink:"https://vk.com/support?act=new&from=v",showLogo:void 0,logoLink:"https://vk.com/video",logoType:"vk_video",volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:qv.Q_480P,highQualityLimit:qv.Q_720P,episodeMinWidthPc:8,hideThumbTimerAfterTouch:!0,sentry:{dsn:"https://e349fd23c68f405388980d0868d0ff27@sentry.mvk.com/126",sampleRate:.01,whiteErrorCategoryList:[],blackErrorCategoryList:[],whiteErrorIdList:[],blackErrorIdList:[]},features:{autoplay:!0,statistics:!0,sentry:!0,preload:!0,subtitles:!0,episodes:!0,fullscreen:!0,timelinePreview:!0,mediaSession:!0,annotations:!0,annotationsInside:!1,pip:!0,dpip:!0,download:!0,liveRewind:!0,playbackRate:!0,trafficSaving:!0,episodesClustering:!0,copyVideoLink:!0,videoRotate:!0,interactiveGraph:!1,interactiveResponsiveUi:!1,seekToInteractive:!0,interactiveLastFrame:!1,interactiveTextPermanent:!0,interactiveHideTime:!0,interactivePlayPrevChapter:!0,interactiveTimeIndicator:!0,interactiveTimeOpenUri:!1,thumbTimer:!0,hotKeyMapModal:!0,hotKeyHelpers:!0,saveDebugInfoToFile:!1,saveTraceInfoToFile:!1,additionalButtons:!0,additionalButtonsDesktopControlPanelRight:!0,additionalSettingsMenuItems:!0,additionalContextMenuItems:!0,contextMenuButton:!0,audioLanguages:!1,saveRate:!1,fullscreenInternalTargetPlayerContainer:!1,endScreen:!0,autoplayNext:!0,nextPrevButtons:!0,previewNoEmptySpace:!1,exposeInternalsToGlobal:!1,skipInitialPlaybackStateValue:!1,skipInitialPlaybackRateValue:!1,qualityDetailsSubMenuEnabled:!1},controls:{showOnStartupAtAutoplay:!0,hideTimeout:500,hideTimeoutMobile:3e3,hideTimeoutInitial:200,hideTimeoutFullscreen:3e3,hideTimeoutCursor:3e3,hideTimeoutTooltips:1e3,collapseMobileUnmute:6e3,hide360IconTimeout:3e3,hideHotKeyHelpers:2e3,playbackRateMin:.25,playbackRateMax:2,playbackRateStep:.25,volumeStepKeyboard:.05,volumeStepWheel:.05,volumeBarTimeout:300,seekStepKeyboard:1e4,seekStepMobile:15e3,seekStepFrame:400},ads:{enable:void 0,initTimeout:2e3,loadTimeout:2e3,runtimeTimeout:5e3,slot:void 0,preview:void 0,isMobileGoToSiteButton:!0,useAdmanFromNPM:!1},interactive:{historyMaxLength:100,noInteractionEventTimeout:3e4}},Wv=t=>c$(t,u$),Kv=t=>ea("ui-config",t),ti=()=>Js("ui-config");var od="vk_player_debug_panel_opened";var Qv="videoplayer",Gv="videoplayer";var Dr={KeyF:"f",KeyK:"k",KeyC:"c",KeyM:"m"},Yv=new Set(["ArrowLeft","ArrowRight","KeyL","KeyJ"]),jv=new Set(["Tab","Space","ArrowLeft","ArrowRight","ArrowUp","ArrowDown"]),Zv=new Set(["ShiftRight","ShiftLeft"]);var Xv=["TIMELINE"],nd=[...Xv,"GRAPH_BUTTON"],kf=[...Xv,"PLAY_BUTTON"],rd=[...nd,"PLAY_BUTTON"];var Or=(r=>(r.XS="xs",r.S="s",r.M="m",r.L="l",r.XL="xl",r))(Or||{}),sa={xs:0,s:1,m:2,l:3,xl:4};import{assertNonNullable as Jv,VERSION as p$}from"@vkontakte/videoplayer-shared/es2015";import{VERSION as f$}from"@vkontakte/videoplayer-core/es2015";import{VERSION as m$}from"@vkontakte/videoplayer-statistics/es2015";var Jd="prod",Qa="1.1.55-dev.7131fb97.0";var aa=(t,e,i)=>{let o=document.createElement("a");o.href=t,o.download=`${e}.${i}`,o.style.display="none",o.click()};var eg=Symbol("storeContext"),tg=Symbol("microStoresContext"),ig=(t,e)=>{ea(eg,t),ea(tg,e),Jd==="dev"&&(window.app={store:t,microStores:e})},Oe=()=>{let t=Js(eg);return Jv(t,"Store context is empty!"),t},Jo=()=>{let t=Js(tg);return Jv(t,"MicroStores context is empty!"),t},Zt=(t,e)=>tc(t,t.getValue(),e),tc=(t,e,i)=>lr(e,o=>{let n=t.subscribe(r=>{o(r),i==null||i(r)});return()=>n.unsubscribe()}),og=(t,e,i)=>{var R,H,B,z,T,D;let o=t.info,{width:n,height:r}=Re(i.ui.playerSize),l=(H=(R=o.throughputEstimation$.getValue())==null?void 0:R.toFixed(0))!=null?H:0,d=(z=(B=o.rttEstimation$.getValue())==null?void 0:B.toFixed(0))!=null?z:0,a=o.isAutoQualityEnabled$.getValue()?"auto":"manual",c=`${Qa} (core: ${f$}, stat: ${m$}, shared: ${p$})`,v=Re(i.state.errorLog$),m=v.length?`
|
|
45
|
+
`)})}if(Jm(t,e),ev(e))throw t}function Rd(t){var h,g;var e=xo,i=zn,o=Jr,n=Ft,r=os,l=yr,d=At,a=t.f;xo=null,zn=0,Jr=null,Ft=a&96?null:t,os=!ts&&(a&256)!==0,yr=null,At=t.ctx,Dd++;try{var c=(0,t.fn)(),v=t.deps;if(xo!==null){var m;if(Zs(t,zn),v!==null&&zn>0)for(v.length=zn+xo.length,m=0;m<xo.length;m++)v[zn+m]=xo[m];else t.deps=v=xo;if(!os)for(m=zn;m<v.length;m++)((g=(h=v[m]).reactions)!=null?g:h.reactions=[]).push(t)}else v!==null&&zn<v.length&&(Zs(t,zn),v.length=zn);return n!==null&&Dd++,c}finally{xo=e,zn=i,Jr=o,Ft=n,os=r,yr=l,At=d}}function v_(t,e){let i=e.reactions;if(i!==null){var o=$m.call(i,t);if(o!==-1){var n=i.length-1;n===0?i=e.reactions=null:(i[o]=i[n],i.pop())}}i===null&&e.f&2&&(xo===null||!xo.includes(e))&&(jo(e,4096),e.f&768||(e.f^=512),Zs(e,0))}function Zs(t,e){var i=t.deps;if(i!==null)for(var o=e;o<i.length;o++)v_(t,i[o])}function js(t){var e=t.f;if(!(e&16384)){jo(t,1024);var i=It,o=At;if(It=t,Ue){var n=Go;Go=t.component_function}try{e&16?lv(t):af(t),sf(t),rf(t);var r=Rd(t);t.teardown=typeof r=="function"?r:null,t.wv=nv;var l=t.deps;if(Ue&&Vr&&t.f&2048&&l!==null)for(let a=0;a<l.length;a++){var d=l[a];d.trace_need_increase&&(d.wv=Kl(),d.trace_need_increase=void 0,d.trace_v=void 0)}Ue&&Yl.push(t)}catch(a){Da(a,t,i,o||t.ctx)}finally{It=i,Ue&&(Go=n)}}}function tv(){console.error("Last ten effects were: ",Yl.slice(-10).map(t=>t.fn)),Yl=[]}function rv(){if(Ba>1e3){Ba=0;try{Dm()}catch(t){if(Ue&&Zi(t,"stack",{value:""}),Va!==null)if(Ue)try{Da(t,Va,null,null)}catch(e){throw tv(),e}else Da(t,Va,null,null);else throw Ue&&tv(),t}}Ba++}function sv(t){var e=t.length;if(e!==0){rv();var i=ts;ts=!0;try{for(var o=0;o<e;o++){var n=t[o];n.f&1024||(n.f^=1024);var r=[];av(n,r),g_(r)}}finally{ts=i}}}function g_(t){var e=t.length;if(e!==0)for(var i=0;i<e;i++){var o=t[i];if(!(o.f&24576))try{_s(o)&&(js(o),o.deps===null&&o.first===null&&o.nodes_start===null&&(o.teardown===null?lf(o):o.fn=null))}catch(n){Da(n,o,null,o.ctx)}}}function h_(){if(Gl=!1,Ba>1001)return;let t=Xs;Xs=[],sv(t),Gl||(Ba=0,Va=null,Ue&&(Yl=[]))}function La(t){Bd===ov&&(Gl||(Gl=!0,queueMicrotask(h_))),Va=t;for(var e=t;e.parent!==null;){e=e.parent;var i=e.f;if(i&96){if(!(i&1024))return;e.f^=1024}}Xs.push(e)}function av(t,e){var i=t.first,o=[];e:for(;i!==null;){var n=i.f,r=(n&32)!==0,l=r&&(n&1024)!==0,d=i.next;if(!l&&!(n&8192))if(n&8){if(r)i.f^=1024;else try{_s(i)&&js(i)}catch(m){Da(m,i,null,i.ctx)}var a=i.first;if(a!==null){i=a;continue}}else n&4&&o.push(i);if(d===null){let m=i.parent;for(;m!==null;){if(t===m)break e;var c=m.next;if(c!==null){i=c;continue e}m=m.parent}}i=d}for(var v=0;v<o.length;v++)a=o[v],e.push(a),av(a,e)}function u(t){var e=Bd,i=Xs;try{rv();let n=[];Bd=m_,Xs=n,Gl=!1,sv(i);var o=t==null?void 0:t();return Sm(),(Xs.length>0||n.length>0)&&u(),Ba=0,Va=null,Ue&&(Yl=[]),o}finally{Bd=e,Xs=i}}function ao(){return Tt(this,null,function*(){yield Promise.resolve(),u()})}function s(t){var m,h;var e=t.f,i=(e&2)!==0;if(i&&e&16384){var o=Jp(t);return Ql(t),o}if(Wl!==null&&Wl.add(t),Ft!==null){yr!==null&&yr.includes(t)&&Wm();var n=Ft.deps;t.rv<Dd&&(t.rv=Dd,xo===null&&n!==null&&n[zn]===t?zn++:xo===null?xo=[t]:xo.push(t),Jr!==null&&It!==null&&It.f&1024&&!(It.f&32)&&Jr.includes(t)&&(jo(It,2048),La(It)))}else if(i&&t.deps===null)for(var r=t,l=r.parent,d=r;l!==null;)if(l.f&2){var a=l;d=a,l=a.parent}else{var c=l;(m=c.deriveds)!=null&&m.includes(d)||((h=c.deriveds)!=null?h:c.deriveds=[]).push(d);break}if(i&&(r=t,_s(r)&&ef(r)),Ue&&Vr&&ql!==null&&Ft!==null&&ql.reaction===Ft){if(t.debug)t.debug();else if(t.created){var v=ql.entries.get(t);v===void 0&&(v={read:[]},ql.entries.set(t,v)),v.read.push(Xr("TracedAt"))}}return t.v}function vi(t){let e=Ft;try{return Ft=null,t()}finally{Ft=e}}var __=-7169;function jo(t,e){t.f=t.f&__|e}function Js(t){let i=nf("getContext").get(t);if(Ue){let o=At.function;o&&Md(i,o,!0)}return i}function ea(t,e){return nf("setContext").set(t,e),e}function Ha(){let t=nf("getAllContexts");if(Ue){let e=At==null?void 0:At.function;if(e)for(let i of t.values())Md(i,e,!0)}return t}function nf(t){var e;return At===null&&Ra(t),(e=At.c)!=null?e:At.c=new Map($_(At)||void 0)}function $_(t){let e=t.p;for(;e!==null;){let i=e.c;if(i!==null)return i;e=e.p}return null}function Fd(t,e=1){var i=s(t),o=e===1?i++:i--;return G(t,i),o}function P(t,e=!1,i){At={p:At,c:null,e:null,m:!1,s:t,x:null,l:null},Rr&&!e&&(At.l={s:null,u:null,r1:[],r2:Ri(!1)}),Ue&&(At.function=i,Go=i)}function A(t){var l,d;let e=At;if(e!==null){t!==void 0&&(e.x=t);let a=e.e;if(a!==null){var i=It,o=Ft;e.e=null;try{for(var n=0;n<a.length;n++){var r=a[n];Xi(r.effect),Zo(r.reaction),qn(r.fn)}}finally{Xi(i),Zo(o)}}At=e.p,Ue&&(Go=(d=(l=e.p)==null?void 0:l.function)!=null?d:null),e.m=!0}return t||{}}function Ud(t){if(!(typeof t!="object"||!t||t instanceof EventTarget)){if(Ro in t)Od(t);else if(!Array.isArray(t))for(let e in t){let i=t[e];typeof i=="object"&&i&&Ro in i&&Od(i)}}}function Od(t,e=new Set){if(typeof t=="object"&&t!==null&&!(t instanceof EventTarget)&&!e.has(t)){e.add(t),t instanceof Date&&t.getTime();for(let o in t)try{Od(t[o],e)}catch(n){}let i=jr(t);if(i!==Object.prototype&&i!==Array.prototype&&i!==Map.prototype&&i!==Set.prototype&&i!==Date.prototype){let o=Ed(i);for(let n in o){let r=o[n].get;if(r)try{r.call(t)}catch(l){}}}}}if(Ue){let t=function(e){if(!(e in globalThis)){let i;Object.defineProperty(globalThis,e,{configurable:!0,get:()=>{if(i!==void 0)return i;Um(e)},set:o=>{i=o}})}};b_=t,t("$state"),t("$effect"),t("$derived"),t("$inspect"),t("$props"),t("$bindable")}var b_;var ht=!1;function bn(t){ht=t}var kt;function yi(t){if(t===null)throw Ks(),Zr;return kt=t}function Fi(){return yi(wo(kt))}function b(t){if(ht){if(wo(kt)!==null)throw Ks(),Zr;kt=t}}function Ae(t=1){if(ht){for(var e=t,i=kt;e--;)i=wo(i);kt=i}}function Fa(){for(var t=0,e=kt;;){if(e.nodeType===8){var i=e.data;if(i===Gs){if(t===0)return e;t-=1}else(i===Ta||i===Qs)&&(t+=1)}var o=wo(e);e.remove(),e=o}}function ye(t,e=null,i){var c,v;var o=null;if(Ue&&Vr&&(o=Xr("CreatedAt")),typeof t!="object"||t===null||Ro in t)return t;let n=jr(t);if(n!==Op&&n!==bm)return t;var r=new Map,l=br(t),d=Ri(0);l&&r.set("length",Ri(t.length,o));var a;if(Ue)if(a={parent:e,owners:null},i){let m=(v=(c=i.v)==null?void 0:c[Yr])==null?void 0:v.owners;a.owners=m?new Set(m):null}else a.owners=e===null?At!==null?new Set([At.function]):null:new Set;return new Proxy(t,{defineProperty(m,h,g){(!("value"in g)||g.configurable===!1||g.enumerable===!1||g.writable===!1)&&zm();var $=r.get(h);return $===void 0?($=Ri(g.value,o),r.set(h,$)):G($,ye(g.value,a)),!0},deleteProperty(m,h){var g=r.get(h);if(g===void 0)h in m&&r.set(h,Ri(Hi,o));else{if(l&&typeof h=="string"){var $=r.get("length"),y=Number(h);Number.isInteger(y)&&y<$.v&&G($,y)}G(g,Hi),dv(d)}return!0},get(m,h,g){var H;if(Ue&&h===Yr)return a;if(h===Ro)return t;var $=r.get(h),y=h in m;if($===void 0&&(!y||(H=Fn(m,h))!=null&&H.writable)&&($=Ri(ye(y?m[h]:Hi,a),o),r.set(h,$)),$!==void 0){var I=s($);if(Ue){var R=I==null?void 0:I[Yr];R&&(R==null?void 0:R.parent)!==a&&zp(a,R)}return I===Hi?void 0:I}return Reflect.get(m,h,g)},getOwnPropertyDescriptor(m,h){var g=Reflect.getOwnPropertyDescriptor(m,h);if(g&&"value"in g){var $=r.get(h);$&&(g.value=s($))}else if(g===void 0){var y=r.get(h),I=y==null?void 0:y.v;if(y!==void 0&&I!==Hi)return{enumerable:!0,configurable:!0,value:I,writable:!0}}return g},has(m,h){var I;if(Ue&&h===Yr||h===Ro)return!0;var g=r.get(h),$=g!==void 0&&g.v!==Hi||Reflect.has(m,h);if(g!==void 0||It!==null&&(!$||(I=Fn(m,h))!=null&&I.writable)){g===void 0&&(g=Ri($?ye(m[h],a):Hi,o),r.set(h,g));var y=s(g);if(y===Hi)return!1}return $},set(m,h,g,$){var j;var y=r.get(h),I=h in m;if(l&&h==="length")for(var R=g;R<y.v;R+=1){var H=r.get(R+"");H!==void 0?G(H,Hi):R in m&&(H=Ri(Hi,o),r.set(R+"",H))}if(y===void 0?(!I||(j=Fn(m,h))!=null&&j.writable)&&(y=Ri(void 0,o),G(y,ye(g,a)),r.set(h,y)):(I=y.v!==Hi,G(y,ye(g,a))),Ue){var B=g==null?void 0:g[Yr];B&&(B==null?void 0:B.parent)!==a&&zp(a,B),Mm(a)}var z=Reflect.getOwnPropertyDescriptor(m,h);if(z!=null&&z.set&&z.set.call($,g),!I){if(l&&typeof h=="string"){var T=r.get("length"),D=Number(h);Number.isInteger(D)&&D>=T.v&&G(T,D+1)}dv(d)}return!0},ownKeys(m){s(d);var h=Reflect.ownKeys(m).filter(y=>{var I=r.get(y);return I===void 0||I.v!==Hi});for(var[g,$]of r)$.v!==Hi&&!(g in m)&&h.push(g);return h},setPrototypeOf(){qm()}})}function dv(t,e=1){G(t,t.v+e)}function zd(t){return t!==null&&typeof t=="object"&&Ro in t?t[Ro]:t}function cv(){let t=Array.prototype,e=Array.__svelte_cleanup;e&&e();let{indexOf:i,lastIndexOf:o,includes:n}=t;t.indexOf=function(r,l){let d=i.call(this,r,l);if(d===-1){for(let a=l!=null?l:0;a<this.length;a+=1)if(zd(this[a])===r){Pd("array.indexOf(...)");break}}return d},t.lastIndexOf=function(r,l){let d=o.call(this,r,l!=null?l:this.length-1);if(d===-1){for(let a=0;a<=(l!=null?l:this.length-1);a+=1)if(zd(this[a])===r){Pd("array.lastIndexOf(...)");break}}return d},t.includes=function(r,l){let d=n.call(this,r,l);if(!d){for(let a=0;a<this.length;a+=1)if(zd(this[a])===r){Pd("array.includes(...)");break}}return d},Array.__svelte_cleanup=()=>{t.indexOf=i,t.lastIndexOf=o,t.includes=n}}var ta,uv,pv,fv;function qd(){if(ta===void 0){ta=window,uv=document;var t=Element.prototype,e=Node.prototype;pv=Fn(e,"firstChild").get,fv=Fn(e,"nextSibling").get,t.__click=void 0,t.__className="",t.__attributes=null,t.__styles=null,t.__e=void 0,Text.prototype.__t=void 0,Ue&&(t.__svelte_meta=null,cv())}}function yn(t=""){return document.createTextNode(t)}function $i(t){return pv.call(t)}function wo(t){return fv.call(t)}function x(t,e){if(!ht)return $i(t);var i=$i(kt);if(i===null)i=kt.appendChild(yn());else if(e&&i.nodeType!==3){var o=yn();return i==null||i.before(o),yi(o),o}return yi(i),i}function Ce(t,e){var n,r;if(!ht){var i=$i(t);return i.nodeType===8&&i.data===""?wo(i):i}if(e&&((n=kt)==null?void 0:n.nodeType)!==3){var o=yn();return(r=kt)==null||r.before(o),yi(o),o}return kt}function O(t,e=1,i=!1){let o=ht?kt:t;for(var n;e--;)n=o,o=wo(o);if(!ht)return o;var r=o==null?void 0:o.nodeType;if(i&&r!==3){var l=yn();return o===null?n==null||n.after(l):o.before(l),yi(l),l}return yi(o),o}function jl(t){t.textContent=""}function df(t){It===null&&Ft===null&&Nm(t),Ft!==null&&Ft.f&256&&Bm(),Hd&&Vm(t)}function y_(t,e){var i=e.last;i===null?e.last=e.first=t:(i.next=t,t.prev=i,e.last=t)}function ia(t,e,i,o=!0){var v;var n=(t&64)!==0,r=It;if(Ue)for(;r!==null&&r.f&262144;)r=r.parent;var l={ctx:At,deps:null,deriveds:null,nodes_start:null,nodes_end:null,f:t|2048,first:null,fn:e,last:null,next:null,parent:n?null:r,prev:null,teardown:null,transitions:null,wv:0};if(Ue&&(l.component_function=Go),i){var d=ts;try{Pa(!0),js(l),l.f|=32768}catch(m){throw so(l),m}finally{Pa(d)}}else e!==null&&La(l);var a=i&&l.deps===null&&l.first===null&&l.nodes_start===null&&l.teardown===null&&(l.f&1048704)===0;if(!a&&!n&&o&&(r!==null&&y_(l,r),Ft!==null&&Ft.f&2)){var c=Ft;((v=c.children)!=null?v:c.children=[]).push(l)}return l}function Wn(t){let e=ia(8,null,!1);return jo(e,1024),e.teardown=t,e}function Ke(t){var n;df("$effect");var e=It!==null&&(It.f&32)!==0&&At!==null&&!At.m;if(Ue&&Zi(t,"name",{value:"$effect"}),e){var i=At;((n=i.e)!=null?n:i.e=[]).push({fn:t,effect:It,reaction:Ft})}else{var o=qn(t);return o}}function Ia(t){return df("$effect.pre"),Ue&&Zi(t,"name",{value:"$effect.pre"}),yo(t)}function Wd(t){let e=ia(64,t,!0);return()=>{so(e)}}function gv(t){let e=ia(64,t,!0);return(i={})=>new Promise(o=>{i.outro?Kn(e,()=>{so(e),o(void 0)}):(so(e),o(void 0))})}function qn(t){return ia(4,t,!1)}function yo(t){return ia(8,t,!0)}function V(t){return Ue&&Zi(t,"name",{value:"{expression}"}),lo(t)}function lo(t,e=0){return ia(24|e,t,!0)}function Qi(t,e=!0){return ia(40,t,!0,e)}function rf(t){var e=t.teardown;if(e!==null){let i=Hd,o=Ft;of(!0),Zo(null);try{e.call(null)}finally{of(i),Zo(o)}}}function sf(t){var e=t.deriveds;if(e!==null){t.deriveds=null;for(var i=0;i<e.length;i+=1)Ql(e[i])}}function af(t,e=!1){var i=t.first;for(t.first=t.last=null;i!==null;){var o=i.next;so(i,e),i=o}}function lv(t){for(var e=t.first;e!==null;){var i=e.next;e.f&32||so(e),e=i}}function so(t,e=!0){var i=!1;if((e||t.f&524288)&&t.nodes_start!==null){for(var o=t.nodes_start,n=t.nodes_end;o!==null;){var r=o===n?null:wo(o);o.remove(),o=r}i=!0}af(t,e&&!i),sf(t),Zs(t,0),jo(t,16384);var l=t.transitions;if(l!==null)for(let a of l)a.stop();rf(t);var d=t.parent;d!==null&&d.first!==null&&lf(t),Ue&&(t.component_function=null),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=null}function lf(t){var e=t.parent,i=t.prev,o=t.next;i!==null&&(i.next=o),o!==null&&(o.prev=i),e!==null&&(e.first===t&&(e.first=o),e.last===t&&(e.last=i))}function Kn(t,e){var i=[];Kd(t,i,!0),cf(i,()=>{so(t),e&&e()})}function cf(t,e){var i=t.length;if(i>0){var o=()=>--i||e();for(var n of t)n.out(o)}else e()}function Kd(t,e,i){if(!(t.f&8192)){if(t.f^=8192,t.transitions!==null)for(let l of t.transitions)(l.is_global||i)&&e.push(l);for(var o=t.first;o!==null;){var n=o.next,r=(o.f&65536)!==0||(o.f&32)!==0;Kd(o,e,r?i:!1),o=n}}}function ys(t){hv(t,!0)}function hv(t,e){if(t.f&8192){_s(t)&&js(t),t.f^=8192;for(var i=t.first;i!==null;){var o=i.next,n=(i.f&65536)!==0||(i.f&32)!==0;hv(i,n?e:!1),i=o}if(t.transitions!==null)for(let r of t.transitions)(r.is_global||e)&&r.in()}}function uf(t,e){if(e){let i=document.body;t.autofocus=!0,_n(()=>{document.activeElement===i&&t.focus()})}}function pf(t){var e=Ft,i=It;Zo(null),Xi(null);try{return t()}finally{Zo(e),Xi(i)}}var ff=new Set,Qd=new Set;function oa(t){if(!ht)return;t.onload&&t.removeAttribute("onload"),t.onerror&&t.removeAttribute("onerror");let e=t.__e;e!==void 0&&(t.__e=void 0,queueMicrotask(()=>{t.isConnected&&t.dispatchEvent(e)}))}function mf(t,e,i,o){function n(r){if(o.capture||Ua.call(e,r),!r.cancelBubble)return pf(()=>i.call(this,r))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?_n(()=>{e.addEventListener(t,n,o)}):e.addEventListener(t,n,o),n}function Ht(t,e,i,o,n){var r={capture:o,passive:n},l=mf(t,e,i,r);(e===document.body||e===window||e===document)&&Wn(()=>{e.removeEventListener(t,l,r)})}function Ct(t){for(var e=0;e<t.length;e++)ff.add(t[e]);for(var i of Qd)i(t)}function Ua(t){var H;var e=this,i=e.ownerDocument,o=t.type,n=((H=t.composedPath)==null?void 0:H.call(t))||[],r=n[0]||t.target,l=0,d=t.__root;if(d){var a=n.indexOf(d);if(a!==-1&&(e===document||e===window)){t.__root=e;return}var c=n.indexOf(e);if(c===-1)return;a<=c&&(l=a)}if(r=n[l]||t.target,r!==e){Zi(t,"currentTarget",{configurable:!0,get(){return r||i}});var v=Ft,m=It;Zo(null),Xi(null);try{for(var h,g=[];r!==null;){var $=r.assignedSlot||r.parentNode||r.host||null;try{var y=r["__"+o];if(y!==void 0&&!r.disabled)if(br(y)){var[I,...R]=y;I.apply(r,[t,...R])}else y.call(r,t)}catch(B){h?g.push(B):h=B}if(t.cancelBubble||$===e||$===null)break;r=$}if(h){for(let B of g)queueMicrotask(()=>{throw B});throw h}}finally{t.__root=e,delete t.currentTarget,Zo(v),Xi(m)}}}var w_;function _v(){w_=void 0}function za(t){var e=document.createElement("template");return e.innerHTML=t,e.content}function Co(t,e){var i=It;i.nodes_start===null&&(i.nodes_start=t,i.nodes_end=e)}function U(t,e){var i=(e&1)!==0,o=(e&2)!==0,n,r=!t.startsWith("<!>");return()=>{if(ht)return Co(kt,null),kt;n===void 0&&(n=za(r?t:"<!>"+t),i||(n=$i(n)));var l=o?document.importNode(n,!0):n.cloneNode(!0);if(i){var d=$i(l),a=l.lastChild;Co(d,a)}else Co(l,l);return l}}function Me(t,e,i="svg"){var o=!t.startsWith("<!>"),n=(e&1)!==0,r=`<${i}>${o?t:"<!>"+t}</${i}>`,l;return()=>{if(ht)return Co(kt,null),kt;if(!l){var d=za(r),a=$i(d);if(n)for(l=document.createDocumentFragment();$i(a);)l.appendChild($i(a));else l=$i(a)}var c=l.cloneNode(!0);if(n){var v=$i(c),m=c.lastChild;Co(v,m)}else Co(c,c);return c}}function rr(t=""){if(!ht){var e=yn(t+"");return Co(e,e),e}var i=kt;return i.nodeType!==3&&(i.before(i=yn()),yi(i)),Co(i,i),i}function Ye(){if(ht)return Co(kt,null),kt;var t=document.createDocumentFragment(),e=document.createComment(""),i=yn();return t.append(e,i),Co(e,i),t}function C(t,e){if(ht){It.nodes_end=kt,Fi();return}t!==null&&t.before(e)}var S_=/\r/g;function bv(t){t=t.replace(S_,"");let e=5381,i=t.length;for(;i--;)e=(e<<5)-e^t.charCodeAt(i);return(e>>>0).toString(36)}function yv(t){return t.endsWith("capture")&&t!=="gotpointercapture"&&t!=="lostpointercapture"}var T_=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function xv(t){return T_.includes(t)}var I_=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected","webkitdirectory"];var E_={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject"};function wv(t){var e;return t=t.toLowerCase(),(e=E_[t])!=null?e:t}var f7=[...I_,"formNoValidate","isMap","noModule","playsInline","readOnly","value","volume","defaultValue","defaultChecked","srcObject"];var k_=["touchstart","touchmove"];function Cv(t){return k_.includes(t)}function vf(t){return t==null?void 0:t.replace(/\//g,"/\u200B")}var gf=!0;function Ee(t,e){var o;var i=e==null?"":typeof e=="object"?e+"":e;i!==((o=t.__t)!=null?o:t.__t=t.nodeValue)&&(t.__t=i,t.nodeValue=i==null?"":i+"")}function Gd(t,e){return Sv(t,e)}function _f(t,e){var l;qd(),e.intro=(l=e.intro)!=null?l:!1;let i=e.target,o=ht,n=kt;try{for(var r=$i(i);r&&(r.nodeType!==8||r.data!==Ta);)r=wo(r);if(!r)throw Zr;bn(!0),yi(r),Fi();let d=Sv(t,Ot(_({},e),{anchor:r}));if(kt===null||kt.nodeType!==8||kt.data!==Gs)throw Ks(),Zr;return bn(!1),d}catch(d){if(d===Zr)return e.recover===!1&&Om(),qd(),jl(i),bn(!1),Gd(t,e);throw d}finally{bn(o),yi(n),_v()}}var qa=new Map;function Sv(t,{target:e,anchor:i,props:o={},events:n,context:r,intro:l=!0}){qd();var d=new Set,a=m=>{for(var h=0;h<m.length;h++){var g=m[h];if(!d.has(g)){d.add(g);var $=Cv(g);e.addEventListener(g,Ua,{passive:$});var y=qa.get(g);y===void 0?(document.addEventListener(g,Ua,{passive:$}),qa.set(g,1)):qa.set(g,y+1)}}};a(zl(ff)),Qd.add(a);var c=void 0,v=gv(()=>{var m=i!=null?i:e.appendChild(yn());return Qi(()=>{if(r){P({});var h=At;h.c=r}n&&(o.$$events=n),ht&&Co(m,null),gf=l,c=t(m,o)||{},gf=!0,ht&&(It.nodes_end=kt),r&&A()}),()=>{var $;for(var h of d){e.removeEventListener(h,Ua);var g=qa.get(h);--g===0?(document.removeEventListener(h,Ua),qa.delete(h)):qa.set(h,g)}Qd.delete(a),m!==i&&(($=m.parentNode)==null||$.removeChild(m))}});return hf.set(c,v),c}var hf=new WeakMap;function $f(t,e){let i=hf.get(t);return i?(hf.delete(t),i(e)):(Ue&&Em(),Promise.resolve())}var yf;function k(t){return yf=t.target,new bf(t)}var ns,sr,bf=class{constructor(e){vs(this,ns);vs(this,sr);var r,l;var i=new Map,o=(d,a)=>{var c=es(a);return i.set(d,c),c};let n=new Proxy(Ot(_({},e.props||{}),{$$events:{}}),{get(d,a){var c;return s((c=i.get(a))!=null?c:o(a,Reflect.get(d,a)))},has(d,a){var c;return a===Ul?!0:(s((c=i.get(a))!=null?c:o(a,Reflect.get(d,a))),Reflect.has(d,a))},set(d,a,c){var v;return G((v=i.get(a))!=null?v:o(a,c),c),Reflect.set(d,a,c)}});Sa(this,sr,(e.hydrate?_f:Gd)(e.component,{target:e.target,anchor:e.anchor,props:n,context:e.context,intro:(r=e.intro)!=null?r:!1,recover:e.recover})),(!((l=e==null?void 0:e.props)!=null&&l.$$host)||e.sync===!1)&&u(),Sa(this,ns,n.$$events);for(let d of Object.keys(Ei(this,sr)))d==="$set"||d==="$destroy"||d==="$on"||Zi(this,d,{get(){return Ei(this,sr)[d]},set(a){Ei(this,sr)[d]=a},enumerable:!0});Ei(this,sr).$set=d=>{Object.assign(n,d)},Ei(this,sr).$destroy=()=>{$f(Ei(this,sr))}}$set(e){Ei(this,sr).$set(e)}$on(e,i){Ei(this,ns)[e]=Ei(this,ns)[e]||[];let o=(...n)=>i.call(this,...n);return Ei(this,ns)[e].push(o),()=>{Ei(this,ns)[e]=Ei(this,ns)[e].filter(n=>n!==o)}}$destroy(){Ei(this,sr).$destroy()}};ns=new WeakMap,sr=new WeakMap;var Tv="5";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Tv);var Iv=new Map;function Ev(t,e){var i=Iv.get(t);i||(i=new Set,Iv.set(t,i)),i.add(e)}function K(t,e,i=!1){ht&&Fi();var o=t,n=null,r=null,l=Hi,d=i?65536:0,a=!1;let c=(m,h=!0)=>{a=!0,v(h,m)},v=(m,h)=>{if(l===(l=m))return;let g=!1;if(ht){let $=o.data===Qs;!!l===$&&(o=Fa(),yi(o),bn(!1),g=!0)}l?(n?ys(n):h&&(n=Qi(()=>h(o))),r&&Kn(r,()=>{r=null})):(r?ys(r):h&&(r=Qi(()=>h(o))),n&&Kn(n,()=>{n=null})),g&&bn(!0)};lo(()=>{a=!1,e(c),a||v(null,null)},d),ht&&(o=kt)}function Zl(t,e,i){ht&&Fi();var o=t,n=Hi,r,l=hs()?Lm:Ea;lo(()=>{l(n,n=e())&&(r&&Kn(r),r=Qi(()=>i(o)))}),ht&&(o=kt)}var Xl=null;function ki(t,e){return e}function F_(t,e,i,o){for(var n=[],r=e.length,l=0;l<r;l++)Kd(e[l].e,n,!0);var d=r>0&&n.length===0&&i!==null;if(d){var a=i.parentNode;jl(a),a.append(i),o.clear(),xs(t,e[0].prev,e[r-1].next)}cf(n,()=>{for(var c=0;c<r;c++){var v=e[c];d||(o.delete(v.k),xs(t,v.prev,v.next)),so(v.e,!d)}})}function xi(t,e,i,o,n,r=null){var l=t,d={flags:e,items:new Map,first:null},a=(e&4)!==0;if(a){var c=t;l=ht?yi($i(c)):c.appendChild(yn())}ht&&Fi();var v=null,m=!1,h=is(()=>{var g=i();return br(g)?g:g==null?[]:zl(g)});lo(()=>{var g=s(h),$=g.length;if(m&&$===0)return;m=$===0;let y=!1;if(ht){var I=l.data===Qs;I!==($===0)&&(l=Fa(),yi(l),bn(!1),y=!0)}if(ht){for(var R=null,H,B=0;B<$;B++){if(kt.nodeType===8&&kt.data===Gs){l=kt,y=!0,bn(!1);break}var z=g[B],T=o(z,B);H=Av(kt,d,R,null,z,T,B,n,e,i),d.items.set(T,H),R=H}$>0&&yi(Fa())}if(!ht){var D=Ft;U_(g,d,l,n,e,(D.f&8192)!==0,o,i)}r!==null&&($===0?v?ys(v):v=Qi(()=>r(l)):v!==null&&Kn(v,()=>{v=null})),y&&bn(!0),s(h)}),ht&&(l=kt)}function U_(t,e,i,o,n,r,l,d){var me,oe,he,Y;var a=(n&8)!==0,c=(n&3)!==0,v=t.length,m=e.items,h=e.first,g=h,$,y=null,I,R=[],H=[],B,z,T,D;if(a)for(D=0;D<v;D+=1)B=t[D],z=l(B,D),T=m.get(z),T!==void 0&&((me=T.a)==null||me.measure(),(I!=null?I:I=new Set).add(T));for(D=0;D<v;D+=1){if(B=t[D],z=l(B,D),T=m.get(z),T===void 0){var j=g?g.e.nodes_start:i;y=Av(j,e,y,y===null?e.first:y.next,B,z,D,o,n,d),m.set(z,y),R=[],H=[],g=y.next;continue}if(c&&z_(T,B,D,n),T.e.f&8192&&(ys(T.e),a&&((oe=T.a)==null||oe.unfix(),(I!=null?I:I=new Set).delete(T))),T!==g){if($!==void 0&&$.has(T)){if(R.length<H.length){var Q=H[0],Z;y=Q.prev;var ne=R[0],ue=R[R.length-1];for(Z=0;Z<R.length;Z+=1)kv(R[Z],Q,i);for(Z=0;Z<H.length;Z+=1)$.delete(H[Z]);xs(e,ne.prev,ue.next),xs(e,y,ne),xs(e,ue,Q),g=Q,y=ue,D-=1,R=[],H=[]}else $.delete(T),kv(T,g,i),xs(e,T.prev,T.next),xs(e,T,y===null?e.first:y.next),xs(e,y,T),y=T;continue}for(R=[],H=[];g!==null&&g.k!==z;)(r||!(g.e.f&8192))&&($!=null?$:$=new Set).add(g),H.push(g),g=g.next;if(g===null)continue;T=g}R.push(T),y=T,g=T.next}if(g!==null||$!==void 0){for(var J=$===void 0?[]:zl($);g!==null;)(r||!(g.e.f&8192))&&J.push(g),g=g.next;var X=J.length;if(X>0){var Fe=n&4&&v===0?i:null;if(a){for(D=0;D<X;D+=1)(he=J[D].a)==null||he.measure();for(D=0;D<X;D+=1)(Y=J[D].a)==null||Y.fix()}F_(e,J,Fe,m)}}a&&_n(()=>{var te;if(I!==void 0)for(T of I)(te=T.a)==null||te.apply()}),It.first=e.first&&e.first.e,It.last=y&&y.e}function z_(t,e,i,o){o&1&&Ma(t.v,e),o&2?Ma(t.i,i):t.i=i}function Av(t,e,i,o,n,r,l,d,a,c){var v=Xl,m=(a&1)!==0,h=(a&16)===0,g=m?h?es(n):Ri(n):n,$=a&2?Ri(l):l;Ue&&m&&(g.debug=()=>{var I=typeof $=="number"?l:$.v;c()[I]});var y={i:$,v:g,k:r,a:null,e:null,prev:i,next:o};Xl=y;try{return y.e=Qi(()=>d(t,g,$),ht),y.e.prev=i&&i.e,y.e.next=o&&o.e,i===null?e.first=y:(i.next=y,i.e.next=y.e),o!==null&&(o.prev=y,o.e.prev=y.e),y}finally{Xl=v}}function kv(t,e,i){for(var o=t.next?t.next.e.nodes_start:i,n=e?e.e.nodes_start:i,r=t.e.nodes_start;r!==o;){var l=wo(r);n.before(r),r=l}}function xs(t,e,i){e===null?t.first=i:(e.next=i,e.e.next=i&&i.e),i!==null&&(i.prev=e,i.e.prev=e&&e.e)}function q_(t,e,i){var r,l;if(!e||e===bv(String(i!=null?i:"")))return;let o,n=(r=t.__svelte_meta)==null?void 0:r.loc;n?o=`near ${n.file}:${n.line}:${n.column}`:(l=Go)!=null&&l[Li]&&(o=`in ${Go[Li]}`),Im(vf(o))}function Jl(t,e,i,o,n){var r=t,l="",d;lo(()=>{var a;if(l===(l=(a=e())!=null?a:"")){ht&&Fi();return}d!==void 0&&(so(d),d=void 0),l!==""&&(d=Qi(()=>{if(ht){for(var c=kt.data,v=Fi(),m=v;v!==null&&(v.nodeType!==8||v.data!=="");)m=v,v=wo(v);if(v===null)throw Ks(),Zr;Ue&&!n&&q_(v.parentNode,c,l),Co(kt,m),r=yi(v);return}var h=l+"";i?h=`<svg>${h}</svg>`:o&&(h=`<math>${h}</math>`);var g=za(h);if((i||o)&&(g=$i(g)),Co($i(g),g.lastChild),i||o)for(;$i(g);)r.before($i(g));else r.before(g)}))})}function Be(t,e,i,o,n){var d;ht&&Fi();var r=(d=e.$$slots)==null?void 0:d[i],l=!1;r===!0&&(r=e[i==="default"?"children":i],l=!0),r===void 0?n!==null&&n(t):r(t,l?()=>o:o)}function co(t,e,...i){var o=t,n=jt,r;lo(()=>{n!==(n=e())&&(r&&(so(r),r=null),Ue&&n==null&&Hm(),r=Qi(()=>n(o,...i)))},65536),ht&&(o=kt)}function Vi(t,e,i){ht&&Fi();var o=t,n,r;lo(()=>{n!==(n=e())&&(r&&(Kn(r),r=null),n&&(r=Qi(()=>i(o,n))))},65536),ht&&(o=kt)}function de(t,e){_n(()=>{var n,r;var i=t.getRootNode(),o=(i.host?i:(n=i.head)!=null?n:i.ownerDocument.head)||((r=yf)==null?void 0:r.parentNode);if(!(o!=null&&o.querySelector("#"+e.hash))){let l=document.createElement("style");l.id=e.hash,l.textContent=e.code,o.appendChild(l),Ue&&Ev(e.hash,l)}})}function Mv(t){var e,i,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t)){var n=t.length;for(e=0;e<n;e++)t[e]&&(i=Mv(t[e]))&&(o&&(o+=" "),o+=i)}else for(i in t)t[i]&&(o&&(o+=" "),o+=i);return o}function Lv(){for(var t,e,i=0,o="",n=arguments.length;i<n;i++)(t=arguments[i])&&(e=Mv(t))&&(o&&(o+=" "),o+=e);return o}function ed(t){return typeof t=="object"?Lv(t):t!=null?t:""}function Bv(t,e){e?t.hasAttribute("selected")||t.setAttribute("selected",""):t.removeAttribute("selected")}function ve(t,e,i,o){var r;var n=(r=t.__attributes)!=null?r:t.__attributes={};if(ht&&(n[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName==="LINK")){o||Dv(t,e,i!=null?i:"");return}n[e]!==(n[e]=i)&&(e==="style"&&"__styles"in t&&(t.__styles={}),e==="loading"&&(t[gm]=i),i==null?t.removeAttribute(e):typeof i!="string"&&Nv(t).includes(e)?t[e]=i:t.setAttribute(e,i))}function Ne(t,e,i,o,n=!1,r=!1,l=!1){var H;var d=e||{},a=t.tagName==="OPTION";for(var c in e)c in i||(i[c]=null);i.class&&(i.class=ed(i.class)),o!==void 0&&(i.class=i.class?i.class+" "+o:o);var v=Nv(t),m=(H=t.__attributes)!=null?H:t.__attributes={};for(let B in i){let z=i[B];if(a&&B==="value"&&z==null){t.value=t.__value="",d[B]=z;continue}var h=d[B];if(z!==h){d[B]=z;var g=B[0]+B[1];if(g!=="$$"){if(g==="on"){let T={},D="$$"+B,j=B.slice(2);var $=xv(j);if(yv(j)&&(j=j.slice(0,-7),T.capture=!0),!$&&h){if(z!=null)continue;t.removeEventListener(j,d[D],T),d[D]=null}if(z!=null)if($)t[`__${j}`]=z,Ct([j]);else{let Q=function(Z){d[B].call(this,Z)};var R=Q;d[D]=mf(j,t,Q,T)}else $&&(t[`__${j}`]=void 0)}else if(B==="style"&&z!=null)t.style.cssText=z+"";else if(B==="autofocus")uf(t,!!z);else if(B==="__value"||B==="value"&&z!=null)t.value=t[B]=t.__value=z;else if(B==="selected"&&a)Bv(t,z);else{var y=B;n||(y=wv(y));var I=y==="defaultValue"||y==="defaultChecked";if(z==null&&!r&&!I)if(m[B]=null,y==="value"||y==="checked"){let T=t;if(y==="value"){let D=T.defaultValue;T.removeAttribute(y),T.defaultValue=D}else{let D=T.defaultChecked;T.removeAttribute(y),T.defaultChecked=D}}else t.removeAttribute(B);else I||v.includes(y)&&(r||typeof z!="string")?t[y]=z:typeof z!="function"&&(ht&&(y==="src"||y==="href"||y==="srcset")?l||Dv(t,y,z!=null?z:""):ve(t,y,z))}B==="style"&&"__styles"in t&&(t.__styles={})}}}return d}var Rv=new Map;function Nv(t){var e=Rv.get(t.nodeName);if(e)return e;Rv.set(t.nodeName,e=[]);for(var i,o=t,n=Element.prototype;n!==o;){i=Ed(o);for(var r in i)i[r].set&&e.push(r);o=jr(o)}return e}function Dv(t,e,i){var o;Ue&&(e==="srcset"&&K_(t,i)||Cf((o=t.getAttribute(e))!=null?o:"",i)||Tm(e,t.outerHTML.replace(t.innerHTML,t.innerHTML&&"..."),String(i)))}function Cf(t,e){return t===e?!0:new URL(t,document.baseURI).href===new URL(e,document.baseURI).href}function Vv(t){return t.split(",").map(e=>e.trim().split(" ").filter(Boolean))}function K_(t,e){var i=Vv(t.srcset),o=Vv(e);return o.length===i.length&&o.every(([n,r],l)=>r===i[l][1]&&(Cf(i[l][0],n)||Cf(n,i[l][0])))}function Xo(t,e,i){var o=t.__className,n=Q_(e,i);ht&&t.className===n?t.__className=n:(o!==n||ht&&t.className!==n)&&(e==null&&!i?t.removeAttribute("class"):t.className=n,t.__className=n)}function Q_(t,e){return(t==null?"":t)+(e?" "+e:"")}function re(t,e,i){if(i){if(t.classList.contains(e))return;t.classList.add(e)}else{if(!t.classList.contains(e))return;t.classList.remove(e)}}var ws,Wa,td,jd,Ov,Zd=class Zd{constructor(e){vs(this,jd);vs(this,ws,new WeakMap);vs(this,Wa);vs(this,td);Sa(this,td,e)}observe(e,i){var o=Ei(this,ws).get(e)||new Set;return o.add(i),Ei(this,ws).set(e,o),vm(this,jd,Ov).call(this).observe(e,Ei(this,td)),()=>{var n=Ei(this,ws).get(e);n.delete(i),n.size===0&&(Ei(this,ws).delete(e),Ei(this,Wa).unobserve(e))}}};ws=new WeakMap,Wa=new WeakMap,td=new WeakMap,jd=new WeakSet,Ov=function(){var e;return(e=Ei(this,Wa))!=null?e:Sa(this,Wa,new ResizeObserver(i=>{for(var o of i){Zd.entries.set(o.target,o);for(var n of Ei(this,ws).get(o.target)||[])n(o)}}))},Hn(Zd,"entries",new WeakMap);var Sf=Zd;var Z_=new Sf({box:"border-box"});function na(t,e,i){var o=Z_.observe(t,()=>i(t[e]));qn(()=>(vi(()=>i(t[e])),o))}function Hv(t,e){return t===e||(t==null?void 0:t[Ro])===e}function St(t={},e,i,o){return qn(()=>{var n,r;return yo(()=>{n=r,r=(o==null?void 0:o())||[],vi(()=>{t!==i(...r)&&(e(t,...r),n&&Hv(i(...n),t)&&e(null,...n))})}),()=>{_n(()=>{r&&Hv(i(...r),t)&&e(null,...r)})}}),t}function xr(t=!1){let e=At,i=e.l.u;if(!i)return;let o=()=>Ud(e.s);if(t){let n=0,r={},l=w(()=>{let d=!1,a=e.s;for(let c in a)a[c]!==r[c]&&(r[c]=a[c],d=!0);return d&&n++,n});o=()=>s(l)}i.b.length&&Ia(()=>{Fv(e,o),gs(i.b)}),Ke(()=>{let n=vi(()=>i.m.map(ym));return()=>{for(let r of n)typeof r=="function"&&r()}}),i.a.length&&Ke(()=>{Fv(e,o),gs(i.a)})}function Fv(t,e){if(t.l.s)for(let i of t.l.s)s(i);e()}function M(t,e,i){var o;t.$$events||(t.$$events={}),(o=t.$$events)[e]||(o[e]=[]),t.$$events[e].push(i)}function L(t){for(var e in t)e in this&&(this[e]=t[e])}function Ut(t){At===null&&Ra("onMount"),Rr&&At.l!==null?J_(At).m.push(t):Ke(()=>{let e=vi(t);if(typeof e=="function")return e})}function ar(t){At===null&&Ra("onDestroy"),Ut(()=>()=>vi(t))}function J_(t){var i;var e=t.l;return(i=e.u)!=null?i:e.u={a:[],b:[],m:[]}}function id(t,e,i){if(t==null)return e(void 0),i&&i(void 0),jt;let o=vi(()=>t.subscribe(e,i));return o.unsubscribe?()=>o.unsubscribe():o}var Ka=[];function lr(t,e){return{subscribe:Ie(t,e).subscribe}}function Ie(t,e=jt){let i=null,o=new Set;function n(d){if(Ea(t,d)&&(t=d,i)){let a=!Ka.length;for(let c of o)c[1](),Ka.push(c,t);if(a){for(let c=0;c<Ka.length;c+=2)Ka[c][0](Ka[c+1]);Ka.length=0}}}function r(d){n(d(t))}function l(d,a=jt){let c=[d,a];return o.add(c),o.size===1&&(i=e(n,r)||jt),d(t),()=>{o.delete(c),o.size===0&&i&&(i(),i=null)}}return{set:n,update:r,subscribe:l}}function gi(t,e,i){let o=!Array.isArray(t),n=o?[t]:t;if(!n.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");let r=e.length<2;return lr(i,(l,d)=>{let a=!1,c=[],v=0,m=jt,h=()=>{if(v)return;m();let $=e(o?c[0]:c,l,d);r?l($):m=typeof $=="function"?$:jt},g=n.map(($,y)=>id($,I=>{c[y]=I,v&=~(1<<y),a&&h()},()=>{v|=1<<y}));return a=!0,h(),function(){gs(g),m(),a=!1}})}function Re(t){let e;return id(t,i=>e=i)(),e}var Xd=!1,Tf=Symbol();function E(t,e,i){var r;let o=(r=i[e])!=null?r:i[e]={store:null,source:es(void 0),unsubscribe:jt};if(o.store!==t&&!(Tf in i))if(o.unsubscribe(),o.store=t!=null?t:null,t==null)o.source.v=void 0,o.unsubscribe=jt;else{var n=!0;o.unsubscribe=id(t,l=>{n?o.source.v=l:G(o.source,l)}),n=!1}return t&&Tf in i?Re(t):s(o.source)}function Xe(){let t={};function e(){Wn(()=>{for(var i in t)t[i].unsubscribe();Zi(t,Tf,{enumerable:!1,value:!0})})}return[t,e]}function If(t){var e=Xd;try{return Xd=!1,[t(),Xd]}finally{Xd=e}}var n$={get(t,e){if(!t.exclude.includes(e))return s(t.version),e in t.special?t.special[e]():t.props[e]},set(t,e,i){return e in t.special||(t.special[e]=p({get[e](){return t.props[e]}},e,4)),t.special[e](i),Fd(t.version),!0},getOwnPropertyDescriptor(t,e){if(!t.exclude.includes(e)&&e in t.props)return{enumerable:!0,configurable:!0,value:t.props[e]}},deleteProperty(t,e){return t.exclude.includes(e)||(t.exclude.push(e),Fd(t.version)),!0},has(t,e){return t.exclude.includes(e)?!1:e in t.props},ownKeys(t){return Reflect.ownKeys(t.props).filter(e=>!t.exclude.includes(e))}};function De(t,e){return new Proxy({props:t,exclude:e,special:{},version:Ri(0)},n$)}var r$={get(t,e){let i=t.props.length;for(;i--;){let o=t.props[i];if(zs(o)&&(o=o()),typeof o=="object"&&o!==null&&e in o)return o[e]}},set(t,e,i){let o=t.props.length;for(;o--;){let n=t.props[o];zs(n)&&(n=n());let r=Fn(n,e);if(r&&r.set)return r.set(i),!0}return!1},getOwnPropertyDescriptor(t,e){let i=t.props.length;for(;i--;){let o=t.props[i];if(zs(o)&&(o=o()),typeof o=="object"&&o!==null&&e in o){let n=Fn(o,e);return n&&!n.configurable&&(n.configurable=!0),n}}},has(t,e){if(e===Ro||e===Ul)return!1;for(let i of t.props)if(zs(i)&&(i=i()),i!=null&&e in i)return!0;return!1},ownKeys(t){let e=[];for(let i of t.props){zs(i)&&(i=i());for(let o in i)e.includes(o)||e.push(o)}return e}};function rs(...t){return new Proxy({props:t},r$)}function Uv(t){for(var e=It,i=It;e!==null&&!(e.f&96);)e=e.parent;try{return Xi(e),t()}finally{Xi(i)}}function p(t,e,i,o){var j,Q;var n=(i&1)!==0,r=!Rr||(i&2)!==0,l=(i&8)!==0,d=(i&16)!==0,a=!1,c;l?[c,a]=If(()=>t[e]):c=t[e];var v=Ro in t||Ul in t,m=l&&((Q=(j=Fn(t,e))==null?void 0:j.set)!=null?Q:v&&e in t&&(Z=>t[e]=Z))||void 0,h=o,g=!0,$=!1,y=()=>($=!0,g&&(g=!1,d?h=vi(o):h=o),h);c===void 0&&o!==void 0&&(m&&r&&Fm(e),c=y(),m&&m(c));var I;if(r)I=()=>{var Z=t[e];return Z===void 0?y():(g=!0,$=!1,Z)};else{var R=Uv(()=>(n?w:is)(()=>t[e]));R.f|=131072,I=()=>{var Z=s(R);return Z!==void 0&&(h=void 0),Z===void 0?h:Z}}if(!(i&4))return I;if(m){var H=t.$$legacy;return function(Z,ne){return arguments.length>0?((!r||!ne||H||a)&&m(ne?I():Z),Z):I()}}var B=!1,z=!1,T=es(c),D=Uv(()=>w(()=>{var Z=I(),ne=s(T);return B?(B=!1,z=!0,ne):(z=!1,T.v=Z)}));return n||(D.equals=ka),function(Z,ne){if(Wl!==null&&(B=z,I(),s(T)),arguments.length>0){let ue=ne?s(D):r&&l?ye(Z):Z;return D.equals(ue)||(B=!0,G(T,ue),$&&h!==void 0&&(h=ue),vi(()=>s(D))),Z}return s(D)}}var s$;typeof HTMLElement=="function"&&(s$=class extends HTMLElement{constructor(e,i,o){super();Hn(this,"$$ctor");Hn(this,"$$s");Hn(this,"$$c");Hn(this,"$$cn",!1);Hn(this,"$$d",{});Hn(this,"$$r",!1);Hn(this,"$$p_d",{});Hn(this,"$$l",{});Hn(this,"$$l_u",new Map);Hn(this,"$$me");this.$$ctor=e,this.$$s=i,o&&this.attachShadow({mode:"open"})}addEventListener(e,i,o){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(i),this.$$c){let n=this.$$c.$on(e,i);this.$$l_u.set(i,n)}super.addEventListener(e,i,o)}removeEventListener(e,i,o){if(super.removeEventListener(e,i,o),this.$$c){let n=this.$$l_u.get(i);n&&(n(),this.$$l_u.delete(i))}}connectedCallback(){return Tt(this,null,function*(){if(this.$$cn=!0,!this.$$c){let i=function(r){return l=>{let d=document.createElement("slot");r!=="default"&&(d.name=r),C(l,d)}};var e=i;if(yield Promise.resolve(),!this.$$cn||this.$$c)return;let o={},n=a$(this);for(let r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=i(r),o.default=!0):o[r]=i(r));for(let r of this.attributes){let l=this.$$g_p(r.name);l in this.$$d||(this.$$d[l]=Ef(l,r.value,this.$$p_d,"toProp"))}for(let r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=k({component:this.$$ctor,target:this.shadowRoot||this,props:Ot(_({},this.$$d),{$$slots:o,$$host:this})}),this.$$me=Wd(()=>{yo(()=>{var r;this.$$r=!0;for(let l of Dp(this.$$c)){if(!((r=this.$$p_d[l])!=null&&r.reflect))continue;this.$$d[l]=this.$$c[l];let d=Ef(l,this.$$d[l],this.$$p_d,"toAttribute");d==null?this.removeAttribute(this.$$p_d[l].attribute||l):this.setAttribute(this.$$p_d[l].attribute||l,d)}this.$$r=!1})});for(let r in this.$$l)for(let l of this.$$l[r]){let d=this.$$c.$on(r,l);this.$$l_u.set(l,d)}this.$$l={}}})}attributeChangedCallback(e,i,o){var n;this.$$r||(e=this.$$g_p(e),this.$$d[e]=Ef(e,o,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$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 Dp(this.$$p_d).find(i=>this.$$p_d[i].attribute===e||!this.$$p_d[i].attribute&&i.toLowerCase()===e)||e}});function Ef(t,e,i,o){var r;let n=(r=i[t])==null?void 0:r.type;if(e=n==="Boolean"&&typeof e!="boolean"?e!=null:e,!o||!i[t])return e;if(o==="toAttribute")switch(n){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e==null?null:e;default:return e}else switch(n){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function a$(t){let e={};return t.childNodes.forEach(i=>{e[i.slot||"default"]=!0}),e}import{noop as $p,safeStorage as f3,throttleFn as m3,clientChecker as v3}from"@vkontakte/videoplayer-shared/es2015";import{SeekAction as g3}from"@vkontakte/videoplayer-statistics/es2015";import{InterfaceLanguage as d$,fillWithDefault as c$,VideoQuality as qv}from"@vkontakte/videoplayer-shared/es2015";var u$={isMobile:void 0,defaultLanguage:d$.RU,downloadVKLanguages:!0,updateBuiltinLanguages:!0,isSmoothVideoRotate:!0,showSupport:!0,supportLink:"https://vk.com/support?act=new&from=v",showLogo:void 0,logoLink:"https://vk.com/video",logoType:"vk_video",volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:qv.Q_480P,highQualityLimit:qv.Q_720P,episodeMinWidthPc:8,hideThumbTimerAfterTouch:!0,sentry:{dsn:"https://e349fd23c68f405388980d0868d0ff27@sentry.mvk.com/126",sampleRate:.01,whiteErrorCategoryList:[],blackErrorCategoryList:[],whiteErrorIdList:[],blackErrorIdList:[]},features:{autoplay:!0,statistics:!0,sentry:!0,preload:!0,subtitles:!0,episodes:!0,fullscreen:!0,timelinePreview:!0,mediaSession:!0,annotations:!0,annotationsInside:!1,pip:!0,dpip:!0,download:!0,liveRewind:!0,playbackRate:!0,trafficSaving:!0,episodesClustering:!0,copyVideoLink:!0,videoRotate:!0,interactiveGraph:!1,interactiveResponsiveUi:!1,seekToInteractive:!0,interactiveLastFrame:!1,interactiveTextPermanent:!0,interactiveHideTime:!0,interactivePlayPrevChapter:!0,interactiveTimeIndicator:!0,interactiveTimeOpenUri:!1,thumbTimer:!0,hotKeyMapModal:!0,hotKeyHelpers:!0,saveDebugInfoToFile:!1,saveTraceInfoToFile:!1,additionalButtons:!0,additionalButtonsDesktopControlPanelRight:!0,additionalSettingsMenuItems:!0,additionalContextMenuItems:!0,contextMenuButton:!0,audioLanguages:!1,saveRate:!1,fullscreenInternalTargetPlayerContainer:!1,endScreen:!0,autoplayNext:!0,nextPrevButtons:!0,previewNoEmptySpace:!1,exposeInternalsToGlobal:!1,skipInitialPlaybackStateValue:!1,skipInitialPlaybackRateValue:!1,qualityDetailsSubMenuEnabled:!1},controls:{showOnStartupAtAutoplay:!0,hideTimeout:500,hideTimeoutMobile:3e3,hideTimeoutInitial:200,hideTimeoutFullscreen:3e3,hideTimeoutCursor:3e3,hideTimeoutTooltips:1e3,collapseMobileUnmute:6e3,hide360IconTimeout:3e3,hideHotKeyHelpers:2e3,playbackRateMin:.25,playbackRateMax:2,playbackRateStep:.25,volumeStepKeyboard:.05,volumeStepWheel:.05,volumeBarTimeout:300,seekStepKeyboard:1e4,seekStepMobile:15e3,seekStepFrame:400},ads:{enable:void 0,initTimeout:2e3,loadTimeout:2e3,runtimeTimeout:5e3,slot:void 0,preview:void 0,isMobileGoToSiteButton:!0,useAdmanFromNPM:!1},interactive:{historyMaxLength:100,noInteractionEventTimeout:3e4}},Wv=t=>c$(t,u$),Kv=t=>ea("ui-config",t),ti=()=>Js("ui-config");var od="vk_player_debug_panel_opened";var Qv="videoplayer",Gv="videoplayer";var Dr={KeyF:"f",KeyK:"k",KeyC:"c",KeyM:"m"},Yv=new Set(["ArrowLeft","ArrowRight","KeyL","KeyJ"]),jv=new Set(["Tab","Space","ArrowLeft","ArrowRight","ArrowUp","ArrowDown"]),Zv=new Set(["ShiftRight","ShiftLeft"]);var Xv=["TIMELINE"],nd=[...Xv,"GRAPH_BUTTON"],kf=[...Xv,"PLAY_BUTTON"],rd=[...nd,"PLAY_BUTTON"];var Or=(r=>(r.XS="xs",r.S="s",r.M="m",r.L="l",r.XL="xl",r))(Or||{}),sa={xs:0,s:1,m:2,l:3,xl:4};import{assertNonNullable as Jv,VERSION as p$}from"@vkontakte/videoplayer-shared/es2015";import{VERSION as f$}from"@vkontakte/videoplayer-core/es2015";import{VERSION as m$}from"@vkontakte/videoplayer-statistics/es2015";var Jd="prod",Qa="1.1.55-dev.74e495c6.0";var aa=(t,e,i)=>{let o=document.createElement("a");o.href=t,o.download=`${e}.${i}`,o.style.display="none",o.click()};var eg=Symbol("storeContext"),tg=Symbol("microStoresContext"),ig=(t,e)=>{ea(eg,t),ea(tg,e),Jd==="dev"&&(window.app={store:t,microStores:e})},Oe=()=>{let t=Js(eg);return Jv(t,"Store context is empty!"),t},Jo=()=>{let t=Js(tg);return Jv(t,"MicroStores context is empty!"),t},Zt=(t,e)=>tc(t,t.getValue(),e),tc=(t,e,i)=>lr(e,o=>{let n=t.subscribe(r=>{o(r),i==null||i(r)});return()=>n.unsubscribe()}),og=(t,e,i)=>{var R,H,B,z,T,D;let o=t.info,{width:n,height:r}=Re(i.ui.playerSize),l=(H=(R=o.throughputEstimation$.getValue())==null?void 0:R.toFixed(0))!=null?H:0,d=(z=(B=o.rttEstimation$.getValue())==null?void 0:B.toFixed(0))!=null?z:0,a=o.isAutoQualityEnabled$.getValue()?"auto":"manual",c=`${Qa} (core: ${f$}, stat: ${m$}, shared: ${p$})`,v=Re(i.state.errorLog$),m=v.length?`
|
|
46
46
|
`+v.map((j,Q)=>{var J;let Z=`${Q}) Type: ${j.id}
|
|
47
47
|
`,ne=`Message: ${j.message} (${j.thrown})
|
|
48
48
|
`,ue=`Trace: ${(J=j.thrown)==null?void 0:J.stack}
|