@beyondwords/player 0.1.2 → 0.1.3
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/dist/es.js +2 -2
- package/dist/es.js.map +1 -1
- package/dist/hls.light.min.js +2 -2
- package/dist/umd.js +2 -2
- package/dist/umd.js.map +1 -1
- package/package.json +1 -1
package/dist/umd.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
var cm=Object.defineProperty,um=Object.defineProperties;var dm=Object.getOwnPropertyDescriptors;var _o=Object.getOwnPropertySymbols;var Fr=Object.prototype.hasOwnProperty,qr=Object.prototype.propertyIsEnumerable;var Ho=(j,Be,je)=>Be in j?cm(j,Be,{enumerable:!0,configurable:!0,writable:!0,value:je}):j[Be]=je,Jt=(j,Be)=>{for(var je in Be||(Be={}))Fr.call(Be,je)&&Ho(j,je,Be[je]);if(_o)for(var je of _o(Be))qr.call(Be,je)&&Ho(j,je,Be[je]);return j},Ji=(j,Be)=>um(j,dm(Be));var Yo=(j,Be)=>{var je={};for(var Ot in j)Fr.call(j,Ot)&&Be.indexOf(Ot)<0&&(je[Ot]=j[Ot]);if(j!=null&&_o)for(var Ot of _o(j))Be.indexOf(Ot)<0&&qr.call(j,Ot)&&(je[Ot]=j[Ot]);return je};var Zo=(j,Be,je)=>(Ho(j,typeof Be!="symbol"?Be+"":Be,je),je),Ko=(j,Be,je)=>{if(!Be.has(j))throw TypeError("Cannot "+je)};var Ci=(j,Be,je)=>(Ko(j,Be,"read from private field"),je?je.call(j):Be.get(j)),Ve=(j,Be,je)=>{if(Be.has(j))throw TypeError("Cannot add the same private member more than once");Be instanceof WeakSet?Be.add(j):Be.set(j,je)},Hr=(j,Be,je,Ot)=>(Ko(j,Be,"write to private field"),Ot?Ot.call(j,je):Be.set(j,je),je);var M=(j,Be,je)=>(Ko(j,Be,"access private method"),je);var fi=(j,Be,je)=>new Promise((Ot,qn)=>{var Ne=hi=>{try{fe(je.next(hi))}catch(yi){qn(yi)}},Xi=hi=>{try{fe(je.throw(hi))}catch(yi){qn(yi)}},fe=hi=>hi.done?Ot(hi.value):Promise.resolve(hi.value).then(Ne,Xi);fe((je=je.apply(j,Be)).next())});/*! version:"0.1.
|
|
1
|
+
var cm=Object.defineProperty,um=Object.defineProperties;var dm=Object.getOwnPropertyDescriptors;var _o=Object.getOwnPropertySymbols;var Fr=Object.prototype.hasOwnProperty,qr=Object.prototype.propertyIsEnumerable;var Ho=(j,Be,je)=>Be in j?cm(j,Be,{enumerable:!0,configurable:!0,writable:!0,value:je}):j[Be]=je,Jt=(j,Be)=>{for(var je in Be||(Be={}))Fr.call(Be,je)&&Ho(j,je,Be[je]);if(_o)for(var je of _o(Be))qr.call(Be,je)&&Ho(j,je,Be[je]);return j},Ji=(j,Be)=>um(j,dm(Be));var Yo=(j,Be)=>{var je={};for(var Ot in j)Fr.call(j,Ot)&&Be.indexOf(Ot)<0&&(je[Ot]=j[Ot]);if(j!=null&&_o)for(var Ot of _o(j))Be.indexOf(Ot)<0&&qr.call(j,Ot)&&(je[Ot]=j[Ot]);return je};var Zo=(j,Be,je)=>(Ho(j,typeof Be!="symbol"?Be+"":Be,je),je),Ko=(j,Be,je)=>{if(!Be.has(j))throw TypeError("Cannot "+je)};var Ci=(j,Be,je)=>(Ko(j,Be,"read from private field"),je?je.call(j):Be.get(j)),Ve=(j,Be,je)=>{if(Be.has(j))throw TypeError("Cannot add the same private member more than once");Be instanceof WeakSet?Be.add(j):Be.set(j,je)},Hr=(j,Be,je,Ot)=>(Ko(j,Be,"write to private field"),Ot?Ot.call(j,je):Be.set(j,je),je);var M=(j,Be,je)=>(Ko(j,Be,"access private method"),je);var fi=(j,Be,je)=>new Promise((Ot,qn)=>{var Ne=hi=>{try{fe(je.next(hi))}catch(yi){qn(yi)}},Xi=hi=>{try{fe(je.throw(hi))}catch(yi){qn(yi)}},fe=hi=>hi.done?Ot(hi.value):Promise.resolve(hi.value).then(Ne,Xi);fe((je=je.apply(j,Be)).next())});/*! version:"0.1.3" */(function(j,Be){typeof exports=="object"&&typeof module!="undefined"?module.exports=Be():typeof define=="function"&&define.amd?define(Be):(j=typeof globalThis!="undefined"?globalThis:j||self,j.BeyondWords=Be())})(this,function(){var is,Jo,Ns,Yr,ns,Ds,Zr,Rs,Kr,ss,Us,Jr,Fs,Gr,os,qs,Xr,Hs,Qr,Ys,$r,Zs,ea,Ks,ta,ls,Go,Js,ia,Gs,na,bi,Gi,Fi,Cn,oi,mi,Xs,sa,pn,gs,qi,An,Qs,oa,rs,Xo,zi,mn,as,Qo,Hi,Bn,Mt,Gt,Yi,In,Oi,yn,$s,la,eo,ra,Sn,fs,cs,$o,to,aa,io,ca,no,ua,so,da,ln,Rr;"use strict";function j(){}const Be=t=>t;function je(t,e){for(const i in e)t[i]=e[i];return t}function Ot(t){return t()}function qn(){return Object.create(null)}function Ne(t){t.forEach(Ot)}function Xi(t){return typeof t=="function"}function fe(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let hi;function yi(t,e){return t===e?!0:(hi||(hi=document.createElement("a")),hi.href=e,t===hi.href)}function ga(t){return Object.keys(t).length===0}function Vn(t,e,i,n){if(t){const s=el(t,e,i,n);return t[0](s)}}function el(t,e,i,n){return t[1]&&n?je(i.ctx.slice(),t[1](n(e))):i.ctx}function Wn(t,e,i,n){if(t[2]&&n){const s=t[2](n(i));if(e.dirty===void 0)return s;if(typeof s=="object"){const o=[],l=Math.max(e.dirty.length,s.length);for(let r=0;r<l;r+=1)o[r]=e.dirty[r]|s[r];return o}return e.dirty|s}return e.dirty}function jn(t,e,i,n,s,o){if(s){const l=el(e,i,n,o);t.p(l,s)}}function Mn(t){if(t.ctx.length>32){const e=[],i=t.ctx.length/32;for(let n=0;n<i;n++)e[n]=-1;return e}return-1}function tl(t){return t==null?"":t}function il(t){const e=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return e?[parseFloat(e[1]),e[2]||"px"]:[t,"px"]}const nl=typeof window!="undefined";let fa=nl?()=>window.performance.now():()=>Date.now(),hs=nl?t=>requestAnimationFrame(t):j;const zn=new Set;function sl(t){zn.forEach(e=>{e.c(t)||(zn.delete(e),e.f())}),zn.size!==0&&hs(sl)}function ha(t){let e;return zn.size===0&&hs(sl),{promise:new Promise(i=>{zn.add(e={c:t,f:i})}),abort(){zn.delete(e)}}}const _a=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function f(t,e){t.appendChild(e)}function ol(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function ma(t){const e=m("style");return e.textContent="/* empty */",ya(ol(t),e),e.sheet}function ya(t,e){return f(t.head||t,e),e.sheet}function I(t,e,i){t.insertBefore(e,i||null)}function A(t){t.parentNode&&t.parentNode.removeChild(t)}function Qi(t,e){for(let i=0;i<t.length;i+=1)t[i]&&t[i].d(e)}function m(t){return document.createElement(t)}function be(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function $(t){return document.createTextNode(t)}function K(){return $(" ")}function $i(){return $("")}function L(t,e,i,n){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}function we(t,e,i){i==null?t.removeAttribute(e):t.getAttribute(e)!==i&&t.setAttribute(e,i)}function ba(t){return Array.from(t.childNodes)}function ci(t,e){e=""+e,t.data!==e&&(t.data=e)}function E(t,e){t.value=e==null?"":e}function jt(t,e,i,n){i==null?t.style.removeProperty(e):t.style.setProperty(e,i,n?"important":"")}function Pe(t,e,i){for(let n=0;n<t.options.length;n+=1){const s=t.options[n];if(s.__value===e){s.selected=!0;return}}(!i||e!==void 0)&&(t.selectedIndex=-1)}function yt(t){const e=t.querySelector(":checked");return e&&e.__value}let _s;function va(){if(_s===void 0){_s=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(t){_s=!0}}return _s}function ka(t,e){getComputedStyle(t).position==="static"&&(t.style.position="relative");const n=m("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const s=va();let o;return s?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",o=L(window,"message",l=>{l.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{o=L(n.contentWindow,"resize",e),e()}),f(t,n),()=>{(s||o&&n.contentWindow)&&o(),A(n)}}function re(t,e,i){t.classList.toggle(e,!!i)}function pa(t,e,{bubbles:i=!1,cancelable:n=!1}={}){return new CustomEvent(t,{detail:e,bubbles:i,cancelable:n})}const ms=new Map;let ys=0;function Sa(t){let e=5381,i=t.length;for(;i--;)e=(e<<5)-e^t.charCodeAt(i);return e>>>0}function wa(t,e){const i={stylesheet:ma(e),rules:{}};return ms.set(t,i),i}function ll(t,e,i,n,s,o,l,r=0){const a=16.666/n;let u=`{
|
|
2
2
|
`;for(let p=0;p<=1;p+=a){const O=e+(i-e)*o(p);u+=p*100+`%{${l(O,1-O)}}
|
|
3
3
|
`}const c=u+`100% {${l(i,1-i)}}
|
|
4
|
-
}`,h=`__svelte_${Sa(c)}_${r}`,y=ol(t),{stylesheet:k,rules:_}=ms.get(y)||wa(y,t);_[h]||(_[h]=!0,k.insertRule(`@keyframes ${h} ${c}`,k.cssRules.length));const b=t.style.animation||"";return t.style.animation=`${b?`${b}, `:""}${h} ${n}ms linear ${s}ms 1 both`,ys+=1,h}function Pa(t,e){const i=(t.style.animation||"").split(", "),n=i.filter(e?o=>o.indexOf(e)<0:o=>o.indexOf("__svelte")===-1),s=i.length-n.length;s&&(t.style.animation=n.join(", "),ys-=s,ys||Ta())}function Ta(){hs(()=>{ys||(ms.forEach(t=>{const{ownerNode:e}=t.stylesheet;e&&A(e)}),ms.clear())})}let Hn;function Yn(t){Hn=t}function rl(){if(!Hn)throw new Error("Function called outside component initialization");return Hn}function mo(t){rl().$$.on_mount.push(t)}function Ca(t){rl().$$.on_destroy.push(t)}const On=[],ie=[];let En=[];const yo=[],al=Promise.resolve();let bo=!1;function cl(){bo||(bo=!0,al.then(d))}function Aa(){return cl(),al}function Fe(t){En.push(t)}function me(t){yo.push(t)}const vo=new Set;let xn=0;function d(){if(xn!==0)return;const t=Hn;do{try{for(;xn<On.length;){const e=On[xn];xn++,Yn(e),Ba(e.$$)}}catch(e){throw On.length=0,xn=0,e}for(Yn(null),On.length=0,xn=0;ie.length;)ie.pop()();for(let e=0;e<En.length;e+=1){const i=En[e];vo.has(i)||(vo.add(i),i())}En.length=0}while(On.length);for(;yo.length;)yo.pop()();bo=!1,vo.clear(),Yn(t)}function Ba(t){if(t.fragment!==null){t.update(),Ne(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(Fe)}}function Ia(t){const e=[],i=[];En.forEach(n=>t.indexOf(n)===-1?e.push(n):i.push(n)),i.forEach(n=>n()),En=e}let Zn;function Va(){return Zn||(Zn=Promise.resolve(),Zn.then(()=>{Zn=null})),Zn}function ko(t,e,i){t.dispatchEvent(pa(`${e?"intro":"outro"}${i}`))}const bs=new Set;let Li;function xe(){Li={r:0,c:[],p:Li}}function Le(){Li.r||Ne(Li.c),Li=Li.p}function P(t,e){t&&t.i&&(bs.delete(t),t.i(e))}function V(t,e,i,n){if(t&&t.o){if(bs.has(t))return;bs.add(t),Li.c.push(()=>{bs.delete(t),n&&(i&&t.d(1),n())}),t.o(e)}else n&&n()}const Wa={duration:0};function ul(t,e,i,n){let o=e(t,i,{direction:"both"}),l=n?0:1,r=null,a=null,u=null,c;function h(){u&&Pa(t,u)}function y(_,b){const p=_.b-l;return b*=Math.abs(p),{a:l,b:_.b,d:p,duration:b,start:_.start,end:_.start+b,group:_.group}}function k(_){const{delay:b=0,duration:p=300,easing:O=Be,tick:z=j,css:de}=o||Wa,X={start:fa()+b,b:_};_||(X.group=Li,Li.r+=1),"inert"in t&&(_?c!==void 0&&(t.inert=c):(c=t.inert,t.inert=!0)),r||a?a=X:(de&&(h(),u=ll(t,l,_,p,b,O,de)),_&&z(0,1),r=y(X,p),Fe(()=>ko(t,_,"start")),ha(x=>{if(a&&x>a.start&&(r=y(a,p),a=null,ko(t,r.b,"start"),de&&(h(),u=ll(t,l,r.b,r.duration,0,O,o.css))),r){if(x>=r.end)z(l=r.b,1-l),ko(t,r.b,"end"),a||(r.b?h():--r.group.r||Ne(r.group.c)),r=null;else if(x>=r.start){const D=x-r.start;l=r.a+r.d*O(D/r.duration),z(l,1-l)}}return!!(r||a)}))}return{run(_){Xi(o)?Va().then(()=>{o=o({direction:_?"in":"out"}),k(_)}):k(_)},end(){h(),r=a=null}}}function Et(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function ja(t,e){V(t,1,1,()=>{e.delete(t.key)})}function Ma(t,e,i,n,s,o,l,r,a,u,c,h){let y=t.length,k=o.length,_=y;const b={};for(;_--;)b[t[_].key]=_;const p=[],O=new Map,z=new Map,de=[];for(_=k;_--;){const U=h(s,o,_),N=i(U);let J=l.get(N);J?n&&de.push(()=>J.p(U,e)):(J=u(N,U),J.c()),O.set(N,p[_]=J),N in b&&z.set(N,Math.abs(_-b[N]))}const X=new Set,x=new Set;function D(U){P(U,1),U.m(r,c),l.set(U.key,U),c=U.first,k--}for(;y&&k;){const U=p[k-1],N=t[y-1],J=U.key,ge=N.key;U===N?(c=U.first,y--,k--):O.has(ge)?!l.has(J)||X.has(J)?D(U):x.has(ge)?y--:z.get(J)>z.get(ge)?(x.add(J),D(U)):(X.add(ge),y--):(a(N,l),y--)}for(;y--;){const U=t[y];O.has(U.key)||a(U,l)}for(;k;)D(p[k-1]);return Ne(de),p}function ye(t,e,i){const n=t.$$.props[e];n!==void 0&&(t.$$.bound[n]=i,i(t.$$.ctx[n]))}function ue(t){t&&t.c()}function ae(t,e,i){const{fragment:n,after_update:s}=t.$$;n&&n.m(e,i),Fe(()=>{const o=t.$$.on_mount.map(Ot).filter(Xi);t.$$.on_destroy?t.$$.on_destroy.push(...o):Ne(o),t.$$.on_mount=[]}),s.forEach(Fe)}function ce(t,e){const i=t.$$;i.fragment!==null&&(Ia(i.after_update),Ne(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function za(t,e){t.$$.dirty[0]===-1&&(On.push(t),cl(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function ve(t,e,i,n,s,o,l,r=[-1]){const a=Hn;Yn(t);const u=t.$$={fragment:null,ctx:[],props:o,update:j,not_equal:s,bound:qn(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:qn(),dirty:r,skip_bound:!1,root:e.target||a.$$.root};l&&l(u.root);let c=!1;if(u.ctx=i?i(t,e.props||{},(h,y,...k)=>{const _=k.length?k[0]:y;return u.ctx&&s(u.ctx[h],u.ctx[h]=_)&&(!u.skip_bound&&u.bound[h]&&u.bound[h](_),c&&za(t,h)),y}):[],u.update(),c=!0,Ne(u.before_update),u.fragment=n?n(u.ctx):!1,e.target){if(e.hydrate){const h=ba(e.target);u.fragment&&u.fragment.l(h),h.forEach(A)}else u.fragment&&u.fragment.c();e.intro&&P(t.$$.fragment),ae(t,e.target,e.anchor),d()}Yn(a)}class ke{constructor(){Zo(this,"$$");Zo(this,"$$set")}$destroy(){ce(this,1),this.$destroy=j}$on(e,i){if(!Xi(i))return j;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(i),()=>{const s=n.indexOf(i);s!==-1&&n.splice(s,1)}}$set(e){this.$$set&&!ga(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Oa="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Oa);const Ea="@beyondwords/player",vs="0.1.
|
|
4
|
+
}`,h=`__svelte_${Sa(c)}_${r}`,y=ol(t),{stylesheet:k,rules:_}=ms.get(y)||wa(y,t);_[h]||(_[h]=!0,k.insertRule(`@keyframes ${h} ${c}`,k.cssRules.length));const b=t.style.animation||"";return t.style.animation=`${b?`${b}, `:""}${h} ${n}ms linear ${s}ms 1 both`,ys+=1,h}function Pa(t,e){const i=(t.style.animation||"").split(", "),n=i.filter(e?o=>o.indexOf(e)<0:o=>o.indexOf("__svelte")===-1),s=i.length-n.length;s&&(t.style.animation=n.join(", "),ys-=s,ys||Ta())}function Ta(){hs(()=>{ys||(ms.forEach(t=>{const{ownerNode:e}=t.stylesheet;e&&A(e)}),ms.clear())})}let Hn;function Yn(t){Hn=t}function rl(){if(!Hn)throw new Error("Function called outside component initialization");return Hn}function mo(t){rl().$$.on_mount.push(t)}function Ca(t){rl().$$.on_destroy.push(t)}const On=[],ie=[];let En=[];const yo=[],al=Promise.resolve();let bo=!1;function cl(){bo||(bo=!0,al.then(d))}function Aa(){return cl(),al}function Fe(t){En.push(t)}function me(t){yo.push(t)}const vo=new Set;let xn=0;function d(){if(xn!==0)return;const t=Hn;do{try{for(;xn<On.length;){const e=On[xn];xn++,Yn(e),Ba(e.$$)}}catch(e){throw On.length=0,xn=0,e}for(Yn(null),On.length=0,xn=0;ie.length;)ie.pop()();for(let e=0;e<En.length;e+=1){const i=En[e];vo.has(i)||(vo.add(i),i())}En.length=0}while(On.length);for(;yo.length;)yo.pop()();bo=!1,vo.clear(),Yn(t)}function Ba(t){if(t.fragment!==null){t.update(),Ne(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(Fe)}}function Ia(t){const e=[],i=[];En.forEach(n=>t.indexOf(n)===-1?e.push(n):i.push(n)),i.forEach(n=>n()),En=e}let Zn;function Va(){return Zn||(Zn=Promise.resolve(),Zn.then(()=>{Zn=null})),Zn}function ko(t,e,i){t.dispatchEvent(pa(`${e?"intro":"outro"}${i}`))}const bs=new Set;let Li;function xe(){Li={r:0,c:[],p:Li}}function Le(){Li.r||Ne(Li.c),Li=Li.p}function P(t,e){t&&t.i&&(bs.delete(t),t.i(e))}function V(t,e,i,n){if(t&&t.o){if(bs.has(t))return;bs.add(t),Li.c.push(()=>{bs.delete(t),n&&(i&&t.d(1),n())}),t.o(e)}else n&&n()}const Wa={duration:0};function ul(t,e,i,n){let o=e(t,i,{direction:"both"}),l=n?0:1,r=null,a=null,u=null,c;function h(){u&&Pa(t,u)}function y(_,b){const p=_.b-l;return b*=Math.abs(p),{a:l,b:_.b,d:p,duration:b,start:_.start,end:_.start+b,group:_.group}}function k(_){const{delay:b=0,duration:p=300,easing:O=Be,tick:z=j,css:de}=o||Wa,X={start:fa()+b,b:_};_||(X.group=Li,Li.r+=1),"inert"in t&&(_?c!==void 0&&(t.inert=c):(c=t.inert,t.inert=!0)),r||a?a=X:(de&&(h(),u=ll(t,l,_,p,b,O,de)),_&&z(0,1),r=y(X,p),Fe(()=>ko(t,_,"start")),ha(x=>{if(a&&x>a.start&&(r=y(a,p),a=null,ko(t,r.b,"start"),de&&(h(),u=ll(t,l,r.b,r.duration,0,O,o.css))),r){if(x>=r.end)z(l=r.b,1-l),ko(t,r.b,"end"),a||(r.b?h():--r.group.r||Ne(r.group.c)),r=null;else if(x>=r.start){const D=x-r.start;l=r.a+r.d*O(D/r.duration),z(l,1-l)}}return!!(r||a)}))}return{run(_){Xi(o)?Va().then(()=>{o=o({direction:_?"in":"out"}),k(_)}):k(_)},end(){h(),r=a=null}}}function Et(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function ja(t,e){V(t,1,1,()=>{e.delete(t.key)})}function Ma(t,e,i,n,s,o,l,r,a,u,c,h){let y=t.length,k=o.length,_=y;const b={};for(;_--;)b[t[_].key]=_;const p=[],O=new Map,z=new Map,de=[];for(_=k;_--;){const U=h(s,o,_),N=i(U);let J=l.get(N);J?n&&de.push(()=>J.p(U,e)):(J=u(N,U),J.c()),O.set(N,p[_]=J),N in b&&z.set(N,Math.abs(_-b[N]))}const X=new Set,x=new Set;function D(U){P(U,1),U.m(r,c),l.set(U.key,U),c=U.first,k--}for(;y&&k;){const U=p[k-1],N=t[y-1],J=U.key,ge=N.key;U===N?(c=U.first,y--,k--):O.has(ge)?!l.has(J)||X.has(J)?D(U):x.has(ge)?y--:z.get(J)>z.get(ge)?(x.add(J),D(U)):(X.add(ge),y--):(a(N,l),y--)}for(;y--;){const U=t[y];O.has(U.key)||a(U,l)}for(;k;)D(p[k-1]);return Ne(de),p}function ye(t,e,i){const n=t.$$.props[e];n!==void 0&&(t.$$.bound[n]=i,i(t.$$.ctx[n]))}function ue(t){t&&t.c()}function ae(t,e,i){const{fragment:n,after_update:s}=t.$$;n&&n.m(e,i),Fe(()=>{const o=t.$$.on_mount.map(Ot).filter(Xi);t.$$.on_destroy?t.$$.on_destroy.push(...o):Ne(o),t.$$.on_mount=[]}),s.forEach(Fe)}function ce(t,e){const i=t.$$;i.fragment!==null&&(Ia(i.after_update),Ne(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function za(t,e){t.$$.dirty[0]===-1&&(On.push(t),cl(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function ve(t,e,i,n,s,o,l,r=[-1]){const a=Hn;Yn(t);const u=t.$$={fragment:null,ctx:[],props:o,update:j,not_equal:s,bound:qn(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:qn(),dirty:r,skip_bound:!1,root:e.target||a.$$.root};l&&l(u.root);let c=!1;if(u.ctx=i?i(t,e.props||{},(h,y,...k)=>{const _=k.length?k[0]:y;return u.ctx&&s(u.ctx[h],u.ctx[h]=_)&&(!u.skip_bound&&u.bound[h]&&u.bound[h](_),c&&za(t,h)),y}):[],u.update(),c=!0,Ne(u.before_update),u.fragment=n?n(u.ctx):!1,e.target){if(e.hydrate){const h=ba(e.target);u.fragment&&u.fragment.l(h),h.forEach(A)}else u.fragment&&u.fragment.c();e.intro&&P(t.$$.fragment),ae(t,e.target,e.anchor),d()}Yn(a)}class ke{constructor(){Zo(this,"$$");Zo(this,"$$set")}$destroy(){ce(this,1),this.$destroy=j}$on(e,i){if(!Xi(i))return j;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(i),()=>{const s=n.indexOf(i);s!==-1&&n.splice(s,1)}}$set(e){this.$$set&&!ga(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Oa="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Oa);const Ea="@beyondwords/player",vs="0.1.3",Xt=(t,e)=>{t=[t].flat().join(`
|
|
5
5
|
`);let i=`${Ea}:
|
|
6
6
|
|
|
7
7
|
${t}`;if(e){i+=`
|