kc-plate-editor 0.3.2 → 0.3.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/{index-B9jFBuVJ.cjs → index-BEIMyJvn.js} +1 -1
- package/dist/{index-hCIdZ_Vi.cjs → index-BtWsraO4.js} +1 -1
- package/dist/{index-D5R9tPIM.js → index-CQ9MhVRi.mjs} +2 -2
- package/dist/{index-BqmOwSZO.js → index-CxQztAT2.mjs} +17 -17
- package/dist/{index-CI-um7kw.js → index-DMIjfEcj.mjs} +1 -1
- package/dist/{index-Bh8w1JAM.cjs → index-DWEzmMDs.js} +5 -5
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/react-C-6r15yv.js +16 -0
- package/dist/{react-LIndOFtY.js → react-CYElXqmt.mjs} +2 -2
- package/dist/{react-Bc9tMIHF.js → react-CZcIaMtb.mjs} +2 -2
- package/dist/react-hxgauqI7.js +11 -0
- package/package.json +1 -2
- package/dist/react-U07OTDVt.cjs +0 -16
- package/dist/react-tGwRm5U-.cjs +0 -11
- /package/dist/{Preview-BGDe7OsV.cjs → Preview-BGDe7OsV.js} +0 -0
- /package/dist/{Preview-ckip2XGc.js → Preview-ckip2XGc.mjs} +0 -0
- /package/dist/{custom-media-element-B4vskoi6.js → custom-media-element-B4vskoi6.mjs} +0 -0
- /package/dist/{custom-media-element-CiqdUTcd.cjs → custom-media-element-CiqdUTcd.js} +0 -0
- /package/dist/{dash.all.min-VODXcrvW.cjs → dash.all.min-VODXcrvW.js} +0 -0
- /package/dist/{dash.all.min-mZ3IpU_5.js → dash.all.min-mZ3IpU_5.mjs} +0 -0
- /package/dist/{hls-C54ON8N6.cjs → hls-C54ON8N6.js} +0 -0
- /package/dist/{hls-Cn4MnxsU.js → hls-Cn4MnxsU.mjs} +0 -0
- /package/dist/{html2canvas-pro.esm-B7aTk6co.cjs → html2canvas-pro.esm-B7aTk6co.js} +0 -0
- /package/dist/{html2canvas-pro.esm-CQOXKWpT.js → html2canvas-pro.esm-CQOXKWpT.mjs} +0 -0
- /package/dist/{react-0OewwyjJ.js → react-0OewwyjJ.mjs} +0 -0
- /package/dist/{react-1jldl5V6.cjs → react-1jldl5V6.js} +0 -0
- /package/dist/{react-4oo9GGvM.cjs → react-4oo9GGvM.js} +0 -0
- /package/dist/{react-B6p7WDog.js → react-B6p7WDog.mjs} +0 -0
- /package/dist/{react-BB71DO7H.cjs → react-BB71DO7H.js} +0 -0
- /package/dist/{react-BhxJwm-d.cjs → react-BhxJwm-d.js} +0 -0
- /package/dist/{react-Bv-bWJKt.js → react-Bv-bWJKt.mjs} +0 -0
- /package/dist/{react-C-QUBeUY.cjs → react-C-QUBeUY.js} +0 -0
- /package/dist/{react-CbduCSo9.js → react-CbduCSo9.mjs} +0 -0
- /package/dist/{react-D2Xlskb3.js → react-D2Xlskb3.mjs} +0 -0
- /package/dist/{react-DE-5wXKn.js → react-DE-5wXKn.mjs} +0 -0
- /package/dist/{react-DGu3YNSU.cjs → react-DGu3YNSU.js} +0 -0
- /package/dist/{server.browser-BzSRCBp5.cjs → server.browser-BzSRCBp5.js} +0 -0
- /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,"&").replace(/</g,"<").replace(/>/g,">")}function p(c){return m(c).replace(/"/g,""")}}),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,"&").replace(/</g,"<").replace(/>/g,">")}function p(c){return m(c).replace(/"/g,""")}}),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,`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ll=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ll=require("./index-DWEzmMDs.js");/*! *****************************************************************************
|
|
2
2
|
Copyright (c) Microsoft Corporation.
|
|
3
3
|
|
|
4
4
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -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.
|
|
14
|
-
import { C as gn } from "./custom-media-element-B4vskoi6.
|
|
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;
|
|
@@ -12503,7 +12503,7 @@ var IDe = (e, t) => function(r) {
|
|
|
12503
12503
|
}
|
|
12504
12504
|
);
|
|
12505
12505
|
};
|
|
12506
|
-
}, FDe = async () => (await import("./server.browser-DNro-WMz.
|
|
12506
|
+
}, FDe = async () => (await import("./server.browser-DNro-WMz.mjs").then((t) => t.s)).default, MDe = (e, t, n) => Tke(
|
|
12507
12507
|
e.renderToStaticMarkup($.createElement(t, n))
|
|
12508
12508
|
), b4 = async (e, {
|
|
12509
12509
|
editorComponent: t = Rq,
|
|
@@ -213669,7 +213669,7 @@ function WC() {
|
|
|
213669
213669
|
const nHt = "https://platejs.org";
|
|
213670
213670
|
function Ece(e) {
|
|
213671
213671
|
const t = ht(), [n, r] = M.useState(!1), a = async () => {
|
|
213672
|
-
const { default: c } = await import("./html2canvas-pro.esm-CQOXKWpT.
|
|
213672
|
+
const { default: c } = await import("./html2canvas-pro.esm-CQOXKWpT.mjs"), d = document.createElement("style");
|
|
213673
213673
|
document.head.append(d);
|
|
213674
213674
|
const f = await c(t.api.toDOMNode(t), {
|
|
213675
213675
|
onclone: (p) => {
|
|
@@ -213728,7 +213728,7 @@ function Ece(e) {
|
|
|
213728
213728
|
await i(h, "plate.html");
|
|
213729
213729
|
}, children: "Export as HTML" }),
|
|
213730
213730
|
/* @__PURE__ */ b(mn, { onSelect: async () => {
|
|
213731
|
-
const c = await a(), f = await (await import("./index-
|
|
213731
|
+
const c = await a(), f = await (await import("./index-DMIjfEcj.mjs")).PDFDocument.create(), p = f.addPage([c.width, c.height]), m = await f.embedPng(c.toDataURL("PNG")), { height: h, width: g } = m.scale(1);
|
|
213732
213732
|
p.drawImage(m, {
|
|
213733
213733
|
height: h,
|
|
213734
213734
|
width: g,
|
|
@@ -224887,7 +224887,7 @@ const Ajt = [
|
|
|
224887
224887
|
player: gl(
|
|
224888
224888
|
() => import(
|
|
224889
224889
|
/* webpackChunkName: 'reactPlayerHls' */
|
|
224890
|
-
"./react-
|
|
224890
|
+
"./react-CYElXqmt.mjs"
|
|
224891
224891
|
)
|
|
224892
224892
|
)
|
|
224893
224893
|
},
|
|
@@ -224899,7 +224899,7 @@ const Ajt = [
|
|
|
224899
224899
|
player: gl(
|
|
224900
224900
|
() => import(
|
|
224901
224901
|
/* webpackChunkName: 'reactPlayerDash' */
|
|
224902
|
-
"./react-
|
|
224902
|
+
"./react-CZcIaMtb.mjs"
|
|
224903
224903
|
)
|
|
224904
224904
|
)
|
|
224905
224905
|
},
|
|
@@ -224911,7 +224911,7 @@ const Ajt = [
|
|
|
224911
224911
|
player: gl(
|
|
224912
224912
|
() => import(
|
|
224913
224913
|
/* webpackChunkName: 'reactPlayerMux' */
|
|
224914
|
-
"./index-
|
|
224914
|
+
"./index-CQ9MhVRi.mjs"
|
|
224915
224915
|
)
|
|
224916
224916
|
)
|
|
224917
224917
|
},
|
|
@@ -224922,7 +224922,7 @@ const Ajt = [
|
|
|
224922
224922
|
player: gl(
|
|
224923
224923
|
() => import(
|
|
224924
224924
|
/* webpackChunkName: 'reactPlayerYouTube' */
|
|
224925
|
-
"./react-DE-5wXKn.
|
|
224925
|
+
"./react-DE-5wXKn.mjs"
|
|
224926
224926
|
)
|
|
224927
224927
|
)
|
|
224928
224928
|
},
|
|
@@ -224933,7 +224933,7 @@ const Ajt = [
|
|
|
224933
224933
|
player: gl(
|
|
224934
224934
|
() => import(
|
|
224935
224935
|
/* webpackChunkName: 'reactPlayerVimeo' */
|
|
224936
|
-
"./react-0OewwyjJ.
|
|
224936
|
+
"./react-0OewwyjJ.mjs"
|
|
224937
224937
|
)
|
|
224938
224938
|
)
|
|
224939
224939
|
},
|
|
@@ -224945,7 +224945,7 @@ const Ajt = [
|
|
|
224945
224945
|
player: gl(
|
|
224946
224946
|
() => import(
|
|
224947
224947
|
/* webpackChunkName: 'reactPlayerWistia' */
|
|
224948
|
-
"./react-Bv-bWJKt.
|
|
224948
|
+
"./react-Bv-bWJKt.mjs"
|
|
224949
224949
|
)
|
|
224950
224950
|
)
|
|
224951
224951
|
},
|
|
@@ -224957,7 +224957,7 @@ const Ajt = [
|
|
|
224957
224957
|
player: gl(
|
|
224958
224958
|
() => import(
|
|
224959
224959
|
/* webpackChunkName: 'reactPlayerSpotify' */
|
|
224960
|
-
"./react-B6p7WDog.
|
|
224960
|
+
"./react-B6p7WDog.mjs"
|
|
224961
224961
|
)
|
|
224962
224962
|
)
|
|
224963
224963
|
},
|
|
@@ -224969,7 +224969,7 @@ const Ajt = [
|
|
|
224969
224969
|
player: gl(
|
|
224970
224970
|
() => import(
|
|
224971
224971
|
/* webpackChunkName: 'reactPlayerTwitch' */
|
|
224972
|
-
"./react-D2Xlskb3.
|
|
224972
|
+
"./react-D2Xlskb3.mjs"
|
|
224973
224973
|
)
|
|
224974
224974
|
)
|
|
224975
224975
|
},
|
|
@@ -224981,7 +224981,7 @@ const Ajt = [
|
|
|
224981
224981
|
player: gl(
|
|
224982
224982
|
() => import(
|
|
224983
224983
|
/* webpackChunkName: 'reactPlayerTiktok' */
|
|
224984
|
-
"./react-CbduCSo9.
|
|
224984
|
+
"./react-CbduCSo9.mjs"
|
|
224985
224985
|
)
|
|
224986
224986
|
)
|
|
224987
224987
|
},
|
|
@@ -225083,7 +225083,7 @@ Xde.displayName = "Player";
|
|
|
225083
225083
|
var Djt = Xde;
|
|
225084
225084
|
const Rjt = gl(() => import(
|
|
225085
225085
|
/* webpackChunkName: 'reactPlayerPreview' */
|
|
225086
|
-
"./Preview-ckip2XGc.
|
|
225086
|
+
"./Preview-ckip2XGc.mjs"
|
|
225087
225087
|
)), I0 = [], Ijt = (e, t) => {
|
|
225088
225088
|
const n = (a) => {
|
|
225089
225089
|
for (const i of [...I0, ...e])
|
|
@@ -228354,7 +228354,7 @@ function BQt() {
|
|
|
228354
228354
|
const TKt = "https://platejs.org";
|
|
228355
228355
|
function kKt(e) {
|
|
228356
228356
|
const t = ht(), { t: n } = un(), [r, a] = M.useState(!1), i = async () => {
|
|
228357
|
-
const { default: d } = await import("./html2canvas-pro.esm-CQOXKWpT.
|
|
228357
|
+
const { default: d } = await import("./html2canvas-pro.esm-CQOXKWpT.mjs"), f = document.createElement("style");
|
|
228358
228358
|
document.head.append(f);
|
|
228359
228359
|
const p = await d(t.api.toDOMNode(t), {
|
|
228360
228360
|
onclone: (m) => {
|
|
@@ -228375,7 +228375,7 @@ function kKt(e) {
|
|
|
228375
228375
|
const m = await (await fetch(d)).blob(), h = window.URL.createObjectURL(m), g = document.createElement("a");
|
|
228376
228376
|
g.href = h, g.download = f, document.body.append(g), g.click(), g.remove(), window.URL.revokeObjectURL(h);
|
|
228377
228377
|
}, o = async () => {
|
|
228378
|
-
const d = await i(), p = await (await import("./index-
|
|
228378
|
+
const d = await i(), p = await (await import("./index-DMIjfEcj.mjs")).PDFDocument.create(), m = p.addPage([d.width, d.height]), h = await p.embedPng(d.toDataURL("PNG")), { height: g, width: v } = h.scale(1);
|
|
228379
228379
|
m.drawImage(h, {
|
|
228380
228380
|
height: g,
|
|
228381
228381
|
width: v,
|
|
@@ -228912,7 +228912,7 @@ function JC(e, t) {
|
|
|
228912
228912
|
}
|
|
228913
228913
|
}
|
|
228914
228914
|
async function lfe(e) {
|
|
228915
|
-
const { default: t } = await import("./html2canvas-pro.esm-CQOXKWpT.
|
|
228915
|
+
const { default: t } = await import("./html2canvas-pro.esm-CQOXKWpT.mjs"), n = document.createElement("style");
|
|
228916
228916
|
document.head.appendChild(n);
|
|
228917
228917
|
const r = await t(e.api.toDOMNode(e), {
|
|
228918
228918
|
onclone: (a) => {
|
|
@@ -228976,7 +228976,7 @@ async function UKt(e, t = "plate.md") {
|
|
|
228976
228976
|
}
|
|
228977
228977
|
async function HKt(e, t = "plate.pdf") {
|
|
228978
228978
|
try {
|
|
228979
|
-
const n = await lfe(e), a = await (await import("./index-
|
|
228979
|
+
const n = await lfe(e), a = await (await import("./index-DMIjfEcj.mjs")).PDFDocument.create(), i = a.addPage([n.width, n.height]), s = await a.embedPng(n.toDataURL("PNG")), { height: o, width: l } = s.scale(1);
|
|
228980
228980
|
i.drawImage(s, {
|
|
228981
228981
|
height: o,
|
|
228982
228982
|
width: l,
|