From da5a424866b34f25020b6e5460d22767239ff87d Mon Sep 17 00:00:00 2001 From: Github Actions Date: Fri, 8 Dec 2023 22:53:11 +0000 Subject: [PATCH] ci: automatic build fixes --- .../{index-411fa8e0.js => index-1f95dc74.js} | 50 +- build/assets/index-9a4cd8a9.css | 1146 +---------------- build/assets/web-vitals-60d3425a.js | 259 +--- build/index.html | 7 +- 4 files changed, 32 insertions(+), 1430 deletions(-) rename build/assets/{index-411fa8e0.js => index-1f95dc74.js} (99%) diff --git a/build/assets/index-411fa8e0.js b/build/assets/index-1f95dc74.js similarity index 99% rename from build/assets/index-411fa8e0.js rename to build/assets/index-1f95dc74.js index 957e7d274..438ed7d6d 100644 --- a/build/assets/index-411fa8e0.js +++ b/build/assets/index-1f95dc74.js @@ -5248,7 +5248,7 @@ outputColor=vec4(color,inputColor.a);}`,VignetteEffect=class extends Effect$1{co `,Container=styled$4(Flex)` overflow: hidden; flex: 1; -`,ActionsToolbar=()=>{const tt=useSelectedNode();return jsxRuntimeExports.jsxs(Wrapper$s,{align:"flex-end",id:"actions-toolbar",children:[jsxRuntimeExports.jsx(CameraRecenterControl,{}),jsxRuntimeExports.jsx(GraphViewControl,{}),jsxRuntimeExports.jsx(PlayerControl,{},tt==null?void 0:tt.ref_id)]})},Wrapper$s=styled$4(Flex)` +`,ActionsToolbar=()=>{const tt=useSelectedNode(),et=useDataStore(nt=>nt.isFetching);return jsxRuntimeExports.jsxs(Wrapper$s,{align:"flex-end",id:"actions-toolbar",children:[!et&&jsxRuntimeExports.jsx(CameraRecenterControl,{}),!et&&jsxRuntimeExports.jsx(GraphViewControl,{}),jsxRuntimeExports.jsx(PlayerControl,{},tt==null?void 0:tt.ref_id)]})},Wrapper$s=styled$4(Flex)` position: absolute; right: 20px; bottom: 20px; @@ -5283,7 +5283,7 @@ outputColor=vec4(color,inputColor.a);}`,VignetteEffect=class extends Effect$1{co top: 0; background-color: ${colors.black}; z-index: 1; -`,Fallback=()=>jsxRuntimeExports.jsx(Html$1,{children:jsxRuntimeExports.jsx(Loader$1,{})}),Content$3=()=>{const{universeColor:tt}=useControls("universe",{universeColor:colors.black}),et=useSelectedNode(),nt=reactExports.useMemo(()=>et!=null&&et.node_type?getNodeColorByType(et.node_type):outlineEffectColor,[et]);return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx("color",{args:[tt],attach:"background"}),jsxRuntimeExports.jsx(Lights,{}),jsxRuntimeExports.jsx(Controls$1,{}),jsxRuntimeExports.jsxs(Selection$3,{children:[jsxRuntimeExports.jsxs(EffectComposer,{autoClear:!1,multisampling:8,children:[jsxRuntimeExports.jsx(Vignette,{darkness:.7,eskil:!1,offset:.05}),jsxRuntimeExports.jsx(Bloom,{luminanceThreshold:1,mipmapBlur:!0,resolutionX:Resolution.AUTO_SIZE,resolutionY:Resolution.AUTO_SIZE}),jsxRuntimeExports.jsx(Outline,{blendFunction:BlendFunction.SCREEN,blur:!0,edgeStrength:4,hiddenEdgeColor:nt,visibleEdgeColor:nt})]}),jsxRuntimeExports.jsx(Graph,{})]})]})};let wheelEventTimeout=null;const cameraProps={aspect:window.innerWidth/window.innerHeight,far:3e4,near:1,position:[initialCameraPosition.x,initialCameraPosition.y,initialCameraPosition.z]},_Universe=()=>{const[tt,et,nt]=[useControlStore(at=>at.setIsUserScrollingOnHtmlPanel),useControlStore(at=>at.setIsUserScrolling),useControlStore(at=>at.setUserMovedCamera)],rt=useDataStore(at=>at.isFetching),it=reactExports.useCallback(at=>{var ct;const{target:st}=at,{offsetParent:lt}=st;wheelEventTimeout&&clearTimeout(wheelEventTimeout),(ct=lt==null?void 0:lt.classList)!=null&&ct.contains("html-panel")&<.clientHeight{et(!1),tt(!1)},200)},[et,tt,nt]),ot=reactExports.useCallback(at=>addToGlobalForE2e(at,"threeState"),[]);return jsxRuntimeExports.jsxs(Wrapper$q,{children:[jsxRuntimeExports.jsx(Overlay,{}),jsxRuntimeExports.jsx(reactExports.Suspense,{fallback:null,children:jsxRuntimeExports.jsxs(Canvas$1,{camera:cameraProps,id:"universe-canvas",onCreated:ot,onWheel:it,children:[isDevelopment&&jsxRuntimeExports.jsx(Perf,{position:"top-right"}),jsxRuntimeExports.jsxs(reactExports.Suspense,{fallback:jsxRuntimeExports.jsx(Fallback,{}),children:[jsxRuntimeExports.jsx(Preload,{}),jsxRuntimeExports.jsx(AdaptiveDpr,{}),jsxRuntimeExports.jsx(AdaptiveEvents,{}),jsxRuntimeExports.jsx(Content$3,{})]})]})}),rt&&jsxRuntimeExports.jsx(Preloader,{fullSize:!1})]})},Wrapper$q=styled$4(Flex)` +`,Fallback=()=>jsxRuntimeExports.jsx(Html$1,{children:jsxRuntimeExports.jsx(Loader$1,{})}),Content$3=()=>{const{universeColor:tt}=useControls("universe",{universeColor:colors.black}),et=useSelectedNode(),nt=reactExports.useMemo(()=>et!=null&&et.node_type?getNodeColorByType(et.node_type):outlineEffectColor,[et]);return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx("color",{args:[tt],attach:"background"}),jsxRuntimeExports.jsx(Lights,{}),jsxRuntimeExports.jsx(Controls$1,{}),jsxRuntimeExports.jsxs(Selection$3,{children:[jsxRuntimeExports.jsxs(EffectComposer,{autoClear:!1,multisampling:8,children:[jsxRuntimeExports.jsx(Vignette,{darkness:.7,eskil:!1,offset:.05}),jsxRuntimeExports.jsx(Bloom,{luminanceThreshold:1,mipmapBlur:!0,resolutionX:Resolution.AUTO_SIZE,resolutionY:Resolution.AUTO_SIZE}),jsxRuntimeExports.jsx(Outline,{blendFunction:BlendFunction.SCREEN,blur:!0,edgeStrength:4,hiddenEdgeColor:nt,visibleEdgeColor:nt})]}),jsxRuntimeExports.jsx(Graph,{})]})]})};let wheelEventTimeout=null;const cameraProps={aspect:window.innerWidth/window.innerHeight,far:3e4,near:1,position:[initialCameraPosition.x,initialCameraPosition.y,initialCameraPosition.z]},_Universe=()=>{const[tt,et,nt]=[useControlStore(at=>at.setIsUserScrollingOnHtmlPanel),useControlStore(at=>at.setIsUserScrolling),useControlStore(at=>at.setUserMovedCamera)],rt=useDataStore(at=>at.isFetching),it=reactExports.useCallback(at=>{var ct;const{target:st}=at,{offsetParent:lt}=st;wheelEventTimeout&&clearTimeout(wheelEventTimeout),(ct=lt==null?void 0:lt.classList)!=null&&ct.contains("html-panel")&<.clientHeight{et(!1),tt(!1)},200)},[et,tt,nt]),ot=reactExports.useCallback(at=>addToGlobalForE2e(at,"threeState"),[]);return jsxRuntimeExports.jsxs(Wrapper$q,{children:[jsxRuntimeExports.jsx(reactExports.Suspense,{fallback:null,children:jsxRuntimeExports.jsxs(Canvas$1,{camera:cameraProps,id:"universe-canvas",onCreated:ot,onWheel:it,children:[isDevelopment&&jsxRuntimeExports.jsx(Perf,{position:"top-right"}),jsxRuntimeExports.jsxs(reactExports.Suspense,{fallback:jsxRuntimeExports.jsx(Fallback,{}),children:[jsxRuntimeExports.jsx(Preload,{}),jsxRuntimeExports.jsx(AdaptiveDpr,{}),jsxRuntimeExports.jsx(AdaptiveEvents,{}),jsxRuntimeExports.jsx(Content$3,{})]})]})}),rt&&jsxRuntimeExports.jsx(Preloader,{fullSize:!1}),jsxRuntimeExports.jsx(Overlay,{})]})},Wrapper$q=styled$4(Flex)` flex: 1 1 100%; position: relative; `,Universe=reactExports.memo(_Universe),PACKET_TYPES=Object.create(null);PACKET_TYPES.open="0";PACKET_TYPES.close="1";PACKET_TYPES.ping="2";PACKET_TYPES.pong="3";PACKET_TYPES.message="4";PACKET_TYPES.upgrade="5";PACKET_TYPES.noop="6";const PACKET_TYPES_REVERSE=Object.create(null);Object.keys(PACKET_TYPES).forEach(tt=>{PACKET_TYPES_REVERSE[PACKET_TYPES[tt]]=tt});const ERROR_PACKET={type:"error",data:"parser error"},withNativeBlob$1=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",withNativeArrayBuffer$2=typeof ArrayBuffer=="function",isView$1=tt=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(tt):tt&&tt.buffer instanceof ArrayBuffer,encodePacket=({type:tt,data:et},nt,rt)=>withNativeBlob$1&&et instanceof Blob?nt?rt(et):encodeBlobAsBase64(et,rt):withNativeArrayBuffer$2&&(et instanceof ArrayBuffer||isView$1(et))?nt?rt(et):encodeBlobAsBase64(new Blob([et]),rt):rt(PACKET_TYPES[tt]+(et||"")),encodeBlobAsBase64=(tt,et)=>{const nt=new FileReader;return nt.onload=function(){const rt=nt.result.split(",")[1];et("b"+(rt||""))},nt.readAsDataURL(tt)};function toArray$1(tt){return tt instanceof Uint8Array?tt:tt instanceof ArrayBuffer?new Uint8Array(tt):new Uint8Array(tt.buffer,tt.byteOffset,tt.byteLength)}let TEXT_ENCODER;function encodePacketToBinary(tt,et){if(withNativeBlob$1&&tt.data instanceof Blob)return tt.data.arrayBuffer().then(toArray$1).then(et);if(withNativeArrayBuffer$2&&(tt.data instanceof ArrayBuffer||isView$1(tt.data)))return et(toArray$1(tt.data));encodePacket(tt,!1,nt=>{TEXT_ENCODER||(TEXT_ENCODER=new TextEncoder),et(TEXT_ENCODER.encode(nt))})}const chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",lookup$1=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let tt=0;tt{let et=tt.length*.75,nt=tt.length,rt,it=0,ot,at,st,lt;tt[tt.length-1]==="="&&(et--,tt[tt.length-2]==="="&&et--);const ct=new ArrayBuffer(et),ut=new Uint8Array(ct);for(rt=0;rt>4,ut[it++]=(at&15)<<4|st>>2,ut[it++]=(st&3)<<6|lt&63;return ct},withNativeArrayBuffer$1=typeof ArrayBuffer=="function",decodePacket=(tt,et)=>{if(typeof tt!="string")return{type:"message",data:mapBinary(tt,et)};const nt=tt.charAt(0);return nt==="b"?{type:"message",data:decodeBase64Packet(tt.substring(1),et)}:PACKET_TYPES_REVERSE[nt]?tt.length>1?{type:PACKET_TYPES_REVERSE[nt],data:tt.substring(1)}:{type:PACKET_TYPES_REVERSE[nt]}:ERROR_PACKET},decodeBase64Packet=(tt,et)=>{if(withNativeArrayBuffer$1){const nt=decode$2(tt);return mapBinary(nt,et)}else return{base64:!0,data:tt}},mapBinary=(tt,et)=>{switch(et){case"blob":return tt instanceof Blob?tt:new Blob([tt]);case"arraybuffer":default:return tt instanceof ArrayBuffer?tt:tt.buffer}},SEPARATOR=String.fromCharCode(30),encodePayload=(tt,et)=>{const nt=tt.length,rt=new Array(nt);let it=0;tt.forEach((ot,at)=>{encodePacket(ot,!1,st=>{rt[at]=st,++it===nt&&et(rt.join(SEPARATOR))})})},decodePayload=(tt,et)=>{const nt=tt.split(SEPARATOR),rt=[];for(let it=0;it{const rt=nt.length;let it;if(rt<126)it=new Uint8Array(1),new DataView(it.buffer).setUint8(0,rt);else if(rt<65536){it=new Uint8Array(3);const ot=new DataView(it.buffer);ot.setUint8(0,126),ot.setUint16(1,rt)}else{it=new Uint8Array(9);const ot=new DataView(it.buffer);ot.setUint8(0,127),ot.setBigUint64(1,BigInt(rt))}tt.data&&typeof tt.data!="string"&&(it[0]|=128),et.enqueue(it),et.enqueue(nt)})}})}let TEXT_DECODER;function totalLength(tt){return tt.reduce((et,nt)=>et+nt.length,0)}function concatChunks(tt,et){if(tt[0].length===et)return tt.shift();const nt=new Uint8Array(et);let rt=0;for(let it=0;itMath.pow(2,53-32)-1){st.enqueue(ERROR_PACKET);break}it=ut*Math.pow(2,32)+ct.getUint32(4),rt=3}else{if(totalLength(nt)tt){st.enqueue(ERROR_PACKET);break}}}})}const protocol$1=4;function Emitter(tt){if(tt)return mixin(tt)}function mixin(tt){for(var et in Emitter.prototype)tt[et]=Emitter.prototype[et];return tt}Emitter.prototype.on=Emitter.prototype.addEventListener=function(tt,et){return this._callbacks=this._callbacks||{},(this._callbacks["$"+tt]=this._callbacks["$"+tt]||[]).push(et),this};Emitter.prototype.once=function(tt,et){function nt(){this.off(tt,nt),et.apply(this,arguments)}return nt.fn=et,this.on(tt,nt),this};Emitter.prototype.off=Emitter.prototype.removeListener=Emitter.prototype.removeAllListeners=Emitter.prototype.removeEventListener=function(tt,et){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var nt=this._callbacks["$"+tt];if(!nt)return this;if(arguments.length==1)return delete this._callbacks["$"+tt],this;for(var rt,it=0;ittypeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function pick(tt,...et){return et.reduce((nt,rt)=>(tt.hasOwnProperty(rt)&&(nt[rt]=tt[rt]),nt),{})}const NATIVE_SET_TIMEOUT=globalThisShim.setTimeout,NATIVE_CLEAR_TIMEOUT=globalThisShim.clearTimeout;function installTimerFunctions(tt,et){et.useNativeTimers?(tt.setTimeoutFn=NATIVE_SET_TIMEOUT.bind(globalThisShim),tt.clearTimeoutFn=NATIVE_CLEAR_TIMEOUT.bind(globalThisShim)):(tt.setTimeoutFn=globalThisShim.setTimeout.bind(globalThisShim),tt.clearTimeoutFn=globalThisShim.clearTimeout.bind(globalThisShim))}const BASE64_OVERHEAD=1.33;function byteLength(tt){return typeof tt=="string"?utf8Length(tt):Math.ceil((tt.byteLength||tt.size)*BASE64_OVERHEAD)}function utf8Length(tt){let et=0,nt=0;for(let rt=0,it=tt.length;rt=57344?nt+=3:(rt++,nt+=4);return nt}function encode$1(tt){let et="";for(let nt in tt)tt.hasOwnProperty(nt)&&(et.length&&(et+="&"),et+=encodeURIComponent(nt)+"="+encodeURIComponent(tt[nt]));return et}function decode$1(tt){let et={},nt=tt.split("&");for(let rt=0,it=nt.length;rt0);return et}function yeast(){const tt=encode(+new Date);return tt!==prev?(seed=0,prev=tt):tt+"."+encode(seed++)}for(;i$1{this.readyState="paused",et()};if(this.polling||!this.writable){let rt=0;this.polling&&(rt++,this.once("pollComplete",function(){--rt||nt()})),this.writable||(rt++,this.once("drain",function(){--rt||nt()}))}else nt()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(et){const nt=rt=>{if(this.readyState==="opening"&&rt.type==="open"&&this.onOpen(),rt.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(rt)};decodePayload(et,this.socket.binaryType).forEach(nt),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const et=()=>{this.write([{type:"close"}])};this.readyState==="open"?et():this.once("open",et)}write(et){this.writable=!1,encodePayload(et,nt=>{this.doWrite(nt,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const et=this.opts.secure?"https":"http",nt=this.query||{};return this.opts.timestampRequests!==!1&&(nt[this.opts.timestampParam]=yeast()),!this.supportsBinary&&!nt.sid&&(nt.b64=1),this.createUri(et,nt)}request(et={}){return Object.assign(et,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new Request$1(this.uri(),et)}doWrite(et,nt){const rt=this.request({method:"POST",data:et});rt.on("success",nt),rt.on("error",(it,ot)=>{this.onError("xhr post error",it,ot)})}doPoll(){const et=this.request();et.on("data",this.onData.bind(this)),et.on("error",(nt,rt)=>{this.onError("xhr poll error",nt,rt)}),this.pollXhr=et}}let Request$1=class Ny extends Emitter{constructor(et,nt){super(),installTimerFunctions(this,nt),this.opts=nt,this.method=nt.method||"GET",this.uri=et,this.data=nt.data!==void 0?nt.data:null,this.create()}create(){var et;const nt=pick(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");nt.xdomain=!!this.opts.xd;const rt=this.xhr=new XHR(nt);try{rt.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){rt.setDisableHeaderCheck&&rt.setDisableHeaderCheck(!0);for(let it in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(it)&&rt.setRequestHeader(it,this.opts.extraHeaders[it])}}catch{}if(this.method==="POST")try{rt.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{rt.setRequestHeader("Accept","*/*")}catch{}(et=this.opts.cookieJar)===null||et===void 0||et.addCookies(rt),"withCredentials"in rt&&(rt.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(rt.timeout=this.opts.requestTimeout),rt.onreadystatechange=()=>{var it;rt.readyState===3&&((it=this.opts.cookieJar)===null||it===void 0||it.parseCookies(rt)),rt.readyState===4&&(rt.status===200||rt.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof rt.status=="number"?rt.status:0)},0))},rt.send(this.data)}catch(it){this.setTimeoutFn(()=>{this.onError(it)},0);return}typeof document<"u"&&(this.index=Ny.requestsCount++,Ny.requests[this.index]=this)}onError(et){this.emitReserved("error",et,this.xhr),this.cleanup(!0)}cleanup(et){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=empty$3,et)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Ny.requests[this.index],this.xhr=null}}onLoad(){const et=this.xhr.responseText;et!==null&&(this.emitReserved("data",et),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}};Request$1.requestsCount=0;Request$1.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",unloadHandler);else if(typeof addEventListener=="function"){const tt="onpagehide"in globalThisShim?"pagehide":"unload";addEventListener(tt,unloadHandler,!1)}}function unloadHandler(){for(let tt in Request$1.requests)Request$1.requests.hasOwnProperty(tt)&&Request$1.requests[tt].abort()}const nextTick=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?et=>Promise.resolve().then(et):(et,nt)=>nt(et,0))(),WebSocket=globalThisShim.WebSocket||globalThisShim.MozWebSocket,usingBrowserWebSocket=!0,defaultBinaryType="arraybuffer",isReactNative=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class WS extends Transport{constructor(et){super(et),this.supportsBinary=!et.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const et=this.uri(),nt=this.opts.protocols,rt=isReactNative?{}:pick(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(rt.headers=this.opts.extraHeaders);try{this.ws=usingBrowserWebSocket&&!isReactNative?nt?new WebSocket(et,nt):new WebSocket(et):new WebSocket(et,nt,rt)}catch(it){return this.emitReserved("error",it)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=et=>this.onClose({description:"websocket connection closed",context:et}),this.ws.onmessage=et=>this.onData(et.data),this.ws.onerror=et=>this.onError("websocket error",et)}write(et){this.writable=!1;for(let nt=0;nt{const at={};try{usingBrowserWebSocket&&this.ws.send(ot)}catch{}it&&nextTick(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const et=this.opts.secure?"wss":"ws",nt=this.query||{};return this.opts.timestampRequests&&(nt[this.opts.timestampParam]=yeast()),this.supportsBinary||(nt.b64=1),this.createUri(et,nt)}check(){return!!WebSocket}}class WT extends Transport{get name(){return"webtransport"}doOpen(){typeof WebTransport=="function"&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{this.onClose()}).catch(et=>{this.onError("webtransport error",et)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(et=>{const nt=createPacketDecoderStream(Number.MAX_SAFE_INTEGER,this.socket.binaryType),rt=et.readable.pipeThrough(nt).getReader(),it=createPacketEncoderStream();it.readable.pipeTo(et.writable),this.writer=it.writable.getWriter();const ot=()=>{rt.read().then(({done:st,value:lt})=>{st||(this.onPacket(lt),ot())}).catch(st=>{})};ot();const at={type:"open"};this.query.sid&&(at.data=`{"sid":"${this.query.sid}"}`),this.writer.write(at).then(()=>this.onOpen())})}))}write(et){this.writable=!1;for(let nt=0;nt{it&&nextTick(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var et;(et=this.transport)===null||et===void 0||et.close()}}const transports={websocket:WS,webtransport:WT,polling:Polling},re$2=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,parts=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function parse$2(tt){if(tt.length>2e3)throw"URI too long";const et=tt,nt=tt.indexOf("["),rt=tt.indexOf("]");nt!=-1&&rt!=-1&&(tt=tt.substring(0,nt)+tt.substring(nt,rt).replace(/:/g,";")+tt.substring(rt,tt.length));let it=re$2.exec(tt||""),ot={},at=14;for(;at--;)ot[parts[at]]=it[at]||"";return nt!=-1&&rt!=-1&&(ot.source=et,ot.host=ot.host.substring(1,ot.host.length-1).replace(/;/g,":"),ot.authority=ot.authority.replace("[","").replace("]","").replace(/;/g,":"),ot.ipv6uri=!0),ot.pathNames=pathNames(ot,ot.path),ot.queryKey=queryKey(ot,ot.query),ot}function pathNames(tt,et){const nt=/\/{2,9}/g,rt=et.replace(nt,"/").split("/");return(et.slice(0,1)=="/"||et.length===0)&&rt.splice(0,1),et.slice(-1)=="/"&&rt.splice(rt.length-1,1),rt}function queryKey(tt,et){const nt={};return et.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(rt,it,ot){it&&(nt[it]=ot)}),nt}let Socket$1=class K0 extends Emitter{constructor(et,nt={}){super(),this.binaryType=defaultBinaryType,this.writeBuffer=[],et&&typeof et=="object"&&(nt=et,et=null),et?(et=parse$2(et),nt.hostname=et.host,nt.secure=et.protocol==="https"||et.protocol==="wss",nt.port=et.port,et.query&&(nt.query=et.query)):nt.host&&(nt.hostname=parse$2(nt.host).host),installTimerFunctions(this,nt),this.secure=nt.secure!=null?nt.secure:typeof location<"u"&&location.protocol==="https:",nt.hostname&&!nt.port&&(nt.port=this.secure?"443":"80"),this.hostname=nt.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=nt.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=nt.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},nt),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=decode$1(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(et){const nt=Object.assign({},this.opts.query);nt.EIO=protocol$1,nt.transport=et,this.id&&(nt.sid=this.id);const rt=Object.assign({},this.opts,{query:nt,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[et]);return new transports[et](rt)}open(){let et;if(this.opts.rememberUpgrade&&K0.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)et="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else et=this.transports[0];this.readyState="opening";try{et=this.createTransport(et)}catch{this.transports.shift(),this.open();return}et.open(),this.setTransport(et)}setTransport(et){this.transport&&this.transport.removeAllListeners(),this.transport=et,et.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",nt=>this.onClose("transport close",nt))}probe(et){let nt=this.createTransport(et),rt=!1;K0.priorWebsocketSuccess=!1;const it=()=>{rt||(nt.send([{type:"ping",data:"probe"}]),nt.once("packet",ht=>{if(!rt)if(ht.type==="pong"&&ht.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",nt),!nt)return;K0.priorWebsocketSuccess=nt.name==="websocket",this.transport.pause(()=>{rt||this.readyState!=="closed"&&(ut(),this.setTransport(nt),nt.send([{type:"upgrade"}]),this.emitReserved("upgrade",nt),nt=null,this.upgrading=!1,this.flush())})}else{const dt=new Error("probe error");dt.transport=nt.name,this.emitReserved("upgradeError",dt)}}))};function ot(){rt||(rt=!0,ut(),nt.close(),nt=null)}const at=ht=>{const dt=new Error("probe error: "+ht);dt.transport=nt.name,ot(),this.emitReserved("upgradeError",dt)};function st(){at("transport closed")}function lt(){at("socket closed")}function ct(ht){nt&&ht.name!==nt.name&&ot()}const ut=()=>{nt.removeListener("open",it),nt.removeListener("error",at),nt.removeListener("close",st),this.off("close",lt),this.off("upgrading",ct)};nt.once("open",it),nt.once("error",at),nt.once("close",st),this.once("close",lt),this.once("upgrading",ct),this.upgrades.indexOf("webtransport")!==-1&&et!=="webtransport"?this.setTimeoutFn(()=>{rt||nt.open()},200):nt.open()}onOpen(){if(this.readyState="open",K0.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let et=0;const nt=this.upgrades.length;for(;et{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const et=this.getWritablePackets();this.transport.send(et),this.prevBufferLen=et.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let nt=1;for(let rt=0;rt0&&nt>this.maxPayload)return this.writeBuffer.slice(0,rt);nt+=2}return this.writeBuffer}write(et,nt,rt){return this.sendPacket("message",et,nt,rt),this}send(et,nt,rt){return this.sendPacket("message",et,nt,rt),this}sendPacket(et,nt,rt,it){if(typeof nt=="function"&&(it=nt,nt=void 0),typeof rt=="function"&&(it=rt,rt=null),this.readyState==="closing"||this.readyState==="closed")return;rt=rt||{},rt.compress=rt.compress!==!1;const ot={type:et,data:nt,options:rt};this.emitReserved("packetCreate",ot),this.writeBuffer.push(ot),it&&this.once("flush",it),this.flush()}close(){const et=()=>{this.onClose("forced close"),this.transport.close()},nt=()=>{this.off("upgrade",nt),this.off("upgradeError",nt),et()},rt=()=>{this.once("upgrade",nt),this.once("upgradeError",nt)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?rt():et()}):this.upgrading?rt():et()),this}onError(et){K0.priorWebsocketSuccess=!1,this.emitReserved("error",et),this.onClose("transport error",et)}onClose(et,nt){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",et,nt),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(et){const nt=[];let rt=0;const it=et.length;for(;rttypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(tt):tt.buffer instanceof ArrayBuffer,toString$6=Object.prototype.toString,withNativeBlob=typeof Blob=="function"||typeof Blob<"u"&&toString$6.call(Blob)==="[object BlobConstructor]",withNativeFile=typeof File=="function"||typeof File<"u"&&toString$6.call(File)==="[object FileConstructor]";function isBinary(tt){return withNativeArrayBuffer&&(tt instanceof ArrayBuffer||isView(tt))||withNativeBlob&&tt instanceof Blob||withNativeFile&&tt instanceof File}function hasBinary(tt,et){if(!tt||typeof tt!="object")return!1;if(Array.isArray(tt)){for(let nt=0,rt=tt.length;nt=0&&tt.num{delete this.acks[et];for(let at=0;at{this.io.clearTimeoutFn(ot),nt.apply(this,[null,...at])}}emitWithAck(et,...nt){const rt=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((it,ot)=>{nt.push((at,st)=>rt?at?ot(at):it(st):it(at)),this.emit(et,...nt)})}_addToQueue(et){let nt;typeof et[et.length-1]=="function"&&(nt=et.pop());const rt={id:this._queueSeq++,tryCount:0,pending:!1,args:et,flags:Object.assign({fromQueue:!0},this.flags)};et.push((it,...ot)=>rt!==this._queue[0]?void 0:(it!==null?rt.tryCount>this._opts.retries&&(this._queue.shift(),nt&&nt(it)):(this._queue.shift(),nt&&nt(null,...ot)),rt.pending=!1,this._drainQueue())),this._queue.push(rt),this._drainQueue()}_drainQueue(et=!1){if(!this.connected||this._queue.length===0)return;const nt=this._queue[0];nt.pending&&!et||(nt.pending=!0,nt.tryCount++,this.flags=nt.flags,this.emit.apply(this,nt.args))}packet(et){et.nsp=this.nsp,this.io._packet(et)}onopen(){typeof this.auth=="function"?this.auth(et=>{this._sendConnectPacket(et)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(et){this.packet({type:PacketType.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},et):et})}onerror(et){this.connected||this.emitReserved("connect_error",et)}onclose(et,nt){this.connected=!1,delete this.id,this.emitReserved("disconnect",et,nt)}onpacket(et){if(et.nsp===this.nsp)switch(et.type){case PacketType.CONNECT:et.data&&et.data.sid?this.onconnect(et.data.sid,et.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case PacketType.EVENT:case PacketType.BINARY_EVENT:this.onevent(et);break;case PacketType.ACK:case PacketType.BINARY_ACK:this.onack(et);break;case PacketType.DISCONNECT:this.ondisconnect();break;case PacketType.CONNECT_ERROR:this.destroy();const rt=new Error(et.data.message);rt.data=et.data.data,this.emitReserved("connect_error",rt);break}}onevent(et){const nt=et.data||[];et.id!=null&&nt.push(this.ack(et.id)),this.connected?this.emitEvent(nt):this.receiveBuffer.push(Object.freeze(nt))}emitEvent(et){if(this._anyListeners&&this._anyListeners.length){const nt=this._anyListeners.slice();for(const rt of nt)rt.apply(this,et)}super.emit.apply(this,et),this._pid&&et.length&&typeof et[et.length-1]=="string"&&(this._lastOffset=et[et.length-1])}ack(et){const nt=this;let rt=!1;return function(...it){rt||(rt=!0,nt.packet({type:PacketType.ACK,id:et,data:it}))}}onack(et){const nt=this.acks[et.id];typeof nt=="function"&&(nt.apply(this,et.data),delete this.acks[et.id])}onconnect(et,nt){this.id=et,this.recovered=nt&&this._pid===nt,this._pid=nt,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(et=>this.emitEvent(et)),this.receiveBuffer=[],this.sendBuffer.forEach(et=>{this.notifyOutgoingListeners(et),this.packet(et)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(et=>et()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:PacketType.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(et){return this.flags.compress=et,this}get volatile(){return this.flags.volatile=!0,this}timeout(et){return this.flags.timeout=et,this}onAny(et){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(et),this}prependAny(et){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(et),this}offAny(et){if(!this._anyListeners)return this;if(et){const nt=this._anyListeners;for(let rt=0;rt0&&tt.jitter<=1?tt.jitter:0,this.attempts=0}Backoff.prototype.duration=function(){var tt=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var et=Math.random(),nt=Math.floor(et*this.jitter*tt);tt=Math.floor(et*10)&1?tt+nt:tt-nt}return Math.min(tt,this.max)|0};Backoff.prototype.reset=function(){this.attempts=0};Backoff.prototype.setMin=function(tt){this.ms=tt};Backoff.prototype.setMax=function(tt){this.max=tt};Backoff.prototype.setJitter=function(tt){this.jitter=tt};class Manager extends Emitter{constructor(et,nt){var rt;super(),this.nsps={},this.subs=[],et&&typeof et=="object"&&(nt=et,et=void 0),nt=nt||{},nt.path=nt.path||"/socket.io",this.opts=nt,installTimerFunctions(this,nt),this.reconnection(nt.reconnection!==!1),this.reconnectionAttempts(nt.reconnectionAttempts||1/0),this.reconnectionDelay(nt.reconnectionDelay||1e3),this.reconnectionDelayMax(nt.reconnectionDelayMax||5e3),this.randomizationFactor((rt=nt.randomizationFactor)!==null&&rt!==void 0?rt:.5),this.backoff=new Backoff({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(nt.timeout==null?2e4:nt.timeout),this._readyState="closed",this.uri=et;const it=nt.parser||parser;this.encoder=new it.Encoder,this.decoder=new it.Decoder,this._autoConnect=nt.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(et){return arguments.length?(this._reconnection=!!et,this):this._reconnection}reconnectionAttempts(et){return et===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=et,this)}reconnectionDelay(et){var nt;return et===void 0?this._reconnectionDelay:(this._reconnectionDelay=et,(nt=this.backoff)===null||nt===void 0||nt.setMin(et),this)}randomizationFactor(et){var nt;return et===void 0?this._randomizationFactor:(this._randomizationFactor=et,(nt=this.backoff)===null||nt===void 0||nt.setJitter(et),this)}reconnectionDelayMax(et){var nt;return et===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=et,(nt=this.backoff)===null||nt===void 0||nt.setMax(et),this)}timeout(et){return arguments.length?(this._timeout=et,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(et){if(~this._readyState.indexOf("open"))return this;this.engine=new Socket$1(this.uri,this.opts);const nt=this.engine,rt=this;this._readyState="opening",this.skipReconnect=!1;const it=on(nt,"open",function(){rt.onopen(),et&&et()}),ot=st=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",st),et?et(st):this.maybeReconnectOnOpen()},at=on(nt,"error",ot);if(this._timeout!==!1){const st=this._timeout,lt=this.setTimeoutFn(()=>{it(),ot(new Error("timeout")),nt.close()},st);this.opts.autoUnref&<.unref(),this.subs.push(()=>{this.clearTimeoutFn(lt)})}return this.subs.push(it),this.subs.push(at),this}connect(et){return this.open(et)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const et=this.engine;this.subs.push(on(et,"ping",this.onping.bind(this)),on(et,"data",this.ondata.bind(this)),on(et,"error",this.onerror.bind(this)),on(et,"close",this.onclose.bind(this)),on(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(et){try{this.decoder.add(et)}catch(nt){this.onclose("parse error",nt)}}ondecoded(et){nextTick(()=>{this.emitReserved("packet",et)},this.setTimeoutFn)}onerror(et){this.emitReserved("error",et)}socket(et,nt){let rt=this.nsps[et];return rt?this._autoConnect&&!rt.active&&rt.connect():(rt=new Socket(this,et,nt),this.nsps[et]=rt),rt}_destroy(et){const nt=Object.keys(this.nsps);for(const rt of nt)if(this.nsps[rt].active)return;this._close()}_packet(et){const nt=this.encoder.encode(et);for(let rt=0;rtet()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(et,nt){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",et,nt),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const et=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const nt=this.backoff.duration();this._reconnecting=!0;const rt=this.setTimeoutFn(()=>{et.skipReconnect||(this.emitReserved("reconnect_attempt",et.backoff.attempts),!et.skipReconnect&&et.open(it=>{it?(et._reconnecting=!1,et.reconnect(),this.emitReserved("reconnect_error",it)):et.onreconnect()}))},nt);this.opts.autoUnref&&rt.unref(),this.subs.push(()=>{this.clearTimeoutFn(rt)})}}onreconnect(){const et=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",et)}}const cache={};function lookup(tt,et){typeof tt=="object"&&(et=tt,tt=void 0),et=et||{};const nt=url(tt,et.path||"/socket.io"),rt=nt.source,it=nt.id,ot=nt.path,at=cache[it]&&ot in cache[it].nsps,st=et.forceNew||et["force new connection"]||et.multiplex===!1||at;let lt;return st?lt=new Manager(rt,et):(cache[it]||(cache[it]=new Manager(rt,et)),lt=cache[it]),nt.query&&!et.query&&(et.query=nt.queryKey),lt.socket(nt.path,et)}Object.assign(lookup,{Manager,Socket,io:lookup,connect:lookup});const useSocket=()=>{const[tt,et]=reactExports.useState(null);return reactExports.useEffect(()=>{const nt=lookup(API_URL);return et(nt),()=>{nt.disconnect()}},[]),tt},defaultData$5={askedQuestions:null,askedQuestionsAnswers:null,hasQuestionInProgress:!1,hasTeachingInProgress:!1,hasInstagraphInProgress:!1,teachMeAnswer:null,instgraphAnswser:null},useTeachStore=react(tt=>({...defaultData$5,setAskedQuestion:et=>tt(nt=>({askedQuestions:[...nt.askedQuestions||[],et],hasQuestionInProgress:!0})),setAskedQuestionAnswer:et=>tt(nt=>({askedQuestionsAnswers:[...nt.askedQuestionsAnswers||[],et],hasQuestionInProgress:!1})),setHasQuestionInProgress:et=>tt({hasQuestionInProgress:et}),setHasTeachingInProgress:et=>tt({hasTeachingInProgress:et}),setHasInstagraphInProgress:et=>tt({hasInstagraphInProgress:et}),setTeachMeAnswer:et=>tt({hasTeachingInProgress:!1,teachMeAnswer:et}),setInstagraphAnswer:et=>{var nt,rt,it,ot;(nt=et==null?void 0:et.instagraph)!=null&&nt.edges&&((rt=et==null?void 0:et.instagraph)!=null&&rt.nodes)&&tt({hasInstagraphInProgress:!1,instgraphAnswser:{edges:(it=et==null?void 0:et.instagraph)==null?void 0:it.edges,nodes:(ot=et==null?void 0:et.instagraph)==null?void 0:ot.nodes}})}})),version="0.1.106",defaultData$4={addNodeModalData:null,currentModals:{budgetExplanation:!1,sourcesTable:!1,addContent:!1,editTopic:!1,addEdge:!1,addSource:!1,settings:!1,mergeTopic:!1,briefDescription:!1}},useModalStore=create$7(tt=>({...defaultData$4,close:et=>{tt(nt=>({addNodeModalData:null,currentModals:{...nt.currentModals,[et]:!1}}))},open:et=>{tt(nt=>({currentModals:{...nt.currentModals,[et]:!0}}))}})),useModal=tt=>{const{open:et,close:nt,currentModals:rt}=useModalStore();return{close:()=>nt(tt),open:()=>et(tt),visible:rt[tt]}},scaleAnimation=We` @@ -6812,7 +6812,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho height: 16px; `,Relevance=({isSearchResult:tt})=>{const et=reactExports.useRef(null),nt=tt?80:10,[rt,it]=useDataStore(bt=>[bt.setSelectedNode,bt.setSelectedTimestamp]),[ot]=useAppStore(bt=>[bt.setSidebarOpen]),at=useAppStore(bt=>bt.setRelevanceSelected),[st,lt]=reactExports.useState(0),ct=useFilteredNodes(),ht=st*nt+nt,dt=ct.length-1>ht,pt=useIsMatchBreakpoint("sm","down"),mt=reactExports.useMemo(()=>[...ct].sort((bt,yt)=>(yt.date||0)-(bt.date||0)).slice(0,ht),[ct,ht]),gt=reactExports.useCallback(bt=>{saveConsumedContent(bt),it(bt),at(!0),rt(bt),pt&&ot(!1)},[rt,at,ot,it,pt]);return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:jsxRuntimeExports.jsxs(ScrollView,{ref:et,id:"search-result-list",shrink:1,children:[mt.map((bt,yt)=>{const{image_url:wt,date:vt,boost:kt,type:St,id:Et,episode_title:It,show_title:Tt,node_type:$t,text:Ut,source_link:Lt,link:Mt,name:Ct,profile_picture:xt,verified:At=!1,twitter_handle:Rt}=bt||{};return jsxRuntimeExports.jsx(Episode,{boostCount:kt||0,date:vt||0,episodeTitle:formatDescription(It),id:Et,imageUrl:wt||"",link:Mt,name:Ct||"",onClick:()=>gt(bt),profilePicture:xt,showTitle:formatDescription(Tt),sourceLink:Lt,text:Ut||"",twitterHandle:Rt,type:$t||St,verified:At},yt.toString())}),jsxRuntimeExports.jsx(LoadMoreWrapper,{align:"center",background:"BG1",direction:"row",justify:"center",children:jsxRuntimeExports.jsx(Button$2,{disabled:!dt,onClick:()=>{var bt;dt&&(lt(st+1),(bt=et.current)==null||bt.scrollTo(0,0))},size:"medium",children:"Load More"})})]})})},LoadMoreWrapper=styled$4(Flex)` flex: 0 0 86px; -`,_View$1=({isSearchResult:tt})=>{const[et,nt]=useUserStore(ot=>[ot.nodeCount,ot.setNodeCount]),[rt]=[useDataStore(ot=>ot.fetchData)],it=async()=>{et<1||(await rt(),nt("CLEAR"))};return jsxRuntimeExports.jsxs(Wrapper$9,{children:[!tt&&jsxRuntimeExports.jsxs("div",{className:"heading_container",children:[jsxRuntimeExports.jsxs("div",{className:"heading",children:[jsxRuntimeExports.jsx("span",{className:"heading__title",children:"Latest"}),jsxRuntimeExports.jsx("span",{className:"heading__icon",children:jsxRuntimeExports.jsx(BrowseGalleryIcon,{})})]}),et?jsxRuntimeExports.jsx("div",{className:"button_container",children:jsxRuntimeExports.jsx(ButtonStyled$1,{className:"button",onClick:it,startIcon:jsxRuntimeExports.jsx(DownloadIcon,{}),children:`See Latest (${et})`})}):null]}),jsxRuntimeExports.jsx(Relevance,{isSearchResult:tt})]})},ButtonStyled$1=styled$4(Button$2)` +`,_View$1=({isSearchResult:tt})=>{const[et,nt]=useUserStore(ot=>[ot.nodeCount,ot.setNodeCount]),[rt]=[useDataStore(ot=>ot.fetchData)],it=async()=>{et<1||(await rt(),nt("CLEAR"))};return jsxRuntimeExports.jsxs(Wrapper$9,{children:[!tt&&jsxRuntimeExports.jsxs("div",{className:"heading-container",children:[jsxRuntimeExports.jsxs("div",{className:"heading",children:[jsxRuntimeExports.jsx("span",{className:"heading__title",children:"Latest"}),jsxRuntimeExports.jsx("span",{className:"heading__icon",children:jsxRuntimeExports.jsx(BrowseGalleryIcon,{})})]}),et?jsxRuntimeExports.jsx("div",{className:"button_container",children:jsxRuntimeExports.jsx(ButtonStyled$1,{className:"button",onClick:it,startIcon:jsxRuntimeExports.jsx(DownloadIcon,{}),children:`See Latest (${et})`})}):null]}),jsxRuntimeExports.jsx(Relevance,{isSearchResult:tt})]})},ButtonStyled$1=styled$4(Button$2)` && { width: 100%; margin-top: 1.2rem; @@ -6822,7 +6822,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho } } `,LatestView=reactExports.memo(_View$1),Wrapper$9=styled$4(Flex)` - .heading_container { + .heading-container { display: flex; flex-direction: column; padding: 16px 24px 16px 24px; @@ -7262,7 +7262,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ot=!0,at=!1,st;return{s:function(){nt=tt[Symbol.iterator]()},n:function(){var ct=nt.next();return ot=ct.done,ct},e:function(ct){at=!0,st=ct},f:function(){try{!ot&&nt.return!=null&&nt.return()}finally{if(at)throw st}}}}function _unsupportedIterableToArray$1(tt,et){if(tt){if(typeof tt=="string")return _arrayLikeToArray$1(tt,et);var nt=Object.prototype.toString.call(tt).slice(8,-1);if(nt==="Object"&&tt.constructor&&(nt=tt.constructor.name),nt==="Map"||nt==="Set")return Array.from(tt);if(nt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(nt))return _arrayLikeToArray$1(tt,et)}}function _arrayLikeToArray$1(tt,et){(et==null||et>tt.length)&&(et=tt.length);for(var nt=0,rt=new Array(et);ntjt.length)&&(Ot=jt.length);for(var Pt=0,Nt=new Array(Ot);Pt"u"||!(Symbol.iterator in Object(jt)))){var Pt=[],Nt=!0,Bt=!1,Vt=void 0;try{for(var Jt=jt[Symbol.iterator](),rn;!(Nt=(rn=Jt.next()).done)&&(Pt.push(rn.value),!(Ot&&Pt.length===Ot));Nt=!0);}catch(qt){Bt=!0,Vt=qt}finally{try{!Nt&&Jt.return!=null&&Jt.return()}finally{if(Bt)throw Vt}}return Pt}}function mt(jt){if(Array.isArray(jt))return jt}function gt(jt,Ot){if(!(jt instanceof Ot))throw new TypeError("Cannot call a class as a function")}function bt(jt,Ot){for(var Pt=0;Pt"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function Tt(jt){return Tt=Object.setPrototypeOf?Object.getPrototypeOf:function(Pt){return Pt.__proto__||Object.getPrototypeOf(Pt)},Tt(jt)}function $t(jt,Ot,Pt){return Ot in jt?Object.defineProperty(jt,Ot,{value:Pt,enumerable:!0,configurable:!0,writable:!0}):jt[Ot]=Pt,jt}var Ut="https://www.youtube.com/iframe_api",Lt="YT",Mt="onYouTubeIframeAPIReady",Ct=/[?&](?:list|channel)=([a-zA-Z0-9_-]+)/,xt=/user\/([a-zA-Z0-9_-]+)\/?/,At=/youtube-nocookie\.com/,Rt="https://www.youtube-nocookie.com",zt=function(jt){wt(Pt,jt);var Ot=kt(Pt);function Pt(){var Nt;gt(this,Pt);for(var Bt=arguments.length,Vt=new Array(Bt),Jt=0;Jt1&&arguments[1]!==void 0?arguments[1]:!1;this.callPlayer("seekTo",Bt),!Vt&&!this.props.playing&&this.pause()}},{key:"setVolume",value:function(Bt){this.callPlayer("setVolume",Bt*100)}},{key:"setPlaybackRate",value:function(Bt){this.callPlayer("setPlaybackRate",Bt)}},{key:"setLoop",value:function(Bt){this.callPlayer("setLoop",Bt)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentTime")}},{key:"getSecondsLoaded",value:function(){return this.callPlayer("getVideoLoadedFraction")*this.getDuration()}},{key:"render",value:function(){var Bt=this.props.display,Vt={width:"100%",height:"100%",display:Bt};return nt.default.createElement("div",{style:Vt},nt.default.createElement("div",{ref:this.ref}))}}]),Pt}(nt.Component);tt.default=zt,$t(zt,"displayName","YouTube"),$t(zt,"canPlay",it.canPlay.youtube)}(YouTube)),YouTube}var SoundCloud={},hasRequiredSoundCloud;function requireSoundCloud(){return hasRequiredSoundCloud||(hasRequiredSoundCloud=1,function(tt){function et(It){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?et=function($t){return typeof $t}:et=function($t){return $t&&typeof Symbol=="function"&&$t.constructor===Symbol&&$t!==Symbol.prototype?"symbol":typeof $t},et(It)}Object.defineProperty(tt,"__esModule",{value:!0}),tt.default=void 0;var nt=at(reactExports),rt=utils,it=patterns;function ot(){if(typeof WeakMap!="function")return null;var It=new WeakMap;return ot=function(){return It},It}function at(It){if(It&&It.__esModule)return It;if(It===null||et(It)!=="object"&&typeof It!="function")return{default:It};var Tt=ot();if(Tt&&Tt.has(It))return Tt.get(It);var $t={},Ut=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Lt in It)if(Object.prototype.hasOwnProperty.call(It,Lt)){var Mt=Ut?Object.getOwnPropertyDescriptor(It,Lt):null;Mt&&(Mt.get||Mt.set)?Object.defineProperty($t,Lt,Mt):$t[Lt]=It[Lt]}return $t.default=It,Tt&&Tt.set(It,$t),$t}function st(It,Tt){var $t=Object.keys(It);if(Object.getOwnPropertySymbols){var Ut=Object.getOwnPropertySymbols(It);Tt&&(Ut=Ut.filter(function(Lt){return Object.getOwnPropertyDescriptor(It,Lt).enumerable})),$t.push.apply($t,Ut)}return $t}function lt(It){for(var Tt=1;Tt"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function wt(It){return wt=Object.setPrototypeOf?Object.getPrototypeOf:function($t){return $t.__proto__||Object.getPrototypeOf($t)},wt(It)}function vt(It,Tt,$t){return Tt in It?Object.defineProperty(It,Tt,{value:$t,enumerable:!0,configurable:!0,writable:!0}):It[Tt]=$t,It}var kt="https://w.soundcloud.com/player/api.js",St="SC",Et=function(It){dt($t,It);var Tt=mt($t);function $t(){var Ut;ct(this,$t);for(var Lt=arguments.length,Mt=new Array(Lt),Ct=0;Ct1&&arguments[1]!==void 0?arguments[1]:!0;this.callPlayer("seekTo",Lt*1e3),Mt||this.pause()}},{key:"setVolume",value:function(Lt){this.callPlayer("setVolume",Lt*100)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.fractionLoaded*this.duration}},{key:"render",value:function(){var Lt=this.props.display,Mt={width:"100%",height:"100%",display:Lt};return nt.default.createElement("iframe",{ref:this.ref,src:"https://w.soundcloud.com/player/?url=".concat(encodeURIComponent(this.props.url)),style:Mt,frameBorder:0,allow:"autoplay"})}}]),$t}(nt.Component);tt.default=Et,vt(Et,"displayName","SoundCloud"),vt(Et,"canPlay",it.canPlay.soundcloud),vt(Et,"loopOnEnded",!0)}(SoundCloud)),SoundCloud}var Vimeo={},hasRequiredVimeo;function requireVimeo(){return hasRequiredVimeo||(hasRequiredVimeo=1,function(tt){function et(Tt){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?et=function(Ut){return typeof Ut}:et=function(Ut){return Ut&&typeof Symbol=="function"&&Ut.constructor===Symbol&&Ut!==Symbol.prototype?"symbol":typeof Ut},et(Tt)}Object.defineProperty(tt,"__esModule",{value:!0}),tt.default=void 0;var nt=at(reactExports),rt=utils,it=patterns;function ot(){if(typeof WeakMap!="function")return null;var Tt=new WeakMap;return ot=function(){return Tt},Tt}function at(Tt){if(Tt&&Tt.__esModule)return Tt;if(Tt===null||et(Tt)!=="object"&&typeof Tt!="function")return{default:Tt};var $t=ot();if($t&&$t.has(Tt))return $t.get(Tt);var Ut={},Lt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Mt in Tt)if(Object.prototype.hasOwnProperty.call(Tt,Mt)){var Ct=Lt?Object.getOwnPropertyDescriptor(Tt,Mt):null;Ct&&(Ct.get||Ct.set)?Object.defineProperty(Ut,Mt,Ct):Ut[Mt]=Tt[Mt]}return Ut.default=Tt,$t&&$t.set(Tt,Ut),Ut}function st(Tt,$t){var Ut=Object.keys(Tt);if(Object.getOwnPropertySymbols){var Lt=Object.getOwnPropertySymbols(Tt);$t&&(Lt=Lt.filter(function(Mt){return Object.getOwnPropertyDescriptor(Tt,Mt).enumerable})),Ut.push.apply(Ut,Lt)}return Ut}function lt(Tt){for(var $t=1;$t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function wt(Tt){return wt=Object.setPrototypeOf?Object.getPrototypeOf:function(Ut){return Ut.__proto__||Object.getPrototypeOf(Ut)},wt(Tt)}function vt(Tt,$t,Ut){return $t in Tt?Object.defineProperty(Tt,$t,{value:Ut,enumerable:!0,configurable:!0,writable:!0}):Tt[$t]=Ut,Tt}var kt="https://player.vimeo.com/api/player.js",St="Vimeo",Et=function($t){return $t.replace("/manage/videos","")},It=function(Tt){dt(Ut,Tt);var $t=mt(Ut);function Ut(){var Lt;ct(this,Ut);for(var Mt=arguments.length,Ct=new Array(Mt),xt=0;xt1&&arguments[1]!==void 0?arguments[1]:!0;this.callPlayer("setCurrentTime",Mt),Ct||this.pause()}},{key:"setVolume",value:function(Mt){this.callPlayer("setVolume",Mt)}},{key:"setMuted",value:function(Mt){this.callPlayer("setMuted",Mt)}},{key:"setLoop",value:function(Mt){this.callPlayer("setLoop",Mt)}},{key:"setPlaybackRate",value:function(Mt){this.callPlayer("setPlaybackRate",Mt)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){var Mt=this.props.display,Ct={width:"100%",height:"100%",overflow:"hidden",display:Mt};return nt.default.createElement("div",{key:this.props.url,ref:this.ref,style:Ct})}}]),Ut}(nt.Component);tt.default=It,vt(It,"displayName","Vimeo"),vt(It,"canPlay",it.canPlay.vimeo),vt(It,"forceLoad",!0)}(Vimeo)),Vimeo}var Facebook={},hasRequiredFacebook;function requireFacebook(){return hasRequiredFacebook||(hasRequiredFacebook=1,function(tt){function et(Tt){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?et=function(Ut){return typeof Ut}:et=function(Ut){return Ut&&typeof Symbol=="function"&&Ut.constructor===Symbol&&Ut!==Symbol.prototype?"symbol":typeof Ut},et(Tt)}Object.defineProperty(tt,"__esModule",{value:!0}),tt.default=void 0;var nt=at(reactExports),rt=utils,it=patterns;function ot(){if(typeof WeakMap!="function")return null;var Tt=new WeakMap;return ot=function(){return Tt},Tt}function at(Tt){if(Tt&&Tt.__esModule)return Tt;if(Tt===null||et(Tt)!=="object"&&typeof Tt!="function")return{default:Tt};var $t=ot();if($t&&$t.has(Tt))return $t.get(Tt);var Ut={},Lt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Mt in Tt)if(Object.prototype.hasOwnProperty.call(Tt,Mt)){var Ct=Lt?Object.getOwnPropertyDescriptor(Tt,Mt):null;Ct&&(Ct.get||Ct.set)?Object.defineProperty(Ut,Mt,Ct):Ut[Mt]=Tt[Mt]}return Ut.default=Tt,$t&&$t.set(Tt,Ut),Ut}function st(){return st=Object.assign||function(Tt){for(var $t=1;$t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function yt(Tt){return yt=Object.setPrototypeOf?Object.getPrototypeOf:function(Ut){return Ut.__proto__||Object.getPrototypeOf(Ut)},yt(Tt)}function wt(Tt,$t,Ut){return $t in Tt?Object.defineProperty(Tt,$t,{value:Ut,enumerable:!0,configurable:!0,writable:!0}):Tt[$t]=Ut,Tt}var vt="https://connect.facebook.net/en_US/sdk.js",kt="FB",St="fbAsyncInit",Et="facebook-player-",It=function(Tt){ht(Ut,Tt);var $t=pt(Ut);function Ut(){var Lt;lt(this,Ut);for(var Mt=arguments.length,Ct=new Array(Mt),xt=0;xt1&&arguments[1]!==void 0?arguments[1]:!0;this.callPlayer("seek",Mt),Ct||this.pause()}},{key:"setVolume",value:function(Mt){this.callPlayer("setVolume",Mt)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentPosition")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var Mt=this.props.config.attributes,Ct={width:"100%",height:"100%"};return nt.default.createElement("div",st({style:Ct,id:this.playerID,className:"fb-video","data-href":this.props.url,"data-autoplay":this.props.playing?"true":"false","data-allowfullscreen":"true","data-controls":this.props.controls?"true":"false"},Mt))}}]),Ut}(nt.Component);tt.default=It,wt(It,"displayName","Facebook"),wt(It,"canPlay",it.canPlay.facebook),wt(It,"loopOnEnded",!0)}(Facebook)),Facebook}var Streamable={},hasRequiredStreamable;function requireStreamable(){return hasRequiredStreamable||(hasRequiredStreamable=1,function(tt){function et(St){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?et=function(It){return typeof It}:et=function(It){return It&&typeof Symbol=="function"&&It.constructor===Symbol&&It!==Symbol.prototype?"symbol":typeof It},et(St)}Object.defineProperty(tt,"__esModule",{value:!0}),tt.default=void 0;var nt=at(reactExports),rt=utils,it=patterns;function ot(){if(typeof WeakMap!="function")return null;var St=new WeakMap;return ot=function(){return St},St}function at(St){if(St&&St.__esModule)return St;if(St===null||et(St)!=="object"&&typeof St!="function")return{default:St};var Et=ot();if(Et&&Et.has(St))return Et.get(St);var It={},Tt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $t in St)if(Object.prototype.hasOwnProperty.call(St,$t)){var Ut=Tt?Object.getOwnPropertyDescriptor(St,$t):null;Ut&&(Ut.get||Ut.set)?Object.defineProperty(It,$t,Ut):It[$t]=St[$t]}return It.default=St,Et&&Et.set(St,It),It}function st(St,Et){if(!(St instanceof Et))throw new TypeError("Cannot call a class as a function")}function lt(St,Et){for(var It=0;It"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function bt(St){return bt=Object.setPrototypeOf?Object.getPrototypeOf:function(It){return It.__proto__||Object.getPrototypeOf(It)},bt(St)}function yt(St,Et,It){return Et in St?Object.defineProperty(St,Et,{value:It,enumerable:!0,configurable:!0,writable:!0}):St[Et]=It,St}var wt="https://cdn.embed.ly/player-0.1.0.min.js",vt="playerjs",kt=function(St){ut(It,St);var Et=dt(It);function It(){var Tt;st(this,It);for(var $t=arguments.length,Ut=new Array($t),Lt=0;Lt<$t;Lt++)Ut[Lt]=arguments[Lt];return Tt=Et.call.apply(Et,[this].concat(Ut)),yt(mt(Tt),"callPlayer",rt.callPlayer),yt(mt(Tt),"duration",null),yt(mt(Tt),"currentTime",null),yt(mt(Tt),"secondsLoaded",null),yt(mt(Tt),"mute",function(){Tt.callPlayer("mute")}),yt(mt(Tt),"unmute",function(){Tt.callPlayer("unmute")}),yt(mt(Tt),"ref",function(Mt){Tt.iframe=Mt}),Tt}return ct(It,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function($t){var Ut=this;(0,rt.getSDK)(wt,vt).then(function(Lt){Ut.iframe&&(Ut.player=new Lt.Player(Ut.iframe),Ut.player.setLoop(Ut.props.loop),Ut.player.on("ready",Ut.props.onReady),Ut.player.on("play",Ut.props.onPlay),Ut.player.on("pause",Ut.props.onPause),Ut.player.on("seeked",Ut.props.onSeek),Ut.player.on("ended",Ut.props.onEnded),Ut.player.on("error",Ut.props.onError),Ut.player.on("timeupdate",function(Mt){var Ct=Mt.duration,xt=Mt.seconds;Ut.duration=Ct,Ut.currentTime=xt}),Ut.player.on("buffered",function(Mt){var Ct=Mt.percent;Ut.duration&&(Ut.secondsLoaded=Ut.duration*Ct)}),Ut.props.muted&&Ut.player.mute())},this.props.onError)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function($t){var Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;this.callPlayer("setCurrentTime",$t),Ut||this.pause()}},{key:"setVolume",value:function($t){this.callPlayer("setVolume",$t*100)}},{key:"setLoop",value:function($t){this.callPlayer("setLoop",$t)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){var $t=this.props.url.match(it.MATCH_URL_STREAMABLE)[1],Ut={width:"100%",height:"100%"};return nt.default.createElement("iframe",{ref:this.ref,src:"https://streamable.com/o/".concat($t),frameBorder:"0",scrolling:"no",style:Ut,allow:"encrypted-media; autoplay; fullscreen;"})}}]),It}(nt.Component);tt.default=kt,yt(kt,"displayName","Streamable"),yt(kt,"canPlay",it.canPlay.streamable)}(Streamable)),Streamable}var Wistia={},hasRequiredWistia;function requireWistia(){return hasRequiredWistia||(hasRequiredWistia=1,function(tt){function et(Tt){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?et=function(Ut){return typeof Ut}:et=function(Ut){return Ut&&typeof Symbol=="function"&&Ut.constructor===Symbol&&Ut!==Symbol.prototype?"symbol":typeof Ut},et(Tt)}Object.defineProperty(tt,"__esModule",{value:!0}),tt.default=void 0;var nt=at(reactExports),rt=utils,it=patterns;function ot(){if(typeof WeakMap!="function")return null;var Tt=new WeakMap;return ot=function(){return Tt},Tt}function at(Tt){if(Tt&&Tt.__esModule)return Tt;if(Tt===null||et(Tt)!=="object"&&typeof Tt!="function")return{default:Tt};var $t=ot();if($t&&$t.has(Tt))return $t.get(Tt);var Ut={},Lt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Mt in Tt)if(Object.prototype.hasOwnProperty.call(Tt,Mt)){var Ct=Lt?Object.getOwnPropertyDescriptor(Tt,Mt):null;Ct&&(Ct.get||Ct.set)?Object.defineProperty(Ut,Mt,Ct):Ut[Mt]=Tt[Mt]}return Ut.default=Tt,$t&&$t.set(Tt,Ut),Ut}function st(Tt,$t){var Ut=Object.keys(Tt);if(Object.getOwnPropertySymbols){var Lt=Object.getOwnPropertySymbols(Tt);$t&&(Lt=Lt.filter(function(Mt){return Object.getOwnPropertyDescriptor(Tt,Mt).enumerable})),Ut.push.apply(Ut,Lt)}return Ut}function lt(Tt){for(var $t=1;$t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function wt(Tt){return wt=Object.setPrototypeOf?Object.getPrototypeOf:function(Ut){return Ut.__proto__||Object.getPrototypeOf(Ut)},wt(Tt)}function vt(Tt,$t,Ut){return $t in Tt?Object.defineProperty(Tt,$t,{value:Ut,enumerable:!0,configurable:!0,writable:!0}):Tt[$t]=Ut,Tt}var kt="https://fast.wistia.com/assets/external/E-v1.js",St="Wistia",Et="wistia-player-",It=function(Tt){dt(Ut,Tt);var $t=mt(Ut);function Ut(){var Lt;ct(this,Ut);for(var Mt=arguments.length,Ct=new Array(Mt),xt=0;xt1&&arguments[1]!==void 0?arguments[1]:!0;this.callPlayer("time",Mt),Ct||this.pause()}},{key:"setVolume",value:function(Mt){this.callPlayer("volume",Mt)}},{key:"setPlaybackRate",value:function(Mt){this.callPlayer("playbackRate",Mt)}},{key:"getDuration",value:function(){return this.callPlayer("duration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("time")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var Mt=this.props.url,Ct=Mt&&Mt.match(it.MATCH_URL_WISTIA)[1],xt="wistia_embed wistia_async_".concat(Ct),At={width:"100%",height:"100%"};return nt.default.createElement("div",{id:this.playerID,key:Ct,className:xt,style:At})}}]),Ut}(nt.Component);tt.default=It,vt(It,"displayName","Wistia"),vt(It,"canPlay",it.canPlay.wistia),vt(It,"loopOnEnded",!0)}(Wistia)),Wistia}var Twitch={},hasRequiredTwitch;function requireTwitch(){return hasRequiredTwitch||(hasRequiredTwitch=1,function(tt){function et(Tt){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?et=function(Ut){return typeof Ut}:et=function(Ut){return Ut&&typeof Symbol=="function"&&Ut.constructor===Symbol&&Ut!==Symbol.prototype?"symbol":typeof Ut},et(Tt)}Object.defineProperty(tt,"__esModule",{value:!0}),tt.default=void 0;var nt=at(reactExports),rt=utils,it=patterns;function ot(){if(typeof WeakMap!="function")return null;var Tt=new WeakMap;return ot=function(){return Tt},Tt}function at(Tt){if(Tt&&Tt.__esModule)return Tt;if(Tt===null||et(Tt)!=="object"&&typeof Tt!="function")return{default:Tt};var $t=ot();if($t&&$t.has(Tt))return $t.get(Tt);var Ut={},Lt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Mt in Tt)if(Object.prototype.hasOwnProperty.call(Tt,Mt)){var Ct=Lt?Object.getOwnPropertyDescriptor(Tt,Mt):null;Ct&&(Ct.get||Ct.set)?Object.defineProperty(Ut,Mt,Ct):Ut[Mt]=Tt[Mt]}return Ut.default=Tt,$t&&$t.set(Tt,Ut),Ut}function st(Tt,$t){var Ut=Object.keys(Tt);if(Object.getOwnPropertySymbols){var Lt=Object.getOwnPropertySymbols(Tt);$t&&(Lt=Lt.filter(function(Mt){return Object.getOwnPropertyDescriptor(Tt,Mt).enumerable})),Ut.push.apply(Ut,Lt)}return Ut}function lt(Tt){for(var $t=1;$t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function wt(Tt){return wt=Object.setPrototypeOf?Object.getPrototypeOf:function(Ut){return Ut.__proto__||Object.getPrototypeOf(Ut)},wt(Tt)}function vt(Tt,$t,Ut){return $t in Tt?Object.defineProperty(Tt,$t,{value:Ut,enumerable:!0,configurable:!0,writable:!0}):Tt[$t]=Ut,Tt}var kt="https://player.twitch.tv/js/embed/v1.js",St="Twitch",Et="twitch-player-",It=function(Tt){dt(Ut,Tt);var $t=mt(Ut);function Ut(){var Lt;ct(this,Ut);for(var Mt=arguments.length,Ct=new Array(Mt),xt=0;xt1&&arguments[1]!==void 0?arguments[1]:!0;this.callPlayer("seek",Mt),Ct||this.pause()}},{key:"setVolume",value:function(Mt){this.callPlayer("setVolume",Mt)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentTime")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var Mt={width:"100%",height:"100%"};return nt.default.createElement("div",{style:Mt,id:this.playerID})}}]),Ut}(nt.Component);tt.default=It,vt(It,"displayName","Twitch"),vt(It,"canPlay",it.canPlay.twitch),vt(It,"loopOnEnded",!0)}(Twitch)),Twitch}var DailyMotion={},hasRequiredDailyMotion;function requireDailyMotion(){return hasRequiredDailyMotion||(hasRequiredDailyMotion=1,function(tt){function et(xt){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?et=function(Rt){return typeof Rt}:et=function(Rt){return Rt&&typeof Symbol=="function"&&Rt.constructor===Symbol&&Rt!==Symbol.prototype?"symbol":typeof Rt},et(xt)}Object.defineProperty(tt,"__esModule",{value:!0}),tt.default=void 0;var nt=at(reactExports),rt=utils,it=patterns;function ot(){if(typeof WeakMap!="function")return null;var xt=new WeakMap;return ot=function(){return xt},xt}function at(xt){if(xt&&xt.__esModule)return xt;if(xt===null||et(xt)!=="object"&&typeof xt!="function")return{default:xt};var At=ot();if(At&&At.has(xt))return At.get(xt);var Rt={},zt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var jt in xt)if(Object.prototype.hasOwnProperty.call(xt,jt)){var Ot=zt?Object.getOwnPropertyDescriptor(xt,jt):null;Ot&&(Ot.get||Ot.set)?Object.defineProperty(Rt,jt,Ot):Rt[jt]=xt[jt]}return Rt.default=xt,At&&At.set(xt,Rt),Rt}function st(xt,At){var Rt=Object.keys(xt);if(Object.getOwnPropertySymbols){var zt=Object.getOwnPropertySymbols(xt);At&&(zt=zt.filter(function(jt){return Object.getOwnPropertyDescriptor(xt,jt).enumerable})),Rt.push.apply(Rt,zt)}return Rt}function lt(xt){for(var At=1;Atxt.length)&&(At=xt.length);for(var Rt=0,zt=new Array(At);Rt"u"||!(Symbol.iterator in Object(xt)))){var Rt=[],zt=!0,jt=!1,Ot=void 0;try{for(var Pt=xt[Symbol.iterator](),Nt;!(zt=(Nt=Pt.next()).done)&&(Rt.push(Nt.value),!(At&&Rt.length===At));zt=!0);}catch(Bt){jt=!0,Ot=Bt}finally{try{!zt&&Pt.return!=null&&Pt.return()}finally{if(jt)throw Ot}}return Rt}}function mt(xt){if(Array.isArray(xt))return xt}function gt(xt,At){if(!(xt instanceof At))throw new TypeError("Cannot call a class as a function")}function bt(xt,At){for(var Rt=0;Rt"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function Tt(xt){return Tt=Object.setPrototypeOf?Object.getPrototypeOf:function(Rt){return Rt.__proto__||Object.getPrototypeOf(Rt)},Tt(xt)}function $t(xt,At,Rt){return At in xt?Object.defineProperty(xt,At,{value:Rt,enumerable:!0,configurable:!0,writable:!0}):xt[At]=Rt,xt}var Ut="https://api.dmcdn.net/all.js",Lt="DM",Mt="dmAsyncInit",Ct=function(xt){wt(Rt,xt);var At=kt(Rt);function Rt(){var zt;gt(this,Rt);for(var jt=arguments.length,Ot=new Array(jt),Pt=0;Pt1&&arguments[1]!==void 0?arguments[1]:!0;this.callPlayer("seek",jt),Ot||this.pause()}},{key:"setVolume",value:function(jt){this.callPlayer("setVolume",jt)}},{key:"getDuration",value:function(){return this.player.duration||null}},{key:"getCurrentTime",value:function(){return this.player.currentTime}},{key:"getSecondsLoaded",value:function(){return this.player.bufferedTime}},{key:"render",value:function(){var jt=this.props.display,Ot={width:"100%",height:"100%",display:jt};return nt.default.createElement("div",{style:Ot},nt.default.createElement("div",{ref:this.ref}))}}]),Rt}(nt.Component);tt.default=Ct,$t(Ct,"displayName","DailyMotion"),$t(Ct,"canPlay",it.canPlay.dailymotion),$t(Ct,"loopOnEnded",!0)}(DailyMotion)),DailyMotion}var Mixcloud={},hasRequiredMixcloud;function requireMixcloud(){return hasRequiredMixcloud||(hasRequiredMixcloud=1,function(tt){function et(It){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?et=function($t){return typeof $t}:et=function($t){return $t&&typeof Symbol=="function"&&$t.constructor===Symbol&&$t!==Symbol.prototype?"symbol":typeof $t},et(It)}Object.defineProperty(tt,"__esModule",{value:!0}),tt.default=void 0;var nt=at(reactExports),rt=utils,it=patterns;function ot(){if(typeof WeakMap!="function")return null;var It=new WeakMap;return ot=function(){return It},It}function at(It){if(It&&It.__esModule)return It;if(It===null||et(It)!=="object"&&typeof It!="function")return{default:It};var Tt=ot();if(Tt&&Tt.has(It))return Tt.get(It);var $t={},Ut=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Lt in It)if(Object.prototype.hasOwnProperty.call(It,Lt)){var Mt=Ut?Object.getOwnPropertyDescriptor(It,Lt):null;Mt&&(Mt.get||Mt.set)?Object.defineProperty($t,Lt,Mt):$t[Lt]=It[Lt]}return $t.default=It,Tt&&Tt.set(It,$t),$t}function st(It,Tt){var $t=Object.keys(It);if(Object.getOwnPropertySymbols){var Ut=Object.getOwnPropertySymbols(It);Tt&&(Ut=Ut.filter(function(Lt){return Object.getOwnPropertyDescriptor(It,Lt).enumerable})),$t.push.apply($t,Ut)}return $t}function lt(It){for(var Tt=1;Tt"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function wt(It){return wt=Object.setPrototypeOf?Object.getPrototypeOf:function($t){return $t.__proto__||Object.getPrototypeOf($t)},wt(It)}function vt(It,Tt,$t){return Tt in It?Object.defineProperty(It,Tt,{value:$t,enumerable:!0,configurable:!0,writable:!0}):It[Tt]=$t,It}var kt="https://widget.mixcloud.com/media/js/widgetApi.js",St="Mixcloud",Et=function(It){dt($t,It);var Tt=mt($t);function $t(){var Ut;ct(this,$t);for(var Lt=arguments.length,Mt=new Array(Lt),Ct=0;Ct1&&arguments[1]!==void 0?arguments[1]:!0;this.callPlayer("seek",Lt),Mt||this.pause()}},{key:"setVolume",value:function(Lt){}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var Lt=this.props,Mt=Lt.url,Ct=Lt.config,xt=Mt.match(it.MATCH_URL_MIXCLOUD)[1],At={width:"100%",height:"100%"},Rt=(0,rt.queryString)(lt(lt({},Ct.options),{},{feed:"/".concat(xt,"/")}));return nt.default.createElement("iframe",{key:xt,ref:this.ref,style:At,src:"https://www.mixcloud.com/widget/iframe/?".concat(Rt),frameBorder:"0",allow:"autoplay"})}}]),$t}(nt.Component);tt.default=Et,vt(Et,"displayName","Mixcloud"),vt(Et,"canPlay",it.canPlay.mixcloud),vt(Et,"loopOnEnded",!0)}(Mixcloud)),Mixcloud}var Vidyard={},hasRequiredVidyard;function requireVidyard(){return hasRequiredVidyard||(hasRequiredVidyard=1,function(tt){function et(Tt){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?et=function(Ut){return typeof Ut}:et=function(Ut){return Ut&&typeof Symbol=="function"&&Ut.constructor===Symbol&&Ut!==Symbol.prototype?"symbol":typeof Ut},et(Tt)}Object.defineProperty(tt,"__esModule",{value:!0}),tt.default=void 0;var nt=at(reactExports),rt=utils,it=patterns;function ot(){if(typeof WeakMap!="function")return null;var Tt=new WeakMap;return ot=function(){return Tt},Tt}function at(Tt){if(Tt&&Tt.__esModule)return Tt;if(Tt===null||et(Tt)!=="object"&&typeof Tt!="function")return{default:Tt};var $t=ot();if($t&&$t.has(Tt))return $t.get(Tt);var Ut={},Lt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Mt in Tt)if(Object.prototype.hasOwnProperty.call(Tt,Mt)){var Ct=Lt?Object.getOwnPropertyDescriptor(Tt,Mt):null;Ct&&(Ct.get||Ct.set)?Object.defineProperty(Ut,Mt,Ct):Ut[Mt]=Tt[Mt]}return Ut.default=Tt,$t&&$t.set(Tt,Ut),Ut}function st(Tt,$t){var Ut=Object.keys(Tt);if(Object.getOwnPropertySymbols){var Lt=Object.getOwnPropertySymbols(Tt);$t&&(Lt=Lt.filter(function(Mt){return Object.getOwnPropertyDescriptor(Tt,Mt).enumerable})),Ut.push.apply(Ut,Lt)}return Ut}function lt(Tt){for(var $t=1;$t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function wt(Tt){return wt=Object.setPrototypeOf?Object.getPrototypeOf:function(Ut){return Ut.__proto__||Object.getPrototypeOf(Ut)},wt(Tt)}function vt(Tt,$t,Ut){return $t in Tt?Object.defineProperty(Tt,$t,{value:Ut,enumerable:!0,configurable:!0,writable:!0}):Tt[$t]=Ut,Tt}var kt="https://play.vidyard.com/embed/v4.js",St="VidyardV4",Et="onVidyardAPI",It=function(Tt){dt(Ut,Tt);var $t=mt(Ut);function Ut(){var Lt;ct(this,Ut);for(var Mt=arguments.length,Ct=new Array(Mt),xt=0;xt1&&arguments[1]!==void 0?arguments[1]:!0;this.callPlayer("seek",Mt),Ct||this.pause()}},{key:"setVolume",value:function(Mt){this.callPlayer("setVolume",Mt)}},{key:"setPlaybackRate",value:function(Mt){this.callPlayer("setPlaybackSpeed",Mt)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.callPlayer("currentTime")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var Mt=this.props.display,Ct={width:"100%",height:"100%",display:Mt};return nt.default.createElement("div",{style:Ct},nt.default.createElement("div",{ref:this.ref}))}}]),Ut}(nt.Component);tt.default=It,vt(It,"displayName","Vidyard"),vt(It,"canPlay",it.canPlay.vidyard)}(Vidyard)),Vidyard}var Kaltura={},hasRequiredKaltura;function requireKaltura(){return hasRequiredKaltura||(hasRequiredKaltura=1,function(tt){function et(St){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?et=function(It){return typeof It}:et=function(It){return It&&typeof Symbol=="function"&&It.constructor===Symbol&&It!==Symbol.prototype?"symbol":typeof It},et(St)}Object.defineProperty(tt,"__esModule",{value:!0}),tt.default=void 0;var nt=at(reactExports),rt=utils,it=patterns;function ot(){if(typeof WeakMap!="function")return null;var St=new WeakMap;return ot=function(){return St},St}function at(St){if(St&&St.__esModule)return St;if(St===null||et(St)!=="object"&&typeof St!="function")return{default:St};var Et=ot();if(Et&&Et.has(St))return Et.get(St);var It={},Tt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $t in St)if(Object.prototype.hasOwnProperty.call(St,$t)){var Ut=Tt?Object.getOwnPropertyDescriptor(St,$t):null;Ut&&(Ut.get||Ut.set)?Object.defineProperty(It,$t,Ut):It[$t]=St[$t]}return It.default=St,Et&&Et.set(St,It),It}function st(St,Et){if(!(St instanceof Et))throw new TypeError("Cannot call a class as a function")}function lt(St,Et){for(var It=0;It"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function bt(St){return bt=Object.setPrototypeOf?Object.getPrototypeOf:function(It){return It.__proto__||Object.getPrototypeOf(It)},bt(St)}function yt(St,Et,It){return Et in St?Object.defineProperty(St,Et,{value:It,enumerable:!0,configurable:!0,writable:!0}):St[Et]=It,St}var wt="https://cdn.embed.ly/player-0.1.0.min.js",vt="playerjs",kt=function(St){ut(It,St);var Et=dt(It);function It(){var Tt;st(this,It);for(var $t=arguments.length,Ut=new Array($t),Lt=0;Lt<$t;Lt++)Ut[Lt]=arguments[Lt];return Tt=Et.call.apply(Et,[this].concat(Ut)),yt(mt(Tt),"callPlayer",rt.callPlayer),yt(mt(Tt),"duration",null),yt(mt(Tt),"currentTime",null),yt(mt(Tt),"secondsLoaded",null),yt(mt(Tt),"mute",function(){Tt.callPlayer("mute")}),yt(mt(Tt),"unmute",function(){Tt.callPlayer("unmute")}),yt(mt(Tt),"ref",function(Mt){Tt.iframe=Mt}),Tt}return ct(It,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function($t){var Ut=this;(0,rt.getSDK)(wt,vt).then(function(Lt){Ut.iframe&&(Ut.player=new Lt.Player(Ut.iframe),Ut.player.on("ready",function(){setTimeout(function(){Ut.player.isReady=!0,Ut.player.setLoop(Ut.props.loop),Ut.props.muted&&Ut.player.mute(),Ut.addListeners(Ut.player,Ut.props),Ut.props.onReady()},500)}))},this.props.onError)}},{key:"addListeners",value:function($t,Ut){var Lt=this;$t.on("play",Ut.onPlay),$t.on("pause",Ut.onPause),$t.on("ended",Ut.onEnded),$t.on("error",Ut.onError),$t.on("timeupdate",function(Mt){var Ct=Mt.duration,xt=Mt.seconds;Lt.duration=Ct,Lt.currentTime=xt})}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function($t){var Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;this.callPlayer("setCurrentTime",$t),Ut||this.pause()}},{key:"setVolume",value:function($t){this.callPlayer("setVolume",$t)}},{key:"setLoop",value:function($t){this.callPlayer("setLoop",$t)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){var $t={width:"100%",height:"100%"};return nt.default.createElement("iframe",{ref:this.ref,src:this.props.url,frameBorder:"0",scrolling:"no",style:$t,allow:"encrypted-media; autoplay; fullscreen;",referrerPolicy:"no-referrer-when-downgrade"})}}]),It}(nt.Component);tt.default=kt,yt(kt,"displayName","Kaltura"),yt(kt,"canPlay",it.canPlay.kaltura)}(Kaltura)),Kaltura}var FilePlayer={},hasRequiredFilePlayer;function requireFilePlayer(){return hasRequiredFilePlayer||(hasRequiredFilePlayer=1,function(tt){function et(zt){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?et=function(Ot){return typeof Ot}:et=function(Ot){return Ot&&typeof Symbol=="function"&&Ot.constructor===Symbol&&Ot!==Symbol.prototype?"symbol":typeof Ot},et(zt)}Object.defineProperty(tt,"__esModule",{value:!0}),tt.default=void 0;var nt=at(reactExports),rt=utils,it=patterns;function ot(){if(typeof WeakMap!="function")return null;var zt=new WeakMap;return ot=function(){return zt},zt}function at(zt){if(zt&&zt.__esModule)return zt;if(zt===null||et(zt)!=="object"&&typeof zt!="function")return{default:zt};var jt=ot();if(jt&&jt.has(zt))return jt.get(zt);var Ot={},Pt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Nt in zt)if(Object.prototype.hasOwnProperty.call(zt,Nt)){var Bt=Pt?Object.getOwnPropertyDescriptor(zt,Nt):null;Bt&&(Bt.get||Bt.set)?Object.defineProperty(Ot,Nt,Bt):Ot[Nt]=zt[Nt]}return Ot.default=zt,jt&&jt.set(zt,Ot),Ot}function st(){return st=Object.assign||function(zt){for(var jt=1;jt"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function yt(zt){return yt=Object.setPrototypeOf?Object.getPrototypeOf:function(Ot){return Ot.__proto__||Object.getPrototypeOf(Ot)},yt(zt)}function wt(zt,jt,Ot){return jt in zt?Object.defineProperty(zt,jt,{value:Ot,enumerable:!0,configurable:!0,writable:!0}):zt[jt]=Ot,zt}var vt=typeof navigator<"u",kt=vt&&navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1,St=vt&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||kt)&&!window.MSStream,Et=vt&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&!window.MSStream,It="https://cdn.jsdelivr.net/npm/hls.js@VERSION/dist/hls.min.js",Tt="Hls",$t="https://cdnjs.cloudflare.com/ajax/libs/dashjs/VERSION/dash.all.min.js",Ut="dashjs",Lt="https://cdn.jsdelivr.net/npm/flv.js@VERSION/dist/flv.min.js",Mt="flvjs",Ct=/www\.dropbox\.com\/.+/,xt=/https:\/\/watch\.cloudflarestream\.com\/([a-z0-9]+)/,At="https://videodelivery.net/{id}/manifest/video.m3u8",Rt=function(zt){ht(Ot,zt);var jt=pt(Ot);function Ot(){var Pt;lt(this,Ot);for(var Nt=arguments.length,Bt=new Array(Nt),Vt=0;Vt1&&arguments[1]!==void 0?arguments[1]:!0;this.player.currentTime=Nt,Bt||this.pause()}},{key:"setVolume",value:function(Nt){this.player.volume=Nt}},{key:"enablePIP",value:function(){this.player.requestPictureInPicture&&document.pictureInPictureElement!==this.player?this.player.requestPictureInPicture():(0,rt.supportsWebKitPresentationMode)(this.player)&&this.player.webkitPresentationMode!=="picture-in-picture"&&this.player.webkitSetPresentationMode("picture-in-picture")}},{key:"disablePIP",value:function(){document.exitPictureInPicture&&document.pictureInPictureElement===this.player?document.exitPictureInPicture():(0,rt.supportsWebKitPresentationMode)(this.player)&&this.player.webkitPresentationMode!=="inline"&&this.player.webkitSetPresentationMode("inline")}},{key:"setPlaybackRate",value:function(Nt){try{this.player.playbackRate=Nt}catch(Bt){this.props.onError(Bt)}}},{key:"getDuration",value:function(){if(!this.player)return null;var Nt=this.player,Bt=Nt.duration,Vt=Nt.seekable;return Bt===1/0&&Vt.length>0?Vt.end(Vt.length-1):Bt}},{key:"getCurrentTime",value:function(){return this.player?this.player.currentTime:null}},{key:"getSecondsLoaded",value:function(){if(!this.player)return null;var Nt=this.player.buffered;if(Nt.length===0)return 0;var Bt=Nt.end(Nt.length-1),Vt=this.getDuration();return Bt>Vt?Vt:Bt}},{key:"getSource",value:function(Nt){var Bt=this.shouldUseHLS(Nt),Vt=this.shouldUseDASH(Nt),Jt=this.shouldUseFLV(Nt);if(!(Nt instanceof Array||(0,rt.isMediaStream)(Nt)||Bt||Vt||Jt))return Ct.test(Nt)?Nt.replace("www.dropbox.com","dl.dropboxusercontent.com"):Nt}},{key:"render",value:function(){var Nt=this.props,Bt=Nt.url,Vt=Nt.playing,Jt=Nt.loop,rn=Nt.controls,qt=Nt.muted,nn=Nt.config,en=Nt.width,fn=Nt.height,_n=this.shouldUseAudio(this.props),sn=_n?"audio":"video",Zt={width:en==="auto"?en:"100%",height:fn==="auto"?fn:"100%"};return nt.default.createElement(sn,st({ref:this.ref,src:this.getSource(Bt),style:Zt,preload:"auto",autoPlay:Vt||void 0,controls:rn,muted:qt,loop:Jt},nn.attributes),Bt instanceof Array&&Bt.map(this.renderSourceElement),nn.tracks.map(this.renderTrack))}}]),Ot}(nt.Component);tt.default=Rt,wt(Rt,"displayName","FilePlayer"),wt(Rt,"canPlay",it.canPlay.file)}(FilePlayer)),FilePlayer}(function(tt){Object.defineProperty(tt,"__esModule",{value:!0}),tt.default=void 0;var et=reactExports,nt=utils,rt=patterns;function it(lt){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?it=function(ut){return typeof ut}:it=function(ut){return ut&&typeof Symbol=="function"&&ut.constructor===Symbol&&ut!==Symbol.prototype?"symbol":typeof ut},it(lt)}function ot(){if(typeof WeakMap!="function")return null;var lt=new WeakMap;return ot=function(){return lt},lt}function at(lt){if(lt&<.__esModule)return lt;if(lt===null||it(lt)!=="object"&&typeof lt!="function")return{default:lt};var ct=ot();if(ct&&ct.has(lt))return ct.get(lt);var ut={},ht=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var dt in lt)if(Object.prototype.hasOwnProperty.call(lt,dt)){var pt=ht?Object.getOwnPropertyDescriptor(lt,dt):null;pt&&(pt.get||pt.set)?Object.defineProperty(ut,dt,pt):ut[dt]=lt[dt]}return ut.default=lt,ct&&ct.set(lt,ut),ut}var st=[{key:"youtube",name:"YouTube",canPlay:rt.canPlay.youtube,lazyPlayer:(0,et.lazy)(function(){return Promise.resolve().then(function(){return at(requireYouTube())})})},{key:"soundcloud",name:"SoundCloud",canPlay:rt.canPlay.soundcloud,lazyPlayer:(0,et.lazy)(function(){return Promise.resolve().then(function(){return at(requireSoundCloud())})})},{key:"vimeo",name:"Vimeo",canPlay:rt.canPlay.vimeo,lazyPlayer:(0,et.lazy)(function(){return Promise.resolve().then(function(){return at(requireVimeo())})})},{key:"facebook",name:"Facebook",canPlay:rt.canPlay.facebook,lazyPlayer:(0,et.lazy)(function(){return Promise.resolve().then(function(){return at(requireFacebook())})})},{key:"streamable",name:"Streamable",canPlay:rt.canPlay.streamable,lazyPlayer:(0,et.lazy)(function(){return Promise.resolve().then(function(){return at(requireStreamable())})})},{key:"wistia",name:"Wistia",canPlay:rt.canPlay.wistia,lazyPlayer:(0,et.lazy)(function(){return Promise.resolve().then(function(){return at(requireWistia())})})},{key:"twitch",name:"Twitch",canPlay:rt.canPlay.twitch,lazyPlayer:(0,et.lazy)(function(){return Promise.resolve().then(function(){return at(requireTwitch())})})},{key:"dailymotion",name:"DailyMotion",canPlay:rt.canPlay.dailymotion,lazyPlayer:(0,et.lazy)(function(){return Promise.resolve().then(function(){return at(requireDailyMotion())})})},{key:"mixcloud",name:"Mixcloud",canPlay:rt.canPlay.mixcloud,lazyPlayer:(0,et.lazy)(function(){return Promise.resolve().then(function(){return at(requireMixcloud())})})},{key:"vidyard",name:"Vidyard",canPlay:rt.canPlay.vidyard,lazyPlayer:(0,et.lazy)(function(){return Promise.resolve().then(function(){return at(requireVidyard())})})},{key:"kaltura",name:"Kaltura",canPlay:rt.canPlay.kaltura,lazyPlayer:(0,et.lazy)(function(){return Promise.resolve().then(function(){return at(requireKaltura())})})},{key:"file",name:"FilePlayer",canPlay:rt.canPlay.file,canEnablePIP:function(ct){return rt.canPlay.file(ct)&&(document.pictureInPictureEnabled||(0,nt.supportsWebKitPresentationMode)())&&!rt.AUDIO_EXTENSIONS.test(ct)},lazyPlayer:(0,et.lazy)(function(){return Promise.resolve().then(function(){return at(requireFilePlayer())})})}];tt.default=st})(players);var ReactPlayer$1={},safeIsNaN=Number.isNaN||function tt(et){return typeof et=="number"&&et!==et};function isEqual(tt,et){return!!(tt===et||safeIsNaN(tt)&&safeIsNaN(et))}function areInputsEqual(tt,et){if(tt.length!==et.length)return!1;for(var nt=0;nt"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function vt(It){return vt=Object.setPrototypeOf?Object.getPrototypeOf:function($t){return $t.__proto__||Object.getPrototypeOf($t)},vt(It)}function kt(It,Tt,$t){return Tt in It?Object.defineProperty(It,Tt,{value:$t,enumerable:!0,configurable:!0,writable:!0}):It[Tt]=$t,It}var St=5e3,Et=function(It){pt($t,It);var Tt=gt($t);function $t(){var Ut;ut(this,$t);for(var Lt=arguments.length,Mt=new Array(Lt),Ct=0;Ct0&&Lt<1;if(At){var Rt=this.player.getDuration();if(!Rt){console.warn("ReactPlayer: could not seek using fraction – duration not yet available");return}this.player.seekTo(Rt*Lt,Ct);return}this.player.seekTo(Lt,Ct)}},{key:"render",value:function(){var Lt=this.props.activePlayer;return Lt?nt.default.createElement(Lt,ct({},this.props,{onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError})):null}}]),$t}(nt.Component);tt.default=Et,kt(Et,"displayName","Player"),kt(Et,"propTypes",it.propTypes),kt(Et,"defaultProps",it.defaultProps)})(Player);var Preview$1={},hasRequiredPreview;function requirePreview(){return hasRequiredPreview||(hasRequiredPreview=1,function(tt){function et(St){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?et=function(It){return typeof It}:et=function(It){return It&&typeof Symbol=="function"&&It.constructor===Symbol&&It!==Symbol.prototype?"symbol":typeof It},et(St)}Object.defineProperty(tt,"__esModule",{value:!0}),tt.default=void 0;var nt=it(reactExports);function rt(){if(typeof WeakMap!="function")return null;var St=new WeakMap;return rt=function(){return St},St}function it(St){if(St&&St.__esModule)return St;if(St===null||et(St)!=="object"&&typeof St!="function")return{default:St};var Et=rt();if(Et&&Et.has(St))return Et.get(St);var It={},Tt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $t in St)if(Object.prototype.hasOwnProperty.call(St,$t)){var Ut=Tt?Object.getOwnPropertyDescriptor(St,$t):null;Ut&&(Ut.get||Ut.set)?Object.defineProperty(It,$t,Ut):It[$t]=St[$t]}return It.default=St,Et&&Et.set(St,It),It}function ot(St,Et){var It=Object.keys(St);if(Object.getOwnPropertySymbols){var Tt=Object.getOwnPropertySymbols(St);Et&&(Tt=Tt.filter(function($t){return Object.getOwnPropertyDescriptor(St,$t).enumerable})),It.push.apply(It,Tt)}return It}function at(St){for(var Et=1;Et"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function bt(St){return bt=Object.setPrototypeOf?Object.getPrototypeOf:function(It){return It.__proto__||Object.getPrototypeOf(It)},bt(St)}function yt(St,Et,It){return Et in St?Object.defineProperty(St,Et,{value:It,enumerable:!0,configurable:!0,writable:!0}):St[Et]=It,St}var wt="64px",vt={},kt=function(St){ut(It,St);var Et=dt(It);function It(){var Tt;st(this,It);for(var $t=arguments.length,Ut=new Array($t),Lt=0;Lt<$t;Lt++)Ut[Lt]=arguments[Lt];return Tt=Et.call.apply(Et,[this].concat(Ut)),yt(mt(Tt),"mounted",!1),yt(mt(Tt),"state",{image:null}),yt(mt(Tt),"handleKeyPress",function(Mt){(Mt.key==="Enter"||Mt.key===" ")&&Tt.props.onClick()}),Tt}return ct(It,[{key:"componentDidMount",value:function(){this.mounted=!0,this.fetchImage(this.props)}},{key:"componentDidUpdate",value:function($t){var Ut=this.props,Lt=Ut.url,Mt=Ut.light;($t.url!==Lt||$t.light!==Mt)&&this.fetchImage(this.props)}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"fetchImage",value:function($t){var Ut=this,Lt=$t.url,Mt=$t.light,Ct=$t.oEmbedUrl;if(!nt.default.isValidElement(Mt)){if(typeof Mt=="string"){this.setState({image:Mt});return}if(vt[Lt]){this.setState({image:vt[Lt]});return}return this.setState({image:null}),window.fetch(Ct.replace("{url}",Lt)).then(function(xt){return xt.json()}).then(function(xt){if(xt.thumbnail_url&&Ut.mounted){var At=xt.thumbnail_url.replace("height=100","height=480").replace("-d_295x166","-d_640");Ut.setState({image:At}),vt[Lt]=At}})}}},{key:"render",value:function(){var $t=this.props,Ut=$t.light,Lt=$t.onClick,Mt=$t.playIcon,Ct=$t.previewTabIndex,xt=this.state.image,At=nt.default.isValidElement(Ut),Rt={display:"flex",alignItems:"center",justifyContent:"center"},zt={preview:at({width:"100%",height:"100%",backgroundImage:xt&&!At?"url(".concat(xt,")"):void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer"},Rt),shadow:at({background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:wt,width:wt,height:wt,position:At?"absolute":void 0},Rt),playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},jt=nt.default.createElement("div",{style:zt.shadow,className:"react-player__shadow"},nt.default.createElement("div",{style:zt.playIcon,className:"react-player__play-icon"}));return nt.default.createElement("div",{style:zt.preview,className:"react-player__preview",onClick:Lt,tabIndex:Ct,onKeyPress:this.handleKeyPress},At?Ut:null,Mt||jt)}}]),It}(nt.Component);tt.default=kt}(Preview$1)),Preview$1}Object.defineProperty(ReactPlayer$1,"__esModule",{value:!0});ReactPlayer$1.createReactPlayer=void 0;var _react=_interopRequireWildcard(reactExports),_deepmerge=_interopRequireDefault(cjs),_memoizeOne=_interopRequireDefault(require$$2),_reactFastCompare=_interopRequireDefault(reactFastCompare),_props=props,_utils=utils,_Player3=_interopRequireDefault(Player);function _interopRequireDefault(tt){return tt&&tt.__esModule?tt:{default:tt}}function _typeof(tt){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(nt){return typeof nt}:_typeof=function(nt){return nt&&typeof Symbol=="function"&&nt.constructor===Symbol&&nt!==Symbol.prototype?"symbol":typeof nt},_typeof(tt)}function ownKeys(tt,et){var nt=Object.keys(tt);if(Object.getOwnPropertySymbols){var rt=Object.getOwnPropertySymbols(tt);et&&(rt=rt.filter(function(it){return Object.getOwnPropertyDescriptor(tt,it).enumerable})),nt.push.apply(nt,rt)}return nt}function _objectSpread(tt){for(var et=1;ettt.length)&&(et=tt.length);for(var nt=0,rt=new Array(et);nt"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function _getPrototypeOf(tt){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(nt){return nt.__proto__||Object.getPrototypeOf(nt)},_getPrototypeOf(tt)}function _defineProperty(tt,et,nt){return et in tt?Object.defineProperty(tt,et,{value:nt,enumerable:!0,configurable:!0,writable:!0}):tt[et]=nt,tt}function _getRequireWildcardCache(){if(typeof WeakMap!="function")return null;var tt=new WeakMap;return _getRequireWildcardCache=function(){return tt},tt}function _interopRequireWildcard(tt){if(tt&&tt.__esModule)return tt;if(tt===null||_typeof(tt)!=="object"&&typeof tt!="function")return{default:tt};var et=_getRequireWildcardCache();if(et&&et.has(tt))return et.get(tt);var nt={},rt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var it in tt)if(Object.prototype.hasOwnProperty.call(tt,it)){var ot=rt?Object.getOwnPropertyDescriptor(tt,it):null;ot&&(ot.get||ot.set)?Object.defineProperty(nt,it,ot):nt[it]=tt[it]}return nt.default=tt,et&&et.set(tt,nt),nt}var Preview=(0,_react.lazy)(function(){return Promise.resolve().then(function(){return _interopRequireWildcard(requirePreview())})}),IS_BROWSER=typeof window<"u"&&window.document,IS_GLOBAL=typeof commonjsGlobal<"u"&&commonjsGlobal.window&&commonjsGlobal.window.document,SUPPORTED_PROPS=Object.keys(_props.propTypes),UniversalSuspense=IS_BROWSER||IS_GLOBAL?_react.Suspense:function(){return null},customPlayers=[],createReactPlayer=function tt(et,nt){var rt,it;return it=rt=function(ot){_inherits(st,ot);var at=_createSuper(st);function st(){var lt;_classCallCheck(this,st);for(var ct=arguments.length,ut=new Array(ct),ht=0;ht0&&arguments[0]!==void 0?arguments[0]:"player";return lt.player?lt.player.getInternalPlayer(dt):null}),_defineProperty(_assertThisInitialized(lt),"seekTo",function(dt,pt,mt){if(!lt.player)return null;lt.player.seekTo(dt,pt,mt)}),_defineProperty(_assertThisInitialized(lt),"handleReady",function(){lt.props.onReady(_assertThisInitialized(lt))}),_defineProperty(_assertThisInitialized(lt),"getActivePlayer",(0,_memoizeOne.default)(function(dt){for(var pt=0,mt=[].concat(customPlayers,_toConsumableArray(et));ptjsxRuntimeExports.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 38 38",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntimeExports.jsx("g",{id:"Property 1=Pause Normal",children:jsxRuntimeExports.jsx("path",{id:"Pause",d:"M19 3C10.15 3 3 10.15 3 19C3 27.85 10.15 35 19 35C27.85 35 35 27.85 35 19C35 10.15 27.8 3 19 3ZM17.25 23.3C17.25 24.25 16.5 25.05 15.5 25.05C14.55 25.05 13.75 24.3 13.75 23.3V14.65C13.75 13.7 14.5 12.9 15.5 12.9C16.45 12.9 17.25 13.65 17.25 14.65V23.3ZM24.2 23.3C24.2 24.25 23.45 25.05 22.45 25.05C21.5 25.05 20.7 24.3 20.7 23.3V14.65C20.7 13.7 21.45 12.9 22.45 12.9C23.4 12.9 24.2 13.65 24.2 14.65V23.3Z",fill:"currentColor"})})}),VolumeIcon=tt=>jsxRuntimeExports.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntimeExports.jsxs("g",{id:"volume_up",children:[jsxRuntimeExports.jsx("mask",{id:"mask0_1483_75386",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:jsxRuntimeExports.jsx("rect",{id:"Bounding box",width:"1em",height:"1em",fill:"currentColor"})}),jsxRuntimeExports.jsx("g",{mask:"url(#mask0_1483_75386)",children:jsxRuntimeExports.jsx("path",{id:"volume_up_2",d:"M14.0384 20.1095V18.5595C15.4807 18.1005 16.6425 17.2672 17.5239 16.0595C18.4053 14.8518 18.8461 13.4903 18.8461 11.9749C18.8461 10.4595 18.4053 9.09799 17.5239 7.89031C16.6425 6.68261 15.4807 5.84927 14.0384 5.39031V3.84033C15.8999 4.33905 17.4165 5.33841 18.5883 6.83841C19.7601 8.33839 20.346 10.0506 20.346 11.9749C20.346 13.8993 19.7601 15.6114 18.5883 17.1114C17.4165 18.6114 15.8999 19.6108 14.0384 20.1095ZM3.65381 14.4999V9.49993H7.36531L11.6537 5.21153V18.7883L7.36531 14.4999H3.65381ZM14.0384 15.6537V8.29608C14.7127 8.66275 15.2339 9.17909 15.6018 9.84511C15.9698 10.5111 16.1537 11.2294 16.1537 11.9999C16.1537 12.7602 15.9682 13.4675 15.597 14.122C15.2259 14.7765 14.7063 15.2871 14.0384 15.6537Z",fill:"currentColor"})})]})}),secondsToHMS=tt=>{const et=Math.floor(tt/60),nt=Math.floor(tt%60),rt=et.toString().padStart(2,"0"),it=nt.toString().padStart(2,"0");return`${rt}:${it}`},Toolbar=({isPlaying:tt,setIsPlaying:et,playingTime:nt,duration:rt,handleProgressChange:it,handleVolumeChange:ot,hasError:at})=>jsxRuntimeExports.jsxs(Flex,{children:[jsxRuntimeExports.jsx(ProgressSlider,{"aria-label":"Small",max:rt,onChange:it,size:"small",value:nt}),at?jsxRuntimeExports.jsx(Wrapper$5,{className:"error-wrapper",children:"Error happened, please try later"}):jsxRuntimeExports.jsxs(Wrapper$5,{align:"center",direction:"row",children:[jsxRuntimeExports.jsx(Action,{onClick:et,size:"small",children:tt?jsxRuntimeExports.jsx(PauseIcon,{}):jsxRuntimeExports.jsx(PlayIcon,{})}),jsxRuntimeExports.jsxs(TimeStamp,{direction:"row",children:[jsxRuntimeExports.jsx("span",{children:secondsToHMS(nt)}),jsxRuntimeExports.jsx("span",{className:"separator",children:"/"}),jsxRuntimeExports.jsx("span",{className:"duration",children:secondsToHMS(rt)})]}),jsxRuntimeExports.jsxs(VolumeControl,{direction:"row",px:9,children:[jsxRuntimeExports.jsx(Slider$1,{className:"volume-slider",defaultValue:.5,max:1,min:0,onChange:ot,size:"small",step:.1}),jsxRuntimeExports.jsx(VolumeIcon,{})]})]})]}),Wrapper$5=styled$4(Flex)` +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray(tt,et){if(tt){if(typeof tt=="string")return _arrayLikeToArray(tt,et);var nt=Object.prototype.toString.call(tt).slice(8,-1);if(nt==="Object"&&tt.constructor&&(nt=tt.constructor.name),nt==="Map"||nt==="Set")return Array.from(tt);if(nt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(nt))return _arrayLikeToArray(tt,et)}}function _iterableToArray(tt){if(typeof Symbol<"u"&&Symbol.iterator in Object(tt))return Array.from(tt)}function _arrayWithoutHoles(tt){if(Array.isArray(tt))return _arrayLikeToArray(tt)}function _arrayLikeToArray(tt,et){(et==null||et>tt.length)&&(et=tt.length);for(var nt=0,rt=new Array(et);nt"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function _getPrototypeOf(tt){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(nt){return nt.__proto__||Object.getPrototypeOf(nt)},_getPrototypeOf(tt)}function _defineProperty(tt,et,nt){return et in tt?Object.defineProperty(tt,et,{value:nt,enumerable:!0,configurable:!0,writable:!0}):tt[et]=nt,tt}function _getRequireWildcardCache(){if(typeof WeakMap!="function")return null;var tt=new WeakMap;return _getRequireWildcardCache=function(){return tt},tt}function _interopRequireWildcard(tt){if(tt&&tt.__esModule)return tt;if(tt===null||_typeof(tt)!=="object"&&typeof tt!="function")return{default:tt};var et=_getRequireWildcardCache();if(et&&et.has(tt))return et.get(tt);var nt={},rt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var it in tt)if(Object.prototype.hasOwnProperty.call(tt,it)){var ot=rt?Object.getOwnPropertyDescriptor(tt,it):null;ot&&(ot.get||ot.set)?Object.defineProperty(nt,it,ot):nt[it]=tt[it]}return nt.default=tt,et&&et.set(tt,nt),nt}var Preview=(0,_react.lazy)(function(){return Promise.resolve().then(function(){return _interopRequireWildcard(requirePreview())})}),IS_BROWSER=typeof window<"u"&&window.document,IS_GLOBAL=typeof commonjsGlobal<"u"&&commonjsGlobal.window&&commonjsGlobal.window.document,SUPPORTED_PROPS=Object.keys(_props.propTypes),UniversalSuspense=IS_BROWSER||IS_GLOBAL?_react.Suspense:function(){return null},customPlayers=[],createReactPlayer=function tt(et,nt){var rt,it;return it=rt=function(ot){_inherits(st,ot);var at=_createSuper(st);function st(){var lt;_classCallCheck(this,st);for(var ct=arguments.length,ut=new Array(ct),ht=0;ht0&&arguments[0]!==void 0?arguments[0]:"player";return lt.player?lt.player.getInternalPlayer(dt):null}),_defineProperty(_assertThisInitialized(lt),"seekTo",function(dt,pt,mt){if(!lt.player)return null;lt.player.seekTo(dt,pt,mt)}),_defineProperty(_assertThisInitialized(lt),"handleReady",function(){lt.props.onReady(_assertThisInitialized(lt))}),_defineProperty(_assertThisInitialized(lt),"getActivePlayer",(0,_memoizeOne.default)(function(dt){for(var pt=0,mt=[].concat(customPlayers,_toConsumableArray(et));ptjsxRuntimeExports.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 38 38",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntimeExports.jsx("g",{id:"Property 1=Pause Normal",children:jsxRuntimeExports.jsx("path",{id:"Pause",d:"M19 3C10.15 3 3 10.15 3 19C3 27.85 10.15 35 19 35C27.85 35 35 27.85 35 19C35 10.15 27.8 3 19 3ZM17.25 23.3C17.25 24.25 16.5 25.05 15.5 25.05C14.55 25.05 13.75 24.3 13.75 23.3V14.65C13.75 13.7 14.5 12.9 15.5 12.9C16.45 12.9 17.25 13.65 17.25 14.65V23.3ZM24.2 23.3C24.2 24.25 23.45 25.05 22.45 25.05C21.5 25.05 20.7 24.3 20.7 23.3V14.65C20.7 13.7 21.45 12.9 22.45 12.9C23.4 12.9 24.2 13.65 24.2 14.65V23.3Z",fill:"currentColor"})})}),VolumeIcon=tt=>jsxRuntimeExports.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntimeExports.jsxs("g",{id:"volume_up",children:[jsxRuntimeExports.jsx("mask",{id:"mask0_1483_75386",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:jsxRuntimeExports.jsx("rect",{id:"Bounding box",width:"1em",height:"1em",fill:"currentColor"})}),jsxRuntimeExports.jsx("g",{mask:"url(#mask0_1483_75386)",children:jsxRuntimeExports.jsx("path",{id:"volume_up_2",d:"M14.0384 20.1095V18.5595C15.4807 18.1005 16.6425 17.2672 17.5239 16.0595C18.4053 14.8518 18.8461 13.4903 18.8461 11.9749C18.8461 10.4595 18.4053 9.09799 17.5239 7.89031C16.6425 6.68261 15.4807 5.84927 14.0384 5.39031V3.84033C15.8999 4.33905 17.4165 5.33841 18.5883 6.83841C19.7601 8.33839 20.346 10.0506 20.346 11.9749C20.346 13.8993 19.7601 15.6114 18.5883 17.1114C17.4165 18.6114 15.8999 19.6108 14.0384 20.1095ZM3.65381 14.4999V9.49993H7.36531L11.6537 5.21153V18.7883L7.36531 14.4999H3.65381ZM14.0384 15.6537V8.29608C14.7127 8.66275 15.2339 9.17909 15.6018 9.84511C15.9698 10.5111 16.1537 11.2294 16.1537 11.9999C16.1537 12.7602 15.9682 13.4675 15.597 14.122C15.2259 14.7765 14.7063 15.2871 14.0384 15.6537Z",fill:"currentColor"})})]})}),secondsToMediaTime=tt=>{const et=Math.floor(tt/60),nt=Math.floor(tt%60),rt=et.toString().padStart(2,"0"),it=nt.toString().padStart(2,"0");return`${rt}:${it}`},Toolbar=({isPlaying:tt,setIsPlaying:et,playingTime:nt,duration:rt,handleProgressChange:it,handleVolumeChange:ot,hasError:at})=>jsxRuntimeExports.jsxs(Flex,{children:[jsxRuntimeExports.jsx(ProgressSlider,{"aria-label":"Small",max:rt,onChange:it,size:"small",value:nt}),at?jsxRuntimeExports.jsx(Wrapper$5,{className:"error-wrapper",children:"Error happened, please try later"}):jsxRuntimeExports.jsxs(Wrapper$5,{align:"center",direction:"row",children:[jsxRuntimeExports.jsx(Action,{onClick:et,size:"small",children:tt?jsxRuntimeExports.jsx(PauseIcon,{}):jsxRuntimeExports.jsx(PlayIcon,{})}),jsxRuntimeExports.jsxs(TimeStamp,{direction:"row",children:[jsxRuntimeExports.jsx("span",{children:secondsToMediaTime(nt)}),jsxRuntimeExports.jsx("span",{className:"separator",children:"/"}),jsxRuntimeExports.jsx("span",{className:"duration",children:secondsToMediaTime(rt)})]}),jsxRuntimeExports.jsxs(VolumeControl,{direction:"row",px:9,children:[jsxRuntimeExports.jsx(Slider$1,{className:"volume-slider",defaultValue:.5,max:1,min:0,onChange:ot,size:"small",step:.1}),jsxRuntimeExports.jsx(VolumeIcon,{})]})]})]}),Wrapper$5=styled$4(Flex)` height: 60px; padding: 12px 16px; @@ -7370,7 +7370,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho left: 50%; transform: translateX(-50%); z-index: 1; -`,MediaPlayer=reactExports.memo(MediaPlayerComponent),SideBarSubView=({open:tt})=>{const[et,nt,rt]=useDataStore(st=>[st.setSelectedNode,st.setTeachMe,st.showTeachMe]),it=useSelectedNode(),[ot]=useAppStore(st=>[st.setSidebarOpen]),[at]=usePlayerStore(st=>[st.playingNode]);return jsxRuntimeExports.jsx(Slide$1,{direction:"right",in:tt,style:{width:rt?"700px":"",position:tt?"relative":"absolute"},children:jsxRuntimeExports.jsxs(Wrapper$3,{children:[jsxRuntimeExports.jsxs(ScrollWrapper$1,{children:[jsxRuntimeExports.jsx(MediaPlayer,{hidden:(it==null?void 0:it.ref_id)!==(at==null?void 0:at.ref_id)},at==null?void 0:at.ref_id),jsxRuntimeExports.jsx(SelectedNodeView,{})]}),jsxRuntimeExports.jsx(CloseButton,{onClick:()=>{et(null),nt(!1)},children:jsxRuntimeExports.jsx(CloseIcon,{})}),jsxRuntimeExports.jsx(CollapseButton$1,{onClick:()=>{ot(!1)},children:jsxRuntimeExports.jsx(ChevronLeftIcon,{})})]})})},Wrapper$3=styled$4(Flex)(({theme:tt})=>({position:"relative",background:colors.BG1,width:"100%",margin:"64px auto 20px 10px",borderRadius:"16px",zIndex:29,[tt.breakpoints.up("sm")]:{width:"390px"}})),CloseButton=styled$4(Flex)` +`,MediaPlayer=reactExports.memo(MediaPlayerComponent),SideBarSubView=({open:tt})=>{const[et,nt,rt]=useDataStore(st=>[st.setSelectedNode,st.setTeachMe,st.showTeachMe]),it=useSelectedNode(),[ot]=useAppStore(st=>[st.setSidebarOpen]),[at]=usePlayerStore(st=>[st.playingNode]);return jsxRuntimeExports.jsx(Slide$1,{direction:"right",in:tt,style:{width:rt?"700px":"",position:tt?"relative":"absolute"},children:jsxRuntimeExports.jsxs(Wrapper$3,{children:[jsxRuntimeExports.jsx(MediaPlayer,{hidden:(it==null?void 0:it.ref_id)!==(at==null?void 0:at.ref_id)},at==null?void 0:at.ref_id),jsxRuntimeExports.jsx(ScrollWrapper$1,{children:jsxRuntimeExports.jsx(SelectedNodeView,{})}),jsxRuntimeExports.jsx(CloseButton,{onClick:()=>{et(null),nt(!1)},children:jsxRuntimeExports.jsx(CloseIcon,{})}),jsxRuntimeExports.jsx(CollapseButton$1,{onClick:()=>{ot(!1)},children:jsxRuntimeExports.jsx(ChevronLeftIcon,{})})]})})},Wrapper$3=styled$4(Flex)(({theme:tt})=>({position:"relative",background:colors.BG1,width:"100%",margin:"64px auto 20px 10px",borderRadius:"16px",zIndex:29,[tt.breakpoints.up("sm")]:{width:"390px"}})),CloseButton=styled$4(Flex)` font-size: 32px; color: ${colors.white}; cursor: pointer; @@ -7384,7 +7384,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho &:active { } -`,ScrollWrapper$1=styled$4(Flex)(()=>({height:"100%",width:"100%"})),CollapseButton$1=styled$4(Flex).attrs({align:"center",justify:"center",p:8})(({theme:tt})=>({backgroundColor:colors.BG1_NORMAL,cursor:"pointer",transitionDuration:"0.2s",position:"absolute",right:"0px",top:"50%",zIndex:1,width:"24px",height:"48px",transform:"translateY(-50%)",borderRadius:"0px 6px 6px 0px",boxShadow:"2px 0px 6px 0px rgba(0, 0, 0, 0.25) inset",color:colors.white,[tt.breakpoints.up("sm")]:{left:"100%"},"&:hover":{backgroundColor:colors.BG1_HOVER},"&:active":{backgroundColor:colors.BG1_PRESS,color:colors.GRAY6}})),ChevronRightIcon=tt=>jsxRuntimeExports.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 18 18",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntimeExports.jsxs("g",{id:"chevron_right",children:[jsxRuntimeExports.jsx("mask",{id:"mask0_1247_21809",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"18",height:"18",children:jsxRuntimeExports.jsx("rect",{id:"Bounding box",width:"1em",height:"1em",fill:"currentColor"})}),jsxRuntimeExports.jsx("g",{mask:"url(#mask0_1247_21809)",children:jsxRuntimeExports.jsx("path",{id:"chevron_right_2",d:"M9.44998 8.99998L6.52498 6.07498C6.38748 5.93748 6.31873 5.76248 6.31873 5.54998C6.31873 5.33748 6.38748 5.16248 6.52498 5.02498C6.66248 4.88748 6.83748 4.81873 7.04998 4.81873C7.26248 4.81873 7.43748 4.88748 7.57498 5.02498L11.025 8.47498C11.1 8.54997 11.1531 8.63123 11.1844 8.71873C11.2156 8.80623 11.2312 8.89998 11.2312 8.99998C11.2312 9.09998 11.2156 9.19373 11.1844 9.28123C11.1531 9.36873 11.1 9.44998 11.025 9.52497L7.57498 12.975C7.43748 13.1125 7.26248 13.1812 7.04998 13.1812C6.83748 13.1812 6.66248 13.1125 6.52498 12.975C6.38748 12.8375 6.31873 12.6625 6.31873 12.45C6.31873 12.2375 6.38748 12.0625 6.52498 11.925L9.44998 8.99998Z",fill:"currentColor"})})]})}),Tab=()=>{const tt=useAppStore(et=>et.setSidebarOpen);return jsxRuntimeExports.jsx(ExpandButton,{onClick:()=>{tt(!0)},children:jsxRuntimeExports.jsx(ChevronRightIcon,{})})},ExpandButton=styled$4(Flex).attrs({align:"center",justify:"center",p:8})(({theme:tt})=>({backgroundColor:colors.BG1_NORMAL,cursor:"pointer",transitionDuration:"0.2s",position:"absolute",top:"50%",zIndex:1,width:"24px",height:"48px",transform:"translateY(-50%)",borderRadius:"0px 6px 6px 0px",boxShadow:"2px 0px 6px 0px rgba(0, 0, 0, 0.25) inset",color:colors.white,[tt.breakpoints.up("sm")]:{left:"64px"},"&:hover":{backgroundColor:colors.BG1_HOVER},"&:active":{backgroundColor:colors.BG1_PRESS,color:colors.GRAY6}})),PlusIcon=tt=>jsxRuntimeExports.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 21 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntimeExports.jsx("mask",{id:"mask0_3553_6463",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"21",height:"20",children:jsxRuntimeExports.jsx("rect",{x:"0.5",width:"1em",height:"1em",fill:"currentColor"})}),jsxRuntimeExports.jsx("g",{mask:"url(#mask0_3553_6463)",children:jsxRuntimeExports.jsx("path",{d:"M9.87516 10.625H5.7085C5.53141 10.625 5.38298 10.5651 5.26318 10.4453C5.14339 10.3254 5.0835 10.1769 5.0835 9.99975C5.0835 9.82258 5.14339 9.67417 5.26318 9.55452C5.38298 9.43487 5.53141 9.37504 5.7085 9.37504H9.87516V5.20837C9.87516 5.03129 9.93508 4.88285 10.0549 4.76306C10.1748 4.64327 10.3233 4.58337 10.5004 4.58337C10.6776 4.58337 10.826 4.64327 10.9456 4.76306C11.0653 4.88285 11.1251 5.03129 11.1251 5.20837V9.37504H15.2918C15.4689 9.37504 15.6173 9.43496 15.7371 9.55479C15.8569 9.67464 15.9168 9.82314 15.9168 10.0003C15.9168 10.1775 15.8569 10.3259 15.7371 10.4455C15.6173 10.5652 15.4689 10.625 15.2918 10.625H11.1251V14.7917C11.1251 14.9688 11.0652 15.1172 10.9454 15.237C10.8255 15.3568 10.677 15.4167 10.4999 15.4167C10.3227 15.4167 10.1743 15.3568 10.0546 15.237C9.93499 15.1172 9.87516 14.9688 9.87516 14.7917V10.625Z",fill:"currentColor"})})]}),TrendingIcon=tt=>jsxRuntimeExports.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntimeExports.jsx("mask",{id:"mask0_1795_36275",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:jsxRuntimeExports.jsx("rect",{width:"24",height:"24",fill:"#D9D9D9"})}),jsxRuntimeExports.jsx("g",{mask:"url(#mask0_1795_36275)",children:jsxRuntimeExports.jsx("path",{d:"M3 17.75L2.91345 16.4327L4.74998 14.6058V17.75H3ZM7.25003 17.75V12.1058L8.74998 10.6058V17.75H7.25003ZM11.25 17.75V10.6058L12.75 12.1308V17.75H11.25ZM15.25 17.75V12.1308L16.75 10.6308V17.75H15.25ZM19.25 17.75V8.10579L20.75 6.60583V17.75H19.25ZM3.25003 12.2192V10.1058L10 3.35581L14 7.35581L20.75 0.605835V2.71924L14 9.46921L10 5.46921L3.25003 12.2192Z",fill:"#909BAA"})})]});function unreachable(){}function stringify$1(tt,et){const nt=et||{};return(tt[tt.length-1]===""?[...tt,""]:tt).join((nt.padRight?" ":"")+","+(nt.padLeft===!1?"":" ")).trim()}const re=/[ \t\n\f\r]/g;function whitespace(tt){return typeof tt=="object"?tt.type==="text"?empty$1(tt.value):!1:empty$1(tt)}function empty$1(tt){return tt.replace(re,"")===""}class Schema{constructor(et,nt,rt){this.property=et,this.normal=nt,rt&&(this.space=rt)}}Schema.prototype.property={};Schema.prototype.normal={};Schema.prototype.space=null;function merge(tt,et){const nt={},rt={};let it=-1;for(;++it4&&nt.slice(0,4)==="data"&&valid.test(et)){if(et.charAt(4)==="-"){const ot=et.slice(5).replace(dash,camelcase);rt="data"+ot.charAt(0).toUpperCase()+ot.slice(1)}else{const ot=et.slice(4);if(!dash.test(ot)){let at=ot.replace(cap$1,kebab);at.charAt(0)!=="-"&&(at="-"+at),et="data"+at}}it=DefinedInfo}return new it(rt,et)}function kebab(tt){return"-"+tt.toLowerCase()}function camelcase(tt){return tt.charAt(1).toUpperCase()}const hastToReact={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},html$1=merge([xml,xlink,xmlns,aria,html$2],"html"),svg=merge([xml,xlink,xmlns,aria,svg$1],"svg");function stringify(tt){return tt.join(" ").trim()}var styleToObject={exports:{}},COMMENT_REGEX=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,NEWLINE_REGEX=/\n/g,WHITESPACE_REGEX=/^\s*/,PROPERTY_REGEX=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,COLON_REGEX=/^:\s*/,VALUE_REGEX=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,SEMICOLON_REGEX=/^[;\s]*/,TRIM_REGEX=/^\s+|\s+$/g,NEWLINE=` +`,ScrollWrapper$1=styled$4(Flex)` + flex: 1 1 100%; +`,CollapseButton$1=styled$4(Flex).attrs({align:"center",justify:"center",p:8})(({theme:tt})=>({backgroundColor:colors.BG1_NORMAL,cursor:"pointer",transitionDuration:"0.2s",position:"absolute",right:"0px",top:"50%",zIndex:1,width:"24px",height:"48px",transform:"translateY(-50%)",borderRadius:"0px 6px 6px 0px",boxShadow:"2px 0px 6px 0px rgba(0, 0, 0, 0.25) inset",color:colors.white,[tt.breakpoints.up("sm")]:{left:"100%"},"&:hover":{backgroundColor:colors.BG1_HOVER},"&:active":{backgroundColor:colors.BG1_PRESS,color:colors.GRAY6}})),ChevronRightIcon=tt=>jsxRuntimeExports.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 18 18",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntimeExports.jsxs("g",{id:"chevron_right",children:[jsxRuntimeExports.jsx("mask",{id:"mask0_1247_21809",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"18",height:"18",children:jsxRuntimeExports.jsx("rect",{id:"Bounding box",width:"1em",height:"1em",fill:"currentColor"})}),jsxRuntimeExports.jsx("g",{mask:"url(#mask0_1247_21809)",children:jsxRuntimeExports.jsx("path",{id:"chevron_right_2",d:"M9.44998 8.99998L6.52498 6.07498C6.38748 5.93748 6.31873 5.76248 6.31873 5.54998C6.31873 5.33748 6.38748 5.16248 6.52498 5.02498C6.66248 4.88748 6.83748 4.81873 7.04998 4.81873C7.26248 4.81873 7.43748 4.88748 7.57498 5.02498L11.025 8.47498C11.1 8.54997 11.1531 8.63123 11.1844 8.71873C11.2156 8.80623 11.2312 8.89998 11.2312 8.99998C11.2312 9.09998 11.2156 9.19373 11.1844 9.28123C11.1531 9.36873 11.1 9.44998 11.025 9.52497L7.57498 12.975C7.43748 13.1125 7.26248 13.1812 7.04998 13.1812C6.83748 13.1812 6.66248 13.1125 6.52498 12.975C6.38748 12.8375 6.31873 12.6625 6.31873 12.45C6.31873 12.2375 6.38748 12.0625 6.52498 11.925L9.44998 8.99998Z",fill:"currentColor"})})]})}),Tab=()=>{const tt=useAppStore(et=>et.setSidebarOpen);return jsxRuntimeExports.jsx(ExpandButton,{onClick:()=>{tt(!0)},children:jsxRuntimeExports.jsx(ChevronRightIcon,{})})},ExpandButton=styled$4(Flex).attrs({align:"center",justify:"center",p:8})(({theme:tt})=>({backgroundColor:colors.BG1_NORMAL,cursor:"pointer",transitionDuration:"0.2s",position:"absolute",top:"50%",zIndex:1,width:"24px",height:"48px",transform:"translateY(-50%)",borderRadius:"0px 6px 6px 0px",boxShadow:"2px 0px 6px 0px rgba(0, 0, 0, 0.25) inset",color:colors.white,[tt.breakpoints.up("sm")]:{left:"64px"},"&:hover":{backgroundColor:colors.BG1_HOVER},"&:active":{backgroundColor:colors.BG1_PRESS,color:colors.GRAY6}})),PlusIcon=tt=>jsxRuntimeExports.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 21 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntimeExports.jsx("mask",{id:"mask0_3553_6463",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"21",height:"20",children:jsxRuntimeExports.jsx("rect",{x:"0.5",width:"1em",height:"1em",fill:"currentColor"})}),jsxRuntimeExports.jsx("g",{mask:"url(#mask0_3553_6463)",children:jsxRuntimeExports.jsx("path",{d:"M9.87516 10.625H5.7085C5.53141 10.625 5.38298 10.5651 5.26318 10.4453C5.14339 10.3254 5.0835 10.1769 5.0835 9.99975C5.0835 9.82258 5.14339 9.67417 5.26318 9.55452C5.38298 9.43487 5.53141 9.37504 5.7085 9.37504H9.87516V5.20837C9.87516 5.03129 9.93508 4.88285 10.0549 4.76306C10.1748 4.64327 10.3233 4.58337 10.5004 4.58337C10.6776 4.58337 10.826 4.64327 10.9456 4.76306C11.0653 4.88285 11.1251 5.03129 11.1251 5.20837V9.37504H15.2918C15.4689 9.37504 15.6173 9.43496 15.7371 9.55479C15.8569 9.67464 15.9168 9.82314 15.9168 10.0003C15.9168 10.1775 15.8569 10.3259 15.7371 10.4455C15.6173 10.5652 15.4689 10.625 15.2918 10.625H11.1251V14.7917C11.1251 14.9688 11.0652 15.1172 10.9454 15.237C10.8255 15.3568 10.677 15.4167 10.4999 15.4167C10.3227 15.4167 10.1743 15.3568 10.0546 15.237C9.93499 15.1172 9.87516 14.9688 9.87516 14.7917V10.625Z",fill:"currentColor"})})]}),SentimentDataIcon=tt=>jsxRuntimeExports.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntimeExports.jsx("mask",{id:"mask0_1259_28",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:jsxRuntimeExports.jsx("rect",{width:"1em",height:"1em",fill:"currentColor"})}),jsxRuntimeExports.jsx("g",{mask:"url(#mask0_1259_28)",children:jsxRuntimeExports.jsx("path",{d:"M3 20.75L2.91345 19.4327L4.74998 17.6058V20.75H3ZM7.25003 20.75V15.1058L8.74998 13.6058V20.75H7.25003ZM11.25 20.75V13.6058L12.75 15.1308V20.75H11.25ZM15.25 20.75V15.1308L16.75 13.6308V20.75H15.25ZM19.25 20.75V11.1058L20.75 9.60583V20.75H19.25ZM3.25003 15.2192V13.1058L10 6.35581L14 10.3558L20.75 3.60583V5.71924L14 12.4692L10 8.46921L3.25003 15.2192Z",fill:"currentColor"})})]});function unreachable(){}function stringify$1(tt,et){const nt=et||{};return(tt[tt.length-1]===""?[...tt,""]:tt).join((nt.padRight?" ":"")+","+(nt.padLeft===!1?"":" ")).trim()}const re=/[ \t\n\f\r]/g;function whitespace(tt){return typeof tt=="object"?tt.type==="text"?empty$1(tt.value):!1:empty$1(tt)}function empty$1(tt){return tt.replace(re,"")===""}class Schema{constructor(et,nt,rt){this.property=et,this.normal=nt,rt&&(this.space=rt)}}Schema.prototype.property={};Schema.prototype.normal={};Schema.prototype.space=null;function merge(tt,et){const nt={},rt={};let it=-1;for(;++it4&&nt.slice(0,4)==="data"&&valid.test(et)){if(et.charAt(4)==="-"){const ot=et.slice(5).replace(dash,camelcase);rt="data"+ot.charAt(0).toUpperCase()+ot.slice(1)}else{const ot=et.slice(4);if(!dash.test(ot)){let at=ot.replace(cap$1,kebab);at.charAt(0)!=="-"&&(at="-"+at),et="data"+at}}it=DefinedInfo}return new it(rt,et)}function kebab(tt){return"-"+tt.toLowerCase()}function camelcase(tt){return tt.charAt(1).toUpperCase()}const hastToReact={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},html$1=merge([xml,xlink,xmlns,aria,html$2],"html"),svg=merge([xml,xlink,xmlns,aria,svg$1],"svg");function stringify(tt){return tt.join(" ").trim()}var styleToObject={exports:{}},COMMENT_REGEX=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,NEWLINE_REGEX=/\n/g,WHITESPACE_REGEX=/^\s*/,PROPERTY_REGEX=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,COLON_REGEX=/^:\s*/,VALUE_REGEX=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,SEMICOLON_REGEX=/^[;\s]*/,TRIM_REGEX=/^\s+|\s+$/g,NEWLINE=` `,FORWARD_SLASH="/",ASTERISK="*",EMPTY_STRING="",TYPE_COMMENT="comment",TYPE_DECLARATION="declaration",inlineStyleParser=function(tt,et){if(typeof tt!="string")throw new TypeError("First argument must be a string");if(!tt)return[];et=et||{};var nt=1,rt=1;function it(mt){var gt=mt.match(NEWLINE_REGEX);gt&&(nt+=gt.length);var bt=mt.lastIndexOf(NEWLINE);rt=~bt?mt.length-bt:rt+mt.length}function ot(){var mt={line:nt,column:rt};return function(gt){return gt.position=new at(mt),ct(),gt}}function at(mt){this.start=mt,this.end={line:nt,column:rt},this.source=et.source}at.prototype.content=tt;function st(mt){var gt=new Error(et.source+":"+nt+":"+rt+": "+mt);if(gt.reason=mt,gt.filename=et.source,gt.line=nt,gt.column=rt,gt.source=tt,!et.silent)throw gt}function lt(mt){var gt=mt.exec(tt);if(gt){var bt=gt[0];return it(bt),tt=tt.slice(bt.length),gt}}function ct(){lt(WHITESPACE_REGEX)}function ut(mt){var gt;for(mt=mt||[];gt=ht();)gt!==!1&&mt.push(gt);return mt}function ht(){var mt=ot();if(!(FORWARD_SLASH!=tt.charAt(0)||ASTERISK!=tt.charAt(1))){for(var gt=2;EMPTY_STRING!=tt.charAt(gt)&&(ASTERISK!=tt.charAt(gt)||FORWARD_SLASH!=tt.charAt(gt+1));)++gt;if(gt+=2,EMPTY_STRING===tt.charAt(gt-1))return st("End of comment missing");var bt=tt.slice(2,gt-2);return rt+=2,it(bt),tt=tt.slice(gt),rt+=2,mt({type:TYPE_COMMENT,comment:bt})}}function dt(){var mt=ot(),gt=lt(PROPERTY_REGEX);if(gt){if(ht(),!lt(COLON_REGEX))return st("property missing ':'");var bt=lt(VALUE_REGEX),yt=mt({type:TYPE_DECLARATION,property:trim(gt[0].replace(COMMENT_REGEX,EMPTY_STRING)),value:bt?trim(bt[0].replace(COMMENT_REGEX,EMPTY_STRING)):EMPTY_STRING});return lt(SEMICOLON_REGEX),yt}}function pt(){var mt=[];ut(mt);for(var gt;gt=dt();)gt!==!1&&(mt.push(gt),ut(mt));return mt}return ct(),pt()};function trim(tt){return tt?tt.replace(TRIM_REGEX,EMPTY_STRING):EMPTY_STRING}var parse$1=inlineStyleParser;function StyleToObject(tt,et){var nt=null;if(!tt||typeof tt!="string")return nt;for(var rt,it=parse$1(tt),ot=typeof et=="function",at,st,lt=0,ct=it.length;lt0&&typeof rt.column=="number"&&rt.column>0)return{line:rt.line,column:rt.column,offset:typeof rt.offset=="number"&&rt.offset>-1?rt.offset:void 0}}}function position$1(tt){const et=pointStart(tt),nt=pointEnd(tt);if(et&&nt)return{start:et,end:nt}}function stringifyPosition(tt){return!tt||typeof tt!="object"?"":"position"in tt||"type"in tt?position(tt.position):"start"in tt||"end"in tt?position(tt):"line"in tt||"column"in tt?point$1(tt):""}function point$1(tt){return index$1(tt&&tt.line)+":"+index$1(tt&&tt.column)}function position(tt){return point$1(tt&&tt.start)+"-"+point$1(tt&&tt.end)}function index$1(tt){return tt&&typeof tt=="number"?tt:1}class VFileMessage extends Error{constructor(et,nt,rt){super(),typeof nt=="string"&&(rt=nt,nt=void 0);let it="",ot={},at=!1;if(nt&&("line"in nt&&"column"in nt?ot={place:nt}:"start"in nt&&"end"in nt?ot={place:nt}:"type"in nt?ot={ancestors:[nt],place:nt.position}:ot={...nt}),typeof et=="string"?it=et:!ot.cause&&et&&(at=!0,it=et.message,ot.cause=et),!ot.ruleId&&!ot.source&&typeof rt=="string"){const lt=rt.indexOf(":");lt===-1?ot.ruleId=rt:(ot.source=rt.slice(0,lt),ot.ruleId=rt.slice(lt+1))}if(!ot.place&&ot.ancestors&&ot.ancestors){const lt=ot.ancestors[ot.ancestors.length-1];lt&&(ot.place=lt.position)}const st=ot.place&&"start"in ot.place?ot.place.start:ot.place;this.ancestors=ot.ancestors||void 0,this.cause=ot.cause||void 0,this.column=st?st.column:void 0,this.fatal=void 0,this.file,this.message=it,this.line=st?st.line:void 0,this.name=stringifyPosition(ot.place)||"1:1",this.place=ot.place||void 0,this.reason=this.message,this.ruleId=ot.ruleId||void 0,this.source=ot.source||void 0,this.stack=at&&ot.cause&&typeof ot.cause.stack=="string"?ot.cause.stack:"",this.actual,this.expected,this.note,this.url}}VFileMessage.prototype.file="";VFileMessage.prototype.name="";VFileMessage.prototype.reason="";VFileMessage.prototype.message="";VFileMessage.prototype.stack="";VFileMessage.prototype.column=void 0;VFileMessage.prototype.line=void 0;VFileMessage.prototype.ancestors=void 0;VFileMessage.prototype.cause=void 0;VFileMessage.prototype.fatal=void 0;VFileMessage.prototype.place=void 0;VFileMessage.prototype.ruleId=void 0;VFileMessage.prototype.source=void 0;const own$3={}.hasOwnProperty,emptyMap=new Map,cap=/[A-Z]/g,dashSomething=/-([a-z])/g,tableElements=new Set(["table","tbody","thead","tfoot","tr"]),tableCellElement=new Set(["td","th"]);function toJsxRuntime(tt,et){if(!et||et.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const nt=et.filePath||void 0;let rt;if(et.development){if(typeof et.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");rt=developmentCreate(nt,et.jsxDEV)}else{if(typeof et.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof et.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");rt=productionCreate(nt,et.jsx,et.jsxs)}const it={Fragment:et.Fragment,ancestors:[],components:et.components||{},create:rt,elementAttributeNameCase:et.elementAttributeNameCase||"react",filePath:nt,ignoreInvalidStyle:et.ignoreInvalidStyle||!1,passKeys:et.passKeys!==!1,passNode:et.passNode||!1,schema:et.space==="svg"?svg:html$1,stylePropertyNameCase:et.stylePropertyNameCase||"dom",tableCellAlignToStyle:et.tableCellAlignToStyle!==!1},ot=one$1(it,tt,void 0);return ot&&typeof ot!="string"?ot:it.create(tt,it.Fragment,{children:ot||void 0},void 0)}function one$1(tt,et,nt){if(et.type==="element"||et.type==="root"){const rt=tt.schema;let it=rt;et.type==="element"&&et.tagName.toLowerCase()==="svg"&&rt.space==="html"&&(it=svg,tt.schema=it),tt.ancestors.push(et);let ot=createChildren(tt,et);const at=createProperties(tt,tt.ancestors);let st=tt.Fragment;if(tt.ancestors.pop(),et.type==="element")if(ot&&tableElements.has(et.tagName)&&(ot=ot.filter(function(lt){return typeof lt=="string"?!whitespace(lt):!0})),own$3.call(tt.components,et.tagName)){const lt=et.tagName;st=tt.components[lt],typeof st!="string"&&st!==tt.Fragment&&tt.passNode&&(at.node=et)}else st=et.tagName;if(ot.length>0){const lt=ot.length>1?ot:ot[0];lt&&(at.children=lt)}return tt.schema=rt,tt.create(et,st,at,nt)}if(et.type==="text")return et.value}function productionCreate(tt,et,nt){return rt;function rt(it,ot,at,st){const ct=Array.isArray(at.children)?nt:et;return st?ct(ot,at,st):ct(ot,at)}}function developmentCreate(tt,et){return nt;function nt(rt,it,ot,at){const st=Array.isArray(ot.children),lt=pointStart(rt);return et(it,ot,at,st,{columnNumber:lt?lt.column-1:void 0,fileName:tt,lineNumber:lt?lt.line:void 0},void 0)}}function createChildren(tt,et){const nt=[];let rt=-1;const it=tt.passKeys?new Map:emptyMap;for(;++rtit?0:it+et:et=et>it?it:et,nt=nt>0?nt:0,rt.length<1e4)at=Array.from(rt),at.unshift(et,nt),tt.splice(...at);else for(nt&&tt.splice(et,nt);ot0?(splice(tt,tt.length,0,et),tt):et}const hasOwnProperty={}.hasOwnProperty;function combineExtensions(tt){const et={};let nt=-1;for(;++nt13&&nt<32||nt>126&&nt<160||nt>55295&&nt<57344||nt>64975&&nt<65008||(nt&65535)===65535||(nt&65535)===65534||nt>1114111?"�":String.fromCodePoint(nt)}function normalizeIdentifier(tt){return tt.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const unicodePunctuationInternal=regexCheck(/\p{P}/u),asciiAlpha=regexCheck(/[A-Za-z]/),asciiAlphanumeric=regexCheck(/[\dA-Za-z]/),asciiAtext=regexCheck(/[#-'*+\--9=?A-Z^-~]/);function asciiControl(tt){return tt!==null&&(tt<32||tt===127)}const asciiDigit=regexCheck(/\d/),asciiHexDigit=regexCheck(/[\dA-Fa-f]/),asciiPunctuation=regexCheck(/[!-/:-@[-`{-~]/);function markdownLineEnding(tt){return tt!==null&&tt<-2}function markdownLineEndingOrSpace(tt){return tt!==null&&(tt<0||tt===32)}function markdownSpace(tt){return tt===-2||tt===-1||tt===32}function unicodePunctuation(tt){return asciiPunctuation(tt)||unicodePunctuationInternal(tt)}const unicodeWhitespace=regexCheck(/\s/);function regexCheck(tt){return et;function et(nt){return nt!==null&&nt>-1&&tt.test(String.fromCharCode(nt))}}function normalizeUri(tt){const et=[];let nt=-1,rt=0,it=0;for(;++nt55295&&ot<57344){const st=tt.charCodeAt(nt+1);ot<56320&&st>56319&&st<57344?(at=String.fromCharCode(ot,st),it=1):at="�"}else at=String.fromCharCode(ot);at&&(et.push(tt.slice(rt,nt),encodeURIComponent(at)),rt=nt+it+1,at=""),it&&(nt+=it,it=0)}return et.join("")+tt.slice(rt)}function factorySpace(tt,et,nt,rt){const it=rt?rt-1:Number.POSITIVE_INFINITY;let ot=0;return at;function at(lt){return markdownSpace(lt)?(tt.enter(nt),st(lt)):et(lt)}function st(lt){return markdownSpace(lt)&&ot++at))return;const It=et.events.length;let Tt=It,$t,Ut;for(;Tt--;)if(et.events[Tt][0]==="exit"&&et.events[Tt][1].type==="chunkFlow"){if($t){Ut=et.events[Tt][1].end;break}$t=!0}for(yt(rt),Et=It;Etvt;){const St=nt[kt];et.containerState=St[1],St[0].exit.call(et,tt)}nt.length=vt}function wt(){it.write([null]),ot=void 0,it=void 0,et.containerState._closeFlow=void 0}}function tokenizeContainer(tt,et,nt){return factorySpace(tt,tt.attempt(this.parser.constructs.document,et,nt),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function classifyCharacter(tt){if(tt===null||markdownLineEndingOrSpace(tt)||unicodeWhitespace(tt))return 1;if(unicodePunctuation(tt))return 2}function resolveAll(tt,et,nt){const rt=[];let it=-1;for(;++it1&&tt[nt][1].end.offset-tt[nt][1].start.offset>1?2:1;const ht=Object.assign({},tt[rt][1].end),dt=Object.assign({},tt[nt][1].start);movePoint(ht,-lt),movePoint(dt,lt),at={type:lt>1?"strongSequence":"emphasisSequence",start:ht,end:Object.assign({},tt[rt][1].end)},st={type:lt>1?"strongSequence":"emphasisSequence",start:Object.assign({},tt[nt][1].start),end:dt},ot={type:lt>1?"strongText":"emphasisText",start:Object.assign({},tt[rt][1].end),end:Object.assign({},tt[nt][1].start)},it={type:lt>1?"strong":"emphasis",start:Object.assign({},at.start),end:Object.assign({},st.end)},tt[rt][1].end=Object.assign({},at.start),tt[nt][1].start=Object.assign({},st.end),ct=[],tt[rt][1].end.offset-tt[rt][1].start.offset&&(ct=push(ct,[["enter",tt[rt][1],et],["exit",tt[rt][1],et]])),ct=push(ct,[["enter",it,et],["enter",at,et],["exit",at,et],["enter",ot,et]]),ct=push(ct,resolveAll(et.parser.constructs.insideSpan.null,tt.slice(rt+1,nt),et)),ct=push(ct,[["exit",ot,et],["enter",st,et],["exit",st,et],["exit",it,et]]),tt[nt][1].end.offset-tt[nt][1].start.offset?(ut=2,ct=push(ct,[["enter",tt[nt][1],et],["exit",tt[nt][1],et]])):ut=0,splice(tt,rt-1,nt-rt+3,ct),nt=rt+ct.length-ut-2;break}}for(nt=-1;++nt0&&markdownSpace(Et)?factorySpace(tt,wt,"linePrefix",ot+1)(Et):wt(Et)}function wt(Et){return Et===null||markdownLineEnding(Et)?tt.check(nonLazyContinuation,gt,kt)(Et):(tt.enter("codeFlowValue"),vt(Et))}function vt(Et){return Et===null||markdownLineEnding(Et)?(tt.exit("codeFlowValue"),wt(Et)):(tt.consume(Et),vt)}function kt(Et){return tt.exit("codeFenced"),et(Et)}function St(Et,It,Tt){let $t=0;return Ut;function Ut(At){return Et.enter("lineEnding"),Et.consume(At),Et.exit("lineEnding"),Lt}function Lt(At){return Et.enter("codeFencedFence"),markdownSpace(At)?factorySpace(Et,Mt,"linePrefix",rt.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(At):Mt(At)}function Mt(At){return At===st?(Et.enter("codeFencedFenceSequence"),Ct(At)):Tt(At)}function Ct(At){return At===st?($t++,Et.consume(At),Ct):$t>=at?(Et.exit("codeFencedFenceSequence"),markdownSpace(At)?factorySpace(Et,xt,"whitespace")(At):xt(At)):Tt(At)}function xt(At){return At===null||markdownLineEnding(At)?(Et.exit("codeFencedFence"),It(At)):Tt(At)}}}function tokenizeNonLazyContinuation(tt,et,nt){const rt=this;return it;function it(at){return at===null?nt(at):(tt.enter("lineEnding"),tt.consume(at),tt.exit("lineEnding"),ot)}function ot(at){return rt.parser.lazy[rt.now().line]?nt(at):et(at)}}const codeIndented={name:"codeIndented",tokenize:tokenizeCodeIndented},furtherStart={tokenize:tokenizeFurtherStart,partial:!0};function tokenizeCodeIndented(tt,et,nt){const rt=this;return it;function it(ct){return tt.enter("codeIndented"),factorySpace(tt,ot,"linePrefix",4+1)(ct)}function ot(ct){const ut=rt.events[rt.events.length-1];return ut&&ut[1].type==="linePrefix"&&ut[2].sliceSerialize(ut[1],!0).length>=4?at(ct):nt(ct)}function at(ct){return ct===null?lt(ct):markdownLineEnding(ct)?tt.attempt(furtherStart,at,lt)(ct):(tt.enter("codeFlowValue"),st(ct))}function st(ct){return ct===null||markdownLineEnding(ct)?(tt.exit("codeFlowValue"),at(ct)):(tt.consume(ct),st)}function lt(ct){return tt.exit("codeIndented"),et(ct)}}function tokenizeFurtherStart(tt,et,nt){const rt=this;return it;function it(at){return rt.parser.lazy[rt.now().line]?nt(at):markdownLineEnding(at)?(tt.enter("lineEnding"),tt.consume(at),tt.exit("lineEnding"),it):factorySpace(tt,ot,"linePrefix",4+1)(at)}function ot(at){const st=rt.events[rt.events.length-1];return st&&st[1].type==="linePrefix"&&st[2].sliceSerialize(st[1],!0).length>=4?et(at):markdownLineEnding(at)?it(at):nt(at)}}const codeText={name:"codeText",tokenize:tokenizeCodeText,resolve:resolveCodeText,previous};function resolveCodeText(tt){let et=tt.length-4,nt=3,rt,it;if((tt[nt][1].type==="lineEnding"||tt[nt][1].type==="space")&&(tt[et][1].type==="lineEnding"||tt[et][1].type==="space")){for(rt=nt;++rt=4?et(at):tt.interrupt(rt.parser.constructs.flow,nt,et)(at)}}function factoryDestination(tt,et,nt,rt,it,ot,at,st,lt){const ct=lt||Number.POSITIVE_INFINITY;let ut=0;return ht;function ht(yt){return yt===60?(tt.enter(rt),tt.enter(it),tt.enter(ot),tt.consume(yt),tt.exit(ot),dt):yt===null||yt===32||yt===41||asciiControl(yt)?nt(yt):(tt.enter(rt),tt.enter(at),tt.enter(st),tt.enter("chunkString",{contentType:"string"}),gt(yt))}function dt(yt){return yt===62?(tt.enter(ot),tt.consume(yt),tt.exit(ot),tt.exit(it),tt.exit(rt),et):(tt.enter(st),tt.enter("chunkString",{contentType:"string"}),pt(yt))}function pt(yt){return yt===62?(tt.exit("chunkString"),tt.exit(st),dt(yt)):yt===null||yt===60||markdownLineEnding(yt)?nt(yt):(tt.consume(yt),yt===92?mt:pt)}function mt(yt){return yt===60||yt===62||yt===92?(tt.consume(yt),pt):pt(yt)}function gt(yt){return!ut&&(yt===null||yt===41||markdownLineEndingOrSpace(yt))?(tt.exit("chunkString"),tt.exit(st),tt.exit(at),tt.exit(rt),et(yt)):ut999||pt===null||pt===91||pt===93&&!lt||pt===94&&!st&&"_hiddenFootnoteSupport"in at.parser.constructs?nt(pt):pt===93?(tt.exit(ot),tt.enter(it),tt.consume(pt),tt.exit(it),tt.exit(rt),et):markdownLineEnding(pt)?(tt.enter("lineEnding"),tt.consume(pt),tt.exit("lineEnding"),ut):(tt.enter("chunkString",{contentType:"string"}),ht(pt))}function ht(pt){return pt===null||pt===91||pt===93||markdownLineEnding(pt)||st++>999?(tt.exit("chunkString"),ut(pt)):(tt.consume(pt),lt||(lt=!markdownSpace(pt)),pt===92?dt:ht)}function dt(pt){return pt===91||pt===92||pt===93?(tt.consume(pt),st++,ht):ht(pt)}}function factoryTitle(tt,et,nt,rt,it,ot){let at;return st;function st(dt){return dt===34||dt===39||dt===40?(tt.enter(rt),tt.enter(it),tt.consume(dt),tt.exit(it),at=dt===40?41:dt,lt):nt(dt)}function lt(dt){return dt===at?(tt.enter(it),tt.consume(dt),tt.exit(it),tt.exit(rt),et):(tt.enter(ot),ct(dt))}function ct(dt){return dt===at?(tt.exit(ot),lt(at)):dt===null?nt(dt):markdownLineEnding(dt)?(tt.enter("lineEnding"),tt.consume(dt),tt.exit("lineEnding"),factorySpace(tt,ct,"linePrefix")):(tt.enter("chunkString",{contentType:"string"}),ut(dt))}function ut(dt){return dt===at||dt===null||markdownLineEnding(dt)?(tt.exit("chunkString"),ct(dt)):(tt.consume(dt),dt===92?ht:ut)}function ht(dt){return dt===at||dt===92?(tt.consume(dt),ut):ut(dt)}}function factoryWhitespace(tt,et){let nt;return rt;function rt(it){return markdownLineEnding(it)?(tt.enter("lineEnding"),tt.consume(it),tt.exit("lineEnding"),nt=!0,rt):markdownSpace(it)?factorySpace(tt,rt,nt?"linePrefix":"lineSuffix")(it):et(it)}}const definition={name:"definition",tokenize:tokenizeDefinition},titleBefore={tokenize:tokenizeTitleBefore,partial:!0};function tokenizeDefinition(tt,et,nt){const rt=this;let it;return ot;function ot(pt){return tt.enter("definition"),at(pt)}function at(pt){return factoryLabel.call(rt,tt,st,nt,"definitionLabel","definitionLabelMarker","definitionLabelString")(pt)}function st(pt){return it=normalizeIdentifier(rt.sliceSerialize(rt.events[rt.events.length-1][1]).slice(1,-1)),pt===58?(tt.enter("definitionMarker"),tt.consume(pt),tt.exit("definitionMarker"),lt):nt(pt)}function lt(pt){return markdownLineEndingOrSpace(pt)?factoryWhitespace(tt,ct)(pt):ct(pt)}function ct(pt){return factoryDestination(tt,ut,nt,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(pt)}function ut(pt){return tt.attempt(titleBefore,ht,ht)(pt)}function ht(pt){return markdownSpace(pt)?factorySpace(tt,dt,"whitespace")(pt):dt(pt)}function dt(pt){return pt===null||markdownLineEnding(pt)?(tt.exit("definition"),rt.parser.defined.push(it),et(pt)):nt(pt)}}function tokenizeTitleBefore(tt,et,nt){return rt;function rt(st){return markdownLineEndingOrSpace(st)?factoryWhitespace(tt,it)(st):nt(st)}function it(st){return factoryTitle(tt,ot,nt,"definitionTitle","definitionTitleMarker","definitionTitleString")(st)}function ot(st){return markdownSpace(st)?factorySpace(tt,at,"whitespace")(st):at(st)}function at(st){return st===null||markdownLineEnding(st)?et(st):nt(st)}}const hardBreakEscape={name:"hardBreakEscape",tokenize:tokenizeHardBreakEscape};function tokenizeHardBreakEscape(tt,et,nt){return rt;function rt(ot){return tt.enter("hardBreakEscape"),tt.consume(ot),it}function it(ot){return markdownLineEnding(ot)?(tt.exit("hardBreakEscape"),et(ot)):nt(ot)}}const headingAtx={name:"headingAtx",tokenize:tokenizeHeadingAtx,resolve:resolveHeadingAtx};function resolveHeadingAtx(tt,et){let nt=tt.length-2,rt=3,it,ot;return tt[rt][1].type==="whitespace"&&(rt+=2),nt-2>rt&&tt[nt][1].type==="whitespace"&&(nt-=2),tt[nt][1].type==="atxHeadingSequence"&&(rt===nt-1||nt-4>rt&&tt[nt-2][1].type==="whitespace")&&(nt-=rt+1===nt?2:4),nt>rt&&(it={type:"atxHeadingText",start:tt[rt][1].start,end:tt[nt][1].end},ot={type:"chunkText",start:tt[rt][1].start,end:tt[nt][1].end,contentType:"text"},splice(tt,rt,nt-rt+1,[["enter",it,et],["enter",ot,et],["exit",ot,et],["exit",it,et]])),tt}function tokenizeHeadingAtx(tt,et,nt){let rt=0;return it;function it(ut){return tt.enter("atxHeading"),ot(ut)}function ot(ut){return tt.enter("atxHeadingSequence"),at(ut)}function at(ut){return ut===35&&rt++<6?(tt.consume(ut),at):ut===null||markdownLineEndingOrSpace(ut)?(tt.exit("atxHeadingSequence"),st(ut)):nt(ut)}function st(ut){return ut===35?(tt.enter("atxHeadingSequence"),lt(ut)):ut===null||markdownLineEnding(ut)?(tt.exit("atxHeading"),et(ut)):markdownSpace(ut)?factorySpace(tt,st,"whitespace")(ut):(tt.enter("atxHeadingText"),ct(ut))}function lt(ut){return ut===35?(tt.consume(ut),lt):(tt.exit("atxHeadingSequence"),st(ut))}function ct(ut){return ut===null||ut===35||markdownLineEndingOrSpace(ut)?(tt.exit("atxHeadingText"),st(ut)):(tt.consume(ut),ct)}}const htmlBlockNames=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],htmlRawNames=["pre","script","style","textarea"],htmlFlow={name:"htmlFlow",tokenize:tokenizeHtmlFlow,resolveTo:resolveToHtmlFlow,concrete:!0},blankLineBefore={tokenize:tokenizeBlankLineBefore,partial:!0},nonLazyContinuationStart={tokenize:tokenizeNonLazyContinuationStart,partial:!0};function resolveToHtmlFlow(tt){let et=tt.length;for(;et--&&!(tt[et][0]==="enter"&&tt[et][1].type==="htmlFlow"););return et>1&&tt[et-2][1].type==="linePrefix"&&(tt[et][1].start=tt[et-2][1].start,tt[et+1][1].start=tt[et-2][1].start,tt.splice(et-2,2)),tt}function tokenizeHtmlFlow(tt,et,nt){const rt=this;let it,ot,at,st,lt;return ct;function ct(Vt){return ut(Vt)}function ut(Vt){return tt.enter("htmlFlow"),tt.enter("htmlFlowData"),tt.consume(Vt),ht}function ht(Vt){return Vt===33?(tt.consume(Vt),dt):Vt===47?(tt.consume(Vt),ot=!0,gt):Vt===63?(tt.consume(Vt),it=3,rt.interrupt?et:Pt):asciiAlpha(Vt)?(tt.consume(Vt),at=String.fromCharCode(Vt),bt):nt(Vt)}function dt(Vt){return Vt===45?(tt.consume(Vt),it=2,pt):Vt===91?(tt.consume(Vt),it=5,st=0,mt):asciiAlpha(Vt)?(tt.consume(Vt),it=4,rt.interrupt?et:Pt):nt(Vt)}function pt(Vt){return Vt===45?(tt.consume(Vt),rt.interrupt?et:Pt):nt(Vt)}function mt(Vt){const Jt="CDATA[";return Vt===Jt.charCodeAt(st++)?(tt.consume(Vt),st===Jt.length?rt.interrupt?et:Mt:mt):nt(Vt)}function gt(Vt){return asciiAlpha(Vt)?(tt.consume(Vt),at=String.fromCharCode(Vt),bt):nt(Vt)}function bt(Vt){if(Vt===null||Vt===47||Vt===62||markdownLineEndingOrSpace(Vt)){const Jt=Vt===47,rn=at.toLowerCase();return!Jt&&!ot&&htmlRawNames.includes(rn)?(it=1,rt.interrupt?et(Vt):Mt(Vt)):htmlBlockNames.includes(at.toLowerCase())?(it=6,Jt?(tt.consume(Vt),yt):rt.interrupt?et(Vt):Mt(Vt)):(it=7,rt.interrupt&&!rt.parser.lazy[rt.now().line]?nt(Vt):ot?wt(Vt):vt(Vt))}return Vt===45||asciiAlphanumeric(Vt)?(tt.consume(Vt),at+=String.fromCharCode(Vt),bt):nt(Vt)}function yt(Vt){return Vt===62?(tt.consume(Vt),rt.interrupt?et:Mt):nt(Vt)}function wt(Vt){return markdownSpace(Vt)?(tt.consume(Vt),wt):Ut(Vt)}function vt(Vt){return Vt===47?(tt.consume(Vt),Ut):Vt===58||Vt===95||asciiAlpha(Vt)?(tt.consume(Vt),kt):markdownSpace(Vt)?(tt.consume(Vt),vt):Ut(Vt)}function kt(Vt){return Vt===45||Vt===46||Vt===58||Vt===95||asciiAlphanumeric(Vt)?(tt.consume(Vt),kt):St(Vt)}function St(Vt){return Vt===61?(tt.consume(Vt),Et):markdownSpace(Vt)?(tt.consume(Vt),St):vt(Vt)}function Et(Vt){return Vt===null||Vt===60||Vt===61||Vt===62||Vt===96?nt(Vt):Vt===34||Vt===39?(tt.consume(Vt),lt=Vt,It):markdownSpace(Vt)?(tt.consume(Vt),Et):Tt(Vt)}function It(Vt){return Vt===lt?(tt.consume(Vt),lt=null,$t):Vt===null||markdownLineEnding(Vt)?nt(Vt):(tt.consume(Vt),It)}function Tt(Vt){return Vt===null||Vt===34||Vt===39||Vt===47||Vt===60||Vt===61||Vt===62||Vt===96||markdownLineEndingOrSpace(Vt)?St(Vt):(tt.consume(Vt),Tt)}function $t(Vt){return Vt===47||Vt===62||markdownSpace(Vt)?vt(Vt):nt(Vt)}function Ut(Vt){return Vt===62?(tt.consume(Vt),Lt):nt(Vt)}function Lt(Vt){return Vt===null||markdownLineEnding(Vt)?Mt(Vt):markdownSpace(Vt)?(tt.consume(Vt),Lt):nt(Vt)}function Mt(Vt){return Vt===45&&it===2?(tt.consume(Vt),Rt):Vt===60&&it===1?(tt.consume(Vt),zt):Vt===62&&it===4?(tt.consume(Vt),Nt):Vt===63&&it===3?(tt.consume(Vt),Pt):Vt===93&&it===5?(tt.consume(Vt),Ot):markdownLineEnding(Vt)&&(it===6||it===7)?(tt.exit("htmlFlowData"),tt.check(blankLineBefore,Bt,Ct)(Vt)):Vt===null||markdownLineEnding(Vt)?(tt.exit("htmlFlowData"),Ct(Vt)):(tt.consume(Vt),Mt)}function Ct(Vt){return tt.check(nonLazyContinuationStart,xt,Bt)(Vt)}function xt(Vt){return tt.enter("lineEnding"),tt.consume(Vt),tt.exit("lineEnding"),At}function At(Vt){return Vt===null||markdownLineEnding(Vt)?Ct(Vt):(tt.enter("htmlFlowData"),Mt(Vt))}function Rt(Vt){return Vt===45?(tt.consume(Vt),Pt):Mt(Vt)}function zt(Vt){return Vt===47?(tt.consume(Vt),at="",jt):Mt(Vt)}function jt(Vt){if(Vt===62){const Jt=at.toLowerCase();return htmlRawNames.includes(Jt)?(tt.consume(Vt),Nt):Mt(Vt)}return asciiAlpha(Vt)&&at.length<8?(tt.consume(Vt),at+=String.fromCharCode(Vt),jt):Mt(Vt)}function Ot(Vt){return Vt===93?(tt.consume(Vt),Pt):Mt(Vt)}function Pt(Vt){return Vt===62?(tt.consume(Vt),Nt):Vt===45&&it===2?(tt.consume(Vt),Pt):Mt(Vt)}function Nt(Vt){return Vt===null||markdownLineEnding(Vt)?(tt.exit("htmlFlowData"),Bt(Vt)):(tt.consume(Vt),Nt)}function Bt(Vt){return tt.exit("htmlFlow"),et(Vt)}}function tokenizeNonLazyContinuationStart(tt,et,nt){const rt=this;return it;function it(at){return markdownLineEnding(at)?(tt.enter("lineEnding"),tt.consume(at),tt.exit("lineEnding"),ot):nt(at)}function ot(at){return rt.parser.lazy[rt.now().line]?nt(at):et(at)}}function tokenizeBlankLineBefore(tt,et,nt){return rt;function rt(it){return tt.enter("lineEnding"),tt.consume(it),tt.exit("lineEnding"),tt.attempt(blankLine,et,nt)}}const htmlText={name:"htmlText",tokenize:tokenizeHtmlText};function tokenizeHtmlText(tt,et,nt){const rt=this;let it,ot,at;return st;function st(Pt){return tt.enter("htmlText"),tt.enter("htmlTextData"),tt.consume(Pt),lt}function lt(Pt){return Pt===33?(tt.consume(Pt),ct):Pt===47?(tt.consume(Pt),St):Pt===63?(tt.consume(Pt),vt):asciiAlpha(Pt)?(tt.consume(Pt),Tt):nt(Pt)}function ct(Pt){return Pt===45?(tt.consume(Pt),ut):Pt===91?(tt.consume(Pt),ot=0,mt):asciiAlpha(Pt)?(tt.consume(Pt),wt):nt(Pt)}function ut(Pt){return Pt===45?(tt.consume(Pt),pt):nt(Pt)}function ht(Pt){return Pt===null?nt(Pt):Pt===45?(tt.consume(Pt),dt):markdownLineEnding(Pt)?(at=ht,zt(Pt)):(tt.consume(Pt),ht)}function dt(Pt){return Pt===45?(tt.consume(Pt),pt):ht(Pt)}function pt(Pt){return Pt===62?Rt(Pt):Pt===45?dt(Pt):ht(Pt)}function mt(Pt){const Nt="CDATA[";return Pt===Nt.charCodeAt(ot++)?(tt.consume(Pt),ot===Nt.length?gt:mt):nt(Pt)}function gt(Pt){return Pt===null?nt(Pt):Pt===93?(tt.consume(Pt),bt):markdownLineEnding(Pt)?(at=gt,zt(Pt)):(tt.consume(Pt),gt)}function bt(Pt){return Pt===93?(tt.consume(Pt),yt):gt(Pt)}function yt(Pt){return Pt===62?Rt(Pt):Pt===93?(tt.consume(Pt),yt):gt(Pt)}function wt(Pt){return Pt===null||Pt===62?Rt(Pt):markdownLineEnding(Pt)?(at=wt,zt(Pt)):(tt.consume(Pt),wt)}function vt(Pt){return Pt===null?nt(Pt):Pt===63?(tt.consume(Pt),kt):markdownLineEnding(Pt)?(at=vt,zt(Pt)):(tt.consume(Pt),vt)}function kt(Pt){return Pt===62?Rt(Pt):vt(Pt)}function St(Pt){return asciiAlpha(Pt)?(tt.consume(Pt),Et):nt(Pt)}function Et(Pt){return Pt===45||asciiAlphanumeric(Pt)?(tt.consume(Pt),Et):It(Pt)}function It(Pt){return markdownLineEnding(Pt)?(at=It,zt(Pt)):markdownSpace(Pt)?(tt.consume(Pt),It):Rt(Pt)}function Tt(Pt){return Pt===45||asciiAlphanumeric(Pt)?(tt.consume(Pt),Tt):Pt===47||Pt===62||markdownLineEndingOrSpace(Pt)?$t(Pt):nt(Pt)}function $t(Pt){return Pt===47?(tt.consume(Pt),Rt):Pt===58||Pt===95||asciiAlpha(Pt)?(tt.consume(Pt),Ut):markdownLineEnding(Pt)?(at=$t,zt(Pt)):markdownSpace(Pt)?(tt.consume(Pt),$t):Rt(Pt)}function Ut(Pt){return Pt===45||Pt===46||Pt===58||Pt===95||asciiAlphanumeric(Pt)?(tt.consume(Pt),Ut):Lt(Pt)}function Lt(Pt){return Pt===61?(tt.consume(Pt),Mt):markdownLineEnding(Pt)?(at=Lt,zt(Pt)):markdownSpace(Pt)?(tt.consume(Pt),Lt):$t(Pt)}function Mt(Pt){return Pt===null||Pt===60||Pt===61||Pt===62||Pt===96?nt(Pt):Pt===34||Pt===39?(tt.consume(Pt),it=Pt,Ct):markdownLineEnding(Pt)?(at=Mt,zt(Pt)):markdownSpace(Pt)?(tt.consume(Pt),Mt):(tt.consume(Pt),xt)}function Ct(Pt){return Pt===it?(tt.consume(Pt),it=void 0,At):Pt===null?nt(Pt):markdownLineEnding(Pt)?(at=Ct,zt(Pt)):(tt.consume(Pt),Ct)}function xt(Pt){return Pt===null||Pt===34||Pt===39||Pt===60||Pt===61||Pt===96?nt(Pt):Pt===47||Pt===62||markdownLineEndingOrSpace(Pt)?$t(Pt):(tt.consume(Pt),xt)}function At(Pt){return Pt===47||Pt===62||markdownLineEndingOrSpace(Pt)?$t(Pt):nt(Pt)}function Rt(Pt){return Pt===62?(tt.consume(Pt),tt.exit("htmlTextData"),tt.exit("htmlText"),et):nt(Pt)}function zt(Pt){return tt.exit("htmlTextData"),tt.enter("lineEnding"),tt.consume(Pt),tt.exit("lineEnding"),jt}function jt(Pt){return markdownSpace(Pt)?factorySpace(tt,Ot,"linePrefix",rt.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Pt):Ot(Pt)}function Ot(Pt){return tt.enter("htmlTextData"),at(Pt)}}const labelEnd={name:"labelEnd",tokenize:tokenizeLabelEnd,resolveTo:resolveToLabelEnd,resolveAll:resolveAllLabelEnd},resourceConstruct={tokenize:tokenizeResource},referenceFullConstruct={tokenize:tokenizeReferenceFull},referenceCollapsedConstruct={tokenize:tokenizeReferenceCollapsed};function resolveAllLabelEnd(tt){let et=-1;for(;++et=3&&(ct===null||markdownLineEnding(ct))?(tt.exit("thematicBreak"),et(ct)):nt(ct)}function lt(ct){return ct===it?(tt.consume(ct),rt++,lt):(tt.exit("thematicBreakSequence"),markdownSpace(ct)?factorySpace(tt,st,"whitespace")(ct):st(ct))}}const list$1={name:"list",tokenize:tokenizeListStart,continuation:{tokenize:tokenizeListContinuation},exit:tokenizeListEnd},listItemPrefixWhitespaceConstruct={tokenize:tokenizeListItemPrefixWhitespace,partial:!0},indentConstruct={tokenize:tokenizeIndent,partial:!0};function tokenizeListStart(tt,et,nt){const rt=this,it=rt.events[rt.events.length-1];let ot=it&&it[1].type==="linePrefix"?it[2].sliceSerialize(it[1],!0).length:0,at=0;return st;function st(pt){const mt=rt.containerState.type||(pt===42||pt===43||pt===45?"listUnordered":"listOrdered");if(mt==="listUnordered"?!rt.containerState.marker||pt===rt.containerState.marker:asciiDigit(pt)){if(rt.containerState.type||(rt.containerState.type=mt,tt.enter(mt,{_container:!0})),mt==="listUnordered")return tt.enter("listItemPrefix"),pt===42||pt===45?tt.check(thematicBreak$1,nt,ct)(pt):ct(pt);if(!rt.interrupt||pt===49)return tt.enter("listItemPrefix"),tt.enter("listItemValue"),lt(pt)}return nt(pt)}function lt(pt){return asciiDigit(pt)&&++at<10?(tt.consume(pt),lt):(!rt.interrupt||at<2)&&(rt.containerState.marker?pt===rt.containerState.marker:pt===41||pt===46)?(tt.exit("listItemValue"),ct(pt)):nt(pt)}function ct(pt){return tt.enter("listItemMarker"),tt.consume(pt),tt.exit("listItemMarker"),rt.containerState.marker=rt.containerState.marker||pt,tt.check(blankLine,rt.interrupt?nt:ut,tt.attempt(listItemPrefixWhitespaceConstruct,dt,ht))}function ut(pt){return rt.containerState.initialBlankLine=!0,ot++,dt(pt)}function ht(pt){return markdownSpace(pt)?(tt.enter("listItemPrefixWhitespace"),tt.consume(pt),tt.exit("listItemPrefixWhitespace"),dt):nt(pt)}function dt(pt){return rt.containerState.size=ot+rt.sliceSerialize(tt.exit("listItemPrefix"),!0).length,et(pt)}}function tokenizeListContinuation(tt,et,nt){const rt=this;return rt.containerState._closeFlow=void 0,tt.check(blankLine,it,ot);function it(st){return rt.containerState.furtherBlankLines=rt.containerState.furtherBlankLines||rt.containerState.initialBlankLine,factorySpace(tt,et,"listItemIndent",rt.containerState.size+1)(st)}function ot(st){return rt.containerState.furtherBlankLines||!markdownSpace(st)?(rt.containerState.furtherBlankLines=void 0,rt.containerState.initialBlankLine=void 0,at(st)):(rt.containerState.furtherBlankLines=void 0,rt.containerState.initialBlankLine=void 0,tt.attempt(indentConstruct,et,at)(st))}function at(st){return rt.containerState._closeFlow=!0,rt.interrupt=void 0,factorySpace(tt,tt.attempt(list$1,et,nt),"linePrefix",rt.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(st)}}function tokenizeIndent(tt,et,nt){const rt=this;return factorySpace(tt,it,"listItemIndent",rt.containerState.size+1);function it(ot){const at=rt.events[rt.events.length-1];return at&&at[1].type==="listItemIndent"&&at[2].sliceSerialize(at[1],!0).length===rt.containerState.size?et(ot):nt(ot)}}function tokenizeListEnd(tt){tt.exit(this.containerState.type)}function tokenizeListItemPrefixWhitespace(tt,et,nt){const rt=this;return factorySpace(tt,it,"listItemPrefixWhitespace",rt.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function it(ot){const at=rt.events[rt.events.length-1];return!markdownSpace(ot)&&at&&at[1].type==="listItemPrefixWhitespace"?et(ot):nt(ot)}}const setextUnderline={name:"setextUnderline",tokenize:tokenizeSetextUnderline,resolveTo:resolveToSetextUnderline};function resolveToSetextUnderline(tt,et){let nt=tt.length,rt,it,ot;for(;nt--;)if(tt[nt][0]==="enter"){if(tt[nt][1].type==="content"){rt=nt;break}tt[nt][1].type==="paragraph"&&(it=nt)}else tt[nt][1].type==="content"&&tt.splice(nt,1),!ot&&tt[nt][1].type==="definition"&&(ot=nt);const at={type:"setextHeading",start:Object.assign({},tt[it][1].start),end:Object.assign({},tt[tt.length-1][1].end)};return tt[it][1].type="setextHeadingText",ot?(tt.splice(it,0,["enter",at,et]),tt.splice(ot+1,0,["exit",tt[rt][1],et]),tt[rt][1].end=Object.assign({},tt[ot][1].end)):tt[rt][1]=at,tt.push(["exit",at,et]),tt}function tokenizeSetextUnderline(tt,et,nt){const rt=this;let it;return ot;function ot(ct){let ut=rt.events.length,ht;for(;ut--;)if(rt.events[ut][1].type!=="lineEnding"&&rt.events[ut][1].type!=="linePrefix"&&rt.events[ut][1].type!=="content"){ht=rt.events[ut][1].type==="paragraph";break}return!rt.parser.lazy[rt.now().line]&&(rt.interrupt||ht)?(tt.enter("setextHeadingLine"),it=ct,at(ct)):nt(ct)}function at(ct){return tt.enter("setextHeadingLineSequence"),st(ct)}function st(ct){return ct===it?(tt.consume(ct),st):(tt.exit("setextHeadingLineSequence"),markdownSpace(ct)?factorySpace(tt,lt,"lineSuffix")(ct):lt(ct))}function lt(ct){return ct===null||markdownLineEnding(ct)?(tt.exit("setextHeadingLine"),et(ct)):nt(ct)}}const flow$1={tokenize:initializeFlow};function initializeFlow(tt){const et=this,nt=tt.attempt(blankLine,rt,tt.attempt(this.parser.constructs.flowInitial,it,factorySpace(tt,tt.attempt(this.parser.constructs.flow,it,tt.attempt(content,it)),"linePrefix")));return nt;function rt(ot){if(ot===null){tt.consume(ot);return}return tt.enter("lineEndingBlank"),tt.consume(ot),tt.exit("lineEndingBlank"),et.currentConstruct=void 0,nt}function it(ot){if(ot===null){tt.consume(ot);return}return tt.enter("lineEnding"),tt.consume(ot),tt.exit("lineEnding"),et.currentConstruct=void 0,nt}}const resolver={resolveAll:createResolver()},string$1=initializeFactory("string"),text$2=initializeFactory("text");function initializeFactory(tt){return{tokenize:et,resolveAll:createResolver(tt==="text"?resolveAllLineSuffixes:void 0)};function et(nt){const rt=this,it=this.parser.constructs[tt],ot=nt.attempt(it,at,st);return at;function at(ut){return ct(ut)?ot(ut):st(ut)}function st(ut){if(ut===null){nt.consume(ut);return}return nt.enter("data"),nt.consume(ut),lt}function lt(ut){return ct(ut)?(nt.exit("data"),ot(ut)):(nt.consume(ut),lt)}function ct(ut){if(ut===null)return!0;const ht=it[ut];let dt=-1;if(ht)for(;++dt-1){const st=at[0];typeof st=="string"?at[0]=st.slice(rt):at.shift()}ot>0&&at.push(tt[it].slice(0,ot))}return at}function serializeChunks(tt,et){let nt=-1;const rt=[];let it;for(;++nt0){const Sn=an.tokenStack[an.tokenStack.length-1];(Sn[1]||defaultOnError).call(an,void 0,Sn[0])}for($n.position={start:point(dn.length>0?dn[0][1].start:{line:1,column:1,offset:0}),end:point(dn.length>0?dn[dn.length-2][1].end:{line:1,column:1,offset:0})},Kt=-1;++Kt{const{open:et}=useModal("addContent"),[nt,rt]=reactExports.useState(!1),[it,ot]=reactExports.useState(null),{open:at}=useModal("briefDescription"),[st,lt]=useDataStore(pt=>[pt.trendingTopics,pt.setTrendingTopics]),{setValue:ct}=useFormContext();reactExports.useEffect(()=>{const pt=async()=>{rt(!0);try{const mt=await getTrends();mt.length&&Array.isArray(mt)&<(mt)}catch{lt(TRENDING_TOPICS.map(gt=>({topic:gt,count:0})))}finally{rt(!1)}};st.length||pt()},[st,lt]);const ut=pt=>{ct("search",pt),tt==null||tt()},ht=(pt,mt)=>{pt.stopPropagation(),pt.currentTarget.blur(),mt!=null&&mt.tldr&&(ot(mt),at())},dt=()=>{ot(null)};return jsxRuntimeExports.jsxs(Wrapper$2,{children:[jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsxs("div",{className:"trending-header",children:[jsxRuntimeExports.jsx("div",{className:"heading",children:"Trending Topics"}),jsxRuntimeExports.jsx(TrendingIcon,{className:"icon"})]}),st.length===0&&!nt?jsxRuntimeExports.jsxs("div",{className:"Trendingwrapper",children:[jsxRuntimeExports.jsx(Text,{children:"No new trending topics in the last 24 hours"}),jsxRuntimeExports.jsx(ButtonStyled,{color:"secondary",onClick:et,size:"medium",startIcon:jsxRuntimeExports.jsx(PlusIcon,{}),sx:{alignSelf:"flex-end",m:"0 36px 16px 0"},variant:"contained",children:"Add Content"})]}):jsxRuntimeExports.jsx("ul",{className:"list",children:nt?jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx(ClipLoader$2,{color:colors.PRIMARY_BLUE,size:16}),jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(StyledSkeleton,{animation:"wave",height:47,variant:"rectangular",width:382}),jsxRuntimeExports.jsx(StyledSkeleton,{animation:"wave",height:47,variant:"rectangular",width:382}),jsxRuntimeExports.jsx(StyledSkeleton,{animation:"wave",height:47,variant:"rectangular",width:382}),jsxRuntimeExports.jsx(StyledSkeleton,{animation:"wave",height:47,variant:"rectangular",width:382}),jsxRuntimeExports.jsx(StyledSkeleton,{animation:"wave",height:47,variant:"rectangular",width:382})]})]}):jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:st.map(pt=>jsxRuntimeExports.jsxs(Flex,{align:"center",className:"list-item",direction:"row",justify:"space-between",onClick:()=>ut(pt.topic),children:[jsxRuntimeExports.jsxs("span",{children:["#",pt.topic]}),pt.tldr&&jsxRuntimeExports.jsx(Button$2,{onClick:mt=>ht(mt,pt),children:"TLDR"})]},pt.topic))})})]}),it&&jsxRuntimeExports.jsx(BriefDescription,{onClose:dt,trend:it})]})},Wrapper$2=styled$4(Flex)` - .trending-header { - display: inline-flex; - margin-bottom: 9px; - padding: 0 16px 0 24px; +`,TRENDING_TOPICS=["Drivechain","Ordinals","L402","Nostr","AI"],Trending=({onSubmit:tt})=>{const{open:et}=useModal("addContent"),[nt,rt]=reactExports.useState(!1),[it,ot]=reactExports.useState(null),{open:at}=useModal("briefDescription"),[st,lt]=useDataStore(pt=>[pt.trendingTopics,pt.setTrendingTopics]),{setValue:ct}=useFormContext();reactExports.useEffect(()=>{const pt=async()=>{rt(!0);try{const mt=await getTrends();mt.length&&Array.isArray(mt)&<(mt)}catch{lt(TRENDING_TOPICS.map(gt=>({topic:gt,count:0})))}finally{rt(!1)}};st.length||pt()},[st,lt]);const ut=pt=>{ct("search",pt),tt==null||tt()},ht=(pt,mt)=>{pt.stopPropagation(),pt.currentTarget.blur(),mt!=null&&mt.tldr&&(ot(mt),at())},dt=()=>{ot(null)};return jsxRuntimeExports.jsxs(Wrapper$2,{children:[jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("div",{className:"heading-container",children:jsxRuntimeExports.jsxs("div",{className:"heading",children:[jsxRuntimeExports.jsx("span",{className:"heading__title",children:"Trending Topics"}),jsxRuntimeExports.jsx("span",{className:"heading__icon",children:nt?jsxRuntimeExports.jsx(ClipLoader$2,{color:colors.PRIMARY_BLUE,size:16}):jsxRuntimeExports.jsx(SentimentDataIcon,{})})]})}),st.length===0&&!nt?jsxRuntimeExports.jsxs("div",{className:"Trendingwrapper",children:[jsxRuntimeExports.jsx(Text,{children:"No new trending topics in the last 24 hours"}),jsxRuntimeExports.jsx(ButtonStyled,{color:"secondary",onClick:et,size:"medium",startIcon:jsxRuntimeExports.jsx(PlusIcon,{}),sx:{alignSelf:"flex-end",m:"0 36px 16px 0"},variant:"contained",children:"Add Content"})]}):jsxRuntimeExports.jsx("ul",{className:"list",children:nt?jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx(ClipLoader$2,{color:colors.PRIMARY_BLUE,size:16}),jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(StyledSkeleton,{animation:"wave",height:47,variant:"rectangular",width:382}),jsxRuntimeExports.jsx(StyledSkeleton,{animation:"wave",height:47,variant:"rectangular",width:382}),jsxRuntimeExports.jsx(StyledSkeleton,{animation:"wave",height:47,variant:"rectangular",width:382}),jsxRuntimeExports.jsx(StyledSkeleton,{animation:"wave",height:47,variant:"rectangular",width:382}),jsxRuntimeExports.jsx(StyledSkeleton,{animation:"wave",height:47,variant:"rectangular",width:382})]})]}):jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:st.map(pt=>jsxRuntimeExports.jsxs(Flex,{align:"center",className:"list-item",direction:"row",justify:"space-between",onClick:()=>ut(pt.topic),children:[jsxRuntimeExports.jsxs("span",{children:["#",pt.topic]}),pt.tldr&&jsxRuntimeExports.jsx(Button$2,{onClick:mt=>ht(mt,pt),children:"TLDR"})]},pt.topic))})})]}),it&&jsxRuntimeExports.jsx(BriefDescription,{onClose:dt,trend:it})]})},Wrapper$2=styled$4(Flex)` + .heading-container { + display: flex; + flex-direction: column; + padding: 16px 24px 16px 24px; + } - .heading { - color: ${colors.GRAY6}; - padding-right: 24px; - font-family: Barlow; - font-size: 14px; - font-style: normal; - font-weight: 700; - line-height: 20px; - letter-spacing: 1.12px; - text-transform: uppercase; - } + .heading { + color: ${colors.GRAY6}; + padding-right: 24px; + font-family: Barlow; + font-size: 14px; + font-style: normal; + font-weight: 700; + line-height: 20px; + letter-spacing: 1.12px; + text-transform: uppercase; - .icon { + &__icon { margin-left: 16px; font-size: 24px; } diff --git a/build/assets/index-9a4cd8a9.css b/build/assets/index-9a4cd8a9.css index 3c41cf720..4e025f5d1 100644 --- a/build/assets/index-9a4cd8a9.css +++ b/build/assets/index-9a4cd8a9.css @@ -1,1145 +1 @@ -:root { - --toastify-color-light: #fff; - --toastify-color-dark: #121212; - --toastify-color-info: #3498db; - --toastify-color-success: #07bc0c; - --toastify-color-warning: #f1c40f; - --toastify-color-error: #e74c3c; - --toastify-color-transparent: rgba(255, 255, 255, 0.7); - --toastify-icon-color-info: var(--toastify-color-info); - --toastify-icon-color-success: var(--toastify-color-success); - --toastify-icon-color-warning: var(--toastify-color-warning); - --toastify-icon-color-error: var(--toastify-color-error); - --toastify-toast-width: 320px; - --toastify-toast-background: #fff; - --toastify-toast-min-height: 64px; - --toastify-toast-max-height: 800px; - --toastify-font-family: sans-serif; - --toastify-z-index: 9999; - --toastify-text-color-light: #757575; - --toastify-text-color-dark: #fff; - --toastify-text-color-info: #fff; - --toastify-text-color-success: #fff; - --toastify-text-color-warning: #fff; - --toastify-text-color-error: #fff; - --toastify-spinner-color: #616161; - --toastify-spinner-color-empty-area: #e0e0e0; - --toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55); - --toastify-color-progress-dark: #bb86fc; - --toastify-color-progress-info: var(--toastify-color-info); - --toastify-color-progress-success: var(--toastify-color-success); - --toastify-color-progress-warning: var(--toastify-color-warning); - --toastify-color-progress-error: var(--toastify-color-error); -} -.Toastify__toast-container { - z-index: var(--toastify-z-index); - -webkit-transform: translate3d(0, 0, var(--toastify-z-index) px); - position: fixed; - padding: 4px; - width: var(--toastify-toast-width); - box-sizing: border-box; - color: #fff; -} -.Toastify__toast-container--top-left { - top: 1em; - left: 1em; -} -.Toastify__toast-container--top-center { - top: 1em; - left: 50%; - transform: translate(-50%); -} -.Toastify__toast-container--top-right { - top: 1em; - right: 1em; -} -.Toastify__toast-container--bottom-left { - bottom: 1em; - left: 1em; -} -.Toastify__toast-container--bottom-center { - bottom: 1em; - left: 50%; - transform: translate(-50%); -} -.Toastify__toast-container--bottom-right { - bottom: 1em; - right: 1em; -} -@media only screen and (max-width: 480px) { - .Toastify__toast-container { - width: 100vw; - padding: 0; - left: 0; - margin: 0; - } - .Toastify__toast-container--top-left, - .Toastify__toast-container--top-center, - .Toastify__toast-container--top-right { - top: 0; - transform: translate(0); - } - .Toastify__toast-container--bottom-left, - .Toastify__toast-container--bottom-center, - .Toastify__toast-container--bottom-right { - bottom: 0; - transform: translate(0); - } - .Toastify__toast-container--rtl { - right: 0; - left: initial; - } -} -.Toastify__toast { - position: relative; - min-height: var(--toastify-toast-min-height); - box-sizing: border-box; - margin-bottom: 1rem; - padding: 8px; - border-radius: 4px; - box-shadow: 0 1px 10px #0000001a, 0 2px 15px #0000000d; - display: -ms-flexbox; - display: flex; - -ms-flex-pack: justify; - justify-content: space-between; - max-height: var(--toastify-toast-max-height); - overflow: hidden; - font-family: var(--toastify-font-family); - cursor: pointer; - direction: ltr; -} -.Toastify__toast--rtl { - direction: rtl; -} -.Toastify__toast-body { - margin: auto 0; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - padding: 6px; - display: -ms-flexbox; - display: flex; - -ms-flex-align: center; - align-items: center; -} -.Toastify__toast-body > div:last-child { - -ms-flex: 1; - flex: 1; -} -.Toastify__toast-icon { - -webkit-margin-end: 10px; - margin-inline-end: 10px; - width: 20px; - -ms-flex-negative: 0; - flex-shrink: 0; - display: -ms-flexbox; - display: flex; -} -.Toastify--animate { - animation-fill-mode: both; - animation-duration: 0.7s; -} -.Toastify--animate-icon { - animation-fill-mode: both; - animation-duration: 0.3s; -} -@media only screen and (max-width: 480px) { - .Toastify__toast { - margin-bottom: 0; - border-radius: 0; - } -} -.Toastify__toast-theme--dark { - background: var(--toastify-color-dark); - color: var(--toastify-text-color-dark); -} -.Toastify__toast-theme--light, -.Toastify__toast-theme--colored.Toastify__toast--default { - background: var(--toastify-color-light); - color: var(--toastify-text-color-light); -} -.Toastify__toast-theme--colored.Toastify__toast--info { - color: var(--toastify-text-color-info); - background: var(--toastify-color-info); -} -.Toastify__toast-theme--colored.Toastify__toast--success { - color: var(--toastify-text-color-success); - background: var(--toastify-color-success); -} -.Toastify__toast-theme--colored.Toastify__toast--warning { - color: var(--toastify-text-color-warning); - background: var(--toastify-color-warning); -} -.Toastify__toast-theme--colored.Toastify__toast--error { - color: var(--toastify-text-color-error); - background: var(--toastify-color-error); -} -.Toastify__progress-bar-theme--light { - background: var(--toastify-color-progress-light); -} -.Toastify__progress-bar-theme--dark { - background: var(--toastify-color-progress-dark); -} -.Toastify__progress-bar--info { - background: var(--toastify-color-progress-info); -} -.Toastify__progress-bar--success { - background: var(--toastify-color-progress-success); -} -.Toastify__progress-bar--warning { - background: var(--toastify-color-progress-warning); -} -.Toastify__progress-bar--error { - background: var(--toastify-color-progress-error); -} -.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info, -.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success, -.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning, -.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error { - background: var(--toastify-color-transparent); -} -.Toastify__close-button { - color: #fff; - background: transparent; - outline: none; - border: none; - padding: 0; - cursor: pointer; - opacity: 0.7; - transition: 0.3s ease; - -ms-flex-item-align: start; - align-self: flex-start; -} -.Toastify__close-button--light { - color: #000; - opacity: 0.3; -} -.Toastify__close-button > svg { - fill: currentColor; - height: 16px; - width: 14px; -} -.Toastify__close-button:hover, -.Toastify__close-button:focus { - opacity: 1; -} -@keyframes Toastify__trackProgress { - 0% { - transform: scaleX(1); - } - to { - transform: scaleX(0); - } -} -.Toastify__progress-bar { - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 5px; - z-index: var(--toastify-z-index); - opacity: 0.7; - transform-origin: left; -} -.Toastify__progress-bar--animated { - animation: Toastify__trackProgress linear 1 forwards; -} -.Toastify__progress-bar--controlled { - transition: transform 0.2s; -} -.Toastify__progress-bar--rtl { - right: 0; - left: initial; - transform-origin: right; -} -.Toastify__spinner { - width: 20px; - height: 20px; - box-sizing: border-box; - border: 2px solid; - border-radius: 100%; - border-color: var(--toastify-spinner-color-empty-area); - border-right-color: var(--toastify-spinner-color); - animation: Toastify__spin 0.65s linear infinite; -} -@keyframes Toastify__bounceInRight { - 0%, - 60%, - 75%, - 90%, - to { - animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); - } - 0% { - opacity: 0; - transform: translate3d(3000px, 0, 0); - } - 60% { - opacity: 1; - transform: translate3d(-25px, 0, 0); - } - 75% { - transform: translate3d(10px, 0, 0); - } - 90% { - transform: translate3d(-5px, 0, 0); - } - to { - transform: none; - } -} -@keyframes Toastify__bounceOutRight { - 20% { - opacity: 1; - transform: translate3d(-20px, 0, 0); - } - to { - opacity: 0; - transform: translate3d(2000px, 0, 0); - } -} -@keyframes Toastify__bounceInLeft { - 0%, - 60%, - 75%, - 90%, - to { - animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); - } - 0% { - opacity: 0; - transform: translate3d(-3000px, 0, 0); - } - 60% { - opacity: 1; - transform: translate3d(25px, 0, 0); - } - 75% { - transform: translate3d(-10px, 0, 0); - } - 90% { - transform: translate3d(5px, 0, 0); - } - to { - transform: none; - } -} -@keyframes Toastify__bounceOutLeft { - 20% { - opacity: 1; - transform: translate3d(20px, 0, 0); - } - to { - opacity: 0; - transform: translate3d(-2000px, 0, 0); - } -} -@keyframes Toastify__bounceInUp { - 0%, - 60%, - 75%, - 90%, - to { - animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); - } - 0% { - opacity: 0; - transform: translate3d(0, 3000px, 0); - } - 60% { - opacity: 1; - transform: translate3d(0, -20px, 0); - } - 75% { - transform: translate3d(0, 10px, 0); - } - 90% { - transform: translate3d(0, -5px, 0); - } - to { - transform: translateZ(0); - } -} -@keyframes Toastify__bounceOutUp { - 20% { - transform: translate3d(0, -10px, 0); - } - 40%, - 45% { - opacity: 1; - transform: translate3d(0, 20px, 0); - } - to { - opacity: 0; - transform: translate3d(0, -2000px, 0); - } -} -@keyframes Toastify__bounceInDown { - 0%, - 60%, - 75%, - 90%, - to { - animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); - } - 0% { - opacity: 0; - transform: translate3d(0, -3000px, 0); - } - 60% { - opacity: 1; - transform: translate3d(0, 25px, 0); - } - 75% { - transform: translate3d(0, -10px, 0); - } - 90% { - transform: translate3d(0, 5px, 0); - } - to { - transform: none; - } -} -@keyframes Toastify__bounceOutDown { - 20% { - transform: translate3d(0, 10px, 0); - } - 40%, - 45% { - opacity: 1; - transform: translate3d(0, -20px, 0); - } - to { - opacity: 0; - transform: translate3d(0, 2000px, 0); - } -} -.Toastify__bounce-enter--top-left, -.Toastify__bounce-enter--bottom-left { - animation-name: Toastify__bounceInLeft; -} -.Toastify__bounce-enter--top-right, -.Toastify__bounce-enter--bottom-right { - animation-name: Toastify__bounceInRight; -} -.Toastify__bounce-enter--top-center { - animation-name: Toastify__bounceInDown; -} -.Toastify__bounce-enter--bottom-center { - animation-name: Toastify__bounceInUp; -} -.Toastify__bounce-exit--top-left, -.Toastify__bounce-exit--bottom-left { - animation-name: Toastify__bounceOutLeft; -} -.Toastify__bounce-exit--top-right, -.Toastify__bounce-exit--bottom-right { - animation-name: Toastify__bounceOutRight; -} -.Toastify__bounce-exit--top-center { - animation-name: Toastify__bounceOutUp; -} -.Toastify__bounce-exit--bottom-center { - animation-name: Toastify__bounceOutDown; -} -@keyframes Toastify__zoomIn { - 0% { - opacity: 0; - transform: scale3d(0.3, 0.3, 0.3); - } - 50% { - opacity: 1; - } -} -@keyframes Toastify__zoomOut { - 0% { - opacity: 1; - } - 50% { - opacity: 0; - transform: scale3d(0.3, 0.3, 0.3); - } - to { - opacity: 0; - } -} -.Toastify__zoom-enter { - animation-name: Toastify__zoomIn; -} -.Toastify__zoom-exit { - animation-name: Toastify__zoomOut; -} -@keyframes Toastify__flipIn { - 0% { - transform: perspective(400px) rotateX(90deg); - animation-timing-function: ease-in; - opacity: 0; - } - 40% { - transform: perspective(400px) rotateX(-20deg); - animation-timing-function: ease-in; - } - 60% { - transform: perspective(400px) rotateX(10deg); - opacity: 1; - } - 80% { - transform: perspective(400px) rotateX(-5deg); - } - to { - transform: perspective(400px); - } -} -@keyframes Toastify__flipOut { - 0% { - transform: perspective(400px); - } - 30% { - transform: perspective(400px) rotateX(-20deg); - opacity: 1; - } - to { - transform: perspective(400px) rotateX(90deg); - opacity: 0; - } -} -.Toastify__flip-enter { - animation-name: Toastify__flipIn; -} -.Toastify__flip-exit { - animation-name: Toastify__flipOut; -} -@keyframes Toastify__slideInRight { - 0% { - transform: translate3d(110%, 0, 0); - visibility: visible; - } - to { - transform: translateZ(0); - } -} -@keyframes Toastify__slideInLeft { - 0% { - transform: translate3d(-110%, 0, 0); - visibility: visible; - } - to { - transform: translateZ(0); - } -} -@keyframes Toastify__slideInUp { - 0% { - transform: translate3d(0, 110%, 0); - visibility: visible; - } - to { - transform: translateZ(0); - } -} -@keyframes Toastify__slideInDown { - 0% { - transform: translate3d(0, -110%, 0); - visibility: visible; - } - to { - transform: translateZ(0); - } -} -@keyframes Toastify__slideOutRight { - 0% { - transform: translateZ(0); - } - to { - visibility: hidden; - transform: translate3d(110%, 0, 0); - } -} -@keyframes Toastify__slideOutLeft { - 0% { - transform: translateZ(0); - } - to { - visibility: hidden; - transform: translate3d(-110%, 0, 0); - } -} -@keyframes Toastify__slideOutDown { - 0% { - transform: translateZ(0); - } - to { - visibility: hidden; - transform: translate3d(0, 500px, 0); - } -} -@keyframes Toastify__slideOutUp { - 0% { - transform: translateZ(0); - } - to { - visibility: hidden; - transform: translate3d(0, -500px, 0); - } -} -.Toastify__slide-enter--top-left, -.Toastify__slide-enter--bottom-left { - animation-name: Toastify__slideInLeft; -} -.Toastify__slide-enter--top-right, -.Toastify__slide-enter--bottom-right { - animation-name: Toastify__slideInRight; -} -.Toastify__slide-enter--top-center { - animation-name: Toastify__slideInDown; -} -.Toastify__slide-enter--bottom-center { - animation-name: Toastify__slideInUp; -} -.Toastify__slide-exit--top-left, -.Toastify__slide-exit--bottom-left { - animation-name: Toastify__slideOutLeft; -} -.Toastify__slide-exit--top-right, -.Toastify__slide-exit--bottom-right { - animation-name: Toastify__slideOutRight; -} -.Toastify__slide-exit--top-center { - animation-name: Toastify__slideOutUp; -} -.Toastify__slide-exit--bottom-center { - animation-name: Toastify__slideOutDown; -} -@keyframes Toastify__spin { - 0% { - transform: rotate(0); - } - to { - transform: rotate(360deg); - } -} -.loggerWrapper { - position: absolute; - bottom: 0; - right: 0; - z-index: 100; - width: 100%; - max-width: 100vw; - height: 400px; - background-color: #fff; -} -.loggerWrapper.hide { - display: none; -} -.loggerWrapper .loggerInner { - display: flex; - flex-direction: column; - overflow: auto; - height: 100%; -} -.loggerWrapper .close { - position: absolute; - top: 10px; - right: 10px; - padding: 5px 8px; - color: #fff; - background-color: red; - border-radius: 50%; - cursor: pointer; -} -.loggerWrapper.hide + .open { - position: absolute; - display: block; - z-index: 100; - bottom: 2rem; - left: 1rem; - padding: 1rem; - background-color: #fff; - font-weight: 500; - color: #000; - cursor: pointer; -} -.loggerWrapper + .open { - display: none; -} -.loggerWrapper .message { - padding: 1rem; -} -.loggerWrapper .log, -.loggerWrapper .info { - border-top: 2px solid #9f9f9f; -} -.loggerWrapper .warn { - color: #878000; - background-color: #fff9c4; - border-top: 2px solid #ffe500; -} -.loggerWrapper .error { - color: #b71c1c; - background-color: #ffcdd2; - border-top: 2px solid #e57373; -} -.react-flow__container { - position: absolute; - width: 100%; - height: 100%; - top: 0; - left: 0; -} -.react-flow__pane { - z-index: 1; - cursor: -webkit-grab; - cursor: grab; -} -.react-flow__pane.selection { - cursor: pointer; -} -.react-flow__pane.dragging { - cursor: -webkit-grabbing; - cursor: grabbing; -} -.react-flow__viewport { - transform-origin: 0 0; - z-index: 2; - pointer-events: none; -} -.react-flow__renderer { - z-index: 4; -} -.react-flow__selection { - z-index: 6; -} -.react-flow__nodesselection-rect:focus, -.react-flow__nodesselection-rect:focus-visible { - outline: none; -} -.react-flow .react-flow__edges { - pointer-events: none; - overflow: visible; -} -.react-flow__edge-path, -.react-flow__connection-path { - stroke: #b1b1b7; - stroke-width: 1; - fill: none; -} -.react-flow__edge { - pointer-events: visibleStroke; - cursor: pointer; -} -.react-flow__edge.animated path { - stroke-dasharray: 5; - -webkit-animation: dashdraw 0.5s linear infinite; - animation: dashdraw 0.5s linear infinite; -} -.react-flow__edge.animated path.react-flow__edge-interaction { - stroke-dasharray: none; - -webkit-animation: none; - animation: none; -} -.react-flow__edge.inactive { - pointer-events: none; -} -.react-flow__edge.selected, -.react-flow__edge:focus, -.react-flow__edge:focus-visible { - outline: none; -} -.react-flow__edge.selected .react-flow__edge-path, -.react-flow__edge:focus .react-flow__edge-path, -.react-flow__edge:focus-visible .react-flow__edge-path { - stroke: #555; -} -.react-flow__edge-textwrapper { - pointer-events: all; -} -.react-flow__edge-textbg { - fill: #fff; -} -.react-flow__edge .react-flow__edge-text { - pointer-events: none; - -webkit-user-select: none; - -moz-user-select: none; - user-select: none; -} -.react-flow__connection { - pointer-events: none; -} -.react-flow__connection .animated { - stroke-dasharray: 5; - -webkit-animation: dashdraw 0.5s linear infinite; - animation: dashdraw 0.5s linear infinite; -} -.react-flow__connectionline { - z-index: 1001; -} -.react-flow__nodes { - pointer-events: none; - transform-origin: 0 0; -} -.react-flow__node { - position: absolute; - -webkit-user-select: none; - -moz-user-select: none; - user-select: none; - pointer-events: all; - transform-origin: 0 0; - box-sizing: border-box; - cursor: -webkit-grab; - cursor: grab; -} -.react-flow__node.dragging { - cursor: -webkit-grabbing; - cursor: grabbing; -} -.react-flow__nodesselection { - z-index: 3; - transform-origin: left top; - pointer-events: none; -} -.react-flow__nodesselection-rect { - position: absolute; - pointer-events: all; - cursor: -webkit-grab; - cursor: grab; -} -.react-flow__handle { - position: absolute; - pointer-events: none; - min-width: 5px; - min-height: 5px; - width: 6px; - height: 6px; - background: #1a192b; - border: 1px solid white; - border-radius: 100%; -} -.react-flow__handle.connectionindicator { - pointer-events: all; - cursor: crosshair; -} -.react-flow__handle-bottom { - top: auto; - left: 50%; - bottom: -4px; - transform: translate(-50%); -} -.react-flow__handle-top { - left: 50%; - top: -4px; - transform: translate(-50%); -} -.react-flow__handle-left { - top: 50%; - left: -4px; - transform: translateY(-50%); -} -.react-flow__handle-right { - right: -4px; - top: 50%; - transform: translateY(-50%); -} -.react-flow__edgeupdater { - cursor: move; - pointer-events: all; -} -.react-flow__panel { - position: absolute; - z-index: 5; - margin: 15px; -} -.react-flow__panel.top { - top: 0; -} -.react-flow__panel.bottom { - bottom: 0; -} -.react-flow__panel.left { - left: 0; -} -.react-flow__panel.right { - right: 0; -} -.react-flow__panel.center { - left: 50%; - transform: translate(-50%); -} -.react-flow__attribution { - font-size: 10px; - background: rgba(255, 255, 255, 0.5); - padding: 2px 3px; - margin: 0; -} -.react-flow__attribution a { - text-decoration: none; - color: #999; -} -@-webkit-keyframes dashdraw { - 0% { - stroke-dashoffset: 10; - } -} -@keyframes dashdraw { - 0% { - stroke-dashoffset: 10; - } -} -.react-flow__edgelabel-renderer { - position: absolute; - width: 100%; - height: 100%; - pointer-events: none; - -webkit-user-select: none; - -moz-user-select: none; - user-select: none; -} -.react-flow__edge.updating .react-flow__edge-path { - stroke: #777; -} -.react-flow__edge-text { - font-size: 10px; -} -.react-flow__node.selectable:focus, -.react-flow__node.selectable:focus-visible { - outline: none; -} -.react-flow__node-default, -.react-flow__node-input, -.react-flow__node-output, -.react-flow__node-group { - padding: 10px; - border-radius: 3px; - width: 150px; - font-size: 12px; - color: #222; - text-align: center; - border-width: 1px; - border-style: solid; - border-color: #1a192b; - background-color: #fff; -} -.react-flow__node-default.selectable:hover, -.react-flow__node-input.selectable:hover, -.react-flow__node-output.selectable:hover, -.react-flow__node-group.selectable:hover { - box-shadow: 0 1px 4px 1px #00000014; -} -.react-flow__node-default.selectable.selected, -.react-flow__node-default.selectable:focus, -.react-flow__node-default.selectable:focus-visible, -.react-flow__node-input.selectable.selected, -.react-flow__node-input.selectable:focus, -.react-flow__node-input.selectable:focus-visible, -.react-flow__node-output.selectable.selected, -.react-flow__node-output.selectable:focus, -.react-flow__node-output.selectable:focus-visible, -.react-flow__node-group.selectable.selected, -.react-flow__node-group.selectable:focus, -.react-flow__node-group.selectable:focus-visible { - box-shadow: 0 0 0 0.5px #1a192b; -} -.react-flow__node-group { - background-color: #f0f0f040; -} -.react-flow__nodesselection-rect, -.react-flow__selection { - background: rgba(0, 89, 220, 0.08); - border: 1px dotted rgba(0, 89, 220, 0.8); -} -.react-flow__nodesselection-rect:focus, -.react-flow__nodesselection-rect:focus-visible, -.react-flow__selection:focus, -.react-flow__selection:focus-visible { - outline: none; -} -.react-flow__controls { - box-shadow: 0 0 2px 1px #00000014; -} -.react-flow__controls-button { - border: none; - background: #fefefe; - border-bottom: 1px solid #eee; - box-sizing: content-box; - display: flex; - justify-content: center; - align-items: center; - width: 16px; - height: 16px; - cursor: pointer; - -webkit-user-select: none; - -moz-user-select: none; - user-select: none; - padding: 5px; -} -.react-flow__controls-button:hover { - background: #f4f4f4; -} -.react-flow__controls-button svg { - width: 100%; - max-width: 12px; - max-height: 12px; -} -.react-flow__controls-button:disabled { - pointer-events: none; -} -.react-flow__controls-button:disabled svg { - fill-opacity: 0.4; -} -.react-flow__minimap { - background-color: #fff; -} -.react-flow__resize-control { - position: absolute; -} -.react-flow__resize-control.left, -.react-flow__resize-control.right { - cursor: ew-resize; -} -.react-flow__resize-control.top, -.react-flow__resize-control.bottom { - cursor: ns-resize; -} -.react-flow__resize-control.top.left, -.react-flow__resize-control.bottom.right { - cursor: nwse-resize; -} -.react-flow__resize-control.bottom.left, -.react-flow__resize-control.top.right { - cursor: nesw-resize; -} -.react-flow__resize-control.handle { - width: 4px; - height: 4px; - border: 1px solid #fff; - border-radius: 1px; - background-color: #3367d9; - transform: translate(-50%, -50%); -} -.react-flow__resize-control.handle.left { - left: 0; - top: 50%; -} -.react-flow__resize-control.handle.right { - left: 100%; - top: 50%; -} -.react-flow__resize-control.handle.top { - left: 50%; - top: 0; -} -.react-flow__resize-control.handle.bottom { - left: 50%; - top: 100%; -} -.react-flow__resize-control.handle.top.left, -.react-flow__resize-control.handle.bottom.left { - left: 0; -} -.react-flow__resize-control.handle.top.right, -.react-flow__resize-control.handle.bottom.right { - left: 100%; -} -.react-flow__resize-control.line { - border-color: #3367d9; - border-width: 0; - border-style: solid; -} -.react-flow__resize-control.line.left, -.react-flow__resize-control.line.right { - width: 1px; - transform: translate(-50%); - top: 0; - height: 100%; -} -.react-flow__resize-control.line.left { - left: 0; - border-left-width: 1px; -} -.react-flow__resize-control.line.right { - left: 100%; - border-right-width: 1px; -} -.react-flow__resize-control.line.top, -.react-flow__resize-control.line.bottom { - height: 1px; - transform: translateY(-50%); - left: 0; - width: 100%; -} -.react-flow__resize-control.line.top { - top: 0; - border-top-width: 1px; -} -.react-flow__resize-control.line.bottom { - border-bottom-width: 1px; - top: 100%; -} -@font-face { - font-family: Barlow; - font-weight: 200; - src: local('Barlow'), url(/fonts/Barlow-ExtraLight.ttf) format('truetype'); -} -@font-face { - font-family: Barlow; - font-weight: 100; - src: local('Barlow'), url(/fonts/Barlow-Thin.ttf) format('truetype'); -} -@font-face { - font-family: Barlow; - font-weight: 300; - src: local('Barlow'), url(/fonts/Barlow-Light.ttf) format('truetype'); -} -@font-face { - font-family: Barlow; - font-weight: 400; - src: local('Barlow'), url(/fonts/Barlow-Regular.ttf) format('truetype'); -} -@font-face { - font-family: Barlow; - font-weight: 500; - src: local('Barlow'), url(/fonts/Barlow-Medium.ttf) format('truetype'); -} -@font-face { - font-family: Barlow; - font-weight: 600; - src: local('Barlow'), url(/fonts/Barlow-SemiBold.ttf) format('truetype'); -} -@font-face { - font-family: Barlow; - font-weight: 700; - src: local('Barlow'), url(/fonts/Barlow-Bold.ttf) format('truetype'); -} -@font-face { - font-family: Barlow; - font-weight: 800; - src: local('Barlow'), url(/fonts/Barlow-ExtraBold.ttf) format('truetype'); -} -html, -body { - margin: 0; - font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, - Helvetica Neue, sans-serif; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - height: 100%; - width: 100%; - overflow: hidden; -} -#root { - height: 100%; - width: 100%; -} -#universe-canvas { - z-index: 0; -} -* { - scrollbar-width: 8px; -} -*::-webkit-scrollbar { - width: 8px; -} -*::-webkit-scrollbar-thumb { - background-clip: padding-box; - background-color: #b0b7bc73; - background: rgba(176, 183, 188, 0.45); - width: 8px; - border-radius: 8px; -} +:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: #e74c3c;--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-toast-width: 320px;--toastify-toast-background: #fff;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient( to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55 );--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error)}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index) px);position:fixed;padding:4px;width:var(--toastify-toast-width);box-sizing:border-box;color:#fff}.Toastify__toast-container--top-left{top:1em;left:1em}.Toastify__toast-container--top-center{top:1em;left:50%;transform:translate(-50%)}.Toastify__toast-container--top-right{top:1em;right:1em}.Toastify__toast-container--bottom-left{bottom:1em;left:1em}.Toastify__toast-container--bottom-center{bottom:1em;left:50%;transform:translate(-50%)}.Toastify__toast-container--bottom-right{bottom:1em;right:1em}@media only screen and (max-width : 480px){.Toastify__toast-container{width:100vw;padding:0;left:0;margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:0;transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:0;transform:translate(0)}.Toastify__toast-container--rtl{right:0;left:initial}}.Toastify__toast{position:relative;min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:8px;border-radius:4px;box-shadow:0 1px 10px #0000001a,0 2px 15px #0000000d;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;max-height:var(--toastify-toast-max-height);overflow:hidden;font-family:var(--toastify-font-family);cursor:pointer;direction:ltr}.Toastify__toast--rtl{direction:rtl}.Toastify__toast-body{margin:auto 0;-ms-flex:1 1 auto;flex:1 1 auto;padding:6px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.Toastify__toast-body>div:last-child{-ms-flex:1;flex:1}.Toastify__toast-icon{-webkit-margin-end:10px;margin-inline-end:10px;width:20px;-ms-flex-negative:0;flex-shrink:0;display:-ms-flexbox;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.7s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}@media only screen and (max-width : 480px){.Toastify__toast{margin-bottom:0;border-radius:0}}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;-ms-flex-item-align:start;align-self:flex-start}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:5px;z-index:var(--toastify-z-index);opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(110%,0,0)}}@keyframes Toastify__slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-110%,0,0)}}@keyframes Toastify__slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loggerWrapper{position:absolute;bottom:0;right:0;z-index:100;width:100%;max-width:100vw;height:400px;background-color:#fff}.loggerWrapper.hide{display:none}.loggerWrapper .loggerInner{display:flex;flex-direction:column;overflow:auto;height:100%}.loggerWrapper .close{position:absolute;top:10px;right:10px;padding:5px 8px;color:#fff;background-color:red;border-radius:50%;cursor:pointer}.loggerWrapper.hide+.open{position:absolute;display:block;z-index:100;bottom:2rem;left:1rem;padding:1rem;background-color:#fff;font-weight:500;color:#000;cursor:pointer}.loggerWrapper+.open{display:none}.loggerWrapper .message{padding:1rem}.loggerWrapper .log,.loggerWrapper .info{border-top:2px solid #9f9f9f}.loggerWrapper .warn{color:#878000;background-color:#fff9c4;border-top:2px solid #ffe500}.loggerWrapper .error{color:#b71c1c;background-color:#ffcdd2;border-top:2px solid #e57373}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;cursor:-webkit-grab;cursor:grab}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow .react-flow__edges{pointer-events:none;overflow:visible}.react-flow__edge-path,.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1;fill:none}.react-flow__edge{pointer-events:visibleStroke;cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;-webkit-animation:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge:focus .react-flow__edge-path,.react-flow__edge:focus-visible .react-flow__edge-path{stroke:#555}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-textbg{fill:#fff}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__connectionline{z-index:1001}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:-webkit-grab;cursor:grab}.react-flow__node.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:-webkit-grab;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background:#1a192b;border:1px solid white;border-radius:100%}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:-4px;transform:translate(-50%)}.react-flow__handle-top{left:50%;top:-4px;transform:translate(-50%)}.react-flow__handle-left{top:50%;left:-4px;transform:translateY(-50%)}.react-flow__handle-right{right:-4px;top:50%;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{font-size:10px;background:rgba(255,255,255,.5);padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@-webkit-keyframes dashdraw{0%{stroke-dashoffset:10}}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-input,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:3px;width:150px;font-size:12px;color:#222;text-align:center;border-width:1px;border-style:solid;border-color:#1a192b;background-color:#fff}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:0 0 0 .5px #1a192b}.react-flow__node-group{background-color:#f0f0f040}.react-flow__nodesselection-rect,.react-flow__selection{background:rgba(0,89,220,.08);border:1px dotted rgba(0,89,220,.8)}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls{box-shadow:0 0 2px 1px #00000014}.react-flow__controls-button{border:none;background:#fefefe;border-bottom:1px solid #eee;box-sizing:content-box;display:flex;justify-content:center;align-items:center;width:16px;height:16px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:5px}.react-flow__controls-button:hover{background:#f4f4f4}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__minimap{background-color:#fff}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:4px;height:4px;border:1px solid #fff;border-radius:1px;background-color:#3367d9;transform:translate(-50%,-50%)}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:#3367d9;border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}@font-face{font-family:Barlow;font-weight:200;src:local("Barlow"),url(/fonts/Barlow-ExtraLight.ttf) format("truetype")}@font-face{font-family:Barlow;font-weight:100;src:local("Barlow"),url(/fonts/Barlow-Thin.ttf) format("truetype")}@font-face{font-family:Barlow;font-weight:300;src:local("Barlow"),url(/fonts/Barlow-Light.ttf) format("truetype")}@font-face{font-family:Barlow;font-weight:400;src:local("Barlow"),url(/fonts/Barlow-Regular.ttf) format("truetype")}@font-face{font-family:Barlow;font-weight:500;src:local("Barlow"),url(/fonts/Barlow-Medium.ttf) format("truetype")}@font-face{font-family:Barlow;font-weight:600;src:local("Barlow"),url(/fonts/Barlow-SemiBold.ttf) format("truetype")}@font-face{font-family:Barlow;font-weight:700;src:local("Barlow"),url(/fonts/Barlow-Bold.ttf) format("truetype")}@font-face{font-family:Barlow;font-weight:800;src:local("Barlow"),url(/fonts/Barlow-ExtraBold.ttf) format("truetype")}html,body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;height:100%;width:100%;overflow:hidden}#root{height:100%;width:100%}#universe-canvas{z-index:0}*{scrollbar-width:8px}*::-webkit-scrollbar{width:8px}*::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:#b0b7bc73;background:rgba(176,183,188,.45);width:8px;border-radius:8px} diff --git a/build/assets/web-vitals-60d3425a.js b/build/assets/web-vitals-60d3425a.js index 9f481dba9..77233a3e2 100644 --- a/build/assets/web-vitals-60d3425a.js +++ b/build/assets/web-vitals-60d3425a.js @@ -1,258 +1 @@ -var m, - l, - C, - T, - f = function (t, e) { - return { - name: t, - value: e === void 0 ? -1 : e, - delta: 0, - entries: [], - id: 'v2-'.concat(Date.now(), '-').concat(Math.floor(8999999999999 * Math.random()) + 1e12), - } - }, - h = function (t, e) { - try { - if (PerformanceObserver.supportedEntryTypes.includes(t)) { - if (t === 'first-input' && !('PerformanceEventTiming' in self)) return - var i = new PerformanceObserver(function (a) { - return a.getEntries().map(e) - }) - return i.observe({ type: t, buffered: !0 }), i - } - } catch {} - }, - y = function (t, e) { - var i = function a(n) { - ;(n.type !== 'pagehide' && document.visibilityState !== 'hidden') || - (t(n), e && (removeEventListener('visibilitychange', a, !0), removeEventListener('pagehide', a, !0))) - } - addEventListener('visibilitychange', i, !0), addEventListener('pagehide', i, !0) - }, - g = function (t) { - addEventListener( - 'pageshow', - function (e) { - e.persisted && t(e) - }, - !0, - ) - }, - v = function (t, e, i) { - var a - return function (n) { - e.value >= 0 && (n || i) && ((e.delta = e.value - (a || 0)), (e.delta || a === void 0) && ((a = e.value), t(e))) - } - }, - p = -1, - w = function () { - return document.visibilityState === 'hidden' ? 0 : 1 / 0 - }, - F = function () { - y(function (t) { - var e = t.timeStamp - p = e - }, !0) - }, - S = function () { - return ( - p < 0 && - ((p = w()), - F(), - g(function () { - setTimeout(function () { - ;(p = w()), F() - }, 0) - })), - { - get firstHiddenTime() { - return p - }, - } - ) - }, - A = function (t, e) { - var i, - a = S(), - n = f('FCP'), - o = function (c) { - c.name === 'first-contentful-paint' && - (u && u.disconnect(), c.startTime < a.firstHiddenTime && ((n.value = c.startTime), n.entries.push(c), i(!0))) - }, - r = - window.performance && performance.getEntriesByName && performance.getEntriesByName('first-contentful-paint')[0], - u = r ? null : h('paint', o) - ;(r || u) && - ((i = v(t, n, e)), - r && o(r), - g(function (c) { - ;(n = f('FCP')), - (i = v(t, n, e)), - requestAnimationFrame(function () { - requestAnimationFrame(function () { - ;(n.value = performance.now() - c.timeStamp), i(!0) - }) - }) - })) - }, - b = !1, - E = -1, - R = function (t, e) { - b || - (A(function (s) { - E = s.value - }), - (b = !0)) - var i, - a = function (s) { - E > -1 && t(s) - }, - n = f('CLS', 0), - o = 0, - r = [], - u = function (s) { - if (!s.hadRecentInput) { - var B = r[0], - q = r[r.length - 1] - o && s.startTime - q.startTime < 1e3 && s.startTime - B.startTime < 5e3 - ? ((o += s.value), r.push(s)) - : ((o = s.value), (r = [s])), - o > n.value && ((n.value = o), (n.entries = r), i()) - } - }, - c = h('layout-shift', u) - c && - ((i = v(a, n, e)), - y(function () { - c.takeRecords().map(u), i(!0) - }), - g(function () { - ;(o = 0), (E = -1), (n = f('CLS', 0)), (i = v(a, n, e)) - })) - }, - d = { passive: !0, capture: !0 }, - H = new Date(), - P = function (t, e) { - m || ((m = e), (l = t), (C = new Date()), k(removeEventListener), D()) - }, - D = function () { - if (l >= 0 && l < C - H) { - var t = { - entryType: 'first-input', - name: m.type, - target: m.target, - cancelable: m.cancelable, - startTime: m.timeStamp, - processingStart: m.timeStamp + l, - } - T.forEach(function (e) { - e(t) - }), - (T = []) - } - }, - I = function (t) { - if (t.cancelable) { - var e = (t.timeStamp > 1e12 ? new Date() : performance.now()) - t.timeStamp - t.type == 'pointerdown' - ? (function (i, a) { - var n = function () { - P(i, a), r() - }, - o = function () { - r() - }, - r = function () { - removeEventListener('pointerup', n, d), removeEventListener('pointercancel', o, d) - } - addEventListener('pointerup', n, d), addEventListener('pointercancel', o, d) - })(e, t) - : P(e, t) - } - }, - k = function (t) { - ;['mousedown', 'keydown', 'touchstart', 'pointerdown'].forEach(function (e) { - return t(e, I, d) - }) - }, - M = function (t, e) { - var i, - a = S(), - n = f('FID'), - o = function (u) { - u.startTime < a.firstHiddenTime && ((n.value = u.processingStart - u.startTime), n.entries.push(u), i(!0)) - }, - r = h('first-input', o) - ;(i = v(t, n, e)), - r && - y(function () { - r.takeRecords().map(o), r.disconnect() - }, !0), - r && - g(function () { - var u - ;(n = f('FID')), - (i = v(t, n, e)), - (T = []), - (l = -1), - (m = null), - k(addEventListener), - (u = o), - T.push(u), - D() - }) - }, - L = {}, - N = function (t, e) { - var i, - a = S(), - n = f('LCP'), - o = function (c) { - var s = c.startTime - s < a.firstHiddenTime && ((n.value = s), n.entries.push(c), i()) - }, - r = h('largest-contentful-paint', o) - if (r) { - i = v(t, n, e) - var u = function () { - L[n.id] || (r.takeRecords().map(o), r.disconnect(), (L[n.id] = !0), i(!0)) - } - ;['keydown', 'click'].forEach(function (c) { - addEventListener(c, u, { once: !0, capture: !0 }) - }), - y(u, !0), - g(function (c) { - ;(n = f('LCP')), - (i = v(t, n, e)), - requestAnimationFrame(function () { - requestAnimationFrame(function () { - ;(n.value = performance.now() - c.timeStamp), (L[n.id] = !0), i(!0) - }) - }) - }) - } - }, - O = function (t) { - var e, - i = f('TTFB') - ;(e = function () { - try { - var a = - performance.getEntriesByType('navigation')[0] || - (function () { - var n = performance.timing, - o = { entryType: 'navigation', startTime: 0 } - for (var r in n) r !== 'navigationStart' && r !== 'toJSON' && (o[r] = Math.max(n[r] - n.navigationStart, 0)) - return o - })() - if (((i.value = i.delta = a.responseStart), i.value < 0 || i.value > performance.now())) return - ;(i.entries = [a]), t(i) - } catch {} - }), - document.readyState === 'complete' - ? setTimeout(e, 0) - : addEventListener('load', function () { - return setTimeout(e, 0) - }) - } -export { R as getCLS, A as getFCP, M as getFID, N as getLCP, O as getTTFB } +var m,l,C,T,f=function(t,e){return{name:t,value:e===void 0?-1:e,delta:0,entries:[],id:"v2-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12)}},h=function(t,e){try{if(PerformanceObserver.supportedEntryTypes.includes(t)){if(t==="first-input"&&!("PerformanceEventTiming"in self))return;var i=new PerformanceObserver(function(a){return a.getEntries().map(e)});return i.observe({type:t,buffered:!0}),i}}catch{}},y=function(t,e){var i=function a(n){n.type!=="pagehide"&&document.visibilityState!=="hidden"||(t(n),e&&(removeEventListener("visibilitychange",a,!0),removeEventListener("pagehide",a,!0)))};addEventListener("visibilitychange",i,!0),addEventListener("pagehide",i,!0)},g=function(t){addEventListener("pageshow",function(e){e.persisted&&t(e)},!0)},v=function(t,e,i){var a;return function(n){e.value>=0&&(n||i)&&(e.delta=e.value-(a||0),(e.delta||a===void 0)&&(a=e.value,t(e)))}},p=-1,w=function(){return document.visibilityState==="hidden"?0:1/0},F=function(){y(function(t){var e=t.timeStamp;p=e},!0)},S=function(){return p<0&&(p=w(),F(),g(function(){setTimeout(function(){p=w(),F()},0)})),{get firstHiddenTime(){return p}}},A=function(t,e){var i,a=S(),n=f("FCP"),o=function(c){c.name==="first-contentful-paint"&&(u&&u.disconnect(),c.startTime-1&&t(s)},n=f("CLS",0),o=0,r=[],u=function(s){if(!s.hadRecentInput){var B=r[0],q=r[r.length-1];o&&s.startTime-q.startTime<1e3&&s.startTime-B.startTime<5e3?(o+=s.value,r.push(s)):(o=s.value,r=[s]),o>n.value&&(n.value=o,n.entries=r,i())}},c=h("layout-shift",u);c&&(i=v(a,n,e),y(function(){c.takeRecords().map(u),i(!0)}),g(function(){o=0,E=-1,n=f("CLS",0),i=v(a,n,e)}))},d={passive:!0,capture:!0},H=new Date,P=function(t,e){m||(m=e,l=t,C=new Date,k(removeEventListener),D())},D=function(){if(l>=0&&l1e12?new Date:performance.now())-t.timeStamp;t.type=="pointerdown"?function(i,a){var n=function(){P(i,a),r()},o=function(){r()},r=function(){removeEventListener("pointerup",n,d),removeEventListener("pointercancel",o,d)};addEventListener("pointerup",n,d),addEventListener("pointercancel",o,d)}(e,t):P(e,t)}},k=function(t){["mousedown","keydown","touchstart","pointerdown"].forEach(function(e){return t(e,I,d)})},M=function(t,e){var i,a=S(),n=f("FID"),o=function(u){u.startTimeperformance.now())return;i.entries=[a],t(i)}catch{}},document.readyState==="complete"?setTimeout(e,0):addEventListener("load",function(){return setTimeout(e,0)})};export{R as getCLS,A as getFCP,M as getFID,N as getLCP,O as getTTFB}; diff --git a/build/index.html b/build/index.html index a20b2f6fb..d187a2ae3 100644 --- a/build/index.html +++ b/build/index.html @@ -22,14 +22,15 @@ Learn how to configure a non-root public URL by running `npm run build`. --> Second Brain - - + +
- + +