kc-plate-editor 0.3.2 → 0.3.4

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.
Files changed (40) hide show
  1. package/dist/{index-B9jFBuVJ.cjs → index-BEIMyJvn.js} +1 -1
  2. package/dist/{index-D5R9tPIM.js → index-CQ9MhVRi.mjs} +2 -2
  3. package/dist/{index-CI-um7kw.js → index-CxbsEMQ5.mjs} +1 -1
  4. package/dist/{index-Bh8w1JAM.cjs → index-CzbKD9PC.js} +5 -5
  5. package/dist/{index-hCIdZ_Vi.cjs → index-GZ6v9nbY.js} +1 -1
  6. package/dist/{index-BqmOwSZO.js → index-Nn_Rxwrx.mjs} +19 -19
  7. package/dist/index.cjs +1 -1
  8. package/dist/index.mjs +1 -1
  9. package/dist/react-C-6r15yv.js +16 -0
  10. package/dist/{react-LIndOFtY.js → react-CYElXqmt.mjs} +2 -2
  11. package/dist/{react-Bc9tMIHF.js → react-CZcIaMtb.mjs} +2 -2
  12. package/dist/react-hxgauqI7.js +11 -0
  13. package/dist/style.css +1 -1
  14. package/package.json +1 -2
  15. package/dist/react-U07OTDVt.cjs +0 -16
  16. package/dist/react-tGwRm5U-.cjs +0 -11
  17. /package/dist/{Preview-BGDe7OsV.cjs → Preview-BGDe7OsV.js} +0 -0
  18. /package/dist/{Preview-ckip2XGc.js → Preview-ckip2XGc.mjs} +0 -0
  19. /package/dist/{custom-media-element-B4vskoi6.js → custom-media-element-B4vskoi6.mjs} +0 -0
  20. /package/dist/{custom-media-element-CiqdUTcd.cjs → custom-media-element-CiqdUTcd.js} +0 -0
  21. /package/dist/{dash.all.min-VODXcrvW.cjs → dash.all.min-VODXcrvW.js} +0 -0
  22. /package/dist/{dash.all.min-mZ3IpU_5.js → dash.all.min-mZ3IpU_5.mjs} +0 -0
  23. /package/dist/{hls-C54ON8N6.cjs → hls-C54ON8N6.js} +0 -0
  24. /package/dist/{hls-Cn4MnxsU.js → hls-Cn4MnxsU.mjs} +0 -0
  25. /package/dist/{html2canvas-pro.esm-B7aTk6co.cjs → html2canvas-pro.esm-B7aTk6co.js} +0 -0
  26. /package/dist/{html2canvas-pro.esm-CQOXKWpT.js → html2canvas-pro.esm-CQOXKWpT.mjs} +0 -0
  27. /package/dist/{react-0OewwyjJ.js → react-0OewwyjJ.mjs} +0 -0
  28. /package/dist/{react-1jldl5V6.cjs → react-1jldl5V6.js} +0 -0
  29. /package/dist/{react-4oo9GGvM.cjs → react-4oo9GGvM.js} +0 -0
  30. /package/dist/{react-B6p7WDog.js → react-B6p7WDog.mjs} +0 -0
  31. /package/dist/{react-BB71DO7H.cjs → react-BB71DO7H.js} +0 -0
  32. /package/dist/{react-BhxJwm-d.cjs → react-BhxJwm-d.js} +0 -0
  33. /package/dist/{react-Bv-bWJKt.js → react-Bv-bWJKt.mjs} +0 -0
  34. /package/dist/{react-C-QUBeUY.cjs → react-C-QUBeUY.js} +0 -0
  35. /package/dist/{react-CbduCSo9.js → react-CbduCSo9.mjs} +0 -0
  36. /package/dist/{react-D2Xlskb3.js → react-D2Xlskb3.mjs} +0 -0
  37. /package/dist/{react-DE-5wXKn.js → react-DE-5wXKn.mjs} +0 -0
  38. /package/dist/{react-DGu3YNSU.cjs → react-DGu3YNSU.js} +0 -0
  39. /package/dist/{server.browser-BzSRCBp5.cjs → server.browser-BzSRCBp5.js} +0 -0
  40. /package/dist/{server.browser-DNro-WMz.js → server.browser-DNro-WMz.mjs} +0 -0
@@ -1,4 +1,4 @@
1
- "use strict";var ef=Object.defineProperty;var tf=Object.getPrototypeOf;var af=Reflect.get;var rc=e=>{throw TypeError(e)};var rf=(e,t,i)=>t in e?ef(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;var nc=(e,t,i)=>rf(e,typeof t!="symbol"?t+"":t,i),Uo=(e,t,i)=>t.has(e)||rc("Cannot "+i);var k=(e,t,i)=>(Uo(e,t,"read from private field"),i?i.call(e):t.get(e)),Be=(e,t,i)=>t.has(e)?rc("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),nt=(e,t,i,a)=>(Uo(e,t,"write to private field"),a?a.call(e,i):t.set(e,i),i),st=(e,t,i)=>(Uo(e,t,"access private method"),i);var bn=(e,t,i)=>af(tf(e),i,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Kt=require("react"),Hh=require("./hls-C54ON8N6.cjs"),gn=require("./custom-media-element-CiqdUTcd.cjs");function nf(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const a=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,a.get?a:{enumerable:!0,get:()=>e[i]})}}return t.default=e,Object.freeze(t)}const sf=nf(Kt);var of=Object.create,Bh=Object.defineProperty,lf=Object.getOwnPropertyDescriptor,df=Object.getOwnPropertyNames,uf=Object.getPrototypeOf,cf=Object.prototype.hasOwnProperty,Wh=function(e,t){return function(){return e&&(t=e(e=0)),t}},Ke=function(e,t){return function(){return t||e((t={exports:{}}).exports,t),t.exports}},hf=function(e,t,i,a){if(t&&typeof t=="object"||typeof t=="function")for(var r=df(t),n=0,s=r.length,l;n<s;n++)l=r[n],!cf.call(e,l)&&l!==i&&Bh(e,l,{get:function(o){return t[o]}.bind(null,l),enumerable:!(a=lf(t,l))||a.enumerable});return e},it=function(e,t,i){return i=e!=null?of(uf(e)):{},hf(!e||!e.__esModule?Bh(i,"default",{value:e,enumerable:!0}):i,e)},St=Ke(function(e,t){var i;typeof window<"u"?i=window:typeof global<"u"?i=global:typeof self<"u"?i=self:i={},t.exports=i});function da(e,t){return t!=null&&typeof Symbol<"u"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):da(e,t)}var ua=Wh(function(){ua()});function Fh(e){"@swc/helpers - typeof";return e&&typeof Symbol<"u"&&e.constructor===Symbol?"symbol":typeof e}var Kh=Wh(function(){}),Vh=Ke(function(e,t){var i=Array.prototype.slice;t.exports=a;function a(r,n){for(("length"in r)||(r=[r]),r=i.call(r);r.length;){var s=r.shift(),l=n(s);if(l)return l;s.childNodes&&s.childNodes.length&&(r=i.call(s.childNodes).concat(r))}}}),mf=Ke(function(e,t){ua(),t.exports=i;function i(a,r){if(!da(this,i))return new i(a,r);this.data=a,this.nodeValue=a,this.length=a.length,this.ownerDocument=r||null}i.prototype.nodeType=8,i.prototype.nodeName="#comment",i.prototype.toString=function(){return"[object Comment]"}}),pf=Ke(function(e,t){ua(),t.exports=i;function i(a,r){if(!da(this,i))return new i(a);this.data=a||"",this.length=this.data.length,this.ownerDocument=r||null}i.prototype.type="DOMTextNode",i.prototype.nodeType=3,i.prototype.nodeName="#text",i.prototype.toString=function(){return this.data},i.prototype.replaceData=function(a,r,n){var s=this.data,l=s.substring(0,a),o=s.substring(a+r,s.length);this.data=l+n+o,this.length=this.data.length}}),qh=Ke(function(e,t){t.exports=i;function i(a){var r=this,n=a.type;a.target||(a.target=r),r.listeners||(r.listeners={});var s=r.listeners[n];if(s)return s.forEach(function(l){a.currentTarget=r,typeof l=="function"?l(a):l.handleEvent(a)});r.parentNode&&r.parentNode.dispatchEvent(a)}}),Yh=Ke(function(e,t){t.exports=i;function i(a,r){var n=this;n.listeners||(n.listeners={}),n.listeners[a]||(n.listeners[a]=[]),n.listeners[a].indexOf(r)===-1&&n.listeners[a].push(r)}}),Gh=Ke(function(e,t){t.exports=i;function i(a,r){var n=this;if(n.listeners&&n.listeners[a]){var s=n.listeners[a],l=s.indexOf(r);l!==-1&&s.splice(l,1)}}}),vf=Ke(function(e,t){Kh(),t.exports=a;var i=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];function a(c){switch(c.nodeType){case 3:return m(c.data);case 8:return"<!--"+c.data+"-->";default:return r(c)}}function r(c){var h=[],v=c.tagName;return c.namespaceURI==="http://www.w3.org/1999/xhtml"&&(v=v.toLowerCase()),h.push("<"+v+d(c)+l(c)),i.indexOf(v)>-1?h.push(" />"):(h.push(">"),c.childNodes.length?h.push.apply(h,c.childNodes.map(a)):c.textContent||c.innerText?h.push(m(c.textContent||c.innerText)):c.innerHTML&&h.push(c.innerHTML),h.push("</"+v+">")),h.join("")}function n(c,h){var v=Fh(c[h]);return h==="style"&&Object.keys(c.style).length>0?!0:c.hasOwnProperty(h)&&(v==="string"||v==="boolean"||v==="number")&&h!=="nodeName"&&h!=="className"&&h!=="tagName"&&h!=="textContent"&&h!=="innerText"&&h!=="namespaceURI"&&h!=="innerHTML"}function s(c){if(typeof c=="string")return c;var h="";return Object.keys(c).forEach(function(v){var g=c[v];v=v.replace(/[A-Z]/g,function(E){return"-"+E.toLowerCase()}),h+=v+":"+g+";"}),h}function l(c){var h=c.dataset,v=[];for(var g in h)v.push({name:"data-"+g,value:h[g]});return v.length?o(v):""}function o(c){var h=[];return c.forEach(function(v){var g=v.name,E=v.value;g==="style"&&(E=s(E)),h.push(g+'="'+p(E)+'"')}),h.length?" "+h.join(" "):""}function d(c){var h=[];for(var v in c)n(c,v)&&h.push({name:v,value:c[v]});for(var g in c._attributes)for(var E in c._attributes[g]){var y=c._attributes[g][E],T=(y.prefix?y.prefix+":":"")+E;h.push({name:T,value:y.value})}return c.className&&h.push({name:"class",value:c.className}),h.length?o(h):""}function m(c){var h="";return typeof c=="string"?h=c:c&&(h=c.toString()),h.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function p(c){return m(c).replace(/"/g,"&quot;")}}),jh=Ke(function(e,t){ua();var i=Vh(),a=qh(),r=Yh(),n=Gh(),s=vf(),l="http://www.w3.org/1999/xhtml";t.exports=o;function o(d,m,p){if(!da(this,o))return new o(d);var c=p===void 0?l:p||null;this.tagName=c===l?String(d).toUpperCase():d,this.nodeName=this.tagName,this.className="",this.dataset={},this.childNodes=[],this.parentNode=null,this.style={},this.ownerDocument=m||null,this.namespaceURI=c,this._attributes={},this.tagName==="INPUT"&&(this.type="text")}o.prototype.type="DOMElement",o.prototype.nodeType=1,o.prototype.appendChild=function(d){return d.parentNode&&d.parentNode.removeChild(d),this.childNodes.push(d),d.parentNode=this,d},o.prototype.replaceChild=function(d,m){d.parentNode&&d.parentNode.removeChild(d);var p=this.childNodes.indexOf(m);return m.parentNode=null,this.childNodes[p]=d,d.parentNode=this,m},o.prototype.removeChild=function(d){var m=this.childNodes.indexOf(d);return this.childNodes.splice(m,1),d.parentNode=null,d},o.prototype.insertBefore=function(d,m){d.parentNode&&d.parentNode.removeChild(d);var p=m==null?-1:this.childNodes.indexOf(m);return p>-1?this.childNodes.splice(p,0,d):this.childNodes.push(d),d.parentNode=this,d},o.prototype.setAttributeNS=function(d,m,p){var c=null,h=m,v=m.indexOf(":");if(v>-1&&(c=m.substr(0,v),h=m.substr(v+1)),this.tagName==="INPUT"&&m==="type")this.type=p;else{var g=this._attributes[d]||(this._attributes[d]={});g[h]={value:p,prefix:c}}},o.prototype.getAttributeNS=function(d,m){var p=this._attributes[d],c=p&&p[m]&&p[m].value;return this.tagName==="INPUT"&&m==="type"?this.type:typeof c!="string"?null:c},o.prototype.removeAttributeNS=function(d,m){var p=this._attributes[d];p&&delete p[m]},o.prototype.hasAttributeNS=function(d,m){var p=this._attributes[d];return!!p&&m in p},o.prototype.setAttribute=function(d,m){return this.setAttributeNS(null,d,m)},o.prototype.getAttribute=function(d){return this.getAttributeNS(null,d)},o.prototype.removeAttribute=function(d){return this.removeAttributeNS(null,d)},o.prototype.hasAttribute=function(d){return this.hasAttributeNS(null,d)},o.prototype.removeEventListener=n,o.prototype.addEventListener=r,o.prototype.dispatchEvent=a,o.prototype.focus=function(){},o.prototype.toString=function(){return s(this)},o.prototype.getElementsByClassName=function(d){var m=d.split(" "),p=[];return i(this,function(c){if(c.nodeType===1){var h=c.className||"",v=h.split(" ");m.every(function(g){return v.indexOf(g)!==-1})&&p.push(c)}}),p},o.prototype.getElementsByTagName=function(d){d=d.toLowerCase();var m=[];return i(this.childNodes,function(p){p.nodeType===1&&(d==="*"||p.tagName.toLowerCase()===d)&&m.push(p)}),m},o.prototype.contains=function(d){return i(this,function(m){return d===m})||!1}}),ff=Ke(function(e,t){ua();var i=jh();t.exports=a;function a(r){if(!da(this,a))return new a;this.childNodes=[],this.parentNode=null,this.ownerDocument=r||null}a.prototype.type="DocumentFragment",a.prototype.nodeType=11,a.prototype.nodeName="#document-fragment",a.prototype.appendChild=i.prototype.appendChild,a.prototype.replaceChild=i.prototype.replaceChild,a.prototype.removeChild=i.prototype.removeChild,a.prototype.toString=function(){return this.childNodes.map(function(r){return String(r)}).join("")}}),Ef=Ke(function(e,t){t.exports=i;function i(a){}i.prototype.initEvent=function(a,r,n){this.type=a,this.bubbles=r,this.cancelable=n},i.prototype.preventDefault=function(){}}),_f=Ke(function(e,t){ua();var i=Vh(),a=mf(),r=pf(),n=jh(),s=ff(),l=Ef(),o=qh(),d=Yh(),m=Gh();t.exports=p;function p(){if(!da(this,p))return new p;this.head=this.createElement("head"),this.body=this.createElement("body"),this.documentElement=this.createElement("html"),this.documentElement.appendChild(this.head),this.documentElement.appendChild(this.body),this.childNodes=[this.documentElement],this.nodeType=9}var c=p.prototype;c.createTextNode=function(h){return new r(h,this)},c.createElementNS=function(h,v){var g=h===null?null:String(h);return new n(v,this,g)},c.createElement=function(h){return new n(h,this)},c.createDocumentFragment=function(){return new s(this)},c.createEvent=function(h){return new l(h)},c.createComment=function(h){return new a(h,this)},c.getElementById=function(h){h=String(h);var v=i(this.childNodes,function(g){if(String(g.id)===h)return g});return v||null},c.getElementsByClassName=n.prototype.getElementsByClassName,c.getElementsByTagName=n.prototype.getElementsByTagName,c.contains=n.prototype.contains,c.removeEventListener=m,c.addEventListener=d,c.dispatchEvent=o}),bf=Ke(function(e,t){var i=_f();t.exports=new i}),Qh=Ke(function(e,t){var i=typeof global<"u"?global:typeof window<"u"?window:{},a=bf(),r;typeof document<"u"?r=document:(r=i["__GLOBAL_DOCUMENT_CACHE@4"],r||(r=i["__GLOBAL_DOCUMENT_CACHE@4"]=a)),t.exports=r});function gf(e){if(Array.isArray(e))return e}function yf(e,t){var i=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(i!=null){var a=[],r=!0,n=!1,s,l;try{for(i=i.call(e);!(r=(s=i.next()).done)&&(a.push(s.value),!(t&&a.length===t));r=!0);}catch(o){n=!0,l=o}finally{try{!r&&i.return!=null&&i.return()}finally{if(n)throw l}}return a}}function Tf(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1
+ "use strict";var ef=Object.defineProperty;var tf=Object.getPrototypeOf;var af=Reflect.get;var rc=e=>{throw TypeError(e)};var rf=(e,t,i)=>t in e?ef(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;var nc=(e,t,i)=>rf(e,typeof t!="symbol"?t+"":t,i),Uo=(e,t,i)=>t.has(e)||rc("Cannot "+i);var k=(e,t,i)=>(Uo(e,t,"read from private field"),i?i.call(e):t.get(e)),Be=(e,t,i)=>t.has(e)?rc("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),nt=(e,t,i,a)=>(Uo(e,t,"write to private field"),a?a.call(e,i):t.set(e,i),i),st=(e,t,i)=>(Uo(e,t,"access private method"),i);var bn=(e,t,i)=>af(tf(e),i,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Kt=require("react"),Hh=require("./hls-C54ON8N6.js"),gn=require("./custom-media-element-CiqdUTcd.js");function nf(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const a=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,a.get?a:{enumerable:!0,get:()=>e[i]})}}return t.default=e,Object.freeze(t)}const sf=nf(Kt);var of=Object.create,Bh=Object.defineProperty,lf=Object.getOwnPropertyDescriptor,df=Object.getOwnPropertyNames,uf=Object.getPrototypeOf,cf=Object.prototype.hasOwnProperty,Wh=function(e,t){return function(){return e&&(t=e(e=0)),t}},Ke=function(e,t){return function(){return t||e((t={exports:{}}).exports,t),t.exports}},hf=function(e,t,i,a){if(t&&typeof t=="object"||typeof t=="function")for(var r=df(t),n=0,s=r.length,l;n<s;n++)l=r[n],!cf.call(e,l)&&l!==i&&Bh(e,l,{get:function(o){return t[o]}.bind(null,l),enumerable:!(a=lf(t,l))||a.enumerable});return e},it=function(e,t,i){return i=e!=null?of(uf(e)):{},hf(!e||!e.__esModule?Bh(i,"default",{value:e,enumerable:!0}):i,e)},St=Ke(function(e,t){var i;typeof window<"u"?i=window:typeof global<"u"?i=global:typeof self<"u"?i=self:i={},t.exports=i});function da(e,t){return t!=null&&typeof Symbol<"u"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):da(e,t)}var ua=Wh(function(){ua()});function Fh(e){"@swc/helpers - typeof";return e&&typeof Symbol<"u"&&e.constructor===Symbol?"symbol":typeof e}var Kh=Wh(function(){}),Vh=Ke(function(e,t){var i=Array.prototype.slice;t.exports=a;function a(r,n){for(("length"in r)||(r=[r]),r=i.call(r);r.length;){var s=r.shift(),l=n(s);if(l)return l;s.childNodes&&s.childNodes.length&&(r=i.call(s.childNodes).concat(r))}}}),mf=Ke(function(e,t){ua(),t.exports=i;function i(a,r){if(!da(this,i))return new i(a,r);this.data=a,this.nodeValue=a,this.length=a.length,this.ownerDocument=r||null}i.prototype.nodeType=8,i.prototype.nodeName="#comment",i.prototype.toString=function(){return"[object Comment]"}}),pf=Ke(function(e,t){ua(),t.exports=i;function i(a,r){if(!da(this,i))return new i(a);this.data=a||"",this.length=this.data.length,this.ownerDocument=r||null}i.prototype.type="DOMTextNode",i.prototype.nodeType=3,i.prototype.nodeName="#text",i.prototype.toString=function(){return this.data},i.prototype.replaceData=function(a,r,n){var s=this.data,l=s.substring(0,a),o=s.substring(a+r,s.length);this.data=l+n+o,this.length=this.data.length}}),qh=Ke(function(e,t){t.exports=i;function i(a){var r=this,n=a.type;a.target||(a.target=r),r.listeners||(r.listeners={});var s=r.listeners[n];if(s)return s.forEach(function(l){a.currentTarget=r,typeof l=="function"?l(a):l.handleEvent(a)});r.parentNode&&r.parentNode.dispatchEvent(a)}}),Yh=Ke(function(e,t){t.exports=i;function i(a,r){var n=this;n.listeners||(n.listeners={}),n.listeners[a]||(n.listeners[a]=[]),n.listeners[a].indexOf(r)===-1&&n.listeners[a].push(r)}}),Gh=Ke(function(e,t){t.exports=i;function i(a,r){var n=this;if(n.listeners&&n.listeners[a]){var s=n.listeners[a],l=s.indexOf(r);l!==-1&&s.splice(l,1)}}}),vf=Ke(function(e,t){Kh(),t.exports=a;var i=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];function a(c){switch(c.nodeType){case 3:return m(c.data);case 8:return"<!--"+c.data+"-->";default:return r(c)}}function r(c){var h=[],v=c.tagName;return c.namespaceURI==="http://www.w3.org/1999/xhtml"&&(v=v.toLowerCase()),h.push("<"+v+d(c)+l(c)),i.indexOf(v)>-1?h.push(" />"):(h.push(">"),c.childNodes.length?h.push.apply(h,c.childNodes.map(a)):c.textContent||c.innerText?h.push(m(c.textContent||c.innerText)):c.innerHTML&&h.push(c.innerHTML),h.push("</"+v+">")),h.join("")}function n(c,h){var v=Fh(c[h]);return h==="style"&&Object.keys(c.style).length>0?!0:c.hasOwnProperty(h)&&(v==="string"||v==="boolean"||v==="number")&&h!=="nodeName"&&h!=="className"&&h!=="tagName"&&h!=="textContent"&&h!=="innerText"&&h!=="namespaceURI"&&h!=="innerHTML"}function s(c){if(typeof c=="string")return c;var h="";return Object.keys(c).forEach(function(v){var g=c[v];v=v.replace(/[A-Z]/g,function(E){return"-"+E.toLowerCase()}),h+=v+":"+g+";"}),h}function l(c){var h=c.dataset,v=[];for(var g in h)v.push({name:"data-"+g,value:h[g]});return v.length?o(v):""}function o(c){var h=[];return c.forEach(function(v){var g=v.name,E=v.value;g==="style"&&(E=s(E)),h.push(g+'="'+p(E)+'"')}),h.length?" "+h.join(" "):""}function d(c){var h=[];for(var v in c)n(c,v)&&h.push({name:v,value:c[v]});for(var g in c._attributes)for(var E in c._attributes[g]){var y=c._attributes[g][E],T=(y.prefix?y.prefix+":":"")+E;h.push({name:T,value:y.value})}return c.className&&h.push({name:"class",value:c.className}),h.length?o(h):""}function m(c){var h="";return typeof c=="string"?h=c:c&&(h=c.toString()),h.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function p(c){return m(c).replace(/"/g,"&quot;")}}),jh=Ke(function(e,t){ua();var i=Vh(),a=qh(),r=Yh(),n=Gh(),s=vf(),l="http://www.w3.org/1999/xhtml";t.exports=o;function o(d,m,p){if(!da(this,o))return new o(d);var c=p===void 0?l:p||null;this.tagName=c===l?String(d).toUpperCase():d,this.nodeName=this.tagName,this.className="",this.dataset={},this.childNodes=[],this.parentNode=null,this.style={},this.ownerDocument=m||null,this.namespaceURI=c,this._attributes={},this.tagName==="INPUT"&&(this.type="text")}o.prototype.type="DOMElement",o.prototype.nodeType=1,o.prototype.appendChild=function(d){return d.parentNode&&d.parentNode.removeChild(d),this.childNodes.push(d),d.parentNode=this,d},o.prototype.replaceChild=function(d,m){d.parentNode&&d.parentNode.removeChild(d);var p=this.childNodes.indexOf(m);return m.parentNode=null,this.childNodes[p]=d,d.parentNode=this,m},o.prototype.removeChild=function(d){var m=this.childNodes.indexOf(d);return this.childNodes.splice(m,1),d.parentNode=null,d},o.prototype.insertBefore=function(d,m){d.parentNode&&d.parentNode.removeChild(d);var p=m==null?-1:this.childNodes.indexOf(m);return p>-1?this.childNodes.splice(p,0,d):this.childNodes.push(d),d.parentNode=this,d},o.prototype.setAttributeNS=function(d,m,p){var c=null,h=m,v=m.indexOf(":");if(v>-1&&(c=m.substr(0,v),h=m.substr(v+1)),this.tagName==="INPUT"&&m==="type")this.type=p;else{var g=this._attributes[d]||(this._attributes[d]={});g[h]={value:p,prefix:c}}},o.prototype.getAttributeNS=function(d,m){var p=this._attributes[d],c=p&&p[m]&&p[m].value;return this.tagName==="INPUT"&&m==="type"?this.type:typeof c!="string"?null:c},o.prototype.removeAttributeNS=function(d,m){var p=this._attributes[d];p&&delete p[m]},o.prototype.hasAttributeNS=function(d,m){var p=this._attributes[d];return!!p&&m in p},o.prototype.setAttribute=function(d,m){return this.setAttributeNS(null,d,m)},o.prototype.getAttribute=function(d){return this.getAttributeNS(null,d)},o.prototype.removeAttribute=function(d){return this.removeAttributeNS(null,d)},o.prototype.hasAttribute=function(d){return this.hasAttributeNS(null,d)},o.prototype.removeEventListener=n,o.prototype.addEventListener=r,o.prototype.dispatchEvent=a,o.prototype.focus=function(){},o.prototype.toString=function(){return s(this)},o.prototype.getElementsByClassName=function(d){var m=d.split(" "),p=[];return i(this,function(c){if(c.nodeType===1){var h=c.className||"",v=h.split(" ");m.every(function(g){return v.indexOf(g)!==-1})&&p.push(c)}}),p},o.prototype.getElementsByTagName=function(d){d=d.toLowerCase();var m=[];return i(this.childNodes,function(p){p.nodeType===1&&(d==="*"||p.tagName.toLowerCase()===d)&&m.push(p)}),m},o.prototype.contains=function(d){return i(this,function(m){return d===m})||!1}}),ff=Ke(function(e,t){ua();var i=jh();t.exports=a;function a(r){if(!da(this,a))return new a;this.childNodes=[],this.parentNode=null,this.ownerDocument=r||null}a.prototype.type="DocumentFragment",a.prototype.nodeType=11,a.prototype.nodeName="#document-fragment",a.prototype.appendChild=i.prototype.appendChild,a.prototype.replaceChild=i.prototype.replaceChild,a.prototype.removeChild=i.prototype.removeChild,a.prototype.toString=function(){return this.childNodes.map(function(r){return String(r)}).join("")}}),Ef=Ke(function(e,t){t.exports=i;function i(a){}i.prototype.initEvent=function(a,r,n){this.type=a,this.bubbles=r,this.cancelable=n},i.prototype.preventDefault=function(){}}),_f=Ke(function(e,t){ua();var i=Vh(),a=mf(),r=pf(),n=jh(),s=ff(),l=Ef(),o=qh(),d=Yh(),m=Gh();t.exports=p;function p(){if(!da(this,p))return new p;this.head=this.createElement("head"),this.body=this.createElement("body"),this.documentElement=this.createElement("html"),this.documentElement.appendChild(this.head),this.documentElement.appendChild(this.body),this.childNodes=[this.documentElement],this.nodeType=9}var c=p.prototype;c.createTextNode=function(h){return new r(h,this)},c.createElementNS=function(h,v){var g=h===null?null:String(h);return new n(v,this,g)},c.createElement=function(h){return new n(h,this)},c.createDocumentFragment=function(){return new s(this)},c.createEvent=function(h){return new l(h)},c.createComment=function(h){return new a(h,this)},c.getElementById=function(h){h=String(h);var v=i(this.childNodes,function(g){if(String(g.id)===h)return g});return v||null},c.getElementsByClassName=n.prototype.getElementsByClassName,c.getElementsByTagName=n.prototype.getElementsByTagName,c.contains=n.prototype.contains,c.removeEventListener=m,c.addEventListener=d,c.dispatchEvent=o}),bf=Ke(function(e,t){var i=_f();t.exports=new i}),Qh=Ke(function(e,t){var i=typeof global<"u"?global:typeof window<"u"?window:{},a=bf(),r;typeof document<"u"?r=document:(r=i["__GLOBAL_DOCUMENT_CACHE@4"],r||(r=i["__GLOBAL_DOCUMENT_CACHE@4"]=a)),t.exports=r});function gf(e){if(Array.isArray(e))return e}function yf(e,t){var i=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(i!=null){var a=[],r=!0,n=!1,s,l;try{for(i=i.call(e);!(r=(s=i.next()).done)&&(a.push(s.value),!(t&&a.length===t));r=!0);}catch(o){n=!0,l=o}finally{try{!r&&i.return!=null&&i.return()}finally{if(n)throw l}}return a}}function Tf(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dl(e,t){(t==null||t>e.length)&&(t=e.length);for(var i=0,a=new Array(t);i<t;i++)a[i]=e[i];return a}function Zh(e,t){if(e){if(typeof e=="string")return dl(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if(i==="Object"&&e.constructor&&(i=e.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return dl(e,t)}}function li(e,t){return gf(e)||yf(e,t)||Zh(e,t)||Tf()}var Fr=it(St()),sc=it(St()),Af=it(St()),kf={now:function(){var e=Af.default.performance,t=e&&e.timing,i=t&&t.navigationStart,a=typeof i=="number"&&typeof e.now=="function"?i+e.now():Date.now();return Math.round(a)}},Te=kf,Xr=function(){var e,t,i;if(typeof((e=sc.default.crypto)===null||e===void 0?void 0:e.getRandomValues)=="function"){i=new Uint8Array(32),sc.default.crypto.getRandomValues(i);for(var a=0;a<32;a++)i[a]=i[a]%16}else{i=[];for(var r=0;r<32;r++)i[r]=Math.random()*16|0}var n=0;t="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(o){var d=o==="x"?i[n]:i[n]&3|8;return n++,d.toString(16)});var s=Te.now(),l=s?.toString(16).substring(3);return l?t.substring(0,28)+l:t},zh=function(){return("000000"+(Math.random()*Math.pow(36,6)<<0).toString(36)).slice(-6)},ft=function(e){if(e&&typeof e.nodeName<"u")return e.muxId||(e.muxId=zh()),e.muxId;var t;try{t=document.querySelector(e)}catch{}return t&&!t.muxId&&(t.muxId=e),t?.muxId||e},Ks=function(e){var t;e&&typeof e.nodeName<"u"?(t=e,e=ft(t)):t=document.querySelector(e);var i=t&&t.nodeName?t.nodeName.toLowerCase():"";return[t,e,i]};function Sf(e){if(Array.isArray(e))return dl(e)}function wf(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function If(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
3
3
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Et(e){return Sf(e)||wf(e)||Zh(e)||If()}var Gi={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4},Rf=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:3,i,a,r,n,s,l=[console,e],o=(i=console.trace).bind.apply(i,Et(l)),d=(a=console.info).bind.apply(a,Et(l)),m=(r=console.debug).bind.apply(r,Et(l)),p=(n=console.warn).bind.apply(n,Et(l)),c=(s=console.error).bind.apply(s,Et(l)),h=t;return{trace:function(){for(var v=arguments.length,g=new Array(v),E=0;E<v;E++)g[E]=arguments[E];if(!(h>Gi.TRACE))return o.apply(void 0,Et(g))},debug:function(){for(var v=arguments.length,g=new Array(v),E=0;E<v;E++)g[E]=arguments[E];if(!(h>Gi.DEBUG))return m.apply(void 0,Et(g))},info:function(){for(var v=arguments.length,g=new Array(v),E=0;E<v;E++)g[E]=arguments[E];if(!(h>Gi.INFO))return d.apply(void 0,Et(g))},warn:function(){for(var v=arguments.length,g=new Array(v),E=0;E<v;E++)g[E]=arguments[E];if(!(h>Gi.WARN))return p.apply(void 0,Et(g))},error:function(){for(var v=arguments.length,g=new Array(v),E=0;E<v;E++)g[E]=arguments[E];if(!(h>Gi.ERROR))return c.apply(void 0,Et(g))},get level(){return h},set level(v){v!==this.level&&(h=v??t)}}},ae=Rf("[mux]"),Ho=it(St());function ul(){var e=Ho.default.doNotTrack||Ho.default.navigator&&Ho.default.navigator.doNotTrack;return e==="1"}function P(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}ua();function we(e,t){if(!da(e,t))throw new TypeError("Cannot call a class as a function")}function Cf(e,t){for(var i=0;i<t.length;i++){var a=t[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Qt(e,t,i){return t&&Cf(e.prototype,t),e}function S(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function Qa(e){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Qa(e)}function Df(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qa(e),e!==null););return e}function Un(e,t,i){return typeof Reflect<"u"&&Reflect.get?Un=Reflect.get:Un=function(a,r,n){var s=Df(a,r);if(s){var l=Object.getOwnPropertyDescriptor(s,r);return l.get?l.get.call(n||a):l.value}},Un(e,t,i||e)}function cl(e,t){return cl=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},cl(e,t)}function Lf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cl(e,t)}function Mf(e,t){if(e==null)return{};var i={},a=Object.keys(e),r,n;for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(i[r]=e[r]);return i}function xf(e,t){if(e==null)return{};var i=Mf(e,t),a,r;if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r<n.length;r++)a=n[r],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(i[a]=e[a])}return i}function Of(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}Kh();function Nf(e,t){return t&&(Fh(t)==="object"||typeof t=="function")?t:P(e)}function Pf(e){var t=Of();return function(){var i=Qa(e),a;if(t){var r=Qa(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return Nf(this,a)}}var Tt=function(e){return Jr(e)[0]},Jr=function(e){if(typeof e!="string"||e==="")return["localhost"];var t=/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,i=e.match(t)||[],a=i[4],r;return a&&(r=(a.match(/[^\.]+\.[^\.]+$/)||[])[0]),[a,r]},Bo=it(St()),$f={exists:function(){var e=Bo.default.performance,t=e&&e.timing;return t!==void 0},domContentLoadedEventEnd:function(){var e=Bo.default.performance,t=e&&e.timing;return t&&t.domContentLoadedEventEnd},navigationStart:function(){var e=Bo.default.performance,t=e&&e.timing;return t&&t.navigationStart}},Vs=$f;function ye(e,t,i){i=i===void 0?1:i,e[t]=e[t]||0,e[t]+=i}function qs(e){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?arguments[t]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(r){return Object.getOwnPropertyDescriptor(i,r).enumerable}))),a.forEach(function(r){S(e,r,i[r])})}return e}function Uf(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);i.push.apply(i,a)}return i}function Sd(e,t){return t=t??{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Uf(Object(t)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))}),e}var Hf=["x-cdn","content-type"],Xh=["x-request-id","cf-ray","x-amz-cf-id","x-akamai-request-id"],Bf=Hf.concat(Xh);function wd(e){e=e||"";var t={},i=e.trim().split(/[\r\n]+/);return i.forEach(function(a){if(a){var r=a.split(": "),n=r.shift();n&&(Bf.indexOf(n.toLowerCase())>=0||n.toLowerCase().indexOf("x-litix-")===0)&&(t[n]=r.join(": "))}}),t}function Ys(e){if(e){var t=Xh.find(function(i){return e[i]!==void 0});return t?e[t]:void 0}}var Wf=function(e){var t={};for(var i in e){var a=e[i],r=a["DATA-ID"].search("io.litix.data.");if(r!==-1){var n=a["DATA-ID"].replace("io.litix.data.","");t[n]=a.VALUE}}return t},Jh=Wf,yn=function(e){if(!e)return{};var t=Vs.navigationStart(),i=e.loading,a=i?i.start:e.trequest,r=i?i.first:e.tfirst,n=i?i.end:e.tload;return{bytesLoaded:e.total,requestStart:Math.round(t+a),responseStart:Math.round(t+r),responseEnd:Math.round(t+n)}},lr=function(e){if(!(!e||typeof e.getAllResponseHeaders!="function"))return wd(e.getAllResponseHeaders())},Ff=function(e,t,i){var a=arguments.length>4?arguments[4]:void 0,r=e.log,n=e.utils.secondsToMs,s=function(E){var y=parseInt(a.version),T;return y===1&&E.programDateTime!==null&&(T=E.programDateTime),y===0&&E.pdt!==null&&(T=E.pdt),T};if(!Vs.exists()){r.warn("performance timing not supported. Not tracking HLS.js.");return}var l=function(E,y){return e.emit(t,E,y)},o=function(E,y){var T=y.levels,f=y.audioTracks,w=y.url,L=y.stats,N=y.networkDetails,B=y.sessionData,j={},te={};T.forEach(function(ve,Ue){j[Ue]={width:ve.width,height:ve.height,bitrate:ve.bitrate,attrs:ve.attrs}}),f.forEach(function(ve,Ue){te[Ue]={name:ve.name,language:ve.lang,bitrate:ve.bitrate}});var F=yn(L),$=F.bytesLoaded,Ne=F.requestStart,Ve=F.responseStart,qe=F.responseEnd;l("requestcompleted",Sd(qs({},Jh(B)),{request_event_type:E,request_bytes_loaded:$,request_start:Ne,request_response_start:Ve,request_response_end:qe,request_type:"manifest",request_hostname:Tt(w),request_response_headers:lr(N),request_rendition_lists:{media:j,audio:te,video:{}}}))};i.on(a.Events.MANIFEST_LOADED,o);var d=function(E,y){var T=y.details,f=y.level,w=y.networkDetails,L=y.stats,N=yn(L),B=N.bytesLoaded,j=N.requestStart,te=N.responseStart,F=N.responseEnd,$=T.fragments[T.fragments.length-1],Ne=s($)+n($.duration);l("requestcompleted",{request_event_type:E,request_bytes_loaded:B,request_start:j,request_response_start:te,request_response_end:F,request_current_level:f,request_type:"manifest",request_hostname:Tt(T.url),request_response_headers:lr(w),video_holdback:T.holdBack&&n(T.holdBack),video_part_holdback:T.partHoldBack&&n(T.partHoldBack),video_part_target_duration:T.partTarget&&n(T.partTarget),video_target_duration:T.targetduration&&n(T.targetduration),video_source_is_live:T.live,player_manifest_newest_program_time:isNaN(Ne)?void 0:Ne})};i.on(a.Events.LEVEL_LOADED,d);var m=function(E,y){var T=y.details,f=y.networkDetails,w=y.stats,L=yn(w),N=L.bytesLoaded,B=L.requestStart,j=L.responseStart,te=L.responseEnd;l("requestcompleted",{request_event_type:E,request_bytes_loaded:N,request_start:B,request_response_start:j,request_response_end:te,request_type:"manifest",request_hostname:Tt(T.url),request_response_headers:lr(f)})};i.on(a.Events.AUDIO_TRACK_LOADED,m);var p=function(E,y){var T=y.stats,f=y.networkDetails,w=y.frag;T=T||w.stats;var L=yn(T),N=L.bytesLoaded,B=L.requestStart,j=L.responseStart,te=L.responseEnd,F=f?lr(f):void 0,$={request_event_type:E,request_bytes_loaded:N,request_start:B,request_response_start:j,request_response_end:te,request_hostname:f?Tt(f.responseURL):void 0,request_id:F?Ys(F):void 0,request_response_headers:F,request_media_duration:w.duration,request_url:f?.responseURL};w.type==="main"?($.request_type="media",$.request_current_level=w.level,$.request_video_width=(i.levels[w.level]||{}).width,$.request_video_height=(i.levels[w.level]||{}).height,$.request_labeled_bitrate=(i.levels[w.level]||{}).bitrate):$.request_type=w.type,l("requestcompleted",$)};i.on(a.Events.FRAG_LOADED,p);var c=function(E,y){var T=y.frag,f=T.start,w=s(T),L={currentFragmentPDT:w,currentFragmentStart:n(f)};l("fragmentchange",L)};i.on(a.Events.FRAG_CHANGED,c);var h=function(E,y){var T=y.type,f=y.details,w=y.response,L=y.fatal,N=y.frag,B=y.networkDetails,j=N?.url||y.url||"",te=B?lr(B):void 0;if((f===a.ErrorDetails.MANIFEST_LOAD_ERROR||f===a.ErrorDetails.MANIFEST_LOAD_TIMEOUT||f===a.ErrorDetails.FRAG_LOAD_ERROR||f===a.ErrorDetails.FRAG_LOAD_TIMEOUT||f===a.ErrorDetails.LEVEL_LOAD_ERROR||f===a.ErrorDetails.LEVEL_LOAD_TIMEOUT||f===a.ErrorDetails.AUDIO_TRACK_LOAD_ERROR||f===a.ErrorDetails.AUDIO_TRACK_LOAD_TIMEOUT||f===a.ErrorDetails.SUBTITLE_LOAD_ERROR||f===a.ErrorDetails.SUBTITLE_LOAD_TIMEOUT||f===a.ErrorDetails.KEY_LOAD_ERROR||f===a.ErrorDetails.KEY_LOAD_TIMEOUT)&&l("requestfailed",{request_error:f,request_url:j,request_hostname:Tt(j),request_id:te?Ys(te):void 0,request_type:f===a.ErrorDetails.FRAG_LOAD_ERROR||f===a.ErrorDetails.FRAG_LOAD_TIMEOUT?"media":f===a.ErrorDetails.AUDIO_TRACK_LOAD_ERROR||f===a.ErrorDetails.AUDIO_TRACK_LOAD_TIMEOUT?"audio":f===a.ErrorDetails.SUBTITLE_LOAD_ERROR||f===a.ErrorDetails.SUBTITLE_LOAD_TIMEOUT?"subtitle":f===a.ErrorDetails.KEY_LOAD_ERROR||f===a.ErrorDetails.KEY_LOAD_TIMEOUT?"encryption":"manifest",request_error_code:w?.code,request_error_text:w?.text}),L){var F,$="".concat(j?"url: ".concat(j,`
4
4
  `):"")+"".concat(w&&(w.code||w.text)?"response: ".concat(w.code,", ").concat(w.text,`
@@ -10,8 +10,8 @@ var k = (e, t, i) => ($o(e, t, "read from private field"), i ? i.call(e) : t.get
10
10
  var bn = (e, t, i) => ef(Jv(e), i, t);
11
11
  import * as af from "react";
12
12
  import zr, { useRef as rf, useState as nf, useEffect as Hh } from "react";
13
- import { H as sf, M as of } from "./hls-Cn4MnxsU.js";
14
- import { C as gn } from "./custom-media-element-B4vskoi6.js";
13
+ import { H as sf, M as of } from "./hls-Cn4MnxsU.mjs";
14
+ import { C as gn } from "./custom-media-element-B4vskoi6.mjs";
15
15
  var lf = Object.create, Bh = Object.defineProperty, df = Object.getOwnPropertyDescriptor, uf = Object.getOwnPropertyNames, cf = Object.getPrototypeOf, hf = Object.prototype.hasOwnProperty, Wh = function(e, t) {
16
16
  return function() {
17
17
  return e && (t = e(e = 0)), t;
@@ -1,4 +1,4 @@
1
- import { g as Xu } from "./index-BqmOwSZO.js";
1
+ import { g as Xu } from "./index-Nn_Rxwrx.mjs";
2
2
  /*! *****************************************************************************
3
3
  Copyright (c) Microsoft Corporation.
4
4